Topdon TC001 Camera Special Commands

In Les' Lab's original video covering the PyThermalcam repo (https://www.youtube.com/watch?v=PiVwZoQ8_jQ), Les states @8:50 that "[the code] doesnt' send any of the special commands to the camera itself. It just receives raw data...".
Does this mean there are special commands associated for the TC001 camera that any dev has access to?

@92es
In Les' Lab's original video covering the PyThermalcam repo (https://www.youtube.com/watch?v=PiVwZoQ8_jQ), Les states @8:50 that "[the code] doesnt' send any of the special commands to the camera itself. It just receives raw data...".
Does this mean there are special commands associated with the TC001 that any dev has access to?

The TC001 has video out and has proprietary commands over the USB protocol.
Both Les's original Python script and this C/C++ app use just the video out.
I have requested the USB command spec (multiple times) from Topdon, but the request has fallen on deaf ears (multiple times).  They have resounded, "we are working on it", then crickets.
The ability to change emissivity settings (and a couple of other camera settings)  would be useful, but I don't want to brick any cameras via experimentation.
All of the features in this app is done externally in software after reading the raw data from the camera.  This app has more features than their OEM apps, sans a couple of internal camera settings.
Some other people have tried to reverse engineer some of the USB commands, but I have not experimented with their discoveries.  If you are interested in those commands, you can have a look at LeoDJ's page for the P2Pro.
[https://github.com/LeoDJ/P2Pro-Viewer/tree/main](https://github.com/LeoDJ/P2Pro-Viewer/tree/main)
Hope this answers your questions.


python312Packages.python-kasa: <IP_ADDRESS> -> 0.7.0.dev0

Diff: https://github.com/python-kasa/python-kasa/compare/refs/tags/<IP_ADDRESS>...0.7.0.dev0
Changelog: https://github.com/python-kasa/python-kasa/blob/0.7.0.dev0/CHANGELOG.md
Description of changes

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

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

pydantic>=1.10.15 not satisfied by version 1.10.14

Result of nixpkgs-review pr 313162 run on x86_64-linux 1

1 package failed to build:

home-assistant-component-tests.tplink

4 packages built:

python311Packages.python-kasa
python311Packages.python-kasa.dist
python312Packages.python-kasa
python312Packages.python-kasa.dist


Fix disqus

Hi,
I set the disqus here in _config.yml under the hexo directory instead of _config.yml in the theme, but this is indeed the correct approach.
So please help me change the README as well.


Find "Primordial Network" in system xxx

Random mission, primarily obtained via the Constellation mission board. You're supposed to find a "Primordial Network" on any of the planets of the system you've been send to. For me right now this is happening the third time. I recall one time it was in the "Gunibuu" system, now it's "Shoza". According to the internet this is a well knowen bug, and I personally used this fix: https://steamcommunity.com/app/1716740/discussions/0/5904837854443222266/

Details
According to the link provided upside the quest ID is: 001953FB. A fix is to set its stage to 100. The bug is happening because the "Primordial Network" is falsely placed on a moon, though I can not say if it as a moon orbiting the planet that's supposed to have the trait, or any other random planet. Another fix is, finding the moon that has the trait, and finish the quest. The moon is always supposed to be in the same system.
Game Version
<IP_ADDRESS>
Language
English (EN)
New Game
Yes
Reproduction Steps
Accept a Constellation, or general mission board mission, to find a "Primordial Network" and accept the quest. Known systems are: Vega, Gunibuu, and Shoza.

Since it's not mentioned in the issue itself: Apparently the bug that occurs is that locating a "Primordial Network" in the target system will not complete the quest properly (from the linked Steam discussion).

Bug is still alive and kicking. I've spend a couple of hours to nail the quest, but those random survey quests are tricky to deobfuscate to say the least. "SetStage 22607A 100" or "SetStage 184574 100" is still valid. All I can say is the quest fragment is properly setting the stage and quest objective etc. So my guess is either a wrong keyword or condition on any of the calling instances.

This appears to be an issue with a property being incorrectly filled.
MB_SurveyTrait17 "Locate <Alias=PrimaryRef> in <Alias=TargetSystemLocation>" [QUST:001953FB]
Property: PlanetTrait is pointing to PlanetTrait13GaseousFont "Gaseous Font" [KYWD:0029081B] but it should be PlanetTrait17PrimordialNetwork "Primordial Network" [KYWD:0029081A]
Location Alias #4 uses location type PlanetTrait17PrimordialNetwork "Primordial Network" [KYWD:0029081A] so the property and the location alias were not the same, as they should be.
Fix attached (needs testing).
PrimordialNetworkMBFix.zip

@Aurelianis I ran into this today, but did not save prior to scanning Kumasi I.

I have tested and seems to be working fine with the fix I attached

Oh that's a goodie @Aurelianis. Thank you. I have it integrated into my master patch. I'll get back to this bug report with feedback if things turn out positively.


Feature/twitter cards

This PR adds Twitter card metadata to each country and institution page and also adds a Twitter card image generator.
The Twitter card generator is not very efficient, they are generated by navigating to a page with the Twitter card, in a headless browser and taking a screenshot of the card with Puppeteer. For now I have just generated them once and the Airflow Workflow pulls them down from Cloud Storage and incorporates them into the latest.zip file for the website, they are then copied into the public folder when the website is built.
We should create a faster way to render the cards in the future, so that it will scale well as more institutions are added and so that the cards can be updated each time new data is generated.

Thanks @jdddog, looks good!
The only suggestion I have is to include the manual steps you made somewhere in the documentation.
I believe this is just running the card generator, zipping the files and then uploading the resulting zip file to the google cloud bucket?
And maybe also mentioning this step somewhere in the oa_web_workflow documentation.
Just thinking of this so we can avoid ending up with a 'twitter.zip' file in the google cloud bucket without anyone (or only us) knowing where that came from.
It might also depend on how soon you think this will be changed to a more automated process.

Thanks @jdddog, looks good!
The only suggestion I have is to include the manual steps you made somewhere in the documentation. I believe this is just running the card generator, zipping the files and then uploading the resulting zip file to the google cloud bucket? And maybe also mentioning this step somewhere in the oa_web_workflow documentation.
Just thinking of this so we can avoid ending up with a 'twitter.zip' file in the google cloud bucket without anyone (or only us) knowing where that came from. It might also depend on how soon you think this will be changed to a more automated process.

Thanks Aniek, I've added the documentation.


Release 0.13.1 missing spoolman-client.zip

install script calls for spoolman-client.zip, not included with latest release fails to unzip and exits out of install before completing
Python 3.9 or later is installed (Current version: 3.9.2)
Updating pip...
Installing Spoolman backend and its dependencies using PDM...
All packages are synced to date, nothing to do.
Installing the project as a package...
✔ Update spoolman 0.13.1 -> 0.13.1 successful
🎉 All complete!
Downloading Spoolman web client v0.13.1...
[spoolman-client.zip]
End-of-central-directory signature not found.  Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive.  In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of spoolman-client.zip or
spoolman-client.zip.zip, and cannot find spoolman-client.zip.ZIP, period.

Thanks for the report, fixed!

and what to do ?
I have the same problem

Should be enough to run the script again.
If you have a spoolman-client.zip in your Spoolman folder, remove it first.


PERF: Optimize session close lookups in MinuteResampleSessionBarReader

Adds session_closes_in_range method (along with session_opens_in_range) to TradingCalendar to allow vectorized retrieval of all values in a range of sessions.
Improves code path for resampling a single session's worth of data (as is the case when calling get_value), since we don't actually need to look up the close minute.

Coverage decreased (-0.05%) to 87.478% when pulling<PHONE_NUMBER>4d871912a3cbdd8bc308b552137437 on optimize-get-resampled into 4f6dd9bca8208cd819790f904c92db7d436f2943 on master.

Coverage increased (+0.0008%) to 87.532% when pulling 88a655f3fe37400481c9e764a88d5e4261874725 on optimize-get-resampled into 4f6dd9bca8208cd819790f904c92db7d436f2943 on master.


Increase Unit Test Coverage for Azure Storage File Shares

Add additional unit tests to get closer to 90% coverage.
https://azuresdkartifacts.blob.core.windows.net/azure-sdk-for-java/test-coverage/azure-storage-file-share/index.html#dn-c

Closing as azure-storage-file-share has very good code coverage, overall coverage is brought down by generated POJOs that don't have getters and setters tested but client testing coverage is high


Fix edge-case where numbers get parsed as integer

If a number gets sent as 0 (as opposed to 0.0), the variable ends up as integer.

Awesome, would it be possible to add a unit test to enforce this?
https://github.com/mtlynch/tinypilot/blob/master/app/tests/request_parsers/test_mouse_event.py

Done

Thanks!


Don't call on_leave when returning 'True' from states

Fixes an oversight where the StateMachine object uses True as an accepted return value from the state but the State object doesn't. We allow True as a return value to show that a looping state did use the message and it shouldn't be passed to the trap function.
@keyme/control-systems-engineers

LGTM

How was this tested?

I ran the mortise example programs including the testing example and then ran the cutter regression tests. All worked as expected.

There aren't any examples of returning True in the mortise testing examples or the cutter states (though I just did a cursory check).

The testing examples are meant to show people how to test their state machines, it isn't set up very well to test the actual state machine code. This is a feature we haven't used in any of our code which is why it was broken before. I'll write another example to show it's working as expected.

Added more examples that test the fixed behavior.

Thanks for appeasing me, but I also think for third parties less familiar with the code to understand how to use blocking.  LGTM!

I think the extra example is good and I caught a bug (imagine tests catching bugs?!)

LGTM


Allow Git Sync to target local filesystem

Is your feature request related to a problem? Please describe.
The Git Sync feature doesn't work with my company's self-hosted BitBucket instance, which uses a self-signed, internal certificate.
Describe the solution you'd like
Allow the Git Sync feature to simply target a repository on disk, leaving the git push up to the user.
Describe alternatives you've considered
n/a
Additional context
n/a

☝


Set default configuration when bot joins a new discord server

When the bot joins a new server, check if there is a config for this server, and if not, set up a new config using DEFAULT_CONFIG from config.js

Solved in v1.3.0


jsonBody takes object, not string?

Bug Report
Description
Fuel.post("https://httpbin.org/post")     .jsonBody("{ \"foo\" : \"bar\" }")     .also { println(it) }     .response { result -> println(result.get()) }
Doesn't seem to work, but if I change the argument to jsonBody to a map
 val data = mapOf("foo" to "bar") Fuel.post("https://httpbin.org/post")     .jsonBody(data)     .also { println(it) }     .response { result -> println(result.get()) }
It works just dandy (running locally against my own server).
To Reproduce
Steps to reproduce the behavior:
Test the above code, you'll see the body is a string in the first instance, json in the second.
// Test case or sample that shows broken behaviour and expected behaviour

Expected behavior
The string is automatically converted to json, or the documentation is updated to reflect what needs to be passed.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment
Development Machine
Complete the following information if applicable

OS: Linux Mint
IDE: IntelliJ
Fuel version: 2.2.3
Kotlin version: 1.3.72

Smartphone or Emulator
Complete the following information if applicable

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]

Additional context
Add any other context about the problem here.

Correct. It will serialize it for you.


Added --verbose flag to --help

Short description of the work completed

Added --verbose flag to --help, -h

Steps to test (if not obvious)

run tag-release --help --verbose
run tag-release -h --verbose

For Reviewer Use Only

[ ] Code Reviewed
[ ] Tests Passed
[ ] Coverage Reviewed
[ ] Feature worked as expected
[ ] Added or updated flags to --help and README.md
[ ] Is the version upgrade path clear for this change? (breaking vs minor vs
patch)
[ ] Follow up work tracked in a card if needed

I was wondering if it would be helpful at the end of the normal help if we spit out a special note like...
To get a flowchart included with --help add --verbose to the command
  example: tag-release --help --verbose


Create Global Configuration System

Let's copy the configuration system from Arken (config/config.go & config/default.go) to this project and then simplify the structs to just be what we need for AIT.
[Config Struct]

general

version

git

name
email

Completed with #15.


Remove contentRoot dependency to create locale path in georouting modal

Bug fix for georouting when content root is used.

Resolves: MWPW-131669
Test URLs:
CC (which has contentRoot)
When page exists for all locales in the georouting popup

Before: https://stage--cc--adobecom.hlx.page/de/creativecloud/photography/hub/guides/aperture-iris?akamaiLocale=fr&martech=off
After: https://stage--cc--adobecom.hlx.page/de/creativecloud/photography/hub/guides/aperture-iris?akamaiLocale=fr&milolibs=georouting&martech=off

When page doesn't exists for one of the locales in the georouting popup

Before: https://stage--cc--adobecom.hlx.page/creativecloud/video/hub/ideas/what-is-a-contrast-cut?akamaiLocale=in&martech=off
After: https://stage--cc--adobecom.hlx.page/creativecloud/video/hub/ideas/what-is-a-contrast-cut?akamaiLocale=in&milolibs=georouting&martech=off

Bacom (which doesn't have contentRoot defined)

Before: https://main--bacom--adobecom.hlx.page/kr/customer-success-stories?milolibs=georouting&martech=off
After: https://main--bacom--adobecom.hlx.page/kr/customer-success-stories?milolibs=georouting&martech=off

Note:
I do need confirmation in the scenario when page doesn't exists for one of the locales in the georouting popup. Like here
https://stage--cc--adobecom.hlx.page/creativecloud/video/hub/ideas/what-is-a-contrast-cut?akamaiLocale=in&milolibs=georouting&martech=off
The page it is redirecting to with this implementation is domain/locale (screenshot below). With current implementation it redirects to domain/locale/contentRoot

I'll be working on fixing the georouting unit test failure post this update

@vhargrave I looked at this https://wiki.corp.adobe.com/pages/viewpage.action?spaceKey=WP4&title=GeoRouting to understand the fallback logic. It says locale homepage will be the fallback which I understand means https://www.adobe.com/in in case of India for pages on adobe.com
Could you please confirm if my understanding is correct then I'll fix the code for this. Thanks.
cc @auniverseaway

changes are looking about right for me in principal now that we've decided to drop the contentRoot. If this isn't merged by tomorrow then I'll test it a bit more so I can give an approval. (Unit tests obviously need to be fixed by then though)

Thanks for taking a look @vhargrave. Please test it once you have some time and let me know if any concern. I am working on fixing unit test cases. Facing some challenges with mockConfig.


fix: prevent elastic scrolling when emoji picker is opened

Details
Prevent the elastic scrolling when EmojiPicker is opened
Fixed Issues
$ https://github.com/Expensify/App/issues/22939
PROPOSAL: https://github.com/Expensify/App/issues/22939#issuecomment-1655555722
Tests

Open ND and log in with any account
Go to any chat and tap on emoji button in the composer
Enter any key in the search field
Scroll up and down
Verify that the height of the emoji picker doesn't change when scrolling

[x] Verify that no errors appear in the JS console

Offline tests

Open ND and log in with any account
Go to any chat and tap on emoji button in the composer
Enter any key in the search field
Scroll up and down
Verify that the height of the emoji picker doesn't change when scrolling

QA Steps

Open ND and log in with any account
Go to any chat and tap on emoji button in the composer
Enter any key in the search field
Scroll up and down
Verify that the height of the emoji picker doesn't change when scrolling

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] If we are not using the full Onyx data that we loaded, I've added the proper selector in order to ensure the component only re-renders when the data it is using changes
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[x] I have checked off every checkbox in the PR author checklist, including those that don't apply to this PR.

Screenshots/Videos

Web
https://github.com/Expensify/App/assets/126839717/0d5a00ff-5ea8-4c7e-85f0-49b9acb8f34a

Mobile Web - Chrome
https://github.com/Expensify/App/assets/126839717/7f013cf3-a9e1-4388-a076-2f1e31fd5f06

Mobile Web - Safari
https://github.com/Expensify/App/assets/126839717/103d63a9-1043-4734-97fc-392bb80144b5

Desktop
https://github.com/Expensify/App/assets/126839717/52a3e2b9-46de-47c7-9d17-f1eda0d1deae

iOS
https://github.com/Expensify/App/assets/126839717/17bc01bc-1ef7-416b-9ad9-5ef06f6f2bc5

Android
https://github.com/Expensify/App/assets/126839717/b7219f1f-705c-449b-9d1c-ceb71a991da8

@sobitneupane
Will you take a look this PR?

@sobitneupane
I wasn't able to reproduce the h-scroll issue.
Can you let me know your test environment? Specifically os version

@amyevans
Will you take a look at the PR?

Can you let me know your test environment?

Testing on Android (real device)
Specs:
-> Browser : chrome
-> Android Version: 8.1.0

@sobitneupane
This issue was introduced by this PR?

This issue was introduced by this PR?

I believe so. After I revert the changes introduced by this PR, the issue is no longer reproducible.

@sobitneupane
Can you try to test with a updated version?

@s-alves10 Were you able to reproduce the issue?

@sobitneupane
I wasn't

I wasn't.

I am quite surprised you were not able to reproduce. I can reproduce the issue on Android emulator as well (API level 29).

https://github.com/Expensify/App/pull/24324#pullrequestreview-1572369943 is still reproducible?

Haven't test it yet. Going to test it now.

Thanks for the update @s-alves10. The issue is no longer reproducible. Can you please update the screenshots on PR body as well? So, that we can proceed to next step.
https://github.com/Expensify/App/assets/25876548/df8e1eae-3a7f-4490-a4cb-b42a0f28e52f

@sobitneupane
All videos were updated

@sobitneupane
All are ok for you now?

Yup. All good from my side.
cc: @amyevans

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by https://github.com/amyevans in version: 1.3.54-0 🚀

platform
result

🤖 android 🤖
failure ❌

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅

🚀 Deployed to staging by https://github.com/amyevans in version: 1.3.54-0 🚀

platform
result

🤖 android 🤖
failure ❌

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/yuwenmemon in version: 1.3.54-13 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Add CITATION.cff

Add CITATION.cff for the repo.
Authors: please check your ORCID ID and add information as needed.

LGTM

I would change the abstract to `Pythonic and parallelizable I/O for N-dimensional imaging data with OME metadata". Other than that, LGTM.
@talonchandler @ieivanov @edyoshikun please chime in too.

Thanks @ziw-liu!
I'll suggest a uniform affiliation to CZ Biohub SF instead of the current non-uniform Chan Zuckerberg Biohub San Francisco and CZ Biohub.
Otherwise, LGTM!


Set crosshair axis position

Hi,
Loving the crosshair feature!
Is it possible to have the position of the crosshair match the axis either automatically or manually?
See here for an example.

Feel free to close/move if this is a duplicate of #1596.
Many thanks,
Harry

In the example you provide, you’d like the x-value to be drawn on top (where the x-axis is) rather than on bottom, correct?


[BUG] KnowledgeBaseTool may return parameter placeholder not filled error

What is the bug?
I am implementing the the knowledge base tool. Unfortunately, I meet with a tricky bug from the connector. I did some deep dive and found the error is originating from validatePayload function from Connector.java.
How can one reproduce the bug?
Prerequisites: configure LLM and bedrock knowledge base, and then obtain their model_id.

Register the agent with knowledge base tool.

POST /_plugins/_ml/agents/_register
{
  "name": "Test_Agent_For_ReAct_KB",
  "type": "conversational",
  "description": "this is a test agent for knowledge base",
  "llm": {
    "model_id": "rBZl3pABQHtbJkH1MFP3",
    "parameters": {
      "max_iteration": 10,
      "stop_when_no_tool_found": true,
      "response_filter": "$.completion"
    }
  },
  "memory": {
    "type": "conversation_index"
  },
  "tools": [
    {
      "type": "KnowledgeBaseTool",
      "name": "OpensearchKnowledgeBaseTool",
      "description": "A tool to search the Opensearch knowledge base, the knowledge base consists of segments of OpenSearch documents. You should always search data with this tool when encountering general questions about Opensearch. But for questions about current concerete cluster, use this tool can not help you. If this tool provides useful info, give the answer and also quote the origin doc. If this tool can not provide knowledge you need, give answer based on your own knowledge. Action Input: {\"text\": <natrual language keywords for question>}",
      "parameters": {
        "model_id": "phZk3pABQHtbJkH1fVPy"
      }
    },
    {
      "type": "CatIndexTool",
      "name": "RetrieveIndexMetaTool",
      "description": "Use this tool to get OpenSearch index information: (health, status, index, uuid, primary count, replica count, docs.count, docs.deleted, store.size, primary.store.size)."
    }
  ],
  "app_type": "my app"
}

Execute the agent to retrieve documents on "agent framework".

POST /_plugins/_ml/agents/_haq3pABQHtbJkH1eVNE/_execute
{
  "parameters": {
    "question": "Use OpensearchKnowledgeBaseTool to get information about agent framework in opensearch",
    "verbose": true
  }
}

Receive the following error:

"{\"error\":{\"reason\":\"Invalid Request\",\"details\":\"Some parameter placeholder not filled in payload: VectorDBTool.output\",\"type\":\"IllegalArgumentException\"},\"status\":400}"

What is the expected behavior?
The retrieved documents from bedrock knowledge should be free from payload validation in connector.
What is your host/environment?

OS: [e.g. iOS]
Version [e.g. 22]
Plugins

Do you have any screenshots?
If applicable, add screenshots to help explain your problem.
Do you have any additional context?
Add any other context about the problem.

Here is one of the documents retrieved from the knowledge base. The substring ${parameters.VectorDBTool.output} matches the regex "\\$\\{parameters\\.([^}]+)}" in https://github.com/opensearch-project/ml-commons/blob/9b413a7212743a7820ab2dfb61b3c4b88ead2e12/common/src/main/java/org/opensearch/ml/common/connector/Connector.java#L82
\n\n Context:\n${parameters.VectorDBTool.output}\n\nHuman:Use OpensearchKnowledgeBaseTool to get information about agent framework in opensearch\n\nAssistant:"       }     }   ] } ``` {% include copy-curl.html %}  OpenSearch returns an agent ID for the newly created agent:  ```json {   "agent_id": "879v9YwBjWKCe6Kg12Tx" } ```  You can inspect the agent by sending a request to the `agents` endpoint and providing the agent ID:  ```json GET \/_plugins\/_ml\/agents\/879v9YwBjWKCe6Kg12Tx ``` {% include copy-curl.html %}  To execute the agent, send the following request. When registering the agent, you configured it to take in `parameters.question`, so you need to provide this parameter in the request.

This function may wrongly replace parameters from returned body:
https://github.com/opensearch-project/ml-commons/blob/9b413a7212743a7820ab2dfb61b3c4b88ead2e12/common/src/main/java/org/opensearch/ml/common/connector/HttpConnector.java#L311

Notice that the prompt for LLM may contain strings like ${parameters.foo}. Raised a PR to fix it: https://github.com/opensearch-project/ml-commons/pull/2724

Correct me, if I misunderstand. You mean the output of KnowledgeBaseTool can contain something like the string "${parameters.VectorDBTool.output}", right?

Correct me, if I misunderstand. You mean the output of KnowledgeBaseTool can contain something like the string "${parameters.VectorDBTool.output}", right?

Yes.

The bug also persists with remote LLM connector:
POST /_plugins/_ml/models/<remote_llm_model_id>/_predict/
{
  "parameters": {
    "prompt": """Human: What is ${parameters.foo} \n Assistant:"""
  }
}

And receives error
{
  "error": {
    "root_cause": [
      {
        "type": "illegal_argument_exception",
        "reason": "Some parameter placeholder not filled in payload: foo"
      }
    ],
    "type": "illegal_argument_exception",
    "reason": "Some parameter placeholder not filled in payload: foo"
  },
  "status": 400
}

Created an RFC as a solution: https://github.com/opensearch-project/ml-commons/issues/2748


web/sites properties incorrectly reported as nonexistent when referencing

Bicep version
Bicep CLI version 0.4.613 (d826ce8411)
Describe the bug
When referencing the  inboundIpAddress and  possibleInboundIpAddresses properties of a web site, Bicep informs that those properties don't exist, but ARM returns the contents of those properties without issue.
To Reproduce
resource siteRes 'Microsoft.Web/sites@2021-01-15' = {
  name: site.name
  location: resourceGroup().location
  tags: tags
(....)
}

output site object = {
  name: siteRes.name
  inboundIpAddress: siteRes.properties.inboundIpAddress
  possibleInboundIPAddresses: split(siteRes.properties.possibleInboundIPAddresses, ',')
}

Warning BCP053: The type "SiteProperties" does not contain property "inboundIpAddress". Available properties include "availabilityState", "clientAffinityEnabled", "clientCertEnabled", "clientCertExclusionPaths", "clientCertMode", "cloningInfo", "containerSize", "customDomainVerificationId", "dailyMemoryTimeQuota", "defaultHostName", "enabled", "enabledHostNames", "hostingEnvironmentProfile", "hostNames", "hostNamesDisabled", "hostNameSslStates", "httpsOnly", "hyperV", "inProgressOperationId", "isDefaultContainer", "isXenon", "keyVaultReferenceIdentity", "lastModifiedTimeUtc", "maxNumberOfWorkers", "outboundIpAddresses", "possibleOutboundIpAddresses", "redundancyMode", "repositorySiteName", "reserved", "resourceGroup", "scmSiteAlsoStopped", "serverFarmId", "siteConfig", "slotSwapStatus", "state", "storageAccountRequired", "suspendedTill", "targetSwapSlot", "trafficManagerHostNames", "usageState", "virtualNetworkSubnetId".
Warning BCP083: The type "SiteProperties" does not contain property "possibleInboundIPAddresses". Did you mean "possibleOutboundIpAddresses"?

+1

Can confirm this issue is still present today

Any update on this issue?

@adunaphel -- when you say it returns in ARM is that via a manual GET request? What happens when you output the whole resource object (output site object = siteRes)?

@alex-frankel When I run the code as mentioned in the original report, the output is as it should be, the properties are returned, it's just Bicep reporting the properties as nonexistent.


Azure file copy tasks fails with error when trying to copy file using an on-premise agent to azure storage

Troubleshooting
Enable debug on the task and checked the logs, receiving the below error:'
2018-12-14T17:38:43.1589619Z ##[debug]System.Exception: There was an error with the service principal used for the deployment. ---> System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond <IP_ADDRESS>:443
Environment

Azure Pipelines

Agent - Hosted or Private:
Private agent: on-premise, behind corporate firewall
Agent Version: 2.144.0
Agent OS: Windows_NT
Agent OS Version: 10.0.14393

Issue Description
Trying to copy file to a storage account using Azure File Copy task.
Task logs
Error Stack Trace:
2018-12-14T17:37:39.3883591Z ##[command]Clear-AzureRmContext -Scope Process
2018-12-14T17:38:00.5323926Z ##[command]Clear-AzureRmContext -Scope CurrentUser -Force -ErrorAction SilentlyContinue
2018-12-14T17:38:21.6714136Z ##[command]Add-AzureRMAccount -ServicePrincipal -Tenant *** -Credential System.Management.Automation.PSCredential -Environment AzureCloud
2018-12-14T17:38:43.0088025Z ##[error]An error occurred while sending the request.
2018-12-14T17:38:43.0094753Z ##[debug]Processed: ##vso[task.logissue type=error]An error occurred while sending the request.
2018-12-14T17:38:43.0490750Z ##[debug]Leaving Initialize-Azure.
2018-12-14T17:38:43.0627886Z ##[debug]Caught exception from task script.
2018-12-14T17:38:43.0657365Z ##[debug]Error record:
2018-12-14T17:38:43.1402226Z ##[debug]There was an error with the service principal used for the deployment.
2018-12-14T17:38:43.1411185Z ##[debug]At C:\vsts-agt-generic-01\_work\_tasks\AzureFileCopy_eb72cb01-a7e5-427b-a8a1-1b31ccac8a43\1.0.144\ps_modules\VstsAzureHelpers_\InitializeFunctions.ps1:222 char:17
2018-12-14T17:38:43.1420002Z ##[debug]+ ...             throw (New-Object System.Exception((Get-VstsLocString -Ke ...
2018-12-14T17:38:43.1428906Z ##[debug]+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2018-12-14T17:38:43.1437938Z ##[debug]    + CategoryInfo          : OperationStopped: (:) [], Exception
2018-12-14T17:38:43.1446458Z ##[debug]    + FullyQualifiedErrorId : There was an error with the service principal used for the deployment.
2018-12-14T17:38:43.1455366Z ##[debug]
2018-12-14T17:38:43.1468622Z ##[debug]Script stack trace:
2018-12-14T17:38:43.1493978Z ##[debug]at Initialize-AzureSubscription, C:\vsts-agt-generic-01\_work\_tasks\AzureFileCopy_eb72cb01-a7e5-427b-a8a1-1b31ccac8a43\1.0.144\ps_modules\VstsAzureHelpers_\InitializeFunctions.ps1: line 222
2018-12-14T17:38:43.1502381Z ##[debug]at Initialize-Azure, C:\vsts-agt-generic-01\_work\_tasks\AzureFileCopy_eb72cb01-a7e5-427b-a8a1-1b31ccac8a43\1.0.144\ps_modules\VstsAzureHelpers_\VstsAzureHelpers_.psm1: line 54
2018-12-14T17:38:43.1510686Z ##[debug]at <ScriptBlock>, C:\vsts-agt-generic-01\_work\_tasks\AzureFileCopy_eb72cb01-a7e5-427b-a8a1-1b31ccac8a43\1.0.144\AzureFileCopy.ps1: line 55
2018-12-14T17:38:43.1519305Z ##[debug]at <ScriptBlock>, <No file>: line 1
2018-12-14T17:38:43.1528378Z ##[debug]at <ScriptBlock>, <No file>: line 22
2018-12-14T17:38:43.1536683Z ##[debug]at <ScriptBlock>, <No file>: line 18
2018-12-14T17:38:43.1549776Z ##[debug]at <ScriptBlock>, <No file>: line 1
2018-12-14T17:38:43.1558463Z ##[debug]Exception:
2018-12-14T17:38:43.1589619Z ##[debug]System.Exception: There was an error with the service principal used for the deployment. ---> System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond <IP_ADDRESS>:443
2018-12-14T17:38:43.1598482Z ##[debug]   at System.Net.Sockets.Socket.InternalEndConnect(IAsyncResult asyncResult)
2018-12-14T17:38:43.1607121Z ##[debug]   at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
2018-12-14T17:38:43.1616213Z ##[debug]   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
2018-12-14T17:38:43.1624758Z ##[debug]   --- End of inner exception stack trace ---
2018-12-14T17:38:43.1633371Z ##[debug]   at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
2018-12-14T17:38:43.1641187Z ##[debug]   at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
2018-12-14T17:38:43.1649798Z ##[debug]   --- End of inner exception stack trace ---
2018-12-14T17:38:43.1658230Z ##[debug]   at Microsoft.Rest.RetryDelegatingHandler.<SendAsync>d__15.MoveNext()
2018-12-14T17:38:43.1666803Z ##[debug]--- End of stack trace from previous location where exception was thrown ---
2018-12-14T17:38:43.1675663Z ##[debug]   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2018-12-14T17:38:43.1684673Z ##[debug]   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2018-12-14T17:38:43.1693435Z ##[debug]   at Microsoft.Azure.Commands.Common.Authentication.Factories.CancelRetryHandler.<SendAsync>d__12.MoveNext()
2018-12-14T17:38:43.1701985Z ##[debug]--- End of stack trace from previous location where exception was thrown ---
2018-12-14T17:38:43.1710421Z ##[debug]   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2018-12-14T17:38:43.1718907Z ##[debug]   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2018-12-14T17:38:43.1727477Z ##[debug]   at Microsoft.Azure.Internal.Subscriptions.SubscriptionsOperations.<ListWithHttpMessagesAsync>d__7.MoveNext()
2018-12-14T17:38:43.1735971Z ##[debug]--- End of stack trace from previous location where exception was thrown ---
2018-12-14T17:38:43.1744721Z ##[debug]   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2018-12-14T17:38:43.1753170Z ##[debug]   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2018-12-14T17:38:43.1761467Z ##[debug]   at Microsoft.Azure.Internal.Subscriptions.SubscriptionsOperationsExtensions.<ListAsync>d__5.MoveNext()
2018-12-14T17:38:43.1770036Z ##[debug]--- End of stack trace from previous location where exception was thrown ---
2018-12-14T17:38:43.1778719Z ##[debug]   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2018-12-14T17:38:43.1787015Z ##[debug]   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2018-12-14T17:38:43.1795683Z ##[debug]   at Microsoft.Azure.Internal.Subscriptions.SubscriptionsOperationsExtensions.List(ISubscriptionsOperations operations)
2018-12-14T17:38:43.1804877Z ##[debug]   at Microsoft.Azure.Commands.ResourceManager.Common.Paging.GenericPageEnumerator`1..ctor(Func`1 list, Func`2 listNext, UInt64 first, UInt64 skip)
2018-12-14T17:38:43.1813350Z ##[debug]   at Microsoft.Azure.Commands.ResourceManager.Common.Paging.GenericPageEnumerable`1.GetEnumerator()
2018-12-14T17:38:43.1821718Z ##[debug]   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
2018-12-14T17:38:43.1830238Z ##[debug]   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
2018-12-14T17:38:43.1839171Z ##[debug]   at Microsoft.Azure.Commands.ResourceManager.Common.RMProfileClient.TryGetTenantSubscription(IAccessToken accessToken, IAzureAccount account, IAzureEnvironment environment, String tenantId, String subscriptionId, String subscriptionName, IAzureSubscription& subscription, IAzureTenant& tenant)
2018-12-14T17:38:43.2051725Z ##[debug]   at Microsoft.Azure.Commands.ResourceManager.Common.RMProfileClient.Login(IAzureAccount account, IAzureEnvironment environment, String tenantId, String subscriptionId, String subscriptionName, SecureString password, Boolean skipValidation, Action`1 promptAction, String name, Boolean shouldPopulateContextList)
2018-12-14T17:38:43.2052239Z ##[debug]   at Microsoft.Azure.Commands.Profile.ConnectAzureRmAccountCommand.<>c__DisplayClass87_0.<ExecuteCmdlet>b__0(AzureRmProfile localProfile, RMProfileClient profileClient, String name)
2018-12-14T17:38:43.2052577Z ##[debug]   at Microsoft.Azure.Commands.Profile.Common.AzureContextModificationCmdlet.ModifyContext(Action`2 contextAction)
2018-12-14T17:38:43.2052858Z ##[debug]   at Microsoft.Azure.Commands.Profile.ConnectAzureRmAccountCommand.SetContextWithOverwritePrompt(Action`3 setContextAction)
2018-12-14T17:38:43.2053091Z ##[debug]   at Microsoft.Azure.Commands.Profile.ConnectAzureRmAccountCommand.ExecuteCmdlet()
2018-12-14T17:38:43.2053447Z ##[debug]   at Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet.ProcessRecord()
2018-12-14T17:38:43.2053805Z ##[debug]   --- End of inner exception stack trace ---
2018-12-14T17:38:43.2054982Z ##[error]There was an error with the service principal used for the deployment.
2018-12-14T17:38:43.2055386Z ##[debug]Processed: ##vso[task.logissue type=error]There was an error with the service principal used for the deployment.
2018-12-14T17:38:43.2056341Z ##[debug]Processed: ##vso[task.complete result=Failed]
2018-12-14T17:38:43.2322324Z ##[section]Finishing: AzureBlob File Copy : EDL custom script

As discussed offline, this was a proxy issue.
We have added support for reading proxy passed while configuring agent in Azure File Copy V3 task. The updated task will be released to all accounts in 2-3 weeks.


Bug int unsigned decimal

On MySQL 5 the following column
xxx decimal(6,2) unsigned
is converted to:
$table->decimal('xxx', 6, 2) unsigned->unsigned()

Another example using TablePlus 4.0.5(168) and the latest available tabledump for bigint:
$table->bigint unsigned('id')->unsigned()->autoIncrement();

It should be $table->id() if column name is id


Grafana Chart now showing

I am not sure if this is an Issue for this Repo or is better to be posted to monocular
https://hub.helm.sh/charts?q=grafana
Does not show the stable/grafana chart and I am unsure what could be causing this since it is reachable here: https://hub.helm.sh/charts/stable/grafana

I believe this is a duplicate of https://github.com/helm/hub/issues/187. This is an issue with the whitespace… scroll down and you should see the chart.


[ITBL-3976] Push Revamp

Add dynamic creation of categories with action buttons, automatic tracking, some SDK API changes.

Should be almost done now. We're calling the URL delegate for all deep links now, and there is no default behavior for now (it doesn't try to open a browser or simulate a real deep link). It should be good for now, but we can expand on the default behavior later.

@davidtruong Updated the PR.

Per the http call: Did you try checking this with NSAllowsArbitraryLoads set to false? Just confirming since I see it set to true in in this PR.

Added iOS < 10 support for push actions and tracking + tests.


Chose a name for the Wallet

This issue is a discussion to throw ideas on how the current Wallet should be named;
Some initial ideas;

Fuel Wallet?
Fast Wallet?

Throwing in my suggestion for Fuel Tank (Stores all your gas) and Sparky (Your Fuel companion)


Admin access

Is this repo still relevant @solidgoldpig ? If so, could you grant admin access please

I don't think it is relevant any more - the Electron console app has rendered it redundant
I'll let you read it (and its corresponding 20 page help docs) and weep - and then you can delete it ;)


External-Only Empty States

Updated empty states for all sections:
Empty states (for EA-only mode)

Devtron-app on app list
Chart store
Deployment group
Security
Bulk Edit

https://zpl.io/2vQ6Nv7
Fixes: https://github.com/devtron-labs/dashboard/pull/235

merged


undefined method `say_status'

Hello, I try to use favicon maker with Middleman 4 and Rails 2.3.1.
When I launch the build, it generates the first favicon in the right directory. After that, I've got the following error:
/Users/Nicolas/.rvm/gems/ruby-2.3.1/gems/middleman-favicon-maker-3.7/lib/middleman-favicon-maker/extension.rb:34:in block (2 levels) in after_build': undefined method `say_status' for #Middleman::Builder:0x007fae65272340 (NoMethodError)
Here is my config.rb configuration:

activate :favicon_maker do |f|
    f.template_dir  = "source/"
    f.output_dir  = "source/images/favicon"
    f.icons = {
      "_favicon.png" =>   [
        { icon: "apple-touch-icon-180x180-precomposed.png" },             # Same as apple-touch-icon-57x57.png, for iPhone 6 Plus with @3× display
        { icon: "apple-touch-icon-152x152-precomposed.png" },             # Same as apple-touch-icon-57x57.png, for retina iPad with iOS7.
        { icon: "apple-touch-icon-144x144-precomposed.png" },             # Same as apple-touch-icon-57x57.png, for retina iPad with iOS6 or prior.
        { icon: "apple-touch-icon-120x120-precomposed.png" },             # Same as apple-touch-icon-57x57.png, for retina iPhone with iOS7.
        { icon: "apple-touch-icon-114x114-precomposed.png" },             # Same as apple-touch-icon-57x57.png, for retina iPhone with iOS6 or prior.
        { icon: "apple-touch-icon-76x76-precomposed.png" },               # Same as apple-touch-icon-57x57.png, for non-retina iPad with iOS7.
        { icon: "apple-touch-icon-72x72-precomposed.png" },               # Same as apple-touch-icon-57x57.png, for non-retina iPad with iOS6 or prior.
        { icon: "apple-touch-icon-60x60-precomposed.png" },               # Same as apple-touch-icon-57x57.png, for non-retina iPhone with iOS7.
        { icon: "apple-touch-icon-57x57-precomposed.png" },               # iPhone and iPad users can turn web pages into icons on their home screen. Such link appears as a regular iOS native application. When this happens, the device looks for a specific picture. The 57x57 resolution is convenient for non-retina iPhone with iOS6 or prior. Learn more in Apple docs.
        { icon: "apple-touch-icon-precomposed.png", size: "57x57" },      # Same as apple-touch-icon.png, expect that is already have rounded corners (but neither drop shadow nor gloss effect).
        { icon: "apple-touch-icon.png", size: "57x57" },                  # Same as apple-touch-icon-57x57.png, for "default" requests, as some devices may look for this specific file. This picture may save some 404 errors in your HTTP logs. See Apple docs
        { icon: "favicon-196x196.png" },                                  # For Android Chrome M31+.
        { icon: "favicon-160x160.png" },                                  # For Opera Speed Dial (up to Opera 12; this icon is deprecated starting from Opera 15), although the optimal icon is not square but rather 256x160. If Opera is a major platform for you, you should create this icon yourself.
        { icon: "favicon-96x96.png" },                                    # For Google TV.
        { icon: "favicon-32x32.png" },                                    # For Safari on Mac OS.
        { icon: "favicon-16x16.png" },                                    # The classic favicon, displayed in the tabs.
        { icon: "favicon.png", size: "16x16" },                           # The classic favicon, displayed in the tabs.
        { icon: "favicon.ico", size: "64x64,32x32,24x24,16x16" },         # Used by IE, and also by some other browsers if we are not careful.
        { icon: "mstile-70x70.png", size: "70x70" },                      # For Windows 8 / IE11.
        { icon: "mstile-144x144.png", size: "144x144" },
        { icon: "mstile-150x150.png", size: "150x150" },
        { icon: "mstile-310x310.png", size: "310x310" },
        { icon: "mstile-310x150.png", size: "310x150" }
      ]
    }
  end

And the favicon generation doesn't work for me without  f.template_dir and  f.output_dir .

Your Output_Dir should be pointed to the Build folder
i.e.  f.output_dir  = "build/images/favicon"

@iwarner I changed
f.output_dir  = "source/images/favicon"
to
f.output_dir  = "build/images/favicon"
but still had the same issue (generating only the first favicon and raising an "undefined 'say_status' error".
I commented the 'say_status' calling in extension.rb
each_icon do |filepath, template_filepath|
   builder.say_status :create, filepath
end

and it generates all icons well (but remove the feedback on 'build').
With more research I've found that say_status has changed ( https://github.com/middleman/middleman/issues/1492 ) and it seems extensions author should use builder.trigger instead:
each_icon do |filepath, template_filepath|
  builder.trigger :create, filepath
end

I've tested it and it works fine, both for generating icons and giving feedback on build.

Just saw the gem was already updated, nvm :) thx !


Remove call to finished

LGTM

looks like a quick rebase and this should be good to go!

Redundant, closing.


Compile for V20 Unleashed

Current release unable to use. Thanks!

Hi,
Sorry for the delay, I just merge changes about mutex API (#8), seem to solve the issue.
Best regards


refactoring the ics23 spec

This is a refactoring of the ICS23 spec, which took more effort than I expected (about 8hrs in total):

[x] the spec is now split in multiple files,
[x] the spec is now using the up-to-date syntax and idioms,
[x] importantly, hashes are modelled as symbolic terms, see hashes.qnt
[x] removed TLA+ files, as we do not want to maintain them in the long run,
[x] removed the simple PBT tests, as they were not useful, in favor of tree generators treeGen.qnt.

Reviewing this specification is probably a big effort. So I would appreciate at least a quick glance, to check that nothing weird stands out.

I thought this was good to merge, but something in 60a2df4944beb174a312c28fd5a98cb77e9a0c80 broke the verifyNonMembershipTest in ics23test.

Notes, mostly for my future self: My fix from 1115a51 were enough to make the existing invariants hold on simulations, but even after playing with the verifyNonMembership tests a lot, and checking that the mocked proofs match the generated ones, they were still failing.
I noticed that the invariants had a lot of non-determinism, so I wrote a stronger invariant that checks verifyNonMembership results for all possible keys, and that doesn't hold.
Upon debugging, I found that isLeftStep is returning false for a proof I expected to be verified. It fails on the hasPadding test, but I'm not convinced this is the only issue. At this point, I don't understand where/how we should add prefixes that are longer than the minPrefix from IavlSpec (4).


hid-ite8291r3: init at unstable-2022-06-01

Description of changes
Add a module enabling the control of the keyboard backlight on QC71 laptop.
Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/1022

@ofborg build linuxPackages.hid-ite8291r3

corrected the conflicts

@ofborg build linuxPackages.hid-ite8291r3


Feature Request: Post Versioning

Something similar to how Wordpress versions posts.  Wordpress has a revision history that you are able to navigate through and revert posts to previously saved versions.
I might be able to tackle this after the holidays if it's something that you would like in the main repo.

Yeah, I feel like maybe this should be in a separate table (e.g. blog_post_history) with 3 main fields: post_id, date, and post_body.
Also I'd throttle how often it creates revisions, maybe a minimum amount of time has to go by as well as a certain amount of characters added or deleted.
@hellogerard thoughts?

:+1: Astronomy plans to implement support for document versioning in collections.


doc(gry): add details about product API

update the readme for instructions so customers can easily use our product service API.

Looks good! Well done!


Would it be possible to use on-page content to define the Tab text?

I have a large number of pages that use code to change the content so the URL remains the same, but I need to have the tabs change based on content on the actual page.
If this is something I should pull and work on myself, I can, but if someone know of an easy way to implement, that would be appreciated too. Also happy to contribute to the project $.
Thanks!

Hello,
Can you describe an example on what result you expect?
Bests

Hello
I wish I could do that.
Example: I have the following line of a web page (Facebook) taken from the option "right click, search".
 Roberto
Could I have the name of the tab with the name Roberto?
Example:
Title
Test {call of the text "Roberto" indicated on the line of the web page}

Final result of the tab:
Test Roberto
Thanks so much for the help and response :)

Looks like that's a feature of the extension already.
For Amperio's code above, you would use {.linkWrap} in the title (including brackets).

Hello,
Closing for not enough precisions. Feel free to reopen if you can add more information.
Best


Incorrect package name

Hi, just want to report that @nandorojo/swr-react-native is not in the npm registry but nandorojo/swr-react-native is.

Thanks for the heads up I'll fix that!

Solved: yarn add @nandorojo/swr-react-native

Solved: yarn add @nandorojo/swr-react-native


Release 0.9.9

Fixed a bug where a deprecated API endpoint was causing constant error messages
Upgraded the underlying bunqJSClient to work with other incoming breaking changes
Card refunds now show as a positive/green transaction
Added the new Green card image to cards overview

Will upgrade the bunqJSClient for the latest changes and then release this tonight hopefully. The key we use for releasing to the snapstore has probably expired again at this point so I'll have to check that aswell

Lets see


[type: test]:Add logging-elasticsearch spring-boot-starter test

Add logging-elasticsearch spring-boot-starter test

Make sure that:

[ ] You have read the contribution guidelines.
[ ] You submit test cases (unit or integration tests) that back your changes.
[ ] Your local test passed ./mvnw clean install -Dmaven.javadoc.skip=true.

Codecov Report

Merging #3626 (65cc501) into master (5b42774) will decrease coverage by 0.70%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master    #3626      +/-   ##
============================================
- Coverage     62.82%   62.12%   -0.71%
+ Complexity     5856     5805      -51
============================================
  Files           886      888       +2
  Lines         24651    24703      +52
  Branches       2253     2257       +4
============================================
- Hits          15487    15346     -141
- Misses         7716     7897     +181
- Partials       1448     1460      +12

Impacted Files
Coverage Δ

...h/elasticsearch/ElasticSearchLogCollectClient.java
48.93% <0.00%> (-14.11%)
:arrow_down:

...henyu/plugin/logging/kafka/LoggingKafkaPlugin.java
22.72% <0.00%> (-72.73%)
:arrow_down:

...plugin/logging/rocketmq/LoggingRocketMQPlugin.java
22.72% <0.00%> (-72.73%)
:arrow_down:

...ging/elasticsearch/LoggingElasticSearchPlugin.java
22.72% <0.00%> (-72.73%)
:arrow_down:

...ache/shenyu/plugin/grpc/cache/GrpcClientCache.java
75.00% <0.00%> (-25.00%)
:arrow_down:

...n/logging/kafka/body/LoggingServerHttpRequest.java
0.00% <0.00%> (-20.00%)
:arrow_down:

...ogging/rocketmq/body/LoggingServerHttpRequest.java
0.00% <0.00%> (-20.00%)
:arrow_down:

...ch/body/LoggingElasticSearchServerHttpRequest.java
0.00% <0.00%> (-20.00%)
:arrow_down:

...gin/logging/kafka/kafka/KafkaLogCollectClient.java
34.69% <0.00%> (-18.37%)
:arrow_down:

...henyu/plugin/grpc/resolver/ShenyuNameResolver.java
57.44% <0.00%> (-14.90%)
:arrow_down:

... and 57 more

Continue to review full report at Codecov.

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


Timeout casting probably after the latest google update, the day before yesterday it was still working, today it’s not working anymore

This error originated from a custom integration.
Logger: custom_components.continuously_casting_dashboards.dashboard_caster
Source: custom_components/continuously_casting_dashboards/dashboard_caster.py:360
integration: Continuously Cast Dashboards (documentation)
First occurred: 20:05:48 (4 occurrences)
Last logged: 20:08:09
Timeout casting dashboard to Kitchen Nest Hub:

catt also cannot display the site on the device
the volume is adjustable in both cases

it worked on its own


Testcase for css-in-js

Related to https://github.com/stereobooster/react-snap/issues/76
All possible examples of inserting CSS into the document. As of now it only tracks external files
./bin/minimalcss.js http://<IP_ADDRESS>:8080/css-in-js.html
.external{color:red}

The question is: should minimalcss track css-in-js generated css or not. minimalcss should not take into account existing style tags (.inline in given example).  They can be tracked at first load (without JS).
UPD: if we treat minimalcss as a tool which returns set of css rules required to render current page it doesn't matter where css comes from. It would be nice to have config to specify what to take into account: external (e.g. <link>), dynamic styles, all available styles. WDYT?

I solved original issue in react-snap. Not sure if minimalcss should handle those cases or not. Let me know what do you think and close PR


Update leipzig-gloss repo URL on README.md

The url of the leipzig-gloss package repository should be code.everydayimshuflin.com

I'm the maintainer of leipzig-gloss, I changed the URL of the Gitea instance where I host the repo and wanted to update the URL here.


Add Zookeeper HA clustering #22

This PR adds clustering to the Zookeeper deployment.
Note: Since the Zookeeper cluster takes longer to bootstrap it self it might happen that when you deploy both Kafka and Zookeeper together (such as with OpenShift template), the Kafka pods will start before the Zookeeper cluster is ready and might restart few times. This is expected behaviour.

I resolved the conflicts as well, so now it should be mergeable.

lgtm


Extremely high gas (.7 or .8 eth) required for a challenge. (But gas is at 56 gwei.)

Describe the Bug
I'm trying to start a challenge, but Metamask states that .7 or .8 eth (USD 2,300+) for gas is required.
Expected Behavior
Gas should be far less, under $100 at the moment. (Based on txns seen on etherscan which were done a couple of hours ago.)
Screenshots

Device and Browser Information
Chrome browser + Metamask

I found that I only get this extreme gas fee when using Metamask.

You probably don't have enough funds. Possible duplicate of #256 .

Another reason metamask gives incorrect predictions is because the transaction would revert. Did someone else challenge it before you?

Nope - I was able to challenge it just fine using another wallet.

It seems to not be a problem anymore. If it happens again please reopen, join https://t.me/pohDebug and DM me the affected profile.

My wife just had the same problem: On her Mac this time, using Brave with Metamask:

I've discovered this is a known Metamask issue when the wallet doesn't have enough funds for a transaction: https://github.com/MetaMask/metamask-extension/issues/10276


Error in installation via vendetta manager

Vendetta Manager v1.0.99
Built from commit b97692b on main (Changes Present)
Running Android 14, API level 34
Supported ABIs: arm64-v8a, armeabi-v7a, armeabi
Checking if base-209014.apk is cached
base-209014.apk is cached
Move base-209014.apk to working directory
Checking if config.arm64_v8a-209014.apk is cached
config.arm64_v8a-209014.apk is cached
Move config.arm64_v8a-209014.apk to working directory
Checking if config.en-209014.apk is cached
config.en-209014.apk is cached
Move config.en-209014.apk to working directory
Checking if config.xxhdpi-209014.apk is cached
config.xxhdpi-209014.apk is cached
Move config.xxhdpi-209014.apk to working directory
Checking if vendetta.apk is cached
vendetta.apk is cached
Move vendetta.apk to working directory
Replacing mipmap-xhdpi-v4 with ic_logo_foreground.png
Replacing mipmap-xxhdpi-v4 with ic_logo_foreground.png
Replacing mipmap-xxxhdpi-v4 with ic_logo_foreground.png
Replacing mipmap-xhdpi-v4 with ic_logo_square.png
Replacing mipmap-xxhdpi-v4 with ic_logo_square.png
Replacing mipmap-xxxhdpi-v4 with ic_logo_square.png
Replacing mipmap-xhdpi-v4 with ic_logo_foreground.png
Replacing mipmap-xxhdpi-v4 with ic_logo_foreground.png
Replacing mipmap-xxxhdpi-v4 with ic_logo_foreground.png
Reading AndroidManifest.xml from base-209014.apk
Changing package and app name in base-209014.apk
Deleting old AndroidManifest.xml in base-209014.apk
Adding patched AndroidManifest.xml in base-209014.apk
Reading AndroidManifest.xml from config.arm64_v8a-209014.apk
Changing package and app name in config.arm64_v8a-209014.apk
Changing package name in config.arm64_v8a-209014.apk
Deleting old AndroidManifest.xml in config.arm64_v8a-209014.apk
Adding patched AndroidManifest.xml in config.arm64_v8a-209014.apk
Reading AndroidManifest.xml from config.en-209014.apk
Changing package and app name in config.en-209014.apk
Changing package name in config.en-209014.apk
Deleting old AndroidManifest.xml in config.en-209014.apk
Adding patched AndroidManifest.xml in config.en-209014.apk
Reading AndroidManifest.xml from config.xxhdpi-209014.apk
Changing package and app name in config.xxhdpi-209014.apk
Changing package name in config.xxhdpi-209014.apk
Deleting old AndroidManifest.xml in config.xxhdpi-209014.apk
Adding patched AndroidManifest.xml in config.xxhdpi-209014.apk
Creating dir for signed apks
Byte aligning base-209014.apk
Removing old resources.arsc
Adding aligned resources.arsc
Byte aligning config.arm64_v8a-209014.apk
Byte aligning config.en-209014.apk
Removing old resources.arsc
Adding aligned resources.arsc
Byte aligning config.xxhdpi-209014.apk
Removing old resources.arsc
Adding aligned resources.arsc
Signing base-209014.apk
Signing config.arm64_v8a-209014.apk
Signing config.en-209014.apk
Signing config.xxhdpi-209014.apk
Processing /storage/emulated/0/Android/data/dev.beefers.vendetta.manager/cache/209014/signed/config.en-209014.apk -> /storage/emulated/0/Android/data/dev.beefers.vendetta.manager/cache/209014/patched/lspatched/config.en-209014-375-lspatched.apk
apk path: /storage/emulated/0/Android/data/dev.beefers.vendetta.manager/cache/209014/signed/config.en-209014.apk
Parsing original apk...
Register apk signer with custom keystore...
original appComponentFactory class: null
original minSdkVersion: 0
Patching apk...
Adding config...
Adding metaloader dex...
Adding loader dex...
Adding native lib...
added assets/lspatch/so/x86_64/liblspatch.so
added assets/lspatch/so/x86/liblspatch.so
added assets/lspatch/so/armeabi-v7a/liblspatch.so
added assets/lspatch/so/arm64-v8a/liblspatch.so
Embedding modules...

com.vendetta.xposed
Creating nested apk link...
Writing apk...
Done. Output APK: /storage/emulated/0/Android/data/dev.beefers.vendetta.manager/cache/209014/patched/lspatched/config.en-209014-375-lspatched.apk
Processing /storage/emulated/0/Android/data/dev.beefers.vendetta.manager/cache/209014/signed/config.arm64_v8a-209014.apk -> /storage/emulated/0/Android/data/dev.beefers.vendetta.manager/cache/209014/patched/lspatched/config.arm64_v8a-209014-375-lspatched.apk
apk path: /storage/emulated/0/Android/data/dev.beefers.vendetta.manager/cache/209014/signed/config.arm64_v8a-209014.apk
Parsing original apk...
Register apk signer with custom keystore...
original appComponentFactory class: null
original minSdkVersion: 0
Patching apk...
Adding config...
Adding metaloader dex...
Adding loader dex...
Adding native lib...
added assets/lspatch/so/x86_64/liblspatch.so
added assets/lspatch/so/x86/liblspatch.so
added assets/lspatch/so/armeabi-v7a/liblspatch.so
added assets/lspatch/so/arm64-v8a/liblspatch.so
Embedding modules...
com.vendetta.xposed
Creating nested apk link...
Writing apk...
Done. Output APK: /storage/emulated/0/Android/data/dev.beefers.vendetta.manager/cache/209014/patched/lspatched/config.arm64_v8a-209014-375-lspatched.apk
Processing /storage/emulated/0/Android/data/dev.beefers.vendetta.manager/cache/209014/signed/config.xxhdpi-209014.apk -> /storage/emulated/0/Android/data/dev.beefers.vendetta.manager/cache/209014/patched/lspatched/config.xxhdpi-209014-375-lspatched.apk
apk path: /storage/emulated/0/Android/data/dev.beefers.vendetta.manager/cache/209014/signed/config.xxhdpi-209014.apk
Parsing original apk...
Register apk signer with custom keystore...
original appComponentFactory class: null
original minSdkVersion: 0
Patching apk...
Adding config...
Adding metaloader dex...
Adding loader dex...
Adding native lib...
added assets/lspatch/so/x86_64/liblspatch.so
added assets/lspatch/so/x86/liblspatch.so
added assets/lspatch/so/armeabi-v7a/liblspatch.so
added assets/lspatch/so/arm64-v8a/liblspatch.so
Embedding modules...
com.vendetta.xposed
Creating nested apk link...
Writing apk...
Done. Output APK: /storage/emulated/0/Android/data/dev.beefers.vendetta.manager/cache/209014/patched/lspatched/config.xxhdpi-209014-375-lspatched.apk
Processing /storage/emulated/0/Android/data/dev.beefers.vendetta.manager/cache/209014/signed/base-209014.apk -> /storage/emulated/0/Android/data/dev.beefers.vendetta.manager/cache/209014/patched/lspatched/base-209014-375-lspatched.apk
apk path: /storage/emulated/0/Android/data/dev.beefers.vendetta.manager/cache/209014/signed/base-209014.apk
Parsing original apk...
Register apk signer with custom keystore...
original appComponentFactory class: androidx.core.app.CoreComponentFactory
original minSdkVersion: 24
Patching apk...
Adding config...
Adding metaloader dex...
Adding loader dex...
Adding native lib...
added assets/lspatch/so/x86_64/liblspatch.so
added assets/lspatch/so/x86/liblspatch.so
added assets/lspatch/so/armeabi-v7a/liblspatch.so
added assets/lspatch/so/arm64-v8a/liblspatch.so
Embedding modules...
com.vendetta.xposed
Creating nested apk link...
Writing apk...
Done. Output APK: /storage/emulated/0/Android/data/dev.beefers.vendetta.manager/cache/209014/patched/lspatched/base-209014-375-lspatched.apk
Gathering final apks
Installing apks

Those logs show no problems, what specific issue are you running into

Those logs show no problems, what specific issue are you running into?

MIUI can cause like that.


Peerage.Via.Dns not working with Kubernetes headless service

Easiest to show by pasting output of some commands...
$ kubectl logs channel-app-web-79865c8768-8md9p
03:07:09.586 [debug] [Peerage 1.0.3][ Elixir.Peerage.Via.Dns] Discovery every 10s.

     NAME                RESULT OF ATTEMPT

     LIVE NODES
<EMAIL_ADDRESS>(self)

$ kubectl logs channel-app-web-79865c8768-gsrq
...
03:09:05.109 [debug] [Peerage 1.0.3][ Elixir.Peerage.Via.Dns] Discovery every 10s.

     NAME                RESULT OF ATTEMPT

     LIVE NODES
<EMAIL_ADDRESS>(self)

$ kubectl exec channel-app-web-79865c8768-8md9p -- cat apps/web/config/prod.exs
...
config :peerage, via: Peerage.Via.Dns,
  dns_name: "channel-app",
  app_name: "web"

$ kubectl exec channel-app-web-79865c8768-8md9p -- host channel-app
channel-app.production.svc.cluster.local has address <IP_ADDRESS>
channel-app.production.svc.cluster.local has address <IP_ADDRESS>

Both pods are using the same cookie and both have containerPort: 4369 set.
What am I doing wrong?

That's enough for a place to start -- I didn't call this out much until a bit further down in the readme, but here, under the 'longer example', there's something that might be relevant:

Your config/prod.exs might look like this:
config :peerage, via: Peerage.Via.Dns,
dns_name: "myapp", # or k8s FQDN: "myapp.ns.svc.clust.local"
app_name: "myapp"

The 'FQDN' comment; I'd try changing the dns_name to the fully qualified name.
(If that doesn't work, next crude debug step might be to use a shell from within the same image, and do dig/nslookup to confirm the names that can be resolved).

Ah, sorry, quick response missed that you ran host.
Righto, next keyword I'd look into -- inet_dist_listen_max, setting min/max to same port in your vm.args (like port 9100), and then making sure that one is also exposed in container image and in k8s containerPort. (sorry that these notes are a bit disjointed, but if the above is it, hopefully that might be enough to point in right direction).

Using FQDN worked! Thank you.
Side note, when I did nslookup channel-app (not using the FQDN) it gives the correct addresses, but as a Non-authoritative answer. I don't know much about DNS, so not sure why or how that matters.


How to peforme a non self-consistent calculation ?

I want to performe a CCSD(T) calculation from dft, so I need tocovert dft to hf. I have tried this way, but the reference energy is still dft energy:
import os
from pyscf import gto, scf, dft, lib, cc
import sys
from pyscf.tools import molden
import numpy

os.system('date')

mol = gto.Mole()
mol.verbose = 4
mol.atom = (
'''
Fe                -0.00090100    1.26069400    0.00002600
V                  1.29277300   -0.54194600   -0.00002200
V                 -1.29199100   -0.54338700   -0.00002400
C                  0.00045800   -0.65120400   -1.28673700
C                  0.00044900   -0.65135900    1.28679900
'''
)
mol.basis = 'aug-cc-pvdz'
mol.spin = 1
mol.charge = -1
mol.max_memory = 60000
mol.build()

# dft
mf = dft.UKS(mol)
mf.xc = 'b88, pw91'
mf.conv_tol = 1e-7
dm = mf.from_chk('IS2-M2-AVDZ-SPIN=1-Check.chk')
mf.run(dm)

#ccsdt
mf_hf = scf.UHF(mol)
mf_hf.__dict__.update(mf.__dict__)

I've  tried to convert dft to hf manually, however it fails, even if I set max_cycle=0:
init E= -3223.10440749528
  alpha nocc = 44  HOMO = -0.0208724952861457  LUMO = 0.0881842382605525
  beta  nocc = 41  HOMO = -0.0303165735989128  LUMO = 0.0866500611921572
cycle= 1 E= -3223.24982401702  delta_E= -0.145  |g|= 0.511  |ddm|= 6.65
SCF not converged.
SCF energy = -3223.24982401702 after -1 cycles  <S^2> = 4.7672398  2S+1 = 4.4798392

What should I do to get the state of inite E whithout the subsequent iterations?

Going back to my first response, I'm still not sure exactly what you want to do.  If it's just to use the DFT orbitals in order to construct a Slater determinant, to be used as a reference wavefunction in CC, then I think this could be done by just using the mo_coeff from the DFT calculation.  The CCSD constructor accepts mo_coeff as a kwarg for non-HF references.
The only other caveat is the calculation of the total energy, which is what @gkc1000 and @zhcui were referring to, I think.  The CCSD class returns the total energy as self.e_corr + self._scf.e_tot and so the mf instance that is passed in as an argument (which becomes self._scf) should first have its e_tot overwritten with the desired value (e.g. use the DFT dm as an initial guess to HF with max_cycle=0).
Alternatively, as a thought for developers like @sunqm and @fishjojo , we could just recompute the reference energy from mo_coeff in case it is not HF, similar to how the Fock matrix is rebuilt in ao2mo.

Sorry for your confusion. In molpro and nwchem, the Fock matrix is rebuilt for the non-HF reference, so the E_corr is totally same no matter what type reference(DFT or HF) you used as long as the orbital is identical.
But for pyscf, which does not rebuilt the FOCK matrix for the non-HF reference ,the different reference may cause totally different E_corr even the orbital is identical:
1.Using the DFT dm as an initial guess to HF with max_cycle=0:
E_corr = -1.208105359387748
UCCSD(T) correction = -0.114613396569048
UCCSD(T) correlation energy -1.3227187559567959

Feeding the mo_coeff of the dft to the CCSD constructor:

E_corr = -1.311659857481943
UCCSD(T) correction = -0.288206316829767
UCCSD(T) correlation energy -1.59986617431171

This is very odd: the CCSD correlation energy should only depend on the
orbitals, not the Fock matrix. Can you please send your full input
file? @fishjojo, please take a look.
On Mon, Feb 3, 2020 at 9:36 PM jamcas<EMAIL_ADDRESS>wrote:

Sorry for your confusion. In molpro and nwchem, the Fock matrix is rebuilt
for the non-HF reference, so the E_corr is totally same no matter what type
reference(DFT or HF) you used as long as the orbital is identical.
But for pyscf, which does not rebuilt the FOCK matrix for the non-HF
reference ,the different reference may cause totally different E_corr even
the orbital is identical:
1.Using the DFT dm as an initial guess to HF with max_cycle=0:
E_corr = -1.208105359387748
UCCSD(T) correction = -0.114613396569048
UCCSD(T) correlation energy -1.3227187559567959

Feeding the mo_coeff of the dft to the CCSD constructor:

E_corr = -1.311659857481943
UCCSD(T) correction = -0.288206316829767
UCCSD(T) correlation energy -1.59986617431171
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/pyscf/pyscf/issues/495?email_source=notifications&email_token=AAN5NRBNC2QH4SNIFL7D66LRBD5EXA5CNFSM4KIW6AT2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKWNBUY#issuecomment-581750995,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAN5NRCDFTTLPSVS6U7BCALRBD5EXANCNFSM4KIW6ATQ
.

Of course. Because pyscf can't do a non self-consistent (the minimum max_cycle can only be 1 ), I made some modifications on the kernel function of the hf.py in order to acheive  the non self-consistent calcultaion.
1.Input file for the HF Reference:
from pyscf import gto, scf, dft, lib, cc

mol = gto.Mole()
mol.verbose = 4
mol.atom = (
'''
Fe                -0.00090100    1.26069400    0.00002600
V                  1.29277300   -0.54194600   -0.00002200
V                 -1.29199100   -0.54338700   -0.00002400
C                  0.00045800   -0.65120400   -1.28673700
C                  0.00044900   -0.65135900    1.28679900
'''
)
mol.basis = 'aug-cc-pvdz'
mol.spin = 1
mol.charge = -1
mol.max_memory = 60000
mol.build()

# dft
mf = dft.UKS(mol)
mf.max_cycle = 0
mf.xc = 'hf'
dm = mf.from_chk('Fe-IS2-M2-AVDZ.chk')
mf.kernel(dm,no_scf=True)

# cc
mf_hf = scf.UHF(mol)
mf_hf.__dict__.update(mf.__dict__)

mycc = cc.UCCSD(mf_hf)
mycc.max_cycle = 500
mycc.frozen = 29
mycc.diis_file = 'IS2-M2-AVDZ-CCSDT-HF.h5'
mycc.kernel()
et = mycc.ccsd_t()
print('UCCSD(T) correlation energy', mycc.e_corr + et)
print('UCCSD(T) total energy', mycc.e_tot + et)

2.Input file for the DFT Reference:
from pyscf import gto, scf, dft, lib, cc

mol = gto.Mole()
mol.verbose = 4
mol.atom = (
'''
Fe                -0.00090100    1.26069400    0.00002600
V                  1.29277300   -0.54194600   -0.00002200
V                 -1.29199100   -0.54338700   -0.00002400
C                  0.00045800   -0.65120400   -1.28673700
C                  0.00044900   -0.65135900    1.28679900
'''
)
mol.basis = 'aug-cc-pvdz'
mol.spin = 1
mol.charge = -1
mol.max_memory = 60000
mol.build()

# dft
mf = dft.UKS(mol)
mf.max_cycle =100
mf.xc = 'b88,pw91'
dm = mf.from_chk('Fe-IS2-M2-AVDZ.chk')
mf.kernel(dm)

# cc
mf_hf = scf.UHF(mol)
mf_hf.__dict__.update(mf.__dict__)

mycc = cc.UCCSD(mf_hf)
mycc.max_cycle = 500
mycc.frozen = 29
mycc.diis_file = 'IS2-M2-AVDZ-CCSDT-DFT.h5'
mycc.kernel()
et = mycc.ccsd_t()
print('UCCSD(T) correlation energy', mycc.e_corr + et)
print('UCCSD(T) total energy', mycc.e_tot + et)

3.The modified kernel function of the hf.py:
def kernel(mf, conv_tol=1e-10, conv_tol_grad=None,
           dump_chk=True, dm0=None, callback=None, conv_check=True, no_scf=False, **kwargs):
...
    # A preprocessing hook before the SCF iteration
    mf.pre_kernel(locals())

    if no_scf:
        fock = mf.get_fock(h1e, s1e, vhf, dm)
        mo_energy, mo_coeff = mf.eig(fock, s1e)
        mo_occ = mf.get_occ(mo_energy, mo_coeff)
        e_tot = mf.energy_tot(dm, h1e, vhf)
        mf.max_cycle = 0

    scf_conv = False
    cycle = 0
    cput1 = logger.timer(mf, 'initialize scf', *cput0)
    while not scf_conv and cycle < max(1, mf.max_cycle) and not no_scf:
...

Here is how I would use a KS reference determinant for a CCSD calc.  The results agree with those in Beran et al. PCCP 5, 2488 (2003) Table 1.
from pyscf import gto, scf, dft, cc

mol = gto.M(
    atom = 'C 0 0 0; H 0 0 1.1199',
    basis = 'ccpvtz',
    spin = 1,
    verbose=0)

mf = scf.UHF(mol).run()

# HF-based
mycc = cc.UCCSD(mf, frozen=1)
mycc.kernel()
print('CCSD(HF) energy', mycc.e_tot)

# DFT-based
ks = dft.UKS(mol)
ks.xc = 'blyp'
ks.kernel()

# Overwrite energy and mo_coeff
mf.e_tot = mf.energy_tot(dm=ks.make_rdm1()) # perhaps we should add this to ccsd.py
mf.mo_coeff = ks.mo_coeff

mycc = cc.UCCSD(mf, frozen=1)
mycc.kernel()
print('CCSD(DFT) energy', mycc.e_tot)

Unfortunately, that paper studies (T) but does not report total energies.  If anyone can provide a simple benchmark value, we can check if the PySCF CCSD(T) works as expected for a non-HF reference.

Hi @jamcas, in pyscf.cc.ccsd, Fock matrix is also rebuilt, but by the underlying SCF's get_fock method. So you have to pass a HF class object to the CCSD class. @tberkel's script should work.

This issue was solved in PR 522. .to_rhf() method was implemented. A KS object can be converted to a non-SCF HF object with .to_rhf(), or .to_uhf() . For the non-scf HF refernce, ccsd recomputes the HF energy when initializing integrals

Thanks for everyone!


Coins very difficult to collect

Actually i just noticed that in some cases even though the pointer points towards the coin and i move towards it. it does not get collected.

The coin should disappear as soon as you are 1.5 nodes away from it :/
Can you describe your setup? (operating system, minetest-version, lua/luajit?)
Do you experience lag-issues? (/status output from that moment would be nice)
Is that something that happens all the time or just sometimes?
Thanks for the bug report btw :+1:
Relevant code here:
https://github.com/BuckarooBanzay/super_sam/blob/15c732f385a3ff9c70848eb50e23ab3a9c37932f/mods/super_sam/itempickup.lua#L5-L22

Can't reproduce, closing


double import

if we don't use embed explicitly we need the implicit import, but since we are using it explicitly (embed.FS) we need to explicitly import it. Importing it both ways serves no purpose.

lgtm


launch controller cleanup needs to wait on deorbiter

At least the volume cleanup in the deorbiter needs the csi daemonset on the nodes to unmount the volumes.
So we should just wait with the termination of nodes until the deorbiter is done

Superseded by #720


runtime(doc): Recover some missed commas and periods in starting.txt

Also, insert some missing words and, in general, strive for
consistency with capitalisation of words.
The gvim words were left alone for now, but they deserve to
be treated like proper names, GVim or GUI Vim, unless these
refer to executable filenames (on *nix systems).

This csh snippet made me look for its introduction:
https://github.com/vim/vim/blob/760f664213dea9a300454992ba1589f4601d622f/runtime/doc/starting.txt#L485-L487
So, I ended up here (v4.0):

  mappings and settings.  A shell alias can be used to make
  this easy to use.  For example:
  	"alias vimc vim -u ~/.c_vimrc !*".

And lost its track in v3.0, whose readme says:

Documentation:
tutor/readme - one hour training course for beginners
reference.doc - complete reference of all Vim commands
difference.doc - summarizes the differences with UNIX vi
windows.doc - reference for the multi windows and buffer commands
index - alfabetical list of commands
amiga.doc - remarks for Amiga
unix.doc - remarks for unix
msdos.doc - remarks for MSDOS
winnt.doc - remarks for Windows NT
archie.doc - remarks for Archimedes

There are no *.doc files in that repository under that tag.
Were these files MS Word binaries?

I don't think so. Probably just the extension for some text document.
While you are at the csh alias thing, can you please add, that this is only valid for (t)csh ? and I believe it should probably be:
alias vimc 'vim -u ~/.c_vimrc !*'

Well, I'm not a C shell user, however, these aliases seem
to do the job with bsd-csh, version 20230828-1 (Debian
trixie/testing):
alias vimd vim -u /tmp/defaults.vim !\*
alias vimd 'vim -u /tmp/defaults.vim \!*'

whereas, these aliases report "0: Event not found.":
alias vimd vim -u /tmp/defaults.vim !*
alias vimd 'vim -u /tmp/defaults.vim !*'

Should we, instead, replace it with a Bash equivalent?
alias vimc='vim -u ~/.c_vimrc'

I haven't used tcsh in 20 years, but yeah, it seems like one needs to escape the ! instead. You can also add a bash equivalent, that would be more understandable than that !*

Done.

mostly fine. For the comma rules, I'd like to get a native speaker to have a look if possible.


The parameter num_cores doesn't work.

I read methods/bayesian_optimization.py and find the objective is defined as self.objective = SingleObjective(self.f, self.batch_size, self.funct_name). And I believe it should be changed into self.objective = SingleObjective(self.f, self.num_cores, self.funct_name). Otherwise, the num_cores parameter would be useless.

The original code in methods/bayesian_optimization.py
self.num_cores = num_cores
 if f is not None:
self.f = self._sign(f)
 self.objective = SingleObjective(self.f, self.batch_size,self.objective_name)
 else:
self.f = None
 self.objective = None
I believe the code should be changed into:
self.num_cores = num_cores
 if f is not None:
self.f = self._sign(f)
self.objective = SingleObjective(self.f, self.num_cores,self.objective_name)
else:
self.f = None
self.objective = None


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/39616

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/49046

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/49054

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/49347

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/57952

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/58339

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/63404


iOS Image cannot be displayed

Attach (recommended) or Link to PDF file here:
https://jaydar.github.io/test.pdf
Configuration:

Web browser and its version: safari
Operating system and its version: ios 12.2
PDF.js version: pdfjs-2.0.943
Is a browser extension:

Steps to reproduce the problem:

Browse  https://mozilla.github.io/pdf.js/web/viewer.html?file=https://jaydar.github.io/test.pdf

What is the expected behavior? (add screenshot)
What went wrong? (add screenshot)
The phone is not displaying properly
Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):

The PDF file contains large images (4160 x 5864 pixels for the first page) and most likely iOS cannot handle that. Most likely this is a duplicate of #9474 and some other open issues.


Cant Undo after save.

I'm unable to Undo after I save any opened file.

closing duplicate https://github.com/adobe/brackets/issues/11826


In-OC app notification management

user request for :  in-OC app notification management
Context: Receiving so many email notifications is a major pain point for admins.

Is is possible to receive / manage notifications from Open Collective within the platform only, and turn off email notifications? I'm in admin role on several organisations and collectives and the amount of OC emails I'm receiving is overwhelming

Originally posted by @kaylarep in https://github.com/opencollective/opencollective/issues/3357#issuecomment-1084965316

More feedback:

from the OC perspective: when a person “unsubscribes” because they are overwhelmed, we have NO WAY to ever contact them, again. We don’t have the phone # or social media handles (unless they give twitter) and this means they don’t know anything that is happening with their collective or with us unless they log in.

related: https://github.com/opencollective/opencollective/issues/2864

interesting idea (context is from a collective applying to be hosted by OCF)
Screenshot:

It makes sense to me that a group would be notified about the application process directly in the platform; also once they've been accepted


'Invalid Arguments in credential body' on trying to register a new model

I am trying to register a new model from together.ai with the _plugins/_ml/models/_register endpoint. I have used https://github.com/opensearch-project/ml-commons/blob/2.x/docs/remote_inference_blueprints/gcp_vertexai_connector_embedding_blueprint.md as a reference, and my request is as follows:
{     "name": "Together API Connector",     "function_name": "remote",     "model_group_id": "...", // model group id from /_plugins/_ml/model_groups/_register endpoint     "description": "test togetherai model",     "connector": {         "name": "Together API Connector",         "description": "Test connector to Together API",         "version": 1,         "protocol": "http",         "parameters": {             "endpoint": "api.together.xyz",             "model": "meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo"         },         "credential": {             "togetherAI_token": "..." // key added here         },         "actions": [             {                 "action_type": "predict",                 "method": "POST",                 "url": "https://${parameters.endpoint}/v1/chat/completions",                 "headers": {                     "Authorization": "Bearer ${credential.togetherAI_token}"                 },                 "request_body": "\"{model\": \"${parameters.model}\", \"messages\": ${parameters.messages} }\""             }         ]     } }
On calling the service, I keep getting following error with HTTP code 400:
java.lang.IllegalArgumentException: Invalid Arguments in credential body
Please help me understand what is the issue.

Suggest format the request to make it easier to ready.

Can you share the complete request without adding comments? Not sure if you are using this "credential": { "togetherAI_token": "..." // key added here },  directly in the request body or not, that's not valid json by adding  // key added here

Tested, this is the correct register model request
POST /_plugins/_ml/models/_register
{
    "name": "Together API Connector",
    "function_name": "remote",
    "description": "test togetherai model",
    "model_group_id": "...",
    "connector": {
        "name": "Together API Connector",
        "description": "Test connector to Together API",
        "version": 1,
        "protocol": "http",
        "credential": {
            "togetherAI_token": "..."
        },
        "parameters": {
            "endpoint": "api.together.xyz",
            "model": "meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo"
        },
        "actions": [{
            "action_type": "predict",
            "method": "POST",
            "url": "https://${parameters.endpoint}/v1/chat/completions",
            "headers": {
                "Authorization": "Bearer ${credential.togetherAI_token}"
            },
            "request_body": "{\"model\": \"${parameters.model}\", \"messages\": ${parameters.messages} }"
        }]
    }
}

predict
POST _plugins/_ml/models/bkXKZ5IBOXlbc3kAJn4C/_predict
{
  "parameters": {
    "messages": [
      {
        "role": "user",
        "content": [
          {
            "type": "text",
            "text": "hello"
          }
        ]
      }
    ]
  }
}

Hello @ylwu-amzn , thank you for looking into this, and apologies that I could not get back sooner. I have added the together endpoint to the trusted endpoints using the request body that you have suggested. However, I still see the same error when I try using the /_plugins/_ml/models/_register endpoint with the json request from above message.
This is the error returned by the endpoint:
java.lang.IllegalArgumentException: Invalid Arguments in credential body

@h-tanvi , I have verified the examples I shared before. Can you follow the example exactly ? Reach out to me on Slack if you need more help https://join.slack.com/t/opensearch/shared_invite/zt-2r5scz3ty-5SMPhqJE_Lk2HqC6ex4mWg , join ml slack channel, you can find me there.

@h-tanvi , please follow the example I shared exactly. This is verifed.

Hi @ylwu-amzn , thank you for the reply. It seems the issue was only with aos, because AWS was not allowing the credentials to be stored without a secret manager. I have installed opensearch on-premise, and the solution provided by you is working.

Yes, user must use secret manager and role ARN in AWS managed OpenSearch cluster.


CORS

Hi, @santatamas thanks for this super cool setup. Everything was smooth except I am getting one issue related to CORS whenever I use API to list studies and more. I tried setting up cors in storage but it didn't work, I could have fixed this in the Nginx instance but here in CDK I got lost. Do you have any solution you could suggest?

Fixed my cors issue by modifying the CloudFront distribution.

Set the "Response headers policy name" to Managed-CORS-With-Preflight
Add a Viewer request CloudFront Function that short circuits Preflight requests and returns the approarate headers.  Preflight requests were failing with 401 without this hack:

function handler(event) {
    if(event.request.method === 'OPTIONS') {
        var response = {
            statusCode: 204,
            statusDescription: 'OK',
            headers: {
                'access-control-allow-origin': { value: '*' },
                'access-control-allow-headers': { value: '*' }
            }
        };
        return response;
    }
    return event.request;
}

Hi! Sorry I missed this! Thanks for providing a workaround, I'll add this to the infrastructure code as soon as I can :)

@PaulHax Thanks for the code, I did it the following way,
const cors = new aws_cloudfront.Function(this, "CorsFunction", {
      code: FunctionCode.fromInline(`
        exports.handler = async (event: any) => {
          if (event.request.method === "OPTIONS") {
            var response = {
              statusCode: 204,
              statusDescription: "OK",
              headers: {
                "access-control-allow-origin": { value: "*" },
                "access-control-allow-headers": { value: "*" },
              },
            };
            return response;
          }
          return event.request;
        };
      `),
    });

const orthancDistribution = new Distribution(this, "OrthancDistribution", {
      defaultBehavior: {
        origin: new LoadBalancerV2Origin(loadBalancer, {
          protocolPolicy: OriginProtocolPolicy.HTTP_ONLY,
        }),
        originRequestPolicy: myOriginRequestPolicy,
        responseHeadersPolicy:
          ResponseHeadersPolicy.CORS_ALLOW_ALL_ORIGINS_WITH_PREFLIGHT,
        cachePolicy: CachePolicy.CACHING_DISABLED,
        allowedMethods: AllowedMethods.ALLOW_ALL,
        functionAssociations: [
          {
            function: cors,
            eventType: FunctionEventType.VIEWER_REQUEST,
          },
        ],
      },
      minimumProtocolVersion: SecurityPolicyProtocol.TLS_V1_2_2019,
    });

But it didn't work. Server stops working.

Re-opened until I implement the fix in the CDK code :)

You can also create a pull request with your changes, if you'd like!

@santatamas PR is created.

Approved and merged :) I really appreciate both of your contributions, thank you!