text:
Allow bots to return Hl7Message instances

Before:  When returning HL7 from a bot, you would always have to call .toString(), which was weird because we automatically parse HL7 strings for input.
import { BotEvent, Hl7Message, MedplumClient } from '@medplum/core';

export async function handler(medplum: MedplumClient, event: BotEvent<Hl7Message>): Promise<string> {
  return event.input.buildAck().toString();
}

After: Input and output are symmetric, we automatically convert input string to Hl7Message, and we automatically convert output Hl7Message to string.  That cleans up the bot:
import { BotEvent, Hl7Message, MedplumClient } from '@medplum/core';

export async function handler(medplum: MedplumClient, event: BotEvent<Hl7Message>): Promise<Hl7Message> {
  return event.input.buildAck();
}

coverage: 94.286%. remained the same when pulling 718a36745c4a05d83c2e035ab778124aea212991 on cody-bot-return-hl7-message into 17bf7b25ea0b6ca497cfd9ff26ef44b81e336aeb on main.

authors: codyebberson coveralls


text:
[Generate More Data] Can I use the simulator to generate more data?

Hi! I would like to generate some more data of the existing task, such as push_red_block_left. Can I build the relevant data through the repo?

@mees Hello:
Could you provide a demo of an expert policy (e.g. a policy obtained using the RoboFlamingo method) to produce more data? under the same Env A, B, C, and D, under the same language annotations?
Thank you!

According to the RoboFlamingo Github repo, they uploaded pre-trained models on hugging face .

source: gharchive/issue

authors: COST-97 aopolin-lv lukashermann

repo: mees/calvin

license: MIT

license_type: permissive

license_source: github-api


text:
uri scheme/protocol/mailto support

Is your feature request related to a problem? Please describe.
At work we are often using links which use uri schemes to get faster to the right place. It would be awesome if links like:
mailto:someEmail@address.com
slack://open?channel=SomeChannel
skype:MyUsernName
could be handled by the services too.
Describe the solution you'd like
It would be perfect if the plugins could register to those uri schemes and would call a function for incoming requests.
This functionality should have a toggle exposed in the service settings.
Describe alternatives you've considered
There is no real alternative. If I don't know what a link does I usually copy the link and try to figure out what it is trying to do and do it manually. But for a user without technical background that might be even more annoying.

Also handle http(s) URI's depending on the services configured.
For example, in Franz I have a company mail configured and a zendesk. When an e-mail comes in with this link: https://mycompany.zendesk.com/agent/tickets/21853 currently it opens in a new chromium window, whereas I would really like to open it in the Franz Zendesk tab I have configured

Already suggested for mailto https://github.com/meetfranz/franz/issues/860
No response

Would love to see that. General URI handling. Being able to catch all of windows URI shemes to specific Franz Apps. If Franz still depends on https://www.electronjs.org/ that could just be a feature of Electron to be used in Franz.

Would still love to see that...

authors: NaMJaG ekerazha paradonym tetrode

repo: meetfranz/franz

license_source: bigquery


text:
typo: dnf-install has to be dnf install

Description
There was a typo in the installation instructions for linux. The command dnf-install does not exist. dnf install without the dash is the right command to use.

Thanks for taking care of this! 👍

Thanks for taking care of this!

@adlk sure. I did notice that travis didn't complete though:
$ node --version
v8.12.0
$ npm --version
6.4.1
$ nvm --version
0.33.11
$ yarn --version
1.3.2
0.08s$ if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt install libx11-dev libxext-dev libxss-dev libxkbfile-dev; fi
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libxkbfile-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'libxkbfile-dev' has no installation candidate
The command "if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt install libx11-dev libxext-dev libxss-dev libxkbfile-dev; fi" failed and exited with 100 during .
Your build has been stopped.

Can you tell me what's wrong here? https://travis-ci.org/meetfranz/franz/jobs/457451676

source: gharchive/pull-request

authors: adlk kwk


text:
Update CS rates

Update rates according to this document page 75 of the PDF, 67 of the document

May as well replace CS with IT too 😛

@sboots I think you're the only one with merge rights here

authors: AntoineAugusti jidicula nschonni

license: Unlicense


text:
add Reaction, Message#reactions

reactions was missing from the Message mapping.
This adds a data object for a Reaction, and makes Message parse any reactions on a message payload into an Array(Reaction).

Should be 1 commit.

license: mit


text:
Add vector styling to website documentation

The "Configuration" section of https://meggsimum.github.io/wegue needs a section about how to define styles for vector(-tile) layers.

Done in #160
See: https://meggsimum.github.io/wegue/#/map-layer-configuration?id=style-for-vectorlayers

repo: meggsimum/wegue


text:
eslint: weaken rules in dev mode

weaken eslint rules in development mode
[ ] maybe use with different command than npm run dev

I like the idea of being a little more fault tolerant in dev mode, since currently this is a pain to get all the formatting right when we're just testing some code.
On the other hand, I don't like to see the production build failing when I haven't been warned about it dev mode. What do you think about turning all the disabled rules into warnings instead?

What do you think about turning all the disabled rules into warnings instead?

I think that is exactly what @JakobMiksch did.

Ok, thanks for the info! I didn't test it but from the code it looked to me like some errors are now generally disabled for dev mode (arrow-parens, no-debugger, ...)
Here's a possible generic approach to do it with a plugin - maybe something along these lines is interesting to switch back and forth between warning levels without touching any eslint configs?
https://stackoverflow.com/questions/44303590/set-default-error-level-to-warn

@fschmenger This change only applies when running in dev mode. When eslint is unhappy it "only" shows warnings both in the terminal and the browser console, but does not break the application instantly. Hovever, when you run npm run build or npm run test the remarks will be errors.
The idea was to improve the developer experience and make development a bit less laborious. Especially when you make a quick prototype of something ...

authors: JakobMiksch chrismayer fschmenger


text:
Dev UI is disabled forever after choosing prod in meilisearch-setup

I run meilisearch-setup second time after set up on digital ocean and expect that chosing n option should switch the environment to the development allowing the access to the UI. At the moment it does not.
To Reproduce

setup using digital ocean described here
run meilisearch-setup and choose production option
run meilisearch-setup again and choose dev option
the UI is not available

Expected behavior
UI should be available
Desktop (please complete the following information):

OS: MacOS
Browser: firefox, safari

I will check this next week! Sorry for this bug :(
@CaroFG can you please transfer this issue to https://github.com/meilisearch/cloud-scripts/ ?

Sorry @eskombro, I don't have the rights to do it

authors: CaroFG drougojrom eskombro

repo: meilisearch/MeiliSearch


text:
Test CI tests on write rights

Test CI tests

Closing as the test is done

repo: meilisearch/landing


text:
Changes about the MeiliSearch's next release (v0.16.0)

Related to this issue: https://github.com/meilisearch/integration-guides/issues/52

[x] Update README
[x] Remove UpdateHealth method and rename the method GetHealth into Health #75

This PR:

gathers the changes related to the next release of MeiliSearch (v0.16.0) so that this package is ready when the official release is out.
should pass the tests against the latest prerelease of MeiliSearch. This should be tested locally.
might eventually fail until the MeiliSearch v0.16.0 is out.

⚠ This PR should NOT be merged until the MeiliSearch's next release (v0.16.0) is out.

bors merge

repo: meilisearch/meilisearch-dotnet


text:
http panic in wasm due to capitalized header name

Description
Hello! I'm building a wasm app using meilisearch-sdk, and found this confusing error when calling Client::new:
index out of bounds: the len is 0 but the index is 0

Expected behavior
Client::new does not panic.
Current behavior
Turns out it's http's way of telling us that a header name is capitalized, and panics.
Here's the http code that panics (HeaderName::from_static):
https://github.com/hyperium/http/blob/v1.1.0/src/header/name.rs#L1197-L1224
And I think the X-Meilisearch-Client is what causes it:
https://github.com/meilisearch/meilisearch-rust/blob/v0.26.0/src/reqwest.rs#L35
Environment (please complete the following information):

OS: wasm32
Meilisearch version: v1.7.6
meilisearch-rust version: v0.26.0
http version: v1.1.0 (behavior should be the same with http v1.0.0)

As specified in this PR response headers implementation is not officially supported in reqwest.
web_sys should be used for every request to be sure of wasm support.
I guess someone broke it recently.

Hey @minijackson,
Could you retry your app with this branch and let me know if everything works: https://github.com/meilisearch/meilisearch-rust/pull/582
I’m struggling to run the example in this repo

authors: DimitriTimoz irevoire minijackson

repo: meilisearch/meilisearch-rust


text:
Add check on latitude and longitude

Latitudes are not supposed to go beyond 90 degrees or below -90.
The same goes for longitudes with 180 or -180.
This was badly implemented in the filters, and was not implemented for the AscDesc rules.

bors merge

repo: meilisearch/milli


text:
API Keys - Introduce * wildcard char at the last position to express access to multiple indexes starting with the same string

🤖  API Diff

Summary
It's now possible to express access to multiple indexes starting by the same pattern in an API Key's indexes field by using the * char as a wildcard. The pattern is only considered when the * character is at the last position.
e.g products_* match all indexes starting by products_
Related to https://github.com/meilisearch/meilisearch/issues/2788

Changes
N/A
Out Of Scope
N/A

Attention To Reviewers
N/A

Misc

[x] Update OpenAPI specification file

@gmourier will probably not be ready for v0.30.0

@gmourier: confirmation, will not be in v0.30.0 but in v1! Sorry for the confusion! 🙇

@Kerollmops, I think it misses the error regarding the invalid index uid format in the POST route of an API Key. Could you check that, please?

authors: curquiza gmourier

repo: meilisearch/specifications


text:
API key managment

We need a mechanism to set up api keys that have allowed hosts so we can harden the public access to our public api.

I suggest using the config for a basic solution.

repo: meirim-org/meirim


text:
Feature Request: Change the way Overlays works so it copies the newly created overlays to a library specific directory.

Instead of having the Overlays created in the assets folder, and a copy of the original stored in the Overlays/4K (etc) folders, the Assets Folder should be treated as a central repository for images for all libraries (ie: 2D, 3D, 4K content).
Plex-Meta-Manager should find the original in the Assets folder, create the overlay, and save the newly generated file to a library specific folder.  In my case where I have separate folders for 2D (HD and SD), 3D and 4K content, its nice to have one central repository for all my posters so they are consistent across libraries.  If I run the overlay for 4K, and run the assets_for_all on a 3D library, it tries to use the 4K created images for posters. Not a very desirable effect.  If we can configure a saved images folder per library, and let Plex-Meta-Manager find the posters per library, copy them to the library specific assets folder, and if any overlays are created, overwrite them in the library specific assets library.  In this way, the original poster images are kept unmodified.

Overlays are designed in a way to work wether you have local posters or not, so basing it on the asset directory is not possible for the majority of people don't have a local poster for every item.
They are also designed in a way to update the poster in plex with a local poster before applying the overlay itself.
I don't follow your argument that you need four copies of a poster. my 4k and 1080p library share the same asset directory but have different overlay templates & collections. No need for the complicated workflow you describe above as overlays are only applied to the poster in plex which has been conveniently updated through pmm from my local assets.

authors: JohnDoranNY cpt-kuesel


text:
Beta - Strapi v4: Mailgun causes the link tool to fail

When @strapi/provider-email-mailgun is installed in Strapi, it causes the link tool to fail. The link controller is using open-graph-scraper, which uses got, and this is where the failure occurs. This is a known issue with got when mailgun is installed. See https://github.com/panva/node-openid-client/issues/320#issuecomment-764416863. Not sure if we should leave this as is and give users the warning, or maybe try using a different tool other than open-graph-scraper to scrape the data.
When printing out the response from server/controllers/editorjs.js link, I get this response:
{
  success: false,
  requestUrl: 'http://strapi.io',
  error: 'connect ECONNREFUSED 127.0.0.1:443',
  errorDetails: RequestError: connect ECONNREFUSED 127.0.0.1:443
      at ClientRequest.<anonymous> (/Volumes/Work/Web/strapi-v4/src/plugins/strapi-plugin-react-editorjs/node_modules/got/dist/source/core/index.js:962:111)
      at Object.onceWrapper (events.js:482:26)
      at ClientRequest.emit (events.js:387:35)
      at ClientRequest.emit (domain.js:470:12)
      at ClientRequest.origin.emit (/Volumes/Work/Web/strapi-v4/src/plugins/strapi-plugin-react-editorjs/node_modules/@szmarczak/http-timer/dist/source/index.js:43:20)
      at TLSSocket.socketErrorListener (_http_client.js:475:9)
      at TLSSocket.emit (events.js:375:28)
      at TLSSocket.emit (domain.js:470:12)
      at emitErrorNT (internal/streams/destroy.js:106:8)
      at emitErrorCloseNT (internal/streams/destroy.js:74:3)
      at processTicksAndRejections (internal/process/task_queues.js:82:21)
      at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1148:16) {
    code: 'ECONNREFUSED',
    timings: {
      start: 1645892688824,
      socket: 1645892688825,
      lookup: 1645892688825,
      connect: undefined,
      secureConnect: undefined,
      upload: undefined,
      response: undefined,
      end: undefined,
      error: 1645892688825,
      abort: undefined,
      phases: [Object]
    }
  }
}

@jaskipper - I think that since this problem is related to MailGun, it would be nice to get a response from the developers first

@melishev - It absolutely is a problem related to MailGun. MailgunJS is deprecated. Unfortunately the plugin seems to take everything over and it breaks the link tool. I've tried to find a workaround, but had no luck up to this point.

authors: jaskipper melishev

repo: melishev/strapi-plugin-react-editorjs


text:
Fix cycling without H1 and add tests for fenced block toggling

I finally got tests to work. I needed to use a linux box. Tests don't run on my windows tablet.

Merged and published to atom.io. Thanks @tshort !

authors: melke tshort

repo: melke/markdown-folder


text:
Another way for seniors to get news and see family

My Aunty got her news from the tv and they tried to give her a seniors iPad tablet but she couldn’t use the tablet even tho its really simple cause she had memory loss or dementia and she stopped caring about the news except for news from the family.
I think she must have been really lonely because she always looked realy sad to me except when she was talking to her family especially her grandkids.
Anyways they got her a seniors video phone, I think a Connect from Australia and even she could use it to talk with Skype to her family and they could share pictures and gift ideas and apps from their computers too so it was like she could get the news but they showed her the news but mostly she just wanted to see the little great grandkids being cute I guess. I’ll see if I can find it.

I think this is it konnekt seniors phone it's what she uses.


text:
🛑 Siege Green SeAT is down

In f7fb3aa, Siege Green SeAT (https://seat.siege-green.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Siege Green SeAT is back up in 9a5ae72 after 3 minutes.

repo: meloncafe/status-sggrn-upptime


text:
🛑 Siege Green Auth is down

In 0bbe696, Siege Green Auth (https://auth.siege-green.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Siege Green Auth is back up in c2b684a after 5 minutes.


text:
🛑 Siege Green SeAT is down

In a823f50, Siege Green SeAT (https://seat.siege-green.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Siege Green SeAT is back up in 2664b91 after 4 minutes.


text:
🛑 Siege Green SeAT is down

In d8a848e, Siege Green SeAT (https://seat.siege-green.com) was down:

HTTP code: 500
Response time: 1094 ms

Resolved: Siege Green SeAT is back up in 06352d9 after 6 minutes.


text:
fix: add transition-colors class to code.ignore-svelte

Added the transition-colors class to code.ignore-svelte in the switch component.

LGTM, thanks!

authors: TGlide marcelgundermann

repo: melt-ui/melt-ui


text:
Store system database in target warehouse

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/2867
Originally created by @tayloramurphy on 2021-07-23 19:33:41

There's a clear use case for having the system database stored in a data warehouse. Meltano should be able to support easily moving data from the system db into a target.
This would go for any plugin databases as well (Airflow, Superset, etc.).
This is part of a larger metadata and observability story, but it would be good to simplify this for people potentially as a native feature.

View 2 previous comments from the original issue on GitLab

repo: meltano/meltano


text:
Add integration tests to environment variable resolution features

As per this comment, it would be good to add integration tests to both demonstrate and validate our env var capabilities.
As per this response, doing so effectively is blocked by:

https://github.com/meltano/meltano/issues/6326
https://github.com/meltano/meltano/issues/6363

@aaronsteers @cjohnhanson this seems important to have, particularly considering how challenging feature adds to this part of the codebase have been. Thoughts on getting this prioritized?

@tayloramurphy @kgpayne agreed that this would be great to have but would prioritize #6253 first. I think centralizing our logic for resolving environment variables would both make this testing easier and do a lot to help head off regressions in this behavior.

Still relevant

authors: WillDaSilva cjohnhanson kgpayne tayloramurphy


text:
Revamped .gitignore

Migrated from GitLab: https://gitlab.com/meltano/sdk/-/issues/72
Originally created by @aaronsteers on 2021-03-31 13:57:30

From !39, the .gitignore was imported from a template and may contain unneeded entries.

[ ] @DouweM started a discussion:

Most taps shouldn't need the vast majority of this stuff :) Can we stick to gitignores we actually know will be relevant in the project in question?

View 4 previous comments from the original issue on GitLab

repo: meltano/sdk


text:
Install multiple modules from array

I wonder if it's possible to install a set of modules using an array or seperate them by comma and go from there.

You can use the following:
cpan { ['Foo', 'Bar', 'Baz']:
  ensure => present
}

This is true of all Puppet resources.
On Thu, Jan 12, 2017 at 6:46 AM, Fabien Wernli notifications@github.com
wrote:

You can use the following:
cpan { ['Foo', 'Bar', 'Baz']:
ensure => present
}
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/meltwater/puppet-cpan/issues/34#issuecomment-272181332,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABMFFml7UbWAlmRA7Zt3OgtY0Fv7vaVGks5rRjzegaJpZM4LQ48X
.

--
Sincerely,
Zachary Crownover

yes, it is

authors: Yamakasi faxm0dem strangelittlemonkey

repo: meltwater/puppet-cpan


text:
Ruff failling for pytests in CI

🐛 Describe the bug
This command poetry run ruff . is failing in CI tests.

Sure @NavyaAlapati13 please feel free to work on it.

Closing this issue as the fix has been implemented.


text:
Currently, the graph memory search is not filtering for the user

Description
Currently the graph memory search is not filtering for the user. It is returning the memory for all users irrespective of the user id filter. Made the change to ensure that only user specific graph memory is returend

This feature has been added in the new release and hence closing the PR.


text:
proxy: match, token = req:match_res(res)

If req has 'k' and/or 'O' flags, match against the result object.
TODO:

[x] unit tests. demonstrate match + failures
[x] test sets and such
[x] need to decide how to handle requests without k/O.

Did some manual testing in a debugger with:
function mcp_config_pools()
    local b1 = mcp.backend('b1', '127.0.0.1', 11215)
    return mcp.pool({b1})
end

function mcp_config_routes(p)
    local fgen = mcp.funcgen_new()
    local near = fgen:new_handle(p)
    fgen:ready({ n = "match", f = function(rctx)
        return function(r)
            local done = rctx:enqueue_and_wait(r, near)
            local res = rctx:res_any(near)
            print("checking match")
            local matched, token = r:match_res(res)
            if matched then
                print("request and response match")
            else
                print("mismatch: " .. token)
            end
            return res
        end
    end})
    mcp.attach(mcp.CMD_ANY_STORAGE, fgen)
end

unit tests added. fixed a bug and changed behavior slightly

check failure seems to be something wrong with github actions... just says "internal error"

repo: memcached/memcached


text:
Add dockerfiles and requirements for no ML build

Description
The idea of this PR is to add a Dockerfile for build of MAGE without ML, which is often used when shipping customer images
Pull request type

[ ] Bugfix
[ ] Algorithm/Module
[ ] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

Related issues
Delete if this PR doesn't resolve any issues. Link the issue if it does.
######################################
Reviewer checklist (the reviewer checks this part)
Module/Algorithm

[ ] Core algorithm/module implementation
[ ] Query module implementation
[ ] Unit tests
[ ] End-to-end tests
[ ] Code documentation
[ ] README short description
[ ] Documentation on memgraph/docs
[ ] Update GQLALchemy signatures in query builder using query module signature generator

######################################

Do you think tests for no-ML build should be added to ./github/workflows/test.yml or the tests aren't needed because it can be implied from regular tests?

Do you think tests for no-ML build should be added to ./github/workflows/test.yml or the tests aren't needed because it can be implied from regular tests?

Oh, nice idea. I think we should add tests most likely because that way we are sure no-ML image also works. Good catch

authors: MarkoBarisic antoniofilipovic

repo: memgraph/mage


text:
🛑 Kérwá is down

In 749daec, Kérwá (https://kerwa.ucr.ac.cr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Kérwá is back up in 3056c05 after 1 hour, 13 minutes.

repo: memoemg/howyoudoing


text:
🛑 Kérwá is down

In 7def2bc, Kérwá (https://kerwa.ucr.ac.cr) was down:

HTTP code: 500
Response time: 21791 ms

Resolved: Kérwá is back up in 2dd6a3e after 21 minutes.


text:
🛑 Kimuk is down

In 1adcdb8, Kimuk (https://kimuk.conare.ac.cr/Search/Results?lookfor=&type=AllFields) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Kimuk is back up in b31e805 after 19 hours, 54 minutes.


text:
Add args to Wrapf errors

Keep error arguments when using Wrapf() convenience function. Simplify argument handling in Expand().

Expand passes existing tests. Wrapf has no existing tests and is a simple wrapper, so no new tests.

repo: memsql/errors


text:
[BUG]发现了个bug数字格式化报错

描述错误

环境：
-操作系统：[Windows，Mac，Linux]
-浏览器 版本号：[Chrome 版本 84.0.4147.105（正式版本） （64 位），Safari，Firefox，Edge]
-Luckysheet版本：[最新]
备注：通过CDN引入最新的包

请检查是否引入了必要的插件。
//引入参考
<script src="./plugins/js/plugin.js"></script>

format.js文件1919行使用到的numeral方法由 /Luckysheet/src/plugins/js/numeral.js文件提供，会被打包到plugin.js文件中。

authors: flowerField heyouquan

repo: mengshukeji/Luckysheet


text:
Asset selection resets to default after navigating backwards in the swap process

Description
Currently, when using the 'back' button on the swap confirmation step, the selected assets revert to the default selection.  Swap asset selection should remain consistent throughout the swapping process unless explicitly changed.
Acceptance Criteria

[ ] Asset selection should persist when navigating throughout the swapping process unless the page is refreshed or the user changes the assets

Hi , can you assign this to me , would love to hop on this

Hi @bayological I have a fix for this, assuming this is what is needed ?
https://github.com/user-attachments/assets/5797310f-f169-4fdc-a63e-cb7c806f80d7

Hi @bayological I have a fix for this, assuming this is what is needed ?
Screen.Recording.2024-10-17.at.13.26.27.mov

Perfect. Nice work 👍

authors: Otaiki1 bayological denviljclarke gabrieltemtsen

repo: mento-protocol/mento-web


text:
New aka.ms link

Aka.ms link name
mde-demos
Category (Optional. Select None to auto-select)
defender

Thank you for submitting aka.ms/mde-demos. Your link already exists at akaSearch.net. 🙏✅

authors: aaronparker merill

repo: merill/aka


text:
[Bug] dotnet showing up twice on the list

Bug details
URL: https://bluesky.ms/
Some values like dotnet are duplicated

Tx. Will review.

All fixed up in the new version of the site.

authors: mairaw merill

repo: merill/bluesky


text:
[Site] Build errors with 404s

Description
When building the site, the following errors are shown:
➜  meshery.io git:(master) make site
bundle install; bundle exec jekyll serve --drafts --incremental --livereload
Bundle complete! 11 Gemfile dependencies, 39 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
Configuration file: /Users/lee/code/meshery.io/_config.yml
            Source: /Users/lee/code/meshery.io
       Destination: /Users/lee/code/meshery.io/_site
 Incremental build: enabled
      Generating...
       Jekyll Feed: Generating feed for posts
                    done in 1.934 seconds.
 Auto-regeneration: enabled for '/Users/lee/code/meshery.io'
LiveReload address: http://127.0.0.1:35729
    Server address: http://127.0.0.1:4000/
  Server running... press ctrl-c to stop.
[2024-01-12 21:33:21] ERROR `/assets/css/sass.css' not found.
[2024-01-12 21:33:21] ERROR `/assets/img/nav-icons/mode-toggle-icon-moon.png' not found.
[2024-01-12 21:33:21] ERROR `/assets/js/lightbox.js' not found.
[2024-01-12 21:33:21] ERROR `/assets/js/navbar.js' not found.
[2024-01-12 21:33:21] ERROR `/assets/css/lightbox.css' not found.
[2024-01-12 21:33:21] ERROR `/assets/js/main.js' not found.
[2024-01-12 21:33:21] ERROR `/assets/fonts/qanelas-soft/QanelasSoftRegular.otf' not found.
[2024-01-12 21:33:21] ERROR `/assets/fonts/qanelas-soft/QanelasSoftSemiBold.otf' not found.
        LiveReload: Browser connected

Expected Behavior
No ERRORs on build of the site.

Contributor Guides and Handbook
The meshery.io website uses Jekyll and GitHub Pages. Site content is found under the master branch.

📚 See the Contributing to Meshery.io Website section of the readme.md and other contributing instructions, too.
🎨 Wireframes and designs for Meshery UI in Figma (open invite)
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack

I followed the documentation to build the site, but I was not able to replicate this error.
Here is my output
@Shreyas0410 ➜ /workspaces/meshery.io (master) $ make site
bundle install; bundle exec jekyll serve --drafts --incremental --livereload
Bundler 2.4.10 is running, but your lockfile was generated with 2.4.21. Installing Bundler 2.4.21 and restarting using that version.
Fetching gem metadata from https://rubygems.org/.
Fetching bundler 2.4.21
Installing bundler 2.4.21
Fetching gem metadata from https://rubygems.org/...........
Fetching wdm 0.1.1
Fetching addressable 2.8.6
Fetching tzinfo 2.0.6
Fetching sass-embedded 1.63.6 (x86_64-linux-gnu)
Installing wdm 0.1.1 with native extensions
Installing tzinfo 2.0.6
Installing addressable 2.8.6
Installing sass-embedded 1.63.6 (x86_64-linux-gnu)
Fetching jekyll 4.3.3
Installing jekyll 4.3.3
Fetching jekyll-archives 2.2.1
Fetching jekyll-feed 0.17.0
Fetching jekyll-redirect-from 0.16.0
Fetching jekyll-seo-tag 2.8.0
Installing jekyll-feed 0.17.0
Installing jekyll-redirect-from 0.16.0
Installing jekyll-seo-tag 2.8.0
Installing jekyll-archives 2.2.1
Fetching jekyll-sitemap 1.4.0
Fetching octopress-hooks 2.6.2
Installing octopress-hooks 2.6.2
Fetching octopress-paginate 1.2.0
Installing jekyll-sitemap 1.4.0
Installing octopress-paginate 1.2.0
Bundle complete! 11 Gemfile dependencies, 39 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
Configuration file: /workspaces/meshery.io/_config.yml
            Source: /workspaces/meshery.io
       Destination: /workspaces/meshery.io/_site
 Incremental build: enabled
      Generating...
       Jekyll Feed: Generating feed for posts
                    done in 3.407 seconds.
 Auto-regeneration: enabled for '/workspaces/meshery.io'
LiveReload address: http://127.0.0.1:35729
    Server address: http://127.0.0.1:4000/
  Server running... press ctrl-c to stop.

@vishalvivekm is this issue still there?

I get this error after building the website:

This can be fixed pretty easily. Can I work on this issue?

I did not encounter any errors while building the site locally.

authors: Shreyas0410 leecalcote shubhusion sudhanshutech tayyab-ilyas


text:
[Extensions] Meshery Catalog flow-  the sequence diagrams need enhanced and full flows need to be considered.

Current Issue
At present, designs within the Catlog lack essential options such as editing the description and considerations ,unpublishing for their respective authors.
Desired Improvement
With the Catlog growing steadily (now over 150 designs), it's crucial to add more features. The current Catlog flow, detailed here, mainly covers approval and publishing. To keep up with the increasing number of designs and ensure everything runs smoothly, we need to enhance the system by adding options for editing and unpublishing designs.
Also checkout support for versioning of meshery designs  https://github.com/meshery/meshery/issues/10889. while this also supports to enhance catlog flows .
This is the parent issue
Implementation

Acceptance Tests

Mockups

Contributor Guides and Handbook

🛠 Meshery Build & Release Strategy
📚 Instructions for contributing to documentation

Meshery documentation site and source

🎨 Wireframes and designs for Meshery UI in Figma
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack

FYI @sangramrath

@deepak4566 @leecalcote We already have this feature of editing description and Unpublishing the design from catalog right? what else is expected form this issue?

@Kevin222004 review the sequence diagrams. You tell me.

@leecalcote  Ok I will take a indepth look and update you.

@leecalcote,  at https://github.com/meshery/meshery/issues/10949#issuecomment-2249881531, I was in wrong direction.
Currently in https://docs.google.com/presentation/d/1SQMfyu5shjpGKlYONdVzOtd7UYTgLWBcgUvHMLCZ2tY/edit#slide=id.g1ee09dbe3c9_0_226 we only have the flow diagram to publish the design.
what we want is add the flow of unpublishing the catalog and edit in description.
I will create it soon.

@leecalcote @deepak4566 can you review this https://docs.google.com/presentation/d/1R8y02MONc2TXrlAPxDEuADH0f47M36B0uPlCKMfhHXw/edit?usp=sharing

Status code 401 - yikes.

@leecalcote UnAuthorized Access will be fine. please take a look again
https://docs.google.com/presentation/d/1R8y02MONc2TXrlAPxDEuADH0f47M36B0uPlCKMfhHXw/edit?usp=sharing

@MUzairS15 https://docs.google.com/presentation/d/1R8y02MONc2TXrlAPxDEuADH0f47M36B0uPlCKMfhHXw/edit?usp=sharing Please gave a look again to this flow diagram

repo: meshery/meshery


text:
[Server] Duplicate Error Codes

Current Behavior
Meshery Server has a number of duplicate error codes to be resolved.
Expected Behavior
Running make error produces no errors.
Screenshots/Logs
....
ERRO[0001] duplicate error code '2156', name: 'ErrGetFilterCode'
ERRO[0001] duplicate error code '2156', name: 'ErrMesheryInstanceIDCode'
ERRO[0001] duplicate error code '2156', name: 'ErrCreatePatternServiceCode'
ERRO[0001] duplicate error code '1006', name: 'ErrAddonSubscriptionCode'
ERRO[0001] duplicate error code '1006', name: 'ErrAddonSubscriptionCode'
....

Contributor Guides and Resources

🛠 Meshery Build & Release Strategy
📚 Instructions for contributing to documentation

Meshery documentation site and source

🎨 Wireframes and designs for Meshery UI in Figma
🙋🏾🙋🏼 Questions: Layer5 Discussion Forum and Layer5 Community Slack

Dups. Who needs 'em?

@gr455 have you worked with Meshery Errors before?

@leecalcote absolutely. I'll clean this one up

@gr455 oh, that's excellent. Thank you. 👍


text:
[CI] Docs: Create workflow to refresh list of discussion forum posts

Current Behavior
Meshery Docs displays the most recent 10 discussion forum posts by tag name. Currently "mesheryctl" and "meshery" are the two supported tags. See this related PR https://github.com/meshery/meshery/pull/6773 and this discussion https://discuss.layer5.io/t/proposal-and-call-for-participation-building-the-community-leaderboard/1712/2
Desired Behavior
A scheduled (cron) workflow should refresh the multiple lists of related discussion data files (json) on a daily basis.
Implementation

Checkout repo
Pull fresh list of related posts from:

http://discuss.layer5.io/tag/mesheryctl.json
http://discuss.layer5.io/tag/meshery.json

Deposit data files here - https://github.com/meshery/meshery/tree/master/docs/_data/discuss
Autocommit fresh data files.

Acceptance Tests

Fresh list of related posts display in the Recent Discussions with "" Tag (e.g. https://docs.meshery.io/guides/mesheryctl)

Contributor Guides and Handbook

🛠 Meshery Build & Release Strategy
📚 Instructions for contributing to documentation

Meshery documentation site and source

🎨 Wireframes and designs for Meshery UI in Figma
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack

@leecalcote Can I work on this?

Hi @leecalcote I am good to go with this !!

Thank you, gents. Proceeding with first come, first serve, acknowledging that if after ~a week there isn't progress, we'll move down the list.

authors: deepakdinesh1123 gopivaibhav leecalcote


text:
[Extensions] Bottom Dock Animation for Group components

Current Behavior

Desired Behavior

Screenshots/Logs

Environment

Host OS: Mac Linux Windows
Meshery Server Version: stable-v
Meshery Client Version: stable-v
Platform: Docker Kubernetes

Contributor Guides and Handbook

📚 Meshery Build and Release Strategy
🎨 UI Design For Meshery Extensions Figma in Figma (open invite)
📚 Meshery Extensibility Providers
⌨ Meshery API Docs
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack

DONE!


text:
[Server] Support for publishing to catalog

Signed-off-by: Ruturaj Mohite mohite.ruturaj15@gmail.com
Description
Adds API on meshery server to publish content to catalog
Notes for Reviewers
Use the corresponding changes in meshery cloud for testing
Signed commits

[ ] Yes, I signed my commits.

Codecov Report
Base: 17.26% // Head: 17.20% // Decreases project coverage by -0.06% :warning:

Coverage data is based on head (05e71f9) compared to base (e66fa9b).
Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6341      +/-   ##
==========================================
- Coverage   17.26%   17.20%   -0.07%
==========================================
  Files         116      116
  Lines       10895    10935      +40
==========================================
  Hits         1881     1881
- Misses       8551     8591      +40
  Partials      463      463

Flag
Coverage Δ

gointegrationtests
5.86% <0.00%> (-0.03%)
:arrow_down:

unittests
12.86% <0.00%> (-0.05%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

server/handlers/error.go
0.00% <0.00%> (ø)

server/handlers/meshery_filter_handler.go
0.00% <0.00%> (ø)

server/handlers/meshery_pattern_handler.go
0.00% <0.00%> (ø)

server/router/server.go
0.00% <0.00%> (ø)

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Did I do the swagger part right?

Did I do the swagger part right?

The answer is 'no' :smiley:

Did I do the swagger part right?

The answer is 'no' 😃

😂

authors: codecov-commenter gr455 leecalcote


text:
[UI] Connections: External Link and Light Mode Issue

Notes for Reviewers
This PR fixes #

[x] Dark mode issues (status chip)
[x]  External link to element
[x] Remove row expand icon (Row expand on click the row)

Signed commits

[x] Yes, I signed my commits.

@senali-d are these dark and light mode changes for the Connections page consideration of their potential impact across Meshery UI?

The external link styling has improved, but the connect state chips, don't seem to be.

The external link styling has improved, but the connect state chips, don't seem to be.

@ritiksaxena124 Look like "Deleted" status chip color was not works in dark mode.

@senali-d are these dark and light mode changes for the Connections page consideration of their potential impact across Meshery UI?

@leecalcote Still those colors are only used in connections page.

@senali-d are these dark and light mode changes for the Connections page consideration of their potential impact across Meshery UI?

@leecalcote Still those colors are only used in connections page.

ok, good deal. 👍
We'll need to increase the contrast, @senali-d @ritiksaxena124

I think this is pending one more update - https://www.figma.com/file/SMP3zxOjZztdOLtgN4dS2W/Meshery-UI?type=design&node-id=16188-38481&mode=design&t=gsWPvU7dJR23IIaQ-4

@senali-d could you please share the screenshot of how it looks now in dark and light mode?

authors: leecalcote ritiksaxena124 senali-d


text:
[extensions] Fix Collaborator Extension Point Re-rendering

Earlier, in this PR (https://github.com/meshery/meshery/pull/8893) I was skipping re-rendering of entire header component by the use of shouldComponentUpdate function of React. Reference: https://legacy.reactjs.org/docs/optimizing-performance.html#avoid-reconciliation. That fixed the issue of collaborator ext re-rendering but lead to other issues like title not updating, and dark mode not applying etc.
Now, if have just memoized the extension point sandbox component using https://react.dev/reference/react/memo so any of our extension point would not be re-rendered until the requested type changes. This ensures that the collaborator's extension point doesn't re-render.
I've tested thoroughly, it doesn't lead to any side affects now. Event checked the behavior of other extension points and all work as desired.

👏 . Just for curiosity did you find why was getting rerrendered so much .

Yes, it is due to the fact that our header component re-renders continuously. The reason for that is because it has title, k8s context switcher, settings and user avatar as child component. And also the recently introduced user collaborator extension point component.
Each of these component especially title and k8s context switcher relies on the redux store vars which are passed to the header component as props. Since, the value of title props changes on navigating to a different page (because the title of each page is different) so the header component re-renders it self. Since, the parent component re-renders so that leads to re-rendering of child component. And naturally user collaborator extension point being its child component was repeatedly re-rendered due to it.
Now this PR would memoized the ExtensionSandbox component (the one which is responsible for dynamically rendering our extension points, like user avatar in this case). This memoization is based on the fact that only if the type of the extension changes (which is passed to the ExtensionSandbox Component as props) then we would re-render that component. This ensure that even thought the header component would re-render based on navigating to different pages the ExtensionSandbox component (that is, collaborator extension point) would not re-render because the type would remain same.


text:
INFINITY-2758/CASS-658 Document 'free' task env, and rack behavior

There's already some region/zone docs, just needed some more for Cassandra.
Add listing of freebie envvars that are automatically injected into tasks.

ping

repo: mesosphere/dcos-commons


text:
readinessChecks is breaking my task JSON definition

Hi,
We're using Marathon 1.3.3 over Apache Mesos 1.0.1
It's very strange but I can see this error when I add readinessChecks in my json definition task
$curl -X POST -H "Content-Type: application/json" --data @app-with-readyness.json 'http://FQDN:8080/v2/apps' {"message":"Invalid JSON","details":[{"path":"","errors":["error.expected.jsarray"]}]}
Another JSON file without the readinessChecks is working fine
`
$(3:1590)$ diff app-withiout-readyness.json  app-with-readyness.json

"readinessChecks": [
{
"name": "Status",
"protocol": "HTTP",
"path": "/",
"portName": "service",
"intervalSeconds": 10,
"timeoutSeconds": 3,
"httpStatusCodesForReady": [ 200 ],
"preserveLastResponse": true
}
],
`

I checked the syntax with JQ and PYTHON checker and both files is well-formed.
Somebody can help me??

Solved, I just need define name in port definition, apologies....

repo: mesosphere/marathon


text:
When is the next release ?

May I know when is the next release ? @maxgrabenhorst
Appreciate if you can release as soon as possible since we need the  enum types "USER_EMAIL", "USER_PHONE_NUMBER" urgently. Thanks

@maxgrabenhorst

Hey Rasika,
we had a private conversation but I want to make the answer public:
Yesterday I released messenger4j 1.0.0 which includes the support for email and phone number quick replies.
Unfortunately at the same time I announced that the library is no longer maintained.
I love this project and would like to push it even further but I do not have enough time that I could spend on it. That makes me sad but I have to focus on other things.
I hope you understand this - sorry!
Best
Max

What does it mean? If it is not maintaned anymore should not I use it ?

https://github.com/messenger4j/messenger4j/commit/a4d1251e4352ebc3bad3775c05a773d6a21c8d9c 'not maintained' status removed

I will release a new bugfix release soon. Feature releases will follow.

Great! Thank you.
On Sun, May 5, 2019 at 1:11 PM Max Grabenhorst notifications@github.com
wrote:

I will release a new bugfix release soon. Feature releases will follow.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/messenger4j/messenger4j/issues/94#issuecomment-489449639,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAMBEUOBY7PNC6VW7QLXTHDPT4PMNANCNFSM4FDPM6AA
.

messenger4j 1.1.0 is out!

authors: bahadirkorumaz izhidov maxgrabenhorst n0mer rasika-chandana


text:
v1.10.0 和 v1.10.1 打开图片地址直接下载图片

问题描述
我用的是 https://github.com/messense/aliyundrive-webdav/releases/download/v1.10.1/aliyundrive-webdav-v1.10.1.x86_64-unknown-linux-musl.tar.gz 这个程序包，之前的 v1.9.0 没有这个问题，辛苦作者修复一下，谢谢
启动命令：./aliyundrive-webdav --cache-ttl 60 -r xxxx --root /lsky_public --read-only
重现步骤
1.通过浏览器点击目录中的图片链接
2.图片变成自动下载
版本
v1.10.1
运行平台
x86，linux
refresh token 获取方式
App扫码
日志
暂无

@messense 好的，感谢答疑

repo: messense/aliyundrive-webdav


text:
URI: change "name" format

Using name=src/flutter wound up causing some amount of trouble when Running a Yocto build with a PREMIRROR.  The original failure:
ERROR: flutter-engine-runtimerelease-git-r0 do_fetch: No checksum specified for '/hd/utils_test/release-tmp/repo_base/downloads/https__github.com_flutter_engine.git-8f2221fbef28b478debb78dd233f5250b220ca99.tar.bz2', please add at least one to the recipe:
SRC_URI[src/flutter.sha256sum] = "d16173dd94e967f44aed198d283d8212640d892cf86631a9318b72e61f793c4d" ERROR: flutter-engine-runtimerelease-git-r0 do_fetch: Bitbake Fetcher Error: NoChecksumError('Missing SRC_URI checksum', 'https://artifactory.foo.com/Yocto/dunfell/https__github.com_flutter_engine.git-8f2221fbef28b478debb78dd233f5250b220ca99.tar.bz2;name=src/flutter')
But using the above suggestion of setting
"SRC_URI[src/flutter.sha256sum]" in a .bbappend results with this error:
ERROR: ParseError at /hd/dunfell/sources/meta-foo/recipes-graphics/flutter-engine/flutter-engine_git.bbappend:10: unparsed line: 'SRC_URI[src/flutter.sha256sum] = "d16173dd94e967f44aed198d283d8212640d892cf86631a9318b72e61f793c4d"'
So we change gn.py to prepend "src/" to the name for writing the gclient solution, and change the gn URI in flutter-engine to not include "src/".

Lgtm.  Can you sign your commit?

@camaronut also if you can create PR for kirkstone, that would be appreciated.

Hi @jwinarske , updated the commit to be signed.  I can create a PR for kirkstone, but I won't be able to test at this time (we're late to the kirkstone party unfortunately).  If you're OK with that then I can do it.

@camaronut I'm okay with PR for kirkstone.  I'll validate it with a couple CI jobs.

@camaronut I also appreciate the thorough notes.  Thanks for the contribution!

@jwinarske , no problem, happy to help!

authors: camaronut jwinarske

repo: meta-flutter/meta-flutter


text:
Ollama 4.0 vision and llama-stack token Invalid token for decoding

🚀 The feature, motivation and pitch
ollama vision is new:
https://ollama.com/x/llama3.2-vision
providers:
inference:

provider_id: remote::ollama
provider_type: remote::ollama
config:
host: 127.0.0.1
port: 11434

in lama_stack/providers/adapters/inference/ollama/ollama.py
OLLAMA_SUPPORTED_MODELS = {
"Llama3.1-8B-Instruct": "x/llama:latest",
"Llama3.1-70B-Instruct": "llama3.1:70b-instruct-fp16",
"Llama3.2-1B-Instruct": "llama3.2:1b-instruct-fp16",
"Llama3.2-3B-Instruct": "llama3.2:3b-instruct-fp16",
"Llama-Guard-3-8B": "llama-guard3:8b",
"Llama-Guard-3-1B": "llama-guard3:1b",
"Llama3.2-11B-Vision-Instruct": "x/llama:latest"
}
Traceback (most recent call last):
File "/home/guilherme/.local/lib/python3.10/site-packages/llama_stack/distribution/server/server.py", line 206, in sse_generator
async for item in await event_gen:
File "/home/guilherme/.local/lib/python3.10/site-packages/llama_stack/providers/impls/meta_reference/agents/agents.py", line 138, in _create_agent_turn_streaming
async for event in agent.create_and_execute_turn(request):
File "/home/guilherme/.local/lib/python3.10/site-packages/llama_stack/providers/impls/meta_reference/agents/agent_instance.py", line 179, in create_and_execute_turn
async for chunk in self.run(
File "/home/guilherme/.local/lib/python3.10/site-packages/llama_stack/providers/impls/meta_reference/agents/agent_instance.py", line 252, in run
async for res in self._run(
File "/home/guilherme/.local/lib/python3.10/site-packages/llama_stack/providers/impls/meta_reference/agents/agent_instance.py", line 427, in _run
async for chunk in await self.inference_api.chat_completion(
File "/home/guilherme/.local/lib/python3.10/site-packages/llama_stack/distribution/routers/routers.py", line 101, in
return (chunk async for chunk in await provider.chat_completion(**params))
File "/home/guilherme/.local/lib/python3.10/site-packages/llama_stack/providers/adapters/inference/ollama/ollama.py", line 215, in _stream_chat_completion
params = self._get_params(request)
File "/home/guilherme/.local/lib/python3.10/site-packages/llama_stack/providers/adapters/inference/ollama/ollama.py", line 190, in _get_params
"prompt": chat_completion_request_to_prompt(request, self.formatter),
File "/home/guilherme/.local/lib/python3.10/site-packages/llama_stack/providers/utils/inference/prompt_adapter.py", line 46, in chat_completion_request_to_prompt
return formatter.tokenizer.decode(model_input.tokens)
File "/home/guilherme/.local/lib/python3.10/site-packages/llama_models/llama3/api/tokenizer.py", line 190, in decode
return self.model.decode(cast(List[int], t))
File "/home/guilherme/.local/lib/python3.10/site-packages/tiktoken/core.py", line 254, in decode
return self._core_bpe.decode_bytes(tokens).decode("utf-8", errors=errors)
KeyError: 'Invalid token for decoding: 128256'
Alternatives
No response
Additional context
No response

yeah that's a special token we need to correctly filter out for vision models. Let me look into this.

See https://github.com/meta-llama/llama-stack/pull/376/files -- it works now

Thank you very much for your help.
While testing the image, an error occurs. Which version of HTTPX are you using?
Thanks,
Guilherme
role='user' content=[ImageMedia(image=URL(uri='data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAAAAAAD/4gIcSUNDX1BST0ZJTEUAAQEAAAIMbGNtcwIQAABtbnRyUkdCIFhZWiAH3AABABkAAwApADlhY3NwQVBQTAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA9tYAAQAAAADTLWxjbXMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAApkZXNjAAAA/AAAAF5jcHJ0AAABXAAAAAt3dHB0AAABaAAAABRia3B0AAABfAAAABRyWFlaAAABkAAAABRnWFlaAAABpAAAABRiWFlaAAABuAAAABRyVFJDAAABzAAAAEBnVFJDAAABzAAAAEBiVFJDAAABzAAAAEBkZXNjAAAAAAAAAANjMgAAAAAAAAAAAAAAAAAAAAAAAA......mited to): couch, coffee table, fireplace, etc\n\nReturn results in the following format:\n{\n    "description": 4 sentence architectural description of the image,\n    "items": list of furniture items present in the image\n}\n\nRemember to only list furniture items you see in the image. Just suggest item names without any additional text or explanations.\nFor eg. "Couch" instead of "grey sectional couch"\n\nReturn JSON as suggested, Do not return any other text or explanations.\n'] context=None
Traceback (most recent call last):
File "/home/guilherme/angular/llama/llama-stack/llama_stack/distribution/server/server.py", line 212, in sse_generator
async for item in await event_gen:
File "/home/guilherme/angular/llama/llama-stack/llama_stack/providers/impls/meta_reference/agents/agents.py", line 138, in _create_agent_turn_streaming
async for event in agent.create_and_execute_turn(request):
File "/home/guilherme/angular/llama/llama-stack/llama_stack/providers/impls/meta_reference/agents/agent_instance.py", line 179, in create_and_execute_turn
async for chunk in self.run(
File "/home/guilherme/angular/llama/llama-stack/llama_stack/providers/impls/meta_reference/agents/agent_instance.py", line 252, in run
async for res in self._run(
File "/home/guilherme/angular/llama/llama-stack/llama_stack/providers/impls/meta_reference/agents/agent_instance.py", line 427, in _run
async for chunk in await self.inference_api.chat_completion(
File "/home/guilherme/angular/llama/llama-stack/llama_stack/distribution/routers/routers.py", line 101, in chat_completion
return (chunk async for chunk in await provider.chat_completion(**params))
File "/home/guilherme/angular/llama/llama-stack/llama_stack/providers/impls/meta_reference/inference/inference.py", line 220, in chat_completion
request = await request_with_localized_media(request)
File "/home/guilherme/angular/llama/llama-stack/llama_stack/providers/impls/meta_reference/inference/inference.py", line 421, in request_with_localized_media
m.content = await _convert_content(m.content)
File "/home/guilherme/angular/llama/llama-stack/llama_stack/providers/impls/meta_reference/inference/inference.py", line 415, in _convert_content
return [await _convert_single_content(c) for c in content]
File "/home/guilherme/angular/llama/llama-stack/llama_stack/providers/impls/meta_reference/inference/inference.py", line 415, in
return [await _convert_single_content(c) for c in content]
File "/home/guilherme/angular/llama/llama-stack/llama_stack/providers/impls/meta_reference/inference/inference.py", line 408, in _convert_single_content
url = await convert_image_media_to_url(content, download=True)
File "/home/guilherme/angular/llama/llama-stack/llama_stack/providers/utils/inference/prompt_adapter.py", line 77, in convert_image_media_to_url
r = await client.get(media.image.uri)
File "/tmp/a/llama/conda/envs/llamastack-rede/lib/python3.10/site-packages/httpx/_client.py", line 1814, in get
return await self.request(
File "/tmp/a/llama/conda/envs/llamastack-rede/lib/python3.10/site-packages/httpx/_client.py", line 1585, in request
return await self.send(request, auth=auth, follow_redirects=follow_redirects)
File "/tmp/a/llama/conda/envs/llamastack-rede/lib/python3.10/site-packages/httpx/_client.py", line 1674, in send
response = await self._send_handling_auth(
File "/tmp/a/llama/conda/envs/llamastack-rede/lib/python3.10/site-packages/httpx/_client.py", line 1702, in _send_handling_auth
response = await self._send_handling_redirects(
File "/tmp/a/llama/conda/envs/llamastack-rede/lib/python3.10/site-packages/httpx/_client.py", line 1739, in _send_handling_redirects
response = await self._send_single_request(request)
File "/tmp/a/llama/conda/envs/llamastack-rede/lib/python3.10/site-packages/httpx/_client.py", line 1776, in _send_single_request
response = await transport.handle_async_request(request)
File "/tmp/a/llama/conda/envs/llamastack-rede/lib/python3.10/site-packages/httpx/_transports/default.py", line 377, in handle_async_request
resp = await self._pool.handle_async_request(req)
File "/home/guilherme/.local/lib/python3.10/site-packages/httpcore/_async/connection_pool.py", line 216, in handle_async_request
raise exc from None
File "/home/guilherme/.local/lib/python3.10/site-packages/httpcore/_async/connection_pool.py", line 188, in handle_async_request
closing = self._assign_requests_to_connections()
File "/home/guilherme/.local/lib/python3.10/site-packages/httpcore/_async/connection_pool.py", line 264, in _assign_requests_to_connections
origin = pool_request.request.url.origin
File "/home/guilherme/.local/lib/python3.10/site-packages/httpcore/_models.py", line 289, in origin
default_port = {
KeyError: b''
second error:
role='user' content=[ImageMedia(image=URL(uri='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABEwAAALMCAIAAABxA7APAAAAGXRFWHRTb2Z0d2FyZQBnbm9tZS1zY3JlZW5zaG907wO/PgAAACZ0RVh0Q3JlYXRpb24gVGltZQBxdWkgMjQgb3V0IDIwMjQgMTU6Mjk6MTJn2mNeAAEAAElEQVR4nOydd1wUR//HP3tHL0c7lK6gCApYAEWNCtYUETUxiSXRqEl8TEKCRk38aaJGfUysKE+KaZZEY574WBBN7FiiURELoCAKiDTlpJc77m7398feHde5g6Oo834Rczc7853Zndvd+ex857uUa9+xPWwrysrKQCAQCAQCgUAgEAhPPpxeDjVE4RAIBAKBQCAQCISnBk57N4BAIBAIBAKBQCAQTAkROQQCgUAgEAgEAuGpwqztq3R3d2/7SgmGU1xc3N5NIBA......mited to): couch, coffee table, fireplace, etc\n\nReturn results in the following format:\n{\n    "description": 4 sentence architectural description of the image,\n    "items": list of furniture items present in the image\n}\n\nRemember to only list furniture items you see in the image. Just suggest item names without any additional text or explanations.\nFor eg. "Couch" instead of "grey sectional couch"\n\nReturn JSON as suggested, Do not return any other text or explanations.\n'] context=None
Traceback (most recent call last):
File "/home/guilherme/angular/llama/llama-stack/llama_stack/distribution/server/server.py", line 212, in sse_generator
async for item in await event_gen:
File "/home/guilherme/angular/llama/llama-stack/llama_stack/providers/impls/meta_reference/agents/agents.py", line 138, in _create_agent_turn_streaming
async for event in agent.create_and_execute_turn(request):
File "/home/guilherme/angular/llama/llama-stack/llama_stack/providers/impls/meta_reference/agents/agent_instance.py", line 179, in create_and_execute_turn
async for chunk in self.run(
File "/home/guilherme/angular/llama/llama-stack/llama_stack/providers/impls/meta_reference/agents/agent_instance.py", line 252, in run
async for res in self._run(
File "/home/guilherme/angular/llama/llama-stack/llama_stack/providers/impls/meta_reference/agents/agent_instance.py", line 427, in _run
async for chunk in await self.inference_api.chat_completion(
File "/home/guilherme/angular/llama/llama-stack/llama_stack/distribution/routers/routers.py", line 101, in chat_completion
return (chunk async for chunk in await provider.chat_completion(**params))
File "/home/guilherme/angular/llama/llama-stack/llama_stack/providers/impls/meta_reference/inference/inference.py", line 220, in chat_completion
request = await request_with_localized_media(request)
File "/home/guilherme/angular/llama/llama-stack/llama_stack/providers/impls/meta_reference/inference/inference.py", line 421, in request_with_localized_media
m.content = await _convert_content(m.content)
File "/home/guilherme/angular/llama/llama-stack/llama_stack/providers/impls/meta_reference/inference/inference.py", line 415, in _convert_content
return [await _convert_single_content(c) for c in content]
File "/home/guilherme/angular/llama/llama-stack/llama_stack/providers/impls/meta_reference/inference/inference.py", line 415, in
return [await _convert_single_content(c) for c in content]
File "/home/guilherme/angular/llama/llama-stack/llama_stack/providers/impls/meta_reference/inference/inference.py", line 408, in _convert_single_content
url = await convert_image_media_to_url(content, download=True)
File "/home/guilherme/angular/llama/llama-stack/llama_stack/providers/utils/inference/prompt_adapter.py", line 77, in convert_image_media_to_url
r = await client.get(media.image.uri)
File "/tmp/a/llama/conda/envs/llamastack-rede/lib/python3.10/site-packages/httpx/_client.py", line 1814, in get
return await self.request(
File "/tmp/a/llama/conda/envs/llamastack-rede/lib/python3.10/site-packages/httpx/_client.py", line 1572, in request
request = self.build_request(
File "/tmp/a/llama/conda/envs/llamastack-rede/lib/python3.10/site-packages/httpx/_client.py", line 346, in build_request
url = self._merge_url(url)
File "/tmp/a/llama/conda/envs/llamastack-rede/lib/python3.10/site-packages/httpx/_client.py", line 376, in _merge_url
merge_url = URL(url)
File "/tmp/a/llama/conda/envs/llamastack-rede/lib/python3.10/site-packages/httpx/_urls.py", line 117, in init
self._uri_reference = urlparse(url, **kwargs)
File "/tmp/a/llama/conda/envs/llamastack-rede/lib/python3.10/site-packages/httpx/_urlparse.py", line 158, in urlparse
raise InvalidURL("URL too long")
httpx.InvalidURL: URL too long

@JoseGuilherme1904 can you tell me how to reproduce this failure?

Hi ashwinb,
I'm involved in studying the AgentConfigToolFunctionCallToolDefinition. Once I complete this study, I plan to better describe the two issues I listed above.
Do I need to open a new topic to discuss the AgentConfigToolFunctionCallToolDefinition as I'm trying to configure a function, or can you help me here?
tools = [
AgentConfigToolFunctionCallToolDefinition(
type = "function_call",
function_name = "PesquisaWebCPF",
description = "Tendo um ou mais CPFs, utilize essa função para pesquisar todos os dados de um ou mais funcionários por CPF. Os dados retornados incluem dados cadastrais, financeiros, de férias, afastamentos, dependentes, endereço, telefones, e emails.",
parameters = {
"cpfs": {
"param_type": "array",
"description": "Uma lista de números de CPF para pesquisa (formato: XXXXXXXXXXX).",
"required": True
}
},
remote_execution = {
"url": "http://localhost/a.php",
"method": "GET",
"params": {
"cpfs": "{cpfs}"
},
"headers": {
"Content-Type": "application/json",
"Authorization": ""
},
                },

           )

        ]

estou tendo o seguinte erro:
Traceback (most recent call last):
File "/home/guilherme/.local/lib/python3.10/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
await app(scope, receive, sender)
File "/home/guilherme/.local/lib/python3.10/site-packages/starlette/routing.py", line 73, in app
response = await f(request)
File "/home/guilherme/.local/lib/python3.10/site-packages/fastapi/routing.py", line 346, in app
raise validation_error
fastapi.exceptions.RequestValidationError: [{'type': 'model_attributes_type', 'loc': ('body', 'agent_config', 'tools', 0, 'function_call', 'remote_execution', 'url'), 'msg': 'Input should be a valid dictionary or object to extract fields from', 'input': 'http://localhost/a.php'}]
INFO:     127.0.0.1:46906 - "POST /agents/create HTTP/1.1" 400 Bad Request

repo: meta-llama/llama-stack


text:
amexio-nav-item not showing amexio-label

in amexio-nav-item im not able show amexio-label for welcome message on the nav header.
my code:
<amexio-nav [logo]="'assets/images/logo.png'">

Hello Mr.XYZ

and also im not able to disable textfield in amexio-nav-item
code:
<amexio-nav [logo]="'assets/images/logo.png'">
<amexio-nav-item position-right
[type]="'textfield'"
[title]="'Enter your name'" [(ngModel)] = "uname" [disabled]="true">

please help me in that.
Thanks in advance.

We will check and get back to you soon...
Thanks

It is possible to add label by using [title] attribute in amexio-nav markup.
Code for reference:
<amexio-nav [logo]="'assets/images/logo.png'"
[title]="'Amexio'">
<amexio-nav-item position-right
[type]="'textfield'"
[title]="'Enter your name'"
[(ngModel)]="uname" >

Amexio-nav-item doesnot have disabled property. We will add it to fulfill your requirement and update you once we add that property.
Thanks.

Thanks for your reply mam,i will check your solution it is satisfied my requirement or not.
my requirement is need to display username in header after login. i will check and let you know.

hi @rashmithakkar  mam,
can you please help me ,some times dropdown [(ngModel)] values are not working.
i have multiple dropdowns in a page, i will send request to server at that some times values or not working.
ex: if we have grid in our page,i will submit request to the server and get response into the grid. if i click any page in the grid pagination and then again i submit request to the server at this time im not getting any reponse.
my dropdown code:

<amexio-column [size]="4">
<amexio-dropdown [(ngModel)]="StateName"
[place-holder]="'Choose'"
name="StateName"
[data]="getStates"
[data-reader]="'statesdata'"
[field-label]="'Choose State'"
[display-field]="'name'"
[value-field]="'name'"
(onSingleSelect)="selState($event)">

<amexio-column [size]="4">
<amexio-dropdown  [(ngModel)]="DistrictName"
[place-holder]="'Choose'"
name="DistrictName"
[data]="getDists"
[data-reader]="'districtdata'"
[field-label]="'Choose District'"
[display-field]="'name'"
[value-field]="'name'"
(onSingleSelect)="selDist($event)">

<amexio-column [size]="4">
<amexio-dropdown  [(ngModel)]="CityName"
[place-holder]="'Choose'"
name="CityName"
[data]="getCities"
[data-reader]="'citiesdata'"
[field-label]="'Choose City'"
[display-field]="'name'"
[value-field]="'name'"
(onSingleSelect)="selCity($event)">

please help me in that.
thanks in advance.


text:
fix menu bar background color

Now it blends in with windows light theme.

Task linked: CU-863g2p6pc Background color for the menubar

authors: MGH-Automator MichiGandi

repo: metagamehub/dcl-edit


text:
Fix test by updating inherited component API

This fixes two tests found in the metal-components travis build:
Edge 13.10586.0 (Windows 10 0.0.0) Popover should open and close on click events by default FAILED
	Error: AssertionError: expected
trigger
 to equal null (/home/travis/build/metal/metal-components/node_modules/chai/chai.js:206)
Edge 13.10586.0 (Windows 10 0.0.0) Popover should get content from the align element's data-content FAILED
	Error: timeout of 2000ms exceeded. Ensure the done() callback is being called in this test.

@fernandosouza could you release?

authors: eduardolundgren fernandosouza

repo: metal/metal-popover


text:
🌱 Modify Metal3Machine association order

What this PR does / why we need it:
This PR waits for a BMH to be available and associated before creating the Metal3DataClaim. This ensures that the previous node
is properly deleted before giving an index to the new one (in case of scale-in upgrade).

/test-integration

/test-centos-integration

/test-centos-integration

looks good to me

/lgtm

authors: Jaakko-Os Xenwar furkatgofurov7 maelk


text:
Precommit apply

Applies pre-commit coventions to current files in repo

/assign @codificat

/lgtm
/approve

authors: codificat fmuyassarov iranzo


text:
New Version finalized?

Is the revision of the Metamath book finalized now? Any open issues/todos?
One (final, if nothing else will change) remark: Please add my middle initial to my name on page 30: Alexander W. van der Vekens . Usually I do not use it (and nobody else has to), but in an official publication like a book I would like to see it. After this, the book looks fine for me.
I am eagerly awaiting the final version, so that I can get a printout/bound book of it.

This will be fixed if #137 is accepted.  After that I think we should "ship it" - but Norm has the final say.

Fixed!  We have a few last-minute errata reports & then we hope to print a paper book.

authors: avekens david-a-wheeler

repo: metamath/metamath-book


text:
Create a component to show missing data

A user annotating e.g. age on the annotation page should see a representation of all of the values we think are representing missing values in the columns that are "about" age.
data in:

list of columns (and their names) previously categorized as "about" age
the raw values from these columns
if available, the mappings for these raw values from the data dictionary
a list or index of unique values we think may represent missing data (this could also generated by a function inside the component)

behaviour:

[ ] the component shows me every value we consider to reflect "missing data" (e.g. table, list, ...)
[ ] together with these values, I can see the name of the column the value came from (e.g. "XX" could stand for missing data in one column but not in another)
[ ] there is an intuitive way for me to label a value as "not missing data". e.g. with a button that is right next to the value, or a checkbox, ...
[ ] when I complete the action to label a value as "not missing data" (e.g. press a button), it disappears from the values shown in the component

data out:

a list of values and the columns they came from, that reflect "missing data"

To discuss:

there should probably also be a way to undo this operation or declare values as "missing" in a standardized way
where should we keep track of these missing values?

@surchs Can you explain a bit more what you mean by the word "missing" for this component?

Yeah! So let's assume a column "Age" has the values ['11.0', '12', 'n/a', 'XXXX', '-', '14.1', '9999']. Then n/a, XXXX, -, and probably 9999 are likely to reflect a missing value or some entry error, rather than an actual age. We are unlikely to see so many different ways of describing "missing" data in one dataset, but it's not unlikely that there are several, e.g. because of typos (i.e. n/a and na) when data were entered by hand.
Particularly for continuous variables like age (where we cannot ask the user to annotate each unique value), we will want to make an educated guess about what values reflect "missing values". But I think we may get that wrong some times. And for this reason, there should be a small component that shows the user the values we consider to be "missing" values, and allows the user to tell us if any of them are instead "real" values - so we can include them in our transformation attempt.

🙏 Thank you.

if available, the mappings for these raw values from the data dictionary

@surchs Can you flesh this out a bit more?

The idea was here:

take the values we think reflect "missing data"
look them up in the data dictionary under the "levels" key for categorical data (see the BIDS specs for participants.json files)
if we find any descriptions for the values in the data dictionary, add them to the missing data component as a reminder for the user

Let's say:

we annotate the "Sex" category
a column called "participant_sex" was labeled as "about" Sex
one of the values in this column is "na"
we pull this out (through sheer foresight) as a suspected "missing value"
we look up "na" in the data dictionary for "participant_sex":

Let's say the data dictionary looks like this:
participants.json:
"participant_sex": {
        "Description": "the self reported gender of the participant",
        "Levels": {
            "m": "male",
            "f": "female",
            "na": "participant did't answer the question"

Then we could show the string "participant did't answer the question" together with the suspected "missing data" value "na" to the user in order to help them make a better judgment.
Now, realistically, this is not going to be very important often. Because values are most likely going to be either easily identifiable as missing even without the extra description, or - more likely - missing values will not have a description in the data dictionary. So in short: I would rate this feature as not very important for now

This is all good and clears things up, but just one more question.

we pull this out (through sheer foresight) as a suspected "missing value"

This sounds like we are going to have custom code for each of the categories that has some hardcoded/reg-exed means of determining if a value looks out of the ordinary.  Is that correct?

I think that's an open question. The way I think about it at the moment is that most categorical columns will have a number of unique values that we can just show the user in full. Then they can tell us which of these are "missing values". E.g. a diagnosis column with ['pd', 'ctl', 'na'] are three lines in a table. And if 'na' is the "missing value", the user would select "missing" from a dropdown or checkbox for this row.
Even if we have to handle many categories in a column (or set of columns), e.g. for "assessment tools", we still have to ask the user to annotate each category. So one or two extra categories for "missing" data are not going to break things.
The only place where this doesn't work is for numeric / continuous data. But as far as I can see, this is also the case where identifying missing values is going to be easier. E.g. "should be a number > can I cast it to a number > no > probably missing value" or "should be a number between 1 and 100 > this is a negative number > probably missing". etc.
I think we'll have to see if this is enough. If you have some ideas. Let me know what you think

It'll be tricky code, but definitely not impossible. I think the best way to do this is write out the types of data and then list expected values and expected missing values. This way we can write out a series of general tests in the form of methods that can be reused for each type of data (column values).

Yeah, I think that makes sense to me. And what I meant to add but didn't is: for some obvious cases (e.g. empty string, wrong data type, etc) where it makes sense to capture via regex, it might make sense to have category specific rules. But alternatively we can also choose to only show this component for categories with continuous data

Is there an expected range field(s) in BIDS that you are aware of that is akin to the 'Levels' field?

I'm not aware of that. I know you can provide "units" in the BIDS data dictionary. But I think value ranges are not part of BIDS to my knowledge. We should check that though, and if it really doesn't exist, this may end up being a useful contribution to BIDS.

Would we consider outliers for numeric data to be "missing"?

@surchs Also, can I expect the column data type to be given to this component or will I have to derive it via the input data?

@jarmoza, sorry, missed these:

Would we consider outliers for numeric data to be "missing"?

I think for now, no. But that's a good idea and we could keep it in mind for a later addition. Make an issue?

can I expect the column data type to be given to this component or will I have to derive it via the input data

Ah, I think that's what we ended up discussing on slack today, right? Yeah, I'd say we should could pass this to the component. The parent component (containing the category-specific annotation tab) can have the category type hard-coded and pass it along. Sound good?

authors: jarmoza surchs


text:
PDF JIS Z 8301: ToC title letter spacing

Source issue: https://github.com/metanorma/metanorma-jis/issues/9
Original PDF:

Generated PDF:

Done in https://github.com/metanorma/metanorma-jis/issues/62

repo: metanorma/metanorma-jis


text:
Unclear usage of energy key

Hello,
I am currently trying to train a PET model via metatrain using this input file:
seed: 42

architecture:
  name: experimental.pet
  model:
    CUTOFF_DELTA: 0.2
    AVERAGE_POOLING: False
    TRANSFORMERS_CENTRAL_SPECIFIC: False
    HEADS_CENTRAL_SPECIFIC: False
    ADD_TOKEN_FIRST: True
    ADD_TOKEN_SECOND: True
    N_GNN_LAYERS: 3
    TRANSFORMER_D_MODEL: 128
    TRANSFORMER_N_HEAD: 4
    TRANSFORMER_DIM_FEEDFORWARD: 512
    HEAD_N_NEURONS: 128
    N_TRANS_LAYERS: 3
    ACTIVATION: silu
    USE_LENGTH: True
    USE_ONLY_LENGTH: False
    R_CUT: 5.0
    R_EMBEDDING_ACTIVATION: False
    COMPRESS_MODE: mlp
    BLEND_NEIGHBOR_SPECIES: False
    AVERAGE_BOND_ENERGIES: False
    USE_BOND_ENERGIES: True
    USE_ADDITIONAL_SCALAR_ATTRIBUTES: False
    SCALAR_ATTRIBUTES_SIZE: null
    TRANSFORMER_TYPE: PostLN # PostLN or PreLN
    USE_LONG_RANGE: False
    K_CUT: null # should be float; only used when USE_LONG_RANGE is True
    RESIDUAL_FACTOR: 0.5

  training:
    INITIAL_LR: 1e-4
    EPOCH_NUM_ATOMIC: 1000000000000000000
    SCHEDULER_STEP_SIZE_ATOMIC: 500000000
    EPOCHS_WARMUP_ATOMIC: 250000000
    GLOBAL_AUG: True
    SLIDING_FACTOR: 0.7
    ATOMIC_BATCH_SIZE: 850
    MAX_TIME: 234000
    ENERGY_WEIGHT: 0.1 # only used when fitting MLIP
    MULTI_GPU: False
    RANDOM_SEED: 0
    CUDA_DETERMINISTIC: False
    MODEL_TO_START_WITH: null
    SUPPORT_MISSING_VALUES: False
    USE_WEIGHT_DECAY: False
    WEIGHT_DECAY: 0.0
    DO_GRADIENT_CLIPPING: False
    GRADIENT_CLIPPING_MAX_NORM: null # must be overwritten if DO_GRADIENT_CLIPPING is True
    USE_SHIFT_AGNOSTIC_LOSS: False # only used when fitting general target. Primary use case: EDOS
    ENERGIES_LOSS: per_structure # or per_atom
    BALANCED_DATA_LOADER: False

training_set:
  systems: "GaAs_old.xyz" # file where the positions are stored
  targets:
    energy:
      key: "energy" # name of the target value
      unit: "eV" # unit of the target value
    forces:
      key: "forces"

test_set: 0.1 # 10 % of the training_set are randomly split and taken for test set
validation_set: 0.1

I receive this error message:
Traceback (most recent call last):
  File "/home/kellner/miniconda3/envs/metatrain/lib/python3.11/site-packages/metatrain/__main__.py", line 105, in main
    train_model(**args.__dict__)
  File "/home/kellner/miniconda3/envs/metatrain/lib/python3.11/site-packages/metatrain/cli/train.py", line 195, in train_model
    dataset, target_info_dict = get_dataset(train_options)
                                ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/kellner/miniconda3/envs/metatrain/lib/python3.11/site-packages/metatrain/utils/data/get_dataset.py", line 29, in get_dataset
    targets, target_info_dictionary = read_targets(conf=options["targets"])
                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/kellner/miniconda3/envs/metatrain/lib/python3.11/site-packages/metatrain/utils/data/readers/readers.py", line 197, in read_targets
    raise ValueError(
ValueError: Target names must either be one of ['energy'] or start with `mtt::`.

yet, the ase atoms file contains the energy with the energy key:
(ie se this example .xyz header)
336
Lattice="12.242795708356814 0.0 0.0 0.0 14.300662753383094 0.0 0.0 0.0 46.52603943175853" Properties=species:S:1:pos:R:3:forces:R:3 energy=-789746.5072366836 stress="-0.011809343246695348 -0.0006610734829436052 -0.00014231443035591501 -0.0006610734829436052 -0.013699829776391018 -0.0011476970189993147 -0.00014231443035591501 -0.0011476970189993147 -0.005864272688278898" free_energy=-789746.5072366836 pbc="T T T"

Could you point me to how I can fix this error message?

I can provide some sort of educated guess which might help - maybe put energy without quotes, as it is done in the native fitting scripts here: https://github.com/spozdn/pet/blob/main/default_hypers/default_hypers.yaml?

thanks for the quick reply, neither "energy" nor energy nor 'energy' works.
As expected "mtt:energyyields the following error:
ValueError: energy key 'mtt:energy' was not found in system 'GaAs_old.xyz' at index 0

You say that "energy" and 'energy' don't work, but how about energy? ASE 3.23 also gives similar problems. If you have it, you should downgrade to 3.22.1. @spozdn is right: in general, strings in yaml should not be wrapped into "" or ''

Do you have ASE 3.23? If so, can you try to downgrade to 3.22.1?

Hello, no 3.22.1 is installed in the environment

yes, sure -
GaAs_old_example.xyz.txt

Ah, got it! You should not have a forces: key in there. Forces are automatically taken if they are present, and the way to specify a custom key for them is though the gradients subsection of the energy target.
You need to change your system/targets definition to
training_set:
  systems: "GaAs_old.xyz" # file where the positions are stored
  targets:
    energy:
      key: "energy" # name of the target value
      unit: "eV" # unit of the target value

This will print
[2024-09-23 11:36:17][INFO] - Forces found in section 'energy'. Forces are taken for training!
[2024-09-23 11:36:17][INFO] - Stress found in section 'energy'. Stress is taken for training!

To the log if forces/stresses are automatically enabled.

I'll update the error message, and maybe we need another example for training with gradients?

I find this a bit unintuitive - and I would allow this use-case,
what is the motivation to not allow explicitely requesting the forces?

what is the motivation to not allow explicitely requesting the forces?

It is allowed, but with a different syntax (see https://metatensor.github.io/metatrain/latest/getting-started/custom_dataset_conf.html#expanded-configuration-format)
training_set:
  systems: "GaAs_old.xyz"
  targets:
    energy:
      key: "energy"
      unit: "eV"
      forces:
        key: some_other_name_for_forces
      stress:
        key: stress

You can also diable a gradient that would be automatically enabled. If you only want forces and not stress for example:
training_set:
  systems: "GaAs_old.xyz"
  targets:
    energy:
      key: "energy"
      unit: "eV"
      forces:
        key: some_other_name_for_forces
      stress: false

The idea of automatically enabling it is to make it easier for all users to train model on all the available information without to have to think about it.

authors: Luthaf bananenpampe frostedoyster spozdn

repo: metatensor/metatrain


text:
[Bug] 扫描数据库日志报错

Verify steps

[X] Is this something you can debug and fix? Send a pull request! Bug fixes and documentation fixes are welcome.
[X] I have read the Wiki, especially the FAQ page.
[X] I have searched on the issue tracker for a related issue.

MetaTube Plugin Version
1.7.7.0
MetaTube Server Version
2023.1215.2200.0
What OS are you seeing the problem on?
Linux
Description
jellyfin版本10.8.13，扫描数据库时报错
[2024-01-02 15:25:45.110 +08:00] [ERR] [59] MediaBrowser.Providers.Movies.MovieMetadataService: Error in "MetaTube"
System.Text.Json.JsonException: '<' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0.
---> System.Text.Json.JsonReaderException: '<' is an invalid start of a value. LineNumber: 0 | BytePositionInLine: 0.
at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan1 bytes)    at System.Text.Json.Utf8JsonReader.ConsumeValue(Byte marker)    at System.Text.Json.Utf8JsonReader.ReadFirstToken(Byte first)    at System.Text.Json.Utf8JsonReader.ReadSingleSegment()    at System.Text.Json.Utf8JsonReader.Read()    at System.Text.Json.Serialization.JsonConverter1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
--- End of inner exception stack trace ---
at System.Text.Json.ThrowHelper.ReThrowWithPath(ReadStack& state, JsonReaderException ex)
at System.Text.Json.Serialization.JsonConverter1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)    at System.Text.Json.JsonSerializer.ReadCore[TValue](JsonReaderState& readerState, Boolean isFinalBlock, ReadOnlySpan1 buffer, JsonSerializerOptions options, ReadStack& state, JsonConverter converterBase)
at System.Text.Json.JsonSerializer.ContinueDeserialize[TValue](ReadBufferState& bufferState, JsonReaderState& jsonReaderState, ReadStack& readStack, JsonConverter converter, JsonSerializerOptions options)
at System.Text.Json.JsonSerializer.ReadAllAsync[TValue](Stream utf8Json, JsonTypeInfo jsonTypeInfo, CancellationToken cancellationToken)
at System.Net.Http.Json.HttpContentJsonExtensions.ReadFromJsonAsyncCore[T](HttpContent content, Encoding sourceEncoding, JsonSerializerOptions options, CancellationToken cancellationToken)
at Jellyfin.Plugin.MetaTube.ApiClient.GetDataAsync[T](String url, Boolean requireAuth, CancellationToken cancellationToken)
at Jellyfin.Plugin.MetaTube.ApiClient.GetMovieInfoAsync(String provider, String id, Boolean lazy, CancellationToken cancellationToken)
at Jellyfin.Plugin.MetaTube.ApiClient.GetMovieInfoAsync(String provider, String id, CancellationToken cancellationToken)
at Jellyfin.Plugin.MetaTube.Providers.MovieProvider.GetMetadata(MovieInfo info, CancellationToken cancellationToken)
at MediaBrowser.Providers.Manager.MetadataService2.ExecuteRemoteProviders(MetadataResult1 temp, String logName, TIdType id, IEnumerable`1 providers, CancellationToken cancellationToken)
MetaTube Server
No response
Jellyfin/Emby Logs
No response
MetaTube Server Logs
No response
How to Reproduce
No response

补充说明一下，是搭建在自己的NAS上的服务，之前是可以正常刮削的

[2024-01-02 15:34:21.791 +08:00] [ERR] [43] Emby.Server.Implementations.Updates.InstallationManager: An error occurred while accessing the plugin manifest: "https://raw.githubusercontent.com/metatube-community/jellyfin-plugin-metatube/dist/manifest.json"
System.Net.Http.HttpRequestException: Cannot assign requested address (raw.githubusercontent.com:443)
---> System.Net.Sockets.SocketException (99): Cannot assign requested address
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
at System.Net.Sockets.Socket.g__WaitForConnectWithCancellation|277_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(HttpRequestMessage request)
at System.Threading.Tasks.TaskCompletionSourceWithCancellation1.WaitWithCancellationAsync(CancellationToken cancellationToken)    at System.Net.Http.HttpConnectionPool.GetHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)    at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)    at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)    at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)    at System.Net.Http.DecompressionHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)    at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)    at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)    at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)    at System.Net.Http.Json.HttpClientJsonExtensions.GetFromJsonAsyncCore[T](Task1 taskResponse, JsonSerializerOptions options, CancellationToken cancellationToken)
at Emby.Server.Implementations.Updates.InstallationManager.GetPackages(String manifestName, String manifest, Boolean filterIncompatible, CancellationToken cancellationToken)

找到问题了，后端地址失效了


text:
Exception from sub meteor_autoupdate_clientVersions id cswHfR4cnQmrEYZaB TypeError: Property 'check' of object # is not a function

I'm getting these errors in my server console from this morning
My app is not connected to kadira but the package is added to project.
I upated to the latest version of kadira which is 2.20.6

Is this happens after you have installed Kadira or happens even after that.
It's hard to tell at a glance. I will have a look at it.
What's your meteor version of this app?
On 2015 මැයි 19, අඟහ at ප.ව. 6.45 Sasikanth notifications@github.com
wrote:

I'm getting these errors in my server console from this morning
My app is not connected to kadira but the package is added to project.
I upated to the latest version of kadira which is 2.20.6
[image: kadira]
https://cloud.githubusercontent.com/assets/6153816/7703674/2eb8ccc4-fe57-11e4-83c9-48954b44fc46.png
[image: bts]
https://cloud.githubusercontent.com/assets/6153816/7703684/43e8a8a8-fe57-11e4-8d5a-22d7a0f6db1c.png
—
Reply to this email directly or view it on GitHub
https://github.com/meteorhacks/kadira/issues/160.

This happens before and after the update of package.
No hurries.
On 19-May-2015 6:56 pm, "Arunoda Susiripala" notifications@github.com
wrote:

Is this happens after you have installed Kadira or happens even after that.
It's hard to tell at a glance. I will have a look at it.
What's your meteor version of this app?
On 2015 මැයි 19, අඟහ at ප.ව. 6.45 Sasikanth notifications@github.com
wrote:

I'm getting these errors in my server console from this morning
My app is not connected to kadira but the package is added to project.
I upated to the latest version of kadira which is 2.20.6
[image: kadira]
<
https://cloud.githubusercontent.com/assets/6153816/7703674/2eb8ccc4-fe57-11e4-83c9-48954b44fc46.png
[image: bts]
<
https://cloud.githubusercontent.com/assets/6153816/7703684/43e8a8a8-fe57-11e4-8d5a-22d7a0f6db1c.png
—
Reply to this email directly or view it on GitHub
https://github.com/meteorhacks/kadira/issues/160.

—
Reply to this email directly or view it on GitHub
https://github.com/meteorhacks/kadira/issues/160#issuecomment-103488975.

My issue is I'm using check as gloabal value in my custom publication, like below
var handle = Questions.find({},{sort: {askedAt: -1}, limit: 20}).observeChanges({
    added: function (id, fields) {
    	var question = _.extend(fields, {_id: id});
        if( question.favs && question.favs.length > 0 ){
          check = _.some( question.favs , function( el ) {
               return el.user_id === self.userId;
           })
});

Sorry totally my fault closing the issue

Okay. Got it.
On Wed, May 20, 2015 at 11:47 PM Sasikanth notifications@github.com wrote:

Closed #160 https://github.com/meteorhacks/kadira/issues/160.
—
Reply to this email directly or view it on GitHub
https://github.com/meteorhacks/kadira/issues/160#event-309819954.

repo: meteorhacks/kadira


text:
Anyway to add observer or reactivity?

I'm trying to show some average $avg (aggregation). Trying to find a way that's just crazy, Only forEach works... It won't be really effective.

+1 seems like reactivity based on certain collections or documents would be pretty powerful.
@arunoda What needs to happen for this to be possible?

Use https://github.com/JcBernack/meteor-reactive-aggregate instead

authors: jedwards1211 keyscores voidale

repo: meteorhacks/meteor-aggregate


text:
navigation?

I'm wondering if you've implemented any of the stack navigation of ionic?
http://ionicframework.com/docs/api/directive/ionNavView/
the    +ionNavBackButton()  seems to work, but wondering if its possible to add text of the location where they came from?

Ah no I haven't. For now I just manually pass a text attribute to ionNavBackButton and set the back text manually. This seems to work fine 90% of the time.
I think the component we'd want to replicate is the ionicHistory service. It looks like @dennisharrison may have started something here: https://github.com/meteoric/meteor-ionic/issues/3#issuecomment-74607917

authors: dcsan nickw

repo: meteoric/meteor-ionic


text:
PDF representation CLIs

Please see JIRA ticket for description of changes
Associated suite PR (simultaneous): https://github.com/MetOffice/improver_suite/pull/556
Testing:

[x] Ran tests and they passed OK
[x] Added new tests for the new feature(s)

 Here is an overview of what got changed by this pull request:

Issues
======
- Added 6

Complexity increasing per file
==============================
- improver_tests/acceptance/test_generate_realizations.py  2
- improver/cli/generate_percentiles.py  8
- improver_tests/acceptance/test_generate_percentiles.py  1
- improver/cli/generate_realizations.py  8

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- improver/cli/generate_realizations.py  8
- improver_tests/acceptance/test_generate_percentiles.py  1
- improver/cli/generate_percentiles.py  8
- improver_tests/acceptance/test_generate_realizations.py  2

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
- Added 3

Complexity increasing per file
==============================
- improver_tests/acceptance/test_generate_realizations.py  2
- improver_tests/acceptance/test_generate_percentiles.py  1
- improver/cli/generate_realizations.py  8
- improver/cli/generate_percentiles.py  8

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- improver/cli/generate_realizations.py  8
- improver/cli/generate_percentiles.py  8
- improver_tests/acceptance/test_generate_realizations.py  2
- improver_tests/acceptance/test_generate_percentiles.py  1

See the complete overview on Codacy

authors: benfitzpatrick cgsandford

repo: metoppv/improver


text:
Fix enforcing of probability coordinate within load_cube

Correction to rename coordinate to be reordered to threshold, rather than probability. Two unit tests have been added to test the reordering of a percentile_over coordinate and a threshold coordinate.
Testing:

[x] Ran tests and they passed OK
[x] Added new tests for the new feature(s)

Please can you also add a test for the ordering of a cube where all three re-ordered dimensions are present.

authors: MoseleyS gavinevans


text:
Brainstorm about decompilation techniques. [30h]

Brainstorm about additional decompilation steps. Identify structural patterns in the low-level IR which conveys information about the high-level semantics.

[ ] Patterns of incrementation instructions, conditional jumps, and unconditional jumps may be represented as for loops using initialization, condition, and post statements.
[ ] Jumps to offsets specified by branch tables may represent switch statements.
[ ] Increments and decrements of the stack pointer register may indicate function prologues and epilogues respectively; which conveys information about local variables.

Some ideas where considered. Several where related to earlier stages, e.g. translate platform independent assembly to LLVM IR which is already the focus of other projects such as mcsema. Marking as future ambition for now.

repo: mewpaper/decompilation


text:
Face and boundary element attributes are inconsistent with NCMesh

For a serial ncmesh, the face attribute and boundary element attributes can become inconsistent. If the faces member of NCMesh is made public then this test:
TEST_CASE("FaceBoundaryElementConsistency", "[NCMesh]")
{
   auto mesh = Mesh("../../data/ref-cube.mesh");

   mesh.EnsureNCMesh(true);
   mesh.UniformRefinement();
   mesh.UniformRefinement();

   const auto &face_to_be = mesh.GetFaceToBdrElMap();
   for (int ipe = 0; ipe < mesh.ncmesh->faces.Size(); ipe++)
   {
      const auto &f = mesh.ncmesh->faces[ipe];
      if (face_to_be[f.index] >= 0)
      {
         CAPTURE(ipe, f.index, face_to_be[f.index]);
         CHECK(f.attribute == mesh.GetBdrAttribute(face_to_be[f.index]));
      }
   }
}

will fail on two faces that are boundaries. This basically indicates that the attributes being stored within the faces array are not consistent with those of boundary elements. This is likely to cause errors for any deep adaptation with multiple bc attributes.  The errors are for element 7 and local faces 0 and 1.
One fairly unlikely candidate is an indexing error in https://github.com/mfem/mfem/blob/master/mesh/ncmesh.cpp#L1213-L1243. This could be placing fa incorrectly. I'm open to any other suggestions. This is currently partially blocking the NC submesh boundary work, as these attributes are used to back out the face->element relations.

Highlighting this as a bug internally.

An inconsistency can be seen for only one UniformRefinement too, cases where the face.attribute is not -1, but there is no boundary attribute associated.
TEST_CASE("FaceBoundaryElementConsistency", "[NCMesh]")
{
   auto mesh = Mesh("../../data/ref-cube.mesh");

   mesh.EnsureNCMesh(true);

   auto test_map = [](const Mesh &mesh)
   {
      const auto &face_to_be = mesh.GetFaceToBdrElMap();
      for (int ipe = 0; ipe < mesh.ncmesh->faces.Size(); ipe++)
      {
         const auto &f = mesh.ncmesh->faces[ipe];
         CAPTURE(mesh.GetNE(), ipe, f.index, face_to_be[f.index], f.attribute);
         if (face_to_be[f.index] >= 0)
         {
            CHECK(f.attribute == mesh.GetBdrAttribute(face_to_be[f.index]));
            if (f.attribute != mesh.GetBdrAttribute(face_to_be[f.index]))
            {
               int el, info;
               mesh.GetBdrElementAdjacentElement(face_to_be[f.index], el, info);
               std::cout << "el " << el << " local_face " << info / 64 << std::endl;
            }
         }
         else
         {
            CHECK(f.attribute == -1);
         }
      }
   };

   mesh.UniformRefinement();
   test_map(mesh);
   mesh.UniformRefinement();
   test_map(mesh);
}

shows a related failure for a single refinement level, with some faces having attributes when there's no connected boundary element. I might be misinterpreting the data structure, but this is at least surprising to me.

authors: hughcars jandrej

repo: mfem/mfem


text:
Mark's work on 1st order Pyramid basis

Extracted from bfield-advection-0824-dev

@mlstowell I think I managed to extract a coherent  piece of work from that branch.  I believe you put pretty much all of this is your work.  It compiles and passes all of the tests except sedov have a look and let me know if you think this is ready for review.

Curious about the difference between https://github.com/mfem/mfem/pull/4460

authors: acfisher adam-sim-dev


text:
shifter_classic_components: S_Spine optional hip joint

The code already mentions a todo to make the hip optional.
On a quadruped the hip is not following the orientation of the spine as I would like.

I have to check this
Indeed I am adding an extra control_01 for the hip and not using this :P

authors: jhoolmans miquelcampos


text:
chore: migrate to angular 2.2.0

I cannot update my project because codelyzer peer dependencies are not compatible with the current version, let's hope this gets merged and released soon.

Ah damn it looks like it's not as simple as updating the dependencies, I'll close this PR and let you do a proper update of the lib then

Thanks for pointing this out! Here's the issue and the fix https://github.com/mgechev/codelyzer/issues/152.

authors: mgechev ocombe

repo: mgechev/codelyzer


text:
🛑 Merchant APP (Stroy API) is down

In d7a5015, Merchant APP (Stroy API) (https://gateway.wavemoney.io/v2/merchant-api/merchant-tutorial-stories/1) was down:

HTTP code: 403
Response time: 23 ms

Resolved: Merchant APP (Stroy API) is back up in 1ac492b after 45 minutes.

repo: mgmgpyaesonewin/strapi-upptime


text:
🛑 Wave Pay App (Mini App API) is down

In 354de86, Wave Pay App (Mini App API) (https://gateway.wavemoney.io/v2/wp-api/wp-mini-app-categories) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Wave Pay App (Mini App API) is back up in 102821a after 7 minutes.


text:
Use Regex to check for wrong leading characters

I created this proof of concept to use a regular expression in the leading space checker.
However, as I'm not the maintainer I don't know if this is the way where this project wants to go.
If you would go for it we have two options I can currently see:

rename the leading space checker to something it really reflects (leading character checker or something)
Combine some other checkers which only act on one line also into a regex and one checker (for example, I think it would be very easy to combine the leading space, spaces around equal, and uppercase key checker, quick and dirty and not fully functional: ^[#A-Z_]*=.*

closes #56

@mstruebing 👋Thank you for your contribution! 🚀
I need a bit more time to think about it.

authors: mgrachev mstruebing

repo: mgrachev/dotenv-linter