text:
ROCm OpenCL support/plans

Please clarify plans for and status of the OpenCL compiler/runtime support in ROCm!
Not being able to use OpenCL applications on the compute-oriented stack nor having any official plan for when/if this will happen creates an awkward situation where many compute projects with compatible/tuned OpenCL code -- that some may call "loyal" -- are left behind without clear path for progress. Possibly even worse, these are the people likely most interested in testing/using/helping develop the compute stack and not involving them seems like a bad idea.

We have stated OpenCL will be comming to ROCm.    We had few thing to do first in the new compiler and runtime to support OpenCL. We have stated post 1.3 which is our next release we will be bring out Developer release of OpenCL.  It currently looking like mid November.  But understand we are still working on it so this subject to change.
If you need a solution on Linux right now for OpenCL we are shipping AMDGPU Hybrid Driver on Linux that will solve your current need to support OpenCL.
I really recomend you check out this Video on ROCm where we publicly talk about OpenCL comminig to ROCm http://insidehpc.com/2016/09/rocm/

I figured it be good to give you little more info with our transistion from proprietry code to Opensource, we had number of new component we need to put in place since not all of our exsting code would be usefull on the new platform.  Also we had to remove number of historical foundation componets and replace them with new solutions.
First big update is we moving to  our new native GCN ISA compiler. We holding to our promise we make the stack opensource. .It is big shift for us since we are no longer leveraging the our historical two stage compiler architecture.
- First Pass was a high level LLVM based Compiler which did code generation to an IL( AMDIL or HSAIL).
- Second pass was we took binary of this IL then compiled it via our propritary shader compiler.
The LLVM native GCN ISA code generator has already been upstreamed http://llvm.org/docs/AMDGPUUsage.html. Also we now have released the Device libs for https://github.com/RadeonOpenCompute/ROCm-Device-Libs where you find the math intrinsics for OpenCL already.
Next we had  work to do on the upstream version CLANG OpenCL Frontend  to bring it up to capbility of our internal front end.  You see we have been active here.
We also want to make sure what we bring out passes OpenCL conformance
So there are lots of sub componets we had to pull back togther and make them clean for comunity.

repo: RadeonOpenCompute/ROCm


text:
correspondence of the image and label format

can i use the ‘.dcm’ of the image and the ‘.nrrd’ of mask？

@cpuxzb, depends on your type of data. If your .dcm image is the only image file then yes. If it's part of a series consisting of multiple slices then you'll have to first convert your dicom series to a single-file format like niftii or nrrd (you could use dcm2niix for this).
PyRadiomics supports the image formats supported by SimpleITK. In fact, it reads the files separately and stores it in SimpleITK.Image objects. So long as the mask is contained within the image bounds, you can extract features.

@cpuxzb, depends on your type of data. If your .dcm image is the only image file then yes. If it's part of a series consisting of multiple slices then you'll have to first convert your dicom series to a single-file format like niftii or nrrd (you could use dcm2niix for this).
PyRadiomics supports the image formats supported by SimpleITK. In fact, it reads the files separately and stores it in SimpleITK.Image objects. So long as the mask is contained within the image bounds, you can extract features.

But I did not see support for the dicom format in the official documentation of SimpleITK.

Right, Joost is saying you use a tool like dcm2niix to convert dicom to
something SimpleITK can read.
On Thu, May 23, 2019 at 1:16 AM destinybuilt notifications@github.com
wrote:

@cpuxzb https://github.com/cpuxzb, depends on your type of data. If
your .dcm image is the only image file then yes. If it's part of a series
consisting of multiple slices then you'll have to first convert your dicom
series to a single-file format like niftii or nrrd (you could use dcm2niix
for this).
PyRadiomics supports the image formats supported by SimpleITK. In fact, it
reads the files separately and stores it in SimpleITK.Image objects. So
long as the mask is contained within the image bounds, you can extract
features.
But I did not see support for the dicom format in the official
documentation of SimpleITK.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Radiomics/pyradiomics/issues/488?email_source=notifications&email_token=AAA6Y7KFSK4DFSKEEEGODW3PWYSDFA5CNFSM4HN6B73KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWBC2KA#issuecomment-495070504,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAA6Y7NKJPDTDI6WGHA6M7LPWYSDFANCNFSM4HN6B73A
.

@cpuxzb，取决于您的数据类型。如果您的.dcm图像是唯一的图像文件，那么是。如果它是由多个切片组成的系列的一部分，那么你必须首先将你的dicom系列转换为单文件格式，如niftii或nrrd（你可以使用dcm2niix）。
PyRadiomics支持SimpleITK支持的图像格式。实际上，它分别读取文件并将其存储在SimpleITK.Image对象中。只要掩码包含在图像边界内，就可以提取特征。

Thank you for your reply.It‘s very helpful to me，i will try it.

@cpuxzb, the xxxx_image.nii file is the one that goes into "Image" input, and xxxx_label.nii file goes into "Mask" input. PyRadiomics actually requires you to have a single image file AND and single mask file to extract features. Combined with the label parameter ("Label" input) (identifying which voxels in the mask file indicate the desired ROI), this represents one "case".
In batch mode, multiple cases can be extracted using multithreading. Cases can be e.g.

1 image file with multiple mask files (1 file per case of course)
1 image, 1 mask, but different values for the label

i.e. multiple ROIs in a single mask file

multiple image files with one mask file

e.g. single ROI, multiple sequences
each file should define a physical space that contains the entire mask --> NOT multiple files that define 1 region (such as dicom, with each file storing a single slice)

multiple image files with multiple mask files (e.g. multiple patients)

@destinybuilt, @pieper, As far as I know SimpleITK does read DICOM files without issue, even if it doesn't have the '.dcm' extension (I assume it checks the DICM preamble in the file to check if it's a valid dicom). However, this can only read a single file at a time and therefore should not be used for reading 3D volumes.
Moreover, SimpleITK does also have a dicom series reader, where you can pass a list of dicom files, but this code does not support the ordering of slices based on direction and image posisition (patient), which is the official DICOM way of ordering slices, which is why we prefer alternative conversion tools.

There is code in ITK, to do some sorting of dicom files by position and orientation, and it's exposed in SimpleITK.  But it only handles some general cases, like an equally spaced set of CT slices.  So it can be very confusing for users if their data doesn't conform.  That's why we typically suggest people get comfortable with their acquisitions, e.g. by looking at them in Slicer and then use a batch conversion using dcm2niix.

source: gharchive/issue

authors: JoostJM cpuxzb destinybuilt pieper

repo: Radiomics/pyradiomics

license_type: permissive

license_source: bigquery


text:
Database Disappears When Row Is Deleted

Describe the bug
The database disappears when a row is deleted and has to be manually reloaded by clicking on another note and then clicking back on the database file.
To Reproduce
Steps to reproduce the behavior:

Delete row to be deleted. (This will make the database disappear.)
Click on another note to reload the database.
Click back on the database to see change.

Expected behavior
Database should not disappear when a row is deleted.
Screenshots
See attached video screen capture.
Desktop (please complete the following information):

OS: masOS Monterey - Version 12.5.1
Version: Obsidian Version 0.15.9 (Installer 0.15.8); DB Folder Version 2.3.3

https://user-images.githubusercontent.com/106125987/188205014-25a5fc9d-e5ba-4fde-9c6b-af83d834133a.mov

yes, looks like an error introduced with 3.2.2, I will give this priority. Thanks for the report

It does not happen always, I am trying to know the cause.
The plugin storage looks solid, but in some cases refreshing react-table framework does not rake the change and provokes a null pointer with the deleted ID
clues:

zustand does not send the refresh signal
react-table bug filtering rows
zustand refresh the page before remove the row, so there is and async concurrent problem (worst scenario and the most likely

fixed!
implementation.actions.removeRow = async (rowToRemove: RowDataType) => {
            try {
                await VaultManagerDB.removeNote(rowToRemove.__note__.getFile());
                set((state) => {
                    const filteredRows = state.rows.filter(
                        (r) => r.__note__.filepath !== rowToRemove.__note__.filepath
                    );
                    return {
                        rows: filteredRows
                    }
                })
            } catch (error) {
                new Notice(`Error: Could not remove note from database. path does not exist: ${rowToRemove.__note__.filepath}`);
            }

        };

Was the third option =) Will be avaliable with the next minor version

Wow! Awesome! Thank you for all of your hard work!

repo: RafaelGB/obsidian-db-folder

license: MIT

license_source: github-api


text:
[FR]: Custom sorts

Contact Details
danny@dannyhatcher.com
Present your request
Add a custom sort order for column information.
The select and multi-select columns in specific... the order they are in the settings can be moved to represent the display order.
Currently, I need to use numbers.
For which platform do you request this request??
Desktop

I tried to create a drag and drop last week but requires more work than it was expected
I was thinking about to refactor that options with a react component instead of the obsidian native one to allow the ordering.
Currently I am working on the core architecture for future massive changes but will be attended as soon as possible

authors: DannyHatcher-Git RafaelGB


text:
SMTP Connection to server not possible

Hi all,
I have the issue that rainloop does not connect to all necessary SMTP servers. (Installed version is 1.6.9.167) The server I want to connect to is the mailserver for my own domain, hosted by a Third-Party Unit. Hence I do not have access to the Webserver itself. When I provide the address of my SMTP server to rainloop and click "Testconnection" it test for about 5 seconds and then says "Connection Timeout". If I connect this SMTP server with other Webbased sending tools (GMAIL,GMX,...) I perfectly can connect to this SMTP server and also send mails.
The security settings have been checked and compared with the working PHP Webmailers. Additionally I changed the security settings within Rainloop to verify whether there is another Sec. setting necessary but then after "Test Connection" it directly says "Connection Timed out"
According to my test I assume that the server in general is reachable but does not accept the SMTP request via PHP.
This brings me to my questions:

Are you able to determine the difference between Rainloop and other WebmailClients and Make the same changes to the Rainloop PHP SMTP send script?
Is this a known behaviour and do you have any information I can provide to my administrator like: "Change this setting and this setting and it works like charme....." ;-)
According to the Changelog New Version 1.6.10.182 doesn't solve this behaviour, should I install anyway?
Can I do anything directly for testing and providing you the corresponding information?

Many thanks for your support
Numelle

i am having the same problem.... but with a block550... how to fix it??? thanks...

repo: RainLoop/rainloop-webmail


text:
Feature request some mouse shortcuts

Add a Delete context menu.
Allow replacing text with right click paste

Reason for request is brought on by this frustration
https://user-images.githubusercontent.com/60384196/162810350-dca7acaf-e8c3-4f5f-90a2-2372dbebd9ea.mp4
Ignore the fact the serial I used does not have updates
I use a mouse and OSK because of a toddler. So mouse shortcuts are kind of essential.
If you're eagle eye you'll see every time I right click the text unhighlights preventing text replacement with the next serial.

Add a Delete context menu.

Eh, no harm done in a Clear option on the context menu, shouldn't be too bad.

every time I right click the text unhighlights preventing text replacement with the next serial.

Idk if i can make egui not deselect the text when right clicking. If I can't, then I'll leave that as is, since a Paste option that unconditionally nukes the existing text is probably more annoying imo.
You can do Ctrl+A, and then Ctrl+V to select all the text and replace with the clipboard's contents.

That should work thanks


text:
[Feature] Animated Stylish Footer

Description
Add a stylish footer where some animated objects are moving
Screenshots

Checklist

[X] I have checked the existing issues.
[X] I follow Contributing Guidelines of this project.
[X] I am a IWOC'24 contributor.
[ ] I am a JWOC'24 contributor.
[ ] I am a SWOC'24 contributor.

Code of Conduct

[X] I agree to follow this project's "Code of Conduct".

Proceed @AbhineshJha


text:
Added Teddy Button

Fixes Issue🛠
Closes #1024
Description👨💻

Added Teddy Button which will eject a teddy bear with parachute on click.
Type of Change📄

[X] New feature (non-breaking change which adds functionality)

Checklist✅

[X] I am an Open Source contributor
[X] I have performed a self-review of my code
[X] My code follows the style guidelines of this project

Screenshots/GIF📷

Check the deploy preview, the Teddy Button web page is changing to this page after 1-2 seconds, pls fix @Archiesachin

@Rakesh9100 I was previously using a trial version of Physics2D gsap, but since it is not working in deployment mode, I have changed my Javascript code to purely JS physics so it will not be a problem anymore.

source: gharchive/pull-request


text:
[Style] Make Age Calculator Responsive

What's the style idea?
We need to improve the responsiveness of Age Calculator. The contents of the age calculator doesn't seem to fit inside in mobile view. I would like to increase the padding inside.

Checklist

[X] I have checked the existing issues.
[X] I follow Contributing Guidelines of this project.
[X] I am a GSSOC'24 contributor.
[ ] I am a IWOC'24 contributor.
[ ] I am a JWOC'24 contributor.
[ ] I am a SWOC'24 contributor.

Code of Conduct

[X] I agree to follow this project's "Code of Conduct".

I WOULD LIKE TO JOIN THE PROJECT
Please Assign it to me

Go ahead @m3kvt


text:
Water Intake Calculator

Create a calculator that helps users determine their daily water intake based on factors such as body weight, activity level, and climate.

Hi @Rakesh9100 please assign
SWOC24

Go ahead @ShatilKhan


text:
Added Savings Goal Calculator.

Fixes Issue🛠

Closes #1507
Description👨💻

This calculator helps you determine how much you need to save each month to reach your savings goal. By providing the total savings goal, current savings, and the time period (in months), the calculator computes the required monthly savings to achieve the goal.
Type of Change📄

[ ] Bug fix (non-breaking change which fixes a bug)
[x] New feature (non-breaking change which adds functionality)
[ ] Style (non-breaking change which improves website style or formatting)
[ ] Documentation (non-breaking change which updates or adds documentation)
[ ] Responsiveness (non-breaking change which improves UI/UX on different screen sizes)

Checklist✅

[x] I am an Open Source contributor
[x] I have performed a self-review of my code
[x] My code follows the style guidelines of this project
[x] I have commented on my code, particularly in hard-to-understand areas

Screenshots/GIF📷

@Rakesh9100 This PR is reviewed & can be merged.


text:
any operators with '>' or '<' like e.g.  '==>' generate '== >' in header of page

Html escaping problem
The header at the top of a doc page shows e.g. infix <== for an explanation of <==. This should show infix <==.  This goes for all operators where a < or > is involved.
Example pages are infix =>, syntax << and infix <==.

@coke This is a duplicate of another issue, which has been solved, I think. @2colours is there an example of this in the current doc-site? If so, I will fix

@finanalyst 2 out of the 3 provided links (https://docs.raku.org/routine/=> and https://docs.raku.org/routine/<== ) have this problem in the title

@2colours Yes a different problem to the one where ==> was incorrect in the search candidates.

@2colours @labster @coke @MARTIMM  I fixed the issue, which was in the secondaries plugin. <head><title>... for each secondary page was generated from HTML escaped name, but should be an un-escaped string. Also took opportunity to enhance secondaries by adding a Table of Contents, and improve information for search engine.
The patches are visible on new-raku see routine/=%3E
Patch for doc-website soon

closing as completed

authors: 2colours MARTIMM finanalyst

repo: Raku/doc-website


text:
Add a practical example of class introspection

The problem
The current docs do not show a practical, simple, and safe example of the use and implementation of class introspection. This PR attempts to rectify the problem.
Solution provided
Text was added in a new =head2 section to the end of the classtut.pod6 file. The example was tested locally.

Damian, perhaps?

Closing. Will fix and resubmit,

authors: coke tbrowder

repo: Raku/doc


text:
Fix incorrect format for VRG log message

Fixes #390
Signed-off-by: Shyamsundar Ranganathan srangana@redhat.com

There is one more in line 1803.  There a key (namespacedName) is provided without a value.

There is one more in line 1803. The key (namespacedName) is provided without a value, at which it will panic if it hits that line.

Addressed, and rechecked all logs once more in the file...

authors: BenamarMk ShyamsundarR

repo: RamenDR/ramen


text:
Como aumentar a capacidade de caracteres nesse campo , na parte de adicionar produtos

Tem de ser diretamente na base de dados. tabela produtos, em estrutura da tabela editar o campo descricao e alterar o valor de 80 para o valor de caracteres que necessitam.

Ola´poderia me dizer o passo a passo, aonde eu encontro essa tabela?

Tens de utilizar o phpmyadmin para executar esses passos

eu  uso hostgator

entrei aqui, aonde eu iria agora

Abra a base de dados "vander"

seleccione a tabela produtos

mas tem 2 ali

Só a que diz servicos

agora em cima ao lado de "procurar" seleccione "estutura"

clique em "Mude" na linha do "nome"

Agora é so alterar a campo "Tamanho/Valores" para o valor que desejar. O valor é o nr de caracteres. Depois é só guardar

sabe qual é o maximo permitidow

O máximo permitido é o que você lá colocar se colocar 1000 ou 2000 é o limite imposto por sí

Show, valeu funcionou, agradecido

Parece que o problema foi resolvido e com isso vou fechar a issue.
Caso ainda precise de ajuda pode ainda comentar.

authors: Claudiomfa Pr3d4dor cftvseginfo


text:
Update homework_3.sql

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
Adding code
What did you learn from the changes you have made?
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
How were these changes tested?
A reference to a related issue in your repository (if applicable)
Checklist

[ ] I can confirm that my changes are working as intended

HW3 marked.

authors: Rantitope SidraBushra

repo: Rantitope/sql


text:
Added removeaddress console command

This allows the user to remove a watch-only address, closes #94

Rworking for new development.


text:
ERROR! Syntax Error while loading YAML.

I'm trying install the rasa x community according to this  http://rasa.com/docs/rasa-x/deploy/#quick-installation
But  ı getting the following error after run sudo bash ./install.sh command
Python version:
python 3.6.7
Operating system (windows, osx, ...):
linux  ubuntu 4.15.0-42-generic
Issue:
ERROR! Syntax Error while loading YAML.
  mapping values are not allowed here

The error appears to be in '/home/harun/rasa/rasax/rasa_x_playbook.yml': line 57, column 11, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

  - name: Create the directory for the database persistence
      file:
          ^ here

I solved.The problem is incorrect syntax of the yaml file. I fixed it for now.
https://github.com/harunkelesoglu/rasa-x-release/blob/master/rasa_x_playbook.yml

That should be part of the latest release by now, right @wochinge?

Yes, this will be part of the next release (0.19.1)

i'll close this then

authors: akelad harunkelesoglu wochinge

repo: RasaHQ/rasa


text:
Resolve environment variables in endpoints.yml

Rasa Core version:0.11.6
Python version: 3.6
Operating system (windows, osx, ...): linux
Issue:
In my endpoints.yml
nlu:
  url: ${NLU_URL}
  params:
    - model_name: ${NLU_MODEL}
    - project_name: ${AGENT}
nlg:
  url: ${NLG_URL}

I have environment values. I have also tried directly putting the URL, model name and project name.
NLG started working but not the NLU, is there something wrong with the params?

Thanks for raising this issue, @tmbo  will get back to you about it soon.

@souvikg10 which script is it you are passing that into?
concerning nlu: there is no params: - for the moment model_name and project_name need to passed in using the cli flags: --nlu project_name/model_name
not sure env's are resolved automatically

I like the idea of using env's in the yml, might make sense to add this: https://stackoverflow.com/a/52412796/1906073

@tmbo my NLU is running on a different server
my yaml is looking like this for now
nlu:
  url: http://localhost:5000?project_name=project_name&model_name=model_name
nlg:
  url: http://localhost:5056/nlg
action_endpoint:
  url: "http://localhost:5055/webhook"

without the env variables
will this work?

yes that is looking good :+1:

Okay, I will try this for now
But yeah since we spin up containers in Kubernetes, environment variables helps us to load a container with a particular model and then rasa core is calling that NLU model based on the environment. Since we run multiple chatbots, orchestration is done using env vars. It would be nice to pass the vars in the yaml file

There is an open PR #1283 related to this

since it's been merged i'll close! let me know @souvikg10 if there's still anything open that wasn't covered by that PR

authors: akelad souvikg10 tmbo


text:
error when installing Rasa_core

Rasa Core version:
Python version: 3.5.6
Operating system (windows, osx, ...): windows
Issue:
I'm getting the following error when I install Rasa_core  on anaconda prompt.
when i type :pip install rasa_core
(base) C:\Users\Thendo\rasa_core>pip install rasa_core
Collecting rasa_core
Using cached https://files.pythonhosted.org/packages/9a/4d/934f16187b3366cc6d9296f4264bbff7e6da10203358a5a1227799eb7a44/rasa_core-0.11.12-py2.py3-none-any.whl
Requirement already satisfied: pytz~=2018.4 in c:\programdata\anaconda4\lib\site-packages (from rasa_core) (2018.5)
Collecting rasa-core-sdk~=0.11.0 (from rasa_core)
Using cached https://files.pythonhosted.org/packages/ef/6a/af1e7ff34d9546b5f6da6119fc5c9610e0c77d2717ffb3e99af1bf8c3d07/rasa_core_sdk-0.11.5-py2.py3-none-any.whl
Collecting pika~=0.11.2 (from rasa_core)
Using cached https://files.pythonhosted.org/packages/76/b4/0ada6918ac79ce4d8d45d0ba436ee21a1ef685047fb1dde4d2de0178b327/pika-0.11.2-py2.py3-none-any.whl
Collecting apscheduler~=3.0 (from rasa_core)
Using cached https://files.pythonhosted.org/packages/97/3a/fa3213cc325091b7729616594611fff31d72c2d4d590418c3efdf7424ae2/APScheduler-3.5.3-py2.py3-none-any.whl
Collecting terminaltables~=3.1 (from rasa_core)
Using cached https://files.pythonhosted.org/packages/9b/c4/4a21174f32f8a7e1104798c445dacdc1d4df86f2f26722767034e4de4bff/terminaltables-3.1.0.tar.gz
Collecting mattermostwrapper~=2.0 (from rasa_core)
Using cached https://files.pythonhosted.org/packages/93/70/203660597d12788e958dd691aa11c3c29caa075eadb2ce94d2eb53099d1b/mattermostwrapper-2.1-py2.py3-none-any.whl
Requirement already satisfied: networkx~=2.0 in c:\programdata\anaconda4\lib\site-packages (from rasa_core) (2.1)
Exception:
Traceback (most recent call last):
File "C:\ProgramData\Anaconda4\lib\site-packages\pip_internal\basecommand.py", line 228, in main
status = self.run(options, args)
File "C:\ProgramData\Anaconda4\lib\site-packages\pip_internal\commands\install.py", line 291, in run
resolver.resolve(requirement_set)
File "C:\ProgramData\Anaconda4\lib\site-packages\pip_internal\resolve.py", line 103, in resolve
self._resolve_one(requirement_set, req)
File "C:\ProgramData\Anaconda4\lib\site-packages\pip_internal\resolve.py", line 262, in _resolve_one
check_dist_requires_python(dist)
File "C:\ProgramData\Anaconda4\lib\site-packages\pip_internal\utils\packaging.py", line 46, in check_dist_requires_python
feed_parser.feed(metadata)
File "C:\ProgramData\Anaconda4\lib\email\feedparser.py", line 178, in feed
self._input.push(data)
File "C:\ProgramData\Anaconda4\lib\email\feedparser.py", line 104, in push
self._partial.write(data)
TypeError: string argument expected, got 'NoneType'

Content of domain file (if used & relevant):

Have you tried uninstalling tensorflow, tensorboard and other requirements from pip?
Uninstall them and also remove the cache.
use pip show <package> to get the directory and delete the package files after uninstalling from pip pip uninstall <package>.
This issue is caused due to the cache found in the directory.
After uninstallation; install the packages (with the right version)
Also try updating pip, maybe its just that.
I have had issues like this (especially when installing keras) this worked!
Let me know.

What @stalinsabu says sounds good, let me know if that works

authors: akelad nmakhado10 stalinsabu


text:
FormAction class submit() function

Rasa Core version: 0.9.6
Python version: 3.6.5
Operating system (windows, osx, ...): osx
Issue:
I am trying to use the FormAction class to fill all my required slots and, after looking through the "Slot Filling and Common Patterns" tutorial on the rasa core website, I am confused as to how to alter the submit() function (my chatbot isn't required to make any API calls) as well as what this function even does. Any guidance is appreciated!
This is what my bot.py file looks like so far:
from rasa_core.actions import Action
from rasa_core.actions.forms import FormAction
from rasa_core.actions.forms import EntityFormField, BooleanFormField
from rasa_core.events import SlotSet

class ActionSetup(FormAction):

    RANDOMIZE = False

    @staticmethod
    def required_fields():
        return [
            EntityFormField("name", "name"),
            EntityFormField("time", "goal_bedtime"),
            EntityFormField("time", "avg_bedtime"),
            EntityFormField("timezone", "timezone")
        ]

    def name(self):
        return 'action_setup'

    def submit(self, dispatcher, tracker, domain):
        results = RestaurantAPI().search(
            tracker.get_slot("name"),
            tracker.get_slot("goal_bedtime"),
            tracker.get_slot("avg_bedtime"),
            tracker.get_slot("timezone"))
        return [SlotSet("search_results", results)]

Content of domain file (if used & relevant):

in submit function, you just return []  for doing nothing.

if i leave it as return[] will my slots be updated?

Yes, if they have the same names as your entities, then they'll be updated automatically as the conversation goes

@andreamtang  could you please share your codes here? ..
I m new with this and now I m in the progress to learn how to implement FormAction..
many thanks

For FormAction, in the domain.yml file, you need to add the following under slots:
requested_slot:
  type: unfeaturized

and add the following under actions:
- actions.[NameOfYourAction]
And here is an example of a story in the stories.md file:
## Generated Story 2629288407567792433
* greet
    - utter_greet_introduction
    - action_setup
    - slot{"requested_slot": "PERSON"}
* inform{"PERSON": "Nicolas"}
    - slot{"PERSON": "Nicolas"}
    - utter_ack_PERSON
    - action_setup
    - slot{"requested_slot": "goal_bedtime"}
* inform{"time": "2018-07-01T00:00:00.000Z"}
    - utter_ack_general
    - action_setup
    - slot{"goal_bedtime": "2018-07-01T00:00:00.000Z"}
    - slot{"requested_slot": "avg_bedtime"}
* inform{"time": "2018-07-01T04:00:00.000Z"}
    - utter_last_question
    - action_setup
    - slot{"avg_bedtime": "2018-07-01T04:00:00.000Z"}
    - slot{"requested_slot": "timezone"}
* inform{"timezone": "pacific daylight time"}
    - slot{"timezone": "pacific daylight time"}
    - utter_ack_first_weekly_goal

@akelad all the examples on the net refer to the restaurantAPI which is stated in the restaurant example in the documentation.
It is not clear how to use the form action or the FreeTextFormField.
Is it working?

authors: HCIS2020 Primtek akelad andreamtang tarunbhavnani


text:
Pass default directory to interactive learning

Rasa Core version:
0.12.x
Python version:
2.7.15
Operating system (windows, osx, ...):
Ubuntu
Issue:
When training interactively, the default output paths are taken only from the hard-coded PATHS variable in the interactive.py:

PATHS = {"stories": "data/stories.md",
         "nlu": "data/nlu.md",
         "backup": "data/nlu_interactive.md",
         "domain": "domain.yml"}

def _request_export_info():
    ...
    # export training data and quit
    questions = [{
        "name": "export stories",
        "type": "input",
        "message": "Export stories to (if file exists, this "
                   "will append the stories)",
        "default": PATHS["stories"],
        "validate": validate_path
    }, {
        "name": "export nlu",
        "type": "input",
        "message": "Export NLU data to (if file exists, this "
                   "will merge learned data with previous training examples)",
        "default": PATHS["nlu"],
        "validate": validate_path
    }, {
        "name": "export domain",
        "type": "input",
        "message": "Export domain file to (if file exists, this "
                   "will be overwritten)",
        "default": PATHS["domain"],
        "validate": validate_path}]
    ...

Instead, it would be helpful to define the defaults through command-line arguments (or possibly a config). Otherwise you have to type the output path again and again for every training session.

awesome thanks!

authors: akelad smn-snkl


text:
Fixed spacy minor version

Proposed changes:

Fixed spacy minor version to avoid the numpy conflict with tensorflow (RasaHQ/rasa_core#1336)

Status (please check what you already did):

[ ] made PR ready for code review
[ ] added some tests for the functionality
[ ] updated the documentation
[ ] updated the changelog

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks a lot :+1: - we'll release a new minor to fix the installation issue

;)

authors: CLAassistant jramcast tmbo


text:
Should the struct metadata count towards the initial capacity argument?

https://github.com/Ratstail91/Toy/blob/07797983475781057eb0decd0f62b306f73d5cc0/source/toy_bucket.c#L14
I could simply subtract sizeof(Toy_Bucket) from the capacity argument.

No.

license: Zlib


text:
Some varaible meaning question

Dear author, There are  some variaibles I don't understand.
what is meaning about  'lev' , 'U', and 'V'. Thanks a lot!

By convention, "lev" means level, which is used as vertical dimension. "U" and "V" are eastward and northward components of wind vector.
Note:
This program does not support rendering multi-levels wind field, so lev dimension should always be 1

By convention, "lev" means level, which is used as vertical dimension. "U" and "V" are eastward and northward components of wind vector.
Note:
This program does not support rendering multi-levels wind field, so lev dimension should always be 1

thanks for your

authors: RaymanNg wangzwswip


text:
some rendering bugs

hey @RazrFalcon
just tried resvg-explorer-extension.exe and it works pretty well. i'm attaching some svgs that it doesnt render properly.
i'm not sure how much of this has to do with lack of css support, but some bugs (like positioning issues) look legit.
also, huge thanks for svgcleaner and resvg!
bad-render-resvg.zip

That's was a stupid mistake. Thanks.
I will publish a new release soon.
Fixed by https://github.com/RazrFalcon/resvg/commit/cd7f66bcb3d3ac7078adc0bec8c63c0ca15839cc

sweet, thanks!

authors: RazrFalcon leeoniya

repo: RazrFalcon/resvg


text:
Weird issue on how line_comment works

I'm creating a elm atom package using your library and a strange thing happened
I map line_comments as comments in the css class in atom,
and this happens

Not sure why, since I could not find the source of externals in the source code

Relevant file is https://github.com/Razzeee/tree-sitter-elm/blob/master/src/scanner.cc
Can you please post the complete example code? I can look at it on monday

Sure, you can find it here: https://github.com/GrayJack/language-elm-treesitter/blob/master/grammars/tree-sitter-elm.cson#L32

https://github.com/Razzeee/tree-sitter-elm/pull/25 should fix this. It might also affect the negate_expr.

I think I never saw a negate expression, can you give me a example?

Well it's at least what we parse it as :)
https://github.com/Razzeee/tree-sitter-elm/blob/7821b8a941badf11cade7496c0acf41e03bfba8a/corpus/basic.txt#L99

Seems like it didn't fix, in my repo, I did use the new branch and still nothing

Did you actually rebuild it, via npm run build? I'm very confident, that the error you mentioned is fixed by this :)

Maybe I did forget, will double check as soon as I can, sorry for the trouble

Looks like the problem is that apm have to run that, but atom actually expects to be already done.
Can you help me out with this? Kinda lost, not very used with JS stuff, how ca I make my atom package run that before installing?

Should I just publish it on npm? Would that help?
On Tue, Oct 15, 2019, 01:33 Eric Shimizu Karbstein notifications@github.com
wrote:

Looks like the problem is that apm have to run that, but atom actually
expects to be already done.
Can you help me out with this? Kinda lost, not very used with JS stuff,
how ca I make my atom package run that before installing?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Razzeee/tree-sitter-elm/issues/24?email_source=notifications&email_token=ABNLEZE45JQA6QMWLYSK5RDQOT6TFA5CNFSM4I74AAK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBG5Y3I#issuecomment-541973613,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABNLEZFBM24IY35FZW7I5CTQOT6TFANCNFSM4I74AAKQ
.

I think it would

Pushed a new release to npm and new release builds should shortly show up on github.
Please let me know if it solved it :)

Worked just fine now

authors: GrayJack Razzeee

repo: Razzeee/tree-sitter-elm


text:
Counter Example link broken

https://github.com/ReSwift/CounterExample is 404-ing :(

hi @mccannmax the link should be https://github.com/ReSwift/CounterExample-Navigation-TimeTravel if I'm not mistaken :beers:
PR https://github.com/ReSwift/ReSwift/pull/53

Yep! Fixed by #53. Thanks @mccannmax for pointing out and thanks @sendyhalim for fixing it!

authors: Ben-G mccannmax sendyhalim

repo: ReSwift/ReSwift

license: mit


text:
Failed to install .NET on Vista 32-bit

Hello,
At my work we use DotNetChecker to install .NET 4.0, usually on 64 bit Windows (7 and 8). However a client wanted to run it on Vista 32 bit and we tried and found that, while the .NET installer is downloaded, it doesn't even appear to start. This is with user level execution, not admin. I believe the .NET installer wants to get elevated permissions but the ExecWait call in the DotNetChecker script will fail in this case (correct me if I am wrong). One solution I found was using the StdUtils::ExecShellWaitEx macro like this. This works for me. However if there is some better way to solve this or if you want me to contribute this piece of code I would be glad to help.

An alternative would be if DotNetChecker.nsh be changed to break up the check/download/install actions into individual macros with the current CheckNetFramework performing all 3 (when required).
Then applications with RequestExecutionLevel admin can continue using the convenient CheckNetFramework macro and those using StdUtils or UAC plugins can implement their own variation of the install portion of the process (which may involve running the .NET installer with a runas verb or re-running the current NSIS installer with elevated privileges).

authors: gwicksted kouk

repo: ReVolly/NsisDotNetChecker


text:
Allow an array to be passed to Route.path

The react-router docs say that Route.path can be "Any valid URL path that path-to-regexp understands." According to the path-to-regexp docs, this includes an array of strings.
Passing an array of strings produces this error: Failed prop type: Invalid prop 'path' of type 'array' supplied toRoute, expected 'string'.
As a workaround, a regex can be passed in eg (/path1|/path2|/path3) but this is awkward. The use case is to allow multiple paths to cause a link to render as active.

Dupe of #4551.

authors: stickfigure timdorr

repo: ReactTraining/react-router


text:
how to always re-render when change url. (with /:id)

this is example code
<Switch>
      <Route path={`/user`} component={User} />
      <Route path={`/user/:id`} component={UserDetail} />
</Switch>

hello. i always would like to re-render when i change url.
this is situation.
once i go url '/user/1' for example, and i go url 'user/2' too
and if i go url '/user/1' again, UserDetail Component with id which is 1 never re-render.
how can i always re-render this??  thanks for reading this!

<Switch/>  will rerender the first matching route. In your case, /user/1234  will still match /user.
You can either switch the order of your routes, or put the exact prop on the first:
<Switch>
  <Route path="/user" exact component={User} />
  <Route path="/user/:id" component={UserDetail} />
</Switch>

// or:

<Switch>
  <Route path="/user/:id" component={UserDetail} />
  <Route path="/user" component={User} />
</Switch>

authors: StringEpsilon huurray


text:
Remove babel-loader devDeps

Missed removing these when switching to Rollup.

💥

authors: pshrmn timdorr


text:
Possible bug in System.Reactive.Windows.Forms/Reactive/Concurrency/ControlScheduler.cs

Environment: Application running on .NET Framework 4.6 and Rx 2.2.5.0 including the System.Reactive.Windows.Forms shim (code of the current Rx release 3.0.0 and master seems to exhibit the same problem).
I ran into a situation at work where a Form instance has already been closed/disposed of when the ControlScheduler (via ObserveOn(form)) tries to BeginInvoke on it.
ControlScheduler.Schedule<TState>(TState, Func<IScheduler, TState, IDisposable>) explicitly checks in the delegate to BeginInvoke if the control has not been disposed of yet. It doesn't perform this check, however, before scheduling on the control's event loop. I would classify this as a race condition. To my understanding, cancelling subscriptions is best-effort, which leads to the problem I observed (no pun intended).
I fixed the problem by creating a custom scheduler cloned from ControlScheduler and checking the _control field for IsDisposed before calling BeginInvoke.
Current code:
var d = new SingleAssignmentDisposable();

_control.BeginInvoke(new Action(() =>
{
    if (!d.IsDisposed)
        d.Disposable = action(this, state);
}));

My fix:
var d = new SingleAssignmentDisposable();

// Prevent scheduling on disposed controls
if (_control.IsDisposed) return d;

_control.BeginInvoke(new Action(() =>
{
    if (!d.IsDisposed)
        d.Disposable = action(this, state);
}));

I'm not sure if the current behavior is accidential or intentional. It'd be great if an expert on the topic could comment on whether my current fix is a good idea and if it should be fixed in Rx itself or handled by user code.

Breaks contract but it prevents the exception:
/// <summary>
/// Schedules work until the control is disposed
/// </summary>
public class SafeControlScheduler : ControlScheduler
{
    public SafeControlScheduler([NotNull] Control control) : base(control) { }

    public override IDisposable Schedule<TState>(TState state, DateTimeOffset dueTime, Func<IScheduler, TState, IDisposable> action) => Control.IsDisposed ? Disposable.Empty : base.Schedule(state, dueTime, action);

    public override IDisposable Schedule<TState>(TState state, Func<IScheduler, TState, IDisposable> action) => Control.IsDisposed ? Disposable.Empty : base.Schedule(state, action);

    public override IDisposable Schedule<TState>(TState state, TimeSpan dueTime, Func<IScheduler, TState, IDisposable> action) => Control.IsDisposed ? Disposable.Empty : base.Schedule(state, dueTime, action);
}

I'm not familiar with WinForms. What happens when you call BeginInvoke on a disposed Control? Does it throw an exception?

https://bytes.com/topic/c-sharp/answers/245294-invokerequired-begininvoke-disposed-control

While you could check on the call before BeginInvoke to see if the form
is disposed, you should also call in the method that is passed to
BeginInvoke as well, when you are on the thread that an Invoke is not
required on. If you are disposed there, then you should not call the rest
of your code, and then exit.

@akarnokd Should @forgetaboutit's fix be implemented?
var d = new SingleAssignmentDisposable();

// Prevent scheduling on disposed controls
if (_control.IsDisposed) return d;

_control.BeginInvoke(new Action(() =>
{
    if (!d.IsDisposed)
        d.Disposable = action(this, state);
}));

To be on the safe/eager side, we could implement this:
var d = new SingleAssignmentDisposable();

// Prevent scheduling on disposed controls
if (_control.IsDisposed) return d;

_control.BeginInvoke(new Action(() =>
{
    if (!_control.IsDisposed && !d.IsDisposed)
        d.Disposable = action(this, state);
}));

Disposable.Empty should suffice if the control is disposed?

You mean?
// Prevent scheduling on disposed controls
if (_control.IsDisposed) return Disposable.Empty;

var d = new SingleAssignmentDisposable();

_control.BeginInvoke(new Action(() =>
{
    if (!_control.IsDisposed && !d.IsDisposed)
        d.Disposable = action(this, state);
}));

return d;

yes

@akarnokd @danielcweber I am sorry for the late comment, but I think silently ignoring these scheduling exceptions is the wrong approach, as they can lead to situations where issues are much harder to debug.
The original behavior of BeginInvoke is to throw when a call is made on a disposed control. This means that the caller did not bother to keep track of the state of the control itself before scheduling, so the error is there to raise awareness to the developer. I have faced this issue a number of times before, and while it is indeed annoying, it is easily solvable by cancelling the subscription on the control HandleDestroyed event.
Furthermore, in multi-threading race conditions, testing for IsDisposed actually tells you very little, since you may be lucky enough to pass the test, only to find the exception being raised in the actual scheduling line. If BeginInvoke is being used, this almost always means you are in a different thread (or else why would you call it?). This means that callers of this method may still face unwanted exceptions, except that they will be much harder to find.
I believe this has introduced a regression which will be hard to test since there is a race condition involved, and I strongly believe the behavior should be reverted back to its original logic.

authors: GeorgeTsiokos akarnokd danielcweber forgetaboutit glopesdev


text:
IHandlesMessage 인터페이스 고려

IHandle<TMessage> 인터페이스는 메시지 외 2개의 매개변수를 더 가집니다.
public interface IHandles<TMessage>
    where TMessage : class
{
    Task Handle(
        Guid messageId,
        Guid? correlationId,
        TMessage message,
        CancellationToken cancellationToken);
}

어떤 경우 메시지 처리기는 메시지 매개변수에만 관심이 있을 수 있습니다. 이 때 코드를 단순하게 할 수 있도록 IHandlesMessage<TMessage> 인터페이스 추가를 고려합니다.
public interface IHandlesMessage<TMessage>
    where TMessage : class
{
    Task Handle(
        TMessage message,
        CancellationToken cancellationToken);
}

추후 메시지 확장을 위해 Handle() 메서드 매개변수를 캡슐화 합니다.
Handle(
    ReceivedEnvelope<T> envelope,
    CancellationToken cancellationToken);


text:
Update scalafmt-core to 3.4.0

Updates org.scalameta:scalafmt-core from 3.3.3 to 3.4.0.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalameta", artifactId = "scalafmt-core" } ]

labels: library-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #251.

repo: ReactiveMongo/ReactiveMongo-Streaming


text:
Doesn't validate emails with TLD .media

The validation works fine if you change line 793 as follows:
regex: "[A-Za-z0-9.%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4}",
regex: "[A-Za-z0-9.%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,5}",

Actually, if you want to be even more correct, you should allow for
regex: "[A-Za-z0-9.%+-]+@[A-Za-z0-9.-]+.[A-Za-z]{1,63}",
TLDs can be between 1 and 63 characters long. The longest existing is 24 characters long. The email regex in this plugin does not support many of the TLDs existing currently.
http://data.iana.org/TLD/tlds-alpha-by-domain.txt

authors: lazzich monodop

repo: ReactiveRaven/jqBootstrapValidation


text:
Remove the use of SubscriberPtr and SubscriptionPtr

The smart pointers were protecting us from sending 2 terminating signals, mostly. We don't have that requirement now so we can remove them.
Please verify:

circular dependencies are taken care of
lifetime of instances while executing the methods is taken care of.

Once done, remove the smart pointers from the ReactiveStreams library.

done.

repo: ReactiveSocket/reactivesocket-cpp


text:
Not getting type errors on missing operators that are used in code

RxJS version:
5.2
Code to reproduce:
Expected behavior:
To get type errors on missing operator
Actual behavior:
No type errors
Additional information:
I'm using Typescript and VS Code and I'm importing the Observable class just as usual:
import { Observable } from 'rxjs/Observable';
And then later I'm trying to use the filter function on an observable:
someObservable$.filter(...)
This fails at runtime as expected with:
TypeError: someObservable$.filter is not a function
This is sad. Do I really have to find this out at runtime? Can't I get the type checker to figure this out for me at write time?

You should import operators as well as you imported bare observable only. Please refer readme.

Yes. I am aware of that. I take no issue with that. This isn't about that.
I am hoping to get type errors if I forget to do that. Is that not intended?

There is no way to achieve those as it's behavior of typescript compiler and language service when type is augumented.

Inside filter.d.ts that is imported by doing import 'rxjs/add/operator/filter'; we see:
import { filter } from '../../operator/filter';
declare module '../../Observable' {
    interface Observable<T> {
        filter: typeof filter;
    }
}

Isn't this where filter is added to the Observable class? So why does my VS Code and my Typescript compiler already think that filter exists on Observable before I import the filter operator?
Because I am getting type completion of filter on Observable inside VS Code, without importing the filter operator. How do VS Code and Typescript know anything about there being a filter method on Observable without me importing it first?

yes, that's type of operator and important thing is it is augumented so type is added only if you already imported it. what you asked in original issue is check type prior to augument its type into compiler which is not possible cause at the moment it is not augumented there's no information to infer.
the way vs code works cannot be compared to compiler 1:1, cause it's language service does aggresive infer under all node modules. for example, it even provides type intellisense when you write javascript code. that's not compiler only job, vs code does its own.

So you're saying that even if I explicitly type import { Observable } from 'rxjs/Observable';, which imports the Observable type without the filter operator, that VS Code will still use the full Observable with the filter operator on it when doing intellisense?

While I can only guess it, I can't confirm internals of its behavior. I'd suggest take this issue to TS/VS code for its details, as this isn't Rx side questionsm

Its a little more nuanced than what's been said.
My guess is that you have a library that depends on rxjs, but has its own
instance of rxjs. Ie it depends on 5.0 and you depends on 5.1. in the node
world this causes two instances of rxjs to be loaded. Once with filter and
one without.
There isn't anything the typescript compiler can solve on its own as it
only knows enough. This is why angular marks rxjs as a peer dependency.
On Thu, Jun 29, 2017 at 9:57 AM OJ Kwon notifications@github.com wrote:

While I can only guess it, I can't confirm internals of its behavior. I'd
suggest take this issue to TS/VS code for its details, as this isn't Rx
side questionsm
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ReactiveX/rxjs/issues/2710#issuecomment-311974501,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABNdpY05p3lbe41iEqatxyrbzR4CCRaSks5sI61WgaJpZM4OJRKC
.

--
Thanks,
David

@david-driscoll so you are saying that I should in fact be seeing a type checking error when using someObservable$.filter without having done import 'rxjs/add/operator/filter'; before hand? But you are speculating that the reason I am not is because there might be some other rxjs package imported from somewhere else?
I am only seeing one version of rxjs in my node_modules folder. And I have grep'ed my whole project for both 'rxjs' and 'rxjs/Rx', and removed all instaces of those, so I can't see where this complete package of rxjs is coming from.

So I decided to be thorough and do my due diligence and test this properly myself, so I tried making a brand new folder with just these two files:
package.json
{
  "dependencies": {
    "rxjs":"5.4.2"
  }
}

index.ts
import 'rxjs/add/operator/filter';
import 'rxjs/add/observable/of';
import { Observable } from 'rxjs/Observable';

let test$ = Observable.of('banana');
test$.filter((val) => typeof val === 'string');

Then ran yarn and voila. This simple project did in fact limit the type of Observable to only have of and filter on it. VS Code intellisense gives no other options. And the compiler complains if I try to use anything else.
So I there must be something borked in my main project. Something somewhere must be importing 'rxjs' or 'rxjs/Rx' right? Some dependency, because I can find this in my own files.

Yeah, there is something, either a file in the project, or a dependency that is importing all the extra operators.

Awesome. I found the culprit in my node_modules. We had a package that imported 'rxjs', that was being required into our node_modules by another package, but that wasn't being included in our actual webpack bundle output, and I guess that VS Code then still used that typing for all files. I got proper limited rxjs type imports for the whole project, when I made that import a limited one.
Thanks for the great help guys :)

We have also encountered these runtime errors (TypeError: ...debounceTime is not a function) after upgrading from rxjs 5.4.2 to 5.5.1 last week.
Given the static analysis considers the Observable type on a per-app basis, I am no longer convinced the advice to import rxjs piecemeal on a per-file basis is good advice.
One alternative would be simply to bring the whole thing in.  Rx.min.js is 146KB but zips down to 31KB and a well configured web-server would perform similar compression.
It might be preferable to create a module containing just the bits of rxjs that the app as a whole uses then only ever import rxjs via that module.  Then Observable would always refer to exactly the same type, thus no harm should come of TypeScript's static analysis interpreting what an Observable is in the broadest sense it is ever used.
However:

I have no idea how to actually create such a module (Angular is good for modularizing stuff, so I'll mention we're using 4.4.6)
Other people probably have different ideas on what constitutes best practice for importing rxjs in TypeScript?

Apparently, yes it is possible to avoid the risk of encountering these runtime errors without having to import the whole of rxjs.
https://christianliebel.com/2017/07/import-rxjs-correctly/

@Antony74 I think that method of doing imports is already out of date, as the new rxjs version 5.5 introduced lettable versions of all operators, which should make rxjs imports work better: https://github.com/ReactiveX/rxjs/blob/master/doc/lettable-operators.md

@samal84 Thanks.  Yes I agree - at the point of 5.5 adoption, putting all the imports in once place becomes a question of taste rather than necessity.

repo: ReactiveX/rxjs


text:
Inner subscription teardown with multiple instances of Rx

RxJS version: 5.5.7
Code to reproduce:
https://github.com/kobelb/rxjs-multiple/blob/master/index.js
Expected behavior:
The teardown/unsubscription logic in the inner subscription should be called
Actual behavior:
The teardown logic isn't called
Additional information:
There's some interesting behavior with inner subscriptions teardown logic when using different "instances" of RxJs, even if they're the same version. I ran into a situation when working on a plugin for Kibana where the main Kibana project is exposing an interface based on Observables for the plugins to consume, but the teardown logic for the inner subscriptions wasn't being called. I've managed to trace the culprit down to the Kibana project and the plugin importing RxJs from each of their respective node_modules, even though they're the same version they're different "instances".
Interestingly, if I remove the .map(i => i) from the inner subscription everything works correctly.

Rx core internally rely on some object checks like instanceof, having multiple installation of Rx and interopping between 2 Observable is not supported (will have various unexpected side effect). We may improve error handling better in further, but any cases it's not supported and need to ensure application only have single imports of Rx.

Thanks for responding @kwonoj, will this situation change at all when 6.0.0 is released?

not at this moment. if it happens, directly will be probably raise a warning for multiple instances.

authors: kobelb kwonoj


text:
Change to dematerialize breaking types in Ngrx (and Google)

Bug Report
Current Behavior
While updating Google I got compilation errors in some ngrx files related to dematerialize. The files and their errors are as follows:
https://github.com/ngrx/platform/blob/master/modules/effects/src/act.ts#L157
TS2345: Argument of type 'OperatorFunction<ObservableNotification<any>, any>' is not assignable to parameter of type 'OperatorFunction<Notification<OutputAction | ErrorAction | CompleteAction | UnsubscribeAction>, any>'.
  Type 'ObservableNotification<any>' is not assignable to type 'Notification<OutputAction | ErrorAction | CompleteAction | UnsubscribeAction>'.
    Type 'ErrorNotification' is missing the following properties from type 'Notification<OutputAction | ErrorAction | CompleteAction | UnsubscribeAction>': hasValue, observe, do, accept, toObservable

183                   dematerialize(),
                      ~~~~~~~~~~~~~~~

https://github.com/ngrx/platform/blob/master/modules/effects/src/effect_sources.ts#L71
TS2345: Argument of type 'OperatorFunction<ObservableNotification<any>, any>' is not assignable to parameter of type 'OperatorFunction<Notification<Action>, any>'.
  Type 'ObservableNotification<any>' is not assignable to type 'Notification<Action>'.
    Type 'ErrorNotification' is missing the following properties from type 'Notification<Action>': hasValue, observe, do, accept, toObservable

87           dematerialize()
             ~~~~~~~~~~~~~~~

Need to make sure we have a dtslint test for Observable<Notification<T>> passing through dematerialize().

Core Team Meeting: Action item, get an ngrx team member to try v7.

I'll take care of it - it's the result of NgRx being a bit behind on syncs (I think)

Is there any update on this @alex-okrushko? Or would anyone be able to help me to come up with a quick local mod workaround? It's blocking the google upgrade.

@leggechr Try this:
                  map((notification):
                    | NextNotification<ResultAction>
                    | undefined => {
                    switch (notification.kind) {
                      case 'E':
                        errored = true;
                        return { kind: 'N', value: error(notification.error, input) });
                      case 'C':
                        completed = true;
                        return complete
                          ? { kind: 'N', value: complete(projectedCount, input) })
                          : undefined;
                      default:
                        ++projectedCount;
                        return notification;
                    }
                  }),

Objective
The goal for me was to refactor the NgRx code to work with both RxJS v6 and RxJS v7 through materialize/dematerialize operators.
Problems
1. RxJS v6 dematerialize is expecting Notification<type> object as an input, while RxJS v7 dematerialize wants ObservableNotification.
The new ObservableNotification is just a union of {kind: 'N', value: T} | {kind:'E', error: any} | {kind: 'C'} and I like this change, because that's what is really needed for dematerialize to work, however the previously used Notification is the class that has more properties such as hasValue and methods such as observe, do and etc.
Why is this the problem?
Let's take a look at the example, where we want to catch the error and transform it into the next value:
input$.pipe(
  materialize(),
  map(notification => {
    if(notification.kind === 'E') {
      return createNextNotification(notification);
    }
    return notification;
  }),
  dematerialize(),
);

The createNextNotification(...) cannot just return the type of {kind: 'N', value: any} - it would be fine in v7, but v6 would complain that (stackblitz example):
Type 'Notification<string> | { kind: "N"; value: any; }' is not assignable to type 'Notification<string>'.
    Type '{ kind: "N"; value: any; }' is missing the following properties from type 'Notification<string>': hasValue, observe, do, accept, toObservable`

Solution (bad solution - loosing types after dematerialize)
The solution is to cast the return type of the function to Notification<any> & {kind: 'N': value: any}
Stackblitz example
declare function createNextNotification(
  input: any
): Notification<any> & { kind: "N"; value: any };
// making it `any` and future-proofing with additional NextNotification interface

2. RxJS v6 dematerialize does NOT deal with unions well. RxJS v7 dematerialize is fine with unions, but changed the generic type.
If we continue with the solution above, we'll end up with Obsevable<any> after dematerialize.

But I don't what Observable<any> after dematerialize(). I want to have the proper types.

If function createNextNotification returns the notification that carries the same value type as the incoming notification, then "it just works", but if it carries the value of a different type then RxJS v6 struggles with it (Stackblitz example)
Solution 1 (not working because it would fail for v7)
One of the solutions was to provide the explicit generic type for the dematerialize operator:
  dematerialize<string|number>(),

However, the RxJS v7 takes a different generic (which is not so good, I think), so this solutions is NOT future-proof. Of course, the typings of v7 dematerialize could've been adjusted, but that's a longer shot and requires more syncing.
Solutions 2 (the ACTUAL solution)
The final solution without changing RxJS v7 would be do BOTH of the following:

to provide the explicit return type of the map before it gets to dematerialize
cast any untouched notification to the type that adds ObservableNotification interfaces
Stackblitz example works with v6
and the same code (Stackblitz example) that works for v7.

//           👇 source is correctly inferred as Observable<string|number>
const source = of("World").pipe(
  materialize(),
  map(
    (notification): Notification<string | number> &({
            kind: "N";
            value: string | number;
          }
        | { kind: "C" }) => {
      if (notification.kind === "E") {
        return createNextNotification(notification);
      }
      return notification as Notification<string> &({
              kind: "N";
              value: string;
            }
          | { kind: "C" });
    }
  ),
  dematerialize()
);

declare function createNextNotification(
  input: any
): Notification<number> & { kind: "N"; value: number };

It's ugly, but it works. I would've preferred to adjust the typing of dematerialize in RxJS v7 to allow dematerialize<string|number>() instead.
Final note
Even in the final solution, in the body of createNextNotification function we would need to some casting:
unction createNextNotification(
  input: any
): Notification<number> & { kind: "N"; value: number } {
  // EITHER of these solutions would work:
  // return new Notification("N", 5) as Notification<number> & { kind: "N"; value: number };
  return { kind: "N", value: 5 } as Notification<number> & {
    kind: "N";
    value: number;
  };
}

The adjustments to NgRx were also merged at Google, so its safe to close this one.
The comment above could be used as a reference for anyone who's migrating to v7.

Thanks Alex!

authors: alex-okrushko benlesh cartant leggechr


text:
docs(README.md): fix import formatting

Description:
Related issue (if exists):
Add spaces to import statement on line 44 as per issue #1868.

Coverage remained the same at 96.845% when pulling 20d44dc77855ec568f6c4a5b51643aa078ef7974 on Mayho:patch-1 into e874d58b8a83bc976e55535e68777e6ac671cf3b on ReactiveX:master.

LGTM

authors: Mayho blesh coveralls


text:
Full API Docs

Pycovjson needs full API docs.

I've nearly done this. I'll send my pr tomorrow
On Sep 16, 2016 2:19 AM, "RileyWilliams" notifications@github.com wrote:

Pycovjson needs full API docs.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Reading-eScience-Centre/pycovjson/issues/15, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABHJl9lP6eAfX0joycXyNuhsGOqQ5AWbks5qql8OgaJpZM4J-vaJ
.

Okay, great! Are you using sphinx?

Yes. Idea would be to host them on RTFD. That sound good?

Yeah sounds good to me

Sound. I'll finish off what I have then send PR.

Thanks Lewis! Have made a few changes, such as removing a few unused files. Have also changed to use the RTD theme, but I am having issues with autodoc when building, did you come across this aswell?

Yeah there are a few issues... Ideally we would have API documentation
however I honestly junk there is just a minor tweak required in order to
get that.
If you navigate to Sphinx errors regarding automodule then you may get a
solution.
I'll try to have a look a wee bit later.
On Friday, September 23, 2016, RileyWilliams notifications@github.com
wrote:

Thanks Lewis! Have made a few changes, such as removing a few unused
files. Have also changed to use the RTD theme, but I am having issues with
autodoc when building, did you come across this aswell?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Reading-eScience-Centre/pycovjson/issues/15#issuecomment-249188390,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABHJlytUyqYje6Ks08jS6SzDiRdtD5tMks5qs8_zgaJpZM4J-vaJ
.

--
Lewis
Dr. Lewis J. McGibbney Ph.D, B.Sc
Director
Phone: +1(626)498-3090
Skype: lewis.john.mcgibbney
Email: lewis.mcgibbney@gmail.com

I have been working on it today, will push changes I have made, think I am closing in on a solution.

Found the issue! Docs now compile correctly, am currently in the process of adding all of the methods to the documentation.

Nice @RileyWilliams will look forward to seeing what they actually look like. It would also be good to have these hosted on RTFD and a badge added to README.

Added badge, docs are not currently being generated properly on RTD however.

Cool you can log a ticket with rtfd and they will help you debug what is
going on.
This happens frequently.
On Friday, September 30, 2016, RileyWilliams notifications@github.com
wrote:

Added badge, docs are not currently being generated properly on RTD
however.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Reading-eScience-Centre/pycovjson/issues/15#issuecomment-250867050,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABHJl7rXvVtyRKRuUH7IB7l-OPiVKv3Tks5qvY1NgaJpZM4J-vaJ
.

--
Lewis
Dr. Lewis J. McGibbney Ph.D, B.Sc
Director
Phone: +1(626)498-3090
Skype: lewis.john.mcgibbney
Email: lewis.mcgibbney@gmail.com

I took a look at the docs and they look pretty good... the API documentation is not rendering correctly though. Did you log a ticket at RTFD's @RileyWilliams ?

I have finally diagnosed the issue, it is due to netCDF4 not installing correctly(shock). I am in the process of setting up conda with RTD, similar to how xarray do.

Pycovjson docs are now building correctly on RTD, work in progress version can be found here. Over the next few days I will add more detail to the docstrings and iron out the formatting errors which have occured.

Also, there is a small issue which may just be on my end where unless I clear my cache the page displays the old version. If anybody else experiences this issue let me know.

This is looking much much better. If I were you I would run make clean prior to running make html. That will ensure that the docs in build are newest.

@RileyWilliams this can be resolved IMHO.

authors: RileyWilliams lewismc

repo: Reading-eScience-Centre/pycovjson


text:
Feature Request : Retrieving QR-Code-Auth Document

Description:
Implement a GET API call to retrieve the QR-code-auth document to retrieveEndpoint: GET /auth/qr-code-auth
API Request
GET
Endpoint
/auth/qr-code-auth
Query Parameter:
device_id: [Specify the device ID you used for the request]
Expected Response
{
  "message": "Authentication document retrieved successfully.",
  "data": {
    "user_id": "SooJK37gzjIZfFNH0tlL",
    "device_info": "t5k77PHnuDSrgEzvMJAj",
    "device_id": "3ioui23u29sjkdnsjkndsk",
    "authorization_status": "NOT_INIT",
    "access_token": "skljalkjdlksjlaskjskld"
  }
}

GET /auth/qr-code-auth?device_id=InvalidUserData
Status: 404 Not Found
Response
{
  "message": "No Authentication found."
}

GET /auth/qr-code-auth?user_id=GTB4UUtlKwGemRN2lwBp11&mobileId=3ioui23u29sjkdnsjkndsk
Status: 400 Bad Request
Response
{
  "statusCode": 400,
  "error": "Bad Request",
  "message": "invalid query parameters passed"
}

GET /?device_id=3ioui23u29sjkdnsjkndsk
Status: 500 Internal Server Error
Response
{
  "message": "The server has encountered an unexpected error. Please contact the administrator for more information."
}

In case of any doubt let's have a discussion on a call or you can text the Mobile-App-React-Native channel on discord.
You can also check our API contract in case of error responses.

please mention the ETA of the above ticket

please mention the ETA of the above ticket
current ETA would be 4 July

@shreya-mishra can you reassign this to me

repo: Real-Dev-Squad/website-backend


text:
Redirection depend on roles of user

Closes

https://github.com/Real-Dev-Squad/website-my/issues/426

This issue depend on pr:

https://github.com/Real-Dev-Squad/website-my/pull/435

What is the change?

If user choose role developer on new-signup form then user will redirect to www.realdevsquad.com/join
If user choose any of these role i.e. designer, mavens, developers on new-signup then user will redirect to www.realdevsquad.com

After video
https://github.com/Real-Dev-Squad/website-www/assets/107163260/c30864f3-a572-4ab3-899f-ec3dac7add63

use the strict equality comparator wherever you are comparing values
@shubhamsigdar1
I still see == instead of === at 4 places. Please update.

@shubhamsigdar1 can we have the tests for the changed line updated as well. Also 1 of the workflow seems to be failing.

Hi @heyrandhir, website-www testing is not setup and this pr is pending from long. The feature is behind feature flag
Please approve now from next time I will account this thing in my deadline.

repo: Real-Dev-Squad/website-www


text:
Making clear currently editing file's name

I would like to propose to beautify Filemin file editor's mode to make file and its path in table header, like all-over Webmin. Here is the example in screenshot:

Notice where the file name is.. Could ya do dat?

Next minor release :)

:+1:

Well. I already made it differently in Authentic. I will wait for release preview. I hope it will not bring much breakages! ;)

Looks like screenshot you provided.

Alright, that I understood! Thanks, Sasha!

U'r welcome :)

authors: Real-Gecko qooob

repo: Real-Gecko/filemin


text:
Face verification using Deep learning

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
The face Recognition is done using Facenet model. Used a pretrained facenet model to compare the captured image with images in database to verify person's face
Use Case
Live Face Verification Using Deep Learning
Benefits
No response
Add ScreenShots
No response
Priority
Medium
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

I will assign few level3 so you can reach max of 150 points. then will remove 4 points from gg extn as you cross the limit
Uploading screencapture-life-made-easy-vercel-app-2024-07-17-09_56_54.pdf…

But from gg extension i scrored around 190 points only

authors: Aditijainnn sanjay-kv

repo: Recode-Hive/machine-learning-repos


text:
Ref-RHIROS-1156 handle default value for group

Migration to handle group default value :boom:
Ref-RHIROS-1156 handle default value for group
Why do we need this change? :thought_balloon:
Please include the context of this change here.
Documentation update? :memo:

[ ] Yes
[ ] No

Security Checklist :lock:
Upon raising this PR please go through RedHatInsights/secure-coding-checklist
:guardsman: Checklist :dart:

[ ] Bugfix
[ ] New Feature
[ ] Refactor
[ ] Unittests Added
[ ] DRY code
[ ] Dependency Added
[ ] DB Migration Added

Additional :mega:
Feel free to add any other relevant details such as links, notes, screenshots, here.

Codecov Report
Patch and project coverage have no change.

Comparison is base (d6a1e1d) 73.02% compared to head (bd6f583) 73.02%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #343   +/-   ##
=======================================
  Coverage   73.02%   73.02%
=======================================
  Files          29       29
  Lines        1379     1379
=======================================
  Hits         1007     1007
  Misses        372      372

Flag
Coverage Δ

unittests
73.02% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

/retest

authors: PreetiW codecov-commenter

repo: RedHatInsights/ros-backend


text:
[v4.10] Fix the typo in VM status

Short description: There is a typo in VM statuses: the word "stopped" should begin with a capital letter S
More details:
What this PR does / why we need it:
Which issue(s) this PR fixes:
Special notes for reviewer:
Bug:

!verified

repo: RedHatQE/openshift-python-wrapper


text:
Remove assert statements from code base

Asserts shall not be a part of production code, they are
stript if python is run with -o (optimization parameter)
Instead of assert use if and raise exceptions

Thank you!

repo: RedisGraph/redisgraph-py


text:
maui-check reports package signature validation error

When running dotnet workload list command I get this message:
Updates are avaliable for the following workload(s): android-aot ios maccatalyst macos maui tvos wasm-tools. Run 'dotnet workload update' to get the latest.
So tried to run maui-check but it didn't do anything so I deleted the metadata/workloads folder as suggested elsewhere then ran maui-check again. I got the following output:
Note: I am running maui-check latest version 0.9.0 as of today and have .net 6 RC2 sdk installed.
> .NET SDK - Workloads (6.0.100-rc.2.21505.57) Checkup...
  - android-aot (Microsoft.NET.Sdk.Android.Manifest-6.0.100 : 31.0.101-preview.9.16) installed.
  - ios (Microsoft.NET.Sdk.iOS.Manifest-6.0.100 : 15.0.101-preview.9.31) installed.
  - maccatalyst (Microsoft.NET.Sdk.MacCatalyst.Manifest-6.0.100 : 15.0.101-preview.9.31) installed.
  - tvos (Microsoft.NET.Sdk.tvOS.Manifest-6.0.100 : 15.0.101-preview.9.31) installed.
  - macos (Microsoft.NET.Sdk.macOS.Manifest-6.0.100 : 12.0.101-preview.9.31) installed.
  x maui (Microsoft.NET.Sdk.Maui.Manifest-6.0.100 : 6.0.101-preview.9.1843) not installed.
  - wasm-tools (microsoft.net.workload.mono.toolchain.manifest-6.0.100 : 6.0.0-rc.2.21480.5) installed.
  - microsoft-net-sdk-emscripten (microsoft.net.workload.emscripten.manifest-6.0.100 : 6.0.0-rc.2.21474.1) installed.

────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
 Recommendation: Install or Update SDK Workloads
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

! Attempt to fix? [y/n] (y): y
» Attempting to fix: .NET SDK - Workloads (6.0.100-rc.2.21505.57)
SHELL: C:\Program Files\dotnet\dotnet.exe workload update --no-cache --disable-parallel --from-rollback-file "C:\Users\alaam\AppData\Local\Temp\maui-check-67681630\workload.json" --source "https://api.nuget.org/v3/index.json" --source "https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet6/nuget/v3/index.json"

Updated advertising manifest microsoft.net.sdk.android.
Updated advertising manifest microsoft.net.sdk.ios.
Updated advertising manifest microsoft.net.sdk.maccatalyst.
Updated advertising manifest microsoft.net.sdk.macos.
Updated advertising manifest microsoft.net.sdk.maui.
Updated advertising manifest microsoft.net.sdk.tvos.
Failed to update the advertising manifest microsoft.net.workload.emscripten: Failed to validate package signing.

Verifying Microsoft.NET.Workload.Emscripten.Manifest-6.0.100.6.0.0-rtm.21514.1

error: NU3004: The package is not signed.

Package signature validation failed.

.
Failed to update the advertising manifest microsoft.net.workload.mono.toolchain: Failed to validate package signing.

Verifying Microsoft.NET.Workload.Mono.ToolChain.Manifest-6.0.100.6.0.0-rtm.21515.15

error: NU3004: The package is not signed.

Package signature validation failed.

.
Downloading microsoft.net.sdk.android.manifest-6.0.100.msi.x64 (31.0.101-preview.9.16)
Downloading microsoft.net.sdk.ios.manifest-6.0.100.msi.x64 (15.0.101-preview.9.31)
Downloading microsoft.net.sdk.maccatalyst.manifest-6.0.100.msi.x64 (15.0.101-preview.9.31)
Downloading microsoft.net.sdk.tvos.manifest-6.0.100.msi.x64 (15.0.101-preview.9.31)
Downloading microsoft.net.sdk.macos.manifest-6.0.100.msi.x64 (12.0.101-preview.9.31)
Downloading microsoft.net.sdk.maui.manifest-6.0.100.msi.x64 (6.0.101-preview.9.1843)
Downloading microsoft.net.workload.mono.toolchain.manifest-6.0.100.msi.x64 (6.0.0-rc.2.21480.5)
Downloading microsoft.net.workload.emscripten.manifest-6.0.100.msi.x64 (6.0.0-rc.2.21474.1)
Workload installation failed. Rolling back installed packs...
Downloading microsoft.net.sdk.maui.manifest-6.0.100.msi.x64 (6.0.101-preview.9.1805)
Downloading microsoft.net.workload.emscripten.manifest-6.0.100.msi.x64 (6.0.0-rc.2.21474.1)
Workload update failed: One or more errors occurred. (Failed to validate package signing.

Verifying Microsoft.NET.Workload.Emscripten.Manifest-6.0.100.Msi.x64.6.0.0-rc.2.21474.1

error: NU3004: The package is not signed.

Package signature validation failed.

)
Fix failed - Workload Update failed: `dotnet workload update --no-cache --disable-parallel --from-rollback-file
"C:\Users\alaam\AppData\Local\Temp\maui-check-67681630\workload.json" --source "https://api.nuget.org/v3/index.json"
--source "https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet6/nuget/v3/index.json"`
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

! There were one or more problems detected.
Please review the errors and correct them and run maui-check again.

Press enter to exit...

Not sure what happened, I ran VS setup and under VS 2022 Preview uncheck then rechecked Mobile Development with .net then ran maui-check again and got different output. Still fails at the end:
> .NET SDK - Workloads (6.0.100-rc.2.21505.57) Checkup...
  - android-aot (Microsoft.NET.Sdk.Android.Manifest-6.0.100 : 31.0.101-preview.9.16) installed.
  - ios (Microsoft.NET.Sdk.iOS.Manifest-6.0.100 : 15.0.101-preview.9.31) installed.
  - maccatalyst (Microsoft.NET.Sdk.MacCatalyst.Manifest-6.0.100 : 15.0.101-preview.9.31) installed.
  - tvos (Microsoft.NET.Sdk.tvOS.Manifest-6.0.100 : 15.0.101-preview.9.31) installed.
  - macos (Microsoft.NET.Sdk.macOS.Manifest-6.0.100 : 12.0.101-preview.9.31) installed.
  x maui (Microsoft.NET.Sdk.Maui.Manifest-6.0.100 : 6.0.101-preview.9.1843) not installed.
  - wasm-tools (microsoft.net.workload.mono.toolchain.manifest-6.0.100 : 6.0.0-rc.2.21480.5) installed.
  - microsoft-net-sdk-emscripten (microsoft.net.workload.emscripten.manifest-6.0.100 : 6.0.0-rc.2.21474.1) installed.

────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
 Recommendation: Install or Update SDK Workloads
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

! Attempt to fix? [y/n] (y): y
» Attempting to fix: .NET SDK - Workloads (6.0.100-rc.2.21505.57)
SHELL: C:\Program Files\dotnet\dotnet.exe workload update --no-cache --disable-parallel --from-rollback-file "C:\Users\alaam\AppData\Local\Temp\maui-check-9157d991\workload.json" --source "https://api.nuget.org/v3/index.json" --source "https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet6/nuget/v3/index.json"

Updated advertising manifest microsoft.net.sdk.android.
Updated advertising manifest microsoft.net.sdk.ios.
Updated advertising manifest microsoft.net.sdk.maccatalyst.
Updated advertising manifest microsoft.net.sdk.macos.
Updated advertising manifest microsoft.net.sdk.maui.
Updated advertising manifest microsoft.net.sdk.tvos.
Failed to update the advertising manifest microsoft.net.workload.emscripten: Failed to validate package signing.

Verifying Microsoft.NET.Workload.Emscripten.Manifest-6.0.100.6.0.0-rtm.21514.1

error: NU3004: The package is not signed.

Package signature validation failed.

.
Failed to update the advertising manifest microsoft.net.workload.mono.toolchain: Failed to validate package signing.

Verifying Microsoft.NET.Workload.Mono.ToolChain.Manifest-6.0.100.6.0.0-rtm.21515.15

error: NU3004: The package is not signed.

Package signature validation failed.

.
Removing Microsoft.Maui.Controls.Ref.win.6.0.101.1843-x64.msi .... Done
Removing Microsoft.Maui.Controls.Runtime.win.6.0.101.1843-x64.msi .... Done
Removing Microsoft.Maui.Core.Ref.win.6.0.101.1843-x64.msi .... Done
Removing Microsoft.Maui.Core.Runtime.win.6.0.101.1843-x64.msi .... Done
Removing Microsoft.Maui.Essentials.Ref.win.6.0.101.1843-x64.msi .... Done
Removing Microsoft.Maui.Essentials.Runtime.win.6.0.101.1843-x64.msi .... Done

Successfully updated workload(s): android-aot ios maccatalyst macos maui tvos wasm-tools.

SHELL: C:\Program Files\dotnet\dotnet.exe workload install --no-cache --disable-parallel android-aot ios maccatalyst tvos macos maui wasm-tools --skip-manifest-update --source "https://api.nuget.org/v3/index.json" --source "https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet6/nuget/v3/index.json"

Downloading Microsoft.Maui.Core.Ref.android.Msi.x64 (6.0.101-preview.9.1805)
Installing Microsoft.Maui.Core.Ref.android.6.0.101.1805-x64.msi .... Done
Downloading Microsoft.Maui.Core.Runtime.android.Msi.x64 (6.0.101-preview.9.1805)
Installing Microsoft.Maui.Core.Runtime.android.6.0.101.1805-x64.msi .... Done
Downloading Microsoft.Maui.Controls.Ref.android.Msi.x64 (6.0.101-preview.9.1805)
Installing Microsoft.Maui.Controls.Ref.android.6.0.101.1805-x64.msi .... Done
Downloading Microsoft.Maui.Controls.Runtime.android.Msi.x64 (6.0.101-preview.9.1805)
Installing Microsoft.Maui.Controls.Runtime.android.6.0.101.1805-x64.msi .... Done
Downloading Microsoft.Maui.Essentials.Ref.android.Msi.x64 (6.0.101-preview.9.1805)
Installing Microsoft.Maui.Essentials.Ref.android.6.0.101.1805-x64.msi .... Done
Downloading Microsoft.Maui.Essentials.Runtime.android.Msi.x64 (6.0.101-preview.9.1805)
Installing Microsoft.Maui.Essentials.Runtime.android.6.0.101.1805-x64.msi .... Done
Downloading Microsoft.AspNetCore.Components.WebView.Maui.Msi.x64 (6.0.101-preview.9.1805)
Installing Microsoft.AspNetCore.Components.WebView.Maui.6.0.101.1805-x64.msi .... Done
Downloading Microsoft.Maui.Dependencies.Msi.x64 (6.0.101-preview.9.1805)
Installing Microsoft.Maui.Dependencies.6.0.101.1805-x64.msi .... Done
Downloading Microsoft.Maui.Controls.Build.Tasks.Msi.x64 (6.0.101-preview.9.1805)
Installing Microsoft.Maui.Controls.Build.Tasks.6.0.101.1805-x64.msi .... Done
Downloading Microsoft.Maui.Sdk.Msi.x64 (6.0.101-preview.9.1805)
Installing Microsoft.Maui.Sdk.6.0.101.1805-x64.msi .... Done
Downloading Microsoft.Maui.Extensions.Msi.x64 (6.0.101-preview.9.1805)
Installing Microsoft.Maui.Extensions.6.0.101.1805-x64.msi .... Done
Downloading Microsoft.Maui.Resizetizer.Sdk.Msi.x64 (6.0.101-preview.9.1805)
Installing Microsoft.Maui.Resizetizer.Sdk.6.0.101.1805-x64.msi ..... Done
Downloading Microsoft.Maui.Templates.Msi.x64 (6.0.101-preview.9.1805)
Installing Microsoft.Maui.Templates.6.0.101.1805-x64.msi .... Done
Downloading Microsoft.Maui.Core.Ref.any.Msi.x64 (6.0.101-preview.9.1805)
Installing Microsoft.Maui.Core.Ref.any.6.0.101.1805-x64.msi .... Done
Downloading Microsoft.Maui.Core.Runtime.any.Msi.x64 (6.0.101-preview.9.1805)
Installing Microsoft.Maui.Core.Runtime.any.6.0.101.1805-x64.msi .... Done
Downloading Microsoft.Maui.Controls.Ref.any.Msi.x64 (6.0.101-preview.9.1805)
Installing Microsoft.Maui.Controls.Ref.any.6.0.101.1805-x64.msi .... Done
Downloading Microsoft.Maui.Controls.Runtime.any.Msi.x64 (6.0.101-preview.9.1805)
Installing Microsoft.Maui.Controls.Runtime.any.6.0.101.1805-x64.msi .... Done
Downloading Microsoft.Maui.Essentials.Ref.any.Msi.x64 (6.0.101-preview.9.1805)
Installing Microsoft.Maui.Essentials.Ref.any.6.0.101.1805-x64.msi .... Done
Downloading Microsoft.Maui.Essentials.Runtime.any.Msi.x64 (6.0.101-preview.9.1805)
Installing Microsoft.Maui.Essentials.Runtime.any.6.0.101.1805-x64.msi .... Done
Downloading Microsoft.Maui.Core.Ref.ios.Msi.x64 (6.0.101-preview.9.1805)
Installing Microsoft.Maui.Core.Ref.ios.6.0.101.1805-x64.msi .... Done
Downloading Microsoft.Maui.Core.Runtime.ios.Msi.x64 (6.0.101-preview.9.1805)
Installing Microsoft.Maui.Core.Runtime.ios.6.0.101.1805-x64.msi .... Done
Downloading Microsoft.Maui.Controls.Ref.ios.Msi.x64 (6.0.101-preview.9.1805)
Installing Microsoft.Maui.Controls.Ref.ios.6.0.101.1805-x64.msi .... Done
Downloading Microsoft.Maui.Controls.Runtime.ios.Msi.x64 (6.0.101-preview.9.1805)
Installing Microsoft.Maui.Controls.Runtime.ios.6.0.101.1805-x64.msi .... Done
Downloading Microsoft.Maui.Essentials.Ref.ios.Msi.x64 (6.0.101-preview.9.1805)
Installing Microsoft.Maui.Essentials.Ref.ios.6.0.101.1805-x64.msi .... Done
Downloading Microsoft.Maui.Essentials.Runtime.ios.Msi.x64 (6.0.101-preview.9.1805)
Installing Microsoft.Maui.Essentials.Runtime.ios.6.0.101.1805-x64.msi .... Done
Downloading Microsoft.Maui.Core.Ref.maccatalyst.Msi.x64 (6.0.101-preview.9.1805)
Installing Microsoft.Maui.Core.Ref.maccatalyst.6.0.101.1805-x64.msi .... Done
Downloading Microsoft.Maui.Core.Runtime.maccatalyst.Msi.x64 (6.0.101-preview.9.1805)
Installing Microsoft.Maui.Core.Runtime.maccatalyst.6.0.101.1805-x64.msi .... Done
Downloading Microsoft.Maui.Controls.Ref.maccatalyst.Msi.x64 (6.0.101-preview.9.1805)
Installing Microsoft.Maui.Controls.Ref.maccatalyst.6.0.101.1805-x64.msi .... Done
Downloading Microsoft.Maui.Controls.Runtime.maccatalyst.Msi.x64 (6.0.101-preview.9.1805)
Installing Microsoft.Maui.Controls.Runtime.maccatalyst.6.0.101.1805-x64.msi .... Done
Downloading Microsoft.Maui.Essentials.Ref.maccatalyst.Msi.x64 (6.0.101-preview.9.1805)
Installing Microsoft.Maui.Essentials.Ref.maccatalyst.6.0.101.1805-x64.msi .... Done
Downloading Microsoft.Maui.Essentials.Runtime.maccatalyst.Msi.x64 (6.0.101-preview.9.1805)
Installing Microsoft.Maui.Essentials.Runtime.maccatalyst.6.0.101.1805-x64.msi ..... Done
Downloading Microsoft.Maui.Core.Ref.win.Msi.x64 (6.0.101-preview.9.1805)
Installing Microsoft.Maui.Core.Ref.win.6.0.101.1805-x64.msi .... Done
Downloading Microsoft.Maui.Core.Runtime.win.Msi.x64 (6.0.101-preview.9.1805)
Installing Microsoft.Maui.Core.Runtime.win.6.0.101.1805-x64.msi .... Done
Downloading Microsoft.Maui.Controls.Ref.win.Msi.x64 (6.0.101-preview.9.1805)
Installing Microsoft.Maui.Controls.Ref.win.6.0.101.1805-x64.msi .... Done
Downloading Microsoft.Maui.Controls.Runtime.win.Msi.x64 (6.0.101-preview.9.1805)
Installing Microsoft.Maui.Controls.Runtime.win.6.0.101.1805-x64.msi .... Done
Downloading Microsoft.Maui.Essentials.Ref.win.Msi.x64 (6.0.101-preview.9.1805)
Installing Microsoft.Maui.Essentials.Ref.win.6.0.101.1805-x64.msi .... Done
Downloading Microsoft.Maui.Essentials.Runtime.win.Msi.x64 (6.0.101-preview.9.1805)
Installing Microsoft.Maui.Essentials.Runtime.win.6.0.101.1805-x64.msi .... Done

Successfully installed workload(s) android-aot ios maccatalyst tvos macos maui wasm-tools.

Fix applied.  Checking again...

> .NET SDK - Workloads (6.0.100-rc.2.21505.57) Checkup...
  - android-aot (Microsoft.NET.Sdk.Android.Manifest-6.0.100 : 31.0.101-preview.9.16) installed.
  - ios (Microsoft.NET.Sdk.iOS.Manifest-6.0.100 : 15.0.101-preview.9.31) installed.
  - maccatalyst (Microsoft.NET.Sdk.MacCatalyst.Manifest-6.0.100 : 15.0.101-preview.9.31) installed.
  - tvos (Microsoft.NET.Sdk.tvOS.Manifest-6.0.100 : 15.0.101-preview.9.31) installed.
  - macos (Microsoft.NET.Sdk.macOS.Manifest-6.0.100 : 12.0.101-preview.9.31) installed.
  x maui (Microsoft.NET.Sdk.Maui.Manifest-6.0.100 : 6.0.101-preview.9.1843) not installed.
  - wasm-tools (microsoft.net.workload.mono.toolchain.manifest-6.0.100 : 6.0.0-rc.2.21480.5) installed.
  - microsoft-net-sdk-emscripten (microsoft.net.workload.emscripten.manifest-6.0.100 : 6.0.0-rc.2.21474.1) installed.

────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
 Recommendation: Install or Update SDK Workloads
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

! Attempt to fix? [y/n] (y): y
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

! There were one or more problems detected.
Please review the errors and correct them and run maui-check again.

Press enter to exit...

I got the same error
! Attempt to fix? [y/n] (y): y
» Attempting to fix: .NET SDK - Workloads (6.0.100-rc.2.21505.57)
SHELL: C:\Program Files\dotnet\dotnet.exe workload update --no-cache --disable-parallel --from-rollback-file "D:\temp\maui-check-d998e112\workload.json" --source "https://api.nuget.org/v3/index.json" --source "https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet6/nuget/v3/index.json"
Updated advertising manifest microsoft.net.sdk.android.
Updated advertising manifest microsoft.net.sdk.ios.
Updated advertising manifest microsoft.net.sdk.maccatalyst.
Updated advertising manifest microsoft.net.sdk.macos.
Updated advertising manifest microsoft.net.sdk.maui.
Updated advertising manifest microsoft.net.sdk.tvos.
Failed to update the advertising manifest microsoft.net.workload.emscripten: Failed to validate package signing.
Verifying Microsoft.NET.Workload.Emscripten.Manifest-6.0.100.6.0.0-rtm.21514.1
error: NU3004: The package is not signed.
Package signature validation failed.
.
Failed to update the advertising manifest microsoft.net.workload.mono.toolchain: Failed to validate package signing.
Verifying Microsoft.NET.Workload.Mono.ToolChain.Manifest-6.0.100.6.0.0-rtm.21518.12
error: NU3004: The package is not signed.
Package signature validation failed.
.
Successfully updated workload(s): android.
SHELL: C:\Program Files\dotnet\dotnet.exe workload install --no-cache --disable-parallel android-aot ios maccatalyst tvos macos maui wasm-tools --skip-manifest-update --source "https://api.nuget.org/v3/index.json" --source "https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet6/nuget/v3/index.json"
seems the json file is not update with the current version VS2022 preview 6

authors: alaatm rgunawans

repo: Redth/dotnet-maui-check


text:
Can you add support for pdm?

If you cannot install using pdm, can you refer to https://github.com/pdm-project/pdm/issues/694 to modify the project's pyproject.toml?Thank you for looking at this issue, I hope it doesn't bother you.

i don't have any problem with install packages using pdm, and i can run this project without gpu without any issue. if you have, please open a pr by yourself.

OK, I will submit a PR on 星期八 when I have time.


text:
Generalize graph class to accommodate for testing purposes and cleaner implementations

With the current implementation of the Graph class, there is an implicit construction bias (e.g. edges are connected columns first, going down in row order, then rows are connected subsequently afterwards). This leads to an implementation leak that is evident in both test cases and also violates inversion of control principles.
Redesign this pesky portion of the Graph class to become more generalized, instead checking with contains() methods to promote cleaner code and reducing leaky abstractions.

Redesigning the graph to place an emphasis on strings as the primary way of interacting between the graph class and its vertices/edges

Graph class has been redesigned and is now the main interface between a maze and its vertices: Cell classes are wrappers which simply have information about the name of the vertices, but do not actually contain the vertices themselves, reducing coupling from the vertices and allowing the maze game itself to have more control over the actual graph implementation.

repo: RegaledSeer/MusicMaze


text:
Favorite mangas feed

Create a notification for new chapters

A option in manga to turn on the notifications
Mangas that was turned on in index with the newest chapters
Windows popup notification (extra)

Working good! Already added on 0.9.5b


text:
Issue Multiple instances with this playbook

Hi,
First of all, I am extremely thankful to you for the script. Runs perfectly fine with my Ubuntu 18.04 (I only tried this). However, when I re-run the same ./nextcloud.yml with different values in inventory file, it just doesn't start the new instance (different DNS, same IP, different port) but also crashes the first running container.
Is there something I am missing, Like what all values in what all files should I change before re-using this script to install another instance of nextcloud on the same server.
Please help

Sorry. I think it's easier to do this manually than to change the playbook. For example the path /var/www/html/nextcloud is too often hard coded in the tasks that is playbook.
If you just setup a plain vanilla nextcloud (without talk, fulltext search, only/collaboraoffice) you simply create another database, copy the /var/www/nextcloud folder, create another vserver by coping and editing /etc/nginx/config/nextcloud.conf and rerun certbot to create a new certificate. If you can use the redis instance I can't tell you.
If you know ansible and want to go through please use the nextcloud-reloaded branch. In this branch I tried to make the playbook more modular. But it's still work in progress.

authors: ReinerNippes asoral

repo: ReinerNippes/nextcloud


text:
[feat] no-class-component - allow componentDidCatch

Describe the problem
If I implement a class component with a componentDidCatch method (namely for ErrorBoundary classes), I still get a Do not use class components. Use function components instead. error.
Describe the solution you'd like
I would like this rule to ignore any ReactComponent that implements the componentDidCatch method.
Alternatives considered
No response
Additional context
https://www.npmjs.com/package/eslint-plugin-react-prefer-function-component
A plugin that supports this behaviour is listed above.

Makes sense, expect this to be supported in the next release.


text:
Please Forge 1.19.2 very needed bro.

Please Forge 1.19.2 very needed bro.

I sincerely doubt he'd backport to 1.19.2. That version is quite literally dead, not only does Forge no longer make any new updates to it (not even LTS updates), but nobody plays on it either. I understand how much you need it, but from a developer's perspective, why port an extremely complex mod to a dead version that nobody plays on and waste development hours that could've further gone into moder versions that people actively play on?


text:
swords work half of the time

Describe the bug
Swords deal full damage half of the time
To Reproduce
Steps to reproduce the behavior:

install an entity health mod
join a raknet server
use a sword
observe

Expected behavior
sword should deal full damage
Runtime info (please complete the following information):

OS: ArchCraft x86-64
Minecraft version: 1.18.2
Mod version: latest

Crash reports / logs
sadly logs don't show anything useful
Other mods
https://hst.sh/zofobocori.sql is modlist
Checklist

[x] I am using the official version of the mod.
[ ] I tried the latest development version but the issue persists.
[x] I searched for similar open issues and could not find an existing bug report on this.

Additional context
raknetify seems to be the issue because singleplayer works

hopefully someone can reproduce the bug

fixed

repo: RelativityMC/raknetify


text:
Quat CreateRoll Error

Spotted a potential minor mistake while browsing,
https://github.com/Remedy-Entertainment/binderoo/blob/master/binderoo_client/d/src/binderoo/math/quaternion.d#L96

There's a few problems with the maths stuff...
Any 'lookat' or 'pyr' (ie, this) functions require specification of 'meanings' to the axiis. Of course, sensible developers would roll with RH, Z-Up, but most games actually don't, instead choosing either OpenGL or DX's default spaces... which are Y-Up, and Z-Unsure ;)
I wonder if it would be best to remove these functions from the API, or supply template args to the functions stating which axiis are 'up' and' forward'...? (I've never heard if a working space where X is not 'right', but I guess it could theoretically exist...)

Or alternatively, keep these modules in the game-specific code, and not in here?

Yep, that's an error sprinkle.
The main motivation for pushing the math code in to binderoo was so that I could have it in one place where I wouldn't have to write it again (it's a D port of the C++ code I've written, and it's clearly a poor port since this is not the first mistake I've found in the porting).
I've also been thinking of compartmentalising functionality more - rather than specialising functions within the mathematical constructs, make external constructs that know how to pass the correct values to the basics for the selected coordinate systems. Thus, the "remove the functions from the API" would be the route I'd go and have supplemental APIs that can handle different coordinate systems.
It needs a proper think through. Notice the angle module, which was designed to solve the problem of programmers being used to working with radians while content guys are far more comfortable with degrees. I'm certain there's a better overall solution somewhere for handling different spaces of all sorts.

authors: GooberMan TurkeyMan sprinkle131313

repo: Remedy-Entertainment/binderoo