text:
Singular Visual Line Should Be Identified as a Single TextElement

Problem
For MSFT 0000950170-23-014423, the top section title "PART I. FINANCIAL INFORMATION " is identified as two semantic elements:
{
"cls_name": "TopSectionTitle",
"level": 0,
"section_type": "part1",
"text_content": "PART I. FINANCI"
},
{
"cls_name": "TitleElement",
"level": 0,
"text_content": "AL INFORMATION"
}
This should be:
{           "cls_name": "TopSectionTitle",
"level": 0,
"section_type": "part1",
"text_content": "PART I. FINANCIAL INFORMATION"
}
Ideas about a possible solution
Adjust text element merger to keep merging elements until a new visual line.

Noticed this happening when working with 10-Ks as well, seems to be isolated to the way microsoft formats their filings

authors: akaashdash deenaawny-github-account

repo: alphanome-ai/sec-parser


text:
while ASProgressPopUpView and ASValueTrackingSlider in the some work

while ASProgressPopUpView and ASValueTrackingSlider in the some work,then wrong:
const float ARROW_LENGTH = 8.0;
const float POPUPVIEW_WIDTH_PAD = 1.15;
const float POPUPVIEW_HEIGHT_PAD = 1.1;
NSString *const FillColorAnimation = @"fillColor";

As a temporary workaround could I suggest you specify in your podfile a specific commit. The following should work:
pod 'ASValueTrackingSlider', :git => 'https://github.com/alskipp/ASValueTrackingSlider', :commit => '7a6e5290c9e9344773c4'

I need to update the pod with a new version (see #45). I'll try and get that done today, or tomorrow.

Latest pod release (0.11.2) should fix the this.

source: gharchive/issue

repo: alskipp/ASValueTrackingSlider

license: mit

license_type: permissive

license_source: bigquery


text:
Dynamically add property

I have a dynamic list of properties as a variable, and I need to declare a property for each of the values.
In other words: how can I create and register a Property without declaring a function in my class?

This is very, very hacky but you could do something like this:
from dbus_next.aio import MessageBus
from dbus_next.constants import PropertyAccess
from dbus_next.service import ServiceInterface, dbus_property

class DynamicProps(ServiceInterface):
    def __init__(self, *args, **kwargs):
        ServiceInterface.__init__(self, *args, **kwargs)

        self._trueprop = True
        self._falseprop = False

        props = ["_trueprop", "_falseprop"]

        def bool_prop(name):
            def _wrapper(self) -> "b":
                return getattr(self, name)
            return _wrapper

        for prop in props:
            name = prop[1:].capitalize()
            func = bool_prop(prop)
            func.__name__ = name
            member = dbus_property(access=PropertyAccess.READ)(func)
            setattr(DynamicProps, name, member)
            self._ServiceInterface__properties.append(member)

That is awful...thank you;

authors: dakhnod elParaguayo

repo: altdesktop/python-dbus-next

license: MIT

license_source: github-api


text:
Remove broken link to python USB script.

The link on the wiki's broken.
Can you either remove the 'canary' from 'canary.discord.com', or just put the script in a gist like the bat script (please).
(I made a gist before I realised I can't edit the wiki, but feel free to make another one).

Thanks, I linked to your gist.

repo: alvr-org/ALVR


text:
🛑 m.syzszz.cn is down

In 30a2876, m.syzszz.cn (https://m.syzszz.cn) was down:

HTTP code: 0
Response time: 0 ms

Resolved: m.syzszz.cn is back up in bb6d9f6.

repo: alzee/up


text:
🛑 fxkyss.com is down

In 0fc5f5a, fxkyss.com (https://fxkyss.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: fxkyss.com is back up in cc074f4 after 11 minutes.


text:
Refactoring

Hello Roman @romanm , i was reviewing your project and found  components that are too big.

Would you ever mind refactoring some stuff?
If you are using a database connections, why not to add liquibase to make migrations ? It would be usefull for you if you change tables in future(code first concept)
If you will have some problems with automatization some processes for devs/project deployment,please, feel free to ask me

Your project envolved me a little

Краще по суті, який елемент завеликий це перше.
Конкретизуй, що саме дає liquibase, наша мета-контентна модель і так генерує JSON автоматично через JDBCTemplate.
Як агрегований документ з посиланням на ІД типів даних і дані, ми зберігаєм його в docbody.
Потреба в liquibase незрозуміла.
Здивуй мене "automatization some processes" :), що саме ти засвоїв з існуючих WorkFlow технологій?
Процесами ми керуем за ArchiMate, ISO/IEC/IEEE 42010 стандартом.
Чи ти встиг вже познайомитись з ArchiMate?

https://mvnrepository.com/search?q=Liquibase

Привіт @romanm, взаємно!
Щодо Liquibase, якщо є модель, яка генерує JSON автоматично - окей. Коли писав issue то не побачив сам момент як відбувається міграція в бд, тому за неї і написав
Якщо говорити про те, що дає Liquibase - управління міграціями до нашої бд що в майбутньому дає нам можливість контролювати її ченжі
По "automatization some processes". Замітив в одному в officeworkstation репозиторії yaml файл де був тест,як я зрозумів, azure pipelines.

Мені стало цікаво чому він лежить на стадії звичайного скрипту і не розвивається в міграцію на ажур.

Невеликий приклад того,як може виглядати результат сі пайп'а  для звичайного простенького проєкту,поділивши пайп на стадії (не важливий зараз порядок).Не буду розписувати як це зручно адже це очевидно

Можливо Ви зацікавились в тому як це зробити, можемо обсудити як побудувати пайплайн таким чином щоб:

Інфраструктура створювалась автоматично(якщо відсутня) в Ажурі
Вразі чого видаляла все що створила(без можливих проблем)
Білдила проєкт після попадання змін в одну із гілок проєкту
Кожен етап пайплайну розбитий на стадій і таски
Коли інфраструктура проєкту не змінювалась, вона не перестворювалась - лише редеплоїла новий,збілджений артифакт проєкту

Також можна добавити автоматизації, використовуючи GitHub Actions, автоматичне тестування нашої функціональності і тому подібне(https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle)
Працюю як з Azure,так і AWS. Інші клауди - не питання. Якщо потрібна допомога з цими речами, можу підключитись і допомогти розвити цю частину в проєкті

Continues integration
треба
Azure, AWS
нетреба.
Також треба:
https://www.w3.org/TR/vc-data-model/
через
https://github.com/spruceid/didkit

@romanm, пропоную тоді перенести нашу розмову з GitHub Issues в розмову телефоном де зможемо більш конкретніше обсудити деталі по: CI & Azure, Apache Configuration, didkit & vc data model, менеджер проєкту (можу переговорити із знайомими, які мають досвід в ролі PM на ІТ компаніях)

Володя привіт,
Зустрітися треба
но ти трошки не розуміеш, що таке WorkFlow і які інструменти для цього
потрібні
On Tue, Jun 28, 2022 at 6:35 PM Volodymyr Besida @.***>
wrote:

Привіт @romanm https://github.com/romanm, взаємно!
Щодо Liquibase, якщо є модель, яка генерує JSON автоматично - окей. Коли
писав issue то не побачив сам момент як відбувається міграція в бд, тому за
неї і написав
Якщо говорити про те, що дає Liquibase - управління міграціями до нашої бд
що в майбутньому дає нам можливість контролювати її ченжі
По "automatization some processes". Замітив в одному в officeworkstation
репозиторії yaml файл де був тест,як я зрозумів, azure pipelines.
[image: image]
https://user-images.githubusercontent.com/65679704/176217703-7de1995e-d672-45b7-a449-ba2430e4112c.png
Мені стало цікаво чому він лежить на стадії звичайного скрипту і не
розвивається в міграцію на ажур.
[image: image]
https://user-images.githubusercontent.com/65679704/176217936-5897b5b8-a55b-42e6-959f-1af3d0db6efb.png
Невеликий приклад того,як може виглядати результат сі пайп'а для
звичайного простенького проєкту,поділивши пайп на стадії (не важливий зараз
порядок).Не буду розписувати як це зручно адже це очевидно
[image: image]
https://user-images.githubusercontent.com/65679704/176218410-f06227e2-3206-4381-9bfd-86c1b434424c.png
Можливо Ви зацікавились в тому як це зробити, можемо обсудити як
побудувати пайплайн таким чином щоб:

Інфраструктура створювалась автоматично(якщо відсутня) в Ажурі
Вразі чого видаляла все що створила(без можливих проблем)
Білдила проєкт після попадання змін в одну із гілок проєкту
Кожен етап пайплайну розбитий на стадій і таски
Коли інфраструктура проєкту не змінювалась, вона не перестворювалась
лише редеплоїла новий,збілджений артифакт проєкту

Також можна добавити автоматизації, використовуючи GitHub Actions,
автоматичне тестування нашої функціональності і тому подібне(
https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle
)
Працюю як з Azure,так і AWS. Інші клауди - не питання. Якщо потрібна
допомога з цими речами, можу підключитись і допомогти розвити цю частину в
проєкті
—
Reply to this email directly, view it on GitHub
https://github.com/am-tasclin/algoritmed-telegram03/issues/1#issuecomment-1168880299,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAB2TRNDOJNYN4N2WEN6WKDVRMLSPANCNFSM5YCG765Q
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Dr. Roman Mishchenko, @.*** ## Mobile           +49
176 96728080
к.м.н. Роман Міщенко,  @.*** ## Мобільний    +38 097
6428677 <+380%2097%20642%208677>
14.03.11 - біологічна і медична кібернетика та інформатика
algoritmed, Ltd http://algoritmed.com/, skype:romish183
https://www.linkedin.com/in/romanmishchenko/

Доброго дня, Романе
Наразі я працюю тому якщо Ви бажаєте зустрітись - буду в центрі в середу з
19:00. За кавою можемо обсудити питання з Вами
З повагою,
Володимир
вт, 11 окт. 2022 г. в 10:20, Mishchenko @.***>:

Володя привіт,
Зустрітися треба
но ти трошки не розуміеш, що таке WorkFlow і які інструменти для цього
потрібні
On Tue, Jun 28, 2022 at 6:35 PM Volodymyr Besida @.***>
wrote:

Привіт @romanm https://github.com/romanm, взаємно!
Щодо Liquibase, якщо є модель, яка генерує JSON автоматично - окей. Коли
писав issue то не побачив сам момент як відбувається міграція в бд, тому
за
неї і написав
Якщо говорити про те, що дає Liquibase - управління міграціями до нашої
бд
що в майбутньому дає нам можливість контролювати її ченжі
По "automatization some processes". Замітив в одному в
officeworkstation
репозиторії yaml файл де був тест,як я зрозумів, azure pipelines.
[image: image]
<
https://user-images.githubusercontent.com/65679704/176217703-7de1995e-d672-45b7-a449-ba2430e4112c.png>

Мені стало цікаво чому він лежить на стадії звичайного скрипту і не
розвивається в міграцію на ажур.
[image: image]
<
https://user-images.githubusercontent.com/65679704/176217936-5897b5b8-a55b-42e6-959f-1af3d0db6efb.png>

Невеликий приклад того,як може виглядати результат сі пайп'а для
звичайного простенького проєкту,поділивши пайп на стадії (не важливий
зараз
порядок).Не буду розписувати як це зручно адже це очевидно
[image: image]
<
https://user-images.githubusercontent.com/65679704/176218410-f06227e2-3206-4381-9bfd-86c1b434424c.png>

Можливо Ви зацікавились в тому як це зробити, можемо обсудити як
побудувати пайплайн таким чином щоб:

Інфраструктура створювалась автоматично(якщо відсутня) в Ажурі
Вразі чого видаляла все що створила(без можливих проблем)
Білдила проєкт після попадання змін в одну із гілок проєкту
Кожен етап пайплайну розбитий на стадій і таски
Коли інфраструктура проєкту не змінювалась, вона не перестворювалась
лише редеплоїла новий,збілджений артифакт проєкту

Також можна добавити автоматизації, використовуючи GitHub Actions,
автоматичне тестування нашої функціональності і тому подібне(

https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle

)
Працюю як з Azure,так і AWS. Інші клауди - не питання. Якщо потрібна
допомога з цими речами, можу підключитись і допомогти розвити цю частину
в
проєкті
—
Reply to this email directly, view it on GitHub
<
https://github.com/am-tasclin/algoritmed-telegram03/issues/1#issuecomment-1168880299>,

or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/AAB2TRNDOJNYN4N2WEN6WKDVRMLSPANCNFSM5YCG765Q>

.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Dr. Roman Mishchenko, @.*** ## Mobile +49
176 96728080
к.м.н. Роман Міщенко, @.*** ## Мобільний +38 097
6428677 <+380%2097%20642%208677>
14.03.11 - біологічна і медична кібернетика та інформатика
algoritmed, Ltd http://algoritmed.com/, skype:romish183
https://www.linkedin.com/in/romanmishchenko/
—
Reply to this email directly, view it on GitHub
https://github.com/am-tasclin/algoritmed-telegram03/issues/1#issuecomment-1274202441,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APVDCWH4BWMOQLY2O7U362TWCUILZANCNFSM5YCG765Q
.
You are receiving this because you modified the open/close state.Message
ID: @.***>

Привіт Вовчик,
зараз не до цього, це будуть балачки без результату.
едине що на мою думку ти зміг би реалізувати це наступнею
В Хмельницькому на гроші штату Юта запущений якись ІТ кластер.
Якщо ти зможиш організувати щоб він сприяв розвитку ІТ технологій Алгорітмед
від цього може бути користь всім і ЕСОЗ і місту і розвиткі ІТ в Україні і
Алгорітмед.
Іншої користі від розмови я не очікую.
Роман
On Tue, Oct 11, 2022 at 11:09 AM Volodymyr Besida @.***>
wrote:

Доброго дня, Романе
Наразі я працюю тому якщо Ви бажаєте зустрітись - буду в центрі в середу з
19:00. За кавою можемо обсудити питання з Вами
З повагою,
Володимир
вт, 11 окт. 2022 г. в 10:20, Mishchenko @.***>:

Володя привіт,
Зустрітися треба
но ти трошки не розуміеш, що таке WorkFlow і які інструменти для цього
потрібні
On Tue, Jun 28, 2022 at 6:35 PM Volodymyr Besida @.***>
wrote:

Привіт @romanm https://github.com/romanm, взаємно!
Щодо Liquibase, якщо є модель, яка генерує JSON автоматично - окей.
Коли
писав issue то не побачив сам момент як відбувається міграція в бд,
тому
за
неї і написав
Якщо говорити про те, що дає Liquibase - управління міграціями до
нашої
бд
що в майбутньому дає нам можливість контролювати її ченжі
По "automatization some processes". Замітив в одному в
officeworkstation
репозиторії yaml файл де був тест,як я зрозумів, azure pipelines.
[image: image]
<

https://user-images.githubusercontent.com/65679704/176217703-7de1995e-d672-45b7-a449-ba2430e4112c.png>

Мені стало цікаво чому він лежить на стадії звичайного скрипту і не
розвивається в міграцію на ажур.
[image: image]
<

https://user-images.githubusercontent.com/65679704/176217936-5897b5b8-a55b-42e6-959f-1af3d0db6efb.png>

Невеликий приклад того,як може виглядати результат сі пайп'а для
звичайного простенького проєкту,поділивши пайп на стадії (не важливий
зараз
порядок).Не буду розписувати як це зручно адже це очевидно
[image: image]
<

https://user-images.githubusercontent.com/65679704/176218410-f06227e2-3206-4381-9bfd-86c1b434424c.png>

Можливо Ви зацікавились в тому як це зробити, можемо обсудити як
побудувати пайплайн таким чином щоб:

Інфраструктура створювалась автоматично(якщо відсутня) в Ажурі
Вразі чого видаляла все що створила(без можливих проблем)
Білдила проєкт після попадання змін в одну із гілок проєкту
Кожен етап пайплайну розбитий на стадій і таски
Коли інфраструктура проєкту не змінювалась, вона не перестворювалась
лише редеплоїла новий,збілджений артифакт проєкту

Також можна добавити автоматизації, використовуючи GitHub Actions,
автоматичне тестування нашої функціональності і тому подібне(

https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle

)
Працюю як з Azure,так і AWS. Інші клауди - не питання. Якщо потрібна
допомога з цими речами, можу підключитись і допомогти розвити цю
частину
в
проєкті
—
Reply to this email directly, view it on GitHub
<

https://github.com/am-tasclin/algoritmed-telegram03/issues/1#issuecomment-1168880299>,

or unsubscribe
<

https://github.com/notifications/unsubscribe-auth/AAB2TRNDOJNYN4N2WEN6WKDVRMLSPANCNFSM5YCG765Q>

.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Dr. Roman Mishchenko, @.*** ## Mobile +49
176 96728080
к.м.н. Роман Міщенко, @.*** ## Мобільний +38 097
6428677 <+380%2097%20642%208677>
14.03.11 - біологічна і медична кібернетика та інформатика
algoritmed, Ltd http://algoritmed.com/, skype:romish183
https://www.linkedin.com/in/romanmishchenko/
—
Reply to this email directly, view it on GitHub
<
https://github.com/am-tasclin/algoritmed-telegram03/issues/1#issuecomment-1274202441>,

or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/APVDCWH4BWMOQLY2O7U362TWCUILZANCNFSM5YCG765Q>

.
You are receiving this because you modified the open/close state.Message
ID: @.***>

—
Reply to this email directly, view it on GitHub
https://github.com/am-tasclin/algoritmed-telegram03/issues/1#issuecomment-1274272941,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAB2TRLH53LL6TR45YWYO6LWCUOCFANCNFSM5YCG765Q
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Dr. Roman Mishchenko, @.*** ## Mobile           +49
176 96728080
к.м.н. Роман Міщенко,  @.*** ## Мобільний    +38 097
6428677 <+380%2097%20642%208677>
14.03.11 - біологічна і медична кібернетика та інформатика
algoritmed, Ltd http://algoritmed.com/, skype:romish183
https://www.linkedin.com/in/romanmishchenko/

authors: VolodymyrBesida romanm


text:
Custom User Model Implemented

Added User model in models.py which extends from AbstractBaseUser and PermissionsMixin and created a UserManager which extends BaseUserManager. The changes are reflected in the Admin panel as shown in the snapshot below.

looks good to me ! you have tested it thoroughly right?

looks good to me ! you have tested it thoroughly right?

I have tested it from my side. The admin panel is working.
However, the existing DB tables had to be deleted to set the new user login model. So you might want to take a backup of the dbsqlite file before merging.

okk

source: gharchive/pull-request


text:
SyncFIFOBuffered raise a TypeError

TypeError: Trying to add <amaranth.hdl.mem.Memory object at 0x00000203FEA34A00>, which does not implement .elaborate(), as a submodule

Please include a snippet of code reproducing the error.

from amaranth import *
from amaranth.lib.fifo  import SyncFIFOBuffered
from amaranth.back import verilog
class TestFifo(Elaboratable):
def init(self) -> None:
super().init()
    self.wr_en = Signal()
    self.wr_data = Signal(8)
    self.wr_rdy   = Signal()

    self.rd_en = Signal()
    self.rd_data = Signal(8)
    self.rd_rdy  = Signal()

def elaborate(self,platform):
    m = Module()

    m.submodules.fifo = fifo_m = SyncFIFOBuffered(width=8,depth=16)

    m.d.comb += [
        fifo_m.w_en.eq(self.wr_en),
        fifo_m.w_data.eq(self.wr_data),
        self.wr_rdy.eq(fifo_m.w_rdy),

        fifo_m.r_en.eq(self.rd_en),
        self.rd_data.eq(fifo_m.r_data),
        self.rd_rdy.eq(fifo_m.r_rdy)
    ]
    return m

def ports(self):
    return [self.wr_en,self.wr_data,self.wr_rdy,self.rd_en,self.rd_data,self.rd_rdy]

if name == "main":
rf = TestFifo()
with open("test_fifo.v","w") as f:
f.write(verilog.convert(rf,ports = rf.ports(),emit_src=False ))

This code runs fine and creates a file called test_fifo.v for me on Amaranth commit 4e4085a95b50e41288615d20211c6c5a41a01193.

Sorry, I use the old version Amaranth

authors: tcjie whitequark

repo: amaranth-lang/amaranth


text:
[UPDATE] [182] Added hook to menu item via presenter.

Fixes #182

2 issues needs to be fixed.
Avoid too many return statements within this method. NEW
return true;
Severity: MajorFound in core-lib/src/main/java/info/hossainkhan/android/core/headlines/HeadlinesPresenter.java - About 30 mins to fix
Avoid too many return statements within this method. NEW
return false;
Severity: MajorFound in core-lib/src/main/java/info/hossainkhan/android/core/headlines/HeadlinesPresenter.java - About 30 mins to fix

authors: amardeshbd noorejannat

repo: amardeshbd/android-daily-headlines


text:
Unable to fetch list of task templates

I am using the following code to fetch the list of task templates
**const queryParams = {/
status: 'active'
maxResults: 50
};
agent.listTaskTemplates(queryParams, {
success: function(data) { console.log("List of task templates loaded successfully", data) },
failure: function(err) {
console.error(err);
}
});**
it returns token null and empty templates array, while I have one activeTaskTemplate. I have assigned the permissions to the security profile and the same task template is displaying correctly in the CCP task window.
I am using amazon-connect-taskjs 2.0 and amazon connect streams 2.4.5

Hello? any news about this issue?

Something similar happened to me, but the issue is in the status. If it is specified in capital letters it works.
const queryParams  = {
status: 'ACTIVE',
maxResults: 100
};

repo: amazon-connect/amazon-connect-taskjs


text:
Update docs to reflect project changes

Update docs around make db-seed-basic.
Add note on Alpine.js.
Make the CLI docs more obvious.
Fix various typos.

Thanks for updating the documentation!
Long-term, I wonder whether having some of this documentation live closer to the code (say README.md files in the respective directories) would slightly improve chances of code-and-docs diverging, but I haven't thought through the benefits of using Sphinx etc.

I think READMEs make sense for implementation details. Sphinx generally excels at how-to guides.

repo: ambuda-org/ambuda


text:
tensors are on different GPUs

I run the demo, return 'tensors are on different GPSs' , but I have only one GPU.
The demo was run successfully with CPU.
Can you put the process of using the GPU to release it?
Thank you very much!

Most likely that the net is not on GPU, try adding the following, just after weight loading:
if torch.cuda.is_available():
net = net.cuda()

I tried this way, another error occurred:
TypeError: mul received an invalid combination of arguments - got (torch.FloatTensor), but expected one of:

(float value)
didn't match because some of the arguments have invalid types: (torch.FloatTensor)
(torch.cuda.FloatTensor other)
didn't match because some of the arguments have invalid types: (torch.FloatTensor)

I added the 'net = net.cuda()' after 'net.load_state_dict(torch.load(trained_model))' , and 'x = x.cuda()' after 'x = Variable(x.unsqueeze(0))' .
Thank you.

I see.. I think setting the default tensor to be cuda might solve it, try to put the following somewhere before model loading:
if torch.cuda.is_available():
    torch.set_default_tensor_type('torch.cuda.FloatTensor')

That's doesn't work, same problem.

Did you restart the kernel?
I tested with the following change on a GPU machine and it works:
if torch.cuda.is_available():
    torch.set_default_tensor_type('torch.cuda.FloatTensor')
net = build_ssd('test', 300, 21)    # initialize SSD
net.load_weights('../weights/ssd300_mAP_77.43_v2.pth')
if torch.cuda.is_available():
    net = net.cuda()

Yes it works！
torch.set_default_tensor_type('torch.cuda.FloatTensor') Should before net = build_ssd('test', 300, 21)
Thank you very much !!

@alexkoltun
I'm sorry but, when I train my network on gpu by below code,
if torch.cuda.is_available():
    net = net.cuda()

Why there is another need when I'm training for example int train.py
        if args.cuda:
            images = images.cuda()
            targets = [ann.cuda() for ann in targets]
        else:
            images = images
            targets = [ann for ann in targets]

Is there also diffenrence between below two line??
images = images.cuda()
# and
images = images

Thanks ahead.

authors: DonghunP DragonBornHD alexkoltun


text:
build prefix command is naive

This function:
https://github.com/ament/ament_tools/blob/master/ament_tools/build_types/cmake.py#L346-L364
Currently sources dependencies of the package being built in an arbitrary order if they have a local_setup.* file.
Instead it should source the local_setup.* files for the recursive build dependencies and they should be sourced in topological order.

build_dependencies in this context are not the direct build dependencies of the package specified in the manifest. This list already contains all recursive dependencies in topological order.
Therefore I don't think anything needs to be changed here?

Based on the output of #62 it looks like that the order is correct. The problem is that the environment files include not only the recursive dependencies but also upstream packages - basically all packages of the workspace.

@dirk-thomas But they should be skipped because they don't have environment hooks inside the workspace? or is it a problem when you install two workspaces to the same install space?

Sorry, I meant downstream packages. E.g. ament_cppcheck doesn't have any dependencies but currently uses the environment of all packages in the workspace (which is only the case when rebuilding a workspace again).

Oh, it's not just the dependencies, but also anything that comes before in the topological order.

It includes even packages which come afterwards in the topological order.

For packages with dependencies on other ament packages the list and order is correct. But for packages without dependencies on other ament packages the list contains all packages from the workspace. The fix is simple: #63.

authors: dirk-thomas wjwwood


text:
Reactive gRPC Sample

Draft PR

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 2 committers have signed the CLA.:x: azuspace:x: shahzadaazamYou have signed the CLA already but the status is still pending? Let us recheck it.

authors: CLAassistant shahzadaazam

repo: americanexpress/synapse


text:
Fancy Console glyphs persistent across renders?

This is possibly me not understanding or doing something wrong.
I am using the fancy console.
In my code I have a condition that determines if a glyph is rendered.
if condition {
   draw_batch.set(offset_pos, render.color, render.glyph);
} else {
   println!("false");
}

The issue I have is that the glyph is being rendered even when the condition is false.
I added an else condition and println! and can see that output in my terminal, but the glyph will appear in the last location it was rendered.
Is this expected behaviour for the fancy console?
My current workaround has been to render an empty glyph at 0,0 - that is the only way I've been able to get the original glyph to disappear.

I believe it is expected that you call .cls () every loop. The sparse console, for example, continues adding to its list of tiles even if one already exists at the same location.

Thanks @jasonjmcghee ... I was calling ctx.cls() in my tick function.
I think I isolated the issue ... I was using set to draw rather than set_fancy. It works correctly with the .cls() call and set_fancy.
Will do some digging to see what the difference might be.

Turns out no, not fixed. Still happening with cls and set_fancy.

I have the same issue here. I am working still pretty closely to the code from the HandsOn book, but switched everything to using fancy consoles and set_fancy. I clear all consoles using cls() in the tick function. However, when switching TurnState all glyphs rendered in the previous TurnState persist on the screen.
I am trying myself at displaying a minimap, which looks cool, but I cant get rid of it once its activated :)

Make sure to set the active console to be the fancy console before clearing the screen.

like I mentioned, I am operating VERY close to the code from https://github.com/thebracket/HandsOnRust/blob/main/Loot/better_combat/src/main.rs
The core difference is that I switched all consoles to fancy. For the main part of the game this works a charm, there are no render artifacts and no flickering. All consoles are cleared just fine.
The problem only occurs when I switch the TurnState. For example on the Victory and Defeat screens also present in the example mentioned above, all content rendered in the previous TurnState remains on the screen in addition to the stuff rendered for the Victory/Defeat screens.
All consoles are switched to and cls()'d in the tick function just as in the example above.
I have tried various methods of clearing the consoles, e.g. adding more activating and clearing them from within the Victory and Defeat functions and alspo implementing a system to clear them. The former with NO effect, the latter with very unpredictable effects and lots of artifacts and flickering.
It seems to me that cclearing from the tick function should really just work :/

If you provide a gist or repo with your code, I can take a look and see if anything jumps out!

Thanks, man, appreciate it.
https://gitlab.com/sybr/crawler/-/tree/17-add-minimap-to-hud
If you want to reproduce the problem: At the player's starting location there is an item on the ground. Pick it up with 'G' and activate it with '1'. It'll display the minimap. By hitting '1' again you can go back to moving around, but the minimap won't disappear unfortunately.

That link is not publicly visible

Sorry, should work now. Messed up the permissions a bit.

Alright, I was able to fix it now. Purely by trial and error. I decided to not draw the minimap on its own console and instead used the same console that the player and NPCs are drawn on. It works well now.
I still have retention of in-game graphics on teh Victory/Defeat screens, which should not be the case, but its also not a problem, really.
Thanks anyway!

The link you provided never resolved for me- happy to take a look, but it will need to be posted somewhere publicly available, like a gist.

It did resolve after my post 7 hours ago, now it doesn't because the branch is merged. I fixed the link above now to go to the project main page.

Just tried it.
I added this in your player_input.rs as no maps spawn on the player anymore:
VirtualKeyCode::M => {
                commands.push(
                    (
                        WantsOpenMap,
                    )
                );
                Point::new(0, 0)
            },

and I couldn't reproduce the issue you are seeing.
Have you tried putting a breakpoint (or print statement) here: https://gitlab.com/sybr/crawler/-/blob/main/src/systems/display_minimap.rs#L27 to see if the map is being re-drawn?

Thanks for having a look. Like I said above though, the problem is fixed on 'main' now. The minimap behaves as intended. I removed the item spawn, as the intention is for the player to only get access to the map once they find a map item during play.
It's just the game graphics on the defeat/victory screens that I can't really explain. There should only be a black screen with text there.

I've encountered the same problem, here is a minimal reproducible example - https://github.com/artem-karpenko/bracket-reproduce-fancy-issue. The code also includes a few commented-out lines which provide some insight into fancy console's behaviour - rather tricky, I must say :|

Originally, not force-performing a CLS at the beginning of the frame was deliberate behavior. My thought process was that you might want to treat it like an old-school terminal, add/change as needed. With hindsight, I'm thinking that was a mistake. (There's a no_cls example showing the former intended behavior).
My thoughts now are: everyone clears and redraws anyway, GL and the graphical back-ends redraw anyway, and the console-based backends have dirty-updating built in. So auto-clearing should be the behavior.
I also need to double-check the fancy renderer, I think there's a bug with it not clearing if you then don't write something to it.
Sorry about the really slow replies. I just got my 2nd book off to layout (Rust Brain Teasers), and then a newborn arrived in the household (via foster/adopt, so we didn't have the usual several months of warning). I'll be doing my best to get caught up on issues as soon as I can - for now I get to steal some PC time in between feeding/changing!

Possibly a related bug, if I use set_fancy to draw my glyph is rendered at y-1. As if the y axis is starting at index 1 instead of 0.
Will try and create a minimal example as a reference.

With patchfx's help, the last commit should fix part of this: consoles do persist across renders unless you clear them (this was a deliberate design decision, since "real" consoles work that way - you can do additive rendering if you wish). cls wasn't working properly for fancy consoles - so that should be taken care of.
I'll look at the y position in a moment. I remember having some issues with exact glyph location when I created the code, so it may be off by one.

authors: artem-karpenko jancrichter jasonjmcghee thebracket tobyhede

repo: amethyst/bracket-lib


text:
is it must to ShutDown/Dispose STP?

Hi,
We recently explored STP, and started using it in one of our asp.net core application.
and our implementation is like, during particular object's constructor we configure/instantiate the smart thread pool with work item groups and min, max threads etc.
There are two questions:

We often face outofmemory exceptions, though we have 8 core, 16GB RAM with 1 TB HDD VM. any guidelines or best practices to adept ?
when to use ShutDown and Dispose methods. Since this is a web application, we as said above, configured, in one of our singleton class. so when to dispose? or shutdown?
I tried with destructor and it seems it didn't get called. Then I tried with application stopping event in asp.net core where I retrieve the singleton instance and called custom dispose method to shutdown and dispose stp. is this right approach?

Thanks,
Matheswaran S

Hi,
I assume that your application works like a service. Hence, always running and serve requests.
I think you should instatiate the smart thread pool only once in a singleton with min and max threads.
Later on create work item groups with the concurrency you need and queue work items into them.
Since your application work like a service (as I assumed) you don't need to call to shutdown or dispose at all.
When you stop the service you can use WaitForIdle() to wait for incompleted work items to finish.
Regards,
Ami

Great, you are right it is a service. and I'm fine to use WaitForIdle instead of shutdown.
and how about Memory management.? any best practices and troubleshooting tips? because we often face outofmemory exception.

The outofmemory exception is out of my scope.
I assume you get the exception becuase you get too many requests than you can handle so the backlog explodes.
Try to limit the backlog to avoid requests overflow.

authors: MatheswaranSagadevan amibar

repo: amibar/SmartThreadPool

license: MS-PL


text:
Enforce non negative values in distribution

Is there a way to specify a non negative constraint for a column with real values?

No yet. This would be a nice addition and could be integrated by introducing "Truncated Normal Distributions" which perfectly fits within the variational framework.
We can try to add this functionality. But it would be a matter of weeks, not days, unfortunately.

authors: andresmasegosa gowthamnatarajan

repo: amidst/toolbox


text:
feat: Go release creation

Refs: #15

#64  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @tazarov and the rest of your teammates on  Graphite

repo: amikos-tech/llamacpp-embedder


text:
Exception: ABI x86 is not supported!

C:\Users\Slimakoi\Desktop\amimo\dcc>python dcc.py app.apk -o out.apk
[WARNING ] androguard.core.api_specific_resources: Requested API level 29 is larger than maximum we have, returning API level 28 instead.
fcntl(): Bad file descriptor
make: Entering directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
[armeabi-v7a] Compile++ thumb: nc <= Java_c0_b_c_n_onCreate__Landroid_os_Bundle_2.cpp
make: Leaving directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
fcntl(): Bad file descriptor
make: Entering directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
[armeabi-v7a] Compile++ thumb: nc <= Java_androidx_activity_ComponentActivity_onCreate__Landroid_os_Bundle_2.cpp
make: Leaving directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
fcntl(): Bad file descriptor
make: Entering directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
[armeabi-v7a] Compile++ thumb: nc <= Java_c0_h_b_i_onCreate__Landroid_os_Bundle_2.cpp
make: Leaving directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
fcntl(): Bad file descriptor
make: Entering directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
[armeabi-v7a] Compile++ thumb: nc <= Java_com_google_android_gms_ads_AdActivity_onCreate__Landroid_os_Bundle_2.cpp
make: Leaving directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
fcntl(): Bad file descriptor
make: Entering directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
[armeabi-v7a] Compile++ thumb: nc <= Java_com_google_android_gms_common_api_GoogleApiActivity_onCreate__Landroid_os_Bundle_2.cpp
make: Leaving directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
fcntl(): Bad file descriptor
make: Entering directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
[armeabi-v7a] Compile++ thumb: nc <= Java_com_google_firebase_auth_internal_GenericIdpActivity_onCreate__Landroid_os_Bundle_2.cpp
make: Leaving directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
fcntl(): Bad file descriptor
make: Entering directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
[armeabi-v7a] Compile++ thumb: nc <= Java_com_google_firebase_auth_internal_RecaptchaActivity_onCreate__Landroid_os_Bundle_2.cpp
make: Leaving directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
fcntl(): Bad file descriptor
make: Entering directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
[armeabi-v7a] Compile++ thumb: nc <= Java_c0_k_a_i_onCreate__Landroid_os_Bundle_2.cpp
make: Leaving directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
fcntl(): Bad file descriptor
make: Entering directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
[armeabi-v7a] Compile++ thumb: nc <= Java_com_google_android_gms_auth_api_signin_internal_SignInHubActivity_onCreate__Landroid_os_Bundle_2.cpp
make: Leaving directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
fcntl(): Bad file descriptor
make: Entering directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
[armeabi-v7a] Compile++ thumb: nc <= Java_com_tapjoy_TJContentActivity_onCreate__Landroid_os_Bundle_2.cpp
make: Leaving directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
fcntl(): Bad file descriptor
make: Entering directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
[armeabi-v7a] Compile++ thumb: nc <= well_known_classes.cpp
make: Leaving directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
fcntl(): Bad file descriptor
make: Entering directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
[armeabi-v7a] Compile++ thumb: nc <= Java_d0_d_a_c_onCreate__Landroid_os_Bundle_2.cpp
make: Leaving directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
fcntl(): Bad file descriptor
make: Entering directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
[armeabi-v7a] Compile++ thumb: nc <= Java_com_slimakoi_aminox_EditTitlesActivity_onCreate__Landroid_os_Bundle_2.cpp
make: Leaving directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
fcntl(): Bad file descriptor
make: Entering directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
[armeabi-v7a] Compile++ thumb: nc <= Java_com_slimakoi_aminox_CommunitySelectorActivity_onCreate__Landroid_os_Bundle_2.cpp
make: Leaving directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
fcntl(): Bad file descriptor
make: Entering directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
[arm64-v8a] Compile++      : nc <= Java_androidx_activity_ComponentActivity_onCreate__Landroid_os_Bundle_2.cpp
make: Leaving directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
fcntl(): Bad file descriptor
make: Entering directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
[arm64-v8a] Compile++      : nc <= Java_c0_b_c_n_onCreate__Landroid_os_Bundle_2.cpp
make: Leaving directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
fcntl(): Bad file descriptor
make: Entering directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
[armeabi-v7a] Compile++ thumb: nc <= Java_com_tapjoy_TJAdUnitActivity_onCreate__Landroid_os_Bundle_2.cpp
make: Leaving directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
fcntl(): Bad file descriptor
make: Entering directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
[arm64-v8a] Compile++      : nc <= Java_c0_h_b_i_onCreate__Landroid_os_Bundle_2.cpp
make: Leaving directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
fcntl(): Bad file descriptor
make: Entering directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
[armeabi-v7a] Compile++ thumb: nc <= Dex2C.cpp
make: Leaving directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
fcntl(): Bad file descriptor
make: Entering directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
[armeabi-v7a] Compile++ thumb: nc <= Java_c0_b_c_m_onCreate__Landroid_os_Bundle_2.cpp
make: Leaving directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
fcntl(): Bad file descriptor
make: Entering directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
[arm64-v8a] Compile++      : nc <= Java_c0_k_a_i_onCreate__Landroid_os_Bundle_2.cpp
make: Leaving directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
fcntl(): Bad file descriptor
make: Entering directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
[arm64-v8a] Compile++      : nc <= Java_com_google_android_gms_ads_AdActivity_onCreate__Landroid_os_Bundle_2.cpp
make: Leaving directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
fcntl(): Bad file descriptor
make: Entering directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
[arm64-v8a] Compile++      : nc <= Java_com_google_firebase_auth_internal_GenericIdpActivity_onCreate__Landroid_os_Bundle_2.cpp
make: Leaving directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
fcntl(): Bad file descriptor
make: Entering directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
[armeabi-v7a] Compile++ thumb: nc <= Java_com_slimakoi_aminox_InformationActivity_onCreate__Landroid_os_Bundle_2.cpp
make: Leaving directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
fcntl(): Bad file descriptor
make: Entering directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
[arm64-v8a] Compile++      : nc <= Dex2C.cpp
make: Leaving directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
fcntl(): Bad file descriptor
make: Entering directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
[arm64-v8a] Compile++      : nc <= Java_com_google_android_gms_auth_api_signin_internal_SignInHubActivity_onCreate__Landroid_os_Bundle_2.cpp
make: Leaving directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
fcntl(): Bad file descriptor
make: Entering directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
[arm64-v8a] Compile++      : nc <= Java_com_google_android_gms_common_api_GoogleApiActivity_onCreate__Landroid_os_Bundle_2.cpp
make: Leaving directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
fcntl(): Bad file descriptor
make: Entering directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
[arm64-v8a] Compile++      : nc <= Java_com_google_firebase_auth_internal_RecaptchaActivity_onCreate__Landroid_os_Bundle_2.cpp
make: Leaving directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
fcntl(): Bad file descriptor
make: Entering directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
[armeabi-v7a] Compile++ thumb: nc <= Java_com_slimakoi_aminox_ActionSelectorActivity_onCreate__Landroid_os_Bundle_2.cpp
make: Leaving directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
fcntl(): Bad file descriptor
make: Entering directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
[arm64-v8a] Compile++      : nc <= Java_com_tapjoy_TJContentActivity_onCreate__Landroid_os_Bundle_2.cpp
make: Leaving directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
fcntl(): Bad file descriptor
make: Entering directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
[arm64-v8a] Compile++      : nc <= well_known_classes.cpp
make: Leaving directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
fcntl(): Bad file descriptor
make: Entering directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
[arm64-v8a] Compile++      : nc <= Java_d0_d_a_c_onCreate__Landroid_os_Bundle_2.cpp
make: Leaving directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
fcntl(): Bad file descriptor
make: Entering directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
[arm64-v8a] Compile++      : nc <= Java_com_slimakoi_aminox_EditTitlesActivity_onCreate__Landroid_os_Bundle_2.cpp
make: Leaving directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
fcntl(): Bad file descriptor
make: Entering directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
[arm64-v8a] Compile++      : nc <= Java_c0_b_c_m_onCreate__Landroid_os_Bundle_2.cpp
make: Leaving directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
fcntl(): Bad file descriptor
make: Entering directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
[arm64-v8a] Compile++      : nc <= Java_com_slimakoi_aminox_CommunitySelectorActivity_onCreate__Landroid_os_Bundle_2.cpp
make: Leaving directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
fcntl(): Bad file descriptor
make: Entering directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
[arm64-v8a] Compile++      : nc <= Java_com_tapjoy_TJAdUnitActivity_onCreate__Landroid_os_Bundle_2.cpp
make: Leaving directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
fcntl(): Bad file descriptor
make: Entering directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
[armeabi-v7a] Compile++ thumb: nc <= Java_com_slimakoi_aminox_MainActivity_onCreate__Landroid_os_Bundle_2.cpp
make: Leaving directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
fcntl(): Bad file descriptor
make: Entering directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
[arm64-v8a] Compile++      : nc <= Java_com_slimakoi_aminox_InformationActivity_onCreate__Landroid_os_Bundle_2.cpp
make: Leaving directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
fcntl(): Bad file descriptor
make: Entering directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
[arm64-v8a] Compile++      : nc <= Java_com_slimakoi_aminox_ActionSelectorActivity_onCreate__Landroid_os_Bundle_2.cpp
make: Leaving directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
fcntl(): Bad file descriptor
make: Entering directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
[armeabi-v7a] SharedLibrary  : libnc.so
make: Leaving directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
fcntl(): Bad file descriptor
make: Entering directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
[armeabi-v7a] Install        : libnc.so => libs/armeabi-v7a/libnc.so
make: Leaving directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
fcntl(): Bad file descriptor
make: Entering directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
[arm64-v8a] Compile++      : nc <= Java_com_slimakoi_aminox_MainActivity_onCreate__Landroid_os_Bundle_2.cpp
make: Leaving directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
fcntl(): Bad file descriptor
make: Entering directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
[arm64-v8a] SharedLibrary  : libnc.so
make: Leaving directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
fcntl(): Bad file descriptor
make: Entering directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
[arm64-v8a] Install        : libnc.so => libs/arm64-v8a/libnc.so
make: Leaving directory 'C:/Users/Slimakoi/AppData/Local/Temp/dcc-project-muw1y3yx'
I: Using Apktool 2.4.0 on app.apk
I: Copying raw resources...
I: Baksmaling classes.dex...
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...
[ERROR   ] dcc: Compile app.apk failed!
Traceback (most recent call last):
  File "dcc.py", line 463, in <module>
    dcc_main(infile, filtercfg, outapk, do_compile, project_dir, source_archive)
  File "dcc.py", line 417, in dcc_main
    copy_compiled_libs(project_dir, decompiled_dir)
  File "dcc.py", line 242, in copy_compiled_libs
    raise Exception("ABI %s is not supported!" % abi)
Exception: ABI x86 is not supported!
[INFO    ] dcc: removing C:\Users\Slimakoi\AppData\Local\Temp\dcc-project-muw1y3yx
[INFO    ] dcc: removing C:\Users\Slimakoi\AppData\Local\Temp\tmp9c5gz5bs-dcc
[INFO    ] dcc: removing C:\Users\Slimakoi\AppData\Local\Temp\dcc-apktool-aw0m7wzb

add "x86" to the Appliction.mk
APP_ABI := armeabi-v7a arm64-v8a x86

or just delete all the x86 libraries from your app.

Still the same error

Im getting this error now
I: Built apk...
[INFO    ] dcc: signing C:\Users\Slimakoi\AppData\Local\Temp\tmpnu93s97p-unsigned.apk -> out.apk
Exception in thread "main" java.lang.NoClassDefFoundError: sun/misc/BASE64Encoder
        at com.android.signapk.SignApk.addDigestsToManifest(SignApk.java:184)
        at com.android.signapk.SignApk.main(SignApk.java:504)
Caused by: java.lang.ClassNotFoundException: sun.misc.BASE64Encoder
        at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
        at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
        ... 2 more
[ERROR   ] dcc: Compile app.apk failed!
Traceback (most recent call last):
  File "dcc.py", line 463, in <module>
    dcc_main(infile, filtercfg, outapk, do_compile, project_dir, source_archive)
  File "dcc.py", line 419, in dcc_main
    sign(unsigned_apk, outapk)
  File "dcc.py", line 83, in sign
    subprocess.check_call(['java', '-jar', SIGNJAR, pem, pk8, unsigned_apk, signed_apk])
  File "C:\Program Files\Python38\lib\subprocess.py", line 364, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['java', '-jar', 'tools/signapk.jar', 'tests/testkey/testkey.x509.pem', 'tests/testkey/testkey.pk8', 'C:\\Users\\Slimakoi\\AppData\\Local\\Temp\\tmpnu93s97p-unsigned.apk', 'out.apk']' returned non-zero exit status 1.
[INFO    ] dcc: removing C:\Users\Slimakoi\AppData\Local\Temp\dcc-project-nwvp0m77
[INFO    ] dcc: removing C:\Users\Slimakoi\AppData\Local\Temp\tmpq4vkib_b-dcc
[INFO    ] dcc: removing C:\Users\Slimakoi\AppData\Local\Temp\dcc-apktool-942674m2
[INFO    ] dcc: removing C:\Users\Slimakoi\AppData\Local\Temp\tmpnu93s97p-unsigned.apk

don't use the "--sign" option, then use other tool like "jarsigner" to sign the apk.

Sorry but how can I do that?
Is it a command line code?

authors: Slimakoi amimo

repo: amimo/dcc


text:
جمله سنگین

لنز اعتمادو باید وارونه بذاره آدم😂👌🏻
زیبا نواختی برادر، لذت بردم
موفق باشی🤍

😂😂 قربانت
شماهم همینطور 🤍
از ستارتم ممنونم ❤

authors: amiralirj shervinbdndev

repo: amiralirj/DarkAdvertizer


text:
Remove assert if already running

Using grunt-webpack with grunt-contrib-watch causes the "HappyPlugin has already been started!" message and hang the 2nd time it runs. Removing the assert fixes the issue but let me know if there is a better way...
p.s. great work on this!

Current coverage is 80.72%

Merging #24 into master will decrease coverage by -0.03% as of 0725c81

@@            master     #24   diff @@
======================================
  Files           19      19
  Stmts          639     638     -1
  Branches       114     114
  Methods          0       0
======================================
- Hit            516     515     -1
  Partial         42      42
  Missed          81      81

Review entire Coverage Diff as of 0725c81

Powered by Codecov. Updated on successful CI builds.

Ugh, thanks for reporting! I was hoping we could do away with this. We need to ensure the start function is not called more than once. It's really weird that it is.
Is grunt-webpack caching the compiler instance by any chance? That should only happen in --watch mode.

grunt-webpack obeys the regular webpack options and it's not using --watch mode. I've even explicitly set watch: false, keepalive: false in webpack config. I think it's sadly grunt-contrib-watch clinging on for dear life...

Ahh, I think I get it. Can you try using the spawn: true option for the watch task? I think it should prevent the issue, at least it would verify my thoughts.

spawn: true does fix the issue but the webpack task is slightly slower and watch times are increased.

Yes, it's as I had expected. Since we're sourcing in webpack.config.js only once (when spawn: false), the plugins are carrying their side-effects through each successive run, even though webpack itself is being run multiple times (but using the same config object).
This isn't exactly a problem since we're cleaning up after each compilation, which is why this PR works, but it may have unintended side-effects that I can't foresee right now. I had only accounted for the case when we're running webpack itself in watch mode, not an external watcher like grunt-contrib-watch.

Thank you!

no.. thank you!

authors: amireh codecov-io leecrossley

repo: amireh/happypack


text:
remove magic

We have a bunch of thing that works, and a bunch of thing that kind of does not. For 1.0 release lets remove all magic.
What is importd?
Its a way to django projects, with less fuss. It has a settings framework, and it encourages sane and useful configuration for teams, like using envdir.
What we should keep

@d("/") decorator for views
settings framework
single file setup.
dj_database_url
smart return (how to do this without auto adjusting middlewares?)
auto wsgi setup
auto APP_DIR (call it PROJ_DIR?) and d.dotslash()
secret.txt support (optionally read it from ENV?)
auto set template dirs
auto set static dir
auto set DATABASES
auto set TEMPLATE_DEBUG to DEBUG
auto set MANAGERS to ADMINS
auto import .views and .admin etc for each app

What we should discard

modifying INSTALLED_APPS etc beyond what is done by settings framework (debug: and prod: prefix handling)
auto configuration of admin
werkzeug, django_jinja, django_extensions
d.get_object_or_404 etc (i have never used them personally)

Lets also deprecate < 1.8 in 1.0 release so we have less mess.

Nice ideas Amitu :grey_exclamation:
I been thinking of secret.txt support (optionally read it from ENV?),
I think that should be a JSON file, because we all know how the structure of a JSON file is without reading any specific Documentation, but when people see a *.txt you dont know what to put there :grey_question:
To read from ENV should be a nice addition, but put passwords on ENV is widely used :grey_question:
Lets also deprecate < 1.8 in 1.0 release so we have less mess. Im so happy with this :grey_exclamation:
Have you seen that Coffin becomes only a pair of template tags since Django now supports Jinja2,
so I suggest removing Coffin integration by default, since Coffin itself recommends doing so, or at least explain what I said.
I would say try to improve and update the Documentation :grey_question:
Upload the new version to PyPI of course :grey_exclamation:
:octocat:

Some of this changes are now on Master.
All Tests passing, if you run it manually, even if Travis CI gets confused with Python2/Python3.
Secret Key improved, optionally read it from ENV.
werkzeug, django_jinja, django_extensions, coffin, etc etc all Clean Up.

:smile_cat:

Nice work man :-) Looking forward to rest of it :-)

With modern Djangos:

d.models is broken.
/admin/ is broken.
django-debug-toolbar is broken.
django-debug-toolbar itself seems unmaintained(?).
fhurl is broken.
I want to drop mandatory fhurl.

authors: amitu juancarlospaco

repo: amitu/importd


text:
global.helloWorld is undefined (iOS)

I'm using RN 0.63.4 (last version)
I followed the getting started here https://blog.notesnook.com/getting-started-react-native-jsi/ and pretty new to the iOS world.
There's no build issue (from xcode 12.5 and from the command line react-native run-ios) when building the example app.
But I get an execution error on the first call of the JSI setResult(global.helloWorld()) - global.helloWorld is undefinded
I have add a log in the installLibrary method in the SimpleJsi.mm file but never see it.
Did I miss something in XCode, to make the react-native-simple-jsi library used in the example App (i see it in the library in development Pods) ?
After few retry at the begining of the tutorial, i'm still stuck with this error.
Any help would be appreciate ^^
Thanks in advance.

I'm using RN 0.63.4 (last version)
I followed the getting started here https://blog.notesnook.com/getting-started-react-native-jsi/ and pretty new to the iOS world.
There's no build issue (from xcode 12.5 and from the command line react-native run-ios) when building the example app.
But I get an execution error on the first call of the JSI setResult(global.helloWorld()) - global.helloWorld is undefinded
I have add a log in the installLibrary method in the SimpleJsi.mm file but never see it.
Did I miss something in XCode, to make the react-native-simple-jsi library used in the example App (i see it in the library in development Pods) ?
After few retry at the begining of the tutorial, i'm still stuck with this error.
Any help would be appreciate ^^
Thanks in advance.

A quick guess would be to check your header files in the module you created. You might have missed something there.

I'm using RN 0.63.4 (last version)
I followed the getting started here https://blog.notesnook.com/getting-started-react-native-jsi/ and pretty new to the iOS world.
There's no build issue (from xcode 12.5 and from the command line react-native run-ios) when building the example app.
But I get an execution error on the first call of the JSI setResult(global.helloWorld()) - global.helloWorld is undefinded
I have add a log in the installLibrary method in the SimpleJsi.mm file but never see it.
Did I miss something in XCode, to make the react-native-simple-jsi library used in the example App (i see it in the library in development Pods) ?
After few retry at the begining of the tutorial, i'm still stuck with this error.
Any help would be appreciate ^^
Thanks in advance.

A quick guess would be to check your header files in the module you created. You might have missed something there. setBridgeOnMainQueue property in SimpleJsi.h

Also try running this library in your project and see if it works or not.

authors: ammarahm-ed hemgui

repo: ammarahm-ed/react-native-simple-jsi


text:
Figure out why you can't just using jaeger-all-in-one by itself

The docs claim it accepts OLTP JSON over HTTP on 3418 just like we're already doing with our more complicated setup.
Is this related to the issue I'm having with the newer (0.62 and up) versions of the collector image silently dropping messages on the floor?
Try to either trace (dtrace/strace) the Python script to check for network connections or downgrade jaeger-all-in-one.

The requests probably are getting dropped on the floor. With the all-in-one container running, the script just runs without error. If I take the all-in-one container down, I get an error:

[Error] File: /Users/bryce/work/arrow-opentelemetry-example/arrow/cpp/build/opentelemetry_ep-prefix/src/opentelemetry_ep/exporters/otlp/src/otlp_http_client.cc:183[OTLP HTTP Client] Session state: connection failed

repo: amoeba/arrow-opentelemetry-example


text:
JPEG Not loading

I am currently making an application using HtmlPy's AppGui, when I realised that a Jpeg file I had included in my html file was not loading, and instead showing as a blue question mark. I noticed that all PNG and SVG files seemed to be working correctly, and that only JPEGs would not load. To test this (and see if the problem was with my code) I adapted one of the Quickstart Tutorials found on the docs, replacing the URL with that of a google images search for the word JPEG.
import htmlPy
web_app = htmlPy.WebAppGUI(title=u"Python Website", maximized=True)
web_app.url = u"https://www.google.com/search?tbm=isch&q=jpeg"
web_app.start()

Here's the result of that URL (https://www.google.com/search?tbm=isch&q=jpeg) from my Chrome browser:

And from HtmlPy:

I have no idea how to resolve this, and I would be grateful if someone could find a solution, as it is quite important to my project (and presumably many others).

I have same problem too, please how can it be fixed??

repo: amol-mandhane/htmlPy


text:
Handle keydown and keyup events

Currently we are limited to keypress events. We need keydown and keyup for better game experience (holding notes, etc).

Closed by #8

authors: amorriscode hyshka

repo: amorriscode/terminal-hero


text:
Update Landing Page Design (2)

2nd chance for you to review the PR. I did some changes.
Updated figma project export:
https://www.figma.com/file/FRqpUl9lXzAZqG02BHk626/Home_page_base?node-id=0%3A1

In my opinion the NFT drop cards are way to stretched. The ratio of the cards is super weird, like 7:25 or so. Websites like openseas use something like 2:3. Maybe we want to make them like 1.5 times as wide? Then all the stuff in the cards also wouldn't look so crowded. @NickZecamp do you think the card ratio is really fitting?

In my opinion the NFT drop cards are way to stretched. The ratio of the cards is super weird, like 7:25 or so. Websites like openseas use something like 2:3. Maybe we want to make them like 1.5 times as wide? Then all the stuff in the cards also wouldn't look so crowded. @NickZecamp do you think the card ratio is really fitting?

Yes, let's make them wider.
We need to agree on the width of the viewport. Opensea has no max-width. We can do it on full screen too, or at least make it wider than now.

In my opinion the NFT drop cards are way to stretched. The ratio of the cards is super weird, like 7:25 or so. Websites like openseas use something like 2:3. Maybe we want to make them like 1.5 times as wide? Then all the stuff in the cards also wouldn't look so crowded. @NickZecamp do you think the card ratio is really fitting?

Sounds reasonable. You could just do like you supposed and it would be okay. I think deviating from the design ratios are not dramatic. I only wanted to fit all three cards into one screen.

Also, I don't know how much sense it makes to display the individual NFT Cards/images on the landing page already. The user would need to scroll up and down multiple times as the content does usually not fit one one page which does not feel too natural for a landing page in my opinion. I think it would be sufficient to just redirect to the individual drop page if the user clicks on a nft drop card. Otherwise the landing page might also feel too crowded. But that might just be my taste.

Also, I don't know how much sense it makes to display the individual NFT Cards/images on the landing page already. The user would need to scroll up and down multiple times as the content does usually not fit one one page which does not feel too natural for a landing page in my opinion. I think it would be sufficient to just redirect to the individual drop page if the user clicks on a nft drop card. Otherwise the landing page might also feel too crowded. But that might just be my taste.

I had a similar thought about the scrolling but I didn't know how to change it. I would keep the listing of NFT-Drops (due to easier overview) but put away the NFT-cards that are shown under the drop list, when a NFT-drop entry is selected. I actually would like it, if I could see 3 example NFT images for each NFT-Drop entry so that I can more easily see whether I want to know more about this NFT-drop. These 3 images don't need to be cards, just simple little images shown with each NFT-Drop entry which can be enlarged on screen when clicked. I could try to adapt the Figma design.
As for the NFT-card container below the NFT-drop list: you can integrate the missing parts into the NFT drop page as you suggest.
The lost feature is the ability to quickly switch the previewed drop content when the banner's side arrow at the left and right is clicked. But it's probably sufficient, to display the banner on the NFT-drop page and the side arrow of the banner would just refer to the next drop page when clicked. It would mean bigger load times but nevermind.

I had a similar thought about the scrolling but I didn't know how to change it. I would keep the listing of NFT-Drops (due to easier overview) but put away the NFT-cards that are shown under the drop list, when a NFT-drop entry is selected. I actually would like it, if I could see 3 example NFT images for each NFT-Drop entry so that I can more easily see whether I want to know more about this NFT-drop. These 3 images don't need to be cards, just simple little images shown with each NFT-Drop entry which can be enlarged on screen when clicked. I could try to adapt the Figma design.

How about a tooltip with some sample images? E.g. you hower over a drop card and then above (or below) a tooltip is displayed in which an atomatic carousel switches through some sample images. Just an idea and everything would be in view at the same time.

How about a tooltip with some sample images? E.g. you hower over a drop card and then above (or below) a tooltip is displayed in which an atomatic carousel switches through some sample images. Just an idea and everything would be in view at the same time.

Sounds great! I like tooltips a lot and it's about what I would imagine.
I changed the design now.
The small screen design still mixes the landing page design with the drop page design. You can ignore (leave out) the side-stepping NFT-Drop-selection component there.
For phones on the landing page, it might be more useful to have smaller cards with less information for each NFT-drop, maybe just the backwards clock text. And more information can be displayed when it is clicked on.

Would we like to merge this one? Or not?
@NickZecamp
Do you agree to the current figma project?
The PR also removes my own Figma project file in order to remove the effort of maintaining an extra file in the Repo. All Figma project links are in the readme file.

Yes, everything looks good!
Maybe my eye is catching on to the arrows buttons that scroll through the list of items. I usually prefer not to have more than one scrollbar on a site or carousels, arrow buttons. Unless it's a product pics or a banner. I would make the entire list of elements with dynamic loading of content when scrolling. But this is not always suitable for every project, so I do not have a strong opinion on this.

Thanks.
Okay. This would work well the horizontal "card"s (the vertical list). Dynamic loading could be good for usability with a lot of NFT Drops available but has no priority in my point of view. I don't know effort for doing that in a good way. If the arrow buttons should be very bad, we just could disable them in the code but for now, Dominic implemented them nicely.

authors: NickZecamp dominic-heil krisutofu


text:
Implemented collector for jni_events

Implemented collector for the jni-events using manual type cast for Jni_method_name field enum.

Closes #119

authors: BenediktZinn Mr-Kanister


text:
not get response of a user define method

how i get response of my index method for further use?
<?php

namespace console\controllers;

use Yii;
#use Amp\Promise;
#use Amp\ByteStream;
use Amp\Process\Process;

class TestController extends \yii\console\Controller
{
	public function actionTest(){

		// php yii test/test
		\Amp\Loop::run(function () {

				for ($i=0; $i <10 ; $i++) {
					 $commands[] = $this->index($i);
				}
			    $promises = [];
			    foreach ($commands as $command) {
			        $process = new Process($command);
			        $promises[] = new \Amp\Coroutine($this->show_process_output($process));
			    }
			// print_r($promises);
		    // yield all($promises);
		});
	}

	public function index($i){
        // echo $i." =>  hello word"."\n";
        return $i;
	}

	function show_process_output(Process $process): \Generator
	{
	    yield $process->start();

	    $stream = $process->getStdout();

	    while (null !== $chunk = yield $stream->read()) {
	        // echo $chunk;
	    }

	    $code = yield $process->join();
	    $pid = $process->getPid();
	    // echo "Process {$pid} exited with {$code}\n";
	}
}

I don't understand what you're asking. What should your index method do?

repo: amphp/process


text:
Fix blue/green not respecting the pipeline

In the case of there being no ASG, blue/green deployment would always
default to '1' for the sizing of the new ASG, even if there was an entry
in the pipeline file. This change should fix the broken if condition
that lead to this state and make sure that the pipeline entry is
respected. This wasn't noticed because the unit test was incidentally
using the same sizing as the default value. That has also been changed.

unit test for testing of pipeline_dict doesnt have the value?

The mock pipeline in the unit test was using the same sizings as the default sizings, so this slipped through the unit test. Now the mock pipeline has different sizing, so the unit test for this does its job properly now.

👍

authors: jconstance-amplify pchand-amplify

repo: amplifylitco/asiaq


text:
Error Not enought data

Game name: blue protocol
Unreal Engine ：4.27.2
Error Not enought data

Game file
Text.zip
Thank you for your efforts!

@isme99
all files is empty
try another tool to export them again


text:
🛑 MinIO is down

In c61e350, MinIO (https://s3.amskey.one/amsc/misskey-rest/d688e3b7-cd01-42ea-86ee-7b05cdc5a110.webp) was down:

HTTP code: 502
Response time: 649 ms

Resolved: MinIO is back up in b668a89 after 18 minutes.

repo: amsc-tech/amskey-status


text:
Make new release with the last changes

Can you create a new release with the last changes, the last version is 3.5.6 from 20 Apr 2015

Just point to a specific commit. This is not an issue with the library. Please read the guidelines before opening an issue. https://github.com/amsul/pickadate.js/blob/master/CONTRIBUTING.md

authors: amsul blackleg


text:
quality checks api

Summary of Changes
Include a summary of changes then remove this line
Tests
What tests did you add or modify and why? If no tests were added or modified, explain why. Remove this line
Documentation
What documentation did you add or modify and why? Add any relevant links then remove this line
CheckList
Make sure you have checked all steps below to ensure a timely review.

[ ] PR title addresses the issue accurately and concisely. Example: "Updates the version of Flask to v1.0.2"

In case you are adding a dependency, check if the license complies with the ASF 3rd Party License Policy.

[ ] PR includes a summary of changes.
[ ] PR adds unit tests, updates existing unit tests, OR documents why no test additions or modifications are needed.
[ ] In case of new functionality, my PR adds documentation that describes how to use it.

All the public functions and the classes in the PR contain docstrings that explain what it does

[ ] PR passes make test

Is there an RFC or other context for how this fits into bigger picture (what other components there are if any, how this is used, etc)? This is neat, and I can surmise, but would love to review this with that bigger-picture context. not saying it necessarily needs an rfc, but would good to have some info about the scope

Thanks everyone for the comment. After talking with the team, we have decided to make this table quality check api internally first. Once it work out well and steady on our side, I will make a RFC and see if people are interested in it.

I saw in the other thread this was going to be upstreamed after it was tested internally, so closing. Looking forward to it, though!

authors: dorianj youngyjd

repo: amundsen-io/amundsenmetadatalibrary


text:
🚀 [Feature Request] - Add DARK MODE on website

Is your feature request related to a problem ? Please describe. ✍
I want to add a feature that would allow user to use website in dark mode
Describe briefly how you would implement this enhancement.
by writing simple code, i want to add dark mode feature in website

Additional context or screenshots
Additional context
Are you contributing for a program?
GSSoC2023
Code of Conduct

[X] I have read and agree to the Contributing Guidelines of this project.

Are you sure? it would a nice task. Dark mode is not just white--->Black.

yess....

@krspriya updates??

yess....

any update ??


text:
🚀 [Feature Request] - Add ARIA attributes to login and contact us forms

Is your feature request related to a problem ? Please describe. ✍
ARIA attributes are crucial for enhancing web application accessibility, benefiting users with disabilities.
Currently, the forms lack these attributes, hindering proper interpretation by assistive technologies.
Describe briefly how you would implement this enhancement.
1. Identify the login and contact us form elements in your codebase.
2. Determine the relevant ARIA attributes to add for each form element.
3. Add ARIA roles to the forms and their elements (e.g., "form" role for the main form element).
4. Include concise and descriptive ARIA labels using the aria-label attribute.
5. Use the aria-describedby attribute to provide additional instructions for the forms.
6. Implement ARIA states and properties (e.g., aria-required for required fields).
7. Test the accessibility improvements using assistive technologies.

Are you contributing for a program?
GSSoC2023
Code of Conduct

[X] I have read and agree to the Contributing Guidelines of this project.

Please assign me this issue so that I can work on this issue under GSSOC'23.

Curious and Looking forward to see the accessibility report before and after which you  have mentioned in point 7.


text:
Mercury crashes after commit_parameters() is called

A minimal example:
from amuse.units import units
from amuse.ext.solarsystem import new_solar_system
from amuse.community.mercury.interface import Mercury

solar_system = new_solar_system()

mercury = Mercury()
mercury.particles.add_particles(solar_system)
mercury.commit_particles()
mercury.parameters.info_file = "m_info_file.out"
mercury.parameters.timestep = (1.|units.day)
mercury.commit_parameters()

mercury.evolve_model(1.|units.yr)
mercury.stop()

with an error message Exception: While calling commit_parameters of Mercury: No transition from current state state 'CHANGE_PARAMETERS_RUN' to state 'INITIALIZED' possible.

this is not (necessiraly) an error; if you remove the commit_ statements the state will be handled by the code and everything works (they should not be necessary). if you do call a commit_particles then there is an implicit commit_parameters and the following call should be a recommit_parameters. you can check the call seq. with:
'''python
import logging
logging.basicConfig(level=logging.DEBUG)
logging.getLogger("code").setLevel(logging.DEBUG)
'''

Ah, I see. Indeed, it works just fine after removing commit statements or with calling only one (after all parameters and particles are set).
Thanks for the clarification!

authors: ipelupessy jilkoval

repo: amusecode/amuse


text:
A bit of cleanup in LagrangianRadii.py

e.g. use lengths_squared instead of custom function now, since it has been around for a while now.
Also use a proper main() function since it's cleaner that way (no globals).
Working on this file since there's a small problem with it - sometimes it returns LR(100%) but sometimes it doesn't.
Should be more consistent.

ok, could you check the function in particle_attributes.py ?? (I prefer that one;-) )

Thanks for pointing out the "other" LagrangianRadii. That one looks better (but also has some unnecessarily complex bits). Maybe we should add a deprecation warning of some kind to the one in ext?
In any case, the particles.LagrangianRadii method seems to give more consistent results than the method in ext (note that in several cases the results are not the same!). I'll use that one from now.

I think the main difference is the center of the cluster taken (ext version always uses the c.o.m., while
the attributes version will default to searching the density center)

btw for the ext version: I don't think there is any reason to append L to integers??

that is surprising since default is reuse_hop=False...??

Yes, very surprising. Took a while to figure out...

I see now. Hop isn't stopped because it fails.
Need to put in an exception to deal with this (and/or just always use some converter).

btw for the ext version: I don't think there is any reason to append L to integers??

Not sure what you mean?

authors: ipelupessy rieder


text:
Decline handling / user interaction not taken into account

Hi,
if we have a decline for an asynchronous authorization, the user has the possibility to change his payment method again on payments.amazon.xx
By doing so, the state of the Order changes from Suspended to Open again, the order then can be authorized again.
The plugin doesn't take this into account:

The state of the order stays at On-hold
No new authorization is done

The merchant basically only has the chance to leave his backend and use seller central / scratchpad here.
Daniel

I think we already addressed this, give me a moment to research

I can surely provide more information, if needed.
A workflow that really proved working well is:
auth decline due to InvalidPaymentMethod
-> send a mail to the customer and move the order On-hold
-> customer changes the payment method
-> IPN / polling for ORO goes from suspended back to open
-> authorize
auth decline due to AmazonRejected
-> send a mail to the customer change state of the order
Best,
Daniel

The current workflow is that the seller must manually click "Sync with Amazon" on the order page to re-authorize. IPN would need to be implemented to automate this. (It wouldn't be efficient for the Mage cron to make a call to the Amazon service for each "On Hold" order.)
Another idea is to email the user a link to their Magento order details page and embed the Wallet Widget here for updating the payment method (I've been doing this for testing). The order state would then "reset" back to pending payment and the cron would attempt another authorize.

Hi,
I just checked this as well. I think this comes down to multiple steps, the first and most crucial one is letting the customer know what is happening. Currently the customer get's redirected to the Thank You page and receives an order confirmation. Additionally he receives an email from Amazon, informing him about the order he has placed.
There is no information about the decline, so there is no reason for the customer to react.
Missing this functionality the "Sync with Amazon" button is nice, but unless the merchant calls the customer, mails him manually, ... there will be no need to issue a new authorization. It will still be the declined payment method in our systems.
If we had something like automated emails and the customer was aware of the situation and actually changes the payment method, how will the merchant know? He will have to check all on-hold orders, open them up and press "Sync with Amazon".
I like the idea of sending the customer back to the shop but I am not sure if there are time limits in place or if this would also work after, let's say 2 days. But this could really be a good option to "let the merchant know" what happened, without polling for the order status. But even the polling is something that is doable. I tested your suggested solution and it seems to work, even across sessions and browsers (as long as the order is suspended).
@islandskater43 have you done something like this yet
But in general there are more asynchronous operations like Capture and Refund, I don't think we can get rid of doing more with the cron or having IPN support.
~Daniel

Test Workflow:

Place order with async enabled and InvalidPaymentMethod sandbox simulation
Run cron or click "Sync with Amazon" in admin order page (automated email will be sent out with link to order details URL)
Visit customer order page and select new payment method and click 'Update Order.' This will confirm and attempt a synchronous authorization

Hi Jona,
I like this! This will be one of my favorite features and I think we could reuse this workflow for other plugins as well.
I do have a remark, though:
This only works if the customer logs in with Amazon, but he is directed to the normal log in page and doesn't know about it. Using the default log in procedure of the shop should not be changed in my opinion, but we should point the customer to the fact that he has to log in via Amazon (maybe with the mail text).
If I log in via a normal account I see the widget with a "session timed out" message ans a "Pay with Amazon" button. This should be a "Login with Amazon" button in my eyes. We could also suppress the widget and display a meaningful sentence here.
Thanks,
Daniel

authors: danielneu jonahellison ngrices

repo: amzn/amazon-payments-magento-plugin


text:
make sure someone can not send some big page size to kill our db

Implement some interceptor or manually check on pageable endpoints

there is spring property for max page size

repo: anCRONIK/cookbook-backend


text:
RFC: redact user-agent aau tokens in conda info

PRO: when users share their conda info information in Git issues and other public forums, their tokens are not revealed.
CON: we may want to modify our documentation that talks about viewing the token information by examining the user-agent line of conda info.
Because this doesn't affect json mode, you could see the tokens this way:
conda info --json | jq -r '.user_agent'    # or...
conda info --json | grep user_agent

Before:
 platform : osx-arm64
user-agent : conda/23.9.0 requests/2.31.0 CPython/3.11.4 Darwin/22.6.0 OSX/13.6 aau/0.4.3+4.g4b02f1d.dirty c/-HxvXt_4iIQAjp-Hvmez7w s/BCfC7xYzFUxwzKC0zgqJWQ e/KohVHi8sbiDBFMc3zCvBow
  UID:GID : 502:20

After:
 platform : osx-arm64
user-agent : conda/23.9.0 requests/2.31.0 CPython/3.11.4 Darwin/22.6.0 OSX/13.6 aau/0.4.3+4.g4b02f1d c/. s/. e/.
  UID:GID : 502:20

This redaction is applied only for the non-json version

@jezdez I'm curious what you think about this one

repo: anaconda/anaconda-anon-usage


text:
deps: Remove squashfs replacement

Remove the replacement for CalebQ42/squashfs => sylabs/squashfs by
updating to commit in sylabs/squashfs that has renamed the module.
Signed-off-by: David Trudgian david.trudgian@sylabs.io

@kzantow @wagoodman - hope that this resolves the underlying issue w.r.t. https://github.com/sylabs/squashfs/pull/1
Over at https://github.com/sylabs/squashfs I've also tagged with a gnarly semver so it's perhaps a bit easier to see we are upstream v0.5.4 with lzo removed. https://github.com/sylabs/squashfs/releases/tag/v0.5.4%2Bremove.lzo.1

Thanks much @dtrudg !

authors: dtrudg kzantow

repo: anchore/stereoscope


text:
Unable to identify license on Golang packages imported by URL

What happened:
Given a Golang package that imports from a URL, licenseConcluded in the associated SPDX file is "none". The remote package has a clearly identifiable license file.
What you expected to happen:
The remote repo (https://github.com/aws/aws-sdk-go) has a LICENSE.txt. I expected that to be deferenced and used.
How to reproduce it (as minimally and precisely as possible):
I have a golang file:
./test.go
Containing a remote import:
package test
import (
        awsSDK "github.com/aws/aws-sdk-go/aws"

I process the file using the syft cli and generate spdx. The spdx code generated is:

 "packages": [
  {
   "SPDXID": "SPDXRef-320fa0ac8fde1360",
   "name": "github.com/aws/aws-sdk-go",
   "licenseConcluded": "NONE",

Anything else we need to know?:
Environment:

Output of syft version:

syft 0.46.3

OS (e.g: cat /etc/os-release or similar):

OS X 11.6
** Screenshot**

Thanks for filing the issue @lucasgonze. We're currently taking a look at making license detection consistent for all outputs of syft. I'll add this issue in with the group of other license bugs that have been filed.

I just spent a while going through the syft code. I gained a bit of an understanding of how it works.
As far as I can tell, there is no stage wherein it gets the golang pkg license. Is that correct? The package info is added here, which includes no information about the license.
I can see a few ways to get the license:

Inside the golang cataloger: look at the package information as downloaded onto the system. This obviously only works if it is on the system that downloaded it, e.g. $GOPATH/pkg/mod/<pkg>@<version>/<license>, and thus is highly limited. But it would work. This is not done, as it would have to be inside the golang packager.
Inside the golang cataloger: look at the package URL and retrieve it from the Internet. This would work, and fairly reliably even without the source, but it also would have to be inside the golang cataloger and is not.
Outside the golang cataloger: have some standard way for specific catalogers (like golang) to report, "this is my package URL and commit/version", and then the generic cataloger would know, "if I found that, I can get the license". I didn't see this there either.

Is my analysis correct @spiffcs ? Is there anything in progress? If not, how can we assist?

Having resolved the apk package issue with #1540 with the help of @kzantow , I want to try and submit a PR for this as well, but need some help.
Send me some pointers based on the previous comment, and I will get a PR started.

Hey @deitch -- one thing we want to be very cautious of is connecting to external (network) sources. We have users of Syft on air-gapped environments where this won't work. We are not opposed to adding things that reach out to the internet, but need to make sure these are not enabled by default and/or can be disabled.
We are currently searching for Node package licenses in node_modules if they are downloaded -- much like the suggestion to look in $GOPATH/pkg/mod/<pkg>@<version>/<license>, so I don't think anyone would object to using that approach if we are able to find downloaded files.
That said, are there any go commands that might get this information for you? We are also looking at improving build-time information by shelling out to ecosystem tools like go and mvn. Maybe this could be a start?

I'll dig back into the tools, but I don't recall any that provides it offhand.
The challenge with relying on the pkg directory is that it only exists on the build machine. If you scan it elsewhere - very obvious example is a container image - then all of that doesn't exist.
I agree about reaching out to the network as a problem for airgapped environments, or anyone who doesn't want to be connecting outwards. My thought was to do it as an option. Something like
syft packages --retrieve-licenses ./path/to/root

Or retrieve-licenses=true where the default is false.
That says, "if you come across a package (of any kind) whose license might be retrievable from the network, attempt to do so if the option is true."
Would that work?

authors: deitch kzantow lucasgonze spiffcs

repo: anchore/syft


text:
change to trigger timeout

Signed-off-by: Christopher Phillips christopher.phillips@anchore.com

Could not replicate timeout issue on this branch


text:
[Finish #126670803] Enable redux devtools

Enable redux devtools and configure hot reloading during development

Coverage decreased (-0.2%) to 82.791% when pulling 1addeab59710e7d86f43ba41c90f0f2467c215a3 on chore/configure-redux-devtools into a1542075d3dd821bf8a3aeac28d17eafc7fc02a7 on develop.

authors: andela-jmuturi coveralls

repo: andela-jmuturi/docman-react-redux


text:
If there is no video in a category, it should have a message that shows the user that there are no videos in that category yet

It shouldnt just be blank

Resolved

authors: andela-kerinoso unicodeveloper

repo: andela-kerinoso/learn-it


text:
Fixed copy_from source parameter

The name was wrong.

Thanks for spotting this, I changed the name of the app and missed that one out 😣

My first "Elm" pull request! Now I feel like a full-fledged member of the Elm Community! Thanks again for writing phoenix-elm-scaffold. It helped me a lot!

@chatterbeak that's awesome, glad it was of some use, and thanks for your input.

@chatterbeak that's awesome, glad it was of some use, and thanks for your input.

authors: andrewMacmurray chatterbeak

repo: andrewMacmurray/phoenix-elm-scaffold


text:
🛑 plexd is down

In a916ee0, plexd ($PLEXD) was down:

HTTP code: 401
Response time: 286 ms

Resolved: plexd is back up in 2196179.

repo: andrewdavies-net/upptime


text:
Unavailable devices not showing last update time

Devices that are no longer available are not showing the last update time. For example this LIFX light:

However the information IS there:

Is there any way to have it displayed in these circumstances?

Homeassistant fix was merged and will be released in 0.50
CustomUI fix was merged and will be available in the next release (in a few day hopefully)

authors: andrey-git mihalski

repo: andrey-git/home-assistant-custom-ui


text:
🛑 Z Community (WP) Home page is down

In 8deec98, Z Community (WP) Home page (https://community.ibm.com/zsystems/home/) was down:

HTTP code: 403
Response time: 85 ms

Resolved: Z Community (WP) Home page is back up in 0e7243c after 9 minutes.

repo: andriivasylchenko/upptime


text:
Using a different set of characters as cell separator

I currently use |  as a separator (There is a space right after the | character) instead of the usual four spaces. As of now, it highlights everything in one single color.
Unless I misunderstood the instruction, changing the value in Robot.tmLanguage didn't work for me.
i.e. I'm trying to replicate the Pipe and space separated format as described in the RF docs.
Here is the content of the file.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>name</key>
    <string>Robot Framework Preferences</string>
    <key>scope</key>
    <string>source.robot</string>
    <key>settings</key>
    <dict>
        <key>shellVariables</key>
        <array>
            <dict>
                <key>name</key>
                <string>RF_CELL</string>
                <key>value</key>
                <string><![CDATA[| ]]></string>
                <!-- <string><![CDATA[    ]]></string> -->
            </dict>
        </array>
    </dict>
    <key>uuid</key>
    <string>23650265-9dfb-4d5f-9ed0-0928ba59a796</string>
</dict>
</plist>

I don't actively use and therefore I don't always remember to test pipe separated syntax. It very well might be that you have found a bug. But to fully understand your problem, would it be possible see a screen capture it example file which demonstrates the problem.

Here is the code:
*** Settings ***
Library       OperatingSystem

*** Variables ***
${MESSAGE}    Hello, world!

*** Test Cases ***
My Test
    [Documentation]    Example test
    Log    ${MESSAGE}
    My Keyword    /tmp

Another Test
    Should Be Equal    ${MESSAGE}    Hello, world!

*** Keywords ***
My Keyword
    [Arguments]    ${path}
    Directory Should Exist    ${path}

# Using Pipe Space Syntax
| *Settings* |
| Library | OperatingSystem |

| *Variables* |
| ${MESSAGE} | Hello world |

| *Test Cases* |
| My Test |
|  | [Documentation] | Example test |
|  | Log | ${MESSAGE} |
|  | My Keyword | /tmp |

| Another Test |
|  | Should Be Equal | ${MESSAGE} | Hello world |

| *Keywords* |
| My Keyword |
|  | [Arguments] | ${path} |
|  | Directory Should Exist | ${path} |

and a screenshot:

Ah, now I see. The problem is in the syntax highlighting definitions. Which is defined in here: https://github.com/andriyko/sublime-robot-framework-assistant/blob/master/Robot.YAML-tmLanguage and is the last definition in the file.
The keyword regexp is too aggressive at the moment and does not take in consideration the pipe separated format. The definitions are regexp and plain text files which everyone can edit. Would you be interested to find a fix and send a pull request? I am currently busy with SeleniumLibrary 3.0 release and I don't have time to investigate the problem deeper in the near future.

Sure! I will look into it
On Wed, Sep 27, 2017 at 10:12 PM, Tatu Aalto notifications@github.com
wrote:

Ah, now I see. The problem is in the syntax highlighting definitions.
Which is defined in here: https://github.com/andriyko/
sublime-robot-framework-assistant/blob/master/Robot.YAML-tmLanguage and
is the last definition in the file.
The keyword regexp is too aggressive at the moment and does not take in
consideration the pipe separated format. The definitions are regexp and
plain text files which everyone can edit. Would you be interested to find a
fix and send a pull request? I am currently busy with SeleniumLibrary 3.0
release and I don't have time to investigate the problem deeper in the near
future.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/andriyko/sublime-robot-framework-assistant/issues/200#issuecomment-332729486,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADS0WDLEkoUcjxyO07kLPNUL2OT0sV2yks5smyq5gaJpZM4PmGQv
.

n00b question: how do I go to test my changes? simply modifying the YAML-tmLanguage file doesn't seem to have any effect

It could be that then it was this file, Sublime has strange syntax definition: https://github.com/andriyko/sublime-robot-framework-assistant/blob/master/Robot.tmLanguage
Also reboot of Sublime is needed

Did you happen to solve the problem? If yes could perhaps provide pull request to solve the problem?

Still working on it, I'm still fairly new to regex. So far, I have managed to get the Table keywords to get highlighted properly. I'm currently have problems delimiting the scope of some of the highlighting keywords. I will start working on it again in the next few days since I have been busy with at work.

No worries, take your time. It's good that you had some progress on the matter.
Unfortunately I am not able to help you with the problem solving, because my time is spent on the SeleniumLibrary release 3.0.

Alright, I will adding some of the changes to my fork within these days if
anyone is interested
On Wed, Oct 11, 2017 at 1:17 AM, Tatu Aalto notifications@github.com
wrote:

No worries, take your time. It's good that you had some progress on the
matter.
Unfortunately I am not able to help you with the problem solving, because
my time is spent on the SeleniumLibrary release 3.0.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/andriyko/sublime-robot-framework-assistant/issues/200#issuecomment-335727693,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADS0WJHjG4kIPZDYClIcvD_-DF6jLvGwks5srHmIgaJpZM4PmGQv
.

Could you send a pull request? It doesn't have to fully ready but it would be nice to see the changes.

Could be also nice to have fixed highlighting if somebody use TABs instead of spaces.

@pavoltravnik please raise an separate issue about the tab support.

authors: aaltat knight-corvi pavoltravnik


text:
Sample code contains case in the wrong switch-statement, will lead to errors

CheckoutActivity has wrong logic: case WalletConstants.RESULT_ERROR is contained in the wrong switch statement and because of that it checks requestCode instead of resultCode as it should.
This may misguide developers and lead to errors in their apps with Android Pay integration.
Relevant lines of code could be seen here.

@dimsuz thanks for catching this!  Would you like to submit a PR?

I might create a PR, but a bit later then. Quite busy right now. I noticed this error is also present in other activities/fragments (ConfirmationActivity.java).

@dimsuz thanks for pointing out the bug. 👍
@samtstern can we close the issue?
My bad, I forgot to mention it with fixes keyword from commit. 🙏

authors: 8ofproject dimsuz samtstern

repo: android-pay/androidpay-quickstart


text:
Removes deprecated samples from main

Continuing https://github.com/android/health-samples/pull/313

@breanatate also worth double checking if there is any Documentation page linking to those samples before removing from main (if the documentation for views still exists you can update to link to the deprecated branch)

repo: android/health-samples