Close stale issues and pull requests

Check CONTRIBUTING guideline first and here is the list to help us investigate the problem.
Is your feature request related to a problem? Please describe.
There are many stale issues and some pull requests, it is better to keep up-to-date or close non-active ones
to maintain project tasks continuously.
Describe the solution you'd like
Use the "stale" GitHub bot application.
The "stale" GitHub bot application is:  "Automatically close stale Issues and Pull Requests that tend to accumulate during a project."
It meets to keep the issues up-to-date or can close non-active ones.
https://probot.github.io/apps/stale/
Then,

Install GitHub application (need to be done by project owner) via https://github.com/apps/stale/installations/new
Put .github/stale.yml something like:

# Number of days of inactivity before an issue becomes stale
daysUntilStale: 90
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 30
# Issues with these labels will never be considered stale
exemptLabels:
  - bug
  - enhancement
  - feature request
  - pending
  - work_in_progress
# Label to use when marking an issue as stale
staleLabel: stale
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >
  This issue has been automatically marked as stale because it has not had
  recent activity. It will be closed if no further activity occurs. Thank you
  for your contributions.
# Comment to post when closing a stale issue. Set to `false` to disable
closeComment: true

Describe alternatives you've considered
N/A
Additional context
We need to configure to exclude some labels not to close automatically.

bug
enhancement
feature request
pending
work_in_progress

The above list is picked up by the following labelled issues.
bug 31 (closed 134)
document 0 (closed 6)
enhancement 14 (closed 37)
feature request 21 (closed 58)
help wanted 0 (closed 2)
incomplete 8 (closed 20)
Non fluentd issue 0 (closed 7)
pending 0(closed 3)
plugin issue 0(closed 2)
question 0 (closed 0)
waiting-for-user 0 (closed 2)
windows 1 (closed 10)
work_in_progress  1 (closed 0)

@repeatedly How do you think this idea?

@repeatedly I've sent a request to instal the stale app
https://probot.github.io/apps/stale/


Update the current state of  char in rclpy

char currently translates to int not str in rclpy.
See: https://github.com/ros2/rosidl/issues/775
After attempting to change this in my spare time I think any change will caused more confusion and suffering for end users.

Yeah I'm suggesting lets not fix this. I dont think the tradeoff is worth it. Imagine the end users having to upgrade their code base for this. Its not really a show stopper anywhere. Either ways whatever decision we come to we should make surenthe docs reflect reality.


Use joblib to parallelize ensemble fitting for Rocket classifier

What does this implement/fix? Explain your changes.
ROCKETClassifier now excepts n_jobs parameter to parallelize ensemble fitting using joblib.
Similar to implementation for TimeSeriesForest introduced in #408.
For all contributions

[x] I've added myself to the list of contributors.
[x] Optionally, I've updated sktime's CODEOWNERS to receive notifications about future changes to these files.
[x] I've added unit tests and made sure they pass locally.

@mloning Thanks a lot for the review! I pushed a change with random_state being managed the same way sklearn does it internally. Though I have a couple of questions/concenrs:

is it okay to rely on "internal" _set_random_state function from sklearn? I can simply copy-paste the code if we don't want to introduce this subtle dependency
do we need to re-work sktime/sktime/series_as_features/base/estimators/interval_based/_tsf.py using similar approach?

Hi @kachayev

Setting n_jobs=None makes sense in line with scikit-learn's default (we do have a check_n_jobs helper function in sktime/utils/validation to enforce scikit-learn's convention if needed
Yes, using _set_random_state(...) seems fine
Yes, updating TSF accordingly would be nice in a separate PR

Hi @mloning! I've added validator for n_jobs arguments. I will work on TSF separately, and this PR is good to go 😀

@mloning Updated the code with new parameter names and deprecation warnings when using old convention

hi, I've not followed this, sorry, but I thought the ROCKET transform was already threaded? I am also not a fan of randomised seeding, it is deceptive to the user to say you can set seed but get different results. If you need repeated RNG from a single seed, just multiply the seed by a different constant for each RNG.

@TonyBagnall based on your comment, would you prefer rewriting _set_random_state rather than importing it from scikit-learn. It played around with _set_random_state, it seems like you do get always the same random state for ensemble members.
When I rerun the code below, I always get the same random states for the DecisionTreeRegressors.
from sklearn.ensemble import RandomForestRegressor
import numpy as np

estimator = RandomForestRegressor(n_estimators=3, random_state=123)
estimator.fit(np.array([[1, 2]]), np.array([1]))
estimator.estimators_
>>> [DecisionTreeRegressor(max_features='auto', random_state=1872583848),
 DecisionTreeRegressor(max_features='auto', random_state=794921487),
 DecisionTreeRegressor(max_features='auto', random_state=111352301)]

Is that ok then?

Yeah, removing all the logic for traversing params for a given estimators, what the code is doing is basically the following:
            to_set[key] = random_state.randint(np.iinfo(np.int32).max)

(source code here).
So, it derives random states for all estimators in the ensemble from random_state given. Thus remains deterministic with response to initial random_state + number of estimators in the ensemble.

@TonyBagnall I'll merge this in the next few days unless you want any other changes

can I just ask @MatthewMiddlehurst to have a look?

@MatthewMiddlehurst @TonyBagnall could you suggest changes or approve?

No issues if it passes all the tests. Though at some point I may separate the ensemble into a different classifier and have the original ROCKETClassifier with the new ROCKET addons and Arsenal (the ensemble version used for HC2). May be easier just to do that now.
Worried it may be a be misleading currently to users, its not really a parameter you want to use unless you need to produce probability estimates as we do with HC2. Regular ROCKET will be faster and just as accurate if you don't need them.

@MatthewMiddlehurst agreed - the ensembling doesn't really add much at this level. I suggest to merge this now and then think about changing/deprecating it later. So I'll merge in the next few days unless there are more comments.

Thanks again @kachayev - now merged!


Pre determine SVO length

Hi, I'm trying to follow the read svo example to stream and process an svo I recorded. I want to store all of the depth frames (say in a numpy array). Is there a way to determine the length of an svo without streaming all the way to the end?

Hi,
You can use Camera.getSVONumberOfFrames() to know the number of frames stored in a SVO. (Open() must be called before).

I have a slightly unrelated question as well and I'd be grateful if you could answer it here. I'm not sure how to interpret the ZED depth data except in relative terms (eg. pixel A is twice as far from the camera as pixel B; rather than pixel A is 10 cms away and pixel B is 5cms away)
It seems like this is doable since we have two cameras and we know the transformation between them and their extrinsic and intrinsic parameters.
So, my question is, does the depth data have a conversion to a metric 'unit' of distance from the camera (mm/cm) or does the zed API provide a way to triangulate the 3D points from the depth data?

Hi,
Yes, the ZED SDK provide the depth in metric distance with camera.retrieveMeasure(MEASURE::DEPTH) function. The unit will be in mm by default but you can change them with the InitParameters.coordinate_units parameter. For each pixels, the measure is an absolute position to the camera and not relative between pixels.
If you want to have the 3D point of the pixel, you can also use camera.retrieveMeasure(MEASURE::XYZ) .
Each pixel will contain a float4 value with (x,y,z) the coordinate of the 3D point defined by the pixel.

Great! Why is a 4D vector returned? Are these homogeneous coordinates?

Because you also have the XYZRGBA (point cloud with color) where the last float contains the RGBA value (4uchar inside a float). To have it more consistent with the other parameters, it's a float4 even if the last float is not used in XYZ

Gotcha. I see that the last parameter is 0 when I use PyMEASURE.PyMEASURE_XYZ


Incorrect formatting of Parenthesis blocks

I am using tinymist with formatterType = 'typstyle on Neovim, and I'm getting different formatting results than the we app. Take this math block for example:
$
  k^2 + k + 2 k + 2 &quad "Add" 2k + 2 "to both sides" \
  = 2 n + 2 k + 2 \
  = 2(
    n + k + 1
  ) &quad "This is even by def of even" \
  = (
    k^2 + 2 k + 1
  ) + k + 1 = 2 (
    a + k + 1
  ) &quad "Math"
$

In my editor, this is the formatted output of this code, with each parenthesis opening a new line as if it were a body of a function or something. When I take this same exact string and put it in the web app, I get:
 $
  k^2 + k + 2 k + 2 &quad "Add" 2k + 2 "to both sides" \
  = 2 n + 2 k + 2 \
  = 2(n + k + 1) &quad "This is even by def of even" \
  = (k^2 + 2 k + 1) + k + 1 = 2 (a + k + 1) &quad "Math"
$

I verified that my buffer is using tinymist as the formatter, but I don't know how to verify that it is using typstyle specifically. This is not an issue with my print width since stuff like O(n) still takes up 3 lines. Any help would be appreciated, because I assume this is on my end and not an actual bug.

I can reproduce this if I set column width to a very low number

BTW, I think the formatting result is not "incorrect"? They are just kind of... undesired, I guess

Okay that's really odd, tinymists server configuration says the default formatterPrintWidth is 120 characters, but when manually setting it in my config to 80 it fixes everything, so it must be an issue with that setting on their end. Thanks for your help @Enter-tainer!


How is the ARIMA model Compared with Deep Models?

Hello, I want to know how the baseline experiment of ARIMA is designed in the univariate experimental part?
Especially in test evaluation, how do you use ARIMA to produce, say, L length output? Is it done in an autoregressive way, or use ARIMA to output L variables at one time? And do you re-fit the ARIMA model for every test batch (or step)?

Hi, we adopt the pmdarima package, you can get more details here: https://pypi.org/project/pmdarima/


requst help:how to get request body params

httpRequest getArgs method can only get query params,how to get request body params

will support soon

has support on new release.


sign_in_and_redirect() not using url's in after_sign_in_path_for()

While using Omniauth, if the OmniauthCallbacksController calls sign_in_and_redirect(user), it doesn't not use the paths defined in the Session controller's overridden after_sign_in_path_for

I placed below method in ApplicationController but it doesn't get called  all
def after_sign_in_path_for(resource)
    binding.pry
    request.env['omniauth.origin'] || stored_location_for(resource) || root_path
  end

class Users::OmniauthCallbacksController < Devise::OmniauthCallbacksController
  def twitter
  ...
   sign_in_and_redirect @user, event: :authentication
  ...
  end
end

After_sign_in_path customizes it only for the sessions controller.
On Wednesday, December 2, 2015, Amit Patel<EMAIL_ADDRESS>wrote:

I placed below method in ApplicationController but it doesn't get called
all
def after_sign_in_path_for(resource)
binding.pry
request.env['omniauth.origin'] || stored_location_for(resource) || root_path
end
class Users::OmniauthCallbacksController < Devise::OmniauthCallbacksController
def twitter
...
sign_in_and_redirect @user, event: :authentication
...
end
end
—
Reply to this email directly or view it on GitHub
https://github.com/plataformatec/devise/issues/2828#issuecomment-161233083
.

--
José Valimwww.plataformatec.com.br
http://www.plataformatec.com.br/Founder and Director of R&D

after_sign_in_path_for gets called only in if user sign in with email/password. But it doesn't get called with omniauth sign in even if it is placed in SessionsController
class SessionsController < Devise::SessionsController
  def after_sign_in_path_for(resource)
    binding.pry
    request.env['omniauth.origin'] || stored_location_for(resource) || root_path
  end
end

BTW I followed wiki which suggests to add after_sign_in_path_for in ApplicationController

Sorry, that is what I meant: if you customize it in the sessions controller, it will be applied only there. If you set it in ApplicationController, it should work generally. You can also set it in your omniauth controller.

What is the preffered way to use in after_sign_in_path_for when using OmniAuth then?

@Kani999 you should be able to define it in your ApplicationController.


Investigate for solutions to enhance token receving API

Right now timeout for receiving is a fixed value. This will have a lot of limitation. We should allow user to specify a custom timeout on every receiving. If we allow user to be able to specify timeout directly in the request it will make it harder to use for user who don't know how Blockchain work. So we need some way to provide this functionality without needing user to learn how Blockchain work.

My idea is we will provide receiving profile. The user just specify the profile they want to use for that receiving in the request (e.g. exchange for token exchanging). We will provides pre-defined profiles for common scenarios. We will also allow user to specify profile configurations manually for the advanced user. With this solution we will support both regular user and advanced user.


Unregister "flexxed" package

I deleted the github account that originally registered this package so I cannot login to unregister. I'd like to re-register under this account.

done

Cheers


Adding Contributor section in readme  ( Automatically )

I will like to add a feature this will update contributor list in read me automatically !! Will start to work on this issue as soon as i get assigend !!

I have made another issue regarding the same. By mistake, this issue escaped my eye.
I have already assigned another person who is working on Readme.md
Once that issue is resolved I will assign it to you.
Just make a comment there so that I remember to assign it to you.
Closing this issue.

I have made another issue regarding the same. By mistake, this issue escaped my eye.
I have already assigned another person who is working on Readme.md
Once that issue is resolved I will assign it to you.
Just make a comment there so that I remember to assign it to you.
Closing this issue.

Ok for sure !!


Inconsistency in plugins installation

The strategies to install plugins differ between the chart sonarqube and sonarqube-lts.
What is the reason for that?
Can we merge both codes?

Hi @gbonnefille ,
the sonarqube-lts is only meant to be working with the current LTS of SonarQube and therefor follows the same patch policy as the LTS (only fix blocker bugs). all improvements have been done on the sonarqube chart which is only meant to be working with the latest release of sonarqube.
so to answer your second question: no we can not merge both codes.
hope that makes sense


Unable to find component: [app.filament.pages.tenancy.register]

Package
filament/filament
Package Version
v3.0.2
Laravel Version
v10.0.0
Livewire Version
v3.0.0
PHP Version
8.2.4
Problem description
I Edit Register Tenant but when i add FileUpload i get this error
https://github.com/filamentphp/filament/assets/47450090/8174369a-1134-42e5-9e6d-b304254ac9c3
this is file
I have
Expected behavior
The code works without any problems
Steps to reproduce
I searched for a similar problem and couldn't find it
Reproduction repository
https://github.com/mstfkhazaal/onyx
Relevant log output
No response

This is happening to at least two other people: https://discord.com/channels/883083792112300104/1136210890987929682

@telkins please provide a reproduction repository

@telkins please provide a reproduction repository

Thx.  I will try to get one set up asap.

I find the solution for this
Because the the page is not in folder of panel
Move the file to folder panel and it work

@telkins please provide a reproduction repository

@danharrin Here is a reproduction repository: https://github.com/telkins/tenancy-bug-demo
Steps to reproduce:

migrate
create filament user
log in
point browser to http://localhost/employers
enter name for new organization
you should see the error when you submit the register organization form

Please note that I have not yet tried @mstfkhazaal 's suggestion...yet.  I'll update once I do.

@telkins please provide a reproduction repository

@danharrin Here is a reproduction repository: https://github.com/telkins/tenancy-bug-demo
Steps to reproduce:

migrate
create filament user
log in
point browser to http://localhost/employers
enter name for new organization
you should see the error when you submit the register organization form

Please note that I have not yet tried @mstfkhazaal 's suggestion...yet. I'll update once I do.

https://github.com/telkins/tenancy-bug-demo/pull/1
check PR

App\Pages\Tenancy

I followed @mstfkhazaal 's suggestion and it worked...!  🤓   Thx, @mstfkhazaal .
Fwiw, it wasn't clear to me from the documentation that this was required.  It wasn't obvious to me and it seems like a bug.  😳
In any case, I'm able to move forward, but am still curious to see what happens with this issue and I'm happy to help with this however I can.  🤓

@telkins please provide a reproduction repository

@danharrin Here is a reproduction repository: https://github.com/telkins/tenancy-bug-demo
Steps to reproduce:

migrate
create filament user
log in
point browser to http://localhost/employers
enter name for new organization
you should see the error when you submit the register organization form

Please note that I have not yet tried @mstfkhazaal 's suggestion...yet. I'll update once I do.

telkins/tenancy-bug-demo#1 check PR

Thx for the extra help.  I know you took care of the main problem with the PR, but forgot to update the namespace in the panel provider class.  🤓

I followed @mstfkhazaal 's suggestion and it worked...! 🤓 Thx, @mstfkhazaal .
Fwiw, it wasn't clear to me from the documentation that this was required. It wasn't obvious to me and it seems like a bug. 😳
In any case, I'm able to move forward, but am still curious to see what happens with this issue and I'm happy to help with this however I can. 🤓

Welcome
Someone should add this note to the docs

Thx for the extra help. I know you took care of the main problem with the PR, but forgot to update the namespace in the panel provider class. 🤓

Sorry, I forgot to change it, the important thing is that the code works successfully

This is odd as I'm still experiencing this even when it is inside of the correct folder. The form loads, but when I click submit, it pops up saying
Unable to find component: [app.filament.pages.tenancy.register-team]
It also required me to put the pages in the filament directory instead of my subdirectory before it would even load the form...

Same here.
Someone let me know how to ride out of it.

I have the same issue. I applied the guidance mentioned on the following page https://filamentphp.com/docs/3.x/panels/users exactly  100%, and I received the following error, please support,

Read above https://github.com/filamentphp/filament/issues/7377#issuecomment-1664842115


FormBuilderTypeAhead get typed value if it's not one of the suggestions

Environment
Windows
Package version: 7.5.0
Describe your question
Hi, how can I get the typed value of a FormBuilderTypeAhead if the value is not one of the selections?
I want to use the typeahead only to suggest options, not to force an option.
If I type something not available in the suggestions and save the form, the map returns a null instead of the typed value.
Is there any workaround?

I never work with FormBuilderTypeAhead, but maybe can create a suggestion option from input. Like a textController that generate a suggestion option


Error when packaging for Windows (UE5)

Hello.
I get the following traceback in the output log when attempting to package a project with this plugin for windows.

`UATHelper: Packaging (Windows): ********** BUILD COMMAND STARTED **********
UATHelper: Packaging (Windows): Running: E:\Unreal Projects\UE_5.0\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.exe SMyProject Win64 Development -Project="E:\SMyProject 5.0\SMyProject.uproject"  "E:\SMyProject 5.0\SMyProject.uproject" -NoUBTMakefiles  -remoteini="E:\SMyProject 5.0" -skipdeploy -Manifest="E:\SMyProject 5.0\Intermediate\Build\Manifest.xml" -NoHotReload -log="C:\Users\Usuario\AppData\Roaming\Unreal Engine\AutomationTool\Logs\E+Unreal+Projects+UE_5.0\UBT-SMyProject-Win64-Development.txt"
UATHelper: Packaging (Windows): Log file: C:\Users\Usuario\AppData\Roaming\Unreal Engine\AutomationTool\Logs\E+Unreal+Projects+UE_5.0\UBT-SMyProject-Win64-Development.txt
UATHelper: Packaging (Windows): Writing manifest to E:\SMyProject 5.0\Intermediate\Build\Manifest.xml
UATHelper: Packaging (Windows): Building SMyProject...
UATHelper: Packaging (Windows): Using Visual Studio 2019 14.29.30143 toolchain (C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133) and Windows 10.0.19041.0 SDK (C:\Program Files (x86)\Windows Kits\10).
UATHelper: Packaging (Windows): [Adaptive Build] Excluded from SMyProject unity file: SMyProject.cpp, TestClass.cpp
UATHelper: Packaging (Windows): Determining max actions to execute in parallel (8 physical cores, 8 logical cores)
UATHelper: Packaging (Windows):   Executing up to 8 processes, one per physical core
UATHelper: Packaging (Windows): Building 2 actions with 2 processes...
UATHelper: Packaging (Windows): [1/2] Link SMyProject.exe
UATHelper: Packaging (Windows): Module.MachineLearningRemote.cpp.obj : error LNK2005: ya se defini� "struct FLogCategoryMLBaseLog MLBaseLog" (?MLBaseLog@@3UFLogCategoryMLBaseLog@@A) en Module.MachineLearningBase.cpp.obj
UATHelper: Packaging (Windows):    Creando biblioteca E:\SMyProject 5.0\Binaries\Win64\SMyProject.lib y objeto E:\SMyProject 5.0\Binaries\Win64\SMyProject.exp
UATHelper: Packaging (Windows): E:\SMyProject 5.0\Binaries\Win64\SMyProject.exe : fatal error LNK1169: se encontraron uno o m�s s�mbolos definidos simult�neamente
UATHelper: Packaging (Windows): Took 5.7030024s to run UnrealBuildTool.exe, ExitCode=6
UATHelper: Packaging (Windows): UnrealBuildTool failed. See log for more details. (C:\Users<USER>\AppData\Roaming\Unreal Engine\AutomationTool\Logs\E+Unreal+Projects+UE_5.0\UBT-SMyProject-Win64-Development.txt)
UATHelper: Packaging (Windows): AutomationTool executed for 0h 0m 7s
UATHelper: Packaging (Windows): AutomationTool exiting with ExitCode=6 (6)
UATHelper: Packaging (Windows): Updating environment variables set by a Turnkey sub-process
UATHelper: Packaging (Windows): The system cannot find the path specified.
UATHelper: Packaging (Windows): The system cannot find the path specified.

`
This roughly translates to Fatal error: One or more symbols simultaneously defined
struct FLogCategoryMLBaseLog MLBaseLog seems to be what is causing the issue.

In english
UATHelper: Packaging (Windows): [27/28] Link MyProject.exe
UATHelper: Packaging (Windows): Module.MachineLearningRemote.cpp.obj : error LNK2005: "struct FLogCategoryMLBaseLog MLBaseLog" (?MLBaseLog@@3UFLogCategoryMLBaseLog@@A) already defined in Module.MachineLearningBase.cpp.obj
UATHelper: Packaging (Windows):    Creating library C:\Users\LENOVO\Documents\Unreal Projects\MyProject\Binaries\Win64\MyProject.lib and object C:\Users\LENOVO\Documents\Unreal Projects\MyProject\Binaries\Win64\MyProject.exp
UATHelper: Packaging (Windows): C:\Users\LENOVO\Documents\Unreal Projects\MyProject\Binaries\Win64\MyProject.exe : fatal error LNK1169: one or more multiply defined symbols found
UATHelper: Packaging (Windows): Took 1536.889484s to run UnrealBuildTool.exe, ExitCode=6

Re-pull master with latest fix https://github.com/getnamo/MachineLearningRemote-Unreal/commit/ab2a37e3a1c64ba16bc900fd9ed686f9707dd048 and let me know if that fixes it

The issue is fixed. Thank you


TWA guide should mention Chrome cache and refer to App Signature

There is extensive documentation on Trusted Web Activities (somewhat too extensive for my taste). I am referring to
Page Affected: https://developers.google.com/web/updates/2019/02/using-twa and https://developers.google.com/web/updates/2019/08/twas-quickstart
These pages showed me how to create a Digital Asset Link and how to test it. I followed it closely and therefore made two consequential mistakes:

I used the upload certificate's fingerprint instead of the app certificate's fingerprint in assetlinks.json. (The app certificate's fingerprint can be viewed in Play Console.)
I rectified that mistake, but the URL bar still wouldn't vanish. I tried every debugging technique mentioned and then some, to no avail, only to finally realize that Chrome used a cached assetlinks.json (as opposed to Android itself?).

What needs to be done?

[ ] Refer to the app certificate.
[ ] Mention that assetlinks.json is being cached by Chrome.

Needless to say, my problem was gone when I cleared Chrome's cache in the privacy settings.


feature: use 15063 as minver of UWP

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Feature
What is the current behavior? (You can also link to an open issue here)
See https://github.com/reactiveui/rfcs/pull/6/files
What is the new behavior (if this is a feature change)?
See https://github.com/reactiveui/rfcs/pull/6/files
What might this PR break?
Nothing

Potentially blocked by netstandard20 support - https://blogs.msdn.microsoft.com/dotnet/2017/10/10/announcing-uwp-support-for-net-standard-2-0/

This can't be done as v10.0.16299 is minver for netstandard20 support.


Active Learning Tutorial for Tool Tracking Segmentation

Fixes # .
Description
A few sentences describing the changes proposed in this pull request.
Checks

[x] Avoid including large-size files in the PR.
[x] Clean up long text outputs from code cells in the notebook.
[ ] For security purposes, please check the contents and remove any sensitive info such as user names and private key.
[ ] Ensure (1) hyperlinks and markdown anchors are working (2) use relative paths for tutorial repo files (3) put figure and graphs in the ./figure folder
[ ] Notebook runs automatically ./runner.sh -t <path to .ipynb file>

Hi @finalelement, we've updated the formatting requirements for jupyter notebook tutorials, please see https://github.com/Project-MONAI/tutorials/blob/main/CONTRIBUTING.md#create-a-notebook and fixes errors in

https://github.com/Project-MONAI/tutorials/actions/runs/4823445270/jobs/8591952681?pr=1340
https://github.com/Project-MONAI/tutorials/actions/runs/4823445275/jobs/8591952686?pr=1340


feat(repository): add where query without pagination

Description
Solves #2
Type of change (select one)

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Requirements (all must be selected for an approval)

[x] I have read the CONTRIBUTING document.
[x] My code follows the code style of this project.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

Optional (none need to be selected, but are really welcome)

[x] I have added one e2e test that covers my changes
[ ] I have updated the documentation accordingly.

@all-contributors please add @gelouko  for code, doc, ideas, maintenance, projectManagement, test


Inheriting template hooks

What are your thoughts on being able to inherit the abstract template's hooks as an option param in the copyAs method?
For example, say there's an abstract template manager with similar features to this pattern https://www.discovermeteor.com/blog/template-level-subscriptions/, but there are multiple implementations needing separate template views. There are probably other ways to work with just the single template, but given there is already the concept of inheritance here, it might fit.
Good to hear your thoughts before I investigate further.

Hmm. I wonder why we're not copying hooks by default. @grabbou?
Probably all (hooks, events, helpers) should be copied by default but with options to not copy them.

Yes It does make more sense to inherit all from the parent by default. I guessed there was a good reason not to considering their absence…

Well, I can't really tell you guys WHY though :D Going to modify that tomorrow.

Awesome, thanks @grabbou

Did you make any progress on this bug @grabbou? If I get the chance I will write some tests for this particular feature and submit a PR

Changes are up and waiting in #14, extended to allow for arrays in #16, tested in #17

:+1:


MicrosoftTeams PowerShell module version 4.2.0 - get-csonlineuser and grant-csteamsmeetingbroadcastpolicy cmdlets in PowerShell ISE do not autocomplete "-erroraction", but it does seem to work

previous versions supported erroraction parameter [didn't record which version]
In PowerShell ISE, try
try {$TeamsUser = Get-CsOnlineUser -Identity<EMAIL_ADDRESS>-erroraction stop}catch{"not found"}
The command appears to work - it only enters the "catch" statements when it should - but PowerShell ISE does not offer autocomplete for the erroraction parameter.

Hello @anwarmahmood1 I could autocomplete ErrorAction if I type "-Er" for example, hope this information helps you, as here we are limited to documentation fixes.


Implemented pagination in the storage layer

Overview
Introduces the ReadPage method to the ServiceStorage interface.
Description
Implements the new method in both bolt and redis. This is the first step in supporting pagination of elements. A future PR can use this new interface to support paginated endpoints.
How Has This Been Tested?
Added a unit test. Also added a test for WriteMany, which turns out was broken.

Codecov Report

Merging #481 (280c0d1) into main (fe086b5) will increase coverage by 0.55%.
The diff coverage is 59.21%.

@@            Coverage Diff             @@
##             main     #481      +/-   ##
==========================================
+ Coverage   20.31%   20.87%   +0.55%
==========================================
  Files          48       48
  Lines        5591     5654      +63
==========================================
+ Hits         1136     1180      +44
- Misses       4257     4265       +8
- Partials      198      209      +11

Impacted Files
Coverage Δ

pkg/storage/storage.go
42.42% <ø> (ø)

pkg/storage/redis.go
51.96% <47.82%> (-0.43%)
:arrow_down:

pkg/storage/bolt.go
64.41% <76.66%> (+3.65%)
:arrow_up:


feat: obiz scripts

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


TTFX, PrecomopileTools, Loading time

The current load process of an App is done internally by Revise.includet().
This doesn't take advantage of the fact that the App is typically a module (not necessarily, though) and could be precompiled.
Alternatively one could load the App with a using statement, which speeds up loading drastically and even more when using PrecompileTools.
There are some pitfalls with this approach, but I'd like to discuss what could be the best approach.
Here's my MWE
module MyApp.jl
module MyApp

using PrecompileTools
using GenieFramework

@app HH begin
    @in x = 10
    @out y = 11
end

ui() = [
    row(cell(class = "st-module", row([
        h3("Hello")
        numberfield("x", :x)
    ])))
]
# any definition that sets up runtime variables needs to go into the `__init__` function.
# That's in any case the page or route command. But also any global variable, e.g. a DataFrame that is loaded at the beginning
# needs to go here.
function __init__()
    route("/") do
        model = init(HH) |> handlers
        page(model, ui) |> html
    end
end

# include typical calls in the section below
# The `Timer()` command in Stipple.jl had to be escaped during precompilation, because the process wouldn't stop otherwise.
@compile_workload begin
    Stipple.PRECOMPILE[] = true
    ui()
    init(HH)
    Stipple.PRECOMPILE[] = false
end

end

classical bootstrap.jl
using Revise
Revise.includet("MyApp.jl")

alternative bootstrap.jl
pushfirst!(LOAD_PATH, ".")
using MyApp

Testing
using GenieFramework
@time begin Genie.loadapp(); MyApp.ui(); init(MyApp.HH) end

Result is

classical: 4.626385 seconds (2.23 M allocations: 151.089 MiB, 95.21% compilation time: <1% of which was recompilation
alternative: 0.351679 seconds (58.67 k allocations: 3.758 MiB, 20.45% compilation time)

@hhaensel this is amazing in terms of startup time. I need to run the code and check. Things that come to mind and I'll be looking for:
1/ does it break hot code load/reload features
2/ will @page work inside init
3/ can we make the user facing API nicer (eg by using some macros to hide some of these complexities)

I think if this works with @page in modules that are more complex, question 3 is negligible. The reduction of memory allocation is amazing!

I tried setting up a genie app as a package and load it with using and indeed there's a remarkable speedup and reduction in memory allocation after the first precompilation. I also added PrecompileTools but it only shaved off .3 seconds (I'm surely not using it right)
Loading the app the usual way
❯ julia --project -e '@time begin using GenieFramework; Genie.loadapp();up();end'

┌ Info: 2023-11-01 14:35:55
└ Web Server starting at http://<IP_ADDRESS>:8000
 15.784171 seconds (15.93 M allocations: 1.027 GiB, 4.83% gc time, 64.93% compilation time: 9% of which was recompilation)[ Info: 2023-11-01 14:35:55 Listening on: <IP_ADDRESS>:8000, thread id: 1

Loading the app as a package
 ❯ julia --project -e "@time begin using Gallery; Gallery.up();end"
┌ Info:
└ Web Server starting at http://<IP_ADDRESS>:8000
  3.786981 seconds (3.52 M allocations: 211.670 MiB, 6.69% gc time, 1.76% compilation time: 57% of which was recompilation)[ Info: Listening on: <IP_ADDRESS>:8000, thread id: 1

Still, the app doesn't really work when loaded as a package. User-defined routes aren't registered and any path returns a 404.

@PGimenez Where is the code for the package version of the app?

If we agree to my latest Genie PR  we can simplify loading of local modules via.
@using StippleTTFX
@using temp/StippleTTFX2
@using temp\StippleTTFX2
@using "C:/temp with space and colon/StippleTTFX2"

So where does this stand right now? I'm also running into similar issues with fly...


Add custom evaluators to ignore node

It would be nice to add custom evaluator to ignore() function. Providing
addIgnoreEvaluator()

and IgnoreEvaluator being a function like
bool ignore(path)

ignore() function will be a loop like
bool ignore
for(ignoreEval in ignoreEvaluators) {
   ignore = ignoreEval.ignore(path)
   if(ignore)
      return true
}
return false

I can provide an implementation but I want to know if it would be merged on NERDTree

Excellent timing! I was just writing exactly that code :)
See #373 for the discussion that started it. I have just pushed a first stab at the API to a branch and have created a gist with a demo of how to use it (see the comment in the linked issue).
Let me know how you get on.


Auto insert or delete block image?

Hi

How can I determine how many blocks the image is offset to insert or delete without manual editing?

Thanks

JPEG Auto Alignment Algorithm by DRC Recovery
@dmahurin I have test my Algorithm done to auto allign the mcu block 😗😗
https://github.com/dmahurin/jpegrepair/assets/85211068/f0ce632d-78f3-4eed-881e-70d6127318c8

Looks interesting.  where is main8.py checked in?
On Tue, Sep 12, 2023, at 12:48 PM, DRC Recovery wrote:

JPEG Auto Alignment Algorithm by DRC Recovery
@dmahurin https://github.com/dmahurin I have test my Algorithm done to auto allign the mcu block 😗😗
https://github.com/dmahurin/jpegrepair/assets/85211068/f0ce632d-78f3-4eed-881e-70d6127318c8
—
Reply to this email directly, view it on GitHub https://github.com/dmahurin/jpegrepair/issues/7#issuecomment-1716322399, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAVK6ZOC4Q7V5BWTBLZ42CTX2C4BVANCNFSM6AAAAAA2F5TEBM.
You are receiving this because you were mentioned.Message ID: @.***>

Looks interesting.  where is main8.py checked in?
On Tue, Sep 12, 2023, at 12:48 PM, DRC Recovery wrote:

JPEG Auto Alignment Algorithm by DRC Recovery

@dmahurin https://github.com/dmahurin I have test my Algorithm done to auto allign the mcu block 😗😗

https://github.com/dmahurin/jpegrepair/assets/85211068/f0ce632d-78f3-4eed-881e-70d6127318c8

—

Reply to this email directly, view it on GitHub https://github.com/dmahurin/jpegrepair/issues/7#issuecomment-1716322399, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAVK6ZOC4Q7V5BWTBLZ42CTX2C4BVANCNFSM6AAAAAA2F5TEBM.

You are receiving this because you were mentioned.Message ID: @.***>

The BVS Recovery account open this request look like try to steal my method from my accounts Hanaloginstruments
I have decode the last mcu analyze like previous i ask you about the strucate case so i found 100% exactly what i need to auto detect mcu to reallign it ☺☺
https://github.com/dmahurin/jpegrepair/assets/85211068/68e38a7c-87c7-4550-ae76-ed3d22fa7c86


Self Expiring Store Items

I would like to add the below code to this project so store items can be managed internally.
This is like bread in a grocery store, the bread comes with an expiration date and the store will pull the bags off the shelf if they are expired.  I was hoping we could do the same concept in here. :)
function buildRecord(type, data, store) {
    var containerKey = "model:" + type;
    var factory = store.container.lookupFactory(containerKey);

    Ember.assert("No model was found for type: " + type, factory);

    var record = factory.create(data);
    var id = data.id;
    identityMapForType(type, store)[id] = record;
    arrayForType(type, store).pushObject(record);
------------ diff ----------------
    if(data.expire) {
        Ember.run.later(function() {
            delete identityMapForType[type][record.id];
            arrayForType(type, store).removeObject(record);
        }, data.expire);
    }
------------ diff ----------------
    return record;
}

btw... this is not an issue.  I just wanted to get your thoughts :)

I like the idea of unloading objects (as the apps memory usage will only grow over time as we never refresh the full page anymore). The challenge is how do you know it's "safe" or "a good time" to expire and unload those items? For example

the first item I pushed in will expire in 10 minutes
later I'm on a page (list of items) and that first item is on the page
I don't do anything on that page for 9:59 and suddenly the expire happens (the page changes because that item is removed/deleted w/out any action from the user or the server)

I'd expect we would need to know more (context is key) before simply removing something. I don't know if the store (as it's the lowest level primitive here) should know /will have enough information to know when we could truly expire/unload objects. I imagine an object higher up in the stack would know when/or if it's safe to unload.
The repository/controller or route could do this manually when it's a good time
ie- if you are loading a page of objects and you don't get a "new" version of that first record (and that first record isn't showing from what the route knows about it's context) so you unload it for the moment. If later you pull that in (again) with an XHR you just add it back to the store.

@joe-l-bright I think this could be a nice feature for a host app to introduce. These are my thoughts on this:

I don't think it should be the responsibility of the store.

I believe the store should have as few opinions as possible
It already has the opinion that every object should have an id

Expecting an object to optionally have an expire key and that it always means that is the time-to-live of the object is (in my opinion) a dangerous precedent
I like the idea and think the host app could have a wrapper for the store to do this
I had not thought about what @toranb mentioned where all the sudden, an object disappears from the list because it's time-to-live is up. That could/would be a very real and undesired scenario.

keep in mind this expiration is not determined by the store.  Its determined up in stack.  Just like the bread example.  Only things that have intended expirations will expire.  The time is all determined by "users" of the store.  If a user wants to have a predetermined time allowed for an item, it sets an expire=5000 before adding to store.  The store then respects that time and removes it.  This is geared towards 'messages' items and wouldn't likely apply to XHR items.

thanks for thinking on this gentlemen :+1:    closing out and searching for alt route.


Fix compatibility issue with ST4114+

Fixes #213
Superseeds #214
This PR applies the required patch of ST4114's HTML.sublime-syntax in order to fix VUE's incompatibility with most recent ST, while maintaining backward compatibility with older builds.
The relevant contexts are overridden and variables are copied over from HTML.sublime-syntax.
Note:

The style-close-tag was probably not needed, as it hasn't changed, but it is copied to maintain formal consistency with script tags.
This PR exists to as help was asked for in #214.

Hey @deathaxe @rchl thank you for taking care of this!
I'd like to add some tests for the ST4 branch, I'd started on some early tests for #210 but do you think there are any tests we can add?
Let me know if you think this looks good, I can go ahead and make a release where ST4 gets the new branch.
I'll test this out myself. To be honest - I haven't had time to look at this in detail - but I'll definitely spend some time on this today.

What I can provide is in-the-field testing since I work with Vue files daily. Has been running with this change since yesterday and haven't noticed any issues.
@skyronic isn't there some blocking issue that makes some testing impossible?
@deathaxe can you provide a small example showing the superiority of this change vs. #214? I would just like to know what it fixes specifically that the other one didn't and test more stuff around that.

Added some tests and a Github Action to run them automatically. They should become active once, this PR is merged.
I took the config from https://github.com/SublimeText-Markdown/MarkdownEditing/blob/3.0.0/.github/workflows/ci-syntax-tests.yml

Already found various other improvements, but I'll hold them off until this one is merged.

This is some absolutely stellar stuff, @deathaxe. Thank you!!
I tested it locally and it works great! Let me know when you're happy with it, and I'll merge and release.

@skyronic isn't there some blocking issue that makes some testing impossible?

@rchl - yes, there was indeed an issue I encountered while testing it. Something like
<style lang="sass">
@import '~foo'
// ^ source.sass
a
  color: red
</style>

Would not work, because even though the // would be recognized as a comment, Syntax Tests needed to be wrapped inside a <!-- -->
I'm still not 100% sure how @deathaxe's tests work but it appears to be using HTML comment start/end punctuation in <script> and <style> tags. I would need to take a closer look.

Would not work, because even though the // would be recognized as a comment, Syntax Tests needed to be wrapped inside a <!-- -->

The comment character used for syntax tests is defined by the first line of the test file. Your test branch uses those html comments in the first line, which would mean to wrap all test cases in such. That's more than cumbersome. Hence core HTML.sublime-syntax uses ##. I've just choosen // because it seems more common.

I found some bug in template tag handling, I am not sure about the way mustache-expression is implemented and would suggest to reorganize the syntax a bit to group contexts which belong together and sort those groups to match the order of core HTML.sublime-syntax.
All of that could happen soon, but feels out of scope for this PR.
I'd open new ones for the mentioned fixes.

I've removed Github Actions for now as it appears to be more work than expected.
It probably fails due to missing embedded syntax packages. Investigating and fixing it is really out of scope here.

This PR contains all fixes required to run with all ST4 releases. I wouldn't want to add more stuff in here.

Looks good to me, tested it and works great! Will submit to package control today!
Thanks again, @deathaxe @rchl


Mention Python 3 in README.md

Someone asked to emphasise that GPflow requires python 3. I think that's not a bad idea.

Codecov Report

Merging #581 into master will decrease coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #581      +/-   ##
==========================================
- Coverage   97.51%   97.48%   -0.03%
==========================================
  Files          45       45
  Lines        3579     3579
==========================================
- Hits         3490     3489       -1
- Misses         89       90       +1

Impacted Files
Coverage Δ

gpflow/params/parameterized.py
98.59% <0%> (-0.47%)
:arrow_down:

Continue to review full report at Codecov.

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

Looks like we have random test... And somehow it passes.

NB 3.5 and above only though #566


Create UDP Server methods

I guess it makes sense to add startUDPServer method similar to TCP's startTCPServer methods (and stopTCPServer, setTCPServerTimeout too).
The AT command for this is the same so it should not be a problem. We are missing the ability to recieve UDP data with current version of the library. (Should use startTCPServer with my UDP Server which is confusing).

We have add API: startServer and stopServer.


QBitNinja adn NBitcoin not working

I have lots of user addresses, and when i want to check address transaction i use QBitNinja like this:
       foreach (var uAddrModel in userAddresses)
        {
            BitcoinAddress btcAddr = BitcoinAddress.Create(uAddrModel.Address, CurrentBtcNetwork);
            BalanceSelector balSel = new BalanceSelector(btcAddr.ScriptPubKey);
            BalanceModel btcModel = client.GetBalance(balSel, false).Result; //here i get result which says
            //that balance does not have operations, but i just recharged this specific address

            if (btcModel.Operations.Count == 0)
            { continue; }
            foreach (var operation in btcModel.Operations)
            {
                if (operation.Amount <= 0)
                { continue; }
                bool isApproved = await CheckIfTxApprovedAsync(operation.TransactionId.ToString());
                if (!isApproved)
                {
                    isSuccess = await ApproveOperationAsync(operation, uAddrModel);
                }
            }
        }

The problem is not with my code, it worked ok, but in some reason today it is not working, i really do not know what to do, and also i do not know other ways to send bitcoin.
Also when i want to send bitcoin i get this very strange result

Please help.

I am right now migrating QBit on a new server.

So that's why i could'nt send transaction yesterday? Because i have just tried and it worked.

Maybe. My server is very flaky and very old, will migrate today to a new one.

Got it, thanks. So when you migrate to new one, such problems shouldn't appear, right?

yep


I got problem wjile i was building app bundle

FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':app:validateSigningRelease'.

Keystore file 'D:\bank_card_application-master\LaniaKey\lania.jks>' not found for signing config 'release'.

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 16s

key.properties
storePassword=XXXXXXXXXXX
keyPassword=XXXXXXXXXX
keyAlias=upload
storeFile=D:/bank_card_application-master/LaniaKey/lania.jks>

Hi @dhillm920, is the content of the key.properties info you posted above the actual content in your key.properties or was the '>' at the end a typo?
If it wasn't that may be the cause of the issue, also see this SO thread for more information on your error.
https://stackoverflow.com/questions/53973333/flutter-picking-wrong-keystore-path-and-giving-error-key-jks-not-found

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


Security maintenance update to v0.10.42

https://nodejs.org/en/blog/vulnerability/february-2016-security-releases/

No tests for this.


Memory architecture questions

Hello,
I have some questions and observations about memory support on RISCV architectures: specifically, I'm seeing two odd behaviors because of the way some features have been defined, and I want to check that these things are understood and expected. I've also got a question about the intended implementation of translation control bits such as mstatus.SUM and mstatus.MXR.
Lower-privilege mode access to higher-privilege memory
The first observation is that it is possible by misusing the Privileged Architecture control state to grant a low privilege mode access to any higher privilege mode memory. For example, this short sequence enters User mode with full read/write access to Supervisor mode memory:
    // force value 1 into mstatus.MPP (Supervisor mode)
    // force value 1 into mstatus.MPRV
    csrr    t0, mstatus
    li      t1, (3<<11)
    or      t0, t0, t1
    xor     t0, t0, t1
    li      t1, (1<<11) | (1<<17)
    or      t0, t0, t1
    csrw    mstatus, t0

    // return to User mode using *sret* instruction
    la      t0, 1f
    csrw    sepc, t0
    sret
1:

Code after the label 1 is running in User mode but performs loads and stores as if in Supervisor mode (I've confirmed this using Spike). In a similar way, it is possible to grant Machine mode access to either Supervisor or User mode. Unless there is some reason I can't think of why this ability is required, I would recommend changing the behavior so that:

using the wrong exception return instruction is illegal (e.g. sret in machine mode); and/or:
changing the defined behavior of mstatus.MPRV so that it never allows granting access permissions to higher-privilege memory; and/or:
redefining the way that this is done by introducing new instructions that perform load and store with access rights associated with a lower-privilege mode (like the LDRT/STRT instructions in ARM) and removing the MPRV bit altogether.

PMP TOR regions ending at top of memory
A second observation relates to PMP TOR-type regions: as the regions are currently defined, it does not seem to be possible to create such a region that ends at the last memory address (for RV32). The maximum value that can be placed in a PMP address register is 0xffffffff, corresponding to the 34-bit physical address 0x3fffffffc, meaning any accesses to physical addresses 0x3fffffffc-0x3ffffffff (via a SATP-translated virtual address) can never be in range. Is this intended? On a related issue, is it true that a TOR-type region for which the high address is 0x0 is effectively always disabled?
Caching of translation control attributes
In the ARM architecture with which I am familiar, it is permitted that translation control fields such as mstatus.SUM and mstatus.MXR are cached in TLB entries. What this means is that the values of these fields are examined only when the TLB entry is created, breaking the tight dependency between fundamental status registers and instructions. The RISCV definition seems not to mention any such caching of translation attributes, meaning that the current value of mstatus is a required input to every instruction. Is this correct?
Thanks,
James.

Re: MPRV: It is true that MPRV sequences need to be carefully handwritten.  The typical use case is to enable MPRV, do a load or store, then disable MPRV immediately afterwards.  There are plenty of other ways to accidentally grant excess privilege to untrusted software; these all amount to software bugs.
Re: PMPs: yes, you need to use a NAPOT PMP if you want to grant permissions to the entire address space in RV32.
In general, TOR PMPs only match an address if pmpaddr(i) <= addr < pmpaddr(i+1), so yeah, if pmpaddr(i+1) = 0, it's effectively disabled.
Re: caching MXR/SUM: you are right that these are effectively inputs to every load/store.  If you were to cache them in the TLB entries, you'd need to check and possibly invalidate the TLB entries on every MXR/SUM change.  Many system calls flip SUM at least twice, so that would probably perform very poorly.

Hello Andrew,
Regarding the TOR PMP constraint: note that it isn't just a question of granting permission to the entire address space: you can't use a TOR PMP to restrict access to any range ending at the last address (e.g. the last 12Kb of memory). This might be an irritation for some people, but can be worked around as long as it is known about.
I think granting of excess privileges should be of more concern. The issue here is not software bugs but malicious code. Here, I could envisage that a very small and difficult-to-detect modification to supposedly-trusted Machine mode source code would enable a cooperating malign User mode application to access all Supervisor mode memory, possibly without the Supervisor being aware at all.

Yeah, I sympathize with that concern, but I think my point still stands.  There are myriad bits of M-mode where a very small, difficult-to-detect code modification could open a huge security hole.  I don't think the PMPs are an egregious offender.


Aronx1005

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Bet will be implemented in the next update


conveyor belts not lighting up

Hi team,
I have this set up and am finding that the Conveyor belts do their function but don't light up. I'm going to do some investigating to see if I can figure it out. Anybody have the same issue?
Warmly,
Sam

found it's a brightness issue with choice of LEDs and being a delicate balance between underpowering those and lighting them up to much to see the player among them. you can go into the tickConveyors() command on line 671 to start adjusting outputs.


CellID does not match between scanpy and velocyto

Hello,
I have 10x data that I have initially analyzed using cell ranger and scanpy and I was now starting the analysis with velocyto.
I have performed counting on cellranger output files and then combined more samples together using loompy.combine.
I then wanted to use the filtered cells and tSNE coordinates defined using the scanpy/seurat pipeline.
To filter the cells using the correct cell index I changed the scanpy cell index (AAACCTGAGAATGTGT-1) to be like the velocyto output index (sample_A1:AACTCCCAGACTCGGAx) by substituting the end number with “x” and then adding the sample name in front of the index.
However, when I match the velocyto index and the scanpy index only 4000 out of 60000 are matched correctly and I am left with only 4000 cells in the velocyto anndata.
For example:
sample_A1:AACTCCCAGACTCGGAx is found in both scanpy and velocyto
sample_A1:CATTCGCAGCACCGTCx is not found in the scanpy cell index
I have done different test but I am not sure what I am missing!
I hope my explanation in clear enough.
Thanks for your help!

Also happening to me.

I can't avoid this problem by using velocyto
Is there any other software which can find splice/unsplice instead of velocyto?

same here for me


UI: VM Analysis Profile Add/Edit screen file/registry/event log items get too wide

In Configure/Configuration/Settings, try to add a new VM Analysis Profile.  In any of the tabs, File/Registry/Event Log, click in a row to add a new entry.  The first column gets very wide and the other columns are way to the right.  You can tab to them and enter the values, but they should stay on the screen as when the screen is first displayed.
Initial display:

After clicking in a row:

@miq-bot assign @skateman

@dclarizio Tested. Looks good.


[Documentation Update]:  Add project task reminder

Is there an existing issue for this?

[X] I have searched the existing issues

Issue Description
Add project task manager
Tech Stack

HTML: Structure and content.
CSS: Styling and layout.
JavaScript: Logic and interaction.
LocalStorage: Persistent data storage in the browser.

Suggested Change
Features

Task Management: Add, edit, and delete tasks.
Due Date and Time: Set deadlines with date and time pickers.
Priority Levels: Assign priority (Low, Medium, High) to tasks.
Persistent Storage: Tasks are saved in local storage for persistence.
Responsive Design: User-friendly interface optimized for various screen sizes.

Rationale
contribute under SSOC'24
Urgency
High
Record

[X] I have read the Contributing Guidelines
[ ] I'm a GSSOC'24 contributor
[X] I'm a SSOC'24 contributor
[X] I have starred the repository

@ananyag309 adding a new project is not a valid contribution in this repo . so sorry to close this issue . U can still make new issues on which u want to work on by going through all the rules mentioned in CONTRIBUTING.md file


Undo Command only Replaced 2 out of 4 Deleted Files when working on a remove server

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: 1.68.1
OS Version: Mac OSX 11.3.1

Steps to Reproduce:

Connect to a remote server.
Create a folder and put many random files inside. (at least
Create another folder (outside of the step 2 folder) and put a folder with the same name as step 2's folder inside. This new sub-folder should have different or no files.

Directory:
* SomeFolder
* File1
* File2
* File3
* OtherFolder
* SomeFolder
* File4

Go inside of step 3's folder and try to drag out the new folder with step 2's name.
Accept the replace prompt.
Try to use the undo command multiple times to restore all files.

I was working and when I tried to drag a sub-folder outside of a folder I accidentally replaced another folder with the same name that had some files I needed inside of it. The replaced folder contained 4 files. However, I tried using the undo command multiple times and yet only 2 of the 4 files were recovered.

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.69.2. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!


CDC cloud: when new changefeed is just created, why its tso=0 and checkpoint is blank?

Question
Before asking a question, make sure you have:

[root@IDC-172-16-6-6 ~]# tiup cdc:v4.0.14 cli changefeed create --pd=http://<IP_ADDRESS>:2379 --sink-uri='mysql://root:@<IP_ADDRESS>:4000/'   --changefeed-id=cc-task-3

Starting component cdc: /root/.tiup/components/cdc/v4.0.14/cdc cli changefeed create --pd=http://<IP_ADDRESS>:2379 --sink-uri=mysql://root:@<IP_ADDRESS>:4000/ --changefeed-id=cc-task-3
Create changefeed successfully!
ID: cc-task-3
Info: {"sink-uri":"mysql://root:@<IP_ADDRESS>:4000/","opts":{"_changefeed_id":"cli-verify"},"create-time":"2021-08-09T10:15:25.709642465+08:00","start-ts":426895035787378689,"target-ts":0,"admin-job-type":0,"sort-engine":"unified","sort-dir":"","config":{"case-sensitive":true,"enable-old-value":false,"force-replicate":false,"check-gc-safe-point":true,"filter":{"rules":["."],"ignore-txn-start-ts":null},"mounter":{"worker-num":16},"sink":{"dispatchers":null,"protocol":"default"},"cyclic-replication":{"enable":false,"replica-id":0,"filter-replica-ids":null,"id-buckets":0,"sync-ddl":false},"scheduler":{"type":"table-number","polling-time":-1}},"state":"normal","history":null,"error":null,"sync-point-enabled":false,"sync-point-interval":600000000000,"creator-version":"v4.0.14"}

[root@IDC-172-16-6-6 ~]# tiup ctl:v4.0.14 cdc changefeed list --pd=http://<IP_ADDRESS>:2379

Starting component ctl: /root/.tiup/components/ctl/v4.0.14/ctl cdc changefeed list --pd=http://<IP_ADDRESS>:2379
[
{
"id": "cc-task-3",
"summary": {
"state": "normal",
"tso": 0,
"checkpoint": "",
"error": null
}
}
]

After 5m, this changefeed tso and checkpoint is normal
$   tiup ctl:v4.0.14 cdc changefeed list --pd=http://<IP_ADDRESS>:2379
Starting component ctl: /root/.tiup/components/ctl/v4.0.14/ctl cdc changefeed list --pd=http://<IP_ADDRESS>:2379
[
{
"id": "cc-task-3",
"summary": {
"state": "normal",
"tso":<PHONE_NUMBER>87378689,
"checkpoint": "2021-08-09 10:15:25.727",
"error": null
}
}
]

Searched existing Stack Overflow questions.

Googled your question.

Searched open and closed GitHub issues

Read the documentation:

Detailed documentation

After 5m, this changefeed tso and checkpoint is normal

This is likely caused by the changefeed is not fully initialized yet. When capturing many tables, the initialization may take few minutes.

We have confirmed this issue is fixed in release-5.4.


Form is removed from state when leaving the page.

I have a form for customer complain. I want it to work in such way so that the user can fill up some filed and navigate to other tab and come back and recover the last state of the form. However now the form is getting removed from the redux state when user navigate to other tab.
My code is as follows export default reduxForm({form: 'new_complain', destroyOnUnmount: false})(ComplainNew);
What I am missing?
Redux form version 7.04

It's difficult to know what's wrong with your form without seeing it in action.
Can you please provide a sandbox showcasing your issue?
You might want to use this CodeSandbox template.

Closing due to no response.

Sorry for not answering in time. The  form was declared in two place my mistake. Thats why it was behaving that way. Its not a bug in Redux form.


zephyr: Use K_HEAP_MEM_POOL_SIZE instead of CONFIG_HEAP_MEM_POOL_SIZE

With recent main tree changes the correct way to determine the presense of the system heap is the K_HEAP_MEM_POOL_SIZE macro.

@jhedberg got it, thanks.

@jhedberg, will merge when ready.


Add comment node to Lua AST

Currently we don't need any comments in our printed Lua, but some users have a need for emitting some comments (for instance documentation comments on functions) from their tstl plugins.
Easiest proposal:
export interface CommentStatement extends Statement {
    kind: SyntaxKind.Comment;
    text: string;
}

Printing simply as a statement to:
--${comment.text}

Comments/suggestions welcome

Adding Discussion from Discord:

While we are at it we could also try to preserve existing comments.
TS has ts.getLeadingCommentRanges and ts.getTrailingCommentRanges, I am not sure if the contents are stored on the TS AST or within the tokenizer. But for us it will probably be the easiest to store them on the AST. Every node could have a trailing/leading comment field:
export interface Comment extends TextRange {
    multiline: boolean;
    content: string;
}
export interface Node extends TextRange {
    kind: SyntaxKind;
    leadingComment?: Comment;
    trailingComment?: Comment;
}

As for the comment type (multi/single) I think we can get that information from the TS API as well and use the same type in the emitted Lua. Since TS and Lua comments are pretty similar in their syntax. Plugin creators could decide to add the multiline flag or not on custom/modified nodes.
If we want to support all kinds of comments even some exotic cases like this: let x = a /** test */ + 3; we should add the comment fields to all Nodes if not it might be enough to add the comment fields to StatementNodes only.

Adding Discussion from Discord:

While we are at it we could also try to preserve existing comments.
TS has ts.getLeadingCommentRanges and ts.getTrailingCommentRanges, I am not sure if the contents are stored on the TS AST or within the tokenizer. But for us it will probably be the easiest to store them on the AST. Every node could have a trailing/leading comment field:
export interface Comment extends TextRange {
    multiline: boolean;
    content: string;
}
export interface Node extends TextRange {
    kind: SyntaxKind;
    leadingComment?: Comment;
    trailingComment?: Comment;
}

As for the comment type (multi/single) I think we can get that information from the TS API as well and use the same type in the emitted Lua. Since TS and Lua comments are pretty similar in their syntax. Plugin creators could decide to add the multiline flag or not on custom/modified nodes.
If we want to support all kinds of comments even some exotic cases like this: let x = a /** test */ + 3; we should add the comment fields to all Nodes if not it might be enough to add the comment fields to StatementNodes only.

Done in 0fba69b06767811f554f21fa8f3d20cb51d5b25c


Numpy iexpr as argument

When using this module through Pythran:
#pythran export numpy_get_idx(uint32[],int)
def numpy_get_idx(a, v):
    return a[v]

for instance like this:
from numpy_get_idx import numpy_get_idx
import numpy as np

a = np.arange(20).reshape(2,10)
print(numpy_get_idx(a[0], 5))

We got this issue:

If I understand it correctly, with a[0], numpy is creating an "indexed" object which pythran doesn't directly support. What would be the cost of implementing this?

I fail to reproduce the issue using master version, can you confirm the bug no longer exists?

@aguinet up?

Seems like we still have an issue: https://pastebin.com/MyqWjSEb

Ok sorry about that.. Closing it!


How to install last version?

I've been trying to install Flutter version 1.17.1 with no luck is there anything I have to do to get the last version of Flutter?

You can see the available versions with asdf list all flutter command.

I had to update Flutter plugin the outdated version didn't list the last version


chore(protractor): update protractor to ~4.0.13

package.json

Removed Protractor. npm test does not appear to be using Protractor.

packages/angular-cli/blueprints/ng2/files/package.json

Update to protractor 4.0.11. see changelog
Remove webdriver-manager as a dependency.  Protractor includes
webdriver-manager as a dependency.
Since packages/angular-cli/blueprints/ng2/files/protractor.conf.js uses
directConnect with chrome, the pree2e step does not need to download
the selenium standalone server or gecko driver.

updated Travis

test linux to use chrome per http://blog.500tech.com/setting-up-travis-ci-to-run-tests-on-latest-google-chrome-version/

:frowning: chromium does not play well with the latest chromedriver. changing the title to WIP

Just tag me when you're ready for a review, I'll change the labels and do it :)

Travis was green (we're low on resources so I killed it before it finished the optional tests). Let me know if this is still Work In Progress or if it's ready for a review.

Ran locally
./bin/ng new tmp
cd tmp
ng serve &
ng e2e

console output:

only downloads chromedriver
the initial test passes

❯ ng e2e                                                                                ⏎

><EMAIL_ADDRESS>pree2e /Users/cnishina/src/angular-cli/tmp
> webdriver-manager update --standalone false --gecko false

[13:23:02] I/update - chromedriver: file exists /Users/cnishina/src/angular-cli/tmp/node_modules/protractor/node_modules/webdriver-manager/selenium/chromedriver_2.25mac64.zip
[13:23:02] I/update - chromedriver: unzipping chromedriver_2.25mac64.zip
[13:23:03] I/update - chromedriver: setting permissions to 0755 for /Users/cnishina/src/angular-cli/tmp/node_modules/protractor/node_modules/webdriver-manager/selenium/chromedriver_2.25
[13:23:03] I/update - chromedriver: v2.25 up to date

><EMAIL_ADDRESS>e2e /Users/cnishina/src/angular-cli/tmp
> protractor "./protractor.conf.js"

[13:23:03] I/direct - Using ChromeDriver directly...
[13:23:03] I/launcher - Running 1 instances of WebDriver
Spec started

  tmp App
    ✓ should display message saying app works

Executed 1 of 1 spec SUCCESS in 1 sec.
[13:23:05] I/launcher - 0 instance(s) of WebDriver still running
[13:23:05] I/launcher - chrome #01 passed

All end-to-end tests pass.

LGTM, thanks!


Remove fudcon link

The website for the event has got moved to different owner and no longer hosting the event - https://fossevents.in/jekyll/update/2015/06/26/Fudcon-Pune.html

send a PR it will be merged

Merged the PR thanks


Move new integration test to another build matrix

newly added integration test adds more and 20 mins in each build and sometimes makes build failing due to long running
making it to separate build helps reducing build time

I and Bobby saw some builds failing due to long running. This fix should help that situation.

+1

@HeartSaVioR I merged this in, but didn't see a JIRA, if there is one please resolve it.

@revans2 Since this is a small fix I didn't file it. Thanks for reviewing and merging!


Winget upgrade or install fails

Brief description of your issue
I can't install any software or upgrade on Winget
Steps to reproduce
winget install 7zip.7zip
Expected behavior
error
Actual behavior
I don'i know
Environment
winget install 7zip.7zip
Failed in attempting to update the source: winget
An unexpected error occurred while executing the command:
InternetOpenUrl() failed.
0x80072efd : unknown error

Can't update and show completely wrong info.
winget search -q "Microsoft.Powershell"
Failed in attempting to update the source: winget
Name               Id                           Version Source
---------------------------------------------------------------
PowerShell         Microsoft.PowerShell         <IP_ADDRESS> winget
PowerShell Preview Microsoft.PowerShell.Preview <IP_ADDRESS> winget

I don't have 7.3.5 installed, I have 7.3.8 and trying to upgrade to 7.3.9 !!

If you run winget list powershell how many entries do you see?

I get:
winget update --id microsoft.powershell --version <IP_ADDRESS> --source winget  in pwsh at 10:09:34
No available upgrade found.
No newer package versions are available from the configured sources.
Though starting powershell:
A new PowerShell stable release is available: v7.3.9
Upgrade now, or check out the release page at:
https://aka.ms/PowerShell-Release?tag=v7.3.9
Que?

If you run winget list powershell how many entries do you see?

2:
Name             Id                        Version     Source
--------------------------------------------------------------
PowerShell 7-x64 Microsoft.PowerShell      <IP_ADDRESS>     winget
Windows Terminal Microsoft.WindowsTerminal 1.18.2822.0 winget

@NVT223 which version of WinGet is installed?
Run winget --info and share the results please.

winget --info

Here:
PS C:\windows\system32> winget --info
Windows Package Manager v1.6.2771
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.19045.3570
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.21.2771.0
Winget Directories
Logs                               %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Diag…
User Settings                      %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\sett…
Portable Links Directory (User)    %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User)       %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root              C:\Program Files\WinGet\Packages
Portable Package Root (x86)        C:\Program Files (x86)\WinGet\Packages
Installer Downloads                %USERPROFILE%\Downloads
Links
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale
Admin Setting                             State
LocalManifestFiles                        Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride                     Disabled
LocalArchiveMalwareScanOverride           Disabled

You could try changing your default download provider to "wininet" in WinGet settings. The URL at the bottom of the help output will take you to the settings page so you can see how to make the change.
PS C:\Users\denelon> winget settings -?
Windows Package Manager (Preview) v1.7.2782-preview
Copyright (c) Microsoft Corporation. All rights reserved.

Open settings in the default json text editor. If no editor is configured, opens settings in notepad. For available settings see https://aka.ms/winget-settings This command can also be used to set administrator settings by providing the --enable or --disable arguments

usage: winget settings [<command>] [<options>]

The following command aliases are available:
  config

The following sub-commands are available:
  export  Export settings

For more details on a specific command, pass it the help argument. [-?]

The following options are available:
  --enable                  Enables the specific administrator setting
  --disable                 Disables the specific administrator setting
  -?,--help                 Shows help about the selected command
  --wait                    Prompts the user to press any key before exiting
  --logs,--open-logs        Open the default logs location
  --verbose,--verbose-logs  Enables verbose logging for winget
  --disable-interactivity   Disable interactive prompts

More help can be found at: https://aka.ms/winget-settings

choco upgrade epicgameslauncher
Chocolatey v2.2.2
Upgrading the following packages:
epicgameslauncher
By upgrading, you accept licenses for the packages.
epicgameslauncher is not installed. Installing...
Unable to load the service index for source https://community.chocolatey.org/api/v2/.
The request was aborted: Could not create SSL/TLS secure channel.
For more information on this issue and guidance in resolving the problem, see https://ch0.co/t/svcidx
Unable to connect to source 'https://community.chocolatey.org/api/v2/':
Object reference not set to an instance of an object.
epicgameslauncher not installed. The package was not found with the source(s) listed.
Source(s): 'https://community.chocolatey.org/api/v2/'
NOTE: When you specify explicit sources, it overrides default sources.
If the package version is a prerelease and you didn't specify --pre,
the package may not be found.
Please see https://docs.chocolatey.org/en-us/troubleshooting for more
assistance.
Chocolatey upgraded 0/1 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Failures

epicgameslauncher - epicgameslauncher not installed. The package was not found with the source(s) listed.
Source(s): 'https://community.chocolatey.org/api/v2/'
NOTE: When you specify explicit sources, it overrides default sources.
If the package version is a prerelease and you didn't specify --pre,
the package may not be found.
Please see https://docs.chocolatey.org/en-us/troubleshooting for more
assistance.

Did you know the proceeds of Pro (and some proceeds from other
licensed editions) go into bettering the community infrastructure?

@NVT223  winget has nothing to do with chocolatey.....

@nvt223 - - Are you still experiencing this issue with the latest release of the cli?

@Trenly I'm not OP but I'm still getting the issue with the latest release v1.7.10661 of the CLI:
 huyz  winget --version
v1.7.10661

 huyz  winget source update winget
Updating source: winget...
Cancelled

 huyz  winget update
Failed in attempting to update the source: winget
Name                                                      Id                           Version       Available     Source
-------------------------------------------------------------------------------------------------------------------------
Microsoft Edge                                            Microsoft.Edge               122.0.2365.80 122.0.2365.92 winget
WinSCP 6.3.1                                              WinSCP.WinSCP                6.3.1         6.3.2         winget
Microsoft Visual C++ 2015-2022 Redistributable (x86) - 1… Microsoft.VCRedist.2015+.x86 14.38.33135.0 14.40.33617.1 winget
Microsoft Visual Studio Code (User)                       Microsoft.VisualStudioCode   1.87.1        1.87.2        winget
Microsoft Visual C++ 2015-2022 Redistributable (x64) - 1… Microsoft.VCRedist.2015+.x86 14.38.33135.0 14.40.33617.1 winget
5 upgrades available.

 huyz  winget install WinSCP.WinSCP
Found an existing package already installed. Trying to upgrade the installed package...
An unexpected error occurred while executing the command:
InternetOpenUrl() failed.
0x80072f7d : unknown error

But when I open a VPN connection to another country:
 huyz  winget source update winget
Updating source: winget...
Done

 huyz  winget update
Name                                                      Id                           Version       Available     Source
-------------------------------------------------------------------------------------------------------------------------
Microsoft Edge                                            Microsoft.Edge               122.0.2365.80 122.0.2365.92 winget
WinSCP 6.3.1                                              WinSCP.WinSCP                6.3.1         6.3.2         winget
Microsoft Visual C++ 2015-2022 Redistributable (x86) - 1… Microsoft.VCRedist.2015+.x86 14.38.33135.0 14.40.33617.1 winget
Microsoft Visual Studio Code (User)                       Microsoft.VisualStudioCode   1.87.1        1.87.2        winget
Microsoft Visual C++ 2015-2022 Redistributable (x64) - 1… Microsoft.VCRedist.2015+.x86 14.38.33135.0 14.40.33617.1 winget
5 upgrades available.

 huyz  winget install WinSCP.WinSCP
Found an existing package already installed. Trying to upgrade the installed package...
Found WinSCP [WinSCP.WinSCP] Version 6.3.2
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://sourceforge.net/projects/winscp/files/WinSCP/6.3.2/WinSCP-6.3.2-Setup.exe/download
  ██████████████████████████████  11.0 MB / 11.0 MB
Successfully verified installer hash
Starting package install...
Successfully installed

Is something wrong with the Microsoft servers around the world?

I've tried a lot of options. Only this solved it: my computer has a VPN program installed. winget can't update anything, then I start the VPN, now winget work without error.

@jaccattrongnlh Sounds like you're in VN. If so, switch your connection from VNPT to FPT (or maybe Viettel)

You're genius, I'm from VN too.
It's worked with VPN connected to my office.
Doesn't know why. I'm using Viettel at home, VPNT at office.

Hey guys.
any news when the issue will be resolved?
I see the 7zip url is unavailable at all:

@Masamune3210
I'm trying to say than winget is trying to download 7zip by wrong URL.
I tested it in the browser and it doesn't work also
Are you saying that the url https://7-zip.org/a/7z2409-x64.exe works for you?

It probably did at some point, but no longer does. Either way, that's not what this issue is about, that's just a case of the manifest being incorrect and needing to be updated.

It probably did at some point, but no longer does. Either way, that's not what this issue is about, that's just a case of the manifest being incorrect and needing to be updated.

Ok you are right. My home provider doesn't allow to download that URL. But it works in different place.

@jaccattrongnlh Sounds like you're in VN. If so, switch your connection from VNPT to FPT (or maybe Viettel)

You're genius, I'm from VN too. It's worked with VPN connected to my office. Doesn't know why. I'm using Viettel at home, VNPT at office.

I have found an easier option. change DNS settings.


create a new saveable record

How do I create a new instance that I can set fields for and save/post to insert a record in Restangular? Thanks.

Try using restangularizeElement, see https://github.com/mgonto/restangular/issues/953#issuecomment-247727149


fix(formatter): dedent logic inconsistent with prettier where the indent-style is space and the indent-width is not 2.

Summary
I created a stack named 'indent_stack' to store the records of indentations in order to remove the nearest indention when StartDedent and restore indention when EndDedent
Fixes #2037
Test Plan
I couldn't add test code because errors occurred only in settings where the indent-style is space and the indent-width is not 2.
We can check through the playground.

Thank you for the review!!
I will investigate changing prettier options for testing or using a different approach for testing.
Please give me more time

@mdm317 I think we can just put the test cases in biome_cli tests for now: biome/crates/biome_cli/tests/commands/format.rs. There're existing test cases there to show to how add a config file to the memory fs.
And #2168 seems also a valid test case for this fix. You may want to check it out.

Big thanks @Sec-ant. With your help, I was able to  add test to the biome_cli


Default test does not pass

Version
v2.3.4
Reproduction link
https://nuxtjs.org/
Steps to reproduce
Run: yarn create nuxt-app project
Choose Linter and JestJs and SPA mode.
Without adding any additional content, run yarn test
What is expected ?
I expect the default test to pass.
What is actually happening?
I receive this error message:
yarn run v1.13.0
$ jest
 FAIL  test/Logo.spec.js
  ● Test suite failed to run

    Jest encountered an unexpected token

    This usually means that you are trying to import a file which Jest cannot parse, e.g. it's not plain JavaScript.

    By default, if Jest sees a Babel config, it will use that to transform your files, ignoring "node_modules".

    Here's what you can do:
     • To have some of your "node_modules" files transformed, you can specify a custom "transformIgnorePatterns" in your config.
     • If you need a custom transformation specify a "transform" option in your config.
     • If you simply want to mock your non-JS modules (e.g. binary assets) you can stub them out with the "moduleNameMapper" config option.

    You'll find more details and examples of these config options in the docs:
    https://jestjs.io/docs/en/configuration.html

    Details:

    /home/begueradj/Development/project/test/Logo.spec.js:1
    ({"Object.<anonymous>":function(module,exports,require,__dirname,__filename,global,jest){import { mount } from '@vue/test-utils';
                                                                                ^

    SyntaxError: Unexpected token {

      at ScriptTransformer._transformAndBuildScript (node_modules/jest-runtime/build/script_transformer.js:403:17)

Test Suites: 1 failed, 1 total
Tests:       0 total
Snapshots:   0 total
Time:        0.803s
Ran all test suites.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Note
This occurs only when I move the content of project to an other folder where of course I remove node_modes and .nuxt folders.
I need to copy the content of the generate folder to an other place because I am working with Git branches

This bug report is available on Nuxt community (#c8573)

@begueradj could you elaborate? I have the same problem you are seeing.
@manniL is there something I'm missing?
I run npx create-nuxt-app my-app-name, and after choosing my setup options, I immediately run yarn test and it fails.
Proof here (albeit a boring video): https://cl.ly/50d8c8f90d8b

@brandonaaskov Interesting. Can you reproduce it without choosing a server framework?

@brandonaaskov can you try again, there was a release of CNA that could fix it..

@manniL I tried again with the same settings, got the same error. I also tried with the most basic settings and the tests still won't run due to the same problem.

@aldarund I guess that didn't fix it :sadpanda:

same\similar problem https://github.com/nuxt/nuxt.js/issues/5142

@manniL so this is interesting... I tested this on my PC and it worked fine. So it just seems to not work in *nix based environments?

@brandonaaskov does it work on codesandbox?

@aldarund the tests don't run at all on Codesandbox. Here's the same codebase that create-nuxt-app generated, imported into Codesandbox: https://codesandbox.io/s/github/brandonaaskov/jest-example

@brandonaaskov what u mean by dont run at all ? You can run them if u fork it into you account .
I have forked your repo and tried . All fine -> https://i.imgur.com/sVqzoq0.png

@aldarund I see, I misunderstood how the tests ran in Codesandbox. I was looking at this section and not seeing any output.
Given that we have two instances where this works, any ideas what would cause it to not work on my Mac? I'm running node 10.15.3.
Wondering if other Mac users are seeing this as well, or if it's just a small portion of us. But I've always seen this error so I want to get to the bottom of this if possible to help future travelers.

@brandonaaskov can you try to update vue-jest to 4beta2 ?

@aldarund I still see the same error. And I did double check my node_modules/vue-jest/package.json file to make sure that it was actually using the correct version, but alas, I'm still seeing the same.

@brandonaaskov, I'm experiencing the same issue when running jest inside a docker container based on the vuejs/ci image.

package.json

{
"name": "my app",
"version": "1.0.0",
"description": "My sensational Nuxt.js project",
"author": "author",
"private": true,
"scripts": {
"lint": "eslint --ext .js,.vue --ignore-path .gitignore .",
"precommit": "npm run lint",
"test": "jest",
"dev": "HOST=<IP_ADDRESS> nuxt",
"build": "nuxt build",
"start": "nuxt start",
"generate": "nuxt generate"
},
"dependencies": {
"@nuxtjs/axios": "^5.3.6",
"@nuxtjs/vuetify": "0.5.5",
"nuxt": "^2.0.0"
},
"devDependencies": {
"@babel/preset-env": "^7.4.5",
"@nuxt/babel-preset-app": "^2.8.1",
"@nuxtjs/eslint-config": "^0.0.1",
"@nuxtjs/eslint-module": "^0.0.1",
"@vue/test-utils": "^1.0.0-beta.27",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "^10.0.1",
"babel-jest": "^24.1.0",
"eslint": "^5.15.1",
"eslint-config-prettier": "^4.1.0",
"eslint-config-standard": ">=12.0.0",
"eslint-plugin-import": ">=2.16.0",
"eslint-plugin-jest": ">=22.3.0",
"eslint-plugin-node": ">=8.0.1",
"eslint-plugin-nuxt": ">=0.4.2",
"eslint-plugin-prettier": "^3.0.1",
"eslint-plugin-promise": ">=4.0.1",
"eslint-plugin-standard": ">=4.0.0",
"eslint-plugin-vue": "^5.2.2",
"jest": "^24.1.0",
"nodemon": "^1.18.9",
"prettier": "^1.16.4",
"stylus": "^0.54.5",
"stylus-loader": "^3.0.2",
"vue-jest": "^3.0.3"
}
}

@aldarund I see, I misunderstood how the tests ran in Codesandbox. I was looking at this section and not seeing any output.
Given that we have two instances where this works, any ideas what would cause it to not work on my Mac? I'm running node 10.15.3.
Wondering if other Mac users are seeing this as well, or if it's just a small portion of us. But I've always seen this error so I want to get to the bottom of this if possible to help future travelers.

I'm experiencing same issue on my mac(Mojave). I spend the whole day to fix this problem. .
Can someone explain what's wrong?

@aldarund I still see the same error. And I did double check my node_modules/vue-jest/package.json file to make sure that it was actually using the correct version, but alas, I'm still seeing the same.

I found the problem, You should add set NODE_ENV to test before running the jest
try this in your package.json file:
"scripts": {    ....     "test": "NODE_ENV=test jest"   },

@obaidsamadian Im still facing the same problem and your fix doesn't work for me

@obaidsamadian Im still facing the same problem and your fix doesn't work for me

What's your OS?

Currently getting same problem on windows10.


Bump many resources type to newer ones of Kubernetes

fixed #3637
fixed #3610
fixed #3611

Coverage increased (+1.8%) to 58.065% when pulling 0ae6eccde4a33ec52d0bf71ef3f4e90964addfaf on CMUH:k8s/bump-to-newer-resource into 97c26f04e76293272286f23e6bd67a1e9605705c on vmware:master.

Coverage increased (+1.8%) to 58.065% when pulling 0ae6eccde4a33ec52d0bf71ef3f4e90964addfaf on CMUH:k8s/bump-to-newer-resource into 97c26f04e76293272286f23e6bd67a1e9605705c on vmware:master.


Correctly stop further execution when autoloader is missing

Summary
This is a follow-up to #1234 / #2962. A small oversight that happened when refactoring that PR.
Basically, the goal is this:

When the autoloader is missing (e.g. ! class_exists( '\Google\Web_Stories\Plugin' ) === true) report error in both WordPress admin and the terminal.
When JS files are missing (e.g. ! file_exists( WEBSTORIES_PLUGIN_DIR_PATH . '/assets/js/edit-story.js' ) === true) report error in WordPress admin.
When the autoloader is missing stop further execution to prevent fatal errors, in both WordPress admin and the terminal.

Previously, the last step only worked in CLI context but not in WordPress admin.
This PR restores expected behavior.

Fixes #3231

@spacedmonkey could you please review?


do not save multiple profiles with the same date

If a reporter updates an inventory record, it will fire an "updated
record" message on the egress topic. However, not all of these updates
actually update the system profile. This results in duplicate system
profiles in the historical DB.
This change to the archiver checks to ensure a record does not already
exist before saving it to the DB.
We could do this more elegantly via a DB uniqueness constraint;
however this way does not require a data migration to clean old
records. We may eventually want to add a constraint once the data is
unique.
Note that this does not do the select and insert in the same
transaction.  I don't anticipate issues arising from this since the
"fail" case (which should be rare) is that we insert two records which
is the current behavior.  Adding a constraint would also let us avoid
having to add a transaction with a select and insert.

Codecov Report

:exclamation: No coverage uploaded for pull request base (stable@043ba22). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             stable      #72   +/-   ##
=========================================
  Coverage          ?   58.79%
=========================================
  Files             ?       13
  Lines             ?      398
  Branches          ?        0
=========================================
  Hits              ?      234
  Misses            ?      164
  Partials          ?        0

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 043ba22...e946dea. Read the comment docs.


Increasing model compile time and memory usage in successive compile calls

I have to successively compile a model in loop (making trainable = true and false alternatively as in GAN). This results in increasing compilation time and memory usage as pointed out in issue #2828. I cannot use K.clear_session() as it will reset the weights learned. Please provide a method to get around this memory leak problem.
I am currently using this implementation to make layers trainable=true or False
def make_trainable(net, val):
net.trainable = val
for l in net.layers:
l.trainable = val
where val = True/False
Any help will be appreciated

cannot use K.clear_session() as it will reset the weights learned

Save the weight to disk, use clear_session, and load the weights back into your model.
The proper way to handle this is either to use clear_session in order to start from a blank graph, or to use TensorFlow graph scopes.

@fchollet is there a way to use clear_session() without receiving the error: TypeError: Cannot interpret feed_dict key as Tensor: Tensor Tensor(....) is not an element of this graph. in the next iteration of the GAN for loop?
See below my example pipeline:
for epoch in range(epochs):
    idx = np.random.randint(0, train_X.shape[0], batch_size)
    imgs = train_X[idx]
    # Sample noise and generate a batch of new images
    noise = np.random.normal(0, 1, (batch_size, int(train_X.shape[1]/4)))
    noise=noise.reshape(noise.shape[0], noise.shape[1],1)
    if epoch!=0:
        generator=load_model('generator')
        discriminator=load_model('discriminator')
    gen_imgs = generator.predict(noise)
    combined=add_layers(generator,discriminator,len(discriminator.layers))
    combined.compile(loss='binary_crossentropy', optimizer=optimizer)
    # Train the discriminator (real classified as ones and generated as zeros)
    d_loss_real = discriminator.train_on_batch(imgs, valid)
    d_loss_fake = discriminator.train_on_batch(gen_imgs, fake)
    d_loss = 0.5 * np.add(d_loss_real, d_loss_fake)
    # Train the generator (wants discriminator to mistake images as real)
    g_loss = combined.train_on_batch(noise, valid)
    generator=add_layers(Sequential(),combined,first_half_length)
    save_model(generator,'generator')
    gen_loss.append(g_loss)
    dis_loss.append(d_loss[0])
    # Plot the progress
    print ("%d [D loss: %f, acc.: %.2f%%] [G loss: %f]" % (epoch, d_loss[0], 100*d_loss[1], g_loss))
    # If at save interval => save generated image samples
    if epoch % save_interval == 0:
        save_imgs(epoch,gen_loss,dis_loss)
    K.clear_session()

Thanks in advance


Other cars CI

Currently other cars is not running on the CI, and there are several issues with the file: an if statement is not closed, it has the camera publishing when this is not needed right now, and it is not the correct version that Maryam created.

The adverse effects of not having CI :}


Link title

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


doc: Mention that dependencies can be checked in menuconfig

This is handier in some ways compared to the symbol reference pages. The
search feature is more flexible, and you get to see which dependencies
are currently unsatisfied.
Signed-off-by: Ulf Magnusson<EMAIL_ADDRESS>

CC @carlescufi

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@f71e497). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #7492   +/-   ##
=========================================
  Coverage          ?   55.25%
=========================================
  Files             ?      467
  Lines             ?    51658
  Branches          ?     9889
=========================================
  Hits              ?    28542
  Misses            ?    19206
  Partials          ?     3910

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 f71e497...b766e81. Read the comment docs.


Using subnet in search of free ip

Sometimes in the old DB of phpipam there are multiple subnets with the same IP ranges.  I updated the phpipam-sdk-go with the ability to search with in subnet  . The updated provider will use it when the subnet is specified. It is mostly for the first free resource which does not know how to handle identical IP results from multiple subnets.

Hi .
I did my best to try and make the test work; they were broken when I tried to run them on my machine
Which maybe my machine's problem.
I hope I did the proper fix.

@pavel-z1 will you be able to review this, as I am planning to release new version which will include the update of the sdk from your repo and I want to include all the changes and pull requests which can be merged to this date!
Thanks!

Hi @tlitovsk we want to create new release of phpipam provider
Can you please finish this PR soon so that it is included in the new release?
Left to do:

update PR based on the latest master state
add to the README file usage case
remove changes from file go.mod https://github.com/lord-kyron/terraform-provider-phpipam/pull/61#discussion_r1176136253
rebase PR so that it includes only one commit, without a history of changes

Readme updated.
Rebased on updated master.
go.mod removed . ( for some reason github closed and had to repoen the request)
Commits squashed


Use pregenerated DSA param to pass key size checks

Legacy crypto-policies on Fedora allow for ciphers using DSA + SHA1.
DSA key used for testing must have these properties:

have size >= 1024 bits (required by legacy cp)
have Q <= 160 bits (to be usable with SHA1, see check in DSA class)

Turns out key parameters generated for 1024 bit DSA key on recent Fedora do not satisfy both conditions. (causing test failures)
Fix is to always use pregenerated DSA params, not only as fallback.

I see. ok then! tY!


update Twitter Video Async upload method for large video file (<= 512MB)

Updated Async Twitter upload methods by LongMA and YuSong on 29/1/17.
Now you should able to upload large video to Twitter (no more than 512MB, according to https://dev.twitter.com/rest/media/uploading-media)
We have fully tested the code.
Thanks a lot

Please have a look the updated code pull request~

Comment off the unnecessary code
Keep the comment text as the old way

@malonguwa I have comment something in the new PR, could you check it?

@liu044100 Hi mate I haven't see any comment under the new PR, I have updated the code based on your comment with the first PR. please have a look the new PR :)