fix: optimised display of delete, archive, unarchive button

Description

Delete button will be visible, if the template is not being used ie., not associated with any other dependencies
Archive button will be visible, if the template is being used or not used
Unarchive button will be visible, if the template is archived.

This PR also contains the fix in the Proposal template table, where the check for validating if the pdf template is being used by any calls was not correctly configured.
Motivation and Context
Providing uniform experience for Delete, Archive and Unarchive button.
How Has This Been Tested
Manually
Fixes

Changes

Depends on

Tests included/Docs Updated?

[ ] I have added tests to cover my changes.
[ ] All relevant doc has been updated

Hi @yoganandaness! Nice fix! Could you cover it with an E2E test?

@janosbabik i have removed the yarn.lock file. Could you please review it at your convenience.

@yoganandaness It seems your new e2e tests are failing.

@yoganandaness It seems your new e2e tests are failing.

@janosbabik the test is now passing. Could u pls approve.


ui: add publication selection

Ref: #1100

The reason why selection of search items is not implement in a generic way, is because for now we only need it for AuthorPublications


News scrapper

Thanks for the news scrapper.
Firstly, i wanna get news for NASDAQ exchange. Is it possible ?
Secondly, can you update the readme file for correct usage.
news_scraper = NewsScraper(export_result=False, export_type='json')

news_headlines = news_scraper.scrape_headlines(
    # provider='newsbtc',  # Specify the news provider
    symbol='BTCUSD',      # Uncomment and specify if needed
    exchange='BINANCE', # Uncomment and specify if needed
    sort='latest'
)

news_content = news_scraper.scrape_news_content(
    story_path=news_headlines[0]['storyPath']  # Specify the story path from scraped headlines
)

Thanks for your report. Unfortunatly this version does not support indices symbols. I will do some changes to cover all type of symbols. (Feel free if you could contribute)
I didn not undrestand what's worng with this example usage in readme?

news_content = news_scraper.scrape_news_content(
    story_path=news_headlines[0]['story_path']  # Specify the story path from scraped headlines
)

the story_path should be storyPath

news_content = news_scraper.scrape_news_content(
    story_path=news_headlines[0]['story_path']  # Specify the story path from scraped headlines
)

the story_path should be storyPath

You are right. I have corrected it.
Thanks.


Fix #1 - Cursor position should be relative to the page

The cursor position used in the calculation of the position of the ripple is relative to the viewport instead of the page, resulting in the bug #1.
This is fixed by using MouseEvent.pageX instead of MouseEvent.clientX

that code was borrowed somwhere i dont rememeber from where but thanks for fixing it, this project is kinda dead but anyways merging


BUG: Emails with templates do not attach files correctly

First of all, thank you for this life-saving library: Easy templating has been a total game-changer.
Describe the bug
When using Jinja templates, attached files are not correctly attached to the email, as the message Content-Type is set to multipart/alternative instead of multipart/mixed.
Attachments are treated by mail clients as embedded content and thus not shown or recognized as attachments.
To Reproduce
Steps to reproduce the behavior:
1.- Create a simple snippet that includes both a template and an attachment (in any form):
redmail.send(
                subject='[%s] Email data for %s' % (str(instance),str(mail_id)),
                receivers=[str(email_address)],
                html_template='jinja_template.html',
                attachments=str(os.path.join(temp_path, str(attachment_filename))),
                body_params={'json_data': json_data,},
                body_images={
                    'logo': '/tmp/ogo.png',
                },
            )

Expected behavior
The mail is shown in the email client with the attachment.
Instead, the attachment is in the mail's source code but not available to download from the client.
Email provider:

Email service: private postfix
Application to view the email: Thunderbird, Gmail Client

Environment (please complete the following information if relevant):

OS: Linux
Python version: 3.8
Red Mail version: 0.3.1

Additional context
It is possible to fix this issue temporalily by modifying the 'attach' method from attachment.py to always set the message as mixed:
def attach(self, msg:EmailMessage):
        if msg.get_content_type() == "text/plain":
            # We need to change the content type
            # This occurs if no body is defined or only text is defined
            # The content type is therefore changed to multipart/mixed
            # See issue #23
            msg.make_mixed()
        else:
            try:
                msg.make_mixed()
            except Exception:
                pass
        for part in self._get_parts():
            msg.attach(part)

Thanks and thanks for reporting this! I had tedious struggles with the content-types some time ago though (related to just that piece of code you posted) and those are not really pleasant to work with.
How was your template? I tested with Windows, Python 3.8 and also Red Mail version 0.3.1 but for me the image is displaying correctly and the attachment is shown as an attachment.
My piece of code:
msg = email.send(
    sender=...,
    receivers=...,
    subject="An attachment with image and attachment",
    html="
This contains an attachment and image.
{{ path_image }}",
    body_images={
        "path_image": Path(__file__).parent.parent / "docs/imgs/email_emb_img.png",
    },
    attachments={"a_file.html": (Path(__file__).parent / "file.html")}
)

Looks like this in Gmail (and shown correctly on Outlook):

I'll test this with Linux in the upcoming days. I suspect the template should not be an issue as it should be rendered pretty much the same regardless if it comes from file or directly passed. The body_params neither sounds like an issue as I think it should be sanitized in terms of HTML by Jinja.
But I think there is things to improve anyways. I found this SO post which implies it may be best to have the top part as mixed if possible. I'll investigate this.


Correlate activity happening on issues w/ activity within 24hrs to some random set of issues

[ ] Pull a pseudorandom set of 500? issues and see the typical titles and labels for them. Note: There are 123 unique urls in our activity database and 881 unique urls in our issues database

test

Hi there I'm testing this!

Hello! Do you still need help with this issue? It's been
clicked on 9000 times through the Civic Issue Finder!
  Can this issue be closed or does it still need some assistance? You can
  always update the labels or add more info in the description to make it
  easier to contribute.

Just doing a little open source gardening of Brigade
projects! Thank you!

Hello! Do you still need help with this issue? It's been
clicked on 9000 times through the Civic Issue Finder!
  Can this issue be closed or does it still need some assistance? You can
  always update the labels or add more info in the description to make it
  easier to contribute.

Just doing a little open source gardening of Brigade
projects! Thank you!

Hello! Do you still need help with this issue? It's been clicked
on 9000 times through the Civic Issue Finder!
Can this issue be closed or does it still need some assistance? You can
always update the labels or add more info in the description to make it
easier to contribute.
Just doing a little open source gardening of Brigade
projects! Thank you!

Hello! Do you still need help with this issue? It's been clicked
on 9000 times through the Civic Issue Finder!
  Can this issue be closed or does it still need some assistance? You can
  always update the labels or add more info in the description to make it
  easier to contribute.

Just doing a little open source gardening of Brigade
projects! Thank you!

Hello! Do you still need help with this issue? It's been clicked
on 9000 times through the Civic Issue Finder!
  Can this issue be closed or does it still need some assistance? You can
  always update the labels or add more info in the description to make it
  easier to contribute.

Just doing a little open source gardening of Brigade
projects! Thank you!

Hello! Do you still need help with this issue? It's been clicked
on 9000 times through the Civic Issue Finder!
Can this issue be closed or does it still need some assistance? You can
always update the labels or add more info in the description to make it
easier to contribute.
Just doing a little open source gardening of Brigade
projects! Thank you!

Hello! Do you still need help with this issue? It's been clicked
on 9000 times through the Civic Issue Finder!
Can this issue be closed or does it still need some assistance? You can
always update the labels or add more info in the description to make it
easier to contribute.
Just doing a little open source gardening of Brigade
projects! Thank you!

Hello! Do you still need help with this issue? It's been clicked
on 9000 times through the Civic Issue Finder!
Can this issue be closed or does it still need some assistance? You can
always update the labels or add more info in the description to make it
easier to contribute.
Just doing a little open source gardening of Brigade
projects! For more info/tools for creating civic issues, check out Got Issues.
Thank you!

Thanks, I will now close this issue!


Force VB projects into loading in new project system

This avoids the need to have the selector VSIX installed, for those that don't have external access: https://github.com/dotnet/roslyn-project-system/issues/52#issuecomment-290548097.

tag @dotnet/project-system @srivatsn


login: Link to doc to help users understand what a "server URL" is and how to find theirs

Like we did in zulip/zulip-mobile@52288facc.

Hi @chrisbobbe,
I'm interested in working on this issue.
I have reviewed how this is implemented in zulip/zulip-mobile@52288facc.
I noticed that in Flutter onTap event of the InputDecoration label does not work due to the onClick behavior focusing the text field.
To address this, I propose two possible solutions:
Solution 1(Separate Text Widget)
We can add a separate Text widget positioned above the TextField, allowing for a tappable link, and do not use the default label from InputDecoration.
https://github.com/zulip/zulip-flutter/assets/38466275/f8e1b616-9afc-4241-808c-899a56acdabe
Solution 2(TextField Suffix)
Alternatively, we could leverage a TextField suffix widget containing a link. However, this approach has the limitation of the link being visible only when the field is focused.
Alternatively, we can add a suffix widget in TextField containing a link. However, this approach has the limitation of the link being visible only when the TextField is focused.
https://github.com/zulip/zulip-flutter/assets/38466275/82a78d2b-74b5-4a0b-975b-6a516b78b944
I'm open to any improvements to these options and exploring any other suggestions you might have.

Interesting; thanks for your thoughts on this!
I wonder about using InputDecoration.helperText. The doc says:

Text that provides context about the InputDecorator.child's value, such as how the value will be used.

which seems like a pretty good match for what we want here.
…Hmm, but it looks like that asks for a string, and there isn't a similar parameter to specify a Widget. So it looks like InputDecoration doesn't currently support putting a clickable link in that position. It would be convenient if it had a param with a name like helper, on the pattern of:

InputDecoration.errorText / InputDecoration.error (error was added in flutter/flutter@8d837062a)
InputDecoration.labelText / InputDecoration.labeel (label was added in flutter/flutter@db0b249f6)

If it did, then I think that would be exactly where we'd want to put a "What's this?" link. That would avoid the problem of not being tappable, as in your Solution 1, and also the problem of only being visible when the input was focused, as in your Solution 2.
Would you like to make a PR to the Flutter framework to add that param? I'm hoping that would be straightforward, especially with the commits that added error and label that you could use for reference.
Otherwise, I wonder if it's possible to accomplish something similar without using the InputDecoration API.

Thanks for your response!
Being new to open source, I want to but I might not be ready to contribute to the Flutter framework just yet, still, I will try my best to make a PR to the Flutter framework.
I think we should move forward with Solution 1 for now, as it avoids using the InputDecoration API.
...Wait, I found another solution using suffixIcon. A couple of things to consider with this approach:

We'd need to set floatingLabelBehavior to FloatingLabelBehavior.always to ensure the label remains visible.
The "What's this?" link would be positioned on the right side of the TextField.
This approach seems promising!

With FloatingLabelBehavior.always both label text and suffix widget would be perfectly aligned.

Without FloatingLabelBehavior.always both label text and suffix widget would not be perfectly aligned when TextField is not in focus.

I agree that adding an InputDecoration.helper field upstream would be the right solution here.
The documented meaning of the existing helperText is exactly the meaning we want here, except only that we need to supply a widget rather than a plain string. And with the existing error, label, prefix, and suffix, there's an established pattern that such a helper field would fit into — so I think people will very easily be convinced that adding such a field is appropriate, and all that's needed is for someone to write up a high-quality PR to do so.
Using suffixIcon for this feels like a hack, because it's far removed from what suffixIcon is intended for. That's going to make it difficult to get the layout and behavior to feel quite right. So I wouldn't want to go down that path.
@VatsalBhesaniya I'd encourage you to go ahead and work on a PR for this for the Flutter framework upstream. The Flutter project does have high standards before merging a PR, but so do we :smile:. Take a look at Flutter's contributor guide:
https://github.com/flutter/flutter/blob/master/CONTRIBUTING.md#developing-for-flutter
You already actually have a Flutter development tree on your machine, as that's part of installing Flutter. And then see those two previous commits that Chris linked to above (and the PRs that those commits came from — there's links on the commit pages) for examples to work from for what this PR should look like.
If you have questions, please ask in #mobile-team on chat.zulip.org. Both Chris and I have gotten a number of PRs merged into Flutter upstream, so we can give advice. Then when you send the PR, definitely mention it in #mobile-team with a link, and we can take a look and give it its first review.
(And since you'll be writing the PR for Zulip's needs, and we'll be reviewing it, we'll certainly think of it as a contribution to Zulip much the same as we would for a PR in this repo.)
@chrisbobbe would you be up to filing a brief issue for InputDecoration.helper in the upstream tracker? Then @VatsalBhesaniya can link to that when the PR is ready to submit.

Sure, I agree suffixIcon seems like a workaround. Adding an InputDecoration.helper field upstream sounds like the best approach.
Thank you for your support! I'll try working on a PR for Flutter. I'll keep you informed on the #mobile-team channel.


Getting started notebook fails

Bug 💥
Getting started notebooks fails with:
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
Input In [9], in <cell line: 2>()
      1 doc=iter(df)
----> 2 page = next(doc)

File ~/Library/Caches/pypoetry/virtualenvs/challenges-Ho27vFAF-py3.8/lib/python3.8/site-packages/dataflow/dataflow/common.py:315, in MapData.__iter__(self)
    314 def __iter__(self):
--> 315     for dp in self.ds:
    316         ret = self.func(copy(dp))  # shallow copy the list
    317         if ret is not None:

File ~/Library/Caches/pypoetry/virtualenvs/challenges-Ho27vFAF-py3.8/lib/python3.8/site-packages/dataflow/dataflow/common.py:315, in MapData.__iter__(self)
    314 def __iter__(self):
--> 315     for dp in self.ds:
    316         ret = self.func(copy(dp))  # shallow copy the list
    317         if ret is not None:

File ~/Library/Caches/pypoetry/virtualenvs/challenges-Ho27vFAF-py3.8/lib/python3.8/site-packages/dataflow/dataflow/common.py:315, in MapData.__iter__(self)
    314 def __iter__(self):
--> 315     for dp in self.ds:
    316         ret = self.func(copy(dp))  # shallow copy the list
    317         if ret is not None:

File ~/Library/Caches/pypoetry/virtualenvs/challenges-Ho27vFAF-py3.8/lib/python3.8/site-packages/dataflow/dataflow/common.py:316, in MapData.__iter__(self)
    314 def __iter__(self):
    315     for dp in self.ds:
--> 316         ret = self.func(copy(dp))  # shallow copy the list
    317         if ret is not None:
    318             yield ret

File ~/Library/Caches/pypoetry/virtualenvs/challenges-Ho27vFAF-py3.8/lib/python3.8/site-packages/deepdoctection/pipe/base.py:89, in PipelineComponent.pass_datapoint(self, dp)
     87     with timed_operation(self.__class__.__name__):
     88         self.dp_manager.datapoint = dp
---> 89         self.serve(dp)
     90 else:
     91     self.dp_manager.datapoint = dp

File ~/Library/Caches/pypoetry/virtualenvs/challenges-Ho27vFAF-py3.8/lib/python3.8/site-packages/deepdoctection/pipe/text.py:83, in TextExtractionService.serve(self, dp)
     81 assert predictor_input is not None
     82 width, height = None, None
---> 83 detect_result_list = self.predictor.predict(predictor_input)  # type: ignore
     84 if isinstance(self.predictor, PdfMiner):
     85     width, height = self.predictor.get_width_height(predictor_input)  # type: ignore

File ~/Library/Caches/pypoetry/virtualenvs/challenges-Ho27vFAF-py3.8/lib/python3.8/site-packages/deepdoctection/extern/tessocr.py:274, in TesseractOcrDetector.predict(self, np_img)
    267 def predict(self, np_img: ImageType) -> List[DetectionResult]:
    268     """
    269     Transfer of a numpy array and call of pytesseract. Return of the detection results.
    270
    271     :param np_img: image as numpy array
    272     :return: A list of DetectionResult
    273     """
--> 274     detection_results = predict_text(
    275         np_img,
    276         supported_languages=self.config.LANGUAGES,
    277         text_lines=self.config.LINES,
    278         config=config_to_cli_str(self.config, "LANGUAGES", "LINES"),
    279     )
    280     return detection_results

File ~/Library/Caches/pypoetry/virtualenvs/challenges-Ho27vFAF-py3.8/lib/python3.8/site-packages/deepdoctection/extern/tessocr.py:214, in predict_text(np_img, supported_languages, text_lines, config)
    202 all_results = []
    204 for caption in zip(
    205     results["left"],
    206     results["top"],
   (...)
    212     results["line_num"],
    213 ):
--> 214     if int(caption[4]) != -1:
    215         word = DetectionResult(
    216             box=[caption[0], caption[1], caption[0] + caption[2], caption[1] + caption[3]],
    217             score=caption[4] / 100,
   (...)
    222             class_name=names.C.WORD,
    223         )
    224         all_results.append(word)

ValueError: invalid literal for int() with base 10: '95.345306'

Desktop (please complete the following information, if any other than the one in the install requirements):

OS: 12.2.1

Additional context 🧬
Used make install-dd-pt to install from source as well as brew install tesseract-lang. Also installed the missing torch-vision dependency.

Thank you for reporting!
I was able to reproduce the issue and have provided a fix with cf26a0c .

Closing with 0d840f7


Crashing when opening an item

Hi. Its a nice template and sample to learn from.
I did compiled the app and everything is fine but when i open a item it will crash on article detail fragment and activity. Heres the log cat
https://gist.github.com/nikandlv/8a0a1a573265109ddced383526ae6048

I guess your view object (backdropImg) is null. Does view binding work for other elements? Maybe you can try to remove the line " Glide.with(this).load(dummyItem.photoId).centerCrop().into(backdropImg);" just for testing. Which butterknife version do you use?

Removing that line did crashed as well.
Heres my gradle
compile "com.android.support:appcompat-v7:24.2.0"
compile "com.android.support:design:24.2.0"
compile "com.android.support:cardview-v7:24.2.0"
compile 'com.github.bumptech.glide:glide:3.6.1'
compile 'com.jakewharton:butterknife:7.0.1'


Don't Convert "private" Fields of Structs and Unions

Allow the user to optionally specify a prefix for field names that will be considered as "private" and thus not converted to Arguments Types.

Closed by:

d73e808


Moar classes

Cartographer / exploration quests
Steal the classes from unicorn overlord like vanguard, sniper, death knight
A light drinker unique character that keeps a light pixie in a bottle to make light he can use
Bender Mages that mix in martial arts. Elemental benders but also light bender can take light and turn it into a whip or weapon

Demonifier - turns stuff into demons, even mundane stuff like "flower demon" or "chair demon" ... maybe if the chair is wood it would end up summoning a wood or tree demon idk.  This will be a critical combo w "pain feelers" who are players w nerve gear plugin to feel pain as there could be a programming exploit in these folks
Bugfolk- beast folk but bugs.

Summoner vs alchemist vs bioalchemist vs artificer - summoners can imbue intelligence is the difference
Bioalchemists can make mindless golems or even realistic clones w no free will and artificers can make machines

I can try. I'd love to take a stab at it. I'm not too familiar with the codebase but I think I can figure it out

Great! There's actually three places for classes to go:

In the coloseum game
In the database for custom GPT + TCG usage

If you're thinking about the coloseum game, let's implement these as enemies or advanced classes - the lore dictates there are only the three base player character classes (warrior, archer, mage) but later they can advance or reskill based on quests, events, level ups or w/e triggers


Error no kernel image is available for execution on the device

Requirement already satisfied: numpy==1.23.0 in d:\renai-chat-v1.0\libs\pythonlib\lib\site-packages (1.23.0)
INFO:chatbot.model:Loading tokenizer for chatbot_models/pygmalion-2.7b
INFO:chatbot.model:Loading the chatbot_models/pygmalion-2.7b model

===================================BUG REPORT===================================
Welcome to bitsandbytes. For bug reports, please submit your error trace to: https://github.com/TimDettmers/bitsandbytes/issues
================================================================================
Error no kernel image is available for execution on the device at line 479 in file D:\ai\tool\bitsandbytes\csrc\ops.cu

Do you have a GPU on your PC and if yes did you do the setup for NVidia,CUDA and cudNN ?

yeah, my card is GTX 1070 8Gb , NVidia,CUDA and cudNN,All are set up, passed the test, and the versions are aligned to 11.7

Did you use the built-in version from the drive or did you install it yourself with your own python?

I installed python 3.8.9 in the drive, but when I found that many errors came from the built-in python in the game, I set a virtual environment in the root directory of the game and reinstalled the required modules. Maybe I can try to delete python in the system and download a new version of the game again?

If you made your own installation of python please follow the Python installation section on the README or use the built-in with refereing the issues related to it.

RWKV is not available cause it needs specific scripts so it's normal you can't use it. As for the previous error, it would be helpful to have the complete traceback.


Switching scene on button click breaks hand interactions

Describe the bug
Switching scenes in response to a button press causes a NullReferenceException in PokePointer.TryRaisePokeUp.
Result is null when trying to compare Result.CurrentPointerTarget to currentTouchableObjectDown.
To reproduce
Open the attached scene and press the button. A different scene will load each time until hand interactions stop working.
Expected behavior
Hand interactions should still work and no exception should be thrown.
Stack trace
NullReferenceException: Object reference not set to an instance of an object
Microsoft.MixedReality.Toolkit.Input.PokePointer.TryRaisePokeUp () (at Assets/MixedRealityToolkit.SDK/Features/UX/Scripts/Pointers/PokePointer.cs:318)
Microsoft.MixedReality.Toolkit.Input.PokePointer.OnSourceLost (Microsoft.MixedReality.Toolkit.Input.SourceStateEventData eventData) (at Assets/MixedRealityToolkit.SDK/Features/UX/Scripts/Pointers/PokePointer.cs:381)
Microsoft.MixedReality.Toolkit.Input.MixedRealityInputSystem+<>c.<.cctor>b__196_1 (Microsoft.MixedReality.Toolkit.Input.IMixedRealitySourceStateHandler handler, UnityEngine.EventSystems.BaseEventData eventData) (at Assets/MixedRealityToolkit.Services/InputSystem/MixedRealityInputSystem.cs:799)
Microsoft.MixedReality.Toolkit.BaseEventSystem.HandleEvent[T] (UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] eventHandler) (at Assets/MixedRealityToolkit/Services/BaseEventSystem.cs:97)
Microsoft.MixedReality.Toolkit.Input.MixedRealityInputSystem.DispatchEventToGlobalListeners[T] (Microsoft.MixedReality.Toolkit.Input.BaseInputEventData baseInputEventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] eventHandler) (at Assets/MixedRealityToolkit.Services/InputSystem/MixedRealityInputSystem.cs:496)
Microsoft.MixedReality.Toolkit.Input.MixedRealityInputSystem.HandleEvent[T] (UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] eventHandler) (at Assets/MixedRealityToolkit.Services/InputSystem/MixedRealityInputSystem.cs:375)
Microsoft.MixedReality.Toolkit.Input.MixedRealityInputSystem.RaiseSourceLost (Microsoft.MixedReality.Toolkit.Input.IMixedRealityInputSource source, Microsoft.MixedReality.Toolkit.Input.IMixedRealityController controller) (at Assets/MixedRealityToolkit.Services/InputSystem/MixedRealityInputSystem.cs:790)
Microsoft.MixedReality.Toolkit.Input.GazeProvider.OnDisable () (at Assets/MixedRealityToolkit.Services/InputSystem/GazeProvider.cs:411)

Your Setup

Unity 2019.2.10f1
MRTK v2.1.0

Target Platform

HoloLens 2
Unity Editor

Additional context
Minimal project: SceneSwitchInputBug.zip

We still have this issue with 2.8.2


Add binding to get checksums of client and patcher executables

Hello @L1nkZ, any news about this feature ?
Anyway, thank you very much for your work !

Hi!
Well I haven't been too active on this project recently as you may have noticed. So I can't really promise any dead line for this feature, sorry.


Add support for Metal backend

This PR adds support for the Metal backend, which makes it possible to use Apple silicon GPUs.
Supported features:

up to single precision Float32 floating points (Float64 is NOT supported by Metal)
all Apple Silicon GPUs supported by Metal v1.2 and higher

TODO:

add support for memopt flag for Metal backend (currently not working)

Thanks @GiackAloZ , @albert-de-montserrat !


Damage in presentation

In order to efficiently draw on the CPU, it may be desireable to reduce how many pixels are actually drawn.
Often this involves telling the display server what pixels were changed so that the display server can reuse it's existing framebuffer or perform a partial upload of the texture data to the gpu to save pci bandwidth.

Now that https://github.com/rust-windowing/softbuffer/pull/65 is merged, we could have a present_with_damage() method.
This is natural enough on Wayland. Do other backends have a way to support this?


how can I ban only once?

Is there a way to ban only if model is not already banned? So that I'd have just 0 or 1 ban record per user.
What method should I overwrite?
Thank you!

The easiest way - make a check in your controller if your user is already banned:
if ($user->isBanned()) {
    abort(409);
}

$user->ban();

Ok. This is what I actually do. Thank you for your fast answer.


Customize crawlers

Hello,
Would it be possible to add a configuration field to add custom crawlers ?
When I activate the "ignore-crawlers" option, I still see some that are not taken into account in https://github.com/allinurl/goaccess/blob/master/src/browsers.c
Maybe, it would be interesting to have a additional configuration field to add custom string to consider user-agent matching the string as crawler.
What do you think ?

Thanks for the suggestion! #560 will add the ability to load additional crawlers. Also, I'm working on some refactoring that hopefully will detect more legitimate crawlers. The latter will probably be pushed out in the upcoming version.
Closing this since it's a duplicate from the other.


/opt/AMAZON2-CIS-Audit/run_audit.sh: Permission denied

Describe the Issue
As per #18, I'm running in an environment without internet access so I need to copy the audit file to the server.
Relevant config,
    setup_audit: true
    run_audit: true
    skip_reboot: true
    get_goss_file: copy
    audit_content: copy
    copy_goss_from_path: ../goss
    audit_local_copy: ../AMAZON2-CIS-Audit/

Expected Behavior
Ansible is able to execute the run_audit.sh script
Actual Behavior
run_audit.sh fails to run as it's missing the execute bit
fatal: [default]: FAILED! => {"changed": true, "cmd": "/opt/AMAZON2-CIS-Audit/run_audit.sh -v /opt/AMAZON2-CIS-Audit/vars/ip-10-0-0-8.yml -o /opt/ip-10-0-0-8-AMAZON2-CIS_pre_scan_1682517307.json -g ['ungrouped']", "delta": "0:00:00.003543", "end": "2023-04-26 14:06:20.355328", "msg": "non-zero return code", "rc": 126, "start": "2023-04-26 14:06:20.351785", "stderr": "/bin/sh: /opt/AMAZON2-CIS-Audit/run_audit.sh: Permission denied", "stderr_lines": ["/bin/sh: /opt/AMAZON2-CIS-Audit/run_audit.sh: Permission denied"], "stdout": "", "stdout_lines": []}

Environment (please complete the following information):
As per #18
Additional Notes
When the Audit files are copied to the remote host, the file permissions are set to 0644, thereby removing the execute bit(s) on all files, including run_audit.sh
https://github.com/ansible-lockdown/AMAZON2-CIS/blob/devel/tasks/pre_remediation_audit.yml#L33-L39
Possible Solution
Either preserve or re-add the execute bit on run_audit.sh

hi @swestcott
Many thanks for raising this issue, I am happy to include in the next PR to devel. hopefully to be merged later this week.
regards
uk-bolly


Don't treat passing data through callback on TS side as execution stopping

Unlike we thought before, callback doesn't break execution on the playwright-wrapper side. Actually catch exceptions and stop execution properly where necessary.
Upstream confirmation:
https://github.com/grpc/grpc-node/issues/1516

Closed in de0d4b50bafdf13a94047bdc420cc2442041a273


_oldRev missing from Put and maybe PutDocumentResponse

Hi, reporting a bug
There is no PutDocumentResponse, and PUT will return  _oldRev in response, which is undefined. Currently it is using PostDocumentResponse in PutDocumentAsync
I caught this as I have MissingMemberHandling is true when deserialize, whereas the  json.net default is ignore, which is why I advocate to set this flag.

Thanks for reporting this issue @imtrobin . I will have a look.
Setting MissingMemberHandling to true by default is not a good idea in my opinion. We want the client to be compatible with new releases of ArangoDB. If they introduce a new property in the response model (which is a non-breaking change) then our client would throw exception.
I think we can better address the need for setting MissingMemberHandling with #219


--bind postgres is not working.

MANAULLY CREATE THE POSTGRES DATABASE BINDING
az containerapp update --name "catalogservice" --resource-group $RESOURCE_GROUP --bind postgres
Execluded the --bind then the command started working
az containerapp create --name bindingdebug --image mcr.microsoft.com/k8se/services/postgres:14     --environment $ENVIRONMENT --resource-group $RESOURCE_GROUP
--min-replicas 1 --max-replicas 1 --command "/bin/sleep" "infinity"

I'm unable to reproduce this. Did you create the postgres service instance first?

Looks like a bug in the cli with setting client type. For a workaround you can do --bind postgres,clientType=none

Looks like a bug in the cli with setting client type. For a workaround you can do --bind postgres,clientType=none

Thanks @ahmelsayed ; I will give it a retry this weekend. Many thanks.
Regards,
Swamy

Hi @vishipayyallore
This issue has been fixed and released in version 0.3.46 of containerapp extension.
You can update the extension with command, thanks!
az extension add -n containerapp --upgrade

Closing this given the extension fix was published.


fix typo

Describe the PR
Fix typo from echo and format README.md

@snakeice Thanks for your contribution


implement testing and add code coverage

[x] Install jest for typescript into the project.
[ ] Add codecov to repo as a code coverage tool
[ ] Add codecov badge

jest has been installed but is having an error when run :

SyntaxError: /home/user/Documents/GitHub/mcsamuel.github.io/tsconfig.json: Expected property name or '}' in JSON at position 29
    at parse (<anonymous>)
    at Module._extensions..json (node:internal/modules/cjs/loader:1315:39)
    at Module.load (node:internal/modules/cjs/loader:1103:32)
    at Module._load (node:internal/modules/cjs/loader:942:12)
    at Module.require (node:internal/modules/cjs/loader:1127:19)
    at require (node:internal/modules/helpers:112:18)
    at Object.<anonymous> (/home/mcsamuel/Documents/GitHub/mcsamuel.github.io/jest.config.js:1:29)
    at Module._compile (node:internal/modules/cjs/loader:1246:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1300:10)
    at Module.load (node:internal/modules/cjs/loader:1103:32)


SPIKE: Investigate CloudGuard CSPM Network Security as a service

Describe the issue
Figure out why this is valuable as Jon identified this as potentially useful in a multi-cloud scenario like ours
Additional context

One of the capabilities is multi-platform IP-sec VPN detection / control
Policies to detect or control in one or various environments
Centralizes IPS
Threat extraction or evaluation over to SecOps SIEM dashboards or our dashboards
"automation so we don't have to talk to anybody"

Definition of done

A clear writeup in MS Word store in teams that explains why this is valuable
Presentation to the team during the internal demo
Create some well-formed tickets if worth proceeding
Cap effort to a 2

CSPM turns on in June (expected)

not relevant


dec_position returns wrong coordinates

dec_position bitwise operations are not implemented in the correct way, creating values that cause segfaults if used as is

Fixed by https://github.com/SpockBotMC/RikerBot/commit/0f0e1e46f56cb03cc2e570439f76b3eb05447758


[blake3] Update port to use official buildsystem

The blake3 library got a modern CMake buildsystem with target exports in BLAKE3-team/BLAKE3#304. This PR backports the official buildsystem to the old/current release.

[x] Changes comply with the maintainer guide
[x] SHA512s are updated for each updated download
[x] The "supports" clause reflects platforms that may be fixed by this new version
[x] Any fixed CI baseline entries are removed from that file.
[x] Any patches that are no longer applied are deleted from the port's directory.
[x] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[x] Only one version is added to each modified port's versions file.

I need to patch the upstream CMAKE_SYSTEM_PROCESSOR detection first.

@MonicaLiu0311 this is ready for review.

The usage test passed (header files found):
blake3 provides CMake targets:

    # this is heuristically generated, and may not be correct
    find_package(blake3 CONFIG REQUIRED)
    target_link_libraries(main PRIVATE BLAKE3::blake3)


adding support for generating code coverage stats

changes:
(1) added Makefile targets for code-coverage.
(2) added options in the unit-test script to run different levels of code coverage
sample output:
vagrant@netplugin-node1:/opt/gopath/src/github.com/contiv/netplugin$ make host-unit-test-coverage
ok      github.com/contiv/netplugin/drivers     17.710s coverage: 50.0% of statements
ok      github.com/contiv/netplugin/state       9.107s  coverage: 58.0% of statements
ok      github.com/contiv/netplugin/netplugin/plugin    5.277s  coverage: 66.7% of statements
ok      github.com/contiv/netplugin/utils/netutils      0.014s  coverage: 55.6% of statements
ok      github.com/contiv/netplugin/gstate      0.023s  coverage: 67.8% of statements
ok      github.com/contiv/netplugin/netmaster/master    0.065s  coverage: 21.0% of statements
ok      github.com/contiv/netplugin/netmaster/mastercfg 0.014s  coverage: 10.4% of statements
ok      github.com/contiv/netplugin/netmaster/client    0.014s  coverage: 61.5% of statements
ok      github.com/contiv/netplugin/resources   0.020s  coverage: 79.7% of statements
ok      github.com/contiv/netplugin/core        0.007s  coverage: 88.0% of statements
ok      github.com/contiv/netplugin/utils       0.017s  coverage: 73.8% of statements
ok      github.com/contiv/netplugin/mgmtfn/k8splugin/contivk8s  0.010s  coverage: 86.0% of statements
Sandbox: Tests succeeded!

vagrant@netplugin-node1:/opt/gopath/src/github.com/contiv/netplugin$ make host-unit-test-coverage-detail
ok      github.com/contiv/netplugin/drivers     17.128s coverage: 50.0% of statements
github.com/contiv/netplugin/drivers/fakenetepdriver.go:15:      Init                    0.0%
github.com/contiv/netplugin/drivers/fakenetepdriver.go:20:      Deinit                  0.0%
github.com/contiv/netplugin/drivers/fakenetepdriver.go:24:      CreateNetwork           0.0%
github.com/contiv/netplugin/drivers/fakenetepdriver.go:29:      DeleteNetwork           0.0%
github.com/contiv/netplugin/drivers/fakenetepdriver.go:34:      CreateEndpoint          0.0%
github.com/contiv/netplugin/drivers/fakenetepdriver.go:39:      DeleteEndpoint          0.0%
github.com/contiv/netplugin/drivers/fakenetepdriver.go:44:      AddPeerHost             0.0%
github.com/contiv/netplugin/drivers/fakenetepdriver.go:49:      DeletePeerHost          0.0%
github.com/contiv/netplugin/drivers/fakenetepdriver.go:54:      AddMaster               0.0%
github.com/contiv/netplugin/drivers/fakenetepdriver.go:59:      DeleteMaster            0.0%
github.com/contiv/netplugin/drivers/ovsSwitch.go:45:            NewOvsSwitch            81.5%
github.com/contiv/netplugin/drivers/ovsSwitch.go:98:            Delete                  100.0%
github.com/contiv/netplugin/drivers/ovsSwitch.go:111:           CreateNetwork           0.0%
github.com/contiv/netplugin/drivers/ovsSwitch.go:125:           DeleteNetwork           0.0%
github.com/contiv/netplugin/drivers/ovsSwitch.go:139:           createVethPair          66.7%
github.com/contiv/netplugin/drivers/ovsSwitch.go:161:           deleteVethPair          66.7%
github.com/contiv/netplugin/drivers/ovsSwitch.go:183:           setLinkUp               75.0%
github.com/contiv/netplugin/drivers/ovsSwitch.go:192:           setLinkMtu              75.0%
github.com/contiv/netplugin/drivers/ovsSwitch.go:201:           getOvsPostName          80.0%
github.com/contiv/netplugin/drivers/ovsSwitch.go:214:           CreatePort              45.2%
github.com/contiv/netplugin/drivers/ovsSwitch.go:306:           UpdatePort              23.1%
github.com/contiv/netplugin/drivers/ovsSwitch.go:342:           DeletePort              45.0%
github.com/contiv/netplugin/drivers/ovsSwitch.go:389:           vxlanIfName             0.0%
github.com/contiv/netplugin/drivers/ovsSwitch.go:394:           CreateVtep              0.0%
github.com/contiv/netplugin/drivers/ovsSwitch.go:431:
...
...
...

LGTM


Add Configuration as Output Wrapper

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

/test all


Token sale#5

Tokensales on mobile

TODO

[ ] End time validation
[ ] Make NEO-Swift/neoutils returns TXID by hashing raw transaction
[ ] background color for the asset input accessory view
[ ] Review screen checkboxes


Improve portal "publication" concept to differentiate between primary and secondary uses of studies

From https://sagebionetworks.jira.com/browse/NFINT-805. Depends on #478.

Recently, we have been asked a few times about what publications are the “primary” publication for a dataset and what publications represent secondary use of data. It would be great to differentiate these in the portal data and UI, kind of like on the NF Tools Database.
However, there are a couple of questions that come to mind for me:
1 - What is a secondary publication? if a PI re-uses their own data for the same study, should we call that primary or secondary? My vote would be secondary.
2 - Can a study have multiple primary publications (yes, probably, because it is not 1-1 datasets to studies, but happy to discuss this more.

Lol, I was about to vote for these questions, but then I realized I posted the initial issue 😅


CLI code generation: how can we support globbing?

I don't have a lot of time to elaborate right now, but other graphql code generation CLIs support passing a glob of all query files to generate code for (e.g. src/**/*.graphql) and dumping the result into one module. apollo-codegen for example supports this.
There are a few problems with this in the context of this project:

how do we select the operation inside a query document? Do we only take the first? All of them? A custom annotation?
It would be nice if we could also implement code sharing for fragments and enums.

Related to #102.

Also related to #134


Ignore SW files copied from another module

Ignoring shared folder as files were considered as not added do GIT and skip copying files when tests disabled.

(tests) - kogito-runtimes job #1225 was: FAILURE
Possible explanation: Pipeline failure or project build failure
Please look here: https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-runtimes.tests.kogito-runtimes/1225/display/redirect or see console log:

Console Logs
[Pipeline] sh[2022-03-14T04:02:05.528Z] + du -h -d3 /home/jenkins/workspace[2022-03-14T04:02:05.529Z] du: cannot access ‘/home/jenkins/workspace/KIE/main/pullrequest/jbpm-wb-main.pr_ws-cleanup_1647230519750/bc/kiegroup_drools/drools-test-coverage/test-compiler-integration/target/test-classes/org/drools/mvel/integrationtests/marshalling’: No such file or directory[2022-03-14T04:02:05.529Z] du: cannot access ‘/home/jenkins/workspace/KIE/main/pullrequest/jbpm-wb-main.pr_ws-cleanup_1647230519750/bc/kiegroup_drools/drools-test-coverage/test-compiler-integration/target/test-classes/org/drools/mvel/integrationtests/ParallelEvaluationTest$3.class’: No such file or directory[2022-03-14T04:02:05.529Z] du: cannot access ‘/home/jenkins/workspace/KIE/main/pullrequest/jbpm-wb-main.pr_ws-cleanup_1647230519750/bc/kiegroup_drools/drools-test-coverage/test-compiler-integration/target/test-classes/org/drools/mvel/integrationtests/ParallelEvaluationTest.class’: No such file or directory[2022-03-14T04:02:05.529Z] du: cannot access ‘/home/jenkins/workspace/KIE/main/pullrequest/jbpm-wb-main.pr_ws-cleanup_1647230519750/bc/kiegroup_drools/drools-test-coverage/test-compiler-integration/target/test-classes/org/drools/mvel/integrationtests/DroolsEventListTest$1.class’: No such file or directory[2022-03-14T04:02:05.529Z] du: cannot access ‘/home/jenkins/workspace/KIE/main/pullrequest/jbpm-wb-main.pr_ws-cleanup_1647230519750/bc/kiegroup_drools/drools-test-coverage/test-compiler-integration/target/test-classes/org/drools/mvel/integrationtests/DroolsEventListTest.class’: No such file or directory[2022-03-14T04:02:05.529Z] du: cannot access ‘/home/jenkins/workspace/KIE/main/pullrequest/jbpm-wb-main.pr_ws-cleanup_1647230519750/bc/kiegroup_drools/drools-test-coverage/test-compiler-integration/target/test-classes/org/drools/mvel/integrationtests/DynamicRulesTest$SubvertedClassLoader.class’: No such file or directory[2022-03-14T04:02:06.095Z] 12G	/home/jenkins/workspace/KIE/main/pullrequest[2022-03-14T04:02:06.095Z] 12G	/home/jenkins/workspace/KIE/main[2022-03-14T04:02:06.095Z] 2.1M	/home/jenkins/workspace/KIE/kogito/main[2022-03-14T04:02:06.095Z] 2.1M	/home/jenkins/workspace/KIE/kogito[2022-03-14T04:02:06.095Z] 12G	/home/jenkins/workspace/KIE[2022-03-14T04:02:06.095Z] 12G	/home/jenkins/workspace[Pipeline] }[Pipeline] // dir[Pipeline] }[Pipeline] // script[Pipeline] }[Pipeline] // withEnv[Pipeline] }[Pipeline] // stage[Pipeline] stage[Pipeline] { (Install build-chain tool)Stage "Install build-chain tool" skipped due to earlier failure(s)[Pipeline] }[Pipeline] // stage[Pipeline] stage[Pipeline] { (Build projects)Stage "Build projects" skipped due to earlier failure(s)[Pipeline] }[Pipeline] // stage[Pipeline] stage[Pipeline] { (Sonar analysis)Stage "Sonar analysis" skipped due to earlier failure(s)[Pipeline] }[Pipeline] // stage[Pipeline] stage[Pipeline] { (check space after build)Stage "check space after build" skipped due to earlier failure(s)[Pipeline] }[Pipeline] // stage[Pipeline] stage[Pipeline] { (Declarative: Post Actions)[Pipeline] script[Pipeline] {[Pipeline] sh[2022-03-14T04:02:06.982Z] + wget --no-check-certificate -qO - https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-runtimes.tests.kogito-runtimes/1225/api/json[Pipeline] readJSON[Pipeline] sh

Jenkins rerun kogito-runtimes tests


Update "Competitive Advantage" section under Analysis.

In the competitive advantages section of your guide, it's important to highlight the unique strengths and features that set it apart from its competitors. Emphasize the exceptional quality of the products offered by SILK Corp. Discuss how the franchise maintains rigorous quality control standards, using only the finest ingredients or materials to deliver superior products to customers.
Highlight the diverse range of products and services provided by SILK Corp. Discuss how the franchise caters to various customer needs, offering a comprehensive menu or a wide selection of products. Mention any unique or innovative offerings that differentiate SILK Corp from competitors and appeal to a broader customer base.
Highlight how the franchise has refined its operations, marketing strategies, and supply chain over time, resulting in a streamlined and efficient system that maximizes profitability.

Reference Link: Joorney Business plan
SILK Corp Guide
Note: Make sure to follow the character count of the template.

I'm going to work on this issue.

I will research this issue, save notes in the proper repository under the relevant issue, and will also do a PR on it.

https://www.joorney.com/samples/e2-business-plan-sample-hospitality-business/
Look up the different lists of advantages pages 27-28 and write something similar.

During todays shift, I plan to create a content for SILK Corp on the "Competitive advantages." I will highlight the unique strengths and features that set it apart from its competitors. I will emphasize the exceptional quality of the products offered by SILK Corp. I will discuss how the franchise maintains rigorous quality control standards, using only the finest ingredients or materials to deliver superior products to customers. I will highlight the diverse range of products and services provided by SILK Corp. I will discuss how the franchise caters to various customer needs, offering a comprehensive menu or a wide selection of products. I will mention any unique or innovative offerings that differentiate SILK Corp from competitors and appeal to a broader customer base. I will highlight how the franchise has refined its operations, marketing strategies, and supply chain over time, resulting in a streamlined and efficient system that maximizes profitability. I will use Focus chefs, the Readme file to create the file, and the Online character count tool to Make sure that I follow the character count of the template. I have the necessary resources and skills to complete this task.This task will help me create a competitive advantage for SILK Corp and increase its profitability.This goal is relevant as it completes the SILK corp Guide and it is feasible to complete within my shift.


Cloud function that can point to different environments for testing.

Hi, I have a cloud function that handles the dialogflow detect intent request. I have 2 custom environments on my dialogflow account (dev and prod) and am wondering where in my cloud function would I specify which environment to point too so I can test changes locally

Hello! We are moving this repo to googleapis/google-cloud-node, and are closing any stale issues. If this issue is persisting for you, we kindly ask that you reopen in that repo. Thank you very much!


nvm versions && nvm install latest

add an "nvm versions" argument to list available versions
get the lastest node with "nvm intall latest"

Seems to me pretty much like adding functionality that Tim removed a couple days ago. See the commit message:
https://github.com/creationix/nvm/commit/ac9a52886dd3c9c3110fc6fb082f01a2dabc38b7

Whups, sorry, I didn't take the time to look at the previous commits.
Good luck,
Chris
2011/10/17 Jakub Nešetřil
<EMAIL_ADDRESS>
Seems to me pretty much like adding functionality that Tim removed a couple days ago. See the commit message:
https://github.com/creationix/nvm/commit/ac9a52886dd3c9c3110fc6fb082f01a2dabc38b7
--
Reply to this email directly or view it on GitHub:
https://github.com/creationix/nvm/pull/74#issuecomment-2425886

I would like an nvm install latest

I have a fork, which still has this functionality.

I love both of these additions.


Rollup several long-outstanding PRs

I went through the open PRs and selected those that seemed obvious to merge.
@mattnworb @davidxia @mavenraven

@caipre Thanks for doing this. I don't look at this repo that much so if @mattnworb says it's good, I'll defer to him unless you want another pair of eyes.


hardcoded https:// prefix

Why is hardcoded https:// prefix for homepage?
What if i want local file:// as homepage?

I don't think you can use the Docusaurus site normally with the file:// protocol—you have to serve it through HTTP.

Closing in favor of https://github.com/facebook/docusaurus/issues/3825

Hey, I have no clue how my report got here Oo


Assess the use of existing library to implement Google OneBox

@nathanbaleeta wrote:
In response to 1.2.5, wagtail-schema.org library seems to be a ready solution out of the box to help standardize IoGT content as structured data for search engines like Google, Microsoft, Yahoo, Yandex etc to understand the semantics. It also provides JSON-LD tags for Wagtail sites which are consistent with Schema.org.
But it doesn't seem to offer a feature that can be enabled in the backend to allow content managers in the rich text editors to identify a mark-up for How-To, FAQ, and Video etc.
Therefore wagtail-schema.org assumes all the customization (basically embedding tags in templates) is handled by the developers leaving no room for manipulation by the content managers.
If the business requirement demands the content managers have to identify the JSON-LD tags for IoGT content on a rolling basis, then wagtail-schema.org may not fit the purpose, however if content managers can pre-determine the content which needs structuring and then let the developers do the heavy lifting, then this tool could suffice for this use case.
In response to 1.2.4, here is a great tool by Google for validating whether our JSON-LD tags in IoGT are working well:
https://search.google.com/test/rich-results
PS: It may also be helpful to eventually follow and monitor how IoGT structured data is being used using Google search console.
More helpful resources:
https://jsonld.com/

I think wagtail-schema.org is the way to go. We should aim to get a working branch that demonstrates the out-of-the-box capabilities that it adds and then decide how to give content managers direct access to the capabilities (assuming they cannot use the provided template tags?).
Both releases of wagtail-schema.org on GitHub require wagtail 2.0, so we need to update to molo.core 8.0.0 before we can add this dependency.
@nathanbaleeta - Suggested steps:

[ ] Confirm why you have failing tests (we need tests to be passing before modifying the code)

Then, based on @michaelzhang608's work on dependencies, we then need to make the following changes to requirements.txt:

[ ] Pin molo.core to the last of the version 8 releases: molo.core==8.12.6
[ ] Pin molo.surveys and molo.polls to their latest versions: molo.surveys==6.10.5, molo.polls==6.4.0
[ ] Check requirements.txt in previous releases of molo.commenting and report which release(s) are suitable for use with molo.core 8 (and pin accordingly)
[ ] Disable molo.usermetadata (which does not support molo.core > 7.0.0). A seperate issue will be created to investigate
[ ] Add wagtail-schema.org==2.1.0 to requirements.txt and add wagtailschemaorg to INSTALLED_APPS in Django settings

Found  release molo.commenting==8.0.1 to be compatible with molo.core<9.0.0,>=8.0.0
Hint:
https://pypi.org/project/molo.commenting/8.0.1/

Is it working as expected? Can you give us an example of adding the extra information required by Google OneBox and how that is then rendered in the page?

The installation part using the updated requirements.txt worked when I used pip3 version  though with some warnings which could be addressed maybe in the near future. Below is a snapshot of the warnings to keep in the know:

However disabling molo.usermetadata dependency seems to cause other unprecedented bugs hence may not be able to verify whether the molo related updates are working as expected until this bug is resolved.
As you suggested, it would be good to create a separate issue to investigate this further.
Below is the error it shows:
ImportError: cannot import name 'urlresolvers' from 'django.core'
Stackoverflow gives some clue but still trying to figure out where to make the changes since what seems to be affected is a 3rd party library(django_comments) and not necessarily iogt code.


[Bug] Editing Content (Text) Block "spins wheels" after hitting save

I'm seeing this issue on two of my c5 sites. One that I'm building for production and one that I use for scratch, testing stuff in theory kind of deal.
Both systems pulled from the Develop branch, but the example one I'm going to refer to here (the scratch one) pulled from Develop on Dec 3rd 2018. I'm using the Develop branch because of the DB and Unicode changes that are not yet "release" (yay emoji!).
I log into the site, go to a page, edit it, then edit a Content (text) block, then hit save. Then the "loading bar" along the top of the C5 Overlay goes from left all the way to right, and the spinning animation in the top right spins. This process never "completes" and the only way to get past this is to refresh the page (F5), upon which the changes are reflected (the ones I wanted to save).
Naturally, hitting F5 I want to modify a Content block is really annoying and inefficient.
Not sure just yet if other blocks are affected. Clearing the cache for the site, and changing cache settings thus-far do not seem to change anything. I checked the apache logs (hosted on Linux of course) and no errors seemed to be thrown. The C5 Overlay interface for Logs doesn't show any recent log entries at all. So I can't find a reason why it's doing this.

Ubuntu 18.04
PHP 7.2.10

Any ideas? :(

Have you tried to clear your browser cache?

@mlocati yes.
More specifically, to test your ask, I opened a different browser, then opened a new window "incognito" in that new (and different) browser, then tried to do the same thing on my scratch c5 setup. Same experience, spins the wheels. AFAIK this is completely equivalent to cleaning cache, especially since I had not used this "new" (different) browser to go to those pages before.

Do you have an error message in your browser developer console?
PS: To reload the js/css assets you can simply hit Ctrl-F5.

Why yes I do! After hitting "Save" on the CKEditor GUI, I get two errors, a POST and Uncaught
Error 1:
POST (url, ending in ../ccm/system/dialogs/block/edit/submit?ccm_tocken=..." 400 (Bad Request)
Error 2:
Uncaught TypeError: Cannot read property 'getEnableGridContainer' app.js:3 of undefined... (then some more parts of this error that seem to trail off, mentioning parts of app.js I think)
Hmmm...

I can't replicate this issue.
To inspect what's actually going wrong (the issue is in your Error 1 /ccm/system/dialogs/block/edit/submit?ccm_tocken=..." 400 (Bad Request)), could you:

go to the /dashboard/system/environment/debug dashboard page and activate the "Output error information to site users" and "Show the debug error output" options
open the browser developer console
replicate the issue
in the "Network" section of the browser developer console, look for the bad request (400) and check its "Response" tab: it should show the actual problem

Um, if I did this right, it seems the Response is just "1".
So I'm using Vivaldi, which is a Chromium derivative. F12 for debug (console?), naturally, go to "Network" tab along the top of the debug area.
I then replicate the issue, and along the left side at the very bottom I see the red "submit?..." part, click on it, new "tabs" on the right show up.
Response tab just shows "1", no more content in it.
Headers tab seems to have actual content, others don't seem to be as useful. And the Response Headers "view source" show this...
HTTP/1.1 400 Bad Request Date: Fri, 28 Dec 2018 16:48:04 GMT Server: Apache/2.4.29 (Ubuntu) Content-Length: 1 Connection: close Content-Type: text/plain; charset=UTF-8

Also, enabling the "Show the debug error output" did not change any info displayed on the page so far as I can tell, so I turned that back off after submitting the above info.


fix(sgphrase): download binary instead of tar ball

The binary name inside the tar ball for macosx and linux is different. Download and rename the binary instead.

I dislike Phrase :|


Using Activity for requests

This allows to collect more telemetry about the request for monitoring and investigation of problems. This will be helpful for usage of NClient, as well as for the development and debugging of the library.
Considering two user cases, I suggest making two types of activities: public and internal.

One public activity is enough. It will show the execution time of the client's method. It is important to measure the execution of the interface method, not just interceptor. This can probably be done with ProcessingAsyncInterceptor<TState>, which should be used here.
Ideally, each type of provider should have its own activity, but this is not required yet, so I suggest adding only one. It will measure the execution time of the transport request that occurs here.

Additional links:

Basic information about Activity: https://docs.microsoft.com/en-us/dotnet/core/diagnostics/distributed-tracing-concepts
Usage example: https://jimmybogard.com/activity-enrichment-in-asp-net-core-6-0/

@smolchanovsky  Happy to work on this issue if help is still needed!

Hi @parthvnp ! It will be very cool if you do it =)


Detangle symbols

Previously, we used FileSymbol both to represent bytes which are stored in the index and as an API of ra_analysis. Mixing internal storage format and an API is not a really bright idea, so we introduce NavigationTarget to handle API part.

bors r+


Scrolling bug

Ive two modals. The first one is long and the second is small. After I close the second body became scrollable. The 'modal-open' class removed from body despite that the first modal is remain opened.
To deal with it I had to add something like this
$modal.on('hidden', function() { $('body').toggleClass('modal-open-fix', $('.modal:visible').length > 0); });

A follow up problem seems to have appeared.
Here is the scenario:
1-On your demo Click View Demo For long modals
2-On the long modal click "Not so Long Modal"
3-On not so long modal click "Very Long modal"
4-Scroll down. Some of the content is missing.
Looking at the source it seems that the  "not so long modal" button is not even loaded any more.


Docker container for RankGen repository

See #9 for reproducibility issues due to usage of internal HuggingFace library function here - https://github.com/martiansideofthemoon/rankgen/blob/89cb98766e9d66454331c643603466b2eed91c91/scripts/t5x_embeddings.py#L46
We ideally want to get rid of this function, or Dockerize the repository to freeze the library version dependency.

Closing this for now, since we have a list of requirements here and we made rankgen into a self-contained Python package.


Jeffrey o workspace

Thanks for the pull request. Unfortunately I have stopped updating TAE, so I don't want to accept your pull request.
FWIW, there's a problem with adding permissions: it upsets a small but very vocal minority of users. So even if I were still updating TAE, I probably would not accept a pull request that added permissions to TAE.


Add cursors to end line should not be in selection menu

Selection menu > add cursors to end lines
This feature does not do anything 90% of the time and is a pro feature which should not be in the selection menu.
We should remove it from there imho
If we want to make the users aware of such commands we shuold write a blog post and bloat the menu. Having a smaller menu is better for start as it is always easier to add stuff than to remove.

Having a separate menu for Selection it makes sense to call out our support for multi-cursor and multi-selection operations. We could replace these with other multi-cursor commands, but it seems these are the basic ones.

IMHO this one is not basic. There are already enough multi-cursor commands.
If we replace something in the future there might always be users that miss it. I recommend we remove this action straight away.

To be fair, these menu items are mostly there such that users can memorize the keyboard shortcuts. They are all too cumbersome to use through the menu, IMHO. Very few users are going to miss those that we decide to remove in the future.


"See also - How to clear the codes from my app?" links back to itself

"See also - How to clear the codes from my app?" links back to the section it itself is part of instead of to the article which actually states how to clear the codes from my app.

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

ID: 63e845ae-dbd1-1700-0221-d615ecbd169d
Version Independent ID: 63e845ae-dbd1-1700-0221-d615ecbd169d
Content: QR code tracking overview - Mixed Reality
Content Source: mixed-reality-docs/mr-dev-docs/develop/advanced-concepts/qr-code-tracking-overview.md
Product: mixed-reality
Technology: mr-dev
GitHub Login: @qianw211
Microsoft Alias: qianwen

Thanks!! Done: https://github.com/MicrosoftDocs/mixed-reality-pr/pull/3519


Creation/Edit SimpleForm required BooleanInput not being colored in red when trying to save without value

When we try to save an entity, if some required fields are not filled, they will be surrounded by red color when trying to save.
However, that is not the case with BooleanInput switches, that appears to have a value already provided when the page loads (as it is a switch, it is in either left or right position) but that is not clear for the user that it doesn't really hold any values at first.
Then when the user tries to save, nothing occurs, because the forms expects this particular BooleanInput to provide a value.

Image below produced by opening the creation form and clicking "Save" right after
Shell and sysadmin haven't colored surroundings neither values associated

A <BooleanInput> with required: true makes no sense imo, since it does not handle null values. Try <NullableBooleanInput> instead.

Yes I know it does not handle null values, and my SQL schema doesn't as well : it is a required value that should be true or false, and not null. Where is the problem ?
A mandatory default value would be nice if required: true.

Ok sorry for my dumbness and wasting your time, defaultValue={true} works indeed with BooleanInput
Thanks for your time


Fix OpenReader : a few requests after client auth were sometimes rejected

Fix issue #850

The static analyser give this warning:

Property of mutable type ‘NSMutableArray' has 'copy' attribute; an immutable object will be stored instead

on these properties in GoogleReader.m:
@property (nonatomic, copy) NSMutableArray * localFeeds;
@property (nonatomic, copy) NSMutableArray * clientAuthWaitQueue;
@property (nonatomic, copy) NSMutableArray * tTokenWaitQueue;

Can you address this as well? I suppose it would be enough to just remove the copy attribute if you are not exposing the mutable arrays to the public.

In addition to @Eitot's comment, as these are private properties for a singleton copy is not required and the default strong should be fine. I would remove copy for all of the private properties as well as the redundant @synthesize statements if possible 😄 .

Closing because of merge conflicts. Will replace with a new pull request.


Accessibility - 1.3.1 Info and Relationships

Start tag seen without seeing a doctype first. Expected “”.
A visual group of navigation links is not marked up semantically to convey their relationship. Some possible solutions include using list(s), role of navigation, nav element, headings, menu or menubar.

 Coding Challenges Tutorials Streams Courses Github

Content appears like a list but is not marked up as such - videos are wrapped inside  element must be marked up as list (

Completed the fix with #1353


refactor: Clean up can_mark_messages_read.

We now explicitly enumerate various cases, which
should make it easier to change this code.

Testing Plan:
GIFs or Screenshots:

I talked to @aero31aero, and he's going to take over this commit on #13646, but I'll leave this open in case he gets sidetracked.
For context, Rohitt has been working with one of our customers on the issues with interleaved streams and unread messages.


An illegal hardware instruction error

Device Info:
Macbook pro,Apple M2,Ventura 13.3.1
Error Info:
% ./sd -m revAnimated_v11-ggml-model-f16.bin -p "a lovely pig" -v
Option:
n_threads:       4
mode:            txt2img
model_path:      revAnimated_v11-ggml-model-f16.bin
output_path:     output.png
init_img:
prompt:          a lovely pig
negative_prompt:
cfg_scale:       7.00
width:           512
height:          512
sample_method:   eular a
sample_steps:    20
strength:        0.75
seed:            42
System Info:
BLAS = 1
SSE3 = 1
AVX = 1
AVX2 = 0
AVX512 = 0
AVX512_VBMI = 0
AVX512_VNNI = 0
FMA = 0
NEON = 0
ARM_FMA = 0
F16C = 1
FP16_VA = 0
WASM_SIMD = 0
VSX = 0
[INFO]  stable-diffusion.cpp:2698 - loading model from 'revAnimated_v11-ggml-model-f16.bin'
[DEBUG] stable-diffusion.cpp:2706 - verifying magic
[DEBUG] stable-diffusion.cpp:2717 - loading hparams
[INFO]  stable-diffusion.cpp:2723 - ftype: f16
[DEBUG] stable-diffusion.cpp:2729 - loading vocab
[DEBUG] stable-diffusion.cpp:2757 - ggml tensor size = 288 bytes
zsh: illegal hardware instruction  ./sd -m revAnimated_v11-ggml-model-f16.bin -p "a lovely pig" -v

It's kind of weird. Can you try not using blas to see if there are any errors?

It's kind of weird. Can you try not using blas to see if there are any errors?

I haven't used bals .I found a warning:
CMake Warning at ggml/src/CMakeLists.txt:49 (message):
Your arch is announced as x86_64, but it seems to actually be ARM64.  Not
fixing that can lead to bad performance.  For more info see:
https://github.com/ggerganov/whisper.cpp/issues/66#issuecomment-#1282546789
This seems to be used to solve the problem with MAC m processors，but my MAC still doesn't work.


Project 📃:  Weather App project

WebMasterLog Repository (Proposing new issue)
:red_circle: Project Title : Weather App project
:red_circle: Aim : To fetch stored weather data from postgreSQL database
:red_circle: Tech Stack Used : HTML, CSS, Python , PostgreSQL, Dalle, Flask
:red_circle: Category :  Python project
Screenshots 📷

:white_check_mark: To be Mentioned while taking the issue :

Full name :  Chelsea
GitHub Profile Link :  https://github.com/Chelseasingla1
What is your participant role? Contributor GSSoC'24

Happy Contributing 🚀
All the best. Enjoy your open source journey ahead. 😎

Hello @Chelseasingla1  Can you assign this issue to me i can make changes and design as per my view.
Instead of fetching data from database we can use another approch to show the weather

@Chelseasingla1 There are only web development related projects. No other tech projects.
You can either enhance the weather app project or create this app in any other tech stacks. OK.


Type for torque and torque cat is animated

Migrations for #9236
Changes the type for Torque wizards to "animated". Heatmap is untouched.

Summoning @juanignaciosl for CR duty

Ok, but original migration spec said the opposite. If this is ok we should delete that wiki page, as it's no longer maintained.

Yes, we changed our minds and we want to mark this as a new type now, to make more explicit where to find this in the UI. I guess we can delete that wiki page, as it is quite outdated anyway.

Merge tomorrow please :)

Lets wait until tomorrow morning, please.

El 03/08/2016, a las 19:07, Javier Álvarez Medina<EMAIL_ADDRESS>escribió:
Merge tomorrow please :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Having a type for something that is an option inside (almost) every type feels weird, but u(i) are the ones who know about that :_) I'll delete the wiki page right now.

Removed animated.enabled = true where type == 'animated'. Please take a look @juanignaciosl

@javitonino I was waiting for tests to pass, do you want me to CR this anyway?

Yep, there are failing frontend tests, but I think those should be solved in the branch I'm merging to. It doesn't make too much sense for them to fail here.

Ok, on it then. As I saw @nobuti involved I thought that it might be relevant.

Please CR @juanignaciosl (hopefully, last one)
After some back and forths, this is what this is supposed to do:

Remove animated.enabled property.
Remove animated block from all non-animated types.
For torque and torque_cat, set animated type.
For heatmap, set animated or heatmap type depending on whether it was animated or not in the wizard. Keep the animated block regardless (a more correct name for animated would be torque but we are not changing it).

Frontend tests fail (as expected). I will merge this as soon as CR is :+1: to avoid more changes on this one (sorry @juanignaciosl)

I've made some comments, probably caused by things that I don't know about the PR. As I've said, this change (having both an animated type and animated attribute) feels weird with the Builder approach, but it it's good for you it is for me as well... 👍


Plist keys

At Application Setup -> 5. section you mention to add either of 2 keys:
NSLocationAlwaysUsageDescription
NSLocationWhenInUseUsageDescription
According to stackoverflow thread, we need to add both or even new key NSLocationAlwaysAndWhenInUseUsageDescription.
Could you bring some light into this?

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

ID: 3869aaed-63b6-64b5-b817-0331748f554d
Version Independent ID: 0345d352-6ebb-b239-cdfe-1a562bd955ca
Content: Walkthrough - Background Location in Xamarin.iOS - Xamarin
Content Source: docs/ios/app-fundamentals/backgrounding/ios-backgrounding-walkthroughs/location-walkthrough.md
Product: xamarin
Technology: xamarin-ios
GitHub Login: @conceptdev
Microsoft Alias: crdun

You're right @viktorszekeress - that additional key has been added to iOS since this doc was originally written. Thanks for letting us know!


[MoveOnlyAddressChecker] Fixed two use-before-def handlings.

FieldSensitivePL's handling of uses-before-defs was exposed by https://github.com/apple/swift/pull/66826 to be incorrect.  The fix for that bug in turn exposed that the handling of uses-before-defs in lifetime maximization's original live block discovery was incorrect.
rdar://111118843&111221183

@swift-ci please test

@swift-ci please test

@swift-ci please test


EPIC - manage LOD

Limitation and reduction of transmitted data (Cf. opengeospatial/ogcapi-features#738)
Extensions not validated yet:

simplification of geometries
==> the filtering must be in the unit of the native projection of the data. See https://github.com/opengeospatial/ogcapi-features/issues/654#issuecomment-1198233110

selection of properties

[ ] US #143

[ ] #146

I'm questionning the (geo)json format itself in the standard and I'm wondering if we could use something else (flatgeobuf or geoparquet). Or maybe using WKB geometries rather than GeoJSON for the geometries at least. Do you have any info or opinion to share on this topic?

Hi,
yes it could be an option according to the mime-type expected in return. It is only a matter of available time to spend on this subject.
I am glad to see someone is interested at this project: we are looking for feedbacks to validate the new features in order to merge into upstream. Feel free to create issues!


No way to mask default for password type prompts

Following the documented example
@click.option('--password', prompt=True, hide_input=True,
              confirmation_prompt=True, default='MySecretIsOut')

while adding a default demonstrates the issue. It just displays sensitive data in plaintext, maybe it could mask most of the letters or something like that.

Why would you pass a default to a password input? That means you have the password in plain text in the script anyway

I don't understand the use case here. Passwords don't have a programatic default. If you want to specify them without entering, perhaps use Click's autoenvvar or otherwise make the option optional and load a value from some secure location if it's not given.

Hi guys, thanks for the quick response and the awesome library! The use case is this.  They are defaults so the end user doesn’t have to retype them. hide_input helps when the user types in a new secret, however if the secret is not to be changed accepting the default does work, minus the fact it was just displayed on the screen. I feel like hide_input gets me half way there.
I’m not familiar with autoenvvar.. I’ll look it up When I get a minute. Thanks!

If you already have a secret you could just check if the password input is empty, and if it is, use the pre-generated secret key.

I ended up masking it before supplying to default, then unmasking when using it on the other side. It was quick and easy, just thought other's might like this.


Boot not stopping at petitboot as requested

See issue https://github.com/openbmc/openbmc/issues/1150
OpenBMC team analyzed the IPMI data during boot and did not see OPAL firmware requesting the boot flags on a P9 Witherspoon system.  This would most likely be why the system always tries to boot the OS.
This function seems to work fine on barreleye, and I assume the code is mostly common?  We're just bringing up the host IPMI interface on P9 so lots of opportunities for bugs on OpenBMC side here.  If nothing obvious on OPAL side then we'll continue looking on OBMC side.
We're running latest op-build code from master-next as of this week.
	buildroot-6b9fd80
	skiboot-8c51fda
	hostboot-6782606
	linux-4.9.8-4863d7c
	petitboot-v1.4.1-fe60185
	witherspoon-xml-3fd670a
	occ-4141b5f
	hostboot-binaries-541a2bd
	capp-ucode-1bb7503

I suspect this should be in the petitboot repo and not here. @sammj assigned to you for investigation.

To see if Petitboot is trying to retrieve the boot flags please

Set nvram --update-config "petitboot,debug?=true"
Reboot to Petitboot
Run pb-sos and save the resulting tar file

ubuntu@w37l:~$ sudo nvram --update-config "petitboot,debug?=true"
[sudo] password for ubuntu:
ubuntu@w37l:~$

Rebooted to petitboot
Exiting petitboot. Type 'exit' to return.
You may run 'pb-sos' to gather diagnostic data
/ # pb-sos
Complete, tarfile location pb-sos.tar
/ # ls -larth pb-sos.tar
-rw-r--r--    1 root     root      231.5K Feb 24 06:33 pb-sos.tar
/ #

[x]  petitboot log
pb-sos.tar.gz

boot_flags --> default
GET  https://xx.xx.xx.xx/org/openbmc/settings/host0
{
  "data": {
    "auto_reboot": "yes",
    "boot_flags": "default",
    "boot_policy": "ONETIME",
    "network_config": "ipaddress=,prefix=,gateway=,mac=,addr_type=",
    "power_cap": 0,
    "power_policy": "RESTORE_LAST_STATE",
    "restricted_mode": 0,
    "system_state": "HOST_POWERED_ON",
    "time_mode": "NTP",
    "time_owner": "BMC",
    "use_dhcp_ntp": "yes"
  },
  "message": "200 OK",
  "status": "ok"
}

In the Petitboot logs we have:
platform: no IPMI parameter support
This boils down to two checks,
a) Are we running on a 'BMC' platform by checking /proc/device-tree/bmc, and
b) Is IPMI support present by checking to see if /dev/ipmi0 exists.
If one of these is false Petitboot won't try to use inband IPMI to find boot overrides.
Additionally in the kernel log we have
[    7.953001] ipmi message handler version 39.2
[    7.953008] ipmi device interface
[    7.953064] ipmi-powernv ibm,opal:ipmi: Unable to map irq from device tree
[    7.974038] ipmi-powernv ibm,opal:ipmi: Found new BMC (man_id: 0x000000, prod_id: 0x0000, dev_id: 0x00)

Which sounds like IPMI might not be configured correctly. Is IPMI otherwise working, and do those two nodes exist? Sounds like it might be a problem with how the system has been set up.

@stewart-ibm - Is there someone that can help debug this from a skiboot perspective?  Every Witherspoon acts this way as best as we can tell. Seems like something is missing for that machine to make Petitboot detect IPMI path. Could be broken on Zaius also.

I took a look at Zaius. It was running a slightly newer setup, but the result was the same:
open-power-zaius-v1.14-62-g22ca71d
	buildroot-2016.08-1427-g6b9fd80
	skiboot-ca4a1ee
	hostboot-c3170c0
	linux-4.10-rc7-rc7-ea56772
	petitboot-v1.4.1-335166a
	zaius-xml-82f072d
	occ-4141b5f
	hostboot-binaries-f2b74a2
	capp-ucode-1bb7503

/var/log/petitboot # head -n 2 /var/log/petitboot/pb-discover.log
--- pb-discover ---
platform: no IPMI parameter support

petitboot checks to paths are present to confirm it should use IPMI:

/dev/ipmi0
/proc/device-tree/bmc

/dev/ipmi0 is present, but /proc/device-tree/bmc is not. AIUI this is supposed to be added by hostboot.

/proc/device-tree/bmc - I think this should be created by skiboot based on HDAT SPSUBSYS structure. In P8, Hostboot used to create this. In P9, I think the understanding is that skiboot will create the dev-tree based on HDAT...

Patch posted for review to OPAL mailing list.

Author: Ananth N Mavinakayanahalli<EMAIL_ADDRESS>Date:   Fri Mar 3 17:18:18 2017 +0530

    hdata: Add BMC device-tree node for P9 OpenPOWER systems

    On P8 Hostboot creates the node. On P9, OPAL needs to create the node. BMC
    information available in HDAT's SPINFO section.

    Signed-off-by: Ananth N Mavinakayanahalli<EMAIL_ADDRESS>    Acked-by: Joel Stanley<EMAIL_ADDRESS>    Signed-off-by: Stewart Smith<EMAIL_ADDRESS>
Fixed in 0f28e38bbeaa11bda20b81f2247c82682d93d787


A cheatsheet category?

It is nice to start with a showcase :)

https://docs.microsoft.com/en-us/dotnet/articles/fsharp/tour
http://dungpa.github.io/fsharp-cheatsheet/ repo
https://learnxinyminutes.com/docs/fsharp/ repo

Hi!
Great idea. Do you want to make a PR?
If not I can do it.

@VPashkov As you want. Feel free to do it directly it will be faster :)

Done.
@aloisdg, thanks for your contribution.


keepalive/heartbeat on google iot core

In google cloud IoT Core the heartbeats (PINGREQ) are billed.
In my test (see the screenshot) with this librari I've 8 heartbeats/minute!!!

I tested with 60seconds (the default is 10 seconds) but the results are the same: 8 heartbeats/minute!!!
How to reduce these useless heartbeats?

this screen is about stackdriver on a single device:

Thanks for the report, confirming I'm seeing the issue and will see if I can figure out a way to disable.

The changes in this commit explicitly increase the keepAlive / heartbeat and will be in the next library release.

Which sample are you running?

Changes released in version 1.1.2, that said, I'm not seeing the heartbeat messages being generated by default.


Upgrade kustomize to 3.0

Kustomize 3.0.0 is basically v2.1.0, with many post-v2.1.0 bugs fixed
(in about 150 commits) and a v3 in Go package paths.
Details about the kustomize release can be found here:
https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/docs/v3.0.0.md
Fixes #2230

Going forward I think we should remove the Kustomize binary and replace it with kubectl kustomize command.


Replacing test_sji.py with the test_new_sji.py file

@DanRyanIrish, can you explain me how I can delete the test_new_sji.py file from the repository ?

This is just deleting old test.sji.py and renaming test_new_sji.py to test_sji.py, right?

Yes but I don't know if there is something special to remove the old file.

It should be as simple as deleting the old test_sji.py and renaming tes_new_sji.py.  It looks like that's what you've done.

I cut what were in new_sji and paste it in sji but the new_sji is still here and as a blank file. I don't know how commit the deleting of a file.

Oh.    Unfortunately I just merged it so open another PR from the same branch.


fix: In @parse_kwargs, ensure per-type parsing is called for non-special parsing cases

This fixes issues when evaluating expressions such as e.g.,
args = (:(key1 = a), )
@parse_kwargs args... begin
   key1::Vector{Symbol}
end

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

13 of 14 (92.86%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-2.2%) to 85.906%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/parse_kwargs/parse_kwargs_macro.jl
13
14
92.86%

Totals

Change from base Build<PHONE_NUMBER>:
-2.2%

Covered Lines:
1341

Relevant Lines:
1561

💛  - Coveralls


Discovery listener on all EntityComponents

Description:
Discovery listener on all EntityComponents.
Related issue (if applicable): #
Generic listener was previously only installed if discovery_platforms were passed. Moved out of if condition

There are some git conflicts because I squashed your old commits when I merged into dev. Could you fork off dev and cherry-pick your last commit ?

Ok, will create a new fork & close this PR
What should I do with this branch? Delete?

Yeah, as long as you don't lose your code !


build.bat file is not working.

Describe the bug
When I try to build from buid.bat or try to download it through too many errors and also warning is occurring
Environment
OS: Win32NT             10.0.18363.0 Microsoft Windows NT 10.0.18363.0
Version: the version that Kubescape reports when you run kubescape version
Your current version is: v2.0.168

Steps To Reproduce
Steps to reproduce the behavior:

Go to 'kubescape directory'
Click on 'build.bat'
See an error

/assign me

Hey @pwnb0y, Can I give it a try?

Sorry, @SD-13 I am already working on this issue.

Okay, np

Hey, @SD-13 You can work on this issue. Good luck 👍

Hello @SD-13, are you working on it or do you need any kind of help than please let me know I will be happy to help you

Hello @SD-13, are you working on it or do you need any kind of help than please let me know I will be happy to help you

Thanks for asking, I am still working on it.

Hey @pwnb0y, I can't see any pop-up like this, Can you please confirm.

@pwnb0y the linked PR should resolve this issue as well, as it would allow users to move away from .bat files entirely and use .ps1 files instead for Windows environments.


Tap effect needs to be changed dynamically

Currently opacity is applied as the default tap effett. This should be dynamically adjustable.

Solved at https://github.com/KimSungBeen/ClickableText/pull/3.


How to render in novel views

Thank you for sharing this great project!  I'm trying to render the model trained with Dinov2, Could you clarify how parameters like novel views, points and theta should be determined when rendering?

Hi,
As it is explain in the Readme, the novel view, points and theta are determined in the command line prompt:
python render.py -s path/to/your/dataset -m output/exp-name --fundation_model "DINOv2" --semantic_dimension 384 --iterations 40_000 --frame k --novel_views i --points "(x1,y1)" "(x2,y2)" --thetas "ϴ1" "ϴ2"


Make binary lifting feature comparison table

Make it so that we can show a table that compares the different existing lifters out there so that we can say what tool supports what.

Fracture from Draper Labs. This seems unmaintained.
Dagger. Possibly unmaintained.
RetDec
More to come...

RevGen
libbeauty
Rev.ng
Apparently someone was doing research with McSema and didn't tell us about it?
http://web.engr.illinois.edu/~sdasgup3/Document/allin_poster.pdf
What was that one that used machine learning somehow?

Yes, I only found @sdasgup3's code for that work only recently, and it was based on McSema v1, so the ptrtoint/intotptr issue is no longer relevant (via --keep_memops to McSema).

SecondWrite with poster


Plots don't match when there Hydro Curtail

what formulation is this for the devices? trying to replicate... @jd-lara

@Lilyhanig
devices_uc = Dict(
    :Generators => DeviceModel(ThermalStandard, ThermalStandardUnitCommitment),
    :Ren => DeviceModel(RenewableDispatch, RenewableFullDispatch),
    :Loads => DeviceModel(PowerLoad, StaticPowerLoad),
    :HydroROR => DeviceModel(HydroDispatch, HydroDispatchRunOfRiver),
    :Hydro => DeviceModel(HydroEnergyReservoir, HydroDispatchRunOfRiver),
    :RenFx => DeviceModel(RenewableFix, FixedOutput),
)

This is still a problem

@Lilyhanig @jd-lara can we close this?


Support auto-correction for Lint/ElseLayout

This PR supports auto-correction for Lint/ElseLayout.

Before submitting the PR make sure the following are checked:

[x] Wrote good commit messages.
[ ] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Added an entry (file) to the changelog folder named {change_type}_{change_description}.md if the new code introduces user-observable changes. See changelog entry format for details.
[x] The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
[x] Run bundle exec rake default. It executes all tests and RuboCop for itself, and generates the documentation.

Looks good to me. We should probably clarify in the examples that's a lint cop, as often people type else when they meant elsif. The cop message makes that clear, but there's no example about this. We should also clarify the auto-correct assumes that we're facing a layout issue, not a logical issue.

Certainly it is very valuable information! I updated the doc.

Great!


CI: Setup distributable binary

Update CI workflow to build distributable binary for the homebrew installation using brew pkg.

@FirePing32 check the changes I have done

@viferga looks good to me.


mbed-cli should report actual failure reason as part of ERROR message.

Sometimes it is a bit difficult to identify why mbed-cli failed some operation, especially if it is reported by third-party only showing normal logs.
For. ex.
[mbed] Adding library "mbed-cloud-client" from "https://...."
[mbed] ERROR: Unable to clone repository (....)

Here it would be more useful to give also some error code for ex.
[mbed] ERROR (Forbidden: code 403): Unable to clone repository (...)
or just
[mbed] ERROR (code 403): Unable to clone repository (...)
I this case the error was caused by too old Git-client in windows (which was still trying to use deprecated weak encryption).
I presume the communication within mbed-cli is relative REST-like, so there should be some error-code to pass forward to customer.

I presume the communication within mbed-cli is relative REST-like, so there should be some error-code to pass forward to customer.

I'm not sure how that plays with --protocol ssh. There's probably an error code in either case.

@teetak01 Could you attach the original error you received?

mbed-cli really did not output anything more than that and that is from customer reported issue (thus hiding some details).
This is more of a general request to relay some error codes. Especially with quite common issues like missing RSA keys, failing authentication etc. which can happen when working with private repositories.
This might be reproducible if you give invalid rsa keys and try to deploy.

Issue header has missing or incorrectly filled in fields! Please fix.

Thank you for raising this issue. Please note we have updated our policies and
now only defects should be raised directly in GitHub. Going forward questions and
enhancements will be considered in our forums, https://forums.mbed.com/ . If this
issue is still relevant please re-raise it there.
This GitHub issue will now be closed.


Check if response header has int value

I started getting the same error as in this issue, https://github.com/basecamp/pow/issues/32, and figured we could guard against trying to split() an integer. If someone knows a better way than this hack then go for it!

@josh This is still an issue. If you do anything in your code that assigns an integer to a response header, you will get the error described above. What was the reason this was closed? Is there a better/different fix for this, or perhaps a workaround?

Make sure your header values are strings. See my comment on basecamp/pow#32


Bump actions/checkout from v1 to v2

Changelog: https://github.com/actions/checkout#checkout-v2. In particular, 'Improved performance: Fetches only a single commit by default' looks nice.


web: add forwarding history download button

Expose the forwarding history functionality that was added in #79 accessible via the web ui.

When testing, I ran into #84. Worth fixing before release.


Arduino_Core_STM32 submodule to version 2.7.1

Hellow,
I am trying to install Arduino_Core_STM32 submodule to version 2.7.1 in Arduino IDE version 1.81. and 2.2.1. In both cases, installing following the instructions https://docs.arduino.cc/learn/starting-guide/cores, the board is not added. Additionally, there is no information about errors.
Please let me know how I can add this module to the Arduino IDE.
With greeting
Piotr Mróz

Hi @P204503
You only have to add this link in thepreference:
https://github.com/stm32duino/BoardManagerFiles/raw/main/package_stmicroelectronics_index.json
Than it should appears in the Contributed menu in the IDE.

If it do not appears then it is an Arduino IDE issue.


dummy commit

see https://github.com/prisma/prisma-engines/pull/4253
@quest-bot loot #20037

 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.

@quest-bot loot #20037


Browser refresh in web app not maintaining provider state in go_router

State not maintained in page refresh in web app:
Im using go_router for navigation in flutter web app.
If i use any state management plugin, and refresh the browser my all global states are reset.
Even i tried the example code of go_router repository, in that also state is not maintained on page refresh.
Please provide solution asap, because without this whole app code is useless.
Im giving link of  video for reference.
https://drive.google.com/file/d/1vHnN7Q1pvZqVdaw-gopqHoe6EcUCJmJY/view?usp=share_link

In the issue I linked to, the refresh happens in the browser, not from the IDE. See the video in https://github.com/flutter/flutter/issues/114597#issue-1434439769 for more context

hello sir, page refresh works in browser, But if the user logged in and refresh the page then login state is reset. User need to login again after each page refresh.  Is there any solution for this?

Hi @Payalpatel-wrteam,
Can you please provide your flutter doctor -v and a minimal complete reproducible code sample?
Please also provide the version of go_router you're using.
Thank you


Update quest-helper to 4.1.0

Adds the first half of Desert Treasure II, along with various bug fixes.

Updated the PR to include the remaining sections of DT2, so the PR now includes the entirety of the quest.


Serialize big data in json

For example, I want to add logged events to a JSON file and close it when I exit the program. I would also like to add them to a file as they become available.
What should I do to I make this work?

nop, json currently load ALL json into memory. It's a big feature to store part of json in memory depending on file pointers :)

You can use the SAX interface to avoid parsing everything to memory. See https://nlohmann.github.io/json/classnlohmann_1_1basic__json_a8a3dd150c2d1f0df3502d937de0871db.html#a8a3dd150c2d1f0df3502d937de0871db for more information.

But can you use SAX to write not parse json to file?

@nlohmann can i use it with memory mapped file (if i have just pointer to data and its size) ?

But can you use SAX to write not parse json to file?

No this is not possible in the moment.

@nlohmann can i use it with memory mapped file (if i have just pointer to data and its size) ?

Yes, you can do this with
json j = json::parse({data, size});

Do you need further assistance with this issue?


APP crashes/ stops, if the User play around the APP while the Transaction is in pending state. Video with Voice attached below.

Video below. When the user sends balance to any other address & during the transaction if the user play around the app. The APP crashes/ stops.
https://user-images.githubusercontent.com/101316605/163765289-2a20fafc-eca5-4c3d-bd75-90ed6e74b20a.mp4

Nice catch, thanks


Unhandled exception

Sometimes, I've got this error on WPF version :
Description: The process was terminated due to an unhandled exception.
Exception Info: System.NullReferenceException
at XamlAnimatedGif.Animator.Dispose(Boolean)
at XamlAnimatedGif.Animator.Finalize()
I used the 1.1.3 version.

Hi @ZeBobo5,
Thanks for reporting this.
As far as I can tell, the only thing that could throw a NRE in Dispose(bool) is if _timingManager is null, which is only possible if the object wasn't created successfully (error during construction). Do you see any other exception before the one that makes the app crash? You can detect errors by subscribing to the AnimationBehavior.Error attached event.

It should be fixed in 1.1.5 which I just pushed to NuGet.
Note that it will fix the crash, but not the root cause (failure to create the Animator instance)