text:
move footprint benchmark tool from RackHD/test to on-tools

Same details as https://github.com/RackHD/RackHD/pull/861:
Background
Test cases used in benchmark is obsolete as it uses API 1.1. And from user's experience, they would prefer to use benchmark as an independent tool to measure RackHD footprint, rather than measuring its performance only in some specific test cases.
Besides, benchmark tool is relying on the configurations set for CIT previously, which is out of date as well when CIT is gradually deprecated.
Solution
This PR moves benchmark from RackHD/test to on-tools, and modify it to be independent from CIT modules.

@iceiilin I clicked the wrong button, hope it is fine for you.

source: gharchive/pull-request

repo: RackHD/on-tools

license_type: permissive

license_source: github-api


text:
Voltage in PowerTable not being respected - Vega 64 FF - ROCm 3.0

I'm trying to characterize how does the GPU power and performance changes in undervoltage scenarios, but when I change the voltage in the PowerTables and select the desired performance level for the GPU Core, the voltage is the same as for the default settings.
I'm running CentOS 7.5 with ROCm 3.0.
I've followed the instalation instructions from git/ROCm and issue (with the necessary changes for CentOS not ubunto) and configured the PowerTables accordingly with issue
I've written a script that performs this procedure:

scl enable devtoolset-7 bash
rocm-smi -r
rocm-smi --setfan 255
rocm-smi --setperflevel manual
rocm-smi --setslevel    with the following values
Level | Freq | Volt
0  852    810
1  991    822
2  1138  834
3  1269  846
4  1348  858
5  1440  860
6  1528  872
7  1600  1000
rocm-smi --setsclk 7
rocm-smi --showvoltage

What I see is that independently of the voltage that I select for the level 7, the output of --showvoltage is always
========================ROCm System Management Interface========================
================================================================================
GPU[1]          : Voltage (mV): 1187
================================================================================
==============================End of ROCm SMI Log ==============================

What can I be doing wrong?

@TheEmbbededCoder Hi, did you solved the problem?

@TheEmbbededCoder Hi, did you solved the problem?

I just noticed that if I'm using the default frequency (in this case 1600 MHz for the level 7), the voltage does not respect what I wrote for that level, the GPU uses the default 1200 mV. However, If I put any other frequency (for example 1601 MHz or 1599 Mhz), the voltage that I write to that level starts to be respected by the GPU.
I don't understand this behaviour, I don't see it written anywhere...
Do you have any idea why is this the case?

source: gharchive/issue

authors: TheEmbbededCoder nikAizuddin

repo: RadeonOpenCompute/ROCm

license: MIT


text:
Fix Feedback form

FE & BE

cbb603d38eafe09bfe1bc96a8eb6bd028c8e46b6

repo: RafaelAPB/GCE-NEIIST


text:
setting in select property not persisted

Describe the bug
When deleting the select option in the column settings, they are not deleted in the cells, instead they are added to the new one added. Is this behavior normal ?
To Reproduce

go to settings
remove current select options
create new select options

Expected behavior
delete current select option and provide only the new ones.
Screenshots
https://user-images.githubusercontent.com/38974541/173099886-46c6d1b6-5a10-459e-9256-be6bb854d444.mov
Desktop (please complete the following information):

OS: MacOs monterey 12.3.1
Version Obsidian 0.14.15 Installer 0.14.6

that's the expected behaviour because that vault exist yet in some cell, so is added when the db is refreshed

We can open a discussion about this. it's a design decision

So then, the x in the setting is only valid if the select options are not used.

In my opinion, deleting the select option should delete everything. But as long as it's not a bug, I don't mind.

Remove the label there could be a function that removes the value of all cells maybe

okey you just wrote it =P okey, So could be catalogued as feature

that's the expected behaviour because that vault exist yet in some cell, so is added when the db is refreshed

This is what I expect from the plugin too. I don't want to delete all my entries when I remove an option in multi-select.
In my case, i have many proj as multi-select. If a proj is archived, then I remove that proj from the multi-select, but that proj should be intact for the previously typed row.

Remove the label there could be a function that removes the value of all cells maybe

Interesting, this is also the behavior of database-table in Notion when I reproduce the OP's actions in Notion. When I delete an option from multi-select, that option will also be deleted from all rows within the database-table

Not bad at all =)
https://user-images.githubusercontent.com/11924043/187665963-f9b1c920-f596-444b-bedb-03d92291efa1.mov

authors: RafaelGB andrey-jef imeed166

repo: RafaelGB/obsidian-db-folder


text:
How to add alternative emails and remote sync from API

Hello,
I would like to add alternative emails and remote sync address and credentials to users with the API. However, when I look at the files accounts and contact_sync in the user's folder, they are encrypted.
So how can I generate these files from API or at least get the proper encrypted output to put in these?
Thanks

I think I can do this but I need to be able to retrieve or create the $oAccount variable for a specific user to pass it to the API.
Also I need to create a $aAccounts array
How could I do that?
Thanks

Hi, any idea please?
Thanks

repo: RainLoop/rainloop-webmail


text:
🛑 HK区服 is down

In 21a5900, HK区服 (https://$HK_SERVER) was down:

HTTP code: 0
Response time: 0 ms

Resolved: HK区服 is back up in f864be8.

repo: RainThings/uptime


text:
🛑 RSOS服务控制面板 is down

In 8b5dd18, RSOS服务控制面板 (https://$US_SITE) was down:

HTTP code: 530
Response time: 272 ms

Resolved: RSOS服务控制面板 is back up in 4e5b30d after 6 minutes.


text:
Backend and Frontend need shared state communication

Describe the Feature / Enhancement
Any API calls on the backend that need authentication will need some way for users to authenticate their queries. We need to do some research to find the best options for creating, managing, and destroying authentication state with users across the two platforms (frontend and backend) and languages/frameworks (TS + Next.js on Frontend, Python + Django on Backend).
This will need to tie into the backend SSO-based authentication system that associates users with an SSO account (#8).
Additional Details and Resources
This will probably need to have some adjustments made so that the functionality works both in development and in the Docker-based production environments, given that any cookies used are tied to a given domain.
Correct Project Selected

[X] This issue is linked to the appropriate project.

Labels

[X] This issue has appropriate labels.

This was solved in #8 with cookie-based auth.

repo: Rainbow-Devs/health-tracker-backend


text:
Build fails adding ContentProvider.

I updated to 1.6.0, and attempted to add a content provider to the project, the compilation fails, I get 200 errors, but cant find any error directly related to the content provider. My app also uses androidannotations (3.2)
This is what I added.
package nz.org.winters.android.nzmobileaccountwidget.provider;

import com.raizlabs.android.dbflow.annotation.provider.ContentProvider;

import nz.org.winters.android.widgetscommon.BuildConfig;
import nz.org.winters.android.widgetscommon.database.AppDatabase;

/**
 * Created by mathew on 25/02/15.
 */
@ContentProvider(authority = AppContentProvider.AUTHORITY,
        databaseName = AppDatabase.NAME,
        baseContentUri = AppContentProvider.BASE_CONTENT_URI)
public class AppContentProvider {
  public static final String AUTHORITY = "nz.org.winters.android.nzmobileaccountwidget.provider";
  public static final String BASE_CONTENT_URI = "content://";
}

and in manifest..
 <provider
        android:authorities="nz.org.winters.android.nzmobileaccountwidget.provider"
        android:exported="false"
        android:name="nz.org.winters.android.nzmobileaccountwidget.provider.AppContentProvider$Provider"/>

The $Provider class never gets created.
I have tried compiling with --debug e.t.c., but it doesnt give me an answer, Just that none of the classes that are generated by the apt plugin are able to be found. The provider is not created, appears to be the problem.

I just looked at the validator. I see I need to also create a end point, compiling before creating the end point will fail. The message didn't appear in the log.

It appears in the log, it's just buried deep down in the other "error" messages that says it fails to find the generated classes. There must be a nicer or cleaner way of passing true valid error messages, but since the apt plugin is a little hacky as the Android plugin doesn't support that step in the compile, it may not be fixable or improvable.
I guess the next step would be to make it clear in the usage docs that you must define at least one @TableEndpoint for the @ContentProvider to be valid.

fixed in docs

authors: agrosner wintersandroid

repo: Raizlabs/DBFlow


text:
Gym Website

GYM WEBSITE
Issue reference:
Proposed changes:
Type of change:
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Other (please specify)
[ ] This change requires a documentation update

Checklist:

[ ] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings

Additional info (if any):

Thank you 👍🏻

repo: RajVarsani/html-archives


text:
Upgrade to React 0.14

Looks like the react google charts refers to deprecated methods in React 0.14. Opening an issue to track migration

Please Subscribe to Issue #13. Closing this as duplicate.
Cheers!

authors: RakanNimer r-tock

repo: RakanNimer/react-google-charts

license: mit

license_source: bigquery


text:
Made Neumorphism Accordion component responsive

Fixes Issue🛠
Closes #1410
Description👨💻

Fixed body to 16px font size standard as default
Fixed h1, accordion button and body font sizes
Added media query to handle mobile view font sizes
Reduced outer padding of the component on mobile view

Type of Change📄

[x] Style (non-breaking change which improves website style or formatting)
[x] Responsiveness (non-breaking change which improves UI/UX on different screen sizes)

Checklist✅

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

Screenshots/GIF📷

Mobile View
Desktop View

Thanks for promptly reviewing my PR and merging it.


text:
"proclaim" seems to be missing from Test

Problem or new feature
After seeing it in a Rakudo issue, proclaim is missing from the documentation of Test or anywhere else.
Suggestions
Issues go back to 2016, like this one So I wonder why it's not there. Maybe it's not spec. Check it out, anyway, and meanwhile, check out also other possible missing functions.

proclaim does not appear in the spec tests, so can be consided rakudo-specific

Anything without an is export trait in Test, should be considered an implementation-detail.  proclaim is not exported, and is even in a "private subs" section of the code.

So I think this issue can be closed?

authors: JJ coke lizmat

repo: Raku/doc


text:
Fixes integration test

And this one really closes #640
It's simply a matter of changing the files and its contents to an equivalent in this directory.

@vrurg I see what you mean. It would probably be better to create an IO::Path for portability, right? Can do that if needed.

Would be great if you can.

Done, can you check it now?

Missed email notification on this. Looks good, I'm merging.
Thank you!

authors: JJ vrurg

repo: Raku/roast


text:
Allow the player to place and break voxels

The main purpose of this PR is simple: allow the player to break blocks by left-clicking on them and allow them to place blocks by right-clicking on other blocks.
To enable this feature, there are several changes/additions (most important ones listed here):

Added a new ray tracing function to figure out what block is being clicked
Refactored collision checking code to allow some code-reuse by ray-tracing code
Removed use of chunk margins in collision-checking code and tried to adopt a consistent coordinate system of [u8; 3] without margins. Rendering code is unaffected by this change (margins were not removed entirely).
Added some methods to DualGraph to simplify common operations related to placing/breaking blocks
Added surface invalidation logic so that updating blocks reruns surface extraction
Partially implemented saving of voxel data (Loading logic doesn't yet exist, so this is not yet testable or useful).

There is also a minor cosmetic change, reducing ambient occlusion to make textures at the ends of 1x1 tunnels visible instead of being pitch black.
Fixes #292

This PR is probably still worth reviewing, but I'll update it to a draft because it doesn't properly handle the case of Player B modifying a chunk that Player A has not generated and then Player A visiting that chunk later. I plan to address this later, and I'll check off the below task once I've done so:

[ ] Fix this.

I decided to remove the code that saves voxel edits in favor of putting that code in the PR that also loads voxel edits.

repo: Ralith/hypermine


text:
Drenv various fixes and updates

Fix --name-prefix, broken by adding kubeconfigs for e2e
upgrade rook to 1.12
Update minikube and kubectl versions

I experience issues with failover, which may be related to this change, or to other changes in ramen. Lets wait with this change.

Moved rook update to #1057, more testing is needed.

repo: RamenDR/ramen


text:
Erro ao excluir cobrança

A cobrança foi cancelada normalmente mas dá erro ao tentar excluir.
no status da cobrança diz o seguinte: "O pagamento foi cancelado por uma das partes ou porque o prazo para pagamento expirou"
a mensagem de erro é: "bad_request: status attribute can't be null"
o gateway de pagamento que usei foi o MercadoPago, lá na conta aparece que foi cancelado certinho.

Boa tarde,
Consegue verificar no banco de dados como está relacionado esse boleto?
O boleto foi cancelado via MAP-OS ou via MP?
Interessante ver no lado do Mercado Pago o Status do Boleto.
Cuidado com dados sensíveis ao enviar print ou a tabela do banco de dados.

Opa, boa noite, o boleto foi cancelado pelo MAP-OS, assim que deu o erro quando fui excluir a cobrança, já estava aparecendo como cancelada no MAP-OS, eu fui lá na conta do MP e estava cancelado sem nenhum problema, eu exportei a linha do banco de dados, as informações são as seguintes:
o estranho é que no status está "cancelled" e no erro diz que o status não pode ser null

O que podes fazer é deletar esse boleto diretamente no banco de dados, mas é uma causa interessante de se avaliar, assim que eu tiver um tempo dou uma olhada nas regras pra ver se identifico a causa.
Olha no MP se está cancelado pra não ter problemas e mata no banco de dados por hora.

beleza, vou apagar a linha no banco de dados então, agradeço pela atenção, abraço.

O que podes fazer é deletar esse boleto diretamente no banco de dados, mas é uma causa interessante de se avaliar, assim que eu tiver um tempo dou uma olhada nas regras pra ver se identifico a causa. Olha no MP se está cancelado pra não ter problemas e mata no banco de dados por hora.
Fala que o Status atribuído não pode ser nulo, acho que o problema pode ser na controller.

Olá, bom dia!
O meu fez isso uma vez, aí tive que fazer a exclusão pelo banco de dados.

Quando vc quiser excluir o boleto, não cancele ele. Vá direto em Excluir que ele será excluido e cancelado. Se vc cancelar a api da esse erro mesmo, pq não pode excluir um boleto que não existe, no caso cancelado.

@Ghuvieira
Recomendo que encerre essa thread, pois sua solicitação já foi atendida e resolvida, lidar com transações externas tem desses bugs kkkks

authors: Ghuvieira barretowiisk cabralwms soarespaullo


text:
Option to not display unread items badge

It would be great if the badge could be hidden. People might want to hide the badge to be less distracted and less "forced" to open the app because of something new to read.

There’s a setting in preferences for this. 🙂

OMG... it's true (of course)... thanks!
I swear that I have looked for it more than once! Has it been added recently? Just curious :)

5.0.1, as I recall. So…a little while ago 😁

🤦♂

It looks like this feature isn't present on the iOS version. Is it planned for later?

If you have NetNewsWire 5.0.3 for Mac, you should see an option for this in the Preferences.

@brentsimmons I'm looking for this feature in the iOS version, not the macOS version. :-)

Ah! Got it. You should be able to turn this off in system settings. In notifications for NetNewsWire, you can turn off Badges.

@brentsimmons Gotcha. I was kind of hoping I wouldn't have to do that, in case the notification badges are used for other types of notifications (like how I can get notifications about new articles from certain feeds). But if that's not the case, then I might as well turn badges off at the system level.
Thank you!

authors: Elzonor brentsimmons codemonkey85 nostodnayr

repo: Ranchero-Software/NetNewsWire


text:
iOS: Pull to refresh has dead zones

In the Feeds list, if the spot where your finger lands to pull down to refresh happens to be a heading (Feedly, On My iPad, Smart Feeds), the list does not pull down, so no refresh occurs. The pull has to start on an area of the list that is not gray. There shouldn't be any dead zones—pulling down anywhere in the list should work.

This is probably a side effect of the gesture recognizers added to fix #1661.

authors: Wevah joekissell


text:
Bulk import list of feed URLs

I'd love to be able to import a newline-separated list of multiple feed URLs all at once

You can import multiple feed URLs via OPML. Will that work for you?

Sometimes I have a list of feed URLs that aren't formatted as OPML. I could wrap these in simple <outline xmlUrl=""/> tags, but that won't import their titles correctly.

OPML does have a title field.

Oh sure, I just mean, if I don't know their titles, I would have to enter that manually. I suppose an alternative to this feature request could be to retrieve feed titles in imported OPML if they aren't explicitly provided.

Ah. You can leave off titles and NetNewsWire will pull them from the feed itself.

When importing OPML? I swear I just tried that this morning and it didn't work. I'll take another look, thanks.

<?xml version="1.0" encoding="UTF-8"?>
<opml>
<outline text="no titles">
  <outline xmlUrl="https://feeds.npr.org/1007/rss.xml"  />
</outline>
</opml>

@jsit What kind of account are you using?  On My Mac, Feedbin, or Feedly?

On My Mac

I tested this today and it worked for On My Mac accounts for me. Is it possible that you have previously subscribed to this feed?  We save metadata, like feed name, so that you can undelete feeds.  You might want to create a new On My Mac account and see if you get feed titles then.

Hey you're right! It must have been a caching issue. Thanks!

It looks like we got this one figured out.  Closing the issue.

authors: brentsimmons jsit vincode-io


text:
App crashes when long-pressing an item in article list

Holding any item in any article list causes the app to immediately crash.
Problem happens every time on iOS 15 Developer Beta 4 with the latest TestFlight version of NetNewsWire.

We are aware of this bug and it will be fixed in the next release.

authors: gracjankn vincode-io


text:
Ignores files in __MACOSX folder

Fixes #3817

“Contains” is probably fine, but is there a method for StartsWith? And maybe starts with “__MACOSX/“ with the slash?

authors: gruber stuartbreckenridge


text:
Nmap port scan crashes the entire app on iOS 16

Description
Running a nmap port scan crashes the entire app, for some reason
Steps to reproduce
Steps to reproduce the behavior:

Use the code below.
Run the command nmap -p 5555 IP_HERE
App crashes, with no output

Code:
This is how my server is defined
const options = {
    port: 5555,
    host: '0.0.0.0',
};

let senderSocket: TcpSocket.Socket;

const server = TcpSocket.createServer(function(socket) {
    socket.on('data', (data) => {
        console.log('data'); // Does not fire on nmap
        socket.write('Echo server ' + data);
    });

    socket.on('error', (error) => {
        console.log('An error occurred with client socket ', error);
    });

    socket.on('close', (error) => {
        console.log('Closed connection with ', socket.address(), ` error = ${error}`);
    });

    senderSocket = socket;

}).listen(options, () => {
    console.log(server.address())
});

server.on('error', (error) => {
    console.log('An error occurred with the server', error);
});

server.on('close', () => {
    console.log('Server closed connection');
});

App logs:
Logs for your project will appear below. Press Ctrl+C to exit.
iOS Bundling complete 874ms
 LOG  {"address": "0.0.0.0", "family": "IPv4", "port": 5555}

Nmap logs:
Starting Nmap 7.93 ( https://nmap.org ) at 2023-04-23 00:31 CDT
Nmap scan report for 172.27.194.86
Host is up (0.026s latency).

PORT     STATE SERVICE
5555/tcp open  freeciv

Nmap done: 1 IP address (1 host up) scanned in 0.07 seconds

Current behavior
Crashes on nmap.
Expected behavior
No crash occurs
Screenshots
May add video later
Relevant information
Dependencies (I am using expo if that matters):
  "dependencies": {
    "expo": "~48.0.11",
    "expo-network": "~5.2.1",
    "expo-sensors": "~12.1.1",
    "expo-splash-screen": "~0.18.1",
    "expo-status-bar": "~1.4.2",
    "react": "18.2.0",
    "react-dom": "18.2.0",
    "react-native": "0.71.6",
    "react-native-tcp-socket": "^6.0.6"
  },
  "devDependencies": {
    "@babel/core": "^7.20.2",
    "@types/react": "~18.0.24",
    "@types/react-native": "~0.70.6",
    "expo-dev-client": "~2.2.1",
    "metro-hermes-compiler": "^0.76.0",
    "typescript": "^4.8.4"
  },

OS:
OS: macOS 13.3.1 22E261 arm64
Host: MacBookAir10,1
Kernel: 22.4.0
Uptime: 2 days, 6 hours, 29 mins
Packages: 75 (brew)
Shell: zsh 5.9
Resolution: 1440x900
DE: Aqua
WM: Quartz Compositor
WM Theme: Blue (Dark)
Terminal: iTerm2
Terminal Font: Monaco 12
CPU: Apple M1
GPU: Apple M1
Memory: 1546MiB / 8192MiB

Phone:
iPhone 14 Pro
iOS 16.4.1

~(Will test on android later)~
Edit: Does not crash on Android (Galaxy A14 5G, Android 13). But gives useful error. Will investigate

Further information: First of all, ios crash report
Second of all, the error defined by Android 13 was a "socket is closed" error. The error has no type/class, just Error.
Third, the iOS crash video, and the Android crash video.
Fourth, the offending line was in a function I didn't include. This function is called every ~200ms so that was a big oversight by me.
function writeToSocket(msg: string) {
    if (! senderSocket) {
        return;
    }
    senderSocket.write(`${msg}\n`);
}

A quick fix involves simply adding a try/catch like so:
function writeToSocket(msg: string) {
    if (! senderSocket) {
        return;
    }
    try {
        senderSocket.write(`${msg}\n`);
    } catch (e) {
        // @ts-ignore
        console.log(e.constructor.name)
    }
}

However, this results in console spam similar to to that in the Android video, e.g
500 above ...
 LOG  Error
 LOG  Error
 LOG  Error
500 below ...

So that suggests that it's attempting to write to the long closed socket forever. Any ideas on how to fix that?

Further information: First of all, ios crash report
Second of all, the error defined by Android 13 was a "socket is closed" error. The error has no type/class, just Error.
Third, the iOS crash video, and the Android crash video.
Fourth, the offending line was in a function I didn't include. This function is called every ~200ms so that was a big oversight by me.
function writeToSocket(msg: string) {
    if (! senderSocket) {
        return;
    }
    senderSocket.write(`${msg}\n`);
}

A quick fix involves simply adding a try/catch like so:
function writeToSocket(msg: string) {
    if (! senderSocket) {
        return;
    }
    try {
        senderSocket.write(`${msg}\n`);
    } catch (e) {
        // @ts-ignore
        console.log(e.constructor.name)
    }
}

However, this results in console spam similar to to that in the Android video, e.g
500 above ...
 LOG  Error
 LOG  Error
 LOG  Error
500 below ...

So that suggests that it's attempting to write to the long closed socket forever. Any ideas on how to fix that? I can add a initial handshake message in my client, but i'd rather fix this issue on the server.
Related: #167, #165, #54

repo: Rapsssito/react-native-tcp-socket


text:
Raptoreum can't run error config

my screenshot  how i can fix it ?

That version if for an old testnet, no longer relevant.


text:
Cosmetic cleanup in Strategy doc

Issue #, if available:
Description of changes:
Cleaning up some cosmetic issues in the strategic document as I read through this.
Checklist

[x] Tests have been added and are passing
[x] Documentation has been updated

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

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

authors: borncrusader brettstack

repo: RareCamp/RareCamp


text:
POST to webhooks/callback/webhook error

Rasa version:
1.6.1
Rasa SDK version :
1.6.0
Python version:
3.7.3
Operating system (windows, osx, ...):
Centos
Issue:
I just  test the CallbackInput according to  user-guide, after rasa run, my request is：
curl -XPOST "http://localhost:5005/webhooks/callback/webhook" -d '{"sender":"MrRace","message": "Hi there!"}'

the response is：

Internal Server Error

        The server encountered an internal error and cannot complete
        your request.

the Server message is below：
[root@localhost test_rasa]# rasa run
2020-01-10 17:19:52 INFO     root  - Starting Rasa server on http://localhost:5005
2020-01-10 17:19:55 INFO     absl  - Entry Point [tensor2tensor.envs.tic_tac_toe_env:TicTacToeEnv] registered with id [T2TEnv-TicTacToeEnv-v0]
Exception occurred while handling uri: 'http://localhost:5005/webhooks/callback/webhook'
Traceback (most recent call last):
  File "/home/data1/software/Anaconda3/lib/python3.7/site-packages/aiohttp/connector.py", line 936, in _wrap_create_connection
    return await self._loop.create_connection(*args, **kwargs)  # type: ignore  # noqa
  File "uvloop/loop.pyx", line 1974, in create_connection
  File "uvloop/loop.pyx", line 1951, in uvloop.loop.Loop.create_connection
ConnectionRefusedError: [Errno 111] Connection refused

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/data1/software/Anaconda3/lib/python3.7/site-packages/sanic/app.py", line 942, in handle_request
    response = await response
  File "/home/data1/software/Anaconda3/lib/python3.7/site-packages/rasa/core/channels/callback.py", line 77, in webhook
    UserMessage(text, collector, sender_id, input_channel=self.name())
  File "/home/data1/software/Anaconda3/lib/python3.7/site-packages/rasa/core/channels/channel.py", line 83, in handler
    await app.agent.handle_message(*args, **kwargs)
  File "/home/data1/software/Anaconda3/lib/python3.7/site-packages/rasa/core/agent.py", line 486, in handle_message
    return await processor.handle_message(message)
  File "/home/data1/software/Anaconda3/lib/python3.7/site-packages/rasa/core/processor.py", line 103, in handle_message
    await self._predict_and_execute_next_action(message, tracker)
  File "/home/data1/software/Anaconda3/lib/python3.7/site-packages/rasa/core/processor.py", line 467, in _predict_and_execute_next_action
    action, tracker, message.output_channel, self.nlg, policy, confidence
  File "/home/data1/software/Anaconda3/lib/python3.7/site-packages/rasa/core/processor.py", line 585, in _run_action
    await self._send_bot_messages(events, tracker, output_channel)
  File "/home/data1/software/Anaconda3/lib/python3.7/site-packages/rasa/core/processor.py", line 507, in _send_bot_messages
    await output_channel.send_response(tracker.sender_id, e.message())
  File "/home/data1/software/Anaconda3/lib/python3.7/site-packages/rasa/core/channels/channel.py", line 186, in send_response
    await self.send_text_message(recipient_id, message.pop("text"), **message)
  File "/home/data1/software/Anaconda3/lib/python3.7/site-packages/rasa/core/channels/channel.py", line 328, in send_text_message
    await self._persist_message(self._message(recipient_id, text=message_part))
  File "/home/data1/software/Anaconda3/lib/python3.7/site-packages/rasa/core/channels/callback.py", line 34, in _persist_message
    "post", content_type="application/json", json=message
  File "/home/data1/software/Anaconda3/lib/python3.7/site-packages/rasa/utils/endpoints.py", line 146, in request
    **kwargs,
  File "/home/data1/software/Anaconda3/lib/python3.7/site-packages/aiohttp/client.py", line 1012, in __aenter__
    self._resp = await self._coro
  File "/home/data1/software/Anaconda3/lib/python3.7/site-packages/aiohttp/client.py", line 483, in _request
    timeout=real_timeout
  File "/home/data1/software/Anaconda3/lib/python3.7/site-packages/aiohttp/connector.py", line 523, in connect
    proto = await self._create_connection(req, traces, timeout)
  File "/home/data1/software/Anaconda3/lib/python3.7/site-packages/aiohttp/connector.py", line 859, in _create_connection
    req, traces, timeout)
  File "/home/data1/software/Anaconda3/lib/python3.7/site-packages/aiohttp/connector.py", line 1004, in _create_direct_connection
    raise last_exc
  File "/home/data1/software/Anaconda3/lib/python3.7/site-packages/aiohttp/connector.py", line 986, in _create_direct_connection
    req=req, client_error=client_error)
  File "/home/data1/software/Anaconda3/lib/python3.7/site-packages/aiohttp/connector.py", line 943, in _wrap_create_connection
    raise client_error(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host localhost:5034 ssl:default [Connection refused]

Content of configuration file (credentials.yml) :
# This file contains the credentials for the voice & chat platforms
# which your bot is using.
# https://rasa.com/docs/rasa/user-guide/messaging-and-voice-channels/

rest:
#  # you don't need to provide anything here - this channel doesn't
#  # require any credentials

callback:
  # URL to which Core will send the bot responses
  url: "http://localhost:5034/bot"

#facebook:
#  verify: "<verify>"
#  secret: "<your secret>"
#  page-access-token: "<your page access token>"

#slack:
#  slack_token: "<your slack token>"
#  slack_channel: "<the slack channel>"

#socketio:
#  user_message_evt: <event name for user message>
#  bot_message_evt: <event name for but messages>
#  session_persistence: <true/false>

#mattermost:
#  url: "https://<mattermost instance>/api/v4"
#  team: "<mattermost team>"
#  user: "<bot username>"
#  pw: "<bot token>"
#  webhook_url: "<callback URL>"

rasa:
  url: "http://localhost:5002/api"

What should I do to get the correct result？

Thanks for raising this issue, @Ghostvv 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 🤗

Hi @MrRace, do you have a server running at http://localhost:5034/bot? Can you curl it to make sure it's reachable?

Hi @MrRace, do you have a server running at http://localhost:5034/bot? Can you curl it to make sure it's reachable?

Oh，It does not have a server running at http://localhost:5034/bot. How to run the sever http://localhost:5034/bot ?  Could you provide a complete example？ Thanks a lot!

The callback channel is designed to be used when running your own webchat, for example on your own website (see https://rasa.com/docs/rasa/user-guide/connectors/your-own-website/#id2). Please check out the docs for an overview of other supported channels: https://rasa.com/docs/rasa/user-guide/messaging-and-voice-channels/
If you have any more questions, please ask them in the forum

authors: MrRace ricwo sara-tagger

repo: RasaHQ/rasa


text:
Internal bug: NLU files pass the rasa.data.is_story_data check

Rasa version: 1.10.2 (master)
Python version: 3.7.5
Operating system (windows, osx, ...): Linux
Issue:
Markdown files (even in nlu format) still pass the is_story_file test (because of the loose regex in rasa.data._contains_story_pattern).
Solution:

[x] Test rasa.data.is_story_file with NLU training data formats, assert they are not story files
[x]  Make regex more specific and don't match on NLU training data formats

Thanks for raising this issue, @alwx 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 🤗

authors: ortsaCniveK sara-tagger


text:
Fix Custom Action to Ask For the Next Slot Documentation

There is a minor but important typo in Custom Action to Ask For the Next Slot documentation here. It states we can use action_ask_<form_name>__<slot_name> but this doesn't work and after experimenting with it I found out it should be action_ask_<form_name>_<slot_name>.

Thanks for raising this issue, @JustinaPetr 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 🤗

Hi @malamasn . Would you be interested in opening a pull request for this? Would be a great way to contribute to Rasa Open Source :)

authors: JustinaPetr malamasn sara-tagger


text:
Interactive Learning - Slot Tagging Discrepancies

Rasa Core version: 0.12.1
Python version: 3.6.5
Operating system (windows, osx, ...): MacOS
Issue: When tagging two slots/entities (cuisine and place) in this example, Interactive Learning is tagging them different. See screenshots below.
Proper Tagging

Improper Tagging

The slot types are both text. Both have been trained. Both leverage lookup tables. I tried removing the lookup tables to eliminate that variable, but the issue still persists.
Is there a common explanation for a slot being tagged like this? This doesn't seem to cause any issues with functionality, but when writing to NLU from Interactive Learning, screenshot number 2 writes in a format that causes an error (because in the parentheses, it is retagging the actual slot value instead of just listing the slot name).
Thanks in advance for any help!

After more testing, I figured out that the case of the slot is causing the difference in slot tagging. Is this functioning as intended? Is it best to not use any upper case slot values?

I haven't run into this myself, but from reading the documentation, I think this is expected. Specifically, I believe what you saw as (place:picante) was the NLU assigning Picante as a synonym for (place:picante). The reason for this assignment would be the fact that it sees the difference in capitalization as a different word. That's my guess anyway.

This seems fine yes, I guess the question is -- do you have both those sentences in the training data? Or just the lowercase one?

Both are in the training data. As long as it is fine that the interactive learning export tags the nlu data in markdown as the following two different ways, then I guess all is good! Just wasn't sure why the upper/lowercase would change the format of the entity tagging / if this would cause any issues.

it won't cause any issues, you should be fine!

Awesome - thank you for the clarification @akelad .

authors: akelad ccelotto ckomega


text:
How to select attributes for training (epochs , max_history , batch_size)

Rasa Core version: 0.8.5
Python version:  2.7
Operating system (windows, osx, ...): Ubuntu 17.10
Issue:
How can we change these attributes.  as default epochs: 100 , max_history is 3 and batch size is 20.
what are the basic guidelines we should keep in mind to handle these things because these 3 attributes gives clear impact on dialogue.
Can someone explain the logic behind these 3 in reference to our core and dialogue stories.

These are parameters for training the RNN. Epochs basically refer to how long you should train the model for. Max history refers to how many previous events that happen in your stories the bot should pay attention to when predicting the next action. And batch size is how many training examples the network gets trained on at a time.
All these parameters kind of depend on how complex your training data is. The standard batch size of 20 is usually fine. Epochs you can adjust based on when your training accuracy stops increasing. And max_history depends on how complex your stories are

I'll close this for now, please let us know if you have any further questions.

@akelad thank you, that is a very helpful description. I have a question about max_history.

Max history refers to how many previous events that happen in your stories the bot should pay attention to when predicting the next action

Would each line in a story be considered an event with the way you are using that word here? That would include intents, slots, actions, and utterances. For instance, I have a story for gathering info from a new user which looks like:
## Generated Story 8611820418658521096
* greet
  - utter_greet
  - utter_commands
  - utter_signup_favor_offer
* add_favor_offer{"favor_name": "grilled cheese"}
  - slot{"favor_name": "grilled cheese"}
  - slot{"favor_offer": "grilled cheese"}
  - action_add_favor_offer
  - utter_signup_favor_request
* add_favor_request{"favor_name": "fresh herbs"}
  - slot{"favor_name": "fresh herbs"}
  - slot{"favor_request: "fresh herbs"}
  - action_add_favor_request
  - utter_signup_time_slot
* add_time_slot{"time_slot": "Monday afternoon"}
  - slot{"time_slot": "Monday afternoon"}
  - action_add_time_slot
  - utter_signup_meetup_place
* add_meetup_place{"place_name": "a grocery store"}
  - slot{"place_name": "a grocery store"}
  - action_add_meetup_place
  - utter_signup_user_address
* update_user_address{"address": "Phoenix, AZ"}
  - slot{"address": "Phoenix, AZ"}
  - slot{"user_address": "Phoenix, AZ"}
  - action_update_user_address
  - utter_signup_complete
  - action_queue_introduction
  - action_queue_invitation
  - export

That's 29 unique lines: 6 intents, 8 utterances, 8 slots, 7 actions. If I want that series of events to be rigidly followed as a signup process for new users, should I be considering max_history=29?

the history is the number of previous actions (and the states leading to them) that get taken into account. So it's not quite 29! But for your purposes a FormAction might be a good fit https://github.com/RasaHQ/rasa_core/pull/261

authors: AbdurRub akelad amn41 rojobuffalo tmbo


text:
Configure tracker store in configuration file

Feature request:
Add configuration for tracker store to domain.yml or other configuration file. Something like this:
tacker_store:
  mongo:
     host: http://localhost:27017
     db: rasa
     user: user
     password: pass
     collection: conversations

Then this information can be used to configure tracker store while running Rasa with run.py.

I'm not sure the domain would be the best place to have this, but maybe as an argument to the run script. @tmbo what do you think?

I guess the endpoints yml would be the best spot to put this

Ok, I'll try to implement this and make a PR.

authors: akelad tdzienniak tmbo


text:
Model not working problem - getting wrong Intent

Rasa NLU version (0.11.1):
Used backend / pipeline (spacy_sklearn):
Operating system (Ubuntu):
Issue:
Hi all here is my training data but  It is not working properly  I am getting wrong Intent for example
(query => hello)
(getting Intent => bye@194)
(actual =>hello (copy)@195)
(query => hi)
(getting Intent) => bye@194)
(actual =>hello (copy)@195)
(query => good morning)
(getting Intent => bye@194)
(actual =>hello (copy)@195)
(query => bye)
(getting Intent => hello (copy)@195)
(actual  => bye@194)
(query => thanks)
(getting Intent => hello (copy)@195)
(actual  => bye@194)
Thanks
Content of configuration file (if used & relevant):
{
   "rasa_nlu_data":{
      "regex_features":[
         {
            "name":"test@195",
            "pattern":"/^stop/"
         }
      ],
      "entity_synonyms":[
         {
            "value":"hyundai",
            "id":23,
            "synonyms":[
               "i10",
               "i20",
               "verna",
               "hyundai"
            ]
         },
         {
            "value":"maruti",
            "id":23,
            "synonyms":[
               "swift",
               "desire",
               "alto",
               "maruti"
            ]
         },
         {
            "value":"mahindra",
            "id":23,
            "synonyms":[
               "mahindra"
            ]
         }
      ],
      "common_examples":[
         {
            "text":"sass",
            "intent":"test@194",
            "id":194,
            "entities":[

            ]
         },
         {
            "text":"css",
            "intent":"test@194",
            "id":194,
            "entities":[

            ]
         },
         {
            "text":"thanks",
            "intent":"bye@194",
            "id":194,
            "entities":[

            ]
         },
         {
            "text":"bye",
            "intent":"bye@194",
            "id":194,
            "entities":[

            ]
         },
         {
            "text":"tc",
            "intent":"bye@194",
            "id":194,
            "entities":[

            ]
         },
         {
            "text":"ok ",
            "intent":"bye@194",
            "id":194,
            "entities":[

            ]
         },
         {
            "text":"see you again",
            "intent":"bye@194",
            "id":194,
            "entities":[

            ]
         },
         {
            "text":"hello",
            "intent":"hello (copy)@195",
            "id":195,
            "entities":[

            ]
         },
         {
            "text":"hi",
            "intent":"hello (copy)@195",
            "id":195,
            "entities":[

            ]
         },
         {
            "text":"hey",
            "intent":"hello (copy)@195",
            "id":195,
            "entities":[

            ]
         },
         {
            "text":"good morning",
            "intent":"hello (copy)@195",
            "id":195,
            "entities":[

            ]
         },
         {
            "text":"what's up",
            "intent":"hello (copy)@195",
            "id":195,
            "entities":[

            ]
         },
         {
            "text":"Need hyundai    car",
            "intent":"buy (copy)@196",
            "id":196,
            "entities":[
               {
                  "start":5,
                  "end":12,
                  "value":"hyundai",
                  "entity":"car_type",
                  "id":23
               }
            ]
         },
         {
            "text":"Need maruti    car",
            "intent":"buy (copy)@196",
            "id":196,
            "entities":[
               {
                  "start":5,
                  "end":11,
                  "value":"maruti",
                  "entity":"car_type",
                  "id":23
               }
            ]
         },
         {
            "text":"Need mahindra    car",
            "intent":"buy (copy)@196",
            "id":196,
            "entities":[
               {
                  "start":5,
                  "end":13,
                  "value":"mahindra",
                  "entity":"car_type",
                  "id":23
               }
            ]
         },
         {
            "text":"Need i10    car",
            "intent":"buy (copy)@196",
            "id":196,
            "entities":[
               {
                  "start":5,
                  "end":8,
                  "value":"i10",
                  "entity":"car_type",
                  "id":23
               }
            ]
         },
         {
            "text":"Need i20    car",
            "intent":"buy (copy)@196",
            "id":196,
            "entities":[
               {
                  "start":5,
                  "end":8,
                  "value":"i20",
                  "entity":"car_type",
                  "id":23
               }
            ]
         },
         {
            "text":"Need verna    car",
            "intent":"buy (copy)@196",
            "id":196,
            "entities":[
               {
                  "start":5,
                  "end":10,
                  "value":"verna",
                  "entity":"car_type",
                  "id":23
               }
            ]
         },
         {
            "text":"Need swift    car",
            "intent":"buy (copy)@196",
            "id":196,
            "entities":[
               {
                  "start":5,
                  "end":10,
                  "value":"swift",
                  "entity":"car_type",
                  "id":23
               }
            ]
         },
         {
            "text":"Need desire    car",
            "intent":"buy (copy)@196",
            "id":196,
            "entities":[
               {
                  "start":5,
                  "end":11,
                  "value":"desire",
                  "entity":"car_type",
                  "id":23
               }
            ]
         },
         {
            "text":"Need alto    car",
            "intent":"buy (copy)@196",
            "id":196,
            "entities":[
               {
                  "start":5,
                  "end":9,
                  "value":"alto",
                  "entity":"car_type",
                  "id":23
               }
            ]
         },
         {
            "text":"Want to purchase car",
            "intent":"buy (copy)@196",
            "id":196,
            "entities":[

            ]
         },
         {
            "text":"looking hyundai    for new hyundai   car purchase",
            "intent":"buy (copy)@196",
            "id":196,
            "entities":[
               {
                  "start":8,
                  "end":15,
                  "value":"hyundai",
                  "entity":"car_type",
                  "id":23
               },
               {
                  "start":27,
                  "end":34,
                  "value":"hyundai",
                  "entity":"car_type",
                  "id":23
               }
            ]
         },
         {
            "text":"looking maruti    for new maruti   car purchase",
            "intent":"buy (copy)@196",
            "id":196,
            "entities":[
               {
                  "start":8,
                  "end":14,
                  "value":"maruti",
                  "entity":"car_type",
                  "id":23
               },
               {
                  "start":26,
                  "end":32,
                  "value":"maruti",
                  "entity":"car_type",
                  "id":23
               }
            ]
         },
         {
            "text":"looking mahindra    for new mahindra   car purchase",
            "intent":"buy (copy)@196",
            "id":196,
            "entities":[
               {
                  "start":8,
                  "end":16,
                  "value":"mahindra",
                  "entity":"car_type",
                  "id":23
               },
               {
                  "start":28,
                  "end":36,
                  "value":"mahindra",
                  "entity":"car_type",
                  "id":23
               }
            ]
         },
         {
            "text":"looking i10    for new i10   car purchase",
            "intent":"buy (copy)@196",
            "id":196,
            "entities":[
               {
                  "start":8,
                  "end":11,
                  "value":"i10",
                  "entity":"car_type",
                  "id":23
               },
               {
                  "start":23,
                  "end":26,
                  "value":"i10",
                  "entity":"car_type",
                  "id":23
               }
            ]
         },
         {
            "text":"looking i20    for new i20   car purchase",
            "intent":"buy (copy)@196",
            "id":196,
            "entities":[
               {
                  "start":8,
                  "end":11,
                  "value":"i20",
                  "entity":"car_type",
                  "id":23
               },
               {
                  "start":23,
                  "end":26,
                  "value":"i20",
                  "entity":"car_type",
                  "id":23
               }
            ]
         },
         {
            "text":"looking verna    for new verna   car purchase",
            "intent":"buy (copy)@196",
            "id":196,
            "entities":[
               {
                  "start":8,
                  "end":13,
                  "value":"verna",
                  "entity":"car_type",
                  "id":23
               },
               {
                  "start":25,
                  "end":30,
                  "value":"verna",
                  "entity":"car_type",
                  "id":23
               }
            ]
         },
         {
            "text":"looking swift    for new swift   car purchase",
            "intent":"buy (copy)@196",
            "id":196,
            "entities":[
               {
                  "start":8,
                  "end":13,
                  "value":"swift",
                  "entity":"car_type",
                  "id":23
               },
               {
                  "start":25,
                  "end":30,
                  "value":"swift",
                  "entity":"car_type",
                  "id":23
               }
            ]
         },
         {
            "text":"looking desire    for new desire   car purchase",
            "intent":"buy (copy)@196",
            "id":196,
            "entities":[
               {
                  "start":8,
                  "end":14,
                  "value":"desire",
                  "entity":"car_type",
                  "id":23
               },
               {
                  "start":26,
                  "end":32,
                  "value":"desire",
                  "entity":"car_type",
                  "id":23
               }
            ]
         },
         {
            "text":"looking alto    for new alto   car purchase",
            "intent":"buy (copy)@196",
            "id":196,
            "entities":[
               {
                  "start":8,
                  "end":12,
                  "value":"alto",
                  "entity":"car_type",
                  "id":23
               },
               {
                  "start":24,
                  "end":28,
                  "value":"alto",
                  "entity":"car_type",
                  "id":23
               }
            ]
         },
         {
            "text":"tell me about car price",
            "intent":"buy (copy)@196",
            "id":196,
            "entities":[

            ]
         },
         {
            "text":"car price hyundai ",
            "intent":"buy (copy)@196",
            "id":196,
            "entities":[
               {
                  "start":10,
                  "end":17,
                  "value":"hyundai",
                  "entity":"car_type",
                  "id":23
               }
            ]
         },
         {
            "text":"car price maruti ",
            "intent":"buy (copy)@196",
            "id":196,
            "entities":[
               {
                  "start":10,
                  "end":16,
                  "value":"maruti",
                  "entity":"car_type",
                  "id":23
               }
            ]
         },
         {
            "text":"car price mahindra ",
            "intent":"buy (copy)@196",
            "id":196,
            "entities":[
               {
                  "start":10,
                  "end":18,
                  "value":"mahindra",
                  "entity":"car_type",
                  "id":23
               }
            ]
         },
         {
            "text":"car price i10 ",
            "intent":"buy (copy)@196",
            "id":196,
            "entities":[
               {
                  "start":10,
                  "end":13,
                  "value":"i10",
                  "entity":"car_type",
                  "id":23
               }
            ]
         },
         {
            "text":"car price i20 ",
            "intent":"buy (copy)@196",
            "id":196,
            "entities":[
               {
                  "start":10,
                  "end":13,
                  "value":"i20",
                  "entity":"car_type",
                  "id":23
               }
            ]
         },
         {
            "text":"car price verna ",
            "intent":"buy (copy)@196",
            "id":196,
            "entities":[
               {
                  "start":10,
                  "end":15,
                  "value":"verna",
                  "entity":"car_type",
                  "id":23
               }
            ]
         },
         {
            "text":"car price swift ",
            "intent":"buy (copy)@196",
            "id":196,
            "entities":[
               {
                  "start":10,
                  "end":15,
                  "value":"swift",
                  "entity":"car_type",
                  "id":23
               }
            ]
         },
         {
            "text":"car price desire ",
            "intent":"buy (copy)@196",
            "id":196,
            "entities":[
               {
                  "start":10,
                  "end":16,
                  "value":"desire",
                  "entity":"car_type",
                  "id":23
               }
            ]
         },
         {
            "text":"car price alto ",
            "intent":"buy (copy)@196",
            "id":196,
            "entities":[
               {
                  "start":10,
                  "end":14,
                  "value":"alto",
                  "entity":"car_type",
                  "id":23
               }
            ]
         }
      ]
   }
}

I believe you just need more training data, the queries that are failing are the ones where you have very few examples. hello and bye only have 5 examples whereas buy has 20 or more.

@wrathagom I think 5 examples should be good for correct Intent classification but It will not good in terms of confidence.
I found quick fix on this issue but I am not sure that It is good or not
fix => I copy paste hello and bye Intent twice means 5*2 and It is working fine
Need you suggestion on this fix, bad or good?.

It's good in the sense of it is reinforcing the idea that those specific terms apply to the hello and bye intents... it is bad in the sense that it may teach the model that those are the ONLY words that should be in the hello and bye intents. Either way it re-inforces the idea that you need more training data in those intents.
Let me know if you have more questions.

authors: nishtrack wrathagom


text:
TBC: Draggable tabs

Implement draggable tabs: Design
Use case and value TBC.

@MFarringtonRPF can we remove this from the milestone?

repo: RaspberryPiFoundation/editor-ui


text:
🛑 GiteeSite is down

In 0d13118, GiteeSite (https://ravelloh.gitee.io) was down:

HTTP code: 0
Response time: 0 ms

Resolved: GiteeSite is back up in 369da43.

repo: RavelloH/sitemonitor


text:
UI Issues with image journal folders

the image is not vertically centered against the text in the cell
due to the lack of vertical centering above, the imagine causes a lot of empty space at the bottom, and less so on the top
the imagine has rounded corners in the upper left and right corner, but hard corners in the lower left and hard corner. should be all rounded.

What mod are you using to generate thumbnails?

Sidebar Aesthetics
https://gitlab.com/Furyspark/foundryvtt-sidebar-aesthetics/

Thanks for the feedback, dude! It has been fixed in v1.04.

authors: Rayuaz apoapostolov

repo: Rayuaz/twilight-ui


text:
Password recovery link on login form points to a different domain

Go to https://mtgarena.pro/login/
Click "Lost your password?" at the bottom.
Be sent to https://teslegends.pro/recover-password/ instead of https://mtgarena.pro/recover-password/

Thank you! It's fixed.

authors: Razviar pedro-walter

repo: Razviar/mtga-pro-tracker


text:
JMeter do not run on k8s

Hello,
I use AWS EKS (k8s) and your tool.
I use ./start_test.sh -j my-scenario.jmx -n default -c -m -i 2 -r and my JMeter do not start. Have you idea if I want any logs?

Best Regards

Hi Stephane,
Yeah, JMeter output is not really verbose but your test should have been started regarding the logs in the stdout.
After launch, please take a look at master pod logs, the summary tab should be printed every 30s if I remember correctly. Or even better, if you are using the built-in influxdb grafana stack, it should appear at test start.

./start_test.sh -j my-scenario.jmx -n default -c -m -i 2 work without -r (grafana display all data from influx). I need produce report folder.
My cloud provider is AWS, where can I read trace please? chmode on /report/ folder??

Hello, your PR fix the problem


text:
Add missing card / navigation element links

TODOs

[x] add more todos here

implemented

repo: ReInHerit/digital-hub


text:
rename an Animat

on modeller, we want to change the animat name

addressed  by https://github.com/ReMobidyc/ReMobidyc/pull/71

repo: ReMobidyc/ReMobidyc


text:
Youtube vanced samsung a04e playback not working 30 seconds video stopped

Youtube vanced samsung a04e playback not working 30 seconds video stopped sir problem solved my device I love vanced tem

https://github.com/ReVanced/revanced-discussions/discussions/1037

authors: habhh oSumAtrIX

repo: ReVanced/GmsCore


text:
Adding data-event="click" disables my onClick function

Hello every one
I am using ract tooltip to alert the user that the link is copied after clicking on a share icon
              <ShareIcon
                style={{cursor:"pointer"}}
                data-tip="Link copied successfully"
                data-event="click"
                onClick={() => {
                  navigator.clipboard.writeText(URL);
                }}
                >
                </ShareIcon>
                <ReactTooltip  place="right" effect="solid" />

The problem is when I add data-event="click" this disables my onClick function so the link will not be copied on the clipboard
Does any one have a solution for my issue ?

Hello again,
It looks like there is no way to make onClick works.
But I have found a way to make my function execute.
I moved the function which copy the link to RecatTooltip component and I have used the afterShow property.
              <ShareIcon
                style={{cursor:"pointer"}}
                data-tip="Link copied successfully"
                data-event="click"
                >
                </ShareIcon>
                <ReactTooltip
                  place="right"
                  effect="solid"
                   afterShow={() => { navigator.clipboard.writeText(URL);}}
               />

I hope this will be helpful if you are facing the same issue.

repo: ReactTooltip/react-tooltip


text:
Provide Implementation to pass props to routed components without render()

After reading all of the discussion in #4942, the resolution to use render() to pass props to route components leaves devs who hope to use the now standard react/redux with some unfortunate tradeoffs. The reality of using redux with react means that you will end up with a few top-level connected components with many dumb children. A common pattern evolves wherein router definitions generally happen in connected components, which results in extensive use of render() to pass props to dumb components.
In my current project, the component prop only gets used a few times, on the top-level routers. The bulk of my routing declarations are using render, which ends up being a lot of annoying boilerplate and very verbose routing declarations. I propose this syntax, (IE the original syntax), for passing props to routed components:
<Route component={Component} foo={bar} />
Resulting in {foo: bar} as a prop on the rendered Component. I'm sure there were good reasons for the split between component and render, but because passing props to routed components ends up being the vast majority of use cases in large projects, devs end up using the counterintuitive and verbose render() method everywhere, when the older syntax would have served better.

The main devs have stated numerous times that they do not want to expand the API by adding this (or something like it). While I personally think that it would be beneficial, I also think that it is safe to say that this isn't going to be added. You still have a few approaches that you can take.

Wrap the <Route>

// this relies on you using the component prop
const RouteWithProps = ({ path, exact, strict, component:Component, location, ...rest }) => (
  <Route
    path={path}
    exact={exact}
    strict={strict}
    location={location}
    render={(props) => <Component {...props} {...rest} />}
)
// usage
<RouteWithProps component={Component} foo={bar} />

Clone the <Route>

This one is more involved, but just copy the source code from here and add the ability to merge in any extra props. Maybe even release it as a package if you're feeling open sourcy.

This has been discussed many, many, many times.
This is all you need:
<Route path="/abc" render={()=><TestWidget num="2" someProp={100}/>}/>

I'm not following your logic as to why that is an unworkable API. Perhaps an example makes that more clear. But other than looking different and involving a few more keystrokes, I don't see how it's not tenable.

@pshrmn Thanks, I'll use that.
@timdorr I don't think it's unworkable or untenable, it's just sort of annoying if you have a lot of routes that require render. The reason it comes up is because a lot of the people who use the package would prefer it work that way. I've got to admit I'm puzzled as to why the maintainers are so strongly opposed.

render feature appears in 4.x. while  react-router-redux only  works with 3.x or former. So we should use function component currently?

@CallMeXYZ react-router-redux@next supports 4.0

@pshrmn Got stuck with wrapped Route component's path.
When using WrappedRoute
const WrappedRoute = ({ component: Component, page, ...rest }) =>
    <Route path={page.url} {...rest} render={props => <Component {...props} />} />;

all routes translates into ones without path at all (example one).
With passing path parameter in WrappedRouter, routing works as expected (example two)
What's wrong with this path?

<Route path="/abc" render={()=><TestWidget num="2" someProp={100}/>}/>

It could be helpful to have this example in a good place in the documentation. It's difficult to find the correct way to do it with the latest release, the stackoverflows comments or github's request are often a bit old.

I have the same error, when I write something like this:
<Route path="/abc" render={()=>}/>
it works
but I'm actually passing an array and I do not know why only the url changes but is not rendering my component unless I run the exact url :( any help?

authors: Behtsa CallMeXYZ amaschas pnest pshrmn timdorr yellowiscool

repo: ReactTraining/react-router


text:
Typo

It's vs Its

https://www.youtube.com/watch?v=063jQAM6N8I

authors: timdorr tomerovadia


text:
Can we implement a diagonal MvNormal distribution and its manifold

This option significantly reduces computational requirements for large MvNormal (at a cost of accuracy of course). This will up to a user if they want to project on a full MvNormal or an MvNormal constraint to have a diagonal covariance matrix.

Yes we can, but first we need to implement an exponential family member for it https://github.com/ReactiveBayes/ExponentialFamily.jl/issues/201.

done here https://github.com/ReactiveBayes/ExponentialFamilyManifolds.jl/pull/22

authors: Nimrais bvdmitri


text:
Fix access level for replace(with:)

replace(with:) should be public.

Current coverage is 61.33% (diff: 0.00%)

No coverage report found for master at 1200a00.

Powered by Codecov. Last update 1200a00...f89a56e

authors: codecov-io jechol

repo: ReactiveKit/Bond


text:
throttleTime(n, undefined, {leading: true, trailing: true}) ... double output

RxJS version: 6.5.1
Code to reproduce (6.5.1): https://stackblitz.com/edit/rxjs-tthiju
Expected behavior: One value initially, then defer next value for given duration
Actual behavior: One value initially, two values each duration
Additional information:
Test:
import { interval } from 'rxjs';
import { throttleTime, take } from 'rxjs/operators';

interval(50).pipe(
  throttleTime(1234, undefined, {leading: true, trailing: true}),
  take(8),
).subscribe(x => console.log(x));

// actual output: 0----24-25----49-50----74-75----99|
// expected output: 0----24----49----74----99----124----149----174|

Has anybody found a work around on this ?

Would distinctUntilChanged() work after throttleTime - at least for some situations?

Would distinctUntilChanged() work after throttleTime - at least for some situations?

Yes it would work, for example:
distinctUntilChanged((prev, curr) => curr - prev < minWaitTime/1000)

Well, let me try to propose a fix again via https://github.com/ReactiveX/rxjs/pull/4864 :D

Are there any plans to merge it?

Oh nice, thank you for fixing it ben 🥳

authors: adolgoff jscti simeyla sod ubugnu

repo: ReactiveX/rxjs


text:
exhaustMapWithTrailing/debounceMap implementation

I'm just opening (and closing) this to add an option to #1777, which I found and spent some time trying to get the examples working but ultimately found them lacking. I'm sorry if this isn't welcome (perhaps adding a stackoverflow Q&A would be better?)
This appears to work for me, hopefully it will be helpful to others:
// Sometimes we want the throttling behavior of exhaustMap without the losing
// the last emission. This is helpful in situations where we want to only issue
// one request at a time, but if we are told to issue another while issuing the
// first, we respect that. Think of it as a nicer switchMap.
//
// input   -1--2--3--4-------->
// project -1xxxxxxx3xxxxxxx4-> (x is async/waiting)
//
// Originally started with this, but did not work:
// https://github.com/ReactiveX/rxjs/issues/1777#issuecomment-466267803
export function exhaustMapWithTrailing<T, R>(
  project: (value: T, index: number) => ObservableInput<R>
): OperatorFunction<T, R> {
  return (source): Observable<R> => {
    const release = new Subject()

    return source.pipe(
      throttle(() => release, {
        leading: true,
        trailing: true,
      }),
      // TODO: Upgrade to TypeScript 3.6.3 when available and remove the cast
      // https://github.com/microsoft/TypeScript/issues/33131
      exhaustMap((value, index) =>
        from(project(value, index)).pipe(
          finalize(() => {
            release.next()
          })
        )
      ) as OperatorFunction<T, R>
    )
  }
}

/cc @edusperoni @Dorus

Actually, @cartant (or another collaborator) if you could add this example to the thread in #1777 (as long as there's nothing horribly wrong with my implementation) and delete this issue, that would be amazing.

Thank you for this @aaronjensen! I needed exactly this operator and took the liberty of writing a test suite for it and publish to npm. Here it is: https://www.npmjs.com/package/rxjs-exhaustmap-with-trailing

Looking at the npm package, i did notice this operator is not fully adhering the following property form #1777

It would be nice to have an operator that plays the latest event, like exhaustMap, but also guarantees that the last event from a stream is processed.

But this test:

fails to guarantee the last even from the source is processed.

@Dorus yeah, this is due to how throttle currently won't emit the trailing value after the source has completed. Looks like this behavior will change in rxjs@7 (see this commit: d5fd69c123d2232335563eea95c69c07576d079d).
I'm happy to review a PR and update the test if you have any ideas about how to fix it for rxjs@6

@Dorus: I just released rxjs-exhaustmap-with-trailing@v2.0.0 which bumps the peer dependency of RxJS to 7.0 and updates the test to reflect the changed behavior of throttle()

I wonder what's the point of using exhaustMap rather than simply mergeMap? What am I missing?

@striderhobbit This is a 4 year old issue and I've not touched rxjs in years, so I personally couldn't tell you. I gave an example and rationale in my original issue. Keep in mind that it's very possible things have changed in this library since I opened the issue.

@striderhobbit the point is alleviating back pressure in a way that considers the target observable timing, not some fixed timing, or some other observable completely. For example:
someAction$.pipe(exhaustMap((action) => networkRequest(action.param)))

so let's say you're typing some data. You type "hello", the server filters and returns to you. You can use a debounce/throttle with a fixed time, but if your request takes 5s to execute, you might end up just never filtering anything, just piling up requests on the server. On the other hand, with exhaustMap you can ignore inputs until your request finishes.
exhaustMapWithTrailing is the step up, where it also fires the last one. So if you type "hello", it starts filtering for "hello", and then you type "w" "o" "r" "l" "d" while the hello request still hasn't finished, it'll return the filtered results for "hello" and then start the request for "hello world". Essentially it reduces the amount of times the target observable will fire and ensures the last value it emits is always in sync with the source observable.
I don't remember the last time I needed this, but it was a while ago and I'm not sure if any other new operator implementation made this implementation redundant or not.

@edusperoni @aaronjensen
I understand all that. It's not about how the operator works, that's fine and in fact exactly what I need. My point is only that I think you could define the operator using mergeMap in favor of exhaustMap with the same result. Why?

throttle emits the source Observable values on the output Observable when its internal timer is disabled, and ignores source values when the timer is enabled

So as long as observable inside mergeMap/exhaustMap isn't completed and thus has called release.next() all incoming source values will be ignored/choked by throttle already. It's really some clever piece of code I must say.
Check out this for an example. It will produce the same output for either mergeMap or exhaustMap.

I don't think that's how throttle works. Throttle only cares about its own timer, not its downstream, so I'm not sure how "all incoming source values will be ignored/choked by throttle already" could be true. But again, I could be totally out to lunch here, I haven't had to touch rxjs in a very long time, so I'm out of practice.

@striderhobbit I believe I understand the question now. Are you asking why inside the operator itself we're using exhaustMap and not mergeMap?
I guess the answer could be "safety", but sure, mergeMap would probably work.

I'm likely mistaken about throttle, I was thinking of a regular debounce. I think I get it now, and I don't have an answer. If it works for you, great. I couldn't tell you a meaningful difference.

@edusperoni Yes that was my question. Just wanted to make I was not missing something.

authors: Dorus aaronjensen bjoerge edusperoni striderhobbit


text:
Comparison between Vue3 vs Nuxtjs

NuxtJS

Pros

SEO improvement: We need this feature because our learning site is a public web application that includes social sharing features of our progress.
Generates own router structure based on the folder structure. It is easier and faster to work with.
For larger applications: Pre-configured folder structure for middlewares, and plugins.
Good data fetching pattern asyncData and fetch.

Cons

As automatic routing so less controllable and manageable.

Vue3

Pros

Routing can be controlled and manageable.
Composition API

Better organization, Sharing/reusing the code
Multiple root elements can be used now inside the template.

Cons

For SPA only
Manual routing and folder structure Can get complex over time.
Vue.js applications contain the App.vue file as a core root component.
TTFB(Time to first bite) will be more.

Adding to the points aakanksha mentioned:
Nuxt JS

Cons

No support for Vue 3, only a beta version is out.
Typescript support for the current server engine is not great, it will change with the new Nuxt3 stable release.

authors: aakankshadhurandhar yesyash

repo: Real-Dev-Squad/website-learn


text:
Manage the styling of banner of both task update and standup update

Issue:
https://github.com/Real-Dev-Squad/website-status/issues/638
Description:
Manage the styling of the banner of both task update and standup update
Dev Tested:

[x] Yes

Images/video of the change:

Please add test with coverage screenshot

I have just worked on styling and for styling there are no test coverage

Why did you dismiss my REQUEST CHANGES? Without any proper reason don't delete or dismiss any review or comments please.

Please add test with coverage screenshot

I have just worked on styling and for styling there are no test coverage

You have made some changes in  .tsx files so I think a test is needed.

authors: Pratiyushkumar sahsisunny

repo: Real-Dev-Squad/website-status


text:
Multiple Linear Regression on Student Performance

This pull request adds a Jupyter notebook for a multiple linear regression on student performance and includes the necessary dataset for the analysis obtained from Kaggle.
Changes Made:

Notebook:

Added 'Student_performance.ipynb` which contains the implementation of multiple linear regression.
The notebook includes:

Exploratory Data Analysis (EDA)
Data preprocessing
Model training and evaluation
Visualization of the results

Dataset:

Added Student_Performance.csv to the Linear Regression Model directory.
The dataset includes the following columns:

Hours Studied
Previous Scores
Extracurricular Activities
Sleep Hours
Sample Question Papers Practiced
Performance Index

Summary of Analysis:

The notebook performs EDA to understand the relationships between the features and the target variable (Performance Index).
Histograms -

Pairplots -

Correlation Matrix -

It trains a multiple linear regression model to predict Performance Index based on the provided features.
The performance of the model is evaluated using metrics like R² score and Mean Squared Error (MSE).
Visualizations include scatter plots, residual plots, and correlation heatmaps to provide insights into the model's performance.
Performance Plots -

Residual plots -

Checklist:

[x] Added a Jupyter notebook for the linear regression project.
[x] Included the dataset required for the analysis.
[x] Performed EDA and visualized the results.
[x] Trained and evaluated the linear regression model.
[x] Added comments and explanations in the notebook for clarity.

@sanjay-kv
Please review and do suggest any changes.
Thank you.

repo: Recode-Hive/machine-learning-repos


text:
Reconfigureio compatibility

Reconfigure.io currently compiles main.go (plus imported libraries) only. This PR puts the FPGA functions into main.go instead of in separate files. In the near future we will fix this.

 Web MD5


text:
Teamnado 3053 upgrade packages

This updates to all the latest packages as of Friday (12/3/2021).
husky and jest had breaking changes that required a few minor updates to the package.json file.
react-router-dom changed or removed some components and functions that we were using:

The Switch component was replaced with the Navigate component.
The withRouter method was removed entirely.  Users are now encouraged to use hooks for the functionality that it provided, but we were actually already using the hooks, so I just deleted our seemingly unused calls to withRouter.
The useHistory hook was replaced with useNavigate.
The syntax was changed for Route components to require an element prop instead of a component prop.
The redirection syntax was updated.

Codecov Report

Merging #48 (b03d829) into main (88a53a4) will increase coverage by 0.14%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main      #48      +/-   ##
==========================================
+ Coverage   88.04%   88.19%   +0.14%
==========================================
  Files          42       42
  Lines         661      669       +8
  Branches      116      124       +8
==========================================
+ Hits          582      590       +8
  Misses         79       79

Impacted Files
Coverage Δ

src/pages/NoPermissionsPage/NoPermissionsPage.js
100.00% <ø> (ø)

src/pages/OopsPage/OopsPage.js
100.00% <ø> (ø)

...es/SatelliteManifestPage/SatelliteManifestPage.tsx
100.00% <ø> (ø)

src/hooks/useExportSatelliteManifest.ts
100.00% <0.00%> (ø)

src/hooks/useUpdateManifestSCAStatus.ts
100.00% <0.00%> (ø)

src/components/SCAStatusSwitch/SCAStatusSwitch.tsx
100.00% <0.00%> (ø)

...lliteManifestPanel/satelliteManifestPanelUtils.tsx
98.76% <0.00%> (+0.03%)
:arrow_up:

.../SatelliteManifestPanel/SatelliteManifestPanel.tsx
65.11% <0.00%> (+0.27%)
:arrow_up:

...firmationModal/DeleteManifestConfirmationModal.tsx
72.72% <0.00%> (+1.75%)
: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 88a53a4...b03d829. Read the comment docs.

authors: codecov-commenter zanewoodfin

repo: RedHatInsights/subscription-central-ui


text:
Public vs Published mismatch for --state value

Using 'public' as the value for the --state option gives this:
Try 'cve list -h' for help.

Error: Invalid value for '--state': 'public' is not one of 'reserved', 'published', 'rejected'

however changing the value to 'published' returns this:
ERROR: 400 Client Error: Bad Request for url: https://cveawg.mitre.org/api/cve-id?cve_id_year=2022&state=PUBLISHED
DETAILS: {'error': 'BAD_INPUT', 'message': 'Parameters were invalid', 'details': [{'msg': 'Invalid value', 'param': 'state', 'location': 'query'}]}

Ah, that's my mistake. The change from "public" to "published" was introduced in https://github.com/RedHatProductSecurity/cvelib/pull/10 but it wasn't released yet since it's part of CVE Services 2.x only. Later on additional changes were merged to master and those got released alongside this change, breaking it for the currently deployed prod 1.1.1 version of CVE Services.
I'll revert that change and move it to the cve-services-2.1.0 branch only so that it gets introduced only when 2.x is out.

Awesome, thanks for the explanation. Really appreciate the client!

Fixed in 0.7.0.

authors: DellEMCProductSecurity mprpic

repo: RedHatProductSecurity/cvelib


text:
Add tracker label contract-priority based on ps-constants

Closes OSIDB-1709
This mirrors is_compliance_priority that is both already in OSIDB and was also done in OSIDB-1707. In contrast to compliance priority, this PR doesn't include tests around SLA because OSIDB-1709 doesn't seem to ask for any change in sla.yml (if that changes before merge, this will be reflected).

Asking @osoukup for extra review specifically because he provided me the context and guidance regarding this story a week ago.

repo: RedHatProductSecurity/osidb


text:
Raise ExecOnPodError on 'Failure' in pod.execute

Short description:
Raise ExecOnPodError on 'Failure' in pod.execute

!verified

!cherry-pick v4.11

!cherry-pick v4.11

!cherry-pick v4.11

!cherry-pick v4.11

!cherry-pick v4.11

!cherry-pick v4.10

!cherry-pick v4.9

!cherry-pick v4.8

!cherry-pick v4.8

!cherry-pick v4.8

!cherry-pick v4.8

authors: jpeimer myakove

repo: RedHatQE/openshift-python-wrapper


text:
Flow subscriptions are broken after MapMemory clear

Steps to reproduce

Create MapMemory instance and StateFlow or SharedFlow
Subscribe to the created flow and emit values to it
Clear MapMemory
Emit more values to the previously created Flow

// 1
val memory = MapMemory()
val someFlow by memory.stateFlow(0)

// 2
someFlow
    .onEach(::println)
    .launchIn(coroutineScope)

someFlow.emit(1)

// 3
memory.clear()

// 4
someFlow.emit(2)

Expected output:
0
1
2 <== Value emitted after map cleared should also be printed

Actual output:
0
1

Proposal from @silverxcoins

Make some interface (CleanableProperty) indicating that property should not be removed, but should be cleared instead. Create implementations:

CollectionsProperty, calling Collection's clear()
MapProperty, calling Map's clear()
FlowProperty, changing underlying flow to empty one instead of removing

repo: RedMadRobot/mapmemory


text:
Print the build log on failure

The recent changes to script/test.sh completely silenced build output, making it hard to debug travis failures.
This PR prints the build log if the build fails.

thanks!

authors: jonsterling wilcoxjay

repo: RedPRL/sml-redprl


text:
Best practices for pushing images to the DockerHub organization

I just pushed a new image of random walk with restart to DockerHub under the reedcompbio organization. This image came from a branch in @Lyce24's forked SPRAS repo: https://github.com/Lyce24/spras/tree/RWR, and he is currently testing it before doing a pull request to merge RWR.
This is prone to some inconsistency - the current docker image in the reedcompbio organization is from a Dockerfile that is not in the SPRAS repo yet. On the other hand, we want the image to be associated with the reedcompbio organization so the code in the PR can be merged into SPRAS.
One option is to keep the docker image in the developer's Dockerhub account, and once the branch is merged then push the image to reedcompbio. However, then there are two images floating around of the same method -one in the developer's account and one on reedcompbio.

The workflow I have used is roughly the following. See what you think of this and make any suggestions. We can make this more prominent in the contributing guide if we like it.

Contributor creates the Dockerfile in their SPRAS branch, builds the Docker image locally, and pushes it to their DockerHub account for development
The new SPRAS wrapper function uses the Docker image from the contributor's DockerHub account for the initial implementation and pull request review
One of the members of the DockerHub reedcompbio organization (me or @annaritz) builds the Docker image locally from the Dockerfile to test it and pushes it to the DockerHub reedcompbio organization with tags v1 and latest. They also populate minimal metadata on DockerHub.
Before merging the pull request, the contributor switches the wrapper functions and GitHub Actions workflows to use the reedcompbio DockerHub image instead of the contributor's image and makes sure it is tagged v1

I'm not positive step 2 will still work after the registry configuration changes in #132. The Docker username or organization used to be hard coded.
I don't see a problem with having two copies of the image on DockerHub.

authors: agitter annaritz

repo: Reed-CompBio/spras


text:
Disable resize

I'd like an option to disable the resize functionality. I.e. what I'm looking for is an element that is resizable when a condition is true and not when it's false (so I can use an "Edit mode" button, and my div can only be resized when editmode == true)

Yes, this will be quite useful when using it to wrap a side panel whose resizing functionality suppose to be configurable.

Hi Halo, I hired someone to make this mod for me - please see Kapil's fork: https://github.com/kapil2708/angular-resizable - it might not do exactly what you need but may be a start.

repo: Reklino/angular-resizable


text:
schema parameter seems to be missing from load_csv

In the comment above load_csv it reads:
# `syntax`:
#   * header: a map from col number to name (base 1)
#   * header_row: row number of header, 0 means no header (default: 1)
#   * delim: default: ,
#   * quotechar: default: "
#   * escapechar: default: \
#
# Schema: a map from col name to rel type name, eg:
#   {'a': "int", 'b': "string"}
def load_csv(ctx: Context, database: str, engine: str, relation: str,
             data: str or io.TextIOBase, syntax: dict = {}) -> dict:

However, there is no argument that allows users to specify a schema.

Duplicate of #25

Note: This issue has been migrated to https://relationalai.atlassian.net/browse/RAI-5214.
This link is only accessible to employees of RelationalAI.

authors: billscheidel-rai gbrgr

repo: RelationalAI/rai-sdk-python


text:
Icon Request(s): Menu (Alternative styles)

Icon Request
Thank you for the beautiful icons.

Icon name: Menu
Tags of this icon: menu, hamburger, bars
Use case: To open or close mobile menu, side drawers etc.
Screenshots of similar icons:

https://remixicon.com/#system
You'll see them in the first row of the system category.
Thank you for your advice and samples.

authors: elitenoire xiaochunjimmy

repo: Remix-Design/RemixIcon


text:
[ios] error: Signing for "RevenueCat-RevenueCat" requires a development team

Hi,
Description:
When trying to run an Ionic app in the device with Capacitor ionic cap run ios, I encounter the following error:

Plugin Version : 8.0.0-beta.4

/ios/App/Pods/Pods.xcodeproj: error: Signing for "PurchasesHybridCommon-PurchasesHybridCommon" requires a development team. Select a development team in the Signing & Capabilities editor. (in target 'PurchasesHybridCommon-PurchasesHybridCommon' from project 'Pods')
error: Signing for "RevenueCat-RevenueCat" requires a development team. Select a development team in the Signing & Capabilities editor. (in target 'RevenueCat-RevenueCat' from project 'Pods')
[capacitor]         ** BUILD FAILED **

To bypass this error i need to delete : PurchasesHybridCommon-PurchasesHybridCommon and RevenueCat-RevenueCat from Pods TARGET in xcode

Steps to Reproduce:

Create a new Ionic project with Capacitor.
npm i @revenuecat/purchases-capacitor@next
ionic cap run ios

Expected Behavior:
The app should run successfully without requiring manual intervention for setting the development team.
Actual Behavior:
The build process fails with the error message mentioned above, indicating that a development team needs to be selected for signing the "PurchasesHybridCommon-PurchasesHybridCommon" target.
Additional Information:
Ionic:

   Ionic CLI                     : 7.2.0
   Ionic Framework               : @ionic/angular 6.2.1
   @angular-devkit/build-angular : 14.1.1
   @angular-devkit/schematics    : 14.1.1
   @angular/cli                  : 14.1.1
   @ionic/angular-toolkit        : 6.1.0

Capacitor:

   Capacitor CLI      : 6.1.0
   @capacitor/android : 6.1.0
   @capacitor/core    : 6.1.0
   @capacitor/ios     : 6.1.0

👀 We've just linked this issue to our internal tracker and notified the team. Thank you for reporting, we're checking this out!

Hi! Just to clarify for us, do you already have a team set in "Signing & Capabilities" in Xcode or are you still getting this error even with it set? We have seen other developers encounter this issue before in which this was the way to resolve it.

Hi, yes, I have a team set in Sign In & Capabilities, and I still get this error. The only solution I found to build the app is by deleting the extra pod files mentioned in the error.

Hi, same error with version 8.0.0

authors: FahmiChaar RCGitBot WesleyClarkRC

repo: RevenueCat/purchases-capacitor


text:
get unitcell and make the structure

this could be very useful for comparison between wrinkles and nanotube

implemented.

repo: Reza-dsh/geometryCode


text:
Minor refactor of "highlight" style

Be consistent with how we handle highlighting styles between lines and points. Currently we have:

Points

not highlighted = colored stroke, white fill
highlighted = black stroke,  colored fill

lines

not highlighted = no stroke, colored fill
highlighted = black stroke (well, pseudo-stroke), colored fill.

I propose the following for both lines and points:

Not highlighted = colored fill , no stroke
highlighted = optional fill based on config.highlight_color (default:white), colored stroke

Test Notes: Went with black stroke and a fill controlled by event_highlight_color. Test with these settings (change color to confirm functionality):
{"event_highlight_color":"yellow"}

repo: RhoInc/clinical-timelines


text:
Uniquely identify data files in the explorer.

Adding a new fileID property to each item in explorer.settings.files and using that instead of labelColumn as the identifier

Test Notes
Use the file load control on the explorer test page to load the same file twice. Confirm that both files are shown in the file list, but only one file is highlighted. Check that both codebooks work.

Works as expected in chrome and FF. Both files appear, only one is highlighted and they work in codebook.

authors: danedexF5 jwildfire samussiah

repo: RhoInc/web-codebook


text:
UnhandledPromiseRejectionWarning: Error: Could not resolve './aaa' from dist/index.js

Hello @Rich-Harris , I love the idea of running Agadoo on our CI server to make sure the library we are building is fully tree-shakable. However, while I believe it is currently tree-shakable (we tried it with webpack 4 and made sure bundles were correctly limited to what was needed and no more), Agadoo is throwing errors I do not really understand.
Here is a super simple simplification of our lib (after building):
dist
  ├── index.js
  ├──aaa/
  │   ├── index.js
  │   └── aaa.js
  └──bbb/
      ├── index.js
      └── bbb.js

There is a bunch of components, so imagine  ccc, ddd folders in the same vein.
And here are the content of each files:
/* main index.js */
import aaa from "./aaa";
import bbb from "./bbb";
export { aaa, bbb };

/* index.js under folder aaa */
import aaa from "./aaa";
export { aaa };

/* aaa.js */
function aaa(a) {
  console.log("==> hello aaa: ", a);
}
export default aaa;

/* package.json */
(...)
"module": "dist/index.js",
(...)

With this setup, when I run node node_modules/.bin/agadoo the following error message is thrown:
(node:57176) UnhandledPromiseRejectionWarning: Error: Could not resolve './aaa' from dist/index.js
    at error (/Users/aversin/tmp/testing-agadoo/node_modules/rollup/dist/rollup.js:3365:15)
    at /Users/aversin/tmp/testing-agadoo/node_modules/rollup/dist/rollup.js:21504:25
    at process._tickCallback (internal/process/next_tick.js:68:7)
    at Function.Module.runMain (internal/modules/cjs/loader.js:745:11)
    at startup (internal/bootstrap/node.js:266:19)
    at bootstrapNodeJSCore (internal/bootstrap/node.js:596:3)
(node:57176) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:57176) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Any idea what's wrong? Is it us and our weird sub-folder organization? Or is it Agadoo?
Any pointers would be great, thanks!!
PS: I tried with node 8.11.4 and 10.9.0

I had a similar problem and could solve it by slightly modifying my imports
/* main index.js */
import aaa from "./aaa/index"; // add index
import bbb from "./bbb/index";  // add index
export { aaa, bbb };

I have the same issue. The solution which @adrienpoly suggests did fix it. Having said that it would be wonderful not to have to add /index in each import.

I am facing the same issue.
What I am trying todo is  check every packages my project using are tree-shakeable, and forbid to add new package if it is not shakable.
@Rich-Harris  Is this a rollup problem?

Is this a rollup problem?

No. Agadoo assumes it's testing an ESM entry point. ESM requires you to be specific about what file you're importing; consequently, so does Rollup. Rollup is in fact too liberal — for the file to be valid ESM it must specify the .js file extension — but that's a design mistake that would be hard to undo at this point.
If it's failing because it's not finding an index file imported from the entry point, it means that the import is invalid in the first place, and won't run natively in Node. For some projects that's fine (i.e. if the code will only ever be consumed via tooling) but since best practice is to be specific about what files you import, Rollup/Agadoo's behaviour won't change.

authors: Rich-Harris adrienpoly aversini icy0307 mfrancekovic

repo: Rich-Harris/agadoo


text:
degit executes bin.js on windows instead of running it as node

the recent updates 2.8.1 & 2.8.2
completely broke degit on windows 10.
when I run npx degit sveltejs/template .

unable to clone any repo because bin.js file gets executed by .js default app (vscode in my case).
instead of running node bin.js in command line path.
however version 2.8.0 works fine doesn't have this behavior

me too..has degraded processing

same thing for unix OSs
in the compiled form the shebang #!/usr/bin/env node is missing so the OS or npx for that matter is just exuecuting it as a normal shell script
(or in your case probably a batch file or something)

oh i see , this is more or less a duplicate of #274

repo: Rich-Harris/degit


text:
[Feature] 为啥播放控件的亚克力效果没了？

问题描述
为啥播放控件的亚克力效果没了？
现在变成半透明了，和视频内容混合在一起不容易看清，不知是不是bug？一起的亚克力效果多美观啊
如果出于性能考虑禁用了亚克力，是否可以考虑做成不透明的？现在的半透明真的看起来有些吃力。
描述解决方案
控件恢复亚克力效果
备选方案
控件做成不透明效果
附加信息
No response
人人为我，我为人人
No response

刚刚看了下更新日志，是为了不遮挡字幕。我不是很在乎这个，希望能自己手动设置控制器的效果，实在很喜欢原来的亚克力效果。

刚刚看了下更新日志，是为了不遮挡字幕。我不是很在乎这个，希望能自己手动设置控制器的效果，实在很喜欢原来的亚克力效果。

额，你是触屏用户吧，原来的的设计对于鼠标来说简直是地狱设计

刚刚看了下更新日志，是为了不遮挡字幕。我不是很在乎这个，希望能自己手动设置控制器的效果，实在很喜欢原来的亚克力效果。

鼠标如果设置是手动显隐会很麻烦容易误触，自动的话得等很久才会自动隐藏，所以很容易遮挡字幕

authors: BeLozmen blibilijojo


text:
[Bug] 软件无法卸载

Bug 描述
软件无法卸载!!!
复现问题的步骤
卸载-卸载应用时出错

预期行为
正常卸载软件
截图

应用来源

[ ] Microsoft Store
[X] Github
[ ] 其它

其它来源
No response
系统版本

[ ] Windows 10 1809 (Build 17763)
[ ] Windows 10 1903 (Build 18362)
[ ] Windows 10 1909 (Build 18363)
[ ] Windows 10 2004 (Build 19041)
[ ] Windows 10 20H2 (Build 19042)
[ ] Windows 10 21H1 (Build 19043)
[X] Windows 11 21H2 (Build 22000)
[ ] 其它 (需注明)

其它系统版本
No response
运行设备
桌面/平板或笔记本
日志记录
No response
备注
No response
人人为我，我为人人
None

你这是拿啥卸载的……UWP是最好卸载的了，直接在开始菜单右键图标点击卸载就行

感谢，已解决。

authors: Richasy frcgty


text:
ShapeSegM.scala

This file needs dealing with.

Renamed to CurveSegDist.

repo: Richtype/openstrat


text:
Pet Notify Missing space in string concatenate

See below pet gained notify

Fixed with https://github.com/RinZJ/better-discord-loot-logger/commit/27933a07b24e7c317d38041a5f33916819ce870b

repo: RinZJ/better-discord-loot-logger


text:
Can't download VSCO profile

Ripme version: v1.7.51
Java version: N/A
Operating system: Windows 10

Expected Behavior
Downloading a VSCO profile.
Actual Behavior
I tried to download a VSCO profile but it kept saying "Expected a URL to a single image or to a member profile, got [insert link]

What link are you trying to rip?

That is because of the - in the username. This should be fixed in ripme 1.7.52. I'm closing this issue as a dupe of #679

repo: RipMeApp/ripme


text:
Your account is blocked

Account block

  Your account was blocked from sending messages to the chat.

Halfmoon design for an "account blocked" thing

We already do have a few alerts for bans and errors, have a look at those:
https://github.com/RiversideRocks/web-riverside/blob/master/src/v1/client.js#L53

repo: RiversideRocks/web-riverside


text:
Discuss usage and public API for tool

So far we have not defined or even discussed what kind of usage this tool has. Creating this issue to discuss and formalise usage, before 1.0.0.

brain dump:

@Ocramius mentioned we should aim for the tool to simply be added to CI
need to determine what is the "last" version automatically to do this (maybe ocramius/package-versions could help? if not, would have to pull from git porcelain directly?)
obviously use yaml for any configuration :smiling_imp:
what configuration? maybe disable specific checks, tho seems like a bad idea............

need to determine what is the "last" version automatically to do this (maybe ocramius/package-versions could help? if not, would have to pull from git porcelain directly?)

More like the last stable minor. For instance, if we are On 2.5.7, the BC compatibility should be computed from 2.5.0

obviously use yaml for any configuration 😈

You are dead to me.

what configuration? maybe disable specific checks, tho seems like a bad idea............

Don't think we need any configuration for now

I think the usage should be something like:

composer require --dev roave/api-compare
Add vendor/bin/api-compare to CI
As above, should detect the last stable minor version

Clone & check out old version in a temp workspace & switch to last major
Run the comparator of the current checkout vs the temp workspace

However, failing the build may not be desirable; just because there is a BC break, doesn't mean the build should fail (i.e. a new major version may be being prepared), so not sure how we can "flag" this to the user... I wonder if we could somehow automatically make a comment on the github PR (if it's github)?
Additional CLI option idea: --version=<specific version to check out> if you want to compare to a specific version

Output formats: --output=json --output=text --output=xml perhaps (is there anything like this, a standard, or even de-facto standard in other libs?)

--output=markdown is going to be useful to generate changelogs too

So; I see two use cases:

CI as above
Running manually to identify differences: e.g. to generate changelogs as I mentioned

Closing this as the relevant parts have been extracted to their own issues.

authors: Ocramius asgrim

repo: Roave/ApiCompare


text:
I just broke the Flickr exploit

https://github.com/RobinLinus/socialmedia-leak/blob/master/demo.js#L32
👋
You'll get the same response logged in or out now. Thanks for identifying!

Thank you!!

authors: RobinLinus alex-seville

repo: RobinLinus/socialmedia-leak


text:
Jednoduché masové filtry

Následující věci jsou ve strategii buď naprosto nemožné nebo zbytečně složité:

Prodat celé portfolio.
Vypnout sekundární trh.

Zároveň následující věci nejsou dostatečně zřejmé:

Žádná pravidla při nákupu znamenají "kupovat všechno."
Žádná pravidla při prodeji znamenají "neprodávat nic."

Někdy v budoucnu to bude potřeba vyřešit. FYI @jhrcek

Možnost prodat celé portfolio byla implementována ve #192.

repo: RoboZonky/robozonky