GestureDetector not respond for Deeper Level Nodes

GestureDetector gets overridden by parent ‘regions’.
I set ...
void main() {
debugPaintSizeEnabled = true;
Attached 2 screenshots of  MindMap nodes.
I have about 75 nodes in my T.O.C. at moment.
Deeper nodes do NOT react to onTap() for GestureDetector.
Am trying to understand HOW/WHY parent ‘region’ overrides child region.
That is, HOW to get Deeper Nodes to respond to GestureDetector events.
Any clues/suggestions?!?

Dear rvboyd !
This package was created to solve the basic problem and is limited to 20
nodes. We do not have any tests for more complex cases.
And unfortunately, due to the IT industry crisis, the funding for these
opensource projects has been closed.
So now we no longer support debugging and developing this library. You can
search for a similar library, or wait for a Pull Request from the
community, or you have to pay a fee as a funding to maintain the motivation
for the development team.
Thanks!
On Sat, Aug 3, 2024 at 7:03 AM rvboyd @.***> wrote:

GestureDetector gets overridden by parent ‘regions’.
I set ...
void main() {
debugPaintSizeEnabled = true;
Attached 2 screenshots of MindMap nodes.
I have about 75 nodes in my T.O.C. at moment.
Deeper nodes do NOT react to onTap() for GestureDetector.
Am trying to understand HOW/WHY parent ‘region’ overrides child region.
That is, HOW to get Deeper Nodes to respond to GestureDetector events.
Any clues/suggestions?!?
flame_6.png (view on web)
https://github.com/user-attachments/assets/6db1ed65-76c4-48b1-b65f-acec27ed110b
flame_7.png (view on web)
https://github.com/user-attachments/assets/141e5934-8a23-4b2a-8e57-3bd9ac335091
—
Reply to this email directly, view it on GitHub
https://github.com/BrianTV98/mind_map/issues/6, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALWXJFHIOAN24PAIAW2CZ63ZPQM6XAVCNFSM6AAAAABL5L6KF6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGQ2DKOBZHA4DKNA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

--
TRẦN VĂN HIẾU
Tel/Zalo:<PHONE_NUMBER>
Skype: @.** @.**>

Edit   mind_map.dart   file as per following ...
// size = Size(calculatorMaxWidth, height);
size = Size(calculatorMaxWidth + componentWith, height);
}
Needed to add Width of Parent Node ...  componentWith  in above.
Note TYPO ...
componentWith

should be ...
componentWidth

Thanks.  🙂
/richard boyd

Added more nodes (100+) ... problem came back.
New 'Fix'.
this.componentWith = 50,
calculatorMaxWidth =  widthChildItem;
size = Size(calculatorMaxWidth + 100, height);

/richard boyd

Dear rvBoyd.
Thanks for your efforts.
Due to an accident, I lost my github passkey and no longer have the right
to update the code with the owner account.
According to github's instructions, we will move the repository to another
account.
You can recreate the issue, discuss it here, we will consider the merge
request, or support you to see more about the operations of this package.
https://github.com/BrianTran24/mind_map
On Sat, Sep 7, 2024 at 12:10 PM rvboyd @.***> wrote:

Added more nodes (100+) ... problem came back.
New 'Fix'.
this.componentWith = 50,
calculatorMaxWidth = widthChildItem;
size = Size(calculatorMaxWidth + 100, height);
image.png (view on web)
https://github.com/user-attachments/assets/04ad4c79-1cff-473b-b51f-a06dcb460052
image.png (view on web)
https://github.com/user-attachments/assets/19227a86-10b9-47b2-886b-c608c3c055b2
image.png (view on web)
https://github.com/user-attachments/assets/267fd412-641e-4938-8b50-3b9954161619
image.png (view on web)
https://github.com/user-attachments/assets/2e3d72fd-fdca-481d-8414-18705656264f
/richard boyd
—
Reply to this email directly, view it on GitHub
https://github.com/BrianTV98/mind_map/issues/6#issuecomment-2335046156,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALWXJFBRCN5WPQ7HYSZNXNLZVKDE3AVCNFSM6AAAAABL5L6KF6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZVGA2DMMJVGY
.
You are receiving this because you commented.Message ID:
@.***>

--
TRẦN VĂN HIẾU
Tel/Zalo:<PHONE_NUMBER>
Skype: @.** @.**>

@BrianTV98  Hey there!
I’m really interested in expanding on this package, especially with features like retracting and expanding nodes when tapping on them (dynamic rendering). It would be super helpful if you could post the new repo that you migrated to in the original repo. This way, everyone can see that the project is still alive and maintained. I had to dig through the comments in the issue section to find this information.
Thanks a lot for your hard work and dedication!

"Sorry" ... I do not use GitHub that much.
I "tried" to create a "patch" ... but not update the MAIN file.
I "thunk" that I updated the mind_map.dart file ... but not sure if I did it correctly.
Tried 2nd time.
Maybe I should read the GitHub docs. :-(
Edit (near) line #105 ...
size = Size(calculatorMaxWidth + 100, height);
Added 100 pixels to calculatorMaxWidth in order to expand GestureDetector area.
Deeper Nodes were not responding to MouseRegion "click" when number of nodes were extended to over 100.
Here is weblink  that worked for me ...
https://github.com/rvboyd/mind_map/compare/main...rvboyd-patch-2

@studtler Hi. This package moved to .Packages on pubdev will be linked to this repo

@rvboyd Please move your issue  to more new repo mindmap to support

@rvboyd I've examined the issue you brought up. The addition of sizeWith += 100 seems to be an ad-hoc solution without a clear rationale. However, I will also update it immediately in 1.0.4 as a temporary solution to fix the issue."


chore: project added motivational quote

Related Issue
#1527

Description
It displays a new page with a visually engaging background image of nature and displaying motivational quotes. This helps to create a more pleasant and inspiring environment for users when they open a new tab.

Screenshots

Checklist for projects addition

[x] My project has contribution guidelines.
[x] My project has a Code of Conduct.
[x] My project has a README file.
[x] My project has a License.

Please note that if your project doesn't meet these requirements, your PR may be closed. Make sure to include these elements in your project before submitting the PR.

Please review my PR request


URI::InvalidURIError: bad URI(is not URI?)

I'm following this article, but I can't make capybara discoball work. I get this error:
Failure/Error: HTTParty.get(self.class.base_url + "/API/V1/programms", format: :json)

URI::InvalidURIError:
  bad URI(is not URI?): <IP_ADDRESS>:49552/API/V1/programs

Does self.class.base_url include a protocol, like http://? If not, you'll need to prepend to the URL string. This might be a mistake in the article.

You're right, my bad. And you're also right, the article on Thoughbot'blog should be corrected.


SHAP AttributeError: 'Tensor' object has no attribute 'copy'

Good evening from Brazil.
My name is Raphael, I´m undergraduate student from PUC-Rio and I´m trying to use SHAPLEY on a academic work but I´m having a problem when i try to load a dataset from google drive (I am using google colab).
I am getting the following message:
shap.image_plot for an XAI problem but i´m getting the following problem:
/usr/local/lib/python3.7/dist-packages/shap/maskers/_image.py in inpaint(self, x, mask, method) 100 reshaped_mask = mask.reshape(self.input_shape).astype(np.uint8).max(2) 101 if reshaped_mask.sum() == np.prod(self.input_shape[:-1]): --> 102 out = x.reshape(self.input_shape).copy() 103 out[:] = out.mean((0, 1)) 104 return out.flatten()
AttributeError: 'Tensor' object has no attribute 'copy'
SHAP issue.txt
the problem is on a line close to the end of the code: shap_values = explainer(test_images[1:3], max_evals=500, batch_size=50, outputs=shap.Explanation.argsort.flip[:1] )

Hi,
Could you please share with us the dataset so we can reproduce the reported bug?
Regards,
Hugo

Sorry for the late answer!
The folder containing google drive files is the following.
https://drive.google.com/drive/folders/16mo7Tqnkb9RbBF8_XWJFlMWyeMWHPsRp?usp=sharing
Best regards!
Enviado do Email para Windows 10
De: Hugo DEFOIS
Enviado:segunda-feira, 28 de junho de 2021 06:24
Para: slundberg/shap
Cc:Raphael de Souza e Almeida; Author
Assunto: Re: [slundberg/shap] SHAP AttributeError: 'Tensor' object has no attribute 'copy' (#2057)
Hi,
Could you please share with us the dataset so we can reproduce the reported bug?
Regards,
Hugo
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

The new information still cannot help to reproduce the reported bug, since we don't have the imports you did, or the Dataset class definition.

Sorry for the low data, I will send the link for the complete work.There you will find:
Link:
https://drive.google.com/drive/folders/1vvoSQyIEgH84PYanvwy3dfmrZvvF9Qgu?usp=sharing
Folders:
• Colab Notebooks: there is a file, “Trabalho INF2420.ipynb”, that is the colab that i was findin the error, but i made some changes and I think i might solve the issue, but i needed to change some code to do that. As I pretend to use SHAP on my Thesis (diferent work, but still using computer vision) could you please confirm that what I made was correct?
• Data: holds the dataset used. The folder “Explainable” I used on SHAP, the folders “COVID” and “non-COVID” I used to train the Neural Network.
Once again thank you for your help! It is really important  to me as I’m new on this area.
Best regards!
Raphael
Enviado do Email para Windows 10
De: Hugo DEFOIS
Enviado:quinta-feira, 1 de julho de 2021 06:46
Para: slundberg/shap
Cc:Raphael de Souza e Almeida; Author
Assunto: Re: [slundberg/shap] SHAP AttributeError: 'Tensor' object has no attribute 'copy' (#2057)
The new information still cannot help to reproduce the reported bug, since we don't have the imports you did, or the Dataset class definition.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.


Upgrade uglifier to version 4.0.1

Libraries.io has found that there is a newer version of uglifier that this project depends on.
More info: https://libraries.io/rubygems/uglifier/4.0.1

https://github.com/24pullrequests/24pullrequests/pull/2122


convert-video when called by cron fails with  Does Not Exist

I have written a script that calls on the convert-video utility and have it scheduled via crontab on OS X 10.13.  The script when invoked via command line directly functions as expected.  When it is called via crontab it fails with  Does Not Exist.

@rncole Then it's likely the value of your $PATH variable is different when the scrip is invoked via crontab as opposed to when you invoke it directly from the command line. I recommend adding a line to your script which prints out the value of $PATH so you can check this.

@rncole It's also possible that if the user and group are different when the crontab is invoked, then some kind of privilege violation is happening. You may want to check that as well.

Here are two instances, the first of it failing, and the second is manually run:
iMac:~/bin rncole$ cat tmp/cron-transcode-mkv.log
Tue Nov 21 22:19:00 EST 2017
path: /Users/rncole/Movies/Rips/How_To_Train_Your_Dragon_SE
No MP4 Found; Transcoding...
Line: /Users/rncole/Movies/Rips/How_To_Train_Your_Dragon_SE/How_To_Train_Your_Dragon_SE_t00.mkv
MP4 Line: /Users/rncole/Movies/Rips/How_To_Train_Your_Dragon_SE/How_To_Train_Your_Dragon_SE_t00.mp4
transcode-video --quick --mp4 /Users/rncole/Movies/Rips/How_To_Train_Your_Dragon_SE/How_To_Train_Your_Dragon_SE_t00.mkv
/Users/rncole/Movies/Rips/How_To_Train_Your_Dragon_SE/How_To_Train_Your_Dragon_SE_t00.mp4 Does Not Exist
iMac:~/bin rncole$ ./cron-transcode-mkv
Tue Nov 21 22:19:08 EST 2017
path: /Users/rncole/Movies/Rips/How_To_Train_Your_Dragon_SE
No MP4 Found; Transcoding...
Line: /Users/rncole/Movies/Rips/How_To_Train_Your_Dragon_SE/How_To_Train_Your_Dragon_SE_t00.mkv
MP4 Line: /Users/rncole/Movies/Rips/How_To_Train_Your_Dragon_SE/How_To_Train_Your_Dragon_SE_t00.mp4
transcode-video --quick --mp4 /Users/rncole/Movies/Rips/How_To_Train_Your_Dragon_SE/How_To_Train_Your_Dragon_SE_t00.mkv

On Nov 21, 2017, at 10:37 PM, Don Melton<EMAIL_ADDRESS>wrote:
@rncole https://github.com/rncole It's also possible that if the user and group are different when the crontab is invoked, then some kind of privilege violation is happening. You may want to check that as well.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/donmelton/video_transcoding/issues/178#issuecomment-346233963, or mute the thread https://github.com/notifications/unsubscribe-auth/AD8TrwndAfTnUaA0pC9_jrRIza4lusZaks5s45cDgaJpZM4Qmztj.

Note that it’s in my user crontab, and the files are in my user folder.  The only output from the script is as shown ( Does Not Exist).
Oh, and thanks for the immediate reply - that was quick!

On Nov 21, 2017, at 10:46 PM, Robert Cole<EMAIL_ADDRESS>wrote:
Here are two instances, the first of it failing, and the second is manually run:
iMac:~/bin rncole$ cat tmp/cron-transcode-mkv.log
Tue Nov 21 22:19:00 EST 2017
path: /Users/rncole/Movies/Rips/How_To_Train_Your_Dragon_SE
No MP4 Found; Transcoding...
Line: /Users/rncole/Movies/Rips/How_To_Train_Your_Dragon_SE/How_To_Train_Your_Dragon_SE_t00.mkv
MP4 Line: /Users/rncole/Movies/Rips/How_To_Train_Your_Dragon_SE/How_To_Train_Your_Dragon_SE_t00.mp4
transcode-video --quick --mp4 /Users/rncole/Movies/Rips/How_To_Train_Your_Dragon_SE/How_To_Train_Your_Dragon_SE_t00.mkv
/Users/rncole/Movies/Rips/How_To_Train_Your_Dragon_SE/How_To_Train_Your_Dragon_SE_t00.mp4 Does Not Exist
iMac:~/bin rncole$ ./cron-transcode-mkv
Tue Nov 21 22:19:08 EST 2017
path: /Users/rncole/Movies/Rips/How_To_Train_Your_Dragon_SE
No MP4 Found; Transcoding...
Line: /Users/rncole/Movies/Rips/How_To_Train_Your_Dragon_SE/How_To_Train_Your_Dragon_SE_t00.mkv
MP4 Line: /Users/rncole/Movies/Rips/How_To_Train_Your_Dragon_SE/How_To_Train_Your_Dragon_SE_t00.mp4
transcode-video --quick --mp4 /Users/rncole/Movies/Rips/How_To_Train_Your_Dragon_SE/How_To_Train_Your_Dragon_SE_t00.mkv

On Nov 21, 2017, at 10:37 PM, Don Melton<EMAIL_ADDRESS><EMAIL_ADDRESS>wrote:
@rncole https://github.com/rncole It's also possible that if the user and group are different when the crontab is invoked, then some kind of privilege violation is happening. You may want to check that as well.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/donmelton/video_transcoding/issues/178#issuecomment-346233963, or mute the thread https://github.com/notifications/unsubscribe-auth/AD8TrwndAfTnUaA0pC9_jrRIza4lusZaks5s45cDgaJpZM4Qmztj.

@rncole Is your current working directory somehow different in the two cases?

I was JUST about to email you.  I just noticed that when manually run here the output file is being put in the bin folder where I’m invoking it.
I had understood your documentation that the output file would be placed in the same folder as the input file, and couldn’t find a way to specify the output file.  I added a cd $path command to my script and it appears to be working correctly.
Thanks again for your help.

On Nov 21, 2017, at 10:51 PM, Don Melton<EMAIL_ADDRESS>wrote:
@rncole https://github.com/rncole Is your current working directory somehow different in the two cases?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/donmelton/video_transcoding/issues/178#issuecomment-346235646, or mute the thread https://github.com/notifications/unsubscribe-auth/AD8Tr4ydb_Gv4L93rwg59NKlDhPqczMZks5s45o5gaJpZM4Qmztj.

Nope, spoke too soon.  I was using the -o  option previously, and had removed it, and that tripped me up.
Here’s the modified output now showing the output of “pwd” in the log:
iMac:~/bin rncole$ cat tmp/cron-transcode-mkv.log
Tue Nov 21 23:03:00 EST 2017
path: /Users/rncole/Movies/Rips/How_To_Train_Your_Dragon_SE
Working Directory: /Users/rncole/Movies/Rips/How_To_Train_Your_Dragon_SE
MP4 Found, checking durations...
MKV Length:   Duration: 01:37:51
MP4 Length:   Duration: 00:00:04
Length Mismatch; deleting MP4.
transcode-video --quick --mp4 /Users/rncole/Movies/Rips/How_To_Train_Your_Dragon_SE/How_To_Train_Your_Dragon_SE_t00.mkv -o /Users/rncole/Movies/Rips/How_To_Train_Your_Dragon_SE/How_To_Train_Your_Dragon_SE_t00.mp4
/Users/rncole/Movies/Rips/How_To_Train_Your_Dragon_SE/How_To_Train_Your_Dragon_SE_t00.mp4 Does Not Exist

On Nov 21, 2017, at 10:55 PM, Robert Cole<EMAIL_ADDRESS>wrote:
I was JUST about to email you.  I just noticed that when manually run here the output file is being put in the bin folder where I’m invoking it.
I had understood your documentation that the output file would be placed in the same folder as the input file, and couldn’t find a way to specify the output file.  I added a cd $path command to my script and it appears to be working correctly.
Thanks again for your help.

On Nov 21, 2017, at 10:51 PM, Don Melton<EMAIL_ADDRESS><EMAIL_ADDRESS>wrote:
@rncole https://github.com/rncole Is your current working directory somehow different in the two cases?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/donmelton/video_transcoding/issues/178#issuecomment-346235646, or mute the thread https://github.com/notifications/unsubscribe-auth/AD8Tr4ydb_Gv4L93rwg59NKlDhPqczMZks5s45o5gaJpZM4Qmztj.

@rncole The built-in --help and the README document do say that output, by default, is placed "in current working directory." But maybe I should make that more obvious?
Anyway, I'm glad your problem is solved! Thank you so much for opening this issue so we could discuss it. And please feel free to open other issues in the future. I value your interest in and use of the tools.
I'll close this now but feel free to comment again here. I get all the notifications. :)

@rncole You are very welcome! And so is beer. And it's funny that launchd fixed it. :)


bugfix(rest-api): Should return a 404 if MIME type not found

Checklist

[x] the contributor license agreement is signed
[x] commit message follows commit guidelines
[x] tests are included

Description of change

Missed this in the initial implementation. So not really a bugfix, but kinda. Anyway, simply wraps the request to get the provided MIME type in an Option and then goes from there. Some(entry) => Do as it did before (copy and paste); None => Return a response of HttpStatus.SC_NOT_FOUND.
#1306

Cool, just lookin' for green, and then I'll merge. :wink:


Smileys in skype not showing properly

Seems like the translation from emoji/emoji.json works, but on skype side you get a raw message (albeit with bold nicknames).

any news in regards to the emojis?


Is there swift version for pie chart example 2?

I found that there's swift version only for example 4. How can I have swift version for the whole project? Especially for example 2. Example 2 suits for my project. I don't like bridging. I do code in full swift.

I added example in Swift.


Error while train when get dataset

Hi,When I train the model with python src/train.py with   mot17  deformable  multi_frame  tracking  output_dir=models/mot17_deformable_multi_frame, the following errors occur：
Traceback (most recent call last):
File "src/train.py", line 357, in
train(args)
File "src/train.py", line 284, in train
visualizers['train'], args)
File "/home/ubuntu/track/trackformer/src/trackformer/engine.py", line 119, in train_one_epoch
for i, (samples, targets) in enumerate(metric_logger.log_every(data_loader, epoch)):
File "/home/ubuntu/track/trackformer/src/trackformer/util/misc.py", line 230, in log_every
for obj in iterable:
File "/home/ubuntu/anaconda3/envs/trackformer/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 345, in next
data = self._next_data()
File "/home/ubuntu/anaconda3/envs/trackformer/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 856, in _next_data
return self._process_data(data)
File "/home/ubuntu/anaconda3/envs/trackformer/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 881, in _process_data
data.reraise()
File "/home/ubuntu/anaconda3/envs/trackformer/lib/python3.7/site-packages/torch/_utils.py", line 395, in reraise
raise self.exc_type(msg)
IndexError: Caught IndexError in DataLoader worker process 0.
Original Traceback (most recent call last):
File "/home/ubuntu/anaconda3/envs/trackformer/lib/python3.7/site-packages/torch/utils/data/_utils/worker.py", line 178, in _worker_loop
data = fetcher.fetch(index)
File "/home/ubuntu/anaconda3/envs/trackformer/lib/python3.7/site-packages/torch/utils/data/_utils/fetch.py", line 44, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/home/ubuntu/anaconda3/envs/trackformer/lib/python3.7/site-packages/torch/utils/data/_utils/fetch.py", line 44, in
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/home/ubuntu/track/trackformer/src/trackformer/datasets/mot.py", line 49, in getitem
img, target = self._getitem_from_id(idx, random_state, random_jitter=False)
File "/home/ubuntu/track/trackformer/src/trackformer/datasets/coco.py", line 63, in _getitem_from_id
img, target = self.prepare(img, target)
File "/home/ubuntu/track/trackformer/src/trackformer/datasets/coco.py", line 220, in call
masks = convert_coco_poly_to_mask(segmentations, h, w)
File "/home/ubuntu/track/trackformer/src/trackformer/datasets/coco.py", line 177, in convert_coco_poly_to_mask
rles = coco_mask.frPyObjects(polygons, height, width)
File "pycocotools/_mask.pyx", line 292, in pycocotools._mask.frPyObjects
IndexError: list index out of range
I found that the data set is not a pair. But the dataset I generated with this command：python src/generate_coco_from_mot.py.I don't know what's wrong.

Thanks for your answer,I found that the problem was to set the masks of train.yaml to true.
I want to generate_ attention_ maps and masks is set to true in track.yaml to evaluate，but I got：
RuntimeError: Error(s) in loading state_dict for DeformableDETRSegmTracking:
Missing key(s) in state_dict: "bbox_attention.q_linear.weight", "bbox_attention.q_linear.bias", "bbox_attention.k_linear.weight", "bbox_attention.k_linear.bias", "mask_head.lay1.weight", "mask_head.lay1.bias", "mask_head.gn1.weight", "mask_head.gn1.bias", "mask_head.lay2.weight", "mask_head.lay2.bias", "mask_head.gn2.weight", "mask_head.gn2.bias", "mask_head.lay3.weight", "mask_head.lay3.bias", "mask_head.gn3.weight", "mask_head.gn3.bias", "mask_head.lay4.weight", "mask_head.lay4.bias", "mask_head.gn4.weight", "mask_head.gn4.bias", "mask_head.lay5.weight", "mask_head.lay5.bias", "mask_head.gn5.weight", "mask_head.gn5.bias", "mask_head.out_lay.weight", "mask_head.out_lay.bias", "mask_head.adapter1.weight", "mask_head.adapter1.bias", "mask_head.adapter2.weight", "mask_head.adapter2.bias", "mask_head.adapter3.weight", "mask_head.adapter3.bias".
I think this is because the pre-train model does not set masks to true, so I want to set masks to true to retrain my model, and then the problems mentioned at the beginning appear

Attention maps and mask prediction are two separate things. However, only for our model for mask prediction the attention map plotting is implemented. If you want to generate attention maps for the bbox model, you need to implement attention mask plotting. Not train a model for masks.


darwinkit: run enumexport on macOS 14

To make sure we have all possible values for generated constants and enums, we need to run our export tool on the latest version of macOS. If anybody is running macOS 14 on x86_64, it would help if you could checkout the darwinkit branch and run:
go run ./generate/tools/enumexport.go

Then submit a PR of the resulting changes to ./generate/modules/enums against darwinkit.

Is doing this in a virtual environment or emulator ok?

I wanted to use some NSBezelStyle constants but I could not find them in DarwinKit. Is it because of this issue?
Does this have to be done on x86_64? I could help if you are ok with running the command on ARM64.

It was not NSTextFieldBezelStyle. It was actually NSBezelStyleCircular or NSBezelStylePush. I was trying to use SetBezelStyle() on a NSButton.
Here is a link to the styles I was looking at: https://developer.apple.com/documentation/appkit/nsbezelstyle?language=objc
I used the grep command to find some of the style values but wasn't successful. I'm guessing this current issue is the problem.

Are you staying up to date with the darwinkit branch?
https://github.com/progrium/macdriver/blob/darwinkit/macos/appkit/enumtypes.gen.go#L685

That worked. Thank you.
I noticed that you dropped NS from everything. I thought you were into following the standard. Why the change?

Because hsiafan/cocoa was already doing it
Because the package name already prefixes, keeping them would be redundant
Because it simplifies any other prefixing we have to do (like I for interfaces)
Because it's more readable
Because it's more like an idiomatic Go package
Because it's not hard to understand how it works
Because the docs will link to the full original name
Because it works fine


Merge rbenv to have a common ancestor for future merges

This merges
https://github.com/sstephenson/rbenv/commits/4d72eefffc548081f6eee2e54d3b9116b9f9ee8e
to build a common ancestor for future merges.
This is branched off f48a5b11d709ec616f766864b8e0ab894cb30962, which was
the last manual merge.
Discussion / initial idea: https://github.com/yyuu/pyenv/pull/286#issuecomment-66565475
This was done using:
# Keep our changes for "unmerged, both added"
for i in $(git status --porcelain | grep '^AA ' | cut -d\  -f2); do
  git checkout --ours $i
  git add $i
done

# "git mv" rbenv files to our name, keeping the current contents.
for i in $(git status --porcelain | grep '^A ' | sed 's/^A  //'); do
  ours=${i//rbenv/pyenv}
  test -f $ours || { echo "Skipping: $i"; continue; }
  git mv -f $i $ours
  git reset HEAD $ours
done

I've handled the following then manually:
- rbenv.d/exec/gem-rehash.bash
- rbenv.d/exec/gem-rehash/rubygems_plugin.rb

This should allow to merge rbenv in the future using:
git merge rbenv/master -s recursive -X rename-threshold=5%

I am not sure about the rename-threshold, 25% also worked for one file
I've tested.
Conflicts:
.gitignore
.travis.yml
LICENSE
README.md
src/Makefile.in
test/--version.bats
test/commands.bats
test/completions.bats
test/exec.bats
test/global.bats
test/help.bats
test/hooks.bats
test/init.bats
test/local.bats
test/prefix.bats
test/rehash.bats
test/run
test/shell.bats
test/shims.bats
test/test_helper.bash
test/version-file-read.bats
test/version-file-write.bats
test/version-file.bats
test/version-name.bats
test/version-origin.bats
test/version.bats
test/versions.bats
test/whence.bats
test/which.bats

:dizzy_face:
Anyway I'll try to check this out. Gimme some more time....

Sure.
The changes are easy to review (there are none).. ;)
You could experiment with this trying to merge the latest changes from rbenv etc.
git fetch origin
git checkout -b merge-rbenv origin/merge-rbenv
git remote add rbenv git://github.com/sstephenson/rbenv.git
git merge --no-commit rbenv/master

This will currently result in a conflict for README.md, mainly because there is a new section about environment variables, which should be adopted.
As suggested in https://github.com/yyuu/pyenv/pull/286#issuecomment-66565475 that would be a good time to install/enable git-rerere now, too.. :)


Cells are not showing

Hi! I download the EXAMPLE_VAULT code. And I didn't change anything.But Cells are not showing,I cant find any bug.

Same issue here. Did u found any fix?

Same

Do we vote here? +1

The reason you see no alcohol activity is because the year is set to 2023, and there is no alcohol activity in 2023.
If you set it to 2022, you will see the normal heatmap.

dv.span("**🍺 Alcohol Consumption 🍺**")

const calendarData = {
    year: 2022,
    colors: {
        blue: ["#ffdf04","#ffbe04","#ff9a03","#ff6d02","#ff2c01"]
    },
    entries: [],
    showCurrentDayBorder: false
}

for(let page of dv.pages('"daily notes"').where(p=>p.alcohol)){
    calendarData.entries.push({
        date: page.file.name,
        intensity: page.alcohol,
        content: await dv.span(`[](${page.file.name})`), //for hover preview
    })
}

renderHeatmapCalendar(this.container, calendarData)

Just for context, here is the output

Thanks got it workingSent from my iPhoneOn Apr 29, 2023, at 3:00 PM, John Bucknam @.***> wrote:
Just for context, here is the output
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

The reason you see no alcohol activity is because the year is set to 2023, and there is no alcohol activity in 2023.
If you set it to 2022, you will see the normal heatmap.

I just did that and it did literally nothing? Weird. I just copy pasted the entire thing.


The cookie settings button is not visible even though cookie_settings_button_enabled is true

Please check these items before go any further

[X] I have watched Mr. Green theme tutorials playlist on YouTube.
[X] I have searched the existing Issues.
[X] I have searched the existing Discussions.
[X] I have checked jekyll docs and the answer was not there.
[X] I have tested in one of these browsers; Safari, Chrome, Firefox. (This project hasn't been tested in other browsers.)

Are you sure this is a bug?

[X] I'm sure this is definitely a bug.

Describe the bug
If color_scheme_switch_side_nav is false, side-nav-bottom-buttons-container is not displayed.
https://github.com/MrGreensWorkshop/MrGreen-JekyllTheme/blob/570665d929690e5c0a3b01c24a5079ec6bc3324a/_includes/default/nav/navigation-side-nav-bottom-buttons.html
Therefore even though cookie_settings_button_enabled is true, the cookie setting button is also not displayed.
Expected Behavior
If  color_scheme_switch_side_nav is true or cookie_settings_button_enabled is true then
side-nav-bottom-buttons-container is visible.

Steps To Reproduce

Set color_scheme_switch_side_nav to false in _data\conf\main.yml

Run bundle exec jekyll serve --baseurl "" on a terminal.

browse http://<IP_ADDRESS>:4000/

It can not display the cookie settings button.

Which browser have you used?

[X] Chrome
[ ] Safari
[ ] Firefox
[ ] Other browsers (This project hasn't been tested in other browsers.)

Which device have you used?

[X] Desktop
[ ] Mobile IOS
[ ] Mobile Android
[ ] Other platforms (This project hasn't been tested in other devices.)

Anything else?
In the _includes\default\nav\navigation-side-nav-bottom-buttons.html
change the code as follows. It works I expected.
-{% if color_scheme_switch_enabled == true %}
+{% if color_scheme_switch_enabled == true or cookie_settings_button_enabled == true %}
  <div class="side-nav-bottom-buttons-container">

I have already fixed it so that I can pull request.

Hi, you are right. Thank you, PR that please.

merged, Thanks again.


Tabular: Enabled conditional arguments in TabularPrediction.fit()

Issue #, if available:
#575
Description of changes:

Fixed defect causing TabularPrediction.fit() to crash when given positional arguments
Moved and optimized memory usage of text_special feature generation

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Job PR-576-2 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-576/2/index.html


added a page with settings; added popup notification about other extensions

Hi, dist folder shouldn't be included in repository!

@AnnaChervatyuk Can you, please, resolve conflicts or recreate PR?

@AnnaChervatyuk As we discussed, I'm closing this one to avoid conflicts.


Custom Directive to Digitalocean Space

Hi All,
I try to create custom Directive to upload file to DigitalOcean Space ( It support S3 API Connection)
Then, I use some of existing code from S3 service to create my custom one.
But, it turn out there is something still missing (Error 404 Forbidden).
Note! What I Did

add AWSAccessKeyId to settings.json
AWSSecretAccessKey to settings.json
did config CORS in DigitalOcean Space

Please help,
Thank you.
file-storage.txt

I'm trying to use slingshot for DigitalOcean Space too. dont know how!


Fix climate device not responding issue for Alexa

Description:
Fixed incorrect respond to Alexa api
Related issue (if applicable):
fixes #15580, fixes #15183
Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#<home-assistant.github.io PR number goes here>
Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass

Hi @Thunderbird2086,
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!

Willing to test this change by replacing the contents of smart_home.py in my installation if I could get a pointer on which version of it to test with.
Running HA 0.77 / ecobee / haskaa integration ('alexa' component). I have been getting the "something went wrong" message from alexa for a couple of months

Hi @arigit,
This PR is for only climate device aka Thermostat devices in Alexa developer's term such as A/C and heater.
Which device do you have an issue with?  Maybe I can take a look.

Thanks for following up! It is indeed a thermostat device, ecobee3.  I opened one of the bugs linked to this PR. I thought I would volunteer to do early testing. Other than replacing the contents of smart_home.py is there anything else to change or replace in order to test the new code?

Thanks for your replay.  Just replace smart_home.py, and then probably restart HA.

@Thunderbird2086 implemented the changes in my HA install and can confirm this fixes the "something went wrong" issue with Alexa. Thanks!! - no regressions observed after a day of testing.
Hoping this PR can be merged sometime soon.

I've been trying to make the alexa component enumerate all properties and send them (except for the changed values, which need to be substituted) in responses. This would apply to all entity types, not just climate. I haven't had time to finish this.

There are still some pending comments on this PR. What is the status @Thunderbird2086

PR will be continued here: #17950


fix: encrypt attribute when not listed on accept list

Contributor checklist

[x] Bug fixes include regression tests
[ ] Features include unit/acceptance tests

fix #34

🚀 Thank you for your contribution! 🚀


Error Installing

I have a fresh Ubuntu 15.10 install going and have followed the instructions to install create_ap.
The very last line of the instructions is where I encounter an error:
$:~/create_ap$ make install
cp create_ap /usr/bin/create_ap
cp: cannot create regular file ‘/usr/bin/create_ap’: Permission denied
Makefile:5: recipe for target 'install' failed
make: *** [install] Error 1
Any ideas?

Run it with sudo.

thank you... my first run with linux
works perfectly


Calculated breathing seconds should count to minutes

Just a small suggestion, I think the calculated breathing seconds should be shown as 2 minutes and 8 seconds instead of just 128 seconds in this screenshot, for example.

https://github.com/MeoMix/symbiants/commit/dc6564d9e50be7a8d4831bb8c35977513aafe1d5
🎉
Thanks for the suggestion


why I cant follow people on gogs?

...why I can follow people on Gogs ?
And where can I ask for help ? As a beginner ,I wonder if there are a doucment?

You mean "why you can't"? I am not sure, in my unmodified installation it works just fine.
Documentation is in https://gogs.io/docs
And you can ask for help in https://discuss.gogs.io/c/getting-help


matTooltip not working on ios

Bug
What is the expected behavior?
tooltip is displayed on click of button
What is the current behavior?
Nothing is shown
What are the steps to reproduce?
Open the official documentation example https://material.angular.io/components/tooltip/examples
in ios device - iphone on chrome/safari browser
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular 5
Material latest
OS : ios
Browsers: All
Is there anything else we should know?

On touch devices the tooltip shows up for a long press instead of a click.

In my application I have imported hammerjs but still the tooltip is not working on long press nor in sigle click

I’m also seeing this issue.

+1


(docs) Add tentative type annotations to Task methods

The constructor type annotations are in need of guidance.
Special attention needs to be given to and and or type annotations.

and, got from here. Was going to go with: (Task a b).(Task c d) => (Task a _) or (Task c _) or (Task _ (b, d))) - why is the rejected part of both Tasks the same type a?

Also, from here, I could not figure out the difference between fat arrow (=>) and arrow (->).

The function notation is (arg1, …, argN) => resultType, so only => arrows are used.
As for the type of or/and, the error type is the same for simplicity. While in JS you can use taskA.or(taskB) and have the error types in taskA and taskB be different, for simplicity we assume a more restricted system where logical type unions are less prevalent.
Ideally this'd encourage people to keep their types a bit more consistent, too, as something like (Task String Number).or(Task String Number) leads to simpler code (the type is always the same) than something like (Task String String).or(Task Error (Array Number)), where one'd have to use typeof and other checks, and write different branches for each case.
So, for that reason, we kinda arbitrarily restrict the types to be a bit more consistent:
or :: (Task a b).(Task a b) => Task a b
and :: (Task a b).(Task a c) => Task (a, c)

These types should also include the resources. Each task has an unique resource associated with it, which is consumed when you run that task (automatically by the TaskExecution). There's no real type notation for this concept yet (linear types), so they can be simplified by just putting the resource type on the LHS and RHS.
The constructor's type would be:
Task :: forall value, reason, resources:
  new ( ({ resolve: (value) => Void, reject: (reason) => Void, cancel: () => Void }) => resources
  , (resources) => Void
  , (resources) => Void
  ) => Task value reason resources

And then each method transforming a task just keeps the same resource:
Task.map :: forall v1, v2, e, r: (Task v1 e r).((v1) => v2) => Task v1 e r

Methods combining tasks yield a combination of both resources:
Task.or :: forall v, e, r1, r2: (Task v e r1).(Task v e r2) => Task v e (r1 and r2)

@robotlolita thanks! The changes based on your feedback are WIP.

btw, re documenting Task based on Result (gitter discussion) - I have started with type annotations and looking at tests.
Next, I'll be looking at docs/source/en/data/result. If I'm comfortable with writing docs for Task based on that, I'll open a separate PR for that (that is what I think you were referring to in Gitter - but I didn't even know about the whole re-work of Task in Folktale 2... so need to get familiar before even giving it a shot). - mentioning this in case you have other priorities on what to work on ;)

@robotlolita
Shouldn't this:
and :: (Task a b).(Task a c) => Task (a, c)

be:
and :: (Task a b).(Task a c) => Task a (b, c)

?

and :: (Task a b).(Task a c) => Task a (b, c) is correct

Thanks @safareli !

Ah, yes, sorry, my and type was incorrect :)

@robotlolita np
I was going to bring this up in my next push, but it might take a bit longer than expected so:
I noticed you've switched the rejected and resolved values in the type annotations.
i.e. data.Task was Task rejectedValue resolvedValue
but in your e.g. above it's Task v1 e r where I take it that v1 is resolved value, e is rejected value, and r is resources.
I've started the re-write of the type annotations using this new way (resolved value first) - as I figured, since Tasks are now created differently, perhaps it makes more sense to have the resolved values first.
Also, I personally like having resolution types first - but wanted to clear this up. In any case, it won't be a big deal to change again in case the above was just a typo.
Note, one thing that came to mind as a possible "inconsistency":
bimap takes the rejectionTransformation first which may be a bit misleading when the type of Task takes a resolution type as a first param (not a rejected one).

@robotlolita I'm not sure the changes I made are exactly what you had in mind.
Some things to look out for:

Make sure I properly translated: "transforming of tasks keep the same resource" and "combining of tasks yield combination of both" in the changes.
I assumed TaskExecution would also take the resources in its type so run returns a TaskExecution v e r.
Again, as mentioned in previous comment above, the type of the resolved value now comes first.
re of and rejected, there doesn't seem to be any resources in the type but I kept r there for consistency. Not sure if this is the right way to annotate those methods.

That's pretty much it. In the places where there're two independent tasks, and the result is one of them, each task gets its own resource, and the resulting type has the resource of the task returned.
The resolved value part was an error on my part, sorry :< It doesn't really matter as long as the types line up, but as you mentioned it becomes inconsistent with things like bimap, fold and stuff that use more positional arguments.

@robotlolita np I'll make the changes re the resolved value position.


luci-mod-network: does not allow to change MAC number of wan interface

OpenWrt SNAPSHOT, r11070-c5b10c8282
luci has an option "Override MAC address" (in Advanced Settings of the interface). But it does not work.
luci sets "network.wan.macaddr", and does not touch "network.wan_dev.macaddr". The later options matters most.

Dupe of #1100

I have the same issue. I found why it is not working properly. I am using a Ubiquiti EdgeRouter X that incorporate an embedded Switch.
OpenWRT creates two internal ethernet devices for the LAN and WAN physical ethernet ports that are not shown by LUCI but that can be displayed using CLI command "uci show network". Internaly, the switch is connected to the original LAN port.
If you use UCI commands to alter the Mac address of these two internal and not shown in LUCI ethernet ports, and then do some tcpdump on those interfaces, you will see that the change of mac address works, but it is still not display correctly by LUCI.
Indeed, for routers with embedded switch, LUCI doesn't manage well these two exceptions for the two physical ethernet ports.


Add a second "create resources" step to each Samples functional test build

Currently the Samples functional test builds only exercise one of the two ARM templates for each sample.
E.g. the new-rg templates Kyle is fixing are not exercised. PR #2716
Suggest adding a second "create resources" step to each build so that both templates are exercised.

Resolved by PR #4876


ocl: 2.9.2-1 in 'lunar/distribution.yaml' [bloom]

Increasing version of package(s) in repository ocl to 2.9.2-1:

upstream repository: https://github.com/orocos-toolchain/ocl.git
release repository: https://github.com/orocos-gbp/ocl-release.git
distro file: lunar/distribution.yaml
bloom version: 0.8.0
previous version for package: 2.9.1-3

Lunar did it's last sync already: https://discourse.ros.org/t/final-lunar-sync/9629 and is now eol #21617


Graceful container stopping

On Linux, using Docker CLI it is not possible to gracefully stop the container. Running docker stop causes the daemon to send TERM signal to the container process, which is ignored and only KILL signal causes the server to stop. However, this is abrupt and the next time the container is started it rolls forward logs.
However, I noticed that the main container process forks additional sqlservr processes and if I send TERM signal to one of those processes, the whole container shuts down gracefully immediately and no log replaying is performed on the next startup.
It is looks like the problem with the process and signals management.

+1

This simple container runs successfully:
version: '3'
services:
    db:
        image: microsoft/mssql-server-linux
        environment:
            ACCEPT_EULA: Y
            SA_PASSWORD: "xyz"

But can't be stopped
$ docker-compose stop db
ERROR: for my_db_1  UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=70)
ERROR: An HTTP request took too long to complete. Retry with --verbose to obtain debug information.
If you encounter this issue regularly because of slow network conditions, consider setting COMPOSE_HTTP_TIMEOUT to a higher value (current value: 60).

Work after a computer restart but it happened again.
A running mssql container doesn't seem liking to be updated with up

I've been having this issue too, the container freezes and a computer restart is the only way to stop it.

+1 Same here

+1 Same here.

+1 same here

We think what's going on here is that SQL Server is gracefully shutting down so that when it starts back up there is no recovery time needed.  We could change it to a fast shut down on CTRL+C but that could mean a longer period of time for recovery on start up depending on what was going on in the database(s) prior to the CTRL+C.
I used to run into this issue too, but then I stopped running docker-compose up and docker run interactively.  In other words use -d on docker run and docker-compose up so that the containers are always started in the background and you can get your terminal prompt back.  Then you can stop your containers with docker stop or docker-compose down.
Also, when you use CTRL+C to a docker-compose up interactive, you can hit CTRL+C again to force stopping immediately.  I don't recommend that in anything except for a dev/test environment where you just don't care.
A few questions to better help us understand how to improve here:

How long are you waiting after CTRL+C before you do a more drastic shutdown?
Is there a lot of activity going on in the database before you CTRL+C - like a perf/scale test run or something like that?
Do you have a general preference of fast shutdown/slow startup vs. slow shutdown/fast startup?

Sorry, but this is not a graceful shutdown. No matter how much time is given with docker stop -t time, SQL Server never stops within this time period.
It has nothing to do with CTRL+C, I never used it. My containers are started with docker-compose up -d and stopped with docker-compose stop -t time.
Please also note what I have written about sending TERM signal to one of forked processes: it leads to gracefully stopped container within 1 second! If I were to guess, I'd go for checking correct signal handling in the parent process.

I didn't use Ctrl+C either (the first one is supposed to gracefully shutdown anyway)
I'm also using docker-compose stop with really nothing big going on the database (tested with only one database and 4 tables actually).
@twright-msft I used to start/stop many different services (like nginx, apache, php, python, mysql, postgresql, redis, etc...), they always stop gracefully within 1/2sec max.
I might still have a preference for the fast startup/slow shutdown but the slow should be within 4sec.
Anyway, as @jest says, sometimes it never stops, I already tried leaving the graceful stop running for at least 30min.

I've seen both cases, both intermittently.
Using CRTL + C works sometimes, but every few other times it just hangs forever (I've waited more than 10 minutes) and the container becomes non-responsive (can't exec into it).
Using docker-compose stop/down instead returns me a timeout. The container never dies.

OK, I dig a bit and here's a solution.
The problem is this line in Dockerfile
CMD /opt/mssql/bin/sqlservr

According to the Docker docs its "shell syntax" causes Docker daemon to run the container with a command:
/bin/sh -c /opt/mssql/bin/sqlservr
Which makes Bash a "PID 1" process and causes a lot of problems, including signal handling and children reaping. The issue on tini describes it pretty well.
The solution is to modify Dockerfile and either to make sqlservr "PID 1" itself using another CMD syntax:
CMD ["/opt/mssql/bin/sqlservr"]

or better yet, to use some other "process manager", like the mentioned tini:
# with tini next to Dockerfile...
COPY tini /
RUN chmod +x /tini
ENTRYPOINT ["/tini", "--"]
CMD ["/opt/mssql/bin/sqlservr"]

As a workaround till new images are available, use command: [ "/opt/mssql/bin/sqlservr" ] in your docker-compose.yml to overwrite the image's CMD.

@twright-msft Any idea how this will be solved? Do you need a PR?

I use the following workaround in our CI environment:

I use the option command: [ "/opt/mssql/bin/sqlservr" ] in docker compose
I just kill the process before I call docker-compose stop: docker exec <container-name> kill 1 || :

Did you destroy the old containers and created new ones with command: workaround? Once created, containers can't change their command to be executed. What does docker inspect -f '{{ .Config.Cmd }}' <container-names> says?

@jest
The output is [/opt/mssql/bin/sqlservr]
And yes, since it is only a CI environment I destroy everything completly on each build
docker exec <mssql-container-name> kill 1 || :
docker-compose stop
docker-compose rm -f
docker-compose build
docker-compose up -d

We started running into issues with the MS SQL Server containers hanging around on our Jenkins instance after builds completed (or didn't). It eventually got bad enough that the servers would lock up and de-provisioning them would take up to 30 minutes.
The solution for killing process 1 seems to solve the issue for us: https://github.com/Microsoft/mssql-docker/issues/171#issuecomment-362193062

@kevin-brown So this issue is not the one you are experiencing. This issue is about wrong image's CMD construction, where signals are not propagated to child processes.
Sending signals directly to child processes is the same as correcting CMD in Dockerfile.

@kevin-brown we are facing probably the same issue and we use tini but no luck.
Do you believe that "-g" option on tini to kill the whole process group could make a difference? We are going to try it

So this issue is not the one you are experiencing. This issue is about wrong image's CMD construction, where signals are not propagated to child processes.

We're seeing signs of the signals not propagating when we send them to the Docker images, and attempt to send them directly to the process. The behaviour we're seeing in #181 is making it really difficult to verify the signals are making it to sqlservr because if it hangs for too long it completely locks up Docker and the host system.
I'm willing to accept that there are two different issues at play in #171 and #181, but the fact that both of them deal with zombie processes forming within the container gives me hope that there may be a common solution to both issues.

Anyone having problems with CTRL+C that are not solved by correcting ENTRYPOINT (as described in comment https://github.com/Microsoft/mssql-docker/issues/171#issuecomment-346133376), please test 2017-CU5. According to https://support.microsoft.com/en-us/help/4093805/fix-can-t-stop-sql-server-linux-docker-container-via-docker-stop it's solved there.

the changes described in https://github.com/Microsoft/mssql-docker/issues/171#issuecomment-346133376 do solve this issue.
But it seems Microsoft does not use this Dockerfile for their actual images.
Doing this myself in my docker-compose file fixes the issue for me.
version: '3'
services:
  database:
    image: microsoft/mssql-server-linux:2017-latest
    environment:
      - MSSQL_SA_PASSWORD=xxx
      - ACCEPT_EULA=Y
    command: ["/opt/mssql/bin/sqlservr"]

ah sorry, nevermind. my image was too old.

I am using CU12 and I am seeing the same issue

I've faced some issues with this as well. I have been using a version which does not spawn mssql inside a shell (IE.
The logs indicate that a signal was received, but it apparently entered some weird state afterwards.
[...]
2019-06-18 09:05:39.68 spid6s      Always On: The availability replica manager is going offline because SQL Server is shutting down. This is an informational message only. No user action is required.
2019-06-18 09:05:39.68 spid6s      SQL Server is terminating in response to a 'stop' request from Service Control Manager. This is an informational message only. No user action is required.
2019-06-18 09:05:39.78 spid22s     Service Broker manager has shut down.
2019-06-18 09:05:43.43 Logon       Error: 18451, Severity: 14, State: 1.
2019-06-18 09:05:43.43 Logon       Login failed for user 'NT AUTHORITY\SYSTEM'. Only administrators may connect at this time. [CLIENT: <IP_ADDRESS>]
2019-06-18 09:05:48.61 Logon       Error: 18451, Severity: 14, State: 1.
2019-06-18 09:05:48.61 Logon       Login failed for user 'NT AUTHORITY\SYSTEM'. Only administrators may connect at this time. [CLIENT: <IP_ADDRESS>]
2019-06-18 09:10:53.49 Logon       Error: 18451, Severity: 14, State: 1.
2019-06-18 09:10:53.49 Logon       Login failed for user 'NT AUTHORITY\SYSTEM'. Only administrators may connect at this time. [CLIENT: <IP_ADDRESS>]

While a normal shutdown looks like following.
[...]
2019-06-18 10:33:05.68 spid6s      Always On: The availability replica manager is going offline because SQL Server is shutting down. This is an informational message only. No user action is required.
2019-06-18 10:33:05.68 spid6s      SQL Server is terminating in response to a 'stop' request from Service Control Manager. This is an informational message only. No user action is required.
2019-06-18 10:33:06.11 spid23s     Service Broker manager has shut down.
2019-06-18 10:33:11.29 spid6s      SQL Trace was stopped due to server shutdown. Trace ID = '1'. This is an informational message only; no user action is required.

Using mcr.microsoft.com/mssql/server:2022-latest and I seem to face the same issue. SQL Server gets stuck on stopping the container. When I wait long enough (sometimes minutes) I get some timeout errors on the stop and then all of a sudden the container is also stopped.


Updated index.md (Included digital ocean link for more information)

Included digital ocean link for installing LAMP on ubuntu.

[x ] I have read freeCodeCamp's contribution guidelines.
[ x] My pull request has a descriptive title (not a vague title like Update index.md)
[ x] My pull request targets the master branch of freeCodeCamp.
[ x] None of my changes are plagiarized from another source without proper attribution.
[ x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Hi
Thank you for your PR but currently, we do not merge PRs that only add to the More Information section.
You can refer to the Contributing Guide here to see why we close certain PRs.


rainingGold

Looks like it is being set unconditionally to true in line 259 and disables abilities:
rainingGold = true;
assuming intended behaviour was :
rainingGold = (stacks>0);

This is probably why you can never use any abilities besides Medics.

Ahh, the real issue is missing curly braces around the indented block.

Verified. I added curly braces at the end of the "if" line and after the commented log line, and my abilities now work outside of big boss battles. but they are completely unavailable until he is dead. Also, I checked to see if I could switch lanes, and one of the OTHER lanes had raining gold, but it didn't switch over, even though the boss was at nearly full health. That seems like a big waste of a gold opportunity.

Fixed thanks to codebase switch


Separate public path for HMR

I can't seem to get the hot reload function to work correctly for me. Whenever I do an update I get the following error messages:
Get http://localhost:9090/cd0492f7657672ef15e4.hot-update.json 404 (Not Found)
[HMR] Cannot apply update. Need to do a full reload!
[HMR] (Probably because of restarting the webpack-dev-server)

I am pretty sure this is caused by publicPath: '/js/' in my gulpfile as when I go to http://localhost:9090/cd0492f7657672ef15e4.hot-update.json I get a 404 but when I go to http://localhost:9090/js/cd0492f7657672ef15e4.hot-update.json I can find the file.
However publicPath: '/js/' is needed for bundled js file so I have no idea how to fix it, any ideas?
webpack.config.js
var webpack = require('webpack');
module.exports = {
    cache: true,
    entry: ['webpack/hot/dev-server', './resources/assets/app.js'],
    output: {
        path: __dirname + '/public/js',
        publicPath: '/js/',
        filename: "scripts.js"
    },
    module: {
        loaders: [
            {
                test: /\.jsx?$/,
                exclude: /(node_modules|bower_components)/,
                loader: 'babel'
            }
        ]
    }
};

gulpfile.js
...
var webpackConfig = require('./webpack.config.js');
...
gulp.task('webpack-dev-server', function(callback) {
    // modify some webpack config options
    var myConfig = Object.create(webpackConfig);
    myConfig.devtool = 'eval';
    myConfig.debug = true;
    myConfig.plugins = [
        new webpack.HotModuleReplacementPlugin()
    ];

    // Start a webpack-dev-server
    new webpackDevServer(webpack(myConfig), {
        hot: true,
        stats: {
            colors: true
        },
        publicPath: '/js/',
        proxy: {
            '*': 'http://localhost:8080'
        }
    }).listen(9090, 'localhost', function(err) {
        if (err) throw new gulpUtil.PluginError('webpack-dev-server', err);
    });
});

Moved to the webpack-dev-server repo


Multiple request in one test method.

When I try to run multiple request in one test method, for example:
    public function testRoutesIdCondition()
    {
        $this->get('/user/1');
        $this->assertEquals(200, $this->response->status());

        $this->get('/user/1a');
        $this->assertEquals(404, $this->response->status());

        $this->get('/category/1a');
        $this->assertEquals(404, $this->response->status());
    }

The following requests are unable to get the correct response. (i.e., the remains requests will get a 200 instead of 404)
Maybe re-setup the mocking app before peforming every request will fix it. But I don't know if it's the best approach.

Was this ever solved. I face the same issue....very strange. Does it have to do with not closing the connection from the last request?

I'm having an issue and I think it's related to this one.
In my case I have a test class (SessionTest.php) with two methods (testRegister and testLogin), both of them with their own dataProvider.
Only the first dataset of the first method gives the expected value for the response, the other ones gives 404, even in the second method.
Any idea about how to fix this issue?
I attach two files to explains it in a better way.

@SvOzMaS just to be sure....did you try running test one at a time? just to eliminate other possibilities

@karneaud yes, I ran all the test one by one, and all of them output the expected response. The problem comes when I try to run all the method tests with multiple data sets in the DataProvider.

Ok cool. Just checking. I was not able to fix this though...hoping the author will have some good news


Using @prefresh/next to develop in IE11

Hi there,
We're currently working on a project where we need to support IE11. We're working with Next.js using next-plugin-preact, which uses @prefresh/next for HMR. When trying to develop in IE11, the development build breaks on a script webpack.js. It seems to break on this piece of code, defined in @prefresh/webpack/src/utils/Runtime.js.
const beforeModule = `
self.$RefreshSig$ = () => {
  let status = 'begin';
  let savedType;
  return (type, key, forceReset, getCustomHooks) => {
    if (!savedType) savedType = type;
    status = self.${NAMESPACE}.sign(type || savedType, key, forceReset, getCustomHooks, status);
    return type;
  };
};
`;

I don't thoroughly understand how this works, but it seems that this is injected as a string and eval'ed or something?
I was wondering if you had some advice on how to get this to transpile for IE11? I've tried to use next-transpile-modules on the @prefresh packages, but that didn't get it to work.
Getting this to work would really help us work on bugs in IE11 with a smaller feedback loop (as opposed to running a build for every change).
If you want to incorporate this into prefresh and can point me in the right direction, I'd love to contribute with a PR.

I guess we'd need to have to write this to be conforming to old syntax, this won't be picked up by transpilation as it's a loader-injected bit.


Bump peg to retry ssh commands

What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

This doesn't make sense. Closing.


pull request for e2e test at 12/09/2016 09:56:03

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Unable to Push - Get Message: UPDATE_FAILED ... Parameters: [authProviders] must have values

Before opening, please confirm:

[X] I have checked to see if my question is addressed in the FAQ.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

App Id
d30fzi40a51bhx
Region
us-east-1
Amplify Console feature
Backend builds
Describe the bug
I made a few minor changes to a GraphQL schema we have pushed many times in the past, and ran amplify push.  That resulted in the failure shown below, followed by a cloud formation rollback.
UPDATE_FAILED               authvepwebae8b813dae8b813d AWS::CloudFormation::Stack Sat May 15 2021 14:02:43 GMT-0400 (Eastern Daylight Time) Parameters: [authProviders] must have values
Not sure if this is related, but I had just upgraded the amplify CLI to version 4.51.0 before I saw this error the first time.
Also, in case it's related somehow - One of my colleagues said he attempted to push an auth only change in the last several days as well, but it failed.  I don't have the exact error message, but he said he didn't check in anything related to that.
Full console output is included in additional details.  Thanks for your help!
Expected behavior
Push to complete, updating the GraphQL resources in App Sync
Reproduction steps

run npm i -g @aws-amplify/cli to get version 4.51.0 (not sure if this is related), but it is a step I took
run amplify push
confirm push, and say yes to all prompts to re-generare and over-write

Build Settings
amplify\backend\api\vepapi\build\parameters.json

{
    "CreateAPIKey": 1,
    "AppSyncApiName": "vepapi",
    "DynamoDBBillingMode": "PAY_PER_REQUEST",
    "DynamoDBEnableServerSideEncryption": false,
    "AuthCognitoUserPoolId": {
        "Fn::GetAtt": [
            "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
            "Outputs.UserPoolId"
        ]
    },
    "S3DeploymentBucket": "amplify-xxxxxxxxxxxxxxxxxxxxxx",
    "S3DeploymentRootKey": "amplify-appsync-files/xxxxxxxxxxxxxxxxxxxxx"
}

Additional information
Console Output

amplify push
√ Successfully pulled backend environment dev from the cloud.

Current Environment: dev

Category
Resource name
Operation
Provider plugin

Api
vepapi
Update
awscloudformation

Auth
userPoolGroups
No Change
awscloudformation

Auth
vepwebae8b813dae8b813d
No Change
awscloudformation

? Are you sure you want to continue? Yes

GraphQL schema compiled successfully.
Edit your schema at C:\...\schema.graphql or place .graphql files in a directory at C:\...\schema
? Do you want to update code for your updated GraphQL API Yes
? Do you want to generate GraphQL statements (queries, mutations and subscription) based on your schema types?
This will overwrite your current graphql queries, mutations and subscriptions Yes
\ Updating resources in the cloud. This may take a few minutes...

UPDATE_IN_PROGRESS amplify-vepweb-dev-195208 AWS::CloudFormation::Stack Sat May 15 2021 14:02:37 GMT-0400 (Eastern Daylight Time) User Initiated
| Updating resources in the cloud. This may take a few minutes...

UPDATE_IN_PROGRESS          authuserPoolGroups         AWS::CloudFormation::Stack Sat May 15 2021 14:02:43 GMT-0400 (Eastern Daylight Time)

UPDATE_IN_PROGRESS          authvepwebae8b813dae8b813d AWS::CloudFormation::Stack Sat May 15 2021 14:02:43 GMT-0400 (Eastern Daylight Time)

UPDATE_COMPLETE             authuserPoolGroups         AWS::CloudFormation::Stack Sat May 15 2021 14:02:43 GMT-0400 (Eastern Daylight Time)

UPDATE_FAILED               authvepwebae8b813dae8b813d AWS::CloudFormation::Stack Sat May 15 2021 14:02:43 GMT-0400 (Eastern Daylight Time) Parameters: [authProviders] must have values

UPDATE_ROLLBACK_IN_PROGRESS amplify-vepweb-dev-195208  AWS::CloudFormation::Stack Sat May 15 2021 14:02:44 GMT-0400 (Eastern Daylight Time) The following resource(s) failed to update: [authvepwebae8b813dae8b813d].
\ Updating resources in the cloud. This may take a few minutes...

UPDATE_COMPLETE authvepwebae8b813dae8b813d AWS::CloudFormation::Stack Sat May 15 2021 14:03:02 GMT-0400 (Eastern Daylight Time)
/ Updating resources in the cloud. This may take a few minutes...Error updating cloudformation stack

UPDATE_IN_PROGRESS                           authuserPoolGroups         AWS::CloudFormation::Stack Sat May 15 2021 14:03:03 GMT-0400 (Eastern Daylight Time)
UPDATE_COMPLETE                              authuserPoolGroups         AWS::CloudFormation::Stack Sat May 15 2021 14:03:03 GMT-0400 (Eastern Daylight Time)
UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS amplify-vepweb-dev-195208  AWS::CloudFormation::Stack Sat May 15 2021 14:03:04 GMT-0400 (Eastern Daylight Time)
UPDATE_COMPLETE                              authvepwebae8b813dae8b813d AWS::CloudFormation::Stack Sat May 15 2021 14:03:06 GMT-0400 (Eastern Daylight Time)
UPDATE_COMPLETE                              authuserPoolGroups         AWS::CloudFormation::Stack Sat May 15 2021 14:03:06 GMT-0400 (Eastern Daylight Time)
UPDATE_ROLLBACK_COMPLETE                     amplify-vepweb-dev-195208  AWS::CloudFormation::Stack Sat May 15 2021 14:03:06 GMT-0400 (Eastern Daylight Time)

Following resources failed

× An error occurred when pushing the resources to the cloud

Resource is not in the state stackUpdateComplete
An error occurred during the push operation: Resource is not in the state stackUpdateComplete

This is now working again.
My colleague had run an update auth to add a pre-signup lamda trigger, which had failed and he hadn't done anything else with it since.  He didn't check in anything related to it, and didn't think it would cause any issues since it wasn't successful.
He ran an update auth again today with the pre-signup trigger left out, then ran amplify remove on the function, and then ran amplify push again.
That push ran successfully for him, and now pushes are running successfully for me again as well.  We're both still a little confused as to the root cause of this issue, and would appreciate any insight since we need to try to get that lambda function added back again.

Hi, thanks for raising. I'm going to transfer to the Amplify CLI repo to get some more eyes on it.


pass field type to $queryBuilder->setParameter()

If you use custom type for identifier (e.g. uuid_binary https://github.com/ramsey/uuid-doctrine) single entity won't be found by id

Coverage remained the same at 51.143% when pulling 2b724695aa509b538c959de8bce675aceca4fb4c on AdMeGroup:specify-field-type into 689a9aacafe9a691229231a2cfd3fcdbdcfea0c0 on zfcampus:master.

@webimpress

@gegok Can you add please test case for it? Thanks!


How do I setup an existing custom ERC20 token as the native gas token?

Setting up an existing custom ERC20 token as the native token
Description
I'd like some help with setting a custom ERC20 that already exists in the rootchain as the native gas token in the supernets for both use cases:

For minting this token directly on the supernets.
For bridging this token from the rootchain to supernets and vice-versa.

Is there a documentation any of you could point me to? If not, could you please document a short example of how to get this to work, in this thread?
Your environment

Polygon Edge v1.0.0-rc1
Branch: tags/v1.0.0-rc1

Hey @giovanni-pucci, this is how we can configure the existing rootchain ERC20 token to act as a native token on the Supernets.

when bootstrapping Supernets, run the rootchain deploy command and provide the existing rootchain ERC20 token via the --erc20-token flag. This will automatically map the existing rootchain ERC20 token to the native token (which means that the native token on the Supernets is basically a child token to the existing rootchain token).
run bridge deposit-erc20 CLI command. Provide a --root-token flag with the address of the existing rootchain ERC20 token (the same one provided in the 1st step). Also, provide an actual address for --root-predicate (it should be the address of RootERC20Predicate), --json-rpc URL that points to the rootchain node, --private-key of an account which makes bridge transaction, etc.

For minting this token directly on the supernets.

Bear in mind, that if using this approach, then minting a native token independently from the bridge workflow is not allowed, since it could create a disbalance between the total supply of the token on the rootchain compared to the native token supply Supernets (since you could mint it more than the total supply on the rootchain is).

Hi @Stefan-Ethernal thanks for the clarification.
Is the deposit --erc20-token command intended solely for this condition where the native Supernet token is mapped with a Rootchain ERC20?

Is the deposit --erc20-token command intended solely for this condition where the native Supernet token is mapped with a Rootchain ERC20?

If you are referring to the bridge deposit-erc20, it can be used for depositing arbitrary erc20 tokens. When some token is deposited for the first time, it is going to be mapped automatically on the root chain and the child chain.
On the other hand if you were referring to the rootchain deploy command, by providing --erc20-token, indeed that one is mapped to the native non-mintable Supernets token.

@Stefan-Ethernal I tried mentioning --erc20-token and received the following error:
Command:
./polygon-edge rootchain deploy --deployer-key $DEPLOYER_KEY --stake-manager $STAKE_MANAGER --stake-token $ROOTCHAIN_STAKE_TOKEN --erc20-token $ROOTCHAIN_PARENT_TOKEN --genesis ./genesis.json $ROOTCHAIN_RPC

Output:
Error: if child chain native token is mintable, root native token must not pre-exist on root chain

According to the error the native token must not pre-exist on the rootchain. Does pre-exist imply that the totalSupply() must be 0 or that the contract must not be deployed at all? I have used a mintable ERC20 on the rootchain without any supply.
Kindly let me know if I have made a mistake,
Regards!


embedart: try extracting from items until success

Don't stop at the first item but try them all.
Fix #1261

Good call. Even if #1261 remains a feature request, let's make this change anyway.


Backend

Doesn't seem to have backend codebase repo, is it not open source?

Unfortunately our primary API is not open source. However many of our backend services are open source and available on our org page. We are always moving more logic into the open source repos.


Setting cloud build number breaks AppVeyor link

At the moment, AppVeyor status check report a link that contains the version.  After the version is changed (via GitVersioning or any other mechanism), the link is not updated and so when you click on the links in a GitHub pull request you get a 404.
This is a bug in AppVeyor, https://github.com/appveyor/ci/issues/1074, and has been open for almost 2 years.  It could be worked around in Nerdbank.GitVersioning by calling a REST API.  I'd like to code that up if you'd be open to the contribution.  It would essentially do what this workaround does: https://gist.github.com/IlyaFinkelshteyn/def2394231afb7f06dcaeaceda1fb1ae

That would be fantastic, @jeffkl. Can you write the workaround in C# in our AppVeyor class?

Yes I'll code that up, thanks!

I have a question about this.  When a repository is building in a hosted build environment and GitVersioning is used for every project, does it update the build number N number of times?  For AppVeyor that would mean calling AppVeyor UpdateBuild -Version 1.0.0 a lot.  That might not matter since they could have a cache and not actually update anything if nothing has changed, but I won't want to call the GitHub web service hundreds of times during a build.  I could make something static and it would only be called once per MSBuild.exe which for multi-proc builds would be once per proc count.
Or is there a mechanism I'm missing that only updates the cloud build number once per build?

@jeffkl I think this is what you're looking for? https://github.com/AArnott/Nerdbank.GitVersioning/blob/master/doc/cloudbuild.md#set-cloud-build-variables-from-just-one-project

@jeffkl: You should fully code up the process without regard to avoiding duplicates through static fields or whatever. Some repos have different version numbers for different projects, and arrange the build such that the last project to build sets the cloud build number that matters. Of course the link that @tzachshabtay provided contains the best recommendation and what folks should use who want to avoid setting the cloud build number hundreds of times. For most repos though, setting the build number a few times isn't an issue. I've never seen it be an issue myself, except where there were multiple version.json files and the build number kept changing, which is why we now have the inherit property support.

It turns out the workaround led me astray.  There is no magical GitHub token available to an AppVeyor build that I could find.  Users would have to manually generate an API token and place it in their build to get this to work.  I don't think that's a very good workaround.  The link is only broken until the build completes so we'll have to live with it until AppVeyor fixes it.

Thanks for looking into it, @jeffkl


feat(icons): update source storage folder for v1 icons and add v2 source icons

will redo after massive source branch updates


Spanner: Update Libraries-bom 5.4.0 --> 5.7.0 lots of missing methods

Based on #2951
@elharo FYI - you might need to do a major revision on the bom, this is breaking stuff.
@olavloite @skuruppu PTAL
------------------------------------------------------------
- testing spanner/leaderboard/step5
------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/leaderboard/step5/src/main/java/com/google/codelabs/App.java:[21,38] package com.google.api.gax.longrunning does not exist
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/leaderboard/step5/src/main/java/com/google/codelabs/App.java:[34,44] package com.google.spanner.admin.database.v1 does not exist
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/leaderboard/step5/src/main/java/com/google/codelabs/App.java:[63,5] cannot find symbol
  symbol:   class OperationFuture
  location: class com.google.codelabs.App
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/leaderboard/step5/src/main/java/com/google/codelabs/App.java:[63,31] cannot find symbol
  symbol:   class CreateDatabaseMetadata
  location: class com.google.codelabs.App
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/leaderboard/step5/src/main/java/com/google/codelabs/App.java:[64,37] cannot access com.google.api.gax.longrunning.OperationFuture
  class file for com.google.api.gax.longrunning.OperationFuture not found
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/leaderboard/step5/src/main/java/com/google/codelabs/App.java:[85,13] cannot access com.google.cloud.grpc.BaseGrpcServiceException
  class file for com.google.cloud.grpc.BaseGrpcServiceException not found
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/leaderboard/step5/src/main/java/com/google/codelabs/App.java:[89,7] incompatible types: com.google.cloud.spanner.SpannerException cannot be converted to java.lang.Throwable
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/leaderboard/step5/src/main/java/com/google/codelabs/App.java:[140,25] cannot access com.google.cloud.Date
  class file for com.google.cloud.Date not found
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/leaderboard/step5/src/main/java/com/google/codelabs/App.java:[196,25] cannot access com.google.cloud.Timestamp
  class file for com.google.cloud.Timestamp not found
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/leaderboard/step5/src/main/java/com/google/codelabs/App.java:[242,44] cannot access com.google.cloud.ServiceOptions
  class file for com.google.cloud.ServiceOptions not found
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/leaderboard/step5/src/main/java/com/google/codelabs/App.java:[243,30] cannot find symbol
  symbol:   method getService()
  location: variable options of type com.google.cloud.spanner.SpannerOptions
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/leaderboard/step5/src/main/java/com/google/codelabs/App.java:[246,44] cannot find symbol
  symbol:   method getProjectId()
  location: variable options of type com.google.cloud.spanner.SpannerOptions
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/leaderboard/step5/src/main/java/com/google/codelabs/App.java:[247,40] cannot access com.google.cloud.Service
  class file for com.google.cloud.Service not found
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project leaderboard: Compilation failure: Compilation failure:
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/leaderboard/step5/src/main/java/com/google/codelabs/App.java:[21,38] package com.google.api.gax.longrunning does not exist
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/leaderboard/step5/src/main/java/com/google/codelabs/App.java:[34,44] package com.google.spanner.admin.database.v1 does not exist
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/leaderboard/step5/src/main/java/com/google/codelabs/App.java:[63,5] cannot find symbol
[ERROR]   symbol:   class OperationFuture
[ERROR]   location: class com.google.codelabs.App
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/leaderboard/step5/src/main/java/com/google/codelabs/App.java:[63,31] cannot find symbol
[ERROR]   symbol:   class CreateDatabaseMetadata
[ERROR]   location: class com.google.codelabs.App
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/leaderboard/step5/src/main/java/com/google/codelabs/App.java:[64,37] cannot access com.google.api.gax.longrunning.OperationFuture
[ERROR]   class file for com.google.api.gax.longrunning.OperationFuture not found
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/leaderboard/step5/src/main/java/com/google/codelabs/App.java:[85,13] cannot access com.google.cloud.grpc.BaseGrpcServiceException
[ERROR]   class file for com.google.cloud.grpc.BaseGrpcServiceException not found
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/leaderboard/step5/src/main/java/com/google/codelabs/App.java:[89,7] incompatible types: com.google.cloud.spanner.SpannerException cannot be converted to java.lang.Throwable
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/leaderboard/step5/src/main/java/com/google/codelabs/App.java:[140,25] cannot access com.google.cloud.Date
[ERROR]   class file for com.google.cloud.Date not found
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/leaderboard/step5/src/main/java/com/google/codelabs/App.java:[196,25] cannot access com.google.cloud.Timestamp
[ERROR]   class file for com.google.cloud.Timestamp not found
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/leaderboard/step5/src/main/java/com/google/codelabs/App.java:[242,44] cannot access com.google.cloud.ServiceOptions
[ERROR]   class file for com.google.cloud.ServiceOptions not found
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/leaderboard/step5/src/main/java/com/google/codelabs/App.java:[243,30] cannot find symbol
[ERROR]   symbol:   method getService()
[ERROR]   location: variable options of type com.google.cloud.spanner.SpannerOptions
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/leaderboard/step5/src/main/java/com/google/codelabs/App.java:[246,44] cannot find symbol
[ERROR]   symbol:   method getProjectId()
[ERROR]   location: variable options of type com.google.cloud.spanner.SpannerOptions
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/leaderboard/step5/src/main/java/com/google/codelabs/App.java:[247,40] cannot access com.google.cloud.Service
[ERROR]   class file for com.google.cloud.Service not found
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

 Testing failed: Maven returned a non-zero exit code.

------------------------------------------------------------
- testing spanner/leaderboard/step6
------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/leaderboard/step6/src/main/java/com/google/codelabs/App.java:[21,38] package com.google.api.gax.longrunning does not exist
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/leaderboard/step6/src/main/java/com/google/codelabs/App.java:[34,44] package com.google.spanner.admin.database.v1 does not exist
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/leaderboard/step6/src/main/java/com/google/codelabs/App.java:[64,5] cannot find symbol
  symbol:   class OperationFuture
  location: class com.google.codelabs.App
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/leaderboard/step6/src/main/java/com/google/codelabs/App.java:[64,31] cannot find symbol
  symbol:   class CreateDatabaseMetadata
  location: class com.google.codelabs.App
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/leaderboard/step6/src/main/java/com/google/codelabs/App.java:[65,37] cannot access com.google.api.gax.longrunning.OperationFuture
  class file for com.google.api.gax.longrunning.OperationFuture not found
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/leaderboard/step6/src/main/java/com/google/codelabs/App.java:[86,13] cannot access com.google.cloud.grpc.BaseGrpcServiceException
  class file for com.google.cloud.grpc.BaseGrpcServiceException not found
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/leaderboard/step6/src/main/java/com/google/codelabs/App.java:[90,7] incompatible types: com.google.cloud.spanner.SpannerException cannot be converted to java.lang.Throwable
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/leaderboard/step6/src/main/java/com/google/codelabs/App.java:[141,25] cannot access com.google.cloud.Date
  class file for com.google.cloud.Date not found
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/leaderboard/step6/src/main/java/com/google/codelabs/App.java:[197,25] cannot access com.google.cloud.Timestamp
  class file for com.google.cloud.Timestamp not found
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/leaderboard/step6/src/main/java/com/google/codelabs/App.java:[250,13] cannot access com.google.cloud.ByteArray
  class file for com.google.cloud.ByteArray not found
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/leaderboard/step6/src/main/java/com/google/codelabs/App.java:[290,44] cannot access com.google.cloud.ServiceOptions
  class file for com.google.cloud.ServiceOptions not found
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/leaderboard/step6/src/main/java/com/google/codelabs/App.java:[291,30] cannot find symbol
  symbol:   method getService()
  location: variable options of type com.google.cloud.spanner.SpannerOptions
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/leaderboard/step6/src/main/java/com/google/codelabs/App.java:[294,44] cannot find symbol
  symbol:   method getProjectId()
  location: variable options of type com.google.cloud.spanner.SpannerOptions
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/leaderboard/step6/src/main/java/com/google/codelabs/App.java:[295,40] cannot access com.google.cloud.Service
  class file for com.google.cloud.Service not found
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project leaderboard: Compilation failure: Compilation failure:
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/leaderboard/step6/src/main/java/com/google/codelabs/App.java:[21,38] package com.google.api.gax.longrunning does not exist
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/leaderboard/step6/src/main/java/com/google/codelabs/App.java:[34,44] package com.google.spanner.admin.database.v1 does not exist
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/leaderboard/step6/src/main/java/com/google/codelabs/App.java:[64,5] cannot find symbol
[ERROR]   symbol:   class OperationFuture
[ERROR]   location: class com.google.codelabs.App
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/leaderboard/step6/src/main/java/com/google/codelabs/App.java:[64,31] cannot find symbol
[ERROR]   symbol:   class CreateDatabaseMetadata
[ERROR]   location: class com.google.codelabs.App
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/leaderboard/step6/src/main/java/com/google/codelabs/App.java:[65,37] cannot access com.google.api.gax.longrunning.OperationFuture
[ERROR]   class file for com.google.api.gax.longrunning.OperationFuture not found
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/leaderboard/step6/src/main/java/com/google/codelabs/App.java:[86,13] cannot access com.google.cloud.grpc.BaseGrpcServiceException
[ERROR]   class file for com.google.cloud.grpc.BaseGrpcServiceException not found
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/leaderboard/step6/src/main/java/com/google/codelabs/App.java:[90,7] incompatible types: com.google.cloud.spanner.SpannerException cannot be converted to java.lang.Throwable
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/leaderboard/step6/src/main/java/com/google/codelabs/App.java:[141,25] cannot access com.google.cloud.Date
[ERROR]   class file for com.google.cloud.Date not found
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/leaderboard/step6/src/main/java/com/google/codelabs/App.java:[197,25] cannot access com.google.cloud.Timestamp
[ERROR]   class file for com.google.cloud.Timestamp not found
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/leaderboard/step6/src/main/java/com/google/codelabs/App.java:[250,13] cannot access com.google.cloud.ByteArray
[ERROR]   class file for com.google.cloud.ByteArray not found
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/leaderboard/step6/src/main/java/com/google/codelabs/App.java:[290,44] cannot access com.google.cloud.ServiceOptions
[ERROR]   class file for com.google.cloud.ServiceOptions not found
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/leaderboard/step6/src/main/java/com/google/codelabs/App.java:[291,30] cannot find symbol
[ERROR]   symbol:   method getService()
[ERROR]   location: variable options of type com.google.cloud.spanner.SpannerOptions
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/leaderboard/step6/src/main/java/com/google/codelabs/App.java:[294,44] cannot find symbol
[ERROR]   symbol:   method getProjectId()
[ERROR]   location: variable options of type com.google.cloud.spanner.SpannerOptions
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/leaderboard/step6/src/main/java/com/google/codelabs/App.java:[295,40] cannot access com.google.cloud.Service
[ERROR]   class file for com.google.cloud.Service not found
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

 Testing failed: Maven returned a non-zero exit code.

------------------------------------------------------------
- testing appengine-java11/spanner
------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[ERROR] /tmpfs/src/github/java-docs-samples/appengine-java11/spanner/src/main/java/com/example/appengine/spanner/SpannerTasks.java:[28,30] package com.google.common.base does not exist
[ERROR] /tmpfs/src/github/java-docs-samples/appengine-java11/spanner/src/main/java/com/example/appengine/spanner/SpannerClient.java:[55,44] cannot access com.google.cloud.ServiceOptions
  class file for com.google.cloud.ServiceOptions not found
[ERROR] /tmpfs/src/github/java-docs-samples/appengine-java11/spanner/src/main/java/com/example/appengine/spanner/SpannerClient.java:[56,25] cannot find symbol
  symbol:   method getProjectId()
  location: variable options of type com.google.cloud.spanner.SpannerOptions
[ERROR] /tmpfs/src/github/java-docs-samples/appengine-java11/spanner/src/main/java/com/example/appengine/spanner/SpannerClient.java:[57,22] cannot find symbol
  symbol:   method getService()
  location: variable options of type com.google.cloud.spanner.SpannerOptions
[ERROR] /tmpfs/src/github/java-docs-samples/appengine-java11/spanner/src/main/java/com/example/appengine/spanner/SpannerClient.java:[58,34] cannot access com.google.cloud.Service
  class file for com.google.cloud.Service not found
[ERROR] /tmpfs/src/github/java-docs-samples/appengine-java11/spanner/src/main/java/com/example/appengine/spanner/SpannerTasks.java:[120,28] cannot access com.google.api.gax.longrunning.OperationFuture
  class file for com.google.api.gax.longrunning.OperationFuture not found
[ERROR] /tmpfs/src/github/java-docs-samples/appengine-java11/spanner/src/main/java/com/example/appengine/spanner/SpannerTasks.java:[132,15] cannot access com.google.cloud.Date
  class file for com.google.cloud.Date not found
[ERROR] /tmpfs/src/github/java-docs-samples/appengine-java11/spanner/src/main/java/com/example/appengine/spanner/SpannerTasks.java:[143,15] cannot access com.google.cloud.ByteArray
  class file for com.google.cloud.ByteArray not found
[ERROR] /tmpfs/src/github/java-docs-samples/appengine-java11/spanner/src/main/java/com/example/appengine/spanner/SpannerTasks.java:[384,5] cannot find symbol
  symbol:   class Stopwatch
  location: class com.example.appengine.spanner.SpannerTasks
[ERROR] /tmpfs/src/github/java-docs-samples/appengine-java11/spanner/src/main/java/com/example/appengine/spanner/SpannerTasks.java:[384,27] cannot find symbol
  symbol:   variable Stopwatch
  location: class com.example.appengine.spanner.SpannerTasks
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project appengine-spanner-j11: Compilation failure: Compilation failure:
[ERROR] /tmpfs/src/github/java-docs-samples/appengine-java11/spanner/src/main/java/com/example/appengine/spanner/SpannerTasks.java:[28,30] package com.google.common.base does not exist
[ERROR] /tmpfs/src/github/java-docs-samples/appengine-java11/spanner/src/main/java/com/example/appengine/spanner/SpannerClient.java:[55,44] cannot access com.google.cloud.ServiceOptions
[ERROR]   class file for com.google.cloud.ServiceOptions not found
[ERROR] /tmpfs/src/github/java-docs-samples/appengine-java11/spanner/src/main/java/com/example/appengine/spanner/SpannerClient.java:[56,25] cannot find symbol
[ERROR]   symbol:   method getProjectId()
[ERROR]   location: variable options of type com.google.cloud.spanner.SpannerOptions
[ERROR] /tmpfs/src/github/java-docs-samples/appengine-java11/spanner/src/main/java/com/example/appengine/spanner/SpannerClient.java:[57,22] cannot find symbol
[ERROR]   symbol:   method getService()
[ERROR]   location: variable options of type com.google.cloud.spanner.SpannerOptions
[ERROR] /tmpfs/src/github/java-docs-samples/appengine-java11/spanner/src/main/java/com/example/appengine/spanner/SpannerClient.java:[58,34] cannot access com.google.cloud.Service
[ERROR]   class file for com.google.cloud.Service not found
[ERROR] /tmpfs/src/github/java-docs-samples/appengine-java11/spanner/src/main/java/com/example/appengine/spanner/SpannerTasks.java:[120,28] cannot access com.google.api.gax.longrunning.OperationFuture
[ERROR]   class file for com.google.api.gax.longrunning.OperationFuture not found
[ERROR] /tmpfs/src/github/java-docs-samples/appengine-java11/spanner/src/main/java/com/example/appengine/spanner/SpannerTasks.java:[132,15] cannot access com.google.cloud.Date
[ERROR]   class file for com.google.cloud.Date not found
[ERROR] /tmpfs/src/github/java-docs-samples/appengine-java11/spanner/src/main/java/com/example/appengine/spanner/SpannerTasks.java:[143,15] cannot access com.google.cloud.ByteArray
[ERROR]   class file for com.google.cloud.ByteArray not found
[ERROR] /tmpfs/src/github/java-docs-samples/appengine-java11/spanner/src/main/java/com/example/appengine/spanner/SpannerTasks.java:[384,5] cannot find symbol
[ERROR]   symbol:   class Stopwatch
[ERROR]   location: class com.example.appengine.spanner.SpannerTasks
[ERROR] /tmpfs/src/github/java-docs-samples/appengine-java11/spanner/src/main/java/com/example/appengine/spanner/SpannerTasks.java:[384,27] cannot find symbol
[ERROR]   symbol:   variable Stopwatch
[ERROR]   location: class com.example.appengine.spanner.SpannerTasks
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

 Testing failed: Maven returned a non-zero exit code.

I can confirm this locally as well, but it does not seem to be (directly) related to the new BOM. I've been trying with a number of different version combinations:
Java11

libraries-bom: 5.7, shared-configuration: 1.0.18: Fails
libraries-bom: 5.4, shared-configuration: 1.0.18: Fails
libraries-bom: 5.7, shared-configuration: 1.0.17: Fails
libraries-bom: 5.4, shared-configuration: 1.0.17: Fails

Java8

libraries-bom: 5.7, shared-configuration: 1.0.18: Succeeds
libraries-bom: 5.4, shared-configuration: 1.0.18: Succeeds
libraries-bom: 5.7, shared-configuration: 1.0.17: Succeeds
libraries-bom: 5.4, shared-configuration: 1.0.17: Succeeds

The problem seems to be caused by the following:

Spanner now uses a flattened pom which lists all dependencies explicitly, including all versions.
It also contains a profile for JDK9 and higher. Apparently, the dependency that is included through that profile is not picked up by the process that flattens the pom, which means that the flattened pom is invalid, as it does not specify a version for that dependency.


ComboBox SelectedIndex does not update from binding ViewModel

Describe the bug

TransitioningContentControl with ViewLocator has successful only SelectedIndex of ComboBox.
(below were not successful)

SelectedItem
SelectedValue
SelectedValueBinding

Next, I tried updating the screen by changing the Index from the ViewModel.
This challenge was successful and I was able to confirm that the screen was updated. but I noticed that the combobox itself was not updating accordingly.

To Reproduce
Steps to reproduce the behavior:

git clone https://github.com/rtazaki/ComboboxTransitionIssueTest
build and run (.Desktop)
ComboBox changed 111 <--> 222 : "One." <---> "Two!"
Click on Button (TransitioningContentControl: "One." <---> "Two!")

Expected behavior
Combobox does changed.
Environment

OS: Windows 10 (maybe 11)
.NET 8.0 (maybe 7.0)
Avalonia-Version: 11.0.6
ReactiveUI.Fody: 19.5.39 (latest)

I am not seeing a combobox anywhere in your code?

I am not seeing a combobox anywhere in your code?
MainView.axaml

    <DockPanel>
        <DockPanel DockPanel.Dock="Top">
            <ComboBox ItemsSource="{Binding PageNames}" SelectedIndex="{Binding PageIndex}">
                <ComboBox.ItemTemplate>
                    <DataTemplate>
                        <TextBlock Text="{Binding Name}" />
                    </DataTemplate>
                </ComboBox.ItemTemplate>
            </ComboBox>
            <Button Command="{Binding TransitionfromViewModel}" Content="ViewModelから遷移したとき、コンボボックスが切り替わらない。(画面遷移自体は成功している。)" />
        </DockPanel>
        <TransitioningContentControl Content="{Binding CurrentPage}" DockPanel.Dock="Top" />
    </DockPanel>

PageIndex is not "Reactive", means it will not notify the UI about changes.

PageIndex is not "Reactive", means it will not notify the UI about changes.

I understood. Added RaiseAndSetIfChanged to PageIndex.

By the way, since this issue wasn't actually an issue, should it be labeled as a "by-design" rather than a bug?
And can the report author simply close this ticket?

@rtazaki I can label it by-design, sure. But you as the author are allowed to close the issue 👍
Also we have a telegram chat and Discussions for questions.


Header section Font sizes are too small.

In header section each and every letter is looking too small.

Changed the font size 20 to 40.

After changing the font size.


Default board isn't updated when that board has been unplugged

I bought a china clone pyboard (fake_pyb) and was having problems with is disconnecting when i moved it.  I thinks there's a faulty USB connector. I unplugged it from my laptop and got an official pyboard to continue.
when i type ls /sd the default pyboard is still set to fake_pyb and i get the rshell error "serial port fake_pyb closed"
I have to exit and restart rshell for the official pyboard to be reconginsed as te default

This is actually intentional, but there was a bug that was fixed in 1277d1d0c89b07186e6747cb7c7faa703352f4fb
Now, if you have 2 pyboards plugged in and you issue the boards command you'll see:
pyboard   @ /dev/ttyACM0 connected Epoch: 2000 Dirs: /flash /pyboard/flash
pyboard-2 @ /dev/ttyACM1 connected Epoch: 2000 Dirs: /pyboard-2/flash

and if the first one is unplugged then the boards command will show:
pyboard   @ /dev/ttyACM0 closed    Epoch: 2000 Dirs: /flash /pyboard/flash
pyboard-2 @ /dev/ttyACM1 connected Epoch: 2000 Dirs: /pyboard-2/flash

You can access the second boards filesystem by using /pyboard-2/flash and /pyboard-2/sd
The shortcuts for /flash and /sd apply to the first board listed in the boards output. If you were to plug that first board back in then /flash would continue to refer to that board.


[zero-copy] Add rewind and then_with combinators

Thanks! Reminds me, I really need to start working on error propagation.