text:
bug fix:  魅族手机某型号拿不到系统语言

魅族手机 navigator.languages 为空数组，拿不到系统语言，增加 && navigator.languages.length判断条件，可解决此bug
Please makes sure the items are checked before submitting your PR, thank you!

[ ] Rebase before creating a PR to keep commit history clear.
[ ] Only One commit
[ ] No eslint errors

Codecov Report

Merging #3412 into v2 will decrease coverage by 0.1%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##               v2    #3412      +/-   ##
==========================================
- Coverage   19.41%   19.31%   -0.11%
==========================================
  Files         226      226
  Lines        5603     5603
  Branches      710      710
==========================================
- Hits         1088     1082       -6
- Misses       4396     4402       +6
  Partials      119      119

Impacted Files
Coverage Δ

src/components/inline-calendar/util.js
71.76% <0%> (-7.06%)
:arrow_down:

Continue to review full report at Codecov.

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

authors: codecov-io wangqh


text:
🛑 Turnos 24x7 is down

In e18c557, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Turnos 24x7 is back up in f152382.

source: gharchive/issue

repo: aisa-status/status-upptime-dev

license: MIT

license_type: permissive

license_source: github-api


text:
🛑 Panel Chatroom is down

In 0e01b17, Panel Chatroom (https://chatroom-dev.alternativasinteligentes.com/) was down:

HTTP code: 403
Response time: 97 ms

Resolved: Panel Chatroom is back up in 18e7390.


text:
配列代入時に存在チェックをする

What

例えば
let a = []
a[2] = 'foo'
a[6.21] = 'bar'

などが可能になってしまっているのを修正します。
Why

#490
Additional info (optional)

扱いとしてはバグ修正になると思いますが、一応破壊的です。

@syuilo

source: gharchive/pull-request

repo: aiscript-dev/aiscript


text:
Readme structure

This a great resource for all things generative AI glad I was linked to this!
A couple of thoughts I had on the readme, please feel free to disregard though!
The announcements and explore resources at the top of the page is great.

Best of Gen AI papers list - its a large table at the start of the readme which I wonder whether it would be better on its own page that you provide a link on the readme
1.1 Or you could provide a way to just have the latest paper that day or week and link to the full month list elsewhere in the repo.
1.2 The abstracts could do with some spaces for easier reading, reading a block of text can be off putting.

Courses section wonder whether is it worth linking to the notion site rather than individual markdown pages which has slightly better user interface (Was the plan to use the notion as the focus point of the course?)

List of free genAI courses - I know this is part of awesome guide/list modus operandi to provide as many resources as possible but I do think its is overwhelming for beginners and experts a like without context of what these resources give. I very much like the 5-10 resources of a honed in area of generative AI. I tend to find anything more than 10-15 resources per a section is just overwhelming unless there are key differentiators between resources, or particular unique ways in which things are explained.

Provide for each course concisely what the person is going to get out of it, i.e is it practical, theoretical and what will they be able to do afterwards. This is also speaks to not necessarily have duplicates of content (10's of beginners in LLM for example that all cover the same things) unless there is a very good reason.

3.1 People learn in different ways, text, audio, video - I personally hate video content, the urge to skip is too high for me, but for others its great - some indication of the type of content is super useful when scrolling a list of courses.
Again amazing work!

@medic-code Thank you so much! Your feedback is super thoughtful :)

I have a dedicated page for monthly papers, but I put it on the README as well for better visibility. I'd love to update it more often (weekly maybe), but I haven't had the time, it's something you should see soon
1.2 Thanks for the abstract suggestion. I'll try breaking it up for easier reading.

I originally started the course on Notion, but many people told me they couldn't find it with a quick Google search. That's why I copied it here too, hoping for better indexing.

Thanks for mentioning this concern that others have also raised. I understand where you're coming from. This might help--for beginners, I've put together a roadmap of helpful courses.

However, for this list, I intended it to be a directory of all courses, more like a news page with announcements rather than a curated list of top courses. Great point on adding more context to the course listing, honestly, I haven't had the time to go through each course thoroughly and add more details. I want to be sure that any additions I make are accurate and reliable.
Nevertheless, these are great suggestions though, really appreciate you taking the time. I want to include them in my roadmap when I find the time to revamp this.
--Aish

Hi @aishwaryanr you're welcome! Realise i don't have full context to how the repo has developed over time so super useful to get your insights into that.

I presume that you're manually updating this on a monthly basis (looking at the commit history) - Maybe this is something you can call out you would like some support with ? You may not get a bite but could be a useful way to others to contribute. Also realise that there's something nice about curating this yourself though so wouldn't want to take that away from you.

Ah that makes sense - I had no idea that notion was not particularly well indexed - perhaps this makes some kind of sense though. For what its worth the difference is minimal in terms of user interface, but perhaps a thought for the future if you wanted to build beyond markdown or notion. There's definitely a lot of scope and I like the reading material and linking out to other resources, this is my preferred way of learning along side projects.

Yeah I can't imagine I'm the first to mention it. I think it's worth thinking on what the purpose of having a directory of all courses means to you.

3.1 Definitely a high expectation for you personally to go through these course listing in depth, nobody has the time - but perhaps its something an open call to contribute to may be able to help support this ? Totally understand that you want it to be accurate and reliable though - this is the challenge of open source but atleast contributions can be reviewed. It's also a tough balance of providing context that is concise and useful whilst not providing huge blocks of text.
Just FYI I really like the way you're going about course creation - reading materials + external resources + mini projects is a great combination.
Just an additional idea but I wish there was more content on the process of knowing when AI is necessary and how to think through the approach to a project (Chip Huyen's MLOps book is a good example and Eugene Yan's content 1 2. Courses to learn about a field or to do a specific thing are great but this idea focusing on the problem and evaluating where AI fits into it or not is such an important thing that gets missed. My background is in healthcare and I'm constantly thinking about this.

@medic-code
Thanks so much for the great pointers on seeking community help for paper curation and course details. Scaling is definitely something I need to work on. For now, I dump paper links in a google sheet as I find them, and at the end of each month, I filter and review them. I have an LLM agent pull the PDFs, generate the markdown table, and publish it to this repo. We could definitely open the stage for others to submit PDFs once the repo gains more visibility.
Your point about explaining where generative AI might(not) be needed is also super interesting. I'm often so immersed in working with folks deeply involved in gen AI that I sometimes lose sight of how it might seem to those outside the field. This is definitely something I can create content on.
I truly crave this kind of feedback—it's so well thought out and incredibly helpful 😄
Please keep the suggestions coming if you have any more ideas!

No worries glad to help where I can.
Sounds like you have an automated pipeline apart from finding them, filtering and reviewing the papers - tricky to automate effectively that part of the process, but community may be able to help scale this a bit again I could understand you wanting to keep this between you and a few people though for curation purposes.
I think this strand of thinking about where gen AI might not be needed comes from a few places, one is my background is in healthcare where as 99% of people do not think about gen AI, so the mode of this type of thinking is abduntant. This is changing of course and particularly seeing more and more people being comfortable with the idea of AI in general. There are some use cases of gen AI in this space from abstract creation, to administrative tasks (we’re in the medical education and LLM space)
Additionally I think it goes beyond thinking about where gen AI is not the tool of choice,  it is also about being able to articulate clearly how does gen AI solve a problem ? This requires an understanding of the limitations, the capabilities and the perhaps with some experimentation and new discovery potential capabilities of gen AI or where are the pain points so high for humans i.e parsing millions of papers, things beyond the human mind’s capacity so that the possibility of assistance to humans becomes a opportunity for a truly interesting project or product.
I think it’s valuable for everyone especially in the gen AI SDLC to interrogate, scrutinise and play an important influencing part in value prop design or to be able to articulate it in a design doc. To me it only enhances the type of project you want to do in gen AI to consider this stuff. For those getting started in ML it’s a bit much, but if you are a serious enthusiast and wanting to be job ready this is a really important aspect that makes people stand out from an outsiders perspective. The one way I know how to sink a gen AI product is to not solve a problem.
What’s more most of the content about this area is relatively superficial in this regard, anyone can read a list about what are gen AI’s strengths or limitations are, but perhaps people are not so aware is the data to back this up or how to articulate that effectively in relation to a specific project.
Couple of other ideas in my mind and there’s bias here towards healthcare and those who are not involved in implementing - but I’ll throw them out there.

Critically appraising company’s AI and healthcare research - this is is skill set clinicians will need to get up to speed with. At the moment there are 800 devices approved by the FDA, and some small amounts Class iIb (inform clinical decision making) products in the EU so its coming whether clinicians like it or not.

Knowing how to make educated guesses of the type modelling you’re going to use for a particularly use case and critiquing those models. You see in the methodology of papers what they’re using, but why did they make that choice, what could they have done better ? Is an important consideration when reading the healthcare/ai literature - Again there is materials and even frameworks for this but I don’t know of many of those who are best placed to answer these questions are framing it in this way.

How do effective end to end testing - I’m constantly testing a new deployed build from a clinical and QA perspective - but it always feels clumsy and not systematic - I haven’t seen so much content on this.

Perhaps an issue post may not be the best way to capture this type of information.

On 19 Jun 2024, at 19:59, aishwaryanr @.*** @.***>> wrote:
@medic-code https://github.com/medic-code
Thanks so much for the great pointers on seeking community help for paper curation and course details. Scaling is definitely something I need to work on. For now, I dump paper links in a google sheet as I find them, and at the end of each month, I filter and review them. I have an LLM agent pull the PDFs, generate the markdown table, and publish it to this repo. We could definitely open the stage for others to submit PDFs once the repo gains more visibility.
Your point about explaining where generative AI might(not) be needed is also super interesting. I'm often so immersed in working with folks deeply involved in gen AI that I sometimes lose sight of how it might seem to those outside the field. This is definitely something I can create content on.
I truly crave this kind of feedback—it's so well thought out and incredibly helpful 😄
Please keep the suggestions coming if you have any more ideas!
—
Reply to this email directly, view it on GitHub https://github.com/aishwaryanr/awesome-generative-ai-guide/issues/13#issuecomment-2179322534, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOKD2E6SMEFSGBEJITXPINLZIHIKXAVCNFSM6AAAAABJMOVPAOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZZGMZDENJTGQ.
You are receiving this because you were mentioned.

authors: aishwaryanr medic-code

repo: aishwaryanr/awesome-generative-ai-guide


text:
paper about this project

hello, Do you have any papers on this project？

Hi, thanks for your interest. Yes, we have a paper. We expect to publish it soon, and will let you know when the paper is published.

Hi, you can check our paper here. It is noted that this is not the final version in terms of the journal format.
https://doi.org/10.1093/bioinformatics/btaa540

这是来自QQ邮箱的假期自动回复邮件。

您好!我已收到您的邮件！

repo: aistairc/DeepEventMine


text:
validate generated service list

Validates input service list being generated as expected

2023/01/19 16:31:27 not all services are generated:   []string{
  	"mysql",
  	"cassandra",
  	"grafana",
- 	"postgres",
  }
exit status 1

repo: aiven/aiven-operator


text:
Client Error: 403 Response

# Pull pretrained model from NGC
!ngc registry model download-version nvidia/tlt_pretrained_classification:resnet18 --dest $LOCAL_EXPERIMENT_DIR/pretrained_resnet18
Throwing 403 Response
Client Error: 403 Response:  - Request Id:  Url: https://ngc.download.nvidia.com/models/org/nvidia/models/tlt_pretrained_classification/versions/resnet18/files.zip?ak-token=exp=1622811973~acl=%2fmodels%2forg%2fnvidia%2fmodels%2ftlt_pretrained_classification%2fversions%2fresnet18%2ffiles.zip*~hmac=0c016b601f81c4c3766ed1ce9c136d2399ac6735d324687dbf471f8d7022b008
Downloaded 0 B in 1s, Download speed: 0 B/s

Transfer id: tlt_pretrained_classification_vresnet18 Download status: Failed.
Downloaded local path: /home/ubuntu/Saurabh/nvidia-tlt-get-started/classification/pretrained_resnet18/tlt_pretrained_classification_vresnet18
Total files downloaded: 0
Total downloaded size: 0 B
Started at: 2021-06-04 12:06:13.455386
Completed at: 2021-06-04 12:06:14.457516
Duration taken: 1s

For data
https://drive.google.com/file/d/1JBjo6I-tT-wCHGJcWWop7Rg4_wzWsU4n/view?usp=sharing
URL does not exist.

repo: aj-ames/nvidia-tlt-get-started


text:
Update README.md

readme file changes

It was a test

authors: ajithnow faathimapashraf

repo: ajithnow/hotel-manager-laravel


text:
🛑 UK is down

In 3d3be93, UK (https://www.bricks4kidz.co.uk) was down:

HTTP code: 0
Response time: 0 ms

Resolved: UK is back up in a947112.


text:
"useDefaults" Doesn't populate arrays unless they exist

What version of Ajv are you using? Does the issue happen if you use the latest version?
I am using AJV version 6.12.5 with node.js version 12.18.4
Bug description
I want to populate an Array with values and create them if they don't exist, using the "useDefaults: true" parameter. Arrays are not populated unless they are initialy created.
Your code
const Ajv = require('ajv');

var schema = {
    "properties": {
        "owner_list": {
            "type": "array",
            "items": [
                {
                    "type": "string",
                    "default": "test"
                }
            ]
        },
        "required": [ "owner_list"]
    }
}

var data = {};
var ajv = new Ajv({ useDefaults: true });
var validate = ajv.compile(schema);
console.log(validate(data)); // true
console.log(data); // Data is {}, expected to be { owner_list: [ 'test' ] }

However if i populate my initial object with an array, like so, it is populated with values :
/* ... */
var data = {owner_list :[]}; // changed the initial object to include an array
var ajv = new Ajv({ useDefaults: true });
var validate = ajv.compile(schema);
console.log(validate(data)); // true
console.log(data); // Data is now { owner_list: [ 'test' ] }

What results did you expect?
The object should be populated with the array and values if it doesn't exist. Regular values are behaving this way. Also the documentation at https://github.com/ajv-validator/ajv#assigning-defaults seems to indicate it should work this way (sorry if I
misinterpreted something)
Are you going to resolve the issue?
I am going to find a workaround for my code, however I don't know if I'm competent enough to improve AJV.

"It's a feature not a bug" :)
The way validation works (and it likely to be quite bad for performance to change) compiled code only is executed for the data that exists - so defaults in items are never processed if items are not validated.
Arguably, in some cases it may be important to have different behaviours for partially missing items in the array/tuple schema and for completely missing array.
A solution is to add default: [] on the level of the array in the schema:
{
    "properties": {
        "owner_list": {
            "default": [],
            "type": "array",
            "items": [
                {
                    "type": "string",
                    "default": "test"
                }
            ]
        },
    },
    "required": [ "owner_list"]
}

Also, 2 extra points:

"required" in the example is on the wrong level, corrected above.
without additional keywords this schema allows both empty array (although useDefault adds the item) and more than 1 item - ajv v7 would log warning for this schema. minItems/maxItems/additionalItems can be used to add these requirements.

Thank you for the advice, the "default": [], worked for me
I removed all other part of my schema this is why its missing a lot of information

authors: Vaylle epoberezkin

repo: ajv-validator/ajv


text:
stock_irm_cninfo深交所互动平台，增加返回结果字段

@albertandking 观察了一下接口返回的数据，建议增加attachedId, attachedContent,attachedAuthor三个字段可以加入到返回的big_df结果中，如果该问题有被回答，回答内容是attachedContent,回答者是attachedAuthor（attachedPubDate似乎都是null暂时没有被用到），这样一个接口访问就能初步返回问和答的所有内容，可能无需再次针对每个问题id去访问stock_irm_ans_cninfo。请帮忙看一下，非常感谢~~
def stock_irm_cninfo(symbol: str = "002594") -> pd.DataFrame:
    ...
    big_df.rename(
        columns={
            "indexId": "问题编号",
             ...
            "attachedId": "-",
            "attachedContent": "-",
            "attachedAuthor": "-",
            "attachedPubDate": "-",
             ...

@albertandking 观察了一下接口返回的数据，建议增加attachedId, attachedContent,attachedAuthor三个字段可以加入到返回的big_df结果中，如果该问题有被回答，回答内容是attachedContent,回答者是attachedAuthor（attachedPubDate似乎都是null暂时没有被用到），这样一个接口访问就能初步返回问和答的所有内容，可能无需再次针对每个问题id去访问stock_irm_ans_cninfo。请帮忙看一下，非常感谢~~
def stock_irm_cninfo(symbol: str = "002594") -> pd.DataFrame:
    ...
    big_df.rename(
        columns={
            "indexId": "问题编号",
             ...
            "attachedId": "-",
            "attachedContent": "-",
            "attachedAuthor": "-",
            "attachedPubDate": "-",
             ...

感谢反馈问题；已新增相关字段，升级到 AKShare 1.10.76 使用

authors: albertandking firezym

repo: akfamily/akshare


text:
func name conflict crash

my lib let's named it test.so deponds on jansson.so, and my app deponds on test.so, but app also got a func named "json_object" which is conflicted with jansson.
so there will get a mess call in app which may lead to a crash,.
is there any way to avoid it under the case not change the code. because both jansson and my app is a open-source project, i don't want to invade the code

i found that jansson-2.11 will cause my app carsh, but when i update jansson verion to 2.14, the bug is gone, i wonder why?

Jansson has switched to using versioned symbols in v2.14 specifically to help with name clashes between libraries.

repo: akheron/jansson

license: mit

license_source: bigquery


text:
jetty 9 uses thrice more time to start then jetty 8

I do not know if it has to do anything with gretty plugin or jetty itself. When I run jetty 9 as a standalone server it starts almost instantly and deploys my app in about 10 seconds but when I run gradle appRun I have to wait at the step INFO  - jetty-9.2.1.v20140609 for about 50 seconds. If I change to servletContainer = 'jetty8' the step only takes about 15 seconds. When I turn on debugging I can see endless messages like [DEBUG] [org.eclipse.jetty.util.Scanner] scan accepted  /home/artyom/IdeaProjects/prj1/src/main/webapp/WEB-INF/... with different paths, so I think it is connected with scanning jetty performs. By any chance do you know why there is such a big difference between jetty 8 and jetty 9 and what I can be done about it?

@TomDmitriev Hi Artyom, may I know what kind of hardware issue is causing this problem? I am currently having same endless log like '[org.eclipse.jetty.util.Scanner] scanned [dir, dir, ..........]' when using appRun. Thanks.

authors: TomDmitriev xhkz

repo: akhikhl/gretty


text:
Inquiry Regarding Confidence Threshold in CZ Detector for VisDrone Dataset

In the paper, it mentions that a confidence threshold of 0.7 was used for the CZ Detector to obtain 1-3 crops per image for a fair comparison. However, in your provided code, I noticed that the confidence threshold is set to 0.85 in the rcnn_crop.py configuration.
In particular, I noticed that when the confidence threshold is set to 1 during evaluation, the AP results are nearly identical to those obtained with a threshold of 0.85, despite no cropped regions being processed when the threshold is set to 1. This outcome raised some questions for me regarding the behavior of the detector under these conditions.
Could you please clarify why this happens, and whether this is expected behavior when the confidence threshold is set to 1? I would also appreciate any insights into why 0.85 was chosen as the default threshold in rcnn_crop.py instead of 0.7.
For more details, during my testing, I used the following command for training:
python train_net.py
--num-gpus 1
--config-file configs/RCNN-FPN-CROP.yaml
OUTPUT_DIR outputs_FPN_CROP_VisDrone
For evaluation, I modified the confidence threshold but did not change any training-related parameters. The evaluation command was:
python train_net.py --eval-only --num-gpus 1 --config-file configs/RCNN-FPN-CROP.yaml MODEL.WEIGHTS model_0089999.pth
I noticed that the confidence threshold is set to 0.85 in the rcnn_crop.py configuration.
(crop_boxes = crop_boxes[crop_boxes.scores>0.85])

Here’s the result of evaluation using a confidence threshold of 0.7:

Here’s the result of evaluation using a confidence threshold of 0.85:

Here’s the result of evaluation using a confidence threshold of 1:

Hi Li,
The threshold of 0.85 might be because I pushed a version when I was experimenting with a different set of values.
When using Faster RCNN, the difference in gain for overall mAP is not that big in my experience too (I got something in the range of 0.3-0.5). However, the small objects AP is improved;  You can also see that when you use 0.7 the APs is 26.19 and when you use 1 (no crops) the APs is 25.61.
However, the FCOS detector had a different profile. For FCOS, the overall mAP showed a difference of 1.2-1.4 when the threshold was set properly. As you can see from the tables in the paper, FCOS performs better than Faster RCNN.
I think Faster RCNN is already filtering ambiguous small object detection in its two-stage process after training with augmented crops. FCOS on the other hand deals with many more candidate regions before the filtering (the NMS), so the detection from scaled crops is helping it with more confident small object detection.

authors: Lawliet-Li-zhenting akhilpm


text:
v1.0.7

Development Changes

Source files are now in ES2015, compiled with Babel
ESLint replaces JSHint and JSCS
Tests are refactored and now in CoffeeScript
Automatic deployment added through Travis

Coverage remained the same at 100.0% when pulling d12b7bbb9ce104fd253afec83d176eaba14a025c on next into d9b0882e9ba7821d0e20b69ed0da204d3530a05a on master.

Coverage remained the same at 100.0% when pulling 49df81412988438debeaa2c2a1a79035658b5ea3 on next into d9b0882e9ba7821d0e20b69ed0da204d3530a05a on master.

authors: akim-mcmath coveralls

repo: akim-mcmath/gulp-transform


text:
user database is broken after daemon restart

show stopper again!
from Travis Build 429.3
https://travis-ci.org/akiradeveloper/akashic-storage/jobs/117433286
at the first start I created a user
userId: 8eVWYLNBKHWzI8IbmvHBXnXb6S6rKQSb0oE4CtT7E29iXvqN3Xt9aPcNmrHyqO45

and after restart, I created an another user then it should be two users in the db
userId: YS4bC2evVS9vcuV9Khb0HkjqM4bLaw0CIGyTQdPTcjCUU3I8EmznxhQBQHbukHBZ

but the result of akashic-admin-list is only one user created after restart.
<AdminListResult>
     <UserId>YS4bC2evVS9vcuV9Khb0HkjqM4bLaw0CIGyTQdPTcjCUU3I8EmznxhQBQHbukHBZ</UserId>
</AdminListResult>/tmp/akashic-storage-test

this is why all the authorized requests don't succeed after restart
mc: <ERROR> Unable to stat ‘aka’. The request signature we calculated does not match the signature you provided. ...
mc: <ERROR> Unable to stat ‘aka/myb/’. The request signature we calculated does not match the signature you provided. ...

caching issue?

this is probably a caching issue.

make a user
restart
make a user (! without reloading from backing store)
get a user -> not found

There should be a unit test for caching package.

make a Cache[String]
put a String
call invalidateAll against guava.Cache (then all in-memory cache is lost)
get a String
get a String // idempotency check

fixed by https://github.com/akiradeveloper/akashic-storage/commit/3c5a499d0a98e5c7b021b82cc88433ad7601bd4f

repo: akiradeveloper/akashic-storage


text:
Allow set style for slide

https://github.com/akiran/react-slick/blob/80eb208cb7454cc63621f3bcf07a2b8c32999afa/src/slider.js#L178
{
   ...children[k].props.style,
   width: `${100 / settings.slidesPerRow}%`,
   display: "inline-block"
}

It mess with my code, idk why this piece is in the package codebase anyway, after removing it everything seems to work like usual...

authors: AgainPsychoX borm

repo: akiran/react-slick


text:
overflow-x-auto on react-slick hompage website

there is currently an overflow on the homepage of react-slick
i guess this can be fixed by setting the width to 100%

We are rebuilding the docs with Docusaurus. This will be fixed in the new docs

authors: akiran dev-phantom


text:
Watch Player option

What problem is this solving
I'd love for there to be a "Watch Player" option, like in v2. Skipping deaths/freezetime.
Proposed solution
Reimplement #346
Describe alternatives you've considered
No response

legend, thanks for implementing that so fast

If the player stays alive, when he advances to the next round the hud time counter becomes buggy in several situations.
Thank you also for this update!

repo: akiver/cs-demo-manager


text:
Update note indent support

This should be merged after #23 as it fixes the issue I raised in my comment there.

LGTM 👍
I didn't recognize this pattern.
    note as N1
        foo
    end note

authors: hokorobi scrooloose

repo: aklt/plantuml-syntax

license: Vim


text:
Issue with phenoptr: multi-radii spatial analysis error/namespace

Hi,
I installed the newest version of R (3.5.3) and RStudio (1.2.1335). I also installed the latest version of "phenoptr" and run my usual script for multi-radii spatial analysis of my samples (obtained using Inform 2.3):

library(phenoptr)
base_path <- '~/OPAL R ANALYSIS/Mac panel/SPATIAL ANALYSIS/MULTI-RADII/IMminGC/'
pairs <- list(

c('AE1AE3', 'CD68CD163'),
c('AE1AE3', 'CD68CD163CD206'),
c('AE1AE3', 'CD68CD163CD206IRF8'),
c('AE1AE3', 'CD68CD163IRF8'))

radius<-c(10, 20, 30 ,40)
counts <- count_within_batch(base_path, pairs, radius, verbose=FALSE)
Loading required namespace: rtree
Failed with error:  ‘there is no package called ‘rtree’’

Am I doing something wrong? What can I do to solve this error and run my script?
Previously I had been running R v3.3.1 and the same script run perfectly.
Thank you.

rtree is a suggested dependency of phenoptr, meaning that is not installed if you used the default installation via remotes::install_github(). You can either install rtree with
install.packages("rtree")

or you can re-install phenoptr with all dependencies, including those listed in Suggests, with
remotes::install_github("akoyabio/phenoptr", dependencies = TRUE)

You may also need to add force = TRUE if install_github() says that the package hasn't updated since last install.

Despite the scary message, I think your script has run correctly. Can you check if you got the expected results?
Options:

Re-install phenoptr - I just pushed a change that removes this message (which is really an informational warning).
Install rtree as @gadenbuie suggests; when it is installed, count_within_batch is much faster.
Set options(use.rtree.if.available=FALSE) which will entirely restore the old behavior which does not check for or use rtree.

Thank you @gadenbuie for your suggestion. I did as you suggested (reinstall with all dependencies) and my script run perfectly.
Also thank you @AB-Kent. After reinstalling with all dependencies, count_within_batch is much faster.

authors: AB-Kent Athanasios72 gadenbuie

repo: akoyabio/phenoptr

license: Zlib


text:
Banner tagline text is not visible in light mode.

🐛 Banner tagline text is not visible in light mode
In the banner, we can barely see the tagline text in light mode. It can be fixed and will be easy to catch.
Expected behavior
The tagline text should be easy to catch in the eye. For example, it could be white or gray-white colored at least.
Screenshot/Video
https://github.com/akshitagupta15june/PetMe/assets/122348996/cf2b8687-6fe7-4a65-a831-1362d2b9c53d

I want to work on it! Waiting to be assigned to this task.

Please allow me to work on this


text:
Navigation state is lost when sending the app to background

Version
Tell us which versions you are using:

react-native-router-flux 3.37.0
react-native 0.41.2

Expected behaviour
When switching between applications, like the browser or whatsapp, when returning to the application that uses react-native-router-flux it stays in the current navigation state I'm currently in,
Actual behaviour
It will  always return to "root" Scene and lose every data placed in forms
Steps to reproduce

Install and build the Example from this repo on a device
Run it, navigate, let's say, "Go to Login page"
Press Home button or the window switch physical button
Come back to the app, it's now in the "Launch page" again

@pocesar Can you try with the latest release?

same thing

Is this in the device or emulator? Do you have free memory?
This is very bizarre.

yes, on a Samsung J7, android 6.0.1

my bad, I forgot I left "Do not keep activities" on "Developers options" turned on on the device, it's fine now.

@pocesar I'm having some trouble with this. I've ran through the same steps as you, and have "Do not keep activities" off. I have also not been able to get this to work with my own examples and various other version combinations.
Does keeping nav app state require a specific run environment?
I've tried via react-native run-android and an APK build. I also can't get it to work on Genymotion.
Device: Huawei Nexus 6p, version 7.0
"react-native": "0.41.2",
"react-native-router-flux": "^3.37.0",

@win45 not that I'm aware of. although I'm using redux and redux-persist, and 'hacking' the createReducer to try to keep at least the minimal state required for the app to funcion

@pocesar Ok, I really wasn't understanding this correctly. I was expecting nav state to persist out of the box using the example code, but by hacking the createReducer your then explicitly storing the nav state before 'background', and fetching it at 'foreground'  - correct?

@win45 yes, after you leave the app or restart your phone, the state will be lost, the only way is to persist the current scene somewhere

As long as the phone only suspends the application, state will be preserved. But if they leave the app, it will reset navigationState.

We are facing the same issue with our app. Always start from the root view

authors: cridenour gustavonecore pocesar win45

repo: aksonov/react-native-router-flux


text:
How to redirect to sub-scenes?

Hello,
My scenes are:
<Scene key="root" hideNavBar={true}>
    <Scene key="signPhone" component={SignPhone} initial={true} />
    <Scene key="signUp" component={SignUp} />
    <Scene key="signIn" component={SignIn} />

    <Scene
      key="app"
      tabs={true}
      tabBarStyle={{ height: 60, backgroundColor: '#BE446D' }}
    >
      <Scene key="profile" navBar={Header} component={SignPhone} title="Minha conta" icon={ProfileIcon} />
      <Scene key="appointments" navBar={Header} icon={DesqerIcon} initial={true}>
        <Scene key="calendar" component={Calendar} initial={true} />
        <Scene key="new" component={New} title="Criar serviço" />
      </Scene>
    </Scene>
  </Scene>

Inside my component, i import the Actions from react-native-router-flux:
import { Actions, ActionConst } from 'react-native-router-flux'
But i can't figure how to redirect user to <Scene key="new".../>
I tried to do something like this:
Actions.app_appoitments_new() or Actions.new() and none of them worked.
Thanks.

I've worked around this in the past with the following. If you were navigating from "signIn":
Actions.app() Actions.appointments() Actions.new()
If you were already in the app scene you wouldn't need the first one. Not ideal, but it's worked for me.

Great! I just changed new to newAppointment because new is a reserved word in javascript. Thanks!


text:
IMPORTANT: v4 beta release is ready (v3 is not supported anymore)

Please check latest 4.0.0-beta.* , Example as demo:
https://github.com/aksonov/react-native-router-flux/tree/v4
V4 Features:

Based on latest https://reactnavigation.org API
Separated navigation logic from presentation. You may change now navigation state directly from your business logic code - stores/reducers/etc. navigationStore
Built-in state machine (former Switch replacement) - each ‘scene’ has onEnter/onExit handlers.
MobX-powered, all used scenes are wrapped as 'observer' automatically. You may subscribe to navigationStore (former Actions), observe current navigation state, etc. If you are using Redux, you still could pass your reducer factory to createReducer param for Router.
Flexible nav bar customization, that is not allowed by react navigation right now:
https://github.com/react-community/react-navigation/issues/779
Built-in reactnavigation drawer support (use drawer attribute for Scene and contentComponent to use your own Drawer)
'Lightbox' support (used by popups like Error alert within Example project)

Breaking changes (comparing to v3):

No duration/panHandlers support - you have to implement custom navigator now instead and pass it as ‘navigator’ prop:
https://reactnavigation.org/docs/navigators/custom

No support for partial hiding of tab bar for some tabs because of react navigation bug:
https://github.com/react-community/react-navigation/issues/1584

No possibility to skip animation during reset/replace:
https://github.com/react-community/react-navigation/issues/1493

Switch is removed - you may use onEnter (or just on) / onExit handlers for more flexible logic. They could be async functions. Success termination of onEnter will run success handler, failure handler will be run otherwise. You can pass just state keys to success/failure too. This way you can create very complex state machine and don't use Switch or navigation from componentDidMount.

getSceneStyle is removed (no needed in v4).

Custom reducer (‘createReducer prop for Router) - Redux actions now are passed from React Navigation (‘Navigation/BACK’, ‘Navigation/NAVIGATE’, etc.)

Drawer is 'drawer' attribute Scene

Modal is 'modal' attribute for Scene

No flux 'focus' actions - use onEnter/onExit handlers instead.

As you can see React Navigation still contains some issues, but anyway it is more stable than obsolete 'react-native-experimental-navigation' used by v3 now.
Here is link about road to v1 (so you can see all issues at one place):
https://github.com/react-community/react-navigation/issues/723

Good news, I love you!!

i love you.

How do you install version 4, I'm not seeing a tag or release for it?

It is with 'beta' tag. Latest beta for today is 4.0.0-beta.5

@AlmogRnD in package.json it would be:
"react-native-router-flux": "^4.0.0-beta.5",

Thanks this is perfect

Master is replaced with v4 now. v3 is moved to 'v3' branch.

Amazing Work!
I have a few questions though:

When is documentation for v4 is expected? Will it contain a tutorial for migration from v3 to v4?

if a future release of react-native will break something in v3, will it be fixed in v3 patch releases?

Thanks

@guysegal

We will start working on it next week. Yes, eventually migration tutorial will be created too - actually most API is the same, differences are already listed. Feel free to submit PRs, it is open-source project.

If community will submit PR/patch I will publish new v3 revision.

@aksonov awesome. But i have one q: why mobx in dependencies?

@Dictory mobx manages navigation state and reload navigators after state changes.

Hi off topic have you had a chance to look at my githup issue with redux
been stuck and can't move forward
On Jul 9, 2017 23:24, "Pavel Aksonov" notifications@github.com wrote:

@Dictory https://github.com/dictory mobx manages navigation state and
reload navigators after state changes.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/aksonov/react-native-router-flux/issues/1974#issuecomment-314016322,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAKWI6WV67Cc7UfOZmFjIdEe2ulQCPXYks5sMcOwgaJpZM4OOgfQ
.

@AlmogRnD Will do it today.

Thanks appreciate it, getting behind
On Jul 9, 2017 23:27, "Pavel Aksonov" notifications@github.com wrote:

@AlmogRnD https://github.com/almogrnd Will do it today.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/aksonov/react-native-router-flux/issues/1974#issuecomment-314016653,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAKWI1YiJnxYbHD5yl7PTtK9n5u4RIJRks5sMcRDgaJpZM4OOgfQ
.

Beautiful! How about further drawer attributes, like drawerPosition, initialRoutename etc.? Where or how would they be declared?

@bragur Check beta.7, you could define it as Scene props for drawer now

My lighting talk proposal about RNRF v4 version:
https://gist.github.com/aksonov/e2d7454421e44b1c4c72214d14053410

Can you explain pls the following statement:

Built-in reactnavigation drawer support (use drawer attribute for Scene and contentComponent to use your own Drawer)

In the API-documentation i've found nothing about it.
Is the new drawer-Attribute simply a boolean setting to true when a scene is managed by a drawer? I understood, that contentCOmponent is the attribute where to pass the final Drawer-Component is it was with "drawer" in v3

@itinance Please check Example project to see new drawer syntax.

I've just updated 'migration' docs about drawer.

@aksonov I just upgraded a really simple app from v3 to v4 (4.0.0-beta.17) and navigation just stopped working (no errors or anything in the console). I checked the breaking changes and migration file but I didn't see anything that affected my app so I haven't really changed anything. Not sure how to proceed:

(onPress for each song would execute this: const goToSongScene = () => Actions.song({song: this.props.song});). The callback executes but the Action call does nothing.
Is there anything there that you can see offhand? Or tips to go about debugging this?
Very much appreciate any help with this.
Thanks.

Nm thanks, I switched to react-navigation pure

Tell me, what is better to use for production with redux?

@aksonov  Please provide a better documentation for v4 as in example The components Lightbox, modal are used and there is no documentation about them and also many changes in props but have nothing documented.

how to add icon in v4 ?

Anyone can write migration guide like webpack

@waqas19921, @Dictory Yes, v4 lacks of documentation and we are trying to improve it. Unfortunately we have lack of maintainers now.
Guys, this project is open source, feel free to check sources and submit PR for docs. Guys, let's improve open source, not just use it for free.
@tejacoder Check Example project and existing docs. If still not clear, create separate issue.
All, I'm closing this ticket (original aim was just to make announce), create issue (and better with PRs) if any.

authors: AlmogRnD Dictory Kennytian aksonov bragur guysegal hungdev itinance saimonmoore southerneer tejacoder tonygriv waqas19921


text:
Seeking Guidance on Notification Icon Implementation

Hey,
Great work! This library is the only one I could get working well for Navigation w/ Toolbar integration on react-native android.
I'm adding a custom notification icon to the notification bar by using this snippet:
<Scene key="root" renderRightButton={()=>notificationsIcon}>
I was wondering if you have any guidance on passing in a state to this icon so that it might be able to conditionally render itself as having no notifications or n-number of notifications.
Versions:
"react-native": "^0.23.0"
"react-native-router-flux": "^3.2.7"

Additionally, I'm trying to use a custom icon for the leftButton.
I'm not sure how to write comparable functionality in my button renderers without a reference to the navigationState.
I can understand why you haven't done it yet, but might it be useful to bind the passed in renderers to this, as is done for the built-in renderers. How else would my button be able to access the drawer instance as to call its toggle method.
Unless I'm missing something, which is the likely case, I'd suggest the following change. I will gladly create a PR if you agree.
Rewriting this:
export default class NavBar extends React.Component {
    componentWillMount(){
        const state = this.props.navigationState;
        this._renderRightButton = this._renderRightButton.bind(this);
        this._renderBackButton = this._renderBackButton.bind(this);
        this._renderLeftButton = this._renderLeftButton.bind(this);
        this._renderTitle = this._renderTitle.bind(this);
        if (state.renderLeftButton){
            this._renderLeftButton = state.renderLeftButton;
        }
        if (state.renderRightButton){
            this._renderRightButton = state.renderRightButton;
        }
        if (state.renderBackButton){
            this._renderBackButton = state.renderBackButton;
        }
    }

as:
export default class NavBar extends React.Component {
    componentWillMount(){
        const state = this.props.navigationState;
        this._renderRightButton = this._renderRightButton.bind(this);
        this._renderBackButton = this._renderBackButton.bind(this);
        this._renderLeftButton = this._renderLeftButton.bind(this);
        this._renderTitle = this._renderTitle.bind(this);
        if (state.renderLeftButton){
            this._renderLeftButton = state.renderLeftButton.bind(this);
            //or .bind(this.props.navigationState);
        }
        if (state.renderRightButton){
            this._renderRightButton = state.renderRightButton.bind(this);
        }
        if (state.renderBackButton){
            this._renderBackButton = state.renderBackButton.bind(this);
        }
    }

What sense to bind to this? These function should be bind to the navigation state. Please check latest version, now render functions are binded during render()

Now you could use just rightButton/leftButton as React components. I'm closing this ticket.

authors: aksonov ringzhz


text:
target revision being updated in cases where we had not planned to do so

The updateTargetRevision field in a source update isn't being consulted and target revisions are currently being updated unconditionally.
This works, but it might produce some difficulties for those who are GitOps'ing their Applications.
This will be fixed in the directives work, but we may need to also fix this in the existing promotion mechanisms, since I believe we assume those will stick around in v0.9.0 and only be removed in v0.10.0.

This is accounted for in the directives and the classic promotion mechanisms are being deprecated, so I think we can reasonably close this without taking action on it.

repo: akuity/kargo


text:
Routing getting 404 Nginx when refresh dashboard. Working fine in localhost.

Issue type

[X ] bug report

Issue description
Current behavior:
When in localhost and refresh the main dashboard page it works fine. If you refresh on a path it will reload on that path. However when published online the application gives a 404 if reloaded on any path besides the main root.
Expected behavior:
I would have expected the application to load the route depending on what route it is on when the application is reloaded. If the application is reloaded from the root domain then it will be fine.
Steps to reproduce:

Go to a route in the applicaiton i.e pages/dashboard while in production online
Refresh the app
It will give a 404

Related code:
app-routing.module.ts
export const routes: Routes = [
  {
    path: 'pages',
    loadChildren: () => import('./pages/pages.module')
      .then(m => m.PagesModule),
  },
  { path: '', redirectTo: 'pages', pathMatch: 'full' },
  { path: '**', redirectTo: 'pages/dashboard/' },
];

pages-routing.module.ts
import { RouterModule, Routes } from '@angular/router';
import { NgModule } from '@angular/core';

import { PagesComponent } from './pages.component';
import { TutorialComponent } from './tutorial/tutorial.component';
import { DashboardComponent } from './dashboard/dashboard.component';
import { NotFoundComponent } from './miscellaneous/not-found/not-found.component';

const routes: Routes = [{
  path: '',
  component: PagesComponent,
  children: [
    {
      path: 'dashboard',
      component: DashboardComponent,
    },
    {
      path: 'tutorial',
      component: TutorialComponent,
    },
    {
      path: 'miscellaneous',
      loadChildren: () => import('./miscellaneous/miscellaneous.module')
        .then(m => m.MiscellaneousModule),
    },
    {
      path: '',
      redirectTo: 'dashboard',
      pathMatch: 'full',
    },
    {
      path: '**',
      component: NotFoundComponent,
    },
  ],
}];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule],
})
export class PagesRoutingModule {
}

Other information:
npm, node, OS, Browser

Latest NgxAdmin
OS: MAC
Browser: Chrome/Firefox/

Angular, Nebular
"name": "ngx-admin",
  "version": "5.0.0",

What does your nginx file look like?

I figured it out, thanks!
location ~ ^/ {     try_files $uri $uri/ /index.html; }

server {
    client_max_body_size 250M;
    listen 80 default_server;
    server_name exmple.com;
    root /var/www/html/public;
    index index.php index.html;
    error_log  /var/log/nginx/error.log;
    access_log /var/log/nginx/access.log;
    location ~ \.php$ {
        client_max_body_size 8000000M;
        try_files $uri =404;
        fastcgi_split_path_info ^(.+\.php)(/.+)$;
        fastcgi_pass example-app:9000;
        fastcgi_index index.php;
        include fastcgi_params;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
        fastcgi_param PATH_INFO $fastcgi_path_info;
        fastcgi_connect_timeout 1200;
        fastcgi_send_timeout 1200;
        fastcgi_read_timeout 90;
    }
    location /api {
        try_files $uri $uri/ /index.php?$query_string;
        gzip_static on;
    }
    location ~ ^/ {
        root /var/www/fe-dashboard/;
        index index.html;
        try_files $uri $uri/ /index.html?$query_string =404;
    }
}

server {
    client_max_body_size 250M;
    listen 80;
    server_name admin.example.com;
    root /var/www/html/public;
    index index.php index.html;
    error_log  /var/log/nginx/error.log;
    access_log /var/log/nginx/access.log;
    location ~ \.php$ {
        client_max_body_size 8000000M;
        try_files $uri =404;
        fastcgi_split_path_info ^(.+\.php)(/.+)$;
        fastcgi_pass example-app:9000;
        fastcgi_index index.php;
        include fastcgi_params;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
        fastcgi_param PATH_INFO $fastcgi_path_info;
        fastcgi_connect_timeout 1200;
        fastcgi_send_timeout 1200;
        fastcgi_read_timeout 90;
    }
    location /api {
        try_files $uri $uri/ /index.php?$query_string;
        gzip_static on;
    }
    location ~ ^/ {
        root /var/www/fe-admin/;
        index index.html;
        try_files $uri $uri/ /index.html?$query_string =404;
    }
}

server {
    #root /var/www/website/build;
    #index index.html index.htm index.nginx-debian.html;

    server_name ekycplus.projectstesting.com;
    root /var/www/kycplus_frontend/dist/index.html;

    location /api/ {
            # First attempt to serve request as file, then
            # as directory, then fall back to displaying a 404.
            proxy_pass http://localhost:4000/;
            proxy_set_header Host $host;
            proxy_set_header X-Real-IP $remote_addr;
            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
            proxy_set_header X-Forwarded-Proto $scheme;

    }

    location / {
            proxy_pass http://localhost:8080/;
            proxy_set_header Host $host;
            proxy_set_header X-Real-IP $remote_addr;
            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
            proxy_set_header X-Forwarded-Proto $scheme;

    }

listen [::]:443 ssl ipv6only=on; # managed by Certbot
listen 443 ssl; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/ekycplus.projectstesting.com/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/ekycplus.projectstesting.com/privkey.pem; # managed by Certbot
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot

}
server {
if ($host = ekycplus.projectstesting.com) {
return 301 https://$host$request_uri;
} # managed by Certbot
    listen 80;
    listen [::]:80;

    server_name ekycplus.projectstesting.com;
return 404; # managed by Certbot

}
This is my nginx file I am facing same issue

repo: akveo/ngx-admin


text:
Drawer Injects items to DrawerItems ?

💬 Question
When profiling my application I realised that my navigation DrawerItems where taking some 200ms to render, and due to application design, they need to be rendered quite frequently. So I decided to memoize them, but it just wouldn't work.
the reason appears to be a mysterious "descriptor" prop being passed to all my DrawerNavigator container. Here is some code
export const TestNavigationDrawer: React.FunctionComponent<TestNavigationDrawerProps> = ({
  navigation: { navigate },
  state: { routes },
}) => {
  // some code to get props from state

  return (
    <Drawer selectedIndex={new IndexPath(currentIndex)}>
      {questions.map((question) => (
        <QuestionDrawerItem
          correct={question.correct}
          selected={question.selected}
          index={question.index}
          key={question.id}
          navigate={navigate}
          finished={finished}
        />
      ))}
    </Drawer>
  );
};

const QuestionDrawerItem = React.memo<QuestionDrawerItemProps>(
  ({ correct, selected, finished, index, navigate }) => (
    <DrawerItem
      accessoryLeft={(props) => (
        <QuestionStateIcon
          {...props}
          finished={finished}
          selected={selected}
          correct={correct}
        />
      )}
      title={`Question ${index + 1}`}
      onPress={() => navigate("Question", { questionIndex: index })}
    />
  ),
  (prevProps, oldProps) => {
    if (prevProps.index === 0) {
      console.log(`\n\nEntry number ${prevProps.index}`);
      Object.keys(prevProps).map(key => {
        console.log(key, prevProps[key] === oldProps[key]);
      })
    }
    return false;
  }
);

with this i can see
Entry number 0
correct true
selected true
index true
navigate true
finished true
descriptor false
onPress true
children true

descriptor changes with every render, invalidating the memoization. The contents of this prop are:
Object {
  "groupIndices": undefined,
  "index": IndexPath {
    "equals": [Function anonymous],
    "row": 0,
    "section": undefined,
  },
}

For now i fixed the issue with this memoization props checking function:
  (prevProps, oldProps) =>
      (prevProps.correct === oldProps.correct) &&
      (prevProps.selected === oldProps.selected) &&
      (prevProps.finished === oldProps.finished) &&
      (prevProps.index === oldProps.index) &&
      (prevProps.navigate === oldProps.navigate),

So, down to my questions:

Why is this prop passed down to Drawer children?

Is it safe to ignore in the memoization?
Is this behaviour documented somewhere and i missed it?

Thank you all for your work in this project!
UI Kitten and Eva version

Package
Version

@eva-design/eva
2.0.0

@ui-kitten/components
5.0.0

Didn't took me long to realize that yes, it has some problems. The automatic highlighting of the current selected item is gone.
I ended slightly modifying the code to this:
type QuestionDrawerItemProps = {
  correct: string;
  questionSelected?: string;
  finished: boolean;
  index: number;
  navigate: TestNavigationDrawerProps["navigation"]["navigate"];
} & MenuItemProps;

const QuestionDrawerItem = React.memo<QuestionDrawerItemProps>(
  ({ correct, questionSelected, finished, index, navigate, ...menuItemProps }) => (
    <DrawerItem
      {...menuItemProps}
      accessoryLeft={(props) => (
        <QuestionStateIcon
          {...props}
          finished={finished}
          selected={questionSelected}
          correct={correct}
        />
      )}
      title={`Question ${index + 1}`}
      onPress={() => navigate("Question", { questionIndex: index })}
    />
  ),
  (prevProps, nextProps) =>
    prevProps.questionSelected === nextProps.questionSelected &&
    prevProps.correct === nextProps.correct &&
    prevProps.selected === nextProps.selected &&
    prevProps.finished === nextProps.finished &&
    prevProps.index === nextProps.index &&
    prevProps.navigate === nextProps.navigate
);

I don't see a way around this memoization, and i question if it would be possible to have it directly in the MenuItem component.
And to answer my other question, yes this behaviour is document in code. The children of Drawer should be of type ChildrenWithProps<MenuItemProps>.
I hope this monologue helps someone else in the future.

The code of conduct was taken out and the private policy needs to be add the I'd is link master in stead of master change to find the separate trans. Of the writing as well the issue
Powered by Cricket Wireless
Get Outlook for Androidhttps://aka.ms/AAb9ysg

From: PupoSDC @.>
Sent: Monday, April 5, 2021 1:47:27 PM
To: akveo/react-native-ui-kitten @.>
Cc: Subscribed @.***>
Subject: [akveo/react-native-ui-kitten] Drawer Injects items to DrawerItems ? (#1395)
💬 Question
When profiling my application I realised that my navigation DrawerItems where taking some 200ms to render, and due to application design, they need to be rendered quite frequently. So I decided to memoize them, but it just wouldn't work.
the reason appears to be a mysterious "descriptor" prop being passed to all my DrawerNavigator container. Here is some code
export const TestNavigationDrawer: React.FunctionComponent = ({
navigation: { navigate },
state: { routes },
}) => {
// some code to get props from state
return (
<Drawer selectedIndex={new IndexPath(currentIndex)}>

  {questions.map((question) => (

    <QuestionDrawerItem

      correct={question.correct}

      selected={question.selected}

      index={question.index}

      key={question.id}

      navigate={navigate}

      finished={finished}

    />

  ))}

</Drawer>

);
};
const QuestionDrawerItem = React.memo(
({ correct, selected, finished, index, navigate }) => (
<DrawerItem

  accessoryLeft={(props) => (

    <QuestionStateIcon

      {...props}

      finished={finished}

      selected={selected}

      correct={correct}

    />

  )}

  title={`Question ${index + 1}`}

  onPress={() => navigate("Question", { questionIndex: index })}

/>

),
(prevProps, oldProps) => {
if (prevProps.index === 0) {

  console.log(`\n\nEntry number ${prevProps.index}`);

  Object.keys(prevProps).map(key => {

    console.log(key, prevProps[key] === oldProps[key]);

  })

}

return false;

}
);
with this i can see
Entry number 0
correct true
selected true
index true
navigate true
finished true
descriptor false
onPress true
children true
descriptor changes with every render, invalidating the memoization. The contents of this prop are:
Object {
"groupIndices": undefined,
"index": IndexPath {
"equals": [Function anonymous],

"row": 0,

"section": undefined,

},
}
For now i fixed the issue with this memoization props checking function:
(prevProps, oldProps) =>
  (prevProps.correct === oldProps.correct) &&

  (prevProps.selected === oldProps.selected) &&

  (prevProps.finished === oldProps.finished) &&

  (prevProps.index === oldProps.index) &&

  (prevProps.navigate === oldProps.navigate),

So, down to my questions:

Why is this prop passed down to Drawer children?
*   Is it safe to ignore in the memoization?
*   Is this behaviour documented somewhere and i missed it?

Thank you all for your work in this project!
UI Kitten and Eva version
Package Version
@eva-design/eva 2.0.0
@ui-kitten/components   5.0.0
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fakveo%2Freact-native-ui-kitten%2Fissues%2F1395&data=04|01||1adb6e0874cf49e26c1f08d8f863434a|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637532452497594981|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=4YbezepePD89qs%2FMVcrOOJIZSvf1D8XZTxDBBkydRuo%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FASXJQ5U5BOFJHXIBKCCHTTDTHIAT7ANCNFSM42NIRRCA&data=04|01||1adb6e0874cf49e26c1f08d8f863434a|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637532452497604942|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=NWK4lcXlpSUZJOMOlz6A1vlNTHth9XCGBq1iQquWdo0%3D&reserved=0.

Found in luling tx area taken from houston tx from kitten prior to the absence.of her presents.
Powered by Cricket Wireless
Get Outlook for Androidhttps://aka.ms/AAb9ysg

From: PupoSDC @.>
Sent: Monday, April 5, 2021 1:47:27 PM
To: akveo/react-native-ui-kitten @.>
Cc: Subscribed @.***>
Subject: [akveo/react-native-ui-kitten] Drawer Injects items to DrawerItems ? (#1395)
💬 Question
When profiling my application I realised that my navigation DrawerItems where taking some 200ms to render, and due to application design, they need to be rendered quite frequently. So I decided to memoize them, but it just wouldn't work.
the reason appears to be a mysterious "descriptor" prop being passed to all my DrawerNavigator container. Here is some code
export const TestNavigationDrawer: React.FunctionComponent = ({
navigation: { navigate },
state: { routes },
}) => {
// some code to get props from state
return (
<Drawer selectedIndex={new IndexPath(currentIndex)}>

  {questions.map((question) => (

    <QuestionDrawerItem

      correct={question.correct}

      selected={question.selected}

      index={question.index}

      key={question.id}

      navigate={navigate}

      finished={finished}

    />

  ))}

</Drawer>

);
};
const QuestionDrawerItem = React.memo(
({ correct, selected, finished, index, navigate }) => (
<DrawerItem

  accessoryLeft={(props) => (

    <QuestionStateIcon

      {...props}

      finished={finished}

      selected={selected}

      correct={correct}

    />

  )}

  title={`Question ${index + 1}`}

  onPress={() => navigate("Question", { questionIndex: index })}

/>

),
(prevProps, oldProps) => {
if (prevProps.index === 0) {

  console.log(`\n\nEntry number ${prevProps.index}`);

  Object.keys(prevProps).map(key => {

    console.log(key, prevProps[key] === oldProps[key]);

  })

}

return false;

}
);
with this i can see
Entry number 0
correct true
selected true
index true
navigate true
finished true
descriptor false
onPress true
children true
descriptor changes with every render, invalidating the memoization. The contents of this prop are:
Object {
"groupIndices": undefined,
"index": IndexPath {
"equals": [Function anonymous],

"row": 0,

"section": undefined,

},
}
For now i fixed the issue with this memoization props checking function:
(prevProps, oldProps) =>
  (prevProps.correct === oldProps.correct) &&

  (prevProps.selected === oldProps.selected) &&

  (prevProps.finished === oldProps.finished) &&

  (prevProps.index === oldProps.index) &&

  (prevProps.navigate === oldProps.navigate),

So, down to my questions:

Why is this prop passed down to Drawer children?
*   Is it safe to ignore in the memoization?
*   Is this behaviour documented somewhere and i missed it?

Thank you all for your work in this project!
UI Kitten and Eva version
Package Version
@eva-design/eva 2.0.0
@ui-kitten/components   5.0.0
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fakveo%2Freact-native-ui-kitten%2Fissues%2F1395&data=04|01||1adb6e0874cf49e26c1f08d8f863434a|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637532452497594981|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=4YbezepePD89qs%2FMVcrOOJIZSvf1D8XZTxDBBkydRuo%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FASXJQ5U5BOFJHXIBKCCHTTDTHIAT7ANCNFSM42NIRRCA&data=04|01||1adb6e0874cf49e26c1f08d8f863434a|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637532452497604942|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=NWK4lcXlpSUZJOMOlz6A1vlNTHth9XCGBq1iQquWdo0%3D&reserved=0.

Yes I found this in my files as well as someone else applying to them. It was to his or they were taking something. I opened it to find out who it is.
Powered by Cricket Wireless
Get Outlook for Androidhttps://aka.ms/AAb9ysg

From: PupoSDC @.>
Sent: Monday, April 5, 2021 1:47:27 PM
To: akveo/react-native-ui-kitten @.>
Cc: Subscribed @.***>
Subject: [akveo/react-native-ui-kitten] Drawer Injects items to DrawerItems ? (#1395)
💬 Question
When profiling my application I realised that my navigation DrawerItems where taking some 200ms to render, and due to application design, they need to be rendered quite frequently. So I decided to memoize them, but it just wouldn't work.
the reason appears to be a mysterious "descriptor" prop being passed to all my DrawerNavigator container. Here is some code
export const TestNavigationDrawer: React.FunctionComponent = ({
navigation: { navigate },
state: { routes },
}) => {
// some code to get props from state
return (
<Drawer selectedIndex={new IndexPath(currentIndex)}>

  {questions.map((question) => (

    <QuestionDrawerItem

      correct={question.correct}

      selected={question.selected}

      index={question.index}

      key={question.id}

      navigate={navigate}

      finished={finished}

    />

  ))}

</Drawer>

);
};
const QuestionDrawerItem = React.memo(
({ correct, selected, finished, index, navigate }) => (
<DrawerItem

  accessoryLeft={(props) => (

    <QuestionStateIcon

      {...props}

      finished={finished}

      selected={selected}

      correct={correct}

    />

  )}

  title={`Question ${index + 1}`}

  onPress={() => navigate("Question", { questionIndex: index })}

/>

),
(prevProps, oldProps) => {
if (prevProps.index === 0) {

  console.log(`\n\nEntry number ${prevProps.index}`);

  Object.keys(prevProps).map(key => {

    console.log(key, prevProps[key] === oldProps[key]);

  })

}

return false;

}
);
with this i can see
Entry number 0
correct true
selected true
index true
navigate true
finished true
descriptor false
onPress true
children true
descriptor changes with every render, invalidating the memoization. The contents of this prop are:
Object {
"groupIndices": undefined,
"index": IndexPath {
"equals": [Function anonymous],

"row": 0,

"section": undefined,

},
}
For now i fixed the issue with this memoization props checking function:
(prevProps, oldProps) =>
  (prevProps.correct === oldProps.correct) &&

  (prevProps.selected === oldProps.selected) &&

  (prevProps.finished === oldProps.finished) &&

  (prevProps.index === oldProps.index) &&

  (prevProps.navigate === oldProps.navigate),

So, down to my questions:

Why is this prop passed down to Drawer children?
*   Is it safe to ignore in the memoization?
*   Is this behaviour documented somewhere and i missed it?

Thank you all for your work in this project!
UI Kitten and Eva version
Package Version
@eva-design/eva 2.0.0
@ui-kitten/components   5.0.0
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fakveo%2Freact-native-ui-kitten%2Fissues%2F1395&data=04|01||1adb6e0874cf49e26c1f08d8f863434a|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637532452497594981|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=4YbezepePD89qs%2FMVcrOOJIZSvf1D8XZTxDBBkydRuo%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FASXJQ5U5BOFJHXIBKCCHTTDTHIAT7ANCNFSM42NIRRCA&data=04|01||1adb6e0874cf49e26c1f08d8f863434a|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637532452497604942|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=NWK4lcXlpSUZJOMOlz6A1vlNTHth9XCGBq1iQquWdo0%3D&reserved=0.

I also have people going in my files but there was one years ago that has came back to my files.
Powered by Cricket Wireless
Get Outlook for Androidhttps://aka.ms/AAb9ysg

From: PupoSDC @.>
Sent: Monday, April 5, 2021 1:47:27 PM
To: akveo/react-native-ui-kitten @.>
Cc: Subscribed @.***>
Subject: [akveo/react-native-ui-kitten] Drawer Injects items to DrawerItems ? (#1395)
💬 Question
When profiling my application I realised that my navigation DrawerItems where taking some 200ms to render, and due to application design, they need to be rendered quite frequently. So I decided to memoize them, but it just wouldn't work.
the reason appears to be a mysterious "descriptor" prop being passed to all my DrawerNavigator container. Here is some code
export const TestNavigationDrawer: React.FunctionComponent = ({
navigation: { navigate },
state: { routes },
}) => {
// some code to get props from state
return (
<Drawer selectedIndex={new IndexPath(currentIndex)}>

  {questions.map((question) => (

    <QuestionDrawerItem

      correct={question.correct}

      selected={question.selected}

      index={question.index}

      key={question.id}

      navigate={navigate}

      finished={finished}

    />

  ))}

</Drawer>

);
};
const QuestionDrawerItem = React.memo(
({ correct, selected, finished, index, navigate }) => (
<DrawerItem

  accessoryLeft={(props) => (

    <QuestionStateIcon

      {...props}

      finished={finished}

      selected={selected}

      correct={correct}

    />

  )}

  title={`Question ${index + 1}`}

  onPress={() => navigate("Question", { questionIndex: index })}

/>

),
(prevProps, oldProps) => {
if (prevProps.index === 0) {

  console.log(`\n\nEntry number ${prevProps.index}`);

  Object.keys(prevProps).map(key => {

    console.log(key, prevProps[key] === oldProps[key]);

  })

}

return false;

}
);
with this i can see
Entry number 0
correct true
selected true
index true
navigate true
finished true
descriptor false
onPress true
children true
descriptor changes with every render, invalidating the memoization. The contents of this prop are:
Object {
"groupIndices": undefined,
"index": IndexPath {
"equals": [Function anonymous],

"row": 0,

"section": undefined,

},
}
For now i fixed the issue with this memoization props checking function:
(prevProps, oldProps) =>
  (prevProps.correct === oldProps.correct) &&

  (prevProps.selected === oldProps.selected) &&

  (prevProps.finished === oldProps.finished) &&

  (prevProps.index === oldProps.index) &&

  (prevProps.navigate === oldProps.navigate),

So, down to my questions:

Why is this prop passed down to Drawer children?
*   Is it safe to ignore in the memoization?
*   Is this behaviour documented somewhere and i missed it?

Thank you all for your work in this project!
UI Kitten and Eva version
Package Version
@eva-design/eva 2.0.0
@ui-kitten/components   5.0.0
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fakveo%2Freact-native-ui-kitten%2Fissues%2F1395&data=04|01||1adb6e0874cf49e26c1f08d8f863434a|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637532452497594981|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=4YbezepePD89qs%2FMVcrOOJIZSvf1D8XZTxDBBkydRuo%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FASXJQ5U5BOFJHXIBKCCHTTDTHIAT7ANCNFSM42NIRRCA&data=04|01||1adb6e0874cf49e26c1f08d8f863434a|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637532452497604942|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=NWK4lcXlpSUZJOMOlz6A1vlNTHth9XCGBq1iQquWdo0%3D&reserved=0.

They took my gmail before and now they have tried taking lynda.com subscription and my some of my files as well they are trying to use my stuff to learn off of and did not make a profile they use files against me that I had. While i still learn. This happened recently when I stayed my families house. In luling tx
Powered by Cricket Wireless
Get Outlook for Androidhttps://aka.ms/AAb9ysg

From: PupoSDC @.>
Sent: Monday, April 5, 2021 1:47:27 PM
To: akveo/react-native-ui-kitten @.>
Cc: Subscribed @.***>
Subject: [akveo/react-native-ui-kitten] Drawer Injects items to DrawerItems ? (#1395)
💬 Question
When profiling my application I realised that my navigation DrawerItems where taking some 200ms to render, and due to application design, they need to be rendered quite frequently. So I decided to memoize them, but it just wouldn't work.
the reason appears to be a mysterious "descriptor" prop being passed to all my DrawerNavigator container. Here is some code
export const TestNavigationDrawer: React.FunctionComponent = ({
navigation: { navigate },
state: { routes },
}) => {
// some code to get props from state
return (
<Drawer selectedIndex={new IndexPath(currentIndex)}>

  {questions.map((question) => (

    <QuestionDrawerItem

      correct={question.correct}

      selected={question.selected}

      index={question.index}

      key={question.id}

      navigate={navigate}

      finished={finished}

    />

  ))}

</Drawer>

);
};
const QuestionDrawerItem = React.memo(
({ correct, selected, finished, index, navigate }) => (
<DrawerItem

  accessoryLeft={(props) => (

    <QuestionStateIcon

      {...props}

      finished={finished}

      selected={selected}

      correct={correct}

    />

  )}

  title={`Question ${index + 1}`}

  onPress={() => navigate("Question", { questionIndex: index })}

/>

),
(prevProps, oldProps) => {
if (prevProps.index === 0) {

  console.log(`\n\nEntry number ${prevProps.index}`);

  Object.keys(prevProps).map(key => {

    console.log(key, prevProps[key] === oldProps[key]);

  })

}

return false;

}
);
with this i can see
Entry number 0
correct true
selected true
index true
navigate true
finished true
descriptor false
onPress true
children true
descriptor changes with every render, invalidating the memoization. The contents of this prop are:
Object {
"groupIndices": undefined,
"index": IndexPath {
"equals": [Function anonymous],

"row": 0,

"section": undefined,

},
}
For now i fixed the issue with this memoization props checking function:
(prevProps, oldProps) =>
  (prevProps.correct === oldProps.correct) &&

  (prevProps.selected === oldProps.selected) &&

  (prevProps.finished === oldProps.finished) &&

  (prevProps.index === oldProps.index) &&

  (prevProps.navigate === oldProps.navigate),

So, down to my questions:

Why is this prop passed down to Drawer children?
*   Is it safe to ignore in the memoization?
*   Is this behaviour documented somewhere and i missed it?

Thank you all for your work in this project!
UI Kitten and Eva version
Package Version
@eva-design/eva 2.0.0
@ui-kitten/components   5.0.0
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fakveo%2Freact-native-ui-kitten%2Fissues%2F1395&data=04|01||1adb6e0874cf49e26c1f08d8f863434a|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637532452497594981|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=4YbezepePD89qs%2FMVcrOOJIZSvf1D8XZTxDBBkydRuo%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FASXJQ5U5BOFJHXIBKCCHTTDTHIAT7ANCNFSM42NIRRCA&data=04|01||1adb6e0874cf49e26c1f08d8f863434a|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637532452497604942|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=NWK4lcXlpSUZJOMOlz6A1vlNTHth9XCGBq1iQquWdo0%3D&reserved=0.

repo: akveo/react-native-ui-kitten


text:
Duplication of the month name 'March' in the calendar between 1981 and 1984.

🐛 Bug Report
There is a duplication of the month name 'March' in the calendar between 1981 and 1984.
To Reproduce
Steps to reproduce the behavior:
Open the calendar.
Navigate to any year between 1981 and 1984.
The abbreviated name for March (Mar) will appear twice.
Expected behavior
The name of the month should not appear duplicated.

Link to runnable example or repository (highly encouraged)

UI Kitten and Eva version

Package
Version

@eva-design/eva
2.2.0

@ui-kitten/components
5.3.1

Environment information
"react": "18.2.0",
"react-native": "0.71.5",

System:
OS: macOS 13.5.2
CPU: (8) arm64 Apple M2
Binaries:
Node: 18.15.0 - ~/.nvm/versions/node/v18.15.0/bin/node
npm: 9.5.0 - ~/.nvm/versions/node/v18.15.0/bin/npm
Watchman: 2023.08.14.00 - /opt/homebrew/bin/watchman
SDKs:
iOS SDK:
Platforms: DriverKit 22.4, iOS 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4
Android SDK:
API Levels: 29, 31, 33, 34
Build Tools: 30.0.3, 33.0.0, 34.0.0
System Images: android-28 | Google ARM64-V8a Play ARM 64 v8a, android-34 | Google APIs ARM 64 v8a
IDEs:
Xcode: 14.3.1/14E300c - /usr/bin/xcodebuild
npmPackages:
react: 18.2.0 => 18.2.0
react-native: 0.71.5 => 0.71.5

Could you please share some more context on the issue? Are you passing some custom DateService to the component? Which locale is used your example?
I've check the case you described on my project, DatePicker works fine. So we need more details to reproduce the issue.


text:
有视频流但是无法预览

Device model / 设备型号
isa.camera.panjd1
Component version / 插件版本
0.7.7
HA core version / HA版本
2023.3.1
Integrated mode / 集成方式
Automatic (自动模式)
The problem / 问题详情
有视频流没画面。小方云台版
Entity attributes / 实体属性
无
Home Assistant Logs / 系统日志
entity_picture: /api/camera_proxy/camera.isa_panjd1_aacc_camera_control?token=2ce09fd6343869d4ffde7dc04ba1a
friendly_name: 李元旦 Camera Control
supported_features: 3
access_token: 2ce09fd6343869d4ffde7dc04ba1a365e0
model_name: isa.camera.panjd1
brand: isa
frontend_stream_type: hls
model: isa.camera.panjd1
lan_ip: 192.168.31.170
mac_address: E4:AA:EC:63:AA:CC
entity_class: MiotCameraEntity
home_room: 一家四口 卧室
miot_type: urn:miot-spec-v2:device:camera:0000A01C:isa-panjd1:1
camera_control.on: true
camera_control.image_rollover: 0
camera_control.night_shot: 2
camera_control.time_watermark: true
camera_control.recording_mode: 0
other_functions.hl_set_timezone: 8
other_functions.hl_set_rect: 1
hl_get_max_connect-6-9: false
motion_detection: true
motion_detection.alarm_interval: 5
detection_sensitivity-5-3: 3
motion_detection_start_time-5-4: 00:00:00
motion_detection_end_time-5-5: 23:59:59
memory_card_management.status: 0
storage_total_space-4-2: 3870324
storage_free_space-4-3: 3863748
storage_used_space-4-4: 6576
indicator_light.on: 1
state_updater: lan
sub_entities: motion_detection-5.motion_detection-1, indicator_light-3, camera_control-2.on-1
motion_video_time: 2023-03-09 01:37:07
motion_video_type: ObjectMotion
motion_video_latest:
startDuration: 0
cut: false
offset: 0
isCloud: false
isRead: false
videoStoreId: >-
  CAMERA_VIDEO_GOACCND5nhVyjRIXla8YFrCIEmgCnmsn01UCj8voka_9PLvvDrDdO_hxmkor1Q_IvByTbTqgDaWWl5dAtS5IozBprMED3BKnf0FHQdsZ8hlYGfnvR0RxRmLRBKsgqoKYLJd5j_Ppovud-e-l8QA7CGWVkr-t91IAVDq1RN2bOe5gJSZvl3eazK1X3iYOG0dhKjlEmw4-L-4zJiLn4bEAN-irnecZjzHU98hid5e2u8Eapw_7whzB6WiMvXlNO5qKf7RBKAjR3kI_v3ZjcUIbKEwrwTZw-cBA28Vxkw5BBfNB6VlrYkzMuIEYNXIlZ0KSLTtAgcAa-dbCLiAZd2GswWysosbkbBB5S_bQLA1d1gibl6H8JT1P_lQtHHj1gXCNNc5rQHVPHB1CuVq-4XU9TSONKB1tBdTJQmtJemdpFAe0rSVO7m0OzPbYb6u-FqHnz99OczwHtfMC1IUBDGm9Y4XHxhgS_Ix4-uEmSiujtChYyeC7jXoBGBCnPF7E598xKngxj079n99SGBRbrESq46ZZ_G0--fI1P-1odcLFqgA
eventType: ObjectMotion
expireTime: 1678901828333
isAlarm: true
isShowImg: true
imgStoreId: >-
  CAMERA_IMG_GOACCND5nhVyjRIXla8YFrCIEmgCnmsn01UCj8voka_9PLvvDrDdO_hxmkor1Q_IvByTbTqgDaWWl5dAtS5IozBprMED3BKnf0FHQdsZ8hlYGfnvR0RxRmLRBKsgqoKYLJd5j_Ppovud-e-l8QA7CGWVkr-t91IAVDq1RN2bOe5gJSZvl3eazK1X3iYOG0dhKjlEmw4-L-4zJiLn4bEAN-irnecZjzHU98hid5e2u8Eapw_7whzB6WiMvXlNO5qKf7RBKAjR3kI_v3ZjcUIbKEwrwTZw-cBA28Vxkw5BBfNB6VlrYkzMuIEYNXIlZ0KSLTtAgcAa-dbCLiAZd2GswWysosbkbBB5S_bQLA1d1gibl6H8JT1P_lQtHHj1gXCNNc5rQHVPHB1CuVq-4XU9TSONKB1tBdTJQmtJemdpFAe0rSVO7m0OzPbYb6u-FqHnz99OczwHtfMC1IUBDGm9Y4XHxhgS_Ix4-uEmSiujtChYyeC7jXoBGBCnPF7E598xKngxj079n99SGBRbrESq46ZZ_G0--fI1P-1odcLFqgA
fileId: '87941141547212416'
extraInfo: '{"ver":"1.0.0","alarmStart":true,"eventType":"ObjectMotion"}'

stream_address: https://business.smartcamera.api.io.mi.com/common/app/m3u8?data=%2BgCtNQQc2%2BJAoWvDLDnbiCRv6hs4szvkAVcLqqqQAGCl5EbcY5laiHjWWvny3E9kAteudyhAsLFQTJcxAqCHpmonpjlwZs%2FC819eHrWCh8NAa5CRwoeVuNVqtnUVrEI6lRw9JR9NTRfBmf6Cg3cw8A%3D%3D&rc4_hash__=9kH9MiZqqYhAoi69LTfbilkWsVNI6iG5VBBgrQ%3D%3D&signature=qSGVX%2FrD7R2KNTdf7BrtbYanF7I%3D&ssecurity=QMe9g4RINXiYAW6wTQe8%2FQ%3D%3D&_nonce=Wr5E4nU9NUUBqtAm&yetAnotherServiceToken=JHyak3o1SpKqJKjxelf1FykXrYdmpJ07VdJXchB1Nct%2BgBYDANGqXaSYAvpgQhMSGFZq46DWHjidUL3GxaMs5mY9OoUIw61h%2FoUBCbo4efvWi0WRqSAixevdMnqGiRn6svNFo2loXfffvcRBk5YZ5llGvH078inJ3Q19bH0Kwug%3D
image_address: https://processor.smartcamera.api.io.mi.com/miot/camera/app/v1/img?data=hwTqGO6voNnG9LXXo4OYS%2BBYnYbpc2vzzIa%2Bxr4XZglnKdWdDPZHmY3ID90p95giM7Km71cUUOkw7JkG9DlG9SD0J9sz%2B1gwGg36GrRalFu5QvwvoqqRJ3ipVkauwsYOBzWoeRVZjzm6BK3wjSLwiFboTdtH%2BTFFhFSj5CuiAEdhy8ljpYobkybK5mMIfVXg0rL4aNg9KjIny2lFboXfImbVzKNUIaJysnzrJgae%2BE7hYqJpK%2F7Ul9VNSjlQI3sy67g0EssTl4GPF61zd4P%2Fv2LbI9c3QK4q1d3PMccR704m0ogqIzOvz0Po57phWLWAwNoasz1uAw50o4UDPf4sRQrUiUVoa1TMcmZhy2e6fE4ZiradGT3WOvM4zb%2FV8XZ7HqIiY%2FoKUJ6X7Rriz6jO7OyrA4ogOCofrfMo%2FeqkLn%2FcOKMkAzfx9gZdVM9CinwMZ3Rb5r6GYZ1rxA2gcETA5KFlUrDVFMOu1MOruPdZkQ2vn9Ye1eQMW9Avek%2FTgQD526GRcPzMg8w5sbXXoxZ82r1wPDqEU8k%2FvcPMT%2FT0zCwPXQVynGCvmhUpZJDuDbFWJf3fScewWqeL2ZyxPu9ZfYPmOoVWnDn16Be9R5G4rXvUQwPrw1hEsp9deCca%2FWGnj%2BWzzJ%2BSz%2Bmd%2FfYQKo2h2KDv2pL2NAeYlbQDuwMSeBwJfmUQQf5D%2BmoyrRN%2BKGav34%2BLXlLozeKZCg9BoXcrsiMSLcEUq5cLaTg6uj23v5TSyF7af5KCs55clsANMScGHIEMEZa0ykzZ7ng30iF0xYon%2Fdr%2FlyT6fdyIPlFXQpgfkbFFFwjS2tO%2BLmcH76Pb5tb0anXzm2dKIl0f1s8buQhO7033zm0ZtqY0auTzJvD9Ld5Dg4SN16U%3D&rc4_hash__=rnfnM6H0qrKxpc2G0cLQK7YHx%2B6IQGjc3qDq2Q%3D%3D&signature=EXtVf1VewvfzPXZ%2BtJPBN1wh9fc%3D&ssecurity=QMe9g4RINXiYAW6wTQe8%2FQ%3D%3D&_nonce=%2BQSHVEuW9PoBqtAm&yetAnotherServiceToken=JHyak3o1SpKqJKjxelf1FykXrYdmpJ07VdJXchB1Nct%2BgBYDANGqXaSYAvpgQhMSGFZq46DWHjidUL3GxaMs5mY9OoUIw61h%2FoUBCbo4efvWi0WRqSAixevdMnqGiRn6svNFo2loXfffvcRBk5YZ5llGvH078inJ3Q19bH0Kwug%3D

哥们,请教下怎么获取摄像头stream流的呢

哥们,请教下怎么获取摄像头stream流的呢

日志里可以找到

authors: Xiaolangs lovepeacee

repo: al-one/hass-xiaomi-miot


text:
Change DecisionTree.jl n_subfeatures default to -1 for random forest classifier and regressor

https://github.com/alan-turing-institute/MLJ.jl/issues/558

Also, the lower level of this hyper-parameter is not 0, as presently, but -1 (needs correcting for all four models)


text:
54 pad params

This PR updates the parameters in the config file for Proxy A-Distance (PAD). I've updated a few of the comments in the PAD file.
Some comments on the parameter selection:

balance_test should always be set to True otherwise we are not calculating the PAD (not sure it makes sense for this to be an option in the config)
The evaluation on the test dataset was better when balance_train was also set to True
I have dropped the polynomial kernel as it was very slow to run compared to the linear and rbf kernels
The Inception + PCA embedding didn't appear to be effective at providing a representation of the datasets that a classifier could distinguish between - so I have not used this
The Inception + UMAP embedding was effective, and the resulting PAD calculation was quick to calculate
The classifier could also produce sensible results when using the matrix embedding; however, it would take hours to run my laptop. If we did want to run with the matrix embedding, then it would probably be best to limit the value of C = 0.1
I started running the metric on the inception embedding only (without UMAP or PCA) this morning, but gave up after it was running for hours - if this is important then I can set it running overnight sometime.

* `balance_test` should always be set to `True` otherwise we are not calculating the PAD (not sure it makes sense for this to be an option in the config)

Is this true re this no longer being the PAD? Fully agreed that balancing the test set is important for the behaviour of the metric, but iirc this wasn't done in the original PAD paper. I'm fully in favour of the addition, but if the original PAD paper doesn't do this we should probably consider doing one in the way they do it (balance_train and balance_test set to False), and one in improved way (balance_train and balance_test set to True).
Or at least doing it in the improved way only and making clear in the report that the improvements are novel for the ms2 project!

In Ben-David et al. (2006), the PAD is calculated on two datasets with the same number of records (m') - Section 4 of the paper. My understanding is that the samples have to be the same size for the error to be used to approximate the A-distance, though I would probably need to read through it again to be able to argue my case!
Incidentally, one difference between our work and the paper is that they don't appear to split their data into train and test sets, so they appear to train the classifier and use the error from the training dataset to calculate the PAD.
It wouldn't hurt to include config with the balances both set to False, and then we don't have to use the results?
I also think I'll rename the configs to make them consistent with your naming convention, i.e pad_linear_umap instead of just pad_linear. And also wondering now whether we should include the PCA embeddings just for completeness - again if we are running both for mmd and otdd.
Thoughts?!

Ahh okay - I defer to you then! The code in the PAD repo doesn't seem to balance them, so I wonder if this is something that got missed out down the line?
Nonetheless, let's stick with the implementation you've done for now and we can revisit later if we want to!

Ah, I'd forgotten about the PAD repo. I think they sampled with probability of 50% between the two datasets for each of the train, val & test sets, so should be balanced but done in a different way.
I've updated the names of the configs to follow your naming convention, and also for completeness have added in the PCA as we are using it for other metrics. I've only used C=0.1 for PCA as it is a bit slower to run (tbh, the C value didn't make much difference in the results of the UMAP configs, it just runs quickly so doesn't hurt running for more values of C).

authors: joannacknight philswatton


text:
Expose per-channel metric information in wandb

Changes all metrics to not reduce over the channel dimension, and adds a new bar chart that summarises the per-channel average metrics.
Closes #53

I'll mark this ready for review once one of me, @dfulu or @IFenton tries this with wandb!

Codecov Report
Attention: Patch coverage is 91.89189% with 3 lines in your changes missing coverage. Please review.

Please upload report for BASE (main@b652aca). Learn more about missing BASE report.

Files with missing lines
Patch %
Lines

src/cloudcasting/metrics.py
75.00%
3 Missing :warning:

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #54   +/-   ##
=======================================
  Coverage        ?   92.42%
=======================================
  Files           ?       11
  Lines           ?      462
  Branches        ?        0
=======================================
  Hits            ?      427
  Misses          ?       35
  Partials        ?        0

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

I'll mark this ready for review once one of me, @dfulu or @IFenton tries this with wandb!

I tried it with wandb and it looks fine -> https://wandb.ai/manchester_prize/cloudcasting/runs/9kp36mme

I don't have access to that weights & biases team @dfulu  - I just see a 404. Let's look at that outside of this PR and get it merged so people can use it!

I don't have access to that weights & biases team @dfulu - I just see a 404. Let's look at that outside of this PR and get it merged so people can use it!

@phinate I've made the team public so everyone should be able to see it now

Great! Looks smart, nice job team :)

authors: codecov-commenter dfulu phinate

repo: alan-turing-institute/cloudcasting


text:
update baked in data to match archive

some of these problems were rounded to four dps, whereas the archive data is not rounded. This PR resolves that for GunPoint, ArrowHead and ACSF1
<!--

ah I see that this breaks the data loading tests, so maybe I will defer doing this and just note the difference

repo: alan-turing-institute/sktime


text:
fix test script

Addresses #102

Thanks!


text:
Investigate using Incremental Static Regeneration

This has been researched before, but I think a serious look into it is in order. Currently, the time-to-first-byte is very long on pages that use getServerSideProps, which is bad for SEO. A better implementation would be to use incremental static regeneration.

the API must be started first, since it will be fetched from during build time
index.js will use getStaticProps, and pass the first "page" to the inner PostsContainer component. It will be incrementally regenerated by setting a revalidate timeout
/[year]/[month]/[slug]/index.js will use getStaticProps, also with a revalidate timeout. Because it uses dynamic props, getStaticPaths will fetch the first "page" from the API to pre-render initially (this is also to cap build time w/ a large number of posts). Additionally, fallback will be set to true, and a skeleton page will be displayed until the generation is done.

If the above is confirmed to work properly, then similar techniques should be applied to the category links in the navbar.
As a side note, dashboard pages will likely stay using getServerSideProps as there is little need to optimize for SEO.

index.js and /[category]/index.js are implemented successfully!

The Vercel console has lots of failed requests, though it doesn't seem to impact iSSG:

The errors are expected as the pages haven't been generated yet since no user has visited the page.

repo: alanqchen/Bear-Post


text:
"Send" with "1" argument(s): "Mailbox unavailable.

hi ,
am getting below error  , but i can trigger mail from power shell with normal command but not through this script , any help
Exception calling "Send" with "1" argument(s): "Mailbox unavailable. The server response was: 5.7.1 Client does not have permissions to send as this sender" At C:\Scripts\vCheck\vCheck.ps1:783 char:3 + $smtpClient.Send($msg)

This is to do with your mail server config.
I'm assuming you're using the same account to run the script and testing via console? And the same sender/recipient? Are you using Send-MailMessage to test? By default Send-MailMessage will pass through your credentials to the mail server (I'm guessing Exchange...?), but not sure if the .NET mail class we're using does.

Hi ,
Am trying different accounts also I tried same account same error .
Accessing vcenter using rajesh@domain.com account  , email sending from support@domain.com
But when I ran from my laptop it was successful. (accessing vcenter using root account)
I tested normal email sending procedure through script in same machine I am able to send .

Also with rajesh@domain.com account I can run the script from my lap and getting mail .
Not sure why email not coming from oter machines

[10:49:08] ..Sending Email
Exception calling "Send" with "1" argument(s): "Mailbox unavailable. The
server response was: 5.7.1 Client does not have permissions to send as this
sender"
At C:\Scripts\vCheck-vSphere-master\vCheck.ps1:902 char:2

$smtpClient.Send($msg)

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

CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
FullyQualifiedErrorId : SmtpException

Error

This may need to be solved in concert with your mail server administrator to understand why the mail server is rejecting the message. From the error, it would seem that the user running the vCheck script is blocked by the mail server ($SMTPSRV) from using the $EmailFrom address specified in GlobalVariables.ps1.

authors: Sneddo gregharms rajeshr9888

repo: alanrenouf/vCheck-vSphere


text:
Fixing service monitoring creation issue

Signed-off-by: Gowtham Shanmugasundaram gshanmug@redhat.com

/lgtm

/lgtm

authors: GowthamShanmugam little-guy-lxr

repo: alauda/topolvm-operator


text:
Additions to result

Adds the following:
sequence to Option[Result[A, B]]
flatten to Result
split to TraversableOnce[Result]
bitap to Result

@nathankleyn would you be so kind to take a look at this one? I would really appreciate a couple of extra eyes :)

Coverage remained the same at 100.0% when pulling dfcc10adfe06f32e52280e570ae307985434a266 on additions-to-result into 35a5a485174743efbdafcf4ae694bfab3f58436f on master.

Codecov Report

Merging #10 into master will increase coverage by 0.36%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #10      +/-   ##
==========================================
+ Coverage   93.12%   93.49%   +0.36%
==========================================
  Files           8        8
  Lines         160      169       +9
  Branches        0        1       +1
==========================================
+ Hits          149      158       +9
  Misses         11       11

Impacted Files
Coverage Δ

result/src/main/scala/uscala/result/Result.scala
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

authors: albertpastrana codecov-io coveralls

repo: albertpastrana/uscala


text:
Multiplicative noise

#439
See also imgaug implementation:
https://imgaug.readthedocs.io/en/latest/source/overview/arithmetic.html#multiply
https://imgaug.readthedocs.io/en/latest/source/overview/arithmetic.html#multiplyelementwise
Benchmark
                    albumentations imgaug  ...   solt pillow
Multiply                       295     21  ...      -      -
MultiplyElementwise              8      9  ...      -      -

Examples
Original

A.MultiplicativeNoise(multiplier=1.5, p=1)

A.MultiplicativeNoise(multiplier=0.5, p=1)

A.MultiplicativeNoise(multiplier=[0.5, 1.5], per_channel=True, p=1)

A.MultiplicativeNoise(multiplier=[0.5, 1.5], elementwise=True, p=1)

A.MultiplicativeNoise(multiplier=[0.5, 1.5], per_channel=True, elementwise=True, p=1)

I like the change, but as you already have images with examples, do you mind adding a page to documentation with them describing this transform?

@ternaus How you imagine it? New page with description of this transforms or only add images to API page with this transform?

authors: Dipet ternaus

repo: albu/albumentations