Hydration mismatch when using with JSX

Vue version
3.4.27
Link to minimal reproduction
https://play.vuejs.org/#__SSR__eNp9UsFOAkEM/ZVmLkLcgImeEE3UeMBENEq8OB5wt+DA0tnMdBBD+Hc7OwIbot6m7eub99qu1VVVdZYBVU/1fe5MxeCRQ3WpySwq6xjWUODEEN5YiQmJM3A4gQ1MnF3AkfQeNbC5wzHjy9AWmP0EI1xxndj2aCVNWp1r0pRb8gz3X9eB2RJcHH7WarXh4hLWmgASNreBWIAionXSFhKQJwdHkKANBS2t3mterbJEAfK5pZvS5HOtetuOyNhZjsuAx8cRtcng9UC7UA0o5jz2hKMt5vZdb1HGpq2p300zlOlJwLioSiGRCKBfmGX9kOfObjeVuqnW7zY6VKbYi+OJmXZm3pIsqHagVS6zMSW6h4qNTCT62Hkbl6X9vKtz7AJm23z+gfn8l/zMr2JOq0eHHt1S1rKr8dhNkVP59nkok2gUF7YIpaD/KT6ht2WIGhPsOlAhshu4Wu2gPh1D05G/XTGS35qKQtM2km85mngWf1nfyz3tnNV9shO1+QY07PS3
Steps to reproduce

Open reproduction link.
An error appears in the output.

What is expected?
No errors.
What is actually happening?
Hydration completed but contains mismatches. error
System Info
No response
Any additional comments?
On the client side, <button>Increase: { count.value }</button> is essentially just one text node. This means it merges the static node "Increase: " and the dynamic node { count.value }.
But on the server side, it will be two separate nodes. This results in one more node on the server side compared to the client.
Workaround:

Use a template string <button>{ `Increase: ${count}` }</button>
Use <button>Increase: { count.value }</button>. Only one text node in elements.

This issue was originally reported by @icarusgk.

duplicate of https://github.com/vuejs/core/issues/7285

Closing as duplicate


Using service classes to design an authentication API in Flutter

Article checklist
Attention
Our Peer Reviewer and Content Moderator teams do NOT provide any revisions services. All revisions and edits should be completed on your own forked repo (as to not take up room in the queue) in order for our team to review them all in a timely manner.
ANY ARTICLE SUBMITTED WITH GLARING ERRORS WILL BE IMMEDIATELY CLOSED.

As a rule of thumb - please be sure to only submit articles (pull requests) that are fully polished and ready to be published. Be sure to go through our resources documents for extra and 3rd party (vetted) resources to help improve overall technical writing.

Pre-submission checks

Please ensure that you have only one open topic suggestion (issue) + in-review article (linked pull request) at a time. This will ensure that we complete the review process in a timely manner from inception to publishing

If you have not already, please go over our Resources Page for more tips and tricks on how to improve your overall technical writing so reviews are swifter, increase the chance of a payout and provide more value to our readers.

For first-time contributors and for more details on our submission guidelines, see our Contributing Guidelines.

Formatting and structure checks

[x] Have you used the correct folder and file structure? - see Contribution Guidelines

[x] Is your article properly formatted in Markdown? - see Github Markdown guide

[x] Have you used our preferred heading structure? - H3 (###) and up

[x] Does your article follow any of the suggested structure formats? - see example formats

[x] Is your article over 750 words? - Tool: Wordcounter.net

[x] Is the article you are submitting an in-depth and unique article? Does it go beyond what is in the official docs and what is covered in other blog sites. See these articles as examples.

[x] Does your article provide enough value and detail about your topic? - Articles should be clear, accurate, and fully explained.

[x] Can your article be understood by beginners? - Assume the audience is smart but has no prior exposure to the common terminology in your article.

[x] Have you included a hero image that is 600x400 pixels, under 300KB in size, and have the copyright to use it? - Tools: Pixlr Image Editor for resizing and Unsplash for Creative Commons images

Grammar & plagiarism checks

[x] Have you spellchecked and grammar checked your article? - Tools: Write&Improve - ProWritingAid - Grammarly
[x] Please place your article through a 3rd party plagiarism checker. We suggest using Quetext, this tool is free and has a daily limit. We typically accept articles with 10% or less.
[x] Have you checked your article for readability? - Tool: Hemmingway
[ ] Have you added sources for quotes and images that aren't yours?

Technical checks

[x] Are your code snippets properly formatted for syntax highlighting - see Syntax guide
[x] Have you checked your code runs correctly and you've highlighted all necessary dependencies for installation?
[x] Are the software programs and packages you're highlighting in your article up to date, using current versions and not deprecated?

Topic suggestion this closes

Remove the backticks and add the issue number below to link and close your Topic Suggestion (issue) when your article has been published (PR has been merged). See this video for more details.

This closes #6013

Finally, delete the article checklist notes in blockquotes and submit your PR. We look forward to reviewing your article.

@BrianaNzivu could you take a look at this topic if you are free please.

Upon running your article through our 3rd party plagiarism checker it seemed to raise a few flags and the % was higher than we typically accept.
Please see attached PDF - and revisit the article to ensure we are contributing wholly unique and original content.
Be sure to see our resources page to see more info on plagiarism and what is considered as such.
6100

Upon running your article through our 3rd party plagiarism checker it seemed to raise a few flags and the % was higher than we typically accept. Please see attached PDF - and revisit the article to ensure we are contributing wholly unique and original content. Be sure to see our resources page to see more info on plagiarism and what is considered as such. 6100

Done. Thanks.

Plagiarism check done ✅

Any changes required ping me @BrianaNzivu please.

@BrianaNzivu If any more edits are needed - we will be closing this PR.
Thank you (this includes any minor edits you may make)

Hello @BrianaNzivu please reopen so as I can work on them right away. Thanks in advance.

@BrianaNzivu Done

Hey @vincentkims49 👋 .
I can see you've made the changes I requested but you have not enhanced the article. What I mean by enhancing the article is adding something to it that will make the content better and more unique. Your article is covering a subject that is widely covered by other blogs and even the official documentation, what I wanted you to do is create a cool feature (literally anything) in a flutter app using service classes at least it will make your article unique.
Please note we typically refrain from publishing content that is covered widely on the net or other blogs. As we're more interested in original, practitioner-focused content that takes a deeper dive into the programming-centric concepts.
Once more I will give you another opportunity to enhance your article but outside the queue. I will be closing the PR simply to make room in the queue for other authors - but I can gladly reopen it anytime once the article is ready to publish.
Note: You can still work on another article meanwhile if you feel like you will need some more time to figure this one out. Just open a new topic suggestion form and wait for a go ahead from a content moderator
Regards.

Thanks. I'll add more content and ping you when done.
On Thu, Feb 3, 2022, 8:29 PM Briana Nzivu @.***> wrote:

Hey @vincentkims49 https://github.com/vincentkims49 👋 .
I can see you've made the changes I requested but you have not enhanced
the article. What I mean by enhancing the article is adding something to it
that will make the content better and more unique. Your article is covering
a subject that is widely covered by other blogs and even the official
documentation, what I wanted you to do is create a cool feature (literally
anything) in a flutter app using service classes at least it will make your
article unique.
Please note we typically refrain from publishing content that is covered
widely on the net or other blogs. As we're more interested in original,
practitioner-focused content that takes a deeper dive into the
programming-centric concepts.
Once more I will give you another opportunity to enhance your article but
outside the queue. I will be closing the PR simply to make room in the
queue for other authors - but I can gladly reopen it anytime once the
article is ready to publish.
Note: You can still work on another article meanwhile if you feel like
you will need some more time to figure this one out. Just open a new topic
suggestion form and wait for a go ahead from a content moderator
Regards.
—
Reply to this email directly, view it on GitHub
https://github.com/section-engineering-education/engineering-education/pull/6100#issuecomment-1029227621,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATLZW7AI47GFUK4VEYU527TUZK3P7ANCNFSM5MCLJUVQ
.
You are receiving this because you were mentioned.Message ID:
<section-engineering-education/engineering-education/pull/6100/c1029227621
@github.com>

Hey @vincentkims49 wave . I can see you've made the changes I requested but you have not enhanced the article. What I mean by enhancing the article is adding something to it that will make the content better and more unique. Your article is covering a subject that is widely covered by other blogs and even the official documentation, what I wanted you to do is create a cool feature (literally anything) in a flutter app using service classes at least it will make your article unique.
Please note we typically refrain from publishing content that is covered widely on the net or other blogs. As we're more interested in original, practitioner-focused content that takes a deeper dive into the programming-centric concepts.
Once more I will give you another opportunity to enhance your article but outside the queue. I will be closing the PR simply to make room in the queue for other authors - but I can gladly reopen it anytime once the article is ready to publish.
Note: You can still work on another article meanwhile if you feel like you will need some more time to figure this one out. Just open a new topic suggestion form and wait for a go ahead from a content moderator
Regards.

Sorry I didn't get at first. I will add a feature where service classes store a state of an app. Please reopen so as I can add the content. Thanks.

Hey @vincentkims49 👋.
I'd advice you open a new PR with the new content just to avoid any merge conflicts.
You can add the duplicate label.
Lastly,
Ping or request a review from me on the new PR.
Please note that the new PR should have content that is ready to be published with minimal corrections. If not, I will be obligated to close the PR immediately.
Regards.


FromJSON deriver missing?

I can only see toJsonDeriver from the domain-aeson package but not fromJsonDeriver. Any plan to support this?

Yes. It's possible that it'll appear in the coming month, because I may get on the project that will require this. Otherwise PR will be much appreciated

Well, I've tried but failed due to my limited experience of template haskell.

I have to agree. I'll give it higher priority. Can't promise to finish today, but I'm taking a look at it now.

Implemented in 0.1.1

Wow, that's impressive. Thanks for your prompt response on this. I'm really appreciated.


Maybe problem with envs

Hi Boss!
I already spent 2 days with this problem, please help me.
I understand that problem with my envs or something with my windows machine...
I have problem with this import:
from scrcpy import Client, const
but I already tried to install all plugins for VS, tried PyCharm, but can't understand how to show python to see in right directory?
Maybe you can help me with advice here or in telegram @rand0ms
Thank you in advance.

The package you seem to be missing is py-scrcpy-client,
https://github.com/leng-yue/py-scrcpy-client
It should be installed if you navigate to the bot folder and dopip install requirements.txt  or do it manually with pip.
Also I did an update 2 days ago which makes it a bit easier to install by removing pytesseract, try upgrading to that version as well.

already installed :(

PS C:\Code\Rush-Royale-Bot> pip install -r c:\Code\Rush-Royale-Bot\requirements.txt
Requirement already satisfied: numpy==1.23.1 in c:\users\rand0.pyenv\pyenv-win\versions\3.10.0\lib\site-packages (from -r c:\Code\Rush-Royale-Bot\requirements.txt (line 1)) (1.23.1)
Requirement already satisfied: pandas==1.4.3 in c:\users\rand0.pyenv\pyenv-win\versions\3.10.0\lib\site-packages (from -r c:\Code\Rush-Royale-Bot\requirements.txt (line 2)) (1.4.3)
Requirement already satisfied: Pillow==9.2.0 in c:\users\rand0.pyenv\pyenv-win\versions\3.10.0\lib\site-packages (from -r c:\Code\Rush-Royale-Bot\requirements.txt (line 3)) (9.2.0)
Requirement already satisfied: scikit_learn==1.1.1 in c:\users\rand0.pyenv\pyenv-win\versions\3.10.0\lib\site-packages (from -r c:\Code\Rush-Royale-Bot\requirements.txt (line 4)) (1.1.1)
ERROR: Ignored the following versions that require a different python version: 0.0.1 Requires-Python >=3.7,<3.10; 0.0.3 Requires-Python >=3.7,<3.10; 0.0.4 Requires-Python >=3.7,<3.10
ERROR: Could not find a version that satisfies the requirement scrcpy==0.0.4 (from versions: none)
ERROR: No matching distribution found for scrcpy==0.0.4

BTW
I've tried to do same on mac os
sergeyartemiev@MacBook-Pro-Sergey RR_bot % pip install -r requirements.txt
Collecting numpy==1.23.1
Downloading numpy-1.23.1-cp310-cp310-macosx_11_0_arm64.whl (13.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 13.3/13.3 MB 11.3 MB/s eta 0:00:00
Collecting pandas==1.4.3
Downloading pandas-1.4.3-cp310-cp310-macosx_11_0_arm64.whl (10.4 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 10.4/10.4 MB 10.7 MB/s eta 0:00:00
Collecting Pillow==9.2.0
Downloading Pillow-9.2.0-cp310-cp310-macosx_11_0_arm64.whl (2.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.8/2.8 MB 10.3 MB/s eta 0:00:00
Collecting scikit_learn==1.1.1
Downloading scikit_learn-1.1.1-cp310-cp310-macosx_12_0_arm64.whl (7.7 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.7/7.7 MB 7.1 MB/s eta 0:00:00
ERROR: Ignored the following versions that require a different python version: 0.0.1 Requires-Python >=3.7,<3.10; 0.0.3 Requires-Python >=3.7,<3.10; 0.0.4 Requires-Python >=3.7,<3.10
ERROR: Could not find a version that satisfies the requirement scrcpy==0.0.4 (from versions: none)
ERROR: No matching distribution found for scrcpy==0.0.4

You are running a python version that is above 10. Install python 3.9.

Python 3.9 solved my problem with scrcpy :-), but quest still in progress

Solved, thank you for this project


feat: add kit-react-native

This package is not feature complete, just shipping components as that is needed for our conference talk demo.

I moved FlatList to a dedicated package
Added SectionList and VirtualizedList
Removed special handling of "header" and "footer" props. Turns out "ListHeaderComponent" takes an element as well (which is what Rise passes down to children on the client). For some reason, that was not working before, or we have fixed and underlying issue in the meantime.
Moved FlatList example under React Native example (new entry in UI controls)

This is a breaking change, but since we're 0 major, I don't think we should bump it as such.
Breaking change is:

FlatList is now in kit-react-native
header is now ListHeaderComponent (as per React Native)

@ericvicenti should we showcase all elements? or none?

Question:

Should we keep all relevant examples (FlatList, ActivityIndicator) top-level, alongside e.g. DraggableFlatList or BottomSheet in the UI controls, or... group them under "Base React Native Elements"?
Should we document all base React Native elements? They're kinda obvious on one hand!

One question, is kit-react-native part of "the kit"? If so, what do you get when you import View? RN View or Tamagui View?

Good question. Right now, I prefixed it with RN, like we did with SVG, b/c View was clashing with Tamagui. I think React Native should either not be part of the kitchen sink, or be exported behind a namespace, as we're Tamagui-first.
Thoughts?


Create and use your own predictive web service for cash flow forecasts next step

How can we then use the Cash Flow Forecast. What is the next step?

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

ID: ea2765e3-713c-d9c9-a545-8b7051ac3b9c
Version Independent ID: 26ed03b2-9d91-957d-1ada-fd570b8bf993
Content: Setting up Cash Flow Analysis - Business Central
Content Source: business-central/finance-setup-cash-flow-analyses.md
Service: dynamics365-business-central
GitHub Login: @bholtorf
Microsoft Alias: bholtorf

Hi,
Sorry for taking so long to reply. After setting up the Cash Flow Forecast, the forecast chart can be viewed in the Accountant Role Center, choose the Recalculate Forecast action to update the chart after the setup or changing settings. Since others might have the same question, we've updated the article and it will be published in the near future.

related: #618

Now live in English (US). The update will be available in English (AU) in a week or two.


nzOkLoading is not working in NzModalService.confirm()

Reproduction link
https://stackblitz.com/edit/ng-zorro-antd-ivy-2p6wxs?file=src/app/app.component.ts
Steps to reproduce
this.modal.confirm({
      nzTitle: 'Do you Want to delete these items?',
      nzContent:
        'When clicked the OK button, this dialog will be closed after 3 second',
      nzOkLoading: isLoading,
      nzOnOk: () =>
        new Promise((resolve, reject) => {
          isLoading = true;
          setTimeout(() => {
            isLoading = false;
            console.log('Stop button loading!');
          }, 3000);
        }).catch(() => {
          console.log('Oops errors!');
        }),
});

What is expected?
My expectation is as follows; After the modal is opened, the user clicks the OK button, the button loading is started, and then the API request is made. If an error is received from the API request, the button loading will complete, but the modal should not be closed. (The modal closes when I reject or resolve.)
If the API request completes successfully, the button loading is complete and the modal is closed.
What is actually happening?
nzOkLoading is not working correctly. It doesn't detect the change in Promise.

Environment
Info

ng-zorro-antd
12.1.1

Browser
Crome Version 96

Please try this
showConfirm(): void {
    let isLoading = false;
    this.confirmModal = this.modal.confirm({
      nzTitle: 'Do you Want to delete these items?',
      nzContent:
        'When clicked the OK button, this dialog will be closed after 3 second',
      nzOkLoading: isLoading,
      nzOnOk: () =>
        new Promise((resolve, reject) => {
          isLoading = true;
          setTimeout(() => {
            isLoading = false;
            this.confirmModal?.updateConfig({
              nzOkLoading: isLoading
            })
            console.log('Stop button loading!', isLoading);
          }, 3000);
        }).catch(() => {
          console.log('Oops errors!');
        }),
    });
  }

@chenc041 Thanks It worked 👍


User authentication

We need to support some user authentication.
Passport (http://passportjs.org/) looks nice and we might have to make a SPID passport  provider if we want to use SPID for authentication.

I have started looking in to this.

Im not sure https://github.com/finn-no/unleash/pull/79 really closes this. We might have to get some requirements from @kjartis about the authentication requirements for Unleash.

your probably right. I was a bit fast on the closes message.

After the meeting this is the latest status (ref https://github.com/finn-no/unleash-client-java/issues/18):
You should always be able to turn on or off toggles even if the authentication provider is down.
Ideally everyone that dose a change need to be logged by name.
We will investigate using basic auth and having Crowd as the user provider.

So was basic auth ever added?

not yet.
On Thu, 25 Jun 2015 at 21:23 Anders Olsen Sandvik<EMAIL_ADDRESS>wrote:

So was basic auth ever added?
—
Reply to this email directly or view it on GitHub
https://github.com/finn-no/unleash/issues/33#issuecomment-115369256.


Deploy error: GOPATH not defined

I'm getting the following error on the application deployment:
2015-03-30T17:48:22.667772+00:00 heroku[web.1]: Starting process with command `myapp -port=18079` 2015-03-30T17:48:23.992476+00:00 app[web.1]: 2015/03/30 17:48:23 GOPATH not defined, please define it 2015-03-30T17:48:24.758054+00:00 heroku[web.1]: State changed from starting to crashed
Question: Does the app name has to be same as the heroku's app name?

Well, just realized that that error is thrown by my own application xD please close this issue hahahahaha


[docs] Add navigation menu example

Add example regarding the use of Link from react-router-dom to be used with MenuItem as the documentation was missing this bit and online resources were not easy to find. (neither is deductible, to me at least).

[ ] I have followed (at least) the PR section of the contributing guide.

That's an interesting case to document. It should be placed in the /components section though. The /api section should be kept very technical (e.g. props description not use cases).
It would be much appreciated if you can create a complete demo of a nav menu.

Hi @eps1lon , thanks for the heads up, will find the /components documentation section and place it there, you are exactly right, the API is strictly technical.


Remove not localized files and add l10n progress to settings

Added a little fix for other feature in this branch.

Nice work, thank you!
Sorry it too me so long to merge.


POLICY_REPO_CLONE_PATH should default look up current working directory

$ opal-server print-config
...
"POLICY_REPO_CLONE_PATH": "/Users/furkan/regoclone"

My working dir: ~/src/poc/opal
$ OPAL_POLICY_REPO_URL=https://github.com/open-policy-agent/gatekeeper-library.git  opal-server --policy-repo-polling-interval 60 run
...
Cloning repo from 'https://github.com/open-policy-agent/gatekeeper-library.git' to '/Users/furkan/regoclone'

It had better clone repo into current directory in order to keep clean out $HOME directory. What do you thing? 🤔

Hi @Dentrax, what a great suggestion :)
I'll change it to clone under the current working directory, and will release a new version later today.

Hi @Dentrax, published opal 0.1.2, should be fixed in this version :)

Thanks for the prompt response and action! 🚀


Release/0.11.0 beta 1

Tidied up spreadsheet sources for creation of CCI and NIST mappings to D3FEND.

will git flow feature finish this away.


MODE-2566 Upgrades to OpenCMIS 1.0.0 and explicitly advertises CMIS 1.1 as the supported version for repositories

@hchiorean, looks great.


Handle empty ROI in UDFs

Fixes #609
Contributor Checklist:

[ ] I have added or updated my entry in the creators.json file
[ ] I have added a changelog entry for my contribution
[ ] I have added/updated test cases

@sk1p I'm not sure if the changes I made are enough/right.

Edit: specifically happens with the PickUDF - maybe the error in the UDF runner can also be improved?

The error is thrown only when kind isn't single (when it isn't the PickUDF), if I got the right idea.
Your feedback? Thanks!

The error is thrown only when kind isn't single (when it isn't the PickUDF), if I got the right idea.

The question is, if we have an extra_shape with a zero in it (for kind != "single"), what is the most natural thing to happen? I guess if we want to emulate numpyas closely as possible, we should just allow zeros inextra_shape`, and be done with it? I'll let @uellue chime in on this, too.

NumPy arrays with zeros in the shape behave normally.
>>> a = np.zeros((0, 2, 3, 0))
>>> a[:] = 1
>>> a[:, 1]
array([], shape=(0, 3, 0), dtype=float64)

That's what I'd expect to get as raw_data from a kind='nav' result buffer with empty ROI. :-)

That's what I'd expect to get as raw_data from a kind='nav' result buffer with empty ROI. :-)

Same goes if roi is non-zero, but extra_shape contains a zero, right?

That's what I'd expect to get as raw_data from a kind='nav' result buffer with empty ROI. :-)

Same goes if roi is non-zero, but extra_shape contains a zero, right?

Yes :-)

Perfect, thanks! Merged.


Installation is a mess, instructions are a mess

ChatGPT helped remove all the swear words.
I've encountered difficulties trying to set this up on Ubuntu, MacOS, and Windows. I've noticed some inconsistencies in the instructions, and it seems some tools and libraries might be either too new or outdated. It would be greatly appreciated if these issues could be addressed to make the project more user-friendly for everyone. Thank you.

We've tested the following installation instructions and pip package. What error message did you encounter, can you post it here?
conda create -y --name openchat
conda activate openchat

conda install -y python
conda install -y cudatoolkit-dev -c conda-forge
pip3 install torch torchvision torchaudio

pip3 install packaging ninja
pip3 install --no-build-isolation "flash-attn<2"

pip3 install ochat

Everything worked for me up until pip3 install --no-build-isolation "flash-attn<2". But when I'm trying pip3 install ochat I'm getting the following error. I'm using a windows machine.

@imoneoi any idea how to resolve this?

I successfully install it with following step:
Environment

I cannot make it works on my windows 11 (failed on installing (build) vLLM), but
Windows 11, WSL 2, Anaconda works fine

Here is the Environment in WSL
(openchat) doodlebear@BEAR-PC:/mnt/c/Users/admin$ conda -v

# >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<

    Traceback (most recent call last):
      File "/home/doodlebear/miniconda3/lib/python3.11/site-packages/conda/exception_handler.py", line 17, in __call__
        return func(*args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^
      File "/home/doodlebear/miniconda3/lib/python3.11/site-packages/conda/cli/main.py", line 78, in main_subshell
        exit_code = do_call(args, parser)
                    ^^^^^^^^^^^^^^^^^^^^^
      File "/home/doodlebear/miniconda3/lib/python3.11/site-packages/conda/cli/conda_argparse.py", line 160, in do_call
        relative_mod, func_name = args.func.rsplit(".", 1)
                                  ^^^^^^^^^
    AttributeError: 'Namespace' object has no attribute 'func'

`$ /home/doodlebear/miniconda3/bin/conda -v`

  environment variables:
                 CIO_TEST=<not set>
        CONDA_DEFAULT_ENV=openchat
                CONDA_EXE=/home/doodlebear/miniconda3/bin/conda
             CONDA_PREFIX=/home/doodlebear/miniconda3/envs/openchat
           CONDA_PREFIX_1=/home/doodlebear/miniconda3
    CONDA_PROMPT_MODIFIER=(openchat)
         CONDA_PYTHON_EXE=/home/doodlebear/miniconda3/bin/python
               CONDA_ROOT=/home/doodlebear/miniconda3
              CONDA_SHLVL=2
           CURL_CA_BUNDLE=<not set>
               LD_PRELOAD=<not set>
                     PATH=/home/doodlebear/miniconda3/envs/openchat/bin:/home/doodlebear/minicon
                          da3/condabin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/
                          bin:/usr/games:/usr/local/games:/usr/lib/wsl/lib:/mnt/c/Users/admin/Ap
                          pData/Local/fnm_multishells/2820_1699353565754:/mnt/c/ProgramData/anac
                          onda3:/mnt/c/ProgramData/anaconda3/Library/mingw-
                          w64/bin:/mnt/c/ProgramData/anaconda3/Library/usr/bin:/mnt/c/ProgramDat
                          a/anaconda3/Library/bin:/mnt/c/ProgramData/anaconda3/Scripts:/mnt/c/Pr
                          ogramData/anaconda3/bin:/mnt/c/ProgramData/anaconda3/condabin:/mnt/c/P
                          rogram Files/PowerShell/7:/mnt/c/Program Files/NVIDIA GPU Computing
                          Toolkit/CUDA/v11.8/bin:/mnt/c/Program Files/NVIDIA GPU Computing Toolk
                          it/CUDA/v11.8/libnvvp:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WI
                          NDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0:/mn
                          t/c/WINDOWS/System32/OpenSSH:/mnt/c/Program Files (x86)/NVIDIA
                          Corporation/PhysX/Common:/mnt/c/Program Files/NVIDIA
                          Corporation/NVIDIA NvDLISR:/mnt/c/Program
                          Files/Bandizip:/mnt/c/Program
                          Files/Git/cmd:/mnt/d/code/Environment/cudnn/cudnn-windows-x86_64-
                          <IP_ADDRESS>_cuda12-
                          archive/bin:/mnt/c/ProgramData/anaconda3/Scripts:/mnt/d/code/Environme
                          nt/wget:/mnt/c/Program
                          Files/Docker/Docker/resources/bin:/mnt/c/Program
                          Files/PowerShell/7:/mnt/c/Program Files (x86)/Windows Kits/10/Windows
                          Performance Toolkit:/mnt/c/Program
                          Files/NVIDIA/CUDNN/v8.9.6/bin:/mnt/c/Program Files/NVIDIA
                          Corporation/Nsight Compute 2022.3.0:/mnt/c/Users/admin/AppData/Local/M
                          icrosoft/WindowsApps:/mnt/c/Users/admin/AppData/Local/Programs/Microso
                          ft VS Code/bin:/mnt/c/Users/admin/AppData/Local/Microsoft/WinGet/Packa
                          ges/Schniz.fnm_Microsoft.Winget.Source_8wekyb3d8bbwe:/mnt/c/Users/admi
                          n/AppData/Local/Programs/oh-my-
                          posh/bin:/mnt/c/texlive/2023/bin/windows:/snap/bin
       REQUESTS_CA_BUNDLE=<not set>
            SSL_CERT_FILE=<not set>

     active environment : openchat
    active env location : /home/doodlebear/miniconda3/envs/openchat
            shell level : 2
       user config file : /home/doodlebear/.condarc
 populated config files :
          conda version : 23.9.0
    conda-build version : not installed
         python version : 3.11.5.final.0
       virtual packages : __archspec=1=x86_64
                          __cuda=12.3=0
                          __glibc=2.35=0
                          __linux=<IP_ADDRESS>=0
                          __unix=0=0
       base environment : /home/doodlebear/miniconda3  (writable)
      conda av data dir : /home/doodlebear/miniconda3/etc/conda
  conda av metadata url : None
           channel URLs : https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /home/doodlebear/miniconda3/pkgs
                          /home/doodlebear/.conda/pkgs
       envs directories : /home/doodlebear/miniconda3/envs
                          /home/doodlebear/.conda/envs
               platform : linux-64
             user-agent : conda/23.9.0 requests/2.31.0 CPython/3.11.5 Linux/<IP_ADDRESS>-microsoft-standard-WSL2 ubuntu/22.04.2 glibc/2.35
                UID:GID : 1000:1000
             netrc file : None
           offline mode : False

Install OpenChat on Windows 11 (WSL)
Using the instructions a bit different from above
Same for create conda env
conda create -y --name openchat
conda activate openchat

⭐ Alomst same, specify the python version
// conda install -y python
conda install -y python=3.11

Same for install cudatoolkit in conda

but want to mention that when I am running this instruction, it takes a while and only show the \ and / while processing and ended with nothing in my PowerShell (terminal), so I have to close the terminal and reopen it.

conda install -y cudatoolkit-dev -c conda-forge

⭐ Alomst same, but specify the torch version.

I noticed that using conda to install torch will some how install cpu version instead of cuda using conda install pytorch==2.0.1 torchvision==0.15.2 torchaudio==2.0.2 pytorch-cuda=11.8 -c pytorch -c nvidia
I saw @ugref using torch.__version__  = 2.1.0+cpu, and I did not facing the same issue when using 2.0.1+cu118 installing flash-attn when using Windows 11 (not in WSL)

// pip3 install torch torchvision torchaudio
pip install torch==2.0.1 torchvision==0.15.2 torchaudio==2.0.2 --index-url https://download.pytorch.org/whl/cu118

torch==2.1.0 may works well, did not try, check out other pytorch version here

pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121

Same
pip3 install packaging ninja

⭐ Before install flash-attn, I need to Install g++ Compiler first. (Basically, GPT-4 teaches me everything)
sudo apt update
sudo apt install build-essential

Same
pip3 install --no-build-isolation "flash-attn<2"
pip3 install ochat

I try almost 6 hours on making it works on Windows but fail, So I try WSL 2
I already using Docker, so there is nothing too much when install openchat on WSL
Simply

Install Conda (maybe come across some env issue, but GPT-4 got it)
Little issue when install some python package, just ask GPT-4
Stuck on running the server for a while, if you are not using cluster with multiple GPUs, and like me using a Desktop RTX 3090.
Instead of using

python -m ochat.serving.openai_api_server --model openchat/openchat_3.5 --engine-use-ray --worker-use-ray

Use this just works for me
python -m ochat.serving.openai_api_server --model openchat/openchat_3.5 --tensor-parallel-size 1

Use this to see more parameters settings
python -m ochat.serving.openai_api_server --model openchat/openchat_3.5 -h

@imoneoi
I am wondering if a Run Server section right after Installation section will be better?
For example
Run Server
For single GPT (e.g. RTX 3090, 4090)
python -m ochat.serving.openai_api_server --model openchat/openchat_3.5 --tensor-parallel-size 1

For cluster with multiple GPUs
python -m ochat.serving.openai_api_server --model openchat/openchat_3.5 --engine-use-ray --worker-use-ray

For more parameters settings
python -m ochat.serving.openai_api_server --model openchat/openchat_3.5 -h

Documentation is incompressibly bad and taints the otherwise astonishing work the team has done. Please rebuild or even use the model to generate it.

Just made a PR #70

After a little bit of experimenting and getting errors related to cuda versions, here are up-to-date steps (for 3.6.1) that worked for me (conda 4.10.3):
conda create -y --name openchat3.6
conda activate openchat3.6
conda install -y python==3.11
conda install nvidia/label/cuda-12.1.1::cuda-toolkit
pip3 install torch

pip3 install packaging ninja
pip3 install --no-build-isolation "flash-attn<2"

pip3 install ochat==3.6.1

Finally:
python -m ochat.serving.openai_api_server --model openchat/openchat-3.6-8b-20240522


Need clear error messages when schema has backward-incompatible change

Currently when the schema undergoes a backwards incompatible change, the user will get failing ADAM jobs that die with an exception saying something non-obvious about "avro.GenericRecord". This should instead be detected at load time and reported as an error if the RDD contains any "GenericRecord" instances.

I can't seem to reproduce this with the current 0.15.0 version.  Adam "files" produced with ADAMRDDFunctions.adamSave from an older version (0.14.0) throw a:
parquet.io.ParquetDecodingException: Can not read value at 0 in block 0 ...
when I attempt to collect them after a load with ADAMContext.adamLoad in the current version.

Closing as WontFix


Replace native html5 player

these html5 players add many wonderful features, it will be great to add them in the source code and thus use them for playback videos instead of native players, thank you very much!
https://haven.pages.dev/video-player/public/
https://haven.pages.dev/
https://github.com/ThaUnknown/pwa-haven
https://github.com/nt1m/media-player
https://nt1m.github.io/media-player/
https://github.com/inbasic/media-player

@trimechee I'm not going to add this because Chromium doesn't use HTML5 for it's player, but rather uses a backend that is specific to each platform.

Interesting, thank you :)


Use File.exist? instead of File.exists?

To suppress the following warning from Ruby:
warning: File.exists? is a deprecated name, use File.exist? instead

File.exist? is defined in current supported Ruby versions.

Thanks!


chore(package): update eslint-plugin-react to version 5.0.1

Pre-Submission Checklist

[x] Your pull request targets the staging branch of FreeCodeCamp.
[ ] Branch starts with either fix/, feature/, or translate/ (e.g. fix/signin-issue)
[ ] You have only one commit (if not, squash them into one commit).
[ ] All new and existing tests pass the command npm run test-challenges. Use git commit --amend to amend any fixes.

Type of Change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Add new translation (feature adding new translations)

Checklist:

[ ] Tested changes locally.
[ ] Closes currently open issue (Closes #XXXX): Closes

Description

http://greenkeeper.io/

@pldeepesh Thanks for the PR.
However package updates are to be handled only via @greenkeeperio-bot  as per their recommendation.
Refer : https://greenkeeper.io/verify.html
This commit is not made by you hence we can't accept the PR.
Closing.
/cc @BerkeleyTrue


Raspian build documentation

step-by-step build of ioncoin from within raspian

This pull request is now managed with CodeReviewHub. Refresh.

:shipit:


Strange binary executing behavior

This is my Dockerfile:
FROM lukemathwalker/cargo-chef:latest-rust-latest AS chef
WORKDIR /app
ARG MOLD_VERSION=1.10.1

# download_url=$(curl -s https://api.github.com/repos/rui314/mold/releases/latest | grep "mold-.*x86_64-linux.tar.gz" | cut -d '"' -f 4) wget -q $download_url -O mold.tar.gz
# Download the mold linker archive
RUN wget -q https://github.com/rui314/mold/releases/download/v${MOLD_VERSION}/mold-${MOLD_VERSION}-x86_64-linux.tar.gz -O mold.tar.gz

# Extract the mold executable
RUN mkdir -p mold
RUN tar -zxf mold.tar.gz --strip-component=2 --wildcards mold-*-x86_64-linux/bin/mold
RUN chmod +x mold
RUN mv mold /usr/bin/ld

# Build only dependencies to speed up subsequent builds
ADD Cargo.toml Cargo.lock ./
RUN mkdir -p src
RUN echo "fn main() {}" > src/main.rs
RUN cargo fetch

FROM chef AS planner
COPY . .
RUN cargo chef prepare --recipe-path recipe.json

FROM chef AS cooker
COPY --from=planner /app/recipe.json recipe.json
# Build dependencies - this is the caching Docker layer!
RUN cargo chef cook --release --recipe-path recipe.json

FROM cooker AS generator
COPY .cargo .cargo
COPY prisma prisma
COPY src/bin src/bin <--- Problem part
RUN cargo gen-release <--- alias of: cargo run --release --bin prisma generate

FROM cooker AS builder
# Build application
COPY src src <--- Problem part
COPY --from=generator /app/src/app/db/prisma.rs /app/src/app/db/prisma.rs
RUN cargo build --release --bin main
RUN strip target/release/main
RUN readelf -p .comment target/release/main

# We do not need the Rust toolchain to run the binary!
FROM frolvlad/alpine-glibc AS runner
RUN apk update
RUN apk add libssl1.1
COPY --from=builder /app/target/release/main /
ENTRYPOINT ["/main"]

When I started building an image, if I use COPY . ., everything works fine, but if my source code changes a little bit, even the change is not relevant (eg. docker-compose, Dockerfile, or github pipeline), it has to recompile everything over again and the wait time is around 20 minutes minimum, so I'll copy only the necessary files for each process.
Running Prisma binary in release mode takes 5 minutes to finish the process, but running in debug takes only few seconds, I don't know why this is happening (but it has to compile the debug dependencies too, I wanna use the cooked release dependencies), So I use COPY prisma prisma which contains needed Prisma schema for generating Prisma client instead of COPY . . so I can save 5 minutes from caching if my schema doesn't change.
After COPY src/bin src/bin or COPY src/bin/prisma.rs src/bin/prisma.rs , I tried executing cargo run --release --bin prisma generate, the terminal showed this, and nothing happened.

So I tried copying the same file (prisma.rs) from the host into the container manually.

Replacing prisma.rs inside the container with one from host.

Tried running cargo run --release --bin prisma generate and it worked fine, the Prisma cli started as expected. (Opening the file and save it again also works)

The current workaround is to replace COPY src/bin/prisma.rs src/bin/prisma.rs with RUN echo "fn main() {prisma_client_rust_cli::run();}" > src/bin/prisma.rs or simply add RUN cat src/bin/prisma.rs > temp && mv temp src/bin/prisma.rs after the COPY command and it works great, but i'm not going to do this to all of my source files,
because same thing happens in the builder layer, where I use COPY src src, it would never compile, and there are bunch of files in this folder, if I replace that src folder from my host machine like I did with prisma.rs, it worked as expected.
But if I don't use cargo-chef, everything works normally without having to replace those files manually, so I guess this issue is related to cargo-chef, please someone fix it.

The other problem is with the release run of prisma cli, it's stuck at Prisma schema loaded from prisma/schema.prisma for 5 minutes on the cloud, while the debug run just executes immediately.

Prisma cli itself informed that the client was created in 1.00s, but the docker timer was 186.1s, with the debug run, it will be 1.00s as the cli said, what's the purpose of release binary if it's slower than debug binary?

To use cargo-chef as intended, the Dockerfile needs to look like this:
FROM lukemathwalker/cargo-chef:latest-rust-latest AS chef
WORKDIR /app
ARG MOLD_VERSION=1.10.1

# download_url=$(curl -s https://api.github.com/repos/rui314/mold/releases/latest | grep "mold-.*x86_64-linux.tar.gz" | cut -d '"' -f 4) wget -q $download_url -O mold.tar.gz
# Download the mold linker archive
RUN wget -q https://github.com/rui314/mold/releases/download/v${MOLD_VERSION}/mold-${MOLD_VERSION}-x86_64-linux.tar.gz -O mold.tar.gz

# Extract the mold executable
RUN mkdir -p mold
RUN tar -zxf mold.tar.gz --strip-component=2 --wildcards mold-*-x86_64-linux/bin/mold
RUN chmod +x mold
RUN mv mold /usr/bin/ld

FROM chef AS planner
COPY . .
RUN cargo chef prepare --recipe-path recipe.json

FROM chef AS cooker
COPY --from=planner /app/recipe.json recipe.json
COPY . .
# This builds the dependencies, you shouldn't be doing that manually
RUN cargo chef cook --release --recipe-path recipe.json

FROM cooker AS generator
RUN cargo gen-release <--- alias of: cargo run --release --bin prisma generate

FROM cooker AS builder
RUN cargo build --release --bin main
RUN strip target/release/main
RUN readelf -p .comment target/release/main

# We do not need the Rust toolchain to run the binary!
FROM frolvlad/alpine-glibc AS runner
RUN apk update
RUN apk add libssl1.1
COPY --from=builder /app/target/release/main /
ENTRYPOINT ["/main"]


Tutorial for transforming BigBrain to MNI

Thank you for developing this tool!
I was thinking that it would be useful rs and task-fmri people if there was a tutorial on the ideal way to transform anatomical masks from BigBrain to MNI? I would specifically be most interested in MNI152NLin2009cAsym or MNI152NLin6Asym.

There is https://bigbrainwarp.readthedocs.io/en/latest/ for general warps between bigbrain and template spaces.
If you want hippunfold outputs in a template space you could also run hippunfold directly on the template. I've actually done this already for templateflow templates (incl MNI templates) and shared outputs here:
https://github.com/khanlab/hippunfold-templateflow

There is https://bigbrainwarp.readthedocs.io/en/latest/ for general warps between bigbrain and template spaces.
Thanks, that amazing!

If you want hippunfold outputs in a template space you could also run hippunfold directly on the template. I've actually done this already for templateflow templates (incl MNI templates) and shared outputs here:
https://github.com/khanlab/hippunfold-templateflow

Neat! I thought would be best practice to run hippunfold on the native T1w...

Yes it is definitely best practice to run on native T1w, so hippunfold on templateflow is mainly for cases when the data is only in a template space, or you don't have access to the native T1w images.


gitlab: 12.4.1 -> 12.4.2

Motivation for this change

Update GitLab from 12.4.1 -> 12.4.2
Stop building GitLab components on macOS, since it, seemingly at random, fails to fetch the sources on Hydra. This can cause Linux builds to fail too, since the failure gets cached. Since we don't build the rails app for macOS, I don't see any reason why the rest should be built.
Lower the allowed memory usage when compiling webpack assets to give the i686 build on Hydra a chance of succeeding. Is there any way to test this before merging?

Things done

Tested basic functionality in local VM

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

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

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

Notify maintainers
cc @flokli @fpletz @globin @krav @bgamari

@grahamcofborg test gitlab

It's possible to build a 32bit gitlab via pkgsi686Linux.gitlab - verified that locally.

pkgsi686Linux.gitaly still fails btw:
# github.com/libgit2/git2go
go/src/github.com/libgit2/git2go/diff.go:441:2: constant<PHONE_NUMBER> overflows DiffOptionsFlag

Still, this should be fine to be merged.

backported to 19.09 in 84c3cf6b270, ce24a926ace, 23af4044501.

@flokli Ah, yeah, that seems to be due to this issue in git2go. Thanks for backporting!


Java version is too high

Hello,
Nice work!
However, the version of Java (17) you used to build classes is too high.
Could you please lower the version to 11, if it's possible.
Best regards,
Sergey

I'm sorry, I didn't notice that it's Spring Data Jdbc 3 on Java 17.
I'm closing the issue.


computername in filename

hi, awesome tool, thx!
is there a way to user %computername% or %username% in Filename?

%computer% and %user% have been implemented now


All temperatures are +100

Well, this was interesting to see this afternoon.

Normally I wouldn't care, but I do have some automations that go off the reported outside temperature.
I'm guessing this has nothing to do with your integration but the reporting from Pirate Weather itself, just thought I'd share anyway.

This is an API issue where everything is defaulting to us units no matter which one you have selected. Seems to have started this afternoon and you can follow along here https://github.com/alexander0042/pirateweather/issues/99

I figured.  Thanks for pointing me to the correct issue number.  I subscribed to stay informed.  Kinda laughed when I saw it.


GUI with vite

The UI devices list is still unchanged

export const SUPPORTED_DEVICES: Types[] = [Types.socket, Types.light, Types.dimmer, Types.temperature, Types.humidity];

Please adjust.
And - when we now commit the admin part we should also commit the backend dist ... or both not ....

Build files removed again.
New types added: https://github.com/ioBroker/ioBroker.matter/pull/121/files#diff-55b67015630d6a0bf8d562536059af76310b468e12e99d78775463c570512ccc


chore(main): release 0.1.0

:robot: I have created a release beep boop
0.1.0 (2024-03-30)
Bug Fixes

deps: update rust crate axum to 0.7.5 (244ff4d)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/philipcristiano/et/releases/tag/v0.1.0 :sunflower:


Add FindEigen3.cmake

This allows using osqp-eigen on a Windows machine.
See  #18
cc @S-Dafarra @traversaro

Note that this is necessary because the Eigen3 provided by the YARP installers do not contain a Eigen3Config.cmake , see https://github.com/robotology/icub-packaging/issues/8 .
Until we fix that issue, indeed the only option is to vendor FindEigen3.cmake in every project (or add a dependency on a project that provides it, but I agree that this is not desirable for a project like osqp-eigen). However, I suggest to vendor a more recent version of FindEigen3.cmake (for example the one provided in https://bitbucket.org/eigen/eigen/src/default/cmake/FindEigen3.cmake) to make sure that the FindEigen3.cmake defines the Eigen3::Eigen imported target, for compatibility with the official CMake config file.
Note that the issue is complicated by the fact that in this library Eigen3 is used in the public interface of the library (obviously, given the nature of the library), so in the OsqpEigenConfig.cmake on a empty project could fail because the empty project does not have a FindEigen3.cmake . This is typically not a big problem because every Eigen-using project provide its own FindEigen3.cmake, but it is something you may want to be aware of.

In f5695db the latest version of FindEigen3.cmake is used.

Great, let's merge.

@S-Dafarra @GiulioRomualdi consider anyhow that https://github.com/robotology/icub-packaging/issues/8 may affect you in the future, also in levi or similar libraries.

Indeed I had to add a FindEigen3.cmake also in levi. So when https://github.com/robotology/icub-packaging/issues/8 is closed we can get rid of that file?

Yes, at least if we assume that Eigen3 is installed in the system using our installer or anyone in a way that such that a Eigen3Config.cmake file is available.


Multi-Hypothesis AMCL

Description
Following up on this discussion. As we're looking for targets to show the versatility of beluga, MH-AMCL is probably worth considering. In addition to the multiple hypothesis machinery, they also use a different resampling algorithm.
Preprint: https://arxiv.org/abs/2209.07586
Definition of Done
TBD

This has been in the backlog for a while. I wonder if there is path (and interest) for the techniques in https://github.com/fmrico/mh_amcl to be recreated in Beluga. I also wonder if there have been any further developments.
Perhaps @fmrico can shed some light here.

Hi all,
Yes, we continued this research to elevation maps for non-planar environments:
https://github.com/navigation-gridmap/mh_amcl
https://onlinelibrary.wiley.com/doi/full/10.1002/rob.22353
I hope you find it interesting
Francisco


Don't allow sending tokens if exchange rate wasn't loaded successfully

Description
If the exchange rate isn't loaded, then the Send flow can't show the correct amounts. We are now preventing navigation to that screen if the exchange rate wasn't loaded.
Other changes
N/A
Tested
Manually and with unit tests.
How others should test
To test this change you need the exchange rate query to fail. I did this by editing the code directly, but I don't know how others can reproduce this really :(
Related issues

Fixes #1870

Backwards compatibility
N/A

Hey @MuckT please let us know what need to be tested here so we can provide our feedback accordingly


GitPrompt.ps1: fix doc typo "VscPromptStatuses" -> "VcsPromptStatuses"

Fixes a typo in the documentation for "Write-VcsStatus", which mentions the wrong variable.

Thanks!


Update ogimage

What changed, and why it matters
The current preview image that are visible when share a page is not of the best visual and has the old Aiven developer name. Update to new visual.
ogp_image needs to be absolute path as documented here. Currently it has a relative path that makes the image not crawl able - see generator preview.

Looks much better, thanks!

Agree it looks much polished :) https://socialsharepreview.com/?url=https://docs.aiven.io


Failed to install gem in Ubuntu 16.04 and Ruby 2.4+

Failed to install gem in Ubuntu 16.04 and Ruby 2.4+.
I have checked solutions provided in StackOverflow and issues of this git respository.
Tried both system and rbenv ruby 2.4.0, 2.4.3 and 2.5.0, tried different version of redcarpet from 2.2 to 3.4, and installed libgmp-dev, libgmp3-dev and GMP. However, I still got following errors when running 'gem install redcarpet -v '3.4.0',
(PS: success install gem in Ubuntu 14.04 + Ruby 2.5.0 / Ubuntu Kylin 16.04 + Ruby 2.3.0, but failed in Ubuntu Kylin 16.04 and Ruby 2.4+)
Building native extensions. This could take a while...
ERROR:  Error installing redcarpet:
    ERROR: Failed to build gem native extension.

    current directory: /home/kevin/.rbenv/versions/2.4.3/lib/ruby/gems/2.4.0/gems/redcarpet-3.4.0/ext/redcarpet
/home/kevin/.rbenv/versions/2.4.3/bin/ruby -r ./siteconf20180111-24116-8kyrcv.rb extconf.rb
creating Makefile

current directory: /home/kevin/.rbenv/versions/2.4.3/lib/ruby/gems/2.4.0/gems/redcarpet-3.4.0/ext/redcarpet
make "DESTDIR=" clean

current directory: /home/kevin/.rbenv/versions/2.4.3/lib/ruby/gems/2.4.0/gems/redcarpet-3.4.0/ext/redcarpet
make "DESTDIR="
compiling autolink.c
compiling buffer.c
buffer.c: In function ‘bufcstr’:
buffer.c:111:45: warning: passing argument 1 of ‘bufgrow’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  if (buf->size + 1 <= buf->asize || bufgrow(buf, buf->size + 1) == BUF_OK) {
                                             ^
buffer.c:60:1: note: expected ‘struct buf *’ but argument is of type ‘const struct buf *’
 bufgrow(struct buf *buf, size_t neosz)
 ^
buffer.c: At top level:
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
cc1: warning: unrecognized command line option ‘-Wno-tautological-compare’
compiling houdini_href_e.c
compiling houdini_html_e.c
compiling html.c
compiling html_smartypants.c
html_smartypants.c: In function ‘squote_len’:
html_smartypants.c:104:39: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  static char* single_quote_list[] = { "'", "'", "'", "'", NULL };
                                       ^
html_smartypants.c:104:44: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  static char* single_quote_list[] = { "'", "'", "'", "'", NULL };
                                            ^
html_smartypants.c:104:53: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  static char* single_quote_list[] = { "'", "'", "'", "'", NULL };
                                                     ^
html_smartypants.c:104:63: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  static char* single_quote_list[] = { "'", "'", "'", "'", NULL };
                                                               ^
html_smartypants.c: In function ‘smartypants_squote’:
html_smartypants.c:149:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    uint8_t next_char = (size > 1+next_squote_len) ? text[1+next_squote_len] : 0;
                              ^
html_smartypants.c: In function ‘smartypants_cb__amp’:
html_smartypants.c:250:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  int len = squote_len(text, size);
  ^
html_smartypants.c: At top level:
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
cc1: warning: unrecognized command line option ‘-Wno-tautological-compare’
compiling markdown.c
markdown.c: In function ‘char_link’:
markdown.c:1045:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
   struct buf id = { 0, 0, 0, 0 };
   ^
markdown.c:1085:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
   size_t nb_p = 0;
   ^
markdown.c: In function ‘sd_markdown_render’:
markdown.c:2818:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  int footnotes_enabled  = md->ext_flags & MKDEXT_FOOTNOTES;
  ^
markdown.c:2836:43: warning: passing argument 1 of ‘is_codefence’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
   if (codefences_enabled && (is_codefence(document + beg, doc_size - beg, NULL) != 0))
                                           ^
markdown.c:1389:1: note: expected ‘uint8_t * {aka unsigned char *}’ but argument is of type ‘const uint8_t * {aka const unsigned char *}’
 is_codefence(uint8_t *data, size_t size, struct buf *syntax)
 ^
markdown.c: At top level:
markdown.c:94:15: warning: ‘char_underline’ declared ‘static’ but never defined [-Wunused-function]
 static size_t char_underline(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t offset, size_t size);
               ^
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
cc1: warning: unrecognized command line option ‘-Wno-tautological-compare’
compiling rc_markdown.c
rc_markdown.c: In function ‘rb_redcarpet_md_render’:
rc_markdown.c:138:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  struct rb_redcarpet_rndr *renderer;
  ^
rc_markdown.c: At top level:
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
cc1: warning: unrecognized command line option ‘-Wno-tautological-compare’
compiling rc_render.c
rc_render.c: In function ‘rndr_link_attributes’:
rc_render.c:287:28: warning: variable ‘rndr’ set but not used [-Wunused-but-set-variable]
  struct rb_redcarpet_rndr *rndr;
                            ^
rc_render.c: At top level:
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
cc1: warning: unrecognized command line option ‘-Wno-tautological-compare’
compiling stack.c
linking shared-object redcarpet.so
redcarpet.so: last close failure: invalid operation (note: this line is translated from system language to English)
collect2: error: ld returned 1 exit status
Makefile:257: recipe for target 'redcarpet.so' failed
make: *** [redcarpet.so] Error 1

make failed, exit code 2

Gem files will remain installed in /home/kevin/.rbenv/versions/2.4.3/lib/ruby/gems/2.4.0/gems/redcarpet-3.4.0 for inspection.
Results logged to /home/kevin/.rbenv/versions/2.4.3/lib/ruby/gems/2.4.0/extensions/x86_64-linux/2.4.0-static/redcarpet-3.4.0/gem_make.out```

I get a similar error on Windows.
Installing redcarpet 3.4.0 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

current directory:
C:/lang/Ruby24-x64/lib/ruby/gems/2.4.0/gems/redcarpet-3.4.0/ext/redcarpet
C:/lang/Ruby24-x64/bin/ruby.exe -r ./siteconf20180320-13956-1kqzpts.rb
extconf.rb
creating Makefile

current directory:
C:/lang/Ruby24-x64/lib/ruby/gems/2.4.0/gems/redcarpet-3.4.0/ext/redcarpet
make "DESTDIR=" clean

current directory:
C:/lang/Ruby24-x64/lib/ruby/gems/2.4.0/gems/redcarpet-3.4.0/ext/redcarpet
make "DESTDIR="
generating redcarpet-x64-mingw32.def
make: *** No rule to make target `/C/lang/Ruby24-x64/include/ruby-2.4.0/ruby.h',
needed by `autolink.o'.  Stop.

make failed, exit code 2

Gem files will remain installed in
C:/lang/Ruby24-x64/lib/ruby/gems/2.4.0/gems/redcarpet-3.4.0 for inspection.
Results logged to
C:/lang/Ruby24-x64/lib/ruby/gems/2.4.0/extensions/x64-mingw32/2.4.0/redcarpet-3.4.0/gem_make.out

An error occurred while installing redcarpet (3.4.0), and Bundler cannot
continue.
Make sure that `gem install redcarpet -v '3.4.0'` succeeds before bundling.

In Gemfile:
  hologram was resolved to 1.3.1, which depends on
    redcarpet

Any solution to this issue?

Hello there,
Very late answer but the two error traces provided don't refer to the same problem.
As for @sqsy, it looks like we would've needed more information on your environment to be able to diagnose the issue but chances are that this was not coming from the Redcarpet side. The offending lines seem to be:
redcarpet.so: last close failure: invalid operation
collect2: error: ld returned 1 exit status

As for @jbergens37, I don't have a machine Windows to test but the offending line seems to be:
make: *** No rule to make target `/C/lang/Ruby24-x64/include/ruby-2.4.0/ruby.h'

Searching for this particular error doesn't give any useful hint to solve it but it looks like it might come from the version of Make or you C compiler. Updating these components might help.
The resources on this project are pretty limited so I will give this a close.
@sqsy : If you still struggle to compile Redcarpet on Ubuntu 16.04, feel free to comment and we can reopen if you can provide some more information about your environment or the way you set it up.
@jbergens37 : If you still have problems on Windows, feel free to open another issue.
Thanks !


Doc Typos

I found some typos in the docs:
https://github.com/uber/react-vis/blob/master/docs/markdown/line-mark-series.md#onvalueclick
The title says onvalueclick but the example shows onClick
The same applys to:

onValueMouseOut -> onMouseOut
onValueMouseOver -> onMouseOver

Thanks :)
PS: For lazy copy-paste-victims like me its misleading like hell because it simply doesnt work :D

resolved!


Update icons version

No uses of <d2l-icon-button>

Galen test timeouts are unrelated to this change


Min and max size

Really cool project! But there are a few things I would add. One of them is an option to add minimum and maximum size to some windows. For example, I could have a 0.2 window (20%) but force it to be between 100 and 200 pixels. I've taken a look into your code, and I think it wouldn't be that hard to implement that feature.

I added ability to create fixed size widgets to my local version.
Get Outlook for iOShttps://aka.ms/o0ukef

From: Arnau @.>
Sent: Sunday, December 5, 2021 4:05:56 PM
To: Tom-Rawlings/Resizable.js @.>
Cc: Subscribed @.***>
Subject: [Tom-Rawlings/Resizable.js] Min and max size (Issue #9)
Really cool project! But there are a few things I would add. One of them is an option to add minimum and maximum size to some windows. For example, I could have a 0.2 window (20%) but force it to be between 100 and 200 pixels. I've taken a look into your code, and I think it wouldn't be that hard to implement that feature.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/Tom-Rawlings/Resizable.js/issues/9, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABF6LD35C7HDWDUZ6VA4C3LUPP46JANCNFSM5JNLVANQ.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


Building universe always clones the dev branches for subrepo

Even if you use the release branch, when you run build on Universe, it clones the dev branches of the sub repos. This prevents the cross plat CI to from building the release branch.
The culprit is https://github.com/aspnet/Universe/blob/dev/makefile.shade#L427

Talked to @Eilon and this bug can go in the release branch


Replace "stars"-image to links to githubusercontent.com & delete images folder

Hello, I’m pleased to inform you that I have completed the task and submitted a PR. Please approve it.

@KiLig-bo
Thanks for your contribution!


Integration tests for GCSFileSystem

Adding integration tests for GCSFileSystem to improve the odds of a clean GCS migration (see #25676).
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

Run Python 3.11 PostCommit

Run Python 3.11 PostCommit

Run Python 3.11 PostCommit

Run Python 3.11 PostCommit

tests passed: https://ci-beam.apache.org/job/beam_PostCommit_Python311_PR/95/testReport/apache_beam.io.gcp.gcsfilesystem_integration_test/GcsFileSystemIntegrationTest/


New feature: parallel file handling

I can't tell the difference between this and https://github.com/open-contracting/spoonbill/issues/122


Upgrading vue-tsc from 2.0.29 to 2.1.0 results in hundreds of TypeScript errors

Upgrading vue-tsc and @vue/language-core from 2.0.29 to 2.1.0 (and nothing else) results in 283 new TypeScript errors for me. To reproduce, check out https://github.com/neanes/neanes/pull/933 and run npm install && npm run build. The default branch builds correctly. This issue was originally reported at https://github.com/vuejs/language-tools/issues/4748, where @davidmatter wrote that

https://github.com/facing-dev/vue-facing-decorator seems to be the problem here

I cloned git@github.com:basil/neanes.git, run

git checkout vue-tsc-2.1.0
npm install
npm run dev
No error found in electron app.

@ruojianll: I cannot reproduce this issue vue-tsc 2.1.0, however I face this issue with 2.1.2.
It seems that vue-tsc 2.1.2 cannot infer the components types.
Please see: https://github.com/vuejs/language-tools/issues/4747
@basil : Are you sure that you didn't installed vue-tsc 2.1.2?, can you check you package-lock.json?

It's possible, vite-plugin-vue also removed decorator support in .vue file.
https://github.com/vitejs/vite-plugin-vue/issues/430
Use some temporary resolutions such as ts any at the moment.

@basil : Are you sure that you didn't installed vue-tsc 2.1.2?, can you check you package-lock.json?

Checking the package-lock.json file from https://github.com/neanes/neanes/pull/933/files, I am using 2.1.0.

Hi @ruojianll, I saw that the related PR https://github.com/vuejs/language-tools/pull/4763 was released in 2.1.4. As you can see from the CI build for https://github.com/neanes/neanes/pull/936, this does not resolve the issue and I still get 283 new TypeScript errors with vue-tsc 2.1.4.

I cannot reproduce this with vue-tsc 2.1.0, but can with 2.1.2.
Node v20.17.0
npm 10.8.1

Fixed in https://github.com/vuejs/language-tools/releases/tag/v2.1.8


remove Debian setup in lieu of authoritative reference

Description
As per @sebastic's suggestion, remove etc/dist/debian in lieu of etc/dist/debian/README.txt with a reference to https://tracker.debian.org/pkg/pycsw
@kalxas comments/thoughts?

I would prefer to keep some packaging files in our repo and add the README file to point to more recent packaging updates

Why keep the packaging in the upstream source?
It is not kept to date to not conflict with the packages included in Debian and Ubuntu causing issues when the two package sources get mixed.
Also consider the following from the Debian UpstreamGuide:

Some projects include a rough /debian directory among source files to ease bleeding-edge package compilation and installation on debian (and derived) systems. While this is a good effort, it is better to leave it out of the final tarball as it can interfere with debian's own packaging effort. Keeping it only in your VCS repository is usually a much saner default if it lives in a specific packaging branch, which mimics what Debian package maintainers do using git-buildpackage. Though leaving the debian folder in the normal branch can also interfere if the package maintainer is using an upstream git packaging workflow (for example: git tag based git-buildpackage workflow).

While there is no interference in the case of pycsw, having separately maintained packaging is generally not a good idea. It's wastes effort by duplicating work instead of collaboratively maintaining the packaging within the team that has the most expertise of Debian packaging. If you want to easily create packages for the development branches you can add another upstream branch to the Debian GIS git repository that tracks this repository instead of needing to import release tarballs, and a dedicated packaging branch (e.g. pycsw/master) where the pristine upstream source and Debian packaging are merged. You can easily keep that in sync with the master branch where the active development of the Debian package is happening (and possibly ubuntugis or osgeolive specific branches).


Include type hints so they're shipped in the wheel

looks ready to go otherwise

Codecov Report

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

@@           Coverage Diff           @@
##           master     #157   +/-   ##
=======================================
  Coverage   88.13%   88.13%
=======================================
  Files           5        5
  Lines         784      784
=======================================
  Hits          691      691
  Misses         93       93

Continue to review full report at Codecov.

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

No objections from me. Merge'd.


User Profile Loading even when loadUserProfile is set to false

Hi,
I would like to configure the UserManager to not retrieve a user's profile from my IdentityServer. I set loadUserInfo to false, but I am still getting back the user's profile. I download the sample app and trying run it against the demo IdentityServer website and it also retrieves the User's profile information.
I made no changes to the open-id-connect-configuration-identity-server.ts file:
import { OpenIdConnectConfiguration } from "aurelia-open-id-connect";
import { UserManagerSettings, WebStorageStateStore } from "oidc-client";

const appHost = "http://localhost:9000";

export default {
  loginRedirectRoute: "/private",
  logoutRedirectRoute: "/index",
  unauthorizedRedirectRoute: "/index",
  userManagerSettings: {

    // The number of seconds in advance of access token expiry
    // to raise the access token expiring event.
    accessTokenExpiringNotificationTime: 1,

    // Either host your own OpenID Provider or select a certified authority
    // from the list http://openid.net/certification/
    authority: "https://demo.identityserver.io",

    automaticSilentRenew: true,

    // IdentityServer4 supports OpenID Connect Session Management
    // https://openid.net/specs/openid-connect-session-1_0.html
    monitorSession: true,
    checkSessionInterval: 2000,

    // The client or application ID that the authority issues.
    client_id: "implicit",

    filterProtocolClaims: true,
    loadUserInfo: false,
    post_logout_redirect_uri: `${appHost}/signout-oidc`,
    redirect_uri: `${appHost}/signin-oidc`,
    response_type: "id_token",
    scope: "openid email profile",
    // number of millisecods to wait for the authorization
    // server to response to silent renew request
    silentRequestTimeout: 10000,
    silent_redirect_uri: `${appHost}/signin-oidc`,
    userStore: new WebStorageStateStore({
      prefix: "oidc",
      store: window.localStorage,
    }),
  } as UserManagerSettings,
} as OpenIdConnectConfiguration;

I modified the main.ts to:
import oidcConfig from "./open-id-connect-configuration-identity-server";
and run the app, signed in as bob, and this is what I got:

User: {
"id_token": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ijc2NGNkYzYwMmUyM2E5YjM2MzZjYzE2ZWE1NjRiODdmIiwidHlwIjoiSldUIn0.eyJuYmYiOjE1NDYyMDEzOTYsImV4cCI6MTU0NjIwMTY5NiwiaXNzIjoiaHR0cHM6Ly9kZW1vLmlkZW50aXR5c2VydmVyLmlvIiwiYXVkIjoiaW1wbGljaXQiLCJub25jZSI6IjA2ZmE0ZjVlN2YzODQ5OWQ4YmNmMjliNmZiMjQ0YWVkIiwiaWF0IjoxNTQ2MjAxMzk2LCJzaWQiOiJlYzY4YmNmMzE2Yzg5YTRkMjU2MTMzY2I0OTM5YTU0MyIsInN1YiI6Ijg4NDIxMTEzIiwiYXV0aF90aW1lIjoxNTQ2MjAxMzk2LCJpZHAiOiJsb2NhbCIsIm5hbWUiOiJCb2IgU21pdGgiLCJnaXZlbl9uYW1lIjoiQm9iIiwiZmFtaWx5X25hbWUiOiJTbWl0aCIsImVtYWlsIjoiQm9iU21pdGhAZW1haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsIndlYnNpdGUiOiJodHRwOi8vYm9iLmNvbSIsImFtciI6WyJwd2QiXX0.dmLr2O_SJQabVGrZO1yRtFCk5gFHX7lSUbK0Vu4lLNh5rpl7ejtPnzXI4_rfPK_3cpQvQfnlKof-vgjkIFVyRhA74H4vru0rTJdNYgKBB9AOMOXZvCPA5pabG6BW72cw6fkd4e2ObI7XsMPll_5Dch-B2C_mrgAdQIUUjGSzJUzQa5fYHm1PzdWjpwkKuHynJCMD8h4pnzg1MMOD4LR6BPOeydMcic3GU8W6AbGv3K0uH1hgqrWFwz6wCEIUVclmYxuZ5jSkxyDATzaTrjeKHHjzK7NyoPVnkErjBZvuREt4x-Yf0dAwGoUyc73VxEx1EehEfkv0ai391QwS-YbJmA",
"session_state": "HhLEr7c7kJDreU3c-6VWA4hK5ppAbbMiMjViFasdUBk.1518a23e9a213bacc9b25183fcc221a3",
"scope": "openid email profile",
"profile": {
"sid": "ec68bcf316c89a4d256133cb4939a543",
"sub": "88421113",
"auth_time":<PHONE_NUMBER>,
"idp": "local",
"name": "Bob Smith",
"given_name": "Bob",
"family_name": "Smith",
"email"<EMAIL_ADDRESS>"email_verified": true,
"website": "http://bob.com",
"amr": [
"pwd"
]
}
}

If I understand the purpose of the loadUserSetting, I should not be seeing any profile information for the user.
Can you please let me know what I am doing wrong. Is there a step that I am missing?
Thanks,
David

Hi, I will be closing up stale issues by the end of the week.
Are you still experiencing this issue? Feel free to close this yourself. If you are still experiencing this issue, let me know as well, thanks!


Add a "request invite" page and hide the signup page from the site.

The link says "Get an invite". I wasn't sure what else to say on it

Use your branch name lmao "request an invite"
The wording better implies that we don't have to honor it


Improve readme to avoid setting up confusion

Related to #2976

@junhaoyap Thanks but Gulp should fine on first run. If there is a problem it should be fixed. I'll take a look at the issue and try to push a fix.
Happy Coding!

I think the problem (as I've experienced it) is that node seed/ fails until you've run gulp, but gulp fails until you run node seed/, so you have run gulp first, let it fail, and then node seed/ will work and set you up for a successful gulp.

Those two tasks are unrelated

@ltegman let's discuss in Gitter


Review folders structure

We need to structure our application.
I suggest

typed-structures/collections with all the different data structures
typed-structures/algorithms
typed-structures/algorithms/sorts
typed-structures/algorithms/searches
typed-structures/tsQ

@ThibaudREY could you please give your opinion about this by commenting below ?
I will implement the folders structure.

I don't see why we need algorithms directories though, as the search and sort logic are all present int the classes themselves so far. Except if we plan to add some sort of search/sort algorithms regardless the class type we are processing. Sounds like a good idea actually, it will allow us to select more than a single structure in TsQ  and start to handle joins more efficiently than just passing a callback in the where clause.
Maybe we should also split the interface tree from the implementations as we will add more than one implementation for a single interface.


[6.1] Re-enable JDK16 testing in Jenkinsfile

The fix for JDK-8253566 is in JDK 16 b20. Not in JDK 15 yet.

Tested here, tests pass on JDK 16: https://ci.hibernate.org/blue/organizations/jenkins/hibernate-validator-personal-yoann/detail/jdk16-6.1/2/pipeline


[pre-sve] TC-MOD-3.3  The mode backs to the start-up-mode value after matter ota.

Problem
all cluster app
nrf52840
revision: https://github.com/project-chip/connectedhomeip/commit/425f1fb916ca154deeb75cd82cd5196778aba152

1
1.8.5
MOD.S.A0004
TH reads the StartUpMode attribute from the DUT
Verify that the DUT response is an integer. Record this value for usage in step 2.

2a
1.8.5
MOD.S.A0004
TH reads the CurrentMode attribute from the DUT
Verify that the DUT response is an integer. Record this value for usage in steps 2b and 3.

2b

MOD.S.A0004
If the StartUpMode and CurrentMode attributes have the same value, proceed to step 2c, Otherwise proceed to step 3a.

2c
1.8.5, 1.8.9
MOD.S.A0004
TH reads the SupportedModes attribute from the DUT
Verify that the DUT response provides a list of supported modes. Record the mode numbers for usage in step 2d.

2d
1.8.6
MOD.S.A0004
Select a value from the list in step 2c with a different value than the StartUpMode value read in step 1. TH sends a ChangeToMode command to the DUT with the selected value.
Verify DUT responds with a successful (value 0x00) status response. Record the value provided for usage in step 3.

3a

MOD.S.A0004
Perform an OTA update on the device that requires a reboot. Allow for the DUT to update and fully reboot.

3b
1.8.5
MOD.S.A0004
TH reads the CurrentMode attribute from the DUT
Verify that the DUT response is the integer recorded in step 2a or, if the mode was changed, 2d.

Step3a failed. The mode backs to the start-up-mode value after ota.
Discussion
t It can be also reproduced by DUT reboot (not OTA).

Cert Blocker Review: Naveen to follow up about this test case.

For what it's worth, the testcase looks correct to me....


Run flow with option for project custom attributes

This adds the "-op" option to the "cci flow run" command, to pass a project__custom__attribute value.
For example :
cci flow run myflow -o project__custom__destination US

It may be preferable to use a different option than "-op", but I thought that "-p" would be confusing because often used to pass a path.

Sorry @prescod, I need to rework this.
I will close this PR and open another later.


Segmentation fault (core dumped)

Build:
ryzem 3700x
64 GB DDR4 3200
I'm using ubuntu's last stable version
and I followed the steps from this video: https://www.youtube.com/watch?v=h-TXA9eGn6k&t=0s
so I'm using this branch:
git clone -b pool-puzzles https://github.com/madMAx43v3r/chia-plotter
./build/chia_plot -n -1 -c ********************************* -f ********************************-t /mnt/sas2300/ -d /media/utiger/E12/ -r 8 -u 256 -w
Both the temp and destination dir have been used with no issues for normal chia plotting with plotman for weeks.
This problem Segmentation fault (core dumped) has happened 3 times, I have been unable to finish a single plot.
Any tips?
Multi-threaded pipelined Chia k32 plotter - 7c6d195
Final Directory: /media/utiger/E12/
Number of Plots: infinite
Crafting plot 1 out of -1
Process ID: 11321
Number of Threads: 8
Number of Buckets P1:    2^8 (256)
Number of Buckets P3+P4: 2^8 (256)
Pool Puzzle Hash:  ************************************
Farmer Public Key: *****************************************
Working Directory:   /mnt/sas2300/
Working Directory 2: /mnt/sas2300/
Plot Name: plot-k32-2021-07-16-23-04-a2a64fc73f528425440749134fbb75923d695ebd13c05f57fe5ac75dd349101d
[P1] Table 1 took 84.0445 sec
[P1] Table 2 took 345.36 sec, found<PHONE_NUMBER> matches
[P1] Table 3 took 646.154 sec, found<PHONE_NUMBER> matches
[P1] Table 4 took 729.197 sec, found<PHONE_NUMBER> matches
[P1] Table 5 took 650.464 sec, found<PHONE_NUMBER> matches
[P1] Table 6 took 505.208 sec, found<PHONE_NUMBER> matches
Segmentation fault (core dumped)

Unstable OC, Low DIMM Voltage, Bad Memory Module or even Kernel OOM (WSL) can cause this. Search in the issues.

I've been using it for months without issues.
Is madmax more demanding for ram or something?

Exactly, Start with Memtest. You can find it in Grub menu in Ubuntu.


HADOOP-17524. Remove EventCounter and Log counters from JVM Metrics

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 44s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s

The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
34m 21s

trunk passed

+1 :green_heart:
compile
21m 10s

trunk passed with JDK Ubuntu-11.0.10+9-Ubuntu-0ubuntu1.20.04

+1 :green_heart:
compile
18m  6s

trunk passed with JDK Private Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08

+1 :green_heart:
checkstyle
1m  5s

trunk passed

+1 :green_heart:
mvnsite
1m 33s

trunk passed

+1 :green_heart:
javadoc
1m  4s

trunk passed with JDK Ubuntu-11.0.10+9-Ubuntu-0ubuntu1.20.04

+1 :green_heart:
javadoc
1m 42s

trunk passed with JDK Private Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08

+1 :green_heart:
spotbugs
2m 22s

trunk passed

+1 :green_heart:
shadedclient
15m 30s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 53s

the patch passed

+1 :green_heart:
compile
20m 16s

the patch passed with JDK Ubuntu-11.0.10+9-Ubuntu-0ubuntu1.20.04

+1 :green_heart:
javac
20m 16s

the patch passed

+1 :green_heart:
compile
18m 13s

the patch passed with JDK Private Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08

+1 :green_heart:
javac
18m 13s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
1m  6s

hadoop-common-project/hadoop-common: The patch generated 0 new + 25 unchanged - 5 fixed = 25 total (was 30)

+1 :green_heart:
mvnsite
1m 30s

the patch passed

+1 :green_heart:
javadoc
1m  2s

the patch passed with JDK Ubuntu-11.0.10+9-Ubuntu-0ubuntu1.20.04

+1 :green_heart:
javadoc
1m 36s

the patch passed with JDK Private Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08

+1 :green_heart:
spotbugs
2m 31s

the patch passed

+1 :green_heart:
shadedclient
15m 46s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

-1 :x:
unit
17m 35s
/patch-unit-hadoop-common-project_hadoop-common.txt
hadoop-common in the patch passed.

+1 :green_heart:
asflicense
0m 57s

The patch does not generate ASF License warnings.

179m 49s

Reason
Tests

Failed junit tests
hadoop.metrics2.source.TestJvmMetrics

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2909/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/2909

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell

uname
Linux 7efd521557c3 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 207f35fc728284afe04e0e1b481877b6de7009c4

Default Java
Private Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.10+9-Ubuntu-0ubuntu1.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2909/1/testReport/

Max. process+thread count
1378 (vs. ulimit of 5500)

modules
C: hadoop-common-project/hadoop-common U: hadoop-common-project/hadoop-common

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2909/1/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

@Apache9 @aajisaka Could you please take a look?
Thanks

Test failure has been taken care of in recent commit

Incompatible change flag in Jira is enough right? Or I should specify the same in PR title?

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 51s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
41m 29s

trunk passed

+1 :green_heart:
compile
28m 16s

trunk passed with JDK Ubuntu-11.0.10+9-Ubuntu-0ubuntu1.20.04

+1 :green_heart:
compile
19m  8s

trunk passed with JDK Private Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08

+1 :green_heart:
checkstyle
1m  6s

trunk passed

+1 :green_heart:
mvnsite
1m 31s

trunk passed

+1 :green_heart:
javadoc
1m  5s

trunk passed with JDK Ubuntu-11.0.10+9-Ubuntu-0ubuntu1.20.04

+1 :green_heart:
javadoc
1m 36s

trunk passed with JDK Private Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08

+1 :green_heart:
spotbugs
2m 18s

trunk passed

+1 :green_heart:
shadedclient
15m 51s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 54s

the patch passed

+1 :green_heart:
compile
20m 42s

the patch passed with JDK Ubuntu-11.0.10+9-Ubuntu-0ubuntu1.20.04

+1 :green_heart:
javac
20m 42s

the patch passed

+1 :green_heart:
compile
18m  7s

the patch passed with JDK Private Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08

+1 :green_heart:
javac
18m  7s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
1m  5s

hadoop-common-project/hadoop-common: The patch generated 0 new + 25 unchanged - 5 fixed = 25 total (was 30)

+1 :green_heart:
mvnsite
1m 31s

the patch passed

+1 :green_heart:
javadoc
1m  3s

the patch passed with JDK Ubuntu-11.0.10+9-Ubuntu-0ubuntu1.20.04

+1 :green_heart:
javadoc
1m 37s

the patch passed with JDK Private Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08

+1 :green_heart:
spotbugs
2m 29s

the patch passed

+1 :green_heart:
shadedclient
15m 48s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
17m 32s

hadoop-common in the patch passed.

+1 :green_heart:
asflicense
0m 57s

The patch does not generate ASF License warnings.

195m 46s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2909/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/2909

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell

uname
Linux 75899f31b755 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / e28757a9a184d9e38fbb797c4d76aabebaeb7ac8

Default Java
Private Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.10+9-Ubuntu-0ubuntu1.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2909/2/testReport/

Max. process+thread count
1378 (vs. ulimit of 5500)

modules
C: hadoop-common-project/hadoop-common U: hadoop-common-project/hadoop-common

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2909/2/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

Incompatible change flag in Jira is enough right?

I added the flag in the jira and wrote a release note. It is enough.

Thank you @virajjasani and @Apache9 !


tweak with guard

Pull Request Test Coverage Report for Build 3084
Details

5 of 5 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.02%) to 83.184%

Totals

Change from base Build 3083:
-0.02%

Covered Lines:
3898

Relevant Lines:
4686

💛  - Coveralls


Implement Linode networking add Public IP

After discussion with the API team, this has been backlogged in hope that the API will change how the API response is structured, to be more consistent with the rest of the API.

When the account allows more IPs, just add, otherwise we should create a support ticket about adding another IP.

Handled by #1520


⚠ Bofrost.be has degraded performance

In 6886b44, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1362 ms

Resolved: Bofrost.be performance has improved in b6d36a9.


Update office-365-service-encryption.md

Updated EXO info for MMK support.
Reworded text around service encryption benefits to bring clarity.

Excellent update. Thanks, Brijesh.

Excellent update. Thanks, Brijesh.


Pull stuff over from internal pipeline, but re-purpose to not include HPC/iridis5/sbatch

Basic removing of iridis language done


update secret-service to 1.1.0

secret-service 1.1.0 updates hkdf dependency, and fixes error handling related to missing collection.

Also, the security-framework dependency is outdated :/
Best wishes

closed by #41


ng-annotation support planned/wanted?

For those who don't know what ng-annotate is: ng-annotate is a library for Angular 1.x that allows you to minify your Code without using the array syntax or without adding ctrl.$inject = [..].
Motivation for or Use Case
Since the majority of Angular applications are built with the version 1 I guess a lot of people want to migrate their Angular application with @angular/upgrade. Since AoT/Tree shaking is really important for Angular applications many people upgrading their 1.x projects would love to use angular-cli. We (ESL or also known Electronic Sport League) would love to use the angular-cli in the future.
If the general census is yes that you want to support it, I could implement it if you want.

We do not officially support Angular 1 ng-updrade apps, but some people have had success stories with it. Unfortunately, this will not be supported by the CLI as it's a small use case, already have a work around (run ng-annotate on your files and save them to your git repo), and it would require a lot of work to make sure we don't mess with Angular 2 apps in general.
That would be a good idea for addons, but those are planned for Q2 of 2017. In the meantime, I suggest you save your Angular 1 files with the annotations in them.
Alternatively, you can use your own webpack config with the @ngtools/webpack plugin to support AOT.


New container decorator

Pull Request Checklist

[x] Fixes #1065
[x] Tests added
[x] Documentation/examples added
[x] Good commit messages and/or PR title

Description of PR
Adds the container decorator, and the special path function on Outputs

@elliotgunton how about instead of using template, we can use the function itself?
def my_container(my_args:...):
    my_container.<attribute>

@samj1912 is there a sensible way to add container_call_wrapper.template = container_template as a type-hintable attribute to the function? (From some searching it seems not)

Otherwise I don't think it's a nice user experience. For the template: Optional[Container] = None argument to the function, in terms of user experience it at least kind of acts as an explicit opt-in for advanced users, who would probably prefer nice code completion over nice syntax. (If we can add type hints to the function attribute then I'm 100% for it!)
Another idea is some global value that we can set before calling the user function?
from hera.workflows import current_template  # no idea on naming 😅

@w.container(command=["sh", "-c"])
def advanced_hello_world(my_input: MyInput) -> MyOutput:
    output: MyOutput = MyOutput(container_greeting=f"Hello {my_input.user}")
    current_template.args = [f"echo Hello {my_input.user} | tee {output.path(output.container_greeting)}"]
    return output

I would prefer to go back to the drawing board for this specific feature as I'm not sure of the UX it promotes. Happy to release the other parts that are already merged. We barely use container templates in Hera anyway compared to scripts.

@samj1912 I'm not sure there is a better balance of UX for the "advanced container" use case from the proposal, as the proposal itself broke the paradigm of config-as-code (contained within type signatures etc), instead running the function to create the container config/spec. I can remove the code for the advanced use case if the basic one is fine?

Sure, let's start with that

@elliotgunton if it's simple, can we also extend this to other template types?

@samj1912 as in stubbing the function for inputs/outputs? Yes that should be okay. I'll make a new issue for it

Yes, given a template being able to set its properties in the decorator and the i/o in the signature.


Style Updates

This is a feature branch for @ashenden's style adjustments.
Make sure to squash all commits that don't follow our commit message guide into 1 before we merge to master.
Checklist

[ ] Did you add a JIRA issue in a commit message or as part of the branch name?
[ ] Did you add new unit tests?
[ ] Did you add new integration tests?
[ ] If this is a regression, did you write a test to catch this in the future?

@MatApple is this still a WIP?

@ashenden do you have more style updates you want to add? If not, we'll get this merged. cc/ @weblancaster

I do, but I don't know when I'll get to them. So, if you'd like to merge this, please go ahead. I can always start a new feature branch.

On Jul 18, 2017 at 10:58 PM,  <MatApple (mailto:notifications@github.com)>  wrote:
@ashenden (https://github.com/ashenden)  do you have more style updates you want to add? If not, we'll get this merged. cc/  @weblancaster (https://github.com/weblancaster)
—
You are receiving this because you were mentioned.
Reply to this email directly,  view it on GitHub (https://github.com/dcos/dcos-ui/pull/2318#issuecomment-316195672), or   mute the thread (https://github.com/notifications/unsubscribe-auth/AARwq55hxWTrWJHvwRz6_UsCfYkS1Lwqks5sPRxngaJpZM4OXZT9).

Sweet @ashenden - altered all your commit messages and we're good to get this merged once tests pass.

@tnguyen0 please use the new font change and adjust accordingly.  Not sure why that Deployments action would spill to a new line unless something is defining a fixed width -- which seems like bad practice anyways.

@MatApple @tnguyen0 the loader misalignment is fixed.
The issue is that we have the class horizontal-center being applied to the Loader component and removing fixes the issue but breaks for everything else using the class, so after trying to fix using minimum css possible to not affect the elements using the same component I decided to just introduce a prop where we can remove the class.
ps let me know if you rather adding specificity to css where targets the deploying and loader only

@weblancaster I'd go with your solution for now. We can go back behind and adjust these as a global component later.


Stepper not using the whole content

i'm trying to do something like
....some inputs what I'm trying to do is to make the first and last dot of the stepper to match the content of the Grid 12, but they looks like they are using their own grid system, thus, I can not adjust them to match the content, for example:
-----0--0--0--0--0----
--| -----content----- |--
--| -----content----- |--
--| -----content----- |--

but I need them to look like:
--0----0-----0----0-----0
--| -----content--------|--
--| -----content--------|--
--| -----content--------|--

is there a way to achieve this? despite my example has 5 dots, in my workflow it could have more or less... basically it is dynamic. some of the cases that I was trying, works for some but fails for other tipes.
Here is a working example with my exact use case, I know I should add my work, but I tested a lot of css and configurations, but none of them are working, the closes I have been is aligning the items, but that will create horizontal scrolling.
regards.

I'm moving it to https://spectrum.chat/material-ui/help/dynamic-adjust-stepper~62c413e1-669d-4f93-b370-8333577cac9d.


Ignition Plotting Plugin

A prototype code for ignition plotting plugin

the plugin handles plotting of transport msgs and a simple component-plotting in the simulation
Transport

it supports plotting of topics's msgs which msgs is directly one of these types (Int32,Float,Double)
it plots the msg when you double click on the topic name from the TreeView

Components

it is hard coded for now to plot specific component of a specific entity (the x position of the blue car in the levels.sdf)

it passes the tests and has 0 warnings
@chapulina  @claireyywang

Hi @AmrElsersy, thanks for making a PR. Just wanna quickly point out we'll require DCO check from now on, and to add signoff to your existing commits, followed the instructions in Details and do
git rebase HEAD~3 --signoff
git push --force-with-lease origin master

from your local branch. Then every time you make a new commit, just use git commit -sm "<commit message>" to add your signoff signature. Cheers!


Change MACOSX_DEPLOYMENT_TARGET to 10.9

I've been able to build GDAL 2.1.3 on macosx with MACOSX_DEPLOYMENT_TARGET=10.6. This means that the wheels would work on any mac supported by python.org Pythons. New c++11 features in GDAL 2.2.0 effectively require MACOSX_DEPLOYMENT_TARGET=10.9.
I feel okay cutting off wheels for Mountain Lion, which is unsupported since September 2015. Any concerns @geowurster @perrygeo @rouault?

I have no informed opinion regarding Mac. Note that the issue with GDAL 2.2.0 you had is not directly related to C++11 (since GDAL compiles fine in non-C++11 mode with other compilers) but apparently a conflict when importing  and isnan() macro / std::isnan().

@sgillies That seems reasonable.

Done!


Add CHANGES for 1.0.2s

Not sure what NEWS will look like after the release scripts do there thing, if there are no entries in the list of updates. Will it look a bit strange?

I removed the NEWS title line for the empty sectino, that should be better.

I removed the NEWS title line for the empty sectino, that should be better.

I suspect that will make the release scripts barf.

The release scripts can be fixed

Merged.
bb36ec5f5bc6a34370e821260ad4f620dd16ecec Add CHANGES for 1.0.2s