Changing Slot Machine Images Brings This Error.

That first image is the error. I made sure that all the dimensions were the same and the names were exactly the same. I thought there might be a reference to the images somewhere in a .dll that I'd have to go and edit, but I did a very minor change to the numbers that appear on the slot machine (Color change only) and I would still get the above error.

Restarted the bot, triple checked names and dimensions (Only place dimensions vary a little are for the emojis), etc etc. None of the Suport Girls in the Discord know how to fix it.
Please and thank you.

Try deleting the other files other than 1.png, 2.png and 3.png and see if that works.

I have. I changed all the files and only changed some. It always gives me that error unless I'm using the base images.

i though we stored images like these in the image.json?
Not sure on windows. But i would surely say it would. What version your on?

I thought these were stored in a .json also  so I asked around the discord, but it seems that everything but the slot machine is in the image.json.
I'm using the latest windows one.

Well i'm only using linux..
@MaybeGoogle your familiar with windows 🤔 ?

Since I'm running it off a virtual server I can try switching to linux. Will I be able to transfer all the data from the old one easily?
I'd also still like to know how to fix this issue on windows.

Oh yes you can backup everything! Just get the credentials.json and the db! Only replace the db in Linux after it's all up and running.
About the issue, I would have to test it out for myself, but I'm quite busy with college so.. for now I suggest Linux.
 Will I be able to transfer all the data from the old one easily?
I'd also still like to know how to fix this issue on windows.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Thank you.

@Macley-Kun no, macos for personal. This person asked in help, I couldn't figure out why it was doing this. :male_shrug:

@MaybeGoogle oh well, let's see if more people show up with this 😛
@ATAStaff update us if linux works better for ya!

Hey @Macley-Kun . Finally got it working on Windows. When I was copying the files over, I changed everything except for "background2". background2 I has as the original, default image. After changing background2, everything worked great. Essentially, it seems that I can't just change one file, but instead have to change all of them.

Thanks again.

@ATAStaff don't forget to close the ticket. 😜
Thanks for sharing your answer for future issue searchers!


Jaeger client can't return tracer if Jaeger agent is temporary down

Requirement - what kind of business use case are you trying to solve?
Trying to start a service with a jaeger client when the jaeger agent is down.
Problem - what in Jaeger blocks you from solving the requirement?
This function return error and doesn't allow the service to get a tracer from
https://github.com/jaegertracing/jaeger-client-go/blob/c58709fe19d793cdd40ad8bfa6e645a40a2eccf8/config/config.go#L169
which can connect to an agent when it is back as it does if ip address and port is provided.
This problem only happens if LocalAgentHostPort is set to a dns name with port like 'jaegerAgent:6831
and not if an ip address and port.
Cannot init Jaeger: lookup agent on XXX.XXX.XXX.XXX:XX: no such host
Proposal - what do you suggest to solve the problem or improve the existing situation?
Same behavior for jaeger client if LocalAgentHostPort is set to dns name or ip address.

I looked through the code and found the place where giving an ip address and port to an unavailable agent still return a tracer but if a dns name is not resolved gives an error and no tracer.
https://github.com/jaegertracing/jaeger-client-go/blob/c58709fe19d793cdd40ad8bfa6e645a40a2eccf8/utils/udp_client.go#L54

The agent is designed to run as a sidecar on the same host. What is the use case for starting it with unresolvable dns name?


Feature: redis storage

I'm working for Redis storage.
There are many patches at the moment. I will rebase them into one patch later.
Please check the latest code.

It does not pass all tests yet.
But I'd like to get any feedback if I'm doing well.
Summary of "Cargo test" result:
failures:
aggregate_count
aggregate_group_by
aggregate_max
aggregate_min
aggregate_sum
alter_table_add_drop
alter_table_rename
arithmetic_error
ast_builder_alias_as
ast_builder_basic
ast_builder_delete
ast_builder_expr_pattern_matching
ast_builder_function_datetime_conversion
ast_builder_function_datetime_current_date_and_time
ast_builder_function_datetime_formatting
ast_builder_function_math_basic_arithmetic
ast_builder_function_math_rounding
ast_builder_function_other_coalesce
ast_builder_function_text_case_conversion
ast_builder_function_text_position_and_indexing
ast_builder_function_text_trimming
ast_builder_insert
ast_builder_select
ast_builder_statements_queryinng_data_aggregation
ast_builder_update
basic
bitwise_and
bitwise_shift
case
column_alias
delete
dictionary
function_append
function_cast_literal
function_cast_value
function_custom
function_ifnull
function_initcap
function_left_right
function_lpad_rpad
function_ltrim_rtrim
function_prepend
function_repeat
function_replace
function_skip
function_slice
function_substr
function_trim
function_upper_lower
insert
int128
int16
int32
int64
int8
join
join_project
like_ilike
limit
migrate
nested_select
nullable
order_by
primary_key
redis_storage_primarykey
schemaless_basic
schemaless_error
sql_types
synthesize
uint128
uint16
uint32
uint64
update
test result: FAILED. 93 passed; 74 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

709 of 776 (91.37%)  changed or added relevant lines in 6 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.1%) to 99.059%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

storages/redis-storage/src/lib.rs
221
224
98.66%

storages/redis-storage/src/alter_table.rs
180
191
94.24%

storages/redis-storage/src/transaction.rs
4
15
26.67%

storages/redis-storage/tests/redis_storage.rs
299
315
94.92%

storages/redis-storage/src/index.rs
0
26
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.1%

Covered Lines:
50856

Relevant Lines:
51339

💛  - Coveralls


Fixing bug for touch screen laptops

-> registering both, touch and mouse events
-> Handling touch events with TouchList touches

Is it possible both events get triggered at once on some scenario? I don't remember the specification explicitly. If this can happen, maybe there should be some kind of a guard in place?

I think that the preventDefault avoid the mouse event from being generated :http://www.html5rocks.com/en/mobile/touchandmouse/ "If you can cancel the touch events (call preventDefault() inside the event handler), then no mouse events will get generated for touch".
So I think it should be fine.

Thanks a lot! I published 0.6.0 with the change and also updated the project demo.


Specify font index numbers of TTC fonts

With the fontspec package users can specify fonts by files names instead of font names. However, when using a font in TrueType Collection (TTC) format, they need to specify an font index number together with the file name.
XeTeX’s \font primitive supports specification of index numbers.
```tex
% use index 1 of ASANA.TTC
\font\sample="[ASANA.TTC:1]:+onum"
\sample fontspec v2.5a
```

Then it will be nice if fontspec also supports this functionality.
```tex
\fontspec{ASANA.TTC}[Numbers=OldStyle]
fontspec v2.5a
```

Note: As for LuaTeX (luaotfload), I’ve heard that this functionality is currently in development.

2016-10-25 (Tuesday<EMAIL_ADDRESS>(Takayuki YATO):

With the fontspec package users can specify fonts by files
names instead of font names. However, when using a font in
TrueType Collection (TTC) format, they need to specify an font
index number together with the file name.
XeTeX’s \font primitive supports specification of index numbers.
```tex
% use index 1 of ASANA.TTC
\font\sample="[ASANA.TTC:1]:+onum"
\sample fontspec v2.5a
```

Then it will be nice if fontspec also supports this functionality.
```tex
\fontspec{ASANA.TTC}[Numbers=OldStyle]
fontspec v2.5a
```

Note: As for LuaTeX (luaotfload), I’ve heard that this functionality is currently in development.

Luaotfload:
\font \f = file:ASANA.TTC(1):+onum

Best,
Philipp

Sorry, there was an error in my previous post.
Now I have fixed it.

Then it will be nice if fontspec also supports this functionality.
% use index 1 of ASANA.TTC
\fontspec{ASANA.TTC}[FontIndex=1,Numbers=OldStyle]
fontspec v2.5a

My intention is to propose the FontIndex option, possibly with a more suitable name.

Thanks all, I'll try to get something ready over the next few weeks…


MD library demo -  Check box prompt missing in the basic list example in landscape mode

[x ] I have verified there are no duplicate active or recent bugs, questions, or requests
[x ] I have verified that I am using the latest version of Material Dialogs.
[x ] I have given my issue a non-generic title.
[x ] I have read over the documentation (before asking questions on how to do something).

Include the following:

Material Dialogs version: <IP_ADDRESS>
Device OS version: 5.1
Device Manufacturer: OnePlus
Device Name: 1

Reproduction Steps

Open the MD library demo app
Flip the phone to be in landscape
Click on the button "Basic list (checkbox prompt)"

Expected Result
The check box prompt should be visible like it is in portrait.
Actual Result
The checkbox prompt is missing
Thanks BTW for your awesome library. ☺


Cupcake variety

Allow for customizable cupcakes, with varying appearances and speed.

Whoops. I forgot to close this.


[WIP] STM32G0 updates

Fine grain features for stm32g0 family

Hmm, sorry, I missed the WIP flag this go around. Do you want these merged?
bors r-

@adamgreig I want to port stm32g0-hal before, sorry for incomplete PR.

No problem, just let me know when it's ready.

@adamgreig ready for merge, thank you ;)

bors r+


Refactor MaternityCalculatorFlow to remove deprecated methods

Replace calculate and save_input_as with direct assignment to state within on_response block
Use validate blocks rather than raising SmartAnswer::InvalidResponse directly
Replace precalculate blocks with assignment to state within on_response block except within outcome blocks
Remove unused response assignment in adoption calculator
Use calculator method in place of precalculate assigned variable in erb files (however, tests fail if respective precalculate blocks removed, so these have been left in place)

trello ticket

@theseanything Thanks you for the reviews and suggested changes. Could you have another look please.


Come up with a testing strategy.

One approach (that I use in the Sourcer and AGC extensions) is to use node.js to build a testing framework.
The way I do this means that only the browser independent modules get tested by the automated tests. The code that modifies web pages or builds menus is not tested.
There may be other ways that would allow everything to be tested. Perhaps using a headless browser and something like puppeteer.
That said, for my extensions, the node.js framework has worked really well and is simple. The only library I use is jsdom.

I should also mention that there is a difference between unit tests and regression tests. What I use in AGC and Sourcer are regression tests. I store a lot of input data (WikiTree profiles and external record pages etc) and I store the reference output for that input with a given set of options. Running the tests compares the current output with the reference output and reports errors if they differ.
This has worked really well for me. When a significant new bug is reported I add that case to the regression tests so the tests build up over time.
In contrast unit tests are usually a collection of code that tests small areas of the code (e.g. functions or modules). They can be time consuming to develop and can easily get out of date as the code changes, so maintaining them has a cost.

Once Przemek is done with his major changes to the code, I'll start looking at writing some tests.

I will be trying to integrate my existing tests as part of integrating AGC. Do we want a single framework for testing all features? Or can each feature have its own system? One framework would be best but I'm not sure if all features can be tested in the same way.
Maybe I can just get my agc tests incorporated in the simplest possible way and that gives us something to look at to consider the best way forward?

Ideally, we would have one framework for testing all features.
It would be helpful to have your agc tests as a starting point.

I have submitted a PR here: https://github.com/wikitree/wikitree-browser-extension/pull/55
This is the test system for the AGC feature. We can decide whether to build a framework around this style of testing or whether something else is required to test other features.

There is some good discussion of this in this PR: https://github.com/wikitree/wikitree-browser-extension/pull/97

I added a sample feature DOM test in #117

Done.


DependaBot: Get dependabot created PRs to be compatible with the CI testing

Description
Currently the DependaBot PRs require a developer to update the commit message to include the required Fixes: #0000.
This means for each vulnerability it needs an issue to be created for it.
This could potentially be resolved by adding a check in the CI testing to also allow https in Fixes: so that we can instead point at the security issues that are automatically created by DependaBot, for example: https://github.com/confidential-containers/cloud-api-adaptor/security/dependabot/47.
Another step would be to investigate if there is a way to control the PR & Commit that gets created to automatically include the security issue link.

In the logic for the commit-message-check there is the option for force-skip-ci label on the PRs? Though I don't think we've ever used that

The label doesnt currently exist, the current plan that Im looking at doing is to update this line: https://github.com/confidential-containers/cloud-api-adaptor/blob/1ce9f59c0a12034656343311ad06280f59ff0e77/.github/workflows/commit-message-check.yaml#LL76C2-L76C2
To include a check to see if the author of the PR is dependabot if it is skip the Fixes step

Testing skipping the commit message steps IF the user that created the PR is the dependabot:

Create PR myself with no Fixes applied job output: https://github.com/Jordan9500/cloud-api-adaptor/actions/runs/5313468448/jobs/9619407498?pr=5
Create PR myself pointing with FIXES mentioned: https://github.com/Jordan9500/cloud-api-adaptor/actions/runs/5313512329/jobs/9619509978
Let dependabot create a PR with no Fixes mentioned: https://github.com/Jordan9500/cloud-api-adaptor/actions/runs/5313453145/jobs/9619369995?pr=1

The label doesnt currently exist, the current plan that Im looking at doing is to update this line: https://github.com/confidential-containers/cloud-api-adaptor/blob/1ce9f59c0a12034656343311ad06280f59ff0e77/.github/workflows/commit-message-check.yaml#LL76C2-L76C2
To include a check to see if the author of the PR is dependabot if it is skip the Fixes step

Worth cleaning out the old label logic then?

I agree, and have removed it in my most recent commit.


Feature/lol/s3 uuid

Files uploaded to S3 will now be named {user_id}-{uuid}
The api checks to ensure the front end user matches the user making the request.
Django image model updated to allow for filename and uuid data.

Connects #46
To test:

Log in.
Attempt to upload a file by going to the file uploader and adding one or more images.
Check s3 to see if they've appeared.
This should not be possible while logged out.
Attempting to fake the request by manually visiting the api endpoint and using the wrong user id should fail.

+1 Tested

@kdeloach, I merged the settings files together. Can you give another quick test?

Looks good to me.


Fixed non availability of Leakcanary in release version

Tested based on the fact that this code change has no connection to the bbcomponent itself


Minor tweaks to ML ingest-data.sh to improve UX

Fairly straight-forward PR here to improve the user experience of the Getting Started Machine Learning Labs.

when performing ES bulk uploads via curl, the output should be redirected to avoid a massive JSON response being returned to the user's shell. I went with the approach of redirecting stdout/stderr to a .out file matching the input filename.
the use of $URL in ingest-data.sh should be consistent; this is especially important when a user is modifying the HOST/PORT variables at the top of the shell script.

I tested these changes against Elastic Stack 5.4 on both Elastic Cloud and a local install.

hi @plinde we are working on a major repo restructuring right now. So will merge this PR in after that change goes in.

@plinde do you mind adjusting the PR given the refactor.

@gingerwizard This should be all set to merge now. I tested the workflow from a scratch clone of the repo + stock Elastic Stack 5.5.1 w/ X-Pack.

LGTM


[bug] Fix TitleID being shown in FBI instead of Title Name

Currently when looking at FBI->Titles LumaUpdater shows up as<PHONE_NUMBER>1DEA00 instead of Luma Updater. This is an extremely frustrating bug and should be very easy to fix as this is an issue in the way the header is created. If you want an example, a similar bug was fixed long ago in bannertool (and by extension buildtools) so you can look there. If you still using bannertool yourself then please update your version before the next release of LumaUpdater. Click here for said commit to bannertool (but just grab the latest version when you do)

Small update... here is an example image as seen in FBI

Thank you for the report and solution, I'll see what I can do!

Oh darn before I forget (I was reminded due to the notification) - It might be that LumaUpdater and PKSM's issues come down to the same so perhaps try looking into it together with Bernado. 2 heads are better than 1 after all.
I'm saying this in context of this issue I created on the PKSM repo

I'm not sure at which point but this has been fixed in KunoichiZ fork so I may as well close this since that is the most up to date progress anyway.


nikola: remove quotes from post titles

Just a small fix to make things look better (Nikola doesn’t support quotes in meta tags, so they appear raw).
Keep up the good work!

@Kwpolska Thank you for your great work on Nikola. Keep it up. Thanks for the sample update. Cheers.


Inputs on CLI get printed twice

Issue discovered when sshed onto a docker container started by batect (bash).  Typed commands look like I have very shaky hands/or too much coffee.
e.g. make -> mmaakkee

It's pretty hard to read.
Batect version: 0.23
Container Image: Alpine 3.8

Thanks for the bug report @minnn-minnn.
Just to confirm, you're running bash inside a container (which is using alpine:3.8), and then SSHing into the container?
Could you perhaps send me a sample batect.yml and the commands you're running so that I can reproduce the problem here?

Just to confirm, you're running bash inside a container (which is using alpine:3.8), and then SSHing into the container?

Yup.

Could you perhaps send me a sample batect.yml and the commands you're running so that I can reproduce the problem here?

I'll send you an email

Thanks!

Further offline discussion has revealed that SSH is not involved (this happens when running ./batect the-task)
I can't reproduce this issue at the moment and @minnn-minnn is going to try to isolate the problem so I can reproduce it.

I'm now working with @minnn-minnn and have worked out that this bug was introduced in 0.22.0. Previous versions work fine. Hope this helps narrow the problem down.

Alright, that tells me where the problem is but I don't understand why it's happening. Does this affect all containers you run, or just this one? (I can't reproduce the problem locally at the moment, so I need some help to narrow it down so that I can.)

Further details from @minnn-minnn:

Centos Linux 7 - kernel: linux 3.10.0 x86_64
Bash - 4.4.19

I can now reproduce this problem! Thanks for your help @minnn-minnn and @ineffyble. I'll take a look and see what the fix is.

Resolved with 6b593a8.
Thanks for your help and patience @minnn-minnn and @ineffyble!


Bear Tyree's Hackpad

Bear's Hack Pad
I wanted to create my macropad to help me with video editing and CAD. I enjoyed learning how to design PCBs however the QMK was a little bit difficult to get figured out, I finally got a version to compile once I fixed the key matrix but all it does is bind the keys to hotkeys, once I get my macropad I plan to experiment with the QMK further and implement different layers of macros as well as display which layer it is currently on on the display.

(case designed with shapr3d and rendered in blender)
BOM (in seperate file aswell):

11 cherry mx switches
1x EC11 Encoder
3x PCB (it said somewhere yall would send 3 idk)
12x Through-hole 1N4148 Diodes
1x oled display (128x32 is what I used in the schematic)
1x seeeduino board

Great work! Get your hackpad here: https://forms.hackclub.com/hackpad


Submit a new version with an IAP

Hi,
I have a problem with in-app purchases. I'm able to successfully create a new IAP using spaceship "in_app_purchases.create". But after this I have to submit a new version to ITC with this IAP. I don't see a way to do it using fastlane deliver or spaceship. Is there a way to do it at all?
Thank you!

I know you mentioned using spaceship, but maybe you could use gym + increment_build_number+ deliver to accomplish that? I'm just thinking out loud here because apple mentions:

Your first In-App Purchase must be submitted with a new app version.

So after creating a new IAP, you'll need to create a new release + rebuild the app with a new build version to meet apple's criteria.
Maybe you can use fastlane to automate that part?

Hi taquitos,
Thank you for advice, but unfortunately it doesn't work

Is there any option in the API to just sent the IAP to revision? We don't need to upload a new version of the app if we already have IAP's available on current version.
I checked the code and I don't think so. Anyone with a less tedious way to send multiple IAP's to revision? :)


Bootstrap leaves connection open on client.

The bootstrap_step function with status STATE_BS_FINISHED would close the connection, but it is never called with that status. The lwm2m_step function in the state STATE_BOOTSTRAPPING calls bootstrap_getStatus and only calls bootstrap_step if the status is not STATE_BS_FINISHED and not STATE_BS_FAILED.
I would suggest having the lwm2m_step function in the state STATE_BOOTSTRAPPING call the bootstrap_step function in all cases. I have tested moving it from the default case to before the switch statement and it disconnected properly.

Indeed.
Your suggestion fixes the issue but I'll investigate to determine if a design change would be better.
Thanks

That change looks like it will handle the successful case, but I think the connection will still be left open in the failed case.

You're right. It should be OK now.

bootstrap_getStatus should return STATE_BS_PENDING in STATE_BS_FAILING. It currently returns STATE_BS_FAILED, but that prevents bootstrap_step for being called to close the connection and move from STATE_BS_FAILING to STATE_BS_FAILED.

Fixed by #294


Add num_retries option to QPUSubproblemAutoEmbeddingSampler

Closes #114
Todo: add test case

Codecov Report

Merging #230 into master will decrease coverage by 0.09%.
The diff coverage is 71.42%.

@@            Coverage Diff             @@
##           master     #230      +/-   ##
==========================================
- Coverage   88.33%   88.23%   -0.10%
==========================================
  Files          16       16
  Lines        1714     1726      +12
==========================================
+ Hits         1514     1523       +9
- Misses        200      203       +3

Impacted Files
Coverage Δ

hybrid/samplers.py
88.94% <71.42%> (-1.51%)
:arrow_down:

hybrid/flow.py
93.07% <0.00%> (+0.27%)
:arrow_up:

Continue to review full report at Codecov.

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


Display more information when used with :verbose

If the :Autoformat command gets prefixed with :verbose, it would be nice to get more information, e.g. which command has been executed.
IIRC this can be checked through &verbose.

Could you verify that this issue is solved?


Fix/vcnt

Created this PR because of the issues in PR https://github.com/miyurud/jasminegraph/pull/262


Data Science Project

Real time insights from social media data

Sorry to inform but this repository has been excluded from hacktoberfest. So inorder to make your PR count towards hacktoberfest, request you to make your contribution in this repository -> https://github.com/SR-Sunny-Raj/Hacktoberfest2022-for-everyone


Use "results" property instead of returning data from methods

findStoreDocuments()
reGenerateCache()
useExistingCache()
This above method should use $this->results property to set the data directly instead of returning the data to the fetch() method!

In the fetch method it will only return $this->results.

* `findStoreDocuments()`

* `reGenerateCache()`

* `useExistingCache()`
  This above method should use `$this->results` property to set the data directly instead of returning the data to the `fetch()` method!

In the fetch method it will only return $this->results.

reGenerateCache()

useExistingCache()
The above methods does not exist anymore. #68

findStoreDocuments()
I did not understand why findStoreDocuments should not just return the results. So it returns the results again with #68

Added in SleekDB 2.0!

Added in SleekDB 2.0!


♻ Use flutter.cn rather than neverssl.com

NeverSSL no longer supports H2 headers upgrade. All alternatives I've searched are not supported:

http://www.gstatic.com/generate_204
http://http.badssl.com/
http://flutter.dev/

Surprisingly, http://flutter.cn/ supports all functionality. 😮
New Pull Request Checklist

[x] I have read the Documentation
[x] I have searched for a similar pull request in the project and found none
[x] I have updated this branch with the latest main branch to avoid conflicts (via merge from master or rebase)
[x] I have added the required tests to prove the fix/feature I'm adding
[ ] I have updated the documentation (if necessary)
[x] I have run the tests without failures
[ ] I have updated the CHANGELOG.md in the corresponding package

😂 xcjswzj

Well, well, seems like our CDN didn't provide H2 ability for foreign access.


Container name already in use

In some scenarios, it seems that we are getting the following message in the logs:
2022-10-12T12:12:12.276+0200    INFO    ci/docker.go:142        Image 'mcr.microsoft.com/dotnet/sdk:6.0' not yet available for 'dat240-Lab3-MajesticBagelss-45a2ba': Error response from daemon: Conflict. The container name "/dat240-Lab3-MajesticBagelss-45a2ba" is already in use by container "44223c67eb026fdc25b34ea513cba7448451c580f6ad15c4b9cf11877395ff33". You have to remove (or rename) that container to be able to reuse that name.

It is unclear why this happens. Needs investigation.

Some preliminary analysis seems to indicate that GitHub generates duplicate push events for dat240 (not dat320):
% grep 'Error response from daemon: Conflict.' logs/quickfeed.log  | wc -l
1013
% grep dat240-Lab3 duplicate-push.log | wc -l
991
% grep dat240-Lab2 duplicate-push.log | wc -l
20
% grep dat240-Lab1 duplicate-push.log | wc -l
2

2022-10-12T08:32:44.868+0200    DEBUG   hooks/push.go:20        Received push event for branch reference: refs/heads/master (user's default branch: master)
2022-10-12T08:32:44.868+0200    DEBUG   hooks/push.go:28        Received push event for repository ID:200  organizationID:110674061  repositoryID:531438382  userID:160  HTMLURL:"https://github.com/dat240-2022/sirenm-labs"  repoType:USER
2022-10-12T08:32:44.868+0200    DEBUG   hooks/push.go:35        For course(2)=Advanced Programming
2022-10-12T08:32:44.868+0200    DEBUG   hooks/push.go:48        Processing push event for user repo sirenm-labs

...

2022-10-12T08:32:45.165+0200    DEBUG   hooks/push.go:20        Received push event for branch reference: refs/heads/master (user's default branch: master)
2022-10-12T08:32:45.166+0200    DEBUG   hooks/push.go:28        Received push event for repository ID:200  organizationID:110674061  repositoryID:531438382  userID:160  HTMLURL:"https://github.com/dat240-2022/sirenm-labs"  repoType:USER
2022-10-12T08:32:45.166+0200    DEBUG   hooks/push.go:35        For course(2)=Advanced Programming
2022-10-12T08:32:45.166+0200    DEBUG   hooks/push.go:48        Processing push event for user repo sirenm-labs
2022-10-12T08:32:45.166+0200    DEBUG   ci/clone_repositories.go:18     Cloning repositories for dat240-Lab3-sirenm-0c04bc
2022-10-12T08:32:45.329+0200    DEBUG   scm/fetcher.go:28       Clone(https://github.com/dat240-2022/tests.git)
2022-10-12T08:32:45.356+0200    DEBUG   scm/fetcher.go:28       Clone(https://github.com/dat240-2022/tests.git)
2022-10-12T08:32:45.952+0200    DEBUG   scm/fetcher.go:41       CloneDir = /tmp/quickfeed-tests3424028637/tests
2022-10-12T08:32:45.953+0200    DEBUG   scm/fetcher.go:41       CloneDir = /tmp/quickfeed-tests937645194/tests
2022-10-12T08:32:46.146+0200    DEBUG   scm/fetcher.go:28       Clone(https://github.com/dat240-2022/sirenm-labs.git)
2022-10-12T08:32:46.395+0200    DEBUG   scm/fetcher.go:28       Clone(https://github.com/dat240-2022/sirenm-labs.git)
2022-10-12T08:32:47.010+0200    DEBUG   scm/fetcher.go:41       CloneDir = /tmp/quickfeed-tests3424028637/assignments
2022-10-12T08:32:47.010+0200    DEBUG   ci/clone_repositories.go:38     Cloning time:    1.880486776s
2022-10-12T08:32:47.032+0200    DEBUG   ci/clone_repositories.go:41     Validation time: 21.693554ms
2022-10-12T08:32:47.032+0200    DEBUG   ci/run_tests.go:69      Running tests for dat240-Lab3-sirenm-0c04bc
2022-10-12T08:32:47.032+0200    INFO    ci/docker.go:129        [mcr.microsoft.com/dotnet/sdk:6.0] Dockerfile:  ...
2022-10-12T08:32:47.422+0200    INFO    ci/docker.go:72 Created container image 'mcr.microsoft.com/dotnet/sdk:6.0' for dat240-Lab3-sirenm-0c04bc
2022-10-12T08:32:47.497+0200    DEBUG   scm/fetcher.go:41       CloneDir = /tmp/quickfeed-tests937645194/assignments
2022-10-12T08:32:47.497+0200    DEBUG   ci/clone_repositories.go:38     Cloning time:    2.330492944s
2022-10-12T08:32:47.535+0200    DEBUG   ci/clone_repositories.go:41     Validation time: 37.490943ms
2022-10-12T08:32:47.535+0200    DEBUG   ci/run_tests.go:69      Running tests for dat240-Lab3-sirenm-0c04bc
2022-10-12T08:32:47.535+0200    INFO    ci/docker.go:129        [mcr.microsoft.com/dotnet/sdk:6.0] Dockerfile:  ...
2022-10-12T08:32:47.539+0200    INFO    ci/docker.go:142        Image 'mcr.microsoft.com/dotnet/sdk:6.0' not yet available for 'dat240-Lab3-sirenm-0c04bc': Error response from daemon: Conflict. The container name "/dat240-Lab3-sirenm-0c04bc" is already in use by container "88cf2d9a1509dd1ac2f58897d3b0fca36de3c7a5c9c9814f108e9d9f32bb1bea". You have to remove (or rename) that container to be able to reuse that name.
2022-10-12T08:32:47.539+0200    INFO    ci/docker.go:150        Trying to pull image: 'mcr.microsoft.com/dotnet/sdk:6.0' from docker.io
2022-10-12T08:32:48.243+0200    INFO    ci/docker.go:77 Waiting for container image 'mcr.microsoft.com/dotnet/sdk:6.0' for dat240-Lab3-sirenm-0c04bc
2022-10-12T08:32:49.493+0200    ERROR   hooks/push.go:226       test execution failed without output: Error response from daemon: pull access denied for library/mcr.microsoft.com/dotnet/sdk, repository does not exist or may require 'docker login': denied: requested access to the resource is denied
2022-10-12T08:33:13.089+0200    INFO    ci/docker.go:83 Done waiting for container image 'mcr.microsoft.com/dotnet/sdk:6.0' for dat240-Lab3-sirenm-0c04bc
2022-10-12T08:33:13.091+0200    INFO    ci/docker.go:92 Removing container image 'mcr.microsoft.com/dotnet/sdk:6.0' for dat240-Lab3-sirenm-0c04bc

As this example shows, the two push events arrive in less 30 ms.

A solution could be to ignore duplicate push events with the same commit ID.


Contest entry - database explorer

Submitter
We are Romain Besseau and Oliver Hurtig, and we are both working at the Joint Research Center in Ispra in the north of Italy. Our work includes LCA of bioenergy pathways, and in that context, we started to develop some visualization tools that we are happy to share with you. We were on a rush so many things can be improved, especially the performance of the dashboard function. The new GraphTraversal takes something between 15 minutes and 1 hour to run depending on the dataset... But once this calculation optimized, we hope you will be convinced by the potential of the toolbox and the dashboard! The possibility is select various LCIA method is not implemented but will be once the calculation will be faster.
Description
We present you the toolbox database explorer and its dashboard that is designed to help explore and analyze the content of a database on a given topic.
This toolbox includes functions to:

explore the datasets contained into a database
analyze the difference between those datasets in terms of inventories and impacts
do some contribution analysis in terms of substances and processes (however, we lose the tree representation on these graphs)
get an interactive dashboard to analyze the impact chain of an activity. You then get sunburst representations of respectively positive and negative impacts. Those positive and negative impacts are also represented on a waterfall. Finally, you also have an interactive sankey diagram.

Database(s) used

[ ] Used example data from the contest repository
[X] Used another database 👉 [ecoinvent 3.7 database cut-off]

Links to the code and visualization
Code
The code is here on GitHub, or here.
Visualizations
Visualisations are here or here.
Presentation video
The video is here.
License
MIT License

@RomainBes Thanks for you entry, it was received in time and meets the criteria for a successful submission. We will have a final jury meeting in mid-March, and you can expect feedback by the end of March.

@RomainBes Your entry has been selected for inclusion in a new Brightway graphics library. However, we need a better name, as we will include other contest entries and more besides. Would you like to come up with something on your own?

Dear brightway community,
Where could I find the new brightway graphics library?
Indeed, we realized our contribution was too complexe to be used, even by us.
In the enclosed zip file, we simplified it a lot to provide only 3 simple but useful functions. The functions take as argument the lca object, and enables to plot:
1- a figure showing the  contribution by substance and process
2- an interactive Sankey diagram
3- an interactive Sunburst diagram (we solved some issues using a digraph model to remove problematic nodes in the sunburst)
There is a short notebook example in the zip file.
CA_visualisation.zip
Hoping those functions can be useful to other brightway users, and integrated in the brightway visualisation library I could not find, or the the bw-analyser eventually?
Romain


Update /ja/

This is a...

[x] Feature Request
[ ] Bug Report

Problem:
https://kubernetes.io/ja/ is not up-to-date. Especially past events appear on Japanese top page.
Proposed Solution:
Follow updates.
Page to Update:
https://kubernetes.io/ja/
/language ja

/language ja
/assign @tnir


Contextually type this in object literals in JS

Previously, this would only get a contextual type inside object literals with --noImplicitThis turned on in Typescript files.
Fixes #16184

This is likely too restrictive - I've previously argued that what you really want is the contextual type & Record<string, any>.

Isn't Record<string, any> equivalent to { [s: string]: any }? JS objects include a string indexer now, so this is legal:
const o = {
    p: 12,
    m() {
        return this.p + this.x
    }
}

And o: { p: number; m(): any; [x: string]: any }. Does that address the scenario you had in mind?

From conversation with @andy-ms, note that if you make a call like this:
transformsPropertiesIntoMethods({
  p: 12,
  m() {
    return this.p()
  }
})

Then you will get an error with // @ts-check because the contextual type comes from the object literal but should come from the call to transformsPropertiesIntoMethods. You'll need to install types for the transformer function (ember or vue are popular libraries that work like this).


Connect Bank Account - If user clicks disconnect bank account, the background modal goes blank

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Open the New Expensify App or website
Sign into a valid account
Tap on Profile > Workspace > Connect to bank account > Plaid option
Continue the flow until you reach the "One more thing" page.
Click on "Disconnect bank account" and observe the background modal

Expected Result:
The user expects that the background image continues to display even though the disconnect popup is shown
Actual Result:
The background modal is shown as a blank screen
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: <IP_ADDRESS>
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://user-images.githubusercontent.com/93399543/214685106-bd17e476-89fb-4b9b-af8c-1d9be6ba4aff.mp4
https://user-images.githubusercontent.com/93399543/214685110-2ad3e432-f7b6-4893-a446-a20adbdcaf84.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub

Woah apologies this got lost in the shuffle. Triaging now.

 Do you mind going through this as well and seeing if you can reproduce using the steps above?

Following. I've been assigned a very similar issue in the VBA flow today here, which has the same blank screen when launching the modal to "Start over": https://github.com/Expensify/App/issues/14692

The root cause here is the same as https://github.com/Expensify/App/issues/14692#issuecomment-1411678429
Going to fix this as part of the PR for the other issue.

Sure, happy to try and reproduce!

Ah, okay, since this has the same root cause as the other issue, seems like we should be all set here. I did test the "start over" behavior though and got the blank screen. So this is def an issue generally:

Ok great, closing this one then in favor of https://github.com/Expensify/App/issues/14692

Reviewing label has been removed, please complete the "BugZero Checklist".

The solution for this issue has been :rocket: deployed to production :rocket: in version 1.2.71-1 and is now subject to a 7-day regression period :calendar:. Here is the list of pull requests that resolve this issue:

https://github.com/Expensify/App/pull/14726

If no regressions arise, payment will be issued on 2023-02-22. :confetti_ball:
After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.

[ ] External issue reporter
[ ] Contributor that fixed the issue
[ ] Contributor+ that helped on the issue and/or PR

As a reminder, here are the bonuses/penalties that should be applied for any External issue:

Merged PR within 3 business days of assignment - 50% bonus
Merged PR more than 9 business days after assignment - 50% penalty

BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

[ ] [@MariaHCD] The PR that introduced the bug has been identified. Link to the PR:
[ ] [@MariaHCD] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
[ ] [@MariaHCD] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
[ ] [@MariaHCD] Propose regression test steps to ensure the same bug will not reach production again.
[ ] [@JmillsExpensify] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

This issue was closed in favor of https://github.com/Expensify/App/issues/14692 since the root cause of the issue was the same.
Anyhow, the BZ checklist is being completed here: https://github.com/Expensify/App/issues/14692#issuecomment-1431738907


App uses old icon for RiMusic

The app is using the old icon for RiMusic and not the new one: https://github.com/fast4x/RiMusic/commit/9d5b7f754ed694826355ff88fe3e6972fd6cc0be

I just assumed that Accrescent chose the icon. But I just now searched through the docs and found the section where it describes the submission process and how the developer can use an icon, but it doesn't mention how to update the icons.

There isn't currently a streamlined way for developers to update app icons. That's going to change in the near-ish future after some extensive internal changes, but for now, developers need to submit icon change requests out-of-band.


typo error in Camvid training

image_seqence --> images_seqence
missing image's'_sequence

This may be a toy bug, feel free to modify some related code with youself.


Not being able to only choose zones on a specific planet

why cant i set it to only choose zones from planet 18 or 19 so if i want a game only from planet 18 it will only use planet 18

Because you cannot do that.

@DarkMio Why you can when do that in the game
i just want it so it only does planet 18

Because this is a bot that maximizes the XP you get. If you want to go manually to Planet 18 then you gotta turn off the bot and do it manually.

is there any fork of this project that allow me to do that @DarkMio

I really want to do it on planet 18 and another planet when it comes
i like does the whole script need to be rewritten to just use another planet ????

@xPaw can anybody do that please i really only want a game from planet 22 only can do i just change some lines of code and make it only use planet 22

No.

why @xPaw

@DarkMio already said why, stop asking.

BUT CANT YOU JUST CHANGE BESTPLANET IN THE CODE AND SET IT TO PLANET 22 @xPaw

Good job, then what do you want from us?
Stop mentioning me.

@xPaw my only question is what i need to change it too for planet 22
!

Easy: Write your own bot.


Added Localization Support & Added additional Routing Abilities  & Fixed Validator Bugs

Let me fix this and I will re push it.

Added Localization Support

This will generate a localization file for each of the scaffolds generated.

Added additional Routing Abilities

The routing abilities will automatically append routes in full form, not just a Route::resource so that you can add middleware or groups to the routes.

@sylviot


Fix multiple monitor lock placement - #2

Fix issue #2 - see commit f562a7e for my attempt at explaining the solution. Essentially, i3lock-next-helper will also record the position of each monitor and use that, which gives us the top left corner, along the width/height of the monitor to calculate where the centre is.
This pull request also contains commits which:

Add support for a custom prompt to be set when i3lock-next is called. (Alongside this I've made the default prompt be empty.)
Pull the code for the single monitor case into the loop for multiple monitors.
Make minor improvements to README.md, such as adding screenshots and a new video.
Make the code more readable.
Clean up the project directory.
Add a .gitignore so git doesn't track the build/ directory.

Fantastic work! Thank you so much!


Add a license

Please consider adding a license such as the MIT license so that I can modify/fork this repository.

Done! Sorry for taking some time. Hope you'll have fun with it


use Deno.serve in deno examples

Deno.serve is now stable, so it's probably a good idea to use it in the examples: https://deno.com/blog/v1.35#denoserve-is-now-stable

btw, I ported the example to val.town. Do you think it would make a good addition to the readme ?
https://www.val.town/v/pomdtr.vanPlateExample

btw, I ported the example to val.town. Do you think it would make a good addition to the readme ?
https://www.val.town/v/pomdtr.vanPlateExample

Thanks for the suggestion! I added some preview links via CodeSandbox for the server-side sample apps.


train_net.py执行时出错

File "./tools/train_net.py", line 14, in
from fastreid.config import get_cfg
File "./fastreid/config/init.py", line 7, in
from .config import CfgNode, get_cfg
File "./fastreid/config/config.py", line 14, in
from ..utils.file_io import PathManager
File "./fastreid/utils/file_io.py", line 319
_PATH_HANDLERS: MutableMapping[str, PathHandler] = OrderedDict()
^
SyntaxError: invalid syntax

Which python version you use?

Please use python3.

Which python version you use?

I meet the same error and my python version is 3.5.3

@xiejiahong999 please use python3.6 or above


Create a secondary rounded icon button

One need to make this component using HTML and CSS. I would suggest to use Tailwind Playgrounds to make things faster and quicker.
Here is a reference to the component.

After building the component please raise a PR with a screenshot of the component and add the component in Buttons/icon_button_secondary_rounded.html.
If you need to use any icon please use it from Hero Icons
Good luck.

let me take this up @Rajdip019

Please assign me this

Hey @kaustav202 go ahead. And @jsvigneshkanna please choose another component there is plenty of them. @jsvigneshkanna

Does the icon have to be identical to the image @Rajdip019 ?

Yes you can find it on Hero Icons

Yes you can find it on Hero Icons

I'm not sure i could find one like this on https://heroicons.com/
@Rajdip019

Here it is. It is the second icon. You can change it's color using Tailwind. @kaustav202


Rename TRegionLocation and some parameters

Do some renaming
TRegionLocation -> TRegionInfo
confignode: Manager -> IManager
iotdb-engine.properties: rpc_address -> rpc_ip
iotdb-confignode.properties: target_confignode -> config_nodes
TConfigNodeLocation: internalEndPoint -> rpcEndPoint
TDataNodeLocation: externalEndPoint -> clientRpcEndPoint
Show Cluster and Show Regions: HostAdress -> Host

Coverage decreased (-0.006%) to 47.314% when pulling 26dbdfcca95db3204a4a3999c14f6871e9bb885e on rename into 11c6c331e61a127a3c66906d5dfde75069ec04c6 on master.


RuntimeError: Unsupported operation for lowering from TTForge to TTIR: select

Description

RuntimeError: Unsupported operation for lowering from TTForge to TTIR: select

Reproduce
git checkout kkannan/forge_model_issues
git submodule update --recursive
export BACKEND_ARCH_NAME=wormhole_b0 ARCH_NAME=wormhole_b0 PYBUDA_FORCE_EMULATE_HARVESTED=1
pytest forge/test/model_demos/high_prio/nlp/pytorch/test_fuyu_8b.py -svv

Observed Behaviour

E       RuntimeError: Unsupported operation for lowering from TTForge to TTIR: select

Logs

fuyu.8b.log

created issue in MLIR repo - #1179 . so this one is redundant


your download server is down, i can't install vscode from official website or from microsoft store

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version:
OS Version:

Steps to Reproduce:

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Screen Brightness dimming automatically upon playing Youtube Videos

So, I've noticed my screen dimming noticeably below the intended setting whenever I play a Youtube Video. After closing the video, I need to click within the widgets brightness slider again on the same spot it was originally left on in order for the monitor to brighten up again.
I use an Nvidia GPU btw, and otherwise the widget works great.

Some versions of powerdevil (KDEs power management software) are compiled with ddcutil support and thus can interfere with this widget.
Try to disable all display brightness related options in the KDE system settings under Power management > Energy saving. You could also look into this post.


[JenkinsDownloadArtifactsV1] Fix high and critical security vulnerabilities

Required Information
Entering this information will route you directly to the right team and expedite traction.
Question, Bug, or Feature?
Type: Bug
Enter Task Name: JenkinsDownloadArtifactsV1
Issue Description
This task depends on "artifact-engine" that has critical and high vulnerabilities in handlebars lib and "azure-pipelines-tasks-azure-arm-rest" that has critical vulnerability in "typed-rest-client".

Need to update these dependencies to latest versions. For artifact-engine: 1.0.0 vulnerabilities already fixed their by this PR) but there is newer version 1.0.2.
For "azure-pipelines-tasks-azure-arm-rest" it could make sense to use latest version of "azure-pipelines-tasks-azure-arm-rest-v2" if it is possible.
Error logs

                       === npm audit security report ===

# Run  npm install<EMAIL_ADDRESS>to resolve 8 vulnerabilities
SEMVER WARNING: Recommended action is a potentially breaking change

  Critical        Prototype Pollution

  Package         handlebars

  Dependency of   artifact-engine

  Path            artifact-engine > handlebars

  More info       https://npmjs.com/advisories/755

  High            Prototype Pollution

  Package         handlebars

  Dependency of   artifact-engine

  Path            artifact-engine > handlebars

  More info       https://npmjs.com/advisories/1164

  Low             Prototype Pollution

  Package         minimist

  Dependency of   artifact-engine

  Path            artifact-engine > handlebars > optimist > minimist

  More info       https://npmjs.com/advisories/1179

  Moderate        Denial of Service

  Package         handlebars

  Dependency of   artifact-engine

  Path            artifact-engine > handlebars

  More info       https://npmjs.com/advisories/1300

  High            Arbitrary Code Execution

  Package         handlebars

  Dependency of   artifact-engine

  Path            artifact-engine > handlebars

  More info       https://npmjs.com/advisories/1316

  High            Arbitrary Code Execution

  Package         handlebars

  Dependency of   artifact-engine

  Path            artifact-engine > handlebars

  More info       https://npmjs.com/advisories/1324

  High            Prototype Pollution

  Package         handlebars

  Dependency of   artifact-engine

  Path            artifact-engine > handlebars

  More info       https://npmjs.com/advisories/1325

  Critical        Remote code execution when compiling templates

  Package         handlebars

  Dependency of   artifact-engine

  Path            artifact-engine > handlebars

  More info       https://npmjs.com/advisories/1670

                                 Manual Review
             Some vulnerabilities require your attention to resolve

          Visit https://go.npm.me/audit-guide for additional guidance

  Moderate        Prototype Pollution

  Package         hoek

  Patched in      > 4.2.0 < 5.0.0 || >= 5.0.3

  Dependency of   azure-pipelines-tasks-azure-arm-rest

  Path            azure-pipelines-tasks-azure-arm-rest > jsonwebtoken > joi >
                  hoek

  More info       https://npmjs.com/advisories/566

  Moderate        Prototype Pollution

  Package         hoek

  Patched in      > 4.2.0 < 5.0.0 || >= 5.0.3

  Dependency of   azure-pipelines-tasks-azure-arm-rest

  Path            azure-pipelines-tasks-azure-arm-rest > jsonwebtoken > joi >
                  topo > hoek

  More info       https://npmjs.com/advisories/566

  High            Arbitrary Code Execution

  Package         underscore

  Patched in      >=1.12.1

  Dependency of   azure-pipelines-tasks-azure-arm-rest

  Path            azure-pipelines-tasks-azure-arm-rest > typed-rest-client >
                  underscore

  More info       https://npmjs.com/advisories/1674

found 11 vulnerabilities (1 low, 3 moderate, 5 high, 2 critical) in 139 scanned packages
  8 vulnerabilities require semver-major dependency updates.
  3 vulnerabilities require manual review. See the full report for details.

@Lovakumar could you please take a look?


Document --filter

[x] Adds the CLI reference docs for --filter
[x] Updates the scoping page to use --filter

Are these ready to go?

@gaspar09 I think we're waiting for 1.2.0 release

suggestion/addition: let's add a <Callout> about how legacy --scope is going to be deprecated, but is equivalent to --filter=XXXXXX for compatibility as of<EMAIL_ADDRESS>

Re: deprecation, --scope, --since, --no-deps, and --include-dependencies (but not --ignore) are all technically deprecated.

Then we should make a little "Deprecated in 1.2.x" red bubble or <Deprecated /> like we have for <Beta> in Remote Caching and add it to all of the deprecated flags

How would you rewrite this command to use --filter to avoid the deprecated arguments?
turbo run build --cache-dir=.turbo-cache --include-dependencies --no-deps or
turbo run build --cache-dir=.turbo-cache --include-dependencies
Maybe worth it to add these to the docs or in the blog post?  Also posted this question in the blog post PR


Getting too many redirect issue

Hi, I am using  "nuxt": "^2.15.8", installed the package successfully but it is redirecting too many times :(
Any suggestions?

I am also getting the same issue, does anyone solved it yet?


ip-per-task breaks Marathon provider for DCOS (mesos versions >= 0.25.0)

What version of Traefik are you using (traefik version)?
v1.2.0-rc2
What is your environment & configuration (arguments, toml...)?
Running in Docker via the official v1.2.0-rc2 container. No args passed to traefik, just the config (below) via bind-mount at runtime.
The issue reported here occurs when viewing any backends in Traefik, but only with containers using BRIDGE mode. Containers using HOST networking do not seem to be effected. (Only one backend example is included below for brevity, but all backends using BRIDGE display this behavior.)
DCOS version 1.8.4 which includes:
Mesos version: 1.0.1 (a22b5dd552168a8dd925682f3b349059e10fc3d3)
Marathon Version: 1.3.0
traefik.toml:
debug = false
logLevel = "DEBUG"
defaultEntryPoints = ["http", "https"]

[entryPoints]
  [entryPoints.http]
  address = ":80"

[web]
address = ":8080"

[web.statistics]
  RecentErrors = 10

[marathon]endpoint = "http://<host 1>:8080,http://<host 2>:8080,http://<host 3>:8080,http://<host 4>:8080,http://<host 5>:8080"
watch = true
domain = "<domain>"
marathonLBCompatibility = true

What did you do?
$ curl -s -XGET <traefik IP>:<traefik web port>/api/providers/marathon/backends/backend-teams-container-fabric-production-helloworld-service | jq

What did you expect to see?
I expected to find the cluster routable addresses for the Mesos Agents used for the backends.
The output from a 1.1.2 Traefik instance shows this:
{
  "servers": {
    "server-teams_container-fabric_production_helloworld-service-f90ad577-0b2d-11e7-8ca6-e27bcd87aa55": {
      "url": "http://<IP_ADDRESS>:27362",
      "weight": 0
    },
    "server-teams_container-fabric_production_helloworld-service-f90e09c8-0b2d-11e7-8ca6-e27bcd87aa55": {
      "url": "http://<IP_ADDRESS>:7374",
      "weight": 0
    }
  },
  "loadBalancer": {
    "method": "wrr"
  }
}

What did you see instead?
I saw non-routable Docker bridge addresses used for the backends.
The output of a Traefik instance shows this:
v1.2.0-rc2
{
  "servers": {
    "server-teams_container-fabric_production_helloworld-service-f90ad577-0b2d-11e7-8ca6-e27bcd87aa55": {
      "url": "http://<IP_ADDRESS>:27362",
      "weight": 0
    },
    "server-teams_container-fabric_production_helloworld-service-f90e09c8-0b2d-11e7-8ca6-e27bcd87aa55": {
      "url": "http://<IP_ADDRESS>:7374",
      "weight": 0
    }
  },
  "loadBalancer": {
    "method": "wrr"
  }
}

Speculate wildly about what might be wrong
I believe this was caused by this function, which was part of the IP-PER-TASK PR, in combination with this mesos change.
Mesos is sending the IP addresses assigned by Docker in its TaskStatus messages, which Marathon receives and reports as the Task's IP. The getBackendServer() function in the IP-PER-TASK PR sort of assumes that if it sees an IP in the Marathon Task, that it must have been deliberately assigned, and is therefore the preferred IP to use for the Task. Ordinarily, this would be a legit assumption, but because of the Mesos change above it isn't.

BTW, if anybody else runs into this, the a workaround is to supply a custom Marathon template which references the host's IPs. This one should work.

A very related (possibly identical) issue has been discussed in #1243. We came up with the proposed solution to make the host part configurable.
Do you think that solution would work for you? If so, can we close this issue?

I don't know how I missed that issue, apologies for the dup. Yes, that solution works just fine for us.


POL-135-Updated Permission block

POL-135-Updated Permission block
Description
Unable to upload Azure Hybrid Use Benefit for Windows Server
Issues Resolved
Removed comma in the permission block
Contribution Check List

[ ] All tests pass.
[ ] New functionality includes testing.
[ ] New functionality has been documented in the README if applicable
[x] New functionality has been documented in CHANGELOG.MD

          1 Warning

:warning:
Should this include readme changes

  Generated by :no_entry_sign: Danger


Channels have no subscriptions when called from adonis-scheduler task

I've tried using adonis-websocket package with adonis-scheduler and when I tried getting channels subscriptions it showed none. But it was shown when called from HTTP contoller.
Here is an example code. Everything else is used as in chat example from docs.
https://gist.github.com/lukasrakauskas/9bd6cc1095943a80465e59b5761f0f0f

When you run your process using adonis-scheduler, how do you expect your clients to join channels?

Well I thought channels data was supposed to be the same application wide. My bad then.

It’s share application wide. But when you start 2 processes, then they are 2 different applications.

Closing since not actionable


[RESOLVED] Interface eth0(): High error rate (>2 for 5m)

Problem started at 12:30:29 on 2023.06.14
Problem name: Interface eth0(): High error rate (>2 for 5m)
Host: S100-Primario
Severity: Warning
Operational data: errors in: 2, errors out: 0
Original problem ID: 28663
Event details in Zabbix: http://<IP_ADDRESS>/tr_events.php?triggerid=23483&eventid=28663

Problem has been resolved in 9m 0s at 12:39:29 on 2023.06.14
Problem name: Interface eth0(): High error rate (>2 for 5m)
Host: S100-Primario
Severity: Warning
Original problem ID: 28663


fix init scenario test and remove its xfail mark

We do have one test marked with xfail because the feature went broken during the migration. Any PR to fix it would be highly appreciated and may send you to the top of the list of candidates for new maintainers.

I created a pull request @ https://github.com/ansible/molecule/pull/2417.
This needs to be applied first.


Git: Info for added and deleted files.

Report
Note: This issue was brought up here: https://github.com/danger/danger-js/issues/368
What did you do?
files = git.added_files + git.modified_files + git.deleted_files

xib_modified_line_count = 0
files.grep(/.*\.xib/).each do |file|
  info = git.info_for_file(file)
  xib_modified_line_count = xib_modified_line_count + info[:insertions] + info[:deletions]
end
message("xib line changes: #{xib_modified_line_count}.")

What did you expect to happen?
Properly receive info_for_file for added_files and deleted_files. Calling info_for_file on an added file would cause insertions to be the file's line count and deletions to be 0. Calling info_for_file on a deleted file would cause insertions to be 0 and deletions to be the file's line count.
What happened instead?
Received the following error, since info_for_file is returning nil for added_files and deleted_files.
Danger has errored
[!] Invalid Dangerfile file: undefined method [] for nil:NilClass. Updating the Danger gem might fix the issue. Your Danger version: 5.16.1, latest Danger version: 6.3.2

 #  from Dangerfile:14
 #  from Dangerfile:11
 #  -------------------------------------------
 #    info = git.info_for_file(file)
 >    xib_modified_line_count = xib_modified_line_count + info[:insertions] + info[:deletions]
 >    xib_modified_line_count = xib_modified_line_count + info[:insertions]
 #  end
 #  -------------------------------------------

Your Environment

Which CI are you running on?
BuddyBuild

Are you running the latest version of Danger?
No, running on 5.16.1.

What is your Dangerfile?
# Declare a PR to be simple to avoid specific Danger rules
declared_trivial = (github.pr_title + github.pr_body).include?("#trivial")
# Make it more obvious that a PR is a work in progress and shouldn't be merged yet
fail("PR is classed as Work in Progress") if github.pr_title.include?("[WIP]") || github.pr_labels.include?("WIP")

# Make sure the PR does not have too many lines modified, not including the project file or xib files

files = git.added_files + git.modified_files + git.deleted_files

xib_modified_line_count = 0
files.grep(/.*\.xib/).each do |file|
  info = git.info_for_file(file)
  xib_modified_line_count = xib_modified_line_count + info[:insertions] + info[:deletions]
end
message("xib line changes: #{xib_modified_line_count}.")

xcodeproj_modified_line_count = 0
files.grep(/.*\.xcodeproj/).each do |file|
  info = git.info_for_file(file)
  xcodeproj_modified_line_count = xcodeproj_modified_line_count + info[:insertions] + info[:deletions]
end
message("xcodeproj line changes: #{xcodeproj_modified_line_count}.")

modified_limit = 1000
modified_count = git.lines_of_code - xib_modified_line_count - xcodeproj_modified_line_count
fail("PR updated more than 1000 lines of code outside of the project file and xib files!") if modified_count > modified_limit

# Reports warnings from Swiftlint
swiftlint.lint_all_files = true
swiftlint.lint_files
fail("Warning count exceeds 10 warnings!") if swiftlint.warnings.count > 10

Yeah, that seems reasonable

This is in with 7.0.0!


Document undocumented text wrapping algorithms

Sometimes it is wanted to replicate behavior of a GUI controls in AGS, in how they wrap text.
(for instance you want to precalculate future text height and set label's height appropriately).
This is nowhere documented, and may require research in the engine code.
Something I remember:

GUI labels add 1 pixel to the regular font's line spacing value.
See this: https://www.adventuregamestudio.co.uk/forums/index.php?topic=54501.0
GetTextHeight bug: https://www.adventuregamestudio.co.uk/forums/index.php?topic=36567

Mentioned GetTextHeight mistake in its article.


saving the datagram size in the session tickets breaks 0-RTT tests

After merging #4013, the 0-RTT datagram integration test takes 30s. The test still passes, but clearly there's something going wrong there.
I haven't debugged this, but this looks very much like we're running into a connection timeout somewhere.
@tanghaowillow, could you help debug and fix this?

@marten-seemann  OK, I'll have a look at this.


Toggles working in real time (on and off) immediately without a page reload

for example, toggling the enabled switch to the "on" position will hide the relevant brands, and toggling it the "off" position will show the ads that have been hidden without a page reload
working:

enabled
filter sidebar (grey and hide)
filter bypass (just calls the checkBrandFilter function)
debug mode

ensure that the MutationObserver is always executed within the content script IIFE, and that the return statements happen within the observer callback rather than within the IIFE
simplify some of the logic for the filterRefiner function (yellow colour no longer used, now only red but code readability is much better)
removed some of the logs cluttering the console

@chris-mosley i've made the above changes which should make the addon/extension more user-friendly. when you have time feel free to test and let me know if you like the proposed changes or see any problems or potential issues. the changes don't support the "personal block list", toggle but this could be added as part of a future update.


AZ CLI command "az container exec" creates a websocket connection via port 19390 for container instances in a virtual network

I've tested this in our environment and the command in the example, az container exec --resource-group  --name  --exec-command "/bin/bash", tries to open a websocket connection to an azure server on port 19390.  The same happens if you try to connect from the Container Instances (ACI) blade in a web browser.  This is not listed on this page or the Azure CLI Reference docs.
Here is part of the debug out from the az command above showing that the API responds with a websocket URI to connect to on port 19390:
cli.azure.cli.core.sdk.policies: Response content:
cli.azure.cli.core.sdk.policies: {"webSocketUri":"wss://sbzjue4qvgzliyl.eastus.atlas.cloudapp.azure.com:19390/execstream/sessionId/
I did find a small note on this page about Virtual Networking in container instances under Other Limitations (https://learn.microsoft.com/en-us/azure/container-instances/container-instances-virtual-network-concepts#other-limitations):

Outbound connections to port 25 and 19390 are not supported at this time. Port 19390 needs to be opened in your Firewall for connecting to ACI from Azure portal when container groups are deployed in virtual networks.

It would be helpful to include this information on the page I opened this issue for (https://learn.microsoft.com/en-us/azure/container-instances/container-instances-exec) as well as the Azure CLI Reference page for the az container exec command (https://learn.microsoft.com/en-us/cli/azure/container?view=azure-cli-latest#az-container-exec).

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

ID: 227e2c2f-2305-38fc-16db-1f9a760e4caf
Version Independent ID: fc6d1fd0-3918-1822-751d-92f17b78952b
Content: Execute commands in running container instance - Azure Container Instances
Content Source: articles/container-instances/container-instances-exec.md
Service: container-instances
GitHub Login: @tomvcassidy
Microsoft Alias: tomcassidy

Hi @trogers-gfcu the command az container exec --resource-group --name --exec-command "/bin/bash" tries to open a websocket connection to an Azure server on port 19390. Outbound connections to port 19390 are not supported at this time. This information is also mentioned under Other Limitations in the Virtual Networking in container instances.
Further you can leverage question [Teams Q&A forum] (https://docs.microsoft.com/en-us/answers/topics/46488/office-teams-windows-itpro.html) for technical questions about the configuration and administration of Microsoft Teams on Windows.
[Microsoft Teams Community forum] (https://answers.microsoft.com/en-us/msteams/forum?sort=LastReplyDate&dir=Desc&tab=All&status=all&mod=&modAge=&advFil=&postedAfter=&postedBefore=&threadType=All&isFilterExpanded=false&page=1

@trogers-gfcu
We are going to close this thread as resolved but if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.

@SaibabaBalapur-MSFT
The issue isn't with the outbound connection on port 19390.  The issue is that the documentation for the command az container exec doesn't specify that it creates a websocket connection to the Azure container on that port.  Our firewall was blocking that port and the command was failing until I opened the port.  It would be helpful to update the documentation on these pages, (https://learn.microsoft.com/en-us/azure/container-instances/container-instances-exec) &(https://learn.microsoft.com/en-us/cli/azure/container?view=azure-cli-latest#az-container-exec), so that others running a container in a virtual network will know that they may need to open firewall ports in their network.


Proposal for allowing unsigned request

This is a quick way of allowing unsigned requests.
Setting up a new machine with the updated validation, I was able to send an unsigned request via jsradicle. The missing :author is just shown as ???. If the request is limited to admins or a specific author, the validations fail as expected.
The current implementation has no "nice" validation failure message if there is no signature and the author is not :browser. The change automatically applies to all machines. It could be separated out to allow unsigned requests only in specific places.
Unsigned commands can be tested with SendUnsignedCommand from https://gist.github.com/MeBrei/1b998ac354b19ed7465903cb3df21e13

To test replace run of jsradicle with:
const run = async () => {
  var machine = <issue-machine-id>
  var machineId = "monadic/radicle/issue"
  var payload = {":labels": [], ":comments": [], ":state": ":open", ":body": "testing", ":title": "title testing", ":created-at": "2019-04-26T08:18:48Z", ":modified-at": "2019-04-26T08:18:48Z"};

  var res = sendUnsignedCommand(machine, machineId, "anonymous-create-issue", bla);
  res.then(function (response) {
    console.log(response);
  })
  .catch(function (error) {
    console.log(error);
  });
}


Update EU_Policies with latest changes from master

Manually updating the EU_Policies branch from master branch

Same conflicts as https://github.com/flexera-public/policy_templates/pull/1062 .. closing this in favor of existing PR #1062


Love the Connector, Follow Up Question

Hi, again I wanna say thank you for your work,
I wanted to see if you're going to add non-USDC function to GMX please?
I also wrote to your email at j-----t------@--------- if you'd like to speak there.
Thank you again!

hey!
yes, I'm going to add non-USDC soon, ideally by the end of this month.
appreciate your comment and feedback!


Cannot parbreak after an image/equation

Description
Am I missing something about how parbreaks work? It looks like it's impossible to end a paragraph using an equation or image, even when using parbreak, unless there's some kind of text inserted after.
Minimal example:
#set page(width: 6in, height: auto)
#set par(first-line-indent: 1cm)

#lorem(20)

#lorem(20) // this paragraph has an indent
#align(center, image("image.png", width: 35%))
#parbreak()

#lorem(20) // this one doesn't
$ a^2 + b^2 = c^2 $
#parbreak()

#lorem(20) // neither does this one

Reproduction URL
No response
Operating system
Linux
Typst version

[X] I am using the latest version of Typst

You don't have to insert explicit parbreak() calls if all you want is to create new paragraphs (for that, just insert an empty line). With that said, the current paragraph indentation algorithms will only indent consecutive paragraphs of text, so adding something with a block-like (i.e., non-inline) display - which is almost any element in Typst, other than those related to text markup, such as strong - will (in my understanding) cause Typst to understand you broke the paragraph flow and thus not indent the next paragraph (as that'd be the "first" paragraph). Possible solutions here include:

Manually re-indenting the following paragraph, e.g. by writing #h(1em) (replacing 1em by your actual paragraph indentation) before its first word.
Wrapping the block-like content which is breaking the two paragraph sequences apart inside a box, thus forcing it to become an inline element (even if not visually, with the appropriate settings). Using a box with a width of 100% should allow you to simulate block-like display of elements recognized as inline (since box is always considered inline).

For instance, in your case, both solutions are presented below (I replaced your image with a rectangle to make the example more portable):
#set page(width: 6in, height: auto)
#set par(first-line-indent: 1cm)

#lorem(20)

#lorem(20) // this paragraph has an indent
#box(width: 100%, align(center, rect(width: 32pt, height: 32pt, fill: red)))

#lorem(20) // this one doesn't
$ a^2 + b^2 = c^2 $

#h(1cm) #lorem(20) // neither does this one

The above produces:

Duplicate of https://github.com/typst/typst/issues/311


x/website: changes in code not highlighted in grettings-multiple-people tutorial

What did you expect to see?
On the site https://golang.org/doc/tutorial/greetings-multiple-people Step 2  in the code block:
// Request greeting messages for the names.
    messages, err := greetings.Hellos(names)

I think the font color should be blue, because this part changed from "Hello" to  "Hellos".
What did you see instead?
Font color is black.

I think this is right, unless I'm misunderstanding the tutorial.
CC @dmitshur

I agree, this can be improved. There's already CL 311329 that was sent earlier that should address this issue. It just needs to be reviewed.

Closing as obsolete, golang.org has been merged into go.dev.

@jamalc But the issue still exists on go.dev. Newbies seem to find it confusing enough that they create a new issue every couple of weeks.

Reopening since the issue is still there, just in a different location https://go.dev/doc/tutorial/greetings-multiple-people

I'll take a look at the CLs.


Does this work getting receipts for a  full paid app purchase? Not an in-app purchase, a purchase of the actual app?

Hi I'm converting a paid app to a subscription app (which will be released as an update not as a new app) and need to verify which users have previously paid for the app. Can this library do this? There is nothing to say so in the documentation as far as I can see? Also, how can this be tested if so before release?

Hi @mobile-appz, thanks for bringing this up. Unfortunately, the library doesn't provide a single method for such a case. Nevertheless, you can still achieve this using this library. To determine whether a user has previously purchased an app or not, you simply need to read the local receipt and retrieve the original app version. If the version is lower than the latest one (with a subscription), then it means the user has purchased the app before:
do {
  let receipt = try InAppReceipt.localReceipt()
  let originalAppVersion = receipt.originalAppVersion

  let currentVersion = ...

  if originalAppVersion < currentVersion {
    // User paid for the app
  }
} catch {
  print(error)
}

app
}

Thank you very much, that's good news and extremely helpful.

Thank you very much, that's good news and extremely helpful.


Add Snackbar

[ ] PR has tests / docs demo, and is linted.
[ ] Commit and PR titles begin with [ComponentName], and are in imperative form: "[Component] Fix leaky abstraction".
[ ] Description explains the issue / use-case resolved, and auto-closes the related issue(s) (http://tr.im/vFqem).

@oliviertassinari  This is a bare bones version of Snackbar with demos and docs. I erased a lot of things that I wrote. I wanted to know how can I have props to override styles defined in the stylesheet? I would appreciate your feedback so that I can get this Snackbar complete and merged.

hi,
I saw this request come through. I had been working on a new Snackbar based on the next branch.
Though, I wanted it to include a bit more functionality than defined in the specs.
For example,

more flexible positioning,
more control over transition direction
use different transitions,
ability to have custom content if needed or multiple actions

It's demo page can be viewed at:
https://next-snackbar.firebaseapp.com/#/component-demos/snackbars
my branch:
https://github.com/josulliv101/material-ui/blob/snackbar/src/Snackbar/Snackbar.js
If this is close to what is needed, I'd be happy to contribute, as well as add tests.
btw -- I ran into a issue which affected safari/desktop & safari/chrome/iphone/ipad -- basically, the issue was on scrolling pages, the display of the snackbar would change scroll position (i think this is an issue for dialogs too). Setting initial snackbar visibility to 'hidden' is temporary fix for it, though ugly.

@josulliv101 This is so beautiful

@josulliv101 Thanks for sharing that implementation!

I ran into a issue which affected safari/desktop & safari/chrome/iphone/ipad -- basically, the issue was on scrolling pages

That's also an issue on the browser where we can't scroll. I think that @Shahrukh-Zindani implementation with the ClickAwayListener should address the issue.
It would be awesome if you could join forces. My only concern would be with the component structure 🙇.

@oliviertassinari The open close logic of snackbar and autohide timer are so closely connected that I am having a hard time separating concerns. I think if we can have @josulliv101 implementation to have a structure that you defined above. Also do we want an entire separate component for Snackbar with an action button?

The open close logic of snackbar and autohide timer are so closely connected that I am having a hard time separating concerns.

Oops, I don't remember suggesting separating the concerns (aside from the stateless pattern). What's the issue?

Also do we want an entire separate component for Snackbar with an action button?

I would expect adding an action property be enough to handle the action button. What do you think?

Okay I think I misunderstood your previous comment about separating concerns. About action property exposing prop would be enough. My only concern is that the specs recommend a padding of 24px on the right and left. If we have a Flat Button as an action element in the snackbar, the text inside the button moves a little more to the left as it is in the middle of the button. If we have a plain text as action element, it looks fine. This thing will cause the user to always make adjustments to style action to adjust color and padding. Because of above reasons I want action to be a Flat Button in the library otherwise the user will have to do some styling to get a simple action Snackbar running.

My only concern is that the specs recommend a padding of 24px on the right and left.

What's preventing the component to handle that style for users?

I will show you some screen shots to explain my point.
In all the scenarios, I have a padding of 24px.
The problem is when I want to use different elements as action.
Scenario 1.
Use simple text as Action.
.
Looks good but the action has to be clickable and the purpose of the action prop should be to trigger an event. In this case, the user will have to make the div clickable which is not recommended and ugly.
Scenario 2.

If the user inserts a Flat Button in action, it will be look off from specs. As the label of the Button is in the middle of the button making the padding look like greater than it is.
## Scenario 3

This is how most of the users will end up using snackbar where they want to insert FlatButton inside of the Snackbar but they will have to give the color of the component and marginRight of -26 or an alternative to make it look good.
What I am proposing is that we make FlatButton the defualt action in the library, it will save users from a lot of heavy lifting. It will be according to the material design specs too. I am not against customization but at the same time do not want users to alienate the users by making them do the heavy lifting.

@Shahrukh-Zindani I handled this by cloning the passed in button and than adding some custom classes to control the padding of the button. I copied this approach from the Dialog Actions component. here's mine - https://github.com/callemall/material-ui/blob/v1.0.0-alpha.7/src/Dialog/DialogActions.js

@Shahrukh-Zindani, @josulliv101, @oliviertassinari I think first we need to agree which of the two implementations we use as a basis for this component, restructuring it & pulling in code from the other as needed. I haven't been close to this implementation, so I will let you all duke it out (*ducks)!

I'm ok moving forward with the @Shahrukh-Zindani implementation. My version has a lot of functionality not required by the spec and so most likely is a bit larger in file size.

@josulliv101 I think a lot of your added features are very cool and I think it would be nice to have some of them in addition to the features laid out by the specs. We just need to have that in the the structure next branch is following. Also it would be nice to have a basic version of Snackbar merged before we add more features so that the PR review process is easier.

Speaking of specs, it would be great to achieve all of these layouts:

We never quite got there on master, despite a couple of PRs that tried.

Agreed. Getting something approved and building on it is a good approach.

I have a slightly different view, in that it is much easier for the original developers to complete something (where by "complete" I mean finish all the main requirements in terms of visual spec, function & testing) than it is for someone else to pick it up later and try to relearn the code and complete it.
I only mention this because we have a number of components on next that are in that "core" state (admittedly some of which were only intended as placeholders to get the project up and running), but the very existence of which makes them easier to ignore, and harder to progress.
I don't think the code has to be committed to next to have a base to build on; git & github provide other tools for that.
Just my humble opinion!

@Shahrukh-Zindani @josulliv101 I hope my last comment didn't derail progress this. Do what you think best. :+1:

I had thought we were moving forward with the @Shahrukh-Zindani implementation? If not, happy to contribute.
I updated my implementation to include:

Structure changes that @oliviertassinari  suggested -- State, Positioning & UI
Pausing the auto-hide functionality on hover;
The mobile design spec that @mbrookes mentioned earlier (3rd case in his pic is not accommodated for yet)

Some points to mention:

For the Snackbar state HOC, I used recompose. I didn't see other components making similar use of it though. If you want me to update my state HOC to be more consistent with how other components are doing state, please point me to a good example component.

In order for my implementation's css transitions to work smoothly, there needs to be a small tweak to the 'getTranslateValue' function of Transition:Slide. I put in a separate PR for this: #6454

@josulliv101 This PR has been still for 20 days and you seems to have made great progress! I think that we can move forward with your implementation. @Shahrukh-Zindani Is that OK with you?

For the Snackbar state HOC, I used recompose

I have been using recompose quite extensively, I haven't seen your code, but that sounds fine to me.

there needs to be a small tweak to the 'getTranslateValue' function of Transition:Slide

I couldn't find the time to look into that. The change doesn't seem obvious.

Has this come up before/any preference on how to handle?

I haven't seen that issue before. I would love to see that in action.

@oliviertassinari Yes I am okay with it. I have got busy with other projects and might not be able to complete this any time soon.

@josulliv101 Please could you submit a PR for your version and we'll close this one. @Shahrukh-Zindani's code will still be useful to borrow from (e.g.  for the  ClickAwayListener. integration.)
@Shahrukh-Zindani Thanks for your efforts!

@mbrookes  You are right. A lot my code can be borrowed actually.

@josulliv101 Any update on the Snackbar component migration? Do you need any help? I think that it would be good to submit a PR here so we can start giving feedback. Thanks!

I'm closing that PR as has been inactive for quite some time. I have added a link toward that great effort on the original migration issue: #6269. Thanks for pushing it forward!


Collection was modified; enumeration operation may not execute. (iOS)

I just started to use  cloud based analytics services for my apps and since the release yesterday I already got ~300 reports with this error (from 9500 active users since than):
ThrowHelper.ThrowInvalidOperationException (System.ExceptionResource resource)
List`1+Enumerator[T].MoveNextRare ()
List`1+Enumerator[T].MoveNext ()
System.Collections.Generic.List`1[T]..ctor (System.Collections.Generic.IEnumerable`1[T] collection) <0x10125db30 + 0x00287> in :0
Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source)
VisibleFeatureIterator.IterateLayer (Mapsui.IViewport viewport, Mapsui.Layers.ILayer layer, System.Action`3[T1,T2,T3] callback)
VisibleFeatureIterator.IterateLayers (Mapsui.IViewport viewport, System.Collections.Generic.IEnumerable`1[T] layers, System.Action`3[T1,T2,T3] callback)
MapRenderer.Render (SkiaSharp.SKCanvas canvas, Mapsui.IViewport viewport, System.Collections.Generic.IEnumerable`1[T] layers)
MapRenderer.Render (SkiaSharp.SKCanvas canvas, Mapsui.IViewport viewport, System.Collections.Generic.IEnumerable`1[T] layers, System.Collections.Generic.IEnumerable`1[T] widgets, Mapsui.Styles.Color background)
MapRenderer.Render (System.Object target, Mapsui.IViewport viewport, System.Collections.Generic.IEnumerable`1[T] layers, System.Collections.Generic.IEnumerable`1[T] widgets, Mapsui.Styles.Color background)
MapControl.OnPaintSurface (System.Object sender, SkiaSharp.Views.iOS.SKPaintGLSurfaceEventArgs skPaintSurfaceEventArgs)
SKGLView.DrawInSurface (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTargetDesc renderTarget)
SKGLView.DrawInRect (GLKit.GLKView view, CoreGraphics.CGRect rect)
(wrapper managed-to-native) UIKit.UIApplication:UIApplicationMain (int,string[],intptr,intptr)
UIApplication.Main (System.String[] args, System.IntPtr principal, System.IntPtr delegate)
UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName)
Application.Main (System.String[] args)

Not sure if this happens in Mapsui or in SkiaSharp. Currently I wait that the symbol files are processed by the AppCenter to get more details (hopefully).

Yes, It is a minor breaking change. There are many possible breaking changes that will hardly be noticed by anyone.

Seems to be fixed since 1.3.2-beta2. At least I got no reports anymore about this crash.

great

I am using 1.4.7 and the: "Collection was modified; enumeration operation may not execute."
Is thrown after few seconds of using my app.
This is the stack trace:
System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.Collections.Generic.List1+Enumerator[T].MoveNextRare () [0x00013] in /Library/Frameworks/Xamarin.iOS.framework/Versions/<IP_ADDRESS>/src/Xamarin.iOS/mcs/class/referencesource/mscorlib/system/collections/generic/list.cs:1186   at System.Collections.Generic.List1+Enumerator[T].MoveNext () [0x0004a] in /Library/Frameworks/Xamarin.iOS.framework/Versions/<IP_ADDRESS>/src/Xamarin.iOS/mcs/class/referencesource/mscorlib/system/collections/generic/list.cs:1180
at System.Linq.Enumerable+SelectEnumerableIterator2[TSource,TResult].ToList () [0x0002d] in /Library/Frameworks/Xamarin.iOS.framework/Versions/<IP_ADDRESS>/src/Xamarin.iOS/external/corefx/src/System.Linq/src/System/Linq/Select.cs:161   at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable1[T] source) [0x0000e] in /Library/Frameworks/Xamarin.iOS.framework/Versions/<IP_ADDRESS>/src/Xamarin.iOS/external/corefx/src/System.Linq/src/System/Linq/ToCollection.cs:30
at Mapsui.Rendering.Skia.MapRenderer.Render (System.Object target, Mapsui.IViewport viewport, System.Collections.Generic.IEnumerable1[T] layers, System.Collections.Generic.IEnumerable1[T] widgets, Mapsui.Styles.Color background) [0x00025] in <80b75f592c3148dcb5b35a389ab77fe0>:0
at Mapsui.UI.iOS.MapControl.OnPaintSurface (System.Object sender, SkiaSharp.Views.iOS.SKPaintSurfaceEventArgs args) [0x00072] in :0
at SkiaSharp.Views.iOS.SKCanvasView.DrawInSurface (SkiaSharp.SKSurface surface, SkiaSharp.SKImageInfo info) [0x00013] in :0
at SkiaSharp.Views.iOS.SKCanvasView.Draw (CoreGraphics.CGRect rect) [0x00048] in :0
at at (wrapper managed-to-native) UIKit.UIApplication.UIApplicationMain(int,string[],intptr,intptr)
at UIKit.UIApplication.Main (System.String[] args, System.IntPtr principal, System.IntPtr delegate) [0x00005] in /Library/Frameworks/Xamarin.iOS.framework/Versions/<IP_ADDRESS>/src/Xamarin.iOS/UIKit/UIApplication.cs:79
at UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x0002c] in /Library/Frameworks/Xamarin.iOS.framework/Versions/<IP_ADDRESS>/src/Xamarin.iOS/UIKit/UIApplication.cs:63
at app_test_01.iOS.Application.Main (System.String[] args) [0x00001] in /tmp/Projekt-Code/app_test_01/app_test_01.iOS/Main.cs:17
I suppose, this is because I do this 24 times in the second:
var planeLayer = mapControl.NativeMap.Layers[3];
mapControl.NativeMap.Layers.Remove(planeLayer);
planeLayer = null;
planeLayer = GeneratePlane();
mapControl.NativeMap.Layers.Add(planeLayer);
I do not like it but I did not figure out how to move a point on the map (moving plane).

I tried several things like try/catch and lock, but still no luck. I suppose this part of the code, which is called every second is causing the issue:
mapControl.NativeMap.Layers.Remove(mapControl.NativeMap.Layers[4]); mapControl.NativeMap.Layers.Remove(mapControl.NativeMap.Layers[3]); mapControl.NativeMap.Layers.Remove(mapControl.NativeMap.Layers[2]); mapControl.NativeMap.Layers.Insert(2, GenerateWPLayer()); mapControl.NativeMap.Layers.Insert(3, CreateLineStringLayer()); mapControl.NativeMap.Layers.Insert(4, GeneratePlane());
Any idea how to achieve the modification of the layer without hitting the issue?

It's hard to suggest anything, if you don't say, what your layers do and what you change every second.

All three layers has:
DataSource = new MemoryProvider()
The first one is drawing points (in my case way points)
var point = new Point(WayPoints[j].Lat, WayPoints[j].Lon);  var sphericalMercatorCoordinate = SphericalMercator.FromLonLat(point.Y, point.X); var feature = new Feature {    Geometry = sphericalMercatorCoordinate }; features.Add(feature);
The second layer is connecting the points:
var point = new Point(WayPoints[j].Lat, WayPoints[j].Lon); var sphericalMercatorCoordinate = SphericalMercator.FromLonLat(point.Y, point.X); lineString.Vertices.Add(sphericalMercatorCoordinate);
And the third one is using a png file as SymbolStyle to draw a symbol on the map.
What I would like to achieve to redraw all three layers because the position of the symbol on the map changes, the way points including the connecting lines should be removed as soon as a point has been reached.
Because I do not know any other way of adjusting the features included in a layer, I am removing the layers and creating them from scratch. I suppose this is where some kind of race condition occurs.

For this, you don't have to delete the Layer. It's time consuming and you get in trouble, as you see ;).
A better way to do this, is to change the Features property of your MemoryProvider. Use for this
public void ReplaceFeatures(IEnumerable<IFeature> features)

of MemoryProvider. So save your way points into a List and adjust this list. If something changes, replace the list of features of the MemoryProvider with your list. Perhaps you have to refresh the MapControl. That's all. The same for the lines.
The single symbol is much easier. You only save the Feature you use for the symbol and when the position of the symbol should change, update the Geometry of the Feature. Refresh map. That's it.

This is what I actually wanted to do but failed at the "DataSource" attribute.
private ILayer GenerateWPLayer()         {             var layername = "ElaWaypoints";             return new Layer(layername)             {                 Name = layername,                 DataSource = new MemoryProvider(GetElaWayPoints()),                 Style = new SymbolStyle                 {                     SymbolScale = 0.5,                     Fill = new Brush(Color.Black),                     Outline = { Color = Color.Black, Width = 1 }                 }             };         }
If I now use e.g. mapControl.NativeMap.Layers[4]. I can access the Name and Style attribute but there is no DataSource presented by the Visual Studio. I suppose, I need to use GetFeaturesInView somehow. Do you have any code examples for me? That would be very helpful. I have another very stupid question, how do you refresh the map the easiest way?

mapControl.NativeMap.Layers is of type ICollection. So you have to use
(Layer)(mapControl.NativeMap.Layers[4]).DataSource.MemoryProvider

That should do the trick.
A sample is here. It is slightly different from what I suggest.
Another sample (see here shows the use of an own MemoryProvider. MemoryProvider derives from IProvider. The only thing, you have to do, is to implement the functions
IEnumerable<IFeature> GetFeaturesInView(BoundingBox box, double resolution);

and
BoundingBox GetExtents();

That's very easy. The first returns a list of alle features in the BoundingBox, the seconds returns the area, which your features cover. With this, you could return each time the map changes, all features you want to show. The only you have to do, is to update the MapControl every minute. Mapsui than asks your provider for all feature, which should be displayed on map.

Ah, easiest way to refresh map (see here )
mapControl.Refresh();

Thank you very much for your help. The first example looks very promising, this is exactly what I was looking for. I will give it a try over next weekend.
The Refresh() is still not clear.
My mapControl class is:
`
public class MapsUIView : Xamarin.Forms.View
{
public Mapsui.Map NativeMap { get; }
    protected internal MapsUIView()
    {
        NativeMap = MbTilesSample.CreateMap();
        NativeMap.BackColor = Mapsui.Styles.Color.Gray; //This Color should match the map
    }
}

`
I suppose I need to cast here:
mapControl = (Mapsui.UI.IMapControl)new MapsUIView();
I need to test this, too.
Many thanks again.

This is more complicated than I thought, at least for me. The part with updating the Geometry seems to be relatively straight forward but the refreshing is an issue.

To use the map as a xamarin view, my class inherits from Xamarin.Forms.View, that means, I cannot inherit from MapControl ergo, no Refresh() method. I could implement the Interface but after I checked the implementation in MapsUI, it does not looks that easy for a beginner.

layer.RefreshData(layer.Envelope, 1, true); does not work, there is no RefreshData() in MemoryLayer, in my MapsUI 1.4.7.

Got it:
layer.ViewChanged(true, layer.Envelope, 1);

You could do it with messages. Look into the code of my old Mapsui.Forms implementation here. I create a message in the MapView and that message is received by the renderer, which calls the refresh of the MapControl.

It looks like I managed to implement charlenni's ideas.
layer.DataSource = new MemoryProvider(MyFeatureProvider()); layer.ClearCache(); layer.ViewChanged(true, layer.Envelope, 1);
works for me.
Many thanks again.