The EO Standard Library

Let's document the EO Standard Library and the language itself.
A journey of a thousand miles begins with a single step...
For now, the docs have the reference on sprintf and stdout.

Added the random object reference.

Added the random object reference.

@yegor256 it would be great to have the wiki in the repo. However, the wiki does not have the option of pull requests. There are some workarounds though.
Egor, what do you think?
There are three options:

We can place docs not in the wiki, but in the repo itself.
You can grant me rights to write into the wiki repo.
We can set up one of the workarounds (quite hard for me, though).

@yegor256 it would be great to have the wiki in the repo. However, the wiki does not have the option of pull requests. There are some workarounds though.
Egor, what do you think?
There are three options:

We can place docs not in the wiki, but in the repo itself.
You can grant me rights to write into the wiki repo.
We can set up one of the workarounds (quite hard for me, though).

@nlchar I suggest we put this into our main README file

@nlchar I suggest we put this into our main README file

@nlchar I suggest we put this into our main README file
@yegor256
there are gonna be too many docs for putting it into readme. :(
It's much better to divide them and put the link to the README. README should contain some basic examples and basic reference on the structure and features of EO, IMHO.

@nlchar I suggest we put this into our main README file
@yegor256
there are gonna be too many docs for putting it into readme. :(
It's much better to divide them and put the link to the README. README should contain some basic examples and basic reference on the structure and features of EO, IMHO.

@nlchar I think it's better to keep all important information in the README document, no matter how long it is. Here is an example: https://github.com/yegor256/takes

@nlchar I think it's better to keep all important information in the README document, no matter how long it is. Here is an example: https://github.com/yegor256/takes

@nlchar more formal and detailed descriptions of language features we'll publish in academic papers.

@nlchar more formal and detailed descriptions of language features we'll publish in academic papers.

@yegor256 okay. did it. see this repo to have a look on the resulting README.

@yegor256 okay. did it. see this repo to have a look on the resulting README.

@yegor256 I am still working on the reference on the eo library. I have some questions:

Could you review the current progress and tell your opinion? I'll add additional commits to the pull request and will tag you for the final review as the reference on lib is finished. I need the current review, though.
Should I describe memory and while at the moment or these objects are to be changed dramatically in the near future?
Should I describe seq object for sequencing computations or it will be removed or changed soon?

@yegor256 I am still working on the reference on the eo library. I have some questions:

Could you review the current progress and tell your opinion? I'll add additional commits to the pull request and will tag you for the final review as the reference on lib is finished. I need the current review, though.
Should I describe memory and while at the moment or these objects are to be changed dramatically in the near future?
Should I describe seq object for sequencing computations or it will be removed or changed soon?

@nlchar we have a lot of text already, but I'm not sure it's well structured. I'm sure it's long, but I'm not sure it's easy to read. Maybe we can define the structure first (table of contents)? Maybe we can decide what topics we cover and in which order?

@nlchar we have a lot of text already, but I'm not sure it's well structured. I'm sure it's long, but I'm not sure it's easy to read. Maybe we can define the structure first (table of contents)? Maybe we can decide what topics we cover and in which order?

@nlchar we have a lot of text already, but I'm not sure it's well structured. I'm sure it's long, but I'm not sure it's easy to read. Maybe we can define the structure first (table of contents)? Maybe we can decide what topics we cover and in which order?

I can add the ToC. There is also an automatic approach https://github.com/ekalinin/github-markdown-toc

@nlchar we have a lot of text already, but I'm not sure it's well structured. I'm sure it's long, but I'm not sure it's easy to read. Maybe we can define the structure first (table of contents)? Maybe we can decide what topics we cover and in which order?

I can add the ToC. There is also an automatic approach https://github.com/ekalinin/github-markdown-toc

@yegor256 I've covered all the lib (except broken objects) plus added Table of Contents. Please, review the PR.

@yegor256 I've covered all the lib (except broken objects) plus added Table of Contents. Please, review the PR.

@nlchar I think it's not a good idea to put this information into README. Moreover, I think it's a wrong idea to put this anywhere aside from the source code itself. I suggest we implement the storage of objects first at objectionary.com and then make sure it can auto-generate documentation for any particular object. Make sense?

@nlchar I think it's not a good idea to put this information into README. Moreover, I think it's a wrong idea to put this anywhere aside from the source code itself. I suggest we implement the storage of objects first at objectionary.com and then make sure it can auto-generate documentation for any particular object. Make sense?

Nice idea. However, it seems to be too challenging. Because the sources of the objects are scattered into .eo and .java files with ambiguous names. It took some investigation and reverse-composition of the code to write the docs. Hence, auto-generation seems very challenging for me as of now.

@nlchar I think it's not a good idea to put this information into README. Moreover, I think it's a wrong idea to put this anywhere aside from the source code itself. I suggest we implement the storage of objects first at objectionary.com and then make sure it can auto-generate documentation for any particular object. Make sense?

Do you propose to reject the PR? The docs seem to be nice for this stage of the EO language. And I hope they would help the contributors and those who are interested in the project to see what can be done with the language as of now.
Maybe we could save them (not in README, but in /docs folder) until the auto-generation solution is done?
So, please, consider keeping it as an ad hoc solution. If we reject the docs, we will have zero knowledge of how to, for example, the while or seq actually works, etc.

Moving to https://github.com/HSE-Eolang/eo

Job gh:cqfn/eo#185 is not assigned, can't get performer


Dynamic product groups assignment: Main category doesn't display products of subcategories

Description:
If products are assigned to a subcategory with the help of a dynamic product group, there aren't displayed in its main category.
Environment:
Shopware <IP_ADDRESS>
Steps to reproduce:

Create a new category and a subcategory for it
Assign a dynamic product group to the subcategory.
Check results in the storefront

[public] Automated response: This issue is linked to the internal issue https://shopware.atlassian.net/browse/NEXT-28968.
[created from NEXT-28968, comment 485593]


Add initial VS Code extension structure

Purpose

Add initial VS Code extension structure

Goals

Add initial VS Code extension structure

Approach

Add initial VS Code extension structure

User stories

N/A

Release note

N/A

Documentation

N/A

Training

N/A

Certification

N/A

Marketing

N/A

Automation tests

Unit tests

N/A

Integration tests

N/A

Security checks

Followed secure coding standards in http://wso2.com/technical-reports/wso2-secure-engineering-guidelines? yes
Ran FindSecurityBugs plugin and verified report? yes
Confirmed that this PR doesn't commit any keys, passwords, tokens, usernames, or other secrets? yes

Samples

N/A

Related PRs

N/A

Migrations (if applicable)

N/A

Test environment

N/A

Learning

N/A

Requires the CODECOV_TOKEN github secret to be present

This completes the following tasks from #5

Add Ballerina as an extension dependency
Add the basic structure for injecting completions to the Ballerina Language Server


"Hang test"  fails for the current implementation

I keep this hang_test.sos.txt around as a random diagnosis for SoS issues. Now with current master this test fails (and indeed hangs again!). For whatever reason. To reproduce on cluster:
cd ~/tmp/hang_test_cluster
sos run hang_test.sos.txt -c hang_test.localhost.yml

it will submit some jobs then hang. The submitted job status are submitted not completed. Maybe there is a user error on my end but whatever it is, the hanging behavior is not good and might suggest bigger issues. So I decide not to attempt fixing it but rather leave it as is for you to reproduce hopefully.

Okay the reason for the hang is because I asked stdout and stderr to be saved to a folder ~/ddd which does not exist. I think we had once discussed this, that such error cannot be properly resolved? Or does it require system specific solutions that we have to add to templates?

"asked stdout and stderr to be saved to a folder ~/ddd"

How did you ask it?

How did you ask it?

Good point. Currently it is specified in the job template in config file, in my case hang_test.localhost.yml. But maybe we can consider making them some task options to reduce chance of potential mis-specification? That will make it robust against this particular issue. But would be nice to have a more general way to detect and respond.

SoS will only recognize ~/.sos/tasks/{ID}.err etc (collect as part of task output). If you specify another path, it is purely a matter with the batch system  since SoS actions will write to the default .err, and the rest of the output will write to the file specified by template.

Yes I understand that and have no issue with it. The only problem now is if something is wrong with the template, particularly that part of the template, SoS will currently hang and the behavior is a bit confusing. I just changed the title of the ticket. What is confusing in this case is after jobs are submitted and failed instantly due to wrong path of #SBATCH --output and #SBATCH --error, SoS will not view the job as failed or aborted. Rather if you check the status it will always be submitted

Yes, we discussed this before, sos is trapped between submitted and running because in reality a task can wait forever. The only way to check this status is running the PBS status checking command but that is not done currently because we do not know when to run it --- running that for each task is not a good idea, waiting for whatever period of time, can also be slow for users.

but that is not done currently because we do not know when to run it

Right .. so we let it hang? Or anything you can think of to give some clues what is going on? I was thinking adding some task options like stderr and stdout which will specify the prefix and we take care of making the path if not exist. But I am not feeling very strongly about it.


dbt-build pre-hook

Describe the feature you'd like
In our DBT project we use snapshot feature. On top of snapshots we build models (views) which contain monthly/weekly data.
Snapshots can be build by using dbt snapshot and dbt build commands.
Now it's not possible to create snapshots with pre-hooks. So every user has to run dbt build command manually before first commit.
Additional context
I think it makes sense to implement pre-hooks for both dbt snapshot and dbt build

@kokorin  This is not aligned with our plans for checkpoint. We believe that it should focus on the validation hooks vs adding all dbt commands since you can do this via another step in the GH Action.
Is there a reason you would not be able to do that?

Thank you for your reply. Originally we used dbt-checkpoint to validate changed/added models and all upstream models during pre-push hook. But recently our project grew up significantly and now we have 600+ DBT nodes. So we refused from running DBT at pre-push. Instead we validate whole project at CI.

We also use whole project at CI since we are on Gitlab + Postgres. With some help I could open PR to do so if you would be open for it?
Is it sufficient to create a file dbt_checkpoint/dbt_build.py with something like below (pretty sure I need to tweak more, for example when a seed or snapshot is changed):
import argparse
import os
import time
from typing import Any, Dict, List, Optional, Sequence

from dbt_checkpoint.utils import (
    add_config_args,
    add_dbt_cmd_args,
    add_dbt_cmd_model_args,
    add_filenames_args,
    extend_dbt_project_dir_flag,
    get_config_file,
    get_flags,
    paths_to_dbt_models,
    run_dbt_cmd,
)

def prepare_cmd(
    paths: Sequence[str],
    global_flags: Optional[Sequence[str]] = None,
    cmd_flags: Optional[Sequence[str]] = None,
    prefix: str = "",
    postfix: str = "",
    models: Optional[Sequence[str]] = None,
    config: Dict[str, Any] = {},
) -> List[str]:
    global_flags = get_flags(global_flags)
    cmd_flags = get_flags(cmd_flags)
    if models:
        dbt_models = models
    else:
        dbt_models = paths_to_dbt_models(paths, prefix, postfix)
    dbt_project_dir = config.get("dbt-project-dir")
    cmd = ["dbt", *global_flags, "build", "-m", *dbt_models, *cmd_flags]
    return extend_dbt_project_dir_flag(cmd, cmd_flags, dbt_project_dir)

def main(argv: Optional[Sequence[str]] = None) -> int:
    parser = argparse.ArgumentParser()
    add_filenames_args(parser)
    add_dbt_cmd_args(parser)
    add_dbt_cmd_model_args(parser)
    add_config_args(parser)

    args = parser.parse_args(argv)
    config = get_config_file(args.config)
    cmd = prepare_cmd(
        args.filenames,
        args.global_flags,
        args.cmd_flags,
        args.model_prefix,
        args.model_postfix,
        args.models,
        config
    )
    return run_dbt_cmd(cmd)

if __name__ == "__main__":
    exit(main())

I now see that this is never merged even though there was a PR for it: https://github.com/dbt-checkpoint/dbt-checkpoint/pull/152. Would you be willing to reconsider @noel ?


Gradle wrapper's gradle directory is missing

Checking out the project and running gradle wrapper gives the following error:
Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain

It appears that the gradle directory normally included with gradlew has not been committed.
As per gradle docs at https://docs.gradle.org/current/userguide/gradle_wrapper.html:

Example 5.3. Wrapper generated files
Build layout
   simple/
     gradlew
     gradlew.bat
     gradle/wrapper/
       gradle-wrapper.jar
       gradle-wrapper.properties

All of these files should be submitted to your version control system.

gradle/wrapper

is also listed in .gitignore, which prevents updates to the wrapper getting shared.  This means that different team members may be running different versions of the wrapper.

Working 👍


GH-42193: [Java] Update dependency to maintain JUnit 5 only

Rationale for this change
We have completed migrating all unit test code from JUnit 4 to JUnit 5 for all Java modules. Now, we are removing the compatibility library junit-vintage-engine to maintain JUnit 5 only.

What changes are included in this PR?

Removing JUnit 4 dependencies
Updating remaining junit.framework.TestCase imports
Updating excludes to prevent JUnit 4 dependencies

Are these changes tested?
Yes.

Are there any user-facing changes?
No.

GitHub Issue: #42193

@vibhatha Is it sufficient to just remove the junit-vintage-engine dependency?
Also, I encountered an error after merging my Flight Module commit as below. However, the current machine was not used to migrate the Flight Module. The machine has a tricky environment, so I cannot be sure if the error is occurring for everyone.
However, the CIs seem to be working well.
[ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.026 s <<< FAILURE! -- in org.apache.arrow.driver.jdbc.ITDriverJarValidation
[ERROR] org.apache.arrow.driver.jdbc.ITDriverJarValidation.validateShadedJar -- Time elapsed: 0.011 s <<< FAILURE!
org.opentest4j.AssertionFailedError: jar ==> expected: <Driver jar was not detected in the classpath> but was: <jar>
        at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
        at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
        at org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197)
        at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:182)
        at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1156)
        at org.apache.arrow.driver.jdbc.ITDriverJarValidation.getJdbcJarFile(ITDriverJarValidation.java:72)
        at org.apache.arrow.driver.jdbc.ITDriverJarValidation.validateShadedJar(ITDriverJarValidation.java:84)
        at java.base/java.lang.reflect.Method.invoke(Method.java:580)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1597)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1597)

[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR]   ITDriverJarValidation.validateShadedJar:84->getJdbcJarFile:72 jar ==> expected: <Driver jar was not detected in the classpath> but was: <jar>
[INFO]
[ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0

I also got the same error locally when I was testing some other feature. We may need to take a look. Could you file an issue?

Also I am not sure if that would be the only dependency. Can we try intellisense and see if we still get the Junit4?

Also I am not sure if that would be the only dependency. Can we try intellisense and see if we still get the Junit4?

We can check the dependencies using mvn dependency.
There are no JUnit 4.x dependencies.
So, I believe there is no need for further checks.

I also got the same error locally when I was testing some other feature. We may need to take a look. Could you file an issue?

That's right. The issue appears intermittently. I'll summarize the details and create an issue.

I believe we have a way to configure disallowed dependencies for a stronger check

maven-enforcer-plugin

I took a look, we already listed a few such dependencies. That's perfect. Let's use that.

@github-actions crossbow submit -g java

I also got the same error locally when I was testing some other feature. We may need to take a look. Could you file an issue?

I created issue for comment

https://github.com/apache/arrow/issues/42208

just making sure java-jars passes now

Did we re-run?

@vibhatha can someone take a look at the issue? I don't think this will go away on re-run

@lidavidm I think @kou resolved this issue here: https://github.com/apache/arrow/issues/42197
Probably need a rebase?

That was rebased about two hours ago. Perhaps we could try running it again?

@github-actions crossbow submit java-jars

@llama90 I think now we are failing at the issue we recently filed: https://github.com/apache/arrow/issues/42208

@llama90 if you want to rebase here I can re-run Crossbow

@lidavidm Done!

@github-actions crossbow submit -g java


Link added to editorState but no style and tag

I want to add a link to my text and in dialog, user can choose some characters and in dialog can input name and link. When apply, the name inputed will replace the chosen characters.
For now, I can get the correct ContentState but in UI, no linke style and no a  tag.
Here is my code:
const addLink = (e) => {
    e.preventDefault()

    const { name, link } = values
    const selection = editorState.getSelection()
    const contentStateWithEntity  = editorState
      .getCurrentContent()
      .createEntity('LINK', 'MUTABLE', { url: link })
    const entityKey = contentStateWithEntity.getLastCreatedEntityKey()

    const contentState = Modifier.replaceText(
      editorState.getCurrentContent(),
      selection,
      `${name}`,
      editorState.getCurrentInlineStyle(),
      entityKey,
    )

    const newEditorState = EditorState.push(editorState, contentState, 'insert-characters');
    console.log(newEditorState.getSelection())
    const new2 = RichUtils.toggleLink(
      newEditorState,
      newEditorState.getSelection(),
      entityKey
    )
    console.log(convertToRaw(newEditorState.getCurrentContent()));

    setEditorState(new2); // onchange event passed from props
  }

When I console.log(convertToRaw(newEditorState.getCurrentContent())); I can get the correct content:

But no html and style change in UI:

Draft.js: 0.11.0 , Chrome, Win10

forgot to config Decorator. I'll close this issue.


Setting Working Modes

I have a 25kW ET inverter and seem to have issues syncing or perhaps setting the working modes of the inverter via Home Assistant addon. When I use HA to change the working mode to "Self Use", the Working Mode in SolarGo says "Self Use" so that is fine. However when I change to the following modes, SolarGo shows the following:

HA Working Mode
SolarGo Home Page Working Mode
SolarGo Quick Settings Working Mode

General
General Mode
Self Use

Off Grid
Off-grid
Peak shaving

Backup
Backup Mode
Peak shaving

Eco mode
TOU Mode
Peak shaving

Peak shaving
Peak shaving
Peak shaving

Self Use
Self Use
Peak shaving

Eco charge
TOU Mode
Peak shaving

Eco Discharge
TOU Mode
Peak shaving

Is this normal??? And when I change the modes via the SolarGo app v5.9.0, the mode doesn't get updated in HA. Below is a screenshot of the firmware versions I have. Is it also possible to get the Smart Charging mode made available in the HA addon? It looks like it's available in the PyPI library.

I have a 10kW ET and I have similar problems.  Using the sliders or buttons to set anything has a random result. Same with a 5 kW SBP, 5 kW EM and a 3kW EM.  I have tried different polling rates and timeouts to no avail.  The "read only" data is fine and reliable. Maybe there is an order that the must be executed to mimic SolarGo?


Hello Chris, does minwinsdk.exe have the function of uninstall？

Hi!
There's no uninstaller yet so I created one. I'm in the midsts of rewriting the installer so it's a bit more integrated (and hopefully much improved). That should make a separate uninstaller obsolete.
Alternatively you can manually remove it. The MIN_WIN_SDK environment variable gives the directory where it was installer. The directory can be removed as well as the environment variable. Lastly there's the LIB environment variable, which you can edit to remove the SDK path or else remove completely if it's the only path there. Btw, in case you aren't aware, there should be a start menu entry for "Edit environment variables for your account" which can be used to edit/remove variables.

Got it, thank you for reply😎


Feat 363 analysis step

@Sun-flow can we delete this PR? We already closed this issue, correct? (I might be confusing things so correct me if I'm wrong)

@Sun-flow can you confirm that this PR should be closed and deleted?


Add a quest for the belts

I could never find out how to get the leather belt so I could use a talisman.

Added a quest for the leather belt and all the items it can be infused into


[AltspaceVR] Add an MRE volume control.

Sometimes an app is too loud. Or you don't want to hear it. This volume setting would be applied to all audio played by the app.
An MRE settings panel could include this and other controls/permissions.

Reference #606


401 Unauthorized when accessing account on Ubuntu 20.04 with ssh

Hi! I love this project, it's the solution I never knew I needed.
The CLI isn't working for me, and I suspect because it's because my company account only allows us to sign in with Okta.
Steps I followed:

Installed the binary on my dev environment using the go get option
Created a JIRA API key and set it as an environment variable
Ran jira init

Typed in the URL of my company's (cloud) JIRA server
Typed in my login email

After I hit enter on my login email, I got this output:
⠋ Verifying login details...
✗ Received unexpected response '401 Unauthorized' from jira. Please try again.

I'm assuming that this problem is happening because I use Okta to login to Jira. Is there anything I can do to get around this? Thanks!

Hi @nschmeller,
Glad to know that you like the project :)
Did you set the token JIRA_API_TOKEN (and is it available in the shell?) before running jira init? You should be able to get the token from this link.

I think I did, yes!
I added it to my .zshrc and sourced it. I get the following output:
 ~ echo $JIRA_API_TOKEN
XXXXXXXXXXXXXXXXXXXX

where the Xs are the token I remember putting in there.

Can you check if you are able to get response from Jira using your token?
curl --request GET \
  --url 'https://<your-server-host>/rest/api/3/myself' \
  --user "<your-email>:$JIRA_API_TOKEN"

Also to double check: is this a on-premise Jira installation or a Jira cloud?

This is Jira cloud.

That's strange because the tool calls same endpoint to verify the token. Are you sure your host url and email is correctly configured with no accidental special character or spaces? 🤔

Very strange! I triple checked that I was typing in the server and email correctly, in the form https://<company name>.atlassian.net for server. I also double checked that the email I typed in matched what I see at https://id.atlassian.com/manage-profile/email.
I think it's some issue with my platform or setup that's doing weird things to text. This is on an Ubuntu 20.04 instance that I'm sshing into. I just tried installing on my Mac with Homebrew, and it's working perfectly there.

I've added the JIRA_API_TOKEN to my .zshrc on my MacOS device but it didn't work.
I've added it like this
JIRA_API_TOKEN=XXXXXXXXXXXXXXX

Then I got the same error as the original issue. But it worked with cURL.
But worked in the end was adding it like this:
export JIRA_API_TOKEN=XXXXXXXXXXXXXXX

I'm getting a similar issue. When I do
curl --request GET \
  --url 'https://<your-server-host>/rest/api/3/myself' \
  --user "<your-email>:$JIRA_API_TOKEN" -I

with my email and host I get:
HTTP/2 401
server: AtlassianProxy/<IP_ADDRESS>
content-type: text/plain
strict-transport-security: max-age=315360000; includeSubDomains; preload
date: Tue, 30 Nov 2021 13:42:58 GMT
atl-traceid: b3054b2cf459f8ac
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
expect-ct: report-uri="https://web-security-reports.services.atlassian.com/expect-ct-report/global-proxy", enforce, max-age=86400

Update: This issue was resolved when I switched my shell from fish to zsh

I had a similar issue while using Ubuntu 18.04 in WSL2. For some reason adding JIRA_API_TOKEN in $HOME/.bashrc and then source $HOME/.bashrc did not work. Only after issuing export JIRA_API_TOKEN=XXXXXX did.

I'm getting a similar issue. When I do
curl --request GET \
  --url 'https://<your-server-host>/rest/api/3/myself' \
  --user "<your-email>:$JIRA_API_TOKEN" -I

with my email and host I get:
HTTP/2 401
server: AtlassianProxy/<IP_ADDRESS>
content-type: text/plain
strict-transport-security: max-age=315360000; includeSubDomains; preload
date: Tue, 30 Nov 2021 13:42:58 GMT
atl-traceid: b3054b2cf459f8ac
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
expect-ct: report-uri="https://web-security-reports.services.atlassian.com/expect-ct-report/global-proxy", enforce, max-age=86400

My company uses google for Jira sign in. When I follow the jira init flow:
⠼ Verifying login details...
✗ Received unexpected response '401 Unauthorized' from jira. Please try again.

I suspect this 401 may be for the same reason

My company uses Microsoft SSO, got same 401 with curl and jira init. Are you able to curl and jira init after switching shell?

[~/g/s/g/d/jira-cli]─[main]── ─ (⎈ XXX) rg 'JIRA_AUTH'
README.md
120:     a `JIRA_API_TOKEN` variable. In addition to this, set `JIRA_AUTH_TYPE` env to `bearer`.
137:default. If you want to use PAT, you need to set `JIRA_AUTH_TYPE` as `bearer`.

Additionally, the JIRA_AUTH_TYPE var does nothing? debugging the auth to local server with this var set as "bearer" as described in the readme still uses basic and fails... exact same token works using go-jira

Closing as the original issue is fixed with the latest release. @NumberVII please open a new issue with required details, your issue is something different.


[Designer- Card Element]: Luminosity ratio of 'Bind' control text under 'Publish Adaptive Card Schema' card is less than 4.5:1.

https://microsoft.visualstudio.com/OS/_workitems/edit/37771418

This issue is not repro, hence closing this issue.


[Do Not Merge] Update NCBI index databases to those downloaded on 2020-02-03

Description

To facilitate reruns on the new index, we bump the middle version marker to ensure that cached intermediate files are not used in rerunning samples.
See: https://github.com/chanzuckerberg/idseq-dag/pull/213/files

Version

[ ] I have increased the appropriate version number in https://github.com/chanzuckerberg/idseq-dag/blob/master/idseq_dag/init.py. Guidelines here: https://github.com/chanzuckerberg/idseq-dag/blob/pr-template/README.md#release-notes
[ ] I have added release notes for my new version to https://github.com/chanzuckerberg/idseq-dag/blob/master/README.md#release-notes

Tests

[ ] I have verified in IDseq staging that the pipeline still completes successfully:

[ ] for single-end inputs
[ ] for paired-end inputs
[ ] for FASTQ inputs
[ ] for FASTA inputs.

[ ] I have validated that my change does not introduce any correctness bugs to existing output types.
[ ] I have validated that my change does not introduce significant performance regressions or I have discussed with the team that the benefits of the change are substantial enough that we're comfortable accepting the size of the measured performance penalty.

Don't merge this until the new index has been deployed on production.


Where can i find the documentation for the application

Hi,
I remember there was a website that had documentation on how to use this application and develop components for it.
I cant find that site anymore, it was similar to wiki page.
regards,

https://www.yuque.com/antv/gi/gs2fcb

Thank you.


Fix aws cloud prepare failure

Fix aws cloud prepare failure

Fix aws cloud prepare failure

Can you be a bit more specific about the failure?


Passing batch values by reference doesn't work

On current main (acf1dd949dd9a7ada240f08e4c29abf0b5a8d38a), trying to pass references to batch values doesn't work.
Passing them by value like this works:
let values = ((1_i32, 2_i32, "abc"), (), (1_i32, 4_i32, "hello"));
session.batch(&batch, values).await.unwrap();

But trying to use a reference fails:
let val1: i32 = 1;
let values = ((&val1, 2_i32, "abc"), (), (1_i32, 4_i32, "hello"));
session.batch(&batch, values).await.unwrap();

let values = ((&val1, 2_i32, "abc"), (), (1_i32, 4_i32, "hello"));
    |                    ^^^^^ borrowed value does not live long enough
393 |
394 |     session.batch(&batch, values).await.unwrap();
    |     ----------------------------- argument requires that `val1` is borrowed for `'static`
...
457 | }
    | - `val1` dropped here while still borrowed

This is unacceptable. For i32 there is no difference whether we copy the value or use a reference, but anything else like collections, tuples, UDTs, shouldn't be cloned frivolously.
The regression is caused by #508, which introduced a lot of fun lifetimes to BatchValues.
In particular I think it's caused by the GAT workaround.
pub trait BatchValues: for<'r> BatchValuesGatWorkaround<'r> {}
impl<T: for<'r> BatchValuesGatWorkaround<'r> + ?Sized> BatchValues for T {}

We require that every thihg implementing BatchValues also implements BatchValuesGatWorkaround for ANY lifetime 'r.
When T contains a short lived reference, it cannot match the requirements for longer lifetimes, the reference would have to be ``static`.
We might revert #508 and rethink the approach.
Caused by: #508
Refs: #448
cc @Ten0

Aha I see it looks like something using the implicit bounds trick described at https://sabrinajewson.org/blog/the-better-alternative-to-lifetime-gats might solve this issue. I'll try to have a look at this :)


The langjam build of Basil ruthlessly leaked memory whenever it needed a string or list. This really shouldn't be the case for a proper release...
This issue proposes a simple tracing garbage collector for Basil. The priorities of this design are fairly straightforward:

The GC should be fast - we'd like to be able to minimize the amount of scanning we do, and maximize fast allocations.
We should support both boxed and unboxed values on the stack. Value types substantially larger than word-size should be free to coexist with garbage-collected pointers. In fact, it'd really be ideal if we could support both tracked and untracked pointers in our GC scheme.

To this end, I propose we adopt a two-space copying collector, using stack and heap value maps to locate references. Using stack maps allows us to safely ignore non-GC'd values, and using a copying collector allows us to minimize the amount of heap-traversal needed per collection, as well as allowing us to keep allocations fast.
Concurrent and generational GC are probably reasonable to consider for the future, but considering the relatively small number of roots in a typical Basil program currently (should be essentially totally constrained to the stack, and thus proportional to call depth), I'm not expecting a tremendous cost of GC right off the bat. Something simple and workable is all we need for the 1.0 release.

 I think you might be interested in https://github.com/mattreecebentley/plf_hive as it preserves reference validity after deletion/reallocation.

The current issue is less of an implementation issue, and more of a compatibility one - the GC itself is mostly done, but precise GC hinges on being able to efficiently find reference maps for heap objects. The plan is to stick this info in the object header like many other GC'd languages do - specifically a four-byte type ID that indexes into a table containing refmap info. The issue this has uncovered is that it's very tricky to reliably deduplicate these IDs (and thus be able to assert equality and such between them) so long as Basil also supports AOT compilation to object file. It'd have to be up to the system linker to fix up the type ID values, which probably isn't even possible and certainly isn't portable.
I've been scratching my head about this for a few days now, the best options so far have been "abandon AOT compilation" and "write an independent linker from scratch". Neither is something I want to take on right now so Basil will probably have a slight hole in its functionality for at least the immediate future...

Neither is something I want to take on right now so Basil will probably have a slight hole in its functionality for at least the immediate future...

This is a sane decision. It'd be a big shame to "abandon AOT compilation". OTOH "writing an independent linker from scratch" sounds like the way to go (even if it happens rather later than sooner).
Admittedly I was silently expecting since the introduction of compilation to object files that current linkers will not be flexible enough for Basil. I just wasn't able to pinpoint why :smile:. And I guess there are still some undiscovered dark corners lurking around...

Oh, I think there'll end up being a reasonable solution. I just haven't figured it out yet. Perhaps more likely than either of those two options would be some kind of runtime barrier between Basil and C code (disappointing since they should theoretically have the same ABI, but necessary to ensure proper management of the Basil runtime like initialization).

some kind of runtime barrier between Basil and C code

A runtime linking finalization wrapper?

Another question :wink:.
Could one somehow assert to the compiler that "here I do not want any allocation nor free to happen"?
If the compiler finds out this requirement is not satisfiable, it'd disallow compilation of the app.


Made Basic Calculator Responsive

Fixes Issue🛠

Closes #1130
Description👨💻

Made the contents fit inside the container by decreasing width as well as reducing padding. Also made the dark mode feature visible in mobile view.
Type of Change📄

[x] New feature (non-breaking change which adds functionality)
[x] Style (non-breaking change which improves website style or formatting)
[x] Responsiveness (non-breaking change which improves UI/UX on different screen sizes)

Checklist✅

[x] I am an Open Source contributor
[x] I have performed a self-review of my code
[x] My code follows the style guidelines of this project

Screenshots/GIF📷

Before

After

Pls keep only the changes of Basic Calculator files @m3kvt


Update encoding of table.grow

Looks like the order of its operands have swapped since this was last
tested!

Currently tests are failing due to https://github.com/WebAssembly/wabt/pull/1079 not being merged yet, but I suspect that won't take too long to land.


Docs.MS Release Updates for Azure.AI.MetricsAdvisor

Update docs metadata and targeting for release of Azure.AI.MetricsAdvisor

Docs Build status updates of commit fac67e7:
:warning: Validation status: warnings

File
Status
Preview URL
Details

api/overview/azure/ai.metricsadvisor-readme-pre.md
:warning:Warning
View
Details

docs-ref-toc/top_level_toc.yml
:warning:Warning

Details

api/overview/azure/ai.metricsadvisor-readme-pre.md

Line 2, Column 1: [Warning-ms-prod-and-service] Only one of the following attributes can exist: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.
Line 9, Column 16: [Warning-ms-prod-technology-invalid] Invalid value for 'ms.technology': 'azure' is not valid with 'ms.prod' value 'azure'.
Line 11, Column 13: [Warning-ms-service-subservice-invalid] Invalid value for 'ms.service': 'metricsadvisor'.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.
Line 188, Column 1: [Suggestion-table-syntax-invalid] Table syntax is invalid. Ensure your table includes a header and is surrounded by empty lines. NOTE: This Suggestion will become a Warning on 1/29/21.

docs-ref-toc/top_level_toc.yml

Line 646, Column 12: [Warning-xref-not-found] Cross reference not found: 'azure.net.sdk.landingPage.services.KeyVault.Common'.
Line 1089, Column 12: [Warning-xref-not-found] Cross reference not found: 'azure.net.sdk.landingPage.services.Storage.Client.11'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


vscode-extensions.asvetliakov.vscode-neovim: 1.11.4 -> 1.13.1

Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

v1.14.0 has just been released.
https://github.com/vscode-neovim/vscode-neovim/releases/tag/v1.14.0


如果你在微服务的Rpc 客户端调用时发现如下报错：Entry "App\JsonRpc\XxxServiceInterface" cannot be resolved: the class is not instantiable

Before you submit this issue, you has been search all existed issues and search the documentation

[] I've been search all existed issues
[] I've been read all documentation

Describe your question

这个时候先确认下你是否有安装rpc-client
composer require hyperf/rpc-client


Make GifHub play nice with Refined GitHub

This fixes #6.
The solution is pretty simple: I add a class to the toolbar and then override the CSS from the Refined GitHub extension so that only the GifHub button is shown. This shouldn't break the current version for anyone, nor "break" anything for the Refined GitHub users either.

This doesn't work, sorry. I think I checked without properly refreshing. This is going to hide the toolbar just like in Refined GitHub for everyone, even if they don't have the other extension in their Chrome.

OK, I fixed it. And I restyled the buttons. If you want me to squash and push back up I can.

Thanks for contributing, @paulmolluzzo. The icon looks much better!
Quick Notes:

Can we add line endings to extension.css and btn-template.html?
This doesn't seem to work with partial page navigations. I believe the quick solution to that would be to pass addClassToToolbar to onPartialRender, which will re-invoke the callback each time pjax is used instead of a full page refresh.

Can we add line endings to extension.css and btn-template.html?

Can you clarify this for me please? I don't know what you mean.

Ah sorry, just add a blank line to the bottom of those 2 files. It's a super small personal thing, but the unix cat command bleeds into your shell prompt when a file isn't terminated with a newline.

Oh, sure thing. You may want to put an editorconfig file in the repo to maintain this kind of style standard.

Good call - added :)

All should be fixed now.

OK, I fixed the issue, and I have to admit it's a touch hacky. The reason I put the setTimeout in there is because I have to wait until the comment form opens to test if the markdown buttons are visible or not. I tried this with and without the RG extension running, and it's been working fine, but let me know if you still have issues.

Don't merge this yet please. There's a fix for Refined Github in the works here https://github.com/sindresorhus/refined-github/pull/118 and would make fixing this issue on GifHub a single line of CSS. :smile:

@paulmolluzzo Nice! Looking forward to it :)

OK, just waiting on that other one to get to master then I'll update this one in place. I'll make sure it's visible, keep the nicer icon I included in this version, and squash it all down to one commit.

@DrewML OK, I made this work with the master branch of the RG extension, and it looks nice.
Something strange is the empty line at the end of the extension.css and btn-template.html files. I have an empty line in both locally and there's no git diff pending, but the files don't have the extra line on GitHub. IDK if there's something I borked along the way, or some config in ST or GitHub that I have on, but if that's the only objection then maybe merge and fix after? Or just pull down the PR I did and check that it's right locally? Super weird. ¯_(ツ)_/¯

Thank you for doing this @paulmolluzzo!
re: the line endings, looks good to me. GitHub won't actually show them, but they do show a little red icon when one is not present.
Just going to test this out real quick and then I'll merge in and push to the Chrome store.

Merged + published as 1.0.3.


Fix Heroku Auto Deployment

I will try auto deployment by Heroku.

It looks succeeded but https://redpen.herokuapp.com/ have the errors.

The failure causes  by the cache. Turning off cache in browser, the failure does not occur.


Wrong query generation

It seems that the following generates a wrong query when using eager loading.
class Category extends \Illuminate\Database\Eloquent\Model
{
	protected $table = 'categories';
	public $timestamps = false;

	public function __construct() {

	}

	public function i18ns() {
		$regionid = \Auth::user()->properties->selectedRegion;
		return $this->hasMany("\App\CategoryI18N", "categoryId")->where('regionId', '=', $regionId);
	}
}

Not eager loaded - ok
If I call i18ns relation without eager loading, the $regionId is indeed the selectedRegion from the userproperties.
\App\Category::where('id', '=', 1)->with('i18ns')->first()->i18ns;

Query:
select * from `userproperties` where `userproperties`.`userId` = '2' and `userproperties`.`userId` is not null limit 1

Eager loaded - not ok
However, if I eager load the i18ns relation, $regionId is the selectedRegion from the first userproperty record in my table.
\App\Category::where('id', '=', 1)->with('i18ns')->first()->i18ns;

Query:
select * from `userproperties` limit 1

Anyone that can explain this? Or is it a bug?
I also posted this on laracasts:
https://laracasts.com/discuss/channels/eloquent/wrong-query-generation
Kind regards,
Kevin

The response on the forums was very good. Glad this was sorted. :)

The problem still occurs, I only have a workaround now.
I guess this code should work.
class Foo extends Model
{
    public function bars()
    {
        echo User::find(2)->property->selectedRegion; // Wrong value here!
        return $this->hasMany(Bar::class);
    }
}


Error when install from npm

I dont know why i have the following error:
[2] [dev:server] /Users/Marco/projects/node-seed/node_modules/react-audio-recorder/lib/AudioRecorder.js:258
[2]   audio: _react.PropTypes.instanceOf(Blob),
[2]                                      ^
[2] [dev:server] ReferenceError: Blob is not defined
[2]     at Object.<anonymous> (/Users/Marco/projects/node-seed/node_modules/react-audio-recorder/lib/AudioRecorder.js:258:38)
[2]     at Module._compile (module.js:570:32)

Can you identify what version of npm, node, you're using? I've just installed it and it installed properly.