Fixes to standard_params.config

Description
Lots of bug fixes (some of them possibly shortcuts) to standard_params.config.

When this file has 'insert bool' values (i.e. the prompt to insert true/false instead of true/false itself), these get fed into Nextflow and mess everything up. I think I gave them all the appropriate default values.  Important note: the subworkflows probably shouldn't need to be toggled true/false by the user, the workflow should just run what's appropriate for virus vs. bacteria automatically (with entrypoints as an option to run one specific workflow).  For now I think I set them all to true.

liftoff and submission are still failing (see email I sent to Kyle/Ankush 1/12/2024 3:00 AM EST)
nextflow run main.nf -profile standard,conda,virus -entry only_liftoff --submission_wait_time 2
nextflow run main.nf -profile standard,singularity,virus -entry only_submission

There is an issue with CLEANUP_FILES.out in subworkflows/utility.nf: the emit statement won't resolve if the cleanup_files param is set to false because the conditional statement doesn’t account for this possibility.

I'm doing the pull request despite these because the testers may use the standard profile and now it mostly works.  Hopefully Ankush or Kyle can take a look at these outstanding bugs tmr morning and fix?

Tested on Singularity on Scicomp only
Liftoff and Submission workflows error out. All others appear to work as expected.
There is an outstanding bug in subworkflows/utility.nf (described at top in Description).
For each relevant configuration:

* Can the program run completely through without erroring out?
* Does it produce the expected outputs, given the inputs provided?

[x] Have you conducted proper linting procedures?

Numpy formatted docstrings for functions
Comments explaining lines of code
Consistent and intuitive naming conventions for variables, functions, classes, methods, attributes, and scripts
Single empty line between class functions, two lines between non-class functions, and two lines between imports and code body
Camel case formatting for class names

[x] Have you updated existing documentation (README.md, etc.) or created new ones within docs?

CDC Checks

[x] Did you check for sensitive data, and remove any?
[x] If you added or modified HTML, did you check that it was 508 compliant?

Are additional approvals needed for this change? If so, please mention them below:
Are there potential vulnerabilities or licensing issues with any new dependencies introduced? If so, please mention them below:

Another issue I forgot to describe above:
Lines 163-168 nextflow.config: need params.organism which is not defined
I defined it (empty) on line 22
I defined it in standard_params.config and listed the two options, per Ankush's format
I don't think it's good to have both params.organism params.variola (see line 22) but if there is a plan to support additional viruses we'd need to decide how to account for this in a clear and obvious way.


Add missing notification_* material icons.

https://github.com/skclusive/Skclusive.Material.Component/issues/24
Source:
https://material.io/resources/icons/?icon=notifications_active&style=baseline
https://material.io/resources/icons/?icon=notifications_none&style=baseline
https://material.io/resources/icons/?icon=notifications_off&style=baseline
https://material.io/resources/icons/?icon=notifications_paused&style=baseline

hi. great. thanks for contributing. i am thinking about which branch to merge? can we target to develop branch? i just created one.

also could you please check this discussion for adding new icons? https://github.com/skclusive/Skclusive.Material.Docs/issues/5.
i would like to hear your comments


coding guidelines: partially comply with MISRA C:2012 Rule 10.2

MISRA C:2012 Rule 10.2 (Expressions of essentially character type
shall not be used inappropriately in addition and subtraction
operations.)
Use the compliant form char - integer instead of the non-compliant
one integer - char.
Signed-off-by: Abramo Bagnara<EMAIL_ADDRESS>

we have conflicts.


IPython 3.1.0

While installing form GitHub (with build.sh) I got the following error (which sounds curious... 3.1.0 isgreater than 3.0):
The command "ihaskell install" failed. Please check your 'ipython --version'. 3.0 or up is required but it is 3.1.0!

Before, when i tried to run cabal install ihaskell --reorder-goals I got another error:
Loading package MissingH-<IP_ADDRESS> ... linking ... done.
[17 of 20] Compiling IHaskell.Eval.Evaluate ( src/IHaskell/Eval/Evaluate.hs, dist/build/IHaskell/Eval/Evaluate.o )

src/IHaskell/Eval/Evaluate.hs:406:16:
    Couldn't match expected type ‘FilePath’ with actual type ‘[Char]’
    In the first argument of ‘(++)’, namely ‘directory’
    In the first argument of ‘writeFile’, namely
      ‘(directory ++ filename)’

src/IHaskell/Eval/Evaluate.hs:406:29:
    Couldn't match type ‘[Char]’ with ‘FilePath’
    Expected type: FilePath
      Actual type: String
    In the second argument of ‘(++)’, namely ‘filename’
    In the first argument of ‘writeFile’, namely
      ‘(directory ++ filename)’

src/IHaskell/Eval/Evaluate.hs:568:38:
    Couldn't match type ‘[Char]’ with ‘FilePath’
    Expected type: FilePath
      Actual type: String
    In the first argument of ‘readFile’, namely ‘filename’
    In a stmt of a 'do' block: contents <- readFile filename
cabal: Error: some packages failed to install:
ihaskell-<IP_ADDRESS> failed during the building phase. The exception was:
ExitFailure 1

Just in case: OS X 10.8.5,  ghc 7.8.3 and cabal <IP_ADDRESS>.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/22237833-ipython-3-1-0?utm_campaign=plugin&utm_content=tracker%2F332399&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F332399&utm_medium=issues&utm_source=github).

I think this should now be fixed (building from master). Let me know if issues persist.


Feature/81 Source onChange

Adding Source value onChange closes https://github.com/casesandberg/react-color/issues/81

awesome! big thanks! :sparkles:


[joy-ui][Chip] Fix text overflow

resolves #40183

[x] I have followed (at least) the PR section of the contributing guide.

Could you provide a snapshot or sandbox that fixes the issue?

Could you provide a snapshot or sandbox that fixes the issue?

Sure @siriwatknp
Check here - https://deploy-preview-40229--material-ui.netlify.app/material-ui/react-autocomplete/#fixed-options
Modify first option to lengthy value like below

The Shawshank Redemption The Shawshank Redemption The Shawshank Redemption The Shawshank Redemption The Shawshank Redemption The Shawshank Redemption The Shawshank Redemption The Shawshank Redemption The Shawshank Redemption The Shawshank Redemption The Shawshank Redemption

Remove first selected option from code
Now select the modified item, it will look like below

Argos CI detected one unexpected change - https://app.argos-ci.com/mui/material-ui/builds/22470/69426774. So should this change be applied only to the Chip rendered for Autocomplete - https://github.com/mui/material-ui/blob/master/packages/mui-joy/src/Autocomplete/Autocomplete.tsx#L413 and on the demos having custom chips with renderTags prop?

That makes sense, thanks @ZeeshanTamboli. Can you update the PR?


Initial debug configurations

Describe the bug
I had trouble setting up the extension, because

I expected the extension to come with a basic debug configuration, but
I did not see it - I had to add one to launch.json myself.

I found this, so you are probably aware of automatic debug configurations:
https://github.com/ManuelHentschel/VSCode-R-Debugger/blob/4fd0e703860a53cffbbc9fe2d086bd949098a078/src/extension.ts#L25
(Update: I guess I was wrong here: you're not using DebugConfigurationProviderTriggerKind.Dynamic nor onDebugDynamicConfigurations anywhere.)
But as I said, I don't see them. This is after I click "Show all automatic debug configurations":

What works is pressing F5 - then, I get this:

but then this:

and this:

So then I opened C:\Temp. Debug configurations are still empty.
Then, upon F5, I get this:

(Which is weird because C:\Program Files\R\R-4.0.2\bin\R.exe is exactly the path my R binary.)
Still, clicking "Open launch.json", it opens a launch.json with three entries pre-filled (Launch Workspace, Debug R-File, Debug R-Function). And now I also see them in the launch panel, and debugging works without changing any path.
In summary:

One needs to open a folder workspace for debugging to work.
Something is weird with the R path before the debug config is added
Automatic debug configs do not seem to work(?). Compare
https://code.visualstudio.com/updates/v1_45#_automatic-debug-configurations
https://code.visualstudio.com/updates/v1_45#_providing-debug-configurations-dynamically

Thanks for raising this! I made some changes regarding this topic recently, so please make sure to install from master (the marketplace version is a bit behind currently), which might address some of the problems.
Currently, my "workflow" to add an initial debug configuration is to

Open an empty folder workspace
Click create a launch.json file in the debug menu
Select R Debugger, which leaves me with the following config:

{
    "version": "0.2.0",
    "configurations": [
        {
            "type": "R-Debugger",
            "request": "launch",
            "name": "Launch Workspace",
            "debugMode": "workspace",
            "workingDirectory": "${workspaceFolder}",
            "allowGlobalDebugging": true
        },
        {
            "type": "R-Debugger",
            "request": "launch",
            "name": "Debug R-File",
            "debugMode": "file",
            "workingDirectory": "${workspaceFolder}",
            "file": "${file}",
            "allowGlobalDebugging": true
        },
        {
            "type": "R-Debugger",
            "request": "launch",
            "name": "Debug R-Function",
            "debugMode": "function",
            "workingDirectory": "${fileDirname}",
            "file": "${file}",
            "mainFunction": "main",
            "allowGlobalDebugging": false
        },
        {
            "type": "R-Debugger",
            "request": "attach",
            "name": "Attach to R process",
            "splitOverwrittenOutput": true
        }
    ]
}

I agree that this is a bit static and rather unintuitive, if you are used to dynamic debug configuration providers.
I'll look into the articles you linked, and see what I can do :)

Oh yes, now that you remind me:

The link "create a launch.json file" does nothing for me (maybe due to an old extension version)
If you have any other debug configuration for any other language (Python, in my case), you don't get this:

you get this instead:

And so there is neither "create a launch.json file" nor "Show all automatic ones".

* The link "create a launch.json file" does nothing for me (maybe due to an old extension version)

Is nothing happening at all, or only after selecting "R Debugger" in the prompt?

* If you have any other debug configuration for any other language (Python, in my case), you don't get this:
 ...
  you get this instead:
 ...

And so there is neither "create a launch.json file" nor "Show all automatic ones".

The linked PR adds configuration snippets, that can be added to an existing launch.json.

The linked PR adds a dynamic debug configuration provider and configuration snippets to extend an existing launch.json.
I am not aware of other ways to provide debug configurations (other than maybe writing custom scripts, which is probably not recommended).
If you know any or have problems/suggestions regarding the added features, please let me know :)

* The link "create a launch.json file" does nothing for me (maybe due to an old extension version)

Is nothing happening at all, or only after selecting "R Debugger" in the prompt?

Nothing at all. It's a link that can be clicked (as seen by a border appearing), but clicking it does not do anything.

(Which is weird because C:\Program Files\R\R-4.0.2\bin\R.exe is exactly the path my R binary.)

Spaces may be part of the reason - this is what I get upon "Install Debug package":
C:\Users\bers>C:\Program Files\R\R-4.0.2\bin\R.exe --no-save -e "install.packages('https://github.com/ManuelHentschel/VSCode-R-Debugger/releases/download/v0.3.1/vscDebugger_0.3.1.zip',
repos=NULL)" -e "install.packages('jsonlite', repos='http://cran.r-project.org')" -e "install.packages('R6', repos='http://cran.r-project.org')"
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.

It may be relevant that I am using "terminal.integrated.shell.windows": "cmd.exe"

The linked PR adds a dynamic debug configuration provider and configuration snippets to extend an existing launch.json.

I will certainly try this, thanks! It's still a pain to install an extension from GitHub (I need to clone, build in VS Code, package with npm, and then install, right)?

* The link "create a launch.json file" does nothing for me (maybe due to an old extension version)

Is nothing happening at all, or only after selecting "R Debugger" in the prompt?

Nothing at all. It's a link that can be clicked (as seen by a border appearing), but clicking it does not do anything.

If you don't even get to select "R Debugger" this appears to be a more general issue. Unless of course the issue goes away by disabling the extension, which would be quite odd...

...
(Which is weird because C:\Program Files\R\R-4.0.2\bin\R.exe is exactly the path my R binary.)

Spaces may be part of the reason - this is what I get upon "Install Debug package":
C:\Users\bers>C:\Program Files\R\R-4.0.2\bin\R.exe --no-save -e "install.packages('https://github.com/ManuelHentschel/VSCode-R-Debugger/releases/download/v0.3.1/vscDebugger_0.3.1.zip',
repos=NULL)" -e "install.packages('jsonlite', repos='http://cran.r-project.org')" -e "install.packages('R6', repos='http://cran.r-project.org')"
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.

It may be relevant that I am using "terminal.integrated.shell.windows": "cmd.exe"

You need to put quotes around the path, if it contains spaces:
"rdebugger.rterm.windows": "\"Path containing spaces\""

In most cases, it should also be possible to leave this entry blank and let the extension find the R executable in the registry or PATH environment variable.
You're not the first person with this problem, though, so we could add this info to the setting description. Adding the spaces automatically might work as well, but then it wouldn't be possible to pass e.g. command line arguments as part of the path

I will certainly try this, thanks! It's still a pain to install an extension from GitHub (I need to clone, build in VS Code, package with npm, and then install, right)?

We are using Github actions to make this process significantly easier. The clone/build/package part is done after each push and the produced .vsix files can be downloaded as artifact e.g. here for the PR linked above.
Similarly, the R package with compiled binaries (for windows and mac) can be found e.g. here. Though I would probably recommend using devtools + Rtools to compile the package yourself, if you plan on working with development versions.

...
(Which is weird because C:\Program Files\R\R-4.0.2\bin\R.exe is exactly the path my R binary.)

Spaces may be part of the reason - this is what I get upon "Install Debug package":
C:\Users\bers>C:\Program Files\R\R-4.0.2\bin\R.exe --no-save -e "install.packages('https://github.com/ManuelHentschel/VSCode-R-Debugger/releases/download/v0.3.1/vscDebugger_0.3.1.zip',
repos=NULL)" -e "install.packages('jsonlite', repos='http://cran.r-project.org')" -e "install.packages('R6', repos='http://cran.r-project.org')"
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.

It may be relevant that I am using "terminal.integrated.shell.windows": "cmd.exe"

You need to put quotes around the path, if it contains spaces:
"rdebugger.rterm.windows": "\"Path containing spaces\""

I forgot to say that I don't seem to be setting this variable anywhere. R.exe is in my %PATH%, so it's probably found there. We might branch this off into a separate issue ;)

I will certainly try this, thanks! It's still a pain to install an extension from GitHub (I need to clone, build in VS Code, package with npm, and then install, right)?

We are using Github actions to make this process significantly easier. The clone/build/package part is done after each push and the produced .vsix files can be downloaded as artifact e.g. here for the PR linked above.

Ah, great. It's not too bad after all: clone the repository, open in VS Code, and use the "Run Extension" debug configuration. That  part works fine.
I see that the extensions starts with data from the test subfolder, which has a launch.json. I think the goal of this issue is to have debug configurations without this, so I deleted it.

Then, when running the extension, I was a bit disappointed because I still only get this:

I had expected automatic debug configurations to be listed immediately, but this does not seem to be the case when you don't have any other configuration, even after opening a .R file. This experience is still suboptimal, but that's how it works in VS Code apparently.
At least, this time, "Show all automatic debug configurations" shows

and then

This is neat, because it allows to run (and add to your launch.json) only single configurations, and not the whole bunch.

By contrast, when you have any debug config to start with, you get this, beautifully:

So I guess this works as expected. Thank you!

I forgot to say that I don't seem to be setting this variable anywhere. R.exe is in my %PATH%, so it's probably found there. We might branch this off into a separate issue ;)

I just added automatic quotes if the path contains spaces and an option to add custom command line arguments for the call to R. Thah should hopefully work for everyone.

1. Then, when running the extension, I was a bit disappointed because I still only get this:

I think I finally figured out, how to make the "Run and Debug" button work with R (see latest push to the PR). Now the button launches the debugger in "Debug file" mode, if you have an R file open.

I had expected automatic debug configurations to be listed immediately, but this does not seem to be the case when you don't have any other configuration, even after opening a .R file. This experience is still suboptimal, but that's how it works in VS Code apparently.

This is probably intentional, since listing all automatic debug configurations would require activating all installed debugger extensions, which might take some time

Thanks again for opening this issue and providing such detailed feedback! :)
This topic is quite important for new users and I probably wouldn't have found the different ways to provide debug configs myself, since I have a launch.json in all my projects anyways.

1. Then, when running the extension, I was a bit disappointed because I still only get this:

I think I finally figured out how to make the "Run and Debug" button work with R (see latest push to the PR). Now the button launches the debugger in "Debug file" mode, if you have an R file open.

Interesting! You mean https://github.com/ManuelHentschel/VSCode-R-Debugger/pull/100/commits/4d90f0283939bc2b34d51cdecb7259264e5b0ce2?
I cannot really see what that has changed (maybe because I did not try the version just before). I noticed that my VS Code installation in "Extension Host" mode behaves weirdly (remember https://github.com/ManuelHentschel/VSCode-R-Debugger/issues/99#issuecomment-712828287), and there are other issues sometimes (such as a Run button being visible, not no dropdown - just one example). But my normal installation is working now.The whole VS Code debugging configuration experience seems to be pretty convoluted, depending on which extensions are activated, which files are and have been open, whether one is in file, folder or (multi-root) workspace mode, etc. etc. (hence my interest in https://github.com/microsoft/vscode/issues/109083, by the way).

Thanks again for opening this issue and providing such detailed feedback! :)

You're very welcome - it's a very helpful extension to me, so helping out is worth my time :)

This topic is quite important for new users and I probably wouldn't have found the different ways to provide debug configs myself, since I have a launch.json in all my projects anyways.

I agree. Maybe it makes sense to test on a fresh VS Code from time to time, in an environment that has never seen the extension and does not have things like launch.json - or a settings.json.
Using the latest version, I receive repeated notifications about changing my shell environment (related to VSCODE_R_DEBUGGER_TERMINAL_ID) which I would like to ignore, but they are pretty persistent. You seem to have this setting in your settings.json, so maybe you don't even get it anymore.

Interesting! You mean 4d90f02?

Yep

I cannot really see what that has changed (maybe because I did not try the version just before). I noticed that my VS Code installation in "Extension Host" mode behaves weirdly (remember #99 (comment)), and there are other issues sometimes (such as a Run button being visible, not no dropdown - just one example). But my normal installation is working now.The whole VS Code debugging configuration experience seems to be pretty convoluted, depending on which extensions are activated, which files are and have been open, whether one is in file, folder or (multi-root) workspace mode, etc. etc. (hence my interest in microsoft/vscode#109083, by the way).

As far as I'm aware, the changes to package.json only take effect when installing the extension, not when launched in a debug session. To make sure you see all changes, you can use the default build task to build and install the extension before debugging it.

Using the latest version, I receive repeated notifications about changing my shell environment (related to VSCODE_R_DEBUGGER_TERMINAL_ID) which I would like to ignore, but they are pretty persistent. You seem to have this setting in your settings.json, so maybe you don't even get it anymore.

That setting is related to flow control (next/continue/step) when debugging in attached mode. The setting is changed each time a terminal is created to be able to match the R process running in the terminal with the terminal itself. But I think I'll disable this feature by default, since the notification can be quite annoying...

I just added automatic quotes if the path contains spaces and an option to add custom command line arguments for the call to R. Thah should hopefully work for everyone.

My issue may be different overall - same error message with quotes:

Is maybe the 2000ms timeout too short?

You could try setting a longer timeout, e.g. "rdebugger.timeouts.startup": 9000.
Or add the command line argument "rdebugger.rterm.args": ["--no-init-file"], if you have stuff in your .Rprofile that might take some time.


Regarding GSoC 2023

Hello, I am Abhishek Tiwari, a skilled web developer seeking an opportunity to participate in GSoC 2023.
I believe that this project aligns perfectly with my abilities and would provide a great platform for me to enhance my skills.
I understand that there are many students applying for pre-GSoC issues, such as padding and grammar-related solutions, but I do not wish to waste my time or yours on such low-level tasks.
Instead, I am eager to know how I can increase my chances of selection or if it depends on my proposal and the depth of my understanding of the project and its challenges.
Please let me know and should I start the learning path provided by this project

AS GSoC 2023 has completed, it is safe to close this issue. @S-kus


Add Turing to the list of known GPU architectures

Description
Add Turing (sm_75) to the list of known GPU architectures
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.

[x] Changes are complete (i.e. I finished coding on this PR)
[x] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

@mxnet-label-bot add [pr-awaiting-review]
Thanks for your contribution @ptrendx
@anirudh2290 @access2rohit ping for review

duplicate https://github.com/apache/incubator-mxnet/pull/13069


Add an alias for presence / required

Required should just be an alias for presence.

Fixed by https://github.com/aurelia/validatejs/commit/0480df2b9ce8b1fdcfe291a149c0df17d274201b#diff-e7ceb79795e0ecf4806b891a710323f1


AttributeError: module 'kaolin' has no attribute 'dataloader'

I am trying to run eval.py for pixel2Mesh . Somehow I got this error.
OS: Ubuntu 18.04
Python: 3.6.9
Cuda: 10.1
pytorch: 1.3.1

I'm also facing the same error.
AttributeError: module 'kaolin' has no attribute 'dataloader'
Have you solved @nikepupu

This similar issue is seen while executing the ODM_ModelNet and voxel-ModelNet examples:
$ python train_Direct.py

Traceback (most recent call last):
  File "train_Direct.py", line 57, in <module>
    download = True)
  File "<mydir>/kaolin/examples/SuperResolution/ODM-ModelNet/dataloaders.py", line 55, in __init__
    voxel_set = kal.dataloader.ModelNet( root, train=train, download=download, categories=categories, single_view=single_view)
AttributeError: module 'kaolin' has no attribute 'dataloader'

Hi, thank you for using Kaolin! The library went through a major rewrite with the version 0.9.0, and only the core library components we can thoroughly test and maintain are now part of this repository. Please refer to our latest documentation:
https://kaolin.readthedocs.io/en/latest/
We are planning to release the improved model zoo as a separate repository, but cannot comment on the ETA at this time. Please Watch the github repository for updates.
Closing the bug as it is no longer relevant to this repo.


Use Bigquery for calculating measures

This should be approved alongside https://github.com/ebmdatalab/ebmdatalab-python.
I've made master empty and moved all the commits onto a new branch so I can make a commentable PR: https://github.com/ebmdatalab/ebmdatalab-python/pull/1. That is the version currently published to PyPI and therefore used in the main app.
Closes #165

closing and opening PR to attempt new travis build

When I try to import measures locally with this branch, I'm now getting CommandError: No rows generated. Does running e.g. python manage.py import_measures --measure ktt12_diabetes_blood_glucose -v 2 --month 2015-09-01 work locally for you? (Using a month for which you have data.) Or has the command I should be using changed?

Grr, I fixed this last week but have now lost the fix (and can't quite remember what it was). Lesson learned: don't squash commits when you're working on something complicated. Looking into it now.

D'oh - it had the same symptoms as the thing I fixed, but actually the fix hadn't been lost - instead, I'd deleted everything from our bigquery version of the practices table when debugging. Should work now!

So, this is quite a big PR to review. I've done the following:

Imported several measures locally and checked that the values match closely the values on the site, calculated with the old method (they do!)
Read through the code and checked it all looks sensible (it does!)
Observed that the test data remains the same as before, and the tests pass without any issues
Marvelled at how fast everything now is! Hooray.

So I'm broadly happy to merge this. My only comment is that there aren't any tests for the utility methods, but presumably that was a decision you made?
I haven't checked the data for every measure, obviously, and I imagine it's not impossible that we'll notice the odd SQL errors as we import one or two of them, but we can look at that as it happens.

Sounds good.
Re "utility methods" - which ones are you referring to? There are (some) tests in the external library...

Cool :)
I was referring to float_or_null etc - the methods commented as "utility
methods" in import_measures.py.
On 18 October 2016 at 15:00, Seb Bacon<EMAIL_ADDRESS>wrote:

Sounds good.
Re "utility methods" - which ones are you referring to? There are (some)
tests in the external library...
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/ebmdatalab/openprescribing/pull/208#issuecomment-254516240,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAExTNcFR35hDh1t6WiSLKHVObsAsoNxks5q1NDsgaJpZM4KGjZg
.

--
Anna Powell-Smith MA MPhil
07812 357037
<EMAIL_ADDRESS>Honorary Research Fellow
Centre for Evidence-Based Medicine
Department of Primary Care Health Sciences
University of Oxford
Woodstock Road
Oxford OX2 6GG
www.ebmDataLab.net http://www.ebmdatalab.net/

Deployment plan:
This is a major change in measures, and it's possible that recalculating all of them will surface new bugs. Without a fair few code changes or expensive database operations it's also going to be hard to ensure no downtime for existing measures.
Therefore I propose to take a snapshot of the current server, make that a new droplet visible under a temporary domain name, and deploy to that. Then switch domains to point at the new one and power off the old one.  This would cost $50 - $100 extra while we're running two concurrent droplets.


Endpoints for new filesystem

Creation of  endpoints that handle notebook operations from frontend.

[x] (C-S) NEW_LIST_NOTES
Lists basic info about all notebooks

[x] (S-C) NEW_NOTE_INFO
Needs to send folder and notebook information
Variant 1

[x] (C-S) NEW_CREATE_NOTE
Tells server to create a new notebook at the parent folder indicated by ID

[x] (S-C) NEW_NEW_NOTE
Returns the ID of the newly created notebook to open.

[x] (C-S) NEW_RENAME
Renames object with given ID

[x] (S-C) NEW_NOTIFICATION
Sends a message that will be displayed to user as a toast

[x] (C-S) NEW_DELETE
Deletes the item with ID. If it is a folder, deletes content recursively.

[x] (C-S) NEW_MOVE
Moves any TreeNode object with given ID to a parent object with given ID.

[x] (C-S) NEW_NEW_PARAGRAPH
Creates a paragraph into a Notebook with given ID.

[x] (C-S) NEW_CLONE
Clones a given object and places it into the specified place based on given destination ID

A suggestion for renaming endpoints:

LIST_NOTEBOOKS (client request)

NOTEBOOKS_LIST (server response with a list)
(maybe another variant to eliminate the confusion between these two?)

CREATE_NOTEBOOK

NEW_NOTEBOOK

RENAME_NOTEBOOK

NOTIFICATION

DELETE_NOTEBOOK

MOVE_NOTEBOOK

NEW_PARAGRAPH

CLONE_NOTEBOOK

It was also suggested that we would keep refactoring other names of endpoints and objects from "note" into "notebook" during refactoring process to eliminate the inconsistency.


Build fails on OSX El Capitan

v$ npm install sha3
|
><EMAIL_ADDRESS>install /Users/v/Crypto/btc/node_modules/sha3
> node-gyp rebuild

CXX(target) Release/obj.target/sha3/src/addon.o
CXX(target) Release/obj.target/sha3/src/displayIntermediateValues.o
CXX(target) Release/obj.target/sha3/src/KeccakF-1600-reference.o
CXX(target) Release/obj.target/sha3/src/KeccakNISTInterface.o
CXX(target) Release/obj.target/sha3/src/KeccakSponge.o
SOLINK_MODULE(target) Release/sha3.node
ld: library not found for -lgcc_s.10.5
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Release/sha3.node] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Darwin 15.0.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/v/Crypto/btc/node_modules/sha3
gyp ERR! node -v v4.1.0
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok
npm ERR! Darwin 15.0.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "sha3"
npm ERR! node v4.1.0
npm ERR! npm  v2.14.3
npm ERR! code ELIFECYCLE

npm ERR<EMAIL_ADDRESS>install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the sha3 package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls sha3
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/v/Crypto/btc/npm-debug.log

ld: library not found for -lgcc_s.10.5

Looks like you're missing gcc. Install it (via Homebrew is probably best) and this should be fixed.

Ran into this problem today. I have gcc installed but still no positive result comes of this. What could be the problem?
Log:
ld: library not found for -lgcc_s.10.5 clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [Release/sha3.node] Error 1 gyp ERR! build error  gyp ERR! stack Error: make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/Users/usr/.nvm/versions/node/v5.5.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23)
gyp ERR! stack     at emitTwo (events.js:100:13)
gyp ERR! stack     at ChildProcess.emit (events.js:185:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Darwin 14.5.0
gyp ERR! command "/Users/usr/.nvm/versions/node/v5.5.0/bin/node" "/Users/usr/.nvm/versions/node/v5.5.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/usr/node_modules/sha3
gyp ERR! node -v v5.5.0
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok
npm WARN ENOENT ENOENT: no such file or directory, open '/Users/usr/package.json'
npm WARN EPACKAGEJSON usr No description
npm WARN EPACKAGEJSON usr No repository field.
npm WARN EPACKAGEJSON usr No README data
npm WARN EPACKAGEJSON usr No license field.
npm ERR! Darwin 14.5.0
npm ERR! argv "/Users/usr/.nvm/versions/node/v5.5.0/bin/node" "/Users/usr/.nvm/versions/node/v5.5.0/bin/npm" "install" "sha3"
npm ERR! node v5.5.0
npm ERR! npm  v3.3.12
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the sha3 package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls sha3
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     /Users/usr/npm-debug.log
`

Same issue. any updates?

Upgrading to v1.2.3 or v2.0.4 should fix any build issues. If sha3 is a transitive dependency (i.e: it's not being used directly, but by a library you're using), then you can follow the steps in this comment (but using sha3 version 1.2.3), and/or submit an issue or pull request on that library to upgrade this package.
v2.x is a portable pure JavaScript implementation with no post-install build steps.
v1.x is a native C implementation with JavaScript bindings, which is faster, but is not portable to web browsers and requires a post-install build step with some extra global dependencies and risk of drift with OS and Node.js runtime deprecations.


Few details please

First, great project!
Second - could someone specify the vGPU driver version (and the clients versions) that is working with this hack? I'm pretty sure that within days, nVidia will release a new driver which will block this hack from working..
Another (a bit non related question) - If I recall correctly, you'll need to pay a monthly/yearly license to use the vGPU feature or is it something else?
Thanks

Issue #10 has some info about what drivers to use.
This project only allows the "host" driver to be used on unsupported GPUs, the guest VMs still need the licenses as normal. There is a 90 day trial.

I made a Gist detailing how to do it on Proxmox (steps should be similar for other distros if you know what you're doing): https://gist.github.com/cdknight/8f63a66d3280e6d5bf12dd4f4dac9183
The steps may be a bit lacking/nonfunctional (for example, with regard to how to view the output from the vGPU); I might update this later. It should, however, give you a general idea on how to do the whole thing.

First, great project!
Second - could someone specify the vGPU driver version (and the clients versions) that is working with this hack? I'm pretty sure that within days, nVidia will release a new driver which will block this hack from working..

The "Linux with KVM" variant version 11 (450.102) and 12 (460.32.04) has been successfully tested with some Pascal and Turing based graphics cards. Other versions and cards may or may not work.

Another (a bit non related question) - If I recall correctly, you'll need to pay a monthly/yearly license to use the vGPU feature or is it something else?

Yes, you are correct. A license is required for each concurrently running VM. Please consult the official vGPU licensing material for further information. vgpu_unlock makes no changes to the licensing scheme.


Add namespaces to the default CND configuration

Resolves: https://jira.duraspace.org/browse/FCREPO-2258

EBUCore?

ebucore is already in the CND

👍


Send Mail Programatically

Hi,
I haven't seen any sample code in Go on how to send an email to the MailHog server. The RESTful API seems fuzzy on this, because it doesn't describe an endpoint I should hit. Is this possible in MailHog, because I don't want to send it from the command line.

Hi @AlaRuba
There isn't an API endpoint for sending mail - MailHog can only receive messages via SMTP.


looper version

looper -h should show what version it is. what's the best way to do that?

Solved in current master branch for 0.5


Rename package name to seedu.harmonia

Codecov Report

Merging #217 (0efcc21) into master (f63d905) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #217   +/-   ##
=========================================
  Coverage     48.55%   48.55%
  Complexity      380      380
=========================================
  Files            88       88
  Lines          1769     1769
  Branches        217      217
=========================================
  Hits            859      859
  Misses          814      814
  Partials         96       96

Impacted Files
Coverage Δ

src/main/java/seedu/harmonia/AppParameters.java
0.00% <ø> (ø)

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

src/main/java/seedu/harmonia/MainApp.java
0.00% <ø> (ø)

.../main/java/seedu/harmonia/commons/core/Config.java
68.18% <ø> (ø)

.../java/seedu/harmonia/commons/core/GuiSettings.java
69.23% <ø> (ø)

...n/java/seedu/harmonia/commons/core/LogsCenter.java
78.37% <ø> (ø)

...ain/java/seedu/harmonia/commons/core/Messages.java
0.00% <ø> (ø)

...main/java/seedu/harmonia/commons/core/Version.java
82.50% <ø> (ø)

.../java/seedu/harmonia/commons/core/index/Index.java
66.66% <ø> (ø)

...ia/commons/exceptions/DataConversionException.java
100.00% <ø> (ø)

... and 78 more

Continue to review full report at Codecov.

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


fix: Filtering out empty value env variables from /admin/env API response in backend

Description
This PR is part of adding improvements in /admin/env API - https://github.com/appsmithorg/appsmith/issues/18423
And with that, it fixes main issue which is - https://github.com/appsmithorg/appsmith/issues/17846
When we are sending empty value env variables in /admin/env API response, it's causing incorrect state in toggle buttons (Toggle button gets enabled for empty value variables). Because of which, we were facing incorrect config update issues in Admin settings like Email. As part of fixing that, we are sending only non-empty valued env variables so that frontend interprets it correct.

Fixes
https://github.com/appsmithorg/appsmith/issues/18423
https://github.com/appsmithorg/appsmith/issues/17846
Type of change

Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Manual - after running appsmith server locally with this change, https://github.com/appsmithorg/appsmith/issues/17846 seems to be resolved

Test Plan

PENDING, incase required

Issues raised during DP testing

NA

Checklist:
Dev activity

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[ ] PR is being merged under a feature flag

QA activity:

[ ] Test plan has been approved by relevant developers
[ ] Test plan has been peer reviewed by QA
[ ] Cypress test cases have been added and approved by either SDET or manual QA
[ ] Organized project review call with relevant stakeholders after Round 1/2 of QA
[ ] Added Test Plan Approved label after reveiwing all Cypress test

@vivonk : Nirmal, is this change a breaking change? Are we dependent on the FE changes to take this to release?

No, @trishaanand . It's a backend change only. Frontend works fine with this change.

/ok-to-test sha=97c6b83ae2451389b7d162b44e6a984eb9ae3ecd

/ok-to-test sha=87797d94589ce966a06302bad7e3cdcecd995e99

/ok-to-test sha=430551bcdd69624bda739b9edc8672fba2a20284

/ok-to-test sha=60875903d9053e82aa60d1d8a0bcca99895df902


Nested parenthesis take too long to parse

((((((((2/1))))))))

Letting the runtime decide what association by whitespace means, lets us spend less time in the parser.


no_std build is broken on master

~/src/orion$ cargo +nightly test --tests --no-default-features --features no_std
   Compiling orion v0.14.4 (/home/jr/src/orion)
error[E0425]: cannot find value `BLAKE2B_GENSIZE` in this scope
   --> src/hazardous/hash/blake2b.rs:108:51
    |
108 |     (SecretKey, test_secret_key, 1, BLAKE2B_KEYSIZE, BLAKE2B_GENSIZE)
    |                                                      ^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `BLAKE2B_KEYSIZE`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0425`.
error: could not compile `orion`.
warning: build failed, waiting for other jobs to finish...
error: build failed

This seems to be caused by this commit:
https://github.com/brycx/orion/commit/8849be155ae677bea00d74be2c8fc92991485b04

Seems we can't have a const here because feature-gating can't be done correctly when using macros.
Should be fixed in: 5d44ca4dca0b8d13c14e1a60e22338d18a50ab80
Thanks for reporting this!


Windows builds of v1.7.0

@icing I tried to compile v1.7.0 for Windows. To do that, I grabbed the dsp-files from the 2.4.x branch of the Apache sources and created new project files. However, both the VC9 and VC11 builds failed with these errors:
  h2_bucket_beam.c
h2_bucket_beam.c(180): error C2491: 'ap_hook_beam_bucket' : definition of dllimport function not allowed
h2_bucket_beam.c(180): error C2491: 'ap_hook_get_beam_bucket' : definition of dllimport function not allowed
h2_bucket_beam.c(180): error C2491: 'ap_run_beam_bucket' : definition of dllimport function not allowed

I did not try the VC14 build yet,  but I guess that one fails as well. If and when I find the solution for this issue I will post it here.

Arg, no idea what the problem there is. Hope we find a fix. Thanks for looking into this.

There is something on MSDN:
https://msdn.microsoft.com/en-us/library/62688esh.aspx
However, there is no __declspec(dllimport) anywhere in mod_http2.
Maybe some guys at Apachelounge know the solution:
https://www.apachelounge.com/viewtopic.php?p=34308#34308

Same error with a VC14 build

Could you kindly check if https://github.com/icing/mod_h2/releases/tag/v1.7.1 fixes the issues?

Closing in. I am getting 192 unresolved externals at linking time, but that is probably something that has to be solved in the VC project files. I do not have the time to resolve this at the moment, but maybe Steffen of Apachelounge has.
Examples of the missing externals:
h2_bucket_eoc.obj : error LNK2001: unresolved external symbol _apr_bucket_shared_copy
h2_bucket_eos.obj : error LNK2001: unresolved external symbol _apr_bucket_shared_copy
h2_filter.obj : error LNK2001: unresolved external symbol _apr_bucket_shared_copy
h2_bucket_beam.obj : error LNK2019: unresolved external symbol __imp__apr_pool_pre_cleanup_register@12 referenced in function _h2_beam_create
h2_bucket_eoc.obj : error LNK2001: unresolved external symbol __imp__apr_pool_pre_cleanup_register@12
h2_bucket_eos.obj : error LNK2001: unresolved external symbol __imp__apr_pool_pre_cleanup_register@12
h2_session.obj : error LNK2001: unresolved external symbol __imp__apr_pool_pre_cleanup_register@12
h2_bucket_beam.obj : error LNK2019: unresolved external symbol __imp__apr_pool_cleanup_kill@12 referenced in function _h2_beam_destroy
h2_bucket_eos.obj : error LNK2001: unresolved external symbol __imp__apr_pool_cleanup_kill@12
h2_session.obj : error LNK2001: unresolved external symbol __imp__apr_pool_cleanup_kill@12
h2_session.obj : error LNK2001: unresolved external symbol __imp__apr_snprintf
h2_util.obj : error LNK2001: unresolved external symbol __imp__apr_snprintf

Looks like the apr*/apr-util* stuff is no longer found at link time. The h2_bucket_eoc.c has not been touch in recent releases, for example.

Yeah, that is probably caused by recreating the VC project files from the dsp's.

I took the previous project files once again, removed h2_response, added h2_headers and the compilation went fine.


Reporting the Error Associated with render_vis()

I'd like an easy way to know the error of the optimization for a render_vis() call so I can verify the veracity of the resulting image.

Do you mean "error" as in the loss of the optimisation objective? This is printed above the images for each of the values in thresholds


coverage increase

Codecov Report
Base: 83.63% // Head: 85.66% // Increases project coverage by +2.02% :tada:

Coverage data is based on head (c374840) compared to base (9ea332f).
Patch coverage: 50.00% of modified lines in pull request are covered.

:exclamation: Current head c374840 differs from pull request most recent head 36efb95. Consider uploading reports for the commit 36efb95 to get more accurate results

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #63      +/-   ##
==========================================
+ Coverage   83.63%   85.66%   +2.02%
==========================================
  Files          13       13
  Lines        1931     1932       +1
==========================================
+ Hits         1615     1655      +40
+ Misses        224      198      -26
+ Partials       92       79      -13

Impacted Files
Coverage Δ

controllers/install/executor_controller.go
84.24% <50.00%> (+1.76%)
:arrow_up:

controllers/install/armadaserver_controller.go
84.30% <0.00%> (+1.59%)
:arrow_up:

controllers/install/lookout_controller.go
86.93% <0.00%> (+1.59%)
:arrow_up:

controllers/install/binoculars_controller.go
82.65% <0.00%> (+1.62%)
:arrow_up:

controllers/install/lookoutingester_controller.go
85.35% <0.00%> (+3.82%)
:arrow_up:

controllers/install/eventingester_controller.go
84.56% <0.00%> (+4.02%)
:arrow_up:

controllers/install/common_helpers.go
100.00% <0.00%> (+5.76%)
:arrow_up:

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

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


Fishing rods damaging on reel-in instead of bobber-hit

OCM v1.6.2 build 60 (tried build 8, v1.6.1, v1.4.2, v,1.1.2)
Spigot 1.11.2 as far as I know (git-Spigot-3fb9445-6e3cec8)
RPGItems for 1.11.2 v3.5.255
We use RPGItems and have been for a number of years, so we've accumulated quite the armory. Some of those include "Whips" which are Fishing Rods.

In 1.8 they basically would damage whatever you were aimed at, regardless of whether or not the bobber had made contact (at least as far as I know).
In 1.9 with OCM this seemed to be working perfect, or at least near enough to; however, due to a few key plugins we used not working in 1.9, we continued using 1.8.8.
Fast-forward to last month and we gave 1.10.2, and then 1.11.2 a go, everything was good, except when we opened the Test server up to let some players in to help run it through the paces, the Whips were barely functional as weapons. Examples: [Not 100% sure if this was the case in 1.9+OCM] The bobber did not damage on contact, only on the Reel-in action (second click). In addition to that, the damage seemed to now be slightly inaccurate based on the damage reported by MobHealth (damage indicator plugin, which reported damage correctly in 1.8); where it would even 1-hit mobs that it should not have been capable of. The set damage was "30" (which in RPGItems terms I believe is in HitPoints) but was reporting as doing ~1240!
Worse yet, is that it wouldn't always do damage, it was a huge lottery where it might damage the first hit, second, third, then no damage... Sometimes it would fail to do any damage a number of times in a row, and just reel the mob in a block. There are also a few MythicMobs that simply refuse to take damage from these Whips now, no matter how many times you try. Whether or not it matters, these specific ones are Wither Skeletons with roughly 1000hp and they're in a non-Nether world, but that hadn't caused any problems in 1.8 so I don't know...

Nevertheless, I've tried everything I could in the config, from adjusting the Fishing Rod damage up to 2.0, disabling the Knockback, toggling "checkCanceled", changing the damage method to useEntityDamageEvent, and various combinations. :\ Currently the most effective setup seems to be, which might be placebo, using OCM with default Fishing Rod mechanics, along with the RodFix plugin.
Is everything working as intended or is something not quite right?
Also, does Spigot allow for triggering an event when the bobber lands instead of when it's reeled in, and if so would it be possible to offer a config option to define which even the damage is inflicted?
Thanks
-Formula350

Please enable debug mode in the config.yml and read what messages each player receives when hit by a bobber, and when the fishing rod is reeled in. This should shed more light on what exactly is going on and the exact amount of damage applied.

Tried hitting a player once with RodFix enabled. Nothing, so I disabled and restarted server, thus, all of this is with OCM being the only plugin meant to restore combat to 1.8 ways...
Config is at end of post (since I don't know of any kind of Spoiler markdown...)
When in a MultiVerse world (Flatlands) using an RPGItems "Whip" (Fishing Rod) that is set with 20 Damage (pretty sure that's 20 HP of damage) which works just fine in 1.8, attacking a player with no armor on...
[1]When I hit them with the bobber:
....No damage done
....Zero Debug messages displayed
[2]When I reel in the bobber:
....No damage done
....Zero Debug messages displayed
[3]When I "punch" them holding the rod:
....10 Hearts of damage
....Zero Debug messages displayed
Same conditions as above except using a completely vanilla Fishing Rod using /minecraft:give Formula350 Fishing_Rod 1:
[1] Same
[2] Same
[3] 1/2 heart after 2 hits; Zero Debug Messages
Zero Errors were displayed in Console during any of this.

############# OldCombatMechanics Plugin by gvlfm78 and Rayzr522 #############
#                                                                           #
# Bukkit Page: http://dev.bukkit.org/bukkit-plugins/oldcombatmechanics/     #
# Spigot Page: https://www.spigotmc.org/resources/oldcombatmechanics.19510/ #
# GitHub Page: https://github.com/gvlfm78/BukkitOldCombatMechanics/         #
#                                                                           #
#############################################################################

# This is to toggle the update checker
update-checker:
  enabled: true
  # Modes: auto, bukkit, spigot
  mode: auto

# Enable the oldcombatmechanics.toggle permission
# for players to individually /ocm toggle their cooldown
enableIndividualToggle: false

# List of interactive blocks that right clicking on will be ignored
# This is for modules such as sword blocking and elytra
# ###### I don't know if this is something we are interest in, so I've disabled it - FORM ###### #
#interactive: [enchantment_table,anvil,brewing_stand,trapped_chest,chest,bed,boat,fence_gate,dispenser,dropper,furnace,jukebox,ender_chest,stone_button,wood_button,beacon,tripwire_hook,hopper,daylight_detector,daylight_detector_inverted,item_frame,diode,diode_block_off,diode_block_on,redstone_comparator,redstone_comparator_off,redstone_comparator_on,acacia_door,birch_door,dark_oak_door,jungle_door,spruce_door,wood_door,workbench,bed_block,lever,trap_door,burning_furnace,spruce_fence_gate,birch_fence_gate,jungle_fence_gate,dark_oak_fence_gate,acacia_fence_gate,white_shulker_box,orange_shulker_box,magenta_shulker_box,light_blue_shulker_box,yellow_shulker_box,lime_shulker_box,pink_shulker_box,gray_shulker_box,silver_shulker_box,cyan_shulker_box,purple_shulker_box,blue_shulker_box,brown_shulker_box,green_shulker_box,red_shulker_box,black_shulker_box]
interactive: []

# To use the per-world feature you specify a list of the worlds in the []
# For example: (names are case sensitive)
# worlds: [world,survival,creative,SkyWars]
# Another example (for 1 world):
# worlds: [bestWorld]

disable-attack-cooldown:
  # This is to disable the attack cooldown
  enabled: true
  worlds: []
  # What to set the attack speed to. Default for 1.9 is 4, at least 16 is needed for no cooldown.
  generic-attack-speed: 24

disable-player-collisions:
  # This is to disable player collision
  # This is now compatible with scoreboard and tablist-editing plugins
  enabled: true
  worlds: []

disable-sword-sweep:
  # This is to disable the sword sweep attack
  # The particle effect will still be present but will not affect surrounding entities
  enabled: true
  worlds: []

disable-crafting:
  # Disable the crafting of specified items
  enabled: false
  worlds: []
  # List of denied items
  denied: [shield]

disable-offhand:
  # Disable the usage of the offhand
  # Won't affect sword-blocking module
  enabled: false
  worlds: []
  # Whether the following list blocks items or allows them
  whitelist: false
  # List of items that should be allowed/not
  # Example: [diamond_sword,BOW]
  items: []

old-brewing-stand:
  # Automatically refuels brewing stands
  enabled: false
  worlds: []

no-lapis-enchantments:
  # Automatically adds lapis to enchantment tables upon opening
  enabled: false
  worlds: []
  # Whether to only allow this for players with oldcombatmechanics.nolapis permission
  usePermission: false

disable-elytra:
  # Do not allow players to wear elytra
  enabled: false
  worlds: []

disable-enderpearl-cooldown:
  # Disables enderpearl cooldown
  enabled: true
  worlds: []

old-tool-damage:
  # This is to set the tool damage as in pre-1.9
  # NOTE: this will modify the damage, however on the item tooltip it will still show the 1.9+ damage
  enabled: true
  worlds: []
  # This will allow you to set the damage divider
  # The default values below are obtained by doing (1.8 value)/(1.9 value)
  # Only axes and shovel values changed between the versions, so all others here have a divider of 1
  # We put them here anyway in case you wished to change them.
  # The plugin subtracts the enchantment-added damage,
  # divides the damage done while holding the weapon by the following values,
  # and adds back on the enchantment-added damage.
  damages:
    # Axe damages
    GOLD_AXE: 2.333333
    WOOD_AXE: 2.333333
    STONE_AXE: 2.25
    IRON_AXE: 1.8
    DIAMOND_AXE: 1.5
    # Shovel damages
    GOLD_SPADE: 2.5
    WOOD_SPADE: 2.5
    STONE_SPADE: 1.75
    IRON_SPADE: 1.5
    DIAMOND_SPADE: 1.375
    # Sword damages
    GOLD_SWORD: 1
    WOOD_SWORD: 1
    STONE_SWORD: 1
    IRON_SWORD: 1
    DIAMOND_SWORD: 1
    # Pickaxe damages
    GOLD_PICKAXE: 1
    WOOD_PICKAXE: 1
    STONE_PICKAXE: 1
    IRON_PICKAXE: 1
    DIAMOND_PICKAXE: 1
    # Hoe damages
    GOLD_HOE: 1
    WOOD_HOE: 1
    STONE_HOE: 1
    IRON_HOE: 1
    DIAMOND_HOE: 1

sword-blocking:
  # This is to allow players to block with swords again by getting a shield while they hold right click with a sword
  enabled: false
  worlds: []
  # How much damage should blocking reduce
  # This can either be a number in half-hearts (e.g 2) or a percentage (e.g. 20%)
  # 1.8 default: 50%             1.9 default: 33%
  blockingDamageReduction: 50%
  # Whether shields can block damage entirely
  # In 1.8 blocking could only reduce to 1/2 a heart
  shieldFullBlock: false
  # The minimum amount of damage, in half-hearts, if shieldFullBlock is enabled
  minimumDamage: 1.0
  # How often, it ticks, should OCM check if the player is still blocking with the shield and remove it if not
  # If this is too fast the player will have their shield disappear before they're able to block again causing a slight delay
  # If this is too slow players will have a shield in their hand well after they've stopped blocking
  # 20 ticks = 1 second
  restoreDelay: 40
  # List of items that holding in the offhand while right-clicking with a sword doesn't trigger blocking e.g. bow
  noBlockingItems: []
  # Whether the above list should act as a blacklist (i.e. only items in it stop the blocking mechanic)
  blacklist: true

old-golden-apples:
  # This is to change the behaviour / crafting of golden apples to how it was in pre-1.9
  # WARNING: If on 1.12 or above and you disable this module you must reload the server for the recipe to disappear
  enabled: true
  worlds: []
  # If you want to allow enchanted golden apple crafting
  enchanted-golden-apple-crafting: true
  # Enabling this makes the potion effects gained by eating golden apples
  # and enchanted golden apples the same as it was in pre-1.9
  old-potion-effects: true
  # Potion effects golden apples should apply
  # Duration is in ticks (20 ticks = 1 second)
  # Amplifier is potion level -1, so Regeneration IV would be amplifier 3
  gapple-effects:
    regeneration:
      duration: 100
      amplifier: 1
    absorption:
      duration: 2400
      amplifier: 0
  # Potion effects enchanted golden apples should apply
  napple-effects:
    regeneration:
      duration: 600
      amplifier: 4
    damage_resistance:
      duration: 6000
      amplifier: 0
    fire_resistance:
      duration: 6000
      amplifier: 0
    absorption:
      duration: 2400
      amplifier: 0
  # Enable this if you have another plugin which adds a crafting recipe for
  # enchanted golden apples (requires server restart)
  no-conflict-mode: false

old-fishing-knockback:
  # This is to make the knockback of players when they get hit by a fishing bobber the same as it was in pre-1.9
  # Credit to HyKurtis for the original code, optimised by Rayzr522
  enabled: false
  worlds: []
  # This makes OCM check if other plugins are stopping the rod damage and follow their choice
  # Set to false to always have rod damage
  checkCancelled: false
  # This is the damage done by the fishing rod attack
  damage: 0.2
  # Whether the EntityDamageEvent should be used instead of the EntityDamageByEntityEvent
  # Set to true when using plugins like NCP that check range
  useEntityDamageEvent: false

projectile-knockback:
  # This adds knockback and/or damage to players when they get hit by snowballs, eggs & enderpearls
  # This has been a Bukkit bug for so long people thought it was vanilla when it was recently patched
  enabled: true
  worlds: []
  # This is the damage done by each projectile
  damage:
    snowball: 0.1
    egg: 0.1
    ender_pearl: 0.1

old-player-regen:
  # This is to make players' regeneration act mostly like it did in pre-1.9
  # It's hard to make it behave exactly like before, but in general this makes it work like in pre-1.9
  enabled: true
  worlds: []
  # How often, in seconds, a player should regenerate health
  frequency: 3
  # How many half-hearts the player should heal by, every seconds specified above
  amount: 1
  # How much exhaustion healing should give to the player. In 1.8: 3 In 1.9: 4 in 1.11: 6
  # If, after adding this, Minecraft finds the value is above 4, it subtracts 4
  # and either reduces saturation or, if saturation is 0, reduces food level by 1 (1/2 a stick)
  exhaustion: 3

old-armour-strength:
  # This is to set armour strength values as in pre-1.9
  enabled: true
  worlds: []
  # The higher the armour toughness value the closer the damage done while wearing armour is to pre-1.9 values
  toughness: 9999
  # This is to change the armour strength values if you so wish
  strength:
    # Leather armour
    LEATHER_HELMET: 1
    LEATHER_CHESTPLATE: 3
    LEATHER_LEGGINGS: 2
    LEATHER_BOOTS: 1
    # Chainmail armour
    CHAINMAIL_HELMET: 2
    CHAINMAIL_CHESTPLATE: 5
    CHAINMAIL_LEGGINGS: 4
    CHAINMAIL_BOOTS: 1
    # Golden armour
    GOLD_HELMET: 2
    GOLD_CHESTPLATE: 5
    GOLD_LEGGINGS: 3
    GOLD_BOOTS: 1
    # Iron armour
    IRON_HELMET: 2
    IRON_CHESTPLATE: 6
    IRON_LEGGINGS: 5
    IRON_BOOTS: 2
    # Diamond armour
    DIAMOND_HELMET: 3
    DIAMOND_CHESTPLATE: 8
    DIAMOND_LEGGINGS: 6
    DIAMOND_BOOTS: 3

disable-projectile-randomness:
  # This is to remove projectile randomness while firing arrows with a bow
  # This is actually a very old feature and has been in the game for quite some time
  enabled: false
  worlds: []

disable-bow-boost:
  # This is to stop players from boosting themselves forward by hitting themselves
  # while running with a punch II arrow from their bow
  # This module just stops them from hitting themselves with arrows entirely
  enabled: false
  worlds: []

################################
#### SPECIAL SETTINGS BELOW ####
################################

# This enables debug messages, only enable when troubleshooting
debug:
  enabled: true

# DO NOT CHANGE THIS NUMBER AS IT WILL RESET YOUR CONFIG
config-version: 23

# Not added yet
old-potion-effects:
  # This is to restore the 1.8 potion effects before they were nerfed
  enabled: true
  # Poison potion II
  8228:
    poison:
      duration: 440
      amplifier: 1????
  # Extended Poison potion
  8260:
    poison:
      duration: 2400
      amplifier: 0????
  # Extended Regeneration potion
  8257:
    regeneration:
      duration: 2400
      amplifier: 0????

Update: Killed a Creeper with that same Fishing Rod (via bobber) and it also received no Debug text; on cast or reel in.
All in all, seems like something is completely hijacking the Fishing Rod mechanics away from OCM, and with RodFix disabled, I'm not sure what it could be other than maybe mcMMO?

Try hitting another players, and seeing if that players receives a debug message when hit by the rod.

Yea, there were 4 of us playin around at one point :\ No Debug Messages were displaying for any of us, and this was all occurring in the same MultiVerse world that I was in for the Sweeping Edge tests.
I had forgotten to try it in vanilla World, so I'll go give that a shot quick,

I've just tested this again on my test server in the latest OCM build, everything works fine, exactly as it has been for quite some time. This should mean it is another plugin that is interfering with OCM's fishing rods.

Are you only using OCM, a permissions management plugin, maybe Essentials (or similar) when testing? Or do you have a huge arrangement of them installed, to create similar conditions to that of most deployed servers?
I can try to have just some vanilla items at the ready and only OCM loaded. Problem is that I'm not sure how to make a Whip-like item with Vanilla commands, where whatever damage/enchant will transfer to the bobber entity. (Unless things have changed and a fishing rod with NBT modified damage will deal that damage amount to the bobber? Which I can certainly test.)
Will let you know.


setupTransitionOutTimeline conflicts with the transitionInTimeline

In my current project I've got a transition-page and transition-component (componentId="status-indicator)". The transitionInTimeline fades the page in, followed by a fade in of the child component. The transitionOutTimeline fades the component out and after that the page. The out transition works as expected. However: adding the timeline as the first instance of the out transition lets it conflict with the starting value of the In-transition.
See gist

It appears the problem here is the usage of fromTo on the transitionOutTimeline of your child component. When nesting timelines within other timelines you do not want to use fromTo, because this might cause weird jumps in the out animation. For example when the last known position of the component does not match the starting point of your transitionOutTimeline.
Updated the code to throw an error when you use fromTo on a nested transitionOutTimeline!


Added Gordon Zhu's Practical JavaScript

Added Gordon Zhu's Practical JavaScript - Watch and Code to Video Tutorials section

[x ] I have read freeCodeCamp's contribution guidelines.
[x ] My pull request has a descriptive title (not a vague title like Update index.md)
[x ] My pull request targets the master branch of freeCodeCamp.
[x ] None of my changes are plagiarized from another source without proper attribution.
[ x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Links are supposed to use the format described in the style guide - see the links area - how about you fix up this whole page?

Challenge accepted, but what should I do with links that don't work with https?

awesome @michaelwright74 !
use http i suppose?
this one looks like it doesn't exist anymore - https://devchat.tv/js-jabber
Should I reopen this, or do you want to make a new PR?

The style guide says to always use https so I wasn't sure. I did ask in the forum about it but didn't really get a conclusive answer.
I'm checking all the links as I edit them so I'll delete any that don't work anymore.
Since I've already made a start I'll just make a new PR.

I would say to leave them in there as http - many of those links are relevant and it seems like a dumb reason to remove them - perhaps the guide should be updated to say to use HTTPS whenever possible.

I think I've messed up (I'm still new to all this). Seems I've only updated my own master rather than the actual FCC one.

That's how you're supposed to do it - change the code on your fork, and create a PR into the FCC one - at the top of the PR it says "michaelwright74 wants to merge 1 commit into freeCodeCamp:master from michaelwright74:patch-3" - that's correct - thanks for fixing it up, it looks great!


[Feature] Provide convenient scripts and package for Venice services (controller, router, server)

Willingness to contribute
Yes. I can contribute a fix for this bug independently.
Feature Request Proposal
Users need a way to bootstrap conveniently the services, configure them.
Currently it is pretty hard to bootstrap the services:

no default configuration files
no scripts to start/stop the services
no way to configure logging/JVM properties
no released tar.gz package
no easy way to run the admin tool

Motivation

What is the use case for this feature?

Bootstrap the services in a VM.
Provide support for a future standard docker image
Details
Some examples:

ZooKeeper: https://github.com/apache/zookeeper/tree/master/bin
Pulsar: https://github.com/apache/pulsar/tree/master/bin

What component(s) does this bug affect?

[X] Controller: This is the control-plane for Venice. Used to create/update/query stores and their metadata.
[X] Router: This is the stateless query-routing layer for serving read requests.
[X] Server: This is the component that persists all the store data.
[ ] VenicePushJob: This is the component that pushes derived data from Hadoop to Venice backend.
[ ] Thin Client: This is a stateless client users use to query Venice Router for reading store data.
[ ] Fast Client: This is a stateful client users use to query Venice Server for reading store data.
[ ] Da Vinci Client: This is an embedded, stateful client that materializes store data locally.
[ ] Samza: This is the library users use to make nearline updates to store data.
[X] Admin Tool: This is the stand-alone client used for ad-hoc operations on Venice.

I have found that if you build venice with
./gradlew shadowDistTar
Then you can find some tarballs for the services in the "distribution" directories.
This is a good starting point but it is not enough:

it should be only 1 tarball
it should provide default configuration files
it should provide the scripts to run the admin tool
it would be great to have a script like this https://github.com/apache/pulsar/blob/master/docker/pulsar/scripts/apply-config-from-env.py to help building docker images


[Data Factory] [Synapse Analytics] Snowflake source export settings validation error

Package Name: azure-mgmt-datafactory
Package Version: 2.7.0
Package Name: azure-mgmt-synapse
Package Version: 2.0.0
Operating System: Windows 11 V 21H2 (OS Build 22000.856)
Python Version: Python 3.10.4 (tags/v3.10.4:9d38120, Mar 23 2022, 23:13:41) [MSC v.1929 64 bit (AMD64)] on win32

Describe the bug
There is no validation for the Snowflake Source. The SDK allows publishig of Pipelines even when the mandatory export_settings parameter SnowflakeExportCopyCommand() is not defined in the SnowflakeSource().
The published Pipeline does not show the File path property in the Data Factory studio and throws the following error on the Trigger run Errors: ErrorCode=InvalidParameter,The value of the property 'properties' is invalid: 'Value cannot be null. Parameter name: properties'.
The pipeline runs successfully in debug mode in the Data Factory Studio
The mandatory parameter is defined in the Data Factory documentation
To Reproduce
Steps to reproduce the behavior:

Create Data Factory Pipeline using Snowflake SDK
Define the Source as Snowflake without specifying the SnowflakeExportCopyCommand()

SnowflakeSource(query="<query_text>") # The working code is SnowflakeSource(query="<query_text>", export_settings=SnowflakeExportCopyCommand())

Publish and Trigger the Data Factory Pipeline

Expected behavior
The SDK should throw the validation error when trying to deploy the pipeline if the mandatory parameter SnowflakeExportCopyCommand() is missing. The pipeline should not be published on validation failure.
Screenshots

Additional context
The issue affects Data Factory and Synapse Pipelines

Fix provided in PR #25863


uv pip install --no-deps fails due to conflicting requirements even though the --no-deps flag is given

Context
I have a special use case for a client whereby I need to provide some libraries which they install via a requirements.txt.
The purpose of this file is only to list the libraries I provide (as local paths), and there is another requirements file for the external dependencies.
We work like this because in my company we use git dependencies for our own libraries but our client does not have access to our private git repos.
The install instructions for them are to do a pip install for the external dependencies (pulled from PyPI), and then a second pip install with the requirements file I provide them. This works fine with pip, but not with uv pip because the top-level library depends on the other libraries via git dependencies (specified in a pyproject.toml), but they are also listed in the requirements.txt. This leads to:
error: Requirements contain conflicting URLs for package `blargh`:

even though I provide the --no-deps flag. With this flag, it works fine with pip. So it seems to me like there is some conflict resolution that's taking place for the git dependencies that should not be happening with --no-deps.
Here is the full command I run:
uv pip install --no-deps -r requirements.txt

Platform and uv version
I am on Linux with uv 0.1.35.

Thanks, I can guess what's going on here.


ng serve does not consider/update pipes

Angular-CLI don't update pipes on save.
OS?

Windows 10 64bits

Versions.

1.0.0-beta.26

Repro steps.

Add new pipe to your project by doing ng g p pipename, launch app with ng serve then update your pipe in your editor/IDE and save it. Angular-CLI will recompile the app but won't consider the pipe's changes.

I just tried with beta.29 and this seems to work fine.
Steps:
ng new sampleapp
cd sampleapp
ng g pipe sample

The modified sample.pipe.ts:
transform(value: any, args?: any): any
  return value + ' add 123';
}

Then modified app.component.html:
<h1>
  {{title | sample}}
</h1>

Then ran ng serve, and opened Chrome.
Then, while still serving, changed sample.pipe.ts to:
transform(value: any, args?: any): any
  return value + ' add 123 456';
}

And switched to Chrome.. The browser has already refreshed and I could see the new pipe value.

Same as #4338

@Meligy Just installed beta 29 and followed your steps, but the error still occurs

Dupe of https://github.com/angular/angular-cli/issues/4338


[LiveComponent] Fix collections hydration with serializer

Q
A

Bug fix?
yes

New feature?
no

Issues
N/A

License
MIT

Hello!
I encountered issues when trying to hydrate a LiveProp as a collection of objects, using the Symfony Serializer.
Given phpdocumentor/reflection-dockblock is installed in the project, and I have the following component:

#[AsLiveComponent]
class MyComponent
{
    /**
     * @var MyDto[]
     */
    #[LiveProp(useSerializerForHydration: true)]
    public array $prop = [];
}

Then I should be able to hydrate $prop as a collection of MyDto.
However, the LiveComponentHydrator doesn't consider the collection type when useSerializerForHydration is enabled, and tries to deserialize to array type, throwing the following exception:
Symfony\Component\Serializer\Exception\NotNormalizableValueException : Could not denormalize object of type "array", no supporting normalizer found.

So here is a proposal to fix the issue.
Cheers!

Thanks Nicolas!

Oh i missed this one ! So cool 👏


⚠ Fortnite has degraded performance

In 7992436, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1617 ms

Resolved: Fortnite performance has improved in 969c2db.


Fix Parcelable codecs

Current coverage is 100% (diff: 100%)

Merging #14 into master will not change coverage

@@           master   #14   diff @@
===================================
  Files           7     7
  Lines          38    40     +2
  Methods        38    40     +2
  Messages        0     0
  Branches        0     0
===================================
+ Hits           38    40     +2
  Misses          0     0
  Partials        0     0

Powered by Codecov. Last update 71e376b...32306f6


Add more translation

What do these changes do?
The translation is as follows:

datasouce.po
execution.po
overview.po
routines.po
sparse.po
unfunc.po

Related issue number
Not.

@chineking Sorry,I  am not particularly skilled at using Github. I also changed the error, do I need to close the current PR? Then re-PR?

Thanks for your work on translation, small tip is that, after translation, call make gettext which according to the building documents part in contributing.
Yes,I hava done it.

@chineking Sorry,I am not particularly skilled at using Github. I also changed the error, do I need to close the current PR? Then re-PR?

Since you didn't modify the generated directory, just reset the docs/source/tensor/generated to older version, and keep the other modification.

I noticed that seems the make gettext cause huge modification, I suggest you just reset to the first commit, and apply the new modification to keep the minimized change.

I reset to #279, but I still have to pass the test automatically.

I think I need remove the current forks,then translate it ,and try PR again. @chineking


How to switch this to multiple country ?

Hello, @yshean your code is working fine. I added my own API key and it's working but it shows only Switzerland country location. why ?. I want to show multiple country locations so how to implement this? can you please help

In line 49/50 on file google_places_flutter/lib/place_service.dart you can set the property country.
Change
 final request =         'https://maps.googleapis.com/maps/api/place/autocomplete/json?input=$input&types=address&language=$lang&components=country:ch&key=$apiKey&sessiontoken=$sessionToken';
to
'https://maps.googleapis.com/maps/api/place/autocomplete/json?input=$input&key=$apiKey&sessiontoken=$sessionToken''
Then you can search in multi languages and find places all over the world

@dospringer 's answer will allow you to search every country available, for language - if it's not specified, then it will attempt to use the native language of the domain from which the request is sent. See the list of supported languages here

@dospringer 's answer will allow you to search every country available, for language - if it's not specified, then it will attempt to use the native language of the domain from which the request is sent. See the list of supported languages here


767 remove family

IMPORTANT: Where possible all PRs must be linked to a Github issue
Fixes #766
Type
Choose one: (Feature )
Checklist

[x] I have written Unit tests for any new feature(s) and edge cases for bug fixes
[x] I have added any strings visible on UI components to the strings.xml file
[x] I have updated the  CHANGELOG.md file for any notable changes to the codebase
[x] I have run ./gradlew spotlessApply and ./gradlew spotlessCheck to check my code follows the project's style guide
[x] I have built and run the fhircore app to verify my change fixes the issue and/or does not break the app

@maimoonak can you please take a look at this as well and get it merged, thanks!


Access To Private Key

Is there any way we can get a copy of the private key used when creating the Lets Encrypt keys?
I see that the private key is needed when uploading the certificate to AWS however, I have not been able to find a way to access those keys once in IAM.
Thanks in advance.

No, IAM does not let you download the private keys.

Great, thanks. I may be a little confused, is the key returned from the
python letsencrypt-aws.py register<EMAIL_ADDRESS>
used as the private key when interacting with Let's Encrypt?
Ultimately I am after the private key used to create the certs.
Thanks.

No, that private key is your let's encrypt account private key. It is used to authenticate API requests to let's encrypt, not for the TLS certs you get.

The only way to get the private keys used then would be to extend your code such that it writes out the keys after it generates them? Updating...
generate_rsa_private_key()

And going against your design for creating keys in memory.


CMF Infra is not outputing logs and prompts

CMF infra only works when calling the command directly through cmf-infra

Hey there,
yes, the issue is with stdout and stderr redirection in the CLI, it happens with all plugins. We're hoping to review this for v5.

This has improved with the merge of #397 but we still don't support realtime streaming. However, this is now less urgent.


Ringing even after attend the call

User 1 makes a call to User2. User1 is in ringing state even after User2 attended the call.

Encountering a similar problem, I noticed that I could initiate a conversation after 40 seconds on clicking the answer button.


Causes some projects to constantly reload

Since I've updated to last version of VScode ( 1.32.3 ) some of my projects reload indefinitely when having this plugin installed. I cannot really spot why only some projects are affected but removing extensions one by one allowed me to confirm that this plugin is the source of the issue.

Have you tried reinstalling the extension? We changed the publisher id a few weeks ago and maybe this is affecting you. Let us know.

Can you please post the vsicons settings in your settings.json also?

I can confirm this behaviour. Reinstalling did not solve the issue.

@gjungb Confirming doesn't help us much. Please, provide useful info.

I have same problem, here are my vsicons settings in setting.json
   "vsicons.projectDetection.autoReload": true,     "vsicons.dontShowNewVersionMessage": true

@ruohomaa Change vsicons.projectDetection.autoReload to false and observe what messages pop up from the extension. Let us know the details.

Here you go:

@JimiC here we go:

"vsicons.projectDetection.autoReload": true,
When setting it to false the reloading stops
I'm working in a VS Code workbench with a mixture of Angular an NestJS

@ruohomaa That's what I suspected.
@gjungb Ahh, now we are getting somewhere.
I'll investigate further and hopefully come back at you all with a fix.

Until we fix it, use Disable Detection for now.

OK, guys. Turns out that there is no quick fix for this issue. Having mixed Angular and NestJS projects in a workbench, confuses our project detection logic. You can have either Angular icons or NestJS icons.
The only solution I can think of is to deactivate the detection and manually select which icons to enable from the F1 > Icons: Toggle * Preset menu.

@JimiC Thx, that's fine for me.

@robertohuertasm We will have to implement an additional step in PAD to detect such cases and present a message to the user that [s]he can only have one or the other.

I decided to work on resolving this issue and I figured out a way to have both icons show in a multi-project, so I decided to share it with you.
This solution though requires you to use our custom icons configuration and declare a custom file extension.
Because there are a lot of supported file extensions setting it up is a bit tedious.
So the concept is to use a custom file name extension and declare it as such:
"vsicons.associations.files": [
        {
            "icon": "nest_controller_ts",
            "extensions": ["nest.controller.ts"],
            "overrides": "nest_controller_ts",
            "format": "svg"
        }
        ... // Repeat here for any other file extension you wan to support
]

And here is the proof:


Monitors don't update their status when a service has been down for a while

⚠ Please verify that this bug has NOT been raised before.

[X] I checked and didn't find similar issue

🛡 Security Policy

[X] I agree to have read this project Security Policy

Description
This morning we had an outage on our web hosting, and because of this, it knocked out the DNS of a lot of things running on the monitor. I changed the addresses of most of the services to use the direct IP instead of the DNS (the direct IP work, since the services run on another server), but the monitors still reported DOWN.
Once I restarted uptime-kuma, all of them updated and reported correctly.
👟 Reproduction steps
Not really sure, but my guess would be to set up a monitor, take the monitored service offline for an hour or more, restart the service and check if the monitor status updates correctly
👀 Expected behavior
The monitor should update the status of the monitored service, regardless of how long it has been down
😓 Actual Behavior
As described in Description
🐻 Uptime-Kuma Version
1.11.4
💻 Operating System and Arch
Mac OS 12.2.1 (Apple M1 mac)
🌐 Browser
Firefox
🐋 Docker Version
N/A
🟩 NodeJS Version
16.10.0
📝 Relevant log output
No response

Since what you described here is a very basic scenario, reproduction steps are needed.
Also you may need to check:

The error of the last beat (Hover the beat to see)
The last checking datetime
Were you actually update the correct input field? For example, some users input the service URL as "Friendly Name".
Your server's outgoing network

The last error was "Connection timed out", since the host stopped responding when the DNS went down
The last check date was today, every 30 seconds. Meaning it does "check" the status, but never updates it
Yes I am sure the the URL was in the correct field, as the status updated as soon as I restarted Uptime Kuma, without changing anything
The server's outgoing connection was active at the time.
This issue happened across 5 of my monitors.
Just for further info, I do use cloudflare, but none of the urls/services being checked is protected by cloudflare, because of the issues it causes. The status page itself is set to not cache anything.

At the same time, Uptime Robot, my backup monitoring, reported the status of all affected services correctly

If it is a public service, I would suggest that you should test in our live demo site:
https://demo.uptime.kuma.pet/

I will set up a test with the same setup as before to see if I can replicate the problem. Will give you feedback :)

Looks like this was a one time deal, so I'm going to close this issue for now


SharedPreferences not fetching data after Navigation

Setting a string on a page is ok, but SharedPreferences keeps returning null after navigating to other page.
Is saves at first, but afterwards is lost, _preferenceCache display other values saved, but those that came from other pages aren`t listed anymore.
Could not figure out whats is going on, there is no error messages. What could it be?
plugin version: 2.0.7
Steps to Reproduce

On Page 1, setString.
creating a new variable and calling getString confirms that it was saved
Navigate to Page 2
Before initState, load the same string in some method
It returns Null, even if it is inside getInstance.then(...);
If Navigate afterwards to Page 3, will returns null
Same goes for both android and ios

Expected results:

just be able to read de string/value after navigation as expected

Logs
flutter doctor -v
[✓] Flutter (Channel stable, 2.2.3, on macOS 11.5.2 20G95 darwin-arm, locale
    en-US)
    • Flutter version 2.2.3 at /Users/user/develop/flutter
    • Framework revision f4abaa0735 (8 weeks ago), 2021-07-01 12:46:11 -0700
    • Engine revision 241c87ad80
    • Dart version 2.13.4
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at /Users/user/Library/Android/sdk
• Platform android-30, build-tools 30.0.3
• Java binary at:
/Library/Java/JavaVirtualMachines/jdk-16.0.1.jdk/Contents/Home/bin/java
• Java version Java(TM) SE Runtime Environment (build 16.0.1+9-24)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 12.5.1, Build version 12E507
• CocoaPods version 1.10.1
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[!] Android Studio (version 2020.3)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
✗ Unable to find bundled Java version.
• Try updating or re-installing Android Studio.
[✓] Connected device (2 available)
• iPhone 8 (mobile) • 111CE349-0ACC-4019-BF24-4BFB21A283CE • ios
• com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
• Chrome (web)      • chrome                               • web-javascript
• Google Chrome 92.0.4515.159
! Doctor found issues in 1 category.

jnitState is a not an async function
Shared preferences getString function is an async function
You can use FutureBuilder on page 3 to achieve this

@varadkulk , the Widgets tree are already in a Future Builder. There is other sequential methods before initState in the other hand, but all are async and can read values saved after pushing the route. The problem is that the value saved before is lost at all, while the others are ok.
In example:

 //inside Page2 (stfull widget) class

    void _loadFirst() async {
    await SharedPreferences.getInstance().then((appsets) {
    _varA = appsets.getString("var1"); //set on previous page
    _varB = appsets.getString("var2"); //set elsewhere in a latter moment

    print(_varA); //returns null
    print(_varB); //returns it value as expected

    _loadSecond();
            });
        }

    void _loadSecond() {
         String _test = _varA;
         print(_test); //stills null
    }

      @override
      void initState() {
        _loadFirst();
        super.initState();
      }

<
// at Widget build  (already in Future Builder)
Text(_varA), //stills null
Text(_varB), //success
So in this scenario, the only problem is that the value from setString("var1")  on Page 1 are being lost after:
Navigator.pushNamedAndRemoveUntil(context, "/page2", (_) => false);

@varadkulk Please share the minimal and complete reproducible code to better address the issue.
Thanks.

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.


Update release.yaml

Bump cloud event server image tag to db82d5d.
It introduce better message UI experience

/approve


Keep aspect ratio on resize

Please, it would be great to keep an aspect ratio while resizing :)

The plugin uses Interact.js to handle drag&drop, resize, etc. This lib has an option to (squere resize)[http://interactjs.io/docs/#resize-square]. Would this be an solution? If yes then it's very easy to add wrapper for it.

Hey @marverix that would work perfectly for me.
I have a bunch of video elements in the DOM, and trying to figure out the best way to resize them (while maintaining) aspect ratio. Currently just going to stretch the videos to fit the container (and then fixing to match the aspect ratio after the user is done) but that isn't the best experience.

Hey @Sean-Der,
I have just tried out this squereResize from Interact.js and it seems that... doesn't work. Not sure why and to be honest right now I don't have time to deeper investigation. But I have a feeling that it will be much more easier to implement own keep aspect ratio feature then forcing this library to do it. Maybe in some free time I will dig deeper.

Hi,
This option would be nice and I believe it was supported at some point:
https://github.com/jbaysolutions/vue-grid-layout/blob/master/src/components/GridItem.vue#L793
I suspect this  preserveAspectRatio: true should have been changed when upgrading the interactjs library (migration docs see the aspectRatio section).
Not sure who is the project maintainer so would it be worth creating a merge request for this?

Hi,
This option would be nice and I believe it was supported at some point:
https://github.com/jbaysolutions/vue-grid-layout/blob/master/src/components/GridItem.vue#L793
I suspect this  preserveAspectRatio: true should have been changed when upgrading the interactjs library (migration docs see the aspectRatio section).
Not sure who is the project maintainer so would it be worth creating a merge request for this?

@validide sure, submit a PR please. Thanks

@validide sure, submit a PR please. Thanks

Fixed by adding preserveAspectRatio prop on GridItem. Available on release 2.3.12

Fixed by adding preserveAspectRatio prop on GridItem. Available on release 2.3.12


[Feature] support lua UDF

Proposed changes
support lua udf
Types of changes
What types of changes does your code introduce to Doris?
Put an x in the boxes that apply

[ ] Bugfix (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 not work as expected)
[ ] Documentation Update (if none of the other choices apply)
[ ] Code refactor (Modify the code structure, format the code, etc...)

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[x] I have created an issue on (Fix #5977 ) and described the bug/feature there in detail
[ ] Compiling and unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] If these changes need document changes, I have updated the document
[x] Any dependent changes have been merged

Further comments
later we could support lua JIT

how to support multiple lua files such as use some package

how to support multiple lua files such as use some package
We could use some Lua Package Utils to pack them to a single File, such as lua-amalg

Is there anyone willing to review my feature ?


mv create bug

Information

Server version:
This server is running CraftBukkit version 3242-Spigot-6c1c1b2-d3cc412 (MC: 1.17.1) (Implementing API version 1.17.1-R0.1-SNAPSHOT)

Full output of /mv version -p: link version

Server log: There was nothing, just an error

Description
Link to wiki
Using the command reference of multiverse, the example that its show, doesn't work.
Because i was trying to make a world of only water and.....
Expected behavior
Create a world without error.
In console doesn't appear nothing in 1.17 (lastest version)
Screenshots
Screenshot

Do include your server log.

link
There is nothing strange

Yea, I cant tell as well if you just screenshot 5 lines of logs.

here u have

Do you even have a plugin named WaterWorlds installed? Your logs don't contain the startup so cant tell. If so, will be good you link me to that custom generator plugin as well.


Cannot import already existing documents into Elastic App Search.

In the process of importing already existing documents into elastic app search, I met the error below.
It probably happens when there is so many existing data, would you tell me how to handle pagination?
if my prediction is wrong, please let me know.
Importing all documents from collection TestItem
Error retrieving documents for collection TestItem
node:internal/process/promises:279
            triggerUncaughtException(err, true /* fromPromise */);
            ^

Error: 9 FAILED_PRECONDITION: The requested snapshot version is too old.
    at Object.callErrorFromStatus (/Users/anony/.npm/_npx/11cf0a7e07b5396a/node_modules/@grpc/grpc-js/build/src/call.js:31:26)
    at Object.onReceiveStatus (/Users/anony/.npm/_npx/11cf0a7e07b5396a/node_modules/@grpc/grpc-js/build/src/client.js:331:49)
    at Object.onReceiveStatus (/Users/anony/.npm/_npx/11cf0a7e07b5396a/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:328:181)
    at /Users/anony/.npm/_npx/11cf0a7e07b5396a/node_modules/@grpc/grpc-js/build/src/call-stream.js:182:78
    at processTicksAndRejections (node:internal/process/task_queues:78:11)
Caused by: Error
    at CollectionGroup._get (/Users/anony/.npm/_npx/11cf0a7e07b5396a/node_modules/@google-cloud/firestore/build/src/reference.js:1519:23)
    at CollectionGroup.get (/Users/anony/.npm/_npx/11cf0a7e07b5396a/node_modules/@google-cloud/firestore/build/src/reference.js:1507:21)
    at main (/Users/anony/.npm/_npx/11cf0a7e07b5396a/node_modules/@elastic/app-search-firestore-extension/lib/bin/import.js:23:79)
    at Object.<anonymous> (/Users/anony/.npm/_npx/11cf0a7e07b5396a/node_modules/@elastic/app-search-firestore-extension/lib/bin/import.js:48:1)
    at Module._compile (node:internal/modules/cjs/loader:1097:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1151:10)
    at Module.load (node:internal/modules/cjs/loader:975:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
    at node:internal/main/run_main_module:17:47 {
  code: 9,
  details: 'The requested snapshot version is too old.',
  metadata: Metadata { internalRepr: Map(0) {}, options: {} }

The script is NOT built for lots of data:
https://github.com/elastic/app-search-firestore-extension/blob/master/functions/src/bin/import.ts#L34
It essentially tries to download all data at once in one go and then upload them in batches!
https://github.com/elastic/app-search-firestore-extension/blob/master/functions/src/bin/import.ts#L50
Also, there should be a way that after each batch a snapshot file is written, so that if the process gets killed or aborted it can get picked up from where it was stopped.


Policy DLLS_WITHOUT_EXPORTS

Is your feature request related to a problem? Please describe.
In ports for which shared libraries generate no export files (e.g. OSG), the post checks fail.
Proposed solution
See pull request.
Describe alternatives you've considered
Introduce a policy to ignore the post checks (VCPKG_POLICY_DLLS_WITHOUT_EXPORTS).

At least for the case of OSG, there are plugins which live without a lib and exp-file.
Second: In all normal cases, there is no use case to import these in any other library.
What I can think of is to combine the two checks (DLL_WITHOUT_LIB, DLL_WITHOUT_EXPORT) into one check. As normally a lib comes with an exp.
For now, these effects are seen in the port file which include some copy workarounds. If these changes are incorporated, the port file of OSG could be simplified.

maybe move the files into plugins/osg instead (like Qt plugins). VCPKG will not deploy any of the plugins if they are not visible with dumpbin or similar so a manual deployment will be necessary. If the files are in an extra folder deployment of the plugin becomes trivial.

What you describe is the approach we're coming from. In the OSG portfile the affected shared libraries are copied to another folder. But you have to take care of the changes afterwards again. IMO, this is a hack and should be replaced by this PR.

Close this issue via #9642 merged.


Added support for L4Proxy policy on network level

Added support for L4Proxy policy on network level

@netal Can you squash the commits into one? LGTM otherwise

Thanks @netal