RandomSplitter : TypeError: Can't instantiate abstract class WheatParser with abstract methods bboxes, labels

Hi Aditya,
RandomSplitter is not able to split the train and validation dataset properly from WheatParser. Could you please correct the format ( def filepath(self, o) -> Union[str, Path]:
return self.source / f"{o.image_id}.jpg"
) code from WheatParser class from https://www.kaggle.com/okeaditya/fastaiv2-pytorch-lightning-fasterrcnn

I am Looking into it. cc @lgvaz

I am able to replicate the issue. @lgvaz this was working previously. What is the recent change that we need to adopt ?
Below is the error when running
parser = WheatParser(df, source / "train")

RandomSplitter is working fine.
TypeError: Can't instantiate abstract class WheatParser with abstract methods bboxes, labels

Thanks @rashmimarganiatgithub for the bug !!!

This tutorial is gone way off track. The reason is so much change in the API and our codebase.  We would need some changes to make it run https://www.kaggle.com/okeaditya/fastaiv2-pytorch-lightning-fasterrcnn
It might take a while to revamp the kernel to make it work, We need some changes in the model too.
But the wheat parser will be fixed soon.

I have fixed the parser issue @rashmimarganiatgithub . The model might not work coz of a recent update.

The modifications to make it work with the new model API are very simple, can you work on that @oke-aditya ?
Also, you can now use COCOMetric =)

Yep. I will fix it up by tomorrow 😀 I was more concerned about parser. But that seems good.

Thanks @lgvaz and @oke-aditya  for a quick look, waiting for a fix and uprunning kernel to use this library. Please keep me posted only 10 days left to try out your library. Please make it as soon as possible.

@lgvaz looks like that contest is gonna end. I will fix it up and create one for efficient det as well. 😀 @rashmimarganiatgithub I am fixing it. I will tag you on Kaggle once I create a new version. It will be up before today 👍

@oke-aditya thanks for the quick response. Will it support for all range of efficientnetB0-B7?

Yes We use ross wightman's implementation of efficient Det. https://github.com/rwightman/efficientdet-pytorch
It supports a variety of backbones. Including all efficient net B0-b7. Also pre trained weights on COCO are available are for some.
I have tried in mantisshrimp once. Max I could train was b4 on Kaggle.

Hey, @rashmimarganiatgithub I have fixed up the notebook and Trained a faster rcnn resnet 152 FPN network too. It might help you to get a good score on LB. FRCNN is really good with Resnet 152 FPN. I have tested this and it works. I am attaching notebook here as well in case it doesn't show up in Kaggle. I have updated on Kaggle as well (if it doesn't show up do let me know) Happy Building. Below is a zip with ipynb code.
Fastaiv2+PyTorch Lightning FasterRCNN.zip
With mantis, you can train on Multiple gpus too. So do try that to win up the competition and best luck 👍

I guess we can add that above notebook as advanced guide.

@oke-aditya thanks much. I will now use it for other competition too. Hence I need to understand Randomsplitter. Could you please point me to the codebase.

@oke-aditya  thanks for the help

Here is the source code for Randomsplitter. Also all the code is in the mantisshrimp folder .
Feel free to use it and do let us know whenever you build something great / new with this. Just open an Issue for it. Or post in #125 .

@oke-aditya, Sure, I will keep you posted on the same.

@lgvaz @oke-aditya. Closing this issue. thanks for your good work.

@oke-aditya , can you please provide me mantisshrimp git repro code with .whl file. installing a package using online in contest is prohibited. Can you please make it quick.

Ok so I get the problem. I guess in the competition like Kaggle internet is disabled for submission. For that, you won't be able to install mantisshrimp from github.
Since this is built on PyTorch you don't need the entire repo. I Suggest you train a model with mantisshrimp in a training kernel. Save it in Kaggle datasets. Upload the mantisshrimp code in datasets.
In a new Inference, kernel Instantiate the model as you did while training. You need mantisshrimp codebase for that.  load_state_dict()  using torch to load the weights. And simply do the inference.
I am working to get the .whl file. As of now I am providing a zip of source code. Let me know if this works, I will provide wheel too.
mantisshrimp-master.zip

This has .whl and .tar.gz
dist.zip

yes, I already have a reference to that above-mentioned kernel. And already tried with mantisshrimp-master.zip file while creating inference kernel. However, Kaggle kernel supports only binarized code in offline for now.
here is the part of code from the inference code for training file.
import numpy as np # linear algebra
import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)
import sys
#!cp -r ../input/mantis/mantisshrimp-master/* .
sys.path.insert(0, "../input/mantis/mantisshrimp-master")
Here is the error
#from mantisshrimp.imports import *
from mantisshrimp import *
import pandas as pd
import albumentations as A

ModuleNotFoundError                       Traceback (most recent call last)
 in
1 #from mantisshrimp.imports import *
----> 2 from mantisshrimp import *
3 import pandas as pd
4 import albumentations as A
/kaggle/input/mantis/mantisshrimp-master/mantisshrimp/init.py in
----> 1 from mantisshrimp.utils import *
2 from mantisshrimp.core import *
3 from mantisshrimp.parsers import *
4 from mantisshrimp.data import *
5 from mantisshrimp.transforms import *
/kaggle/input/mantis/mantisshrimp-master/mantisshrimp/utils/init.py in
----> 1 from mantisshrimp.utils.utils import *
2 from mantisshrimp.utils.torch_utils import *
3 from mantisshrimp.utils.imageio import *
4 from mantisshrimp.utils.get_files import *
5 from mantisshrimp.utils.download_utils import *
/kaggle/input/mantis/mantisshrimp-master/mantisshrimp/utils/utils.py in
17 ]
18
---> 19 from mantisshrimp.imports import *
20
21
/kaggle/input/mantis/mantisshrimp-master/mantisshrimp/imports.py in
1 import cv2, json, torch, torchvision, dataclasses, zipfile
2
----> 3 from fastcore.imports import *
4 from fastcore.foundation import *
5 from fastcore.utils import *
ModuleNotFoundError: No module named 'fastcore'

This has .whl and .tar.gz
dist.zip

thanks much.

@oke-aditya  , code is breaking after installing the package here is the error

NameError                                 Traceback (most recent call last)
 in
----> 1 from mantisshrimp.models.rcnn.faster_rcnn import *
2 from mantisshrimp.models.rcnn import *
/opt/conda/lib/python3.7/site-packages/mantisshrimp/init.py in
----> 1 from mantisshrimp.utils import *
2 from mantisshrimp.core import *
3 from mantisshrimp.parsers import *
4 from mantisshrimp.data import *
5 from mantisshrimp.transforms import *
/opt/conda/lib/python3.7/site-packages/mantisshrimp/utils/init.py in
5 from mantisshrimp.utils.download_utils import *
6 from mantisshrimp.utils.data_dir import *
----> 7 from mantisshrimp.utils.soft_dependencies import *
8 from mantisshrimp.utils.capture_stdout import *
/opt/conda/lib/python3.7/site-packages/mantisshrimp/utils/soft_dependencies.py in
2
3 try:
----> 4     import fastai2.vision.all as fastai
5
6     HAS_FASTAI = True
/opt/conda/lib/python3.7/site-packages/fastai2/vision/all.py in
----> 1 from ..basics import *
2 from ..callback.all import *
3 from .augment import *
4 from .core import *
5 from .data import *
/opt/conda/lib/python3.7/site-packages/fastai2/basics.py in
----> 1 from .data.all import *
2 from .optimizer import *
3 from .callback.core import *
4 from .learner import *
5 from .metrics import *
/opt/conda/lib/python3.7/site-packages/fastai2/data/all.py in
----> 1 from ..torch_basics import *
2 from .core import *
3 from .load import *
4 from .external import *
5 from .transforms import *
/opt/conda/lib/python3.7/site-packages/fastai2/torch_basics.py in
3 from .torch_imports import *
4 from .torch_core import *
----> 5 from .layers import *
/opt/conda/lib/python3.7/site-packages/fastai2/layers.py in
271
272 # Cell
--> 273 @log_args
274 class BaseLoss():
275     "Same as loss_cls, but flattens input and target."
NameError: name 'log_args' is not defined

@rashmimarganiatgithub have a look at #222. Let us fix it there. I have commented on one of the solutions and why it isn't working as of now.

@rashmimarganiatgithub Can you provide us with a reproducer for the error?
I do not currently understand why you're getting that error, you can maybe provide us with a colab/kaggle notebook that gives the error and then we try to fix it.

This is now being tracked at #222


Add keyword safe list for editor identifier replacements

Today if you type @B and autocomplete it with a . to @base. you will not get IntelliSense because Razor picks up the change as a replacement that resulted in a CSharp keyword. We can special case specific keywords that wont require full re-parses (will provide IntelliSense).
The list that comes to mind is:
"this",
"base",
"true",
"false",
"byte",
"short",
"ushort",
"float",
"uint",
"double",
"object",
"sbyte",
"decimal",
"string",
"ulong",
"bool",
"char",
"long",
"int",

@NTaylorMullen - what's the relative priority of this?

@rynowak Not game changing but should be done once we have time for polish. Users don't typically type one of these reserved keywords and auto-complete them with a dot.

I'm parking this in the backlog then until we have a good reason to do it.

Closing until we get a complaint


Update pipelines to checkout v4 and Python 3.11

Something needs to be adjusted in hisim.json_executor.JsonExecutor since it is not working with Pyton 3.11.

This adds a skip for the JsonExecutor test, see

This solves #296

Done in #300


TV shows broken after last update

Pulsar automatically updated some time last week (I was away) and since then I am no longer able to play TV shows. Movies work as expected.
I know of at least one other case of this problem, the user maggigisla reported having the same problem in the Pulsar thread on the Kodi forum.
Exact steps to reproduce:

Open up Pulsar.
Select TV shows.
Select a category (does not matter which).
Select the TV show.

What happens:
When selecting the TV show nothing happens, sometimes Kodi shows a popup saying "Working". The same thing happens when trying to open a TV show through the Favourites menu.
Expected behaviour
When selecting a TV show the user should be presented with a menu where he can select a TV show season.
I have enabled debug logging and uploaded it Here. This part of the log shows what happens in the moment a TV show is selected.
Please contact me through my Github accout if more information is needed.

I should add that I have tried clearing the cache using the configuration menu option, and I have completely uninstalled both Pulsar and all providers (including manually deleting any residual files from ~/.kodi) to no avail.

It might be some similaritys to the menu bug also, in video menu all subcategories like action, sci-fi, comedy is not visible by text, buth the icon and menu entrys work.

I am not affected by anything like that. All the menus look
fine and the categories show both text and the icon. I think I had a similar
problem earlier though. I solved that by cleaning Pulsars cache.

I tried to revert to version 0.4.7 and TV Shows works again.

No its a bug, cleaning cache does not solve it. By the way are you familiar with the files that clean function is removing? Then you know its not possible to clean cache to get the menu text working.
-------- Opprinnelig melding --------
Fra: arnefm<EMAIL_ADDRESS>Dato:13.04.2015  16:48  (GMT+01:00)
Til: "steeve/plugin.video.pulsar"<EMAIL_ADDRESS>Ko: Prilly<EMAIL_ADDRESS>Emne: Re: [plugin.video.pulsar] TV shows broken after last update (#130)
I am not affected by anything like that. All the menus look
fine and the categories show both text and the icon. I think I had a similar
problem earlier though. I solved that by cleaning Pulsars cache.
—
Reply to this email directly or view it on GitHub.

Hum, what is the language of your Kodi installation ?
Please provide a full debug log

My instalation is norwegian..
-------- Opprinnelig melding --------
Fra: Steeve Morin<EMAIL_ADDRESS>Dato:13.04.2015  22:24  (GMT+01:00)
Til: "steeve/plugin.video.pulsar"<EMAIL_ADDRESS>Ko: Prilly<EMAIL_ADDRESS>Emne: Re: [plugin.video.pulsar] TV shows broken after last update (#130)
Hum, what is the language of your Kodi installation ?
Please provide a full debug log
—
Reply to this email directly or view it on GitHub.

Please try in English:

change the Kodi language
Restart Kodi

And let me know if that helps, so we can track down the bug

I had the same problem with 0.5.0 but reverting back to 0.4.7 didn't help at first. I also had a problem, that was related to not able to connect to thetvdb.com that pulsar is getting seassons and episodes information from. Maybe it was a problem with my ISP and cloudflare, and it was fixed at the same moment I tried to go to IP address of the thetvdb.com from browser. But after I tried that, thetvdb.com started working, and also did pulsar and tvshows.
I don't know if that is at all related to this bug report, but I had to share this.

I am running Kodi 14.2 in english (never changed any language settings) on an up to date Arch Linux box (currently kernel 3.19.3). Here is a full debug log. To produce this log I did the following:

Cleared the existing log
Enabled debug logging
Went through the steps to reproduce the bug

Is this what you consider to be "a full debug log"?
Lines 92-93 look interesting, but I have no idea what zip files have to do with anything.

Seems to fix the issue, somehow the language selection is cousing this error.
-------- Opprinnelig melding --------
Fra: Steeve Morin<EMAIL_ADDRESS>Dato:13.04.2015  22:42  (GMT+01:00)
Til: "steeve/plugin.video.pulsar"<EMAIL_ADDRESS>Ko: Prilly<EMAIL_ADDRESS>Emne: Re: [plugin.video.pulsar] TV shows broken after last update (#130)
Please try in English:
change the Kodi language
Restart Kodi
And let me know if that helps, so we can track down the bug
—
Reply to this email directly or view it on GitHub.

@arnefm your log doesn't show anything wrong

Huh, well, I still can not open up TV shows. Anything else I can do to provide you with a better/more complete log of what is happening?

@steeve
I had 0.5.0 and and it was in english, I did post my debug log in the pulsar forum.
Did you get a chance to look at it ?
Only thing that caught my eye in the debug log was something about invalid zip file (Error #01: zip: not a valid zip file). Some other user also posted a log containing that error.
I'm running my Kodi on openelec on Rasperri Pi (not the newest version).
You can contact me if you want some other info.
Best regards,
MG

It is a bug who applies only to languages of kodi that are not on tvdb - mine is Romanian, it is not, Norwegian think not, too.
Workarround - change language of kodi to english , clear cache of Pulsar and it will work.
You could (after you enter at least in one tvshow and get to an episode) change back the language to your native one.
You will have to repeat this after every restart, at least on my install works like this (arm quad M8 - dotSmart dualboot android/linux mediaplayer - mxlinux)
Solution to implement - if that language not on tvdb, to use english.

@itvalentino76
My installation is in english and no language settings are configured to any other language than english so your solution does not apply in my situation.

Hi,
I also had the same issue when installing 0.5.0.
TV shows would not go beyond the title name without any ERROR message.
reverting to 0.4.7 made it go away and TV shows work.

@maggigisla  - normal english or english US or something else?
Try to switch to normal English , clear cache and then try again.
I'm not an expert , I was just explaining how worked for me.
@ishaan01 - you could try my solution

Works for me, switch tot english and cleared the cache. Then I had tot restart.

@itvalentino76 thanks! it worked.
My language was set to blank, but setting it explicitly to english fixed the problem.
(sorry for the late reply)

@steeve
@arnefm
Switching to normal english as @itvalentino76  suggested (there was nothing selected before) works :)

Same issue here after update to Isengard, changing from Portuguese(Brazil) to English and rebooting, seems to be a workaround. It's probably a thetvdb related problem.


Added delete-if-exists route to indexes routes

Codecov Report

Merging #36 (ba8f1c1) into main (b255a1e) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main       #36   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           12        12
  Lines          358       364    +6
=========================================
+ Hits           358       364    +6

Impacted Files
Coverage Δ

meilisearch_fastapi/routes/index_routes.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


How to change submenu title programmaticaly?

Hello.
Thanks for the great menu.
But I can not solve one problem.
I want to change the dynamic name of the submenu, can you tell me how to do it programmatically.
Thank you very much.

Similarly, it would be great to hide/show items programatically without having to replace the menu res, i.e. menuItem1.setVisibility(View.GONE)

Surely check it and try to add this feature


[POPUP] When selecting a light color on the color header popup text over that area should be in positive.

hey hey, where should I find the designs for this? /cc @piensaenpixel

@alonsogarciapablo i think this can be very useful
cc @ramiroaznar

Can I get a mockup? I don't understand the issue.

really we don't need a mockup, the idea is that if the background-color that the user selects is soft we should change the text to dark.
But it's something like this

How would you implement this @piensaenpixel? Is this something that you guys (design) would be able to change?

What do you mean @alonsogarciapablo ?

Given that users can select any color as a background for the popup... how can we know when to use a light or dark font color?

We need to detect the luminance/brightness of the background-color in js and then change it.

Take a look, you can change the bg color, that's the idea.
'  '
test.html.zip

Something like that might work, yep.

Stale issue. Closing 👋


Azure Data Lake Storage Gen 1/2

You mentioned Gen1 in the doc but you probably mean Gen2(?).

@smereczynski Thank you for your feedback . could you please share the link of the document you are referring to ?

Oh, sorry. I submitted it from phone and assumed that redirection from docs site is creating some marker for the issue :)
The issue is about Gen1 vs. Gen2 on this site: https://docs.microsoft.com/en-us/azure/hdinsight/hdinsight-capacity-planning

@smereczynski Thank you for confirming the same. We have assigned the same to the author for review and updating the thread.

@JasonWHowell Please check the query from our customer .

The article hasn't been changed in a couple of years. It's probably time indeed, and the team is aware. Thanks for sharing.


blog: Working with ChatGPT is all about asking the right questions

Blog Metadata
Please provide the following information:

Title: Working with ChatGPT is all about asking the right questions
Author: Silke Nodwell
Position / Company: Data Scientist at TAC Index
Date: 20th May 2024
Short description: Working with ChatGPT is all about asking the right questions
Google doc Link with the content: https://docs.google.com/document/d/1dGSadWrQWEOyYKPNfKNwf6UJozYEdGrx7mCmqnU9NCI/edit
Category:

Banner image - SEE IN THE GOOGLE DOC
Please include the banner image link for your post as a suggestion.
Keep in mind the image should be free or your own image creation.
In case you don't have any, the team can suggest.
Is there other images you want to include the content? Please include their links here also.

Hi @jbabahin , thanks for submitting the blog post. Please attach the image here (so we have it in high quality format) and stock photo source name/link if it's not an image of your own creation. Thanks

@nora-weisser @dricazenck we should maybe update the blog post GitHub submission template to make it more clear that we need:

The image attached here or an image download source link (so we have it in high quality format)
Image stock photo source name/link, since many free sources still require some credit somewhere on the site. We could add the blog article photo credit as an 'image caption' text.

I also need to create a task to list credits of the stock photos used on our other pages, I guess that could just be under 'About' page for now?

For Silke's blog the image is attached. It was created via Dall-e. Is this OK?

For Arzu's blog post, it was created in Canva and is attached.

Let me know if anything else is required for these blog posts to be published :)


Module is not detecting that Windows Terminal is installed when run from Windows Terminal Preview

I have both Windows Terminal and Windows Termina Preview installed.  When I have only preview running, I get a warning about it not being installed:

However, I don't get this warning from Windows Terminal nor do I get it in preview IFF a Windows Terminal session is also open.  And it seems that once this warning goes away, I can't get it to come back.

During my last update Windows Terminal hadn't started releasing preview builds so my module wasn't taking that into account. I am updating to correct that. Thanks for bringing this up.

Update to v1.8.0 and see if that works better.

I don't see the warning. Thanks.

I modified the commands to detect if you are running in the preview or stable build. Assuming they don't change things again in the preview.


⚠ Bofrost.at has degraded performance

In 4091e3d, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 810 ms

Resolved: Bofrost.at performance has improved in 195abf4.


Bug:  Subscribe Button is not responsive.

Describe the bug
The Subscribe button is not responsive and is overflowing from the screen.
Expected behavior
I can Fix this and make it responsive. Please assign me this issue under GSSoC'24.
Screenshots

@Dishika18 refresh it ,


Add package-lock.json and res/newsArticles.txt to .gitignore.

@devansh016 What about adding that package-lock.json and res/newsArticles.txt to .gitignore ?!

Yes please add them to it. I already added the res/newsArticles.txt but still facing the issue
Originally posted by @devansh016 in https://github.com/devansh016/Minimal-News/issues/78#issuecomment-937671969

Hi, I would like to take it up!


Script hanging problem (and proposed solution)

@nlapier2 So I figured out the probably source of the program hanging: python3 vs python2 for CMash:
After setting up the data, this hangs:
python3 -m venv VE3
source VE3/bin/activate
.\setup_libraries.sh
# This hangs:
python3 metalign.py test/RL_S001__insert_270_1M_subset.fq data/ --output test/RL_S001__insert_270_1M_subset_results.tsv

# this is the thing causing the hang:
python3 StreamingQueryDNADatabase.py ../../data/r7aqo9zw/60mers_intersection_dump.fa ../../data/cmash_db_n1000_k60.h5 ../../test/CMash_out.csv 30-60-10 -c 0 -r 10000 -v -f ../../data/cmash_filter_n1000_k60_30-60-10.bf --sensitive

So instead, try python2, and it doesn't hang:
virtualenv VE2
source VE2/bin/activate
cd CMash
pip install -r requirements.txt

# this runs just fine and does not hang:
python StreamingQueryDNADatabase.py ../../data/r7aqo9zw/60mers_intersection_dump.fa ../../data/cmash_db_n1000_k60.h5 ../../test/CMash_out.csv 30-60-10 -c 0 -r 10000 -v -f ../../data/cmash_filter_n1000_k60_30-60-10.bf --sensitive

# this works too (oddly enough, since it's being called with python3, so it only looks like installing CMash with python2 is required):
python3 metalign.py test/RL_S001__insert_270_1M_subset.fq data/ --output test/RL_S001__insert_270_1M_subset_results.tsv

# also works (as it appears metalign.py is python2/3 compliant):
python metalign.py test/RL_S001__insert_270_1M_subset.fq data/ --output test/RL_S001__insert_270_1M_subset_results.tsv

So possible solutions (with my assessment of ease of implementation):

Make setup_libraries.sh use python2 when installing CMash (probably via a virtualenv) (easy)
See why marisa-trie isn't working with python3 (their repo says it's python3 compatible) (medium)
Refactor CMash so it's python3 compliant (hard)

Update: looks like it's not marisa-trie that's causing the issue, since the code is stalling out here. So it looks like it might be a python2 vs python3 thing with the pool.map function instead.

Great, thanks for the help in figuring this out! Locally, I've gotten the "easy" (virtualenv) solution working, and I am currently working on getting the repo/docker/docs updated. We could look into the more fundamental pool.map issue eventually. It would be ideal if the repo was compatible with both python2 and python3.

Repo/docs/docker updated. Closing this for now since we have something working, though we could revisit the more fundamental fixes eventually.

Actually, I may have just solved the issue and made it python2 and python3 compliant, so I'll re-open momentarily, then comment after testing if it's fixed.

Ok, looks like it works now. See this issue in the CMash repo. I'll need to change the setup_libraries.sh script to reflect this.

@nlapier2 Feel free to test on your end too in order to confirm it's working with just python3. Feel free to close if it does

Works for me! Do you think we should put the --user flag for pip installing requirements, since users (esp. on servers) may not have root permissions?

Good point! Go ahead and add the --user flag


Escape angle brackets in configuration

Summary
If you open Jest configuration page and click on moduleDirectories [array], the respective section doesn't open up.
This is because github markdown treats anything within angle brackets as an HTML tag. Due to this, data types such as [array<string>] get rendered as [array]. Many of the links are broken because docusaurus doesn't read the hidden HTML tag.
HTML tags can be escaped by prepending them with a backslash

Codecov Report

Merging #9189 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #9189   +/-   ##
=======================================
  Coverage   64.83%   64.83%
=======================================
  Files         279      279
  Lines       11742    11742
  Branches     2887     2887
=======================================
  Hits         7613     7613
  Misses       3511     3511
  Partials      618      618

Continue to review full report at Codecov.

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

Done @SimenB . I wanted to ensure that the links generated by docusaurus on the Configuration page are working now. Is there a way to do that?

You can run yarn start in the website/ directory

@SimenB Links are still not working. It seems to be an issue with Docusaurus. I've filed a bug report on its repo.

There's also a netlify deployment: https://deploy-preview-9189--jest-preview.netlify.com/
Thanks for reporting upstream!

Docusaurus fixed the issue with link generation (PR here). I tested master branch of docusaurus locally. The config links are generated correctly in Table of Contents and in Navigation Sidebar.
But I noticed that the Navigation sidebar is still showing [array] in place of [array<string>].

I filed another issue on docusaurus's repo.

Super cool, thanks for following up!

Maybe better to close this PR. Its an upstream bug in Docusaurus. Someone should've pinged me 😆

Is it fixed in a release now? If so, maybe this pr can be changed to bumping the version instead?

yeah https://github.com/facebook/docusaurus/releases/tag/v1.14.1

Wonderful, thank you! @ayush000 could you remove the md changes and update the version instead? 🙂

We still need to escape angle brackets. The links get fixed by docusaurus version bump, but it still doesn't render [array<string>] unless you escape the angle brackets. This is the correct behaviour in my opinion because github markdown treats anything within angle brackets as an HTML tag.
E.g.
[array<string>] gets rendered as [array]
[array\<string>] gets rendered as [array<string>]

Oh you are right. The bug in docusaurus is that the autogenerated toc and sidebar isn't consistent (but its consistent now)

Thank you so much @ayush000, this is wonderful!

@endiliey while you're here, the "read more" buttons on the blog are broken: https://jestjs.io/blog/. Known?

interesting bug. can you help file an issue ? didnt know about it. We never really changed anything on that part though 😅. Is it working on 1.14 previously ? Its midnight here and am not within reach of pc
I suspect css from https://github.com/facebook/docusaurus/pull/1869 blocked that ??
cc @yangshun read more is broken :o

I don't know when it broke, @pedrottimark alerted me to it now

Please click on the post title for now. We'll push out a hotfix.

@SimenB update to 1.14.2. Yeah its regression from 1.14.1 My suspicion was right, https://github.com/facebook/docusaurus/pull/1869 broke it

Updated in f4d0565d70f1ee8e940f126a4a30a174e7f913d2, and I can confirm it fixes the issue. Thanks, as always, for the help! 🙂


Docs/terraform

Created branch off of pr/terraform branch.
Main changes:

pre-commit configuration (.pre-commit-config.yaml) for automating TF code formatting + document generation (currently generates the modules.md files placed in each terraform directory)
Placed the terraform modules within the /modules directory, adjusted the main.tf accordingly
Added the terraform-dependencies.yml actions workflow to provision rg + storage account + storage container for backend remote state
Added README.md for Terraform implementation (./reference-implementations/AppGW-IAPIM-Func/terraform/README.md)

@JinLee794 we should remove the .terraform.lock.hcl file and add it to the gitignore

@JinLee794 please remove reference-implementations/AppGW-IAPIM-Func/terraform/modules/gateway/outputs.tf since the file is empty.

@petemessina please review the new commits that addresses the tf lock, git ignore, and the output file.


android 13 perfetto no data，I list config below ，want to get some help here~

log
nuwa:/data/local/tmp # ./perfetto -c 1.perfetto.config --txt --out /data/misc/1
[916.276]    [perfetto_cmd.cc:1080](http://perfetto_cmd.cc:1080/) Connected to the Perfetto traced service, TTL: 30s
[946.287]    [perfetto_cmd.cc:1242](http://perfetto_cmd.cc:1242/) Wrote 17974 bytes into /data/misc/1

config
buffers: {
    ## 将buffer增大1000倍，否则出现Perfetto ui解析出错
    size_kb: 63488000
    fill_policy: DISCARD
}
buffers: {
    size_kb: 63488000
    fill_policy: DISCARD
}
data_sources: {
    config {
        name: "android.packages_list"
        target_buffer: 1
    }
}
data_sources: {
    config {
        name: "android.heapprofd"
        target_buffer: 0
        heapprofd_config {
            sampling_interval_bytes: 4096
            process_cmdline: "com.xiaomi.mi_connect_service:idm"
            shmem_size_bytes: 8388608
            heaps: "com.android.art"
            continuous_dump_config {
                ## 10s之后，才开始第一次dump
                dump_phase_ms: 10000
                ## 每隔2s，dump一次
                dump_interval_ms: 2000
            }
        }
    }
}

data_sources: {
    config {
        name: "android.java_hprof"
        target_buffer: 0
        java_hprof_config {
            process_cmdline: "com.xiaomi.mi_connect_service:idm"
            continuous_dump_config {
                ## 10s后，才开始第一次dump
                dump_phase_ms: 10000
                ## 每隔2s,dump一次
                dump_interval_ms: 2000
            }
        }
    }
}
## 总时间变成 30s
duration_ms: 30000

I can see a couple of problems with this:

The buffer sizes are too big. The total buffer size (in bytes) should be less than 32-bit. On android 14, perfetto will emit a better error message, but on android 13, if the total buffer size is too big, you might get a smaller buffer than you expect. You do not need a buffer this big. I would start with a config generated by ./tools/java_heap_dump and ./tools/heap_profile.
Do you have permissions to profile "com.xiaomi.mi_connect_service:idm"?. On a userdebug build, you should. On a user build, you can get profiling data only from profileable and debuggable apps. (See https://perfetto.dev/docs/data-sources/native-heap-profiler#heapprofd-targets).

Let me know if you have other questions.


Layering encryption without performance cost

I have an idea how to layer encryption without major performance cost, that I outlined in a document here: https://hedgedoc.gnome.org/s/MlLzuiZN3
I'd love to hear some feedback and possibly get this added to the list of kernel things we want

Whoops this should probably be a discussion, so people see it
https://github.com/orgs/uapi-group/discussions/96


[WIP] Make Evaluator only available to Task.Command(exclusive = true)

This is a breaking change that tightens things up a bit following the introduction of Task.Command(exclusive = true): now that we run commands in parallel, running multiple evaluator commands in parallel is dangerous, so they should be limited to exclusive commands
It's another step toward https://github.com/com-lihaoyi/mill/issues/502, by declaring that exclusive commands are different from normal commands, and thus need special treatment
Despite being binary compatible, we might not want to land this in 0.12.0, because it would break basically all usages of Evaluator commands in third-party plugins and force them to be updated, which defeats the purpose of maintaining bincompat. Probably better to wait till 0.13.0 when third-party plugins need to be fixed/recompiled anyway, and we can change the API (e.g. move to Task.evaluator) to force people to update their commands rather than happily compiling and then failing later at runtime
Had to jump through some hoops to do this without breaking bincompat:

We inject the Evaluator parameter during the resolution phase, before evaluation starts,
At that time, we do not yet know whether a command is exclusive or not.
The solution is to instead pass a ProxyEvaluator that exposes all the same API, but looks up the current Evaluator.currentEvaluatorSafe on-demand
Evaluator.currentEvaluatorSafe is a version of Evaluator.currentEvaluator that only exists within exclusive commands, so we can fail with a nice error message if someone tries to use the evaluator inside a non-exclusive command
We cannot remove other usages of Evaluator.currentEvaluator,

e.g. in the mill.main.Tasks.TokensReader actually needs to resolve the tasks early on and return a Seq, which we cannot easily stub out.
But that's probably OK, because it doesn't expose the entire Evaluator, and the tasks themselves are immutable and probably safe to use concurrency

This might not be possible without breaking bincompat due to the fact that we inject the Evaluator parameter during the resolution phase, before evaluation starts.

This would defeat the initial use case, that let us to introduce the exclusive tag in the first place.

https://github.com/com-lihaoyi/mill/issues/3359

Dependency/showUpdates is an evaluator command, that is non-exclusive but profits heavily from being parallel-runnable.

@lefou If I'm not mistaken Dependency/showUpdates should be fine, since only the top-level mill.scalalib.Dependency/showUpdates command needs to be exclusive. Internally, showUpdates ends up calling a bunch of javaModule.* targets, and those both are neither exclusive nor are they evaluator commands. So I think it should continue to work unchange even if we land this limitation


style: playlist active highlight

Thanks for your PR. I'm working on my playlist feature and modal components. Almost done. I will check if any code conflict.


Auto failure rerun

This PR will auto-rerun the child test build in FAILURE status. To enable this feature, params.RERUN_FAILURE needs to be true
related: https://github.com/adoptium/aqa-tests/issues/5346

RERUN_FAILURE = true and parallel:

Aborted one child build  (to mimic the FAILURE build scenario)
rerun got generated as expected

RERUN_FAILURE = true, RERUN_ITERATIONS = 1 and parallel:

Did not abort the build
Rerun was triggered due to RERUN_ITERATIONS = 1

RERUN_FAILURE = true, RERUN_ITERATIONS = 1 and parallel

test in AQA test pipeline (- rerun in child builds)

TRSS:

Since I have no visibility of tests run on hyc Jenkins, from your testing, what is the difference between
RERUN_FAILURE = true, RERUN_ITERATIONS = 1 and parallel Grinder/44712
RERUN_FAILURE = true, RERUN_ITERATIONS = 1 and parallel Grinder/44713

Sorry, Grinder links expired. I think the second link has a typo. It is for scenario RERUN_FAILURE = false, RERUN_ITERATIONS = 1 and parallel

Public test runs:
JDK11, x64Linux and ppc64Aix:
AQA_Test_Pipeline/381/ - RERUN_FAILURE=true, RERUN_ITERATIONS=1,PARALLEL=none
AQA_Test_Pipeline/382/ - RERUN_FAILURE=true, RERUN_ITERATIONS=0,PARALLEL=none
AQA_Test_Pipeline/383/ - RERUN_FAILURE=false, RERUN_ITERATIONS=0,PARALLEL=none
JDK17, x86-32_windows,s390x_linux:
AQA_Test_Pipeline/384/ - RERUN_FAILURE=true, RERUN_ITERATIONS=1,PARALLEL=Dynamic,TEST_TIME=2

I do not quite think I got all of the AQA_Test_Pipeline parameters correct, as many of the test jobs failed with
hudson.plugins.git.GitException: Command "git fetch --tags --force --progress --prune -- origin +refs/heads/autoFailureRerun:refs/remotes/origin/autoFailureRerun" returned status code 128:
stdout:
stderr: fatal: couldn't find remote ref refs/heads/autoFailureRerun

	at PluginClassLoader for git-client//org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2846)
	at PluginClassLoader for git-client//org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:2185)
	at PluginClassLoader for git-client//org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:635)
	at PluginClassLoader for git//jenkins.plugins.git.GitSCMFileSystem$BuilderImpl.build(GitSCMFileSystem.java:408)
Caused: java.io.IOException
	at PluginClassLoader for git//jenkins.plugins.git.GitSCMFileSystem$BuilderImpl.build(GitSCMFileSystem.java:413)
	at PluginClassLoader for scm-api//jenkins.scm.api.SCMFileSystem.of(SCMFileSystem.java:219)
	at PluginClassLoader for workflow-cps//org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(CpsScmFlowDefinition.java:126)
	at PluginClassLoader for workflow-cps//org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(CpsScmFlowDefinition.java:73)
	at PluginClassLoader for workflow-job//org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:311)
	at hudson.model.ResourceController.execute(ResourceController.java:101)
	at hudson.model.Executor.run(Executor.java:446)
Finished: FAILURE

But at least, it forced test job failures, which then triggered reruns which is the functionality that I hoped the runs would demonstrate.
TRSS instance does not show the rerun link in the tooltip, but it has not been synched in a while, so perhaps that is why.  It does show the info circle in the top corner of the chiclet in the Grid view though, indicating there was a rerun.

re https://github.com/adoptium/aqa-tests/pull/5747#issuecomment-2486786197, the rerun job was generated and triggered.

However, LIGHT_WEIGHT_CHECKOUT has to be set to false for running any personal repo. Otherwise, there will be an error in checking out the repo stderr: fatal: couldn't find remote ref refs/heads/autoFailureRerun
Note: This PR (Step 1) does not cover rerun at the parent level (i.e., PARALLEL=none case). It will be covered in Step 2.


Do not automatically include images attached to email

For me, this one's a showstopper: Yesterday, I sent an email to someone with a single photo attached. Lo and behold, that image suddenly began appearing today (July 5, 2018) in PhotoView, as an "Album" entitled "2018-07-04" containing a single image... the one I had attached to the outgoing email.
Granted, the image was originally sent to me via email yesterday, but having no reason to play with PhotoView at the time, I did not check to see whether it popped up there upon receipt, or upon my sending it back out as a Forward. Either way, this is totally unexpected (and highly unwelcome!) behavior for the app.
I get that it's "Google's fault" for passing this image via the API; I just cannot imagine WHY that is so!?!?
Sadly, there's just no way I can use a Roku app that will unexpectedly display non-vetted images. Period.

I've done what you described above tons of times and I have never seen this happen, nor has anyone ever reported this. Go here: https://photos.google.com/albums and you will see the albums Google has for you.. and you can delete whatever you don't want..  I just again did what you described above and confirmed it does not create a new album, nor load it into my photos.
Did you confirm this multiple times?

I will explore the situation further, but in the meantime wanted to clarify a bit: The image in question was originally emailed to me from another Google Photos user, and the email heading announced "Google user shared 1 photo with you". Prior to that, I had never seen the photo. Rather than download or save it, I simply Forwarded it to another GMail user.
I checked at the /albums link you suggested above, and can most definitely attest to my own Google Photos containing a single album (containing 65 items). In fact, that's the only album I ever wish to have appear in PhotoView, and anything else that gets included (like "Timeline" or "Profile") will naturally stand out like a sore thumb.
I'll investigate by asking someone to share another photo with me via Google Photos, then carefully document whether it shows up in PhotoView. Thanks, Chris, for some truly amazing work!! Luv the app.

UPDATE: To make sure I'm providing you complete information, I went to the Google Photos app on my mobile device, and noticed that the offending image DOES appear in "Photos" (under "July"). However, the image/filename does NOT appear under "Photos" when I check the Google Photos web page from my laptop's Chrome browser! And, as stated above, I have no Album in either listing/place that contains the offending photo.
I have no images in Google Photos per se; that is 0 images are listed in the Google Photos folder of Google Drive when viewed with a Web browser. Likewise, "No Items" appears when I check again using the Drive app on my smartphone. All this is as expected, since I just began testing out the GP app 2-3 days ago.
I'll report back if another Shared/Forwarded instance creates a phantom album in PhotoView. :-)

SUGGEST merge of this thread with "Shared Albums Won't Disappear #112" instead.
Because I just tested whether a 3rd party sharing Google Photos image with me (and me simply forwarding it to another GMail user) would cause it to appear anywhere (in my GP, in my Google Drive, in PhotoView, etc.) and the answer was no. So for now this remains a strange edge case.

Closing thread


RLE -> Mask for semantic segmentation

Hello. I have a problem with loading the mask from RLE. So, I got the json file from labelstudio that had the rle format. I tried decoding it with all the open source codes and nothing works. I also tried using this :https://github.com/thi-ng/umbrella , but unfortunately it didnt work.
After decoding and exporting it, I tried loading it in python. The decoded result is of length 22251060, while my image is 2313 x 2405. The shapes do not match, so I cannot make it as a mask.
What is the correct way of changing the RLE to mask?
Thanks a lot

I used brush for semantic segmentation btw.

I'm not a project developer, but here is a Python function which can be used to decode RLEs:
import numpy as np

def rle_decode(rle_str, shape, fill_value=1, dtype=int, relative=False):
    """
    Args:
        rle_str (str): rle string
        shape (Tuple[int, int]): shape of the output mask
        relative: if True, rle_str is relative encoded string
    """
    s = rle_str.strip().split(" ")
    starts, lengths = np.array([np.asarray(x, dtype=int) for x in (s[0:][::2], s[1:][::2])])
    mask = np.zeros(np.prod(shape), dtype=dtype)
    if relative:
        start = 0
        for index, length in zip(starts, lengths):
            start = start + index
            end = start + length
            mask[start:end] = fill_value
            start = end
        return mask.reshape(shape[::-1]).T
    else:
        starts -= 1
        ends = starts + lengths
        for lo, hi in zip(starts, ends):
            mask[lo:hi] = fill_value
        return mask.reshape(shape[::-1]).T

Dear zakajd,
Thanks for replying. This function does not work for odd number length of RLE.
Even if the length of RLE is an even number, although it runs, it does not give the correct output. I have tried using the JavaScript library that they provide for encoding-decoding, however even when i decode that RLE it seems extremely wrong..wrong size of dimensions. Seems that label studio uses a custom rle encoding.
Sincerely,
Veljko KOVAC

@vkovac2 I've just released the brush converter to numpy & png formats.
Please, check this PR from label-studio-converter: https://github.com/heartexlabs/label-studio-converter/pull/9
1 Clone this repo
git@github.com:heartexlabs/label-studio-converter.git
2 cd label-studio-converter
3 activate PR branch:
git checkout brush-converter
3 activate your virtualenv if you use it
source <env>/bin/activate
4 install PR as package
pip install -e .
5 start your label-studio
label-studio start <my_project>
6 go to Export page in browser and check BRUSH_TO_NUMPY and BRUSH_TO_PNG options.
If you need more customized export then dive into brush.py:
https://github.com/heartexlabs/label-studio-converter/pull/9/commits/8eb02c4bc2c4cf99c84c308868dc186ab61490b2#diff-8c13b5aae0f94c3f59fe7a98aca8501e

Worked for me. Added a comment on the code that i need to put in order to work. Thanks for adding this function.

Now you can do
pip install label-studio==0.7.4rc2

It contains fixed brushes with correct resize behavior, correct multiple brush results in one completion and export to PNG/Numpy.
It will be appreciate if you check this release candidate version.

I'm trying to decode my RLE string to draw a mask on the image, but it always draws a vertical line at the top right corner.
I used the code below, but it seems like it was unable to decode the RLE correctly
RLE String in Json File = '{"rle":[121256,0,3,1,715,0,6,1,712,0,8,1,712,0,8,1,712,0,9,1,711,0,12,1,708,0,19,1,702,0,21,1,699,0,23,1,698,0,22,1,699,0,21,1,700,0,20,1,704,0,15,1,675,0,5,1,714,0,6,1,705,0,4,1,4,0,8,1,703,0,18,1,701,0,20,1,699,0,22,1,697,0,24,1,696,0,25,1,694,0,26,1,693,0,27,1,693,0,28,1,692,0,28,1,692,0,29,1,691,0,29,1,690,0,30,1,691,0,30,1,690,0,30,1,690,0,30,1,690,0,30,1,690,0,30,1,690,0,30,1,690,0,31,1,689,0,31,1,689,0,31,1,689,0,30,1,691,0,29,1,691,0,29,1,691,0,28,1,692,0,28,1,693,0,27,1,693,0,27,1,694,0,26,1,695,0,25,1,696,0,23,1,698,0,22,1,700,0,20,1,701,0,19,1,702,0,18,1,704,0,16,1,705,0,15,1,707,0,13,1,708,0,12,1,710,0,10,1,711,0,9,1,713,0,7,1,714,0,6,1,355398,0]}'
`import json
import numpy as np
import cv2
rle_decode function
def rle_decode(rle_list, shape, fill_value=1, dtype=int, relative=False):
rle_str = ' '.join(map(str, rle_list))
s = rle_str.strip().split(" ")
starts, lengths = np.array([np.asarray(x, dtype=int) for x in (s[0:][::2], s[1:][::2])])
mask = np.zeros(np.prod(shape), dtype=dtype)
if relative:
start = 0
for index, length in zip(starts, lengths):
start = start + index
end = start + length
mask[start:end] = fill_value
start = end
return mask.reshape(shape[::-1]).T
else:
starts -= 1
ends = starts + lengths
for lo, hi in zip(starts, ends):
mask[lo:hi] = fill_value
return mask.reshape(shape[::-1]).T
Read JSON file
with open('downloads/labels/2D82C4F8-F1F2-4042-AE45-C4988A55048A.json', 'r') as f:
data = json.load(f)
rle_list = data['rle']
shape = (100, 100)  # Assuming the shape is known or provided
Decode RLE list
mask = rle_decode(rle_list, shape)
Create a black image
image = np.zeros(shape, dtype=np.uint8)
Draw the mask on the black image
image[mask == 1] = 255  # White color for mask
Display the image
cv2.imshow('Mask', image)
cv2.waitKey(0)
cv2.destroyAllWindows()`

@faizanengineer Were you able to figure this out?

@shantanudev Please see the message above, I forgot to mention you


Improve syntax highlighting

I really like your theme and I think it looks great! But the syntax highlighting for most languages looked really weird. I noticed there was another elementary theme on the marketplace. That one does have nice syntax colors, but the editor theme doesn't fit in Odin, it's made for Juno. So I took their syntax colors and applied them to your theme. It should be okay, because it is MIT licensed.
Let me know what you think!

I think it only needed a minor fix on inlay hints on the light version of the theme, which I already committed here. Nothing to say on the rest, good job.


$response->getBody()->getContents() returns always empty content

$ composer show --installed | grep guzzle
eightpoints/guzzle-bundle            v4.5.1             Integrates Guzzle into Symfony2, comes with WSSE Plugin for RESTful Interfaces
eightpoints/guzzle-wsse-middleware   v4.2.0             WSSE Middleware for Guzzle, a PHP HTTP client library and framework for building RESTful web service clients
guzzlehttp/guzzle                    6.2.0              Guzzle is a PHP HTTP client library
guzzlehttp/promises                  1.2.0              Guzzle promises library
guzzlehttp/psr7                      1.3.0              PSR-7 message implementation

My code:
$response = $this->githubClient->post('access_token', ['form_params' => $params]);
$response = $response->getBody()->getContents(); //empty string ''

$this->githubClient is a \GuzzleHttp\Client instance configured through the guzzle bundle.
This whole stuff works, when I run  $response->getBody()->rewind(); before getContents call.
$response = $this->githubClient->post('access_token', ['form_params' => $params]);
$response->getBody()->rewind();
$response = $response->getBody()->getContents(); //string '{blaa}'

I guess it has something todo with this bundle, as it reads already the body for the profiler tab. I guess you should call rewind() when you read the body for your purposes. However, I'm not sure about it yet as I haven't looked into the code.

GuzzleBundle/Log/LogResponse.php:70 and GuzzleBundle/Log/LogRequest.php:103 read the full body without resetting the pointer after.
Best would probably be if they store the location of the pointer, read the contents, and reset it to previous point after reading.
As a quick fix you can use __toSting() instead of getContents(); __toString() will always read from the start of the stream.

Released new bugfix versions:

https://github.com/8p/GuzzleBundle/releases/tag/v4.5.3
https://github.com/8p/GuzzleBundle/releases/tag/v5.0.3

Thanks for contribution, @siraic!

This issue seems not solved.
I have the same behaviour here: If logging: true i have to rewind to see the body.
I'm on eightpoints/guzzle-bundle": "^5.1"

To take a closer look into this issue it would be great if you can check if the new code is really executed: https://github.com/8p/GuzzleBundle/blob/3c309629b8b93cc65d7654e18b878b31aab78613/Log/LogRequest.php#L100

Hi Florian,
code is executed, when logging is enabled. I modified therefore the code a little bit:
`
if($request->getBody() && $request->getBody()->isSeekable()) {
$readPosition = $request->getBody()->tell();
var_dump($readPosition);
}
    $this->setBody($request->getBody() ? $request->getBody()->__toString() : null);

    if($readPosition) {
        $request->getBody()->seek($readPosition);
        var_dump('rewinded');
    }

`
This is my request with some debug output:
`          $campaignResponse = $this->apiClient->post('campaigns', [
'body' => json_encode( ['some data']
]);
        var_dump($campaignResponse->getBody()->getContents());
        $campaignResponse->getBody()->rewind();
        var_dump($campaignResponse->getBody()->getContents());`

And this is the response:
int 321 string 'rewinded' (length=8) string '' (length=0) string '{"the response data..."}' (length=2721)

Hi ThomasTr,
The first output indicates that the read position is already at 321 before the guzzle bundle logging starts. I think you have other logging(?) middleware earlier in your handler stack that already consumed the body without rewinding.

Hi,
i do only the normal logging into several channels, nothing special.

Same problem here, even with a clean Symfony install, meaning that turning on this bundle's logging effectively breaks responses.
Steps to reproduce

Install Symfony 3.1 using Symfony installer:

symfony new 3.1

 Downloading Symfony...

    5.1 MiB/5.1 MiB ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓  100%

 Preparing project...

 ✔  Symfony 3.1.7 was successfully installed. Now you can...

Require the bundle via composer:

composer require eightpoints/guzzle-bundle

Using version ^5.1 for eightpoints/guzzle-bundle
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
  - Installing guzzlehttp/promises (1.3.0)
    Loading from cache

  - Installing psr/http-message (1.0.1)
    Loading from cache

  - Installing guzzlehttp/psr7 (1.3.1)
    Loading from cache

  - Installing guzzlehttp/guzzle (6.2.2)
    Loading from cache

  - Installing eightpoints/guzzle-wsse-middleware (v4.2.0)
    Loading from cache

  - Installing eightpoints/guzzle-bundle (v5.1.0)
    Loading from cache

Writing lock file
Generating autoload files
> Incenteev\ParameterHandler\ScriptHandler::buildParameters
Updating the "app/config/parameters.yml" file
> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap
> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache

 // Clearing the cache for the dev environment with debug true

 [OK] Cache for the "dev" environment (debug=true) was successfully cleared.

> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::installAssets

 Trying to install assets as relative symbolic links.

 --- ----------------- ------------------
      Bundle            Method / Error
 --- ----------------- ------------------
  ✔   FrameworkBundle   relative symlink
 --- ----------------- ------------------

 [OK] All assets were successfully installed.

> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::installRequirementsFile
> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::prepareDeploymentTarget

Load the bundle in AppKernel
Add a sample debugging client in config.yml with logging enabled:

guzzle:
    # (de)activate logging/profiler; default: %kernel.debug%
    logging: true

    clients:
        httpbin:
            base_url: "https://httpbin.org"

Sample controller code:

        $client = $this->get('guzzle.client.httpbin');
        $response = $client->get('/get');
        $body = $response->getBody()->getContents();
        var_dump($body);

$body is an empty string:
 string(0) ""
The profiler tab shows request/response correctly:

A fix would be to rewind the request in Log/LogResponse:77
By adding simple
        $response->getBody()->rewind();

The problem is that $response->getBody()->getContents() is changing the position of seek to 0. So when using getContents() this behavior appears. When using __toString() or (string) $response->getBody() everything works fine because this function uses rewinding: https://github.com/guzzle/psr7/blob/master/src/Stream.php#L93
I think it's totally valid to rewind directly in Log/LogResponse:77 like suggested by @emirb. I will change/implement that.

Implemention/Fix can be found in following PR: https://github.com/8p/GuzzleBundle/pull/80
Would be awesome if someone can check if everything works like expected. Did some tests, should be fine.
Going to release a new version tomorrow evening (Monday, December 12, 10pm) if nothing gets reported.

Released v5.2.1: https://github.com/8p/GuzzleBundle/releases/tag/v5.2.1


When using the ItemsAdder plugin, there seems to be an issue with compatibility when using image emojis (%img_XXX%). Strangely, even the formatting for bold (&l) is not displaying after adding %img_XXX%.

After adding %img_XXX% (image emoji), the formatting for bold (&l) is not displaying as expected. For instance, when using the string "%img_genki_forest% &2&lPersonal Attributes," the actual result shows as "&2Personal Attributes" instead of applying the bold formatting.

I forgot to reload Figure 2 above

After testing, not limited to itemsadder


Small type fix

Modified UINT to match Win32 definition.

Never mind after exploring more of winim for samples I see there is some historical / compatibility reasons for this, perhaps with std/winlean


Cleaner HTML edits and suggested README clarifications

I wasn't confident enough in my Git skills to roll back on the previous branch while having the edits available to reference so I started a new branch.  You're, of course, right about Black not doing the reformatting and it looks like it was definitely me mucking up the HTML files but something in my VSCode was reformatting the README file on save so I had to resort to making the edits in Nano.  Let me know if you want anything changed further.  Incidentally, I did luck into modifying someone else's deployment 'pipeline' for pushing a Corvid site to GitHub Pages and did a little write-up on my blog - https://scottlarsen.com/2020/12/29/Publishing-Corvid-to-Github-Pages.html .

Thanks! And thanks for using the tool, let me know if you have any other suggestions for improvement!

Thanks! And thanks for using the tool, let me know if you have any other suggestions for improvement!


Update homework_3.sql to include code for the specified prompts.

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
What did you learn from the changes you have made?
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
How were these changes tested?
A reference to a related issue in your repository (if applicable)
Checklist

[ ] I can confirm that my changes are working as intended

HW3 marked.


Options to change console text cursor

For some reason I strongly dislike the underline cursor. Adding other cursors like a straight line, blinking straight line, block would be of value.
See e.g. the settings conemu has for this

Thanks for your suggestion. Added to the backlog. Will consider in the future.

Norton AntiVirus don't let install Conemu (WS.Reputation.1)

Thanks for the discussion.
Closing this issue since:

This ask is now on our feature backlog and will be considered for a future release
This is the WSL issues repo, but this is an issue in Console which has its own Console GitHub Repo
GitHub doesn't allow issues to be moved between repos, preserving posters' identity :(

If you have further asks/issues, please file new issues on our Console GitHub Repo.


The name of plugin is not reported consistently

Description
I realized that plugin names are note represented correctly according to plugin configuration in testing framework.
Please see the code in this PR for more details.
This PR is not meant to be merged, it is to demonstrate the issue.
More specifically, in tests based on OpenSearchIntegTestCase (ie, number of nodes and their configuration is variable) I can not expect that following code to work correctly:
NodesInfoResponse response = client().admin().cluster().prepareNodesInfo().clear().addMetric("plugins").get();
for (NodeInfo ni : response.getNodes()) {
      assertEquals(
              1,
              ni.getInfo(PluginsAndModules.class).getPluginInfos().stream().filter(
                      pluginInfo -> pluginInfo.getName().equals("rename")
              ).count()
      );
}

It turns out that on some nodes the plugin returns its classname as a value of the getName();
Maybe it is a consequence of how individual nodes and plugins are deployed into cluster in testing framework. However, it came as a surprise to me.
Issues Resolved
As of writing I am not aware of any opened issue. It may not be an issue if this is the design on testing framework (however, it is not documented).
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

So the built-in plugins have this problem? Should we open an issue in OpenSearch and do some renaming on main?

@dblock I do not think this is a problem of built-in plugins per-se.
I think the issue here is that the OpenSearch testing framework that is in charge of setting up the testing cluster and deploying plugins do something exceptional in some cases:
One example is the plugin name value (as demonstrated by this PR). On one node this plugin has expected name (rename) on the other node this very same plugin has its name equal to its classname.

I see. What do you propose to fix it?

I think we need to understand where is this happening and what is the reasoning behind this. I assume the impact/risk is fortunately quite limited. I can imagine we can then put some clarification into testing documentation (assuming there is not much to fix on the code level).


About The Testing

From your figure 1 in the paper, we know your method directly predict x_0 in training, but why you inference the result step by step in testing? I do not understand.

You can learn how the diffusion model works. It needs one step in training and multiple steps in testing.

I think I know diffusion a little, but I still do not understand , If you predict x_0 directly during training , how do you perform multi-step reasoning in testing ? Where are the parameters for Gaussian noise ?
Did you still predict the noise, but did not start with independent Gaussian noise, and predicted the segmentation map from step t(then , predict x_0 step by step)?

In this task, Diff-UNet starts with independent Gaussian noise, but predicts segmentation map(x_0) instead of noise.  You can see the DDIM update formula in this repo.

Why predict x_0 directlty ? Reducing memory consumption to accommdate 3D data?

I am also confused by this part. And I don‘t think it should be considered a standard setting for diffusion models.

Why predict x_0 directlty ? Reducing memory consumption to accommdate 3D data?

Based on my experiments, during the inference stage, the trained DiffUnets could yield satisfying results during the beginning steps (even the first step). However, such a level of noise could only occur when t is relatively small (beginning steps of forward diffusion: x0->x1->x2...) during the training stage.  It means there is a gap of noise level between training and inference.
Moreover, since DiffUnet is always optimized towards x0 rather than noise, I am not sure whether it could be still considered a diffusion model. Maybe It is more appropriate to categorize it as a kind of recurrent models?
Anyway, I have no offense to your work and just wanna share some of my ideas ^-^, and wish you good luck on your submissions.

I am also confused by this part. And I don‘t think it should be considered a standard setting for diffusion models.

Why predict x_0 directlty ? Reducing memory consumption to accommdate 3D data?

You can see this article from Hinton. A Generalist Framework for Panoptic Segmentation of Images and Videos.
I think the target of segmentation task is simple (the model only predicts 0, 1, 2...., not continuous data), so it can predict x_0 directly.

Based on my experiments, during the inference stage, the trained DiffUnets could yield satisfying results during the beginning steps (even the first step). However, such a level of noise could only occur when t is relatively small (beginning steps of forward diffusion: x0->x1->x2...) during the training stage. It means there is a gap of noise level between training and inference.
Moreover, since DiffUnet is always optimized towards x0 rather than noise, I am not sure whether it could still be considered a diffusion model. Maybe It is more appropriate to categorize it as a kind of recurrent models?
Anyway, I have no offense to your work and just wanna share some of my ideas ^-^, and wish you good luck on your submissions.

My work is also based on other excellent work, we can discuss more about diffusion model if you are interested in this section.


Is there no BlockType ORANGE_GLAZED_TERRACOTTA in BlockTypes ?

I can get the BlockType of minecraft:orange_glazed_terracotta in game by BlockState#getType , but why there is no constant field for this type ?

I just checked myself and infact this particular one is missing.

Fixed in 9ce554433725f204aebd9b6d2daa5eeaa6a03ef6


gitignore ignores docs templates.

Right now the gitignore file has a generate_docs
I believe the intention is to ignore the generate_docs executable.
However there is a side effect of ignoring the directory tools/generate_docs
We should add:
!tools/**

So I tested this before pushing and it seemed to be like gitignore did not apply recursively, but maybe I was wrong...

Fixed by #58


Inconsistent PathBase when running as IIS sub-application

Describe the bug
Response.OnStarting does not observe the same PathBase as the rest of the pipeline on empty-body responses.
To Reproduce
launchSettings.json
{
  "iisSettings": {
    "windowsAuthentication": false,
    "anonymousAuthentication": true,
    "iisExpress": {
      "applicationUrl": "http://localhost:37035/NFE",
      "sslPort": 44359
    }
  },
  "profiles": {
    "IIS Express": {
      "commandName": "IISExpress",
      "launchBrowser": true,
      "environmentVariables": {
        "ASPNETCORE_ENVIRONMENT": "Development"
      }
    }
  }
}

Program.cs
public class Program
{
	public static void Main(string[] args)
	{
		WebHost.CreateDefaultBuilder(args)
			.UseStartup<Startup>()
			.Build()
			.Run();
	}
}

Startup.cs
public class Startup
{
	public void ConfigureServices(IServiceCollection services)
	{
	}
	public void Configure(IApplicationBuilder app)
	{
		app.Use((context, next) =>
		{
			context.Response.Headers.Append("X-PATHBASE1", ">>>" + context.Request.PathBase.Value);
			context.Response.OnStarting(() =>
			{
				context.Response.Headers.Append("X-PATHBASE2", ">>>" + context.Request.PathBase.Value);
				return Task.CompletedTask;
			});
			return next();
		});
		app.Run(context => Task.CompletedTask);
	}
}

Project.csproj (2.1)
<Project Sdk="Microsoft.NET.Sdk.Web">
  <PropertyGroup>
    <TargetFramework>net48</TargetFramework>
  </PropertyGroup>
  <ItemGroup>
    <PackageReference Include="Microsoft.AspNetCore" Version="2.1.7" />
  </ItemGroup>
</Project>

Project.csproj (3.0)
<Project Sdk="Microsoft.NET.Sdk.Web">
  <PropertyGroup>
    <TargetFramework>netcoreapp3.0</TargetFramework>
  </PropertyGroup>
</Project>

Run the app, run any request, then observe the response headers. The PathBase observed in the OnStarting callback is empty.
expected headers
X-PATHBASE1: >>>/NFE
X-PATHBASE2: >>>/NFE
actual headers
X-PATHBASE1: >>>/NFE
X-PATHBASE2: >>>
actual headers when using response body e.g. app.Run(context => context.Response.WriteAsync(""));
X-PATHBASE1: >>>/NFE
X-PATHBASE2: >>>/NFE
Additional remarks
The root of the problem seems to be how IIS integration is imlemented. IISSetupFilter/IISServerSetupFilter injects the UsePathBase middleware early in the pipeline which sets the proper PathBase from IIS metadata. However if there is no response body then OnStarting executes after all middlewares have completed and at this point the UsePathBaseMiddleware have reverted the PathBase to its original empty value.
Possibly related: #5898
Further technical details

ASP.NET Core version

both 2.1 and 3.0 seems to be affected

Include the output of dotnet --info

.NET Core SDK (reflecting any global.json):
Version:   3.0.100
Commit:    04339c3a26
Runtime Environment:
OS Name:     Windows
OS Version:  10.0.18362
OS Platform: Windows
RID:         win10-x64
Base Path:   C:\Program Files\dotnet\sdk\3.0.100\
Host (useful for support):
Version: 3.0.0
Commit:  7d57652f33
.NET Core SDKs installed:
2.1.802 [C:\Program Files\dotnet\sdk]
2.2.402 [C:\Program Files\dotnet\sdk]
3.0.100 [C:\Program Files\dotnet\sdk]
.NET Core runtimes installed:
Microsoft.AspNetCore.All 2.1.13 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.2.7 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.App 2.1.13 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.2.7 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.0.0 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 2.1.13 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.2.7 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 3.0.0 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 3.0.0 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

The IDE (VS / VS Code/ VS4Mac) you're running on, and it's version

Visual Studio Community 2019 (16.3.8)

While your observations make sense, I will challenge the expectations a little.
A) PathBase is not a stable value, it can change several times during the processing of a request. Components like Map, UsePathBase, and Localization can all alter it.
B) OnStarting is not guaranteed a consistent view of the request since it can fire at very different points in the lifecycle as you observed. OnStarting's guarantees focus only on the response.
Yes, you'd get more consistent OnStarting behavior for IIS in-process if the path base was maintained in the server, but those other components would still adjust it. There's not much that could be done for IIS out-of-process since the integration only happens in middleware.
Recommendation: Consider handling IIS in-process PathBase directly in the server like HttpSys does. It would be more efficient and provide a more consistent PathBase experience across the lifespan of the request. Priority: low.

PathBase being stable or not is not the issue here. There is deliberately no middleware in the pipeline on my part that could affect PathBase. Since IIS integration is configured on the host and the application base is dictated by IIS I would expect that the context is fully initialized by the time it enters the pipeline and is not "de-initialized" before leaving it. Note: I consider Response.OnStarting and Response.OnCompleted as part of the pipeline since callbacks are usually registered from middlewares.
As a workaround would it be reasonable to query the IIS environment directly like this instead of relying on HttpContext.PathBase?
var pathBase = config.GetSetting("APPL_PATH")
            ?? Environment.GetEnvironmentVariable($"ASPNETCORE_APPL_PATH");

as in src/Microsoft.AspNetCore.Server.IISIntegration/WebHostBuilderIISExtensions.cs?
Maybe also consider exposing hosting-related properties on IWebHostEnvironment?

Couldn't you capture PathBase at the same time as you register OnStarting?

Maybe also consider exposing hosting-related properties on IWebHostEnvironment?

We don't consider PathBase a hosting config, but rather a server config. Also note that the support for PathBase is different across all four supported servers. Kestrel has no support, HttpSys supports multiple, IIS out-of-proc supports one via middleware, and IIS in-proc supports one (via middleware?).

My repro is somewhat simplified, but the following should possibly work:
private static readonly object ApplicationBaseMarker = "ApplicationBase";
// Call this early in the pipeline/from IStartupFilter
public static IApplicationBuilder MarkApplicationBase(this IApplicationBuilder builder)
{
	return builder.Use(next => context =>
	{
		context.Items[ApplicationBaseMarker] = context.Request.PathBase;
		return next(context);
	});
}
// Use this instead of PathBase
public static PathString GetApplicationBase(this HttpContext context)
{
	return (PathString)context.Items[ApplicationBaseMarker];
}

as long as it's only my code and no external deps are triggered in OnStarting that would use the PathBase.

We don't consider PathBase a hosting config, but rather a server config.

Then maybe expose it on a feature interface similar to IServerAddressesFeature/IServerVariablesFeature?

Also note that the support for PathBase is different across all four supported servers. Kestrel has no support, HttpSys supports multiple, IIS out-of-proc supports one via middleware, and IIS in-proc supports one (via middleware?).

When the server supports multiple path bases, one is the prefix of the other and both are valid prefixes for a request then which would be chosen?

When the server supports multiple path bases, one is the prefix of the other and both are valid prefixes for a request then which would be chosen?

In HttpSys you can register multiple unrelated prefixes and the most specific match wins. E.g.
http://localhost:80/a
https://localhost:443/a/b/c
http://myhost:80/a/b
https://myhost:443/a/b/c/d

My recommendation is still the same as above and should address this for you for in-process:

Recommendation: Consider handling IIS in-process PathBase directly in the server like HttpSys does. It would be more efficient and provide a more consistent PathBase experience across the lifespan of the request. Priority: low.

This is worth fixing, but I'm not sure it's worth patching.


setGlobalLogLevel does not work

When setting in the main function arvr::logging::setGloablLogLevel(arvr::logging::level::Info), the output is unchanged where all level of log withXR_LOG is outputing information. Ideally, setting different log levels should be able to filter out certain levels.

The OSS default implementation of logging is primitive indeed. If you want to do something better in OSS, you're welcome to make a contribution, but for now, this is the open source MVP.


Hishel stores no-store data

Hishel used with AsyncInMemoryStorage() accumulates data in memory, even though the request was done using extensions={'cache_disabled': True} and the response had Cache-Control: no-store set. This leads to an out-of-memory situation in my case as the data is quite large.

Actually it may not store as such, but maybe hishel is simply not preserving non-cached streaming responses and collects in memory the entire data set, even if it will not be cached. The memory steadily grows during the request, then goes back to a low level after the request is finished.

Hi!
I think we do not store responses if the cache was disabled using cache_disabled extension.
As you mentioned, hishel reads the response data even when it should not be stored.
Here is where we do it in hishel:
https://github.com/karpetrosyan/hishel/blob/5da601237f49b1d67caf695b7f8af32eaf27f8b3/hishel/_async/_transports.py#L205-L213
Simply, moving these two lines into the if should resolve the problem


Added influx 0.9 config variables

Since the new variable is required it should be in the list of required variables in the readme.


fix(rule): 'contextual-decorator' - decorators with arguments, accessors and some missing decorators not being handled

This:

Fixes a bug when decorator has arguments; (Currently it's broken due to https://github.com/mgechev/codelyzer/blob/c07ac5e085365562301672cef4e59f159b7a84d0/src/contextualDecoratorRule.ts#L66
Handle accessors with decorators;
Handle parameter properties decorators;

Fixes #776.

I've added the blocked label until the #797 gets in.


[WIP] Metaphysics Parsing

🔥⚠ Merging this as-is will break UI development ⚠🔥
Waiting on gravity/causality changes until I can amend the state reconciler to deal with the new data model. At that point, I'll include updated static JSON and stubbing infrastructure so we can continue to build UI without server connectivity.

1 Error

:no_entry_sign:
There were snapshot errors

3 Warnings

:warning:
PR is classed as Work in Progress

:warning:
Needs testing on a Phone if change is non-trivial

:warning:
Found unstubbbed networking requests

ARFairFavoritesNetworkModelSpec in test_ignores_artworks_without_a_partner
ARFairFavoritesNetworkModelSpec in test_ignores_artworks_without_a_partner
ARFairFavoritesNetworkModelSpec in test_ignores_artworks_without_a_partner

  Generated by :no_entry_sign: danger


Network stack not working even though GOT_IP received from Wi-Fi connection (IDFGH-6466)

If ESP32 (SDK V4.3.1) is connected via an instable Wi-Fi connection, or Wi-Fi AP is turned on/off a lot of times, the network stack sometimes get stucked, and does not work.
When it happens, the system has received the "GOT_IP" event, but any calls to network stack (like resolving host name) fails.
If the Wi-Fi AP is turned off, and then turned on again - a new "GOT_IP" event is received, and then the network functionality might work again!
When network stack is stucked, and I test the Wi-Fi AP using another device, the Wi-Fi AP does work.
A reboot of ESP32 (without changing Wi-Fi AP) also fixes the connection issue.
It is a problem, that you cannot rely on the Wi-Fi connection status - because the ESP32 application needs to know, that something is wrong - in order to reboot or whatever.
Has anyone observed issues like this?

During one of my tests, I get the following output on console:
`
I (1999161) wifi:bcn_timout,ap_probe_send_start
[00001997.186602] Wifi : [Debug] Received unhandled system event: base=1061162584 id=21
I (2001661) wifi:ap_probe_send over, resett wifi status to disassoc
I (2001661) wifi:state: run -> init (c800)
I (2001671) wifi:pm stop, total sleep time: 325700447 us / 390902122 us
I (2001671) wifi:new:<1,0>, old:<1,0>, ap:<255,255>, sta:<1,0>, prof:1
W (2009241) wifi:m f probe req l=0
W (2009491) wifi:m f probe req l=0
[00002007.711650] APP : [Error] ... socket connect failed errno=118
W (2009731) wifi:m f probe req l=0
W (2009971) wifi:m f probe req l=0
W (2010211) wifi:m f probe req l=0
`

I have tried to implement a simple "network watchdog" task, which uses:
getaddrinfo ->
socket ->
connect ->
freeaddrinfo ->
write -> close ->
read -> close
I believe it is using low-level "lwip" for communication, and it does work, while TLS connection does not work!
The TLS is "esp_tls", and I believe it is using mbedtls as implementation...
How can I find out why TLS connections fail to work?

My suspicion is, that the TLS has a connection, which has not been closed correctly.
The lwip "dbg_lwip_tcp_pcb_show()" shows the following output, when a new TLS connection cannot be created:
I (118883) lwip: -------------active pcbs------------
I (118883) lwip: pcb=0x3f829aec next=0x0 cb_arg=0x3f8289b8
I (118893) lwip: local ip type=0 ip=5189a8c0
I (118893) lwip: remote ip type=0 ip=22d8b85d
I (118903) lwip: so_options=0, tos=0 ttl=255
I (118903) lwip: state=7
I (118913) lwip: prio=64
I (118913) lwip: local_port=49971, remote_port=80
I (118913) lwip: flags=10
I (118923) lwip: pooltmr=0 pollinterval=2, last_tmr=151 tmr=215 rtmer=-1
I (118933) lwip: recv_nxt=582433401 recv_wnd=5744 recv_ann_wnd=5583 recv_ann_right_edge=582438984
I (118943) lwip: mss=1436
I (118943) lwip: rttest=0 rtseq=-2109679825 sa=0 sv=3
I (118943) lwip: rto=3 nrtx=0
I (118953) lwip: dupacks=0 lastack=-2109679753
I (118953) lwip: cwnd=4451 ssthreash=5744
I (118963) lwip: snd_next=-2109679753 snd_wl1=582433400 snd_wl2=-2109679753
I (118973) lwip: snd_lbb=-2109679753 snd_wnd=65535 snd_wnd_max=65535
I (118973) lwip: snd_buf=5744 snd_queuelen=0
I (118983) lwip: unsent_oversize=0
I (118983) lwip: keep_idle=7200000 keep_intvl=75000 keep_cnt=9
I (118993) lwip: persist_cnt=0 persist_backoff=0
I (118993) lwip: keep_cnt_sent=0
I (119003) lwip: unsent segments:
I (119003) lwip: unacked segments:
I (119013) lwip: ooseq segments:
I (119013) lwip: refused data=0x0
I (119013) lwip: -------------bound pcbs-------------
I (119023) lwip: -------------tw     pcbs------------
I (119023) lwip: pcb=0x3f82a548 next=0x0 cb_arg=0x0
I (119033) lwip: local ip type=0 ip=389a8c0
I (119033) lwip: remote ip type=0 ip=64e15b28
I (119043) lwip: so_options=0, tos=0 ttl=255
I (119043) lwip: state=a
I (119053) lwip: prio=64
I (119053) lwip: local_port=49951, remote_port=443
I (119063) lwip: flags=30
I (119063) lwip: pooltmr=0 pollinterval=0, last_tmr=27 tmr=8 rtmer=-1
I (119073) lwip: recv_nxt=1427062343 recv_wnd=5744 recv_ann_wnd=5048 recv_ann_right_edge=1427067391
I (119083) lwip: mss=1436
I (119083) lwip: rttest=0 rtseq=-554752305 sa=1 sv=3
I (119093) lwip: rto=3 nrtx=0
I (119093) lwip: dupacks=0 lastack=-554752304
I (119093) lwip: cwnd=5348 ssthreash=5744
I (119103) lwip: snd_next=-554752304 snd_wl1=1427062342 snd_wl2=-554752304
I (119113) lwip: snd_lbb=-554752304 snd_wnd=63653 snd_wnd_max=64620
I (119113) lwip: snd_buf=5744 snd_queuelen=0
I (119123) lwip: unsent_oversize=0
I (119123) lwip: keep_idle=7200000 keep_intvl=75000 keep_cnt=9
I (119133) lwip: persist_cnt=0 persist_backoff=0
I (119133) lwip: keep_cnt_sent=0
I (119143) lwip: unsent segments:
I (119143) lwip: unacked segments:
I (119153) lwip: ooseq segments:
I (119153) lwip: refused data=0x0

test_https.zip
I have created a full example program, which eventually will cause network stack (or wifi) to get stucked.
The example program continously tries to fetch a https web page, and it logs all events from wifi/ip as well as memory consumption etc.
When the network stack is stucked, it looks like:
_**I (352248) APP: Perform HTTPS request
I (352248) esp-tls: esp_tls_init
I (352248) esp-tls: esp_tls_conn_new_sync
I (352248) esp-tls: esp_tls_low_level_conn
I (352248) esp-tls: esp_tcp_connect
I (352258) esp-tls: resolve_host_name
E (352258) esp-tls: couldn't get hostname for :www.espressif.com:
E (352268) esp-tls: Failed to open new connection
E (352268) TRANS_SSL: Failed to open a new connection
I (352278) esp-tls: esp_tls_conn_destroy
E (352278) HTTP_CLIENT: Connection failed, sock < 0
E (352288) APP: esp_http_client_perform
I (352288) esp-tls: esp_tls_conn_destroy
I (353288) APP:

Running, isConnected=1, downloadSuccess=7, downloadError=72

MemoryInfo:
MALLOC_CAP_8BIT:        4251189
MALLOC_CAP_32BIT:       4307125
MALLOC_CAP_INTERNAL:     266062
MALLOC_CAP_SPIRAM:      4041063
MALLOC_CAP_DMA:          210126
MALLOC_CAP_EXEC:         180544

EventLog, ticks=35169
[0] event_ticks=24566, event_base=WIFI_EVENT, event_id=5
[1] event_ticks=24576, event_base=WIFI_EVENT, event_id=4
[2] event_ticks=24655, event_base=IP_EVENT, event_id=0
[3] event_ticks=22855, event_base=IP_EVENT, event_id=0
[4] event_ticks=23243, event_base=WIFI_EVENT, event_id=5
[5] event_ticks=23449, event_base=WIFI_EVENT, event_id=5
[6] event_ticks=23655, event_base=WIFI_EVENT, event_id=5
[7] event_ticks=23661, event_base=WIFI_EVENT, event_id=4
[8] event_ticks=24154, event_base=WIFI_EVENT, event_id=5
[9] event_ticks=24360, event_base=WIFI_EVENT, event_id=5
**********************************************************************_
The event log shows, that the last received events were:
[0] event_ticks=24566, event_base=WIFI_EVENT, event_id=5     (DISCONNECTED)
[1] event_ticks=24576, event_base=WIFI_EVENT, event_id=4     (CONNECTED)
[2] event_ticks=24655, event_base=IP_EVENT, event_id=0     (GOT_IP)
But the network stack does NOT allow a new request to be processed.
It fails already during hostname resolving.
To reproduce the error enable/disable a Wi-Fi AP a lot of times (perhaps 30 times), and at irregular intervals.
When enabling the Wi-Fi AP wait to see, if a https request succeeds or not...
I used the "Mobile hotspot" functionality in Windows. As written below, the same "Mobile hotspot" does work for other devices, when the problem exists.

I have checked, if lwip has any active pcbs, when issue is active.
It does not:
I (699628) lwip: -------------active pcbs------------
I (699628) lwip: -------------bound pcbs-------------
I (699638) lwip: -------------tw     pcbs------------

@espressif
Is it possible to debug/readout any debug information from Wi-Fi handling?
The ESP32 believes it is connected to a Wi-Fi AP, but the Wi-Fi hotspot does not recognize any connected devices.

if (event_base == WIFI_EVENT && event_id == WIFI_EVENT_STA_START) {
esp_wifi_connect();
} else if (event_base == WIFI_EVENT && event_id == WIFI_EVENT_STA_DISCONNECTED) {
isConnected = false;
ESP_LOGI(TAG,"disconnect from AP. Try connect to AP again");
esp_wifi_connect();
} else if (event_base == WIFI_EVENT && event_id == WIFI_EVENT_STA_CONNECTED) {
isConnected = true;
ESP_LOGI(TAG,"disconnect from AP. Try connect to AP again");
esp_wifi_connect();
}
else if (event_base == IP_EVENT && event_id == IP_EVENT_STA_GOT_IP) {
ip_event_got_ip_t* event = (ip_event_got_ip_t*) event_data;
ESP_LOGI(TAG, "got ip:" IPSTR, IP2STR(&event->ip_info.ip));
}
}
hi @MartinTJDK
This time should be added to the callback function. WIFI_EVENT_STA_CONNECTED
And in the event, set isConnected to true.

@mahavirj Can someone from Espressif confirm, that a "esp_wifi_connect();" is required after the WIFI_EVENT_STA_CONNECTED event in order to ensure reconnect to Wi-Fi network - at any time.
I am able to enter a Wi-Fi connection state to an AP (after many disconnectes/connects), where network communication does not work, but the ESP Wi-Fi stack believes, that it is connected.
Turning Wi-Fi AP off for 1 minute, and starting Wi-Fi AP again causes ESP32 to work properly again.
When ESP32 does not work properly, other devices are able to use the Wi-Fi AP.

hi @MartinTJDK
If you want to reconnect wifi after WIFI is disconnected, you can call esp_wifi_connect to reconnect WIFI after the event of WIFI_EVENT_STA_DISCONNECTED.
After reconnecting WIFI, you need to close the previous network communication connection, such as closing the socket, restarting and opening a new socket to communicate.

@MartinTJDK Should not call esp_wifi_connect() when WIFI_EVENT_STA_CONNECTED event get. There is a mistake on @xueyunfei998 's code.
From your log W (2009241) wifi:m f probe req l=0, it means ESP32 is out of memory to send some specific packets. I believe there is something wrong on Wi-Fi. I suggest update to latest IDF v4.3 and try again.

hi @MartinTJDK
Sorry, there is a problem with the code provided above.
WIFI_EVENT_STA_CONNECTED:
This connection event will be generated if the function esp_wifi_connect () is called and the return value ESP_OK is received, and the station has successfully connected to the target AP.

Thanks for reporting, feel free to reopen.


Out of date

This article appears to be out of date with respect to the changes to Monitor and Activity Logs as of Jan 2019.

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

ID: dbec33b5-f832-874c-5800-b147d1a9c49c
Version Independent ID: 67418df5-5fad-5c31-b38f-71f5a8c8abe0
Content: Archive Azure metric and log data using Azure Storage
Content Source: articles/azure-monitor/learn/tutorial-archive-data.md
Service: azure-monitor
GitHub Login: @johnkemnetz
Microsoft Alias: johnkem

Thank you for taking the time to share your product and documentation feedback with us. Your input is valued because it helps us create the right documentation for our customers. Due to the volume of issues in our queue, we are closing open issues older than 90 days. We hope to continue hearing from you. Thank you.


Lexvo languages rake task fails to add anything to the db because of a difference in namespace

Descriptive summary
Observed in 0.0.1.alpha. When running rake hyrax:controlled_vocabularies:language no languages are added to the database. The cause is a difference in the namespace used in the lexvo data (http://www.w3.org/2008/05/skos#) and RDF::Vocab::SKOS (http://www.w3.org/2004/02/skos/core). The easiest fix would be to change the predicate in /lib/hyrax/controlled_vocabulary/importer/language.rb to match the one in lexvo (http://www.w3.org/2008/05/skos#prefLabel). I'd be happy to submit a PR with this change made.
Expected behavior
Almost 8000 langages should be added to the qa_local_authority_entries table
Actual behavior
No language terms are added to the database table.
Steps to reproduce the behavior

Run rake hyrax:controlled_vocabularies:language
Once it completes check http://localhost:3000/authorities/terms/local/languages - if it's empty, you have the problem

Good catch, @geekscruff! I'd be happy to accept that PR. :smiley:

Excellent. I'm without my machine for a few days so will submit it by the end of the week :)

I contacted Gerard de Melo about this issue and it looks like he will update the URI at some future date:

Thanks for pointing this out! We are in the process of setting up our
whole new infrastructure at Rutgers, so it may take a while, but we will
definitely update the SKOS URIs. I will keep you updated.


Add non-clusteradmin support to CP4WAIOps status checker tool

NOTE: this PR to be merged after #117
With this PR, the status checker tool is now able to run for non-clusteradmin situations. The output remains mostly the same for clusteradmin vs non-clusteradmin scenarios (with the exception of components that exist in different namespaces than the installation namespace).

Refactored code into functions to use across commands
Added non-clusteradmin support to oc waiops status command
Added non-clusteradmin support to oc waiops status-all command
Added non-clusteradmin support to oc waiops status-upgrade command
Updated script doc to remove clusteradmin requirement
Updated script version to 0.0.15

There is an implicit assumption that a non-clusteradmin user would have access to the CP4WAIOps installation namespace to run the tool (otherwise, they wouldn't be able to install the product).

Verified the updates for all three commands on a cluster with non-clusteradmin credentials provided by Bryan Winkleman.

Updated the non-clusteradmin output for status-all to print out the "skipped" components as follows. Also included an [INFO] message at the top of the output to explain this with a hint of how to get the full output:


omit.na parameter not working properly in r4ml.ml.preprocess

Preprocess method has an "omit.na" parameter that should take care of NULLs, but we have to run dropna to the output to get the code to work properly.
# omit.na should take care of na processing....
df_trans <- r4ml.ml.preprocess(
  df, transformPath="/tmp",
  recodeAttrs=c("UniqueCarrier", "TailNum", "Origin", "Dest"),
  omit.na=c("UniqueCarrier", "TailNum", "Origin", "Dest"))

# sample the dataset into the train and test
samples <- r4ml.sample(df_trans$data, perc=c(0.7, 0.3),seed=0)
train <- samples[[1]]
ignore <- cache(train)
test <- samples[[2]]
ignore <- cache(test)

# train the glm model by default it is the binomial
train_m <- as.r4ml.matrix(train)

## dropna should not be necessary here!
glm <- r4ml.glm(DepTime ~ .,as.r4ml.matrix(dropna(train_m)))

PR #47 merged


Move Null to the Bottom

This is the VM issue for https://github.com/dart-lang/sdk/issues/28024
From what I can see, this should only affect is checks and function types:
List<Null> is List<A> should return true (especially in checked mode).
(A a) => ...  should be a subtype of Function(Null)

@crelier

This is a Gist of our discussion/design document: https://gist.github.com/lrhn/c8cd36899c44c45c14a7786105132066
The tl;dr is to just treat Null as a subtype of other types in

Generic type parameters: List<Null> is-a List<int>.
Function types: int Function(int) is-a int Function(Null)

Moving to 1.22 for implementation

I'm reading the design document above and notice some missing type arguments in this paragraph, probably due to some missing code formatting:

This makes a difference where we have composite types. A List is-not-a List and a (int)→int function is-not-a (Null)→int function, even though they *could *be - they are extensionally compatible but not compatible in the type system.

I suppose you meant: List<Null> is-not-a List<int>

Good catch, (all?) formatting issues should be fixed now so all type parameters are visible.


feat: Improve #print prefix filtering.

This fixes some annoyances I had with #print prefix.
It filters out internal and unstable auto-generated names by default, but has an options to control that.  It also prints out private declarations if the scope is explicitly named.

Thanks for all the comments @fgdorais.  I'll plan to merge this tonight unless I see more things to address.


Add queen-attack

Could a type be used?

Could a type be used?
What you've got is perfectly okay. The boundaries for the queen seemed like a use case for a user-defined type

I'll have to play with it this weekend, but if we do go that way, I'll want to add an instructions append. It doesn't have to be anything special as long as it makes it clear we're using a custom type rather than the built-in types from the other exercises.

Merge conflict fixed


How to implement xsuaa in K8's with sapui5

Hi,
I would like to know how to bind xsuaa instance with sapui5 in K8's.
Could you please suggest me the solution.
Thanks

Hi,
this is java client library not SAPUI5.
Kind Regards,
Liga


Make player option depend on a player’s strategy

This will need to be a property of the player

Lets just specialize on it


Factorization or Deletion of Shake to Scan

Factorize or Delete of Shake to Scan. We now have a good navigation. The only corner case I could think off are broken screens that don't register touch anymore.
https://github.com/openfoodfacts/openfoodfacts-androidapp/search?q=mShakeDetector.setOnShakeListener(count+->+{&unscoped_q=mShakeDetector.setOnShakeListener(count+->+{

What do you mean with "factorize"?

As you may have seen, the code was duplicated in many views.


DOM elemetn box Shadow in screenshot

The dom object that I'm taking a screenshot of has a box shadow and it's not captured in the screenshot.
Is there any workaround for it?
Thanks!

I also would like box-shadow to be supported particularly box-shadow:inset
html2canvas is a great tool. Thanks for your/your team's work on this code.
Best wishes.

Duplicate from:

https://github.com/niklasvh/html2canvas/issues/114
https://github.com/niklasvh/html2canvas/issues/221
https://github.com/niklasvh/html2canvas/issues/246
https://github.com/niklasvh/html2canvas/issues/430

(Note: #430 is actually unrelated and talks about the shadow DOM, which is unrelated to CSS *shadow properties.)

Would be cool this to be solved.

Closing as duplicate


Make tqdm a required dependency?

In a fresh Python 3.7.3 virtual environment with pdfmajor installed via pip, an attempt to follow the basic example in the documentation leads to a module not found error (cf. before) since tqdm is listed as a dev requirement.
Either the basic example aught to not utilize tqdm or it should be bundled as a required dependency, perhaps?
Python 3.7.3 (default, Jul 23 2019, 11:39:30)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.7.0 -- An enhanced Interactive Python. Type '?' for help.

[ins] In [1]: import pdfmajor

[ins] In [2]: from pdfmajor.interpreter import PDFInterpreter
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-2-fbef3dceeb7a> in <module>
----> 1 from pdfmajor.interpreter import PDFInterpreter

~/.local/opt/pyenv/versions/3.7.3/envs/pdf/lib/python3.7/site-packages/pdfmajor/interpreter/__init__.py in <module>
      1 from typing import List
      2
----> 3 from tqdm import tqdm
      4
      5 from ..parser.PDFPage import PDFPage

ModuleNotFoundError: No module named 'tqdm'

Thank you for reporting this.
Issue resolved under version 1.3.9


npm audit is showing latest laravel-mix as using an insecure version of semver (7.3.5)

Laravel Mix Version: 6.0.49 (npm list --depth=0)
Node Version (node -v): v18.2.0
NPM Version (npm -v): 8.9.0
OS: macOS

Description:
npm audit is showing latest laravel-mix as using an insecure version of semver (7.3.5)
Steps To Reproduce:
Run npm audit on any laravel-mix project using 6.0.49 or lower
Workaround:
npm audit --omit=dev will pass since laravel-mix is a dev dependency

Just adding some more details about the packages:
npm list semver
├─┬<EMAIL_ADDRESS>│ ├─┬<EMAIL_ADDRESS>│ │ └─┬<EMAIL_ADDRESS>│ │   └──<EMAIL_ADDRESS>│ ├─┬<EMAIL_ADDRESS>│ │ └──<EMAIL_ADDRESS>deduped
│ ├─┬<EMAIL_ADDRESS>│ │ └──<EMAIL_ADDRESS>deduped
│ ├──<EMAIL_ADDRESS>│ └─┬<EMAIL_ADDRESS>│   └─┬<EMAIL_ADDRESS>│     └──<EMAIL_ADDRESS>deduped
└─┬<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>

I think we may be able to resolve this bumping babel-loader to the latest version. It looks like make-dir which has the vulnerable version of semver was removed from babel-loader's package.json file. I did not see anything about any breaking changes from v8 to v9 in https://github.com/babel/babel-loader/releases

Is there any movement on this?

@jonathan-gruenhut - I think so, I believe the vulnerable version was 7.3.5 and I am now seeing 7.5.4 on my installs:
--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>| --<EMAIL_ADDRESS> **|   --<EMAIL_ADDRESS>deduped**
+--<EMAIL_ADDRESS>| --<EMAIL_ADDRESS> +--<EMAIL_ADDRESS> | --<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>--<EMAIL_ADDRESS>   --<EMAIL_ADDRESS>`--<EMAIL_ADDRESS>Are you still seeing an issue when you run npm audit? Have you tried doing an npm upgrade?

My +1 to close this issue as resolved

Resolved on audit fix, thanks