Alternative to test case iteration

I have implemented an iteration for testcases in the framework core and I'd like your opinion if it is an acceptable solution. Tanks.
Ex:
MyTestCase.txt
*** Settings ***
Test Template   My test case
*** Test Cases ***
:ITER   5       My test case    Hello world!
*** Keywords ***
My test case
[arguments]     ${msg}
Log     ${msg}
Result:
MyTestCase
My test case 1                                                        | PASS |
My test case 2                                                        | PASS |
My test case 3                                                        | PASS |
My test case 4                                                        | PASS |
My test case 5                                                        | PASS |
MyTestCase                                                            | PASS |
5 critical tests, 5 passed, 0 failed
#5 tests total, 5 passed, 0 failed
Solution:
in file parsing/datarow.py
class DataRow(object):
def dedent(self):
datarow = DataRow([])
if self.starts_iter():
datarow.cells = self.tail[2:]
else:
datarow.cells = self.tail
datarow.comments = self.comments
return datarow
def starts_iter(self):
if self.head and self.head.startswith(':'):
return self.head.replace(':', '').replace(' ', '').upper() == 'ITER'
return False
in file parsing/tablepopulators.py
class _TestCaseUserKeywordPopulator(Populator):
def add(self, row):
if row.is_commented():
self._comment_cache.add(row)
return
if not self._test_or_uk:
if row.starts_iter():
for i in range(1, int(row.cells[1])+1):
self._test_or_uk = self._test_or_uk_creator(row.cells[2] + " " + str(i))
dedented_row = row.dedent()
if dedented_row:
self._handle_data_row(dedented_row)
return
self._test_or_uk = self._test_or_uk_creator(row.head)
dedented_row = row.dedent()
if dedented_row:
self._handle_data_row(dedented_row)

i want to execute my testcases n number of times. What to do?

As a counter-point, Python unittest implemented subTest at some point, and it made writing loops in tests feasible (because you could iterate, and collect failures independently). That made writing some tests much more succinct.

As part of longevity testing I need to repeat same test case for hours/days which required to repeat the test case n number of time.
How do we achieve that in robot? I feel a feature to repeat particular test cases really a very good feature to have.

One important use case.
In a single run i want to test two different plugins of different versions.
i don't want to run it differently because of time and resource constraint.
Running them on same runs gives me more time saving in CI pipeline.
How do we handle this.?


[Feature Request]: Redesign builtins.noEmitAssets

we introduce builtins.noEmitAssets to solve performance problems in internal projects, which could reduce lots communication cost of passing assets from rust to js side, but it causes several problems

it's not working well with webpack-dev-server middleware(historyapiFallback, compress and so on)
it's misleading, it actually can't control whether emitAsset to Disk

Related discussion: https://github.com/web-infra-dev/rspack/discussions/2742

We currently have no manpower for it.


Add a test for nested unquotes

Just realized in #567 that unquote (the alternative {{{ }}} syntax) supports nested unquotes, and that we don't have test coverage for that at all. We should add at least one test for that.
Yes, that will mean implementing the unquote syntax in the first place, one way or another. It's high time we did that.

As part of writing such a test, we also need to decide what the actual semantics of nested unquoting should be. I think the two main candidates are:

Interpolate N levels out (as in Lisp quasiquotes)
Disallow it with a compile-time error

And I don't think this behavior is a contender:

Just pretend we didn't see the inner quote, and interpolate 1 level out (either failing, or succeeding in some unlikely way that might as well have been a failure)


Client crashes wen auto-converting quartz glass.

I have noticed that if you make quartz glass and put it into your inventory it automatically converts it to hardened glass, but the problem is that it can't choose which so it gives you a missing texture ittem, that if you hover over with a mouse it chrashes your client. The only way to fix this was to clear my inventory and then make hard glass using obsidian and lead.

If you're running AODC in a pack, you'll need to contact the pack makers since they set up the configuration wrong. Otherwise, what is your version and what are the config entires you have set up.
AODC gives exactly what you told it to give, so I'd love to double check your configs to figure out if there is indeed an issue here


Undo button?

Hi, Thank you for making this amazing labeling tool available.
Is there any undo button to undo some edits made to the geometry or bounding boxes drawn mistakenly? (Yes, delete button is available to delete the bounding boxes but sometimes extra-small bboxes are created due to mouse clicks and they are very hard to find out. A Ctrl+Z could be useful.

Currently there is no undo feature. It was something considered, but there were also talks of the Azure Maps drawing tools being updated with more features at one time, so was waiting for that, but it's been a while, so may revisit this.


feat: adds react native code samples to display cards guide

Description

feat: adds react native code samples to display cards guide

Depends on https://github.com/Basis-Theory/basis-theory-react-native/pull/23

Testing required outside of automated testing?

[ ] Not Applicable

Screenshots (if appropriate):

[ ] Not Applicable

Rollback / Rollforward Procedure

[ ] Roll Forward
[ ] Roll Back

Reviewer Checklist

[ ] Description of Change
[ ] Description of outside testing if applicable.
[ ] Description of Roll Forward / Backward Procedure
[ ] Documentation updated for Change

:tada: This PR is included in version 1.99.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Publish APK on Github?

Would you mind attaching the .apk to the corresponding releases/ here at Github, so folks without Playstore access get a chance to try the app? Thanks in advance!

Strictly, this app relies on Chrome Custom Tabs. When browsing attached media, the application first calls Chrome Custom Tabs with the intent that specified the package name, and if it fails it opens another application without specifying the package name.
Therefore, it is not that comfortable to use in an environment where the Google application is not installed.

https://github.com/tateisu/SubwayTooter/releases/tag/v0.3.9
I tried to upload it.
However, I will not make this a routine for every release.

Thanks! If you'd do that for at least "major releases", that would be great. Everytime you do, it will be updated here within 24h – so Playstore-less people can use the F-Droid client to stay updated.
PS: Also just added your app to my list of Clients für Mastodon to make it easier to find :smile_cat:


Add a new "Data models" section in the documentation #283

Hi @hyounes4560 could you review all the content added to the models before the merge?
https://github.com/nexB/scancode.io/pull/285/files#diff-d71c8a8d98cec2c888bbf875d6a34a481041ba8a56656ec516aa53b0b7f6f194


sonos_set_sleep_timer inoperative

Home Assistant release (hass 0.43.0):
Component/platform:
Sonos
Description of problem:
sonos_set_sleep_timer does not implement a sleep timer in sonos.
Expected:
Expected a sleep timer to be set in number of seconds set under sleep_time.
Problem-relevant configuration.yaml entries and steps to reproduce:

media_player:

platform: sonos

script:
service: media_player.sonos_set_sleep_timer
data:
entity_id: media_player.master_bedroom
sleep_time: 3600

Traceback (if applicable):

Additional info:

I had the same problem:
- service: media_player.sonos_set_sleep_timer       data_template:         entity_id: media_player.schlafzimmer         sleep_time: 1800
and the log:

17-04-25 18:03:26 ERROR (Thread-10) [homeassistant.core] Error doing job: Future exception was never retrieved Traceback (most recent call last): File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run result = self.fn(*self.args, **self.kwargs) File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/core.py", line 1020, in execute_service service_handler.func(service_call) File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/media_player/sonos.py", line 166, in service_handle device.set_timer(service.data[ATTR_SLEEP_TIME]) AttributeError: 'SonosDevice' object has no attribute 'set_timer'

Same in 0.44.1

Looks like there was a fix put in two days ago!
https://github.com/home-assistant/home-assistant/commit/d86dfb6336921691c13ce1dce8f8325678af9676


How to get model parameters of linearmodels?

https://stackoverflow.com/questions/47645349/how-to-get-model-parameters-of-linearmodels

The answer to your other question explains the main issue.  You can, however, get the beta parameters and e since these are in params and resids from a model result. There isn't currently enough in the model to get fitted values when there are fixed effects since you would need to fixed-effect purged exog variable data to compute these values. These are not exposed.

Got that. Thanks @bashtage for the update.


Option for transparent target circle

Let's say you want to use the TapTargetView with the 3 dots settings icon (overflow icon) that is available in the toolbar of some apps on top right side. Since there is no resource ID associated to this icon, using TapTarget.forBounds is the only way to target this icon. Unfortunately, the target circle cannot be transparent, thus hidding the icon when TapTargetView is used.
It would be nice to have an option for having a transparent target circle. Probably, using transparentPaint.setXfermode(new PorterDuffXfermode(PorterDuff.Mode.CLEAR)) with the Paint object instance when the option is enabled.

You can solve this also by using .icon(Drawable) and specifying the 3 dot drawable, does this suffice?

Yes, thank you.

I'd also appreciate a transparency option for the target color. In my case it is a custom view for which I've got no drawables to use. Right now I'm using a screenshot as a workaround, but it would be nice to be able to show the actual view.

432485bc29d27afaa40babe49af5f4d2f753148c Enjoy. Please use a snapshot if you need this functionality immediately

Just wow. That was quick. Thank you!
On Mon, Oct 10, 2016, 02:27 Hilal Alsibai<EMAIL_ADDRESS>wrote:

432485b
https://github.com/KeepSafe/TapTargetView/commit/432485bc29d27afaa40babe49af5f4d2f753148c
Enjoy. Please use a snapshot if you need this functionality immediately
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/KeepSafe/TapTargetView/issues/28#issuecomment-252523386,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABD3-KCgvYcFto-iWYqSxoI8A3mShaCgks5qyYZbgaJpZM4KE-qm
.


[docs] refactor react-components components into react-ui

Rebased version this PR to include only relevant commits

Closes "refactor react-components components"
This PR replaces the components from the @kadena/react-components with their equivalents from @kadena/react-ui
The Divider component has been added to @kadena/react-ui
This PR does NOT deal with the following:

Components implemented for the docs page specifically
Components that depend/extend others that use @kadena/react-components

Altered components:

[x]  hooks/useMediaQuery.ts
[x]  components/NotFound/NotFound.tsx
[x]  components/BottomPageSection/BottomPageSection.tsx
[x]  components/BottomPageSection/components/Subscribe.tsx
[x]  components/BottomPageSection/components/EditPage.tsx
[x]  components/Layout/components/Footer/Footer.tsx
[x]  components/Layout/components/TitleHeader/TitleHeader.tsx
[x]  components/Layout/components/SideMenu/SideMenu.tsx
[x]  components/Layout/components/Header/HamburgerMenuToggle.tsx
[x]  components/Layout/components/Header/ThemeToggle.tsx
[x]  components/Layout/components/Header/Header.tsx
[x]  components/Layout/components/Header/SearchButton.tsx
[x]  components/Layout/components/Header/AsideToggle.tsx
[x]  components/Layout/Landing/components/Headers/HomeHeader.tsx
[x]  components/Layout/Landing/components/Headers/SearchHeader.tsx
[x]  components/Search/components/SearchResults.tsx
[x]  pages/_error.tsx
[x]  pages/docs/chainweb/index.tsx
[x]  pages/docs/__tests/index.tsx
[x]  pages/docs/blogchain/2022/index.tsx
[x]  pages/docs/blogchain/2021/index.tsx
[x]  pages/docs/blogchain/2018/index.tsx
[x]  pages/docs/blogchain/2023/index.tsx
[x]  pages/docs/blogchain/2019/index.tsx
[x]  pages/docs/marmalade/index.tsx
[x]  pages/docs/contribute/index.tsx
[x]  pages/docs/build/index.tsx
[x]  pages/docs/kadena/index.tsx
[x]  pages/index.tsx

@bearni95 looks good to me.
I did ask @eileenmguo to check the react-ui things. because I dont know what the agreements are on that part.
If she is good with it, I am


LU all-up-view editing don't reflect on form editor

Complete the necessary portions of this template and delete the rest.
Describe the bug
LU all-up-view editing don't reflect on form editor
Version
What version of the Composer are you using? Paste the build SHA found on the about page (/about).
Browser
What browser are you using?

[x] Chrome
[ ] Safari
[ ] Firefox
[ ] Edge

OS
What operating system are you using?

[ ] macOS
[x] Windows
[ ] Ubuntu

To Reproduce
Steps to reproduce the behavior:

Go to '/language-understanding'
Click on 'edit'
make some change on lu file
Go to '/dialog/Main'
new change don't reflect here.

Expected behavior
Give a clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots/gif/video to help explain your problem.
Additional context
Add any other context about the problem here.

addressed in https://github.com/microsoft/BotFramework-Composer/pull/1704


How to stop the bot

I'd like to crash my bot without killing whole process.
In fact, I'd like to have full control over bot lifecycle.
Somewhere on api docs you mentioned, that it's possible, but no certain details.
I use polling.
Best regards

Okay, it seems to me that
bot._polling.stop()
stops polling and makes bot unactive. After that I suppose it's enough to delete it and all?
Am I right?

You can stop polling using TelegramBot#stopPolling(). If using webhook, there's TelegramBot#closeWebHook(). The bot will no longer poll/receive Telegram updates.
#ANS


Icons change randomly on purchase

This is the intended behavior of the code, see https://github.com/fsphys/nanposweb/blob/main/nanposweb/templates/index.html#L65-L70 for reference. As there is a general lack in documentation and therefore this isn't written down. This might not be a great UX but required more user feedback.
Please be a litte bit more specific when reporting. Currently there's no contributing guide, but a description detailing you issues with code/software and what behavior you would expect is helpful.
This issue will be closed as this is not a bug and this is a mirror of the original repository. The main development team will focus on the issue tracker of the original repository as it's the main development platform.


Fix linter errors after rebase

Fix linter errors that were made in our fork's and were detected after rebase on upstream master.
Each commit from this PR should be squashed to the corresponding commit it fixes when doing the next rebase or when upstreaming.

- What I did
- How I did it
- How to verify it
- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

@rumpl  LGTY? We could merge this, squash to the corresponding commits and do the rebase on the latest moby:master just to avoid having to do this in future.


Clarification, are we sure this isn't already enabled?

Would love to sync with the team who knows about this to talk over an implementation detail.  I am stowen AT microsoft.com

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

ID: 33dbe714-4b2a-d075-432d-ed335d2d8f5c
Version Independent ID: 6e320d60-5629-bb9b-c49b-92a1fa5ba56d
Content: Deployment history deletions - Azure Resource Manager
Content Source: articles/azure-resource-manager/templates/deployment-history-deletions.md
Service: azure-resource-manager
Sub-service: templates
GitHub Login: @mumian
Microsoft Alias: jgao

@1RedOne Thank you for reaching out , we will look into this and get back to you at the earliest.

This issue is being addressed.
#please-close


Support external git?

Would it be reasonable to add a Preferences controlled option to call an external git instead of the jll?
Rationale is that I want to use the Git package for LocalRegistry but it would be nice to give the users an option to run their own git (older version, newer version, locally patched version, whatever) if they for some reason should need to.

You can already do it: https://docs.binarybuilder.org/stable/jll/#Overriding-the-artifacts-in-JLL-packages

That's nice but I have a hard time figuring out how to use it.
I fail to get any effect at all from an Overrides.toml but I guess that's not a viable approach anyway due to

The artifact location is held in the artifact_dir variable mentioned above, which is the "prefix" of the installation of the package. Recall the paths of the products in the JLL package is relative to artifact_dir and the files you want to use to override the products of the JLL package must have the same tree structure as the artifact. In our example we need to use /usr to override Fontconfig and /usr/local for Bzip2.

and I can't see that my system git installation matches the directory structure of the artifact
Doing set_preferences!("LocalPreferences.toml", "Git_jll", "git_path" => "/usr/bin/git") works to an extent. It does run my system git binary, at least the reported version matches, but git --exec-path points into my artifact, which seems less than robust. This is of course related to what goes on in https://github.com/JuliaVersionControl/Git.jl/blob/master/src/git_function.jl#L24-L48 and given the structural discrepancy between the artifact and my system installation I don't see how I could get it to work.

You need a prefix which has git in $(prefix)/bin/git

This is my attempt with Overrides:
gunnar@gunnar-ubuntu22:/tmp/test1$ which git
/usr/bin/git
gunnar@gunnar-ubuntu22:/tmp/test1$ git --version
git version 2.34.1
gunnar@gunnar-ubuntu22:/tmp/test1$ cat Overrides.toml
[f8c6e375-362e-5223-8a59-34ff63f689eb]
Git = "/usr"
gunnar@gunnar-ubuntu22:/tmp/test1$ julia --project=.
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.9.3 (2023-08-24)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

julia> using Git_jll

julia> Git_jll.artifact_dir
"/home/gunnar/.julia/artifacts/8cb25db9a73519e871cc50d6915f8ab2770096f3"

julia> using Git

julia> run(`$(Git.git()) --version`);
git version 2.42.0

and this is the result with preferences:
gunnar@gunnar-ubuntu22:/tmp/test2$ git --exec-path
/usr/lib/git-core
gunnar@gunnar-ubuntu22:/tmp/test2$ cat LocalPreferences.toml
[Git_jll]
git_path = "/usr/bin/git"
gunnar@gunnar-ubuntu22:/tmp/test2$ julia --project=.
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.9.3 (2023-08-24)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

julia> using Git

julia> run(`$(Git.git()) --version`);
git version 2.34.1

julia> run(`$(Git.git()) --exec-path`);
/home/gunnar/.julia/artifacts/8cb25db9a73519e871cc50d6915f8ab2770096f3/libexec/git-core

% julia --project=. -q
shell> cat LocalPreferences.toml
[Git_jll]
git_path = "/usr/bin/git"

shell> cat Project.toml
[deps]
Git_jll = "f8c6e375-362e-5223-8a59-34ff63f689eb"

julia> using Git_jll

julia> git()
setenv(`/usr/bin/git`,[...])

You need Git_jll explicitly as top-level dependency in your project (I've never got whether that's intentional, or a bug)

I do have Git_jll as a direct dependency and I do get Git_jll.git() to point to /usr/bin/git but Git.git() sets up environment variables pointing into the artifact.

I think the issue is that everything is calculated based off of root which is set to artifact_dir, but you're overriding git_path.  Perhaps Git.jl should base the locations off of git_path instead.

What is the preferred way to determine whether it has been overridden?
(Oh, well, all this stuff seems too complicated from a user point of view. It will be less work for me to just add a keyword argument to specify a custom git than to document how people should go about changing it through Git_jll preferences.)

Perhaps Git.jl should base the locations off of git_path instead.

Still seems tricky to line that up. The artifact has exec-path in ../../libexec/git-core whereas my system git has it in ../../lib/git-core.

Yeah, that's why I think we should just not do anything here when the artifact is overridden, but I don't know how to test that condition.

You need Git_jll explicitly as top-level dependency in your project (I've never got whether that's intentional, or a bug)

I followed some bread crumbs and found that it's intentional, see second last section of https://github.com/JuliaLang/julia/issues/37791#issuecomment-701696972.
It is a very annoying limitation.


Preserve Chrome native window renaming

Hi,
thank you for this amazing OSS!
I would like to know if it is possible to preserve the naming of each Chrome window (when you do right click and Name window... in the tab bar)
This seems like a cheap way to keep windows more organized, although I have no idea if this is supported by the Chrome API.

Thank you so much for your kind words and for reaching out!
Unfortunately, the chrome.windows API currently doesn't support getting and setting custom window names. I suggest following this Chromium Issue Tracker for any updates. Starring the issue could help increase its visibility. Hopefully sooner than later!
I shall keep this issue open for future reference.

I'll keep an eye on the issue, thanks.


Project 4: Movie API

Technical requirements:
Setup and Environment: ✔Use Composer to manage project dependencies. ✔Utilise the Slim Framework as the foundation for building the REST API. ✔Set up a MySQL database for storing data.
API Endpoints:
✔GET /v1/movies - get list of all existing movies ✔POST /v1/movies - add new movie to collection ✔PUT /v1/movies/{id} - updates movie by {id} ✔DELETE /v1/movies/{id} - deletes movie by {id} ✔PATCH /v1/movies/{id} - updates particular data of movie by {id} ✔GET /v1/movies/{numberPerPage} - get list of {numberPerPage} existing movies ✔GET /v1/movies/{numberPerPage}/sort/{fieldToSort} - get list of {numberPerPage} existing movies sorted by {fieldToSort}
Database Interaction: ✔Use PDO or an ORM (such as Eloquent) to interact with the database. ✔Handle database connection, queries, and transactions appropriately.
Validation and Error Handling: ✔Implement validation for incoming data (request parameters and body) to ensure data integrity. ✔ Return appropriate HTTP status codes for different scenarios (e.g., 200 for success, 404 for not found, 400 for bad request). ✔Provide meaningful error messages in response bodies for error situations.
API Documentation with Swagger: ✔ Integrate Swagger (OpenAPI) for automatic API documentation generation. ✔ Document each endpoint's usage, input parameters, response formats, and example requests/responses. Middleware: ✔ Use middleware for request/response logging (mandatory), authentication(not mandatory), or any additional cross-cutting concerns (not mandatory).
Great job! One notice from my side - don't use throw $exception in catch statement. Catch exactly exists for handling exceptions but not for throwing new one ;) My note for this project is pure 10 out of 10 🔥

Noted, Thanks!


[CS2103-F14-3] CinternS

CinternS is a desktop app for managing internship applications, optimised for use via a Command Line Interface (CLI) while still having the benefits of a Graphical User Interface (GUI). If you can type fast, CinternS can get your internship application management tasks done faster than traditional GUI apps. It consists of several useful features which the users are able to execute using commands.

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

Coverage data is based on head (b766492) compared to base (77a32bf).
Patch has no changes to coverable lines.

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

Impacted Files
Coverage Δ

src/main/java/seedu/address/Main.java
0.00% <ø> (ø)

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

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


Mobile: issue with video banners

Video player becomes accessible depending on how you tap the image (not sure how to replicate this cleanly, tap around a bit):

Video is still accessible if you tap around:

I think on mobile we should find a means to completely disable banner video elements.

Agreed, these should ideally fallback to the poster images we recently implemented. Which device was this bug found on?

iPhone 6. They didn't load in this way--they loaded with the still image. But after swiping around the site it tried to load-in the video element.
Also, I noticed now that video banners are also working on mobile. This wasn't happening previously, but I think it's actually preferable...

I think this might been an iOS specific issue. Apple recently relaxed the rules a little bit so I pushed a change that added a property to the banner videos to try and force them to play on iOS, and it seems that it worked.
Lets keep this one open for now, sounds like it needs some more testing.

I haven't been able to replicate this issue since the fix has been pushed. Closing.


How can I get the premoves listed.

The package doesn't currently output a list of currently queued premoves, please feel free to raise an MR for this feature request

Closing due to lack of activity


5.1 - Vertical Rule (.vr) inherits padding from .row parent

When using a .vr class inside of a row, for example:

   //thick line

 xyz

   //thin line

It seems to inherit padding-right and padding-left from the .row > * selector.
As a temporary workaround, adding a .px-0 fixed for my purposes, but not quite sure if this is intended/expected behavior or not.
Thanks!
macOS 11.5 - Apple M1
Chrome 92.0

We have a requirement in our grid docs that only columns can be immediate children of .rows, so this isn't something we'd strictly update to support and encourage. That .row > * selector is a prime reason why :). Using the padding utilities is a good workaround, but you could also replace the .row with .d-flex and possibly some additional utilities.

Makes sense. Thanks !


build: add "--frozen-lockfile" to "yarn install"

Add a new flag --frozen-lockfile to the yarn install command.
The benefit of using this is that it ensures that there is no update to the state of the node dependencies in CI - users must ensure parity between their local environments and CI if they want the workflows to work.

From the docs I see "fail if an update is needed".
Do you know in what cases an update is needed?

Do you know in what cases an update is needed?

Yes, when on the local branch one of the dependencies is modified in package.json but the yarn install command is not run before committing. You (almost?) always want the yarn.lock file to be updated before the commit is made, otherwise you might get a different behavior in CI vs local environment.


CNV-37820: Fix Trans translations

📝 Description
The main cause of errors in console for translation is that Trans does not support conditional rendering inside.
Solution? Split the translation.
We also need to be careful with variables and use double { } like {{ phase: vmim?.status?.phase }} and not {{ vmim?.status?.phase }}.
🎥 Demo
No console errors

Hey Ugo I know it merged and it wasn't mention in the epic, but

we should also update our i18n packages
did u check we don't have any import mistakes, and we still have leftovers that import t from useTranslation and not useKubevirtTranslations?
We have some utils files/functions that we are sending t as arg instead of importing directly. Please check and remove those args
did u test after this PR? No errors are presented in the console? It needs a deep navigation across the app pages; when looking at the translation JSON, I don't see many new values, and if I remember correctly, the quantity of errors in the console was a lot. Please double-check.

@metalice

okay
yes, there are no other useTranslation usage
Okay I'll check that.
Yes

@metalice

okay
yes, there are no other useTranslation usage
Okay I'll check that.
Yes

I can see we still have more errors, please go over all Trans components


Add an activity to teach the Flags of the World (Flags Quiz)

Flags of the World is a very important knowledge especially for children, which could be achieved through a simple, fun quiz or game falling under the categories Explore, Games.
Use case:

The student starts the quiz.
A random flag is shown with four countries choices, one true answer among them.
After he picks one of them, the true answer is revealed to him.
Next button appears to get the next question.

Design overview:

Simple for children to get the idea with only an option to select an answer and go next.
A bit colorful to grab their attention and be enjoyable (What's more colorful than flags xD)
A satisfying sound could be added on getting the right answer, and a low tone sound for wrong ones.

Cases samples from a flags of the world quiz :
A question

Wrong answer case

Right answer case

The quiz could be more interesting and fun by adding:

Specific number of questions per quiz and the total final result at the end
Personal high score record, or a server high score.
A timer per question to add even more excitement

I would love to hear your thoughts about this activity and if we should consider adding it to sugarizer?
Inspiration: Flags of the World

@MahmoudDawood Don't get me wrong but of what I feel it will be much easier and less time consuming to rather add this as a MCQ quiz under Exersizer activity rather than creating a whole activity from scratch around it.
This will only take around 1-2 hr to add all the 197 (not fixed) countries rather than code a whole activity on your own from scratch.
It will save you a lot of time and allow you to work on other projects as well. What do you say?

it took less than a minute to create 1 page if you have the flag image.
Apart from just a quiz, it also has an analysis page which saves a lot of time and helps track progress.
I really appreciate your hard work and suggestion but would love to save your time on a task already possible. I really hope we can together contribute on further projects if not this one.

@Shreyas-SAS good point.
Plus Flags are already visible in the Color My World activity.

@Shreyas-SAS You're totally right, Thank you for notifying me with the Exerciser activity.
If I had a valid big activity idea I'd ask for your help for sure.

@Shreyas-SAS You're totally right, Thank you for notifying me with the Exerciser activity.
If I had a valid big activity idea I'd ask for your help for sure.

Thank you for understanding. Hope to work with you soon.

@llaske I've already browsed Color My World before making the issue but couldn't find Flags in it if I saw it right.
So would you think of adding this idea as a quiz inside the Exerciser activity as Shreyas-SAS mentioned an added value to the activity and learning or should we leave it as it is?

@MahmoudDawood Flags are display in Color My World when clicking on countries.
As @Shreyas-SAS said, anyone could add a new exercise in Exerciser activities to recognize flags. We don't need to provide it.


Update version script

Closing this PR due to the creation of a new own repository for this script.
See here


[RFC] Add support to readthedocs.io

This PR is a RFC. I would like to propose add support to mkdocs to EVE's documentation. By doing, so, the documentation can be generated in a fancy format and get published (automatically) to readthedocs.io or other compatible system.
In fact, you can find EVE's documentation generated by the changes of this PR at: https://eve-os.readthedocs.io/en/latest/
The documentation is generated from EVE's sources, so it can be kept up to date, it provides a structured menu with all main topics, a search system to search throughout the docs and it can also be deployed locally through mkdocs embedded web server.
This PR adds support to mkdocs and readthedocs.io at once. Please, find below the main commit message that explains all the changes:
docs: Add support to readthedocs.io

    Add support to mkdocs and readthedocs.io in order to build EVE's
    documentation through mkdocs and allow to publish it at readthedocs.io.
    Document sources (.md, .txt, etc) are located through the whole repository.
    Unfortunately, mkdocs doesn't allow to keep the configuration file along
    with document sources, so this commit adds a python script which
    reassembles the repository's tree only with documentation sources and
    related files, such as figures (.png, .svg). Additionally, it changes all
    relative links that point to some other file in the repository, such as .go
    and .sh files, with the full URL that will point to Github EVE's
    repository.

    The documentation can be also built locally, through the following
    commands:

    python3 docs/mkdocs/prepare-mkdocs.py \
            dist/docs-src \
            "https://github.com/lf-edge/eve/blob/master"
    cp docs/mkdocs/mkdocs.yml .
    mkdocs build

    Documentation files will be built at dist/docs-src and the links for source
    files throughout the documentation will point to master branch.

    To visualize the documentation through a local web server, use:

    mkdocs serve

    And access it through the URL:

    http://<IP_ADDRESS>:8000/projects/eve/

    Signed-off-by: Renê de Souza Pinto<EMAIL_ADDRESS>
Any comments on that are very welcome.

Updates in this PR: Fix all pylint yetus warnings.

Updates in this PR: Fix more spelling errors pointed by yetus.

I think it makes sense to split this apart into multiple PRs; put the fixes to the typos and links in one and we can get that merged.
 Ideas for how we would keep that file up to date? Will the build fail if a URL has gone bad? Amd then we manually need to remember to add new URLs for new packages?

Indeed @eriknordmark , it does make sense to break the typo fixes from the readthedocs.io support. I will put them into another PR.
Regarding the mkdocs.xml, yes, the links were done manually. They are used to build the left menu shown in the documentation. At one hand we can choose the best logical organization for the topics. At the other hand, we must maintain the file, so new packages will need to be manually added as well....
The lack of links or wrong links will just generate warnings. As of now they will not break the build (fail_on_warning: false), but this can be changed in the future when we get rid of all warnings due to broken links throughout the documentation....

@eriknordmark , I've updated this PR. Now it contains only the commit associated to the proposal (add support to mkdocs). All yetus spelling fixes were made into another PR, already active: https://github.com/lf-edge/eve/pull/2815

I don't understand why yetus fails without producing any errors. Can you try rebasing on current master to see if it makes a difference?

I don't understand why yetus fails without producing any errors. Can you try rebasing on current master to see if it makes a difference?

Let me copy output from results-yamllint.txt of yetus's artifacts:
::warning file=docs/mkdocs/mkdocs.yml,line=1,col=1::[document-start] missing document start "---":::error: file=docs/mkdocs/mkdocs.yml,line=48,col=5::[indentation]: wrong indentation: expected 6 but found 4
::warning file=docs/mkdocs/mkdocs.yml,line=1,col=1::[document-start] missing document start "---":::error: file=docs/mkdocs/mkdocs.yml,line=51,col=5::[indentation]: wrong indentation: expected 6 but found 4
::warning file=docs/mkdocs/mkdocs.yml,line=1,col=1::[document-start] missing document start "---":::error: file=docs/mkdocs/mkdocs.yml,line=54,col=5::[indentation]: wrong indentation: expected 6 but found 4
::warning file=docs/mkdocs/mkdocs.yml,line=1,col=1::[document-start] missing document start "---":::error: file=docs/mkdocs/mkdocs.yml,line=57,col=5::[indentation]: wrong indentation: expected 6 but found 4
::warning file=docs/mkdocs/mkdocs.yml,line=1,col=1::[document-start] missing document start "---":::error: file=docs/mkdocs/mkdocs.yml,line=61,col=5::[indentation]: wrong indentation: expected 6 but found 4
::warning file=docs/mkdocs/mkdocs.yml,line=1,col=1::[document-start] missing document start "---":::error: file=docs/mkdocs/mkdocs.yml,line=64,col=5::[indentation]: wrong indentation: expected 6 but found 4
::warning file=docs/mkdocs/mkdocs.yml,line=1,col=1::[document-start] missing document start "---":::error: file=docs/mkdocs/mkdocs.yml,line=66,col=5::[indentation]: wrong indentation: expected 6 but found 4
::warning file=docs/mkdocs/mkdocs.yml,line=1,col=1::[document-start] missing document start "---":::error: file=docs/mkdocs/mkdocs.yml,line=69,col=5::[indentation]: wrong indentation: expected 6 but found 4
::warning file=docs/mkdocs/mkdocs.yml,line=1,col=1::[document-start] missing document start "---":::error: file=docs/mkdocs/mkdocs.yml,line=76,col=5::[indentation]: wrong indentation: expected 6 but found 4
::warning file=docs/mkdocs/mkdocs.yml,line=1,col=1::[document-start] missing document start "---":::error: file=docs/mkdocs/mkdocs.yml,line=89,col=5::[indentation]: wrong indentation: expected 6 but found 4
::warning file=docs/mkdocs/mkdocs.yml,line=1,col=1::[document-start] missing document start "---":::error: file=docs/mkdocs/mkdocs.yml,line=93,col=5::[indentation]: wrong indentation: expected 6 but found 4
::warning file=docs/mkdocs/mkdocs.yml,line=1,col=1::[document-start] missing document start "---":::error: file=docs/mkdocs/mkdocs.yml,line=95,col=5::[indentation]: wrong indentation: expected 6 but found 4
::warning file=docs/mkdocs/mkdocs.yml,line=1,col=1::[document-start] missing document start "---":::error: file=docs/mkdocs/mkdocs.yml,line=102,col=5::[indentation]: wrong indentation: expected 6 but found 4
::warning file=docs/mkdocs/mkdocs.yml,line=1,col=1::[document-start] missing document start "---":::error: file=docs/mkdocs/mkdocs.yml,line=213,col=5::[indentation]: wrong indentation: expected 6 but found 4
::warning file=docs/mkdocs/mkdocs.yml,line=1,col=1::[document-start] missing document start "---":::error: file=docs/mkdocs/mkdocs.yml,line=215,col=5::[indentation]: wrong indentation: expected 6 but found 4

Seems yamllint want to see --- in the beginning of the file and 6 spaces as indentation for nested objects.

@eriknordmark , @giggsoff , I've fixed all yetus errors related to this PR. I opened a new PR (https://github.com/lf-edge/eve/pull/2822) pushed through my regular (default) GitHub account. I will close this one.


Toolkit android swipe on flash card - issue #14

User can view answer by swiping the question's image ALONG with the old 'flip' button.

Closing for now

PRs should strictly be made to bug-fixes branch.
lots of merge conflict.
does not meet codacy requirements.


TGV / SymmetrizedGradientOperator failing trying to call .geometries

I want to try TGV regularisation for deblurring but I get an error that I don't understand. It looks like a an issue to with an attribute .geometries in image or block geometry.
The same error is produced when trying to run the TGV denoising demo in CIL-Demos:
https://github.com/vais-ral/CIL-Demos/blob/master/Denoising/2D/PDHG_TGV_Denoising.py
Spyder output:
runfile('/home/jakob/Projects/RTMCT/CIL/code/CIL-Demos/Denoising/2D/PDHG_TGV_Denoising.py', wdir='/home/jakob/Projects/RTMCT/CIL/code/CIL-Demos/Denoising/2D')
Applying {} noise
method  0
Initialised GradientOperator with C backend running with  20  threads
Traceback (most recent call last):
File "", line 1, in
runfile('/home/jakob/Projects/RTMCT/CIL/code/CIL-Demos/Denoising/2D/PDHG_TGV_Denoising.py', wdir='/home/jakob/Projects/RTMCT/CIL/code/CIL-Demos/Denoising/2D')
File "/opt/anaconda3/envs/jjbuild20200615/lib/python3.6/site-packages/spyder/utils/site/sitecustomize.py", line 705, in runfile
execfile(filename, namespace)
File "/opt/anaconda3/envs/jjbuild20200615/lib/python3.6/site-packages/spyder/utils/site/sitecustomize.py", line 102, in execfile
exec(compile(f.read(), filename, 'exec'), namespace)
File "/home/jakob/Projects/RTMCT/CIL/code/CIL-Demos/Denoising/2D/PDHG_TGV_Denoising.py", line 141, in
op22 = SymmetrizedGradient(op11.domain_geometry())
File "/opt/anaconda3/envs/jjbuild20200615/lib/python3.6/site-packages/ccpi/optimisation/operators/SymmetrizedGradientOperator.py", line 65, in init
tmp_gm = len(domain_geometry.geometries)*domain_geometry.geometries
AttributeError: 'ImageGeometry' object has no attribute 'geometries'

It should work now. The line was wrong. It should be with range_geometry since it is the range_geometry of the Gradient and it is a BlockGeometry with geometries.

Great, thanks, now working.


Feature Request: Volume slider

Sets the volume with a slider.
Keybinding for the slider with + / -
The use case is that I want to have other videos on the background (multiple audio streams at once).
And I don't want the tracker music to be too loud.

Implemented in da296dd.
There has already been an option like this, in the form of the gain parameter in the INI file, but since that can't be adjusted at runtime, an additional volume control stage has been added.


Optimistically assert production readiness

And other such TROVE changes.

Coverage remained the same at 100.0% when pulling 31fe6a971ddf00d4ffb8188e39508446dd9c1409 on trove-classifiers-bump into ad89daa74d9e8063a910f6ef27bf8034d2f6997e on master.

@prophile thoughts on this?


add ⇐stoned⇔pastries⇒ ✔✔✔ ♥

Onto awesome UTF-8 ✔

Closing this one since it was applied to the aaroncox/chainbb-frontend repository.


The standards api supports pagination

CC @jhash since he brought this up. It should be a quick add and something that'd make a huge difference in the intial load of rapidskills.org/standards

@jhash do you think you will be wanting to pass the "per_page" option ever, or do you want me to fix that on the server, and you will just send the page number?


Decorator Execution Order

Tried to fix the Decorator Execution Order problem (#23)

cache @prop (@arrayProp @mapProp) to be executed when _buildSchema is called
disable _id test in biguser
fix tests for some thing
outsource uniqueID creation to "utils.createUniqueID"
add doc note to use the right execution order for something like hooks

Known Issues:

none known issues anymore, verification needed

This PR might be breaking something (but shouldnt be too much and work like v5)
PS:

related mongoose issue https://github.com/Automattic/mongoose/issues/8137
before this pr, subdocuments wouldn't build parent's properties into its own, because of the call directly to _buildSchema but changing it back, dosnt work for _id too

fixes #23

@B-Stefan could you test 13069fbff3b28ce8f1a9935bbc41bb622308cd27 with your pr? (#21)
@fabioformosa could you test it with your (public & private) repos? (13069fbff3b28ce8f1a9935bbc41bb622308cd27)

@fabioformosa could you test it with your (public & private) repos? (13069fb)

I'm just testing. I built source code of branch r6/cache-inner-class-decorators and I pushed the package in my own nexus.
In my project the fields of nested model are unsaved. I'm looking for reproducing the problem in the sample project with foo and bar. I let you know...

In my project the fields of nested model are unsaved.

thanks for letting me know, just wanted to test something, and like i said in the commits, i dont trust the tests in this one
just tried to wrap an buildSchema into an new Schema(buildSchema, _id: false) (pseudo)

@fabioformosa the commit with the test got reverted
implemented a "workaround" for now, but it only works, if you dont use the same class / schema for Ref or directly
example
@prop({ _id: false }) dosnt do "anything" anymore, and @modelOptions({ schemaOptions: { _id: false } }) should be used now
but the clear drawbacks are:

the model where the @modelOptions is applied, cant be used for Ref's & directly

Found a fix (/ knew about, but didnt wanted to use it) for the _id problem
need to disable buildSchema caching & add optional schema options to buildSchema (that gets passed to _buildSchema)

I dont understand why the tests should error if no valid type is supplied to "@mapProp" [InvalidTypeError] sometimes fails, and sometimes not in travis, and only in the test "Travis CI - Branch", "Travis CI - Pull Request" passes always...

@fabioformosa tested with your verification repo, after renaming one of the bar classes, the two tests pass, because for now, same name is not supported, could you test with a "more advanced" / "real world" project?

@fabioformosa tested with your verification repo, after renaming one of the bar classes, the two tests pass, because for now, same name is not supported, could you test with a "more advanced" / "real world" project?

I don't understand, have you disabled the chance to use more classes with the same name? why?
I would use this feature, at the momento also with known issues (_id:false doesn't work on @prop).

@fabioformosa since ac4964a2e904cfd6eba625d925a5bda65c9f4a26, but this was only in the r6/master branch, forgot to re-enable it again / wanted to have the actual issue fixed first, then i could tackle that

@fabioformosa does 0c13a06173d65e144cedb8dda19fb619cc4abef3 what you want it to do?

Ok, I confirm that in verification repo this feature branch works with more classes with same name.
In the next 2 days, I'll try to use this feature branch version in a bigger project.
I'll let you know.
Thank you.

Ok @hasezoey, I've tested, it's OK for me. Also _id: false works now.

@fabioformosa did you notice any slowdowns? i just ask because of the removal of caching some things

@fabioformosa did you notice any slowdowns? i just ask because of the removal of caching some things

At the application startup or during save/find operations?

At the application startup or during save/find operations?

in general, but mainly startup / when you make the models / schemas

I have not so much models to notice slowdowns. For me it's OK, at the moment.

Squash Merged in ada5cfb81798137aebb02dc68159d93809f3f828
Github dosnt let me mark this as "merged"...


Update king-of-fans-zigbee-fan-controller.groovy

This update will allow breeze mode to be activated by setting the fan dimmer to 1%. This is how  another fan manufacturer sets breeze mode on their fans. It also includes the update proposed by Jake Evan for fixing the math calculation to convert dimmer percent to fan speed properly.
Breeze mode can only be activated by using fan as a dimmer with this update.  Allowing breeze mode may be possible for all users using the CLI and a custom button capability in the future

Do I just download this file and delete the other?

On Sep 10, 2020, at 10:28 PM, Tim Grimley<EMAIL_ADDRESS>wrote:

This update will allow breeze mode to be activated by setting the fan dimmer to 1%. This is how another fan manufacturer sets breeze mode on their fans. It also includes the update proposed by Jake Evan for fixing the math calculation to convert dimmer percent to fan speed properly.
Breeze mode can only be activated by using fan as a dimmer with this update. Allowing breeze mode may be possible for all users using the CLI and a custom button capability in the future
You can view, comment on, or merge this pull request online at:
https://github.com/rafaelborja/SmartthingsKingOfFansZigbee/pull/14
Commit Summary
Update king-of-fans-zigbee-fan-controller.groovy
File Changes
M devicetypes/rafaelborja/king-of-fans-zigbee-fan-controller.src/king-of-fans-zigbee-fan-controller.groovy (30)
Patch Links:
https://github.com/rafaelborja/SmartthingsKingOfFansZigbee/pull/14.patch
https://github.com/rafaelborja/SmartthingsKingOfFansZigbee/pull/14.diff
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Not sure how to do any of this . I just cut and pasted before.

On Sep 14, 2020, at 1:28 PM, Rafael Borja<EMAIL_ADDRESS>wrote:

Merged #14 into master.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.


Composition Animation doesn't fire the first time

Describe the bug
From the repro I provided (https://github.com/laolarou726/CompositionBug), you can notice that the composition animation will not work the first time of button clicks. If you click more after the first time, everything will work as expected.
I also tried the latest nightly version of Avalonia from the nightly feed, but the issue still exists.
To Reproduce
https://github.com/laolarou726/CompositionBug
Expected behavior
The animation should fire the first time of mouse clicks.
Avalonia version
11.0.10
OS
Windows
Additional context
No response

any updates on this one? tried latest Avalonia nightly problem is still presents

@maxkatz6 @kekekeks same issue suffering and this is not an april-first joke
can anyone handle this and give us a patch as soon as possible? this already made a lag in the progress of new applications.
 Even you can consider firing it twice for each first-time startup

@fr1g If you require prioritised bug fixes and support, I invite you to explore our support agreements. Otherwise, issues are addressed based on availability and project priorities.

hey but sincerely, in my region if i got that money that you asked for as donate, here won't be me to write my codes.
I suggest you that all of you perhaps should re-order your priority and let us know your weekly plan (to be solved at least)
and yes i am unwealthy dude, i know you need donation to keep up since me too

hey but sincerely, in my region if i got that money that you asked for as donate, here won't be me to write my codes. I suggest you that all of you perhaps should re-order your priority and let us know your weekly plan (to be solved at least) and yes i am unwealthy dude, i know you need donation to keep up since me too

I saw the 1-year indie support starts at 7900 CNY and divided into per month is looks like my monthly meal cost. If I got income perhaps I will pay for my org..

hey but sincerely, in my region if i got that money that you asked for as donate, here won't be me to write my codes. I suggest you that all of you perhaps should re-order your priority and let us know your weekly plan (to be solved at least) and yes i am unwealthy dude, i know you need donation to keep up since me too

I saw the 1-year indie support starts at 7900 CNY and divided into per month is looks like my monthly meal cost. If I got income perhaps I will pay for my org..

but in stalingrad 1k ewro can buy alot
and yet i also have nothing income, im still stuck in academia

hey but sincerely, in my region if i got that money that you asked for as donate, here won't be me to write my codes. I suggest you that all of you perhaps should re-order your priority and let us know your weekly plan (to be solved at least) and yes i am unwealthy dude, i know you need donation to keep up since me too

I saw the 1-year indie support starts at 7900 CNY and divided into per month is looks like my monthly meal cost. If I got income perhaps I will pay for my org..

but in stalingrad 1k ewro can buy alot and yet i also have nothing income, im still stuck in academia

where??

@wladysakemi, we determine our priorities based on various factors, including the impact on the broader community and the needs of our paying customers.

perhaps should re-order your priority

Demanding we reprioritise our work because you've found an issue that impacts your app is not how collaborative open-source works.

let us know your weekly plan (to be solved at least)

Additionally, we do not provide individual users with weekly updates on when issues might be resolved. We're focused on development rather than generating status reports for non-paying users. If you require this level of insight, consider a support agreement.
While we strive to address issues as soon as possible, individual issue timelines are not guaranteed. If you need guaranteed service, you can purchase a support agreement.

@maxkatz6 @kekekeks Are there any temporary fixes available now? I tried to run animation twice but it still broken. Looks like the first animation successfully committed and executed but somehow the renderer does not repaint the window?

fixed by #17370


Nothing is working!!!

I've followed your install instructions through 100 times over. But whenever I press Y in IVA, my headset stays in the steamVr home

I know this is a shitty answer, but without more information, all I can say is "well it works on my machine...".
Try these instructions:
https://github.com/Vivero/Kerbal-VR/wiki/Install-Guide

Closing until further information can be provided.


convert-txt2al does not renumber the table to 50010 range

I run the convert-txt2al, but it does not renumber to 50100 range

the convert-txt2al is part of the navcontainerhelper, which has its own github repo here: www.github.com/microsoft/navcontainerhelper.
But as the name suggests - it converts txt 2 al - it doesn't renumber.
It does have a starting id - but that is for page and table extensions, which will become new objects.
The NavContainerHelper is an open source project which aim it is to assist partners in working with Nav Containers - it is work in progress.

I'll use the tx2al tool instead. Thanks


Support stopping playback

There should be a convenient API on Player to stop playback and resume from the start.

Maybe once #5 is implemented, this can be considered fixed as well? With a seeking API stopping should be quite easy.


jobMaster: should reset error_message when we restart job_master

What did you do?
Use engine to replicate some data. Engine met '[DFLOW:ErrWorkerSuicide]worker has committed suicide due to master(dataflow-engine-job-manager) having timed out' and keeps reporting failing message.
What did you expect to see?
DFLOW can clear this message after jobMaster works well.
What did you see instead?
This message can't be cleared unless we update them in metadata;
Versions of the cluster
Dataflow Engine version (run tiflow version):
master
(paste Dataflow Engine version here)

Guess it's caused by `persistMetaError` only persist meta info while error is not nil.


1.6.2 VTOL RTL does not trigger back-transition

I think that this commit breaks the back-transition when RTL is commanded to a VTOL drone:
https://github.com/PX4/Firmware/pull/7249
However I'm not 100% sure since my drone doesn't work with master or stable. @dagar suggested that this could easily be tested in SITL, although I don't have that setup at the moment. I would appreciate it if someone can verify this with SITL.

@sanderux The comment you made on the PR is I think in the wrong location. What I removed there was clearly wrong and added only a few weeks before that. I think its much rather related to the other handling changes. If you still think its that code part please explain in more detail.

I'll try and reproduce in sitl. It could also be that no landing was set for rtl. @bartslinger do you have a log?

This is resolved.


Update NUM_MACHINES description in testJobTemplate

It would be nice to have NUM_MACHINES description updated as following in testJobTemplate
https://github.com/adoptium/aqa-tests/blob/master/buildenv/jenkins/testJobTemplate#L375
Optional. It has to be used with PARALLEL=Dynamic or PARALLEL=NodesByIterations

Use with PARALLEL=Dynamic, NUM_MACHINES cannot be greater than the number of matched nodes on Jenkins

Use with PARALLEL=NodesByIterations, NUM_MACHINES cannot be greater than 20

i would like to work on this


Add episodesbydate to the shows endpoint

Added implementation for the episodesbydate (https://www.tvmaze.com/api#episodes-by-date) Endpoint

Thanks again. I'll merge this PR as the code is consistent with the other endpoints but I think we could handle the case when there are no episodes for a given date in a better way.
I created an issue to improve the way we use the HTTP client in order to handle different response codes. https://github.com/plneto/TvMaze.Api.Client/issues/12

Yeah handling the 404 better and also the API Rate limiting ist on my list of things I want to improve, but didn't want to start with a mayor overhaul of how the Library works. You can expect some more Pull Request from me in the near future.


Same type

Is it possible to implement DU with properties of the same type?
[UnionType(typeof(int), "MyInt")]
[UnionType(typeof(int), "MyOtherInt")]
public partial struct MyStruct {}

No, it is not possible.
The issue is that after adding UnionType attribute to MyStruct it will contain .ctor, implicit and explicit operator to the specified type and there is no way to distinguish MyInt from MyOtherInt.
Could you give an example why you need the same type with different name?
My assumption is that you need it for some kind of Id type.
In this case I propose specify these types explicitly.
public readonly record struct OrderId(int Value)
{
    public override string ToString()
    {
        return Value.ToString();
    }

    public static implicit operator int(OrderId orderId)
    {
        return orderId.Value;
    }
}

[UnionType(typeof(OrderId))]
public partial struct MyStruct {}

We are want to use DU to store some sample number of the data OR some timestamp value of the data, and both happens to be integer type (and there are more different types stored in this DU). So we wanted to differentiate between sample int type and timestamp int type.

I still propose to wrap timestamp into a struct.
It can be used like Int32 but this way you never mix up MyInt and MyOtherInt.
public readonly record struct Timestamp(int Value);

If it is not suitable, we need to think about public API change for union type in case of using the same type multiple times.
New static methods should replace the use of contstructors.
- public MyStruct(int value) // can't distinguish MyInt from MyOtherInt
+ public static MyStruct FromMyInt(int value)
+ public static MyStruct FromMyOtherInt(int value)

Okay I think it is good. We can close the issue.


Add status badges/links to app UIs

[ ] About sections of landing pages
[ ] Main documentation sites

[ ] https://docs.biosimulations.org
[ ] https://docs.biosimulators.org

[ ] Main READMEs

[ ] biosimulations/biosimulations
[ ] biosimulators/biosimulators

Sure. We can get badges for essentially any url. Though I'm not sure what and uptime badge for the readme or docs would convey. Those are sticky hosted by GitHub, so should always be up.
I think I'm missing some context here


Fixed QC display syntax for Docker users

Two issues appeared regarding the use of SCT in our released docker container :
#2585 : For docker user, they can't copy-paste the xdg-open command because no browser is set. If the variable BROWSER is not set for the Linux user, this command won't work as well. For now, we just modified the command given to the user if he uses Linux without defining $BROWSER.
#2587: Fsleyes plugin is not working for docker users. After investigations, the crash is caused by the deletion  here of 'PYTHONHOME' and 'PYTHONPATH' that are not defined. I added a test to avoid this situation. The plugin seems to be responsive now.  Fixed by #2581
However, it does not solve the warning problem reported also in the issue. It might come from the installation of fsleyes in the docker container which is currently investigated (WIP)
intent to fix #2585, #2587

@lrouhier before we merge: is the DOCKER variable now set in the new Dockerfile? if so can you please point to the modified code?

@lrouhier before we merge: is the DOCKER variable now set in the new Dockerfile? if so can you please point to the modified code?

It is on the PR https://github.com/neuropoly/sct_docker/pull/51, here is the link to the exact line.  Do you want me to add something as a comment inside the QC file ?

inside the QC file

which file are you talking about?

Sorry I meant in the qc.py file. For futur reference if it is needed.

ah! yes, it would be nice. Thanks!


YaPB causes Linux CS couldn't exit correctly

Describe the bug
When I use YaPB 4.2.598, I can never exit the game normally. Everytime I type "quit" in console or click "exit" in main menu, the game ends but doesn't exit, leaving a black window with my mouse cursor captured. What I can only do is to change a tty and kill the process.
Expected behavior
The game exits normally like what it does under Windows, without any problems.
Environment details:

OS: Arch Linux/Linux Debian 10.9
Engine: vanilla 8684
GameDLL: yapb.so
Metamod: without metamod
Bot Version: 4.2.598
Game mode: public

Additional context
I've changed several distros and they all have the same problem.

Verify in 4.2.601


403 Forbidden - Bintray download fails for dependency dd-sdk-android:1.4.3

Could not resolve com.datadoghq:dd-sdk-android:1.4.3.
Required by:
 project :
> Could not resolve com.datadoghq:dd-sdk-android:1.4.3.
> Could not get resource 'https://dl.bintray.com/datadog/datadog-maven/com/datadoghq/dd-sdk-android/1.4.3/dd-sdk-android-1.4.3.pom'.
> Could not GET 'https://dl.bintray.com/datadog/datadog-maven/com/datadoghq/dd-sdk-android/1.4.3/dd-sdk-android-1.4.3.pom'. Received status code 403 from server: Forbidden

Looks like Datadog moved to Maven Central, but they did not copy over the old versions of the library. They are only hosting recent versions from 1.8.1 and higher. The older versions are still hosted on Bintray, which is 403'ing.
Potential solutions:

Publish cached version of 1.4.3 to MavenCentral on your own,
Upgrade to 1.8.1 or newer of the dd-sdk-android library. I attempted to do this hoping for no breaking changes, but this is not the case. I can keep working on it until I can post a PR unless you beat me to this.

If possible, can this change be made off of 0.0.3 instead of with the null safety commit? My app is not ready for null safety, so publishing with that would likely prevent anyone using from upgrading if they haven't upgraded to Flutter SDK 2.12 or higher.

@james-airspace Dang, this is not ideal. It looks like they're requiring a tracking consent acknowledgement now.
So....I think what we have to do is require the implementation to handle this decision. I can see why they yanked it. I wonder if they'll do the same for iOS

@tshedor It's probably because Bintray/Jcenter is going to be deprecated on May 1, so they are just moving over to Maven Central. Probably figured no one was really using the older versions of the library.
From what I can tell, the only difference is the DatadogConfig.Builder function is requiring an envName as a parameter. I might have a fix for it now by updating the plugin.

@james-airspace alright I'll follow your lead on the iOS side after you submit the PR. And the README probably.
To your earlier question, yes, we can do multiple releases to cover null safety/non null safety. Please open your PR against the unsound-null-safety branch.

@tshedor https://github.com/greenbits/datadog_flutter/pull/7
No README update needed since the Datadog wrapper already passes the required env name into the constructor. Just needed to move the setter into a required param in the plugin for Android.

It's resolved on my end. I am able to log to Datadog using the 0.0.4 version. Thanks for getting this updated @tshedor!


Build Fails

On arch building this fails with this error:
gpu-screen-recorder-all-audio/src/main.cpp:4:10: fatal error: rohrkabel/loop/main.hpp: No such file or directory
4 | #include <rohrkabel/loop/main.hpp>
|          ^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/gpu-screen-recorder-all-audio.dir/build.make:76: CMakeFiles/gpu-screen-recorder-all-audio.dir/src/main.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:240: CMakeFiles/gpu-screen-recorder-all-audio.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
|
If this builds fine for you what distro are you using so I can understand the differences or just build in that distro.

Take all the time you need. Appreciate the very quick response

Has any free time came up? I haven't been able to find another solution that uses the command line and mixes the audio.

If you just want to mix desktop audio and microphone then you can use the -a "default_output|default_input" option

If you just want to mix desktop audio and microphone then you can use the -a "default_output|default_input" option

I will try this thank you

Has any free time came up? I haven't been able to find another solution that uses the command line and mixes the audio.

Sorry I totally forgot about this :'D
I'll push an update today or tomorrow :)

Has any free time came up? I haven't been able to find another solution that uses the command line and mixes the audio.

Sorry I totally forgot about this :'D
You may want to checkout venmic - this is something I've developed for discord screen sharing, and in essence it can do everything this project does and more.
You can compile and start venmic as a server and send a simple HTTP Request to start entire system audio capture, a new node named venmic will be created :)

The HTTP requests are documented in the projects readme


Failed to load custom driver

Reproduce
idk how maybe windows issue or i should use efiguard.
Description
On startup, the program cannot load the driver
"Failed to load custom driver."
Maybe the information you need
🟢 HyperV enabled
🔴 EfiGuard not installed
🟢 Win11 24H2

Hi, sorry for late reply. Just try again after restarting your pc.

When I opened the issue, I downloaded the injector for the second time, as the first time it did not start for the same reason. Maybe the driver download exploit you are using is already outdated on this version (I haven't looked at your code, I may be wrong in my assumptions)

Probably windows blocking vulnerable driver to load
open regedit and go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CI\Config then set VulnerableDriverBlocklistEnable as dword 0 after a restart it should work


Not Equal filter returns data that matches the filter (neq)

Describe the bug
I'm using supabase with django app, whenever I use neq filter over foriegn table it returns all data, only the data matches the filter returned with "None" on the filter key instead of being neglected at all
to be more clear:
data = (
    supabase.table("dashboard_payment")
    .select(
        "id, note, paymentType, amount, dashboard_client(id, name, classification), auth_user(first_name, last_name), created, updated"
    )
    .neq("dashboard_client.classification", "SYSTEM")
    .gte("created", date_range["start"])
    .lte("created", date_range["end"])
    .execute()
    .dict()["data"]
)

data returned from this:
[
   {
      "id":xxxx,
      "note":"xxxxx",
      "paymentType":"xxxxx",
      "amount":xxx,
      "created":"xxxxxx",
      "updated":"xxxxxx",
      "dashboard_client":"None",
      "auth_user":{
         "first_name":"xxxxxx",
         "last_name":"xxxxxxx"
      }
   },
   {
      "id":xxxxx,
      "note":"xxxxxx",
      "paymentType":"xxxxxxx",
      "amount":xxxxxxx,
      "created":"xxxxxxxxx",
      "updated":"xxxxxxxx",
      "dashboard_client":{
         "id":xx,
         "name":"xxxxxxx",
         "classification":"xxxxxxxx"
      },
      "auth_user":{
         "first_name":"xxxxxxx",
         "last_name":"xxxxxxxx"
      }
   }
]

as you can see, first record should be filtered not returned with value None on dashboard_client field
Am I using this client wrong?

I don't quite get you - does the first record not have a related record in dashboard_client, is that why it is None? If that is the case I think the response technically makes sense, because None != "SYSTEM"

No reply from OP for over 5 months now. Closing this one out.


Is it possible to do cy.intercept of api call for angular application in new cypress component test runner

Is it possible to do cy.intercept of api call for angular application in new cypress component test runner.
I watched new cypress component test runner video where api call intercepted and data are mocked for React component.
Is same behaviour available for angular too?

Well, I think it should work as described in the documentation also for Angular since it relies on proxies, let me know if you struggle.


Quick question, how to get output for "info commandstats"

thanks.

I would try Info("commandstats")


Mod only partially works?

Maybe this mod does not work in combination with other mods I have installed because this is how it behaves:

Console logs the mod has been loaded properly
Config is empty by default
Neither infinite spraying nor drawing a constant line works in game
Spray sound is also as loud as in base game
BUT I can erase sprayed dots

This is my mod string 018cd914-3bf5-ef3a-9798-221107aacb01

hi there! i'm having trouble reproducing this issue, and the game has changed a bit with the release of v49
if this issue is still showing up for you, could you share an updated profile code with the latest mods you're using? thanks!

Hi. I can confirm it works now. Thank u! :)


Added initial detection for GNU (Hurd) systems

Description
Features
See title.
Issues

getcpu can't be done in GNU Hurd because they have no way of detecting CPU names (no /proc/cpuinfo.
There are currently no ways to fetch getmodel and getbattery, because of different kernel systems, and there are currently no documentations about both of them.

P.S.: Should you decide to merge this branch, I advise to wait until you released 1.9.x, as an 1.9.x should be for bugfixes only, IMO.

Looking good so far :+1:

P.S.: Should you decide to merge this branch, I advise to wait until you released 1.9.x, as an 1.9.x should be for bugfixes only, IMO.

Yup, that's what I'm doing with the other open PR.

Anyway, since getcpu is effectively empty on GNU Hurd systems, should we add a placeholder for it (e.g. screenfetch uses "Unknown" when dealing with GNU Hurd's getcpu function)?

The only function which has a placeholder right now is getsong which shows Not Playing. The rest of the functions just don't print anything if the info isn't found.
I think it's better this way, what do you think?

We can easily make every function print Unknown if we decide to go down that route.
We just have to change this line (2312):
    [ -z "$output" ] && return

to this:
    [ -z "$output" ] && output="Unknown"

Nope. Some functions better be empty if there's no output.
On 3 November 2016 2:03:35 PM GMT+07:00, Dylan Araps<EMAIL_ADDRESS>wrote:

We can easily make every function print Unknown if we decide to go
down that route.
We just have to change this line (2312):
   [ -z "$output" ] && return

to this:
   [ -z "$output" ] && output="Unknown"

--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/dylanaraps/neofetch/pull/414#issuecomment-258075311

Sorry, what do you mean?

Uh.. Please disregard my previous comment. I'll give my thought after I get home.
On 3 November 2016 2:12:11 PM GMT+07:00, Dylan Araps<EMAIL_ADDRESS>wrote:

Sorry, what do you mean?
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/dylanaraps/neofetch/pull/414#issuecomment-258076166

I think it's better this way, what do you think?
Actually, I have to say yes. It would be awkward if Unknown appears in getde while you are not using a DE if we decided to go with the "Unknown" route. (I did some preliminary test using your method in your second comment and using the default config).

We can add add Unknown to the output on a per function basis by adding this line to the bottom of specific functions.
# Substitute memory for function name - get
[ -z "$memory" ] memory="Unknown"

Another option is adding a message to neofetch -v letting the user know that we failed to detect info.
We just have to change this line in info()
    [ -z "$output" ] && return

to this:
    [ -z "$output" ] && err "Info: Couldn't detect $subtitle"

EDIT: Yes, I do realize that people can change their configs. But from /r/unixporn, some (if not most) people don't use it, iirc.

This is why it's essential to have the best default config possible. It's also why it's nicer to hide errors from the user where possible.

[ -z "$output" ] && err "Info: Couldn't detect $subtitle"

I think this one is fine.

I created a new branch called 2.0 in case we need to release a 1.9.2.
Also feel free to open any WIP PRs here. :)

So.. Should I close this PR and reopen this to the 2.0 branch?

I can change it from here.

Done.

Here's an ascii logo I made for hurd:
"\
${c1}            -////////.
            yh::::::ds-.
        \`\`-:ds      yNN+::-\`\`
     \`+yso//ds      yNNo//+osyyo-
    \`d+     yh::::::ds..       -oh+
  ..oh-.    .:::yd:::.            sd\`
-/oNNNNo/-      /d      -////////- +h
yh::::::hs      \`d+   ..sh::::::ds  m:
ys      ys       \`sy+:+NNy      ys  yo
ys      ys         \`-:oNNy      ys  yo
yh//////hs            ..sd//////ds \`m:
.:+mNNm+:.              .:::dy:::. sy
  .-sy..    -::::::::.      d+   .hy\`
    +h      yh::::::hs     \`m-./yy-
    .N.     ys      yh//++shNyo:\`
     sy     ys      yh:--.-m-
      yy\`   yh//////ds   -d/
       +d+. -::::::::. -yy.
         :syso+/::/+oyyo.
             .--::-.\`
"

Source: https://www.gnu.org/software/hurd/logo/boxes-redrawn.svg

I thought ASCII logos are part of the distros, and so far the only existing Hurd system is Debian (and to some extent, GuixSD), might be good for fallback ASCII though.
Speaking of fallback ASCII, why don't we add a fallback ASCII for Linux (showing Tux, of course) in case no distro ASCII is found?
On 5 November 2016 6:02:58 AM GMT+07:00, Dylan Araps<EMAIL_ADDRESS>wrote:

Here's an ascii logo I made for hurd:
"\
${c1}            -////////.
           yh::::::ds-.
       \`\`-:ds      yNN+::-\`\`
    \`+yso//ds      yNNo//+osyyo-
   \`d+     yh::::::ds..       -oh+
 ..oh-.    .:::yd:::.            sd\`
-/oNNNNo/-      /d      -////////- +h
yh::::::hs      \`d+   ..sh::::::ds  m:
ys      ys       \`sy+:+NNy      ys  yo
ys      ys         \`-:oNNy      ys  yo
yh//////hs            ..sd//////ds \`m:
.:+mNNm+:.              .:::dy:::. sy
 .-sy..    -::::::::.      d+   .hy\`
   +h      yh::::::hs     \`m-./yy-
   .N.     ys      yh//++shNyo:\`
    sy     ys      yh:--.-m-
     yy\`   yh//////ds   -d/
      +d+. -::::::::. -yy.
        :syso+/::/+oyyo.
            .--::-.\`
"

Source: https://www.gnu.org/software/hurd/logo/boxes-redrawn.svg
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/dylanaraps/neofetch/pull/414#issuecomment-258568445

Oh, you're right. My bad.
I'll look into adding a tux ascii art. Good idea.

Merged, thanks.
https://github.com/dylanaraps/neofetch/commit/03aebe277c8ba2081f648c50dcfcbde7d3a9b822


update developer documentation

Summary
Update the notes on contributing and the readme files
Description for the changelog
update developer documentation
Other info

Codecov Report

Merging #388 (953c048) into main (8257b83) will decrease coverage by 0.35%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #388      +/-   ##
==========================================
- Coverage   97.88%   97.53%   -0.36%
==========================================
  Files         126       27      -99
  Lines        1799      486    -1313
  Branches      115        0     -115
==========================================
- Hits         1761      474    -1287
+ Misses         31       12      -19
+ Partials        7        0       -7

Impacted Files
Coverage Δ

src/views/git/Branch.vue

src/views/Import.vue

src/store/actions/auth.js

src/components/ThreatEditModal.vue

src/i18n/fr.js

src/components/report/DiagramDetail.vue

src/views/NewThreatModel.vue

src/store/modules/threatmodel.js

src/components/UpgradeModal.vue

src/service/provider/github.provider.js

... and 89 more

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 8257b83...953c048. Read the comment docs.


Update README to replace references to theckman/go-flock

This is one of the final steps needed to complete the migration to the Gofrs
organization.
Signed-off-by: Tim Heckman<EMAIL_ADDRESS>

/cc @gofrs/all


Popup Modal Library

Because this is such a beautifully well-written toaster lib, I'd be remiss not to ask if you have any recommendations for similar modal/popup libs. Maybe not the place in which place close it but this lib is fantastic so well done.

Thanks for the comment! I think there are plenty of modal libs out there but can't really recommend one, haven't tried much lately.


Update features.fea

Removed 'lookupflag RightToLeft IgnoreMarks;' lines to fix script connection bug. These were removed from the Bold source but missed in the Regular source.

Note: this solves issue #194


Register feature "V1beta1CSRAPICompatibility" into FateureGates

This is corresponding with PR.
Register the V1beta1CSRAPICompatibility feature into DefaultHubRegistrationFeatureGates.
Signed-off-by: Promacanthus<EMAIL_ADDRESS>

/assign @qiujian16

/approve
/lgtm


7/1 Publish after removed 4 RD

Docs Build status updates of commit d7a88f8:
:warning: Validation status: warnings

File
Status
Preview URL
Details

rd/index.yml
:warning:Warning

Details

rd/map.yml
:warning:Warning

Details

rd/dipti-chhatrapati.yml
:white_check_mark:Succeeded

rd/gianpaolo-santopaolo.yml
:white_check_mark:Succeeded

rd/mateusz-kozlowski.yml
:white_check_mark:Succeeded

rd/media/profiles/dipti-chhatrapati.jpg
:white_check_mark:Succeeded

rd/media/profiles/gianpaolo-santopaolo.jpg
:white_check_mark:Succeeded

rd/media/profiles/mateusz-kozlowski.jpg
:white_check_mark:Succeeded

rd/media/profiles/stefan-denninger.jpg
:white_check_mark:Succeeded

rd/stefan-denninger.yml
:white_check_mark:Succeeded

rd/toc.yml
:white_check_mark:Succeeded

rd/index.yml

Line 0: [Warning-InvalidFileLink] Invalid file link:(~/about).
Line 0: [Warning-InvalidFileLink] Invalid file link:(~/CodeOfConduct).
Line 0: [Warning-InvalidFileLink] Invalid file link:(~/map).

rd/map.yml

Line 0: [Warning-InvalidFileLink] Invalid file link:(~/about).
Line 0: [Warning-InvalidFileLink] Invalid file link:(~/CodeOfConduct).
Line 0: [Warning-InvalidFileLink] Invalid file link:(~/map).

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


[REQUEST] Sort

how to sort A-Z at Hit-> Config
ob2 native

What do you mean? You mean the dropdown menu or the data table? Because for the datatable you can just sort the column by clicking on the column header

dropdown menu.

What do you mean? You mean the dropdown menu or the data table? Because for the datatable you can just sort the column by clicking on the column header

dropdown menu. https://prnt.sc/Vuzvd-q4guUC

I will reopen this


Not able to add multiple inbound security rules to the existing NSG

Not able to add multiple inbound security rules to the existing NSG
Error Message
Unable to build a model: Unable to deserialize to object: type, AttributeError: 'unicode' object has no attribute 'get', DeserializationError: Unable to deserialize to object: type, AttributeError: 'unicode' object has no attribute 'get'
from azure.mgmt.network.v2017_03_01.models import NetworkSecurityGroup
from azure.mgmt.network.v2017_03_01.models import SecurityRule
    parameters = ["SecurityRule('Tcp', '*', '*', 'Allow', 'Inbound', description='All SSH Access',source_port_range='*', destination_port_range='99', priority=105)", "SecurityRule('Tcp', '*', '*', 'Allow', 'Inbound', description=' SSH Access',source_port_range='*', destination_port_range='292', priority=priority1, name='SSss')"]

    names = ['nfs','vfs']

    for i in names:
        print i, type(i)
        for j in parameters:
            print j, type(j)
            try:
                network_client.security_rules.create_or_update(resource_group_name, nsg_name, i,j, raw=True)
            except Exception as err:
                logging.error(err.message)
                print(err.message)
                exit(0)

trying to add multiple inbound rules to an existing NSG.

Thanks for reporting this issue!  I've hopefully routed it to the appropriate team for further investigation.

Hi @karthiknannapaneni
Your code is incorrect, you have a list of strings, and not a list of Security Rules object. Please remove the extra double-quote from each element of you list:
parameters = [
    SecurityRule('Tcp', '*', '*', 'Allow', 'Inbound', description='All SSH Access',source_port_range='*', destination_port_range='99', priority=105),
    SecurityRule('Tcp', '*', '*', 'Allow', 'Inbound', description=' SSH Access',source_port_range='*', destination_port_range='292', priority=priority1, name='SSss')
]

This unittest gives example of usage:
https://github.com/Azure/azure-sdk-for-python/blob/1dd0602647bcf224de1dfb46a8d4d0e1d90b17d2/sdk/network/azure-mgmt-network/tests/test_mgmt_network.py#L472-L510

@imazuel Can you please share the documentation link or code snippet on adding inbound rules with source: service tag/IP Addresses
destination: application security group/Virtual Networks

I didn't find the required parameters in the documentation
https://github.com/Azure/azure-sdk-for-python/blob/1dd0602647bcf224de1dfb46a8d4d0e1d90b17d2/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/models/_models_py3.py#L10935

Not able to find the below parameters in the documentation
Source: service tag/Application Security group
Source service tag: Azure load balancer
Destination: Application security group/Virtual Networks
Source application security group: 'value'


Error on Fresh Install

Here's the error I got from stylelint when I first opened Phenomic:

It has been fixed on master, will cut a release in the next few days (this will only affect new setup tho)..
Please take a look at this comment https://github.com/MoOx/phenomic/issues/557#issuecomment-231179966 where you will find instructions to fix this issue.
Sorry for this.

Should be ok now.


error: bad file name when trying to run chimera scripts using source code launcher

Please provide a brief summary of the bug
Executing chimera scripts using the flexible launch protocol (as specified by JEP 463) and implicitly declared classes (same JEP) returns error: bad file name when run with the source code launcher (i.e. java --source <version> --enable-preview, see JEP 330) on Windows and Linux (but I'd imagine on all platforms).
Did you test with the latest update version?

[X] Yes

Please provide steps to reproduce where possible
amber.cmd:
@/*/ '"' 2>/dev/null || true #" 2>nul || setlocal && echo off && goto :cmd.exe

  exec java --source 22 --enable-preview "${0}" "${@}"
  exit

:cmd.exe
  (for /f delims^= %%c in (^""%ComSpec%"^") do (goto) 2>nul || title^ %%~c) ^
    && java --source 22 --enable-preview "%~dpnx0" %*
  goto :EOF

@/*/SafeVarargs
static void main(String... args) {
    System.out.println("Write once, run anywhere");
}

Windows:
.\amber.cmd

Linux:
./amber.cmd

Expected Results
Write once, run anywhere

Actual Results
C:\Users\user\amber.cmd:1: error: bad file name: amber.cmd
@/*/ '"' 2>/dev/null || true #" 2>nul || setlocal && echo off && goto :cmd.exe
^
1 error
error: compilation failed

What Java Version are you using?
openjdk version "22.0.1"
2024-04-16 OpenJDK Runtime Environment Temurin-22.0.1+8 (build 22.0.1+8)
OpenJDK 64-Bit Server VM Temurin-22.0.1+8 (build 22.0.1+8, mixed mode, sharing)

What is your operating system and platform?
Windows:
$ ver
Microsoft Windows [Version 10.0.19045.4412]

Linux:
$ uname -a
Linux pc <IP_ADDRESS>-microsoft-standard-WSL2 #1 SMP Thu Jan 11 04:09:03 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

How did you install Java?
Windows:
curl -fsSL -o installer.msi "https://github.com/adoptium/temurin22-binaries/releases/download/jdk-22.0.1%2B8/OpenJDK22U-jdk_x64_windows_hotspot_22.0.1_8.msi"
.\installer.msi

Linux:
apt install -y wget apt-transport-https gpg
wget -qO - "https://packages.adoptium.net/artifactory/api/gpg/key/public" | gpg --dearmor | tee /etc/apt/trusted.gpg.d/adoptium.gpg >/dev/null
echo "deb https://packages.adoptium.net/artifactory/deb $(awk -F= '/^VERSION_CODENAME/{print$2}' /etc/os-release) main" | tee /etc/apt/sources.list.d/adoptium.list
apt update
apt install temurin-22-jdk

Did it work before?
No.
Did you test with other Java versions?
Java 21 LTS
Addendum
Interestingly, when I discard the protocol and create a dedicated public class with main method that's public, static and accepts an array of strings as its first parameter, everything works correctly - proving the script itself is not at fault:
@/*/ '"' 2>/dev/null || true #" 2>nul || setlocal && echo off && goto :cmd.exe

  exec java --source 22 --enable-preview "${0}" "${@}"
  exit

:cmd.exe
  (for /f delims^= %%c in (^""%ComSpec%"^") do (goto) 2>nul || title^ %%~c) ^
    && java --source 22 --enable-preview "%~dpnx0" %*
  goto :EOF

@/*/SuppressWarnings("")
public class Main {
    public static void main(String... args) {
        System.out.println("Write once, run anywhere");
    }
}

$ ./amber.cmd
Write once, run anywhere

Hi @mataha - you're best of posting this to amber dash dev at openjdk dot org

Hi @mataha - you're best of posting this to amber dash dev at openjdk dot org

Done.


add symfony 4

there is no need to support 3 and 4, deprac is a standalone phar file. why not simply ^4.0 ?

As much as I'm trying to promote PHARs and working on the tooling for it, I'm really -1 for forcing PHARs only. I wrote an entire article as to why, but a TL:DR is that there's a number of issues with PHARs:

You need to securely sign and ensure the installation process is secure
You need extra tooling to keep track of it in your project as opposed to a regular dep with Composer
In most cases updating a PHAR is a manual step and when there is a self-update command it doesn't check for your system constraints or the next version so it may not be BC

there was already a discussion about this topic:
https://github.com/sensiolabs-de/deptrac/issues/87
also interesting: https://blog.bitexpert.de/blog/require-dev-gone-wrong/
deptrac's symfony version must be irrelevant for people who are using deptrac.
the only solution i would agree with is something like this: https://github.com/phpstan/phpstan-shim (prebuild phar in a repository).

That discussion didn't go much in depth though.
That article is interesting but it address the points I made above neither does it mention the issue you have as soon as your PHAR executes code which is that the code bundled in the PHAR is not isolated.
If you don't believe me take this example:
$ composer require --dev bamarni/composer-bin-plugin
$ composer bin deptrack require sensiolabs-de/deptrac

I'm using the Composer dependency, I'm not polluting my dev dependency and I still make sure I'm using the tool which match my system constraints all of that with little efforts. There is no valid reason to enforce a PHAR instead of this solution.
I covered all those points more extensively in my article if you are curious, but a TL:DR is that PHAR only is a really bad idea and hurts more than anything.
Also assuming deptrac does not execute the analysed version code, isolating the PHAR like for phpstan-shim won't solve anything (btw PHPStan does execute code atm). But if I'm wrong about that then feel free to give PHP-Scoper a shot.

well, i don't want to  enforce using a PHAR, i want to enforce a single self contained binary.
even if composer would support composer bin natively i would downvote using it.
better candidates would be apt,brew, ....
the reason is simple, as a user of deptrac you should not care about that it's written in php, you should not care about it's dependencies. deptrac is just a binary. i think you wouldn't try to ask the maintainer of htop (https://github.com/hishamhm/htop) to use composer to install it? there is no difference between htop and deptrac.
to give you a more practical hands on example, here you'll find a single
unix deptrac binary you can use on OSX 10.13.2. Installing a "real" binary using composer would be possible, but feels stange.
at the moment i cant believe that we'll ever release a deptrac version that is not entirely written in php, but it would be possible, because we just treated deptrac as a single self-contained binary.

You need to securely sign and ensure the installation process is secure

You need extra tooling to keep track of it in your project as opposed to a regular dep with Composer

yes, if you want to work on support for brew, apt, ... 👍
i know that most users of deptrac are familiar with composer, even if i believe it's not the best tool to solve this issue, i would be fine with a shim that contains a single executable (phar).

In most cases updating a PHAR is a manual step and when there is a self-update command it doesn't check for your system constraints or the next version so it may not be BC

we could handle this by such a shim, right?
are there any real benefits for users to rely on https://github.com/phpstan/phpstan and not on https://github.com/phpstan/phpstan-shim ? - i guess not really.
keep in mind that deptrac is a tool to maintain dependencies.
we should lead by example and ensure that deptrac's depenencies will never mess up with your project ones.

With he example I gave you you don’t mess with dependencies, still make
sure you are installing deptrac on a version that works with your platform
and php version and more than anything with absolutely no overhead for
neither the maintainer or the consumer.
I understand your reasoning, but I can only say one thing: it is flawed
still and requires a lot of extra work. I’m not saying you shouldn’t pursue
that goal, heck, look at the projects I’m working on, I’m working on
projects to achieve that goal! Still, for the sake of pragmatism, this is
an unrealistic and harmful expectation for now.

On Wed 28 Feb 2018 at 21:57, Tim Glabisch<EMAIL_ADDRESS>wrote:

well, i don't want to enforce using a PHAR, i want to enforce a single
self contained binary.
even if composer would support composer bin natively i would downvote
using it.
better candidates would be apt,brew, ....
the reason is simple, as a user of deptrac you should not care about that
it's written in php, you should not care about it's dependencies. deptrac
is just a binary. i think you wouldn't try to ask the maintainer of htop (
https://github.com/hishamhm/htop) to use composer to install it? there is
no difference between htop and deptrac.
to give you a more practical hands on example, here you'll find a single
unix deptrac binary you can use on OSX 10.13.2
https://github.com/sensiolabs-de/deptrac/files/1768733/deptrac.zip.
Installing a "real" binary using composer would be possible, but feels
stange.
at the moment i cant believe that we'll ever release a deptrac version
that is not entirely written in php, but it would be possible, because we
just treated deptrac as a single self-contained binary.
You need to securely sign and ensure the installation process is secure
You need extra tooling to keep track of it in your project as opposed to a
regular dep with Composer
yes, if you want to work on support for brew, apt, ... 👍
i know that most users of deptrac are familiar with composer, even if i
believe it's not the best tool to solve this issue, i would be fine with a
shim that contains a single executable (phar).
In most cases updating a PHAR is a manual step and when there is a
self-update command it doesn't check for your system constraints or the
next version so it may not be BC
we could handle this by such a shim, right?
are there any real benefits for users to rely on
https://github.com/phpstan/phpstan and not on
https://github.com/phpstan/phpstan-shim ? - i guess not really.
keep in mind that deptrac is a tool to maintain dependencies.
we should lead by example and ensure that deptrac's depenencies will never
mess up with your project ones.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/sensiolabs-de/deptrac/pull/146#issuecomment-369380088,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AE76gXSpfnq-piaYucgGxL2_idiVgxKjks5tZb2mgaJpZM4SU0SG
.

as a user of deptrac you should not care about that it's written in php, you should not care about it's dependencies

Also worth mentioning that this goal is unrealistic for now as well: you currently cannot export a PHP app as a binary, you'll still have to make sure you have the right PHP version. Maybe we can do like nodejs at some point and ship a minimal PHP to export it into a binary (see https://github.com/nexe/nexe) or just bundle it into a container (but then you still depend on docker).


Render data hash with string keys

I was building a component with some Stimulus data- attributes and noticed you can't use string keys for the data hash, for example:
def template
	div data: { "name_first_name" => "Joel" }
end

will give:
describe Phlex::HTML with string keyed hash attributes it dasherizes the attributes test/phlex/view/attributes.rb:25
        ⚠ NoMethodError: undefined method `name' for "name_first_name":String
                /Users/dennis/Code/phlex/lib/phlex/html.rb:357 block (2 levels) in _build_attributes

I'm opening this PR as a starting point. I think using to_s has some downsides as it makes a copy of the string/symbol every time so memory wise it's not a great solution. But i'm also not sure if a class check is worth it either, probably most of the times a hash with symbol keys will be used.
What do you think?

I accidentally merged the other PR from the GitHub iOS app. I reverted that and opened a new PR that reverts the revert so we can discuss it here: https://github.com/joeldrapper/phlex/pull/420


Fix/hub default logo

Summary
Resolves issues with default icon for Kong Hub
Full changelog

Removed feature that was intended to automatically serve a default icon if none was present
Adding icon for an extension that didn't have one

Checklist:

[x] Commit message & atomicity checked
[ ] Documentation N/A
[ ] Spellchecked my updates N/A
[x] Ready to be merged

Merging without review due to impact to Kong Hub visitors currently being caused by this issue.


Adding runner.sh.j2 and zenodo_uploader.py files

Checklist:

[x] Demonstrate generation of the runner.sh file based on the config .yml files (use https://github.com/NSLS-II/conda-pack-template/blob/main/configs/n2sn.yml for now, that should produce a small environment .tar.gz file of ~50MB in size, and update as necessary).
[ ] Demonstrate automated uploading to quay.io, DockerHub, and GHCR and post the links in this PR in a comment below.
[x] Demonstrate automated uploading to Zenodo and post the link in this PR in a comment below.

I updated the PR body with the checklist:

The result for the third task is demonstrated in #13 and #11.

The result for the first task is demonstrated in #11 and #9 (here, implemented via https://github.com/NSLS-II/conda-pack-template/pull/9/commits/b3dc5f1d7084a778d69019f9736b75601949f57b).


Drop support of Django<1.7

What about following Django's supported versions? See https://www.djangoproject.com/download/
Django supports 1.7, 1.8 and 1.4 branches. 1.4 is not supported by django-anysign, so only 1.7 and 1.8 remain.
=> Drop support for django 1.5 and django 1.6 in the next release.
It should make it easier to maintain the application and demo project.
Those who want support of legacy Django version will still be able to install legacy versions of django-anysign (versions are not deleted on PyPI).

drop also support of django 1.7


[Enhancement] Replace $JOB_NAME with $JOB_BASE_NAME in all jenkinsfiles and libs

We currently use $JOB_NAME which runs well if we only have everything in the root directory.
However, once we starts to create folders in Jenkins and separate jobs with these folders, $JOB_NAME will leads to the full path of the job, not just name.
This can leads to issues and break our current setup on S3 and more.
JOB_NAME
    Name of the project of this build, such as "foo" or "foo/bar".
JOB_BASE_NAME
    Short Name of the project of this build stripping off folder paths, such as "foo" for "bar/foo".

I suggest we make this change and open to other ideas.
Thanks.

Makes sense to me, I didn’t know that the name inherited the path.

I can work on this issue. As I understand this would involve making changes to all the files ending with  .groovy in the './tests/jenkins/` directory. I am curious though about the exact issues caused by using the full path instead of the name

As of now we have not make folders in our setups, but rather views.
This is a very low priority task for now.
And we will close it for the time being. Thanks.