text:
Are Vega10 cards no longer operational with 5.0+?

I am confused about the EOL for Vega10 cards. Does this mean that Vega10 cards are no longer usable, as in no longer are detected by the ROCm driver stack and the runtime components, under ROCm 5.0+? Or is it just that there won't be any updates yet they are still usable (running HIP and OpenCL codes)? Could you please clarify this? Thanks.

I am a fan of this question as I have a RX Vega 56(Vega 10) and wonder if it is supported or not, however I have segmentation faults with ROCm v4.5.2 and can not run any sample

Please provide full cases to test, I have Vega Frontier cards, and can approve on decline issue with Vega's on rocm 5.0.2 in linux environment.

@perestoronin Could you please tell me which GPU are you exactly using successfully with ROCm 5.0.2? And also please tell me about the kernel version you have installed dkms driver into

Linux 5.16.15
GPU[0]          : Card series:          Vega 10 XTX [Radeon Vega Frontier Edition]
GPU[0]          : Card vendor:          Advanced Micro Devices, Inc. [AMD/ATI]
GPU[0]          : Card SKU:             D05011

I use successful rocm from version old 2.0 (Vega 56) in past to 5.0.2 now with, but now I have only Vega Frontier cards, and plan migrate to Vega 20 and Instinct cards and sell Vega Frontier cards after obtain new cards.

@perestoronin So, with Vega Frontier you can run your HIP or OpenCL code under ROCm version 5.0.2?

@perestoronin So, with Vega Frontier you can run your HIP or OpenCL code under ROCm version 5.0.2?

yes, self-compiled ethminer and hashcat works with rocm

@perestoronin So, with Vega Frontier you can run your HIP or OpenCL code under ROCm version 5.0.2?

yes, self-compiled ethminer and hashcat works with rocm

Version 5.0.2, yes?

@perestoronin So, with Vega Frontier you can run your HIP or OpenCL code under ROCm version 5.0.2?

yes, self-compiled ethminer and hashcat works with rocm

Version 5.0.2, yes?

yes, except rocm-smi from rocm-smi-libs, for Vega card I use old rocm-smi 4.0.0 with libs from 5.0.2  rocm-smi-lib, other packages (all self compiled) from rocm 5.0.2 sources.

@perestoronin So, with Vega Frontier you can run your HIP or OpenCL code under ROCm version 5.0.2?

yes, self-compiled ethminer and hashcat works with rocm

Version 5.0.2, yes?

yes, except rocm-smi from rocm-smi-libs, for Vega card I use old rocm-smi 4.0.0 with libs from 5.0.2 rocm-smi-lib, other packages (all self compiled) from rocm 5.0.2 sources.

Thank you for the clarification!

I have a Radeon RX Vega 56(Vega 10) and can confirm it is working properly in the 5th version. I am using HIP.

source: gharchive/issue

authors: perestoronin ramin-raeisi wreckdump

repo: RadeonOpenCompute/ROCm

license: MIT

license_type: permissive

license_source: github-api


text:
[FR] Pre-populate select/lookup fields

Would be wonderful to have select options prepopulated from either a directory of files or perhaps a specified list from a file (like supercharged links does). Maybe even be able to specify prepopulated options from a dataview query?
Example:
I have a recipes folder and an ingredients folder. In my recipes database I would like to have a select field (ingredients) that shows me all of the files from the ingredients folder or a dv query and allows me to select them as links to those files.

Currently the code is prepared to load preselected options, but I am not taking advantage of it at the moment, if you open the database as a file and add a column to the options field: a,b,c .... should charge them but is not tested
I will add it to the backlog,m maybe 1.3.0  =P

after release of 1.2.0, this will be the next =)

[ ] Options persisted in column configuration
[ ] Color of tag will be persisted ( and selectable if possible)
[ ] Refactor of tag selection portal. Options of remove included

Options are now persisted, including colours!
Just one dot more and the new version will be ready

I will check the minimal plugin to create our own color selector

@arminta7 1.3.0 is out! now the label can be pre selected and the existed ones will be persisted

My goal for this request was to be able to have the select options automatically available via a directory, query, list in a file or similar. My understanding is that I still need to manually enter select options in the settings? Is that accurate?

the development consisted of being able to persist the options and select the color of the label. Those preloaded options would be kept even if there is no cell with that value.
Use a dataview query to load an array could be another option, but less flexible

repo: RafaelGB/obsidian-db-folder


text:
Set up a GitHub action to run tests

This will run dotnet tests on all master pushes and PRs to master

Looks good! Are we ready to merge this?

source: gharchive/pull-request

authors: Rafaeruo jeremyvaartjes

repo: Rafaeruo/pkl-csharp


text:
Hidden folder

Hi there,
I was trying to use a hidden folder ./.screens/${filename} as the Location for New Attachments but it does not work when I paste some images. All the other settings are still the default one.
The folder and subfolder are correctly created but the file (PNG picture in this case) never appear in the folder nor in the note.
Let me know if you need more info.

Hidden folder can not recognize by obsidian, so you can't use hidden folder (filename staring with dot) for attachment folder.

Oh no that's unfortunate :( I thought I finally found a way to hide the screenshoots while keeping them in the note's folder.
Well, thanks for the clarification! :)


text:
Homepage didn't work well.

The homepage didn't work as well. It just  shows as follow:

Fixed. Please refer to the newest source code of Rainbell English or Rainbell Vault.


text:
Enum generic TypeConverter

DBFlow Version: 4.1.1
Issue Kind (Bug, Question, Feature): Question
Description:
Is it possible with the Kotlin extensions to provide a generic enum TypeConvertor? For example TypeConverter<String,Enum<E>> as opposed to specifying convertors for every enum class that would be used in the database. Enum types are typically either stored (generically) in the database as the element's string value or its associated integer ordinal/position.

unfortunately not right now. you will need to define a custom type converter for each one. just create a common base class and register all the TypeConverters you need. Its because on reverse from DB you would need to do a EnumClass.valueOF() to figure out the enum you want it to be.

authors: agrosner thornley-touchstar

repo: Raizlabs/DBFlow


text:
Error while trying to use converter for java.util.UUID

I am trying to use a UUID as the ID for my model. But it is not recognizing the converter.
I get following error :

Error:Execution failed for task ':app:compileDebugJava'.
java.lang.RuntimeException: Writing insert statement failed for: java.util.UUID. A type convertermust be defined for this type, or if this field is a Model, must be a foreign key definition.

My converter class :
package com.test;

import com.raizlabs.android.dbflow.converter.TypeConverter;
import java.util.UUID;
@com.raizlabs.android.dbflow.annotation.TypeConverter
public class UUIDConverter extends TypeConverter<String, UUID> {
    @Override
    public String getDBValue(UUID model) {
        return model == null ? null : model.toString();
    }

    @Override
    public UUID getModelValue(String data) {
        return data == null ? null : UUID.fromString(data);
    }
}

My model class :
package com.test.model;

import com.test.TestDB;
import com.raizlabs.android.dbflow.annotation.Column;
import com.raizlabs.android.dbflow.annotation.ModelContainer;
import com.raizlabs.android.dbflow.annotation.OneToMany;
import com.raizlabs.android.dbflow.annotation.PrimaryKey;
import com.raizlabs.android.dbflow.annotation.Table;
import com.raizlabs.android.dbflow.sql.builder.Condition;
import com.raizlabs.android.dbflow.sql.language.Select;
import com.raizlabs.android.dbflow.structure.BaseModel;
import com.raizlabs.android.dbflow.structure.container.ForeignKeyContainer;

import java.io.Serializable;
import java.util.List;
import java.util.UUID;

@ModelContainer
@Table(tableName = "myModel", databaseName = TestDB.NAME)
public class MyModel extends BaseModel implements Serializable {

    @Column(name="id")
    @PrimaryKey
    UUID id;

    List<MyOtherModel> members;
    @OneToMany(methods = {OneToMany.Method.ALL})
    public List<MyOtherModel> getMembers() {
        if(members == null) {
            members = new Select()
                    .from(MyOtherModel.class)
                    .where(Condition.column(MyOtherModel$Table.MYMODEL_MYMODEL_ID).is(id))
                    .queryList();
        }
        return members;
    }

    public void saveMembers() {
        for(MyOtherModel member : members) {
            member.parentModel = new ForeignKeyContainer<>(MyModel.class);
            member.parentModel.put(MyModel$Table.ID, id);
            member.save();
        }
    }

    public MyModel() {
        // only for ORM
    }
}

The other model (composition inside MyModel) :
package com.test.model;

import com.test.TestDB;
import com.raizlabs.android.dbflow.annotation.Column;
import com.raizlabs.android.dbflow.annotation.ForeignKey;
import com.raizlabs.android.dbflow.annotation.ForeignKeyAction;
import com.raizlabs.android.dbflow.annotation.ForeignKeyReference;
import com.raizlabs.android.dbflow.annotation.ModelContainer;
import com.raizlabs.android.dbflow.annotation.PrimaryKey;
import com.raizlabs.android.dbflow.annotation.Table;
import com.raizlabs.android.dbflow.annotation.TypeConverter;
import com.raizlabs.android.dbflow.structure.BaseModel;
import com.raizlabs.android.dbflow.structure.container.ForeignKeyContainer;

import java.io.Serializable;
import java.util.UUID;

@ModelContainer
@Table(tableName = "member", databaseName = TestDB.NAME)
public class MyOtherModel extends BaseModel implements Serializable {

    @Column(name="id")
    @PrimaryKey
    UUID id;

    @Column
    @ForeignKey(
            references = {@ForeignKeyReference(columnName = "myModel_id",
                    columnType = UUID.class,
                    foreignColumnName = "id")},
            saveForeignKeyModel = false,
            onDelete = ForeignKeyAction.CASCADE,
            onUpdate = ForeignKeyAction.CASCADE)
    transient ForeignKeyContainer<MyModel> parentModel;

    public MyOtherModel() {
        // only for ORM
    }
}

I realized that the issue is not because of the converter but the ForeignKeyReference and OneToMany mapping talking in terms of the model class instead of data class. So, changing the model classes to the following has resolved this issue:
My model class :
package com.test.model;

import com.test.TestDB;
import com.raizlabs.android.dbflow.annotation.Column;
import com.raizlabs.android.dbflow.annotation.ModelContainer;
import com.raizlabs.android.dbflow.annotation.OneToMany;
import com.raizlabs.android.dbflow.annotation.PrimaryKey;
import com.raizlabs.android.dbflow.annotation.Table;
import com.raizlabs.android.dbflow.sql.builder.Condition;
import com.raizlabs.android.dbflow.sql.language.Select;
import com.raizlabs.android.dbflow.structure.BaseModel;
import com.raizlabs.android.dbflow.structure.container.ForeignKeyContainer;

import java.io.Serializable;
import java.util.List;
import java.util.UUID;

@ModelContainer
@Table(tableName = "myModel", databaseName = TestDB.NAME)
public class MyModel extends BaseModel implements Serializable {

    @Column(name="id")
    @PrimaryKey
    UUID id;

    List<MyOtherModel> members;
    @OneToMany(methods = {OneToMany.Method.ALL})
    public List<MyOtherModel> getMembers() {
        if(members == null) {
            members = new Select()
                    .from(MyOtherModel.class)
                .where(Condition.column(MyOtherModel$Table.MYMODEL_MYMODEL_ID).is(id.toString()))
                    .queryList();
        }
        return members;
    }

    public void saveMembers() {
        for(MyOtherModel member : members) {
            member.parentModel = new ForeignKeyContainer<>(MyModel.class);
            member.parentModel.put(MyModel$Table.ID, id.toString());
            member.save();
        }
    }

    public MyModel() {
        // only for ORM
    }
}

The other model (composition inside MyModel) :
package com.test.model;

import com.test.TestDB;
import com.raizlabs.android.dbflow.annotation.Column;
import com.raizlabs.android.dbflow.annotation.ForeignKey;
import com.raizlabs.android.dbflow.annotation.ForeignKeyAction;
import com.raizlabs.android.dbflow.annotation.ForeignKeyReference;
import com.raizlabs.android.dbflow.annotation.ModelContainer;
import com.raizlabs.android.dbflow.annotation.PrimaryKey;
import com.raizlabs.android.dbflow.annotation.Table;
import com.raizlabs.android.dbflow.annotation.TypeConverter;
import com.raizlabs.android.dbflow.structure.BaseModel;
import com.raizlabs.android.dbflow.structure.container.ForeignKeyContainer;

import java.io.Serializable;
import java.util.UUID;

@ModelContainer
@Table(tableName = "member", databaseName = TestDB.NAME)
public class MyOtherModel extends BaseModel implements Serializable {

    @Column(name="id")
    @PrimaryKey
    UUID id;

    @Column
    @ForeignKey(
            references = {@ForeignKeyReference(columnName = "myModel_id",
                    columnType = String.class,
                    foreignColumnName = "id")},
            saveForeignKeyModel = false,
            onDelete = ForeignKeyAction.CASCADE,
            onUpdate = ForeignKeyAction.CASCADE)
    transient ForeignKeyContainer<MyModel> parentModel;

    public MyOtherModel() {
        // only for ORM
    }
}

Is it possible to document this in the 'Type Converters' section in the Getting Started guide?


text:
What is an 'atom'?

The docs for <ws> say the token is autoplaced after an "atom", but what exactly is an atom in a grammar doesn't seem to be explained anywhere.

Any part of a regex that you can identify as having any meaning is an atom.
So for example in \d ** 4, the \d and 4 are terms, then ** is an operator, and all three of those are atoms.
The statement that <.ws> is automatically inserted after an atom isn't quite always true. In the example above, that would lead to \d <.ws> ** <.ws> 4, which makes no sense. A more precise wording would be that <.ws> is placed after terms and closing parenthesis/brackets, and that operators typically special-case <.ws> handling.

I'm reopening this, because the concept of atom in a regex probably deserves its own fleshed out subsection somewhere. The answer to this question on SO fully relied on the clarification of this concept.
Additionally, non-capturing grouping also creates an atom, so it should be clarified that happens.

authors: JJ moritz zoffixznet

repo: Raku/doc


text:
'    couldn't find required command: "cmake"    '

C:\Users\<USER>\hypermine>cargo run --bin client --release
   Compiling shaderc-sys v0.6.2
The following warnings were emitted during compilation:

warning: System installed library not found.  Falling back to build from source

error: failed to run custom build command for `shaderc-sys v0.6.2`

Caused by:
  process didn't exit successfully: `C:\Users\<USER>\hypermine\target\release\build\shaderc-sys-cafcec58b5ca3411\build-script-build` (exit code: 101)
  --- stdout
  cargo:warning=System installed library not found.  Falling back to build from source

  --- stderr
  thread 'main' panicked at '

  couldn't find required command: "cmake"

  ', C:\Users\<USER>\.cargo\registry\src\github.com-1ecc6299db9ec823\shaderc-sys-0.6.2\build\cmd_finder.rs:50:13
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

I installed CMake and put it in the PATH so why is this?

Go ahead an ask this on the Hypermine-dev channel on the hyperrogue discord. This issues page is intended for feature requests, not tech support.

ok i did

authors: DimpyRed VexianEmpire

repo: Ralith/hypermine


text:
Updated headshot for Kev

To match my LinkedIn profile picture

:+1:

I am merging this

authors: dmsakamoto kevhuang

repo: Rallie-Team/rallie

license: mit

license_source: bigquery


text:
run train code error

cannot import name 'NAG' from 'src.data', how solved it?

这个问题是因为data文件夹里面的__init__.py没有正确导入所有包。我为了适应我自己的项目要求胡乱改的，建议你直接去原作者那下载最新的完整版。当然如果你遇到其他问题也很欢迎你来问。


text:
Bind queue with multiple keys when connecting to a channel for topic exchange routing

When Connecting a channel using Connect-RabbitMQChannel, the Key parameter is a unique [string] value, and the queue binding is done only once:
Connect-RabbitMqChannel.ps1 line 113
$Channel.QueueBind($QueueName, $Exchange, $Key)

When using Topic exchange, a great feature is to have a queue with multiple bindings based on different key, to have multiple routing: http://www.rabbitmq.com/tutorials/tutorial-five-dotnet.html
Although the extra bindings could be done later, I believe it would be nice to accept an array of keys, and bind for each routing key.
As that's probably a breaking change, would you prefer a new parameter ($keys) with new parameter set so that Key and Keys exclude each other? (probably possible, but adds more parameterSets).
While at it, the max length for a routing key is 255 Char.
I don't mind creating a fix then PR, just wondering if you'd consider a breaking change, or you want me to go the hard way ;)

Potentially, the least amount of non-breaking change would be to set the $key parameter to be allowed from pipeline, then move the binding in a process block, and the rest in the begin block.
I feel that's not really pretty though. Any opinion?

repo: RamblingCookieMonster/PSRabbitMq


text:
Errors running Set-psslackconfig

Warren,
I'm doing something fundamentally stupid and I can't see it. If I run set-psslackconfig on a newly patched Windows 10 or Server 2012 R2 system I get the following errors:
set-psslackonfig -Uri  -Token
The property 'Uri' cannot be found on this object. Verify that the property exists and can be set.
At C:\Program Files\WindowsPowerShell\Modules\PSSlack\0.0.16\Public\Set-PSSlackConfig.ps1:47 char:16

    'Uri'{ $Script:PSSlack.Uri = $Uri }

           ~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : InvalidOperation: (:) [], RuntimeException
FullyQualifiedErrorId : PropertyNotFound

The property 'Token' cannot be found on this object. Verify that the property exists and can be set.
At C:\Program Files\WindowsPowerShell\Modules\PSSlack\0.0.16\Public\Set-PSSlackConfig.ps1:48 char:18

    'Token'{ $Script:PSSlack.Token = $Token }

             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : InvalidOperation: (:) [], RuntimeException
FullyQualifiedErrorId : PropertyNotFound

It's barfing on your switch statement. This is on a brand-new install. I managed to work around that by pre-creating the PSSlack variable object and setting it to null but I'm worried this some dirty hack. What am I doing wrong please?

Hiyo!  Still running into this issue? If so feel free to open this back up, sorry for missing this one!
Cheers!

authors: RamblingCookieMonster johnmccrae

repo: RamblingCookieMonster/PSSlack


text:
Specify spec.targetNamespaces in dr-cluster OperatorGroup object

See https://github.com/RamenDR/ramen/pull/346#discussion_r786316240

The namespaces field is correct,, we want to be installable in a namespace that has cluster wide privileges and so the choice is correct. Closing this issue.

authors: ShyamsundarR hatfieldbrian

repo: RamenDR/ramen


text:
Layout de impressão

Olá pessoal. Muito bom o sistema!
Como conseguimos alterar o layout de impressão da OS? Deixar mais bonito?
Ex já viram do Operand?

@leosass Vocẽ pode editar o arquivo imprimir_os.php e deixar à seu gosto.

Estou tentando colocar a imagem de anexo dentro do imprimir_os.php, mas não retorna a imagem.
Alguém pode me ajudar?

@AcessoHAG Como você está tentando colocar essa imagem?

authors: AcessoHAG Pr3d4dor leosass


text:
not able to install requirements-dev.txt

im getting an error when i install requirements-dev.txt
ERROR: Command errored out with exit status 1: /Users/w/Documents/GitHub/financial-demo/venv/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/h5/jcvtwyn90zn9zftt0_3v_vrc0000gn/T/pip-install-zfm2bqqi/pytype_c303814f64fb49c6811b11ace471d273/setup.py'"'"'; file='"'"'/private/var/folders/h5/jcvtwyn90zn9zftt0_3v_vrc0000gn/T/pip-install-zfm2bqqi/pytype_c303814f64fb49c6811b11ace471d273/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /private/var/folders/h5/jcvtwyn90zn9zftt0_3v_vrc0000gn/T/pip-record-e7zz4vuc/install-record.txt --single-version-externally-managed --compile --install-headers /Users/w/Documents/GitHub/financial-demo/venv/include/site/python3.7/pytype Check the logs for full command output.

Thanks for raising this issue, @TyDunn will get back to you about it soon✨
Please also check out the docs and the forum in case your issue was raised there too 🤗

@walaareafaee Are you installing in a new virtual environment?

authors: TyDunn sara-tagger walaareafaee

repo: RasaHQ/financial-demo


text:
No matching distribution found for aiohttp~=3.5 (from rasa-x)

i am also getting the same error
i used python version is 3.5.2
pip uninstall rasa-x --extra-index-url https://pypi.rasa.com/simple
Error is
Collecting rasa-x
Downloading https://pypi.rasa.com/api/package/rasa-x/rasa-x-0.19.5.tar.gz (1.8MB)
|████████████████████████████████| 1.8MB 1.7MB/s
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Collecting simplejson~=3.16 (from rasa-x)
Downloading https://files.pythonhosted.org/packages/e3/24/c35fb1c1c315fc0fffe61ea00d3f88e85469004713dab488dee4f35b0aff/simplejson-3.16.0.tar.gz (81kB)
|████████████████████████████████| 81kB 560kB/s
Collecting python-dateutil~=2.8 (from rasa-x)
Using cached https://files.pythonhosted.org/packages/41/17/c62faccbfbd163c7f57f3844689e3a78bae1f403648a6afb1d0866d87fbb/python_dateutil-2.8.0-py2.py3-none-any.whl
Collecting sanic~=19.3.1 (from rasa-x)
Downloading https://files.pythonhosted.org/packages/90/11/31382617b33f89df0caca396f104628d256689a58a63c75d3e46663a8c8f/sanic-19.3.1-py3-none-any.whl (60kB)
|████████████████████████████████| 61kB 349kB/s
Collecting pika~=1.0.0 (from rasa-x)
Downloading https://files.pythonhosted.org/packages/78/1a/28c98ee8b211be21d4a9f4ef1687c4d36f9302d47fcc28b81f9591abf6d8/pika-1.0.1-py2.py3-none-any.whl (148kB)
|████████████████████████████████| 153kB 828kB/s
Collecting mixpanel~=4.3 (from rasa-x)
Downloading https://files.pythonhosted.org/packages/26/c0/7f234cafdb19e515c62a17dd8ed27dba782b68a93790af659553f37b4496/mixpanel-4.4.0-py2.py3-none-any.whl
Collecting SQLAlchemy~=1.3.0 (from rasa-x)
Downloading https://files.pythonhosted.org/packages/62/3c/9dda60fd99dbdcbc6312c799a3ec9a261f95bc12f2874a35818f04db2dd9/SQLAlchemy-1.3.5.tar.gz (5.9MB)
|████████████████████████████████| 5.9MB 451kB/s
Collecting alembic~=1.0.10 (from rasa-x)
Downloading https://files.pythonhosted.org/packages/7b/8b/0c98c378d93165d9809193f274c3c6e2151120d955b752419c7d43e4d857/alembic-1.0.11.tar.gz (1.0MB)
|████████████████████████████████| 1.0MB 322kB/s
Collecting sanic-jwt~=1.3 (from rasa-x)
Downloading https://files.pythonhosted.org/packages/9a/14/451e1e1ad90fd12a3e2bb41dd7acdbee2865012d841f4a5455a82c2d255a/sanic-jwt-1.3.2.tar.gz
Collecting rasa~=1.1.0 (from rasa-x)
Downloading https://files.pythonhosted.org/packages/4f/17/96c26432b3968b0a6e08fba87661f7b22ee58c79d4c054a09b9f4f75b9f2/rasa-1.1.4-py3-none-any.whl (447kB)
|████████████████████████████████| 450kB 431kB/s
Collecting questionary>=1.1.0 (from rasa-x)
Downloading https://files.pythonhosted.org/packages/1e/e2/eda18deed2410a4ac243ad13e375d1f0023288e0872310164a772d09c622/questionary-1.1.1-py3-none-any.whl
Collecting sanic-cors~=0.9.6 (from rasa-x)
Downloading https://files.pythonhosted.org/packages/33/c3/a0f3448627e5aa8e085b34c51f2e12d8fa17f0d345836ff0e7f262fe7571/Sanic_Cors-0.9.8.post1-py2.py3-none-any.whl
Collecting apscheduler~=3.5 (from rasa-x)
Downloading https://files.pythonhosted.org/packages/93/09/ffc2ed85fa578cd0d4428e9c421407e5d91a4464bbaa44f789941416ae42/APScheduler-3.6.0-py2.py3-none-any.whl (58kB)
|████████████████████████████████| 61kB 758kB/s
Collecting isodate~=0.6.0 (from rasa-x)
Downloading https://files.pythonhosted.org/packages/9b/9f/b36f7774ff5ea8e428fdcfc4bb332c39ee5b9362ddd3d40d9516a55221b2/isodate-0.6.0-py2.py3-none-any.whl (45kB)
|████████████████████████████████| 51kB 669kB/s
Collecting jsonschema~=2.6.0 (from rasa-x)
Downloading https://files.pythonhosted.org/packages/77/de/47e35a97b2b05c2fadbec67d44cfcdcd09b8086951b331d82de90d2912da/jsonschema-2.6.0-py2.py3-none-any.whl
Collecting pyjwt (from rasa-x)
Downloading https://files.pythonhosted.org/packages/87/8b/6a9f14b5f781697e51259d81657e6048fd31a113229cf346880bb7545565/PyJWT-1.7.1-py2.py3-none-any.whl
Collecting requests~=2.22 (from rasa-x)
Downloading https://files.pythonhosted.org/packages/51/bd/23c926cd341ea6b7dd0b2a00aba99ae0f828be89d72b2190f27c11d4b7fb/requests-2.22.0-py2.py3-none-any.whl (57kB)
|████████████████████████████████| 61kB 905kB/s
Collecting aiohttp~=3.5 (from rasa-x)
ERROR: Could not find a version that satisfies the requirement aiohttp~=3.5 (from rasa-x) (from versions: 0.1, 0.2, 0.3, 0.4, 0.4.1, 0.4.2, 0.4.3, 0.4.4, 0.5.0, 0.6.0, 0.6.1, 0.6.2, 0.6.3, 0.6.4, 0.6.5, 0.7.0, 0.7.1, 0.7.2, 0.7.3, 0.8.0, 0.8.1, 0.8.2, 0.8.3, 0.8.4, 0.9.0, 0.9.1, 0.9.2, 0.9.3, 0.10.0, 0.10.1, 0.10.2, 0.11.0, 0.12.0, 0.13.0, 0.13.1, 0.14.0, 0.14.1, 0.14.2, 0.14.3, 0.14.4, 0.15.0, 0.15.1, 0.15.2, 0.15.3, 0.16.0, 0.16.1, 0.16.2, 0.16.3, 0.16.4, 0.16.5, 0.16.6, 0.17.0, 0.17.1, 0.17.2, 0.17.3, 0.17.4, 0.18.0, 0.18.1, 0.18.2, 0.18.3, 0.18.4, 0.19.0, 0.20.0, 0.20.1, 0.20.2, 0.21.0, 0.21.1, 0.21.2, 0.21.4, 0.21.5, 0.21.6, 0.22.0a0, 0.22.0b0, 0.22.0b1, 0.22.0b2, 0.22.0b3, 0.22.0b4, 0.22.0b5, 0.22.0b6, 0.22.0, 0.22.1, 0.22.2, 0.22.3, 0.22.4, 0.22.5, 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.5, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.1.5, 1.1.6, 1.2.0, 1.3.0, 1.3.1, 1.3.2, 1.3.3, 1.3.4, 1.3.5, 2.0.0rc1, 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.0.5, 2.0.6, 2.0.6.post1, 2.0.7, 2.1.0, 2.2.0, 2.2.1, 2.2.2, 2.2.3, 2.2.4, 2.2.5, 2.3.0a1, 2.3.0a2, 2.3.0a4, 2.3.0, 2.3.1a1, 2.3.1, 2.3.2b2, 2.3.2b3, 2.3.2, 2.3.3, 2.3.4, 2.3.5, 2.3.6, 2.3.7, 2.3.8, 2.3.9, 2.3.10, 3.0.0b0)
ERROR: No matching distribution found for aiohttp~=3.5 (from rasa-x)

I am also getting the same error @prasannaonchip
I am using python version == 3.7.4
I have tried to install 'aiohttp' separately using pip install aiohttp, but it has been failed to install. In the official installation website of aiohttp, it has shown that the latest version is aiohttp == 3.5.4, in the error it shows the distribution version of aiohttp only upto 3.0.0b0

but it is installed in python version == 3.6.8

This problem has solved for me by installing python == 3.7.4 (64-bit), which has suggested in the provided link (https://stackoverflow.com/questions/38896424/tensorflow-not-found-using-pip?page=1&tab=votes#tab-top)
Though it meant for the installation problems for tensorflow, it worked for me @prasannaonchip

yeah python versions below 3.5.3 are unsupported i'm afraid

authors: Sarvin92 akelad prasannaonchip

repo: RasaHQ/rasa


text:
Consider using RaggedTensors

Description of Problem:
Currently, we are padding all batches to the same shape in RasaModelData.prepare_batch. For our dense data we could use RaggedTensors (doc) instead of padding the data ourself. This should simplify the code.
However, RaggedTensors cannot be used with tf.data.Dataset.from_generator right now. It seems that this was already tackled in https://github.com/tensorflow/tensorflow/pull/41981, but not yet released.
Overview of the Solution:
Once RaggedTensors can be used with tf.data.Dataset.from_generator update the code to use RaggedTensors and do not pad the data anymore. We might need to update some of our layers.

I remember we also wanted to redo tf.data.Dataset.from_generator anyhow

@tabergma Hey, the support for RaggedTensor in tf.data.Dataset.from_generator was released quite a while ago I believe. Actually we've put the example of RaggedTensor usage into the docstring for tf.data.Dataset.from_generator, check it out :)

@dakshvar22 have you looked into this? Should it be moved to in progress, or is it good where it is on the board?

@dakshvar22 have you looked into this? Should it be moved to in progress, or is it good where it is on the board?

Haven't made progress on it. Wanted to start on it once we complete the transition to Keras API.

Haven't made progress on it. Wanted to start on it once we complete the transition to Keras API.

Update: Unable to make ragged tensors currently work with our setup, i.e. a custom keras model + data generator of type tf.keras.utils.Sequence. Could be hitting a bug for which I've created an issue on tensorflow repo for now.
@lithuak Looks like you had pushed support for ragged tensors inside tf.data.Dataset.from_generator. While our setting is not exactly the same, but if you have any ideas on what could unblock us in the above linked issue, they are more than welcome!

authors: Ghostvv dakshvar22 koernerfelicia lithuak tabergma


text:
ResponseSelector training fails with use_text_as_label and simple pipeline

Rasa version: main (2.3.1)
Rasa SDK version (if used & relevant):
Rasa X version (if used & relevant):
Python version: 3.8.5
Operating system (windows, osx, ...): MacOS 10.15.6
Issue: NLU training fails when I have a ResponseSelector that expects sequence-level features but don't provide any featurisers that would create such features (in this case specifically for the label attribute). I would've expected at least some warning when using use_text_as_label but not providing any sequence-level featurisers.
Error (including full traceback):
Traceback (most recent call last):
  File "/Users/sams/.miniconda/envs/rasa1/bin/rasa", line 5, in <module>
    main()
  File "/Users/sams/rasa1/rasa/__main__.py", line 116, in main
    cmdline_arguments.func(cmdline_arguments)
  File "/Users/sams/rasa1/rasa/cli/train.py", line 197, in train_nlu
    return train_nlu(
  File "/Users/sams/rasa1/rasa/train.py", line 700, in train_nlu
    return rasa.utils.common.run_in_loop(
  File "/Users/sams/rasa1/rasa/utils/common.py", line 308, in run_in_loop
    result = loop.run_until_complete(f)
  File "uvloop/loop.pyx", line 1456, in uvloop.loop.Loop.run_until_complete
  File "/Users/sams/rasa1/rasa/train.py", line 750, in train_nlu_async
    return await _train_nlu_with_validated_data(
  File "/Users/sams/rasa1/rasa/train.py", line 812, in _train_nlu_with_validated_data
    await rasa.nlu.train(
  File "/Users/sams/rasa1/rasa/nlu/train.py", line 116, in train
    interpreter = trainer.train(training_data, **kwargs)
  File "/Users/sams/rasa1/rasa/nlu/model.py", line 209, in train
    updates = component.train(working_data, self.config, **context)
  File "/Users/sams/rasa1/rasa/nlu/classifiers/diet_classifier.py", line 832, in train
    self.model.fit(
  File "/Users/sams/rasa1/rasa/utils/tensorflow/models.py", line 222, in fit
    ) = self._get_tf_train_functions(eager, model_data, batch_strategy)
  File "/Users/sams/rasa1/rasa/utils/tensorflow/models.py", line 483, in _get_tf_train_functions
    self._get_tf_call_model_function(
  File "/Users/sams/rasa1/rasa/utils/tensorflow/models.py", line 466, in _get_tf_call_model_function
    tf_call_model_function(next(iter(init_dataset)))
  File "/Users/sams/.miniconda/envs/rasa1/lib/python3.8/site-packages/tensorflow/python/eager/def_function.py", line 780, in __call__
    result = self._call(*args, **kwds)
  File "/Users/sams/.miniconda/envs/rasa1/lib/python3.8/site-packages/tensorflow/python/eager/def_function.py", line 823, in _call
    self._initialize(args, kwds, add_initializers_to=initializers)
  File "/Users/sams/.miniconda/envs/rasa1/lib/python3.8/site-packages/tensorflow/python/eager/def_function.py", line 696, in _initialize
    self._stateful_fn._get_concrete_function_internal_garbage_collected(  # pylint: disable=protected-access
  File "/Users/sams/.miniconda/envs/rasa1/lib/python3.8/site-packages/tensorflow/python/eager/function.py", line 2855, in _get_concrete_function_internal_garbage_collected
    graph_function, _, _ = self._maybe_define_function(args, kwargs)
  File "/Users/sams/.miniconda/envs/rasa1/lib/python3.8/site-packages/tensorflow/python/eager/function.py", line 3213, in _maybe_define_function
    graph_function = self._create_graph_function(args, kwargs)
  File "/Users/sams/.miniconda/envs/rasa1/lib/python3.8/site-packages/tensorflow/python/eager/function.py", line 3065, in _create_graph_function
    func_graph_module.func_graph_from_py_func(
  File "/Users/sams/.miniconda/envs/rasa1/lib/python3.8/site-packages/tensorflow/python/framework/func_graph.py", line 986, in func_graph_from_py_func
    func_outputs = python_func(*func_args, **func_kwargs)
  File "/Users/sams/.miniconda/envs/rasa1/lib/python3.8/site-packages/tensorflow/python/eager/def_function.py", line 600, in wrapped_fn
    return weak_wrapped_fn().__wrapped__(*args, **kwds)
  File "/Users/sams/.miniconda/envs/rasa1/lib/python3.8/site-packages/tensorflow/python/framework/func_graph.py", line 973, in wrapper
    raise e.ag_error_metadata.to_exception(e)
tensorflow.python.autograph.impl.api.StagingError: in user code:

    /Users/sams/rasa1/rasa/utils/tensorflow/models.py:295 train_on_batch  *
        prediction_loss = self.batch_loss(batch_in)
    /Users/sams/rasa1/rasa/nlu/selectors/response_selector.py:737 batch_loss  *
        loss, acc = self._calculate_label_loss(
    /Users/sams/rasa1/rasa/nlu/classifiers/diet_classifier.py:1419 _calculate_label_loss  *
        all_label_ids, all_labels_embed = self._create_all_labels()
    /Users/sams/rasa1/rasa/nlu/selectors/response_selector.py:651 _create_all_labels  *
        sequence_lengths_label = self._get_sequence_lengths(
    /Users/sams/rasa1/rasa/utils/tensorflow/models.py:1126 _get_sequence_lengths  *
        return tf.cast(tf_batch_data[key][sub_key][0], dtype=tf.int32) + 1

    IndexError: list index out of range

Command or request that led to error:
rasa train nlu

Content of configuration file (config.yml) (if relevant):
language: en
pipeline:
  - name: WhitespaceTokenizer
  - name: CountVectorsFeaturizer
  - name: DIETClassifier
    epochs: 1
  - name: ResponseSelector
    epochs: 1
    use_text_as_label: true

Content of domain file (domain.yml) (if relevant):
version: "2.0"
intents:
  - greet
  - goodbye

Content of NLU data file:
version: "2.0"
nlu:
- intent: greet/hi
  examples: |
    - hey
    - hello

- intent: greet/bye
  examples: |
    - bye
    - ciao

- intent: goodbye
  examples: |
    - see you
    - good night

responses:
  utter_goodbye:
  - text: "Bye"

  utter_greet/hi:
  - text: hey there

  utter_greet/bye:
  - text: bye

missing intent
greet/hi
greet/bye

@Dustyposa in this case greet is a retrieval intent, so it's enough to list greet in the domain file, without enumerating all the variations with different response keys (in these case the keys being hi and bye).

@samsucik
in your config.yml, not declare the greet intent to retrieval intent。
need this configuration:
  - name: ResponseSelector
    retrieval_intent: greeet

@Dustyposa strictly speaking, that's not needed. By not specifying a retrieval_intent there, I effectively tell the ResponseSelector to be used for all retrieval intents.

@dakshvar22 I think I found the "bug". Even though I specified use_text_as_label: true, I didn't specify the number of transformer layers. And the default is, unfortunately, 0. Subsequently, here in label data preparation, sequence-level features are discarded if the number of transformer layers is 0. And so it happens that the DIET2DIET code expects sequence-level features to exist always when use_text_as_label: true, but in reality this isn't true and things break.
The easiest (but only temporary) fix would be to validate the config and exit if use_text_as_label: true and num_transformer_layers is 0 or not specified. However, we really need to change the DIET2DIET code to work OK just with sentence-level label features. And since that takes us exactly to the new rasa_layers that I'm creating over in #7589, I think that fixing it as part of that PR might be the easiest way actually...

@samsucik Just checking, are you still planning to fix this in https://github.com/RasaHQ/rasa/pull/7589 ?

Short answer: No 😜

@samsucik Since you are no longer taking care of this in #7589, what are our options for tackling this? Is this a common problem we expect users to run into or more of an edge case?

@samsucik Looking at your configuration, CountVectorsFeaturizer should add both sentence and sequence level features for response attribute of the message. I suspect either of the two:

Creation of model data object from all training messages is wrong
The function batch_to_model_data_format is doing something unexpected here.

@dakshvar22 have you read my comment above? I think it's in agreement with your comment and explains what's going on (though perhaps I should've made the explanation more detailed).

@TyDunn sorry, I must've overlooked your comment.

what are our options for tackling this?

If you're asking what a fix should look like, then I outlined above -- we can (for now) just check the config and either not proceed with ResponseSelector training or proceed with some reasonable default transformer parameters. But to really fix this properly, we should change the code such that a transformer isn't needed and everything works fine without it, using just sentence-level features for labels. Which fix to go for right now is subject to discussion I'd say.
I don't know how eagerly we recommend the use_text_as_label mode to users. But if we do, I think that users are very likely to run into this with their ResponseSelectors. As a matter of fact, though, it is the non-default mode, so using ResponseSelector with the default settings will work fine.

While investigating this, I came across a deeper issue as described here. As a result, even if I change the code to set a reasonable transformer_size value, the code still won't work when the transformer has 0 layers (which is the default). Hence, for now, I'm gonna:

open a new issue for the uncovered problem
for this issue, create a fix that works only if the user specifies a positive num_transformer_layers in their config

Note: Previously, I thought we wanted to set num_transformer_layers to a positive default value whenever use_text_as_label: true. Daksh reminded me that we want to keep the default (0) unless the user explicitly provides a positive value (indicating that they want to use a transformer).

Closing this one now because #8705 addresses all that is left here.

authors: Dustyposa TyDunn dakshvar22 samsucik


text:
slot filling issues and cannot run next action

Rasa Core version: 0.98
Python version: 3.6
Operating system (windows, osx, ...): win10
Issue:
I have problems with slot filling as I provide the debug below

when I type bullying, the bot stops and does not reply
when I type my topic is bullying, it fills the slot with the whole sentence instead of bullying that I have put in my train data: nlu_data.md

The steps I run RASA:
python -m rasa_nlu.train -c config_spacy.yml --data data/nlu_data.md -o models --fixed_model_name nlu --project current --verbose
python -m rasa_core.train -d domain.yml -s data/stories.md -o models/current/dialogue --epochs 200
python -m rasa_core.run -d models/current/dialogue -u models/current/nlu --debug
What is your topic?
2018-07-19 19:26:27 DEBUG    rasa_core.processor  - Bot utterance 'BotUttered(text: What is your topic?, data: null)'
2018-07-19 19:26:27 DEBUG    rasa_core.processor  - Action 'action_topic' ended with events '['SlotSet(key: requested_slot, value: essay_topic_slot)']'
2018-07-19 19:26:27 DEBUG    rasa_core.policies.memoization  - Current tracker state [{'intent_choose_argument': 1.0, 'prev_utter_choose_topic': 1.0}, {'prev_action_listen': 1.0, 'intent_choose_topic_yes_confirm': 1.0}, {'prev_action_topic': 1.0, 'intent_choose_topic_yes_confirm': 1.0}]
2018-07-19 19:26:27 DEBUG    rasa_core.policies.memoization  - There is no memorised next action
2018-07-19 19:26:27 DEBUG    rasa_core.policies.ensemble  - Predicted next action using policy_1_KerasPolicy
2018-07-19 19:26:27 DEBUG    rasa_core.policies.ensemble  - Predicted next action 'action_listen' with prob 1.00.
2018-07-19 19:26:27 DEBUG    rasa_core.processor  - Action 'action_listen' ended with events '[]'
2018-07-19 19:26:27 DEBUG    rasa_core.processor  - Current topic: None
bullying
2018-07-19 19:26:29 DEBUG    rasa_core.tracker_store  - Recreating tracker for id 'default'
2018-07-19 19:26:29 WARNING  py.warnings  - C:\Users\e8180\Anaconda3\lib\site-packages\sklearn\preprocessing\label.py:151: DeprecationWarning: The truth value of an empty array is ambiguous. Returning False, but in future this will result in an error. Use `array.size > 0` to check that an array is not empty.
  if diff:

2018-07-19 19:26:29 DEBUG    rasa_core.processor  - Received user message 'bullying' with intent '{'name': 'choose_argument', 'confidence': 0.4662541373947463}' and entities '[]'
2018-07-19 19:26:29 DEBUG    rasa_core.processor  - Logged UserUtterance - tracker now has 19 events
2018-07-19 19:26:29 DEBUG    rasa_core.processor  - Current slot values:
        Learner_argument_after_highlight_slot_1: None
        Learner_type_thesis_slot_1: None
        essay_topic_slot: None
        requested_slot: essay_topic_slot
2018-07-19 19:26:29 DEBUG    rasa_core.policies.memoization  - Current tracker state [{'prev_action_listen': 1.0, 'intent_choose_topic_yes_confirm': 1.0}, {'prev_action_topic': 1.0, 'intent_choose_topic_yes_confirm': 1.0}, {'prev_action_listen': 1.0, 'intent_choose_argument': 1.0}]
2018-07-19 19:26:29 DEBUG    rasa_core.policies.memoization  - There is no memorised next action
2018-07-19 19:26:29 DEBUG    rasa_core.policies.ensemble  - Predicted next action using policy_1_KerasPolicy
2018-07-19 19:26:29 DEBUG    rasa_core.policies.ensemble  - Predicted next action 'action_topic' with prob 0.93.
2018-07-19 19:26:29 DEBUG    actions  - -------essay_topic_slot---------
2018-07-19 19:26:29 DEBUG    actions  - bullying
2018-07-19 19:26:29 DEBUG    actions  - -------essay_topic_slot---------
2018-07-19 19:26:29 DEBUG    rasa_core.processor  - Action 'action_topic' ended with events '['SlotSet(key: essay_topic_slot, value: bullying)']'
2018-07-19 19:26:29 DEBUG    rasa_core.policies.memoization  - Current tracker state [{'prev_action_topic': 1.0, 'intent_choose_topic_yes_confirm': 1.0}, {'prev_action_listen': 1.0, 'intent_choose_argument': 1.0}, {'slot_essay_topic_slot_0': 1.0, 'prev_action_topic': 1.0, 'intent_choose_argument': 1.0}]
2018-07-19 19:26:29 DEBUG    rasa_core.policies.memoization  - There is no memorised next action
2018-07-19 19:26:29 DEBUG    rasa_core.policies.ensemble  - Predicted next action using policy_1_KerasPolicy
2018-07-19 19:26:29 DEBUG    rasa_core.policies.ensemble  - Predicted next action 'action_listen' with prob 0.69.
2018-07-19 19:26:29 DEBUG    rasa_core.processor  - Action 'action_listen' ended with events '[]'
2018-07-19 19:26:29 DEBUG    rasa_core.processor  - Current topic: None

What is your topic?
2018-07-19 19:23:22 DEBUG    rasa_core.processor  - Bot utterance 'BotUttered(text: What is your topic?, data: null)'
2018-07-19 19:23:22 DEBUG    rasa_core.processor  - Action 'action_topic' ended with events '['SlotSet(key: requested_slot, value: essay_topic_slot)']'
2018-07-19 19:23:22 DEBUG    rasa_core.policies.memoization  - Current tracker state [{'intent_choose_argument': 1.0, 'prev_utter_choose_topic': 1.0}, {'prev_action_listen': 1.0, 'intent_choose_topic_yes_confirm': 1.0}, {'prev_action_topic': 1.0, 'intent_choose_topic_yes_confirm': 1.0}]
2018-07-19 19:23:22 DEBUG    rasa_core.policies.memoization  - There is no memorised next action
2018-07-19 19:23:22 DEBUG    rasa_core.policies.ensemble  - Predicted next action using policy_1_KerasPolicy
2018-07-19 19:23:22 DEBUG    rasa_core.policies.ensemble  - Predicted next action 'action_listen' with prob 1.00.
2018-07-19 19:23:22 DEBUG    rasa_core.processor  - Action 'action_listen' ended with events '[]'
2018-07-19 19:23:22 DEBUG    rasa_core.processor  - Current topic: None
my topic is bullying
2018-07-19 19:23:37 DEBUG    rasa_core.tracker_store  - Recreating tracker for id 'default'
2018-07-19 19:23:37 WARNING  py.warnings  - C:\Users\e8180\Anaconda3\lib\site-packages\sklearn\preprocessing\label.py:151: DeprecationWarning: The truth value of an empty array is ambiguous. Returning False, but in future this will result in an error. Use `array.size > 0` to check that an array is not empty.
  if diff:

2018-07-19 19:23:37 DEBUG    rasa_core.processor  - Received user message 'my topic is bullying' with intent '{'name': 'choose_topic_yes_confirm', 'confidence': 0.2355609701897772}' and entities '[]'
2018-07-19 19:23:37 DEBUG    rasa_core.processor  - Logged UserUtterance - tracker now has 19 events
2018-07-19 19:23:37 DEBUG    rasa_core.processor  - Current slot values:
        Learner_argument_after_highlight_slot_1: None
        Learner_type_thesis_slot_1: None
        essay_topic_slot: None
        requested_slot: essay_topic_slot
2018-07-19 19:23:37 DEBUG    rasa_core.policies.memoization  - Current tracker state [{'prev_action_listen': 1.0, 'intent_choose_topic_yes_confirm': 1.0}, {'prev_action_topic': 1.0, 'intent_choose_topic_yes_confirm': 1.0}, {'prev_action_listen': 1.0, 'intent_choose_topic_yes_confirm': 1.0}]
2018-07-19 19:23:37 DEBUG    rasa_core.policies.memoization  - There is no memorised next action
2018-07-19 19:23:37 DEBUG    rasa_core.policies.ensemble  - Predicted next action using policy_1_KerasPolicy
2018-07-19 19:23:37 DEBUG    rasa_core.policies.ensemble  - Predicted next action 'action_topic' with prob 0.94.
2018-07-19 19:23:37 DEBUG    actions  - -------essay_topic_slot---------
2018-07-19 19:23:37 DEBUG    actions  - my topic is bullying
2018-07-19 19:23:37 DEBUG    actions  - -------essay_topic_slot---------
2018-07-19 19:23:37 DEBUG    rasa_core.processor  - Action 'action_topic' ended with events '['SlotSet(key: essay_topic_slot, value: my topic is bullying)']'
2018-07-19 19:23:37 DEBUG    rasa_core.policies.memoization  - Current tracker state [{'prev_action_topic': 1.0, 'intent_choose_topic_yes_confirm': 1.0}, {'prev_action_listen': 1.0, 'intent_choose_topic_yes_confirm': 1.0}, {'prev_action_topic': 1.0, 'intent_choose_topic_yes_confirm': 1.0, 'slot_essay_topic_slot_0': 1.0}]
2018-07-19 19:23:37 DEBUG    rasa_core.policies.memoization  - There is no memorised next action
2018-07-19 19:23:37 DEBUG    rasa_core.policies.ensemble  - Predicted next action using policy_1_KerasPolicy
2018-07-19 19:23:37 DEBUG    rasa_core.policies.ensemble  - Predicted next action 'utter_read_highlight_topic_of_choice' with prob 0.58.
Now go back to the module with articles about my topic is bullying. Start hghlighting parts that interest you. Let me know when you are done. (type DONE)

Content of domain file (if used & relevant):
intents:
  - greet
  - request_essay_help
  - choose_argument
  - choose_yes
  - choose_no
  - confirm_completion
  - learner_typetopic
  - Learner_type_argument_after_highlights
  - Learner_type_thesis
  - goodbye

actions:
- utter_greet
- utter_type_of_paper
- utter_choose_topic
- utter_ask_essay_topic
- utter_access_reading
- utter_skim_articles
- utter_read_highlight_topic_of_choice
- utter_show_highlights
- utter_ask_Learner_argument_after_highlight_slot_1
- utter_knowledge_what_thesis_statement
- utter_definition_thesis_statement
- utter_need_example_thesis_statement
- utter_ask_Learner_type_thesis_slot_1
- utter_confirm_thesis_arguable
- utter_whether_knowing_arguable
- utter_confirm_thesis_focused
- utter_whether_knowing_focused
- utter_definition_arguable_thesis
- utter_definition_focused_thesis
- utter_request_help_teacher
- utter_good_bye
- actions.ActionTopic
- actions.ActionArgument
- actions.ActionThesis

entities:
  - essay_topic
  - Learner_argument_after_highlight_slot_1
  - Learner_type_thesis_slot_1

slots:
  essay_topic:
    type: text
  Learner_argument_after_highlight_slot_1:
    type: text
  Learner_type_thesis_slot_1:
    type: text
  requested_slot:
    type: unfeaturized

templates:
  utter_greet:
  - text: "How may I help you?"
  utter_type_of_paper:
  - text: "Okay, what type of paper? Here are some options of different types of essays that I can help you with"
    buttons:
    - title: "Compare & Contrast Essay"
      payload: "compare_contrast"
    - title: "Argumentative Essay"
      payload: "argue"
    - title: "Cause and Effect Essay"
      payload: "cause"
    - title: "Problem & Solution Essay"
      payload: "problem"
  utter_choose_topic:
  - text: "Okay, do you have a topic in mind?"
  utter_ask_essay_topic:
  - text: "What is your topic?"
  utter_access_reading:
  - text: "Access reading resources provided by your instructor ..link to canvas.. As you can see the articles are grouped into different modules. choose one or two modules you would be interested in. Let me know when you are done."
    buttons:
    - title: "I am done"
      payload: "done"
  utter_skim_articles:
  - text: "Now skim the titles of articles under each module. Choose 3 to 4 articles under each module. Read each article. Let me know when you are done."
    buttons:
    - title: "I am done"
      payload: "done"
  utter_read_highlight_topic_of_choice:
  - text: "Now go back to the module with articles about {essay_topic}. Start hghlighting parts that interest you. Let me know when you are done."
    buttons:
    - title: "I am done"
      payload: "done"
  utter_show_highlights:
  - text: "Now Hers is the list of all the highlights you made. ..link to highlights... Now review the highlights to decide whether your position is for or against the topic about {essay_topic}. Let me know when you are done."
    buttons:
    - title: "I am done"
      payload: "done"
...
...

nlu_data.md
## intent:Learner_type_topic
- [peer review](essay_topic)
- [motivation](essay_topic)
- [bullying](essay_topic)

## intent:Learner_type_argument_after_highlights
- [Bullying has negative impacts](Learner_argument_after_highlight_slot_1)
- [peer review helps improving critical thinking](Learner_argument_after_highlight_slot_1)
- [When learners highlight a text, there must be some metacognitive standards in their mind](Learner_argument_after_highlight_slot_1)

## intent:Learner_type_thesis
- [Bullying has negative impacts because bullying will damage students' socio-emotional development](Learner_type_thesis_slot_1)
- [In my essay, I will argue that technology will not help learners in real classrooms](Learner_type_thesis_slot_1)
- [When learners enagage in peer review, they should be able to learn how others can write](Learner_type_thesis_slot_1)

the story
## Generated Story 1420804508927600322
* greet
    - utter_greet
* request_essay_help
    - utter_type_of_paper
* choose_argument
    - utter_choose_topic
* choose_yes
    - action_topic
    - slot{"requested_slot": "essay_topic"}
* learner_typetopic
    - action_topic
    - slot{"essay_topic": "bullying"}
    - utter_read_highlight_topic_of_choice
* confirm_completion
    - utter_show_highlights
* confirm_completion
    - action_argument
    - slot{"requested_slot": "Learner_argument_after_highlight_slot_1"}
* Learner_type_argument_after_highlights
    - action_argument
    - slot{"Learner_argument_after_highlight_slot_1": "Bullying has negative impacts"}
    - utter_knowledge_what_thesis_statement
* choose_yes
    - action_thesis
    - slot{"requested_slot": "Learner_type_thesis_slot_1"}
* Learner_type_thesis
    - action_thesis
    - slot{"Learner_type_thesis_slot_1": "Bullying has negative impacts because bullying will damage students' socio-emotional development"}
    - utter_confirm_thesis_arguable
* choose_yes
    - utter_confirm_thesis_focused
* choose_yes
    - utter_good_bye

action.py
class BookingInfo(object):
    def save(self, essay_topic):
        logger.debug("-------essay_topic---------")
        logger.debug(format(essay_topic))
        logger.debug("-------essay_topic---------")

        return
...
...
...
class ActionTopic(FormAction):

    RANDOMIZE = False

    @staticmethod
    def required_fields():
        return [
            EntityFormField("essay_topic", "essay_topic")

        ]

    def name(self):
        return 'action_topic'

    def submit(self, dispatcher, tracker, domain):

        Bookinginfo = BookingInfo()
        booking = Bookinginfo.save(tracker.get_slot("essay_topic"))
        return
class ActionArgument(FormAction):

    RANDOMIZE = False

    @staticmethod
    def required_fields():
        return [
            FreeTextFormField("Learner_argument_after_highlight_slot_1")

        ]

    def name(self):
        return 'action_argument'

    def submit(self, dispatcher, tracker, domain):

        Argumenta_Info = ArgumentafInfo()
        booking = Argumenta_Info.save(tracker.get_slot("Learner_argument_after_highlight_slot_1"))

        return

class ActionThesis(FormAction):

    RANDOMIZE = False

    @staticmethod
    def required_fields():
        return [
            FreeTextFormField("Learner_type_thesis_slot_1")

        ]

    def name(self):
        return 'action_thesis'

    def submit(self, dispatcher, tracker, domain):

        Thesis_info = ThesisInfo()
        booking = Thesis_info.save(tracker.get_slot("Learner_type_thesis_slot_1"))

        return

my config_spacy.yml
language: "en"

pipeline:
- name: "nlp_spacy"
- name: "tokenizer_spacy"
- name: "ner_crf"
- name: "intent_featurizer_count_vectors"
- name: "intent_classifier_tensorflow_embedding"

It looks like you've labeled your NLU data incorrectly: please look at the examples here: http://rasa.com/docs/nlu/master/dataformat/

Thank you @akelad
We made a typo for the nlu data, we should use () instead

@akelad I'm not sure why it's not working again :\
I have updated the code of domain, nlu data, stories above.
But this time after I type bullying, the intent is wrong and the bot stops replying, it chose Learner_type_argument_after_highlights instead of learner_typetopic
What is your topic?
2018-07-20 02:07:34 DEBUG    rasa_core.processor  - Bot utterance 'BotUttered(text: What is your topic?, data: null)'
2018-07-20 02:07:34 DEBUG    rasa_core.processor  - Action 'action_topic' ended with events '['SlotSet(key: requested_slot, value: essay_topic)']'
2018-07-20 02:07:34 DEBUG    rasa_core.policies.memoization  - Current tracker state [{'prev_utter_choose_topic': 1.0, 'intent_choose_argument': 1.0}, {'intent_choose_yes': 1.0, 'prev_action_listen': 1.0}, {'prev_action_topic': 1.0, 'intent_choose_yes': 1.0}]
2018-07-20 02:07:34 DEBUG    rasa_core.policies.memoization  - There is a memorised next action '0'
2018-07-20 02:07:34 DEBUG    rasa_core.policies.ensemble  - Predicted next action using policy_0_MemoizationPolicy
2018-07-20 02:07:34 DEBUG    rasa_core.policies.ensemble  - Predicted next action 'action_listen' with prob 1.00.
2018-07-20 02:07:34 DEBUG    rasa_core.processor  - Action 'action_listen' ended with events '[]'
2018-07-20 02:07:34 DEBUG    rasa_core.processor  - Current topic: None
bullying
2018-07-20 02:07:36 DEBUG    rasa_core.tracker_store  - Recreating tracker for id 'default'
2018-07-20 02:07:36 WARNING  py.warnings  - C:\Users\e8180\Anaconda3\lib\site-packages\sklearn\preprocessing\label.py:151: DeprecationWarning: The truth value of an empty array is ambiguous. Returning False, but in future this will result in an error. Use array.size > 0 to check that an array is not empty.
if diff:
2018-07-20 02:07:36 DEBUG    rasa_core.processor  - Received user message 'bullying' with intent '{'name': 'Learner_type_argument_after_highlights', 'confidence': 0.47189765157686125}' and entities '[]'
2018-07-20 02:07:36 DEBUG    rasa_core.processor  - Logged UserUtterance - tracker now has 19 events
2018-07-20 02:07:36 DEBUG    rasa_core.processor  - Current slot values:
Learner_argument_after_highlight_slot_1: None
Learner_type_thesis_slot_1: None
essay_topic: None
requested_slot: essay_topic
2018-07-20 02:07:36 DEBUG    rasa_core.policies.memoization  - Current tracker state [{'intent_choose_yes': 1.0, 'prev_action_listen': 1.0}, {'prev_action_topic': 1.0, 'intent_choose_yes': 1.0}, {'intent_Learner_type_argument_after_highlights': 1.0, 'prev_action_listen': 1.0}]
2018-07-20 02:07:36 DEBUG    rasa_core.policies.memoization  - There is no memorised next action
2018-07-20 02:07:36 DEBUG    rasa_core.policies.ensemble  - Predicted next action using policy_1_KerasPolicy
2018-07-20 02:07:36 DEBUG    rasa_core.policies.ensemble  - Predicted next action 'action_topic' with prob 0.97.
2018-07-20 02:07:36 DEBUG    actions  - -------essay_topic---------
2018-07-20 02:07:36 DEBUG    actions  - bullying
2018-07-20 02:07:36 DEBUG    actions  - -------essay_topic---------
2018-07-20 02:07:36 DEBUG    rasa_core.processor  - Action 'action_topic' ended with events '['SlotSet(key: essay_topic, value: bullying)']'
2018-07-20 02:07:36 DEBUG    rasa_core.policies.memoization  - Current tracker state [{'prev_action_topic': 1.0, 'intent_choose_yes': 1.0}, {'intent_Learner_type_argument_after_highlights': 1.0, 'prev_action_listen': 1.0}, {'prev_action_topic': 1.0, 'slot_essay_topic_0': 1.0, 'intent_Learner_type_argument_after_highlights': 1.0}]
2018-07-20 02:07:36 DEBUG    rasa_core.policies.memoization  - There is no memorised next action
2018-07-20 02:07:36 DEBUG    rasa_core.policies.ensemble  - Predicted next action using policy_1_KerasPolicy
2018-07-20 02:07:36 DEBUG    rasa_core.policies.ensemble  - Predicted next action 'action_listen' with prob 0.61.
2018-07-20 02:07:36 DEBUG    rasa_core.processor  - Action 'action_listen' ended with events '[]'
2018-07-20 02:07:36 DEBUG    rasa_core.processor  - Current topic: None

You probably don't have a story for this yet. In the story you provided there's no part where the intent Learner_type_argument_after_highlights follows the action action_topic.
So I guess the intent was misclassified - I'd say you have too few NLU examples. And the training data you posted all seems to overlap a bit - is there any reason not to just merge them into one?

@akelad Hi, I do have those actions but I didn't post before. Sorry about that, now I have updated them ActionArgument & ActionThesis in the actions.py part in my first comment.
So from my story, after the user types bullying, it should run action_topic to store the slot and - utter_read_highlight_topic_of_choice. Then ask a user to confirm >> * confirm_completion. But it stops and it chose the wrong intent for the essay topic Learner_type_argument_after_highlights and the debug says rasa_core.policies.memoization  - There is no memorised next action.
So I have three examples for each intent:

learner_typetopic

Learner_type_argument_after_highlights

Learner_type_thesis

To answer your question about

is there any reason not to just merge them into one?

Yes, because essay topic is different to an essay argument or thesis statement.
An essay argument or thesis statement could have 1 or 2 sentences, but essay topic could only have one word or one sentence like "my topic is xxx". That's why we did not merge them. And a keyword in an essay topic can overlap in the essay argument or thesis statement since when we write an essay, we have to refer back to the topic.
Is there another way to solve this problem?

I've checked the debug document you told me.
This time I also added a few more nlu data into intent:learner_typetopic
So it looks like:
## intent:learner_typetopic
- [peer review](essay_topic)
- [motivation](essay_topic)
- [bullying](essay_topic)
- My topic is [bullying](essay_topic)
- the topic is [bullying](essay_topic)
- [bullying](essay_topic) is my topic
- topic is [bullying](essay_topic)
- My topic is [peer review](essay_topic)
- the topic is [peer review](essay_topic)
- [peer review](essay_topic) is my topic
- topic is [peer review](essay_topic)
- My topic is [motivation](essay_topic)
- the topic is [motivation](essay_topic)
- [motivation](essay_topic) is my topic
- topic is [motivation](essay_topic)

My question is that is it okay to build the nlu data like this format? sometimes it only has a keyword, but sometimes it is with a sentence because when I added more sentences into this intent instead of only one keyword. It does not run to the next path and it shows policy_1_KerasPolicy issue.
debug mode:
What is your topic?
2018-07-20 15:20:45 DEBUG    rasa_core.processor  - Bot utterance 'BotUttered(text: What is your topic?, data: null)'
2018-07-20 15:20:45 DEBUG    rasa_core.processor  - Action 'action_topic' ended with events '['SlotSet(key: requested_slot, value: essay_topic)']'
2018-07-20 15:20:45 DEBUG    rasa_core.policies.memoization  - Current tracker state [{'prev_utter_choose_topic': 1.0, 'intent_choose_argument': 1.0}, {'prev_action_listen': 1.0, 'intent_choose_yes': 1.0}, {'prev_action_topic': 1.0, 'intent_choose_yes': 1.0}]
2018-07-20 15:20:45 DEBUG    rasa_core.policies.memoization  - There is a memorised next action '0'
2018-07-20 15:20:45 DEBUG    rasa_core.policies.ensemble  - Predicted next action using policy_0_MemoizationPolicy
2018-07-20 15:20:45 DEBUG    rasa_core.policies.ensemble  - Predicted next action 'action_listen' with prob 1.00.
2018-07-20 15:20:45 DEBUG    rasa_core.processor  - Action 'action_listen' ended with events '[]'
2018-07-20 15:20:45 DEBUG    rasa_core.processor  - Current topic: None
bullying
2018-07-20 15:20:49 DEBUG    rasa_core.tracker_store  - Recreating tracker for id 'default'
2018-07-20 15:20:49 DEBUG    rasa_core.processor  - Received user message 'bullying' with intent '{'name': 'learner_typetopic', 'confidence': 0.9535120725631714}' and entities '[{'start': 0, 'end': 8, 'value': 'bullying', 'entity': 'essay_topic', 'confidence': 0.7322899434676684, 'extractor': 'ner_crf'}]'
2018-07-20 15:20:49 DEBUG    rasa_core.processor  - Logged UserUtterance - tracker now has 20 events
2018-07-20 15:20:49 DEBUG    rasa_core.processor  - Current slot values:
        Learner_argument_after_highlight_slot_1: None
        Learner_type_thesis_slot_1: None
        essay_topic: bullying
        requested_slot: essay_topic
2018-07-20 15:20:49 DEBUG    rasa_core.policies.memoization  - Current tracker state [{'prev_action_listen': 1.0, 'intent_choose_yes': 1.0}, {'prev_action_topic': 1.0, 'intent_choose_yes': 1.0}, {'entity_essay_topic': 1.0, 'slot_essay_topic_0': 1.0, 'prev_action_listen': 1.0, 'intent_learner_typetopic': 1.0}]
2018-07-20 15:20:49 DEBUG    rasa_core.policies.memoization  - There is no memorised next action
2018-07-20 15:20:49 DEBUG    rasa_core.policies.ensemble  - Predicted next action using policy_1_KerasPolicy
2018-07-20 15:20:49 DEBUG    rasa_core.policies.ensemble  - Predicted next action 'action_topic' with prob 0.91.
2018-07-20 15:20:49 DEBUG    actions  - -------essay_topic---------
2018-07-20 15:20:49 DEBUG    actions  - bullying
2018-07-20 15:20:49 DEBUG    actions  - -------essay_topic---------
2018-07-20 15:20:49 DEBUG    rasa_core.processor  - Action 'action_topic' ended with events '['SlotSet(key: essay_topic, value: bullying)']'
2018-07-20 15:20:49 DEBUG    rasa_core.policies.memoization  - Current tracker state [{'prev_action_topic': 1.0, 'intent_choose_yes': 1.0}, {'entity_essay_topic': 1.0, 'slot_essay_topic_0': 1.0, 'prev_action_listen': 1.0, 'intent_learner_typetopic': 1.0}, {'entity_essay_topic': 1.0, 'slot_essay_topic_0': 1.0, 'intent_learner_typetopic': 1.0, 'prev_action_topic': 1.0}]
2018-07-20 15:20:49 DEBUG    rasa_core.policies.memoization  - There is no memorised next action
2018-07-20 15:20:49 DEBUG    rasa_core.policies.ensemble  - Predicted next action using policy_1_KerasPolicy
2018-07-20 15:20:49 DEBUG    rasa_core.policies.ensemble  - Predicted next action 'action_listen' with prob 0.74.
2018-07-20 15:20:49 DEBUG    rasa_core.processor  - Action 'action_listen' ended with events '[]'
2018-07-20 15:20:49 DEBUG    rasa_core.processor  - Current topic: None

I understand that essay topic and essay argument etc are different things, but from the flow of your conversation I don't see a reason not to merge those intents. You can just make it a general intent like provide_essay_information for example. This will make NLU a lot more consistent. If you want to make sure the topic/argument are of the correct length or similar, then this should be done in a custom action.

@akelad thanks for getting back to me.
Isn't the way I construct action.py a custom action for getting slots of essay topic, argument, and thesis statement?
Also, when you suggested merge them into one intent, will it look like this?? But isn't in this way, still need to use a custome action to get the slot value like the way I did?
Intent:provide_essay_information
## intent:Learner_type_topic
- [peer review](essay_topic)
- [motivation](essay_topic)
- [bullying](essay_topic)
- [Bullying has negative impacts](Learner_argument_after_highlight_slot_1)
- [peer review helps improving critical thinking](Learner_argument_after_highlight_slot_1)
- [When learners highlight a text, there must be some metacognitive standards in their mind](Learner_argument_after_highlight_slot_1)
- [Bullying has negative impacts because bullying will damage students' socio-emotional development](Learner_type_thesis_slot_1)
- [In my essay, I will argue that technology will not help learners in real classrooms](Learner_type_thesis_slot_1)
- [When learners enagage in peer review, they should be able to learn how others can write](Learner_type_thesis_slot_1)

I'm not sure what exactly you mean. But the way that's merged now is good. Given your whole sentence is an entity here, I'd say you can just get rid of entities completely and take the whole user utterance in your custom actions. e.g.
class ActionStoreTopic(Action):
  def name(self):
    return "action_store_topic"
  def run(self, dispatcher, tracker, domain):
    essay_topic = tracker.latest_message.text
    return([SlotSet('essay_topic', essay_topic)])


text:
rasa_nlu_synonyms Markdown File does not work

Rasa NLU version: Newest
Operating system (windows, osx, ...): osx
Content of model configuration file:
Markdown Format Dataset

Issue: When I follow the instruction on "Training Data Format" page in Rasa NLU, the Markdown file does not work for me for recognizing synonyms, but the Json File works well. I think it should recognize the "savings", but it not.  I attached my code below, please take a look and correct me if anything wrong. Thanks.

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

Hi @xinrouli ,
so What is savings? was recognised when you had the training data as json file?
I think you have to add more examples (>= 10) so that the bot has a higher confidence of extraction the entity.

@wochinge Thanks! you are so right. After adding more training examples, it works!

Cool 🚀 If you have more questions or strange behaviors, which are no bugs, please post them on our forum: https://forum.rasa.com 🙂Happy chatbot building!

Sure!

authors: akelad wochinge xinrouli


text:
Switch between NLU models in Rasa core as we do in rasa nlu.

Similar to #2874 I want to ask, if it is possible to optionally pass a nlu model parameter to rasa core during a request via HTTP API.
In the docs, I can only find the option to set the nlu model in rasa core during the start with the -u parameter:
$ python -m rasa_core.run \
    --enable_api \
    -d models/dialogue \
    -u models/nlu/current \
    -o out.log

But in rasa nlu you can change the model for each request:
$ curl -XPOST localhost:5000/parse -d '{"q":"hello there", "model": "<model_XXXXXX>"}'

Would be nice to have this flexibility in the rasa core HTTP API too.

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

@neumann-d this is currently not possible, as the Rasa Core only knows about a single NLU model at a time (it does not have a DataRouter or ProjectStore - unlike the NLU server). This functionality might become part of future releases though

closing, because we're keeping track of that in a different issue

Thank you for the response and this awesome project!

Seems to be solved since Rasa 1.0. Great work guys!

authors: akelad neumann-d ricwo


text:
The navbar and footer of FAQ page aren't consistent with that of Homepage

What happened?
The navbar and footer CSS is distorted on FAQ page, also the hover functionality, font-weight, size are not consistent with that of the Homepage.
Homepage Navbar Footer : -

FAQ Navbar :-

How can we reproduce this bug?
No reproduction needed..... It's component consistency issue
Desktop Information (Optional)
No response
Urgency (Optional)
Medium priority

Kindly assign me this issue under Gssoc 2022 contribution

Assigned u @GaganpreetKaurKalsi

authors: GaganpreetKaurKalsi gurjeetsinghvirdee

repo: Rayman-Sodhi/Clone-IT


text:
Update style.css

Proposed Changes
Update style.css

what are the changes send ..attach a image Which program are you contributing to

authors: Rayman-Sodhi YashAryanTheCoder


text:
Added Lambda "Quantization Level" Parameter

Adds a quantization level parameter to allow for more gradual introduction of quantization rather than applying it abruptly to the weights and activations for each tensor. Quantization Level = 0 means that there is no quantization happening. Quantization Level = 1 means full quantization. This quantization level is only applied during training to the activations and linears.

From discussion change kwargs to iter_num directly.
And also provide a demo script that shows difference with and without gradual quantization with tinystories (verifying inference too)

repo: ReaLLMASIC/nanoGPT


text:
Disabled element won't show tooltip

 <button
	onClick={onCheckoutPress}
     className="button primary font-14 font-400 full"
     disabled={true}
     data-tip="Disabled"
     data-for="checkout-button"
 >
     Save
 </button>

 <ReactToolTip
       id="checkout-button"
/>

The tooltip won't show if button is disabled.

Same issue here, but it only occurs with (disabled) buttons, not all elements.
As a workaround, I wrapped my disabled button inside a span element :

    <button disabled={true}>Click</button>

I was bit by the same issue. Good idea on the workaround

+1, guess i'm doing the workaround 🤕

Hm, don't really like the wrapping workaround, as it can mess up things like menu items etc, that rely on a certain DOM structure. I think a very common scenario is to want to show a tool-tip if a button is disabled, to explain to the  user why it's disabled.

Keep the button inside the  tags then you can get the tooltip for disabled buttons. This is the best you can do instead of using warning
         <button disabled> Save </button>

Hm, don't really like the wrapping workaround, as it can mess up things like menu items etc, that rely on a certain DOM structure. I think a very common scenario is to want to show a tool-tip if a button is disabled, to explain to the user why it's disabled.

can't stress this more.

I haven't full tested it yet, but I have a situation where wrapping in  ...  it makes tooltip appear, but don't disappear.

+1

If you have another tag in disabled button you can set tooltip on it as well.

The workaround that worked best for me is to put the span inside the button:
<button disabled={true}>

    Click

</button>

^ you have to style the span though to be full height of the button, otherwise the tip will trigger only over the text.

this is probably gonna be hard to solve without introducing some higher-level code (which, i'm not sure is desired for this library); the issue stems from the native behavior of disabled elements (see this demo for an illustration of this behavior).
details:
the way that react-tooltip responds to user interaction relies on binding native dom events to the button (namely, mouseenter and focus), as seen in the source code, on the main file.
these events are not triggered by the user agent, if the element is marked as disabled. W3C's recommendation on this states that engines should prevent dispatching click events, but apparently vendor implementations have broadened this definition (or probably there's a spec in place that i'm not aware of).

also, here's my current take for a workaround:
export default const FormControl = ({
  tag: FormControlType,
  ...props
}) => {
  const tooltipAttributes = Object.entries(props)
    .filter(([key, value]) => key.startsWith('data-'))
    .reduce((accum, [key, value]) => {
      accum[key] = value
      return accum
    }, {})

  return props.disabled && tooltipAttributes['data-tip'] ? (

      <FormControlType {...props} />

  ) : (
    <FormControlType {...props} {...tooltipAttributes} />
  )
}

this implementation has an obvious limitation; it assumes all data-* attributes belong to react-tooltip, but other then that, it's just a convenient way to encapsulate all that wrapper shenanigans into a nice package.
example usage:
const Button = ({className = '', ...props}) => (
  <FormControl
    {...props}
    tag="button"
    className={`drifter-button ${className}`}
  />
)

it can also be used for its declarative abstraction-level of form-control components, that is - we can include CSS rules that are common to buttons, inputs, selects etc. (ever found yourself constantly repeating stuff like outline: 0 across form control components? i know i did..).

The workaround that worked best for me is to put the span inside the button:
<button disabled={true}>

    Click

</button>

Works great, thanks :)

updating rc-tooltip to latest version made it work

authors: NandySahukar WickyNilliams YuriScarbaci avital-ubeya benlieb bost-h eliranmal evgenyfadeev jonauz kellyrmilligan rahul-desai3 stefensuhat strongui sztadii tsrul

repo: ReactTooltip/react-tooltip


text:
Route props not updated

Version
3.0.2
Test Case
Steps to reproduce
Hi, okay, so I have route where I am pushing props to:
let rnd = Math.random();
...
<Route path='/' component={App} rnd={rnd} />

Expected Behavior
In App component, I expect "this.props.route.rnd" to be last generated random number.
Actual Behavior
Despite expectations, "this.props.route.rnd" is actually keeping its initial value.

I'm not sure what else to say. <Route> doesn't work like this. Please read the documentation.

@timdorr  Well, if  does allow to pass properties more or less like standard React component, it's quite logical you would expect the same behaviour.
Is there some specific documentation/workaround for my case?

This example might be of help: https://github.com/ReactTraining/react-router/blob/master/examples/passing-props-to-children/app.js

@timdorr Thank you!

authors: DavidSvetlik timdorr

repo: ReactTraining/react-router


text:
Nested route not working

i am trying to implement a nested route like this.
<Switch>                                                 <Route exact path="/Jobs/:id" component={Job} />                                                 <Route path="Jobs/:id/categorydetails" component={CategoryDetails} />                                             </Switch>
and here is link
<Link to={${this.props.match.url}/categorydetails}>
Url changes but i am not been able to render a component .

This is a bug tracker, not a support system. For usage questions, please use Stack Overflow or Reactiflux where there are a lot more people ready to help you out. Thanks!


text:
#48 TableBuilder Refactoring 2

#48
убрал <TItem> из всех билдеров по ячейкам.
не пойму пока, так можно или что-то сломается (


text:
I am trying to connect to DNS Seedlist using url : mongodb+srv://username:password@host/test . and trying to create connection using this code :  parsedUri = MongoConnection.parseURI(mongoUri)   val connection = parsedUri.map(driver.connection)  while running the code , it is giving me this error    "Some options were ignored because they are not supported (yet): replicaSet"  my analysis : it is by default adding replica set option in ignored options and there is n property defined as "replicaset" in MongoConnectionOptions .  I am stuck and this place and trying multiple solutions but didn't work out.

Are you looking for help?
This tracker is not a support system and so it is not a place to ask questions or get help. If you're not sure if you have found a bug, the best place to start is with either the users mailing list.
This tracker is for confirmed issue or actionable feature request, used to manage and track the development of ReactiveMongo.
ReactiveMongo Version (0.10.5, 0.11.6 / etc)
MongoDB version (2.6, 3.0 / etc)
Operating System (Ubuntu 15.10 / MacOS 10.10 / Windows 10)

Use uname -a if on Linux.

JDK (Oracle 1.8.0_72, OpenJDK 1.8.x, Azul Zing)

Paste the output from java -version at the command line.

Library Dependencies
If this is an issue that involves integration with other frameworks (e.g. Playframework), include the exact versions the other frameworks.
Expected Behavior
Please describe the expected behavior of the issue, starting from the first action.

Actual Behavior
Please provide a description of what actually happens, working from the same starting point.
Be descriptive: "it doesn't work" does not describe what the behaviour actually is -- instead, say "BSONCollection.drop() fails with 'command drop failed because the 'ok' field is missing or equals 0'"  Copy and paste logs, and include any URLs. Turn on internal SLF4J logging if there is no log output (e.g. with Play/logback logging <logger name="reactivemongo" value="TRACE"/>).

Reproducible Test Case
Please provide a PR with a failing test.
If the issue is more complex or requires configuration, please provide a link to a project on Github that reproduces the issue.

Hi,
As indicated, this tracker is for confirmed issue.
Please use the mailing list to ask for help.
Best regards

repo: ReactiveMongo/ReactiveMongo


text:
fix(concat): let observable concat instead of merge

change behavior of concat instead of merge
migrate test case for concat, concatall

concat was working as same as merge, changed its behavior to actually concat observables also migrated all test cases from RxJS3. Operators like concatall might need additional test coverage in further.
reproducible code
RxNew.Observable.interval(100).take(5).map(function(x) { return x + ':  source'})
  .concat(RxNew.Observable.interval(200).take(3).map(function(x) { return x + ':  other'}))
  .subscribe(function(x) {
      console.log(x);
    }, function(x) {
      console.log(x);
    },function() {
      console.log('concat completed');
    });

before fix

0:  source
0:  other
1:  source
2:  source
1:  other
3:  source
4:  source
2:  other
concat completed

after fix

0:  source
1:  source
2:  source
3:  source
4:  source
0:  other
1:  other
2:  other
concat completed

Merged with 8fe9e39... I've added a commit to account for the mergeAll operators being on the CoreOperators interface now.

Thank you @kwonoj

authors: blesh kwonoj

repo: ReactiveX/RxJS


text:
Basic tooling

anyone up for setting up lint / prettier, etcs for consistent codes? except prettier it's available in RxJS repo already so copy-paste would be sufficient.

@kwonoj I can pick this

go for it 👍

one thing: prolly we need setup prettier for lint-staged stage as same as lint for faster processing.

Thx @ashwin-sureshkumar

with husky git hooks, I meant.

@kwonoj - just clarify you are looking to add the husky hooks on pre-commit or pre-push. Also, run the test + lint on decided husky hook or just lint ? I was thinking both test + lint.

what rxjs repo does is precommit for lint-staged only. reason it is precommit is it has autofix, so each commit has correct one right away. I'd probably not consider prepush at this moment especially test - let it run by CI.

@kwonoj - Thanks !

authors: ashwin-sureshkumar kwonoj ladyleet

repo: ReactiveX/rxjs-docs


text:
Expected result of sample operator

Bug Report
The result I expected was as shown in Figure 5, but the actual result was 4
import { timer } from 'rxjs';
import { map, sample, mapTo } from 'rxjs/operators';

const source1$ = timer(0, 1000);
const source2$ = timer(5000);
const source3$ = source1$.pipe(sample(source2$));
source3$.subscribe(console.log);

node v10.3.0
rxjs 6.3.3

To what do figures 4 and 5 refer?

Closing as inactive.

authors: cartant cys85 kwonoj

repo: ReactiveX/rxjs


text:
Support for Tiling

Tiling support for CovJSON files needs to be added

Does this work now?

Partially, but a lot of parameters have to be specified manually and it is not yet documented properly.

Ok, then I'll reopen this until it is actually usable and properly tested.

authors: RileyWilliams letmaik

repo: Reading-eScience-Centre/pycovjson


text:
[RFC] Optimizing Unique Username Generation Process

Main Issue Ticket:

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

Problem Statement:
In my previous solution and code(flow-chart) I am accessing the database every time to check created username exist in database or not until an n available username is found. But problem is it is not cost effective approach as well as its takes more time to find unique username.
Possible Solution:
Solution1:

Instead of accessing database every time, we access database once and fetch all user that matches the given firstname and lastname because firstname and lastname is always same.
ex: 5 user-  shubham-sigdar, shubham-sigdar-2,  shubham-sigdar-3, shubham-sigdar-4, shubham-sigdar-5 (all have firstname and lastname is same)

Why we have to go with this solution:-

firestore pricing based on number of reads - https://firebase.google.com/docs/firestore/pricing#select-region, https://firebase.google.com/docs/firestore/pricing#free-quota

Suppose users is a collection and each user information stored as a separate document withing that collection.
if we fetch information of 5 users which matches firstname and lastname, and each user's information is stored in a separate document, then it would indeed be counted as 5 document read operations in Firestore.

5 document read (free)
1,00,000 document read (0.06 dollar)

I am not fetching data information but count() 5 users who have same firstname and lastname  because I need to know only how many users with firstname and lastname depend on that I can create firstname and lastname

If we use count() function which calculates the number of documents that match a certain condition, we still charged for read operations based on the number of index entries involved in the query.- https://firebase.google.com/docs/firestore/pricing#aggregation_queries

Approved

repo: Real-Dev-Squad/website-backend


text:
Fix mobile view of online-members page and some UI enhancements in groups page.

Responsiveness issue at https://dashboard.realdevsquad.com/online-members/online-members

Video -
https://github.com/Real-Dev-Squad/website-dashboard/assets/85179394/225ab79a-0981-4d35-a4f1-451ae2429bcb

It should display a message "no group found" or something in case we didn't found any group.

Screenshot -

Text in navbar should be in center in mobile view and it will look good if all these boxes have equal width.

Screenshot -

Alignment issue.

Screenshot -

Hey @ankitbajpai65 I would like to work on this.
Could you please assign this task to me?

@mohibkay This issue is fixed and I have raised the PR which is in review.
You can check other issues and bugs here in this repo.

Sure, @ankitbajpai65. Noted.

https://github.com/Real-Dev-Squad/website-dashboard/pull/524

repo: Real-Dev-Squad/website-dashboard


text:
Calculating folder sizes

Is possible Filemin calculates the size of each folder? At this moment all folder contains 4KB ;(

Yep, it was discussed somewhere here in issue queue. I'll add this functionality and I'll make it optional.

Hi Real-Gecko, and again, 24th of August you promised: "I'll add this functionality and I'll make it optional."
When this happens?
;)

I'd actually recommend against implementing this feature, because getting the true (recursive) size of a folder could be very slow. For example, try running du -k /usr and see how long it takes.
Webmin has a module for computing folder sizes, but it does it offline using a cron job.

I can make this feature work using XHR request on demand.. spinner will spin, while calculations are done and then folder size is returned.. easily..

.. I meant in Authentic Theme code.

..and add an icon to the action column or right click context menu.

That would make more sense - but even then, I'd recommend only activating this if a user clicks some button rather than just on a mouse-over, as it could generate a huge amount of disk IO on a system with a large filesystem.

Yes, yes, of course.. I don't like hover effects..

Great news. Thanks. The community is waiting ;)

Most likely next Authentic Release, like 17.41-17.50. 17.40 is being released in minutes..

Alright, folder size support is added to Authentic Theme 17.52. Please upgrade.
It works fast and automatically on selecting a row or right clicking (context-menu)
How is it?

LOL, Ilya, I told you not to hurry.
In version 1.0.0 you can get one folder size through properties dialog.
Multiple du -k will be implemented later.

authors: Real-Gecko jcameron qooob sz00gun

repo: Real-Gecko/filemin


text:
Improved Drones

Changes

Added 2 addon clips to the drone port
Drone ports will now transport fluid with a fluid addon
Drone ports interact with the redstone control addon
Updated drone wiki page to reflect changes

Fixes

Material can no longer be inserted into a drone port if it is receiving a payload

Follow-Up

Redstone control addon should have dynamic settings provided by the respective machine
Internal: Abstraction of machine classes should be reworked, DronePortEntity includes a lot of redundant code because in cannot extend an abstract machine class

Just did some testing with this, huge thanks for all the work here. I noticed that the fluid tank of the port isn't persisted yet, but I can fix that after merging

authors: Rearth aderoian

repo: Rearth/Oritech


text:
Should @typescript-eslint/type-utils just be a normal dependency?

It's currently a peer dependency but it might be better as a normal dependency.

I think that yes, it should be a normal dependency.

repo: RebeccaStevens/is-immutable-type


text:
x-environments

Idea of sandbox, live, integration, test, and other environments.

I generate different swagger file per environment and have a dropdown in redoc header for choosing which swagger file to point at. It works well. Just wanted to share how I am doing it today.

Resolved with x-servers (docs) (back-ported from OpenAPI 3)

authors: RomanGotsiy adamaltman cevatkerim

repo: Rebilly/ReDoc


text:
Error I don't understand preventing doc rendering

Attaching screenshot. Here's the text:
Something went wrong...
Error downloading https://docs.brightcove.com/live-api/swagger/start_token HTTP ERROR 404
Stack trace
https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js:55:16125
https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js:103:40952
promiseReactionJob@[native code]
https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js:55:16125
https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js:103:40462
promiseReactionJob@[native code]
ReDoc Version: 2.0.0-alpha.36
Commit: e0d82f4

You clearly get the reason for this error: "Error downloading ... HTTP ERROR 404"
Your endpoint returns 404 Not Found:

It is not a ReDoc issue

Hi @RomanGotsiy - can we reopen this? The 404 isn't on the spec - it's on something called "start_token" - I don't know that that is. The spec definitely validates on editor.swagger.io

Could you share the code snipped of you use ReDoc as well as your openapi-tmp.json?
This will help to reproduce the issue

I will, but let me work on it a bit more first. What happened was that I was cleaning up an old spec that was very disorganized. Sadly, I made a lot of changes without re-checking the page as I went. I reverted back to the last working version, and am working through the cleanup systematically now. If I run into this again, should be easier to pinpoint what caused it. If I don't, I'll just close this.

I think it was a spec error after all - surprised the swagger editor didn't catch it....

authors: RomanGotsiy rcrooks


text:
Rationale?

Hey! From what I've heard, this project is intended to be the primary UI for Rebirth moving forward. However, I could not find any documentation explaining the rationale behind this project, or the technologies that it will be using. It'd be really useful to clarify these matters, and I hope the following questions serve to that end.

Does this replace the existing Web UI?
If so, why move away from the Web?
Will the Web UI continue to exist in any form?
Does the project use Electron?
What technologies does the project use? i.e. components, state, views, routing, CSS processing, bundling.
Has the project considered using TypeScript?

Personally, I've wanted to contribute to the Web UI in the past, but the technology stack put me off. If we have the chance to shake things up a little, it's important we move forward with a reasonable technology stack and end goal in mind. I hope this issue serves to help with that.

Hey @ChrisTalman! Those are certainly valid points that have already been discussed thoroughly here. I Think @thelinuxlich can elaborate and explain points 1-3 better than me.
As for the other points:

Yes. the project use Electron and will make extensive use of Node.js capabilities.

Components, Views: React
Routing: React router
State: we feel it's too early and unnecessary to introduce state management solution at this stage, although we are getting close to the point when we will have to.
CSS: We choose to go with CSS in JS powered by emotion
Bundling: Webpack
Testing: Jest
Code style and linting: Prettier and StandardJS

We considered TypeScript against the knowledge and the previous experience of the people who were willing to step in when this project started and decided not to go with TypeScript. Having said that we are experimenting with a TypeScript based driver as a replacement for the official driver that we are currently using. The driver has very important part in this project so if you are a TypeScript fan you should defiantly take a look at this project.

I apologise that i haven't found the time yet to put all of this into Docs or README (we have an open issue about it #10),  i would love to see people stepping in and helping with this effort, specially with placing a proper README, as english is not my native language and i'll probably will do very crappy job, slaughtering every grammar rule in the way, while trying to write those by myself.
Finally i think it is a great opportunity and good timing to join the effort of building this exciting project! And i hope you will join us.

About points 1-3:
The existing codebase is written in ancient Coffeescript code + old versions of Backbone and Bluebird(which also introduced build problems for the whole database repository). So instead of just splitting the web UI into its own project, we've got some heroes here willing to rewrite the UI using the latest of the greatest in JS tech. Electron was chosen because we don't want the database anymore spawning a web server and the official javascript driver had a unofficial api specifically to communicate with the internal REST Api, thus another dependency we are axing in favor of rethinkdbdash or the new typescript driver.

We will add a issue template to notify users that this place is dedicated to bugs and features, if you have any questions, please ask in our community channel: https://spectrum.chat/rebirthdb

Apologies for my delay. Thanks for your responses.
My reason for raising this issue was to get a sense of whether the technology stack and goals were still in flux, and to contribute to the discussion if they were. It seems that everything is set in stone at this point.
Although React might not have been my preference, if I come to use Rebirth in the future and notice a useful feature to add to the UI (as has been my experience with the Rethink Web UI), hopefully the development experience will be accessible.
As an aside, I'd certainly recommend trying out TypeScript, if you haven't already. It makes a project a lot more maintainable, while at the same time remaining very much JavaScript.
Good luck @oferitz, hope you have fun on this project. 😃

authors: ChrisTalman oferitz thelinuxlich

repo: RebirthDB/rebirthdb-desktop


text:
[SUGGESTION] Selecting seed of generation

Is your feature request related to a problem? Please describe.
Sometimes you need just to make more or less similar generations with partial editing of preset
Describe the solution you'd like
A toggle button and a place for text in settings that allows you to select seed
Describe alternatives you've considered
None
Additional context
If there is no seeds in territect then f

At the moment, there are no seeds as Territect uses TPT's random number generation. To implement seeds, I would need to implement my own random number generator.
Also, due to how pseudo-random number generation works, changing the preset would likely make anything after the change generate differently even with the same seed. This would require some rather significant changes to Territect, but it might still be a worthwhile addition.

repo: Rebmiami/Territect


text:
[docs] Navigation secondary

Moving comments on a merged PR to a new issue.
@zeroedin Some notes:
Overview tab

Sample component header, image needs to be in white container with gray border (denoted in Google doc, the file name is inside a one-cell table with a white background and gray border)
Repo status table not showing

Style tab

Using the expandable menu header, table broken
Small breakpoints heading, image looks blurry, do I need to export another?
Spacer images in table are still 2x

Guidelines

Responsive design header, I re-exported the Slot 2 visible and Slot 2 hidden subheader images because they included text which they should not have (they are on Dropbox now)

Small breakpoints heading, image looks blurry, do I need to export another?

I personally don't see the blurriness.  If you want to provide a new image let me know and I'll add it.

repo: RedHat-UX/red-hat-design-system


text:
Consumers - small fixes

Description
Small fixes to consumers
Type of change
What is it?

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Documentation update
[x] Tests update
[x] Refactor

Checklist:

[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] I run go fmt ./... to check that my code is properly formatted
[x] I run go vet ./... to check that my code is free of common Go style mistakes

Codecov Report

Merging #749 (ab62979) into main (1ab038b) will increase coverage by 0.16%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #749      +/-   ##
==========================================
+ Coverage   31.10%   31.27%   +0.16%
==========================================
  Files          44       44
  Lines        4703     4704       +1
==========================================
+ Hits         1463     1471       +8
+ Misses       3036     3030       -6
+ Partials      204      203       -1

Impacted Files
Coverage Δ

pkg/services/consumers.go
25.53% <100.00%> (+5.53%)
:arrow_up:

Continue to review full report at Codecov.

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

/retest

repo: RedHatInsights/edge-api


text:
fix(THEEDGE-3683): fix sort and count on bulk selection;

Description
change labels to include total of items selected
change sort of selection to non, page, all

Fixes # (THEEDGE-3683)
Type of change
What is it?

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Documentation update
[ ] Tests update

Checklist:

[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[x] I run npm run lint:js:fix to check that my code is properly formatted

Codecov Report
Attention: 3 lines in your changes are missing coverage. Please review.

Files
Coverage Δ

src/components/general-table/GeneralTable.js
61.20% <0.00%> (-0.34%)
:arrow_down:

src/components/general-table/BulkSelect.js
15.38% <0.00%> (-2.80%)
:arrow_down:

:loudspeaker: Thoughts on this report? Let us know!.

authors: acosferreira codecov-commenter

repo: RedHatInsights/edge-frontend


text:
Updates poetry to 1.4

Secure Coding Practices Checklist Link

https://github.com/RedHatInsights/secure-coding-checklist

Secure Coding Checklist

[ ] Input Validation
[ ] Output Encoding
[ ] Authentication and Password Management
[ ] Session Management
[ ] Access Control
[ ] Cryptographic Practices
[ ] Error Handling and Logging
[ ] Data Protection
[ ] Communication Security
[ ] System Configuration
[ ] Database Security
[ ] File Management
[ ] Memory Management
[x] General Coding Practices

Codecov Report
Patch coverage: 67.86% and project coverage change: +22.80 :tada:

Comparison is base (209c0c9) 50.14% compared to head (a651085) 72.94%.

Additional details and impacted files
@@             Coverage Diff             @@
##           master     #299       +/-   ##
===========================================
+ Coverage   50.14%   72.94%   +22.80%
===========================================
  Files          13       25       +12
  Lines         357      743      +386
===========================================
+ Hits          179      542      +363
- Misses        178      201       +23

Impacted Files
Coverage Δ

clean_expired_records.py
0.00% <0.00%> (ø)

historical_system_profiles/mgmt_views/v0.py
100.00% <ø> (ø)

kafka_listener.py
0.00% <0.00%> (ø)

standalone_flask_server.py
0.00% <ø> (ø)

wsgi.py
0.00% <ø> (ø)

..._system_profiles/notification_service_interface.py
35.00% <35.00%> (ø)

...ical_system_profiles/baseline_service_interface.py
39.13% <39.13%> (ø)

historical_system_profiles/archiver.py
55.05% <54.41%> (+55.05%)
:arrow_up:

historical_system_profiles/config.py
66.66% <60.00%> (-27.28%)
:arrow_down:

...torical_system_profiles/drift_service_interface.py
66.66% <66.66%> (ø)

... and 14 more

... and 3 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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

authors: codecov-commenter petrblaho