Store score and reasons

To provide better statistics about the reports, we'd need to store the score of a report and maybe even the reasons.
Table reason:

reason_id
name
creation_date

1
String similarity
timestamp of the first post with that reason

Table reason_for_post:

post_id
reason_id
score

34
1
Score, this reason reached (for example StringSimilarity has scores between 0 and 1)

As we are also handling reposts, I think we would need to have a type field which can contain the values plagiarized or reposted.

Wouldn‘t it be enogh to compare the user urls?
Von meinem iPhone gesendet

Am 01.02.2018 um 09:18 schrieb Bhargav Rao<EMAIL_ADDRESS>As we are also handling reposts, I think we would need to have a type field which can contain the values plagiarized or reposted.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Perfect, that's the best way.

So yeah, I think we'll need to make both the reason_id and the reason as primary keys. This is because, we can utilize that constraint to prevent adding additional rows with the same reason text.
CREATE TABLE IF NOT EXISTS reasons (
 reason_id INTEGER,
 reason text NOT NULL,
 PRIMARY KEY (reason_id, reason)
);


solved #297 in c++.

Please read the contribution guidelines and follow them.

what should i do so that my code gets merged.

How to add link to README?

@Dhruv-Rathi You should know how to write a C++ program, describe the intuition with proper comments, and add links in README.

solved #297 in c++.

Add comments in the code. Also, write full path, here Algorithms/Implementation/Save The Prisoner/solution.cpp

Please check it now.
#297


Is there a difference between GO:1990753    equatorial cell cortex/ GO:0031097    medial cortex

equatorial cell cortex
Definition (GO:1990753 GONUTS page)
The region of the cell cortex in a mitotically dividing cell that flanks the central spindle and corresponds to the site of actomyosin ring formation that results in cleavage furrow formation and ingression. PMID:16352658 PMID:22552143 PMID:23750214 PMID:25898168
GO:0031097    medial cortex
Definition (GO:0031097 GONUTS page)
A medial cortical band overlaying the nucleus which acts as a landmark for contractile ring positioning and plays a role in cell cycle regulation. PMID:15572668 PMID:19474789

(I know GO:1990753  speciifes  mitotic, but
GO:0031097 medial cortex
in  PMID:15572668 PMID:19474789
is also  mitotic

It seems like what you call the medial cortex we call the equatorial cortex. My only concern is how does it play a role in cell cycle regulation and does that extend across the phyla?

If we merge, does it make sense to keep the first definition. I like it better.

I don't really know why " plays a role in cell cycle regulation" is part of the second def. The medial cortex is the place that the cell cycle regulators localize to (wee1 etc) but I would not say that the cortex played a part in cell cycle regulation?

These do seem to mean the same thing. I prefer aspects of both definitions.

cortical band overlaying the nucleus which acts as a landmark for contractile ring positioning in mitosis
is clearest and most accurate, because flanking the spindle depends on the time point and orientation of the spindle.
That said, what would we call it? "medial cortex" is very established for fission yeast. Equatorial band is never used fission yeast.  I guess because the cell is cylindrical, not spherical.

Ah I think  "flanking the central spindle" is used in vertebrate term, because cells that undergo open mitosis have nuclear breakdown.  For yeast the term is defined wrt the nucleus.

we can keep these as separate terms for now, as it doesn't make anything incorrect. Logical defs should fix this down the line.

I came across this again today.
reopening.
I will assign to me for when I begin editing.

note that "in a mitotically dividing cell " is not necessarily true. The medial cortex exists when the cell is not dividing (proteins begin accumulating at the medial cortex in interphase).
I pefer the "medial cortex term and definition, and this is used in 1111 annotations whereas "equatorial cortex is only used in 7", I would check these 7 to make sure they fit a new more generic definition.

A medial cortical band overlaying the nucleus which acts as a landmark for contractile ring positioning  during mitotic M-phase.
seems to work for both


Load tezos trace for benchmarking

Example output:
                           Results:
                           "Add" was called 734063 times for a total of 36.035 sec (18.6%)
                           "Remove" was called 47231 times for a total of 2.134 sec (1.1%)
                           "Find" was called 2312283 times for a total of 91.935 sec (47.5%)
                           "Mem" was called 545590 times for a total of 18.064 sec (9.3%)
                           "Mem_tree" was called 340164 times for a total of 13.719 sec (7.1%)
                           "Checkout" was called 10309 times for a total of 1.236 sec (0.6%)
                           "Copy" was called 47 times for a total of 0.005 sec (0.0%)
                           "Commit" was called 10310 times for a total of 30.493 sec (15.7%)
                           "Add" with id 442615 lasted 0.670646 sec
                           "Remove" with id 4909 lasted 0.001476 sec
                           "Find" with id 2147287 lasted 0.486356 sec
                           "Mem" with id 98707 lasted 0.173868 sec
                           "Mem_tree" with id 280995 lasted 0.341946 sec
                           "Checkout" with id 9066 lasted 0.200301 sec
                           "Copy" with id 11 lasted 0.000280 sec
                           "Commit" with id 1 lasted 1.892427 sec
                           Stats saved to /mnt/devel/tarides/irmin-server/_results/40e41fe8-c750-4585-a136-87b40b96e717/boostrap_trace_timings.json
                           Total time: 203.762576
                           Size on disk(/tmp/irmin-server-bench/0): 134M

                           Chain trees mode on inode config [32, 256], [pack store]: 2 commits, each consisting of 1 chains of depth 1000

                           Total time: 0.046710
                           Size on disk(/tmp/irmin-server-bench/1): 284K

                           Chain trees mode on inode config [2, 5], [pack store]: 2 commits, each consisting of 1 chains of depth 1000

                           Total time: 0.026355
                           Size on disk(/tmp/irmin-server-bench/2): 284K

                           Large trees mode on inode config [32, 256], [pack store]: 2 commits, each consisting of 1 large trees of 1000000 entries

                           Total time: 143.332917
                           Size on disk(/tmp/irmin-server-bench/3): 252M

                           Large trees mode on inode config [2, 5], [pack store]: 2 commits, each consisting of 1 large trees of 1000000 entries

                           Total time: 213.567628
                           Size on disk(/tmp/irmin-server-bench/4): 485M

For reference, this is about 10x slower than the Irmin tree.exe benchmarks

Merging this for now since there are a lot of good changes in here but still need to clean up some issues with the trace replay (memory issues, hash mismatch) (some of which will change after https://github.com/mirage/irmin/pull/1358 is merged)
I've made issues for further work: #5, #6


recipie: using exp: [historical, ssp126] with overlaping data

Theoretically it is possible to combine experiments in the recipe as {exp: [historical, ssp585], ...}. Practically this does not work as many models have an overlap (e.g. historical going further than 2014) and then this technique fails (see e.g this recipe). Is there a way to achieve this? Can a per-experiment end_year or start_year be defined?

I think @mattiarighi  should be able to help here ?

data_finder.py is able to handle overlapping time-periods to some extend, but probably not yet in case multiple experiments are used.
@valeriupredoi any suggestions?

I don't get the problem at hand: what exactly do you need? Specifying multiple experiments means data from those experiments will be collected depending on the availability of the data: if EXP1 has X1 available years of data and EXP2 has X2 and X2 > X1 (suppose both X1 and X2 start at the same time) and you are asking for X2 years worth of data for EXP1 it will naturally tell you it can't find the X2 - X1 difference. ESMValTool can't produce data :grin: Please describe the problem at hand given this toy example so I can understand better :beer:

It is possible to define a dataset like
- {dataset: CESM1-WACCM, project: CMIP5, mip: Amon, exp: [historical, rcp85], ensemble: r2i1p1, start_year: 1950, end_year=2099}
This loads and concatenates historical from 1950-2005 and rcp85 from 2006-2099, but only if historical and rcp85 do not overlap.  However, if the e.g. the historical dataset extends to 2012 it fails. It would be cool if this works also in this case. Of course the last year of the historical would have to be specified manually.

Another possibility would be to always give priority to the historical experiment, i.e. the first experiment in the list.

Yes, but I think I saw historical simulations that don't end in 2005 and projections that start before 2006. So this is also not straightforward.

aha cheers @mathause -> how about declaring the two experiments as separate datasets?
- {dataset: CESM1-WACCM, project: CMIP5, mip: Amon, exp: historical, ensemble: r2i1p1, start_year: 1950, end_year=2099}
- {dataset: CESM1-WACCM, project: CMIP5, mip: Amon, exp: rcp85, ensemble: r2i1p1, start_year: 1950, end_year=2099}

and assembling your needed data overlaps in the diagnostic? :beer:

It is possible to define a dataset like
- {dataset: CESM1-WACCM, project: CMIP5, mip: Amon, exp: [historical, rcp85], ensemble: r2i1p1, start_year: 1950, end_year=2099}
This loads and concatenates historical from 1950-2005 and rcp85 from 2006-2099, but only if historical and rcp85 do not overlap. However, if the e.g. the historical dataset extends to 2012 it fails. It would be cool if this works also in this case. Of course the last year of the historical would have to be specified manually.

apologies, I was trapped in a whole lot of other software pain yesterday and didn't give a fair bit of thought to this - it is quite misleading the way the implementation of exp: list works since it appears that this is a contraction of I mentioned in https://github.com/ESMValGroup/ESMValTool/issues/1329#issuecomment-534963692 which in fact is completely different ie it is a concatenation of data from two different experiments, as long as data doesn't overlap. This needs to be addressed in the documentation for clarity and we also have to think about implemention its opposite functionality ie find the overlap between two or more experiments datasets. Ill have a look into this


Add wav2vec2-bert ONNX export

What does this PR do?

Fixes # (issue)
@fxmarty I couldn't find a tiny model to test with - once we have that, this should be ready to merge :)
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


Fix broken step

fix https://github.com/SUSE/spacewalk-testsuite-base/issues/231

the only step was using the "without error control" where the steps with "it should fail"


Inconsistent metrics

I'm testing ditto to match my own dataset so I'm running the following:
CUDA_VISIBLE_DEVICES=0 python train_ditto.py   --task catalogo   --batch_size 64   --max_len 64   --lr 3e-5   --n_epochs 10   --finetuning   --lm distilbert   --fp16
metrics in the output process are really good... around accuracy=0.990.
In order to do a sanity check and a to do analysis error, I run predictions over the test.text (in jsonline format):
CUDA_VISIBLE_DEVICES=0 python matcher.py   --task catalogo   --input_path input/to_be_evaluate.jsonl   --output_path output/output_catalogo.jsonl   --lm distilbert   --use_gpu   --fp16   --checkpoint_path checkpoints/
My dataset is balanced (Around 50% are positive and 50% negatives) so based on 0.99 accuracy I expect get almost the same amount positives and negatives in output file running the following commands:
$ ditto# cat output/output_catalogo.jsonl | grep '"match": "1"' | wc -l
139
$ ditto# cat output/output_catalogo.jsonl | grep '"match": "0"' | wc -l
5149
$ ditto# cat data/cboujon/test.txt | grep -P "\t0" | wc -l
2675
$ ditto# cat data/cboujon/test.txt | grep -P "\t1" | wc -l
2613

These numbers show me that accuracy is not 0.990 or I can't see where is my error.
Here is datasets and outputs
Task config is defined:
{
  "name": "catalogo",
  "task_type": "classification",
  "vocab": ["0", "1"],
  "trainset": "data/cboujon/train.txt",
  "validset": "data/cboujon/valid.txt",
  "testset": "data/cboujon/test.txt"
}

I think the commands are okay except that you need to add the --save_model flag in the training. With the flag on, we will have a file named "catalogo_lm=distilbert_da=None_dk=None_su=False_size=None_id=0_dev.pt" which contains the checkpoint with the highest validation F1.
I ran
mv catalogo_lm=distilbert_da=None_dk=None_su=False_size=None_id=0_dev.pt checkpoints/catalogo.pt

then your command of running the matcher. I got
cat output/output_catalogo.jsonl | grep '"match": "1"' | wc -l
2573
cat output/output_catalogo.jsonl | grep '"match": "0"' | wc -l
2715

I also eye-balled some of the prediction results and they seemed to be correct.

I have run now and metrics it seems to make sense now. But... If I didn't save the model previously... What model did matcher.py process load?

I think it either initializes the model randomly or loads the pre-trained model (not optimized). We should just make it throw an exception. Thanks for pointing this out!

Great! You can check PR #6


After enable video or voice during call stream not connect

Describe the bug
In the first connect Opnetok without enabling mic or camera and after enabling camera or mic nothing will change and voice or video will not show till use subscribeToAudio = true or subscribeToVideo while = true  while hasVideo or hasAudio is true
notice : it's just happen in first time
To Reproduce

Connect devices as subscribe and publisher with out enabling mic or camera in publisher
enable camera or mic in publisher
subscriber not receive stream

Android 13

Hello, what version of the SDK are you using? I'm not completely clear on the error you are seeing so if you're able to provide a minimum working example of the bug that will be a huge help. Thanks!

I'm currently using the "2.21.5" version, which is fine, but after updating to the latest version, it no longer works.

Thanks, @advaitsaravade.
@saeed-lotfi, I'm closing, since this was fixed in 2.24.2.


'ascii' codec can't decode byte 0xc3

2016-08-07 10:51:36,268 [RecycleItems] [INFO] [item_discarded] Discarded 1x Razz Berry (maximum 20).
2016-08-07 10:51:36,875 [TransferPokemon] [INFO] [future_pokemon_release] Releasing Charmander (CP 172/IV 0.18) based on rule: CP < 9 OR IV < 0.97
2016-08-07 10:51:37,437 [TransferPokemon] [INFO] [pokemon_release] Exchanged Charmander [CP 172] [IV 0.18] for candy.
2016-08-07 10:51:37,953 [MoveToFort] [INFO] [moving_to_lured_fort] Moving towards pokestop Estátua Moore - 0.05km (attraction of lure 0.05km)
2016-08-07 10:51:37,953 [MoveToFort] [INFO] [arrived_at_fort] Arrived at fort.
2016-08-07 10:51:39,679 [PokemonCatchWorker] [INFO] [pokemon_appeared] A wild Magnemite appeared! [CP 422] [Potential 0.71] [S/A/D 10/11/11]
2016-08-07 10:51:42,526 [PokemonCatchWorker] [INFO] [threw_pokeball] Used Pokeball, with chance 35.29 (127 left)
2016-08-07 10:51:43,728 [PokemonCatchWorker] [INFO] [pokemon_caught] Captured Magnemite! [CP 422] [Potential 0.71] [10/11/11] [+210 exp]
2016-08-07 10:51:44,706 [PokemonCatchWorker] [INFO] [pokemon_evolve_fail] Failed to evolve Magnemite!
2016-08-07 10:51:50,245 [       cli] [INFO]
2016-08-07 10:51:50,245 [       cli] [INFO] Ran for 0:01:58
2016-08-07 10:51:50,245 [       cli] [INFO] Total XP Earned: 1450  Average: 44164.12/h
2016-08-07 10:51:50,245 [       cli] [INFO] Travelled 0.00km
2016-08-07 10:51:50,246 [       cli] [INFO] Visited 8 stops
2016-08-07 10:51:50,246 [       cli] [INFO] Encountered 5 pokemon, 5 caught, 0 released, 0 evolved, 0 never seen before
2016-08-07 10:51:50,246 [       cli] [INFO] Threw 5 poke balls
2016-08-07 10:51:50,246 [       cli] [INFO] Earned 500 Stardust
2016-08-07 10:51:50,246 [       cli] [INFO]
2016-08-07 10:51:50,246 [       cli] [INFO] Highest CP Pokemon: Machop [CP: 645] [IV: 9/15/11] Potential: 0.78
2016-08-07 10:51:50,246 [       cli] [INFO] Most Perfect Pokemon: Machop [CP: 645] [IV: 9/15/11] Potential: 0.78
Traceback (most recent call last):
  File "pokecli.py", line 499, in <module>
    main()
  File "pokecli.py", line 130, in main
    raise e
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 3: ordinal not in range(128)

error appears only with movetofort
with path config no error appears

Same error, but I'm getting this error when I start the bot. Following.
Tried the path.config, but wouldn't budge. I must be doing something very simple wrong

With evolve all in task i get also this error (my path config don't have moved fort or evolve all task (read EvolvePokemon task)
2016-08-07 11:17:21,503 [PokemonGoBot] [INFO]
2016-08-07 11:17:35,162 [PokemonGoBot] [INFO] [bot_start] Starting bot...
2016-08-07 11:17:36,837 [CollectLevelUpReward] [INFO] [level_up_reward] Received level up reward: []
2016-08-07 11:17:36,838 [IncubateEggs] [INFO] [next_egg_incubates] Next egg incubates in 4.51 km
2016-08-07 11:17:37,894 [       cli] [INFO]
2016-08-07 11:17:37,894 [       cli] [INFO] Ran for 0:00:23
2016-08-07 11:17:37,895 [       cli] [INFO] Total XP Earned: 0  Average: 0.00/h
2016-08-07 11:17:37,895 [       cli] [INFO] Travelled 0.00km
2016-08-07 11:17:37,895 [       cli] [INFO] Visited 0 stops
2016-08-07 11:17:37,895 [       cli] [INFO] Encountered 0 pokemon, 0 caught, 0 released, 0 evolved, 0 never seen before
2016-08-07 11:17:37,895 [       cli] [INFO] Threw 0 poke balls
2016-08-07 11:17:37,895 [       cli] [INFO] Earned 0 Stardust
2016-08-07 11:17:37,895 [       cli] [INFO]
2016-08-07 11:17:37,896 [       cli] [INFO] Highest CP Pokemon:
2016-08-07 11:17:37,896 [       cli] [INFO] Most Perfect Pokemon:
Traceback (most recent call last):
  File "pokecli.py", line 499, in <module>
    main()
  File "pokecli.py", line 130, in main
    raise e
TypeError: emit_event() got an unexpected keyword argument 'formatted'

https://github.com/PokemonGoF/PokemonGo-Bot/issues/2776

close

Assuming this was fixed. Also duplicate of other closed issues. 👍


HACS Integration

I moved mopidy folder to custom_components/mopidy and added required hacs.json so that the repository can be added to HACS via custom repository path.
This enables updates via HACS fontend

This is awesome, thanks for your contribution!


Is there a tag available for trusted networks?

Hello,
In the documentation, I don't see an option to add a tag for trusted networks? Is it on purpose? Is it not possible to specify this tag in the XML for Azure VPN Client?
Thank you in advance and best regards,

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 756a5aae-222a-2c68-6c50-3e426e29c2d5
Version Independent ID: f7e58731-3fd8-d208-da29-6161e307485c
Content: Azure VPN Client optional configuration steps: OpenVPN protocol - Azure Virtual WAN
Content Source: articles/virtual-wan/azure-vpn-client-optional-configurations-windows.md
Service: virtual-wan
GitHub Login: @cherylmc
Microsoft Alias: cherylmc

@bertrandpons
Thanks for your feedback! We will investigate and update as appropriate.

@bertrandpons can you please provide more details on this?
VPN only provides routing and not network restrictions.
Currently, there are no such tags for trusted network that you can configure on P2S VPN Client XML.
You should leverage the NSGs in Azure VMs to restrict traffic from and to P2S should you require network restriction.

@KapilAnanth-MSFT by trusted network, I mean Always On settings that we can configure in a VPN profile. We can then define trusted network detection.

It is linked to the following post actually: https://learn.microsoft.com/en-us/answers/questions/854655/azure-vpn-client-trusted-networks-setting.
By setting trusted network in XML config, we are supposed to be able to define this behavior. I cannot see anything like that for Azure VPN client configuration setup with XML file.
Is is more clear?

@bertrandpons Thanks for the info.
Currently, there are no such tags available to configure Always On VPN settings.
If you wish you may vote in the below forums requesting this feature in Azure Feedback Hub. All the feedback shared in these forums are monitored and reviewed by the Microsoft engineering teams responsible for building Azure

@KapilAnanth-MSFT ok thank you for your reply, too bad.


&PicturesHD, VH1HD and &TVHD has stopped working. Receiving Error: 400 bad request

Add-on name: Jiotv
Add-on version: 2.0.0
Kodi version: Kodi 19.3
Operating system version/name: Android TV 9
Using from country: India
Note: Issue occurs when 'Extra HD Channels' feature is on. However, with this feature turned off, resolution is maxed at 1280*720 and only in HD Channels. For other channels that were not HD, resolution can't go past 576p

Disable the extra HD channels from the settings in JIO tv add-on, then it will work perfectly.

Yes I have done the same for now, but it won't go past 720p for HD channels and many other HD channels show up in less than 720p resolution

https://forum.kodi.tv/showthread.php?tid=174859&page=21 ,please check this and if you get it then share with me.


Research and answer questions for Events in "All" search

What to do with child/parent events?
What to do with past dates?

Child/parents
The decision we made for /events was:

Scheduled events must be findable/filterable based on their interpretation, audience, etc... which are not set on the parent
The API returns the Parent event, not the Scheduled events to avoid duplication and/or events being listed without image or description.
Basically we want to be able to match on a Scheduled event but return its parent in the API response.

Do we want to follow this here? Maybe some fields from the Scheduled events are pulled through and associated with the Parent event so they are still searchable, although I'm not sure which ones we'd want.
Scheduled events contain:

Location
Date
Reservation links/info
Interpretations/Audiences

Its Parent event contains:

Location
Grouped dates (e.g. 12 December - 26 December)
Reservation policies
Interpretations/Audiences.

My feeling is that Scheduled event's info brings nothing to the table as for this search we said we'd display minimally:

Type (Event)
Format
Title
UID
Description
Date (could/should be the Grouped Date)

And query minimally as well:

Title
Format
Type (Event)
Standfirst/Promo caption
Contributors

All of these can come from the Parent only and we could stop Scheduled Events from indexing as we don't need them.
The only thing is if we want to start considering Interpretations/Audiences in the relevancy of results, it'll probably be important to consider the Scheduled Event's values, at which point we'd have to modify the Event transformer to allow for that. Do we think this will happen soon? I also don't really foresee this as a problem/something that would require us to break what we've built. It'll be building on top of.
@davidpmccormick @LaurenFBaily

What to do with past dates?
This was in relation to the fact that in the mockup, event dates are displayed, even if in the past

Whereas currently, we don't do that in any listing page. Past events are shown as "Past" with a grey dot.

We do see the value in displaying the date in the search, but a few questions come up then;

Should we change the logic everywhere to align?
Which date do we display in the event of a Parent/Scheduled event? (I'd recommend using the parent Grouped date (e.g. 12 December - 26 December)
Which date do we display in the event of a multi-date event (e.g. https://wellcomecollection.org/events/celebrating-who-i-am-november-december-2024). This is different from a Parent/Scheduled event in that it's only one Prismic document with a list of dates.

I think this one will be for @dana-saur and @LaurenFBaily to discuss, happy to join in!

I agree with everything @LaurenFBaily said above!

Rationale behind this is seeing the date of an event might be more helpful to help identify if it's the right result than if it's just 'past'.
I personally think the metadata and tags on the cards/pages need to be revisited at some point anyways as the hierarchy doesn't quite make sense. I started looking into this when I was designing this but needed more thought than I had time for. I suspect this will come out of the concepts page designs at some point because of the tags. Maybe.
If we can do the date range that would be ideal for consistency. If not, instead of a 'see all date/times' link could we have something like Multiple dates/times, starting [first date] I'm sure there's a more succinct way to say it though!

OK thanks everyone for your inputs! I think the outcomes are:
Child/parents
All we do with Scheduled events is filtering them OUT of the index. None of their information gets passed on to the Parent event.
What to do with past dates?

No need to align with Event Cards
Using Parent event dates for display both for upcoming and past events.

Does that cover it?

Closing the ticket which we can find again should we want the rationale for those decisions.


KAFKA-8859: Expose built-in streams metrics version in StreamsMetricsImpl

The streams config built.in.metrics.version is needed to add metrics in
a backward-compatible way. However, not in every location where metrics are
added a streams config is available to check built.in.metrics.version. Thus,
the config value needs to be exposed through the StreamsMetricsImpl object.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Call for review: @guozhangwang @vvcephei @mjsax @ableegoldman @bbejeck @abbccdda @cpettitt-confluent

@cadonna Build failed with checkstyle error.

Fixed checkstyle issues

In JDK 11/Scala 2.12 and JDK 11/Scala 2.13 the following test failed:
kafka.api.SaslScramSslEndToEndAuthorizationTest.testNoDescribeProduceOrConsumeWithoutTopicDescribeAcl

Retest this, please

JDK 11/Scala 2.12 and JDK 11/Scala 2.13 timed out
Retest this, please

retest this please

Merged to trunk, thanks @cadonna !


Convert singleton() to Injector method

A better way to inject singletons, is using Injector::inst()->get('myClass');
This is safer and more robust for testing.

singleton('myClass') looks cleaner than Injector::inst()->get('myClass');, to me at least, but I guess I should follow Silverstripe coding conventions more often. Will singleton() be removed in future?

singleton will probably not be removed in the future. It's basically a hardened check agains Injector::inst().
It's more a convention thing indeed ;)


Resolve Host attributes in Task args and allow Tasks to execute on a subset of Hosts

Task arguments may now refer to attributes of the current remote host,
e.g. {{{ host.private_ip }}}, {{{ host.variables.role }}}, etc.
The set of hosts on which a Task is run can be manipulated setting the
Task.host_filter property to an expression which evaluates to a boolean.
The expression is evaluated for each of Task.hosts or Target.hosts and
the Task is executed on a host if the expression evaluates to true. The
expression syntax is that of the Symfony Expression component. For
example: host.variables['role'] == 'slave'. This feature depends on
droid/droid-model >= 1.0.3.
Additionally, TaskRunner has been refactored to reduce complexity and
ease testing; test coverage has been improved.

Added to this PR is a commit to exit early an cleanly when trying to read droid.yml and any includes. Error messages are printed.

Added to this PR is a commit to exit early if any of the Inventory Hosts don't have a public IP address configured.

Added to this PR is a commit to exit cleanly when a module is not found.


Missing infoblox:threatprotect events in Splunk

Was the issue replicated by support? Yes
**What is the sc4s version ?**3.19.0
Which operating system (including its version) are you using for hosting SC4S? RHEL
Which runtime (Docker, Podman, Docker Swarm, BYOE, MicroK8s) are you using for SC4S? Docker
Is there a pcap available? If so, would you prefer to attach it to this issue or send it to Splunk support? Yes .support case 3472406
**Is the issue related to the environment of the customer or Software related issue?**Software Related
Is it related to Data loss, please explain ? Yes data loss ( events cannot be seen in Splunk)
Protocol? Hardware specs? Infoblox Appliance is sending syslog events over 514 port vis udp protocol
**Last chance index/Fallback index?**sc4s
Is the issue related to local customization? No
**Do we have all the default indexes created?**No
Describe the bug
Following below reference from SC4S page to onboard Infoblox data we are unable to see infoblox:threatprotect events in Splunk whereas other events like dns/dhcp/audit can be seen with custom index (infoblox) defined in splunk_metadata file.
sc4s_support.tar.gz
SC4S Doc: https://splunk.github.io/splunk-connect-for-syslog/main/sources/vendor/InfoBlox/
To Reproduce
Following documentation https://splunk.github.io/splunk-connect-for-syslog/main/sources/vendor/InfoBlox/ we have added the following
splunk_metadata.csv
infoblox_nios_dns,index,infoblox
infoblox_nios_dns,sourcetype,infoblox:dns
infoblox_nios_dhcp,index,infoblox
infoblox_nios_dhcp,sourcetype,infoblox:dhcp
infoblox_nios_threat,index,infoblox
infoblox_nios_threat,sourcetype,infoblox:threatprotect
infoblox_nios_audit,index,infoblox
infoblox_nios_audit,sourcetype,infoblox:audit
infoblox_nios_fallback,index,infoblox
infoblox_nios_fallback,sourcetype,infoblox:port
app-vps-infoblox_nios.conf
#/opt/sc4s/local/config/app-parsers/app-vps-infoblox_nios.conf
#File name provided is a suggestion it must be globally unique
application app-vps-test-infoblox_nios[sc4s-vps] {
filter {
host("-blox-" type(glob) flags(ignore-case))
or host("085a-ips-p*" type(glob) flags(ignore-case))
};
parser {
p_set_netsource_fields(
vendor('infoblox')
product('nios')
);
};
};
host.csv
<IP_ADDRESS>,HOST,048e-blox-int-ns1-lan.lmig.com
Result:
dns/dhcp/audit events are getting mapped correctly but no events for threatprotect.
Next Steps
Logged case #3472406 with Splunk, per recommendation we have replaced "infoblox_nios_threat,sourcetype,infoblox:threatprotect" with "Infoblox_NIOS Threat,index,infoblox" in splunk_metadata file
Observations

threatprotect events can be seen in Splunk Dev with  index and sourcetype defined in metatdata file.
Incorrect host assignment: host name is expected as "048e-blox-int-ns1-lan.lmig.com"  as defined in host.csv file but host value is "adp"
Missing "adp" keyword in events as seen in Splunk.

Raw event
<26>May  3 08:53:25 <IP_ADDRESS> threat-protect-log[37832]: adp: CEF:0|Infoblox|NIOS Threat|8.6.3-51135-1241097029df|110100900|EARLY DROP UDP query multiple questions or non query operation code|8|src=<IP_ADDRESS> spt=44875 dst=<IP_ADDRESS> dpt=53 act="DROP" cat="DNS Protocol Anomalies" nat=0 nfpt=0 nlpt=0 fqdn=NA hit_count=1
_ Events in Splunk_
threat-protect-log[37832]: CEF:0|Infoblox|NIOS Threat|8.6.3-51135-1241097029df|130506000|DNS HTTPS record TCP|4|src=<IP_ADDRESS> spt=56021 dst=<IP_ADDRESS> dpt=53 act="DROP" cat="DNS Message Types" nat=0 nfpt=0 nlpt=0 fqdn=substrate.office.com hit_count=1

I have removed the sensitive data attachment.

Hi, PFB answers to the question :
adp word is considered as host as per RFC standards of the message , the real message starts from CEF: , as host field is recognised by SC4S , the host.csv will not work in this case, i am providing following workaround to do that:
block parser app-dest-new-cef() {
    channel {
        parser {
            add-contextual-data(
                selector("${SOURCEIP}"),
                database("conf.d/local/context/host.csv")
            );
        };
    };
};

application app-dest-new-cef[sc4s-finalfilter] {
    filter {
        tags(".source.s_INFOBLOX_NIOS_THREAT");
    };
    parser {
        app-dest-new-cef();
    };
};

Please create this file in /opt/sc4s/local/config/app_parsers/cef.conf and it will start adding host entry from host.csv file.


Merge refs/heads/feature/no-redis into alpha

Merge refs/heads/feature/no-redis into alpha

This PR has been merged into alpha and tagged as 1.5.49-alpha-202303252220. Thanks for your contribution!


Migrate extra_data field of RealmAuditLog to JSONField

This PR aims to migrate extra_data field of RealmAuditLog to JSONField.
This was done as part of the audit mentioned in https://github.com/zulip/zulip/issues/17205
The changes done are:

Migrate extra_data field of RealmAuditLog to JSONField
Change the type of data stored in column from TEXT to jsonb
Change the codebase to take advantage of this migration

Testing plan:

Make sure that the backend tests do not fail.
Do the manual testing of the data migration in shell

The following screenshot shows that the data migration happened as expected. The extra_data and extra_data_json (which is a temporary field created to hold the data in desired final state) fields have idenitical data, just their types are different. The data in extra_data field is of type str whereas the data in the field extra_data_json is of type dict.

@edith007 just a bump on answering the questions above; I'm hoping to try integrating some of these migration commits over the next week.

@timabbott  The reason for the yml is as follows:
There are a few places in the code-base where the extra_data dict has not been serialized. One such example is in do_change_plan_type. On executing orjson.loads on such values results in JSONDecodeError, hence, we need to do the following to get the dict.
I will make further updates very soon..

I see; can you find a way to verify what encoding Django uses with the buggy logic in do_change_plan_type?  I'd like to be sure that YAML decoding will do the right thing.

I did a bit of analysis by running the current migration code without saving and determined the following are the set of event types where we have a history of storing non-JSON content in RealmAuditLog:
In [10]: {ra.event_type for ra in invalid_json}
Out[10]: {123, 124, 204, 208, 209, 213, 214, 301}

Which is sadly a bit of a mess.  So you can look those up in AbstractRealmAuditLog and perhaps note what needs to happen with each of them.  My read is that probably we want to have the migration logic have cases for how to parse those weird event types, and we may need some custom logic to convert formats for some of them (E.g. the full_name one probably wants the old_value/new_value format, rather than just having the old_name as a string right there).

I was worried about the RemoteRealmAuditLog changes being a blocker for this migration, which would have been really annoying.  But it appears RealmAuditLog.SYNCED_BILLING_EVENTS has no overlap with the non-JSONable fields.  So I think we should be OK on that front, though we should make certain that a client trying to sync pre-migration RealmAuditLog entries will work.  Specifically, we need to confirm that the model_to_dict serialization of the TextField containing JSON is the same as that for a JSONField.  Can you figure out a way to verify that?
Assuming that is indeed correct, then I think we just need to write migration code for the last comment.

This will be a helpful change for the django-stubs refactorings (#18777) for the type errors we encountered for creating RealmAuditLog when having extra_data as a dict.

@PIG208 I think it'd be pretty reasonable for you to take over finishing this migration when you have time. It might need a rebase across the Black migration using our semi-automated process to not be painful.

Closing in favor of #23116.


develop section in readme should be updated

I try to run make & make install and only get the containerd/ctrcri binary. It seems cri-containerd is merged into containerd? Also the socket that kubernetes connects to cri-containerd is changed to /run/containerd/containerd.sock? If these are correct, we should update the readme of the project.

@qiujian16 Thanks for trying this out!
We are planning to cut a release this month, and all documents will be updated. :)

This has been updated. :)


UJES client http demo needs to be updated

Is your feature request related to a problem? Please describe.
UJES client http demo in doc sometimes crash.
Describe the solution you'd like
Update methods that query job status.

wiki updated.


[firebase_messaging]: the package sometimes listen to notifications ( data message ) ,and sometimes not

Is there an existing issue for this?

[X] I have searched the existing issues.

Which plugins are affected?
Messaging
Which platforms are affected?
Android
Description
This happened after I updated flutter and released the package to the highest version,
Not all incoming notifications ( data message ) are listened to, randomly some may appear and some may not appear,
that happen in Foreground and Background
Reproducing the issue
Use the package to receive 10 notifications within a time period of 5 minutes for example .
Expected to receive 6 out of 10 notifications at most.
Firebase Core version
2.16.0
Flutter Version
3.24.1
Relevant Log Output
No response
Flutter dependencies

Expand Flutter dependencies snippet

Replace this line with the contents of your `flutter pub deps -- --style=compact`.

this appear when my data message display on device .
[+23749 ms] V/ActivityThread(15131): scheduleReceiver info = ActivityInfo{1984e15 io.flutter.plugins.firebase.messaging.FlutterFirebaseMessagingReceiver} intent = Intent { act=com.google.android.c2dm.intent.RECEIVE flg=0x11080010 pkg=MY_PACKAGE_NAME cmp=cMY_PACKAGE_NAME/io.flutter.plugins.firebase.messaging.FlutterFirebaseMessagingReceiver (has extras) } sync = true hasCode = 254605833
[   +1 ms] D/FLTFireMsgReceiver(15131): broadcast received for message
[  +24 ms] V/ActivityThread(15131): scheduleReceiver info = ActivityInfo{ad831f7 com.google.firebase.iid.FirebaseInstanceIdReceiver} intent = Intent { act=com.google.android.c2dm.intent.RECEIVE flg=0x11080010 pkg=com.eteaching.da7ee7 cmp=MY_PACKAGE_NAME/com.google.firebase.iid.FirebaseInstanceIdReceiver (has extras) } sync = true hasCode = 265587772

Hi @Joseph-Nathan , I'm unable to reproduce this. Kindly provide a sample code reproducing this issue.

Hi @SelaseKay  ,
thanks for you time ,
could you please try with
        sourceCompatibility JavaVersion.VERSION_17
        targetCompatibility JavaVersion.VERSION_17

and
    ext.kotlin_version = '1.9.0'

and
classpath 'com.android.tools.build:gradle:7.3.0'

and
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-rc-2-all.zip

This is not a sample code. I'd need a full sample code reproducing this issue.

the problem was in my backend , sorry for you time .


Reopen Issue 257

https://github.com/ui5-community/wdi5/issues/257
#257

https://github.com/ui5-community/wdi5/issues/257#issuecomment-1135520142

Hi, sry for the delay. Had a glance into your example. Thanks for providing the code.
Unfortunately it is like expected. See the screenshot. It is a UI5 "Bug". The getAggregation("rows") call returns the three rows with id: "__row0-container-testCalendarApp---idAppControl--PC1-1" (console). But the actual DomId is: __row0-container-testCalendarApp---idAppControl--PC1-1-CLInote the postfix-CLI`. So wdio is not able to retrieve the DOM part of the control.
This should be fixed on UI5 side. Until then I will provide a working solution like we did with the sap.m.Combobox. Please give me some days. To speed things up you are very welcome to integrate your PlanningCalendar test into the wdi5 example on a new page/ route. Since the most effort is to provide the test/ testcase and the required example in the sample app.
See How to contribute: https://js-soft.github.io/wdi5/#/contributing

Hello together,
I faced a similar error using getAggregation("items") of a sap.m.List see:

The element which is used is a sap.m.CustomListItem and also has a postfix("-trigger" in this case).
It always uses the same element, if that helps you.
The ID of the selector and the wdio_ui5_key are correct, but _domId is not.

Hello together,
I faced a similar error using getAggregation("items") of a sap.m.List see:
The element which is used is a sap.m.CustomListItem and also has a postfix("-trigger" in this case). It always uses the same element, if that helps you.
The ID of the selector and the wdio_ui5_key are correct, but _domId is not.

Hi, this might be solved by adding interaction: "root" to the selector. See https://github.com/ui5-community/wdi5/blob/78091e884bdd6b5cb1972dd28c6ea40b0ac948a3/examples/ui5-js-app/webapp/test/e2e/aggregation.test.js#L21

Hi @malkoto1,
please check example test here: https://github.com/ui5-community/wdi5/blob/feature/planningCalendar/examples/ui5-js-app/webapp/test/e2e/planningCalendar.test.js
https://github.com/ui5-community/wdi5/pull/395
I tried to comment all the doges. Which  indicates the API just works litte different.

Hi, this might be solved by adding interaction: "root" to the selector. See
https://github.com/ui5-community/wdi5/blob/78091e884bdd6b5cb1972dd28c6ea40b0ac948a3/examples/ui5-js-app/webapp/test/e2e/aggregation.test.js#L21

Hi @dominikfeininger,
With your information, I have now also found it in the docs. Therefore, sorry for the writing in this issue.
Works just fine. Thanks a lot!


🐛 [firebase_dynamic_links] Adding the plugin causes often crashes at apps start

Bug report
This bug isn't reproducible locally, but causes VERY often crashes upon startup in production. Google console reports the following:
java.lang.RuntimeException
Exception java.lang.RuntimeException:
  at android.app.ActivityThread.performResumeActivity (ActivityThread.java:4237)
  at android.app.ActivityThread.handleResumeActivity (ActivityThread.java:4269)
  at android.app.servertransaction.ResumeActivityItem.execute (ResumeActivityItem.java:52)
  at android.app.servertransaction.TransactionExecutor.executeLifecycleState (TransactionExecutor.java:176)
  at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:97)
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2045)
  at android.os.Handler.dispatchMessage (Handler.java:107)
  at android.os.Looper.loop (Looper.java:214)
  at android.app.ActivityThread.main (ActivityThread.java:7403)
  at java.lang.reflect.Method.invoke
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:502)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:980)
Caused by java.lang.IllegalStateException:
  at com.google.firebase.FirebaseApp.getInstance (FirebaseApp.java)
  at com.google.firebase.dynamiclinks.FirebaseDynamicLinks.getInstance (FirebaseDynamicLinks.java)
  at io.flutter.plugins.firebase.dynamiclinks.FlutterFirebaseDynamicLinksPlugin.getDynamicLinkInstance (FlutterFirebaseDynamicLinksPlugin.java)
  at io.flutter.plugins.firebase.dynamiclinks.FlutterFirebaseDynamicLinksPlugin.onNewIntent (FlutterFirebaseDynamicLinksPlugin.java)
  at io.flutter.embedding.engine.FlutterEngineConnectionRegistry$FlutterEngineActivityPluginBinding.onNewIntent
  at io.flutter.embedding.engine.FlutterEngineConnectionRegistry.onNewIntent
  at io.flutter.embedding.android.FlutterActivityAndFragmentDelegate.onNewIntent
  at io.flutter.embedding.android.FlutterActivity.onNewIntent
  at android.app.Activity.performNewIntent (Activity.java:7876)
  at android.app.Instrumentation.callActivityOnNewIntent (Instrumentation.java:1406)
  at android.app.Instrumentation.callActivityOnNewIntent (Instrumentation.java:1419)
  at android.app.ActivityThread.deliverNewIntents (ActivityThread.java:3504)
  at android.app.ActivityThread.performResumeActivity (ActivityThread.java:4220)

Below is our code that causes the crash. Note that we never had dynamic links used in production, the feature was added to the app but we didn't yet start distribution of the links among real users. Hence just one thing that happened was initialization. Moreover, in most recent release we even skipped initialization in production versions so it sounds like just binding the plugin is enough to cause the crash at apps startup.
The issue is somehow hardware dependent: recently one user complained that the crashes started after she switched from Motto to SGS23. The list of affected devices is pretty long though, takes several screens in Google console and featuring multiple platforms/OS versions.
 {
        // This is NASTY hack guys - you need to address this too.
        // The links just don't work without such delay, and who knows how long it should be to work everywhere.
        Duration delay = Platform.isIOS ? const Duration(seconds: 2) : const Duration(milliseconds: 1500);
        Future.delayed(delay).then((_) async {
          await retrieveDynamicLink();
        });
      }
    }
  }

  Future<void> retrieveDynamicLink() async {
    try {
      // The only line that ever been executed in production environment, but now even this is skipped
      final PendingDynamicLinkData? initialLinkData = await FirebaseDynamicLinks.instance.getInitialLink();
      if (initialLinkData != null) {
        initialUrl = setInitialDynamicLink(initialLinkData.link.toString());
        try {
          app.nav.to(initialUrl);
        } on EContextMissing catch (_) {
          app.initRoute = initialUrl;
        }
      }
    } catch (e, stackTrace) {
      // Never reaches this point, the app just falls apart at startup
      app.log.fatal(e.toString(), 'firebase',
          details: e.toString(), isNetworkError: App.isNetworkError(e), error: e, stackTrace: stackTrace);
    }
  }

Flutter versions up to 3.7.9, all most recent versions of packages/plugins.
We're going to remove FDL entirely from next release, it doesn't look production ready. Please try to address this ASAP, it's absolutely critical. Thanks

Just noticed, there actually are two types of crashes, a bit different from each other, below is another:
java.lang.RuntimeException
Exception java.lang.RuntimeException: Unable to resume activity {com.company.app/com.company.app.MainActivity}: java.lang.IllegalStateException: Default FirebaseApp is not initialized in this process com.company.app. Make sure to call FirebaseApp.initializeApp(Context) first.
  at android.app.ActivityThread.performResumeActivity (ActivityThread.java:5365)
  at android.app.ActivityThread.handleResumeActivity (ActivityThread.java:5431)
  at android.app.servertransaction.ResumeActivityItem.execute (ResumeActivityItem.java:54)
  at android.app.servertransaction.ActivityTransactionItem.execute (ActivityTransactionItem.java:45)
  at android.app.servertransaction.TransactionExecutor.executeLifecycleState (TransactionExecutor.java:176)
  at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:97)
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2571)
  at android.os.Handler.dispatchMessage (Handler.java:106)
  at android.os.Looper.loopOnce (Looper.java:226)
  at android.os.Looper.loop (Looper.java:313)
  at android.app.ActivityThread.main (ActivityThread.java:8741)
  at java.lang.reflect.Method.invoke
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:571)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1067)
Caused by java.lang.IllegalStateException: Default FirebaseApp is not initialized in this process com.company.app. Make sure to call FirebaseApp.initializeApp(Context) first.
  at com.google.firebase.FirebaseApp.getInstance (FirebaseApp.java)
  at com.google.firebase.dynamiclinks.FirebaseDynamicLinks.getInstance (FirebaseDynamicLinks.java)
  at io.flutter.plugins.firebase.dynamiclinks.FlutterFirebaseDynamicLinksPlugin.getDynamicLinkInstance (FlutterFirebaseDynamicLinksPlugin.java)
  at io.flutter.plugins.firebase.dynamiclinks.FlutterFirebaseDynamicLinksPlugin.onNewIntent (FlutterFirebaseDynamicLinksPlugin.java)
  at io.flutter.embedding.engine.FlutterEngineConnectionRegistry$FlutterEngineActivityPluginBinding.onNewIntent
  at io.flutter.embedding.engine.FlutterEngineConnectionRegistry.onNewIntent
  at io.flutter.embedding.android.FlutterActivityAndFragmentDelegate.onNewIntent
  at io.flutter.embedding.android.FlutterActivity.onNewIntent
  at android.app.Activity.performNewIntent (Activity.java:8594)
  at android.app.Instrumentation.callActivityOnNewIntent (Instrumentation.java:1484)
  at android.app.Instrumentation.callActivityOnNewIntent (Instrumentation.java:1497)
  at android.app.ActivityThread.deliverNewIntents (ActivityThread.java:4352)
  at android.app.ActivityThread.performResumeActivity (ActivityThread.java:5331)

Labeling this issue based on the report and crash log for team's attention.
/cc @Lyokone

Hello @dmitry-fbm ,
Could you confirm that you ran flutterfire configure using the latest FlutterFire CLI version?
Can you also confirm that you have the necessary google-services.json file in you android/app folder?
Also, do you run await Firebase.initializeApp(options: await _getFirebaseOptions()); before running runApp?
Have you tried to compile your app locally using "flutter run --release" to see if you can reproduce it locally?

@Lyokone ok as per most recent docs google-services.json (as well as GoogleService-Info.plist) has to be removed from the project - which is what we have done, as otherwise it triggers this error: Firebase App named ‘[DEFAULT]’ already exists. There is no mention of it here anymore as well. So I believe you have to make the plugin work accordingly.
FYI, after the plugin was removed, the crashes stopped.

Hello @Lyokone - any update on this please?

@dmitry-fbm You are looking at deprecated documentation as said on the top of the page

, you should keep both service files (which are automatically generated by flutterfire configure)

@Lyokone sorry for slow response, been busy with other stuff. You're correct that flutterfire generates service files, however having both them and FireBaseServices.init() in dart code triggers this error: A Firebase App named "[DEFAULT]" already exists. The call is necessary for instance to initialize service worker in flutter web so we cannot get rid of it. In the same time both FCM and analytics work perfectly without those service files. Should we initialize a separate instance of firebase app? Won't they conflict with each other?

Ok let me get back to this. So, firstly, @Lyokone is correct: if configured properly with flutterfire, nothing crashes. Still, I'd argue that crash (especially intermittent) isn't right way to manifest misconfiguration.
But, things are getting worse yet after this announcement. Don't you guys have some insight/suggestions what can be used to substitute the FDL? We currently use AppsFlyer to track installs but it has a number of drawbacks compared to FDL; using standard deep linking techniques the announcement refers to doesn't let attribute installs to a specific user at all so not an equivalent substitution. Any suggestion would be greatly appreciated.

@dmitry-fbm I have the exact same crash as you in production. 2000+ occurrences this week…
May I know what you've done to have the proper configuration ??
Following official documentation doesn't seem enough. Have you changed firebase_options.dart ? Have you added any file ?
I appreciate the help, thank you :)

Hi folks, we'd like to inform you that the Firebase Dynamic Links service will be shutdown on August 25, 2025. In the meantime, only critical or security issues will be fixed in the SDK.
More at firebase.google.com/support/dynamic-links-faq


author and author_email is excessive

I understand that there is metadata that can not be changed to provide author info as a single string:
__author__ =  "anatoly techtonik<EMAIL_ADDRESS>
Or even listing all authors in a list (#153). But flit is a converter anyway, so it could do this extra conversion step to help people write less boilerplate (and maybe it will become next metadata if people adopt such syntax).

It's a weird case, because Author can include an e-mail and Author-email can include a name. Both fields are optional.

Why not clean up the spec from weird cases? Any tracker for weird issues with spec?

Would it be possible to make author-email optional rather than required (in line with PEP 345)?
I'd like to use flit, but I'd strongly prefer to keep my email address private and get people to contact me via github package issues.
My alternatives seem to be to use a nonsense address or a github no-reply address, both of which would be irritating to anyone trying to contact me, or fall back to using setuptools which appear to allow optional email addresses.

The author email field is now optional (thanks to @wimglenn in PR #289).
For now, I'm going to leave both fields as they are. It is kind of weird, but I'm happy enough just exposing what is used in the metadata. Trying to simplify it would also require thinking about compatibility with existing projects that use both.
If anyone has a concrete proposal for a better way to record author/maintainer information, feel free to open a new issue.


All UI buttons react twice in Android

In Android, shortcuts, volume, play-pause and arrows react twice to each single tap.
For example:

when I tap the arrows, the camera moves two steps
When I tap the pause button, the icon changes to play and then instantly back to pause

They seem to be reacting to both touchstart and tap. If I touch, then drag and release out of the button, the behavior doesn't occur.
This behavior is:

consistent in all my cameras
not present in the desktop.
Both in the HA app and android chrome browser

Btw: thanks for this integration, it works really well also remotely, where the core one from HA doesn't. Awesome work!

Home Assistant 2022.6.1 and 2022.6.2
WebRTC v2.3.0
Tested on:

Samsung S9
Samsung S21
Desktop chrome with devtools open and mobile mode

Just took a look at the code, and my money is on registering both click and touchstart listeners, e.g:
        volume.addEventListener('click', volumeCallback);
        volume.addEventListener('touchstart', volumeCallback);

I think the easiest way is to add a call preventDefault() on the event inside the listener and that will inhibit the click from triggering on mobile (after reacting to touchstart).

same problem here

Hello I just saw this issue and I was thinking about my own open issue.
I would like to provide an update, my PTZ buttons have been working fine for a while.  @dbuezas do you still have this issue 4 months later? can these issues be closed?

Should be fixed in v3


Overhaul handling of array arguments

This does a large overhaul of how array arguments are handled, namely making legendre() a vector function and "downgrading" the status/importance of broadcasting.
Highlights:

legendre(norm, 0:lmax, 0:mmax, x) will now allocate and return an appropriately-shaped output for calculating all degrees/orders for all x (from scalar through any-dimensional array). This effectively fixes #8.
Since legendre() now does array-based operations, the advertisement of broadcasted legendre.() has been removed from the manual. There are still broadcasted(::typeof(legendre)) specializations, though, to intercept any accidental broadcasting that would be better served by a single vectorized invocation.
Renamed the internal _legendre! function to unsafe_legendre!, and moved around argument checking so that it's truly unsafe and no need for @propagate_inbounds (so should save time/effort in compiling multiple long inlining of the full implementation).

Failures on v1.5 and master are due to a change in how LLVM is optimizing the coeff_α and coeff_β functions for the spherical normalization case. The issue has been unnoticed thus far because there were no written/tested examples of particular affected numerical values until the rewrite of the documentation introduced in this PR.
I've asked a generic question on Julia's Discourse to see if there's more information about what LLVM is doing specifically, but in the mean time I'll add an appropriate workaround commit to bring the calculation back into alignment on all Julia versions.


Error in Unity 2017.1.1p4

Invalid pass number (1) for Graphics.Blit (Material "Hidden/BilateralBlur" with 1 passes)
UnityEngine.Graphics:Blit(Texture, RenderTexture, Material, Int32)
VolumetricLightRenderer:OnRenderImage(RenderTexture, RenderTexture) (at Assets/VolumetricLights/Scripts/VolumetricLightRenderer.cs:354)

Having the same issue in Unity 2017.1.2f1.

Sorry guys for the late reply. I'm super busy. Did you figure it out? It is some weird Unity import issue. Manually reimporting the shaders should fix it.

I'll try it out. For now I have disabled the asset. Anyway, thanks! I'll
try that.
Sorry for the delay.
2017-10-29 17:23 GMT-02:00 Michal Skalsky<EMAIL_ADDRESS>
Sorry guys for the late reply. I'm super busy. Did you figure it out? It
is some weird Unity import issue. Manually reimporting the shaders should
fix it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/SlightlyMad/VolumetricLights/issues/24#issuecomment-340287164,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABUb_V4q-tUr2RTHftOp8Wi1gwyZTkSIks5sxNDIgaJpZM4Px2ys
.

--
Lucas Montenegro Carvalhaes
May the sawce be with you


Update to Cosmos SDK 0.42

Summary
Update Cosmos SDK dependency to version 0.42
Problem Definition
Cosmos SDK version 0.42 contains critical fixes to evidence handling for networks (security of network).  In addition to these fixes version 0.42 contains extensive breaking changes to the banking API and account addresses.  These changes are expected to have an impact on the marker module and will require changes/testing.
Areas of Concern for Marker Module

Updated coin metadata including name/symbol fields that must be supported by marker module
Supply interfaces removed and changed to coin types
Gov module contains extensive new supply constraint checks that panic the chain if they fail.
Variable length addresses have been merged, this will require denom addresses to be based on the combination of the marker module name and the denom name as a "child account"
SetSupply and SetBalance were removed (should be unused)

General Concern

Wallet path has been change from SetFullFundraiserPath to Coin and Purpose only.
Addesses are now simple byte arrays less than 255 in length (up from 20 minimum previously)
Support for secp256r1 was added.

Proposal
Review changes required to marker module and update as needed.  Upgrade to 0.42 sdk release.

For Admin Use

[ ] Not duplicate issue
[ ] Appropriate labels applied
[ ] Appropriate contributors tagged
[ ] Contributor assigned/self-assigned

The security label is applied because this release fixes issues with evidence handling that are required for slashing bad behavior in public networks.


Execute in python shell

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/di-graph/terraform-config-validator?version=dev:55d1091fb50d2b7364432bf9608dec07c52e28bf


Download model is not loading after accepting the license and its observed intermittently

Describe the bug
Download model is not loading after accepting the license and its observed intermittently when checking the developer console its throwing below JS errors
semanticui-light.js:8237 Modal: The element you specified could not be found [data-asset-share-id="license-modal"] [data-asset-share-id="license-accept"] and
contexthub.kernel.js:4254 Uncaught TypeError: Cannot read property 'channel' of undefined
Environment

AEM Version: 6..3.2
Asset Share Commons Version: 1.5.2
Author, Publish or both: BOTH

To Reproduce
Steps to reproduce the behavior:

Go to 'Home or Asset Details page'
Click on 'Download Action button for licensed asset'
Go to Developer console it will throw JS errors.
And intermittently Download model is not loading.

Expected behavior
Download model should load after accepting the license without any issue in all the time.
Screenshots

Additional context
Additionally added the Developed console log here.
license-consolelogs.log

Closed as a duplicate of #258


Can you share "meta.csv" file?

Hello! At this moment, the imdb.mat file, available from the official IMDB-WIKI website, is corrupted. You said that you converted both (imdb.mat and wiki.mat) into a single meta.csv. Would you be so kind as to share this meta.csv with me? It would help me a lot with my MSc thesis... Thanks in advance.

Im interested too

Im interested too

If you download the dataset from the IMDB-WIKI website, the IMDB filenames contain the date of birth and the date the photo was taken (eg. <some_text>.jpg). So if all you need is the age, you can extract it from the filenames.


Fix: TaskProcessor cross-origin worker loading

Description

Fixes two issues that we have come across when upgrading to the latest version of Cesium with our unusual setup, where our application bundle and Cesium resources are loaded cross-origin.

The createWorker function uses the module ID rather than a full URI when considering whether to load the worker with a cross-origin shim.
The cross-origin shim used the importScripts method does not support ESM modules. It will fail at runtime with cryptic errors.

Issue number and link

Could not find any related issues.
Testing plan

To reproduce issue:

Setup a Cesium project where the bundled application, as well as all Cesium assets (including workers) are hosted on domain A, and the application is initialised cross-origin on domain B.
Cesium will attempt to load the correct URL, but without the cross-origin shim.
If the above is fixed, the workers are then loaded with an importScripts shim, which gives vague and unhelpful errors when loading ESM modules.

The net result is Cesium unable to render the globe, erroring out before any display.
With the fixes, it should initialise as usual.
Author checklist

[x] I have submitted a Contributor License Agreement (Via PropellerAero corporation CLA)
[x] I have added my name to CONTRIBUTORS.md
[x] I have updated CHANGES.md with a short summary of my change
[x] I have added or updated unit tests to ensure consistent code coverage
[ ] I have update the inline documentation, and included code examples where relevant
[x] I have performed a self-review of my code

Hi @harrythemorris, I don't see a CLA on file on file for you. We'll need this before we can review this PR. See CONTRIBUTING.md for instructions on submitting a CLA.
Let us know once that's submitted. Thanks!

Hi @harrythemorris, I don't see a CLA on file on file for you. We'll need this before we can review this PR. See CONTRIBUTING.md for instructions on submitting a CLA.
Let us know once that's submitted. Thanks!

Hi @ggetz sorry for the trouble! My employer PropellerAero have signed a corporation CLA - are there any steps that I need to take to verify that I am a member of the org?

No worries @harrythemorris! I see PropellerAero, but I don't see your user ID or name listed under "Schedule A". Would you be able to have your admin or point of contact update the list?

@ggetz We haven't contributed here in a while so that list is quite out of date. How would we go about updating it for Propeller Aero? The best contact on that list to confirm details would be @keattang if you could send email correspondence to him?

@jaycosaur @keattang The simplest approach would be to re-submit the Corporate CLA with new usernames.

Actually, a vouch from @keattang via a comment here would be enough.

Hi @ggetz! I vouch for both @jaycosaur and @harrythemorris. If they can be allowed to vouch for other people that would be great too. Let me know if you'd like me fill out any forms or need any other details 😄

Thanks for the PR @harrythemorris!
I seem to be having trouble replicating the issue. Would you mind giving us a few more details about how the application is being bundled?

Hi @ggetz I've put together a minimal repro here based on the cesium-webpack-example.
https://github.com/harrythemorris/cesium-webpack-example/tree/cors-worker-repro
Essentially:

Origin A holds our application bundle as well as cesium static assets. It has appropriate CORS headers set to allow the resources to load, and this worked very happily with Cesium 1.99 (presumably things broke with ESM but I cannot confirm)
Origin B loads the application bundle, and calls a well-known function it exports to start the application.

This webpack setup emulates this, with the webpack dev server standing in for Origin A, serving the bundle and static assets, and the test-5 script starting up a server to act as origin B loading our bundle.
I've updated the PR description with a link to this, and have added screenshots of the errors that occur. Let me know if you have any more trouble reproducing, and I can try to get this setup somewhere publicly accessible.

Thanks for the test repo @harrythemorris! I can reproduce the runtime error!
When I use this branch in that example instead of main, the runtime rendering error goes away, but I'm still seeing CORS errors in the console for other assets. I understand this PR focuses on workers, but is this expected?

Thanks for the test repo @harrythemorris! I can reproduce the runtime error!
When I use this branch in that example instead of main, the runtime rendering error goes away, but I'm still seeing CORS errors in the console for other assets. I understand this PR focuses on workers, but is this expected?

Hi @ggetz
Not expected! I am not seeing those errors here when running on my machine - all static assets are loading successfully (e.g. skybox, workers, widgets/). To test my branch, I used npm link after doing a release build.

@harrythemorris I tried again, and I'm still seeing the CORS errors in Chrome.
I'm not seeing them in Firefox though.
In this branch, I ran
npm install
npm run make-zip
npm link

and in your provided sample repo I ran
npm link cesium
npm run build
npm run start:built
npm run start:client

Strictly speaking this doesn't need to hold up this PR, but I want to make sure we're addressing the core issue before merging.

@harrythemorris I tried again, and I'm still seeing the CORS errors in Chrome.
I'm not seeing them in Firefox though.
In this branch, I ran
npm install
npm run make-zip
npm link

and in your provided sample repo I ran
npm link cesium
npm run build
npm run start:built
npm run start:client

Strictly speaking this doesn't need to hold up this PR, but I want to make sure we're addressing the core issue before merging.

@ggetz thanks again for taking the time to try this out 🙏
I believe the issue stems from npm run start:built -> if you run just npm run start from the webpack-5 dir instead, it will serve via webpack, which has CORS headers enabled. I had not changed the start:built script to do so, but just pushed a change so that would work now.

Hi @ggetz just wanted to bump this one - I believe the above concerns have been addressed, and I've resolved all conflicts ready to merge.

Thanks for your patience @harrythemorris! I tweaked the unit test to remove the reliance on a _skipTaskRun flag. Once CI passes, this should be good to merge.


Dapr configuration api opened go-sdk pr

Configuration API Proposal: https://github.com/dapr/dapr/issues/2988
Go SDK: https://github.com/dapr/go-sdk/pull/200
Are there plans to support the Configuration API?

Hi @doddgu
When this is added we'll add programmatic support through DaprClient as well as through IConfiguration.


How did uploaďmy run on your overlay

Upload in what sense? There is no public leaderboard yet, it's all local. If you set the game folder and database file locations and enable quest logging, you should see the runs you do with the overlay in the Most Recent section.

yeah I'm using the 0.21.0
but what is exactly the database file location you mean the quest?

This is the way I personally do it:

Go to Mezeporta, load the Overlay.
Press Shift+F1, go to Quest Log tab.
Go to Settings tab inside the Quest Log tab, press Select Game Folder button
Navigate to the folder where your mhf.exe (the game) resides, select it and press Select folder.
press the Select Custom Folder for quest Runs Database.
Navigate to any folder (I made a database folder in the game folder), give the file a name (I named mine MHFZ_Overlay.sqlite), press Save.
Toggle Quest Logging
Press the green Save button at the bottom in order for the overlay settings to be saved.
Restart the Overlay.
Do a run and once you are back at hub, check if the run is there by going into Config -> Quest Log -> Section Most Recent

ok Thank for your help

Addendum for v0.22.0: https://github.com/DorielRivalet/mhfz-overlay/blob/main/FAQ.md#how-to-enable-quest-logging


Upgrade/ver 3

What

upgraded dependencies
left mock-jwks due to the need of ESM modules, please find error below

Error [ERR_REQUIRE_ESM]: require() of ES Module /Users/PMichelevicius/workspace/veritable-acapy-proxy/node_modules/mock-jwks/build/index.js from /Users/PMichelevicius/workspace/veritable-acapy-proxy/test/helper/auth0.js not supported.
Instead change the require of index.js in /Users/PMichelevicius/workspace/veritable-acapy-proxy/test/helper/auth0.js to a dynamic import() which is available in all CommonJS modules.
    at Object.<anonymous> (/Users/PMichelevicius/workspace/veritable-acapy-proxy/test/helper/auth0.js:2:24)
    at Object.<anonymous> (/Users/PMichelevicius/workspace/veritable-acapy-proxy/test/integration/acapyCall.test.js:5:27)
$

another one coming in. Due to mock-jwt reverting back to latest non esm module in the next PR.


Python 3.9 support

Currently waiting for parents in the migrator.

Tackling one of those in https://github.com/conda-forge/gym-feedstock/pull/8


How to measure a performance using confusion matrix?

Hi all. I currently running train.py which is from jetson inference. I wish to measure the network performance by using a confusion matrix. Since I am new to this terminology I am not sure how I can get the prediction and true dataset from the model.
Can someone guide me through this or there is a better way to analyze the performance of the model?
How am I going to do that? Any recommendations for coding?
Thank you.

Hi @horyan971211 it would need to be with a model that you trained in PyTorch/TensorFlow/ect.   jetson-inference runtime library is for inferencing only and doesn't load the groundtruth dataset, so it wouldn't have that data to compute the confusion matrix.

Sure, you could add scikit-learn to this PyTorch train.py script for classification models for example:  https://github.com/dusty-nv/pytorch-classification/blob/dd2548357acb46e376543a3475942075f4a5ce88/train.py

Sure, you could add scikit-learn to this PyTorch train.py script for classification models for example: https://github.com/dusty-nv/pytorch-classification/blob/dd2548357acb46e376543a3475942075f4a5ce88/train.py

One more question. Did the jetson inference is for deep learning or transfer learning?

By default that train.py script will use transfer learning - it starts with models that were pre-trained on the 1000-class ImageNet dataset.  However you can configure it so that it trains from scratch, but it will take longer to train then.

By default that train.py script will use transfer learning - it starts with models that were pre-trained on the 1000-class ImageNet dataset. However you can configure it so that it trains from scratch, but it will take longer to train then.

Sure, you could add scikit-learn to this PyTorch train.py script for classification models for example: https://github.com/dusty-nv/pytorch-classification/blob/dd2548357acb46e376543a3475942075f4a5ce88/train.py

Can you please provide example?

Sorry, I haven't done it.   https://forums.developer.nvidia.com/t/how-to-measure-acc-loss-f1-etc-on-jetson-nano/237878/2


What is the problem?

Did u add jcenter as repository?
Please see https://github.com/hotchemi/PermissionsDispatcher/blob/ver1.x/build.gradle#L15.


Cleanup _libcall and _usercall distinction

Cleanup _libcall and _usercall distinction

@justinchuby do you know why the lint check is failing? It's complaining about "cls.atol = 1e-7  # type: ignore[attr-defined]", but I didn't touch this line at all ... I guess it must already have been there

I fixed it in the previous PR. Does rebasing help? The issue was because lintrunner previously ignored some mypy errors that it shouldn’t and fixed it in the package


Merge Multiple Runs

Can tarpaulin handle multiple runs (with different options)?
For example, there may be two mutually exclusive features foo and bar, and the code coverage might need to be run on both.  How would one do this and merge the results?

I believe the readme covers this with extending tarpaulin. There's a project called pycobertura that lets you merge the XML reports but there should be a better way in tarpaulin itself

I was thinking of a toml file describing all the runs

I did have a very quick look at pycobertura and there does not appear to be a pycobertura merge option, so I'm sure what you mean (unless you meant that I would have to write my own script to merge the reports?).
A toml file describing the runs is a good option for projects with more complicated features, but could be overkill for small projects.  A --merge-output option I think would be useful if just a couple or runs are needed.

Related Issue: https://github.com/xd009642/tarpaulin/issues/240

So this is now solved by the new config file format in develop https://github.com/xd009642/tarpaulin/tree/develop#config-file feel free to try it out and feedback on this issue https://github.com/xd009642/tarpaulin/issues/350 in the meantime I'll close this issue


Quit Application Extension: Support restart App

Description

Added support to restart the app for the Quit Application Extension.
This was requested in https://github.com/raycast/extensions/issues/4407.
Screencast
https://user-images.githubusercontent.com/25415255/214271503-fba6b5f8-0084-42e7-aeab-6741aa8eaf1d.mov

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

Thanks  🚀


[SPARK-45430] Fix for FramelessOffsetWindowFunction when IGNORE NULLS and offset > rowCount

What changes were proposed in this pull request?

This is a fix for the failure when function that utilized FramelessOffsetWindowFunctionFrame is used with ignoreNulls = true and offset > rowCount.
e.g.
select x, lead(x, 5) IGNORE NULLS over (order by x) from (select explode(sequence(1, 3)) x)

Why are the changes needed?

Fix existing bug
Does this PR introduce any user-facing change?

No
How was this patch tested?

Modify existing unit test to cover this case
Was this patch authored or co-authored using generative AI tooling?

No

@beliefer please take a look.

@cloud-fan please take a look

I think the pyspark test failure is unrelated and we can merge. @vitaliili-db how far shall we backport? is it a day-1 bug?

@cloud-fan can you merge this please?

thanks, merging to master/3.5/3.4/3/3!


Feat: Add cursot pointer

Description
Need to add a cursor pointer in the button.

Screenshots
No response
Additional Information
No response

This is disabled right now. Cause you can sync your profile once in two days. If you your profile got updated before two days it will automatically active

This is disabled right now. Cause you can sync your profile once in two days. If you your profile got updated before two days it will automatically active

ok


gcd using euclidean algorithm || mathematics

Have you read the Contributing Guidelines on Pull Requests?
yes
Description
fixes #301
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

Related Issues or Pull Requests
issue #301

@iamrajiv  @HarshCasper  please review my pr

@vybhav72954  I have made the changes, can you please review it

@iamrajiv  I have done the changes can you review it

@HarshCasper  Can you please review and merge my pr

@iamrajiv  can you please review my pr


Add install_requirements flag to all modules

I'm running mqtt-io on a raspberry pi zero w and it takes about 3 minutes to start. 2 and a half are the requirements check, because pip is really slow on this hardware. I'd like to skip the pip install step on startup, because I've already checked the requirements and they are fine. So on future starts this should not be checked any more.
This PR adds a new flag to the modules section in the config to skip pip install

Argh, I didn't realise this was a pull request and not an Issue, so I just went and implemented it myself :facepalm: Sorry!
I've just made it a global option. I don't think it needs to be set on each module. I've added a top-level "options" section in the config, which can contain parameters like this. https://mqtt-io.app/#/config/reference/options/?id=options-install_requirements
I'm going to close this PR without merging. Thank you for your work - I'm sorry I didn't realise you'd done it! I hope my implementation works for you as well.

Great, thanks!


No such file or directory

Description:
https://docs.wso2.com/display/SP400/Deployment+Guide
In the above documentation they have mentioned that the group ID and other configurations required for a clustered set up are edited in the <SP_HOME>/conf/deployment.yaml file.
But the path should be  <SP_HOME>/conf/worker/deployment.yaml file.
or <SP_HOME>/conf/manager/deployment.yaml file.
I am not sure about the exact path, I hope that it will be correct.

added content of all possible values


Update CODEOWNERS

Thanks for taking on aievec!

Tbh I'll take all the help I can get (so thank you for the other PR) - as with the other code owners change - I'm just trying to stay up to date.


Pulseaudio dependancy needs to be changed

Please fill out this form and delete the defaults(everything not in bold font), so I can help you better
Describe the bug
attempting to update pipewire-pulse package to 1:1.2.2-1 breaks dependency pulseaudio required by gbar-git. My system currently has pipewire-pulse 1:1.2.1-1. The effect is I am unable to do system updates without resolving this dependency.
Steps to Reproduce
What did you do, that triggered the issue?

Run yay -S pipewire-pulse
install fails due to break in dependency

Expected behavior
gBar should get an updated dependency for pipewire-pulse as the new pipewire-pulse package no longer has pulseaudio. My understanding is pipewire-pulse replaces a deprecated pulseaudio. Asking for pipewire-pulse or pulseaudio would be better instead of asking only for pulseaudio.
Screenshots/Error logs

Information about your system and gBar

OS:Garuda (Arch)
Desktop environment Hyprland
commit sha256 if possible nan

Should be already fixed. Just yay -S gbar-git and then update the system as normal.

I unfortunately tried this earlier. Just tried again and I still have the same issue.

Have you made sure to clean build the package? If you have, does pacman -R gbar-git && yay -S gbar-git help? I also had this issue and the PKGBUILD update definitely fixed it for me, so my guess is that your is that pacman/yay hasn't recognized that the package dependencies changed.

Initially this did not work either, after some headbashing the issue is finally solved after I forced it with --redownload. Thanks for the help.


If I open a new project and no workspace is open but its existing - error occurs

Azure Data Studio Version:

Steps to Reproduce:

have a workspace in a folder names abc.workspace and a abc.sqlproj
Open ADS with no project
Go through Open existing flow and select project abc.sqlproj
This tries to makes another abc.workspace in same place and fails

Expected: it should be able to reuse the workspace with some notif message.

no longer an issue after removal of workspaces from this dialog


Super slow to load image on IOS - Xamarin Forms - only the first time

🐛 Bug Report

I build a Xamarin forms application.
I have a content view ( full screen ) which contains a grid with 5 column, 4 Rows,
displaying 20 images : png, 64x64 pixel, color images.
on android, the screen is displayed in less than 1 second : it is immediately displayed.
on IOS, the screen is displayed after about 20 seconds the first time.
if I remove  the screen from the UI, and add it again : the screen is displayed immediately.
Expected behavior
Image should be loaded and displayed immediately.
Configuration
Xamarin forms v<IP_ADDRESS>7
Ipad 9.7 " 2019, IOS 13.4.1
FFimageLoading <IP_ADDRESS>2
here is the code used to display the images :
<ffimageloading:CachedImage Aspect="AspectFit"                                          HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand"
DownsampleToViewSize="true" Source = "poissons.png" >
ffimageloading:CachedImage.GestureRecognizers

</ffimageloading:CachedImage.GestureRecognizers>
ffimageloading:CachedImage.Transformations
<fftransformations:RoundedTransformation Radius="64" BorderSize="5" BorderHexColor="#606060"  />
</ffimageloading:CachedImage.Transformations>
</ffimageloading:CachedImage>
Platform:
IOS

You may try to set fewer tasks.
var config = new FFImageLoading.Config.Configuration();
config.SchedulerMaxParallelTasks = 1;  // Depending on how many parallel tasks you need.
ImageService.Instance.Initialize(config);
CachedImageRenderer.Init();

This solutions works, but I don't understand why. A value of "1" seems arbitrary and non-intuitive. The Googles was unable to help me find documentation that explains this value.
This problem was introduced some time between version 2.4.3 and 2.4.9 (and is still in 2.4.11). I rolled back my packages to versions we had previously used.
App Startup:
2.4.11  - 14 seconds
2.4.9  - 14 seconds
2.4.3 - 2 seconds
2.4.11 setting MaxParallelTasks to "1" - 2 seconds

Perfect, Iwill try that solution
Le ven. 26 juin 2020 à 19:51, Scott K Davis<EMAIL_ADDRESS>a
écrit :

This solutions works, but I don't understand why. A value of "1" seems
arbitrary and non-intuitive. The Googles was unable to help me find
documentation that explains this value.
This problem was introduced some time between version 2.4.3 and 2.4.9 (and
is still in 2.4.11). I rolled back my packages to versions we had
previously used.
App Startup:
2.4.11 - 14 seconds
2.4.9 - 14 seconds
2.4.3 - 2 seconds
2.4.11 setting MaxParallelTasks to "1" - 2 seconds
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/luberda-molinet/FFImageLoading/issues/1443#issuecomment-650313352,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB5HTRHC4VIZCI6HHILBBK3RYTNY7ANCNFSM4MMLMELA
.

You may try to set fewer tasks.
var config = new FFImageLoading.Config.Configuration();
config.SchedulerMaxParallelTasks = 1;  // Depending on how many parallel tasks you need.
ImageService.Instance.Initialize(config);
CachedImageRenderer.Init();

This work for me, thx!

Should I need to give the below code in Appdelegate.cs?
var config = new FFImageLoading.Config.Configuration();
config.SchedulerMaxParallelTasks = 1;  // Depending on how many parallel tasks you need.
ImageService.Instance.Initialize(config);
CachedImageRenderer.Init();


Added read by information in chat bubble contextual menu

What
Added read by information in chat bubble contextual menu
Why
show how many people have read the message when participant number more than 2
How Tested

when less than equal to 2 participants, contextual menu remain unchanged

when more than 2 participants, open contextual menu, will see read by x of y

when read by 0 of y, button is disabled

when read by more than 0 of y, button is enabled

have not implemented the submenu yet so I didn't add the chevron icon in

Style:
https://www.figma.com/file/72qJ03EOQExf12g5JTdWjQ/Web-UI-Library?node-id=4063%3A26046

Actually, would be nice to see a few screenshots in the PR description.
Are there e2e tests already covering this?

Updated PR to include screenshots


Iterators: Dedicated CI target + fix build

The first commit fails "on purpose". On the current main, building the iterators sub-project would break if it were executed but it is not. The first commit just enables that sub-project, the second one fixes the build.


Add updated CRDs with printer columns

Description

Adds printer column CRD changes to latest OLM catalog files
Adds printer column CRD changes to roles/files dir

Merge with: https://github.com/konveyor/mig-controller/pull/643
Issue Link: https://github.com/konveyor/mig-controller/issues/599
Check each of the following when appropriate to help reviewers verify work is complete.
Modifying an existing version

[ ] I modified operator permissions in the OLM CSV and operator.yml
[ ] I modified the operator deployment in the OLM CSV and operator.yml
[ ] I modified operand permissions in the OLM CSV and ansible role
[x] I modified CRDS in the OLM CSV and ansible role

Adding a new release version

[ ] I created a new z release directory in deploy/olm-catalog/konveyor-operator
[ ] I updated channels in the konveyor-operator.package.yaml
[ ] I created a new release directory in deploy/non-olm
[ ] I created or updated the major.minor link in deploy/non-olm
[ ] I updated the spec.skips parameter in the CSV
[ ] I updated downstream-prep.sh to only update the latest CSV patch version in the channel

Didn't mean to push branch to this repo... will delete after merge.

@djwhatle this broke with the file rename, needs a rebase but otherwise looks good.

@jmontleon rebased

Merged controller PR.


PS4/PS5 Documentation

We're testing the integration here for PS4/PS5 with UE4 and are hitting some compiler errors.  Can you clarify the documentation for consoles or add some example integration documentation?
TasksCommonPrivate.h(178,10): fatal error: 'experimental/coroutine' file not found
#include <experimental/coroutine>
TasksCommonPrivate.h(59,28): error : expected class name  struct static_false : std::false_type
Your GDC Talk was great!

We are trying to integrate SquidTasks into our engine and we are hitting the same compilation errors.
We contacted Sony about it for PS5 and their response was that coroutines weren't supported on PS5 :

Although some C++20 feature are either fully or partially supported in the compiler, there is no SDK standard library support for C++20, as the SDK standard library targets C++17.  Since the coroutines feature requires the "coroutine" header file (not present in the SDK) then this is one of those C++20 features that definitely won't work at this time.
So, unfortunately, coroutines are not supported and there is no current ETA to have them on the PS5's SDK.

So, I'm definitely interested too in knowing how you went around solving this issue in The Pathless.
And kudos for your great GDC talk!

In our case, it ended up being an issue with _STL_COMPILER_PREPROCESSOR not being defined. Fixing this and making sure that block of code was used during compilation fixed our issue.
Thanks for the prompt help @westquote !

@spicard12 out of curiosity where did you put that definition?
We also found that forcing the conditional also worked.  Similar modifications were necessary to the PlatformToolChain but those were very straightforward based on the example.

@kbaxtrom, for the moment, I just added the macro definition to the clang command-line with :
-D "_STL_COMPILER_PREPROCESSOR"
We're just in the prototyping phase right now to see if SquidTasks works well for what we want to accomplish (it does so far), so we're not at the clean integration part yet, hence the "hacky way" to fix the issue for now.


set tooltip explicitly when href is set, otherwise tooltip shows \N

Small fix for the Scalaz sample. It showed '\N' as tooltip. I changed it to be the class name.

thanks!


Allow links clicking in VISUALIZATION tab

@ mention of reviewers
@Didayolo
A brief description of the purpose of the changes contained in this PR.
It was not possible to click links in the VISUALIZATION tab of a submission because of an iframe property sandbox. Now this property is removed to allow clicking links.
This should be discussed because there could be some security problems but we are using iframes in other places without this sandbox property.
Here are some problems given by ChatGPT

Cross-Site Scripting (XSS) Attacks: Without sandboxing, malicious content within the iframe could execute scripts that steal user data, manipulate the page, or perform other harmful actions.
Clickjacking: Attackers could use the iframe to overlay deceptive UI elements on top of your website, tricking users into clicking on malicious content without their knowledge.
Data Theft: Malicious scripts within the iframe could access sensitive information on your website, such as user session tokens or personal data, and send it to a remote server controlled by the attacker.
Browser Exploits: Vulnerabilities in the browser or its extensions could be exploited via the iframe, leading to unauthorized access or control over the user's browser.
Cookie Theft: Malicious scripts could access cookies set by your website, allowing attackers to hijack user sessions or impersonate legitimate users.
Malware Distribution: Attackers could use the iframe to distribute malware or redirect users to malicious websites without their consent.
SEO Manipulation: Malicious content within the iframe could be used to manipulate search engine rankings or inject spammy links into your website.
Legal Liability: Depending on the jurisdiction and the nature of the content displayed in the iframe, you could be held liable for hosting or distributing illegal or harmful content.

Issues this PR resolves

#1391

A checklist for hand testing

[ ] In the detailed result file write a link e.g. html_file.write("
Click this link
")
[ ] Test that you should NOT be able to click the link (without these changes)
[ ] Test that you should be able to click the link (with these changes)

Checklist

[x] Code review by me
[x] Hand tested by me
[x] I'm proud of my work
[ ] Code review by reviewer
[ ] Hand tested by reviewer
[ ] CircleCi tests are passing
[ ] Ready to merge

@ihsaan-ullah Can we ask Fair Universe people about how the security threat is problematic?


bug fixes

improved laravel 5.6 support
optional automatic hex conversion for binary keys
improved support of non-composite indexes with binary keys

Codecov Report

Merging #5 into master will decrease coverage by 1.44%.
The diff coverage is 83.72%.

@@             Coverage Diff              @@
##             master       #5      +/-   ##
============================================
- Coverage     92.55%   91.11%   -1.45%
- Complexity      108      122      +14
============================================
  Files             8        8
  Lines           188      225      +37
============================================
+ Hits            174      205      +31
- Misses           14       20       +6

Impacted Files
Coverage Δ
Complexity Δ

src/Eloquent/CompositeKeyQueryBuilder.php
100% <ø> (ø)
9 <0> (ø)
:arrow_down:

src/Http/Traits/NormalizedKeysParser.php
100% <100%> (ø)
12 <0> (+2)
:arrow_up:

src/Eloquent/Relationships/CompositeBelongsTo.php
100% <100%> (+2%)
32 <5> (+1)
:arrow_up:

src/Scopes/CompositeKeyScope.php
83.33% <16.66%> (-16.67%)
13 <0> (ø)

src/Http/Traits/HasCompositePrimaryKey.php
85.26% <92.3%> (+2.16%)
47 <12> (+12)
:arrow_up:

src/Http/Traits/CompositeRelationships.php
91.66% <0%> (-0.65%)
6% <0%> (-1%)

Continue to review full report at Codecov.

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


Alembic does not carry the uuid format parameter

Thanks for previous fixes for 57, After that I found out that alembic does not carry the uuid format parameter when creating the migration file for uuid.
generate:
op.create_table('usermodel',
    sa.Column('id', ormar.fields.sqlalchemy_uuid.UUID(), nullable=False),

should be:
op.create_table('usermodel',
    sa.Column('id', ormar.fields.sqlalchemy_uuid.UUID(uuid_format="string"), nullable=False),

Actually it should be just

for hex: sa.Column('id', sa.CHAR(32), nullable=False),
for string: sa.Column('id', sa.CHAR(36), nullable=False),

I changed the column repr method to return char.
It should not use ormar at all but unfortunately by default alembic uses full module name for autoganeration.
To change it you have to pass user_module_prefix='sa.' parameter to context.configure in alembic env.py.
The sa. is the default sqlalchemy prefix, that you can also configure it so if you change it to something different in alembic configuration (sqlalchemy_module_prefix parameter) this one have to match.
"""
***Beginning of the sample revision file***
Revision ID: XXX
Revises:
Create Date: XXXX-XX-XX

"""
from alembic import op
# alembic by default imports sqlalchemy as sa
# this has to match the set prefix ('sa.' in example above)
import sqlalchemy as sa

So it should look like this:
(<===trimmed for clarity===>)
def run_migrations_offline():
    """Run migrations in 'offline' mode.

    This configures the context with just a URL
    and not an Engine, though an Engine is acceptable
    here as well.  By skipping the Engine creation
    we don't even need a DBAPI to be available.

    Calls to context.execute() here emit the given string to the
    script output.

    """
    context.configure(
        url=URL,
        target_metadata=target_metadata,
        literal_binds=True,
        dialect_opts={"paramstyle": "named"},
        # if you use UUID field set also this param
        # the prefix has to match sqlalchemy import name in alembic
        # that can be set by sqlalchemy_module_prefix option (default 'sa.')
        user_module_prefix='sa.'
    )

    with context.begin_transaction():
        context.run_migrations()

def run_migrations_online():
    """Run migrations in 'online' mode.

    In this scenario we need to create an Engine
    and associate a connection with the context.

    """
    connectable = create_engine(URL)

    with connectable.connect() as connection:
        context.configure(
            connection=connection,
            target_metadata=target_metadata,
            # if you use UUID field set also this param
            # the prefix has to match sqlalchemy import name in alembic
            # that can be set by sqlalchemy_module_prefix option (default 'sa.')
            user_module_prefix='sa.'
        )

        with context.begin_transaction():
            context.run_migrations()
(<===trimmed for clarity===>)

Please update to 0.5.5 for this feature - also included this in the alembic docs.

I see the problem now, thanks for the quick fix and instructions!


add optional label field to BoundingBox object for object detection data

label field defaults to None

Codecov Report

Merging #116 into master will decrease coverage by 0.01%.
The diff coverage is 57.14%.

@@            Coverage Diff             @@
##           master     #116      +/-   ##
==========================================
- Coverage   62.81%   62.79%   -0.01%
==========================================
  Files          14       14
  Lines        4783     4784       +1
==========================================
  Hits         3004     3004
- Misses       1779     1780       +1

Thanks for the help!
Merged it.


Allow multiple rule keys as input

This PR implements the feature required in #91.
See an example of transformation by 3 different processors, all applied to the same file:
- BigDecimal bd2 = new BigDecimal(1.1); // Noncompliant by BigDecimalDoubleConstructorCheck
+ BigDecimal bd2 = BigDecimal.valueOf(1.1);

- float twoThirds = 2/3; // Noncompliant by CastArithmeticOperandCheck
+ float twoThirds = (float) 2/3;

  AtomicInteger aInt1 = new AtomicInteger(0);
  AtomicInteger aInt2 = new AtomicInteger(0);
- isEqual = aInt1.equals(aInt2); // Noncompliant by EqualsOnAtomicClassCheck
+ isEqual = aInt1.get() == aInt2.get();

The general idea is to receive multiple rule keys as args and, for each rule key, to create a Launcher with the processor corresponding to the rule key and run it. The support of multiple rules is like that because 1) all files processed by a processor (including changed and non-changed) need to be given as input to the next processor, and 2) we have the option of outputting all files or only the changed ones (see FileOutputStrategy). Because of all of that combined, we need an intermediate dir when multiple processors will run, which will contain all the files (changed or not changed) after all processors, except after the last one, because then we generate files in the final output path according to the FileOutputStrategy chosen. I added some comments in the source code that might help to understand why some things are happening.

This PR is ready for review.

What about documenting how to use this feature in the README?

You are totally right. However, our README has not been updated at all regarding the usage of the tool. Since I don't want to create changes in this current PR that are not related to its purpose, I created a new PR for updating the README (see https://github.com/SpoonLabs/sonarqube-repair/pull/102). Once the new PR is merged, I will rebase this current PR and I will update the README with this new feature.

Once the new PR is merged, I will rebase this current PR and I will update the README with this
new feature.

ack! thanks.

@monperrus, the update in the README.md is done.

Thanks Fernanda!