text:
Format GherkinDocument AST as Markdown

Summary
Format a messages.GherkinDocument as either Gherkin or MDG.
Motivation and Context
As we're rolling out support for MDG in Cucumber, some users might want to convert all their existing feature files to MDG.
Doing this manually is tedious, so we should provide a migration tool to do this.
The intention is to have a tool that people can run like so:
npx @cucumber/gherkin-utils gherkin2mdg path/to/directory/or/file

How Has This Been Tested?
The pretty unit test performs the following transformation:
Gherkin Source --parse--> GherkinDocument --pretty--> Markdown Source --parse--> Gherkin Document --pretty--> Gherkin Source

We perform a string comparison of the initial and final Gherkin Source.
Screenshots (if appropriate):
Types of changes

[ ] 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).

Checklist:

[ ] The change has been ported to Java.
[ ] The change has been ported to Ruby.
[x] The change has been ported to JavaScript.
[ ] The change has been ported to Go.
[ ] The change has been ported to .NET.
[ ] I've added tests for my code.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have updated the CHANGELOG accordingly.

I would have created two distinct renderers and call the good one from the pretty method depending the desired syntax.

I did consider that, but went this solution to avoid too much code duplication. The traversal code is identical, and the only difference is prefixing/indentation of keywords. I think that can be improved by having distinct helper functions for each rendering function rather than using if statements.
I'll have a go at that.

Please remember to label issues and pull requests :-)

I did consider that, but went this solution to avoid too much code duplication. The traversal code is identical, and the only difference is prefixing/indentation of keywords. I think that can be improved by having distinct helper functions for each rendering function rather than using if statements.

This reminds me of all the visitor patterns I did already for Gherkin AST... I wanted to make a generic one into Gherkin, but never got the time for that. I wonder how much of the duplication we could avoid with a generic gherkin AST visitor...

@aslakhellesoy would be usefull to have this for Java too (e.g. to format existing feature files), in general it would be nice to support a configuration file where one could configure some aspects e.g. indentation deep, indentation style (tab versus spaces), numer of new lines before/after a given scenario/data table/ ...

@laeubi this will be published as a command line tool that you can run as npx @cucumber/gherkin-utils. This requires Node.js to be installed.
I realise people who don't use Node.js might not have it installed, but it's relatively easy to install. I'm not going to prioritise porting this to Java, but if someone submits a PR for this we'd accept it. The PR would also have to extract the test data to reusable tests so we can ensure consistent behaviour between implementations. A bit like we've done in Gherkin and create-meta.

@davidjgoss @aurelien-reeves @mattwynne could one of you review this please? Thanks!

The current CLI interface isn't very shell friendly. Consider making it easy to do:
Output formatted std in to std out:  cat test.feature | gherkin-utils format
Output formatted feature files to std out:  gherkin-utils format [ FILE1, FILE2, FILE3.... ]
Format feature files in place:  gherkin-utils  format --in-place [ FILE1, FILE2, FILE3.... ]
Format selected feature files in place: find <some thing> . -exec gherkin-utils format {} \;
Convert to markdown in place:  convert --in-place [ FILE1, FILE2, FILE3.... ]

I wonder if we could just call this CLI tool gherkin instead of gherkin-utils. We could still build/release it as a separate library (gherkin-cli would follow a common JS idiom for the package name).

authors: aslakhellesoy gasparnagy laeubi mattwynne mpkorstanje

repo: cucumber/common


text:
2 x minor discrepancies in CCK descriptions vs actions

👓 What did you see?

Change When a JPEG image is attached to either attach a JPEG or rename it to PNG
cf: https://github.com/cucumber/compatibility-kit/blob/main/devkit/samples/attachments/attachments.feature.ts#L49
Change When a PDF document is attached with a filename to attach the document.pdf file with a different name. Rename the cuke to When a PDF document is attached as renamed-document.pdf`
cf: https://github.com/cucumber/compatibility-kit/blob/main/devkit/samples/attachments/attachments.feature.ts#L57

✅ What did you expect to see?

📦 Which tool/library version are you using?

🔬 How could we reproduce it?

Steps to reproduce the behavior:

Install '...' version '...'
Create a file called '....'
Run command '....'
See error '....'

📚 Any additional context?

This text was originally generated from a template, then edited by hand. You can modify the template here.

@davidjgoss are you happy for these changes (Global), to the CCK?

@luke-hill LGTM!

Fixed in #52 Will be released shortly

source: gharchive/issue

authors: davidjgoss luke-hill

repo: cucumber/compatibility-kit

license: MIT

license_type: permissive

license_source: github-api


text:
Initialise matcher with language

This would allow global configuration of the language (dialect) so that the # language: xx header isn't required.

The scanner does not know anything about the language, so it must be the matcher that is indented to be initialised with the language.

authors: aslakhellesoy brasmusson

license: mit

license_source: bigquery


text:
javascript: interpolate replaces globally

@aslakhellesoy @jbpros

Good catch! Since you didn't modify any of the other implementations (and travis passed) I assume this was a bug in JavaScript only?

The build appears to say so. Took a look at the java and ruby compilers and they both appear to already use a global substitution.

Yep. I'll merge it in in a few minutes.

source: gharchive/pull-request

authors: aslakhellesoy charlierudolph


text:
go语言圣经学习笔记 — cumthxy

https://cumthxy.github.io//2021/03/04/golang基础-一/
go语言圣经学习笔记系列

好的


text:
[backport] Fix complex type checks in _correlate_or_convolve

Backport of #2923

[automatic post] Jenkins, test this please.

Jenkins CI test (for commit bca0a33102b3827ac3a3e05c5339c1c97bea89eb, target branch v7) failed with status FAILURE.

I have seen this test fail in other benchmarks, seem to be flaky

It should be fixed by #2913.

Right, I didn't remember the exact error

#2913 has been merged.

Thanks!
Jenkins, test this please

Jenkins CI test (for commit bca0a33102b3827ac3a3e05c5339c1c97bea89eb, target branch v7) succeeded!

authors: chainer-ci emcastillo niboshi

repo: cupy/cupy


text:
[backport] Fix fill_diagonal

This is a manual backport of both #3011 and #3139 since #3011 couldn't be easily backported but #3139 was pretty easy.

pfnCI, test this please.

Jenkins CI test (for commit 5112d47f5d9102d97d0ba0b6802a037c8af8d737, target branch v7) succeeded!

LGTM!

authors: chainer-ci emcastillo takagi


text:
Support negative axis in sparse min/max/argmin/argmax

Close #3474.
This PR fixes sparse min and max to take a negative axis. I'll parameterize its test in another PR.
Merge #3656 first. This PR fixes sparse min/max/argmin/argmax to take a negative axis.

I need to fix it to take axis=None into account.

I've fixed that line to check if axis is None, but sparse min/max initially does not support axis=None as I posted on #3506. Please let me address it as another issue.

I've rebased this branch to follow #3656, which makes the change much simpler. Please merge #3656 first.

Could you resolve the conflicts (with #3676)?

I've resolved the conflict.

Jenkins, test this please.

Jenkins CI test (for commit e3dceeb633c386fc846924816c23f414b16afc7e, target branch master) succeeded!

authors: chainer-ci takagi toslunar


text:
[backport] Add documents of cupy.all and cupy.any function

Backport of #511

jenkins, test this please.

LGTM!

authors: niboshi okuta


text:
Add alternative reactive function callback API for options object

This alternative syntax will invoke the callback with a single options object argument rather than the input values as arguments. With this alternative API, the following two statements would have the same behavior:
This is the normal API that will be used most of the time:
model.react({
  fullName: [
    "firstName", "lastName", function (firstName, lastName){
      return firstName + " " + lastName;
    }
  ]
});

This is the alternative API that will be used in cases where it is more convenient to have the input properties represented in object form:
model.react_({
  fullName: [
    "firstName", "lastName", function (_){
      return _.firstName + " " + _.lastName;
    }
  ]
});

Not doing this. Feel free to comment or reopen if you want this.

repo: curran/reactive-model


text: Add /h1, /h2, ... /hn accelerations for headings

repo: curvenote/editor


text:
Bug in version 1.2.1

since the update to version 1.2.1 i see a very strange behavior. the size and the position of the circles is changed. Please see the attached pictures: https://www.dropbox.com/sh/xcnpjcrahft9lcd/AAB01Mg_c4_w5hBmMqjig72Ca?dl=0

  - type: custom:circle-sensor-card
    entity: sensor.synologynas_volume_1_volume_used
    max: 100
    min: 0
    stroke_width: 20
    fill: rgba(0, 0, 0, 0)
    font_style:
      color: white
      font-size: 90%
    gradient: false
    units: '%'
    show_max: false
    color_stops:
      '80': '#FFFF00'
      '90': '#FF0000'
    style:
      top: 25%
      left: 8%
      width: 10%
      transform: none

Also seeing this.

You can likely remove the "left" and "top" config in the container portion in the js file in order to get it back to normal for now.

You can likely remove the "left" and "top" config in the container portion in the js file in order to get it back to normal for now.

You the css Code in the js file?
For now I just switched back to previous version.

You can likely remove the "left" and "top" config in the container portion in the js file in order to get it back to normal for now.

unfortionatly it dosnt work. I installed the version 1.2.1 again, and changed what you mentioned, but the result is the same as before. so I go back to 1.2.0 again.

same here - pls  update

repo: custom-cards/circle-sensor-card


text:
Unhandled command: PUSH_LIST_CHANGE

Describe the bug
Unhandled command from alexa_media_player integration.
To Reproduce
Steps to reproduce the behavior:

Configure this integration
Clear a whole list through Alexa (e.g. shopping list)
Check logs
See warning

Expected behavior
No warning at all. Is there an event risen if a command is recognized, so I could react on the clear list?
System details

Home-assistant (version): 2021.2.3
Hassio (Yes/No): Yes (Please note you may have to restart hassio 2-3 times to load the latest version of alexapy after an update. This looks like a HA bug).
alexa_media  (version from const.py or HA startup): 3.8.1
alexapy (version from pip show alexapy or HA startup): 1.22.3
Amazon 2FA is enabled (y/n). We will not debug login issues if unanswered: -

Logs
Unhandled command: PUSH_LIST_CHANGE with data {'destinationUserId': 'A**********IZA', 'listId': 'YW16bjEuYWNjb3VudC5BRUE3SUlDN1NIRUw3NEpTQlpKRUFSVUVHRVBRLVNIT1BQSU5HX0lURU0=', 'version': 1, 'eventName': 'listCleared'}. Please report at https://github.com/custom-components/alexa_media_player/issues

Thanks. We'll set this to ignore since we don't do anything with the shopping list.

Is it possible to raise an event with the unhandled commands and then do nothing more?
This could be a really nice interface that would make every IFTTT applet obsolete that I currently have.

Yes it's possible. It's also really spammy which can saturate the HA logs. In not inclined to expose these events without an actual use case.

Okay, thanks. Maybe I'm going to open a feature request in the future because I would have a use case.

Let's leave it open until I actually add it to the ignore list.

authors: alandtse klatka


text:
Problemas con cargar los datos a la vista individual

Por favor me sale este error quisiera que me ayudaran
ErrorException in 030b1c1cc1130b2494d921bf07bbbf7e line 75:
Trying to get property of non-object (View: C:\xampp\htdocs\gestor\resources\views\noticia.blade.php)

I can't debug anything without more details.

repo: cviebrock/eloquent-sluggable


text:
Tag for preprint

I have introduced a first tag for the version of the code used for the preprint published. I should mention this in the readme. We can have more tags for the paper and different versions of it. We can keep main moving a make sure it won't stop working.

@kasperjo @phschiele @stephenpboyd

Good idea, makes it easy to see which state was used in the paper.

authors: phschiele tschm

repo: cvxgrp/markowitz-reference


text:
Build 32-bit version on Windows

The compiler currently exits with out of memory after compiling ~50k of ~150k lines of C++ amalgamation code. Need to find a way to avoid amalgamation in R~~, requires a custom Makevars file generated by configure~~.

Run cmake as part of configure
Statically link resulting src/libduckdb_static.a and duckdbr.cpp

@hannesmuehleisen Are we still trying to switch to an amalgamation per library (instead of one big file) to lessen the burden on the compiler?

Fixed in #833

authors: hannesmuehleisen krlmlr

repo: cwida/duckdb


text:
Enable Inter-Pipeline Parallelism

This PR enables inter-pipeline parallelism, allowing for parallel execution within one pipeline by splitting up the scans and creating individual tasks. Data sources can now implement an optional method ParallelScanInfo that allows them to specify how the scan should be split up into separate sources.
void ParallelScanInfo(ClientContext &context, std::function<void(unique_ptr<OperatorTaskInfo>)> callback) override;

The data sources can inherit from the OperatorTaskInfo to provide per-task information on how to scan the data source. For an example of this see the code in physical_table_scan.cpp. Currently this splitting up is only done for the normal table scans, and the table is split up into chunks of 100 vectors (102.400 tuples).
Sinks also need to explicitly implement parallelism for this to function. For now, parallelism has only been implemented in the PhysicalHashJoin, PhysicalHashAggregate and PhysicalSimpleAggregate. Note that the parallelism in the PhysicalHashAggregate is currently very poor, involving a simple global lock over the table. This will be fixed in the future.
Other sinks also need to be extended to support parallel execution. I think the following sinks are the most interesting for now: ORDER BY, WINDOW, INSERT, DELETE, UPDATE, TOP N and the other joins (Blockwise NLJ join, piecewise merge join).
Current TPC-H Results
To continue the trend, this PR results in the following parallel speed-up for TPC-H:
Progress is made, but more work to be done :) Particularly in the aggregate HTs.

Query
Single Threaded
4 Threads
Speedup

Q01
1.17
0.54
2.16x

Q02
0.20
0.12
1.66x

Q03
0.43
0.16
2.77x

Q04
0.50
0.26
1.93x

Q05
0.60
0.17
3.63x

Q06
0.20
0.06
3.36x

Q07
1.02
0.38
2.66x

Q08
0.56
0.16
3.55x

Q09
4.20
1.36
3.10x

Q10
0.83
0.35
2.37x

Q11
0.07
0.03
2.80x

Q12
0.62
0.25
2.51x

Q13
0.88
0.43
2.07x

Q14
0.24
0.09
2.87x

Q15
0.42
0.13
3.28x

Q16
0.23
0.20
1.12x

Q17
0.67
0.39
1.72x

Q18
1.63
1.37
1.19x

Q19
1.13
0.36
3.10x

Q20
0.27
0.13
2.13x

Q21
1.88
1.20
1.56x

Q22
0.18
0.11
1.64x

I looked through the commit history of the 0.2.0 release, and this is not included, correct?

Not yet no :) We wanted to give it some time to cool down before putting it in a release, as it is a pretty big change to the execution engine.

We appreciate your focus on reliability and your caution here! Still very excited about this. I assume you're thinking of having a benchmarking bonanza after you implement it? :-)

We want to do a few more rounds of optimizations before starting the benchmarking bonanza :) But this is indeed on the agenda.

authors: Alex-Monahan Mytherin


text:
Feature/user_permissions : Check user types for all API methods

What was added

added middleware to check if a requesting user's type is in certain types

authorization will set the header 'userType'
middleware will use the header for checking

for methods that should restrict access for certain user types, add middleware for type checking

Related Issues

link related issues here
REPO_NAME #issueNum

Future Works

Merge & test with auth branch
Add typechecks for all new methods

Checklist

[x] I have performed unit tests
[ ] I have added necessary docs
[x] I have checked for potential bugs & issues

@nurgissas
the hashtag field in POST /api/reviews/upload is JSON-string because the request is multipart/form-data There were some problems when using as object / array


text:
Powershell gallery not valid error while installing azure module

Hello Guys
  It is my first time here so apologies for any mistakes i make. In our environment, our amazon skyark is working and able to scan and give report. But for some reason, I am having issues installing skyark module on our azure environment. I looked here and online but can not seem to find a solution. I am doing this on a azure server created specifically for azure skyark, and sever has gpo overide. I will post the error I am getting and hopefully one of you guys can help me resolve. Thanks!

@AliJafri117 did you manage to successfully install the Azure PowerShell Module?
Make sure you open the Powershell cli window with Admin privileges, it may help.
Also, you can install the Azure PowerShell module by using a MSI installer, look at the details here:
https://docs.microsoft.com/en-us/powershell/azure/install-az-ps-msi?view=azps-4.7.0
and here is an installer download link (for version 4.6.1):
https://github.com/Azure/azure-powershell/releases/download/v4.6.1-August2020/Az-Cmdlets-4.6.1.33350-x64.msi
Because it's not a direct issue with SkyArk (but with the prerequisite of installing Azure PowerShell module), I'm going to close this issue. You should have here in the links all you need to solve your problem. If not, you can contact me on Tweeter @Hechtov and I will help more.
Thanks.

repo: cyberark/SkyArk


text:
authn-JWT support

Desired Outcome
Enable summon-conjur to authn Conjur with authn-jwt
Implemented Changes
Describe how the desired outcome above has been achieved with this PR. In
particular, consider:
Introducing 2 new env variables CONJUR_AUTHN_JWT_SERVICE_ID &  JWT_TOKEN_PATH
Connected Issue/Story
It's new.
Definition of Done
At least 1 todo must be completed in the sections below for the PR to be
merged.
Changelog

[X] The CHANGELOG has been updated, or
[ ] This PR does not include user-facing changes and doesn't require a
CHANGELOG update

Test coverage

[ ] This PR includes new unit and integration tests to go with the code
changes, or
[X] The changes in this PR do not require tests

Documentation

[X] Docs (e.g. READMEs) were updated in this PR
[ ] A follow-up issue to update official docs has been filed here: insert issue ID
[ ] This PR does not require updating any documentation

Behavior

[ ] This PR changes product behavior and has been reviewed by a PO, or
[ ] These changes are part of a larger initiative that will be reviewed later, or
[ ] No behavior was changed with this PR

Security

[ ] Security architect has reviewed the changes in this PR,
[ ] These changes are part of a larger initiative with a separate security review, or
[ ] There are no security aspects to these changes

I feel like this should be merged into a branch other than main to allow for additional testing prior to merge into main and official release.  Thoughts, @cyberark/community-and-integrations-team ?

Fix conflict

There is also a flow of authn-k8s here or other authenticatios in this api ? If so where is the decision making?

There is also a flow of authn-k8s here or other authenticatios in this api ? If so where is the decision making?

Nope, nothing specific to authn-k8s in this PR.   I believe there's a decision making flow at https://github.com/cyberark/conjur-api-go/blob/9f0d30dfffa0c07ce09dface49e24bf9e5a4ce3f/conjurapi/client.go#L112-L125 for determining which info are used to authn to conjur

@jtuttle @tzheleznyak Happy to help contribute to get this pushed through. Please let me know if there are any pending changes required to approve this PR.

@quincycheng Can you squash this down into a single, descriptive commit?

Sure, and it's been squashed

@jtuttle @tzheleznyak Thanks for reviewing and providing advices.
I believe I have made all the changes to PR.
I am wondering if you can either clarify your suggestions or approve the changes - some clients are pending for this enhancement (which ultimately enable summon to support authn-jwt).   Thanks

So.... close... to... merge....

authors: QuincyChengAtWork infamousjoeg quincycheng tzheleznyak

repo: cyberark/conjur-api-go


text:
847 connector plugin docs

What does this PR do (include background context, if relevant)?
This PR updates the in-repo docs to include up-to-date information about the new plugin interface based on the plugin README written during the design phase of #693. Including in this work are:

Updated CONTRIBUTING file
Minor updates to old, now internal plugin README
New godoc overviews for the new plugin, connector plugin, and log packages
New README files in the plugin / connector plugin folders
Minor adjustments to comments in some of the public packages to better capture content originally available in the plugin README

What ticket does this PR close?
Connected to #847
Where should the reviewer start?

You can view the godocs locally by running ./bin/view_godocs and navigating to http://localhost:6060/pkg/secretless-broker/ in your browser
PDFs of the relevant godocs are also available here: Secretless Plugin Godocs.zip
These PDFs are primarily capturing godoc content available in the log and plugin parts of the doc tree:

You can view the files in the "files changed" section of the PR to preview how the markdown / README changes will look in github

@izgeri My edits to the PDFs are here. Any questions, let me know!

@suefran I looked over the PDFs. I made some changes, but here are some notes:

on the main page, scheme is correct. those docs are actually auto-generated.
on the http page, I can't add another space after the NewConnector heading - it's treated differently because NewConnector is a method on the ConnectorConstructor type that's defined (so this is sort of like a subsection)

authors: izgeri suefran

repo: cyberark/secretless-broker


text:
fixed two clippy warnings

The code is already squeaky clean, so clippy found only two very minor style nits. :+1:

Just running clippy on a bunch of random crates?

Yeah, finding a bunch of errors in clippy that way, too. :smile:


text:
Long term stats' not available for garmin connect sensors sensors

Hi,
In trying to configure a Statistics Graph Card for the Garmin Connect sleep sensors, I discovered that it (along with the other Garmin Connect sensors) are not configured correctly for statistics tracking.  The documentation for the Statistics Graph Card includes a statement that points to what needs to be done ...

"If your sensor doesn’t work with statistics, check this."

The document at that link points to the solution in this developer document:

Long-term Statistics

@mrsnyds you can use the sensor for long time graphs now, let me know if this is still an issue.

Thanks for looking into this.  I can now see the sensors in the pick list if I scroll through it (see first attached), but just typing the beginning of the sensor entity name, like for the entity in the first picture, "sensor.ac..." should scroll right to the item as well, but it does not (see second attached).
Initially I thought the fix did not work, since I just tried to type the entity name and did not find it, but then I tried just looking through the list and I could find it.   So I can use the card now, but I'm wondering if you could find a fix for this second UI thing?

This is a Home Assistant thing, you search for sensor friendly name, not entities So type 'Ac..' for Active...

authors: cyberjunky mrsnyds


text:
STI и изменение типа сущности

Всем привет!
Сегодня столкнулся с новой, интересной задачкой:
Есть три сущности:

/** @ORM\Entity */
class User {
    ...
}

/** @ORM\Entity */
class Model extends User {
    ...
}

/** @ORM\Entity */
class Studio extends User {
    ...
}

Допустим мне необходимо User конвертировать в Model. Самый простой способ сделать это, грубо говоря, указать нужный тип $user->_type = 'Model'. Но как только мы хотим сделать Model -> Studio, то этот способ уже не прокатит, т.к. mapper вручную _type переопределит. Полагаю единтсвенный способ сделать это - переопределить mapper и в нем этот функционал выпилить.
По мне идеальным решением было бы иметь некий хелпер, который бы мог заниматсья конвертаций, типа переброски всех полей из одного объекта в другой и при этом корректировать Identity map, чтобы в момент persist'a объект сохранялся в базу как новая сущность.

А ты не смотрел Heap и Nodels? Там можно смотреть на типы нод и контролировать все метаданные от которых зависит маппер. Если нужно делать страшную магию типа переноса одного домена в другой то можно сделать копирование контента ноды, но с другой ролью.

Там нельзя сейчас поменять Node->role в рантайме, но переопределить хип можно, либо можно прокинуть через State...

Но вообще я думаю можно просто подменить ноду, главное связи при пересоздании протащить.

А ты не смотрел Heap и Nodes? Там можно смотреть на типы нод и контролировать все метаданные от которых зависит маппер. Если нужно делать страшную магию типа переноса одного домена в другой то можно сделать копирование контента ноды, но с другой ролью.

Ну ноду подменить это не самая большая проблема, это я в самом начале научился.
А вот простого способа конвертации Model в Studio нет.
Пришлось написать что-то вроде:
$mapper = $this->orm->getMapper($user);
$role = $mapper->getRole();

$model = (new \ReflectionClass(Model::class))->newInstanceWithoutConstructor();
$data = $mapper->extract($user);
$mapper->hydrate($entity, $data);

$heap = $this->orm->getHeap();

$heap ->detach($user);

$heap ->attach(
    $model,
    new Node(Node::MANAGED, $data, $role),
    $this->orm->getIndexes($role)
);

Вот что-то такое можно было бы для STI втащить, чтобы из коробки производить конвертации
_Кстати, вот чего действительно не хватает это публичного getIndexes в ORM. _

Небольшое дополнение по способоу описанному в прошлом шаге:
Все загруженные объекты в Identity map, у которых дананя сущность является связанной необходимо сохранять не каскадном режиме!

Закинь пожалуйста тикет на getIndexes если он еще нужен.

Сбрасываются связи? Их тоже нужно копировать.

Я бы сказал связи с данной сущностью у других загруженных сущностей ссылаются на старый объект

А у тебя есть ревес связи?

authors: butschster wolfy-j

repo: cycle/orm


text:
cosmetic changes + enter behavior

Hello,
I enjoy using ly as my DM so I thought I'll see if there's something I could do to contribute.
With this patch I moved processing the key events in the main loop from if-elses to switch, which feels more natural and is perhaps better readable. That changed the behavior of "Enter" a bit from "move one line lower" to "submit password", but I guess that's not terrible (I now move the cursor to the password field on auth fail)
I also wrapped the pam actions into pam_do() function so that the clean up happens in one spot.
See if you like any of this, I haven't coded in C for quite some time, but hopefully it's not all terrible :)

I really like the pam wrapper and the changes are very good overall IMHO. I don't see any reason not to merge this ; thanks again :)

authors: cylgom stlaz

repo: cylgom/ly

license: WTFPL


text:
Configurable tty number

The proposed changes allow to set the tty number through the environment variable LY_CONSOLE_TTY. Constant definition in the code still remain workable.

Given the text-file configuration system available in the upcoming version, this is no longer needed, but thank you for taking the time to do this.


text:
NPM release is old

Just a heads up, it looks like your npm release is an older version and doesn't contain the utils part needed for the inventory example.
Awesome work with this -- it's making tinkering around with the Pogo API real fun.  I'll PR some additional examples as I learn more.

The current release (1.3.0) has been pushed to npm just about two hours ago, did you try npm update?
And thanks for the kind works. looking forward to your PR!

That was the problem, thank you!  I had pulled it down in the morning and didn't have a chance to try to decode my inventory until the afternoon.
Thanks again!
Brandon Krueger

On Jul 28, 2016, at 2:57 PM, Andreas Reich notifications@github.com wrote:
The current release (1.3.0) has been pushed to npm just about two hours ago, did you try npm update?
And thanks for the kind works. looking forward to your PR!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

authors: BuffCoder cyraxx

repo: cyraxx/pogobuf


text:
Symbol not found: Py_SET_TYPE

In https://github.com/scipy/scipy/issues/12489 I report errors raised whilst trying to run scipy after building with:
macOS 10.15.5
Python 3.8.3
numpy 1.19.0
cython 0.29.20
I get the following stacktrace upon import:
>>> import scipy.optimize as sciopt
sciopt.Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/andrew/miniconda3/envs/dev3/lib/python3.8/site-packages/scipy/optimize/__init__.py", line 387, in <module>
    from .optimize import *
  File "/Users/andrew/miniconda3/envs/dev3/lib/python3.8/site-packages/scipy/optimize/optimize.py", line 33, in <module>
    from .linesearch import (line_search_wolfe1, line_search_wolfe2,
  File "/Users/andrew/miniconda3/envs/dev3/lib/python3.8/site-packages/scipy/optimize/linesearch.py", line 16, in <module>
    from scipy.optimize import minpack2
ImportError: dlopen(/Users/andrew/miniconda3/envs/dev3/lib/python3.8/site-packages/scipy/optimize/minpack2.cpython-38-darwin.so, 2): Symbol not found: _Py_SET_TYPE
  Referenced from: /Users/andrew/miniconda3/envs/dev3/lib/python3.8/site-packages/scipy/optimize/minpack2.cpython-38-darwin.so
  Expected in: flat namespace
 in /Users/andrew/miniconda3/envs/dev3/lib/python3.8/site-packages/scipy/optimize/minpack2.cpython-38-darwin.so

The same import works when I use cython 0.29.18 to build scipy. I'm guessing this may be a cython issue, so reporting here.

As far as I can tell Cython doesn't (and has never) contained the symbol _Py_SET_TYPE.
It was added to CPython fairly recently https://github.com/python/cpython/commit/d2ec81a8c99796b51fb8c49b77a7fe369863226f#diff-dab5801649f1809dca3b570bd3a86f05 and looks to appear in the upcoming version 3.9. Therefore I wouldn't expect it to appear in a Python 3.8 module at all.
Is it possible that you're somehow accidently including some Python 3.9 headers installed somewhere in your PC while compiling your module? I'm not sure how the Cython version you have installed should affect this though.

No 3.9 headers on my Mac. But I am using miniconda env python I wonder if that has anything to do with it.

I think the issue is due to doing a:
python setup.py build
pip install .

Instead of a straightforward:
pip install .

I think the former builds against the installed version of (a newer) numpy, whereas the latter builds against a pinned numpy version. So I think that there are symbols that don't get defined correctly with the former.

authors: andyfaff da-woods

repo: cython/cython


text:
Apply #3782 to all MSVC version

This applies the fix from https://github.com/cython/cython/pull/3782 to all Python version, since it is not specific to Python3.4.
I assume it only occurs on some versions of MSVC. In my case the build:

works with a recent msvc version: https://github.com/maxbachmann/RapidFuzz/actions/runs/1188163887
fails on conda forge with an older version https://dev.azure.com/conda-forge/feedstock-builds/_build/results?buildId=370464&view=logs&j=710cd8a4-755d-5d12-2584-d1aea409debf&t=99f9c5d6-d44a-543f-a218-50775b6dbf6b

@scoder @da-woods is there any reason why we should not completely drop the type specifier for enum classes?

is there any reason why we should not completely drop the type specifier for enum classes?

If I understand right it can sometimes be required if you have an enum class and something else with the same name then using the type specifier gets makes sure that you get the enum. It's a rare corner case but it seems worth keeping.
Therefore, I'd rather have a compiler version check if possible. It's a little tricky to pin down exactly when it was fixed but the internet suggests it was fixed in Visual Studio 2017. Therefore a version check of _MSC_VER >= 1910? We can nail it down tighter if needed later (if we find/receive better info)
I think it's right to base this on MSVC version rather than Python version (we started with Python version because 3.4 requires quite an old compiler)

authors: da-woods maxbachmann


text:
Move citation.cff validation to pre-commit check

Description
This PR moves a CITATION.cff validation which currently operates through GitHub Actions workflow tests to a pre-commit check. As a result, I've also moved cffconvert out of the dev dependencies, updated the lockfile, and removed a small mention of the step within the docs.
Closes #160
What is the nature of your change?

[ ] Bug fix (fixes an issue).
[x] Enhancement (adds functionality).
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected).
[x] This change requires a documentation update.

Checklist
Please ensure that all boxes are checked before indicating that a pull request is ready for review.

[x] I have read the CONTRIBUTING.md guidelines.
[x] 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.
[x] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[x] New and existing unit tests pass locally with my changes.
[ ] I have added tests that prove my fix is effective or that my feature works.
[x] I have deleted all non-relevant text in this pull request template.

Thanks @kenibrewer ! Once the tests for this pass, I plan to merge and release a new patch to help include the functionality from #168 (which may be challenging or block progress for users).

repo: cytomining/CytoTable


text:
Invalid docker-compose var BIND_DNS_RESOLVER

Docker compose uses BIND_DNS_RESOLVER, but it should be DNS_FORWARDER.
See: https://github.com/cytopia/docker-bind

merged and fixed

repo: cytopia/devilbox


text:
generic aws_access

Right now the aws_access script only works on the czbiohub-seqbot bucket because that's the most common thing we need to share with people (and most other files can be emailed). We'll probably need a more generic version before long, though. Some questions:

Should we restrict which buckets it works on?
Should we restrict who can use it?
Should we have a totally different mechanism for this instead of the current script (e.g. @kislyuk mentioned generating tokens based on Google or other authentication)

Closed with e6c7568989e7f4d97dbc6cbdedf67cf1356baa6b
The answers to the three questions above are "No", "No", and "maybe?"

repo: czbiohub/utilities


text:
Add Support for NPS Pridnestrovie

Closes #19

@aloisdg As you require verified commits in this repo. I repushed a signed version of the commits.

A test case for IIN Range 6054743 is missing.

@blouflashdb Thanks for the hint. Added the missing test

Nice catch @blouflashdb

Let's merge that

authors: aloisdg blouflashdb ntbm

repo: d-edge/Cardidy


text:
🛑 Staging Homologation Front is down

In 52e0fcf, Staging Homologation Front ($STAGING_FRONT) was down:

HTTP code: 503
Response time: 883 ms

Resolved: Staging Homologation Front is back up in b3a96cd.


text:
patterns for spacing labels

If you look at the picture below, the bottom nodes are all squashed together making the text unreadable:
enter image description here
This seems a common problem and I am curious to know what techniques there are to make these labels more readable.
How can i work out the text width and adjust the circles and rects accordingly?

Please use Stack Overflow tag d3.js to ask for help. Stack Overflow provides a better collaborative forum: thousands of D3-related questions have been asked there, and some answers may be relevant to you.
When asking for help, please include a link to demonstrate the issue, preferably as an Observable notebook. It is often impossible to debug from code snippets alone. Isolate the issue and reduce your code as much as possible before asking for help. The less code you post, the easier it is for someone to debug, and the more likely you are to get a helpful response.
If you have a question about D3’s behavior and want to discuss it with other users, also consider the d3-js Google Group or joining the d3-js Slack.
Thank you! 🤗

license: isc


text:
Fix android zoom bug

Fixes https://github.com/d3/d3-zoom/issues/175, https://github.com/d3/d3-zoom/issues/195, https://github.com/d3/d3-zoom/issues/172

Thanks! The situation would be clearer if we had a test case somewhere, an a page with the fixed code. I've been trying to reproduce the problem and see if this fixed it, but still no success.

I see some sort of bug on (my daughter's phone) Android with this block : after zooming the page (natively), the chart is frozen (the d3 zoom doesn't work).
However this bug also happens with the patched version of d3-zoom @ this fixed block.

@Fil what is model of your daughter's phone?
I got problem on OnePlus, but it's

Huawei P Smart; Android 10.0.0

@Fil can be useful for you https://github.com/d3/d3-zoom/issues/172#issuecomment-716205243

authors: Fil souljorje

license: ISC


text:
Slider

could you explain what the different slider controls are in the PR description?

Hey @alpower , The props and methods are self-documented in the file which includes default values and a small description. I have attached the screenshot on the PR. Let me know if this is okay or if there is anything you would want me to explain. 😸

Thanks. It’s fine. I couldn’t get any of this working locally so gave up on using this.

On 12 Nov 2019, at 15:54, Nikolaev Tomov notifications@github.com wrote:
could you explain what the different slider controls are in the PR description?
Hey @alpower https://github.com/alpower , The props and methods are self-documented in the file which includes default values and a small description. I have attached the screenshot on the PR. Let me know if this is okay or if there is anything you would want me to explain. 😸
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/dabapps/roe/pull/241?email_source=notifications&email_token=AAGRUFWXI4HCBCERLAYDGATQTLGULA5CNFSM4EZJL3XKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOED2W4AI#issuecomment-552955393, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGRUFWJDHT7HWVYXYDTZH3QTLGULANCNFSM4EZJL3XA.

authors: alpower nikolaevtomov

repo: dabapps/roe


text:
Binance smart chain

Hey everyone, please has anyone successfully deployed to the binance smart chain

yes I did

Hey everyone, please has anyone successfully deployed to the binance smart chain

yes

Hey everyone, please has anyone successfully deployed to the binance smart chain

Yes, I do. If you have an issue on that please refer this comment.
// pages/index.js
export default function Home() {
    ... ...
  async function loadNFTs() {
    // update RPC url for the contracts deployed on testnet.
    const provider = new ethers.providers.JsonRpcProvider("https://data-seed-prebsc-1-s1.binance.org:8545")
    ... ...
  }

authors: AbuSantos ac12644 phoenixdevguru


text:
ACTION STEPS (2025) PLAN OF ACTION FOR PATENT

10/30/24 - Latest update made 2025 action step document (see drive "GADZ CONNECT 2025 ACTION STEPS FOLDER)
TASK Needed - Vincent to assist with adding "component information to word document* _DATE 10/30/24 @dagreatcode
ACTION: Drafting step by step action plan for 2025 (google drive). See document for information, as needed.
WHY: There are several legal actions needed to begin the timeline of launching GADZ Connect Digital Platform.
STEPS:
Few things:

Patent (finalized)
Adding employee(s)- (COO)
Final Business Model (model for proposal)

To be continued.....................

Ok Great. I will look this up and add it to the Word Doc. @Bossiana

I knew I seen something about components somewhere. I will work on this today. @Bossiana

authors: Bossiana dagreatcode

repo: dagreatcode/GADZ


text:
Wrapper is providing type 'NotifyCollectionChangedEventArgs'

Hello,
first of course thanks for your effort.
I'm using your wrapper inside of a custom .NET 2.0 library. When updating the wrapper dll from 2.3.4 to 2.5.14 (both .NET 2.0 versions) and using the custom .NET 2.0 library in a .NET 4.0 Client WPF project, which is using the class System.Collections.Specialized.NotifyCollectionChangedEventArgs, I get an conflict that the type 'NotifyCollectionChangedEventArgs' exists both in your wrapper and .NET.
Error	CS0433	The type 'NotifyCollectionChangedEventArgs' exists in both 'Microsoft.Win32.TaskScheduler, Version=2.5.14.0, Culture=neutral, PublicKeyToken=0d013ddd5178a2ae' and 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
I'm not sure if this is a configuration problem on my side or an unwanted behaviour of the wrapper. Maybe someone dealed with that issue as well and have a simple solution (other than switching my custom library to .NET 4.0).
Crayjin
Originally posted: 2016-02-18T01:30:46

.NET 2.0 does not natively include NotifyCollectionChangedEventArgs. To allow for this library to have a consistent experience across .NET versions, I reverse engineered that class and included it in the 2.0 build only. My recommendation would be to deploy the .NET 4.0 build of this library when deploying with your 4.0 WPF project.
Originally posted: 2016-02-18T12:29:41

Okay, thank you for your advice.
Originally posted: 2016-02-23T02:22:36

repo: dahall/TaskScheduler


text:
Example of composing selectors

I am a user of reselect and was looking for alts due to the limitations. I was hoping to do a PR to show one of the common cases from reselect. Composing selectors. The current reselect example in our readme, does all three steps in the totalSelector. In our app, we use the taxSelector and subtotalSelector in other places too, it just happens to also be used in totalSelector. Is this the right way to compose selectors:
const shopItemsSelector = state => state.shop.items;
const taxPercentSelector = state => state.shop.taxPercent;

const subtotalSelector = memoize(state => {
  const items = shopItemsSelector(state);
  return items.reduce((acc, item) => acc + item.value, 0),
});

const taxSelector = memoize(state => {
  const subtotal = subtotalSelector(state);
  const taxPercent = taxPercentSelector(state);
  return subtotal * (taxPercent / 100)
});

const totalSelector = memoize(state => {
  const subtotal = subtotalSelector(state);
  const tax = taxSelector(state);
  return { total: subtotal + tax }
});

So in this rewrite, we can use the subtotalSelector anywhere we need, but also in another memoized selector. Same with taxSelector. Does this example look good, for me to add to the readme as "composed selectors"? Or any better design to compose?

Thanks for opening this up.
The mental model is actually quite different from reselect, and that'd be the hardest part to educate the usage.
Now, basically, if your final product is totalSelector, you don't need any composition.
reselect requires to compose selectors because it need to know what is changed.
proxy-memoize tracks the property usage, so intermediate (unexposed) selectors are just overheads.
const totalSelector = memoize(state => {
  const shopItems = state.shop.items;
  const taxPercent = shop.taxPercent;
  const subtotal = shopItems.reduce((acc, item) => acc + item.value, 0),
  const tax = subtotal * (taxPercent / 100)
  return { total: subtotal + tax }
});

If you need to structure selectors for organizing purpose (not for performance but for readability) feel free to do it.
If some of selectors are really heavy we can compose selectors to avoid re-computation, but in reselect use cases, it's very rare.

Pinning @theKashey here who developed https://github.com/theKashey/memoize-state which is a prior art of this lib, and he might be able to explain this thing well. (as I'm not a reselect user.)

Thank you very much for taking your time to share your thoughts here! I will work to make this help more than just myself. And an early thank you to @theKashey as well.

This example seems flawed, by accessing shop the selector will run on every change to shop, regardless of whether the items, or taxPercent have have changed. The result is fixed up to return a stable result, however, the selector itself is ALWAYS run. The point of memoization is to prevent a potentially expensive selector from running in the first place. Given this, the implementation seems overly complicated, as you may as well only proxy properties hanging off the root state, and then returned a memoized result if the selector's return value is deep equal to the previous value (as you walk the props anyway). In reselect we would optimize this using reselect({ shop } => shop.items, ({ taxPercent }) => taxPerscent, (shot, taxPercent) => ....

Hey Hey. So combining reselect approach with tracking is not working that great, as well as with any other "nested" memoization, so it's really easier to do it some another way, for example flatten like @dai-shi proposed.
There are ways, and proxy-memoize implemented a few, but it's really safer not to overuse tracking, and just do something it can work with without using any extra magic, or your own brainpower.

Thank you @theKashey!

authors: Noitidart dai-shi suedama1756 theKashey

repo: dai-shi/proxy-memoize


text:
SetAttributes doesnt work

No way to setmax, programmatically or xml.
:(

No way to setmax, programmatically or xml...
:(

No way to setmax, programmatically or xml.
:(

Try with https://github.com/Dona278/NumberProgressBar
I've fixed some of bugs relative to using attributes

@JAsenjo It has been fixed in Version 1.3, please check it.

authors: Dona278 JAsenjo daimajia

repo: daimajia/NumberProgressBar


text:
Add new Chat Bubble component

Implement the <Chat> component added in daisyui 2.42: xhttps://daisyui.com/components/chat/

Will take a look at this one* 👍
*Results not guaranteed

@benjitrosch @tino-brst PR #270 is created and ready for review.

Thank you.

authors: benjitrosch sldk-yuri tino-brst

repo: daisyui/react-daisyui


text:
Feat: Integrate Dependabot for Automated Dependency Updates

Describe the feature
Keeping the project's dependencies up to date can be a challenging task, especially when done manually. To streamline and automate this process, we propose integrating Dependabot.
Proposed Solution:
We need to add Dependabot to our project as it will significantly aid in keeping our dependencies current. Once activated, Dependabot will automatically submit pull requests (PRs) whenever there are outdated dependencies identified in our package.json file.
This automated approach will enhance our project's stability, security, and overall maintenance by ensuring that we are always using the latest and most secure versions of our dependencies.
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a SWOC24 contributor
[X] I want to work on this issue

Assigned this issue to @harmeetsingh11 , kindly drop a star on this repo
HAPPY CODING !

repo: dakshsinghrathore/Brighter-Beginnings


text:
Needs delay between socket creation and connect operation

Hi,
I just started using Starscream and had some weird issue:
When I tried to follow your example with an object that performs:
var socket = WebSocket(url: NSURL(scheme: "ws", host: "localhost:8080", path: "/")!)
socket.delegate = self
socket.connect()

The connection never happened.
It didn't arrive the server nor did it fire the delegate method I've set.
What I had to do is to separate the socket creation and connect() method to two different functions which are called one after another:
func create() {
  self.socket = WebSocket(url: NSURL(scheme: "ws", host: "localhost:8080", path: "/")!)
  socket.delegate = self
}
func connect(){
  socket.connect()
}

This way everything worked fine, the connection succeeded and I the delegate method got fired as expected.
From what I can conclude there has to be some time interval between the socket creation and connection.
I am using XCode 7 and swift 2
I integrated Starscream vie cocoapods with the following line in the Podfile:
pod 'Starscream', '~> 1.0.0'
Did anyone else get that weird issue? Am I misunderstanding something very basic here?
Thanks for the help in advance!

This is expected behavior. The example in the README just demonstrate the basics of the API. You need to keep a reference to the socket object or it will get deallocated. If you just do var socket in viewDidLoad or something like that it is a local variable and gets deallocated almost immediately and consequently doesn't do anything. See the SimpleTest project in the examples folder on basic setup/usage.

@daltoniam Thanks for the explanation.
I got two more questions regarding this:

How could I know that the socket will get deallocated if there's no reference to it? It is written or documented somewhere?
Do you think it is worth mentioning in the README somewhere or at least in the specific example which actually does not work in reality?

Thanks for the help again,
I really appreciate it.

@erez-rabih It's in the Swift language. If there's no reference to an object it will be deallocated. https://developer.apple.com/library/ios/documentation/Swift/Conceptual/Swift_Programming_Language/AutomaticReferenceCounting.html#//apple_ref/doc/uid/TP40014097-CH20-ID48

@erez-rabih. Yeah @nuclearace summed it up nicely and found the docs. I could mention that in the README, but I feel it should be implied on how Swift works. Kinda of a "how far the rabbit hole do you want to go" for an example. We also have the example projects, so I think that should clear up any remaining ambiguity.

authors: daltoniam erez-rabih nuclearace

repo: daltoniam/Starscream


text:
Code 400 : Invalid HTTP upgrade error

Hi,
I am running below code
let webSocket = WebSocket.init(url: URL(string: signallingUrl))
webSocket.connect()
it gives below error while processHTTP function for connecting websocket and websocket disconnecting with error
error code 400 : Invalid HTTP upgrade
Note : Same signallingUrl working with DotNet web app and websocket. So, signalling server and url is fine and it's a Xirsys singnalling host
I am using Starscream latest version 3.0.5
Please checkout this issue and let me know.

There isn't enough here to help, but from what you are reporting your server is returning a HTTP 400 error. That means it is probably an issue with how you have your WebSocket server setup and isn't an issue with Starscream. I'd check your configuration of your server and see why it is returning a 400 error when the WebSocket on the client app attempts to connect.

authors: daltoniam iOS-Development-iPC


text:
Allow to pass SNS topic ARN

Changes to pass SNS topic ARN.
content_based_deduplication default needs to false as fifo_queue default is false.
terraform version bump

Hah, awesome!
I didn't think anyone was using this.
LGTM 🚀

authors: achakote damacus

repo: damacus/terraform-aws-sqs-with-dlq


text:
integration stops wroking

The integration works fine, but after a while it no longer gets any data.  It shows an error in the integration page. When trying to reconfigure it shows 'unknown error'.
What solves it is delete the integration, restart and add & configure the integration .
Has happened already a couple of time
I think the issues started after upgrading HomeAssistant
home-assistant_ohme_2024-04-09T08-31-10.381Z.log

Looks like some network issues with Ohme and some of your other integrations from that log.
When the integration stops working, do you have any issues accessing the internet on other devices?

Hi Dan,
I happened 2 _3 times (not in the last days). Could have been a network issue, however it did no resolve. The integration did never reconnect. I tried reconfiguring , bu t always got 'unknown error' (and at that moment there were certainly no network issues, and I could connect to Ohme via mobile on wifi)
Only after re-installing and restrating did I get connection

hi,
yes I am.
I am running this on a Mac running Home assistant in a VM (under UTM).
My Raspberry is used at this tile for Homebridge & node-red.
I plan on adding another raspberry for home assistant.
So it stopped again a couple of days back. I have rebooted everything (-> failed to setup). If I will re install then it will work again (as I did the last couple of times).
I have not don yet as maybe you would like me to try something first ?

I haven't tested this configuration. If you have a Raspberry Pi or other machine/VM to test this on it may be worth trying.
Potentially something on the Mac is interfering with the Linux guest.

authors: YvesDC dan-r yvesdecloedt

repo: dan-r/HomeAssistant-Ohme


text:
Torrentio

Addon Manifest URL
stremio://torrentio.strem.fun/manifest.json
Addon Description
Torrentio
Language of Content
None
Choose Labels

[ ] anime
[ ] asian drama
[ ] bollywood
[X] cartoons
[ ] debrid support
[ ] http streams
[ ] live tv
[ ] metadata
[ ] misc
[X] movies
[ ] music
[ ] nsfw
[ ] podcasts
[ ] radios
[ ] subtitles
[X] torrents
[ ] tv shows
[ ] video games

this addon is already submitted by someone else

authors: KingDonRush danamag

repo: danamag/stremio-addons-list


text:
Transaction History

Userstory
As a User
I want see a list of all transactions of one bank account
so that I can have a detailed overview
Description
The Page contains a list transactions on a specific bank account

The dashboard is part of another user story. #4
AC

[ ] on click toggle view of transaction history below dashboard view
[ ] page that contains a list of transactions for one specific bank account
[ ] page contains the current bank balance
[ ] transfer list should be scrollable

Tasks

[ ] create a new branch
[ ] create component test
[ ] create storybook
[ ] create a new page
[ ] add a list component with different items that resemble transaction history
[ ] add onClick event to accounts on dashboard
[ ] add basic styling

Complexity
medium

Hey Mareike! We originally wanted to build it as a SPA first so the User can take a look at everything and then add the navigation later on in a separate user story.
Would that make sense or should we add the navigation right away? We have a burger menu, interaction with the accounts and buttons planned for navigating, so it would be enough to create another story.

Hi Dana and Philipp,
looks good! 👍 I approve your user story. :)

Thanks for your feedback Mareike!

authors: dananhsl mbosselmann p-enz

repo: dananhsl/capstone-project


text:
npm module is using var React = require('react-native')

it looks ok in the github repo, but i just downloaded from npm and the module is requiring React from the native package rather than react
var React = require('react-native')
in the index.js file

+1

This component supports 0.24+, that's probably the reason why you are getting that. What version of RN are you on?

"react-native": "0.30.0",
it's because the npm module hasn't been updated

Yep

In case you need it, go into the index.js and add:
var React = require('react')
var ReactNative = require('react-native');
var {PanResponder, TouchableHighlight, StyleSheet, Text, View} = ReactNative;

npm i --save https://github.com/dancormier/react-native-swipeout.git

Any update on this? Is it possible to add a new contributor who can publish this to NPM?

Any movement here?

I have already published version 2.0.13

authors: YuriyUlantsev andyfen andyfenelon digitalmaster edo1493 jseminck lewisbarber silentcloud

repo: dancormier/react-native-swipeout


text:
Assessment page disappeared when John Jones moved to Project Approval

I just promoted John Jones to Project Approval and now when I click the Assessment tab nothing shows up!

This was due to a typo. I inserted the new function name instead of replacing it. It should be fixed now in the recent commit.

Thanks, Andy!

authors: dandahle rarafon

repo: dandahle/Catalyst-AppVetting


text:
XML escape password string

Passwords containing Predefined XML entities should be escaped when used during auth.
Before
<iq type='set' id='1234567890'><query xmlns='jabber:iq:auth'><username>12345_67890</username><password>Foob&R</password><resource>bot</resource></query></iq>
client error: read: connection reset by peer

After
<iq type='set' id='1234567890'><query xmlns='jabber:iq:auth'><username>12345_67890</username><password>Foob&R</password><resource>bot</resource></query></iq>

thanks @dacamp! sorry for the delayed response!

authors: dacamp daneharrigan

repo: daneharrigan/hipchat


text:
Add Inter font as a font option

This PR adds Inter as a font option.
I stole the ranges from Roboto and they seem to work OK for this from what I can tell.

Thanks for the PR, Reed!

authors: dangeredwolf plusreed

repo: dangeredwolf/ModernDeck


text:
Update to MDX v2

See:

https://mdxjs.com/blog/v2/
https://gist.github.com/shilman/6ff2d7e18db8846e8fc552fb432ae4f6
https://mdxjs.com/migrating/v2/

This will require us to update our webpack config to ESM.
See: https://mdxjs.com/migrating/v2/#mdx-jsloader

It looks like this will need an update to the new Storybook package before we can merge this.
See: https://github.com/storybookjs/mdx2-csf/issues/9

See:

https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#opt-in-mdx2-support
https://github.com/storybookjs/storybook/commit/b749473a9824e76a9c4f0cdff0ae2f2c6490b61d
https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#mdx2-upgrade
https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#mdx-docs-files (for v7)

repo: daniel-ac-martin/NotGovUK


text:
Export data to open standard?

I wanted to see if there is a plan  for an export function. Say, in the future I might want to move my plant data to google sheets, or some other program.  There is a backup function, but looking at the files, it would be quite a bit of  manual labour to extract the data from it into something else.
Can you introduce such function? CSV format or something else, but one that can be imported (including photos) to, for example, Google Sheets or a database.

The JSON data could be put in CSV format. For the images I guess you would need to perform some base64 encoding to put them in printable characters and put that encoded text in a column. I don't know if Google Sheets would show them tho, so you would not have viewable images unless you convert them back again.
Do you want to alter them later in Google Sheets? If not then you could just backup the exported zip file to a hosting space.

Closed due to inactivity.

authors: danielbrendel lockheed

repo: danielbrendel/hortusfox-web


text:
Getting Started Issues

I want to build a cli from my company's api and I'm trying to get started with the openapi-cli-generator https://github.com/danielgtaylor/openapi-cli-generator but I'm running into some different errors.
I took the petstore demo api https://petstore.swagger.io/v2/swagger.json removed the top of the file comments and converted it to yaml using https://www.json2yaml.com/ then following the steps on the openapi-cli-generator github page, I run openapi-cli-generator generate petstore.yaml
and I get this type of error: Failed to resolve '#/definitions/Pet' in fragment in URI: 'definitions': Struct field not found: definitions which is complaining about lines like schema: "$ref": "#/definitions/Pet" in the yaml file. I tried replacing the $ref values with '' ex "$ref":"" and now I can run openapi-cli-generator generate petstore.yaml Was relacing the ref values with empty string the right thing to do? What is the nature of the problem.
Next, the git hub instructions say to add a line like openapiRegister(false) what is this supposed to do exactly? What does it mean to register a command? Are these the commands that will be part of the cli? What does the syntax look like? The github page doesn't give any examples
Is there supposed to be a one cli command per api call in the generated cli?
petstore-cli PetstoreFindPetsByStatus --help - unknown command "PetstoreFindPetsByStatus" for "petstore-cli.exe" (I need to register the command that I want?)

ad 1.: Use OpenAPI version 3.0: https://raw.githubusercontent.com/openapitools/openapi-generator/master/modules/openapi-generator/src/test/resources/3_0/petstore.yaml
ad 2.:
The function openapiRegister is created by the openapi-cli-generator generate subcommand. It's named after the name of the YAML file (here: "openapi.yaml" hence "openapiRegister"). This function kind of activates the API for use in the resulting CLI tool.

authors: kpayson myrho

repo: danielgtaylor/openapi-cli-generator


text:
feat(api): Group commands by openapi tag

Cobra recently added support for command groups.
I have used it for 2 things:

I removed the custom help template: the comment there indicated this was a placeholder for command groups anyway. The built-in commands have been groups to match the original help. I did not add a group for help and completion. They can be put in the generic group, but I quite liked that they ended up under Additional Commands
Example

➜ ./restish -h

  A generic client for REST-ish APIs https://rest.sh/

Usage:
  restish [flags]
  restish [command]

Examples:
  # Get a URI
  $ restish google.com

  # Specify verb, header, and body shorthand
  $ restish post :8888/users -H authorization:abc123 name: Kari, role: admin

Available API Commands:
  pet-store https://example.com/api
  my-api    http://localhost:8090/api

Generic Commands:
  api          API management commands
  auth-header  Get an auth header for a given API
  cert         Get cert info
  delete       Delete a URI
  edit         Edit a resource by URI
  get          Get a URI
  head         Head a URI
  links        Get link relations from the given URI, with optional filtering
  options      Options a URI
  patch        Patch a URI
  post         Post a URI
  put          Put a URI

Additional Commands:
  completion   Generate the autocompletion script for the specified shell
  help         Help about any command

Flags:
  -h, --help                       help for restish
      --rsh-ca-cert string         Path to a PEM encoded CA cert
      --rsh-client-cert string     Path to a PEM encoded client certificate
      --rsh-client-key string      Path to a PEM encoded private key
  -f, --rsh-filter string          Filter / project results using JMESPath Plus
  -H, --rsh-header strings         Add custom header
      --rsh-insecure               Disable SSL verification
      --rsh-no-cache               Disable HTTP cache
      --rsh-no-paginate            Disable auto-pagination
  -o, --rsh-output-format string   Output format [auto, json, yaml] (default "auto")
  -p, --rsh-profile string         API auth profile (default "default")
  -q, --rsh-query strings          Add custom query param
  -r, --rsh-raw                    Output result of query as raw rather than an escaped JSON string or list
  -s, --rsh-server string          Override scheme://server:port for an API
  -t, --rsh-table                  Enable table formatted output for array of objects
  -v, --rsh-verbose                Enable verbose log output
      --version                    version for restish

Use "restish [command] --help" for more information about a command.

Group commands together based on openapi operation tags
Because a command can have multiple tags, but only 1 group, I'm just selecting the first tag. A bit of a spot check for APIs in the wild seems to indicate that most APIs use tags in this way. APIs which do not have any groups will have their restish command list render exactly the same way

Example:
➜ ./restish pet-store -h

  Swagger Petstore

Pets Commands:
  listPets
  createPets
  showPetsById

Flags:
  -h, --help   help for pet-store

Global Flags:
      --rsh-ca-cert string         Path to a PEM encoded CA cert
      --rsh-client-cert string     Path to a PEM encoded client certificate
      --rsh-client-key string      Path to a PEM encoded private key
  -f, --rsh-filter string          Filter / project results using JMESPath Plus
  -H, --rsh-header strings         Add custom header
      --rsh-insecure               Disable SSL verification
      --rsh-no-cache               Disable HTTP cache
      --rsh-no-paginate            Disable auto-pagination
  -o, --rsh-output-format string   Output format [auto, json, yaml] (default "auto")
  -p, --rsh-profile string         API auth profile (default "default")
  -q, --rsh-query strings          Add custom query param
  -r, --rsh-raw                    Output result of query as raw rather than an escaped JSON string or list
  -s, --rsh-server string          Override scheme://server:port for an API
  -t, --rsh-table                  Enable table formatted output for array of objects
  -v, --rsh-verbose                Enable verbose log output

Use "restish pet-store [command] --help" for more information about a command.

It looks a bit overkill on the example, but we have multiple APIs with over 25 commands each, and the grouping really helps there.
If this is deemed to invasive, I'm happy to investigate and contribute an api level config option for this behaviour.

This is awesome, thanks @wdullaer! I tried this on a number of both public and private APIs and it works really well and simplifies the code! Example output for api.rest.sh:
Usage:
  restish example [flags]
  restish example [command]

Cached Commands:
  get-cached        Cached response example

Example Commands:
  get-example       Example large structured data response
  get-types-example Example structured data types
  put-types-example Example write for edits

Images Commands:
  get-image         Get an image
  list-images       Paginated list of all images

Echo Commands:
  delete-echo       Echo DELETE
  get-echo          Echo GET
  patch-echo        Echo PATCH
  post-echo         Echo POST
  put-echo          Echo PUT

authors: danielgtaylor wdullaer

repo: danielgtaylor/restish


text:
🛑 DevOps App Roadmap Prod is down

In 227177f, DevOps App Roadmap Prod (https://roadmap-app.onrender.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DevOps App Roadmap Prod is back up in 5f211eb after 26 minutes.

repo: danielitogomez/upptime


text:
🛑 DevOps App Roadmap Prod is down

In 4c4f34c, DevOps App Roadmap Prod (https://roadmap-app.onrender.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DevOps App Roadmap Prod is back up in 2031329 after 9 minutes.


text:
[SUGGESTION] Fake duck

Normal fake duck or even legit fake duck would be really cool!
@danielkrupinski

https://github.com/danielkrupinski/Osiris/blob/82b0f6af149c987c071f30b5697ed5b7aa217c92/Osiris/GUI.cpp#L848
u could open ur eyes instead

that removes the cool down between ducks @EsPiNNt fake duck makes it so that on enemies screen ur ducked but on urs you're just standing normally

just spam it

good point i guess, i will add a keybind for it so it spams it on key press/hold

spamming duck =/= fakeduck

authors: EsPiNNt hvher olywxm

repo: danielkrupinski/Osiris


text:
VAMOS

ouch!

wtf is this

@danielkrupinski can you ban this guy from the repo please?

A Paster learns to use Github pull requests.

@SuperK2-OS Abriste una pull request sin querer, podes cerrarla pls?

@SuperK2-OS Abriste una pull request sin querer, podes cerrarla pls?

lol

bruh, dont need to make pull for this, make your own repo for "osiris translated to spanish"

can you stop already bro nobody cares

@SuperK2-OS Abriste una pull request sin querer, podes cerrarla pls?

oh shit @notgoodusename you are alive, have discord?


text:
Update question

Hello Daniel,
after updating to svn-1149 I got
Call to undefined method ViaThinkSoft\OIDplus\OIDplusDatabaseConnectionMySQLi::natOrder()
in my freeweid Plugin.
So I changed
	protected static function freeoid_max_id() {
		$res = OIDplus::db()->query("select id from ###objects where id like ? order by ".OIDplus::db()->natOrder('id'), array(self::getFreeRootOid(true).'.%'));
		$highest_id = 0;
		while ($row = $res->fetch_array()) {
			$arc = substr_count(self::getFreeRootOid(false), '.')+1;
			$highest_id = explode('.',$row['id'])[$arc];
		}
		return $highest_id;
	}

to:
	protected static function freeoid_max_id(): int {
		$res = OIDplus::db()->query("select id from ###objects where id like ?", array(self::getFreeRootOid(true).'.%'));
		$res = new OIDplusNaturalSortedQueryResult($res, 'id');
		$highest_id = 0;
		while ($row = $res->fetch_array()) {
			$arc = substr_count(self::getFreeRootOid(false), '.')+1;
			$highest_id = explode('.',$row['id'])[$arc];
		}
		return (int)$highest_id;
	}

So far so well.
But I am not really sure how to change this method correctly:
	public function raHasFreeWeid($email, $getId = false){
		$res = OIDplus::db()->query("select id from ###objects where ra_email = ? and id like ? order by ".OIDplus::db()->natOrder('id'), array($email, self::getFreeRootOid(true).'.%'));
		while ($row = $res->fetch_array()) {
		   return (true === $getId) ? $row['id'] : true;
		}

	  return false;
	}

Can you give me a hint how to replace OIDplus::db()->natOrder('id') the right way?
Thank you!!!

Hello,
this is the replacement of the natOrder() functionality:
(Example)
$res = OIDplus::db()->query("select * from ###objects where parent = ?", array($obj->nodeId()));
$res = new OIDplusNaturalSortedQueryResult($res, 'id');
while ($row = $res->fetch_array()) {

Danke!!!
I changed it to:
	public function raHasFreeWeid($email, $getId = false){
		$res = OIDplus::db()->query("select id from ###objects where ra_email = ? and id like ?",
									array($email, self::getFreeRootOid(true).'.%'));
		$res = new OIDplusNaturalSortedQueryResult($res, 'id');
		while ($row = $res->fetch_array()) {
		   return (true === $getId) ? $row['id'] : true;
		}

	  return false;
	}

@wehowski
Sorry, there will be yet another major update to the database handling which changes
$res = new OIDplusNaturalSortedQueryResult($res, 'id');
to
$res->naturalSortByField('id');

Works! Thank you!

authors: danielmarschall wehowski

repo: danielmarschall/oidplus


text:
wrong type?

In the url  https://github.com/danielmiessler/SecLists/blob/master/Fuzzing/XML-FUZZ.txt
The injection need to be
<?xml version="1.0" encoding="ISO-8859-1"?><!DOCTYPE foo [<!ELEMENT foo ANY><!ENTITY xee SYSTEM "file:///etc/passwd">]><foo>&xee;</foo>
The ENTITY ( xee ) should be like in the  tag  (&xee )
unlike the original :
<!DOCTYPE foo [<!ELEMENT foo ANY><!ENTITY xee SYSTEM "file:////etc/passwd">]><foo>&xxe;</foo>
The first one is working for me
same  to the rest of the injection

Feel free to open up a PR!

repo: danielmiessler/SecLists


text:
Visual Studio - Powershell

What is your question?
Hello, After spending a considerable amount of time in referencing this site , following some youtube walk-throughs, and troubleshooting using Chatgpt I still can't get through the setup.sh script file. Although I've been able to limp along it appears the main issues occur when attempting to execute Unix commands in the Windows VS PowershellAl environment.  I was able, at one point, to get the setup.sh script file to install the dependencies but it fails in the commands and alias part of the script file.  Is there any reference or comparable script file for running in the VS Powershell Terminal environment?  Has anyone attempted to use some of the Windows add-on apps such as WSL or Cygwin for running this script file?   I already have attempted to use Git Bash but that failed as well. Any help is appreciated. Thank you.

@dsaldivar try my https://github.com/dfinke/PSWeave.
I ported the OpenAI SDK to PowerShell and ported @danielmiessler great concept.
It runs natively in PowerShell and is crossplatform.

@dfinke thanks for the information. I appreciate it. I'll give it a try with a new build. Thanks for sharing.

@dsaldivar if you hit issues or see gaps, pls let me know, open it on the repo. I just published a new version of PSWeave

Will do. Thanks for sharing again.
On Thu, Feb 22, 2024 at 5:59 PM Doug Finke @.***> wrote:

@dsaldivar https://github.com/dsaldivar if you hit issues or see gaps,
pls let me know, open it on the repo. I just published a new version of
PSWeave
—
Reply to this email directly, view it on GitHub
https://github.com/danielmiessler/fabric/issues/121#issuecomment-1960592590,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAU4G4I3H2YZVVKJP7KK6V3YU7SY5AVCNFSM6AAAAABDR5EN7GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRQGU4TENJZGA
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Danny Saldivar
Take It Easy Lawn and Landscape
801-313-0660

authors: dfinke dsaldivar

repo: danielmiessler/fabric


text:
[Question]: what are sessions and how do we use em

What is your question?
After reading the documentation, I am still not clear how to get X working. I tried this, this, and that.

try this, this should explain it
echo 'my name is jon' | fabric --session jon
then
echo 'what is my name' | fabric --session jon
basically you name the session, then everythign is saved within that session file, so you can continue your conversation

try this, this should explain it echo 'my name is jon' | fabric --session jon
then
echo 'what is my name' | fabric --session jon
basically you name the session, then everythign is saved within that session file, so you can continue your conversation

this ai is dumb lmao but its gemini 1.5 pro exp

hmmm i have to take a look, maybe sessions isn't working for gemini

hmmm i have to take a look, maybe sessions isn't working for gemini

the first message didnt work, the second message it did remember


text:
🛑 test1 is down

In 85b4720, test1 (https://quarterbacksystems.com/en_US/page/status) was down:

HTTP code: 503
Response time: 1738 ms

Resolved: test1 is back up in c5569a9 after 25 minutes.

repo: danielqb/status


text:
🛑 test1 is down

In 9881e16, test1 (https://quarterbacksystems.com/en_US/page/status) was down:

HTTP code: 503
Response time: 1013 ms

Resolved: test1 is back up in 70cd142 after 11 minutes.


text:
🛑 Bancolombia - Pyme is down

In 4efd69f, Bancolombia - Pyme (https://sucursalvirtualpyme.bancolombia.com/#/login) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Bancolombia - Pyme is back up in a18c276.


text:
Sending un-supported action

Hello, I have successfully implemented the library, but on the course of doing that, I kept sending invalid actions to the server. The server did acknowledge that by echoing  Unable to process ChannelEventsChannel#entity_typing) while I was sending room.action("entity_typing")
Basically I was sending an action not recognised by the server. It was ok for me, cause I had server support, but it shouldn't have reached to that and I should have known from the start that I was sending an invalid action by receiving an error when sending it.
Just a thought.

In that case, I would recommend a REST API. ActionCable, but more generally sockets, do not work that way unless there is such a contract in the protocol used.

On Nov 11, 2016, at 16:10, Danut Pralea notifications@github.com wrote:
Hello, I have successfully implemented the library, but on the course of doing that, I kept sending invalid actions to the server. The server did acknowledge that by echoing Unable to process ChannelEventsChannel#entity_typing) while I was sending room.action("entity_typing")
Basically I was sending an action not recognised by the server. It was ok for me, cause I had server support, but it shouldn't have reached to that and I should have known from the start that I was sending an invalid action by receiving an error when sending it.
Just a thought.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

no worries. I thought the underlying library, Starscream has this capability. I know Starscream is a lot more verbose, so I naturally assumed there's a way somehow to add that.
I worked with it before using ActionCableClient.
Thanks again!

authors: danielrhodes danipralea

repo: danielrhodes/Swift-ActionCableClient


text:
tonal-array typescript migration

Hey !
This pull request converts tonal-array from js to typescript and integrates the conversion with the existing build .
As discussed in #68, here's a minimal proposal to get us started on the ts migration.
Things I tried before settling with this solution :

Add typescript to the rollup build pipeline (Lerna and aliases integration with ts was not an enjoyable experience).
Isolate each package build process and change incrementally to use typescript. (Too much code added. Felt like overkill.)

This solution :
Add a typescript compiler build step at the root of the monorepo that ignores js and compiles ts to js and emits to the same location the ts file is in.
The step is ran before : test and build scripts
This PR looks big because it also has types definitions. But the relevant code
with the minimum viable changes for the migration can be found in this commit : https://github.com/danigb/tonal/commit/4c089ac2a6483fe6f316a9d40aac0499f8ba4019 and is quite small.
If you like this solution, I  can get started on the rest of the packages and finalize the types.
Let me know what you think :)
Cheers !

Thanks a lot! I'll review both your PRs this night! 🙏 🎉

Hi! Starting the review, I've notice some changes in the format style of the code. So I've updated the infrastructure to run the same version of prettier in every commit. Can you rebase your both PRs with master to add that changes?
Thanks! 🙏
Tomorrow I'll review this PR with calm... I know rollup and lerna are complex (sometimes I want to get rid of them!)... Thanks for the work 👍

Hey, my workspace is getting kind of messy, do you mind if we close this PR for now while waiting for #68 ?
After that I'll open a fresh one and start again from latest on master.
Cheers !

Yes! No problem... sorry for the mess! 🙏

I'd recommend starting with Note module (because it's the one with no dependencies at all), and then Interval (that uses types from Note). Then, the rest...

Noted ! (No pun intended 😅)
Will open up a PR tomorrow for Note Module and we'll start from there !
Thanks for your time ! Cheers !

authors: danigb rakannimer

repo: danigb/tonal


text:
Inconsistent behavior between TextMateSharp and vs-code

Describe the bug
A clear and concise description of what the bug is.
The exact same syntax grammar in vscode does not produce the same output in TextMateSharp.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Use the provided grammar file with the code
namespace Test;

using UnityEngine.*;

import testVector3 -> Vector3;
import object -> Component;

function Update()
{
    /*
    let x = 5 + 5;
    let b = x;
    */
    object.text = "hi";
}

ascent.tmLanguage.json
Expected behavior
A clear and concise description of what you expected to happen.
I expected the colors and scopes shown to be the same.
Screenshots
If applicable, add screenshots to help explain your problem.
VSCode:

My code:

Desktop (please complete the following information):

OS: Windows
Version 11

Additional context
Add any other context about the problem here.
This is shoved into unity and then converted into highlighting with rich text tags.

Please, could you check if https://github.com/danipen/TextMateSharp/pull/73 fixes the issue? Thanks!

Please, could you check if #73 fixes the issue? Thanks!

Unfortunately I'm already using that version ):

authors: Futuremappermydud danipen

repo: danipen/TextMateSharp


text:
Combination with repetition

combinations with repetition are currently not supported, right?
Something like that would be awesome!
Combinatorics.combinationWithRep(['a', 'b', 'c'], 4)
/*
=> [
  [ 'a', 'a', 'a', 'a' ],
  [ 'a', 'a', 'a', 'b' ],
  [ 'a', 'a', 'a', 'c' ],
  [ 'a', 'a', 'b', 'b' ],
  [ 'a', 'a', 'b', 'c' ],
  [ 'a', 'a', 'c', 'c' ],
  [ 'a', 'b', 'b', 'b' ],
  [ 'a', 'b', 'b', 'c' ],
  [ 'a', 'b', 'c', 'c' ],
  [ 'a', 'c', 'c', 'c' ],
  [ 'b', 'b', 'b', 'b' ],
  [ 'b', 'b', 'b', 'c' ],
  [ 'b', 'b', 'c', 'c' ],
  [ 'b', 'c', 'c', 'c' ],
  [ 'c', 'c', 'c', 'c' ]
 ]
*/

baseN essentially does this, just not in the order you are indicating

authors: PhilWaldmann blanchg

repo: dankogai/js-combinatorics


text:
homebased_home, homebased_away not working with IFTTT Maker recipes

I created homebased_home and homebased_away triggered Maker recipes in IFTTT.
I verified it works, I am able to trigger them manually:
curl -X POST https://maker.ifttt.com/trigger/homebased_home/with/key/<secret>
curl -X POST https://maker.ifttt.com/trigger/homebased_away/with/key/<secret>

However, in the application I am just getting error "Failed to control IFTTT" everytime it should be trigered:

As the complete error can't be observed, I think that first step should be to add the ability to display entire error message.

I just realized I had typo in my API key. I fixed that and now it works.
However, I still think that the error needs to be accessible.

Thanks! You're right, i agree the full error details should be accessible.
I didn't find a good way to present long error messages in the app, so I just cut it off.

authors: blackdaemon danpadmore

repo: danpadmore/homebased


text:
很棒的工具啊，能否考虑减小一下体积呢~

感觉可以考虑使用如 neutralinojs 或者 macgap 替代Electron 来减小体积呢~

有时间的话，可以研究一下

authors: daodaolee ydq

repo: daodaolee/netease-cloud


text:
Test Bug 114

Summary
Short summary of what is going on or to provide context.
Steps To Reproduce:

This is step 1.
This is step 2. All steps should start with '1.'

Expected result
Describe what should have happened.
Actual result
Describe what actually happened instead.
Additional information
Feel free to attach a screenshot.
Salesforce Extension Version in VS Code: 60.11.0
Salesforce CLI Version: @salesforce/cli/2.41.6 darwin-arm64 node-v18.18.2
OS and version: elephant
VS Code version: 1.82.3
Most recent version of the extensions where this was working: none

Thank you for filing this issue.  We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support.

Hello @daphne-sfdc :wave: Have you tried updating to the latest version of the Salesforce Extension Pack?
Latest: 60.13.0
We suggest you to update to the latest version of the Salesforce Extension Pack in the VSCode Extensions view and confirm that you're still seeing your issue.


text:
Cannot set the Configuration for an application in Kubernetes Multi-app run

Expected Behavior
Cannot get Zipkin to show traces from the mult-app run on K8s deployment. The deployment is missing the configuration annotations. This dapr.io/config | Tells Dapr which Configuration resource to use
From here https://docs.dapr.io/reference/arguments-annotations-overview/
Actual Behavior
The multi-app run K8s template https://v1-12.docs.dapr.io/developing-applications/local-development/multi-app-dapr-run/multi-app-template/ does not have this property that can be set in the template.
These are the annotations that you see for the deployed applications. Note there is not config annotation.
Name:         pythonapp-54bdcfbd48-rg94r
Namespace:    default
Priority:     0
Node:         mark-control-plane/172.19.0.2
Start Time:   Mon, 02 Oct 2023 20:47:29 -0700
Labels:       app=pythonapp
              dapr.io/app-id=pythonapp
              dapr.io/metrics-enabled=true
              dapr.io/sidecar-injected=true
              pod-template-hash=54bdcfbd48
Annotations:  dapr.io/app-id: pythonapp
              dapr.io/enabled: true
              dapr.io/metrics-port: 65307
              dapr.io/unix-domain-socket-path:

Name:         nodeapp-56998d7c99-fhz8q
Namespace:    default
Priority:     0
Node:         mark-control-plane/172.19.0.2
Start Time:   Mon, 02 Oct 2023 20:47:25 -0700
Labels:       app=nodeapp
              dapr.io/app-id=nodeapp
              dapr.io/metrics-enabled=true
              dapr.io/sidecar-injected=true
              pod-template-hash=56998d7c99
Annotations:  dapr.io/app-id: nodeapp
              dapr.io/app-port: 3000
              dapr.io/enabled: true
              dapr.io/metrics-port: 65295
              dapr.io/unix-domain-socket-path:

Steps to Reproduce the Problem

Run the K8s Hello world tutorial with K8s Multi-app run PR so that traces are being written
Do kubectl port-forward svc/zipkin 19411:9411
Go to http://localhost:19411/ and there are no traces written

Release Note
RELEASE NOTE: UPDATE Cannot set the Configuration for an application in Kubernetes Multi-app run

Currently there is no way to set the config annotation, only the default config can be used.
The default config, does not seem to be set, we can add a fix for setting the default config.

If the appconfig Dapr configuration is not found in default namespace for some reason, the dapr.io/config parameter will not be set and skipped emitting a warning:
⚠  Dapr configuration "appconfig" not found in namespace "default". Skipping annotation "dapr.io/config"

I have made the changes locally and tested ....

closed by #1352

authors: msfussell mukundansundar

repo: dapr/cli


text:
Assign free port for metrics when in standalone mode

Once the metrics PR has been merged, we need to add behaviour to set the metrics port dynamically when running in standalone mode similar to how the HTTP and gRPC ports are handled: https://github.com/dapr/cli/blob/359e2eb8e36f7a5446af1a4569c94ddf2c30764b/pkg/standalone/run.go#L79
I think this is preferable to disabling the metrics as people can do that using --enable-metrics false easily enough and there will be scenarios where people want to use metrics for standalone deployments (even just for development purposes).

See my PR. It solves it by simply using a random port.

authors: artursouza jjcollinge


text:
[Jetstream] Allow TLS Client Authentication

Looking at the docs, and the configuration struct for Jetstream, it doesn't seem like TLS Client Authentication can be used.
https://github.com/dapr/components-contrib/blob/e639685e83b3a2ad1a73fc89a4370b6d11ed9d17/pubsub/jetstream/metadata.go#L24-L36
I wonder if it is a trivial addition?

Looks like an else if could be added here:
https://github.com/dapr/components-contrib/blob/e639685e83b3a2ad1a73fc89a4370b6d11ed9d17/pubsub/jetstream/jetstream.go#L50-L57
And the NATS client has an example of connecting via TLS:
https://github.com/nats-io/nats.go#tls

repo: dapr/components-contrib


text:
Creation of Certification Test for CockroachDB

Description
This PR covers the creation of the cockroachDB certification test
Issue reference
The issue this PR will close is #[[1928]]
Checklist

[x] Code compiles correctly
[x] Created/updated tests
[ ] Extended the documentation / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]

/ok-to-test


text:
GRPC StatusCode 13 (invoke API is not ready) on startup

In what area(s)?

/area runtime
What version of Dapr?
1.9.5
Expected Behavior
call InvokeService returns status OK on startup
Actual Behavior
call InvokeService returns status 13 invoke API is not ready
Steps to Reproduce the Problem
run app and dapr sidecar locally without any waits inside the app code

just after placement everything works correctly, but no methods to get dapr readiness for communication
of course we have ugly workaround
        do {
            status = server->Call();
            if (!status.ok()) {
                std::this_thread::sleep_for(std::chrono::milliseconds(300));
            }
        } while (status.error_code() == grpc::StatusCode::INTERNAL);

Are you running on Kubernetes? If your app container is running before daprd is ready, you won't be able to invoke Dapr.
It's recommended to use the healthz API (poll it) and use the invoke API once it returns 204.

I run docker-compose.

How do you create the gRPC connection? In Go, there’s an option to make it wait for the server to be up. I suspect there will be something similar in the gRPC SDK you’re using.
Although Docker Compose starts daprd before your app, it only waits for the process to be launched. the daprd process needs a few moments to complete the initialization before you can connect to it.

Creation GRPC connection in c++:
        const std::string daprEndpoint("127.0.0.1:" + std::to_string(daprPort));
        client_ = dpr::Dapr::NewStub(grpc::CreateChannel(daprEndpoint, grpc::InsecureChannelCredentials()));

Just after this I use:
auto status{client_->InvokeService(&context, request, &response)};

Actually client connected to daprd, but it responrd with GRPC StatusCode 13
There are no options to get status of daprd server.

name resolution: mDNS
As I understand, the problem is in blocking by dapr any application requests before placement.
And there is no interface method to get status of placement.

also there is a problem with mDNS
if you have 2 services (A and B) and restarts A, service B can't send any message to restarted instance of A because uses cached address:
== APP == I20230106 05:39:38.125066 2653768 client.cpp:150] GetVersion status fail to invoke, id: license, err: failed to invoke target license after 3 retries
DEBU[0021] found mDNS IPv4 address in cache: 192.168.2.42:40093  app_id=client instance=raider scope=dapr.contrib type=log ver=1.9.5
DEBU[0021] retry count: 1, grpc call failed, ns: , addr: 192.168.2.42:40093, appid: license, err: rpc error: code = Unavailable desc = last connection error: connection error: desc = "transport: Error while dialing dial tcp 192.168.2.42:40093: connect: connection refused"  app_id=client instance=raider scope=dapr.runtime.direct_messaging type=log ver=1.9.5

Probably you should force mDNS cache cleanup after service restart.

As I understand, the problem is in blocking by dapr any application requests before placement.

Seems that you're using service invocation, not actors. So placement shouldn't matter.
You can still invoke the HTTP healthz API even if you use gRPC for everything else, if you can make a HTTP call to that.
However, perhaps we could add a "healthz" API for gRPC too - thoughts @yaron2?

if you have 2 services (A and B) and restarts A, service B can't send any message to restarted instance of A because uses cached address

There is indeed a cache that is refreshed every 30 seconds. However, if that's a problem, could you please open a separate issue in dapr/components-contrib for that?

You can still invoke the HTTP healthz API even if you use gRPC for everything else, if you can make a HTTP call to that.
There in no problem to find workaround. My offer - improve DAPR. But you it is not your strategy - just close the issue.

authors: ItalyPaleAle smartnet-club yaron2

repo: dapr/dapr


text:
E2E tests failing 100% on Windows due to postgres failing to deploy

Currently E2E tests are failing 100% on Windows because the Helm chart for Postgres is failing to deploy. We may need to add affinity rules so Postgres is always installed on Linux nodes.

@ItalyPaleAle looks like the postgres helm charts are already configured to be scheduled on Linux https://github.com/dapr/dapr/blob/master/tests/config/postgres_override.yaml
Also pasting this for reference

Summary (past 3 days):
Successes: 0
Failures: 15
    Success rate: 0.00%

Job-wise summary:
Job: Deploy test infrastructure
  -  success: 10
  -  failure: 5
Job: Build for  linux on amd64
  -  success: 10
  -  failure: 5
Job: Build for  windows on amd64
  -  success: 11
  -  failure: 4
Job: End-to-end linux on amd64 tests
  -  success: 6
  -  failure: 3
Job: End-to-end windows on amd64 tests
  -  failure: 9
Job: Clean up Azure resources
  -  success: 15
Job: End-to-end ${{ matrix.target_os }} on ${{ matrix.target_arch }} tests
  -  skipped: 6

Failed steps summary:
Job: End-to-end windows on amd64 tests
  -  Preparing AKS cluster for test: 9
Job: End-to-end linux on amd64 tests
  -  Run E2E tests: 3
Job: Build for  linux on amd64
  -  Login to Azure Container Registry for Linux or Mac: 5
Job: Deploy test infrastructure
  -  Deploy the test cluster: 5
Job: Build for  windows on amd64
  -  Login to Azure Container Registry for Windows: 4

@shubham1172 you can see here that on Windows postgres is failing to install: https://github.com/dapr/dapr/actions/runs/5784407172/job/15675542979

@shubham1172 you can see here that on Windows postgres is failing to install: https://github.com/dapr/dapr/actions/runs/5784407172/job/15675542979

Yes, @ItalyPaleAle the AKS clusters deployed for e2e tests on Windows should have both Windows and Linux nodes, and the Postgres charts are already configured to be scheduled on Linux (with requiredDuringSchedulingIgnoredDuringExecution).

Could you please check why it's not working then? Something's happening and causing the postgres Helm chart to fail being installed on Windows AKS tests.

Able to reproduce it on an AKS cluster. The root cause is invalid values being set in the override file.
helm upgrade
          --install dapr-postgres bitnami/postgresql \
          --version 12.8.0 \
          -f ./tests/config/postgres_override.yaml \
          --namespace dapr-system \
          --wait \
          --timeout 5m0s
Release "dapr-postgres" does not exist. Installing it now.
Error: timed out waiting for the condition
helm.go:84: [debug] timed out waiting for the condition

Results from k describe pod dapr-postgres-postgresql-0 -n dapr-system:

Events:
  Type     Reason                  Age                  From                     Message
  ----     ------                  ----                 ----                     -------
  Normal   Scheduled               5m43s                default-scheduler        Successfully assigned dapr-system/dapr-postgres-postgresql-0 to akswinnp000000
  Warning  FailedMount             5m42s                kubelet                  MountVolume.SetUp failed for volume "kube-api-access-8wz64" : chown c:\var\lib\kubelet\pods\a07e3987-d0fc-4c8a-ab0a-0064df0b33de\volumes\kubernetes.io~projected\kube-api-access-8wz64\..2023_08_07_16_36_23.3351872838\token: not supported by windows
  Warning  FailedMount             5m42s                kubelet                  MountVolume.SetUp failed for volume "kube-api-access-8wz64" : chown c:\var\lib\kubelet\pods\a07e3987-d0fc-4c8a-ab0a-0064df0b33de\volumes\kubernetes.io~projected\kube-api-access-8wz64\..2023_08_07_16_36_23.2412019966\token: not supported by windows
  Warning  FailedMount             5m41s                kubelet                  MountVolume.SetUp failed for volume "kube-api-access-8wz64" : chown c:\var\lib\kubelet\pods\a07e3987-d0fc-4c8a-ab0a-0064df0b33de\volumes\kubernetes.io~projected\kube-api-access-8wz64\..2023_08_07_16_36_24.2275594915\token: not supported by windows
  Warning  FailedMount             5m39s                kubelet                  MountVolume.SetUp failed for volume "kube-api-access-8wz64" : chown c:\var\lib\kubelet\pods\a07e3987-d0fc-4c8a-ab0a-0064df0b33de\volumes\kubernetes.io~projected\kube-api-access-8wz64\..2023_08_07_16_36_26.3570437595\token: not supported by windows
  Warning  FailedMount             5m35s                kubelet                  MountVolume.SetUp failed for volume "kube-api-access-8wz64" : chown c:\var\lib\kubelet\pods\a07e3987-d0fc-4c8a-ab0a-0064df0b33de\volumes\kubernetes.io~projected\kube-api-access-8wz64\..2023_08_07_16_36_30.2684002187\token: not supported by windows
  Warning  FailedMount             5m27s                kubelet                  MountVolume.SetUp failed for volume "kube-api-access-8wz64" : chown c:\var\lib\kubelet\pods\a07e3987-d0fc-4c8a-ab0a-0064df0b33de\volumes\kubernetes.io~projected\kube-api-access-8wz64\..2023_08_07_16_36_38.407669271\token: not supported by windows
  Warning  FailedMount             5m10s                kubelet                  MountVolume.SetUp failed for volume "kube-api-access-8wz64" : chown c:\var\lib\kubelet\pods\a07e3987-d0fc-4c8a-ab0a-0064df0b33de\volumes\kubernetes.io~projected\kube-api-access-8wz64\..2023_08_07_16_36_55.2870623688\token: not supported by windows
  Warning  FailedMount             4m38s                kubelet                  MountVolume.SetUp failed for volume "kube-api-access-8wz64" : chown c:\var\lib\kubelet\pods\a07e3987-d0fc-4c8a-ab0a-0064df0b33de\volumes\kubernetes.io~projected\kube-api-access-8wz64\..2023_08_07_16_37_27.3259462580\token: not supported by windows
  Normal   SuccessfulAttachVolume  4m36s                attachdetach-controller  AttachVolume.Attach succeeded for volume "pvc-c01eb17e-15e9-4311-942a-64d0785a9f09"
  Warning  FailedMount             3m40s                kubelet                  Unable to attach or mount volumes: unmounted volumes=[kube-api-access-8wz64], unattached volumes=[kube-api-access-8wz64 custom-init-scripts dshm data]: timed out waiting for the condition
  Warning  FailedMount             82s (x3 over 3m34s)  kubelet                  (combined from similar events): Unable to attach or mount volumes: unmounted volumes=[kube-api-access-8wz64], unattached volumes=[custom-init-scripts dshm data kube-api-access-8wz64]: timed out waiting for the condition


text:
How to configure the HttpEndpoint via the http pipeline directly

In what area(s)?
/area runtime
Ask your question here
In our scenario, we want to use the shared dapr runtime to comunication, and deploy a single instance of a service via docker compose, and then go ahead and build it into the full system
So we need to use the same configuration and components for all services, and we create a folder to store the configuration and component files that we use
I know we can specify the value of HttpEndpoint in the code by using the SDK, just wondering if exist a way can let us specify it in the dapr configuration file directly, like the following
apiVersion: dapr.io/v1alpha1
kind: Configuration
metadata:
  name: daprConfig
spec:
  tracing:
    samplingRate: "1"
    zipkin:
      endpointAddress: http://localhost:9411/api/v2/spans
  httpPipeline:
    handlers:
      - name: dapr-instance
        type: "http"
        version: "v1"
        settings:
          baseURL: "http://<remote-dapr-instance>:<port>"

You can use the HTTPEndpoint manifest: https://docs.dapr.io/reference/resource-specs/httpendpoints-schema/

Thanks @yaron2, it works fine now