Web Data not retaining user-specified search engines/Selection Context Search Extension results not opening

Using Ungoogled-chromium Portable Linux 80.0.3987.106-1.1 binary today, a pop-up appeared: “Your profile could not be opened correctly.  Some features may be unavailable."  Indeed, only the default search engines were available.
A webpage from 2015 suggested that ~/.config/google-chrome/Default/Web Data may be corrupt in Chrome for a similar notification;  perhaps the corresponding location for UC v80 would be  ~/.config/chromium/Default/Web Data.
According to a recent post, the Web Data file seems to store search engines.  Is it not encrypted by default in Ungoogled Chromium, along with some other config files, contrarily to some in Chromium?
Apparently, it can be opened with Notepad++ (perhaps also notepadqq in Linux, a 'Notepad++-like editor for Linux').  However, a quick cat displays some unexpected 'credit_cards' term in the second paragraph.  Perhaps it is safer to do the following check while offline?  The bash prompt has been changed below for safety's sake to 'myprompt ~$';  it appears twice below:
myprompt ~ $ cat .config/chromium/Default/Web\ Data
SQLite format @  !.;ñöûö                                                                                YSearxsearx.mehttps://searx.me/favicon.icohttps://searx.me/?q={searchTerms}UTF-8ch{google:pathWildcard}?ei={inputEncoding}&fr=crmas&p={searchU^øckDuckGoduckduckgo.comhttps://duckduckgo.com/favicon.icohttps://duckduckgo.co485bf7d3-0215-45af-87dc-538868000012[]https://searx.me/archTer^¾gÏ,òÐ¢,¾óBBkc5bf7d3-0215-45af-87dc-538868000092[]https://duckduckgo.com/chrome_newtabEO]about:blank}!)Q[[]https://www.bing.com/images/detai%%tablecredit_cardscreditø°kCHROMI#enterInsightsimageBin={google:imageThumbnailBase64}https://www.bing.com/chrome/newtab~#5
%%tablecredit_cardscredit_cards
                               CREATE TABLE credit_cards ( guid VARCHAR PRIMARY KEY, name_on_card VARCHAR, expiration_month INTEGER, expiration_year INTEGER, card_number_encrypted BLOB, date_modified INTEGER NOT NULL DEFAULT 0, origin VARCHAR DEFAULT '', use_count INTEGER NOT NULL DEFAULT 0, use_date INTEGER NOT NULL DEFAULT 0, billing_address_id VARCHAR)t	?indexautofill_name_value_lowerautofill
CREATE INDEX autofill_name_value_lower ON autofill (name, value_lower)'gindexautofill_nameautofill	CREATE INDEX autofill_name ON autofill (name)[	tableautofillautofillCREATE TABLE autofill (name VARCHAR, value VARCHAR, value_lower VARCHAR, date_created INTEGER DEFAULT 0, date_last_used INTEGER DEFAULT 0, count INTEGER DEFAULT 1, PRIMARY KEY (name, value))/Cindexsqlite_autoindex_autofill_1autofil)%tablekeywordskeywordsCREATE TABLE keywords (id INTEGER PRIMARY KEY,short_name VARCHAR NOT NULL,keyword VARCHAR NOT NULL,favicon_url VARCHAR NOT NULL,url VARCHAR NOT NULL,safe_for_autoreplace INTEGER,originating_url VARCHAR,date_created INTEGER DEFAULT 0,usage_count INTEGER DEFAULT 0,input_encodings VARCHAR,suggest_url VARCHAR,prepopulate_id INTEGER DEFAULT 0,created_by_policy INTEGER DEFAULT 0,last_modified INTEGER DEFAULT 0,sync_guid VARCHAR,alternate_urls VARCHAR,image_url VARCHAR,search_url_post_params VARCHAR,suggest_url_post_params VARCHAR,image_url_post_params VARCHAR,new_tab_url VARCHAR,last_visited INTEGER DEFAULT 0, created_from_play_api INTEGER DEFAULT 0)}''9tabletoken_servicetoken_serviceCREATE TABLE token_service (service VARCHAR PRIMARY KEY NOT NULL,encrypted_token BLOB)9M'indexsqlite_autoindex_token_service_1token_servicef/tablemetaÌetaCREAün+mílüõû'óÌÕn;;utableautofill_profiles_trashautofill_profiles_trashCREATE TABLE autofill_profiles_trash ( guid VARCHAR);;tableautofill_profile_phonesautofill_profile_phonesCREATE TABLE autofill_profile_phones ( guid VARCHAR, number VARCHAR)~;;tableautofill_profile_emailsautofill_profile_emailsCREATE TABLE autofill_profile_emails ( guid VARCHAR, email VARCHAR);99tableautofill_profile_namesautofill_profile_namesU/indexsqlite_autoindex_autofill_profiles_1autofill_profiles"e VARCHAR, middle_name VARCHAR, last_name VARCHAR, full_name VARCHAR)A
CREATE TABLE autofill_profiles ( guid VARCHAR PRIMARY KEY, company_name VARCHAR, street_address VARCHAR, dependent_locality VARCHAR, city VARáHAR, state VARCHAR, zipcode VARCHAR, sorting_code VARCHAR, country_code VARCHAR, date_modified INTEGER NOT NULL DEFAULT 0, origin VARCHAR D^\&ÖéÆ(µ\*uáW--ctablepayments_upi_vpapayments_upi_vpaCREATE TABLE payments_upi_vpa (vpa VARCHAR)q99tablepayments_customer_datapayments_customer_dataCREATE TABLE payments_customer_data (customer_id VARCHAR)??Etableautofill_model_type_stateautofill_model_type_stateCREATE TABLE autofill_model_type_state (model_type INTEGER NOT NULL PRIMARY KEY, value BLOB)K991tableautofill_sync_metadataautofill_sync_metadataREATE TABLE autofill_sync_metadata (model_type INTEGER NOT NULL, storage_key VARCHAR NOT NULL, value BLOB, PRIMARY KEY (model_type, storage_key))K_9indexsqlite_autoindex_autofill_sync_metadata_1autofill_sync_metadataj;;ktableserver_address_metadataserver_address_metadataCREATE TABLE server_address_metadata (id VARCHAR NOT NULL,use_count INTEGER NOT NULL DEFAULT 0, use_date INTEGER NOT NULL DEFAULT 0, has_converted BOOL NOT NULL DEFAULT FALSE)M--Mtableserver_addressesserver_addressesCREATE TABLE server_addresses (id VARCHAR,company_name VARCHAR,street_address VARCHAR,addrec^[[?1;2cmyprompt ~ $ 1;2c1;2c1;2c1;2c1;2c1;2c1;2c1;2c1;2c1;2c1;2c1;2code VARCHAR,sorting_code VARCHAR,country_code VARCHAR,language_code VARCHAR, recipient_name VARCHAR, phone_number VARCHAR)R55Gtableserver_card_metadataserver_card_metadataCREATE TABLE server_card_metadata (id VARCHAR NOT NULL,use_count INTEGER NOT NULL DEFAULT 0, use_date INTEGER NOT NULL DEFAULT 0, billing_address_id VARCHAR)z2;;{tablepayment_method_manifestpayment_method_manifest!CREATE TABLE payment_method_manifest ( expire_date INTEGER NOT NULL DEFAULT 0, method_name VARCHAR, web_app_id VARCHAR)S==9tableweb_app_manifest_sectionweb_app_manifest_section CREATE TABLE web_app_manifest_section ( expire_date INTEGER NOT NULL DEFAULT 0, id VARCHAR, min_version INTEGER NOT NULL DEFAULT 0, fingerprints BLOB)

NOTES:

When trying an engine search from the shortcut menu offered by the Selection Context Search v5.18 extension, the search results tab doesn't appear, even when changing its settings option to open the result in a separate window. The extension worked ok with UC v78.
The UC Portable Linux binary was extracted to /opt using sudo and demonstrated username:username ownership for some extracted files.  For this install, 'sudo chown root:root -R' was used for that folder:  perhaps this would be an additional recommended security step?

https://chromium.googlesource.com/chromium/chromium/+/20f8aa123f98b2bcb0d346af0d78ad7a8ddea5d0/chrome/browser/webdata/web_database.cc
It is probably there for the autofill function? Though I don't know whether they put queries directly into the file. There should be an sql file somewhere in the folder that saves the actual data.

Thanks @wchen342!
Having searched further after the initial concern, the appearance of 'credit cards', etc. in .config/chromium/Default/Web Data doesn't seem to be specific to Ungoogled Chromium Portable Linux binary v80 but rather standard to Chromium/Chrome and appears in Vivaldi 2.11 (based on Chromium too):  you can choose to autofill your credit card information, and presumably that file helps to store it.  For example, this website suggests that this autofill setting can be modified at:
chrome://settings/autofill
...which leads to the search engine list and is therefore related to the Web Data file, presumably.
The title has been changed to 'Web Data not retaining user-specified search engines/Selection Context Search Extension results not opening', as there is no unusual 'Security alert' required about that file, presumably.

Would you happen to have chrome://flags/#disable-search-engine-collection enabled? I'm not sure if that affects the issue here though.

Thanks, @Eloston.
chrome://flags/#disable-search-engine-collection was not altered and is therefore disabled.  The only flag that I think has remained changed since either before or after this situation occurred is the flag to enable #enable-reader-mode (which distills webpages from clutter on request).  However, I would have also changed the MIME flag (#extension-mime-request-handling) occasionally when trying (unsuccessfully) to install extensions without needing to unpack them (using an extension to install them that was first unpacked), but afterwards the flag was reset to default.
On closer inspection, not all of my added search engines are missing after all:  I have since noticed that the search engine which I added and then marked as default (https://www.yippy.com/search?v%3Aproject=clusty-new&query=%s) is the only one that is still listed among the added engines.  That engine works ok and remains the default in the location field.  It is marked as the default in chrome://settings/searchEngines and is listed in the 'Default Search Engines' section along with the out-of-the-box search engines.  It also appears towards the top of the Web Data file.
However, in Vivaldi 2.11.1811.38 (user agent 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.107 Safari/537.36') on this Calculate Linux 20 (Gentoo) installation, my user-defined search engines and the Selection Context Search extension's context menus offering search engines all seem to open result tabs ok.  Maybe this bug has something to do with the new ScrollToTextFragment feature introduced in Chromium 80,
mentioned in a link in an aforementioned post, or some related bug upstream with chromium 80, as the link seems to relate to search engines being enable to provide more information?

This issue may now be closed, as the two artifacts reported do not recur at least in the current UC Portable Linux version (v85), which supersedes v80 on which this report applies.  The artifacts may not have recurred in v84 either, at least.  Specifically:-

Web Data not retaining user-specified search engines
Selection Context Search Extension results not opening in new tab

Closing since #1444 is merged.


Missing Features

Theres no world border deleting setting like in mineways, which it only delete cave but leaving the world border which won't be a big performance problem, but i would like to see it.

Also we cannot jump into the player which is a missing feature, coordinate teleport is not enough ig.
And some features can be useful in mineways are not here either, but still its a great app and i want it to see it improve.

I have added in that it won't export out the sides of the world anymore. I have also added in a new teleport dialog where you can teleport to the locations of different players. The top-down view of the world has also been updated to now provide height-based shading and water is now transparent.
You can find the latest release with these fixes / features here: https://github.com/BramStoutProductions/MiEx/releases/tag/v1.3.0


Automatically create a Backstage integration when service gets mapped

Is your feature request related to a problem? Please describe.
Release 0.13.0 of the PagerDuty plugin for Backstage introduced a service mapping page to allow for easy onboarding of existing services but it doesn't actually create an integration in PagerDuty. It just creates a service annotation with the service-id and this limits the capability to trigger incidents from Backstage.
Describe the solution you'd like
I would like to have an integration to Backstage being created automatically if it doesn't exist and added as an annotation to the Backstage entity.
Describe alternatives you've considered
At this point I need to manually create an integration key on the services I want to allow users to trigger incidents on. Then the integration key is automatically mapped to Backstage. Still, requires one additional step that I would like to avoid.

Closing this feature request has this was introduced in version 0.9.0.


AttributeError: 'LowMemoryVideo' object has no attribute 'reader'

(venv) C:\tut\DiffSynth-Studio>python examples\Diffutoon\diffutoon_toon_shading_with_editing_signals.py
Failed to load cpm_kernels:No module named 'cpm_kernels'
Downloading models: ['AingDiffusion_v12', 'AnimateDiff_v2', 'ControlNet_v11p_sd15_lineart', 'ControlNet_v11f1e_sd15_tile', 'ControlNet_v11f1p_sd15_depth', 'ControlNet_v11p_sd15_softedge', 'TextualInversion_VeryBadImageNegative_v1.3']
    aingdiffusion_v12.safetensors has been already in models/stable_diffusion.
    mm_sd_v15_v2.ckpt has been already in models/AnimateDiff.
    control_v11p_sd15_lineart.pth has been already in models/ControlNet.
    sk_model.pth has been already in models/Annotators.
    sk_model2.pth has been already in models/Annotators.
    control_v11f1e_sd15_tile.pth has been already in models/ControlNet.
    control_v11f1p_sd15_depth.pth has been already in models/ControlNet.
    dpt_hybrid-midas-501f0c75.pt has been already in models/Annotators.
    control_v11p_sd15_softedge.pth has been already in models/ControlNet.
    ControlNetHED.pth has been already in models/Annotators.
    verybadimagenegative_v1.3.pt has been already in models/textual_inversion.
Traceback (most recent call last):
  File "C:\tut\DiffSynth-Studio\examples\Diffutoon\diffutoon_toon_shading_with_editing_signals.py", line 193, in <module>
    runner.run(config_stage_1)
  File "c:\tut\diffsynth-studio\diffsynth\pipelines\pipeline_runner.py", line 86, in run
    config["pipeline"]["pipeline_inputs"] = self.add_data_to_pipeline_inputs(config["data"], config["pipeline"]["pipeline_inputs"])
  File "c:\tut\diffsynth-studio\diffsynth\pipelines\pipeline_runner.py", line 64, in add_data_to_pipeline_inputs
    pipeline_inputs["input_frames"] = self.load_video(**data["input_frames"])
  File "c:\tut\diffsynth-studio\diffsynth\pipelines\pipeline_runner.py", line 54, in load_video
    video = VideoData(video_file=video_file, image_folder=image_folder, height=height, width=width)
  File "c:\tut\diffsynth-studio\diffsynth\data\video.py", line 85, in __init__
    self.data = LowMemoryVideo(video_file, **kwargs)
  File "c:\tut\diffsynth-studio\diffsynth\data\video.py", line 9, in __init__
    self.reader = imageio.get_reader(file_name)
  File "C:\tut\DiffSynth-Studio\venv\lib\site-packages\imageio\v2.py", line 290, in get_reader
    image_file = imopen(uri, "r" + mode, **imopen_args)
  File "C:\tut\DiffSynth-Studio\venv\lib\site-packages\imageio\core\imopen.py", line 113, in imopen
    request = Request(uri, io_mode, format_hint=format_hint, extension=extension)
  File "C:\tut\DiffSynth-Studio\venv\lib\site-packages\imageio\core\request.py", line 247, in __init__
    self._parse_uri(uri)
  File "C:\tut\DiffSynth-Studio\venv\lib\site-packages\imageio\core\request.py", line 407, in _parse_uri
    raise FileNotFoundError("No such file: '%s'" % fn)
FileNotFoundError: No such file: 'C:\tut\DiffSynth-Studio\data\examples\diffutoon_edit\input_video.mp4'
Exception ignored in: <function LowMemoryVideo.__del__ at 0x000001A4FEFEA3B0>
Traceback (most recent call last):
  File "c:\tut\diffsynth-studio\diffsynth\data\video.py", line 18, in __del__
    self.reader.close()
AttributeError: 'LowMemoryVideo' object has no attribute 'reader'

python examples\Diffutoon\diffutoon_toon_shading.py works fine

(venv) C:\tut\DiffSynth-Studio>python examples\Diffutoon\diffutoon_toon_shading.py
Failed to load cpm_kernels:No module named 'cpm_kernels'
Downloading models: ['AingDiffusion_v12', 'AnimateDiff_v2', 'ControlNet_v11p_sd15_lineart', 'ControlNet_v11f1e_sd15_tile', 'TextualInversion_VeryBadImageNegative_v1.3']
    aingdiffusion_v12.safetensors has been already in models/stable_diffusion.
    mm_sd_v15_v2.ckpt has been already in models/AnimateDiff.
    control_v11p_sd15_lineart.pth has been already in models/ControlNet.
    sk_model.pth has been already in models/Annotators.
    sk_model2.pth has been already in models/Annotators.
    control_v11f1e_sd15_tile.pth has been already in models/ControlNet.
    verybadimagenegative_v1.3.pt has been already in models/textual_inversion.
Loading models from: models/stable_diffusion/aingdiffusion_v12.safetensors
    model_name: sd_text_encoder model_class: SDTextEncoder
    model_name: sd_unet model_class: SDUNet
    model_name: sd_vae_decoder model_class: SDVAEDecoder
    model_name: sd_vae_encoder model_class: SDVAEEncoder
    The following models are loaded: ['sd_text_encoder', 'sd_unet', 'sd_vae_decoder', 'sd_vae_encoder'].
Loading models from: models/AnimateDiff/mm_sd_v15_v2.ckpt
    model_name: sd_motion_modules model_class: SDMotionModel
    The following models are loaded: ['sd_motion_modules'].
Loading models from: models/ControlNet/control_v11f1e_sd15_tile.pth
    model_name: sd_controlnet model_class: SDControlNet
    The following models are loaded: ['sd_controlnet'].
Loading models from: models/ControlNet/control_v11p_sd15_lineart.pth
    model_name: sd_controlnet model_class: SDControlNet
    The following models are loaded: ['sd_controlnet'].
C:\tut\DiffSynth-Studio\venv\lib\site-packages\transformers\tokenization_utils_base.py:1601: FutureWarning: `clean_up_tokenization_spaces` was not set. It will be set to `True` by default. This behavior will be depracted in transformers v4.45, and will be then set to `False` by default. For more details check this issue: https://github.com/huggingface/transformers/issues/31884
  warnings.warn(
Using sd_text_encoder from models/stable_diffusion/aingdiffusion_v12.safetensors.
Using sd_unet from models/stable_diffusion/aingdiffusion_v12.safetensors.
Using sd_vae_decoder from models/stable_diffusion/aingdiffusion_v12.safetensors.
Using sd_vae_encoder from models/stable_diffusion/aingdiffusion_v12.safetensors.
Using sd_controlnet from models/ControlNet/control_v11f1e_sd15_tile.pth.
Using sd_controlnet from models/ControlNet/control_v11p_sd15_lineart.pth.
No sd_ipadapter models available.
No sd_ipadapter_clip_image_encoder models available.
Using sd_motion_modules from models/AnimateDiff/mm_sd_v15_v2.ckpt.
c:\tut\diffsynth-studio\diffsynth\models\attention.py:54: UserWarning: 1Torch was not compiled with flash attention. (Triggered internally at ..\aten\src\ATen\native\transformers\cuda\sdp_utils.cpp:455.)
  hidden_states = torch.nn.functional.scaled_dot_product_attention(q, k, v, attn_mask=attn_mask)
Textual inversion verybadimagenegative_v1.3 is enabled.
100%|█████████████████████████████████████████████████████████████████████████████████| 30/30 [00:00<00:00, 58.99it/s]
100%|█████████████████████████████████████████████████████████████████████████████████| 30/30 [00:04<00:00,  6.82it/s]
100%|█████████████████████████████████████████████████████████████████████████████████| 10/10 [06:47<00:00, 40.76s/it]
Saving images: 100%|██████████████████████████████████████████████████████████████████| 30/30 [00:13<00:00,  2.18it/s]
Saving video: 100%|███████████████████████████████████████████████████████████████████| 30/30 [00:00<00:00, 69.03it/s]

And here is PIP LIST

(venv) C:\tut\DiffSynth-Studio>pip list
Package                   Version         Editable project location
------------------------- --------------- -------------------------
absl-py                   2.1.0
addict                    2.4.0
altair                    5.4.0
attrs                     24.2.0
basicsr                   1.4.2
blinker                   1.8.2
cachetools                5.5.0
certifi                   2024.7.4
charset-normalizer        3.3.2
click                     8.1.7
colorama                  0.4.6
controlnet-aux            0.0.7
cupy-cuda12x              13.2.0
diffsynth                 1.0.0           c:\tut\diffsynth-studio
einops                    0.8.0
fastrlock                 0.8.2
filelock                  3.15.4
fsspec                    2024.6.1
future                    1.0.0
gitdb                     4.0.11
GitPython                 3.1.43
grpcio                    1.65.5
huggingface-hub           0.24.6
idna                      3.7
imageio                   2.35.1
imageio-ffmpeg            0.5.1
importlib_metadata        8.3.0
intel-openmp              2021.4.0
Jinja2                    3.1.4
jsonschema                4.23.0
jsonschema-specifications 2023.12.1
lazy_loader               0.4
lmdb                      1.5.1
Markdown                  3.7
markdown-it-py            3.0.0
MarkupSafe                2.1.5
mdurl                     0.1.2
mkl                       2021.4.0
modelscope                1.17.1
mpmath                    1.3.0
narwhals                  1.5.0
networkx                  3.3
numpy                     1.25.1
opencv-python             <IP_ADDRESS>
packaging                 24.1
pandas                    2.2.2
pillow                    10.4.0
pip                       22.2.1
platformdirs              4.2.2
protobuf                  5.27.3
psutil                    6.0.0
pyarrow                   17.0.0
pydeck                    0.9.1
Pygments                  2.18.0
python-dateutil           2.9.0.post0
pytz                      2024.1
PyYAML                    6.0.2
referencing               0.35.1
regex                     2024.7.24
requests                  2.32.3
rich                      13.7.1
rpds-py                   0.20.0
safetensors               0.4.4
scikit-image              0.24.0
scipy                     1.14.0
sentencepiece             0.2.0
setuptools                63.2.0
six                       1.16.0
smmap                     5.0.1
streamlit                 1.37.1
streamlit-drawable-canvas 0.9.3
sympy                     1.13.2
tb-nightly                2.18.0a20240820
tbb                       2021.13.1
tenacity                  8.5.0
tensorboard-data-server   0.7.2
tifffile                  2024.8.10
timm                      1.0.8
tokenizers                0.19.1
toml                      0.10.2
tomli                     2.0.1
torch                     2.3.1+cu121
torchvision               0.18.1+cu121
tornado                   6.4.1
tqdm                      4.66.5
transformers              4.44.0
typing_extensions         4.12.2
tzdata                    2024.1
urllib3                   2.2.2
watchdog                  4.0.2
Werkzeug                  3.0.3
yapf                      0.40.2
zipp                      3.20.0
[notice] A new release of pip available: 22.2.1 -> 24.2
[notice] To update, run: python.exe -m pip install --upgrade pip

It was due to missing input file


Re-bodge the V4 bodge

If the wave has V4a but not V4, then input_data[["V4_1"]] would be NULL.
This caused the ifelse() to fail unless something was done to make it
non-NULL -- such as there being non_english responses, we would assign
NA to the column in that case.
Once we got a data file with no non_english responses, the pipeline
failed.
To avoid this, always assign NA to those columns if we're not doing so
already.

I'm going to merge now so I can finish today's pipeline run, but please do add tests for that in a second PR


Text Align Center

Hi , I am able to center the text in the pdf,  but how do I center align the paragraph that is centered within a pdf, the docs is getting a bit tricky for me . Thanks

I don't know if we're asking a similar question, chintankamani, but I'm trying to ensure my text input renders centered. I've referenced Rohan750's page on how to make a certificate generator.
What I'm trying to fix is that the inputted name always renders centered on the PDF. Currently that's not happening. It's only centered if the name has just the right number of letters (roughly 5-6 letters). I know my x-axis (below) determines where the inputted text is rendered, but I'm wondering if it's somewhere here I can dictate that it, instead, always prints center-aligned.
 firstPage.drawText(name, {     x: 300,     y: 270,     size: 58,     font: SanChezFont,     color: rgb(0, 0, 0),   });
Any thoughts/advice are greatly appreciated!

See https://github.com/Hopding/pdf-lib/issues/10#issuecomment-593108695.


JMX Notification Support

Provide support for JMX notifications. For a discussion of various options please refer to the Wiki for details.

@rhuss We could close as fixed in 2.0!
All future improvements (websockets for example) may be added with separate GH issues.


[OPPRO-137] optimize compile process

What changes were proposed in this pull request?
First compile use -Dbuild_arrow=ON
Second compile use exists arrow_root=tools/build/arrow_install
How was this patch tested?
manual tests

@zhztheplayer please help to have a see, thanks!


Added AyuGram Desktop

Pull Request
Type of Change

App Addition

Description
Compiled the winutil.ps1 script and Checked The App Installation works well.

This PR will be declined as apps are not being added currently.

This PR will be declined as apps are not being added currently.

Ohh So should i  close this?


Referencing handle-connections in recipe description causes an exception

for example:
recipe MuxedTVShowTile
  use #shows as items
  TileMultiplexer
    list = items
    ...
  description `show ${TileMultiplexer.list} tiles`

causes:
description.js:217 Uncaught (in promise) TypeError: pattern.replace is not a function
    at DescriptionDomFormatter._initTokens (description.js:217)

ops, sorry, it's a duplicate of https://github.com/PolymerLabs/arcs/issues/1402


Please modify the document about the CORS Policy

In our document, we can know that the CORS Policy can be set in the Product Level. But there's a limitation which is not mentioned in the official document. That will make the customer confused.
If we need to set the CORS Policy in the Product Level, we need to add subscription key in the Request URL.

https://azure.microsoft.com/en-us/updates/azure-api-management-update-june-19/

@seagullt
Thanks for the feedback! We are currently investigating and will get back on this.

@seagullt Please see the CORS section of this doc and it also mention the scope of this.
https://docs.microsoft.com/en-us/azure/api-management/api-management-cross-domain-policies#CORS
Do let me know if any other question.
For now we will proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.

@DixitArora-MSFT I think there may be a misunderstanding between us. I'm not talking about the scope of the CORS Policy. I'm saying that when we tried to add CORS Policy in the product level, we need to add subscription keys in query strings.  But this restriction is only mentioned in the update announcement (https://azure.microsoft.com/en-us/updates/azure-api-management-update-june-19/) but not this apim docuement (https://docs.microsoft.com/en-us/azure/api-management/api-management-cross-domain-policies#CORS). So I think we should add the restriction I mentioned before to the second document.

@seagullt I have assigned this to content author for further review and update as appropriate.

#reassign:dlepow

We have a current doc work item to address this gap. I will update when the work is in progress.


Kafka-cdc-sink bytea type dosen't work with JDBC connector

Describe the bug
Create table with bytea type will cause this pipeline test fail, crate table with other types will success.
Risingwave -(Debezium Json)-> Kafka -(Debezium Json)-> JDBC connector -> Postgresql.
Error message/log
select * from types
relation “types” does not exist

To Reproduce
integration_tests/kafka-cdc-sink
-- risingwave.sql
CREATE TABLE kafka_types(
id int,
c_bytea bytea,
);
CREATE SINK IF NOT EXISTS types_sink
FROM kafka_types
WITH (
connector = 'kafka',
properties.bootstrap.server='message_queue:29092',
topic = 'types',
primary_key = 'id'
) FORMAT DEBEZIUM ENCODE JSON;

INSERT INTO kafka_types VALUES (1, '\x00');

# Makefile.toml
[tasks.setup-kafka]
script = """
docker compose exec message_queue \
    /usr/bin/rpk topic create -p 1 types
"""
[tasks.check-com-pg]
script = '''
docker exec postgres bash -c 'psql -U $POSTGRES_USER $POSTGRES_DB -c "select * from types"'
'''

// jsons/pg-sink.json
        "topics": "counts, types",

cargo make setup
cargo make check-com-pg

Expected behavior
No response
How did you deploy RisingWave?
No response
The version of RisingWave
No response
Additional context
No response

Just checked kafka-connect-jdbc repo, found:
https://github.com/confluentinc/kafka-connect-jdbc/blob/master/src/main/java/io/confluent/connect/jdbc/dialect/PostgreSqlDatabaseDialect.java#L330-L331
and
https://github.com/confluentinc/kafka-connect-jdbc/issues/404
Is it because RW needs to sink data of the bytes type to kafka first?

Does INSERT INTO kafka_types VALUES (1, '\x000000'); work? (instead of '\x00')

From debezium postgresql tutorial:
{"id":1,"c_bytea":"AA=="}

From our FORMAT DEBEZIUM ENCODE JSON sink:
{"c_bytea":"AA","id":1}

My guess is that we are missing the base64 padding by using STANDARD_NO_PAD:
https://github.com/risingwavelabs/risingwave/blob/e0ff37f3b2b50ee585715a3719dcb78924f01bd2/src/connector/src/sink/encoder/json.rs#L246

Does INSERT INTO kafka_types VALUES (1, '\x000000'); work? (instead of '\x00')

It worked.

Does INSERT INTO kafka_types VALUES (1, '\x000000'); work? (instead of '\x00')

It worked.

Thank you. This confirms it is a padding issue.


fix(home): Fix for issue #983

Home page was inadvertently routed to the poll component because its child route path is empty.

Fixes #983

@dlabrecq snapshot fabric8-ui is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-987-fabric8-ui.int.rdu2c.fabric8.io


pull request for e2e test at 12/06/2016 19:26:01

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


fix node init

Running 50_node.sh
/Users/mjl/.dotfiles/init/50_node.sh: line 2: /Users/mjl/.dotfiles/source/50_node.sh: No such file or directory
/Users/mjl/.dotfiles/init/50_node.sh: line 5: nave_install: command not found

the nave_install is a function defined in source/50_node.sh (which I masked out as 50_node.bug)
this is ia duplicate of #14

Do I want to include #14 in the macOS milestone?


fix bugs in test_spline.py

I'll suggest do something like this:
def assert_lietensor_close(actual, expected, *args, **kwargs):
    diff = (actual.Inv() @ expected).Log().tensor()
    zero = torch.zeros_like(diff)
    torch.testing.assert_close(diff, zero, *args, **kwargs)

Then
data = pp.randn_SE3(2, device=device)
poses = pp.bspline(data, 0.10, True)
assert_lietensor_close(poses[...,[0,-1],:], data[...,[0,-1],:], atol=1e-4, rtol=1e-4)

Also better to put the assertation as a pypose function and available as pypose.testing.assert_lietensor_close.
Could you create a folder testing under pypose and add the function and doc?


Install plugins globally

Is there currently a way to install plugins globally (in addition to installing in $HOME). This would be very useful on shared and build machines to be able to provide a global set of plugins that builds can override for specific needs.

I think providing an option to mention custom plugin installation path should resolve this issue.

Fixed via https://github.com/getgauge/common/commit/0a678df2ef614e8b0185100d6f42cc9d53661008


Fix home-assistant fitbit support

Motivation for this change
Similar to #60947. The fitbit components for home-assistant are broken in current nixpkgs due to a missing dependency. That dependency (python-fitbit) happens to not be packaged yet, so I'm adding it to nixpkgs as part of this PR.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Ran 0 tests in 0.000s

Please provide an appropriate checkPhase.

@dotlambda rebased onto 0.92 changes. GitHub never sent me an email notification about you changing the base branch of the PR so I was just waiting for 0.92 to get into master...
 Sorry for the spam.)

@GrahamcOfBorg build python2.pkgs.fitbit python3.pkgs.fitbit

@GrahamcOfBorg build python2.pkgs.fitbit python3.pkgs.fitbit


Encrypted SNI support?

Hello,
Does Fabio support encrypted SNI for HTTPS connections? I can't see it mentioned in the docs.
References: cloudflare, ietf

I think we are waiting on Golang to update. see https://github.com/golang/go/issues/9671#issuecomment-438972261

Ah, I see. Based on the discussion there, it seems extremely unlikely to happen any time soon. Additionally, because the issue is locked, nobody can comment to notify them when the internet draft is published.....


Docker File added

Fixes
#16
Description
A new docker file is added to the repo. With the help of this file, you can generate docker images. Which you can later use for development purposes.
If you have logged in to the docker hub then you can also push this image to the docker hub. You can also publish this image and which can later be used for development purposes.
Thank You

@saswatsam786 Hey - can you review this please?

@saswatsam786 Hey - can you review this please?

Yes, I will review it.


Integer to Roman

🚀 Feature
Converting Integer to Roman in C using Recursion
Have you read the Contributing Guidelines on Pull Requests?
Yes
Motivation
Would like to participate as a part of GSSOC'21
Pitch
Important feature and used recurson

/assign


[FIX-4876]Http alert plugin fix

Tips

Thanks very much for contributing to Apache DolphinScheduler.
Please review https://dolphinscheduler.apache.org/en-us/community/index.html before opening a pull request.

What is the purpose of the pull request
fix Http alert plugin bug that the bodyparams not effective
Brief change log

change org.apache.dolphinscheduler.plugin.alert.http.HttpSender set bodyparams in httprequest object

Verify this pull request
(Please pick either of the following options)
This pull request is code cleanup without any test coverage.

Codecov Report

Merging #4877 (5f30c31) into dev (f975489) will increase coverage by 1.18%.
The diff coverage is 57.14%.

@@             Coverage Diff              @@
##                dev    #4877      +/-   ##
============================================
+ Coverage     45.95%   47.14%   +1.18%
- Complexity     3471     3675     +204
============================================
  Files           539      568      +29
  Lines         23236    23887     +651
  Branches       2710     2751      +41
============================================
+ Hits          10679    11261     +582
- Misses        11587    11603      +16
- Partials        970     1023      +53

Impacted Files
Coverage Δ
Complexity Δ

...dolphinscheduler/plugin/alert/http/HttpSender.java
58.92% <57.14%> (-1.08%)
7.00 <0.00> (ø)

...olphinscheduler/server/registry/HeartBeatTask.java
31.70% <0.00%> (-58.92%)
2.00% <0.00%> (-1.00%)

.../server/master/runner/DependentTaskExecThread.java
51.57% <0.00%> (-16.85%)
10.00% <0.00%> (-5.00%)

...olphinscheduler/server/utils/DependentExecute.java
60.52% <0.00%> (-10.53%)
16.00% <0.00%> (-5.00%)

...ver/master/consumer/TaskPriorityQueueConsumer.java
43.62% <0.00%> (-9.40%)
16.00% <0.00%> (-4.00%)

...heduler/server/master/registry/MasterRegistry.java
71.42% <0.00%> (-5.72%)
6.00% <0.00%> (ø%)

...er/master/dispatch/host/assign/RandomSelector.java
77.77% <0.00%> (-5.56%)
3.00% <0.00%> (-1.00%)

...olphinscheduler/plugin/alert/email/ExcelUtils.java
78.18% <0.00%> (-3.64%)
8.00% <0.00%> (-1.00%)

...inscheduler/server/master/config/MasterConfig.java
42.42% <0.00%> (-3.04%)
11.00% <0.00%> (-1.00%)

...heduler/server/worker/registry/WorkerRegistry.java
83.01% <0.00%> (-1.60%)
10.00% <0.00%> (ø%)

... and 63 more

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 f975489...5f30c31. Read the comment docs.


all are not exported

I am not sure if this is a bug or I am blind. I have set it up all, well almost all, exported but I cannot see any of my lights, which are eWeLink zigbee mini in walls, all other eWeLink zigbee are exported like temperature and sensors but not these wall swithces. Are all devices supported? Or some are not going to be exported?
Latest version of all listed being used.

never mind, I discovered that I am blind :)

Glad you found what you were looking for, closing


Please tag a new release

Hi @Elao, could you please tag a new release including the depreciation warning fix?
Thanks

@cmfcmf done here https://github.com/Elao/WebProfilerExtraBundle/releases/tag/v2.3.1

Thanks!
ping @craigh


Modify input key

App
|Layout
| section
|  NewTodoInput
|  |Layout
|  | header
|  |  h1
|  |  input 📌
|  <>
|   TodoList
|   UnderBar
| Copyright

🔍 Found the components affected by the change! by Inga
https://github.com/seachicken/create-react-app-typescript-todo-example-2022/blob/fd212788f6ac1d8c62fd4267450b58172454b805/src/App/NewTodoInput/index.tsx#L37


Regex Expression does not handle whitespace characters

The current regex  - /^\((\S*)\){(.*)}$/
Will match each of the following statements twice when the string segments are split by ;
(0){zero};(1){single};
(a){zero};(Z){single};
However after splitting the following statements by interval, it will not match:
(0) {zero};(1) {single};
(0) {zero}; (1) {single};
I might recommend a match which catches whitespaces or warn users when with an exception.

will see if we could support having whitespace in between...should not be a big deal...as they are pure formatting. Will look into it tomorrow.

It would be a nice touch. Although, I should mention that the real issue might be on Locize.io which adds spaces when using the Google Translate UI
(0){Take bus to};(1){Take bus 1 stop to}; => (0) {Prendre le bus vers}; (1) {Prendre le bus 1 jusqu'à};

;) i think extending the regex will be easier than asking google to change that

<EMAIL_ADDRESS>should now support this...

@josephmcasey was a long time ago...did the updated version work with whitespaces - or do i need to change the regex a little more to make it work?


feat(gas-oracle): add gas price update after curie

Purpose or design rationale of this PR
This PR adds gas price update after curie and fixes some missing unit tests.
PR title
Your PR title must follow conventional commits (as we are doing squash merge for each PR), so it must start with one of the following types:

[x] feat: A new feature

Deployment tag versioning
Has tag in common/version.go been updated or have you added bump-version label to this PR?

[x] Yes

Breaking change label
Does this PR have the breaking-change label?

[x] No, this PR is not a breaking change

Codecov Report
Attention: Patch coverage is 45.61404% with 31 lines in your changes are missing coverage. Please review.

Project coverage is 56.44%. Comparing base (07b8ae2) to head (23f46af).

Files
Patch %
Lines

rollup/internal/controller/relayer/l1_relayer.go
36.73%
27 Missing and 4 partials :warning:

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1344      +/-   ##
===========================================
- Coverage    56.49%   56.44%   -0.06%
===========================================
  Files          160      160
  Lines        12548    12585      +37
===========================================
+ Hits          7089     7103      +14
- Misses        4923     4945      +22
- Partials       536      537       +1

Flag
Coverage Δ

rollup
61.93% <45.61%> (-0.26%)
:arrow_down:

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

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


Changing slide does not reset autoplay interval

When I navigate to the next slide using a custom control panel and the slideTo(index) function, I would assume that the autoplay interval gets reset. Otherwise you can scroll through the slides using arrow buttons and the slider changes unexpected due to a new autoslide.

Hi Felix,
Thanks for your interest and all this feedback. I'll find the time to look into it as soon as I get the chance, possibly on my next train ride.

When I navigate to the next slide using a custom control panel [...] I would assume that the autoplay interval gets reset
Yes, absolutely, but not every call to slideTo will be triggered by user-input.

I've intentionally left this out of the slideTo function, enabling programmatic calls to slideTo that do not require pausing.
Luckily, it's straightforward to use the autoplay.disableTemporarily() method whenever your users interact.
Take a look at the demo code if you like.
Now combined with issue #29 I think you should be able to easily achieve what you want. If not, let me know.

This works, thanks for the tip!


Doesn't work with realm

Hi!
I'm trying a project with realm but I catch error  "com.facebook.react.JavaScript (15): EXC_BAD_ACCESS (code=1, address=0x0)" after (Cmd + R), testing also did on android (real devices), it works without errors, but it does not start another thread.

Thanks!

Hi @IamRoman, I have no experience using Realm so unfortunately I am not sure what we could do to resolve this issue.  I do not think this error is caused by react-native-threads but is probably an error with Realm

Hi! Did anybody find a solution or workaround?

Hi there !
You are not alone using Realm and this package at the same time.
For now, my project is targetting only Android and I have not crossed yet any problem on Android.
We will soon target iOS so I guess we will have the same issue.
I'll tell here if we find a solution...

OK, actually, it is not working with Android neither.
As soon as we start a new thread, Realm gets closed. I've created an issue about it there: https://github.com/realm/realm-js/issues/2117

any update? pls

Hi,
I found a workaround that makes these two libraries work together.
Firstly, starting of new thread for some reason kills realm, so I reinitialized realm whenever I used it.
Rather then exporting realm instance and using it in every file I just exported schema and reinitialized realm there.
It looks something like this
const realm = new Realm({ schema : schemas });
I initialized this variable before using any realm operation and it worked without crashing

Unfortunately this is still an issue. Any ideas for even a hacky fix?

I can use both of these libraries in my project.
All you need to do is to use Realm in only one thread. For example I only use Realm in the worker thread so that my main thread doesn't know there is Realm, but you can communicate with postMessage and onmessage methods.
Hope it helps.


Prevent multiple clicking

Prevent multiple clicking on tiles until images are displayed and are loaded

can you add hacktoberfest's label on this issue?

thanks @Aatmaj-Zephyr, I'll working on it ASAP


Translate the fakeTeamwork lesson to es_MX

Translated the remote/fakeTeamwork lesson to es_MX

Thanks a bunch! Neat to see the differences between es_EX and es_ES in the body of the lesson :)


Babelify - rootPathSuffix giving error

Hi there,
I'm using Browserify with Babelify and setting the plugin there. It seems to be working great but as soon as I add rootPathSuffix I get this error...
{ [Error: Plugin 1 specified in "base" provided an invalid property of "rootPathSuffix" while parsing file: '[filename_omitted]']
  filename: '[filename_omitted]',

This is my Browserify Gulp task...
browserify({
    entries: [options.src], // Only need initial file, browserify finds the rest
    transform: [
        ['babelify', {
            ignore: /(libs)|(node_modules)|(plugins)/,
            compact: true,
            presets: ['es2015', 'react'],
            plugins: ['babel-root-import', {
                'rootPathSuffix': 'js/src'
            }]
        }],
        ['envify', {
            'global': true,
            '_': 'purge',
            NODE_ENV: 'production'}
        ]
    ], // We want to convert JSX to normal javascript
    debug: options.development, // Gives us sourcemapping
    cache: {},
    packageCache: {},
    fullPaths: options.development // Requirement of watchify
});

I also tried adding the settings to a .babelrc file but it did nothing. I feel like I'm making a rookie mistake here! :) Hopefully you can shed some light.
Many thanks
Using Babelify 7.3.0

Ah, apologies. I updated Babelify, moved the settings to .babelrc (like you specify) and it worked fine.
But, unfortunately I've had to revert Babel back to version 5 as the project won't run with Babel 6 (I really tried but I couldn't get IE8 to stop throwing an error, even with ES3 presets. On the plus side, I've managed to your plugin working using version 1.0.1.
Long shot but would you be able to tell me how to hack it so that I can use rootPathSuffix in your earlier version with babel 5 please? it's such a great feature.

Phew.. year - today/tomorrow we will update the tool to the v4.0 .. so i can show you the places where we integrated / where you can update the the old version..
:) You can make an fork of this repository and then add this feature to the old version, if it work's i will add this to the README

Great stuff! Thank you

Good news! I've managed to update to Babel 6 on this project so I can use the latest version.

Cool :) sounds good... sorry, i forgot to write you about the new version, since a few days it's merged .. but i've to publish it on npm ... maybe i've time today... then you could update to the new version of the plugin.
Can i close this issue then?

No worries man, thanks!
I'll close the issue.


Empirical Formula Calculator

Enter calculator name -
Empirical Formula Calculator
Describe calculator functionality -
Empirical Formula Calculator calculates the Empirical formula of any given molecule and displays the ratio of the elements present in that compound.
Under which category you wish to place it -

[ ] Computer Science
[ ] Mathematics
[ ] Physics
[x] Chemistry
[ ] Biology
[ ] Art
[ ] Finance
[ ] Scientific
[ ] Health
[ ] Sports
[x] Let project owner decide
[ ] Suggest a new category - (Answer here)

kindly assign it to me @SarthakKeshari

Hey @ravishrivas,
Assigned.
You may contribute your code under the folder path -
calc_for_everything\calculators\src\chemistry\empiricalFormulaCalc
Issue completion deadline - 22nd Oct 8:00:00 am IST
NOTE - In case the issue completion deadline is not met, the issue will be assigned to a new participant


Add rel=me to social links

This will allow the generated blog to be used for web verification, such as the one used by Mastodon

#66 Closes this


need explicit LANGUAGE pragma while running Haskell2010

Following the example written at Examples/ and then creating code using a Haskell2010 feature generates an error on running doctests without explicit language extension
e.g.
module MyLib (someFunc) where

data (Show a) => ShowProxy a = Prox a
  deriving (Show)

showViaProxy :: (Show a) => a -> IO ()
showViaProxy a = putStrLn $ show $ Prox a

someFunc :: IO ()
someFunc = showViaProxy "hello world!"

gives:
$ cabal build

successful, but:
$ cabal run doctests
/home/user/doctest-issue/src/MyLib.hs:3:6: error: [GHC-87429]
    Illegal datatype context: (Show a) =>
    Suggested fix: Perhaps you intended to use DatatypeContexts
  |
3 | data (Show a) => ShowProxy a = Prox a
  |      ^^^^^^^^

manually enabling the language version in the .hs file as such makes the code testable:
{-# LANGUAGE Haskell2010 #-}

module MyLib (someFunc) where

data (Show a) => ShowProxy a = Prox a
  deriving (Show)

showViaProxy :: (Show a) => a -> IO ()
showViaProxy a = putStrLn $ show $ Prox a

someFunc :: IO ()
someFunc = showViaProxy "hello world!"

$ cabal run doctests
[INFO   ] [ThreadId 4] Examples: 0  Tried: 0  Errors: 0  Unexpected output: 0

Makes sense. We should take into account language extensions enabled by default over here:
https://github.com/martijnbastiaan/doctest-parallel/blob/fc101335deda64749af5d24e9740be831a127720/src/Test/DocTest/Helpers.hs#L91
Amazing that we haven't caught this before!

I've provided a fix in:
https://github.com/martijnbastiaan/doctest-parallel/pull/86
In the mean time, you can call your doctest-parallel binary with --ghc-arg=-XHaskell2010, or add it to doctests.hs like this:
main :: IO ()
main = do
  args <- getArgs
  mainFromCabal "your-project" ("--ghc-arg=-XHaskell2010":args)


Collection was modified; enumeration operation may not execute

Describe the bug
Collection was modified; enumeration operation may not execute in Avalonia.Base.dll at BuildAvaloniaApp()
.StartWithClassicDesktopLifetime(args) level.
Random crash using ListBox connected to an observable collection
seams to append on highlight changing (but i might be wrong), even if observed collection did not changed.
To Reproduce
Hard to tell, but its quite rare.
Environment

OS: Windows 11
Avalonia-Version: 11.0.5

Do you do some async operations when pooulatiing the data? Best would be to have some code or sample to reproduce.

Make sure you update UI-bound collections on the UI thread.


England

Notes, comments and organisational things about the event in England.

[x] fix date ( 17th July)
[x] fix location (B'ham, Murray Learning Centre (R28 on this map https://www.birmingham.ac.uk/Documents/university/edgbaston-campus-map.pdf) in room UG05)
[ ] recruit helpers
[ ] advertising

Commenting here so I’m notified as plans develop - I don’t know what exactly I can do to support but I’d love to have a couple of research software engineers from Turing Institute at the event!! I have grand master plans with @martintoreilly to have lots of binder examples from our reproducible research champions project! :sparkles:

Same as Kirstie, notifications please GitHub :)
I may not have much capacity for the next month, but happy to response re dates, etc then do more where I can after mid-May.

Jumpin in here too to keep myself updated as plans develop 😄 May will be a bit hectic for me but can work around

Woah! Welcome everyone!
We have the possibility/option for B'ham or Cambridge in terms of location. I don't have a strong preference either way. How do we decide?
June feels very soon, should we aim for July or early August? (In Switzerland everyone will be on holiday in August, how is it in the UK?)

I think August is also a summer holidays kind of month in the UK so most institutions are a bit empty.

We have the possibility/option for B'ham or Cambridge in terms of location. I don't have a strong >preference either way. How do we decide?
Would you have someone helping you as a local organizer? Having a local person could help with the logistics, booking rooms, etc.
If you wanted a location within the North of the UK I could help with Leeds or Manchester

Would you have someone helping you as a local organizer? Having a local person could help with the logistics, booking rooms, etc.

@npscience could be that person in Cambridge and @pherterich in B'ham I think.
I have no strong feelings on where (given good connections for travel), maybe only a slight bias against London because they get all the events all the time ;) I think having someone locally who is excited (and has the time!) to help is far more important than the precise location. The ideal scenario is that you three decide amongst each other and then we do that.

Birmingham is usually quite reasonable to reach from all sides with direct trains to most bigger cities. July and August would be quiet on campus as well, so room availability looks quite decent. How many people would you expect/want to attend?
School holidays here start in the last week of July when it will become very quiet and I assume less people would be able to attend in August.

Let's do a vote via emoji reaction on this comment:
👍 -> Cambridge
🎉 -> B'ham
❤ -> Manchester

Should we aim for mid July? I wrote 20x lunch+coffee in the budget. That seemed like a big enough but not overwhelming number. If you'd ask me for an absolute max without regard for anything (rooms ,budget, helpers) I'd say 30.
Thoughts?

20-30 sounds reasonable I think. I would have guessed 20ish if you're the sole person providing help and instructions (following the carpentry approach).

Seems like we're tied for votes, so we could do the following:

Stick to B'ham as you'd originally planned
Have one in B'ham and one in Manchester (I can provide help here with a free venue, advertising, helpers)

Anyone can do their own event! I am even more happy if someone thinks this is a cool idea and wants to do their own. So yes this is totally fine with me. The only limit is in terms of using mini grant money, I'd commit to that a bit later when we have a better idea on how much everything will actually end up costing.
This suggestion made my day!

Next item: dates. How do we turn "mid July"  into an actual date? @pherterich do you want to find out which dates would work room-wise and then we pick one of those?
I updated the top comment by adding Birmingham as location. Can I add you as a local helper @pherterich? And do you know someone else we could get onboard?

I'll definitely help with logistics and be in the room all day. Don't really think I know what binder is/does, so content wise I'm useless. Will make sure I send announcements to local RSE groups when we have a date and hope I can pressure our IT group into helping out as well. @matthew-brett just started a "The Hacker Within" group here, so there's a good chance that we'll find someone willing to help.
Just did a basic check on bookings for rooms and availability seems to be quite decent around 12/13/16/17/18 July. So if there are dates that fit for you in terms of travelling @betatim I'm quite sure I can find a decent room.

Hi - yes - that would be excellent - I'd love to see more use of Binder / Notebooks.  What kind of help would help?  I'm sure our RSE team would be interested too.

I will look into the dates from my side. Anyone else who wants to chime in please do.
In terms of help we need: right now only have generic answers of "standard stuff for a one day workshop". We still need to work on the details :) We should probably make a new issue to try and compile a generic checklist for the event that can be reused.
If anyone wants to get going and do things I think that would be super welcome as well (if we can keep ourselves coordinated so nothing ets down twice/forgotten).

I made a quick list in a new issue with the things I can think of for organisation and will add to that. #7
I guess the question is if you expect some of your helpers to be like software carpentry helpers walking around and helping people with the content. That might need a different preparation that I'm less familiar with.

I guess we could ask around on the hackers-within list to see if there are people with relevant skills.   What skills are needed?   Just use of Github and the Jupyter Notebook?

I think for a good answer to that we need to make progress on what exactly the agenda is for the day :-/

@pherterich how about 16 or 17th of July?

@betatim works for me, rooms are available, too. I'll get one for both days and then maybe others who want to attend can voice preferences to make the final decision?

Sounds good. My preference is the 17th.

I guess it's up to @KirstieJane @npscience @trallard to let us know about date preferences if they would still like to attend. I can advertise on Campus with some basic text what the workshop is about and a link to registration and that can go to various mailing lists here.
Looking at #5 I guess the question is if you want to have non-academic attendees and how to invite them along except through Twitter etc.

Thanks for thinking of me — I'll sit back and let you work out what's best for you, then will consider whether I am able to join (if welcome!) once that's all worked out. My July commitments aren't concrete yet ;)

I meant to join this conversation a long time ago but somehow forgot. I would like to stay in the loop! Sounds like B'ham is already decided on, but @trallard I would love to organise one at Manchester at some point if you're interested! (Also even if you're not 😂 )

I might have some plans @rainsworth so I'll keep you posted

Hey @betatim et al - I think I'm going to have to step back from helping out with the Birmingham event - I'm a bit over stretched at the moment 😭
I would LOVE though for members of the research software engineering team at the Turing to attend so please keep me on the list for promotions and I'll send it around!
Sorry for the radio silence and for bailing on the plan.

@pherterich do you have a suggestion what we do for coffee break and lunch?
My default would be to ask the university to make an offer for catering the coffee breaks and lunch in the canteen for attendees (we then give a voucher to people). If you have a favourite place that does delivery and we can organise plates+cutlery etc that would also work for lunch.

@betatim I have no idea if our canteen does lunch vouchers but I will ask around and also get an overview of prices and offers of the standard buffet catering they do. I'll also check what's available for delivery, let me ask around and I will present the options here.

@betatim Was told our canteen doesn't do vouchers any longer but it might be quiet enough on campus that we could just go into the main canteen (https://www.birmingham.ac.uk/community/university-campus/retail/food-and-drink/Noble-Room-Staff-House.aspx) and get everyone onto one bill.
The standard University catering is this one https://www.freshthinking.uk.com/ (it's okay, the vegan option is decent - except for the horrible guacamole wrap).
Deliveroo seems to have quite a range that they deliver to campus as well (https://deliveroo.co.uk/restaurants/birmingham/university-of-birmingham?postcode=B15+2TT+). The Falafel Munch stuff is amazing (and cheap) if you like falafel, but I there are a few more (the main Italian restaurants) that cater for most of the dietary requirements.

Trying to pay for everyone on one bill will be hard (because people will have stuff beyond what we can fund) so if there is no way to do vouchers/meal tickets we should go with some other setup.
https://www.freshthinking.uk.com/ looks good to me. We have a total of $25 per person to buy coffee and lunch (GBP18.79 according to google). Should we email them and ask for an offer for 23 people at that price?

Just sent an email to Fresh thinking to ask for an offer.

@betatim Cool, let me know if you need an internal to take over and I can take over if needed.

Their menu is here: https://www.freshthinking.uk.com/downloads/Fresh Thinking Menu 2017.pdf
P16 for tea&coffee
p18++ for sandwiches, platters and finger food
p26 for special diet
Can we pick a nice collection for lunch?
Coffee breaks: 22 * 1.65 * 2 (morning and afternoon) = 72.60

I can only comment on vegan food, as I really struggle to map the booklet to stuff I've seen at buffets and what is usually popular. I think you mostly get chef's choice wrap and sandwich platters, so maybe the odd combo platter could be nice (Indian?)
I think the "Bulgur wheat, fresh mint, parsley, spring onion, vine ripened tomatoes, pomegranate & lemon" salad is fine and usually quite popular. Maybe also the potato salad?
I think we can do final adjustments for dietary requirements quite late if needed.
I'm happy to contribute biscuits and other snacks for coffee.

There is still ambiguity over the date, so I picked one 17th July 2018. This is written on the registration form. Should we finalise our room booking?

@betatim if no one else wants to comment, let's go for it :smiley:

The website is now live and open for signups: https://build-a-binder.github.io/

Should we do something about the fact that so far there is only one sign up?
More advertising needed :-/

post tweet link, I'll RT from the biological accounts I control....

I will send an email so that this is added to the SSI website as news and will distribute in the RSE slack channel too

@betatim I've scheduled a tweet from eLifeInnovation and will RT from npscience too.
Of note, I can't seem to find the workshop date on the website, and the deadline for applications is quite hidden. Are you able to make these more prominent please?

@npscience I flagged the date issue as well but couldn't submit a PR at the time. it appears on the main page but not on the city pages. The England session is on 17 July.

@npscience: And fixed (via #27): https://build-a-binder.github.io/England/

Has anyone advertised yet on the research software engineers mailing list?

@betatim I'm wondering if people are scared by "application" rather than registration. If you're not 100% sure this is for you, an application process might be scary (I totally get why you did it though).
I just send the message out to a Midlands network explaining that the application is just a longer registration form.
Summer might definitely be an issue, but then when do people ever have time...

Do y'all want me to email the RSE mailing list about the workshop?

@matthew-brett sounds good to me. I've not reached out to them.

Any chance of extending the deadline by a week?  I've just advertised on the RSE mailing list, and we'll announce it at the Hacker Within on Monday - but the deadline is currently on Monday ...

Extended it to  1 July 2018. The only reason for the original date was to give people enough time to schedule it.

Great - thanks.

What's the scheduled time for the seminar?

I will send an email to the 16 people who signed up today after 3pm. If you'd like to see the responses, etc email me and I can share the link to them with you.
@jzf2101 will join us to help out! Whoop!
@pherterich I am arriving on the morning of the event, there were no flights that worked to arrive the night before :(

@betatim excellent news on 16 sign ups! ✨

I hope it went really well today @betatim @pherterich, looks like it from the twittosphere!

I think people learnt something, there are new binderised (or is it bound?) repositories out there!

Sorry to gush - but it was excellent - the tool is extremely useful, your help make a big difference in my courage to try new stuff, and fix it when it went wrong, and yes, new binderized / binderised / bound repositories - here's mine:
https://mybinder.org/v2/gh/matthew-brett/teaching/master

Do we have the gh handles of all the attendees? I wanted to tag them on related issues.

I think people learnt something, there are new binderised (or is it bound?) repositories out there!

Just to add to what @matthew-brett said: I thoroughly enjoyed the workshop.
@jzf2101 and @betatim you ran a great session: very clear, welcoming and fun. I also liked that there was space to just talk and work on things having you both on hand to advise. A great format. I plan on giving a seminar in our department on what I learned.

In case anyone wants to publish - this might be an interesting venue? http://jose.theoj.org/

Yup! @jzf2101 I've reviewed for jose already and am a big fan: I've got plans to get my game theory course written up and submitted there at some point :)

@jzf2101 from going through the links posted in hackmd, other attendees were @LotteWeerts @loz-hurst @erickmaertins @Thingus @JeremyPike @LouiseABowler


Use Poetry so new developers can contribute easier

Thanks for continuing to do great work on this project!
Is your feature request related to a problem? Please describe.
I'd like to be able to clone this repo and easily install all the project dependencies in a virtual environment.  Poetry makes this easy, as described in this blog post ;)
Describe the solution you'd like
Migrate from the pip requirements.txt approach to the Poetry project organization.
I'd be good to create a section of the README that'd help folks that want to contribute to the project.  Instructions on how to get their dev environment setup and how to run tests.
Describe alternatives you've considered
pipenv is another alternative, but seems like more of the community is going with Poetry.

Hey @MrPowers :),
Thanks for the improvement request. I am going to take a look at Poetry. Optimus 3.0 is going to use conda because rapids do not support pip. Any experience with Poetry and conda ?

@argenisleon - Looks like conda & poetry are compatible.  I will try it out when I have some free time and report back!

Poetry added in b46e3d0d71f3981a4ebbf061af2050720684f72a


fix tests/listener_test for musl c library

When compiling on Alpine linux which use the musl library, listener_test fails.
It expects to have "Address already in use" from perror but instead have
"Address in use".
This commit tests if either string is returned.

Codecov Report

Merging #535 into master will increase coverage by 0.3%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master     #535     +/-   ##
=========================================
+ Coverage   69.77%   70.08%   +0.3%
=========================================
  Files          49       49
  Lines        6899     6899
=========================================
+ Hits         4814     4835     +21
+ Misses       2085     2064     -21

Impacted Files
Coverage Δ

src/common/os.cc
56.49% <0%> (+0.64%)
:arrow_up:

src/common/net.cc
86.43% <0%> (+1.5%)
:arrow_up:

src/client/client.cc
82.82% <0%> (+3.05%)
:arrow_up:

include/pistache/net.h
90% <0%> (+5%)
:arrow_up:

Continue to review full report at Codecov.

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


Adding Light / Dark Mode

https://v1.mantine.dev/guides/dark-theme/

Hey, Is the issue still open? , I would like to give it a try, please explain how you would like this to be done

Hey, Is the issue still open? , I would like to give it a try, please explain how you would like this to be done

Yes, it is! Could you add me on discord (alexelg) or send a message in the MCC Discord chat-> #mcc-website.
Then I can get you coordinated with this repository.


YAML writing in python

This PR removes the C-level yaml reader and writer routines. The reader wasn't being used and the writer has now been replaced by a python level reader. This makes it easier to add new parameters in the future.
The C-level writer wasn't consistent anymore in any case (e.g., C-level wrote z_mgrowth, while Python-level read z_mg).
The PR also allows file pointers and streams to be used instead of file names. This enables passing around information without need to write to disk.
Removed df_mg and z_mg from the yaml reader, in anticipation of their eventual removal (#842).

Pull Request Test Coverage Report for Build 568860363

18 of 25 (72.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.1%) to 96.689%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pyccl/core.py
18
25
72.0%

Totals

Change from base Build 537882236:
-0.1%

Covered Lines:
3680

Relevant Lines:
3806

💛  - Coveralls

This should now handle missing values much better and address #817.

This is fine from my end - we only use the python interface.  I might need to regenerate one file but that's all.

Closes #817


no CUDA-capable device is detected

When I am trying to train the model on GPU, I am getting RuntimeError: cuda runtime error (100) : no CUDA-capable device is detected at /pytorch/aten/src/THC/THCGeneral.cpp:50 error and it is impossible to train on CPU. I tried it on different GPUs on different computer still no luck and I am using them to train various pytorch models. Do you know why I am getting this error?

Sorry bout that since I haven't got 3 gpus I think I got that error. Changing cuda_devices to 1 solved that problem...


Report extra spaces in struct tags

Feature request to detect/report the presence of extra space in struct tags. These problems are detected using go vet, but seem to fall into the category of things that golint could detect.
http://play.golang.org/p/G2KUJj58lb
Although this program will compile and run, these struct tags will not result in the values being set on the variables as expected. Hard to detect by visual inspection.
type random struct {
	Type string `json: "type"`
	Size int    `json: "size"`
	Min  int    `json: "min"`
	Max  int    `json: "max"`
}

It's a correctness thing, not a style thing, so it is govet's domain, not golint's domain. As you said, govet flags it already; there's no point in golint also checking for it.


Remove traces of the extinct RID preallocate feature

RID preallocation was a thing in 3.x.

Thanks!


ENH: max_distance for limiting nearest neighbor reindexing

xref #9817
This does not entirely solve the floating point precision issues, but gets us part of the way there -- we can explicitly lookup data with a fixed tolerance for nearest neighbor matches.
It is also is useful in its own right, mostly as a simple sanity check to verify that labels are not entirely misaligned.
Example usage:
In [2]: df = pd.DataFrame({'x': range(5)})

In [3]: df.reindex([0.1, 1.9, 3.5], method='nearest', max_distance=0.2)
Out[3]:
      x
0.1   0
1.9   2
3.5 NaN

max_distance -> precision? slightly more inline with other routines of this type (e.g. allclose)

Hmm. Getting the name / API design right here is a little tricky.
My thought was that max_distance makes the most sense in terms of selecting nearest values.
On the other hand, precision/tol (or atol/abs_tol?) makes more sense in the context of imprecise matches / floating point issues. When providing a tolerance or precision, it seems implicit that you're doing nearest neighbor lookups, i.e., precision=0.1 would imply method='nearest'.
For alignment purposes, we probably want an API that looks similar to math.isclose, which has the signature isclose(a, b, rel_tol=1e-9, abs_tol=0.0) and returns the result of abs(a-b) <= max(rel_tol * max(abs(a), abs(b)), abs_tol).

Some further thoughts on API design (after some offline discussions):

It's difficult to conceive of a true need for relative tolerance, because array labels are generally not multi-scale. A fixed absolute tolerance seems like the use case here.
I'm leaning toward the argument name tolerance, which makes sense in the context of getting nearest values (at least somewhat) and also for alignment purposes -- we can later add a tolerance parameter to align and index set operations.

Here's an unsettled API design question: What should happen when you do df.reindex(..., tol=1e-3)?
In particular: should this imply method='nearest' if method is not provided? This is probably the behavior we'll want for align (e.g., df1.align(df2, tol=1e-3)) -- I don't think there's a usecase for one-sided tolerance in alignment.
The alternative (as @jreback suggests) is to just raise an error....

A fixed absolute tolerance seems like the use case here.
I'm leaning toward the argument name tol/tolerance,

Agreed with both of these.
My only experience here is when I was working with lat/lngs which got misaligned from the regular grid I was expecting. A tol argument would have been perfect for me there.

Added some thoughts on possible API for setting a default tolerance on an index in #9817.
@TomAugspurger indeed, that's pretty much the exact case I'm thinking of here :).

Feedback was solicited, so one thought: I generally prefer leaning towards the more-verbose keyword/argument names, unless it is a very, very long word. tolerance will be more easily deciphered when reading through someone else's code than tol.

+1 on tolerance. If we are going to use it in other functions as well, this seems a better fit in general (although I find max_distance is a bit more explicit when it is only about 'nearest' reindexing)
Would this have a default value for FloatIndices? As I think they are only useful when that would be the case (otherwise all operations would become way too much verbose)

@jorisvandenbossche Yeah, I agree that some sort of default tolerance would be nice. The problem is that while it's true that many floating point index operations are only useful with a defined tolerance, how to automatically infer that tolerance is not obvious -- any solution seems likely to involve enough magic that it will break in unexpected ways.

I think we could provide a tolerance as a keyword on the constructor and have a simple way of inferring (if needed) eg just do a couple of sample and diff and see

There is a subtle difference between tolerance and max_distance is if we generalize nearest neighbor indexing support to MultiIndex (#9365): the former implies an independent precision for each dimension, whereas the later implies a combined maximum distance. This distinction suggests to me that while tolerance would make more sense as an innate index property (e.g., as a keyword on the constructor), max_distance might make more sense as the keyword argument for get_indexer/reindex.

I have now renamed the parameter to tolerance, per the consensus. I have also made method='nearest' the default if a tolerance is supplied. We could also raise an error, but IMO df.reindex(targets, tolerance=1e-3) is not ambiguous, and we'll want to make the "nearest" aspect implicit for alignment operations.

I don't think tolerance can be allowed for some inferred dtypes iow
strings and cases where tolerance is not a relevant unit , eg DatetimeInde/TimedeltaIndex/PeriodIndex must be a Timedelta or Offset

I think I have tests for other drupes -- I'll double check.
On further consideration, I think I need to remove the default method='nearest' when a tolerance is provided. If I provide tolerance=2, I would expect a reindex/get_loc to match everything within that tolerance, not just the nearest value.

You now get errors if you try to use limit or tolerance with the default reindexing method.
With the current approach, you get a ValueError when you try to use get_indexer with an invalid tolerance, but KeyError on DatetimeIndex.get_loc. The later is because get_loc currently uses a rats nest of exception handling to allow for various types of indexers. Adding the proper error for an invalid tolerance there is probably a good idea but I'm not sure it's worth the trouble....

OK, OK -- I added a bunch more error handling for tolerance.

@jreback any further comments?

looks pretty good.
not sure if this matters, but something has to be: value +- test_value <= tolerance right? I would just make equal clear, that a value that is equal to the tolerance is INCLUDED.

@jreback OK, I think I responded to all your suggestions:

This now works on PeriodIndex (was easier than I thought)
Added a section on limit and tolerance to the "Filling while reindexing" docs in basics.rst
Added an example of using tolerance with a datetimeindex to what's new
Updated docstrings to clarify the formula used for tolerance.

This still needs a rebase/squash, but I thought I would get your review before squashing.

lgtm
minor comment
rebase / squash snd merge

OK, did the rebase / squash.
If Travis gives the OK, I'll merge EOD tomorrow.

Travis passed prior to the last docstring fixup, so I decided it was safe to merge.
Thanks everyone for your help on this one!

nice :)


Ruby 1.9.2-p320 Doesnt dump subclasses of Hashes

I did a push to Heroku today and my app just started breaking all over the place.  I narrowed down the issue to the fact that when I call .to_yaml on a subclass of a Hash, I no longer get the class information serialized into the yaml.
I know there was an issue a long time ago with the same behavior.
I upgraded my heroku app to use ruby 1.9.3 and it seems to now serialize just fine.
1.9.2-p320 Output:
jakedempsey:jtmp angelo0000$ ruby -v
ruby 1.9.2p320 (2012-04-20 revision 35421) [x86_64-darwin11.4.2]
jakedempsey:jtmp angelo0000$ irb
irb(main):004:0> require 'psych'
=> true
irb(main):001:0> class Jake < Hash; end
=> nil
irb(main):005:0> Jake.new.to_yaml
=> "--- {}\n"

1.9.3 Output
jakedempsey:d2m-ecommerce angelo0000$ ruby -v
ruby 1.9.3p327 (2012-11-10 revision 37606) [x86_64-darwin11.3.0]
jakedempsey:d2m-ecommerce angelo0000$ irb
require 'psych'
irb(main):001:0> require 'psych'
true
irb(main):002:0> class Jake < Hash; end
nil
irb(main):004:0> Jake.new.to_yaml
"--- !ruby/hash:Jake {}\n"
irb(main):005:0>

Ruby 1.9 is already EOL. Please use Ruby 2.1 or 2.2.


Use sealed interfaces wherever appropriate

Look through all interfaces and sealed classes in the core module and figure out what can be refactored into sealed interfaces (if it makes sense to).
This requires Kotlin to be updated to v1.5+, which will be done in scope of https://github.com/vestrel00/contacts-android/issues/99

It seems like I created a duplicate issue, #123, which I have already completed... Closing this!

I'll actually delete this cuz it's just cluttering the milestones.


fuzz: replace invalid characters in upstream metadata for header parser

Replace invalid header characters in filter metadata strings.
Risk Level: Low
Testing: Add corpus entry
Fixes OSS-Fuzz issue:
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=15555

@venilnoronha can you give this a first pass?

@junr03 will do.

@asraa I don't seem to have access to https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=15555. Can you grant me/fill me about what exactly this PR is fixing?

@asraa I don't seem to have access to https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=15555. Can you grant me/fill me about what exactly this PR is fixing?

Yes! Sorry about that. The added testcase causes a crash because of the null character here. Because we are trying to add an "%UPSTREAM_METADATA(...)" header, we move the values of the metadata into headers, and this crashes since headers must be "valid()" (not contain null / newline characters). Here's the stack trace:
[2019-06-08 14:53:26.859][1][critical][assert] [source/common/http/header_map_impl.cc:209] assert failure: valid().
  | AddressSanitizer:DEADLYSIGNAL
  | =================================================================
  | ==1==ERROR: AddressSanitizer: ABRT on unknown address 0x000000000001 (pc 0x7fadbb19c428 bp 0x7ffe42257b30 sp 0x7ffe42257968 T0)
  | SCARINESS: 10 (signal)
  | #0 0x7fadbb19c427 in gsignal /build/glibc-LK5gWL/glibc-2.23/sysdeps/unix/sysv/linux/raise.c:54
  | #1 0x7fadbb19e029 in abort /build/glibc-LK5gWL/glibc-2.23/stdlib/abort.c:89
  | #2 0x1c0c23e in Envoy::Http::HeaderString::setCopy(char const*, unsigned int) /proc/self/cwd/source/common/http/header_map_impl.cc:0
  | #3 0x1c110b3 in Envoy::Http::HeaderMapImpl::setReferenceKey(Envoy::Http::LowerCaseString const&, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&) /proc/self/cwd/source/common/http/header_map_impl.cc:448:13
  | #4 0x148fd60 in Envoy::Router::HeaderParser::evaluateHeaders(Envoy::Http::HeaderMap&, Envoy::StreamInfo::StreamInfo const&) const /proc/self/cwd/source/common/router/header_parser.cc:269:17
  | #5 0x504e16 in Envoy::Fuzz::(anonymous namespace)::TestOneProtoInput(test::common::router::TestCase const&) /proc/self/cwd/test/common/router/header_parser_fuzz_test.cc:25:13

/retest


move async example from redux-thunk to redux-saga

[x] move to sagas
[ ] add tests

Oops! Please don't pull this! It should have been raised against our fork's master.
It's just an example of using redux-saga :-)

Just realised this has already been done :-) https://github.com/yelouafi/redux-saga/tree/master/examples/async


Compile issue + killed signal

Hi,
I tried compiling this today and had a couple of issues:

error with MATTN package

github.com/rkbalgi/go/paysim/ui
../../paysim/ui/paysim_mac_dialog.go:25: cannot use gtk.BUTTONS_OK (type gtk.ButtonsType) as type gtk.ResponseType in argument to dialog.AddButton
I managed to get the code to compile by making the following changes
ok_btn := dialog.AddButton("Generate", gtk.RESPONSE_OK)
cancel_btn := dialog.AddButton("Cancel", gtk.RESPONSE_CANCEL)
//	ok_btn := dialog.AddButton("Generate", gtk.BUTTONS_OK)
//	cancel_btn := dialog.AddButton("Cancel", gtk.BUTTONS_CANCEL)

It compiles with the following warning messages:

github.com/mattn/go-gtk/pango
ld: warning: /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation, ignoring unexpected dylib file
github.com/mattn/go-gtk/glib
ld: warning: /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation, ignoring unexpected dylib file
github.com/mattn/go-gtk/gdkpixbuf
ld: warning: /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation, ignoring unexpected dylib file
github.com/mattn/go-gtk/gdk
ld: warning: /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation, ignoring unexpected dylib file
github.com/mattn/go-gtk/gtk
ld: warning: /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation, ignoring unexpected dylib file

If I run using GO RUN PAYSIM.GO  after ignoring the warning messages I get:

signal: killed
This is on Mac OSX Sierra 10.12.5
Thanks
James

Hi James, I just tried this on my virtualbox linuxmint and seems to work fine with your suggested changes in the paysim/ui package.  I don't have a Mac to try this on, so unable to help at the moment.
This is slightly old and tried using a browser based version. Have you considered trying https://github.com/rkbalgi/isosim (a wiki https://github.com/rkbalgi/isosim/wiki)

Hi,
Thanks for the prompt response and help on this. It turned out to be a
Mac OSX Sierra bug that is fixable by updating to latest version of GO.
Looking forward to playing around with your code. I'm curious... I notice
you have some code for simulating a HSM. Do you have experience dealing
directly with HSM machines?
best
James
On Tue, Aug 8, 2017 at 5:18 PM, Raghavendra Balgi<EMAIL_ADDRESS>wrote:

Hi James, I just tried this on my virtualbox linuxmint and seems to work
fine with your suggested changes in the paysim/ui package. I don't have a
Mac to try this on, so unable to help at the moment.
This is slightly old and tried using a browser based version. Have you
considered trying https://github.com/rkbalgi/isosim (a wiki
https://github.com/rkbalgi/isosim/wiki)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/rkbalgi/go/issues/1#issuecomment-321022999, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AHH2XqOcKbAE5wZ5yvFBNiyoX2HC9D3lks5sWJhdgaJpZM4OvQlN
.

Hi James, OK, good luck. Yeah, I did happen on HSM machines a while ago. Thanks!


Blobstorage Message Passing Optimization

@mstetsyuk
Hello. Were these changes made as part of a research project? Is it possible to see the results of the optimization?


Fixed a code example and a spelling error

Was reading through your barracks documentation and found two small errors.
Good work on choo and barracks by the way! 🙌

Coverage remained the same at 70.833% when pulling de2a80b9643eb32e41434fc126527f4fe3b9860d on jntn:documentation-fixes into 95232283e6eacb2e1aeb990a31bcc009ec4c255e on yoshuawuyts:elm-it-up.

Oooh, nice, thanks! :D

Updated the code example

Whoops, totes forgot to merge this - fixed in 3b6ef39. Thanks heaps! :sparkles:


Mouse and Headset have issues with the latest SDK

When using SetAll methods, both the mouse and headset don't work.
Mouse throws an error:
Call to native Chroma SDK function CreateMouseEffect failed with error: RzInvalidParameter: Invalid parameter. (87)
Headset fails silently.

Need to investigate the Headset issue.

As in, haven't had chance yet as mouse was priority.

Well the headset is an interesting one.
Simply calling Headset.Instance.SetAll(Color.Blue) does nothing, until you interact with another device.
        Headset.Instance.SetAll(Color.Red);

Does nothing. Followed by:
        Keyboard.Instance.SetAll(Color.Blue);

Sets the Keyboard to Blue, and now sets the headset to Red. If you do it the other way around, it works fine / as expected.
Here is how I tested this:
        Headset.Instance.SetAll(Color.Yellow);
        Thread.Sleep(3000);
        Keyboard.Instance.SetAll(Color.Blue);

As described above, Headset does nothing for 3 seconds until the Keyboard is set to Blue.

And if you set keyboard first, a subsequent call to Headset.SetAll works?

Yep. It's like it hasn't been instantiated

If it hadn't been instantiated you'd get a NullReferenceException when trying to access SetAll. Seems more likely the SDK is for some reason ignoring the headset call if that is the first one and only handling it when another device has been accessed.
What about calling headset's SetAll twice?

Doesn't work. The C++ sample app works fine.

        Headset.Instance.SetAll(Color.Red);
        Thread.Sleep(1000);
        Headset.Instance.SetAll(Color.Yellow);
        Thread.Sleep(1000);
        Headset.Instance.SetAll(Color.Green);
        Thread.Sleep(1000);
        Headset.Instance.SetAll(Color.Blue);
        Thread.Sleep(1000);
        Keyboard.Instance.SetAll(Color.Blue);

As described above, does nothing until Keyboard is set. No errors.

Also, this applies to all of Headset's effects, not just SetAll

And is the sample app creating other effects before touching headset?

Nothing is standing out for me as to why this is happening, so not sure if it's the SDK or Colore.

For the mouse issue: I'd suggest replacing
        public override void SetAll(Color color)
        {
            // We update both the Custom and CustomGrid effect to keep them both
            // as synced as possible.
            _custom.Set(color);
            _customGrid.Set(color);
            SetGrid(_customGrid);
        }

with
        public override void SetAll(Color color)
        {
            // We update both the Custom and CustomGrid effect to keep them both
            // as synced as possible.
            _custom.Set(color);
            _customGrid.Set(color);
            SetCustom(_custom);
        }

As the Custom value didn't move between the SDK Versions this will ensure at least SetAll works for different SDK Versions and it doesn't matter in this case.

@WolfspiritM Post hotfix #127 it won't matter anyway. Unless of course Razer is planning on an unannounced change to the ordering again. But if they do we have bigger problems than what method to use for SetAll.

@Sharparam Just means SetAll won't be compatible with 1.0.4 anymore without users knowing about that issue (users are forced to update) while with SetCustom it would be compatible with every Version.

I'm leaning towards the headset issue being an issue on the SDK side and thus does not require a change to Colore. The only thing to do is for devs to workaround the issue until the engineer is back from his lovely holiday.

@WolfspiritM Colore is aimed to target the latest release of Chroma to always be up to date. If someone for some reason needs to target an older Chroma SDK they can grab an older version of Colore.
It might be useful to add some sort of "tested against SDK ver x.y.z" to Colore, both in docs and in code. So using Colore with an unsupported SDK could print a warning log message. That's a discussion for a separate issue though.

Yep, it's on Razer to ensure backwards compatibility. It's up to developers to keep up-to-date with Colore.  For example, Colore 2.3.x would continue to work with the SetAll methods.


Adds system-out callback option

This change allows the addition of a <system-out></system-out> block to each <testcase>. This is useful for adding extra information that can be used in CI systems like Jenkins / Hudson.
For example, using something like protractor-screenshot-reporter, this allows us to add [[ATTACHMENT|spec/as/filename/description.png]] for use in the JUnit Attachments Plugin.

I rebased this, added info about the parameter to the function docs, and merged into master. Thanks for the contribution.


fix com.google.android.gms.common.api.ApiException: 16

Tap on "Preview" ⤴
And choose one of the templates:

Bugfix PR
New feature PR
Documentation update PR

moved to https://github.com/surfstudio/flutter-otp-autofill/pull/84


*: add option to check label strictly

Signed-off-by: nolouch<EMAIL_ADDRESS>
What problem does this PR solve?
close: https://github.com/pingcap/pd/issues/1544
There are multiple users experiencing this problem: they have configured the label for tikv-servers, but they are not configured in the PD, resulting in data distribution that is inconsistent with expectations.
What is changed and how it works?
strictly check the label.
Check List
Tests

Unit test
Manual test

Codecov Report

Merging #1553 into master will increase coverage by 0.24%.
The diff coverage is 92%.

@@            Coverage Diff             @@
##           master    #1553      +/-   ##
==========================================
+ Coverage   67.49%   67.74%   +0.24%
==========================================
  Files         159      159
  Lines       16138    16160      +22
==========================================
+ Hits        10892    10947      +55
+ Misses       4272     4249      -23
+ Partials      974      964      -10

Impacted Files
Coverage Δ

server/cluster.go
76.54% <100%> (+2.07%)
:arrow_up:

server/cluster_info.go
85.56% <100%> (+0.05%)
:arrow_up:

server/config.go
82.33% <100%> (+0.15%)
:arrow_up:

server/option.go
90.69% <100%> (+0.07%)
:arrow_up:

server/schedule/mockcluster.go
84.13% <33.33%> (-0.39%)
:arrow_down:

pkg/tempurl/tempurl.go
57.14% <0%> (-14.29%)
:arrow_down:

client/client.go
68.39% <0%> (+0.41%)
:arrow_up:

server/grpc_service.go
60.51% <0%> (+0.42%)
:arrow_up:

server/api/store.go
51.87% <0%> (+1.12%)
:arrow_up:

server/tso.go
76.59% <0%> (+2.12%)
:arrow_up:

... and 6 more

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 915a75f...7d90fd3. Read the comment docs.

/ok-to-test


Reset method

Expose a method that will make photo view go back the initial state

@renancaraujo  It seems can be done be add a gesture detector on PhotoView... But Dont know how to go back..... any thoughts?
class HeroPhotoViewWrapper extends StatelessWidget {
  const HeroPhotoViewWrapper(
      {this.imageProvider,
      this.loadingChild,
      this.backgroundDecoration,
      this.minScale,
      this.maxScale});

  final ImageProvider imageProvider;
  final Widget loadingChild;
  final Decoration backgroundDecoration;
  final dynamic minScale;
  final dynamic maxScale;

  @override
  Widget build(BuildContext context) {
    return Container(
        constraints: BoxConstraints.expand(
          height: MediaQuery.of(context).size.height,
        ),
        child: GestureDetector(
          child: PhotoView(
          imageProvider: imageProvider,
          loadingChild: loadingChild,
          backgroundDecoration: backgroundDecoration,
          minScale: minScale,
          maxScale: maxScale,
          heroTag: "someTag",
          ),
          onTap: () {
            // pop up this
          },
        ));
  }
}

@jinfagang A gesture detector to reset internal state of a widget? It does not seem to be right.

@renancaraujo Haha, waiting for your creative method, I am also stuck on this.. By the way, this hero animation on iOS not seems smooth as Android, it has a left to right animation which makes hero transition not simple enlarge animation ... I don't sure if you can understand this, but you will fill it if you have both iOS and Android device to test it.

Micro tutorial after 0.2.0:

setup a custom PhotoViewController
Use its reset method when needed
The end


Update README.md

https://indiaguide.github.io/The-Best-Beaches-in-Goa-A-Comprehensive-Guide/
https://indiaguide.github.io/Understanding-the-Genetic-and-Cultural-Mosaic-of-India/
https://indiaguide.github.io/Unveiling-the-Spiritual-Splendor-of-the-Meenakshi-Temple-in-Madurai/
https://indiaguide.github.io/Visiting-the-Golden-Temple-A-Comprehensive-Guide/

{PR title}

Description
close #{bug number}

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


windows_certificate over remotely over winrm does not work

As the title says, using the windows_certificate resource over remotely over winrm doesn't work. Running locally on the machine succeeds. Remote execution fails with "Begin output of "powershell.exe" -NoLogo -NonInteractive -NoProfile -ExecutionPolicy Unrestricted -InputFormat None -File "C:/Users/ADMINI~1/AppData/Local/Temp/chef-script20150609-2888-i668tc.ps1"
STDERR: Exception calling ".ctor" with "3" argument(s): "Access denied."
Full output: http://pastebin.com/R3T4wkSb
I copied the script to the host and ran it remotely, with the same error: http://pastebin.com/cjsGXGW0
Now, this is where things get weird. If I run that exact script locally (on the remote machine), not only does  it work,  but then it also starts working remotely. Even if after removing the cert, both remote and local continue function and chef runs complete without error. The only way I can reproduce this is with a fresh host. I had my own implementation of this resource working fine. So its something specific to how this is written.
Note: this is not the first time I've run across windows treating the same code very differently local vs remote: https://github.com/opscode-cookbooks/windows/issues/196

Probably related to the user profile not being loaded:
Would probably be fixed by calling https://msdn.microsoft.com/en-us/library/windows/desktop/bb762281(v=vs.85).aspx or by running powershell.exe through Start-Process with -LoadUserProfile

I tried Start-Proccess with -LoadUserProfile and it gave the same result. Not loading the user profile made it fail silently. However, I did get it working. The problem appears to be related to the X509KeyStorageFlags: https://msdn.microsoft.com/en-us/library/system.security.cryptography.x509certificates.x509keystorageflags(v=vs.110).aspx
I'm importing a PFX so the PresistKeySet is flag is being added. I changed, and then later added, this to the "MachineKeySet" flag and it worked.  Even after reading the docs, I still don't really understand what PersistKeySet does, or what the default behavior is for the flags. Based on the description of the UserKeySet flag, it seems the MachineKeySet would be redundant. However, for some magically reason it works and the certs end up where I expected them to.

https://support.microsoft.com/en-us/kb/950090 seems to explain why the flags are needed.  Thank you for catching this and submitting a patch!


Sticky navbar

On the small screen size the first navbar need to be sticky.

On the small screen size the first navbar needs to be sticky.

can you fix it?

On the small screen size the first navbar need to be sticky.

fixed. 🎉


Add initial support for Snapshot validating webhook

This PR:

Adds a new Snapshot resource webhook scaffolding via operator-sdk create webhook

The webhook API URL will be handled by the appstudio-controller of GitOps Service. See https://github.com/redhat-appstudio/managed-gitops/pull/289 for this work.

Fixes old references in the PROJECT file, and adds webhooks
Regenerates the manifests using make generate manifests

A part of JIRA story https://issues.redhat.com/browse/GITOPSRVCE-211

/retest


[Suggestion] Please, port Rosie to Mastodon!

I understand that Twitter is a mainstream social news aggregator/microblog. However many people (including me) don't use twitter or facebook and prefer plataforms as Mastodon or Friendica. I know (superficially), as an option, that is possible to create a bridge from twitter to Mastodon, besides of alternatively having Rosie directly on Mastodon.
I and many Brazilian fellows would love to have Rosie on Mastodon to follow. I think it would contribute to spread the word.
[Suggestion]  [Enhacement]

I’ve never heard about these platforms, but I'm agree with you that maybe it's a good idea to explore this. How about get the number of users on these others platforms first?

Just a brief reminder of the why Rosie's got a Twitter account. I think we need to revisit these rational to check what bits still valid, what new needs we have, and then ponder on the pros and cons of investing time to port Rosie somewhere else. Without this analysis, all we get is just opinions.


storage account updates tests and fixes

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

[ ] I adhere to the Command Guidelines.

View a preview at https://prompt.ws/r/Azure/azure-cli/6253
This is an experimental preview for @microsoft users.


Edit & Feature addition

Fixed some weird wording to improve readability

FEATURE ADDITION: Added ability to submit partial submissions using your own custom logic. Just pass sendResultOnPageNext: true in Survey model, and specify your custom logic in onPartialSend.

Example usage:
$("#survey").Survey({
    model: {
        ...
        sendResultOnPageNext: true
        ...
    },
    onComplete: sendFullResultToServer,
    onPartialSend: sendPartialResultToServer
});

@mellogarrett
partialSend makes sense. I will modify it after merging. 'sendResult' method is not called when clientId is not set in doNextPage, that is not correct.
Thank you for the pull requests.
Andrew-

It should be fine now.
Thank you,
Andrew