feat(ui): show proposal start and end date on proposal and editor

Following #63
Waiting for designer input

Design would look similar to this

Design would look similar to this

User won't be able to edit these right, What's the default created start and end, for offchain spaces if a space doesn't setup Voting delay or Voting period

The default delay is 0, the default proposal period is 5 days (it should already be set, may need to confirm the duration)

We should add a label "Timeline" over it (using eyebrow class), also for the editor we can remove the "Created" step.

We should add a label "Timeline" over it (using eyebrow class), also for the editor we can remove the "Created" step.
It looks like this:

Now Results have a icon but not timeline
Can I add a clock icon like this maybe? (or someother icon?)

Start can also be misleading. We show a precise time, down to the minute,
but it depends on the proposal creation time in the end
On Tue, Aug 6, 2024 at 15:52 Chaitanya @.***> wrote:

We should add a label "Timeline" over it (using eyebrow class), also for
the editor we can remove the "Created" step.
It looks like this:
Now Results have a icon but not timeline Can I add a clock icon like this
maybe? (or someother icon?)
[image: Untitled 4]
https://github.com/user-attachments/assets/579347fb-be97-4652-a1fb-b7fce225cb16 [image:
image]
https://github.com/user-attachments/assets/6e5e73dd-9e7f-4589-be02-18d3c686961c
—
Reply to this email directly, view it on GitHub
https://github.com/snapshot-labs/sx-monorepo/issues/71#issuecomment-2270516281,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADZAXO72CWRMA7K6JQBKNDZQBXDPAVCNFSM6AAAAABDTHFK5SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENZQGUYTMMRYGE
.
You are receiving this because you were assigned.Message ID:
@.***>

Yes you can add the icon it looks good

We should add a label "Timeline" over it (using eyebrow class), also for the editor we can remove the "Created" step.
It looks like this:

Now Results have a icon but not timeline	Can I add a clock icon like this maybe? (or someother icon?)

Start can also be misleading. We show a precise time, down to the minute, but it depends on the proposal creation time in the end
…
On Tue, Aug 6, 2024 at 15:52 Chaitanya @.> wrote: We should add a label "Timeline" over it (using eyebrow class), also for the editor we can remove the "Created" step. It looks like this: Now Results have a icon but not timeline Can I add a clock icon like this maybe? (or someother icon?) [image: Untitled 4] https://github.com/user-attachments/assets/579347fb-be97-4652-a1fb-b7fce225cb16 [image: image] https://github.com/user-attachments/assets/6e5e73dd-9e7f-4589-be02-18d3c686961c — Reply to this email directly, view it on GitHub <#71 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADZAXO72CWRMA7K6JQBKNDZQBXDPAVCNFSM6AAAAABDTHFK5SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENZQGUYTMMRYGE . You are receiving this because you were assigned.Message ID: @.>

We dont need to show created step on proposal creation. Another approach would be to show "Now" or the current live updated time instead of the time when the page was open.


[Relax][Pass] Split CallTIR By Pattern

WIP

The pass depends on op legalizer

@spectrometerHBH @tqchen The split calltir pass and cutlass support is finished except pattern matching for convolution. It would be great if you can review it. Please ignore the op legalizer cherry-picked from Ruihang's branch. I will rebase it after legalizer is merged.

@tqchen @spectrometerHBH The new version of tir matching and library codegen has been done.


ZC8A_005: AnyTab Update Task - simple tooling for debug and log

Connect AnyTab Update Task to SAAB and provide option to debug (including from background and external process).
Solution: create Control group and put cl_bcs_breakloop.

Control group is implemented

Control group is implemented


Wrong number of arguments error

I updated the repo today and i started getting these errors:
Warning (initialization): An error occurred while loading ‘/Users/shivashankar/.emacs.d/init.el’:

Wrong number of arguments: (3 . 4), 2

To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file.  Start Emacs with
the ‘--debug-init’ option to view a complete error backtrace. Disable showing Disable logging

Emacs started with --debug-init
Debugger entered--Lisp error: (wrong-number-of-arguments (3 . 4) 2)
  #f(compiled-function (obsolete-name current-name when &optional docstring) "Set OBSOLETE-NAME's function definition to CURRENT-NAME and mark it obsolete.\n\n(define-obsolete-function-alias \\='old-fun \\='new-fun \"28.1\" \"old-fun's doc.\")\n\nis equivalent to the following two lines of code:\n\n(defalias \\='old-fun \\='new-fun \"old-fun's doc.\")\n(make-obsolete \\='old-fun \\='new-fun \"28.1\")\n\nWHEN should be a string indicating when the function was first\nmade obsolete, for example a date or a release number.\n\nSee the docstrings of `defalias' and `make-obsolete' for more details." #<bytecode 0x155f967e7527c3d7>)('evil-ex-shell-command-completion-at-point 'comint-completion-at-point)
  (define-obsolete-function-alias 'evil-ex-shell-command-completion-at-point 'comint-completion-at-point)
  load-with-code-conversion("/Users/shivashankar/.config/rational-emacs/elpa/ev..." "/Users/shivashankar/.config/rational-emacs/elpa/ev..." nil t)
  require(evil-ex)
  load-with-code-conversion("/Users/shivashankar/.config/rational-emacs/elpa/ev..." "/Users/shivashankar/.config/rational-emacs/elpa/ev..." nil t)
  require(evil-search)
  load-with-code-conversion("/Users/shivashankar/.config/rational-emacs/elpa/ev..." "/Users/shivashankar/.config/rational-emacs/elpa/ev..." nil t)
  require(evil)
  load-with-code-conversion("/Users/shivashankar/.config/rational-emacs/modules..." "/Users/shivashankar/.config/rational-emacs/modules..." nil t)
  require(rational-evil)
  load-with-code-conversion("/Users/shivashankar/.config/rational-emacs/rationa..." "/Users/shivashankar/.config/rational-emacs/rationa..." nil t)
  load("/Users/shivashankar/.config/rational-emacs/rationa..." nil nomessage)
  (progn (load rational-config-file nil 'nomessage))
  (if (file-exists-p rational-config-file) (progn (load rational-config-file nil 'nomessage)))
  load-with-code-conversion("/Users/shivashankar/.config/rational-emacs/init.el" "/Users/shivashankar/.config/rational-emacs/init.el" t t)
  load("/Users/shivashankar/.config/rational-emacs/init.el" t t)
  (let ((init-file (expand-file-name "init.el" user-emacs-directory))) (setq package-user-dir (expand-file-name "elpa" user-emacs-directory)) (load init-file t t) (let ((chemacs-custom-file (chemacs-profile-get 'custom-file init-file))) (if (not custom-file) (progn (setq custom-file chemacs-custom-file) (if (equal custom-file init-file) nil (if (file-exists-p custom-file) nil (let (...) (save-current-buffer ... ...))) (load custom-file))))))
  chemacs-load-user-init()
  load-with-code-conversion("/Users/shivashankar/.emacs.d/init.el" "/Users/shivashankar/.emacs.d/init.el" t t)
  load("/Users/shivashankar/.emacs.d/init" noerror nomessage)
  startup--load-user-init-file(#f(compiled-function () #<bytecode -0x14b3b660489bcc7>) #f(compiled-function () #<bytecode -0x1f3c686ddc0d6275>) t)
  command-line()
  normal-top-level()

I am using Emacs 28.1 with native compilation and chemacs2.

This is coming from the evil-ex project, not Rational Emacs, see:  https://github.com/emacs-evil/evil/blob/222b791d3ebed9f58aeb3462522fa9e836fca642/evil-ex.el#L582
However, this version is older and should be updated to a newer version. This line was changed 15 months ago to be in compliance with Emacs 28. (see this commit: https://github.com/emacs-evil/evil/commit/19cc5f8eef8bfffdec8082b604c7129782acb332).
Unfortunately, there has not been a release which includes the commit above.  Rational Emacs prefers versioned packages for (hopefully) a more stable experience.  This depends on packages "releasing" a version of their packages. So, here are the options:

Reach out to the maintainers of evil-ex and request a new versioned release (this is simply adding a tag ala: git tag 1.15.0). Regardless if you choose either (or both) of the following options, please do this one.
You can pin the evil package to the melpa archive with code like this: (add-to-list 'package-pinned-packages '('evil . "melpa")) do this in your early-config.el file.
You can reorder the package priorities. Currently, "melpa" is prioritized lowest because the "version" numbers are only time stamps, but that makes them larger (both physically and numerically) than any stable version. package.el assumes a bigger version number is more recent and will therefore attempt to upgrade to the highest version it finds. We prioritize this lower than every other elpa to defeat that behavior. If you change the priority (or just set package-archive-priorities to nil) you will get the most current commits built in melpa (aka the development versions) of every package. If you choose this step, you don't need to do step 2. If you choose step 2, you don't need this one, but they are not mutually exclusive. You can choose to do them both without hurting anything.

Does this help you?

Thanks....that helped.

Great! If that resolves your issue, can we close this?


SparseEmbedding layer to be able to accept multiple input column names in bottom_name argument

Is your feature request related to a problem? Please describe.

In hugectr.SparseEmbedding layer, only single input feature name can be provided in the bottom_name argument. There are scenarios where multiple feature columns have to share the same embedding layer.
For example, in a DNN based recommendation model [paper], there are two feature columns -- impression_video_id and watched_video_ids, where the former is a univalent categorical feature column and the latter one is a multivalent categorical feature column. They both share the same embedding layer, video_embedding as shown in the below figure. Similar case for user_language and video_language.

Describe the solution you'd like
As you can pass multiple feature column names in other layers like hugectr.DenseLayer, SparseEmbedding layer should also be able to accept a list in bottom_names argument, and return embeddings for values in all the columns passed in that list.

Hi @ayushjn20, thanks for your feature request.

Workaround

The workaround is to perceive impression_video_id and watched_video_ids as a whole (assume that impression_video_id is univalent and watched_video_ids is 10-multivalent, and there are totally 1000 movies).  Similarly, we can regard user_language and video_language as a whole (assume they are both univalent and there are totally 50 languages).
reader = hugectr.DataReaderParams(data_reader_type = hugectr.DataReaderType_t.Parquet,
                                   slot_size_array = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1000, 0, 50],
                                   ...)
model.add(
    hugectr.Input(...,
               data_reader_sparse_param_array =
                               [hugectr.DataReaderSparseParam("impression_watched_video_ids", 1, True, 11)],
                               [hugectr.DataReaderSparseParam("user_video_languages", 1, True, 2)]
    )
)

model.add(hugectr.SparseEmbedding(embedding_type = hugectr.Embedding_t.DistributedSlotSparseEmbeddingHash,
                            workspace_size_per_gpu_in_mb = ???,
                            embedding_vec_size = 32,
                            combiner = "sum",
                            sparse_embedding_name = "video_embedding",
                            bottom_name = "impression_watched_video_ids"))
model.add(hugectr.SparseEmbedding(embedding_type = hugectr.Embedding_t.DistributedSlotSparseEmbeddingHash,
                            workspace_size_per_gpu_in_mb = ???,
                            embedding_vec_size = 16,
                            combiner = "sum",
                            sparse_embedding_name = "language_embedding",
                            bottom_name = "user_video_languages"))

The dimension of video_embedding is (~, 11, 32) and the dimension of language_embedding is (~, 2, 16), which can be consistent with the paper. Please NOTE that LocalizedSlotSparseEmbeddingHash can not be used with this workaround, and the configuration for slot_size_array is a little bit tricky and confusing given that the first 11 entries in slot_size_array actually belong to the same embedding table and the last 2 entries are of the same table.

Future Plan
In the future, we are going to support concat combiner in the embedding layer, and enable internal mapping mechanism from the configured columns to the actual HugeCTR slot. Both will make it much easier in terms of usage to support different columns sharing the same embedding table.

Hi @KingsleyLiu-NV ,
Thank you for your suggestions. We were successful in getting embeddings using the above mentioned ideas.
We made a slight modification to your implementation for our purpose,
reader = hugectr.DataReaderParams(data_reader_type = hugectr.DataReaderType_t.Parquet,
                                   slot_size_array = [0, 1000, 0, 50],
                                   ...)
model.add(
    hugectr.Input(...,
               data_reader_sparse_param_array =
                               [hugectr.DataReaderSparseParam("impression_watched_video_ids", [1, 10], False, 2),
                                hugectr.DataReaderSparseParam("user_video_languages", [1, 1], True, 2)]
    )
)

model.add(hugectr.SparseEmbedding(embedding_type = hugectr.Embedding_t.DistributedSlotSparseEmbeddingHash,
                            workspace_size_per_gpu_in_mb = ???,
                            embedding_vec_size = 32,
                            combiner = "mean",
                            sparse_embedding_name = "video_embedding",
                            bottom_name = "impression_watched_video_ids"))
model.add(hugectr.SparseEmbedding(embedding_type = hugectr.Embedding_t.DistributedSlotSparseEmbeddingHash,
                            workspace_size_per_gpu_in_mb = ???,
                            embedding_vec_size = 16,
                            combiner = "mean",
                            sparse_embedding_name = "language_embedding",
                            bottom_name = "user_video_languages"))

An example input which is compatible with the above configuration is,
{
    "impression_video_id": 27,
    "watched_video_ids": [120, 239, 100, 2, 10], # This will be array of max len 10.
    "user_language": 12,
    "item_language": 16,
    ...
}

This way, we do not have to split the watch_video_ids into 10 different inputs (slots). Although, it does not gives us individual embeddings for all those 11 (1 impression and 10 watched) video ids, rather the output will be of shape (~, 2, 32), where the first 32 dim vector is the video embedding of impression_video_id and the second 32 dim vector is the mean vector of those 10 watched_video_ids, which is what we want as per the paper.

@ayushjn20 Glad to hear that the workaround helps. As you have mentioned, we can only get the mean of the embeddings of 10 watched_video_ids if you put them in the same slot. For get the output of shape (~, 10, 32), you need to split them into 10 slots (padding could be required here since 10 is the max_len of watched_video_ids). This inconvinience can be saved in the future when concat combiner is enabled for the embeddings in the same slot.

retiring this ticket


Support ISO8601 Timestamp parser

The time format is yyyy-MM-dd'T'HH:mm:ss[.SSSSSS][.SSSSS][.SSSS][.SSS][.SS][.S]X.

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

Project coverage is 0.00%. Comparing base (59551e4) to head (1480e84).
Report is 793 commits behind head on master.

Files
Patch %
Lines

...ava/org/apache/pinot/spi/utils/TimestampUtils.java
0.00%
12 Missing :warning:

:exclamation:  There is a different number of reports uploaded between BASE (59551e4) and HEAD (1480e84). Click for more details.
HEAD has 48 uploads less than BASE

Flag
BASE (59551e4)
HEAD (1480e84)

integration
7
2

integration2
3
2

temurin
12
2

java-21
7
2

skip-bytebuffers-true
3
1

skip-bytebuffers-false
7
1

unittests
5
0

unittests1
2
0

java-11
5
0

unittests2
3
0

integration1
2
0

custom-integration1
2
0

Additional details and impacted files
@@              Coverage Diff              @@
##             master   #13667       +/-   ##
=============================================
- Coverage     61.75%    0.00%   -61.76%
=============================================
  Files          2436     2479       +43
  Lines        133233   136824     +3591
  Branches      20636    21299      +663
=============================================
- Hits          82274        0    -82274
- Misses        44911   136824    +91913
+ Partials       6048        0     -6048

Flag
Coverage Δ

custom-integration1
?

integration
0.00% <0.00%> (-0.01%)
:arrow_down:

integration1
?

integration2
0.00% <0.00%> (ø)

java-11
?

java-21
0.00% <0.00%> (-61.63%)
:arrow_down:

skip-bytebuffers-false
0.00% <0.00%> (-61.75%)
:arrow_down:

skip-bytebuffers-true
0.00% <0.00%> (-27.73%)
:arrow_down:

temurin
0.00% <0.00%> (-61.76%)
:arrow_down:

unittests
?

unittests1
?

unittests2
?

Flags with carried forward coverage won't be shown. Click here to find out more.

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

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

Project coverage is 0.00%. Comparing base (59551e4) to head (6fbe210).
Report is 794 commits behind head on master.

Files
Patch %
Lines

...ava/org/apache/pinot/spi/utils/TimestampUtils.java
0.00%
35 Missing :warning:

:exclamation:  There is a different number of reports uploaded between BASE (59551e4) and HEAD (6fbe210). Click for more details.
HEAD has 53 uploads less than BASE

Flag
BASE (59551e4)
HEAD (6fbe210)

integration
7
1

integration2
3
1

temurin
12
1

java-21
7
1

skip-bytebuffers-true
3
0

skip-bytebuffers-false
7
1

unittests
5
0

unittests1
2
0

java-11
5
0

unittests2
3
0

integration1
2
0

custom-integration1
2
0

Additional details and impacted files
@@              Coverage Diff              @@
##             master   #13667       +/-   ##
=============================================
- Coverage     61.75%    0.00%   -61.76%
=============================================
  Files          2436     2479       +43
  Lines        133233   136843     +3610
  Branches      20636    21299      +663
=============================================
- Hits          82274        0    -82274
- Misses        44911   136843    +91932
+ Partials       6048        0     -6048

Flag
Coverage Δ

custom-integration1
?

integration
0.00% <0.00%> (-0.01%)
:arrow_down:

integration1
?

integration2
0.00% <0.00%> (ø)

java-11
?

java-21
0.00% <0.00%> (-61.63%)
:arrow_down:

skip-bytebuffers-false
0.00% <0.00%> (-61.75%)
:arrow_down:

skip-bytebuffers-true
?

temurin
0.00% <0.00%> (-61.76%)
:arrow_down:

unittests
?

unittests1
?

unittests2
?

Flags with carried forward coverage won't be shown. Click here to find out more.

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


Seemingly false alerm in monorepo: This syntax requires an imported helper but module 'tslib' cannot be found.

Bug Report
The project uses yarn workspaces and has many packages with structures like:
- node_modules/
- package.json
- packages/
   - app/
     - node_modules/
     - package.json
   - server
     - node_modules/
     - package.json

In my case "tslib" is added to every relevent nested package.json but obviously it's only present under root node_modules/.

🔎 Search Terms

🕗 Version & Regression Information

This changed between versions 4.4.3 and 4.5.0-beta
💻 Code
import * as ReactDOM from 'react-dom';

🙁 Actual behavior
packages/app/src/program/main.tsx:3:1 - error TS2354: This syntax requires an imported helper but module 'tslib' cannot be found.

3 import * as ReactDOM from 'react-dom';
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

🙂 Expected behavior
No error.

Let me know if a repro is needed.

https://github.com/vilic/bug-repros/tree/typescript-46288

That seems to have fixed the problem, thanks!


Align backend with latest fields from the forms

Prior to migration to v2.0, align one last time the form elements with the node app and the database tables.
Tested basic form submission for rider and driver forms.

@jkbits1 2nd commit is to insert into outgoing_sms table on form submission.
it's working on v2.0 api, connected to carpool.dev
I'll continue working on the other notifications tomorrow

Now with corrected /unmatched-rider and /unmatched-driver data

I'm merging now. This is what I'll install on the live 2.0


Teacher tool results page

It's finally here! The teacher tool results page!
Features added in this PR:

Styling that better reflect the designs for the results page
Ability to change the evaluated result outcome. I.E, if a criteria evaluated to "needs work" but the teacher thought it was fine, they could change it to "looks good"
Ability to add notes to a criteria result
A header for the page that includes a QR Code for student's project
If a project is loaded, the results page will have the criteria listed, but will have the eval result set to "not started"

TODO:

Hook up the page to the print button so teachers can actually use the whole pane as a document to be handed out

Upload target: ~https://makecode.microbit.org/app/7f8be11839a9cb6975327e946a3c16b72055d1fa-78e9ccfd2a--eval~
https://makecode.microbit.org/app/b05f767340a077fc626fce120d9a539b4f21cfcb-5d8f328e64--eval

Fine to leave as a rough edge for now, but I don't think "evaluating..." should be an option in the dropdown:


🔧 BSX usd value

Thank you for your contribution to the KodaDot NFT gallery.
👇 _ Let's make a quick check before the contribution.
PR Type

[x] Bugfix
[ ] Feature
[ ] Refactoring

Context

[x] fix bug in the display of BSX USD value showing $NaN
[ ] Requires deployment <>

Before submitting pull request, please make sure:

[x] My contribution builds clean without any errors or warnings
[x] I've merged recent default branch -- main and I've no conflicts
[x] I've tried to respect high code quality standards
[x] I've didn't break any original functionality
[x] I've posted a screenshot of demonstrated change in this PR

Optional

[ ] I've tested it at </bsx/collection>
[ ] I've tested PR on mobile
[ ] I've written unit tests 🧪
[ ] I've found edge cases

Had issue bounty label?

[x] Fill up your KSM address: Payout

Community participation

[ ] Are you at KodaDot Discord?

Screenshot 📸

[x] My fix has changed something on UI; a screenshot is best to understand changes for others.

Before

After

pay 10 usd

😍 Perfect, I’ve sent the payout
💵 $10 @ 36.06 USD/KSM ~ 0.277 $KSM
🧗 EfmnRhHaQqfT3phm4cUCHCU3gFVDoSPR1U9WXzMRQBMqZ4L
🔗 0x12d60f4259990b4a898164b2f60e8eeddf1aabc77425b06e2fa3c0401de9200d
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues


Synergy SAS interconnect

Description
Adds support to Synergy SAS interconnect.
Issues Resolved
#169
Check List

[x] New functionality includes testing.

[x] All tests pass ($ rake test).
[x] New resources and/or actions have are included in the matchers.rb and matchers_spec.

[x] New functionality has been documented in the README if applicable.

[x] New functionality has been thoroughly documented in examples (please include helpful comments).

[x] Changes documented in the CHANGELOG.

@jsmartt @fgbulsoni  What do you guys think?

:shark:


Ensure the trackCrashes & automaticPushTracking arguments are respected (#779)

This addresses the issue I raised in #779 where arguments that are declared are not respected in the method (likely due to a copy-paste error).  These changes should allow the method to match what the header documentation states.

Thanks @abotkin-cpi


[Sticky] Anyone have zIndex issues with Sticky?

Example: https://github.com/Semantic-Org/Semantic-UI
Screenshot shows a full width navigation bar that's a Sticky component set to offset=0
Content below is a grid with a series of rows and columns that for some reason scrolls over the top of the sticky component. Seems the only place I can add a zIndex to fix this is inline in the element the sticky component creates.

Hi @slashwhatever, your test case is a wrong link, I’m assuming you wanted to show something?

It's been 2 weeks, yet no test-case.
Will open it once there's a test-case.


[5.5] Completed BelongsToMany Parent Key Change

This resolves the issue where BelongsToMany.php makes use of parentKey, but this concern (InteractsWithPivotTable) does not make use of parentKey at all, and instead still uses the old $this->parent->getKey() rather than $this->parent->{$this->parentKey}
This references this change illuminate/database@e4f8884 which has been superceded by illuminate/database@00c2c5a
This also includes a change to the BelongsToMany Relation to allow for the correct loading of Eager Loaded relations by making use of the parentKey for parent models.

@Upperfoot  can you please share more details on what is this fixing? Prefer if you share some code.

@themsaid
So for instance I have the following relation, last parameter is my parentKey
$this->belongsToMany(Service::class, 'user_profile_services', 'user_id', 'service_id', 'user_id');
This is my Pivot Table (user_profile_services)
id, user_id, service_id
This is my Parent Table (user_permanent_profiles)
id, user_id, title, description
This is my Related Table (services)
id, title
The last commit solves the problem of loading the relations in correctly in the first place (relations do not pull through the results as expected), the question I pose is why would the where statement use the parent model key (getKey() returns id on the Parent Model) where I specified it to use user_id by the parentKey parameter on belongsToMany - see https://github.com/laravel/framework/pull/21044/files#diff-1da60d0ef7f0ce6900996a80e2e30fa5L442
The first commit solves the problem of matching the relations after eager loading them, again it still tries to make use of getKey() (id) rather than the parentKey I specified (user_id) in the belongsToMany relation, and because of this the results are never matched and no results are returned.
I've tested against all my other belongsToMany relations and this does not break anything, but instead solves the above problem I have, it is a simple matter of making use of the parentKey variable where appropriate, and the use of getKey() in the places I have changed are artifacts of the last implementation.

@Upperfoot  can you please add some integration tests to your PR? in Illuminate\Tests\Integration\Database\EloquentBelongsToManyTest

Please make another PR with integration tests.


tensorflow-1.0.1-cp27-cp27mu-linux_x86_64.whl is not a supported wheel on this platform

I built tensorflow from source on Ubuntu 14.04 LTS.
Installed version of CUDA and cuDNN:
(please attach the output of ls -l /path/to/cuda/lib/libcud*):
ubuntu@ip-10-0-1-152:~/tensorflow$ ls -l /usr/local/cuda
lrwxrwxrwx 1 root root 19 Mar 27 16:02 /usr/local/cuda -> /usr/local/cuda-7.0
If installed from binary pip package, provide:
ubuntu@ip-10-0-1-152:~/tensorflow$ ls -l /home/ubuntu/cuda
total 8
drwxrwxr-x 2 ubuntu ubuntu 4096 Mar 21 20:34 include
drwxrwxr-x 2 ubuntu ubuntu 4096 Mar 21 20:34 lib64

The commit hash (git rev-parse HEAD)
ubuntu@ip-10-0-1-152:~/tensorflow$ git rev-parse HEAD
baa85cbf5e51a21f58bc28ef9eedc122e6118eb8
The output of bazel version
ubuntu@ip-10-0-1-152:~/tensorflow$ bazel version
...........................................................................................................
Build label: 0.4.5
Build target: bazel-out/local-fastbuild/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Thu Mar 16 12:19:38 2017<PHONE_NUMBER>)
Build timestamp:<PHONE_NUMBER>
Build timestamp as int:<PHONE_NUMBER>

Target //tensorflow/tools/pip_package:build_pip_package up-to-date:
bazel-bin/tensorflow/tools/pip_package/build_pip_package
INFO: Elapsed time: 3522.680s, Critical Path: 2077.85s
ubuntu@ip-10-0-1-19:~/tensorflow$
ubuntu@ip-10-0-1-19:~/tensorflow$ bazel-bin/tensorflow/tools/pip_package/build_pip_package /tmp/tensorflow_pkg
Wed Mar 29 17:58:57 UTC 2017 : === Using tmpdir: /tmp/tmp.fQQIv2RgvY
~/tensorflow/bazel-bin/tensorflow/tools/pip_package/build_pip_package.runfiles ~/tensorflow
~/tensorflow
/tmp/tmp.fQQIv2RgvY ~/tensorflow
Wed Mar 29 17:58:58 UTC 2017 : === Building wheel
warning: no files found matching '.dll' under directory ''
warning: no files found matching '.lib' under directory ''
~/tensorflow
Wed Mar 29 17:59:29 UTC 2017 : === Output wheel file is in: /tmp/tensorflow_pkg
ubuntu@ip-10-0-1-19:~/tensorflow$ sudo -H pip install --upgrade /tmp/tensorflow_pkg/tensorflow-1.0.1-cp27-cp27mu-linux_x86_64.whl
tensorflow-1.0.1-cp27-cp27mu-linux_x86_64.whl is not a supported wheel on this platform.
Is this a clue?
sudo -H pip install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/protobuf-3.0.0b2.post2-cp27-none-linux_x86_64.whl
protobuf-3.0.0b2.post2-cp27-none-linux_x86_64.whl is not a supported wheel on this platform.

ubuntu@ip-10-0-1-152:~$ python --version
Python 2.7.11 :: Anaconda custom (64-bit)
ubuntu@ip-10-0-1-152:~$ conda --version
conda 4.3.14

ubuntu@ip-10-0-1-152:~$ pip --version
pip 9.0.1 from /home/ubuntu/anaconda/lib/python2.7/site-packages (python 2.7)

ubuntu@ip-10-0-1-152:~$ python --version
Python 2.7.11 :: Anaconda custom (64-bit)
ubuntu@ip-10-0-1-152:~$ conda --version
conda 4.3.14
ubuntu@ip-10-0-1-152:~$ pip --version
pip 9.0.1 from /home/ubuntu/anaconda/lib/python2.7/site-packages (python 2.7)

Can you report the output of sudo pip --version as well? I suspect it might be different from the pip in your user account's $PATH.

ubuntu@ip-10-0-1-152:~/tensorflow$ sudo pip --version
pip 9.0.1 from /usr/local/lib/python3.4/dist-packages/pip-9.0.1-py3.4.egg (python 3.4)
Ummm.  python 3.4.  Bad!

On Mar 29, 2017, at 2:36 PM, Derek Murray<EMAIL_ADDRESS>wrote:
sudo pip --version

Thanks for confirming my suspicion! I'd advise following the virtualenv installation instructions if you can, since they don't require you to use sudo.

I’m able to use TensorFlow, however, ‘nvidia-smi’ reports that the GPU is not being used.
E.g. - No running processes found
ubuntu@ip-10-0-1-48:~$ nvidia-smi
Thu Mar 30 05:45:26 2017
+------------------------------------------------------+
| NVIDIA-SMI 346.46     Driver Version: 346.46         |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GRID K520           Off  | 0000:00:03.0     Off |                  N/A |
| N/A   35C    P0    38W / 125W |     10MiB /  4095MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID  Type  Process name                               Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+
ubuntu@ip-10-0-1-48:~$

Does TensorFlow w/GPU run on Ubuntu 14.04 LTS?  Amazon support seemed to think it only runs on 16.04.
This could be a similar issue:

https://github.com/tensorflow/tensorflow/issues/8734

On Mar 29, 2017, at 5:16 PM, Derek Murray<EMAIL_ADDRESS>wrote:
Thanks for confirming my suspicion! I'd advise following the virtualenv installation instructions https://www.tensorflow.org/install/install_linux#installing_with_virtualenv if you can, since they don't require you to use sudo.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/tensorflow/tensorflow/issues/8815#issuecomment-290264317, or mute the thread https://github.com/notifications/unsubscribe-auth/AC9i24zlIEC9CBGF7r44xBsn0i5-3Iyhks5rqvRGgaJpZM4MtYdP.

btw - ./configure never asked me if I wanted to use the GPU.  It only asked about openCL and CUDA:
ubuntu@ip-10-0-1-48:~/tensorflow$ ./configure
Please specify the location of python. [Default is /home/ubuntu/anaconda/bin/python]:
Please specify optimization flags to use during compilation when bazel option "--config=opt" is specified [Default is -march=native]:
Do you wish to use jemalloc as the malloc implementation? [Y/n] y
jemalloc enabled
Do you wish to build TensorFlow with Google Cloud Platform support? [y/N] n
No Google Cloud Platform support will be enabled for TensorFlow
Do you wish to build TensorFlow with Hadoop File System support? [y/N] y
Hadoop File System support will be enabled for TensorFlow
Do you wish to build TensorFlow with the XLA just-in-time compiler (experimental)? [y/N] y
XLA JIT support will be enabled for TensorFlow
Found possible Python library paths:
/home/ubuntu/anaconda/lib/python2.7/site-packages
Please input the desired Python library path to use.  Default is [/home/ubuntu/anaconda/lib/python2.7/site-packages]
Using python library path: /home/ubuntu/anaconda/lib/python2.7/site-packages
Do you wish to build TensorFlow with OpenCL support? [y/N] n
No OpenCL support will be enabled for TensorFlow
Do you wish to build TensorFlow with CUDA support? [y/N] y
CUDA support will be enabled for TensorFlow
Please specify which gcc should be used by nvcc as the host compiler. [Default is /usr/bin/gcc]:
Please specify the CUDA SDK version you want to use, e.g. 7.0. [Leave empty to use system default]:
Please specify the location where CUDA  toolkit is installed. Refer to README.md for more details. [Default is /usr/local/cuda]:
Please specify the Cudnn version you want to use. [Leave empty to use system default]:
Please specify the location where cuDNN  library is installed. Refer to README.md for more details. [Default is /usr/local/cuda]: /home/ubuntu/cuda
Please specify a list of comma-separated Cuda compute capabilities you want to build with.
You can find the compute capability of your device at: https://developer.nvidia.com/cuda-gpus.
Please note that each additional compute capability significantly increases your build time and binary size.
[Default is: "3.5,5.2"]:
INFO: Starting clean (this may take a while). Consider using --expunge_async if the clean takes more than several minutes.
...........
INFO: All external dependencies fetched successfully.
Configuration finished
I was under the impression that I would see this output (https://alliseesolutions.wordpress.com/2016/09/08/install-gpu-tensorflow-from-sources-w-ubuntu-16-04-and-cuda-8-0-rc/):
Setting up Cuda include
Setting up Cuda lib
Setting up Cuda bin
Setting up Cuda nvvm
Setting up CUPTI include
Setting up CUPTI lib64
Configuration finished

On Mar 30, 2017, at 8:16 AM, David Laxer<EMAIL_ADDRESS>wrote:
I’m able to use TensorFlow, however, ‘nvidia-smi’ reports that the GPU is not being used.
E.g. - No running processes found
ubuntu@ip-10-0-1-48:~$ nvidia-smi
Thu Mar 30 05:45:26 2017
+------------------------------------------------------+
| NVIDIA-SMI 346.46     Driver Version: 346.46         |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GRID K520           Off  | 0000:00:03.0     Off |                  N/A |
| N/A   35C    P0    38W / 125W |     10MiB /  4095MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID  Type  Process name                               Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+
ubuntu@ip-10-0-1-48:~$

Does TensorFlow w/GPU run on Ubuntu 14.04 LTS?  Amazon support seemed to think it only runs on 16.04.
This could be a similar issue:

https://github.com/tensorflow/tensorflow/issues/8734 https://github.com/tensorflow/tensorflow/issues/8734

On Mar 29, 2017, at 5:16 PM, Derek Murray<EMAIL_ADDRESS><EMAIL_ADDRESS>wrote:
Thanks for confirming my suspicion! I'd advise following the virtualenv installation instructions https://www.tensorflow.org/install/install_linux#installing_with_virtualenv if you can, since they don't require you to use sudo.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/tensorflow/tensorflow/issues/8815#issuecomment-290264317, or mute the thread https://github.com/notifications/unsubscribe-auth/AC9i24zlIEC9CBGF7r44xBsn0i5-3Iyhks5rqvRGgaJpZM4MtYdP.

Hi,
I am facing similar issue my pip is 2.7
$ sudo pip --version
pip 1.5.4 from /usr/lib/python2.7/dist-packages (python 2.7)

Got it fixed when
I downloaded get-pip.py from https://bootstrap.pypa.io/get-pip.py
and then ran python2.7 get-pip.py for installing pip2.7


Track pad scroll back on chart Vs back browse gesture

Track pad in particular

I've spent an hour looking into this with no success. The closest I can get is to apply overscroll-bahavior: none|contain to the body element. Applying it to something chart specific has no effect on the back gesture.
The gesture is not exposed to javascript either so it's not clear that it is possible to intercept it.

Take a look at CoinBase charts


[Event Request] table 83 "Item Journal Line" - OnAfterSetTrackingFilterFromItemLedgerEntry

We would like to add a new event OnAfterSetTrackingFilterFromItemLedgerEntry in the following procedure:
procedure SetTrackingFilterFromItemLedgerEntry(ItemLedgerEntry: Record "Item Ledger Entry")
begin
    //A200F0000.ns
    SetRange("Serial No.", ItemLedgerEntry."Serial No.");
    SetRange("Lot No.", ItemLedgerEntry."Lot No.");

    OnAfterSetTrackingFilterFromItemLedgerEntry(Rec, ItemLedgerEntry);
    //A200F0000.ne
end;

Event Signature:
[IntegrationEvent(false, false)]
local procedure OnAfterSetTrackingFilterFromItemLedgerEntry(var ItemJournalLine: Record "Item Journal Line"; ItemLedgerEntry: Record "Item Ledger Entry")
begin
    //A200F0000.Event
end;

This function does not exist. Please check the latest code base.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Upload wheels as release assets

On top of https://github.com/giampaolo/psutil/pull/2103 as interim solution before next pypi release
Pass one or more GitHub release URLs to pip during installation, using -f, --find-links or PIP_FIND_LINKS env var:
$ export PIP_FIND_LINKS='https://github.com/ddelange/psutil/releases' # space separated links
$ pip install psutil~=5.9
Collecting psutil~=5.9
  Downloading https://github.com/ddelange/psutil/releases/download/release-5.9.1/psutil-5.9.1-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (271 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 271.3/271.3 KB 22.2 MB/s eta 0:00:00

Just a PoC


JAVA-2399  Update Docs: Monitoring + Check of Other Pages

Updated w feedback.

LGTM

Please squash the commits and then I'll merge it.

squashed :)

Merged


bindless resources demonstration

@wlohry thanks for the effort on this!
Description
This sample demonstrates how to reduce CPU usage by offloading draw call generation and frustum culling to the GPU.
assets PR https://github.com/KhronosGroup/Vulkan-Samples-Assets/pull/13 required for this sample
Tested Environments
Windows 10 / Ubuntu Linux
GeForce 3060 / GeForce 2080 / GeForce 1070
Vulkan version: 1.2.176
General Checklist:
Please ensure the following points are checked:

[X] My code follows the coding style
[X] I have reviewed file licenses
[X] I have updated the header Copyright to reflect the current year (CI build will fail if Copyright is out of date)
[X] I have commented any added functions (in line with Doxygen)
[X] I have commented any code that could be hard to understand
[X] My changes do not add any new compiler warnings
[X] My changes do not add any new validation layer errors or warnings
[X] I have used existing framework/helper functions where possible
[X] My changes build on Windows, Linux, macOS and Android. Otherwise I have documented any exceptions
[X] My changes do not add any regressions
[X] I have tested every sample to ensure everything runs correctly
[X] This PR describes the scope and expected impact of the changes I am making

Sample Checklist
If your PR contains a new or modified sample, these further checks must be carried out in addition to the General Checklist:

[X] I have tested the sample on at least one compliant Vulkan implementation
[ ] If the sample is vendor-specific, I have tagged it appropriately
[x] I have stated on what implementation the sample has been tested so that others can test on different implementations and platforms
[x] Any dependent assets have been merged and published in downstream modules
[X] For new samples, I have added a paragraph with a summary to the appropriate chapter in the samples readme

These are texture-bleeding artifacts I think? They don't go away with nearest filtering, so probably an issue when generating the textures?

I didn't see any mention of licensing for the assets; should that be mentioned somewhere?

I didn't see any mention of licensing for the assets; should that be mentioned somewhere?

See https://github.com/KhronosGroup/Vulkan-Samples-Assets/pull/13. We already discussed that on a different communication channel.

These are texture-bleeding artifacts I think? They don't go away with nearest filtering, so probably an issue when generating the textures?

Interesting find.  I'm honestly not sure if it's the model as intended or indeed texture bleeding.  I'll investigate further.

I didn't see any mention of licensing for the assets; should that be mentioned somewhere?

See KhronosGroup/Vulkan-Samples-Assets#13. We already discussed that on a different communication channel, and yes, the license for those assets needs to be added there too.

Attribution should now exist in the README properly

It also looks like the "Freeze culling" option isn't implemented yet. There is a toggle for it. but m_freeze_cull is never evaluated.

Message From Will regarding the remaining validation error:

There are two SPV extensions: SPV_EXT_physical_storage_buffer and SPV_KHR_physical_storage_buffer. The current compiler outputs SPV_EXT*, but then the code has to use VK_EXT_BUFFER_DEVICE_ADDRESS_EXTENSION_NAME, but this causes a lot of other problems within the code (e.g. vma allocator).
Alternatively, if the SPV_KHR_physical_storage_buffer and VK_KHR_BUFFER_DEVICE_ADDRESS is used, then no validation layer messages will be produced. However, I can't figure out how to get the compiler to use the SPV_KHR* extension rather than SPV_EXT* one.

I gave an effort to see if I could get the compiler to output the KHR extension but it doesn't look like that's happening.  Anyone have suggestions?

It looks like this behavior has been fixed by this PR: https://github.com/KhronosGroup/glslang/pull/2588
A quick look at my local copy of you repo, it seems we're on an older glslang version.
So I guess we can fix this by updating the glslang submodule on our repo.

Thanks Sascha that does indeed fix it.

The freeze culling option now works as expected 👍
But it seems like the sample is leaking memory. I've been running for a few minutes to test everything, and noticed memory steadily increasing in VS (same for release/debug) mode with validation disabled:

I did some memory snapshots, and it seems like the app is leaking several objects on each frame:

Snapshot 1:

Snapshot 4:

Good catch @SaschaWillems !
gpu_cull was indeed leaking a command buffer.  When testing with LSAN, I'm still seeing
SUMMARY: LeakSanitizer: 225403 byte(s) leaked in 791 allocation(s)
However, after spending the day tracking all of these down, each of those allocations are either false positives or buried deep in the framework and are incurred no matter what the sample does.  We should do a cleanup pass, but most of the significant leaks found look like false positives (i.e. storing shared_ptr inside a map structure accounts for several).
Do me a favor and retest to confirm that you're not seeing anymore odd memory leaks specific to this sample.  I'll try to find some time to sanitize the framework in a future PR.

Did a rerun, and as you noticed, most of those leaks are caused by the framework. As this is not the sample's fault and needs fixing in the framework I'm happy with the sample :)
P.S. : Sorry for closing, clicked the wrong button.

I'm seeing a driver assert about accessing samplers out-of-range.
It would appear that the sample is not respecting maxPerStageDescriptorSamplers (64 in our case).

Ah, good find. I suppose the fix is to enable update after bind, to get the required min limit of maxDescriptorSetUpdateAfterBindSampledImages = 500000?

Looking good, but I do get one validation layer error with SDK 1.2.189:
[error] [framework\core\instance.cpp:41]<PHONE_NUMBER> - VUID-VkShaderModuleCreateInfo-pCode-04147: Validation Error: [ VUID-VkShaderModuleCreateInfo-pCode-04147 ] Object 0: handle = 0x1c13c768e80, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0x3d492883 | vkCreateShaderModule(): The SPIR-V Extension (SPV_EXT_physical_storage_buffer) was declared, but none of the requirements were met to use it. The Vulkan spec states: If pCode declares any of the SPIR-V extensions listed in the SPIR-V Environment appendix, one of the corresponding requirements must be satisfied (https://vulkan.lunarg.com/doc/view/<IP_ADDRESS>/windows/1.2-extensions/vkspec.html#VUID-VkShaderModuleCreateInfo-pCode-04147)

I think the sample needs to enable the bufferDeviceAddress feature of VkPhysicalDeviceBufferDeviceAddressFeatures to silence this.
But other than that, the sample works and looks great.

Hi Sascha,
I think that error is caused by GLSL being an older version.  The one updated in this PR should resolve to SPV_EXT*.  If you can verify that if you're on the same GLSL that this PR has this error goes away it would be appreciated.

Yeah, thanks for pointing me in that direction. Switching branches didn't seem to update the submodules, but after a manual update, the false validation errors are gone :)

The sample behaves oddly for me when running a release build: It starts without any errors, but all I can see is the clear color (I have set it to a dark blue to verify this), and it doesn't seem to properly resize when changing the window size:

The UI also doesn't show up, and there are no validation errors.
Sometimes I can get it to draw the scene by wildly resizing, pressing keys and making the window inactive and active again, but most of the time it just looks like that when run as a release build.
I haven't had much time to debug this, but I can imagine that the problem is being caused by uninitialized memory, though I wasn't able to pinpoint this. I am suspecting the cpu_commands count at draw time being zero but that is also the case in debug mode.
Btw. I find the naming of cpu_commands a bit misleading, as it's also the source of the draw commands when GPU culling is used. So maybe we could rename that one to make it a bit easier to follow?

Hmm... @SaschaWillems, How'd you get it to behave like that?  I'm not seeing anything that would make an issue happen from Release mode.

Just running it in release mode from Visual Studio. But I'm using a Vulkan developer driver, so it may not be the application's fault. If no one else sees this problem I'm fine with approving, cause otherwise the sample looks and works just fine.

As discussed on Slack: This seems to be framework related problem that also happens with other samples. Will do a separate issue for that.
The ample itself looks good to me :)

Merging per discussion on Samples call - 3 prior reviews with some minor changes..


Question: BottomNav

Hey.
Sorry to bother you with this issue!
Is there a specific reason for wrapping BottomNav in Suspense? It doesn’t seem to involve any asynchronous logic or anything similar.
Thanks,
Rafał

Components which usePathname or useSearchParams should be wrapped in
Suspense.
—
Lee Robinson
leerob.com
On Sun, Dec 15, 2024 at 4:12 AM, Rafau @.***> wrote:

Hey.
Sorry to bother you with this issue!
Is there a specific reason for wrapping BottomNav in Suspense? It doesn’t
seem to involve any asynchronous logic or anything similar.
Thanks,
Rafał
—
Reply to this email directly, view it on GitHub
https://github.com/leerob/ncaam/issues/1, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACFRBDFUYH6V3UM3BAU3O3L2FVIYBAVCNFSM6AAAAABTUMZQW6VHI2DSMVQWIX3LMV43ASLTON2WKOZSG42DANJQGYYDOMA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Receiving multiple identical nofitications at once.

Hi @evollu ,
I have a project that I'm using react-native-fcm to receive messages from Firebase Cloud Functions, currently I have the heads up notifications working in foreground background and when the device is locked. Still working on when the app is killed, but that's another issue.
My current problem is that I seem to be receiving duplicate notifications. I have noticed that sometimes if I switch between foreground and background, back to foreground it adds another duplicate when I receive another notification, I've seen it increase up to 10 at once.
Although I can't always reproduce it in this fashion. For instance it was just sending 8 at once, then I killed the app on both the device and emulator and now it is only sending 1 notification and is not increasing in number if I switch between foreground and background. It must be something to do with the way I've implemented the PushController component, I'm fairly new to react native and perhaps I'm just doing something wrong.
RN - 0.44
react-native-fcm - ^6.2.3
Emulator - Nexus_5X_API_23 - Android 6.0
Device - Nexus 5 - Android 6.0.1
Here is my usage of the PushController Component inside my Screen that renders a user list:
	renderItem= ({item}) => {
		//const { navigate } = this.props.navigation
		return <TouchableOpacity onPress={() => this.props.navigation.navigate('Chat', {friend: item}) }
			title={item.name}>
			<View style={styles.profileRowsContainer}>
				<View style={styles.imageAndTextContainer}>
					<Image source={{ uri: 'https://www.gravatar.com/avatar/'}} style={styles.profileImage}/>
					<View style={styles.textColumnContainer}>
						<Text style={styles.profileName}>{item.name}</Text>
						<Text style={styles.lastMessage}>{item.lastMessage}</Text>
					</View>
				</View>
				<Text style={styles.timeStamp}>{item.timeStamp}</Text>
			</View>
		</TouchableOpacity>
	}

	render() {
		return (
			<View style={styles.container}>
				<PushController/>
					<FlatList
						data={this.state.data}
						renderItem={this.renderItem}
						extraData={this.state}
						keyExtractor={item => item.uid}
					/>
				<Spinner visible={this.state.loading} />
			</View>
		);
	}

And the PushController.js
import React, { Component } from "react";

import { Platform } from 'react-native';

import FCM, {
            FCMEvent,
            RemoteNotificationResult,
            WillPresentNotificationResult,
            NotificationType
            }
            from "react-native-fcm";

//import firebaseClient from  "./FirebaseClient";
const firebase = require("firebase");

export default class PushController extends Component {
  constructor(props) {
    super(props);

    this.friendsRef = this.getRef().child('friends');
  }

  getRef() {
    return firebase.database().ref();
  }

  componentDidMount() {
    FCM.requestPermissions();
    var user = firebase.auth().currentUser;

    FCM.getFCMToken().then(token => {
      console.log("TOKEN (getFCMToken)", token);
      this.friendsRef.child(user.uid).update({
        token: token
      })
      this.props.onChangeToken(token);
    });

    FCM.getInitialNotification().then(notif => {
      console.log("INITIAL NOTIFICATION", notif)
    });

    this.notificationListner = FCM.on(FCMEvent.Notification, notif => {
      console.log("Notification", notif);
      if(notif.local_notification){
        return;
      }
      if(notif.opened_from_tray){
        return;
      }

      if(Platform.OS ==='ios'){
              //optional
              //iOS requires developers to call completionHandler to end notification process. If you do not call it your background remote notifications could be throttled, to read more about it see the above documentation link.
              //This library handles it for you automatically with default behavior (for remote notification, finish with NoData; for WillPresent, finish depend on "show_in_foreground"). However if you want to return different result, follow the following code to override
              //notif._notificationType is available for iOS platfrom
              switch(notif._notificationType){
                case NotificationType.Remote:
                  notif.finish(RemoteNotificationResult.NewData) //other types available: RemoteNotificationResult.NewData, RemoteNotificationResult.ResultFailed
                  break;
                case NotificationType.NotificationResponse:
                  notif.finish();
                  break;
                case NotificationType.WillPresent:
                  notif.finish(WillPresentNotificationResult.All) //other types available: WillPresentNotificationResult.None
                  break;
              }
            }
      this.showLocalNotification(notif);
    });

    this.refreshTokenListener = FCM.on(FCMEvent.RefreshToken, token => {
      console.log("TOKEN (refreshUnsubscribe)", token);
      this.props.onChangeToken(token);
    });
  }

  showLocalNotification(notif) {
    FCM.presentLocalNotification({
      title: notif.title,
      body: notif.body,
      priority: "high",
      click_action: notif.click_action,
      show_in_foreground: true,
      local: true
    });
  }

  componentWillUnmount() {
    this.notificationListner.remove();
    this.refreshTokenListener.remove();
  }

  render() {
    return null;
  }
}

Any help is appreciated! Thanks.

could it be componentDidMount being loaded multiple times?

I don't think so, here is the full code for the Screen that loads the PushController component. I've been testing the app on 2 devices and an emulator for a few hours now with no duplicates, it seems to be ok now... Interestingly the only change I did is update react-navigation to the latest, could that have been the issue??
export default class FriendsListScreen extends React.PureComponent {
	static navigationOptions = {
	title: 'FriendsList',
	};
	constructor(props) {
		super(props);
		this.state = {
			data: [],
			loading: true
		};
		this.friendsRef = this.getRef().child('friends');
		this.lastRef = this.getRef().child('lastMessage');
	}

	generateChatId(user, friend) { //creates unique chat code to identify session
		if(user > friend)
			return `${user}-${friend}`
		else
			return `${friend}-${user}`
	}

	getRef() {
		return firebase.database().ref();
	}

	listenForItems(friendsRef, lastRef) {
		var user = firebase.auth().currentUser;
		friendsRef.on('value', (snap) => {
			var items = [];
			snap.forEach((childNode) => {
				if(childNode.val().email != user.email){
					//retrieve last message and timestamp from different section of the database
					//console.log(childNode.val().uid);
					lastRef.child(this.generateChatId(user.uid, childNode.val().uid)).on('value', (snapshot) => {
							if(snapshot.val() !== null){
								//console.log(snapshot.val().text);
								this.lastMessage = snapshot.val().text;
								this.timeStamp = snapshot.val().createdAt;
								this.timeStamp = new Date(this.timeStamp);
								var now = new Date()
								//need to fix, supposed to see if message is a day or older then swap to date
								if(this.timeStamp > now.getDate() - 1){
									this.timeStamp = this.timeStamp.toLocaleTimeString();
								} else {
									this.timeStamp = this.timeStamp.toLocaleDateString();
								};
								//this.timeStamp = this.timeStamp.toLocaleTimeString();
							}
						//Check if array is empty, add first object
						if(items.length === 0) {
							//console.log('First check if empty');
							//console.log(items);
							items.push({
								name: childNode.val().name,
								uid: childNode.val().uid,
								email: childNode.val().email,
								lastMessage: this.lastMessage,
								timeStamp: this.timeStamp
							});
						} else {
							var match = false;
							for (var i in items) {
								//if object exists in the array then update the values in the object
								if (items[i].uid == childNode.val().uid) {
									//console.log('Found uid match');
									//console.log(childNode.val().name);
									items[i].lastMessage = this.lastMessage;
									//console.log(items[i].lastMessage);
									items[i].timeStamp = this.timeStamp;
									//console.log(items[i]);
									match = true;
									break; //Stop the loop, match is found.
								} else {
									match = false;
								}
							}
							// if object doesn't exist in array then add it
							if(match === false) {
								//console.log('Regular push, after uid check');
								//console.log(childNode.val().name);
								items.push({
									name: childNode.val().name,
									uid: childNode.val().uid,
									email: childNode.val().email,
									lastMessage: this.lastMessage,
									timeStamp: this.timeStamp
								});
							}
						}
							//console.log('After');
							//console.log(items);
							this.setState({
								data: items,
								loading: false
						});

					});
				}
			});
		});
	}

	componentDidMount() {
		this.listenForItems(this.friendsRef, this.lastRef);
	}

	renderItem= ({item}) => {
		//const { navigate } = this.props.navigation
		return <TouchableOpacity onPress={() => this.props.navigation.navigate('Chat', {friend: item}) }
			title={item.name}>
			<View style={styles.profileRowsContainer}>
				<View style={styles.imageAndTextContainer}>
					<Image source={{ uri: 'https://www.gravatar.com/avatar/'}} style={styles.profileImage}/>
					<View style={styles.textColumnContainer}>
						<Text style={styles.profileName}>{item.name}</Text>
						<Text style={styles.lastMessage}>{item.lastMessage}</Text>
					</View>
				</View>
				<Text style={styles.timeStamp}>{item.timeStamp}</Text>
			</View>
		</TouchableOpacity>
	}

	render() {
		return (
			<View style={styles.container}>
				<PushController/>
					<FlatList
						data={this.state.data}
						renderItem={this.renderItem}
						extraData={this.state}
						keyExtractor={item => item.uid}
					/>
				<Spinner visible={this.state.loading} />
			</View>
		);
	}
}

I don't know. I put my listener in root component (out side of react-navigator's Navigator ) to avoid any rerender

Oh ok, my root component would be my App.js file I believe? It just has navigation routing in it and loads all the screens. It doesn't have any render currently, would it be best to put the listener there? If so how would you do that?
App.js
import React, { Component } from 'react';
import {
  AppRegistry,
  StyleSheet,
  Text,
  View,
  StatusBar
} from 'react-native';
const firebase = require("firebase");

var config = {
};
firebase.initializeApp(config);

import { TabNavigator } from 'react-navigation';
import { StackNavigator } from 'react-navigation';

import LoginScreen from './App/Screens/Login'
import SignUpScreen from './App/Screens/Signup'
import ForgetPasswordScreen from './App/Screens/ForgetPassword'
import FriendsListScreen from './App/Screens/FriendsList'
import ChatScreen from './App/Screens/Chat'
import InventoryEditorScreen from './App/Screens/InventoryEditor'

const MainScreenNavigator = TabNavigator({
  FriendsList: { screen: FriendsListScreen },
  InventoryEditor: { screen: InventoryEditorScreen}
});

const LoginNavigator = StackNavigator({
  Login: { screen: LoginScreen },
  Signup: { screen: SignUpScreen },
  ForgetPassword: { screen: ForgetPasswordScreen },
  Main: { screen: MainScreenNavigator },
  Chat: {screen: ChatScreen}
});

AppRegistry.registerComponent('Market1', () => LoginNavigator);

I have extra component that be root component because I use redux as well
class App extends React.PureComponent {
componentDidMount() {

    FCM.removeAllDeliveredNotifications();

    FCM.getFCMToken().then(token => {
      console.log(`token ${token}`);
      store.dispatch(actions.viewActions.setGCM(token));
    });

    FCM.getInitialNotification().then(notif => {
      console.log('initial notif', notif);
    });

    this.notificationListener = FCM.on(FCMEvent.Notification, (data) => {
      console.log('notification: ' + JSON.stringify(data));
      store.dispatch(actions.logic.handlePushUpdate(data));
    });
    this.tokenRefreshListener = FCM.on(FCMEvent.RefreshToken, token => {
      console.log(`refresh token ${token}`);
      store.dispatch(actions.viewActions.setGCM(token));
    });
  }

  componentWillUnmount() {
    this.notificationListener.remove();
    this.tokenRefreshListener.remove();
  }

  render() {
    return (
      <Provider store={store}>
        <View style={{ flex: 1 }}>
          <Navigator />
        </View>
      </Provider>
    );
  }
}

Ok if the issue pops up again I'll see what I can do to move the listener to the root.
Thanks!

pls reopen if you see it again

I'm having this same problem: the background notifications never seem to dismiss. I launch the app, send it to background, and send a push notification. I receive it, open the app, and get 1 console log as expected. Then I send the app back to background, send another push, receive it, but when I open it, I now get 2 console logs. (Next time 3, etc.)
import FCM, { FCMEvent } from 'react-native-fcm'

FCM.getInitialNotification()
  .then(notif => alert('initial notif: ' + JSON.stringify(notif)))

class Homepage extends React.Component {

  componentDidMount = () => {
    FCM.requestPermissions() // for iOS
    FCM.removeAllDeliveredNotifications()
    FCM.getFCMToken().then(token => {
        UserService.pushToken(token)
    })

    this.notificationListener = FCM.on(FCMEvent.Notification, async (notif) => {
      console.log('notification: ', JSON.stringify(notif))
      notif.finish()
    }
  }

  componentWillUnmount = () => {
    this.notificationListener.remove()
  }

}

I tried several combinations of using `finish()`, `removeAllDeliveredNotifications()`, and `clearLocalNotifications()` with no success. Any insight would be appreciated!

@evollu @rtrann might we re-open this for investigation again?

Actually, it was my mistake, I had registered multiple listeners on each mount.

@nkov How did you figured you have registered multiple listeners? I think I have the same problem.
I have also the same implementation.

I've had similar problem, but it was my mistake. When I put FCM.on(FCMEvent.Notification,... outside of component and componentDidMount, multiple firings weren't occuring. Finally find the reason, make sure your have correct setup of AndroidManifext.xml etc.. (my problem was missing android:launchMode="singleTop") [https://github.com/evollu/react-native-fcm#config-for-notification-and-click_action-in-android]


[ERR] REPETITION_TIME_MISMATCH

With bl2bids, I came across this error using the Cam-Can dataset: [ERR] Repetition time did not match between the scan's header and the associated JSON metadata file. (code: 12 - REPETITION_TIME_MISMATCH).
This is a known error to which a solution was already proposed: https://neurostars.org/t/bids-validator-error-tr-mismatch-between-nifti-header-and-json-file-and-bids-validator-is-somehow-finding-tr-0-best-solution/1799/2.
What do you think if we do something similar? I already drafted the code, which modifies the header of the images though. Let me know. @soichih

I see. So according to the thread you found, it seems that RepetitionTime mistach issue was reported to Cam-Can as early as 2018 but they still haven't corrected it. I am not sure why they aren't interested in fixing it.
I feel that, copying the entire input nifti files just to override the nifti header for the sole purpose of passing the bids-validator to be somewhat wasteful, and also could make the data processing a bit less transparent. On app-fmriprep, I've added an option to skip bids-validator if user choose to do so. I think we could make sure that any BIDS App will have capability to skip the bids-validation, like app-fmriprep so that user can first try with the bids-validation turned on (usually by default on most BIDS Apps I believe), then try without validation later if they so choose.
But if you feel strongly that we should go ahead and modify the header, we could do that. When you do, you will need to store a copy of original input nifti file instead of modifying the original input file as you will not able to modify the input data.

I see. So according to the thread you found, it seems that RepetitionTime mistach issue was reported to Cam-Can as early as 2018 but they still haven't corrected it. I am not sure why they aren't interested in fixing it.
I feel that, copying the entire input nifti files just to override the nifti header for the sole purpose of passing the bids-validator to be somewhat wasteful, and also could make the data processing a bit less transparent. On app-fmriprep, I've added an option to skip bids-validator if user choose to do so. I think we could make sure that any BIDS App will have capability to skip the bids-validation, like app-fmriprep so that user can first try with the bids-validation turned on (usually by default on most BIDS Apps I believe), then try without validation later if they so choose.
But if you feel strongly that we should go ahead and modify the header, we could do that. When you do, you will need to store a copy of original input nifti file instead of modifying the original input file as you will not able to modify the input data.

Ok, I would also be cautious in modifying input files. Let's leave it like that, keeping in mind that one would need to enable the skip bids-validation option if using the Cam-Can dataset.

Ok, I would also be cautious in modifying input files. Let's leave it like that, keeping in mind that one would need to enable the skip bids-validation option if using the Cam-Can dataset.


alluxio integration with Spark throw error when write/read hudi table

Alluxio Version:
2.9.3
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
1:  setup  alluxio cluster
2: cp alluxio client jar into spark jar path
3: create hudi table with alluxio namespace uri path
CREATE EXTERNAL TABLE tpcds_text_1000.dwd_charge_transaction_record_v_partition3 (
chain_id STRING,
create_time STRING,
id STRING,
...)
using hudi
tblproperties (
type = 'cow',
primaryKey = 'id',
preCombineField = 'ts'
)
PARTITIONED BY (ts STRING)
LOCATION 'alluxio:///1000/dwd_charge_transaction_record_v_partition'
4: using spark sql write into the hudi table
spark-sql --jars /usr/lib/hudi/hudi-spark-bundle.jar --conf 'spark.serializer=org.apache.spark.serializer.KryoSerializer' --conf 'spark.sql.extensions=org.apache.spark.sql.hudi.HoodieSparkSessionExtension' --conf  "spark.driver.memory=32G"  --conf  "spark.executor.memory=40G" --conf "spark.dynamicAllocation.enabled=true"
insert into ....
Expected behavior
throw exception as alluxio object not serialized in Spark task
23/07/16 07:36:03 ERROR TaskSetManager: task 0.0 in stage 0.0 (TID 0) had a not serializable result: alluxio.client.file.URIStatus

field (class: alluxio.hadoop.AlluxioFileStatus, name: mUriStatus, type: class alluxio.client.file.URIStatus)
object (class alluxio.hadoop.AlluxioFileStatus, AlluxioFileStatus{path=alluxio:/1000/flink-hudi/logevent_sink_test/.hoodie; isDirectory=true; modification_time=1689492891699; access_time=1689492891699; owner=hadoop; group=hadoop; permission=rwxrwxrwx; isSymlink=false; hasAcl=false; isEncrypted=false; isErasureCoded=false; metadata=null})
element of array (index: 0)

Urgency
serv3 not effect prod immediately
Are you planning to fix it
Please indicate if you are already working on a PR.
Additional context
Add any other context about the problem here.

Thanks for raising the issue, I would take a look!

@HelloHorizon do you think we can support this use case?

check the pr, it may resolve the issue
https://github.com/Alluxio/alluxio/pull/18266/files

you can also configure the URIStatus  with kyro serialized  and try again


Eureka: Uncaught TypeError: Cannot read property eureka.js

8/21/2018 8:48:46 PM: Info: Eureka: BrowserConsole: Uncaught TypeError: Cannot read property '0' of null (Source: file:///M:/ACTv3/OverlayPlugin/cactbot/ui/eureka/eureka.js, Line: 1157)
I get the above when I copy the tracker killed NMs and paste it via
/echo NMs on cooldown: Snow Queen (19m) > Glavoid (20m) > Minotaurs (62m) > Ash Dragon (67m)

I had this happen when trying to reconnect to a eureka session after a BSOD, but tracker pastes worked again after restarting both ffxiv and ACT and re-entering Eureka. #199


It works very well on WSL with Ubuntu 22.04 LTS

Hi  @costashatz , this is a comment related to the JOSS review https://github.com/openjournals/joss-reviews/issues/6771

Successfull compilation and installation under the WSL/Ubuntu 22.04 layer on Windows 11 ! You should maybe add to the project's description the possibility of installing Robot_Dart under Windows 11/WSL.
First C++ tests successfully running; namely the arm and arm_plain.

The previous example works also with the Python bindings.
However, there is a common bug in both C++ and Python graphics; the horizontal status bar is not displayed.

This is fixed via ab8c9c5a6a8ba3fe4d46ccb91ff79c969fcd06e5!
Thanks @bstanciulescu


Change Backgroud to PageColor

Using background to set color shows an obsolete warning, changed to the new PageColor instead.

Thank you for this PR 😁
I decided to make the readme file more consistent with the primary repository, including core removal and replacing it with animation. This is why I am closing this PR.


System.AccessViolationException when setting ModalDialog.ModalTransitions

I keep getting weird exceptions when I try to set a transition in my XAML:

An unhandled exception of type 'System.AccessViolationException' occurred in Huetro.exe

Additional information: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

My XAML:
` <Controls:ModalDialog x:Name="BusyModal" Grid.Row="1" CanBackButtonDismiss="True" ModalBackground="#CC2E2E2E">
        <Controls:ModalDialog.ModalContent>
            <Grid Background="#FF2E2E2E" MaxWidth="500" MaxHeight="610">
                <local:ColorPicker x:Name="ColorPickert" />
                <Button x:Name="CloseBtn" Width="30"  Height="30" HorizontalAlignment="Right" VerticalAlignment="Top" Click="CloseBtn_Click" Style="{StaticResource DialogCloseButtonStyle}" />

            </Grid>

        </Controls:ModalDialog.ModalContent>
        <Controls:ModalDialog.ModalTransitions>
            <PopupThemeTransition />

        </Controls:ModalDialog.ModalTransitions>

    </Controls:ModalDialog>`

The validation sample does this successfully.

Can you link to this @JerryNixon? I'm not seeing any samples with the Controls:ModalDialog.ModalTransitions enabled.
Am I using it in the right way (see code above)?

        <Controls:ModalDialog.ModalTransitions>
            <PopupThemeTransition />

        </Controls:ModalDialog.ModalTransitions>

needs to be this even though ModalTransitions inherits TransitionCollections

        <Controls:ModalDialog.ModalTransitions>
          <TransitionCollections>      <!-- Required -->
            <PopupThemeTransition />
          </TransitionCollections>      <!-- Required -->
        </Controls:ModalDialog.ModalTransitions>


content(article): Expose Missing Bits article in menus

@imdfl What do you think about cutting the 'mels-hack' prefix from the article's URL? Content will stay the same, only URL will shorten.
Also, please review.


Find a location for mature-gametocyte dynamics

Mature gametocyte counts are accumulated + updated (natural decay + mature gametocyte drug killing), as part of Individual_Malaria::UpdateInfectiousness() calling UpdateGametocyteCounts().  That code is called in the separate human-to-mosquito infectiousness calculations in the time step after gametocytes are cycled, before the loop-over-individual Update step.
One can of course follow the same pattern, but it would be cleaner to handle the decay and drug-killing at the end of the infection update step.  The current arrangement is to avoid order-of-timestep-update differences with past simulations.
Note that if retrieving mature gametocyte densities directly from the Infection object (rather than the accumulated and cached densities from the Individual object) one has to consider also these beginning-vs-end-of-timestep considerations.

Behavior of within-host model with mature gametocytes waning from PR #16


ggshield scan docker misses some files

GitGuardian Shield Version

1.11.0

Describe the bug

Unpack this archive: missed-secret.zip
Create a Docker image from it:

cd missed-secret
docker build -t missed-secret:1 .

Scan the image:

ggshield scan docker missed-secret:1

→ No secrets are found.

Change the COPY line in the Dockerfile to:

COPY index.py /index.py

Rebuild the Docker image:

docker build -t missed-secret:2 .

Scan the image:

ggshield scan docker missed-secret:2

→ Secret is found.

This seems linked to this banlist : https://github.com/GitGuardian/ggshield/blob/main/ggshield/scan/docker.py#L14


Capture and Settings API updates

capture_hdr_separate_frames.py is removed because the API to combine
frames is removed. HDR capture is always taken care of by the capture
API. An HDR happens if more than one acquisition setting is provided
in the settings argument.

@eskaur please review again


add suffix default

fix #121

@StefanKarpinski ok I think this is ready to review, tests passes locally for me!

any movement?

not sure how to deal with conflicts

@StefanKarpinski ready again

Sorry for the delay in reviewing this. I will try to get to it this week.

bump to make into 1.8?

It's too late for 1.8 but yes, I should review this and merge it. Sorry for the long delay!

gentle bump

1.9?

Yeah, sorry, I'll get this reviewed and merged for 1.9. Sorry for the slowness.

semi-annual bump

Bump for 1.11

Trying to fix this up to where we can have it has led me into the hell of reading and trying to fully grok the Content-Disposition header, which is very complex and messy...

curl just doesn't support filename* at all.

Ok, I'm starting to get a handle on this, but wow do I still hate IETF RFCs...

Just to put this down in text before I forget it (because life is conspiring to prevent me from actually implementing today):

HTTP header values are effectively required to be pure ASCII.
Content-Disposition headers generally look something like this: attachment; filename="name.txt"; filename*=utf-8''name.txt
The filename attribute of content disposition headers only supports ASCII file names; it's supposed to be quoted, but sometimes isn't, so it's standard to handle bare unquoted file names.
I can't figure out what the quoting/escaping rules for filename values are; there's a rat's nest of grammars smeared across a half dozen RFCs that I haven't been able to untangle. If someone can figure this out or find a clear reference for it, that would be a big help.
The filename* attribute allows non-ASCII file names. It has a whacky encoding scheme that looks like utf-8''name.txt or iso-8859-1''name.txt. What's the deal with these? If the name is simple ASCII, this isn't necessary to use. If the name is non-ASCII, then it uses percent-escapes (like in URLs) to encode that:

With the utf-8 prefix, the escapes encode UTF-8 code units, i.e. bytes.
With the iso-8859-1 prefix, the escapes encode Latin-1 code units which are code points, but only up to the max code point of Latin-1, which is U+FF (255).
They agree on escapes of ASCII values, e.g. spaces or quotes.
They differ on the encoding of all non-ASCII code points: utf-8 uses multiple escapes (code units) for all of those, whereas iso-8859-1 uses a single escape (code unit) for all code points that it supports.

If there are both filename and filename* attributes, you're supposed to prefer the filename* one since it's more expressive and the filename attribute may be a pure ASCII version of the name whereas filename* has the name that's really desired.

I'd really like to figure out the official quoting and escaping rules for these values, but as I wrote, it's a tangled mess of rules to decipher.

It looks like situation is complicated.  For example, take the buildkite artifacts (e.g. julia-6f143eaf24-macos-aarch64.tar.gz (NOTE: this tarball is 210 MB!), from https://buildkite.com/julialang/julia-master/builds/34591#018e2e70-4ff0-412a-b3d3-391021c9f36e), the header doesn't have Content-Disposition:
julia> get_filename(Downloads.request("https://buildkite.com/organizations/julialang/pipelines/julia-master/builds/34591/jobs/018e2e70-4ff0-412a-b3d3-391021c9f36e/artifacts/018e2e77-1335-4077-8b62-115fdc0342f4"))
false

and also
curl -JO https://buildkite.com/organizations/julialang/pipelines/julia-master/builds/34591/jobs/018e2e70-4ff0-412a-b3d3-391021c9f36e/artifacts/018e2e77-1335-4077-8b62-115fdc0342f4

(which would look at Content-Disposition according to the manpage) doesn't get the nice filename julia-6f143eaf24-macos-aarch64.tar.gz, but if I download the file through Firefox then the file I download does get that filename.  No idea of what Firefox does though.

that's just from file name:
> curl -sD - -o /dev/null https://buildkite.com/organizations/julialang/pipelines/julia-master/builds/34591/jobs/018e2e70-4ff0-412a-b3d3-391021c9f36e/artifacts/018e2e77-1335-4077-8b62-115fdc0342f4
HTTP/2 302
content-type: text/html; charset=utf-8
location: https://buildkiteartifacts.com/d409823c-5fa7-41c8-9033-7269c5fde4f3/53de1ea5-6dd3-4008-b976-161c9f34b0ad/018e2e6f-aa27-4259-ba65-cad07c9c7840/018e2e70-4ff0-412a-b3d3-391021c9f36e/julia-6f143eaf24-macos-aarch64.tar.gz?response-content-type=application%2Fgzip&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIAQPCP3C7LXDWLG2CS%2F20240311%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240311T195936Z&X-Amz-Expires=600&X-Amz-Security-Token=IQoJb3JpZ2luX2VjECkaCXVzLWVhc3QtMSJHMEUCIQDYWM4%2BDz3Achji6Yyh4bs9q25O0WOgI6bDopoMVa7cUAIgc%2BFU0c85OB0YFcxfWfDBVqH6ltm3R6OsMEDo1tBIrfoq8QMIMhAAGgwwMzIzNzk3MDUzMDMiDHaGQ7%2BSfdWE1mS1UyrOA1HP0kFmZfxqbsWHEQnxrlNVWAhM7a6pGuKMZoOmXuBHSosesvX1UCAF46dduOa3kW14NpRDLCFIcxB8LarOKwCK3DGJfqegESOSc1chQlhm2JLNwBvozIYb18q5GGJQWLBOl88p5GOYO5xFJQuoOWxdP%2BGvvsYpOEVHEWMvOBcizsr3ODzkvGtgOojc5hrPF%2BO0YDwNQgALBefJ97124TntxVKoHThltcAej55iLezLnmbmGhO%2Fai%2FUbe33Ek6zgkL2G3%2FyqEasktx%2FkPsjLjruYDhcEWQUA7R47EG%2Fzj0Ifu3qKTctkaAObAr54zqEwXfEV714caS9CDm7s9ITmuINc8yoN7gAuGZWTn1xA7nkFFLgSn%2FDyY8ObYAinOq2TLSY%2BXtmUxOVuOw6M24p7Bq5kEKncET3vUId0dVm4RWxOLq0t9uPlwQTUc9b3O14192xXEpIfB4tVoHVuZlGC4gbne0SwImb8dy8PRk8zi%2BlqXNzzMqTNpIoJOjWQfr8YsTikaAMHQUSk6MOGD%2F4%2BPiMbqgDfMbeP%2FTnlvFlARdmus%2BrVqfuNkKuxzqFFJDiDJoijpreO6rovfW0%2Fk7za3EDB0A%2FTLdmjdLNU%2F33PTCV5ryvBjqlAUda1syuTVTv%2F6P%2Fif0OBcx0eVBKFGQwINOMw1haeMCo6%2BfBv%2FfyktTZnIg0bBukU1Zxu5AfXarqrUg%2FsJeCRxr5EJFzP1coMI5coiTVo1h4B%2BihNPOScPM5QfoMnSXxrsix%2Bx7MCa49SPr0c1gpzutUGF3XBB60KFs0pOF8vCfjlWh1WtT3q6a2SgiXIS8du5UkUhkXOWJa0zQWXZlLfWnRrSZzmQ%3D%3D&X-Amz-SignedHeaders=host&X-Amz-Signature=2f8fcdd1111f3a95443a97c3e1c0be1ec3c2775409ca90fd6b5f8c6f869c62b0
date: Mon, 11 Mar 2024 19:59:36 GMT

In particular, the file name should be extracted from the final URL after redirects, not the initial URL that's asked for. That's easy enough since that's the URL that the Response object has. The hard part is just the URL parsing, which isn't that hard, but I have to sit down and wrap my head around the full URL syntax well enough to figure out how to correctly extract the file name. I also think we should probably download into a temporary directory and always match the file name, probably barring the absurd list of forbidden file names on Windows.

Converted to draft because this should not be merged as-is. I will probably make an alternative PR once I've got it all working.


DeviceInfo.getUniqueId() and DeviceInfo.getDeviceId() always returns unknown

My code:
let uid = DeviceInfo.getUniqueId()
console.log(uid)

Te value is always unknown on iOS.

How'd it go when you ran the example?

@artmerlop do you have found the fix for this issue

@karthikmandava7 have you checked to see if this varies on newer iOS devices? It's possible they've changed the behaviour here or require more permissions, I'm not sure https://github.com/react-native-community/react-native-device-info/blob/master/README.md#getuniqueid


Standardized header format

For running against the ARC signing test suite.  Not intended to be merged into master.

Experimental branch.


NER evaluation

A thread to report and discuss progress on the NER evaluation pipeline development.

AAPB-annotation repo holds upload and “gold” data in separate directories
See https://github.com/clamsproject/clams-aapb-annotations/issues/2 and https://github.com/clamsproject/clams-aapb-annotations/issues/9 for details on directory structure
https://github.com/clamsproject/wgbh-collaboration/issues/21 for details on source data (source data can’t be uploaded in a public repo due to IP/copyright problems)
https://github.com/clamsproject/app-spacy-nlp is the first app we’d like to evaluate first.
https://pypi.org/project/mmif-python/ can be useful to handle MMIF json files

Some questions to @JinnyViboonlarp and @Angela-Lam regarding the progress so far;

How do you to handle label sets differences in the gold data and spacy output (if any)?
Which format do you assume for the "gold" input? Currently there are MMIF files in the "gold" directory, but I heard @marcverhagen and @JinnyViboonlarp were discussing the formats last week.

Regarding label differences, the current mapping is  {'PERSON':'person',
'ORG':'organization', 'FAC':'location', 'GPE':'location',
'LOC':'location'}  They
are pretty much 1-to-1 mapping except FAC (countries' names) which
semantically could be either mapped to location or organization based on
contexts.
The current code works with ".ann" format for both gold data and model's
data, but the plan is for me to make it accept input in either .ann or
.mmif (or .json representing a mmif file) format.
On Mon, Apr 24, 2023 at 4:54 PM Keigh Rim @.***> wrote:

Some questions to @JinnyViboonlarp https://github.com/JinnyViboonlarp
and @Angela-Lam https://github.com/Angela-Lam regarding the progress so
far;

How do you to handle label sets differences in the gold data and
spacy output (if any)?
Which format do you assume for the "gold" input? Currently
https://github.com/clamsproject/clams-aapb-annotations/tree/82c56a4c8a03ab62e7674600bfdf006092dfa932/golds/ner/2022-jun-namedentity/annotations
there are MMIF files in the "gold" directory, but I heard @marcverhagen
https://github.com/marcverhagen and @JinnyViboonlarp
https://github.com/JinnyViboonlarp were discussing the formats last
week.

—
Reply to this email directly, view it on GitHub
https://github.com/clamsproject/consumer-evaluation/issues/1#issuecomment-1520811609,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARDHMWURSPFNPDNMZ4I5MQTXC3SAXANCNFSM6AAAAAAWMRA4XY
.
You are receiving this because you were mentioned.Message ID:
@.***>

To add to Jinny’s email, for the mmif format files, I also plan on having a
1:1 mapping between the predictions and space output. The gold input for
this particular  evaluation task is assumed to have mmif format, and I
think a lot of the code than Jinny wrote can be reused here. I haven't been
able to dig deep into it last week because I was a little swamped by finals
T-T
On Mon, Apr 24, 2023 at 17:11 Jinny Viboonlarp @.***>
wrote:

Regarding label differences, the current mapping is {'PERSON':'person',
'ORG':'organization', 'FAC':'location', 'GPE':'location',
'LOC':'location'} They
are pretty much 1-to-1 mapping except FAC (countries' names) which
semantically could be either mapped to location or organization based on
contexts.
The current code works with ".ann" format for both gold data and model's
data, but the plan is for me to make it accept input in either .ann or
.mmif (or .json representing a mmif file) format.
On Mon, Apr 24, 2023 at 4:54 PM Keigh Rim @.***> wrote:

Some questions to @JinnyViboonlarp https://github.com/JinnyViboonlarp
and @Angela-Lam https://github.com/Angela-Lam regarding the progress
so
far;

How do you to handle label sets differences in the gold data and
spacy output (if any)?
Which format do you assume for the "gold" input? Currently
<
https://github.com/clamsproject/clams-aapb-annotations/tree/82c56a4c8a03ab62e7674600bfdf006092dfa932/golds/ner/2022-jun-namedentity/annotations

there are MMIF files in the "gold" directory, but I heard @marcverhagen
https://github.com/marcverhagen and @JinnyViboonlarp
https://github.com/JinnyViboonlarp were discussing the formats last
week.
—
Reply to this email directly, view it on GitHub
<
https://github.com/clamsproject/consumer-evaluation/issues/1#issuecomment-1520811609
,
or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/ARDHMWURSPFNPDNMZ4I5MQTXC3SAXANCNFSM6AAAAAAWMRA4XY
.
You are receiving this because you were mentioned.Message ID:
@.***>

—
Reply to this email directly, view it on GitHub
https://github.com/clamsproject/consumer-evaluation/issues/1#issuecomment-1520832822,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APLVQCQ6KMVLVNP3TASXZXDXC3UB3ANCNFSM6AAAAAAWMRA4XY
.
You are receiving this because you were mentioned.Message ID:
@.***>

Dear Angela,
I just would like to give you a heads-up that I will most likely edit the
evaluation code in a pretty significant way to make it more easily to check
that the implementation is correct (after I’m too less swamped by finals),
so now might not be the best time to dig deep into it.
On Tue, Apr 25, 2023 at 8:13 AM Angela-Lam @.***> wrote:

To add to Jinny’s email, for the mmif format files, I also plan on having a
1:1 mapping between the predictions and space output. The gold input for
this particular evaluation task is assumed to have mmif format, and I
think a lot of the code than Jinny wrote can be reused here. I haven't been
able to dig deep into it last week because I was a little swamped by finals
T-T
On Mon, Apr 24, 2023 at 17:11 Jinny Viboonlarp @.***>
wrote:

Regarding label differences, the current mapping is {'PERSON':'person',
'ORG':'organization', 'FAC':'location', 'GPE':'location',
'LOC':'location'} They
are pretty much 1-to-1 mapping except FAC (countries' names) which
semantically could be either mapped to location or organization based on
contexts.
The current code works with ".ann" format for both gold data and model's
data, but the plan is for me to make it accept input in either .ann or
.mmif (or .json representing a mmif file) format.
On Mon, Apr 24, 2023 at 4:54 PM Keigh Rim @.***> wrote:

Some questions to @JinnyViboonlarp <https://github.com/JinnyViboonlarp

and @Angela-Lam https://github.com/Angela-Lam regarding the progress
so
far;

How do you to handle label sets differences in the gold data and
spacy output (if any)?
Which format do you assume for the "gold" input? Currently
<

https://github.com/clamsproject/clams-aapb-annotations/tree/82c56a4c8a03ab62e7674600bfdf006092dfa932/golds/ner/2022-jun-namedentity/annotations

there are MMIF files in the "gold" directory, but I heard @marcverhagen
https://github.com/marcverhagen and @JinnyViboonlarp
https://github.com/JinnyViboonlarp were discussing the formats last
week.
—
Reply to this email directly, view it on GitHub
<

https://github.com/clamsproject/consumer-evaluation/issues/1#issuecomment-1520811609

,
or unsubscribe
<

https://github.com/notifications/unsubscribe-auth/ARDHMWURSPFNPDNMZ4I5MQTXC3SAXANCNFSM6AAAAAAWMRA4XY

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

—
Reply to this email directly, view it on GitHub
<
https://github.com/clamsproject/consumer-evaluation/issues/1#issuecomment-1520832822
,
or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/APLVQCQ6KMVLVNP3TASXZXDXC3UB3ANCNFSM6AAAAAAWMRA4XY
.
You are receiving this because you were mentioned.Message ID:
@.***>

—
Reply to this email directly, view it on GitHub
https://github.com/clamsproject/consumer-evaluation/issues/1#issuecomment-1521684494,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARDHMWQJ7K2N2Q5HOX3WF33XC65TNANCNFSM6AAAAAAWMRA4XY
.
You are receiving this because you were mentioned.Message ID:
@.***>

can you both upload whatever you have done so far to this repo? I guess I need to see what's holding you so long. See this (https://github.com/clamsproject/consumer-evaluation/issues/2#issuecomment-1496963867) to find out how to properly do a push.

Hi Keigh,
I just pushed my progress so far, sorry for the delay! I have one more
assignment due tonight, and 3 more next Wednesday. After that, my schedule
will open up a lot more. I can also meet earlier next week if that works
better for you.
For this code, I still need to change the labels from the MMIF hierarchy to
the entity labels for Spacy. I was able to run it before, but ran into
weird and different bugs the past couple of times trying to run it. For the
next steps, I'll write the label_choice based on the spacy NER labels, and
convert the MMIF format to entity list.
Please let me know what you think.
Best regards,
Angels
On Thu, Apr 27, 2023 at 8:20 AM Keigh Rim @.***> wrote:

can you both upload whatever you have done so far to this repo? I guess I
need to see what's holding you so long. See this (#2 (comment)
https://github.com/clamsproject/consumer-evaluation/issues/2#issuecomment-1496963867)
to find out how to properly do a push.
—
Reply to this email directly, view it on GitHub
https://github.com/clamsproject/consumer-evaluation/issues/1#issuecomment-1525593290,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APLVQCT4SBMIJPVGPZ3FWB3XDJP7TANCNFSM6AAAAAAWMRA4XY
.
You are receiving this because you were mentioned.Message ID:
@.***>

Dear Angela,
If it is any relevant, I just uploaded a repo for a conversion between mmif
format and .ann format:
https://github.com/JinnyViboonlarp/ann-mmif-conversion
My plan of the next steps and your plan seems to overlap somewhat, so if I
make any update, I'll let you know as soon as possible to avoid redundancy
in our workflow.
Also,could you send me the link to your updated repo?
Thank you,
Jinny
On Fri, Apr 28, 2023 at 12:07 PM Angela-Lam @.***>
wrote:

Hi Keigh,
I just pushed my progress so far, sorry for the delay! I have one more
assignment due tonight, and 3 more next Wednesday. After that, my schedule
will open up a lot more. I can also meet earlier next week if that works
better for you.
For this code, I still need to change the labels from the MMIF hierarchy to
the entity labels for Spacy. I was able to run it before, but ran into
weird and different bugs the past couple of times trying to run it. For the
next steps, I'll write the label_choice based on the spacy NER labels, and
convert the MMIF format to entity list.
Please let me know what you think.
Best regards,
Angels
On Thu, Apr 27, 2023 at 8:20 AM Keigh Rim @.***> wrote:

can you both upload whatever you have done so far to this repo? I guess I
need to see what's holding you so long. See this (#2 (comment)
<
https://github.com/clamsproject/consumer-evaluation/issues/2#issuecomment-1496963867
)
to find out how to properly do a push.
—
Reply to this email directly, view it on GitHub
<
https://github.com/clamsproject/consumer-evaluation/issues/1#issuecomment-1525593290
,
or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/APLVQCT4SBMIJPVGPZ3FWB3XDJP7TANCNFSM6AAAAAAWMRA4XY
.
You are receiving this because you were mentioned.Message ID:
@.***>

—
Reply to this email directly, view it on GitHub
https://github.com/clamsproject/consumer-evaluation/issues/1#issuecomment-1527780557,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARDHMWTYIFVUM2ITNATIA2LXDPTH7ANCNFSM6AAAAAAWMRA4XY
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hi Jinny,
That's awesome, thank you so much for the helpful information! Here's the
link to my code:
https://github.com/clamsproject/consumer-evaluation/pull/5/files
Best regards,
Angela
On Fri, Apr 28, 2023 at 12:44 PM Jinny Viboonlarp @.***>
wrote:

Dear Angela,
If it is any relevant, I just uploaded a repo for a conversion between mmif
format and .ann format:
https://github.com/JinnyViboonlarp/ann-mmif-conversion
My plan of the next steps and your plan seems to overlap somewhat, so if I
make any update, I'll let you know as soon as possible to avoid redundancy
in our workflow.
Also,could you send me the link to your updated repo?
Thank you,
Jinny
On Fri, Apr 28, 2023 at 12:07 PM Angela-Lam @.***>
wrote:

Hi Keigh,
I just pushed my progress so far, sorry for the delay! I have one more
assignment due tonight, and 3 more next Wednesday. After that, my
schedule
will open up a lot more. I can also meet earlier next week if that works
better for you.
For this code, I still need to change the labels from the MMIF hierarchy
to
the entity labels for Spacy. I was able to run it before, but ran into
weird and different bugs the past couple of times trying to run it. For
the
next steps, I'll write the label_choice based on the spacy NER labels,
and
convert the MMIF format to entity list.
Please let me know what you think.
Best regards,
Angels
On Thu, Apr 27, 2023 at 8:20 AM Keigh Rim @.***> wrote:

can you both upload whatever you have done so far to this repo? I
guess I
need to see what's holding you so long. See this (#2 (comment)
<

https://github.com/clamsproject/consumer-evaluation/issues/2#issuecomment-1496963867

)
to find out how to properly do a push.
—
Reply to this email directly, view it on GitHub
<

https://github.com/clamsproject/consumer-evaluation/issues/1#issuecomment-1525593290

,
or unsubscribe
<

https://github.com/notifications/unsubscribe-auth/APLVQCT4SBMIJPVGPZ3FWB3XDJP7TANCNFSM6AAAAAAWMRA4XY

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

—
Reply to this email directly, view it on GitHub
<
https://github.com/clamsproject/consumer-evaluation/issues/1#issuecomment-1527780557
,
or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/ARDHMWTYIFVUM2ITNATIA2LXDPTH7ANCNFSM6AAAAAAWMRA4XY
.
You are receiving this because you were mentioned.Message ID:
@.***>

—
Reply to this email directly, view it on GitHub
https://github.com/clamsproject/consumer-evaluation/issues/1#issuecomment-1527820512,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APLVQCSNURJF5HBATXYTZKLXDPXXJANCNFSM6AAAAAAWMRA4XY
.
You are receiving this because you were mentioned.Message ID:
@.***>

@JinnyViboonlarp Hi, we talked about making the evaluation code to work with multiple gold-prediction pairs and return an "aggregated" result. I took your latest code from your personal repo and merged to main via #5 into https://github.com/clamsproject/aapb-evaluations/blob/main/ner_eval/evaluate.py . Can you continue updating the code in this repository? Thanks!

done via #12 for now.


Add showValues support to multiBarChart

Currently adding showValues:true to the chart config has no effect for multiBarChart

multiBarChart has no showValues option. Check this please.


1.10.x #7878 Adds Created Content token for Dynamic Form submission

@ub3rman123,
Thanks for your contribution.
To ensure that the project team has proper rights to use your work, please complete the Contribution License Agreement at https://cla2.dotnetfoundation.org.
It will cover your contributions to all .NET Foundation-managed open source projects.
Thanks,
.NET Foundation Pull Request Bot

GTG pending feedback

Also please sign the CLA. Thanks.


added process fly_basic to pipeline, to assembly demultiplexed sample…

…s into microbial genomes.

See issue #30


Possibility to redefine dependency?

I'm wondering if it's possible to do it?
Here's an example
I have rebar.config like this
{deps, [
  {bson, ".*", {git, "git://github.com/comtihon/bson-erlang.git", {branch, "legacy"}}},
  {boss, ".*", {git, "git://github.com/ChicagoBoss/ChicagoBoss.git", {tag, "v0.8.15"}}}
]}.

There's a bson lib in boss->boss_db->mongodb->bson, but I want that mine
{bson, ".*", {git, "git://github.com/comtihon/bson-erlang.git", {branch, "legacy"}}},

will be used instead of that one(boss->boss_db->mongodb->bson).
Is it possible?
Because with my config mine isn't used.

I believe rebar has no mechanism for this. This need for better control over dependencies is what eventually led to rebar3 being created.

Related: #222

As @ferd said, this is supported in rebar3 https://github.com/rebar/rebar3, so it is suggested that you migrate to it for this feature if you need it.

Yes, this possible - use git@github.com:hyperthunk/rebar_inheritable_deps.git as plugin for rebar

support {deps, [{dir, "/home/erlang/xxxPoject"}]} ?

can support file_dir?

Hi, this issue was closed in an attempt to do quick basic filtering. All tickets prior to March 2017 were closed and will be reopened on a per-request basis, please give rebar3 a try and feel free to reopen if it's a pressing issue that is still unresolved.