Further cardano testnet cleanup

Description
We now fail early in the tests when the cardano-node binary fails for some reason. I compared running the ShutdownOnSigint property and purposely made it fail with an invalid cardano-node flag (--dataFFbase-path instead of --database-path). Note that prior to these changes the test failure output did not report the failure. Previously you would need to look at the node's stderr output file in the directory the test was run in to figure out what went wrong.
This test now fails earlier (~46 seconds vs ~272 seconds).
After changes:
...
   ["NodeExecutableError \"Invalid option `--dataFFbase-path'\\n\\nUsage: cardano-node (run | [--help])\\n\\n  Start node of the Cardano blockchain.\\n\"","NodeExecutableError \"Invalid option `--dataFFbase-path'\\n\\nUsage: cardano-node (run | [--help])\\n\\n  Start node of the Cardano blockchain.\\n\"","NodeExecutableError \"Invalid option `--dataFFbase-path'\\n\\nUsage: cardano-node (run | [--help])\\n\\n  Start node of the Cardano blockchain.\\n\""]

          This failure can be reproduced by running:
          > recheckAt (Seed<PHONE_NUMBER>148179759<PHONE_NUMBER>6077017841) "1:" ShutdownOnSigint

      Use "--pattern '$NF ~ /ShutdownOnSigint/' --hedgehog-replay '1: Seed<PHONE_NUMBER>148179759<PHONE_NUMBER>6077017841'" to reproduce from the command-line.

1 out of 1 tests failed (46.56s)
Test suite cardano-testnet-test: FAIL
Test suite logged to:
/home/jordan/Repos/Work/cardano-haskell/cardano-node/dist-newstyle/build/x86_64-linux/ghc-9.2.8/cardano-testnet-8.5.0/t/cardano-testnet-test/test/cardano-testnet-8.5.0-cardano-testnet-test.log
0 of 1 test suites (0 of 1 test cases) passed.
Error: cabal: Tests failed for test:cardano-testnet-test from
cardano-testnet-8.5.0.

Before changes:
...
      251 ┃   logs <- H.readFile (nodeStdout node)
          252 ┃   case mapMaybe parseMsg $ reverse $ lines logs of
          253 ┃     [] -> H.failMessage callStack "Could not find close DB message."
          254 ┃     (Left err):_ -> H.failMessage callStack err
          255 ┃     (Right _):_ -> pure ()

          This failure can be reproduced by running:
          > recheckAt (Seed<PHONE_NUMBER>599032382<PHONE_NUMBER>913318121) "1:" ShutdownOnSigint

      Use "--pattern '$NF ~ /ShutdownOnSigint/' --hedgehog-replay '1: Seed<PHONE_NUMBER>599032382<PHONE_NUMBER>913318121'" to reproduce from the command-line.

1 out of 1 tests failed (271.79s)
Test suite cardano-testnet-test: FAIL
Test suite logged to:
/home/jordan/Repos/Work/cardano-haskell/cardano-node/dist-newstyle/build/x86_64-linux/ghc-9.2.8/cardano-testnet-8.5.0/t/cardano-testnet-test/test/cardano-testnet-8.5.0-cardano-testnet-test.log
0 of 1 test suites (0 of 1 test cases) passed.
Error: cabal: Tests failed for test:cardano-testnet-test from
cardano-testnet-8.5.0.

Checklist

[ ] Commit sequence broadly makes sense and commits have useful messages
[ ] New tests are added if needed and existing tests are updated.  These may include:

golden tests
property tests
roundtrip tests
integration tests
See Runnings tests for more details

[ ] Any changes are noted in the CHANGELOG.md for affected package
[ ] The version bounds in .cabal files are updated
[ ] CI passes. See note on CI.  The following CI checks are required:

[ ] Code is linted with hlint.  See .github/workflows/check-hlint.yml to get the hlint version
[ ] Code is formatted with stylish-haskell.  See .github/workflows/stylish-haskell.yml to get the stylish-haskell version
[ ] Code builds on Linux, MacOS and Windows for ghc-8.10.7 and ghc-9.2.7

[ ] Self-reviewed the diff

Note on CI
If your PR is from a fork, the necessary CI jobs won't trigger automatically for security reasons.
You will need to get someone with write privileges.  Please contact IOG node developers to do this
for you.

All checks passed but for some reason hydra did not update the github UI


왜 비주얼스투디오코드가  웹브라우저에 안나타나지?

Environment (please complete the following information):

OS (e.g., Windows 10):
Extension version (e.g., 1.2.3):

Describe the bug:

Repro steps:

Expected behavior:

Additional context:

### Tasks

I'm sorry but I don't read Korean. I've translated the issue title to English, and here's the result: "Why doesn't Visual Studio Code appear in the web browser?"
This isn't enough information for us to work on this issue. Can you please provide more details about your issue? Steps to reproduce the problem, screenshots, etc.

Closing due to lack of activity, please feel free to reopen if new information comes up


command 'workbench.action.experimental.quickTextSearch' not found

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: 1.89.0-insider
OS Version: Windows 11 22631.3447

Steps to Reproduce:

Set a keybinding for workbench.action.experimental.quickTextSearch
Try to use it:

This started occurring for me with the most recent insiders build.

Nevermind, I figured out that it's not experimental anymore and is now just workbench.action.quickTextSearch😄
Hopefully someone else will find this and it will save them some trouble!


Allow chrome headless to run inside a docker container

Add 'nosandbox' option that will allow running chrome headless inside a docker container. Find socket uri regex updated as well as the format is a bit different when running in docker.
Other notes: I've used debian:stretch-slim to run successfully chrome inside the container. Had some issues with alpine as the socket was TCP, not a web socket. Will investigate further and try and make it compatible with this as well.

Hi @tanasecosminromeo
I will review your changes and merge them once it's done.

@gsouf Yep, sorry for adding more than one change in the same PR

1st one is to allow using chrome-php with docker
2nd one is a fix for the user agent, if the parameter is unescaped bash will give an error, and people may not think to do that when they send the param in browserCreate
3nd one is to allow including scripts before pageload. Useful to add libraries before page load, and you can also use it to try and make chrome headless undetectable - I followed the stuff here https://antoinevastel.com/bot%20detection/2018/01/17/detect-chrome-headless-v2.html

I've also done printToPdf, but currently only implemented landscape and printBackground options. When I have a bit of time will implement all options and do another PR.
Another thing I'm thinking is to create some sort of caching for createBrowser and pagecreate and to keep a chrome DevTools session active that the script can reconnect to. So pretty much to only create the browser if it's not already created, but we need this in a smart way that will cache the option and recreate if needed + add some sort of kill for old browser sessions. Happy to submit more PR once I do some changes tho :)

Hi @tanasecosminromeo
Thanks for your work. I'll be doing a few minor changes and do other work before I publish the release.
As for caching, I dont think it's good to implement this in the library, the goal of the library is to provide an unambiguous way to start new instances of chrome and to create web pages. I think it's better to do it in some wrapper which the only goal is to reuse pages and existing browser.

@tanasecosminromeo I have been doing a few modifications in your implementation of preScript feature.
The way you implemented it the same script was added once again everytime we navigated to the page. The right way to use it will be:
$page = $browser->createPage();
$page->addPreScript('some script');

or you can add it directly on the browser:
$browser->setPagePreScript('some script');
$p1 = $browser->createPage();
$p2 = $browser->createPage();

// both of $p1 and $p2 have the preScript added

$p1->addPreScript('some other script');

// $p1 has the 2 scripts enabled

$browser->setPagePreScript(null);
$p3 = $browser->createPage();

// $p3 has no prescript

Also note that I renamed option nosandbox to noSandbox


Hero img isn't responsive

Hero img isn't responsive
Design
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Could it be an alternative?

Hmmm I'm not sure, I'd rather hide the img and just leave the animated titles 💜


wpewebkit: gst videoconvert/videoscale plugins were merged into one

From the Kirkstone version of meta-geosurv, the gstreamer1.0-plugins-base-videoconvert
and gstreamer1.0-plugins-base-videoscale plugins have been merged into
gstreamer1.0-plugins-base-videoconvertscale. use videoconvertscale instead of separate
videoconvert and videoscale plugins for Kirkstone.

@zandrey please review this PR, I can't add reviewers.

not used anymore.


How to receive all message requests?

I use api.listen to listen the message from my friends. But when someone is not my friend, It will not trigger callback in api.listen . What I want to do is to receive all message requests. How do I do that?

PRs #247 and #193 did some work to add functionality for message requests but were unfortunately abandoned before all the issues were ironed out.  I'd imagine they still work to some degree, so feel free to check them out and get back to us with any results you have.  Feel free to let us know if you have any problems and we can help iron them out and hopefully get this functionality merged into master! :)

Here is a workaround I've made to accept pending messages. It checks every minute or so, which isn't optimal. I may see if I can possible add this function to api.listen

https://github.com/Schmavery/facebook-chat-api/blob/master/DOCS.md#getThreadList
Does getThreadList with "pending" work for you @Larry850806 ?

Since there is functionality of getThreadList that is meant to solve this problem, I'm going to assume you just couldn't find the function and that it's a viable workaround.  Please let us know if you have any more problems :)


[JSHINT] enabled on project

Let's start with default {} .jshintrc and ignore tests for start.
to lint:
npm run lint

coding style #1359

I have added devDependency to JSHint but build failed: can anyone translate from "travis" to "human" for me? thanx...
https://travis-ci.org/mochajs/mocha/jobs/49659011

You need to make it install a newer npm version. We had the same issue over at mustache.js: https://github.com/janl/mustache.js/pull/421

We need to make this part of the npm test suite, not a separate script.

@ainthek To that end, you'll need to modify Makefile and have it run jshint before it executes any tests.

Thanks for this!

Chris, actually I can make this directly in package.json, and script:test can run both lint and the tests.
However I like this to be separated, test is test lint is lint. If you consider lint part of tests please do whatever you want. See: https://github.com/ainthek/node-boilerplate/blob/master/package.json
Decision is really up to you falks....

@ainthek What I'd really like is this to happen:

new target lint in Makefile:
lint:
    npm run-script lint

test target changed to:
test: lint test-all

in scripts property of package.json:
{
  "test": "make test"
}

This gives us the ability to run jshint via make or npm run-script, runs all tests by default, and runs the lint before the tests.
If you want to skip the linting and just run the tests, make test-all will be sufficient.

chris: you have already wrote more lines of the git comments then the actual lines of source code needed to implement this. Why ? I do not get this.
PR is proposal. You have minimal work overhead to adjust it and commit in "adjusted work".
I'm just curious. Why not just making this happen ?

@ainthek
Project maintainers ask submitters of PRs to change the code for a couple reasons:

Contrary to what you may think, it will take longer for me to apply the change myself than to write this comment.
It is considered poor etiquette to take a PR and put your name on it, which would be what I would be doing if I just made the changes myself.

So, if you are not willing to make the changes, we'll close the issue, make a note in #1359, and someone will get to it eventually.  However, I'd like to merge your changes in (with modifications), so I'm asking if you would please change the code and squash your commits.
Thanks!

We actually have an issue discussing that we want to enforce the code style, because it is currently a mess. And it is both easier and faster to make lint be a part of the test routine rather than having to review the PR, ask for code style changes, wait for style changes, review PR again, etc.

Will shuash and send again.

@ainthek ?

I will work on more complete fix and then make pull request.
Also will try to run travis on my repo first to avoid "bad pull requests".
Will make PR then.


Add setting that prohibits non-moderators from using deletThis emoji

For very large Discords with a lot of members in a #nsfw channel, it would be great to prohibit ordinary users from deleting images, especially to stop trolls who try to delete all images of a certain category.

"Fixed" in eee07f057779c509356836e6c67c81ad212d1913
That commit changes the "deletThis" reaction to only work for either the user who originally called the search, or members with "Manage Messages" permissions.

Thank you very much for the quick reply and for fixing this!


TTL

Port of https://github.com/couchbase/couchbase-lite-net/issues/1079 to Android

PRs have merged into master.


support for virtual JS methods in Thumb

Will require a virtual method table etc
It will also need to be implemented in JS, but there it's trivial.

Duplicate of #146


docs: Fix broken build

@vidakovic can you review this and merge when the build passes? Hope you'll like... :smile:


[FLINK-6927] [cep] Support pattern group in CEP

Thanks for contributing to Apache Flink. Before you open your pull request, please take the following check list into consideration.
If your changes take all of the items into account, feel free to open your pull request. For more information and/or questions please refer to the How To Contribute guide.
In addition to going through the list, please provide a meaningful description of your changes.

[x] General

The pull request references the related JIRA issue ("[FLINK-XXX] Jira title text")
The pull request addresses only one issue
Each commit in the PR has a meaningful commit message (including the JIRA id)

[x] Documentation

Documentation has been added for new functionality
Old documentation affected by the pull request has been updated
JavaDoc for public methods has been added

[x] Tests & Build

Functionality added by the pull request is covered by tests
mvn clean verify has been executed successfully locally or a Travis build has passed

@dawidwys @kl0u It will be great if you could take a look at this PR.

rebase the code and @dawidwys @kl0u could you help to take a look at this PR?

@dianfu sorry I have not reviewed it yet, but I do think this feature would benefit from reworking of the Pattern API I propose in FLINK-3414.
Instead of checking for head/tail of group pattern and caching them, we could more or less use current code for plain sequence creation that could return begin/end states. Then the code for joining groups would be much easier, cause it would operate on already translated sequences.
Also the new API would make [FLINK-4641]](https://issues.apache.org/jira/browse/FLINK-4641)
much easier I think.
As it would require API rework I would really like to hear @kl0u opinion. If we agree though not to change the API I will go straight to reviewing this PR.

Hi @dianfu and @dawidwys .
I think that we should stick to the current API as:
1) a new API will raise serious backwards compatibility concerns,
2) people have already started using the current API and
3) there are two parallel efforts going on (SQL/ CEP standalone) and we should not block one on the other.
If we agree on this, then this PR is ready for review @dawidwys .

@dawidwys thanks a lot for your comments. Have updated the PR and it should have addressed all the comments. :)

@dianfu Thanks for the update. The code looks really nice right now. The only thing that is missing for this PR, are the docs. Could you please add a section about the group patterns?

@dawidwys Thanks a lot for the review. Updated the doc.


[ MB-16422 ] Updating test function names to include SIT

Jira ticket
While pairing on #11110, we found that the word SIT was missing from these
tests.

Messages

:book:
:link: MB-16422

  Generated by :no_entry_sign: dangerJS against 37b47d01275fe972c748b2b5b7ae6ce636d4a0cd


Look for proxy environment variables in script

The install script only looked for proxy environment variables in the
VM's environment. Passing these variables via agent args was not
supported. Now, the environment file will have the proxy variable
passed to the script, if they exist.
Issue:
https://github.com/rancher/rancher/issues/32633

I realized there is one more thing that needs to happen in this change.

oups, jumped the gun.

Ready for review.


Naming of Outputs does not conform Angulars style guide

Style 05-16: Don't prefix output properties
This also violates the eslint rule @angular-eslint/no-output-on-prefix.
Suggestion
On button.component.ts

rename Output onClick and it's usages to buttonClick

On header.component.ts

rename Output onLogin and it's usages to login
rename Output onLogout and it's usages to logout
rename Output onCreateAccount and it's usages to createAccount

Thanks for taking the time to reach out to us with your issue. We appreciate it. Sadly, I will close this as this is not a template issue per sé but rather a Storybook issue, as the template is only a consumer of Storybook. If you or anyone else is interested in following up with us and improving the examples, we encourage you to open up a discussion and follow up with us maintainers so that it can be addressed.
Hope you have a fantastic holiday season.
Stay safe


Finish specification for the most basic NFT

As a developer, I want to be able to use NFTs that are standardized and safe in my NEAR app.
https://github.com/nearprotocol/NEPs/pull/4
Acceptance Criteria:

Enumerate function names, input and output
An implementable template that anyone can use and then have a functioning NFT.
Decide on what we're doing with data for the standard and examples.
Information and links to more complex NFT Extension specs

Notes:

Clarify who can call contract. (Where this is called).
Clarify how tokens are minted/created.
Clarify: Standard is confusing for cross contract.  As a developer, I want it to be clear that when I am implementing this, do I need to call these from another contract.

The first examples can be in one contract. We don't need to use escrow use cases for safe transfer, just the most basic happy cases.

How is this issue related to near-shell?


TextCondition getSelectedOptionsTexts() not working on disable elements with Selenium 4.5.0

The problem
The problem actually connected with update to Selenium 4.5.0 in Selenide 6.9.0 version.
Selenium changed verification for org.openqa.selenium.support.ui.Select#Select constructor and now require element to be enabled on UI.
Actually now it causes failures for verification where the following condition was used for such elements:
$(locator).shouldHave(Condition.text(myText))
The method which cause the issues:
com.codeborne.selenide.conditions.TextCondition#getSelectedOptionsTexts
  protected String getSelectedOptionsTexts(WebElement element) {

// Here new Select element is created
    List<WebElement> selectedOptions = new Select(element).getAllSelectedOptions();
    return selectedOptions.stream().map(WebElement::getText).collect(joining());
  }

Details
See the following diff in Select constructor:
How it was in selenium 4.4.0
org.openqa.selenium.support.ui.Select#Select
  public Select(WebElement element) {
    String tagName = element.getTagName();

    if (null == tagName || !"select".equals(tagName.toLowerCase())) {
      throw new UnexpectedTagNameException("select", tagName);
    }

    this.element = element;

    String value = element.getDomAttribute("multiple");

    // The atoms normalize the returned value, but check for "false"
    isMulti = (value != null && !"false".equals(value));
  }

How it is now in selenium 4.5.0
org.openqa.selenium.support.ui.Select#Select
  public Select(WebElement element) {
    String tagName = element.getTagName();

    if (!"select".equalsIgnoreCase(tagName)) {
      throw new UnexpectedTagNameException("select", tagName);
    }

   // This new part of code here causes the issue

    if (!element.isEnabled()) {
      throw new UnsupportedOperationException("Select element is disabled and may not be used.");
    }

    this.element = element;

    String value = element.getDomAttribute("multiple");

    // The atoms normalize the returned value, but check for "false"
    isMulti = (value != null && !"false".equals(value));
  }

Tell us about your environment

Selenide Version: 6.9.0
Chrome\Firefox\IE Version: 105.0.5195.52
Browser Driver Version:
Selenium Version: 4.5.0
OS Version: 13.0 (22A380)

Code To Reproduce Issue [ Good To Have ]
Described the conditions in Details section

@evgeny-tumashchick After a long discussion, this problem was fixed in Selenium 4.6.0.
Even more, in Selenide 6.10.0 the work with <select> elements will be re-implemented using JavaScript code, see PR https://github.com/selenide/selenide/pull/1876

@asolntsev thank you for detailed response. Will wait for Selenide 6.10.0 release


Reserialize assets for 2.8

Mostly benign reserializations. I'll leave comments on the larger changes!

/azp run


'IExcelDataReader' does not contain a definition for 'AsDataSet'

'IExcelDataReader' does not contain a definition for 'AsDataSet' and no accessible extension method 'AsDataSet' accepting a first argument of type 'IExcelDataReader' could be found (are you missing a using directive or an assembly reference?)

Hi, you need to reference the ExcelDataReader.DataSet nuget package to use AsDataSet.

Thanks!!!


Prevent page content shifting on pub.dartlang.org package pages

This issue was originally filed by<EMAIL_ADDRESS>
In some browsers, switching tabs on package pages can cause the page content to shift when showing/hiding the vertical scrollbar.
Example: http://pub.dartlang.org/packages/puremvc
CSS fix (always show scrollbar):
body {
  overflow-y: scroll;
}

This issue has been moved to dart-lang/pub-dartlang#312.


⚠ Account has degraded performance

In 7aa35d2, Account (https://account.wrk.com/health) experienced degraded performance:

HTTP code: 200
Response time: 176 ms

Resolved: Account performance has improved in 1593790.


Fix regression in spirv generator

Flag for debug was removed in previous prs

Code around is hard to read. Need refactoring.

Is it possible to make test for it?

The test does not test changes.

Yes. It tests calling function with debug in general. Currently it is hardly possible to write a test on checking failing in spirv-val mode because there are lots of other problems.

@akharche what is the status now?


Upgrade DataGrid

What does the pull request do?

Implement support of NthChild in DataGrid (for rows, cells and column headers)
Do not hardcode Margin and VerticalAlignment on data grid text column
Add missing support of Border properties to the DataGrid templates

Also fixes #7098

You can test this PR using the following package version. 0.10.999-cibuild0017624-beta. (feed url: https://nuget.avaloniaui.net/repository/avalonia-all/index.json)

Hi @maxkatz6
Great ideas 💡

Do not hardcode Margin and VerticalAlignment on data grid text column

Just a thought: Is it possible to use add properties called ElementClasses and EditingElementClasses to the DataGridColums so that one can combine different classes and reuse existing ones?
Happy coding
Tim

Just a thought: Is it possible to use add properties called ElementClasses and EditingElementClasses to the DataGridColums so that one can combine different classes and reuse existing ones?

There is already CellStyleClasses property. It makes sense to add another one for edit mode, although it's easy to differentiate with selector by control type (TextBlock vs TextBox). Not sure about template column though.

Cellstyle is just for the cell? Or? At least for me it didn't apply to the TextBlock

Selector="DataGridCell.my-class > TextBlock"
Or
Selector="DataGridCell.my-class > TextBox"

I can place a Style inside for the Cellstyle which applies, but I can't add a class by name to TextBlock or TextBox

Selector="DataGridCell.my-class > TextBlock"
Or
Selector="DataGridCell.my-class > TextBox"

Ahh yes that makes sense. What I had in mind was Selector=TextBlock.myClass1 and Selector=TextBlock.myClass2 and then use it like ElementClasses=myClass1, myClass2 but that may be too much advanced for the DataGrid.
A happy new year later
Tim

You can test this PR using the following package version. 0.10.999-cibuild0017626-beta. (feed url: https://nuget.avaloniaui.net/repository/avalonia-all/index.json)

You can test this PR using the following package version. 0.10.999-cibuild0019896-beta. (feed url: https://nuget.avaloniaui.net/repository/avalonia-all/index.json) [PRBUILDID]

You can test this PR using the following package version. 0.10.999-cibuild0019929-beta. (feed url: https://nuget.avaloniaui.net/repository/avalonia-all/index.json) [PRBUILDID]


Clearance::xxxController.layout is reset when rails auto reloads classes

It looks like overriding layouts at the bottom of initializer file causes weird behavior where sometimes the default application layout is used instead. It might be a good idea to be more specific in the README.md where the overrides should be placed. I've now placed layout settings before Clearance.configure block and seems like things are now working.

I haven't tried to reproduce this, but it does make sense. If the override is in the initializer then it will not get run if rails reloads the controller class.
But if you're editing the controller class which is causing it to be reloaded then could you override the layout in that class instead?

Closing. Let me know if the suggested workaround doesn't work for you and I'll re-open.

I am having the same problem as above but I have not overridden the Clearance controllers, therefore cannot set my layout in the controller. I can create a class to set the layout as a workaround but it's not an ideal solution.

This problem still happens today. I've been able to work around it by issuing: bin/spring stop, and even it will say Spring is not running it fixed for me.
Hope it helps!

I had the same issue and moving
Clearance::UsersController.layout "public"
Before the block
Clearance.configure
solved my problem
No idea why though...


Minor webgui issue System -> Settings -> General

Looking at the System -> Settings -> General webui page there seems to be an issue with the way the Use gateway drop down fields are positioned within the page.
Reproduce under chrome browser:
Zoom in and zoom out on the General webui page. You will notice unusual positioning of the Use gateway drop down fields.
Also take a look at the System -> Settings -> Firewall/Nat page. There is a similar effect with the start and end edit boxes for the Firewall Adaptive Timeouts. The start edit box isn't aligned with the other edit boxes on the page as well.

@azdps can you post some screenshots of the issue? and what version of OPNsense are you using? I tried some zooming in Chrome on my end but can't seem to trigger the event on our latest version.

Have to go to  work right now. Will do it later on when I get home around 5pm  MST.
azdps
From: Ad Schellevis
Sent: Saturday, March 5, 2016 3:23 AM
To: opnsense/core
Cc: Shane Manjarres
Subject: Re: [core] Minor webgui issue System -> Settings -> General (#803)
@azdps can you post some screenshots of the issue? and what version of OPNsense are you using? I tried some zooming in Chrome on my end but can't seem to trigger the event on our latest version.
—
Reply to this email directly or view it on GitHub.

This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

Does the screenshots show the expected behavior? I didn't seem right that the use gateway drop down lists shift over the the right. I figured they should have remained to the left.

@azdps thanks for the screenshots, I see what you mean. it would indeed be better if they stick together.


added an additional hint for transition-classes

with Ref to the issue reported here https://github.com/vuejs/vuejs.org/issues/2195.
Please review and let me know if this is the right place to add the additional hint on transition classes.

@krishnanandula thank you for working on this PR! The subject of the mentioned issue was a clarification about group/list transition; so I think it's better to move an additional hint to List transitions section.

@NataliaTepluhina thanks for the clarification, I will move
under List Transition section.

@NataliaTepluhina  done ! can you please check and let me know if that's the right place to add? or please suggest any changes if needed.

@krishnanandula thank you! Now it's definitely a right place 👍


[CRP] Xavier Docker update

Description: Create a docker for leaf that is able to run CRP with all necessary sensors and control the vehicle in ROS2 environment.
AC:

the docker is able to run on the nvidia jetson agx-xavier (ARM64) platform
crp project is built and able to run inside the docker
all necessary drivers are running and publishing data inside the docker
programs are able to send CAN data to the car from inside the docker

Effort: 0.8 SP
Prio 1

Created Dockerfile and a script for it. It builds the CRP project to a docker. It requires the autoware docker which can be built from the autoware package using its script.

Updated system specification with instructions for installing the platform and building the docker container.

Uploaded docker image to docker hub: https://hub.docker.com/repository/docker/anonymdavid/crp/general


changing sections in chart editor crashes

Describe your bug here.
after compiling the most recent version of Psych Engine, going to the end of a song by pressing "A" or having the song loop after it ends causes a "Null Object Reference" error.
edit: actually, anytime you press a or d, it does it anyways.

Command Prompt/Terminal logs (if existing)
N/A

Are you modding a build from source or with Lua?
Source
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
Nothing at all.

https://user-images.githubusercontent.com/43685280/174462591-0a621512-66a7-484e-9516-01faf72e4bd7.mp4
for some reason it didnt record audio

sorry for adding so many changes, but i ran the game using lime test windows -debug, and here are the logs.

source/Discord.hx:68: Discord Client initialized
source/Discord.hx:18: Discord Client starting...
source/Discord.hx:25: Discord Client started.
source/LoadingState.hx:162: Setting asset folder to shared
source/Conductor.hx:135: new BPM map BUDDY []
Called from hxcpp::__hxcpp_main
Called from ApplicationMain::main ApplicationMain.hx line 25
Called from ApplicationMain::create ApplicationMain.hx line 130
Called from lime.app.Application::exec lime/app/Application.hx line 150
Called from lime._internal.backend.native.NativeApplication::exec lime/_internal/backend/native/NativeApplication.hx line 146
Called from lime._internal.backend.native.NativeApplication::handleRenderEvent lime/_internal/backend/native/NativeApplication.hx line 370
Called from lime.app._Event_lime_graphics_RenderContext_Void::dispatch lime/_internal/macros/EventMacro.hx line 91
Called from openfl.display.Stage::__onLimeRender openfl/display/Stage.hx line 1950
Called from openfl.display.Stage::__broadcastEvent openfl/display/Stage.hx line 1166
Called from openfl.display.DisplayObject::__dispatch openfl/display/DisplayObject.hx line 1399
Called from openfl.events.EventDispatcher::__dispatchEvent openfl/events/EventDispatcher.hx line 402
Called from flixel.FlxGame::onEnterFrame flixel/FlxGame.hx line 545
Called from flixel.FlxGame::step flixel/FlxGame.hx line 677
Called from flixel.FlxGame::update flixel/FlxGame.hx line 747
Called from flixel.FlxState::tryUpdate flixel/FlxState.hx line 203
Called from editors.ChartingState::update editors/ChartingState.hx line 1861
Called from editors.ChartingState::changeSection editors/ChartingState.hx line 2329
Called from editors.ChartingState::getSectionBeats editors/ChartingState.hx line 2936

Fixed in latest commit


[6.0][ExplicitModule] Fix codegen target when using direct cc1 mode

Explanation: Swift caching build that requires -clang-target will generate object file using the wrong deployment target.
Scope: Affect swift caching builds and can cause wrong code generation due to the wrong deployment target.
Original PR: https://github.com/swiftlang/swift/pull/74755
Issue: rdar://130547690
Reviewer: @artemcm
Test: UnitTest

@swift-ci please test


VIP still assigned when etcd is down

Hey,
when the VIP Manager loses the connection to etcd it doesn't unassign the VIP on the machine.
In case of network partitioning this means there could be 2 Nodes which try to assign the VIP.
I think this is due to the etcd client Watch which, according to the Documentation, just endlessly tries to reconnect without returning an error.
https://github.com/cybertec-postgresql/vip-manager/blob/master/checker/etcd_leader_checker.go#L88C19-L88C24

Hello. Sorry for delay with answer.
Yes, that is the design. We do not change anything if etcd is down. If etcd id down there are probably more serious problems with cluster than VIP.

Yes, that is the design. We do not change anything if etcd is down. If etcd id down there are probably more serious problems with cluster than VIP.

For perspective: on a production cluster of ours etcd fails to start every now and then after reboot. I have not been able to debug it (yet). It's certainly preferable when all components of a system are robust and resilient as opposed to systems that fall appart when one part fails.


[BUG] Networking anomalies when reaching out from the OC vm

General information

OS: Windows
Hypervisor: Hyper-V
Did you run crc setup before starting it (Yes/No)?

CRC version
crc version: 1.6.0+8ef676f
OpenShift version: 4.3.0 (embedded in binary)

CRC status
# Put `crc status` output here

CRC config
CRC VM:          Running
OpenShift:       Running (v4.3.0)
Disk Usage:      16.09GB of 106.8GB (Inside the CRC VM)
Cache Usage:     12.69GB
Cache Directory: C:\Users\jesaremi\.crc\cache

Host Operating System
Host Name:                 JESAREMI-HP
OS Name:                   Microsoft Windows 10 Enterprise
OS Version:                10.0.18363 N/A Build 18363
OS Manufacturer:           Microsoft Corporation
OS Configuration:          Member Workstation
OS Build Type:             Multiprocessor Free
Product ID:                00330-80000-00000-AA800
Original Install Date:     7/30/2019, 11:45:53 AM
System Boot Time:          3/10/2020, 7:31:33 AM
System Manufacturer:       HP
System Model:              HP Z2 Tower G4 Workstation
System Type:               x64-based PC
Processor(s):              1 Processor(s) Installed.
                           [01]: Intel64 Family 6 Model 158 Stepping 10 GenuineIntel ~3192 Mhz
BIOS Version:              HP Q50 Ver. 01.05.04, 6/17/2019
Windows Directory:         C:\windows
System Directory:          C:\windows\system32
Boot Device:               \Device\HarddiskVolume4
System Locale:             en-us;English (United States)
Input Locale:              en-us;English (United States)
Time Zone:                 (UTC-08:00) Pacific Time (US & Canada)
Total Physical Memory:     65,387 MB
Available Physical Memory: 30,258 MB
Virtual Memory: Max Size:  75,115 MB
Virtual Memory: Available: 38,350 MB
Virtual Memory: In Use:    36,765 MB
Page File Location(s):     C:\pagefile.sys
Logon Server:              \\CY1-RED-DC-35
Hotfix(s):                 17 Hotfix(s) Installed.
                           [01]: KB4537572
                           [02]: KB4493478
                           [03]: KB4497727
                           [04]: KB4503308
                           [05]: KB4508433
                           [06]: KB4509096
                           [07]: KB4515383
                           [08]: KB4516115
                           [09]: KB4517245
                           [10]: KB4520390
                           [11]: KB4521863
                           [12]: KB4524569
                           [13]: KB4528759
                           [14]: KB4537759
                           [15]: KB4538674
                           [16]: KB4541338
                           [17]: KB4540673
Network Card(s):           2 NIC(s) Installed.
                           [01]: Intel(R) Ethernet Connection (7) I219-LM
                                 Connection Name: Ethernet
                                 DHCP Enabled:    Yes
                                 DHCP Server:     <IP_ADDRESS>
                                 IP address(es)
                                 [01]: <IP_ADDRESS>
                                 [02]: fe80::c835:f0c9:b01e:ef99
                                 [03]: 2001:4898:e0:bf:5cfa:1e1e:699e:7be
                                 [04]: 2001:4898:e0:bf:c835:f0c9:b01e:ef99
                           [02]: Hyper-V Virtual Ethernet Adapter
                                 Connection Name: vEthernet (Default Switch)
                                 DHCP Enabled:    No
                                 IP address(es)
                                 [01]: <IP_ADDRESS>
                                 [02]: fe80::c95e:1cb9:7baa:9fe4
Hyper-V Requirements:      A hypervisor has been detected. Features required for Hyper-V will not be displayed.

Steps to reproduce
oc cannot download any of our docker images
Resulting in image download backoff.
Tried to run this:
C:\temp>%SSH% "sh -c 'ping hlsaris.azurecr.io'"
Warning: Permanently added 'api.crc.testing,<IP_ADDRESS>' (ECDSA) to the list of known hosts.
ping: hlsaris.azurecr.io: Name or service not known
Where as if I run the same thing on the windows itself:
C:\temp>ping hlsaris.azurecr.io
Pinging r0225wus2.westus2.cloudapp.azure.com [<IP_ADDRESS>] with 32 bytes of data:
Another example:
C:\temp>%SSH% "sh -c 'ping www.microsoft.com'"
Warning: Permanently added 'api.crc.testing,<IP_ADDRESS>' (ECDSA) to the list of known hosts.
ping: www.microsoft.com: Name or service not known
From Windows:
C:\temp>ping www.microsoft.com
Pinging e13678.dspb.akamaiedge.net [2600:1409:a:38a::356e] with 32 bytes of data:
Let me know if you actually need the logs.
Additional Notes: I am using Default switch

It looks like the Vm does not have/inherit any nameserver information from the host

This is a common problem with Hyper-V; it seems the host is not always passing the DNS information on (the guest resolves using a nameserver on the host).
you can provide the nameserver with -n / -nameserver when starting the cluster.

ok Thanks!

did this resolve your issue?

Must I specify -n address on every invocation of crc start?
Or just the first time I'm creating the VM? Because it doesn't look like it remembers it
Admittedly I only checking after a crc stop/start
The /etc/resolv.conf shows no evidence of the nameserver I provided
Also it shows this address (<IP_ADDRESS>):
# Generated by CRC
search crc.testing
nameserver <IP_ADDRESS>
nameserver <IP_ADDRESS>

I have no idea where this comes from. Its not from my machine:
PS C:\Users\jesaremi> Get-DnsClientServerAddress

InterfaceAlias               Interface Address ServerAddresses
                             Index     Family
--------------               --------- ------- ---------------
Ethernet                            14 IPv4    {<IP_ADDRESS>, <IP_ADDRESS>}
Ethernet                            14 IPv6    {}
Loopback Pseudo-Interface 1          1 IPv4    {}
Loopback Pseudo-Interface 1          1 IPv6    {fec0:0:0:ffff::1, fec0:0:0:ffff::2, fec0:0:0:ffff::3}
Teredo Tunneling Pseudo-I...         9 IPv4    {}
Teredo Tunneling Pseudo-I...         9 IPv6    {}
vEthernet (Default Switch)          18 IPv4    {<IP_ADDRESS>}
vEthernet (Default Switch)          18 IPv6    {}

Ultimately now that I have access to ssh I can add my entry to /etc/resolv.conf manually after each restart if that's my last resort

Must I specify -n address on every invocation of crc start?

@jeffsaremi you can use crc config set nameserver <nameserver_ip> so you don't need to specify as part of each crc start.

Or just the first time I'm creating the VM? Because it doesn't look like it remembers it
Admittedly I only checking after a crc stop/start
The /etc/resolv.conf shows no evidence of the nameserver I provided

It should work with stop/start scenario also, when you use nameserver parameter during the start you will also see something like Adding <nameserver_ip> as nameserver to the instance ... in the stdout.

I like that. I will use that the next time.
We can close this now.


configuration: Support configuration legacy payloads

We recently changed the configuration payload to support arrays
of compute and management subnets. We may change it in the short
term to support our storage solution.
To give us more flexibility, we want to be able to support legacy
payloads when we are forced to break configuration backward
compatibility.

This is related with the Configuration Versioning feature


Multiple Pickers with Different Minute Intervals

Is it possible to have multiple pickers? For example, how could I have two time pickers, one with a 1 minute interval, and another with a 5 minute interval? It doesn't seem like I can assign an input to a specific picker.

You can achieve this by adding 2 more DOM elements. Try following code
HTML

Time : (1 minute)

    <input id="input-1" type="text" data-field="time" readonly>

Time : (5 minutes)

    <input  id="input-2" type="text" data-field="time" readonly>

Javascript
$(document).ready(function()
{
    $("#dtBox-1").DateTimePicker(
    {
        parentElement: ".minutes-1",
        minuteInterval: 1
    });

    $("#dtBox-2").DateTimePicker(
    {
        parentElement: ".minutes-5",
        minuteInterval: 5
    });
});

Thank you, everything works well now!

Added Example.


HDFS-15925. The lack of packet-level mirrorError state synchronization in BlockReceiver can cause the HDFS client to hang

2821

 Quality gate: Passed
 Everything looks good
Details


add mixing length to precomputed quantities

Purpose

This PR moves mixing length to the default precomputed quantities (with or without EDMF) and uses EDMF mixing length to calculate cloud fraction. This is the main part of this PR, but I made some other changes:

Move the grid-mean mixing length closure to a new file closure.jl. I think this makes precomputed_quantities.jl more clean. To keep the PR small I only moved the grid-mean mixing length closure, but I will move some other functions to the new file in the future.
Make lmix a default diagnostic, with or without EDMF.
I finally removed the limiter if l < 0 set l = l_max in the edmf mixing length closure. I don't understand where it comes from, and the limiter on dissipation seems to suffice. This limiter is causing problems as the simplified covariance is proportional to l^2. With this limiter, l = l_max when TKE is zero, resulting in very large covariance and quadrature points with negative theta_li. If we use the full covariance (eq. 50 on overleaf) this problem should be less severe as both TKE and diffusivity go to zero. In any case, I think we should remove this filter to avoid future problems. I would like to move on with this as we can at least have some cloud fraction diagnostics with EDMF. We can revisit it if there are issues with the longrun. @trontrytel @tapios What do you think?

To-do

Content

[ ] I have read and checked the items on the review checklist.

This PR makes all the dycore simulations a factor of two slower. I think it might be from the buoyancy gradient. I need to look into it. If I can't find where the problem is I will temporarily setthe  grid-mean mixing length to ~ dz, or use a callback. @trontrytel This may suggest that the slowdown you saw before is not from the quadrature, but from the mixing length calculation?

It is indeed mostly from the buoyancy gradient calculation. Not sure if I can figure out why it is slow soon. Moving it to callback for now: https://github.com/CliMA/ClimaAtmos.jl/pull/2466


Sleuth and Reactor Schedulers

I'm having issues with my Reactor scheduling and concurrency after including spring-cloud-starter-sleuth from BOM org.springframework.cloud:spring-cloud-sleuth:2.0.0.RELEASE. I am using io.projectreactor:reactor-bom:Bismuth-SR10.
For my test case, I have the following Flux:
public void restEndpoint() {
        Flux.range(1, 10)
                .flatMap(val -> serviceLayer(val).publishOn(Schedulers.elastic()))
                .blockLast();
}

public Mono<Integer> serviceLayer(Integer val) {
        return Mono.fromCallable(() -> {
            Thread.sleep(1000);

            LOG.info(Thread.currentThread().getName() + " " + val);

            return val;
        });
}

The purpose of this is to take a series of events and publish them in parallel. When running without the sleuth dependency, the output is:
[INFO ] 2018-06-21 12:02:31 [http-nio-8080-exec-2]: Starting
[INFO ] 2018-06-21 12:02:32 [elastic-2]: elastic-2 1
[INFO ] 2018-06-21 12:02:32 [elastic-6]: elastic-6 5
[INFO ] 2018-06-21 12:02:32 [elastic-7]: elastic-7 6
[INFO ] 2018-06-21 12:02:32 [elastic-4]: elastic-4 3
[INFO ] 2018-06-21 12:02:32 [elastic-5]: elastic-5 4
[INFO ] 2018-06-21 12:02:32 [elastic-11]: elastic-11 10
[INFO ] 2018-06-21 12:02:32 [elastic-9]: elastic-9 8
[INFO ] 2018-06-21 12:02:32 [elastic-8]: elastic-8 7
[INFO ] 2018-06-21 12:02:32 [elastic-10]: elastic-10 9
[INFO ] 2018-06-21 12:02:32 [elastic-3]: elastic-3 2
[INFO ] 2018-06-21 12:02:32 [http-nio-8080-exec-2]: Finished in 1059

However, when I include compile('org.springframework.cloud:spring-cloud-starter-sleuth') in my gradle dependencies, the output is:
[INFO ] 2018-06-21 12:06:23 [http-nio-8080-exec-1]: Starting
[INFO ] 2018-06-21 12:06:24 [http-nio-8080-exec-1]: http-nio-8080-exec-1 1
[INFO ] 2018-06-21 12:06:25 [http-nio-8080-exec-1]: http-nio-8080-exec-1 2
[INFO ] 2018-06-21 12:06:26 [http-nio-8080-exec-1]: http-nio-8080-exec-1 3
[INFO ] 2018-06-21 12:06:27 [http-nio-8080-exec-1]: http-nio-8080-exec-1 4
[INFO ] 2018-06-21 12:06:28 [http-nio-8080-exec-1]: http-nio-8080-exec-1 5
[INFO ] 2018-06-21 12:06:29 [http-nio-8080-exec-1]: http-nio-8080-exec-1 6
[INFO ] 2018-06-21 12:06:30 [http-nio-8080-exec-1]: http-nio-8080-exec-1 7
[INFO ] 2018-06-21 12:06:31 [http-nio-8080-exec-1]: http-nio-8080-exec-1 8
[INFO ] 2018-06-21 12:06:32 [http-nio-8080-exec-1]: http-nio-8080-exec-1 9
[INFO ] 2018-06-21 12:06:33 [http-nio-8080-exec-1]: http-nio-8080-exec-1 10
[INFO ] 2018-06-21 12:06:33 [http-nio-8080-exec-1]: Finished in 10087

I am flexible on the way the Flux is written/structured but I am unable to figure out how write this such that I am able to achieve the concurrency from the first output with Sleuth.

For some additional info, I was able to restructure the flow as:
    public Mono<Integer> printIt(Integer val) {
        return Mono.just(val)
                .publishOn(Schedulers.elastic())
                .flatMap((vl) -> {
                    try {
                        Thread.sleep(1000);
                    } catch (Exception e) {
                        LOG.error("Error", e);
                    }

                    LOG.info(Thread.currentThread().getName() + " " + val);

                    return Mono.just(val);
        });
    }
});

and this seems to publish in parallel with Sleuth. The issue might be with Mono.fromCallable but that's speculation on my part.

@matthewjmason you are right, the root cause is the use of Mono.fromCallable() together with publishOn. I actually think you probably needed subscribeOn instead, here's why:
publishOn only changes threads once the data has been generated and emitted upstream. It means that normally the Mono.fromCallable should have been executed in the Thread it is subscribed from (the request IO thread) and then its value would be handed over to the elastic thread.
But publishOn also optimizes for Publisher sources that are also Callable: it avoids a subscribe-and-request overhead by directly calling Callable#call from the Thread it was supposed to hand over (here the elastic thread).
When you add Sleuth, it decorates each step of that reactive chain with something that happens to not be a Callable, and you revert back to the "unoptimized" version.
In your case however, the unoptimized version is very undesirable because it ends up sleeping the IO threads. What you want is isolate the blocking behavior in an elastic thread, and the correct fool-proof way of doing that is to use subscribeOn.
publishOn happened to work thanks to the optimization, which ends up approximating a subscribeOn for Mono.fromCallable, but Sleuth has the side effect of deoptimizing here and it exposes the mistake.

Thanks @simonbasle for this great response. You're the best!


Split ocp install

I have split install steps to:

Update OCP version
Install using remote ssh direct through GitHub actions shell
Verify that install complete successfully.

/approve


SHA bump for OSAD to match kilo as of 22/07/2015 This SHA bump is largely to grab some important fixes for the upcoming 11.0.0 release.

Of major concern is fixing RabbitMQ upgrade failures.
(https://bugs.launchpad.net/openstack-ansible/+bug/1474992)
Fixes #269
(cherry picked from commit 05bd9966c8e2b12f09548f0df770925b66460b2b)

As noted in https://github.com/rcbops/rpc-openstack/pull/270#issuecomment-123833564, we should bump the rc version for the kilo branch.

+1

LGTM


It is not possible to rewrite cacheTime when using queryClient.setQueryData

I'm iterating through a result array and using setQueryData to memoize individual results. I also have a specific hook to fetch these results individually with userQuery(...). I've tried to set the cacheTime other than 5 mins and it's been not possible when using setQueryData. I've tried many different approaches:

set cacheTime as configuration in queryClient.setQueryData(['task', id], data, {cacheTime:5000})
set cacheTime within the specific hook with the userQuery(['task', id], fetchFn, {cacheTime:5000})
queryClient.setQueryDefaults(['task', id], data, {cacheTime:5000})

None of them have worked, cacheTime always is 300000 when using querClient.setQueryData.
I'm working with react-query v3.13.10.

Not sure what issue you are trying to solve, what’s your use case? setQueryData can set the query data, not query options.
However, number 2 in your list should work. useQuery accepts a cacheTime option: https://react-query.tanstack.com/reference/useQuery

Thanks @TkDodo,
The issue I’m facing, is that I haven’t been able to set cacheTime when using setQueryData(...).  This is my question: Is there any way to set cacheTime when using useQueryData?.

if that's the question then the answer is: no, it's not possible.
but I don't think that is the question. You're clearly trying to solve a problem by setting cacheTime via setQueryData, and I would like to know what that use-case is. Maybe there is a completely different way of solving that problem that doesn't have anything to do with setting cacheTime via setQueryData. But you need to describe your problem in order for me to help out here :)


This will provide the Live URL

User Story:

AS AN employee with access to sensitive data
I WANT to randomly generate a password that meets certain criteria
SO THAT I can create a strong password that provides greater security

Acceptance Criteria:
GIVEN I need a new, secure password

WHEN I check the README file
THEN Ican find the live URL which leads to the application.

The Live URL is ready to Launch


gopass init works at second time

I tried gopass init and gopass asked me about which key I want to use. I typed in 0 and gopass asked again the same question.
Please select a private key for encryption:
[0] 0xC0D713B47D60A575 - tclass<EMAIL_ADDRESS>Please enter the number of a key (0-0) [0]: 0
Please select a key for signing Git Commits
[0] 0xC0D713B47D60A575 - tclass<EMAIL_ADDRESS>Please enter the number of a key (0-0) [0]: 0```

I admin that the output may be a little misleading and we can probably improve this, but it's not asking the same question twice.
First it is asking for your GPG encryption key and after that it is asking for your git sign key.
We should make the difference more clear and/or just use the same key for both.


Multiple bug

Hey
Fabric 1.20.1
Fabric Loader 0.14.25
Silverwood Hedge and leaf post not stick
Silver Wood Wall and Post not stick
Greatwood wall and Post not stick
(maybe it's normal ?)
And research notes visual bug

Posts aren't designed to connect (even though they sometimes do). Post model remake is in my to-do list


select action documentation doesnt match json example

doc says:

and you’d like to reshape the incoming data by renaming "first" to "FirstName", "last" to "LastName" and adding a new member named "FamilyName" that combines "first" and "last" (separated with a space):

json shows

[ { "FirstName": "Deon", "FamilyName": "Herb", "FullName": "Deon Herb" }, { "FirstName": "K", "FamilyName": "Herb", "FullName": "K Herb" } ].

doc should say
and you’d like to reshape the incoming data by renaming "first" to "FirstName", "last" to "FamilyName" and adding a new member named "FullName" that combines "first" and "last" (separated with a space):
last name --> FamilyName (not LastName)
new member is named FullName, not FamilyName

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

ID: 79bddf7e-aad7-5b99-0b73-a893d25615f5
Version Independent ID: f2f0c4d6-b613-d269-4756-bcd7548f76ec
Content: Understand data operations - Power Automate
Content Source: articles/data-operations.md
Service: flow
GitHub Login: @MSFTMan
Microsoft Alias: deonhe

@goravseth thank you for this feedback. We'll investigate this.  @msftman Can you please evaluate?

Doc updated by Deon


Gymnázium Alejová 1

@SamQxd First stage of verification passed, official domain is galeje.sk as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@SamQxd Thank you for your patience while waiting for a review and processing your request. Pull request merged.


Kubernetes Dashboard isn´t reachable.

After deployment and kubectl proxy, the Dashboard access gives a timeout:
Error: 'dial tcp <IP_ADDRESS>:8443: getsockopt: connection timed out'
Trying to reach: 'http://<IP_ADDRESS>:8443/'

Looks like https://github.com/kubernetes/dashboard/issues/2855#issuecomment-367697539 -

This kind of errors always come from API server, not the application you are trying to reach. Check your cluster config and see if you can access other applications through service proxy first.

Only a full debug session using curls as described by https://kubernetes.io/docs/tasks/debug-application-cluster/debug-service/#is-kube-proxy-proxying shed some light in the resolution problems, where kube-proxy didn´t always proxy right. The curls went to the hostnames k8s service (which was deployed earlier, as also described in the docs), that had the IP <IP_ADDRESS>:
NAMESPACE     NAME                           TYPE        CLUSTER-IP    EXTERNAL-IP   PORT(S)         AGE
default       service/hostnames              ClusterIP   <IP_ADDRESS>   <none>        80/TCP          3d

The curls only worked sometimes, and sometimes not! After full rebuild of the cluster finally the curls worked as said in the docs:
vagrant@worker-0:~$ curl <IP_ADDRESS>
hostnames-64fbcd9c87-zvsnb
vagrant@worker-0:~$ curl <IP_ADDRESS>
hostnames-64fbcd9c87-6s5gs
vagrant@worker-0:~$ curl <IP_ADDRESS>
hostnames-64fbcd9c87-hx5tk
vagrant@worker-0:~$ curl <IP_ADDRESS>
hostnames-64fbcd9c87-zvsnb
vagrant@worker-0:~$ curl <IP_ADDRESS>
hostnames-64fbcd9c87-6s5gs
vagrant@worker-0:~$ curl <IP_ADDRESS>
hostnames-64fbcd9c87-hx5tk
vagrant@worker-0:~$ curl <IP_ADDRESS>
hostnames-64fbcd9c87-hx5tk
vagrant@worker-0:~$ curl <IP_ADDRESS>
hostnames-64fbcd9c87-6s5gs

All hostnames pods were answering finally correctly! Not quite sure if thats also related to earlier DNS problems, e.g. like https://github.com/jonashackt/kubernetes-the-ansible-way/commit/3091bbe9751674d54500e62d089479dc8c8266f2
Now this working kube-proxy setup finnaly brought up new errors like this (from dashboard logging with kubectl logs kubernetes-dashboard-7b9c7bc8c9-pvgt9 -n kube-system --follow):
2018/08/31 09:21:29 http: TLS handshake error from <IP_ADDRESS>:44806: tls: first record does not look like a TLS handshake
2018/08/31 09:21:38 http: TLS handshake error from <IP_ADDRESS>:44808: remote error: tls: unknown certificate authority

Addressing this issue also with https://github.com/jonashackt/kubernetes-the-ansible-way/commit/9866c71c3d09240f6aa0313ed45adc32285da529

Seems, that there´s no app accessible from outside in general - not only Dashboard: https://github.com/jonashackt/kubernetes-the-ansible-way/issues/12


We found a problem with some content in the "fileName"

We are installing xlsx in our typescript project with file-saver library and place the index.d.ts file from node_modules/xlsx to node_modules/@types/xlsx and resolve the CFB and SSF dependency through place these folder into node_modules/@types/xlsx also install file-saver.
create the simple example in test.js separate project with below code:
const XLSX=require('xlsx');
let wb= XLSX.utils.book_new();

let data=[
    ['hello','world'],
    [12,112]
];

let s1=XLSX.utils.aoa_to_sheet(data);

XLSX.utils.book_append_sheet(wb,s1,'Test Sheet');

XLSX.writeFile(wb,'./TEST.xlsx');`

but in typescript project we have written the same code below

`import * as XLSX from 'xlsx';
import 'file-saver';

export default class Export{

    public static _export(){
        let wb= XLSX.utils.book_new();

        let data=[
            ['hello','world'],
            [12,34]
        ];

        let s1=XLSX.utils.aoa_to_sheet(data);

        XLSX.utils.book_append_sheet(wb,s1,'Test Sheet');

        XLSX.writeFile(wb,'./TEST.xls');
    }
}

that generate file but not open with we found a problem with some content in the "fileName" error.

Can you test the export without importing file-saver?  Are you running in the browser or nodejs?
Also, is this an angular project or your own custom configuration?

Yes, I'm running without import file-saver  but its not running. I'm running in browser that not working while i'm creating a test node project that working , it is not angular project.

Your first example used
XLSX.writeFile(wb,'./TEST.xlsx');`

Second example
        XLSX.writeFile(wb,'./TEST.xls');

Try writing the file as XLSX in your app

Without saveAs I was able to reproduce this issue on codesandbox.  It seems to come from https://github.com/jvilk/BrowserFS and differences between how the shimmed buffer works and how NodeJS buffers actually work.  If possible, disable the browser shim for Buffer


Cubic equation roots calculator added

Here is the video demo of the cubic equation roots calculator
Cubic Equation Roots.webm

@RishabhJain0721 Please add the standard form. Like modify the input line- Enter the values of a, b, c & d in form of ax³+bx²+cx+d=0.  And add the calculator next to Quadratic Equation Calculator.

@Srijita-Mandal I have done the required changes.Could you please check them out?


Implement exec mode map: dict

I was trying to implement an exec mode map, Dict. This PR is not done as some of the methods like remove are not implemented yet. Please let me know whether a Dict is expected to be included in pervasive and I am happy to continue working on this PR and contribute to verus.

Yes, we definitely want something like Dict in the verus standard lib, analogously to Vec/Seq 👍

Updated. Do we want an example to test dict?

A few examples in examples/ would be nice, yeah.
I just noticed that this uses std::cmp::Eq + std::hash::Hash, and as discussed over in https://github.com/secure-foundations/verus/issues/169 the properties of those traits aren't verified by Verus - so this API is unsound if the user provides an implementation that doesn't match the usual equivalence-relation guarantee of Eq, or which doesn't meet the stronger condition that equality agree with SMT equality.
Can you change the API to require a stronger trait bound, like the custom trait discussed in the other discussion?

Hi @tjhance, I just want to ensure I understand your point: Verus cannot verify the properties of Hash or Eq, so we want to add another bound HashEq (mentioned in https://github.com/secure-foundations/verus/issues/169#issuecomment-1150384663) to K. This bound will check whether Hash and Eq are implemented correctly.
I have a few more questions regarding the code you posted before
pub trait HashEq {
  #[spec]
  fn hash(&self) -> u64 {
      no_method_body()
  }

  #[exec]
  fn compute_hash(&self) -> u64 {
      // Result matches a deterministic function
      ensures(|res: u64| res == self.hash());
      no_method_body()
  }

  #[exec]
  fn compute_eq(&self, other: &Self) -> bool {
      // equality matches the SMT equality of the objects
      ensures(|res: bool| res == equal(self, other));
      no_method_body()
  }
}

Will the postconditions be inherited implicitly when the user implement their own compute_hash and compute_eq? Or do they need to specify the same postcondition again in their impl?
What should be a common implementation of compute_hash and compute_eq? Should the user first implement HashEq::compute_eq and then implement PartialEq::eq like the following?

  fn eq(&self, other: &Self) -> bool {
      self.compute_eq(other)
  }

The signature of Hash::hash is fn hash<H: Hasher>(&self, state: &mut H). For hash, what property should we check and how do we check the property?

Yes, conditions are automatically inherited. So to implement a trait, you have to meet the spec of a trait; any method that is generic over the trait can assume that specification holds.
(For example, a hypothetical verified hash table would specify internal invariants on its layout in terms of the hash specification fn, then it would rely on the fact that compute_hash computes hash in order to verify that these invariants are maintained.)
For the unverified implementation with HashMap like we're trying to do here, we can make a blanket impl to implement std::cmp::PartialEq, std::cmp::Eq, and std::hash::Hash in terms of HashEq.
Then we'd reason (informally) as follows:

To use Dict, the type K has to satisfy the HashEq trait bound.
If HashEq is satisfied, then via the blanket impl, the std::cmp::PartialEq, std::cmp::Eq, and std::hash::Hash traits all have the properties they need for std::HashMap to behave correctly.
Therefore, Dict meets its specification.

So:

Yes, the preconditions are implicitly inherited.
The Dict library should provide a blanket implementation for PartialEq like the one you showed
There's no property to check for std::hash::Hash, since it's part of the unverified implementation. Or rather, the properties it has are specified outside Verus, but those properties follow from the formally checked properties that HashEq has.
See 2.

Hope this makes sense!

Thanks for the explanation!
"For the unverified implementation with HashMap like we're trying to do here, we can make a blanket impl to implement std::cmp::PartialEq, std::cmp::Eq, and std::hash::Hash in terms of HashEq."
This is the only part I do not fully understand.

what does it mean by a blanket impl? Do you mean a wrapper around HashEq::compute_eq or HashEq::compute_hash?
Do you mean we should implement traits PartialEq, Eq, and Hash for K without knowing what type K is in Dict? I am new to rust so I do not know whether one can implement a trait for a generic K without knowing what concrete type K is.
If 2 is correct, does K only need one bound HashEq instead of Eq + Hash?

By blanket impl I mean,
impl<K: HashEq> PartialEq for K {
    fn eq(&self, other: &Self) -> bool {
        self.compute_eq(other)
    }
}

i.e., for every type that implements HashEq, it also implements PartialEq with the latter defined in terms of the former.

Hi @tjhance I am trying to refactor this PR but it seems that I can't do something like
#[verifier(external)]
impl<K: HashEq> std::cmp::PartialEq for K {
    fn eq(&self, other: &Self) -> bool {
        self.compute_eq(other)
    }
}

rust reports error
error[E0210]: type parameter `K` must be used as the type parameter for some local type (e.g., `MyStruct<K>`)
  --> rust_verify/example/pervasive/dict.rs:30:6
   |
30 | impl<K: HashEq> std::cmp::PartialEq for K {
   |      ^ type parameter `K` must be used as the type parameter for some local type
   |
   = note: implementing a foreign trait is only possible if at least one of the types for which it is implemented is local
   = note: only traits defined in the current crate can be implemented for a type parameter

It seems that we cannot use this way to implement traits that are not defined in our crate (i.e., PartialEq).

Shoot, I forgot about that restriction.
I think the usual way to get around this in Rust is to do define a wrapper type like this:
struct KeyWrapper<K> {
  key: K,
};

You then have to do,
#[verifier(external)]
impl<K: HashEq> std::cmp::PartialEq for KeyWrapper<K> {
    fn eq(&self, other: &Self) -> bool {
        self.key.compute_eq(other.key)
    }
}

It's a little annoying because you have to wrap & unwrap the key in your implementation, but in theory, it's a "zero cost abstraction".

Hi @tjhance Thanks for your help again! Using the wrapper solves the problem and I do not have any other compilation errors now. But I got some error from verus this time.
pub trait HashEq {
    ...

    fn compute_hash<H: std::hash::Hasher>(&self, state: &mut H) {
        no_method_body()
    }
}

and verus reports
[rust_verify/src/rust_to_vir.rs:371]
error: The verifier does not yet support the following Rust feature: trait generics
  --> rust_verify/example/pervasive/dict.rs:21:5
   |
21 | /     fn compute_hash<H: std::hash::Hasher>(&self, state: &mut H) {
22 | |         no_method_body()
23 | |     }
   | |_____^

error: aborting due to previous error

I tried to put #[verifier(external)] before compute_hash but the error still happens. Is there a way to workaround this error?

Whoops, sorry, I didn't notice your comment earlier. My bad.
As the error says, Verus doesn't yet support generics on trait methods. But then, it also doesn't support std::hash::Hasher anyway.
So it's kind of annoying, but for now we'll just have to do it without it and implement hash as a function from self to an integer.

Hi @tjhance
Sorry for the late response. I come back to this pending PR.

So it's kind of annoying, but for now we'll just have to do it without it and implement hash as a function from self to an integer.

I am a bit confused here. The signature of Hash::hash required by HashMap is fn hash<H: Hasher>(&self, state: &mut H), which does not return any integer. So how does a function that from self to an integer make HashMap happy here?

Closing in favor of #308.


filter all tags containing a phrase

I tend to hc a lot of characters as aro, meaning that I tend to ignore any shippy fics with them. it would be nice to just filter all "/This Guy" fics instead of having to filter out every ship individually.

This would be incredibly helpful

Fixed in v0.5.
See https://github.com/jsmnbom/ao3-enhancements/releases/tag/v0.5.4.


General question on retraining and transfer learning

Hi @vuptran,
Thanks for creating this library!
I've got a more general question on retraining, locality and transfer learning.
Say I have a graph G_1, and another graph G_2. And let G_1 > G_2 in terms of edges and vertices.
Is it logically correct that if indeed the two graphs represents the same underlaying idea (i.e both represent social connections like facebook) but G_2 differs in that it has not edges to G_1, to train on subset of G_1 and validate on G_2?
Does the overall idea is to learn locality on subgraphs of G_1, or does it learn a more global structure?
And finally (if I may :)), would it be feasible to use a trained network that represents the same idea of a social graph (like facebook's) but to continue from a checkpoint or lock all layers expect the last one and retrain on a similar graph?
Again thank you so much for this and have a nice day!

Idan

Your question about transfer learning across graphs is about inductive reasoning. This method is about transductive reasoning, where the full adjacency matrix must be known in advance. Maybe this reference paper may help: https://arxiv.org/abs/1706.02216

@vuptran Thank you for your answer. Indeed this answer part of my question.
The other part which I hope is possible and is the use case I'm more interested in (and I'll phrase this loosely):
Given changes over time in a graph, for example new nodes or new edges:

Is it possible to predict missing edges or links for the new nodes
Is it possible to update the model, without retraining it fully to the new nodes and edges added (as this may effect performance in prediction of links)

Thank you for linking the paper, and I will sure to go over this as well. And thank you for taking the time to answer my last question.

@vuptran again, thank you! Have a nice day.


Mac Symbol not found: _CStringAppend

➜  test  python test.py
Traceback (most recent call last):
  File "test.py", line 2, in <module>
    import sqlparser
ImportError: dlopen(/Library/Python/2.7/site-packages/sqlparser.so, 2): Symbol not found: _CStringAppend
  Referenced from: /Library/Python/2.7/site-packages/sqlparser.so
  Expected in: flat namespace
 in /Library/Python/2.7/site-packages/sqlparser.so
➜  test  ll /Library/Python/2.7/site-packages/sqlparser.so
-rwxr-xr-x  1 root  wheel   626K  5  4 17:25 /Library/Python/2.7/site-packages/sqlparser.so
➜  test  more test.py
#!/usr/bin/env python
import sqlparser

query = "SELECT a, b FROM table_1 WHERE c > 20"
parser = sqlparser.Parser()

# Check for syntax errors
if parser.check_syntax(query) == 0:
    # Get first statement from the query
    stmt = parser.get_statement(0)

    # Get root node
    root = stmt.get_root()

    print root.__dict__

mac
python 2.7
pls help

As you can see in the Readme file, we unfortunately do not support OS X.
This Python module uses this SQL Parser library, but as far as I know, they are not offering any OS X binaries.

Sorry I didn't read it carefully,
This example is really great, I was attracted.
Do you have any other recommended in MAC OS?

I have been doing a lot of research and this library is the only one that met my requirements. So no, I can't tell you a good alternative for OS X, sorry.

Thank you all the same.


Repo sync for protected CLA branch

The pull request is created from main637931774790759640 to main to fix git push error for protected CLA branch

@PRMerger17 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Docs Build status updates of commit b4295bd:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error: GitBranchDeletedOrForcePushed] Cannot sync git repo to specified commit because branch main637931774790759640 has been deleted or has been force pushed

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 the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Refactor author model's id field

Right now the ID of the Author model is a UUID, it should be {host}/author/{uuid}

Are you sure? We store the host field. If you do author.get(pk=uuid).url() you should get something like that?

It seems like it, based on example_article
	"author": {
		"id":"http://<IP_ADDRESS>:5454/author/de305d54-75b4-431b-adb2-eb6b9e546013",
		"host":"http://<IP_ADDRESS>:5454/",
		"displayName":"Greg Johnson"
                "url":"http://<IP_ADDRESS>:5454/author/de305d54-75b4-431b-adb2-eb6b9e546013",
	},

ID is the same as URL here

It does seem strange though

I had included this in the initial setup
    @property
    def url(self):
        # In the future use url reverse
        # reverse('author', args=[str(id)])
        return("%s/author/%s" % (self.host, self.id))

But I think we will probably need to modify it, unless the API call can return this property? But I think its generated on the fly when it is called.

Our ID now: de305d54-75b4-431b-adb2-eb6b9e546013
What our ID should be: http://<IP_ADDRESS>:5454/author/de305d54-75b4-431b-adb2-eb6b9e546013


chore: publish version 0.1.6

Publish new version of gotrue-dart to be used inside of supabase-dart

@bdlukaa Does this look alright?

@dshukertjr Done!


TypeError: null is not an object (evaluating 'safeGetViewManagerConfig('LottieAnimationView').Commands')

After installing the package and use it as same as the example in the Readme, I'm getting the following error:
TypeError: null is not an object (evaluating 'safeGetViewManagerConfig('LottieAnimationView').Commands')

This error is located at:
    in RCTView (created by View)
    in View (created by AnimatedComponent)
    in AnimatedComponent
    in AnimatedComponentWrapper (at LottieView.js:178)
    in RCTView (created by View)
    in View (at LottieView.js:177)
    in LottieView (created by ExpoAvPlayer)
    in RCTView (created by View)
    in View (created by AnimatedComponent(View))
    in AnimatedComponent(View)
    in Unknown (created by ExpoAvPlayer)
    in RCTView (created by View)
    in View (created by AnimatedComponent(View))
    in AnimatedComponent(View)
    in Unknown
    in RCTView (created by View)
    in View
    in Unknown
    in RCTView (created by View)
    in View (created by AnimatedComponent(View))
    in AnimatedComponent(View)
    in Unknown (created by ExpoAvPlayer)
    in RCTView (created by View)
    in View (created by AnimatedComponent(View))
    in AnimatedComponent(View)
    in Unknown (created by ExpoAvPlayer)
    in Wrap (created by AnimatedComponent(Wrap))
    in AnimatedComponent(Wrap)
    in Unknown (created by GestureDetector)
    in GestureDetector (created by ExpoAvPlayer)
    in ExpoAvPlayer (created by DisplayVideoScreen)

According to the Lottie documentation, it is happening due to the non-linked Lottie. So do we need to link lottie-react-native manually? If so, can you please update the readme?

Installing lottie-react-native package and rebuilding the app solved the issue.
yarn add lottie-react-native
yarn android


BUG: Mastery line in Attacks only shown to GM

When an attack is rolled, the Mastery line with the link to the mastery property is only visible to the GM:

Left image is player view, right image is GM view.
I can see no reason for this to only be visible to the GM, so submitting it as a bug.
Foundry 12.331
dnd5e 4.0.4
only module installed: PHB v 1.2.0

Duplicate of https://github.com/foundryvtt/dnd5e/issues/4463


Is 30-seconds-of-css not participating in Hacktoberfest?

Details
Hacktober fest requires, hacktoberfest to be added as a topic in the repository.
The 30-seconds-of-python repo has this added, hoever, 30-seconds-of-css doesnot.

Yep. We announced yesterday that only JS and Python repos will be participating, so that we can actually keep up with PRs that are coming in and review them in time.


Feat: Create Select component

Overview

Implemented reusable "Select" component.

Review points

Is the implementation of "Select" related components all good? I'll leave some comments & concerns as review comments

Screen Captures

https://github.com/genesis-tech-tribe/nishiki-frontend/assets/99339182/e43556b6-ca50-4c05-9c01-1037b5b7bc6f
Note

I created "Select Trigger" component separately for now, since the logic for it is a bit long, and this is the only one component using "variants" and icon, of all "Select" related component. If there won't be any additional variants in the future, we can merge  "Select Trigger" into "Select" file.

Assignee Checklist:

[x] The base branch is correct (See: Types of Branches)
[x] The branch name follows the Branch Naming Conventions
[x] The correct assignees and reviewers have been designated for this PR
[x] The coding style follows the Coding Style Guide
[x] All the related issues are associated with this PR
[x] All criteria in the associated issues are met (please tick the checkboxes)
[x] My changes do not generate new warnings or errors (especially in the console)

Reviewer Checklist:

[x] The code follows the generic best practices and our Coding Style Guide
[x] Code is well-commented and easy to understand
[ ] UI changes accurately reflect the provided design

@kotaaaa
Thank you for your review!!
@uskayyyyy
Thank you for precise review and sorry for the delay.
I basically agreed with you, so I followed your review and fixed them, before replying to them.
I added comment on how I fixed the points you mentioned, so please refer to them and take another review on this PR on your convenience! Thank you 🙌

@kanta1207
Thank you for updating!

I added comment on how I fixed the points you mentioned

I don't see any comments from you...

@kanta1207 I have reviewed your update, and now I only want to discuss about this matter:
https://github.com/genesis-tech-tribe/nishiki-frontend/pull/114#discussion_r1433230281

@kanta1207 Thank you for the excellent update!

I added comment on how I fixed the points you mentioned

I don't see any comments from you though...

Sorry, I meant the comments on this PR on gitHub, not in code

@kanta1207 I have reviewed your update, and now I only want to discuss about this matter:
#114 (comment)

Thank you for all of the reviews!!
About  #114 (comment),
I thought I managed to fix it by adjusting the size, not making the position "item-aligned".
Do you want to  discuss about the number of height, or do you want to discuss about any other further concerns?

@kanta1207
I knew that you adjusted the height of SelectContent though. On smaller screens, it still overflows.
Let's discuss it later verbally.

@kanta1207 I knew that you adjusted the height of SelectContent though. On smaller screens, it still overflows. Let's discuss it later verbally.

After the discussion with you, I managed to fix the height (made it more flexible) by using calc()! Please take a look at them again 🙏

@kanta1207 Thank you for your excellent work! I will leave it up to you to decide whether to implement the design of SelectContent in this PR or a separate ticket. If you decide to handle it in this PR, please re-request me for a review.

Thank you for all the precise reviews!
I'll merge this PR for now, and create another smaller issue(ticket) to apply the design from Figma to SelectContent


Increment package version after release of com.azure azure-security-confidentialledger

API change check
API changes are not detected in this pull request.


Add Fennel plugin.

I have it working such that it can run the current file in a subprocess; this is basically cribbed from the moonscript.lua plugin and simplified since we don't have mobdebug support (yet).
However, it's missing the ability to start an interactive REPL (aka "console") session where you can send it code one expression at a time. I couldn't find anything in the docs about how to do this from a plugin, but this is a key feature for developing Fennel programs.
Also I was wondering if there was a way to make it so this doesn't show up in the "interpreters" menu unless you're currently editing a *.fnl file; I couldn't see anything about that in the documentation.
thanks!

Any thoughts on this change?


LPIPS metrics is wrong

I am sorry to bother you.
Thank you for your contribution to the integration. However, it is also important to note that this error will have disastrous consequences for other researchers who want to use your work for algorithm evaluation.

Hi @muchen12,
Terribly sorry for the late response and the error with the LPIPS metric. I've fixed this in commit d339a126b5f3ebd574c6414e7df73af1697102ea. Feel free to reach out if you see other issues.


setup semantic version and auto-tagging in repo

I wanted to hooked the repo to do semantic version and auto-tagging, like the NR-1-extension.

Setup github actions. you might be able to grab the .github directory from the nr1 vscode extension and have it work
install these dependencies @semantic-release/changelog @semantic-release/git semantic-release
add your access token to the secrets it's under Settings for the repo and Secrets in the left hand menu
replace the PUBLISHER_TOKEN value in the workflow.yml file with the name of your token
The OSS team needs to add the OPENSOURCE_BOT_TOKEN secret to the repo for OPENSOURCE_BOT

I've reached out to the open source team about the BOT_TOKEN


Ideas for OOP project

Hey guys, Hope everyone's projects are going well, and the bugs are on vacation...lol!
I'm currently in the midst of a 3 project pileup, and am looking for ideas on this project.
My skill level isn't NEARLY the same as some of you, who continuously impress me with your amazing skills, WELL DONE I SAY!!!
I suffered pretty bad in C++ and java, so the simpler the better..
Good luck, and thank you for your time! :)
Happy coding everyone!!

Hi!
I'm definitely not the best coder in this class either, but this project was a little easier for me. I decided to make an array of bubbles, (which was just a simple collection of circles), and make them "jitter". This satisfied the requirements of the homework, and was also and overall interesting experiment with arrays and the different classes you can assign. You can see my example and code here:
https://jackie98.github.io/120-work/hw-11/
https://github.com/Jackie98/120-work/tree/master/hw-10
I found it relatively simple to do, yet it was visually appealing enough that it didn't come off as too "amateur", like some of my other projects.
I hope that helps a little bit!
Jackie

Yeah, this project was very much "Design/make a 'thing' and make it do something. so you can get a little abstract-y or realistic with it.  I hit my time limit working on mine, so there isn't a sense of forward motion yet, and I'm happy we're getting to interactions this week, but I still like the overall effect I got and ended up probably 80% of where I wanted to be.  Check out my design here: https://dvsnell.github.io/120-work/hw-11/

Hey.
Hope you get the pile up sorted out. You shouldnt compair yourself to others we all have strengths and weaknesses. Hope your week is going well :). good luck on your codes.

sadly, I haven't...
I have a report for american Gov't, a 3 page website to build (I chose PC building, since I am a PC builder/gamer), and this project, which I haven't even started on yet...
I noticed he was a little 'late' in activating this week's assignment, so I feel like we might have some more time to do it..
Seems fair to me.
whatever I do, isn't gonna have much of a wow factor either, lol.

I kind of like the 'array of objects' idea, and it seems the best idea for the timeframe I have,
Maybe I'll try making some stars and have them 'move'..perhaps across the screen in some way? or twinkle..
Any ideas on how to start that ball rolling? I am a night owl, so I like stars, lol!

Making some stars sounds like a good idea!
What worked well for me this assignment was to first focus on making a class that worked the way I wanted it too before I started working with an array. After I had my functioning class I started modifying my code so that it could call an array of objects based on my class blueprints. I think the Shiffman videos follow a similar work flow. In earlier videos he writes a program with a class and then in the following videos he modifies his existing code to use an array of objects based on his previous class’s blueprints. Splitting the work into first understanding how classes work and then how classes work with arrays might help make things a little more manageable.
Good luck!

thanks, we'll see...still seems a bit daunting to my level...but it's all I can think of..

ok, so I am about done with everything else I need to do prior to starting this project.
I am not finding any ready guides on using arrays to create a number of stars/objects on the screen.
I saw a few of you mentioned the videos showing how to do it..I'll look into it..but any further insights would be helpful..
time is not on my side here :(

edit:
Found something useful, I'll see about adapting it...
link to found info:
https://stackoverflow.com/questions/31460262/drawing-object-arrays-with-js-canvas
looking into changing it a bit, so it either resets and reruns continuously, or change the object shape...not sure I can make things 'wiggle' or whatnot..
any ideas on either of those thoughts?
we'll see!

that code isn't working...
something is missing in it...
so back to square one..
getting worried...

ok...new idea..
Two arrays, first one stores values for x value, and the second one for the y..
The program uses them in tandem, to create the series of ellipses on the screen..
all the while, I'll have the framerate limited, so that the drawing is slow, and then it'll restart, and do it all over again..(the lowered framerate will enhance this process).
I suspect the best idea is to use a math.random function, with floor, to keep the numbers above a specific value, also, use the function to round it up to a whole number.
This will be applied to each array.
any ideas on making that happen? or have I gone off the deep end into 'YOU"VE LOST YOUR MIND" territory?


ENH: add feature handling to new style alignments

Summary by Sourcery
Add feature handling capabilities to new style alignments, enabling the creation, management, and projection of features on both aligned and unaligned sequences. Enhance the annotation system to support these operations and introduce extensive tests to ensure functionality and reliability.
New Features:

Introduce feature handling for new style alignments, allowing for the creation and management of features directly on alignments or sequences.

Enhancements:

Refactor the annotation handling to support both aligned and unaligned sequences, improving flexibility in feature management.

Tests:

Add comprehensive tests for feature handling in new style alignments, including tests for feature projection, annotation copying, and feature slicing.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>2
Details

77 of 83 (92.77%)  changed or added relevant lines in 3 files are covered.
3 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.07%) to 92.243%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/cogent3/core/new_alignment.py
64
70
91.43%

Files with Coverage Reduction
New Missed Lines
%

src/cogent3/maths/scipy_optimize.py
3
84.92%

Totals

Change from base Build<PHONE_NUMBER>9:
0.07%

Covered Lines:
33855

Relevant Lines:
36702

💛  - Coveralls


Display a editor gizmo icon for Listener3D

The icon was present in editor/icons/, but it was never implemented in the editor gizmos code. This gizmo's visibility can be toggled in the 3D viewport's View menu as usual.
This also removes some unused gizmo drawing code (overridden methods that are no longer called anywhere).
See https://github.com/godotengine/godot/pull/49266.
Preview
ReflectionProbe on the left, Listener3D on the right.

looks good, please rebase. I think it still needs approval from @JFonS

Rebased and tested again, it works successfully.

Thanks!


[.Net][Document]: Use AutoGen.Net agent as model in AG Studio

Using AutoGen.WebAPI, you can now start an openai chat backend from an IAgent
You can add third-party OpenAI model in AutoGen Studio

Ipso facto, you can consume AutoGen.Net agents in AutoGen Studio as an OpenAI model by starting a web api from IAgent using AutoGen.WebAPI
TODO
Turn the following steps into tutorial and put it on AutoGen.Net webside
Step 1. Create dotnet empty web app and install AutoGen and AutoGen.WebAPI package
dotnet new web
dotnet add package AutoGen
dotnet add package AutoGen.WebAPI

Step 2. Replace the Program.cs with following code
using AutoGen.Core;
using AutoGen.Service;

var builder = WebApplication.CreateBuilder(args);
var app = builder.Build();

var helloWorldAgent = new HelloWorldAgent();
app.UseAgentAsOpenAIChatCompletionEndpoint(helloWorldAgent);

app.Run();

class HelloWorldAgent : IAgent
{
    public string Name => "HelloWorld";

    public Task<IMessage> GenerateReplyAsync(IEnumerable<IMessage> messages, GenerateReplyOptions? options = null, CancellationToken cancellationToken = default)
    {
        return Task.FromResult<IMessage>(new TextMessage(Role.Assistant, "Hello World!", from: this.Name));
    }
}

Step 3: Start the web app
Run the following command to start web api
dotnet run

The web api will listen at `http://localhost:5264/v1/chat/completion

Step 4: In another terminal, start autogen-studio
autogenstudio ui

Step 5: Navigate to AutoGen Studio UI and add hello world agent as openai Model
Step 5.1: Go to model tab

Step 5.2: Select "OpenAI model" card

Step 5.3: Fill the model name and url
The model name needs to be same with agent name

Step 6: Create a hello world agent that uses the hello world model

Final Step: Use the hello world agent in workflow

@olaoluwasalami Hey, thanks for taking this issue voluntarily, let us know if you have any questions


Disconnected light info delay

Hello!
I have 6 registered Hue lights. I've found that if I disconnect (unplug) one of them it takes a little bit of time before I can query the light states and discern that indeed one light is disconnected (unreachable). Until this time the light state returns as "reachable," even though physically this is not true.
I'm not sure if this is an inherent limitation of the Bridge processing or if there is a way to force the Bridge to refresh its light info before pulling the light data a la:
this._lights = new HashSet<Light>(this.Client.GetLightsAsync().Result);
I also noticed that after the Bridge catches up and starts outputting the correct "reachable" state AND I shortly thereafter plug the light back in (reconnect it physically), the system returns the proper "reachable" state much faster.
Basically the system seems slow to recognize a registered light being disconnected, but it is quick to recognize that a registered light was connected.
Any thoughts? Thanks!

I don't think there is a way to force the bridge to refresh the light info. The Q42.HueApi just passes the data it gets from the bridge. The bridge is the source of truth.

Ok good to know. Thank you!


Support for modbus serial ?

Any interest in supporting modbus serial ?
I could give it a try - at least for the RTU flavor.
Thanks

I've been planning it for a while. Hoping to implement it this week, actually...

Wow, that's great :)
If that can be of any help, I'm available for feedback / testing in the field

Hey, still planning on doing this, and yes I'd like your feedback and testing when it's done :)
I'll update this when something is ready. This week hasn't been as "free" as I thought it would be...

RTU would be a nice addition.  Would recommend/request purejavacomm (https://github.com/nyholku/purejavacomm) for the serial implementation.  Alternatives (RX/TX or Sun's old one) are not "pure" java and are, at best, outdated.

Yep, still working on it, slowly. Doing it as a version 2.0.0 because it involves major package and module shuffling. I'm planning on using PureJavaComm for the serial implementation.

Hey, @kevinherron, have you released the support for ModBus Serial? I'm not able too find the RTU support in this repository.

No progress since last comment, but I'll need it for work in the coming months so I suspect that'll force it to get finished.

@kevinherron How goes serial implementation? do you want to commit to branch if any of us can help?

Hey @kevinherron, I'm too interested on this... ModbusSerial RTU would be gr8! Maybe we can all help you so it can be released sooner. How it goes?

Hey @casmeiron, we @hashmapinc has developed the Modbus_RTU you can take a look at the forked repo :

Thanks very much I will take a look into that!
Best Regards.
Sent from my iPhone.

On 30 Mar 2018, at 01:57, Shubham Gupta<EMAIL_ADDRESS>wrote:
Hey @casmeiron, we @hashmapinc has developed the Modbus_RTU you can take a look at the forked repo :
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Hey @kevinherron, have you released the support for ModBus Serial? I'm not able find the RTU support in this repository？

No, sorry, it never happened. I keep putting it off because the pressure to implement it for use at work went away. I do still plan to do it, but in the meantime you'll have to use some other library if you need RTU/serial support.

Done for 2.0, now available on master branch.


Statically link C libraries

Statically link C libraries now that CGO_ENABLED is set to 1. This eliminates dependencies on glibc version (#1010).

Failed experiment with CGO_ENABLED=1 and static linking. Dropped in favour of the solution used in fix-1010_split-u2f-build.


feat: Qol revamps

Codecov Report

Merging #149 (fdf4e64) into master (2224abb) will decrease coverage by 0.13%.
The diff coverage is 54.54%.

@@            Coverage Diff             @@
##           master     #149      +/-   ##
==========================================
- Coverage   45.54%   45.40%   -0.14%
==========================================
  Files          20       19       -1
  Lines        1570     1317     -253
==========================================
- Hits          715      598     -117
+ Misses        855      719     -136

Impacted Files
Coverage Δ

server/src/config.rs
100.00% <ø> (ø)

server/src/miner.rs
0.00% <ø> (ø)

server/src/router.rs
78.78% <0.00%> (-12.13%)
:arrow_down:

server/src/types.rs
6.54% <ø> (ø)

server/src/connection_list.rs
56.25% <37.50%> (-4.73%)
:arrow_down:

server/src/parsing.rs
47.29% <47.29%> (ø)

server/src/builder.rs
54.33% <60.00%> (+3.13%)
:arrow_up:

server/src/tcp.rs
63.21% <64.28%> (+10.17%)
:arrow_up:

server/src/server.rs
87.63% <84.61%> (-0.27%)
:arrow_down:

server/src/connection.rs
34.88% <100.00%> (+2.79%)
:arrow_up:

... and 10 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Panic when span is on \n in v5.4.1

Input text: "/\n"
Input span: 0..2
thread '<unnamed>' panicked at 'byte index 2 is out of bounds of /', /Users/boshenchen/.cargo/registry/src/github.com-1ecc6299db9ec823/miette-5.4.1/src/handlers/graphical.rs:624:21
https://github.com/zkat/miette/blob/3e25fd5b86324e16b33dd7e9192faa8015ead562/src/handlers/graphical.rs#L624
cc @Benjamin-L

The previous version was able to point to the newline.
  × Unterminated regular expression
   ╭─[./target/main.ts:1:1]
 1 │ /
   ·  ┬
   ·  ╰──
   ╰────

It also panics if the span is on EOF.

@Benjamin-L lol are we still being cursed by the same issue?

I also had this problem on 5.4.1 and 5.4.0. Version 5.3.0 is fine.

Oof, yeah I didn't realize that spans that contained the EOL were previously supported. I'll have a fix for this up in a bit. While working this out, I found a few edge cases that we'll want to make sure we have good behavior for:
Edge Cases
CRLFs
In v5.3.0, these end up rendering like this:
Source: source\r\ntext\r\n  here
Span: (8, 6)
Error: oops::my::bad

  × oops!
   ╭─[bad_file.rs:1:1]
 1 │ source
 2 │ text
   · ───┬──
   ·    ╰── this bit here
 3 │   here
   ╰────
  help: try doing it better next time?

This seems... probably not desirable, and instead the rendered highlight should only extend one visual column past the end of line.
EOF
Versions past 5.4.0 panic on a span including EOF. v5.3.0 doesn't panic, but the output is bad:
Source: source\ntext
Span: (7, 5)
Error: oops::my::bad

  × oops!
   ╭─[bad_file.rs:1:1]
 1 │     source
 2 │ ╭─▶ text
   ╰────
  help: try doing it better next time?

Similar to the CRLF case, I think the rendered highlight should only extend one column past the end of line.

It also panics if the span is on EOF.

@Boshen I actually wasn't able to reproduce this. When I tested v5.4.1 with a span including the EOF, I get the same bad behavior as v5.3.0, but I don't get a panic. Is this what you're seeing as well?


IN clause without parentheses is not working but work in Oracle DB

The following works on Oracle 11g:
update AsyncTaskManager set lastActive = SYS_EXTRACT_UTC(SYSTIMESTAMP) where sessionId in sessionId

Not sure if it is the same case but this example also fails
SELECT * FROM TABLE WHERE ID IN 381

Is that even legal? If im reading the grammar right, the in_clause requires (): https://docs.oracle.com/cd/B19306_01/server.102/b14200/conditions013.htm
So the correct syntax would be:
update AsyncTaskManager set lastActive = SYS_EXTRACT_UTC(SYSTIMESTAMP) where sessionId in (sessionId)

Is that even legal? If im reading the grammar right, the in_clause requires (): https://docs.oracle.com/cd/B19306_01/server.102/b14200/conditions013.htm

Some or all version of Oracle accept it.
Like other things in software, the caller should follow the interface strictly but the callee should be flexible as possible. JSqlParser should definitely have a mode that can understand the most as possible the SQLs. I can imagine a use case where it's used for strict validation but it not my use case.

@SebTardif I mostly ask since I usually go off of the grammar when making a contribution.

JSqlParser should definitely have a mode that can understand the most as possible the SQLs.

Yeah definitely we should be as flexible as possible.

Some or all version of Oracle accept it.

if you can find the version of oracle that accepts it, that would be nice , cause then I can base things off of their grammar. Im mostly new at all this stuff and I found that just implementing things according to the grammar made it easier (since it has stuff like (expr)* [foo] and those translate easily to javacc)

if you can find the version of oracle that accepts it, that would be nice
Using free Online Oracle at: https://livesql.oracle.com/apex/f?p=590:1000

SELECT * FROM v$version;
Oracle Database 19c Enterprise Edition Release <IP_ADDRESS>.0 - Production
Version <IP_ADDRESS>.0
SELECT * FROM all_tables where TABLE_NAME in 'DUAL'
// return the row without error;
SELECT * FROM all_tables where TABLE_NAME in 'DUAL', 'xyz'
// fail