text:
toMatchImageSnapshot fails with Path must be a string. Received undefined

We are trying to use your plugin and when we use the ImageSnapshot cypress throws an error.
Sample code:
cy.document().toMatchImageSnapshot()

The .png image snapshots are created correctly under __image_snapshots__ but the tests fail and cypress throws the following error:
CypressError: cy.task('cypress-plugin-snapshot:matchImage') failed with the following error:

> TypeError: Path must be a string. Received undefined
    at assertPath (path.js:28:11)
    at Object.relative (path.js:1267:5)
    at getImageData (/Users/ioanagalan/Templafy/Templafy.AutomatedQualityAssurance/CypressTests/node_modules/cypress-plugin-snapshots/src/utils/image/getImageData.js:8:24)
    at matchImageSnapshot (/Users/ioanagalan/Templafy/Templafy.AutomatedQualityAssurance/CypressTests/node_modules/cypress-plugin-snapshots/src/tasks/matchImageSnapshot.js:70:15)
    at invoke (/Users/ioanagalan/Library/Caches/Cypress/3.3.1/Cypress.app/Contents/Resources/app/packages/server/lib/plugins/child/task.js:37:14)
    at /Users/ioanagalan/Library/Caches/Cypress/3.3.1/Cypress.app/Contents/Resources/app/packages/server/lib/plugins/util.js:48:16
    at tryCatcher (/Users/ioanagalan/Library/Caches/Cypress/3.3.1/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/util.js:16:23)
    at Function.Promise.attempt.Promise.try (/Users/ioanagalan/Library/Caches/Cypress/3.3.1/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/method.js:39:29)
    at Object.wrapChildPromise (/Users/ioanagalan/Library/Caches/Cypress/3.3.1/Cypress.app/Contents/Resources/app/packages/server/lib/plugins/util.js:47:28)
    at Object.wrap (/Users/ioanagalan/Library/Caches/Cypress/3.3.1/Cypress.app/Contents/Resources/app/packages/server/lib/plugins/child/task.js:43:8)
    at execute (/Users/ioanagalan/Library/Caches/Cypress/3.3.1/Cypress.app/Contents/Resources/app/packages/server/lib/plugins/child/run_plugins.js:86:12)
    at EventEmitter.ipc.on (/Users/ioanagalan/Library/Caches/Cypress/3.3.1/Cypress.app/Contents/Resources/app/packages/server/lib/plugins/child/run_plugins.js:136:5)
    at emitThree (events.js:136:13)
    at EventEmitter.emit (events.js:217:7)
    at process.<anonymous> (/Users/ioanagalan/Library/Caches/Cypress/3.3.1/Cypress.app/Contents/Resources/app/packages/server/lib/plugins/util.js:25:29)
    at emitTwo (events.js:126:13)
    at process.emit (events.js:214:7)
    at emit (internal/child_process.js:772:12)
    at _combinedTickCallback (internal/process/next_tick.js:141:11)
    at process._tickCallback (internal/process/next_tick.js:180:9)

Cypress version: 3.3.1
cypress-plugin-snapshots version: 1.2.6
@cypress/snapshot version 2.1.3
Worth mentioning is that we are running on mac.
Note: This only happens when screenshots do not exist and they are created for the first time.

@meinaart Any reason you haven't published a release lately? It looks like this bug might have been addressed back in March :thinking:

I'm seeing this exact issue, I set the cypress.json to "autopassNewSnapshots": true, but it didn't resolve the problem.

Note: It works fine if you run one test file at a time. It only fails when you try to click the Run All button in the UI. The clie works fine both ways.

Agree with @meinaart this appears to be fixed (unless running all tests in the ui - different issue) based on changes provided by @rlux-aa over here: https://github.com/meinaart/cypress-plugin-snapshots/pull/31/commits/cf8287706f80ecdfcb829cb03a3ca460724e26d4
Would be awesome the see an updated release published @meinaart  :)

Can you retry with latest version and let me know if that fixes it?

thanks @meinaart - can confirm this release has fixed this issue :)

Thanks @johnmcclumpha

authors: germyjen ioana-gln johnmcclumpha lots0logs meinaart

repo: meinaart/cypress-plugin-snapshots


text:
Plex Search - Unknown Error

Hi, love the PMM script and it worked great for me.  One question, I seemed to have errored out on my "person" scans.  I'm sure I don't have something setup correctly.  And suggestions is appreciated...
|====================================================================================================|
|                                      Adam Sandler Collection                                       |
|====================================================================================================|
|                                                                                |
| Scanning Adam Sandler Collection                                                                   |
|                                                                                |
| Sync Mode: sync                                                                                |
|                                                                                |
| Processing Plex Search: actor(Adam Sandler)                                                        |
| Unknown Error: Unknown filter category: actor                                                      |
|                                                                                |
|====================================================================================================|
|                                        Al Pacino Collection                                        |
|====================================================================================================|
|                                                                                |
| Scanning Al Pacino Collection                                                                      |
|                                                                                |
| Sync Mode: sync                                                                                |
|                                                                                |
| Processing Plex Search: actor(Al Pacino)                                                           |
| Unknown Error: Unknown filter category: actor                                                      |
|                                                                                |

Please disregard -- I just saw this is a dupe of #78

source: gharchive/issue

license: MIT

license_type: permissive

license_source: github-api


text:
50 operation validation

Split request / schema logic somewhat, including validation of operations. Also moved introspection objects into their own file and simplified their names. Made BaseQueryRoot object which provides introspection implementation instead of having it on the Schema object. Added support for field inheritance so that BaseQueryRoot object can actually be used. Replaced Object.serialize() with Object.execute(), which returns a data, errors tuple.
Resolved #50.

My thinking behind having schema instantiated on every request is basically that it will make the library easier for folks to use.
I expect that most users will never use a schema object outside of the GraphQLView. And the only customization the schema object will allow is specifying a query root (and in the future a migration root and a subscription root).
If we keep passing an instantiated schema into the GraphQLView, it would mean that users end up creating a single schema object they wouldn't otherwise need so that they can pass it to the view, which complicates using the library.
(I think it would've made more sense if schema had turned out to be like admin - registering a bunch of models with it instead of building the graph manually for every app.)
(We could instantiate schema once per GraphQLView instance instead of once per request, but I don't think there would be a significant performance difference and I don't know whether we care one way or the other about the implications that would have with the privacy of the schema object among request/response cycles.)

source: gharchive/pull-request

repo: melinath/django-graph-api

license: mit

license_source: bigquery


text:
How to use it?

How to use it?
Download it, compile it, and use it as an External Jar?
Or it's imported to Maven?
Or what?

Download JAR file form here.
Add it to your project; How?

repo: melix/openbeans


text:
🛑 Siege Green Auth is down

In 4434553, 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 217c8e7 after 23 minutes.

repo: meloncafe/status-sggrn-upptime


text:
Support for DBT Snapshots

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/2335
Originally created by @rabidaudio on 2020-09-01 21:18:33

dbt supports snapshots which is a way to store historical values for slowly changing data. You may need to run these before or after your model transformations.
meltano elt can run dbt model transforms, but snapshots have to be run manually with meltano invoke dbt.
I propose adding support for optionally triggering a snapshot as part of a transform operation.
It seems like dbt snapshot supports --select for only running certain models, although running it across the whole project wouldn't be a problem in my mind, since running it on a table that hasn't changed should be a no-op.
On #2300 the syntax -t dbt:snapshot was proposed by @DouweM

View 5 previous comments from the original issue on GitLab

repo: meltano/meltano


text:
Document tech stack

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/2835
Originally created by @DouweM on 2021-07-05 20:25:43

Sources:

https://gitlab.com/meltano/meltano/-/issues/1871
https://gitlab.com/meltano/administration/-/issues/8
https://gitlab.com/meltano/administration/-/blob/main/.gitlab/issue_templates/onboarding.md
1Password

View 5 previous comments from the original issue on GitLab


text:
Update documentation for --max-item-size

This limit was added in this patch [1], while this patch [2] fixed it in -h output.
[1] https://github.com/memcached/memcached/commit/b5ad069ed887b8086756def7fb2efa65f5c1e462#diff-3970a0b3806605c2c138450fdae4e80e
[2] https://github.com/memcached/memcached/commit/50bdc9f3e134122e280031683f2b502f84e96624#diff-3970a0b3806605c2c138450fdae4e80e

nice, thanks!

manpage is probably out of date on other things too. I haven't been very careful about syncing it with -h

Thanks!

repo: memcached/memcached


text:
請問為何常常問一些問題都不回覆

比如問「請問台北有哪些美食」  不回覆，問「台北有美食嗎？」AI則會回覆，另外像是問「請問離職可能的原因有什麼呢」也是不回覆，可是問「為什麼會有人想要離職」則又會回覆，不知各位試的結果為何

好像是變成chatgpt的模型之後回復都很容易超過10秒的關係

Set timeout to 60000 but still the same. Bot won't response and check Vercel got 504 error.

@EwingLin
Free plan of Vercel has 10-second timeout limit.

我檢查一下好了！

現在真的很多問題都不回覆了

@Terence0816
可以幫我更新一下到 4.2.1 版，試試看嗎？

剛剛有更新了，好像差不多~大多詢問版本才有回覆而以

我測了一下，OpenAI 回應真的變很慢⋯⋯

太久了吧XD

一開始變成 gpt-3.5-turbo 的時候，明明就很快！
怎麼會變這樣！？

會不會是openai限制API的速度了 : (
我用其他人用付費API組的chatbot，使用起來速度沒感覺差別

回答慢就算了，但我的是除了版本跟指令 比較會回覆外，其他都不太回了
我是不是要 vercel 參數設定讓它不管多久都會回覆嗎？目前預設沒改

@Terence0816
幫我更新到最新版。
然後可以截圖一下 Vercel 的 logs 上來嗎？

這個嗎？

對話的反應

偶爾連本地端都會遇到 429 系統超載。

會不會是openai限制API的速度了 : ( 我用其他人用付費API組的chatbot，使用起來速度沒感覺差別

有沒有合購付版本共用KEY的群丫，呵呵

所以就算我的openaikey是付費過的 也一樣會有這問題嗎各位
因為真的變很慢 原以為是vercel的問題

大大安安
回報問題

不知道為什麼...

@timestoprun
其他的問題請另外開一張票哦，感謝！

@jimmy8399
請問你的是有付費過的嗎？付費一樣很慢嗎？

我這邊是用官方送的免費數量喔

如上圖 但很奇怪 一樣是我的這把key 我拿去用另外一位外國網友分享的discord 機器人git  https://github.com/IvanCampos/discord-ai
速度就滿正常  所以我才會懷疑是否是vercel的問題...

另外我也想知道 現在是否無法像chatGPT網頁版本一樣 他可以自動連貫用戶端的前後文去做溝通
例如
user 黑色跟白色哪一個更顯瘦
bot 黑色
user 那我今天要去海邊 推薦我穿甚麼顏色的泳衣可以看起來更苗條
bot 可以穿黑色 白色太顯胖
因為如上圖 不管是用老師的line版本 或是網友的discord版本 都沒辦法實現上下文連貫溝通 如果老師嫌麻煩也可以讓你直接進我DC伺服器try看看

@jimmy8399
目前 LINE 如果撇除掉超時的問題，是有把上下文一起送出去的耶～！

測試了一次 是有的沒錯 那可能是他超時問題太嚴重導致我這邊誤判

那想請問老師 如何加入可以上下文連貫的程式碼? 我想要自己修改看看discordBOT的GIT

@jimmy8399
你可以試著把訊息存在一個陣列裡，每次有新訊息就放進陣列裡，當超過 10 句話，你就把最舊的那句話抽掉，不然會越來越多。
然後把這個訊息陣列，整包送給 OpenAI 就好。

有點太專業了😂

請問 GPT Prompt Trainer 測試回覆不快，但還是會回覆
但 LINE 的問的很多幾乎都不回覆，剛也更新到4.3
我 Vercel 參數有需要設定什麼嗎

@Terence0816
因為 GPT Prompt Trainer 跑在網頁，沒有超時問題。
GPT AI Assistant 跑在 Vercel，目前解法是 Pro 版或 VPS 了。

原來如此，那再請教大大一下
我有固定IP，也有一些東西掛在 VMware 跑
我可以把伺服器架在 VMware，開PORT 來使用嗎？
但我不知道要裝什麼系統來用跟安裝

@Terence0816
可以呀！你在你的虛擬機裡面裝 Docker，然後用 Docker 跑起來，再把端點暴露出來應該就可以。
部署：https://memochou1993.github.io/gpt-ai-assistant-docs/deployment.html#使用-docker-容器

謝謝~我再研究看看~~

早上更新過後，再把Vercel升到Pro Timeout 500的問題就解了


text:
🛑 Kérwá is down

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

HTTP code: 0
Response time: 0 ms

Resolved: Kérwá is back up in 3bcd204 after 16 minutes.

repo: memoemg/howyoudoing


text:
off-mesh connections only make link with neighbors in tiled mesh.

if off-mesh start-point end-point in different tile,
and the tiles are not neighbors,
the off-mesh connection does not work.
(start-point is correct, end-point  is drawn in red circle )
in dtNavMesh::addTile
// Connect with neighbour tiles.
connectExtOffMeshLinks
in DetourDebugDraw.drawMeshTile
endSet is false

This is by design.

Oh!
My project needs long way connections, so i find this issue.
If it's by design, i'll make a personal patch to make it functional.
Thanks for helping.
Thanks for the awesome project.

authors: memononen ranbochen

repo: memononen/recastnavigation

license: Zlib


text:
Feat/add preference doc

add user guide of new widget: Preference widget

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: digital-engineering-services-sample-app:x: rujin.shirujin.shi seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

@Luyao-Zhang-1

repo: mendix/docs


text:
fixing spelling of compliance in accept_license

This one got me for about 3/4 of a day till I saw it.

Excellent; and thank you, been meaning to merge that but I've been distracted! Thanks (and sorry for the typo)
👍

authors: mengesb tmcneill-mbo

repo: mengesb/chef-compliance


text:
Upgrade to nullability

Also fixes #11

Tested and working on our project :)

Also flutter version should be updated here: https://github.com/via-guy/flutter_lokalise/blob/nnbd/.github/workflows/ci.yaml#L35.

Could you also add:
1.0.0
* Upgrade to nullability
* Unescape newline characters #11
to CHANGELOG.md?

@mariazebrowska good to go 👍

authors: mariazebrowska via-guy


text:
failure to load on initial visit - requires reload

This must be something to do with Application Cache. Here's what I see on a first visit in the console.
www.landmarker.io/:1 Creating Application Cache with manifest http://www.landmarker.io/lmio.appcache
www.landmarker.io/:1 Application Cache Checking event
www.landmarker.io/:1 Application Cache Downloading event
www.landmarker.io/:1 Application Cache Progress event (0 of 5) http://www.landmarker.io/css/help-8da0a165.css
www.landmarker.io/:1 Application Cache Progress event (1 of 5) http://www.landmarker.io/index.html
www.landmarker.io/:1 Application Cache Progress event (2 of 5) http://www.landmarker.io/css/landmarker-6ab08838.css
www.landmarker.io/:1 Application Cache Progress event (3 of 5) http://www.landmarker.io/img/cursor.png
www.landmarker.io/:1 Application Cache Progress event (4 of 5) http://www.landmarker.io/bundle-2052f37e.js
www.landmarker.io/:1 Application Cache Progress event (5 of 5)
www.landmarker.io/:1 Application Cache Cached event
http://localhost:5000/api/v1/mode Failed to load resource: net::ERR_CONNECTION_REFUSED

and then second time around:
Document was loaded from Application Cache with manifest http://www.landmarker.io/lmio.appcache
(index):1 Application Cache Checking event
(index):1 Application Cache NoUpdate event
index.js:35 Successfully found mode: mesh

Note that this wasn't to do with the application caching at all. It was a result of moving from url query seperators ? to #.


text:
🛑 Mensorestudio is down

In 9279168, Mensorestudio (https://mensorestudio.com) was down:

HTTP code: 500
Response time: 653 ms

Resolved: Mensorestudio is back up in f341d8d after 51 minutes.

repo: merakioffice/mensores-status


text:
Fix generated path

The config css_image_path wasn't taken into account when generating css, sass or sass_mixin

In the second commit I added sass 3.2 support.
In Sass 3.2 the support for !param style parameters was dropped (see http://sass-lang.com/docs/yardoc/file.SASS_CHANGELOG.html#backwards_incompatibilities__must_read )
I didn't want too add a backwards incompatible change, so I added a new generator 'sass3_mixin'
Regards
Stefan

repo: merbjedi/sprite


text:
Fix: Response should be LoggerAware

using LoggerAwareTrait.
Fix error on using logger

LGTM :+1:

authors: kajiken sotarok

repo: mercari/dietcube


text:
I18n dev

Added i18n.md to document changes made.
Added LocaleMiddleware in base.py.
Added set_language view in urlconf and html language button in base.html.
Created locale directory for files with translation strings and in base.py added path to it as LOCALE_PATH.
Imported ugettext_lazy in base.py and added languages available for selection.
Added trans tags in base.html and index.html.

Sorry, the latest commit should not have been pushed yet. I will work on it now!

On Apr 6, 2018, at 6:24 AM, Mahmood Khan notifications@github.com wrote:
@mahmoodkhan requested changes on this pull request.
In the indicators/models.py file, can you make sure the verbose name for each field matches what is shown in the UI?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/mercycorps/TolaActivity/pull/174#pullrequestreview-110061040, or mute the thread https://github.com/notifications/unsubscribe-auth/ATRdcZEtBlzl1t9BdgSUtvQl-K1LHm4xks5tl2yfgaJpZM4TIlNW.

repo: mercycorps/TolaActivity


text:
Add Button For “Reduce Blue Light” Toggle (C1)

I tried to do this with a button sequence but the I can’t get it to work reliably every time. It would be so great if you could add a toggle for the “reduce blue light” option so I can toggle it on and off easily with automation.
The toggle I speak of is located in the advanced section of the picture menu on my LG C1 tv.
I really appreciate your consideration.

Unfortunately this is not possible directly as there is no API (at least public or documented) to do that. You would need to stick with a sequence. Maybe you can add some delay between the actions to make it work more reliably.

I see. thank you for your reply.
I'm wondering if you can help me with the sequence?
Is there a way to have different intervals for different commands? I assume the interval set in my sequence below applies to each command. I tried a standard interval up to 2500 but it still wasn't enough. I need a longer interval at least after the first enter (that's as far as it gets before getting off track so I may need more longer ones after). Maybe I'll keep trying to increase that single interval, but I'd love to set an interval-per-command, if possible in the plugin.
Here is my current sequence config
                    ],
                    "remoteSequenceButtons": [
                        {
                            "sequence": [
                                "MENU",
                                "UP",
                                "UP",
                                "ENTER",
                                "RIGHT",
                                "DOWN",
                                "DOWN",
                                "ENTER",
                                "DOWN",
                                "DOWN",
                                "DOWN",
                                "DOWN",
                                "DOWN",
                                "DOWN",
                                "ENTER",
                                "EXIT"
                            ],
                            "name": "Reduce Blue",
                            "interval": 2500
                        }
                    ],

I really appreciate your help, but no obligation to do so.

Glad you got it work with the sequence buttons. Yeah the config of that could be improved...

authors: iSteve-O merdok

repo: merdok/homebridge-webos-tv


text:
New global navigation tweaks

Now that we've shipped the new global navigation experience, there are a couple small tweaks/improvements we should consider:
Perhaps more vertical spacing/padding within the nav items. This is totally a personal pref thing, they feel a bit "stout" to me (short for their width) and so maybe making them a bit taller could help

Blank space in the top bar when user is on a "root" page (the area above Repos here):

On subpages (with breadcrumbs) this is not a problem:

Can we make use of this space in all our pages to deliver additional context to where the user is? Could it be useful as a space for banners/additional information as well?
It's hard to know the context of a menu item alone in the collapsed view, if it has no hover

The user has to lean on the icon alone to know what the nav section is. @amenowanna  you mentioned this, what do you think about a tooltip or minimal hover card?

Could be a tooltip or the same pop out we use for the menus that have sub items.

authors: amenowanna patrickdevivo

repo: mergestat/mergestat


text:
在小程序运行会提示 'isPreventDefault' of undefined;

安装包：
npm install --save mescroll-uni
参考配置：
http://www.mescroll.com/uni.html?v=20200522#mescrollbody
运行报错如下 ：

定位报错源码 在小程序里面 #ifdef H5 这个条件注释里面的逻辑被执行了， 十分诡异

不知道作者有什么解决办法

HBuilderX可能对npm安装的不做条件编译... 建议拷贝到components目录下 不用npm安装

repo: mescroll/mescroll


text:
Build docs if other repos were changed in the last 24h

Addresses #79

@jwallwork23 I think this is good to go but I can't really test it before it's merged :) so if you accept this, I'll keep the issue open and keep an eye on this in the next few days to make sure it's all good

Thanks @jwallwork23 !

repo: mesh-adaptation/docs


text:
[README] Fix broken documentation link

The link to Meshery documentation at the bottom of the screen is broken.
The correct link is here.

i have fixed the link

Thank you, @josephmidura, @siddhantprateek, @warunicorn19

authors: josephmidura leecalcote siddhantprateek

repo: meshery/homebrew-tap


text:
Enhance the icon collection for Helm plugin

Current Behavior

We are in need to enhance the collection of icon for Helm plugin to support both light and dark mode on meshery.io/extensions.
Desired Behavior

We should have icons supporting light and dark mode for this icon.

Screenshots / Mockups

Contributor Guides and Resources

🎨 Wireframes and designs for Meshery UI in Figma (open invite)
🖥 Contributing to Meshery Website
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack

sharing helm-white logo:
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 500 500"><defs><style>.cls-1{fill:#fff;}</style></defs><path class="cls-1" d="M136.52938,121.13478c-.572-.54252-1.19462-1.12636-1.81-1.71761-12.61677-12.12115-22.38092-26.13637-28.279-42.702-1.65073-4.63637-2.89692-9.36515-2.67587-14.35871.021-.4739.01959-.94915.05226-1.42214.445-6.44594,4.75912-9.70322,11.05839-8.17669a27.325,27.325,0,0,1,5.73149,2.19653c6.89022,3.45538,12.5062,8.56359,17.67051,14.16571a112.52651,112.52651,0,0,1,21.722,33.42965,8.29635,8.29635,0,0,0,.38946.861c.07116.12855.22232.21282.55927.51883A176.357,176.357,0,0,1,241.968,79.06864c-.17651-.8761-.28195-1.54571-.44772-2.2a112.49436,112.49436,0,0,1-2.65292-36.95637,84.07478,84.07478,0,0,1,4.44444-21.76378,31.32555,31.32555,0,0,1,5.47651-10.17139,15.687,15.687,0,0,1,3.16336-2.82149,7.026,7.026,0,0,1,8.03255-.056,17.27854,17.27854,0,0,1,5.8402,6.73185A53.05435,53.05435,0,0,1,271.08657,26.508a112.50469,112.50469,0,0,1,2.12263,33.00356,95.59806,95.59806,0,0,1-3.49052,19.91081c7.12171,1.31193,14.20955,2.32869,21.1473,3.97713a186.37909,186.37909,0,0,1,20.44069,6.0033A188.31671,188.31671,0,0,1,331.0769,97.9721c6.34538,3.16433,12.38553,6.94066,18.71757,10.53829.20571-.433.50439-.94982.706-1.50212A108.65959,108.65959,0,0,1,383.40128,60.246a37.75787,37.75787,0,0,1,11.822-6.883,17.24558,17.24558,0,0,1,3.67827-.84512c6.264-.71729,8.89351,3.2244,9.35653,7.93183a29.94372,29.94372,0,0,1-.77381,10.35466A87.90551,87.90551,0,0,1,396.75426,95.492c-6.79016,10.97178-14.85015,20.85494-25.09307,28.83042-.30234.2354-.56784.51814-1.07988.99029a177.77993,177.77993,0,0,1,26.59293,30.88244,10.96227,10.96227,0,0,1-1.689.29762c-10.59546.015-21.1911-.01829-31.78622.04607a4.004,4.004,0,0,1-3.17246-1.69,147.87522,147.87522,0,0,0-88.17776-46.54846,143.35862,143.35862,0,0,0-30.27955-1.16923,146.40735,146.40735,0,0,0-82.53728,31.81054,140.06663,140.06663,0,0,0-16.97616,15.84186,4.72839,4.72839,0,0,1-3.86326,1.75742c-10.12056-.07028-20.24188-.035-30.36293-.03495h-2.15212c.618-2.408,6.84026-10.93786,13.88352-18.55281C125.31349,132.2744,130.87768,126.8839,136.52938,121.13478Z"/><path class="cls-1" d="M394.52934,347.9123a176.63854,176.63854,0,0,1-23.97343,27.16338c.70941.59068,1.28594,1.07041,1.86212,1.55057A108.31456,108.31456,0,0,1,406.10131,424.772a34.61831,34.61831,0,0,1,2.202,14.42026,14.88544,14.88544,0,0,1-.74786,3.69206,7.20762,7.20762,0,0,1-8.15793,5.02308,22.23329,22.23329,0,0,1-6.76276-2.00629,51.23237,51.23237,0,0,1-9.18151-5.8151,107.59183,107.59183,0,0,1-32.936-46.7072c-.18746-.51334-.39218-1.0204-.72243-1.87691a194.65008,194.65008,0,0,1-25.01223,14.00774,181.66925,181.66925,0,0,1-26.6869,9.72442,187.55649,187.55649,0,0,1-28.3045,5.38805c.16807.84015.26446,1.5098.43745,2.15907a109.172,109.172,0,0,1,2.9708,36.44311,80.804,80.804,0,0,1-4.42286,22.4773,78.24971,78.24971,0,0,1-4.16475,8.74473,13.39,13.39,0,0,1-2.33865,2.97083c-3.98009,4.109-8.73225,4.144-12.61157-.07366a27.28012,27.28012,0,0,1-3.907-5.61776c-3.07685-5.77569-4.6604-12.056-5.791-18.46021a116.86329,116.86329,0,0,1-1.35893-26.465,94.4795,94.4795,0,0,1,2.88466-19.18513c.14009-.53269.268-1.0696.37134-1.61034.02629-.13754-.06342-.2973-.17067-.73825a176.12108,176.12108,0,0,1-80.96855-24.99386c-.40992.90921-.76206,1.67473-1.10168,2.44579a110.47729,110.47729,0,0,1-30.90112,41.42041,38.16071,38.16071,0,0,1-12.04706,6.95909,12.08987,12.08987,0,0,1-6.51516.70023,7.11858,7.11858,0,0,1-5.40329-4.4892c-1.41614-3.424-1.16526-6.985-.68438-10.51691a55.45267,55.45267,0,0,1,4.30768-14.25037A112.49985,112.49985,0,0,1,134.88761,380.779c.459-.43461.92981-.857,1.38087-1.29954a3.76029,3.76029,0,0,0,.36534-.65529,178.90466,178.90466,0,0,1-28.469-31.31672c.98458-.08018,1.64327-.18,2.30205-.1806,10.51436-.00976,21.029.02736,31.54284-.04358a4.70554,4.70554,0,0,1,3.70344,1.62615,146.94611,146.94611,0,0,0,39.40276,28.88494,139.94667,139.94667,0,0,0,49.70395,14.77367q70.68048,6.87067,121.59971-42.85452a7.64571,7.64571,0,0,1,5.99261-2.44347c9.80139.12121,19.60512.04986,29.408.04986h2.53353Z"/><path class="cls-1" d="M350.73576,197.76167c2.78711,0,5.47037.18919,8.11487-.0501,2.9951-.271,5.139.8001,7.32354,2.81308,12.61275,11.62214,25.35732,23.10129,38.05863,34.62729.63855.57948,1.29039,1.14432,2.1101,1.8701.76445-.65718,1.48119-1.24318,2.16483-1.8655Q428.14636,217.27914,447.756,199.37a5.44772,5.44772,0,0,1,4.20358-1.64576c3.21888.13038,6.44673.03746,9.8412.03746V303.13036c-1.72309.50368-24.8756.60366-27.63911.0611v-53.362l-.53656-.25427c-9.01079,8.21784-18.0216,16.43564-27.23786,24.8408-9.22584-8.31119-18.34194-16.52347-27.458-24.73577l-.52449.19192c-.023,4.45359-.00774,8.90828-.01046,13.36233q-.00408,6.63942-.00058,13.27882v26.87211h-27.428C350.45161,301.61243,350.21289,203.72342,350.73576,197.76167Z"/><path class="cls-1" d="M97.63436,197.88229h27.26325c.55054,1.75251.65821,102.97139.09469,105.525H97.70468c-.15021-6.70344-.04736-13.38394-.06622-20.06131-.01871-6.62261-.0041-13.24531-.0041-20.03958H63.84679V303.047c-2.05946.61518-25.33374.67417-27.64758.123V197.89436H63.73742v37.18876c1.96793.56844,30.92319.67339,33.872.12942.00818-2.97713.02-6.02646.024-9.0758q.0063-4.7433.00094-9.4866,0-4.625,0-9.25C97.63437,204.32179,97.63436,201.24346,97.63436,197.88229Z"/><path class="cls-1" d="M157.5757,303.3683V198.1946c1.617-.52913,61.545-.73586,65.46219-.20457v22.41432c-.87869.063-1.7857.18341-2.69279.18454q-16.0086.01994-32.01725.00881l-2.96767,0v17.43353H218.7067V261.2229H185.65838c-.55339,1.98509-.70531,15.81681-.25622,19.64583.84488.05679,1.75.16952,2.6553.17059q16.00862.01863,32.01727.00822h2.96945V303.3683Z"/><path class="cls-1" d="M254.28291,303.40855c-.50074-2.82232-.39948-103.60181.09747-105.51735h27.16208v77.76453c1.17173.06084,2.09122.14921,3.01077.15005q16.128.01468,32.2561.00658c.92562,0,1.85125,0,2.90733,0v27.59622Z"/></svg>

Please assign @vishalvivekm

Hello @vishalvivekm, my repo setup is done, can you assign the issue to me ?

Hi @bhushan354 @gagandeepp
we typically follow a FCFS approach when assigning issues. I'll check with @gagandeepp to see if he's set up the project locally. Given your progress on the item, I'm assigning the issue to both of you. The first to submit a PR can do so, and the second can review it.


text:
[Models][UX]: Design Icon for ArgoCD Component - Cluster Workflow Template

Description
Meshery is a powerful platform that contains over 200 integrations for managing cloud-native applications. MeshMap is an extension of Meshery that visually represents these integrations and components. Currently, most of the icons used in MeshMap have the default shape of a circle. However, to improve visual clarity and consistency, we need to design custom icons for MeshMap components.
Desired Behavior
A new Icon for  ** Cluster Workflow Template** needs to be created. This issue calls for a volunteer to draft a new Icon.
Instructions for Designing a Component Icon

Create two versions of the icon one is white and another one is colored
Provide the icon in SVG format
Make a PR after adding the icon inside the new-icon folder present in the meshery repository
Make sure the icon for the component is different from the Model icon

How to check whether the icon you designed is the same as the Model icon or any other component icon?

Go to the playground -> search for the component you are trying to design an icon for and check whether the icon that you are designing is already present for another component or not if not then you can make a PR.
If you don't have access to Playground then you have to fill out a signup and get verified before you access the Playground by the time you get access, you can go to integrations page in layer5.io site and search for the component and see whether an icon is already present or not.

Contributor Guides and Handbook

MeshModel Repository
🖥 MeshModel Overview
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack

I am interested in helping with this issue. Can I be assigned?

repo: meshery/meshery


text:
[Chore] Relocate errorutils files from root directory

Current Behavior
Four new errorutils files have landed in the root directory of the Meshery repo (e.g. https://github.com/layer5io/meshery/blob/master/errorutil_errors_export.json, https://github.com/layer5io/meshery/blob/master/component_info.json).
Desired Behavior
Ideally, these files are located in a separate folder, like "helpers".
Implementation
Move the errorutils files into a directory (e.g. "helpers/errorutils/")

@mgfeller, assuming you're in agreement with this request, is this something that you might address?

@leecalcote I'm in agreement, and yes, I might.
(also, I need a better way to filter out notifications that mention me... getting lost in all those emails...)

@leecalcote I think the best solution is to add a command line parameter --output-dir (could have a default value you suggested), also because there might be several components in one repository (meshery server and mesheryctl for example), corresponding to different root directories.

Probably least confusing to have . as default value.

Actually, I think component_info.json should be in the root directory of the component. It is not intended to be errorutils specific, but also to provide the component info to the component-info endpoints, to make sure that type and name are uniform.
I just add another command line flag that points to this file.
Also, there may be multiple components in the same repository, like this one here: Meshery server, and mesheryctl.
// @leecalcote

Error utils changes implemented here https://github.com/layer5io/meshkit/issues/62

Default value of the new directory command line parameters that makes most sense is the same as rootDir, imho.

Actually, I think component_info.json should be in the root directory of the component. It is not intended to be errorutils specific, but also to provide the component info to the component-info endpoints, to make sure that type and name are uniform.

oof my bad...
I completely missed this. For all the repos they've been moved away from the root dir. What now? :sweat_smile:

Actually, I think component_info.json should be in the root directory of the component. It is not intended to be errorutils specific, but also to provide the component info to the component-info endpoints, to make sure that type and name are uniform.

oof my bad...
I completely missed this. For all the repos they've been moved away from the root dir. What now? 😅

@DelusionalOptimist no worries. I suggest we leave it where it is. It can be picked up from there, if that is how we want to implement it, or be moved later. First, we'd need to have a look at how components (only adapters for now, afaik) pick up type and name now, and how that possibly can be combined with how helpers like errorutil (might be several down the line, who knows) do that. Eventaully, there should be a single source of truth for information like that (or, if that is for whatever reason impractical to achieve, a workflow that verifies that multiple sources are in sync).
I guess the most important bit is that we are aware of the component concept with name and type, and use it consistently.

Actually, I think this issue can be closed. Various paths can be configured in errorutil, the CI workflows have been configured, common path helpers has been agreed upon, etc.
Agreed @leecalcote ?

@DelusionalOptimist no worries. I suggest we leave it where it is. It can be picked up from there, if that is how we want to implement it, or be moved later. First, we'd need to have a look at how components (only adapters for now, afaik) pick up type and name now, and how that possibly can be combined with how helpers like errorutil (might be several down the line, who knows) do that. Eventaully, there should be a single source of truth for information like that (or, if that is for whatever reason impractical to achieve, a workflow that verifies that multiple sources are in sync).
I guess the most important bit is that we are aware of the component concept with name and type, and use it consistently.

Sounds cool @mgfeller :+1:

Closing as per earlier comment.

authors: DelusionalOptimist leecalcote mgfeller


text:
[Server] Unexpected crash

Current Behavior
cd server; cd cmd; go1.19.1 mod tidy; \
	BUILD="v0.6.29" \
	PROVIDER_BASE_URLS="https://meshery.layer5.io" \
	PORT=9081 \
	DEBUG=true \
	ADAPTER_URLS="localhost:10000 localhost:10001 localhost:10002 localhost:10004 localhost:10005 localhost:10006 localhost:10007 localhost:10009 localhost:10010 localhost:10012" \
	APP_PATH="./apps.json" \
	go1.19.1 run main.go error.go;
# command-line-arguments
ld: warning: -no_pie is deprecated when targeting new OS versions
ld: warning: non-standard -pagezero_size is deprecated when targeting macOS 13.0 or later
INFO[2022-11-24T16:12:50-06:00] Local Provider capabilities are: Not Set      app=meshery
INFO[2022-11-24T16:12:50-06:00] Meshery Server release channel is: Not Set    app=meshery
INFO[2022-11-24T16:12:50-06:00] Meshery Database is at: /Users/lee/.meshery/config  app=meshery
INFO[2022-11-24T16:12:50-06:00] Using kubeconfig at: /Users/lee/.kube         app=meshery
INFO[2022-11-24T16:12:50-06:00] Log level: debug                              app=meshery
INFO[2022-11-24T16:12:51-06:00] extracting Patterns from /Users/lee/.meshery/content/patterns  app=meshery
INFO[2022-11-24T16:12:51-06:00] seeding sample Patterns                       app=meshery
INFO[2022-11-24T16:12:51-06:00] extracting Filters from /Users/lee/.meshery/content/filters/binaries  app=meshery
INFO[2022-11-24T16:12:51-06:00] seeding sample Filters                        app=meshery
INFO[2022-11-24T16:12:51-06:00] Meshery Server listening on: 9081             app=meshery
INFO[2022-11-24T16:12:52-06:00] extracting Applications from /Users/lee/.meshery/content/applications  app=meshery
INFO[2022-11-24T16:12:52-06:00] seeding sample Applications                   app=meshery
07:31:33 http: panic serving [::1]:64643: runtime error: invalid memory address or nil pointer dereference
goroutine 16094 [running]:
net/http.(*conn).serve.func1()
	/Users/lee/sdk/go1.19.1/src/net/http/server.go:1850 +0xbf
panic({0x68b9280, 0x8ae0760})
	/Users/lee/sdk/go1.19.1/src/runtime/panic.go:890 +0x262
github.com/layer5io/meshery/server/models.(*RemoteProvider).GetSession(0xc000cd02a0?, 0x6d053c0?)
	/Users/lee/code/meshery/server/models/remote_provider.go:342 +0xa9
github.com/layer5io/meshery/server/handlers.(*Handler).validateAuth(...)
	/Users/lee/code/meshery/server/handlers/middlewares.go:91
github.com/layer5io/meshery/server/handlers.(*Handler).AuthMiddleware.func1({0x7224578, 0xc00089e000}, 0xc00046e600)
	/Users/lee/code/meshery/server/handlers/middlewares.go:68 +0x15d
net/http.HandlerFunc.ServeHTTP(0x7226c88?, {0x7224578?, 0xc00089e000?}, 0x71ee290?)
	/Users/lee/sdk/go1.19.1/src/net/http/server.go:2109 +0x2f
github.com/layer5io/meshery/server/handlers.(*Handler).ProviderMiddleware.func1({0x7224578, 0xc00089e000}, 0xc00046e300)
	/Users/lee/code/meshery/server/handlers/middlewares.go:40 +0x274
net/http.HandlerFunc.ServeHTTP(0xc00046e100?, {0x7224578?, 0xc00089e000?}, 0x800?)
	/Users/lee/sdk/go1.19.1/src/net/http/server.go:2109 +0x2f
github.com/gorilla/mux.(*Router).ServeHTTP(0xc000b42480, {0x7224578, 0xc00089e000}, 0xc00046e000)
	/Users/lee/code/go/bin/pkg/mod/github.com/gorilla/mux@v1.8.0/mux.go:210 +0x1cf
net/http.serverHandler.ServeHTTP({0xc000cd0090?}, {0x7224578, 0xc00089e000}, 0xc00046e000)
	/Users/lee/sdk/go1.19.1/src/net/http/server.go:2947 +0x30c
net/http.(*conn).serve(0xc00095c000, {0x7226c88, 0xc00165c1b0})
	/Users/lee/sdk/go1.19.1/src/net/http/server.go:1991 +0x607
created by net/http.(*Server).Serve
	/Users/lee/sdk/go1.19.1/src/net/http/server.go:3102 +0x4db
07:31:33 http: panic serving [::1]:64644: runtime error: invalid memory address or nil pointer dereference
goroutine 16096 [running]:
net/http.(*conn).serve.func1()
	/Users/lee/sdk/go1.19.1/src/net/http/server.go:1850 +0xbf
panic({0x68b9280, 0x8ae0760})
	/Users/lee/sdk/go1.19.1/src/runtime/panic.go:890 +0x262
github.com/layer5io/meshery/server/models.(*RemoteProvider).GetSession(0xc000cd0810?, 0x6d053c0?)
	/Users/lee/code/meshery/server/models/remote_provider.go:342 +0xa9
github.com/layer5io/meshery/server/handlers.(*Handler).validateAuth(...)
	/Users/lee/code/meshery/server/handlers/middlewares.go:91
github.com/layer5io/meshery/server/handlers.(*Handler).AuthMiddleware.func1({0x7224578, 0xc00089e460}, 0xc00046ea00)
	/Users/lee/code/meshery/server/handlers/middlewares.go:68 +0x15d
net/http.HandlerFunc.ServeHTTP(0x7226c88?, {0x7224578?, 0xc00089e460?}, 0x71ee290?)
	/Users/lee/sdk/go1.19.1/src/net/http/server.go:2109 +0x2f
github.com/layer5io/meshery/server/handlers.(*Handler).ProviderMiddleware.func1({0x7224578, 0xc00089e460}, 0xc00046e900)
	/Users/lee/code/meshery/server/handlers/middlewares.go:40 +0x274
net/http.HandlerFunc.ServeHTTP(0xc00046e800?, {0x7224578?, 0xc00089e460?}, 0x800?)
	/Users/lee/sdk/go1.19.1/src/net/http/server.go:2109 +0x2f
github.com/gorilla/mux.(*Router).ServeHTTP(0xc000b42480, {0x7224578, 0xc00089e460}, 0xc00046e700)
	/Users/lee/code/go/bin/pkg/mod/github.com/gorilla/mux@v1.8.0/mux.go:210 +0x1cf
net/http.serverHandler.ServeHTTP({0xc000cd0660?}, {0x7224578, 0xc00089e460}, 0xc00046e700)
	/Users/lee/sdk/go1.19.1/src/net/http/server.go:2947 +0x30c
net/http.(*conn).serve(0xc00095c140, {0x7226c88, 0xc00165c1b0})
	/Users/lee/sdk/go1.19.1/src/net/http/server.go:1991 +0x607
created by net/http.(*Server).Serve
	/Users/lee/sdk/go1.19.1/src/net/http/server.go:3102 +0x4db
07:31:33 http: panic serving [::1]:64645: runtime error: invalid memory address or nil pointer dereference
goroutine 16498 [running]:
net/http.(*conn).serve.func1()
	/Users/lee/sdk/go1.19.1/src/net/http/server.go:1850 +0xbf
panic({0x68b9280, 0x8ae0760})
	/Users/lee/sdk/go1.19.1/src/runtime/panic.go:890 +0x262
github.com/layer5io/meshery/server/models.(*RemoteProvider).GetSession(0xc000a40e40?, 0x6d053c0?)
	/Users/lee/code/meshery/server/models/remote_provider.go:342 +0xa9
github.com/layer5io/meshery/server/handlers.(*Handler).validateAuth(...)
	/Users/lee/code/meshery/server/handlers/middlewares.go:91
github.com/layer5io/meshery/server/handlers.(*Handler).AuthMiddleware.func1({0x7224578, 0xc0003fc0e0}, 0xc00040c300)
	/Users/lee/code/meshery/server/handlers/middlewares.go:68 +0x15d
net/http.HandlerFunc.ServeHTTP(0x7226c88?, {0x7224578?, 0xc0003fc0e0?}, 0x71ee290?)
	/Users/lee/sdk/go1.19.1/src/net/http/server.go:2109 +0x2f
github.com/layer5io/meshery/server/handlers.(*Handler).ProviderMiddleware.func1({0x7224578, 0xc0003fc0e0}, 0xc00040c200)
	/Users/lee/code/meshery/server/handlers/middlewares.go:40 +0x274
net/http.HandlerFunc.ServeHTTP(0xc00040c100?, {0x7224578?, 0xc0003fc0e0?}, 0x800?)
	/Users/lee/sdk/go1.19.1/src/net/http/server.go:2109 +0x2f
github.com/gorilla/mux.(*Router).ServeHTTP(0xc000b42480, {0x7224578, 0xc0003fc0e0}, 0xc00046eb00)
	/Users/lee/code/go/bin/pkg/mod/github.com/gorilla/mux@v1.8.0/mux.go:210 +0x1cf
net/http.serverHandler.ServeHTTP({0xc000cd0a80?}, {0x7224578, 0xc0003fc0e0}, 0xc00046eb00)
	/Users/lee/sdk/go1.19.1/src/net/http/server.go:2947 +0x30c
net/http.(*conn).serve(0xc00095c280, {0x7226c88, 0xc00165c1b0})
	/Users/lee/sdk/go1.19.1/src/net/http/server.go:1991 +0x607
created by net/http.(*Server).Serve
	/Users/lee/sdk/go1.19.1/src/net/http/server.go:3102 +0x4db

Environment

Host OS: Mac
Platform: Kubernetes
Meshery Server Version: latest
Meshery Client Version: none

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

@Revolyssup I'm unable to run Meshery Server.

Fixed in #6576


text:
Removed the margin from all SVG.

Signed-off-by: Harshit Dandriyal 56961488+Harshit-Dandriyal@users.noreply.github.com
Description
Removed the margin from all SVG.
This PR fixes #
Notes for Reviewers
Signed commits

[x] Yes, I signed my commits.

Testing...

Are these being used elsewhere in Meshery UI currently?

Are these being used elsewhere in Meshery UI currently?

Nope.

@Harshit-Dandriyal Did I say the logos should be 20*20?


text:
why does the app or group label not support i18n, such as chinese?

eg:
"labels": {
"desc": "mun测试",
"version": "1.0.0.1"
},

Note: This issue has been migrated to https://jira.mesosphere.com/browse/MARATHON-4424. For more information see https://groups.google.com/forum/#!topic/marathon-framework/khtvf-ifnp8.

authors: junneyang meichstedt

repo: mesosphere/marathon


text:
Evals API MVP

DevX Flow
Step 1. Register Eval Dataset
python -m llama_stack.apis.datasets.client

Step 2. Run Eval Scorer
python -m llama_stack.apis.evals.client

(benchmark) run full preprocess->generation->postprocess->score eval task flow

(evaluate score only) run scorer only on prepared eval dataset w/ columns expected_answer and generated_answer

LLM As Judge

Scorer for braintrust AnswerCorrectness()

Scorer for using judge from LlamaStack distribution hosted models (via inference_api)

Eval Dataset Template Schema
@json_schema_type
class PostprocessedGeneration(BaseModel):
    completion_message: str
    logprobs: Optional[List[TokenLogProbs]] = None

@json_schema_type
class ScorerInputSample(DatasetSample):
    """
    A dataset is required to have the following columns to be used for scoring:
    - generated_answer: str
    - expected_answer: Union[str, List[str]]
    - (optional) input_query: str
    - (optional) generation_output: PostprocessedGeneration
    """

    generated_answer: str
    expected_answer: Union[str, List[str]]
    input_query: Optional[str] = None
    generation_output: Optional[PostprocessedGeneration] = None

High-Level Changes
1. New endpoints API added

/datasets for registering/deleting datasets

/datasets/create --> add new datasets to distribution. supports custom file upload / url / huggingface datasets.
/datasets/get
/datasets/delete
/datasets/list

/evals for running evaluation tasks

/evals/run_eval_task --> run full eval including preprocessing -> generation -> postprocessing -> scoring
/evals/run_scorer --> run scoring only

2. New datastructures added

Registry: for maintaining datasets, scorers, processors

BaseScorer: evaluation methods for scoring
BaseDataset: supports custom datasets / huggingface datasets
BaseGeneratorProcessor: performing preprocessing/postprocessing before/after generation
BaseGenerator: performing inference generation

(experimental) eleuther harness

integrate w/ Eleuther Eval Harness
add custom task for eleuther eval harness on mmlu_pro (e.g. recipe)
dummy loglikelihood outputs for inference

-- Not in this PR
🚧  jobs API for background eval job scheduling
🚧  batch inference
🚧  persist intermediate datasets during run_eval_task

we could close this one?

See PRs https://github.com/meta-llama/llama-stack/pull/323

repo: meta-llama/llama-stack


text:
Molecule converge with Python 3

Issue Type

Bug report

Molecule and Ansible details
ansible --version
ansible 2.3.1.0
molecule --version
molecule, version 2.0.0.0rc5.dev26

Molecule installation method: source
Ansible installation method: pip

Desired Behaviour
molecule converge should not error out.
Actual Behaviour (Bug report only)
The following error is displayed after running molecule converge:
TASK [setup] *******************************************************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: TypeError: a bytes-like object is required, not 'str'
fatal: [instance-1-default]: FAILED! => {"failed": true, "msg": "Unexpected failure during module execution.", "stdout": ""}

There is already a pull request in Ansible (https://github.com/ansible/ansible/pull/25048) that solves this issue. The five line diff forces Python 3 handles bytes correctly.

@thomasjpfan what can molecule do about this?  This isn't a Molecule issue.  We don't bring in ansible as a dependency.

Nothing molecule can do but wait for that pull request to be merged into Ansible. Just wanted to let you know that Python 3 support for v2 is out of your hands for now.

@thomasjpfan 👍

Backported to stable-2.2.

repo: metacloud/molecule


text:
Make encode-marc21 more resilient if order is not correct

When the leader comes not as first, encode-marc21 breaks: java.lang.IllegalStateException: must not be appending data fields
https://metafacture.org/playground/?flux="https%3A//d-nb.info/1106253078/about/marcxml"
|+open-http(accept%3D"application/xml")
|+decode-xml
|+handle-marcxml
|+fix(transformationFile)
|+encode-marc21
|+print
%3B&transformation=move_field("leader"%2C"@leader")
copy_field("@leader"%2C"leader.status")
substring("leader.status"%2C"5"%2C"1")
copy_field("@leader"%2C"leader.type")
substring("leader.status"%2C"6"%2C"1")
copy_field("@leader"%2C"leader.bibliographicLevel")
substring("leader.status"%2C"7"%2C"1")
copy_field("@leader"%2C"leader.typeOfControl")
substring("leader.status"%2C"8"%2C"1")
copy_field("@leader"%2C"leader.characterCodingScheme")
substring("leader.status"%2C"9"%2C"1")
copy_field("@leader"%2C"leader.encodingLevel")
substring("leader.status"%2C"17"%2C"1")
copy_field("@leader"%2C"leader.catalogingForm")
substring("leader.status"%2C"18"%2C"1")
copy_field("@leader"%2C"leader.multipartLevel")
substring("leader.status"%2C"19"%2C"1")
remove_field("@field")
encode-marc21 should not care if the order of elements is correct when entering it should though output in the correct order.

The fix is missing. Could you provide it?

The fix is not missing, this is the old playground spec. The url still has the fix, but the playground does not interpret it anymore. I will repair the link

Seems indeed to be fixed as a sideeffect.

The test was identified in context of #454 but it is another problem.

Seems indeed to be fixed as a sideeffect.

nope, you are looking at encode-marcxml the problem is with encode-marc21
https://test.metafacture.org/playground/?flux="https%3A//d-nb.info/1106253078/about/marcxml"
|+open-http(accept%3D"application/xml")
|+decode-xml
|+handle-marcxml
|+fix(transformationFile)
|+encode-marc21
|+print
%3B&transformation=move_field("leader"%2C"@leader")
copy_field("@leader"%2C"leader.status")
substring("leader.status"%2C"5"%2C"1")
copy_field("@leader"%2C"leader.type")
substring("leader.status"%2C"6"%2C"1")
copy_field("@leader"%2C"leader.bibliographicLevel")
substring("leader.status"%2C"7"%2C"1")
copy_field("@leader"%2C"leader.typeOfControl")
substring("leader.status"%2C"8"%2C"1")
copy_field("@leader"%2C"leader.characterCodingScheme")
substring("leader.status"%2C"9"%2C"1")
copy_field("@leader"%2C"leader.encodingLevel")
substring("leader.status"%2C"17"%2C"1")
copy_field("@leader"%2C"leader.catalogingForm")
substring("leader.status"%2C"18"%2C"1")
copy_field("@leader"%2C"leader.multipartLevel")
substring("leader.status"%2C"19"%2C"1")
remove_field("@field")

I am not 99% sure but I think your fix creates a problematic marc21, if any, because you set the leader double time (using | encode-json(prettyprinting="true") ) :
   ....
  "@leader" : "00000naa a2200000uc 4500",
  "leader" : {
    "status" : "n",
    "type" : "00000naa a2200000uc 4500",
    "bibliographicLevel" : "00000naa a2200000uc 4500",
    "typeOfControl" : "00000naa a2200000uc 4500",
    "characterCodingScheme" : "00000naa a2200000uc 4500",
    "encodingLevel" : "00000naa a2200000uc 4500",
    "catalogingForm" : "00000naa a2200000uc 4500",
    "multipartLevel" : "00000naa a2200000uc 4500"
  }

I think the order is irrelevant at least.

Ah I deleted @field instead of @leader. I fixed this, but there is still an error, but another one:
https://test.metafacture.org/playground/?flux="https%3A//d-nb.info/1106253078/about/marcxml"
|+open-http(accept%3D"application/xml")
|+decode-xml
|+handle-marcxml
|+fix(transformationFile)
|+encode-marc21
|+print
%3B&transformation=move_field("leader"%2C"@leader")
copy_field("@leader"%2C"leader.status")
substring("leader.status"%2C"5"%2C"1")
copy_field("@leader"%2C"leader.type")
substring("leader.status"%2C"6"%2C"1")
copy_field("@leader"%2C"leader.bibliographicLevel")
substring("leader.status"%2C"7"%2C"1")
copy_field("@leader"%2C"leader.typeOfControl")
substring("leader.status"%2C"8"%2C"1")
copy_field("@leader"%2C"leader.characterCodingScheme")
substring("leader.status"%2C"9"%2C"1")
copy_field("@leader"%2C"leader.encodingLevel")
substring("leader.status"%2C"17"%2C"1")
copy_field("@leader"%2C"leader.catalogingForm")
substring("leader.status"%2C"18"%2C"1")
copy_field("@leader"%2C"leader.multipartLevel")
substring("leader.status"%2C"19"%2C"1")
remove_field("@leader")

okay the error was still in the fix:
https://test.metafacture.org/playground/?flux="https%3A//d-nb.info/1106253078/about/marcxml"
|+open-http(accept%3D"application/xml")
|+decode-xml
|+handle-marcxml
|+fix(transformationFile)
|+encode-marc21
|+print
%3B&transformation=move_field("leader"%2C"@leader")
copy_field("@leader"%2C"leader.status")
substring("leader.status"%2C"5"%2C"1")
copy_field("@leader"%2C"leader.type")
substring("leader.type"%2C"6"%2C"1")
copy_field("@leader"%2C"leader.bibliographicLevel")
substring("leader.bibliographicLevel"%2C"7"%2C"1")
copy_field("@leader"%2C"leader.typeOfControl")
substring("leader.typeOfControl"%2C"8"%2C"1")
copy_field("@leader"%2C"leader.characterCodingScheme")
substring("leader.characterCodingScheme"%2C"9"%2C"1")
copy_field("@leader"%2C"leader.encodingLevel")
substring("leader.encodingLevel"%2C"17"%2C"1")
copy_field("@leader"%2C"leader.catalogingForm")
substring("leader.catalogingForm"%2C"18"%2C"1")
copy_field("@leader"%2C"leader.multipartLevel")
substring("leader.multipartLevel"%2C"19"%2C"1")
remove_field("@leader")

I did not use the correct paths in the substring function but always copy_field("@leader","leader.status")
My bad. closing

repo: metafacture/metafacture-core


text:
Implement message versioning and fallback

Add message versioning based on metafetish/buttplug#47 to buttplug-js libraries

Landed in #59

repo: metafetish/buttplug-js


text:
Update MLIR again

This updates to MLIR from last week.  Major change is the split of numerical operations from std dialect into the arith dialect and math dialect (just std.absf -> math.abs).

Pull Request Test Coverage Report for Build 1369531181
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

91 of 93 (97.85%)  changed or added relevant lines in 5 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.2%) to 84.844%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

mlir_graphblas/ops.py
18
20
90.0%

Totals

Change from base Build 1365242047:
0.2%

Covered Lines:
3079

Relevant Lines:
3629

💛  - Coveralls

authors: coveralls seibert

repo: metagraph-dev/mlir-graphblas


text:
:bug: Set unbound env variables

What this PR does / why we need it:
Some e2e CI test are experiencing failure due to
./scripts/ci-e2e.sh: line 82: CAPM3RELEASEPATH: unbound variable
./scripts/ci-e2e.sh: line 92: CAPIRELEASEPATH: unbound variable
script/ci-e2e.sh is using function get_latest_release that used to be set in the Metal-dev-env code base. In this PR . Moving to use the function get_latest_release_from_goproxy that replaced the function should fix the problem. This function is no longer in CAPM3 release 1.8 but need to be patched to  releases 1.6 and 1.7.

/test metal3-ubuntu-e2e-integration-test-release-1-6

/hold

/test metal3-ubuntu-e2e-integration-test-release-1-6

/retest

authors: kashifest peppi-lotta tuminoid


text:
🌱 Change dev-env default branch from master to main in e2e script

metal3 Dev-env default branch was changed to main this PR update CAPM3 accordingly

/hold

/test-v1b1-ubuntu-integration

/hold cancel

/lgtm


text:
Server with protocol 'jstp' ignores the setting 'address' and always listens to all interfaces

For example, in \config\servers.js we have

master: {
protocol:  'jstp',
transport: 'tcp',
address:   '127.0.0.1',
ports:     [250],
slowTime:  '1s'
},

but after start port 250 is open not only on the local interface.
It`s happens because when we creating server we does not specify the host. For examle in \node_modules\metarhia-jstp\lib\transport.socket.js we have only this.port

this.server.listen(this.port, callback);

and no hostname or ip

@aqrln please check this

@dmitrystas yeah, that's a known issue that is fixed in the upcoming release of metarhia/jstp as a part of https://github.com/metarhia/jstp/pull/209. If you need a quick fix, I think we can make a patch for v0.6 too. Thanks for reporting it!

@belochub  please review this to close or reassign

authors: aqrln dmitrystas tshemsedinov

repo: metarhia/impress


text:
Remove XYZ data files from the repo

This repository can not contain an example xyz file for each architecture, and I don't think we can expect everyone to use the same training file.
We should provide some utility function to download training data from zenodo/figshare or something similar, and use that everywhere training data is required for the tests.

I think this was solved at some point, I don't see a bunch of XYZ files anymore

repo: metatensor/metatrain


text:
Bug on merge with null

Describe the bug
After change Row class to yield null when the column name is not found, "null"s are added to  result strings.
Expected behavior
Exempt null columns.

The code for this issue happened to be included in https://github.com/metatron-app/metatron-discovery/issues/2896, by mistake. When https://github.com/metatron-app/metatron-discovery/issues/2896 merged, this issue will be resolved together.

Done by #2898.

repo: metatron-app/metatron-discovery


text:
Fix chart errors

Description

Pie chart tooltip and chart label decimal point designation function
Insert a function or column name at the last cursor position of a user column
Chart color cannot be changed

Related Issue :

How Has This Been Tested?

When creating a pie chart, open the tooltip option and check if decimal point designation is possible.
When creating a user column, add and check the column name by which the cursor position has been moved in the formula input.
When creating a chart, change the order of the measures to see if the color of the chart changes.

Need additional checks?
Types of changes

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

Checklist:

[ ] I have read the CONTRIBUTING document.
[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have added tests to cover my changes.

Additional Context

deploy to 2

deploy to 2

deploy to 2

deploy to 2

authors: eltriny teddyPark


text:
query_lightnings fails on timezone issue

meteomatics.api.query_lightnings(start, end, n,e,s,w,username,password)

TypeError: Already tz-aware, use tz_convert to convert.

Thank you for raising the incident. As we were unable to observed the error locally we'll close this ticket.
Could you please make sure that you use the latest version of the library, and supply a minimal example that reproduces the error in a New issue?

authors: meteomatics samwisehawkins

repo: meteomatics/python-connector-api


text:
Errors are no longer showing up for my app but performance monitoring is still working.

I have the latest version of this package 2.29.1 and the latest version of meteor 1.3.4.1.
I tried restarted my app's container on galaxy and all looks good:
6s55 2016-07-06 14:04:05-07:00 Application process starting, version: 30 on apprunner mdg0/apprunner:20160606T225805Z_86c9deb
6s55 2016-07-06 14:04:19-07:00 Kadira: completed instrumenting the app
6s55 2016-07-06 14:04:19-07:00 Kadira: Successfully connected

But throw new Error('TEST'); doesn't ever show up in Kadira.
Thanks in advance for your help @arunoda.

How do you throw the error? Via browser console.
If so, try to do this like this:
setTimeout(function() {
   throw new Error('TEST');
}, 0);

Ah ha, that works, thanks. Sorry for the false alarm, I thought it was a valid test to throw an error in browser console without the setTimeout.
I got a bit thrown off because I was fixing an unhandled  exception in an autoValue function of mine that AutoForm caught and wrote to console.error, but didn't then re-throw. I now understand that Kadira won't pick up console.error writes.
https://github.com/aldeed/meteor-autoform/blob/devel/autoform-events.js#L309

authors: arunoda mjgallag

repo: meteorhacks/kadira


text:
Building containers from base images

Thwe following containers need to be built from base images:

[x] mapserver
[x] fastapi
[x] bokeh
[ ] redis
[ ] flower
[ ] rabbitmq

flower and rabbitmq are building fine from base alpine / ubuntu images. I am testing the redis build as it has a number of modules that we may don't need at the moment - the setup could be deployed via docker-compose for testing purposes

The redis containers is usinmg files from the official redis repo including its submodules and builds the json module which is required by the python-redis library

repo: metno/mapgen-fastapi


text:
Meshed internal essential DOF

I am solving the heat conduction equation on mesh from gmsh. The mesh has internal "holes" that will have a fixed-temperature (Dirichlet) boundary condition (e.g. T=Tbound). This is part of a multiphysics simulation so the "holes" are actually filled with mesh and correspond to a particular material/attribute number as I need to solve inside of the holes for a different physical effect.
My first idea is to set set the diagonal for these DOF to 1.0 and set the linear form to Tbound.
For now, I'm identifying the DOF like
std::unordered_set dof_set;
for (int e=0, e < parfespace->GetNE(); ++e)
{
  if (parfespace->GetAttributte(e) == hole_id)
  {
    Array<int> dofs;
    parfespace->GetElementDofs(e, dofs);
    for (int i=0, i < dofs.Size(); ++i)
    {
      dof_set.insert(dofs[i]);
    }
  }
}

Then, I remove the DOF in dof_set from ess_tdof_list and call ParBilinearForm::FormLinearSystem(). This doesn't seem to be working but I may be misunderstanding.
Alternatively, if I could identify the internal boundary of the "holes" using the surface defined by the gmsh format (BRep) I could impose some boundary condition here. I'm not sure how to access this data from the mesh and then I'm not sure how the DOF inside these "holes" would be treated.

I found a workable parallel solution
  std::unordered_set<int> dof_set;
  for (int e{0}; e < parfespace->GetNE(); ++e)
  {
    if (parfespace->GetAttribute(e) == dof_id)
    {
      Array<int> dofs;
      parfespace->GetElementDofs(e, dofs);
      for (int i{0}; i < dofs.Size(); ++i)
      {
        const int ldof{parfespace->GetLocalTDofNumber(dofs[i])};
        if (ldof >= 0)
        {
          dof_set.insert(ldof);
        }
      }
    }
  }

  for (int val : dof_set)
    ess_tdof_list.Append(val);

Then, project boundary and internal coefficients to set essential DOF and use ParBilinearForm::FormLinearSystem().
Importantly and somewhat unrelated, I need to solve this system of equations many times. Though my ParLinearForm does not change (only ParBilinearForm changes), I must reassemble it every time because between ParBilinearForm::FormLinearSystem() and ParBilinearForm::RecoverFEMSolution(), the ParLinearForm vector is filled with incorrect data.

I found a workable parallel solution
  std::unordered_set<int> dof_set;
  for (int e{0}; e < parfespace->GetNE(); ++e)
  {
    if (parfespace->GetAttribute(e) == dof_id)
    {
      Array<int> dofs;
      parfespace->GetElementDofs(e, dofs);
      for (int i{0}; i < dofs.Size(); ++i)
      {
        const int ldof{parfespace->GetLocalTDofNumber(dofs[i])};
        if (ldof >= 0)
        {
          dof_set.insert(ldof);
        }
      }
    }
  }

  for (int val : dof_set)
    ess_tdof_list.Append(val);

Then, project boundary and internal coefficients to set essential DOF and use ParBilinearForm::FormLinearSystem().
Importantly and somewhat unrelated, I need to solve this system of equations many times. Though my ParLinearForm does not change (only ParBilinearForm changes), I must reassemble it every time because between ParBilinearForm::FormLinearSystem() and ParBilinearForm::RecoverFEMSolution(), the ParLinearForm vector is filled with incorrect data.

repo: mfem/mfem


text:
Override AddMult for ConstrainedOperator

Resolves #4061.
Some questions/design decisions:

Perhaps we want Operator::AddMult to cache the workspace vector z. This would decrease the number of allocations at the cost of increasing total memory usage (but perhaps peak memory usage would remain unchanged?).
Perhaps we should implement a more systematic approach to handling these temporary/workspace vectors, since there are many of them.

One idea is a simple bump allocator, designed specifically for short-lived vectors. This is probably not too complicated to implement and would be an improvement in a lot of places.
Or do we just want to rely on something like Umpire for these optimizations?

PR
Author
Editor
Reviewers
Assignment
Approval
Merge

#4064
@pazner
@tzanio
@SchmidtMat + @psocratis
1/16/24
2/1/24
⌛due 2/6/24

PR Checklist

[ ] Code builds.
[ ] Code passes make style.
[ ] Update CHANGELOG:

[ ] Is this a new feature users need to be aware of? New or updated example or miniapp?
[ ] Does it make sense to create a new section in the CHANGELOG to group with other related features?

[ ] Update INSTALL:

[ ] Had a new optional library been added? If so, what range of versions of this library are required? (Make sure the external library is compatible with our BSD license, e.g. it is not licensed under GPL!)
[ ] Have the version ranges for any required or optional libraries changed?
[ ] Does make or cmake have a new target?
[ ] Did the requirements or the installation process change? (rare)

[ ] Update continuous integration server configurations if necessary (e.g. with new version requirements for each of MFEM's dependencies)

[ ] .github
[ ] .appveyor.yml

[ ] Update .gitignore:

[ ] Check if make distclean; git status shows any files that were generated from the source by the project (not an IDE) but we don't want to track in the repository.
[ ] Add new patterns (just for the new files above) and re-run the above test.

[ ] New examples:

[ ] All sample runs at the top of the example source file work.
[ ] Update examples/makefile:

[ ] Add the example code to the appropriate SEQ_EXAMPLES and PAR_EXAMPLES variables.
[ ] Add any files generated by it to the clean target.
[ ] Add the example binary and any files generated by it to the top-level .gitignore file.

[ ] Update examples/CMakeLists.txt:

[ ] Add the example code to the ALL_EXE_SRCS variable.
[ ] Make sure THIS_TEST_OPTIONS is set correctly for the new example.

[ ] List the new example in doc/CodeDocumentation.dox.
[ ] If new examples directory (e.g.examples/pumi), list it in doc/CodeDocumentation.conf.in
[ ] Companion pull request for documentation in mfem/web repo:

[ ] Update or add example-specific documentation, see e.g. the src/examples.md.
[ ] Add the description, labels and screenshots in src/examples.md and src/img.
[ ] In examples.md, list the example under the appropriate categories, add new categories if necessary.
[ ] Add a short description of the example in the "Extensive Examples" section of features.md.

[ ] New miniapps:

[ ] All sample runs at the top of the miniapp source file work.
[ ] Update top-level makefile and makefile in corresponding miniapp directory.
[ ] Add the miniapp binary and any files generated by it to the top-level .gitignore file.
[ ] Update CMake build system:

[ ] Update the CMakeLists.txt file in the miniapps directory, if the new miniapp is in a new directory.
[ ] Add/update the CMakeLists.txt file in the new miniapp directory.
[ ] Consider adding a new test for the new miniapp.

[ ] List the new miniapp in doc/CodeDocumentation.dox
[ ] If new miniapps directory (e.g.miniapps/nurbs), add it to MINIAPP_SUBDIRS in the makefile.
[ ] If new miniapps directory (e.g.miniapps/nurbs), list it in doc/CodeDocumentation.conf.in
[ ] Companion pull request for documentation in mfem/web repo:

[ ] Update or add miniapp-specific documentation, see e.g. the src/meshing.md and src/electromagnetics.md files.
[ ] Add the description, labels and screenshots in src/examples.md and src/img.
[ ] The miniapps go at the end of the page, and are usually listed only under a specific "Application (PDE)" category.
[ ] Add a short description of the miniapp in the "Extensive Examples" section of features.md.

[ ] New capability:

[ ] All new public, protected, and private classes, methods, data members, and functions have full Doxygen-style documentation in source comments. Documentation should include descriptions of member data, function arguments and return values, template parameters, and prerequisites for calling new functions.
[ ] Pointer arguments and return values must specify whether ownership is being transferred or lent with the call.
[ ] Any new functions should include descriptions of their intended use e.g. for internal use only, user-facing, etc., along with references to example code whenever possible/appropriate.
[ ] Consider adding new sample runs in existing examples to highlight the new capability.
[ ] Consider saving cool simulation pictures with the new capability in the Confluence gallery (LLNL only) or submitting them, via pull request, to the gallery section of the mfem/web repo.
[ ] If this is a major new feature, consider mentioning it in the short summary inside README (rare).
[ ] List major new classes in doc/CodeDocumentation.dox (rare).

[ ] Update this checklist, if the new pull request affects it.
[ ] Run make unittest to make sure all unit tests pass.
[ ] Run the tests in tests/scripts.
[ ] (LLNL only) After merging:

[ ] Update internal tests to include the new features.

Thanks for the fix!  I would lean towards local caches rather than having to learn Umpire

See #4065

This PR is now under review (see the table in the PR description). To help with the review process, please do not force push to the branch.

It might be nice to have in-place versions of multiplication like  void Operator::AddMult(Vector &x) and similarly for Operator::AddMult as an option. This eliminates the need for temporaries for when you don't need to preserve x. ConstrainedOperator also makes a copy z=x that wouldn't be necessary for the in-place version.

Merged in next for testing...

Re-merged in next for testing...

authors: jtristano pazner tzanio victor-decaria-nnl


text:
Add attribute should "look similar" to add specialization

Now, they look totally different. Maybe just adding the plus symbol and making the button style consistent would be enough:

Also, the cancel button:

repo: mff-uk/dataspecer


text:
'中文'(Chinese) not work well in SmartHeaderCommand

Chinese中文支持
===<Tab>

and then it goes into something like
Chinese中文支持
===========

fixed it by editting: sublime-rst-completion/headers.RstHeaderTree.make_header
@classmethod
def make_header(cls, title, adornment, force_overline=False):
    title = title.rstrip()
    title_lenght = len(title.lstrip())
    indent_lenght = len(title) - title_lenght
    # just add following line to fix it.
    title_lenght += len(''.join(re.compile(u"[\u4e00-\u9fa5]+").findall(title)))
    strike = adornment[0] * (title_lenght + indent_lenght * 2)
    if force_overline or len(adornment) == 2:
        result = strike + '\n' + title + '\n' + strike + '\n'
    else:
        result = title + '\n' + strike + '\n'
    return result

len(''.join(re.compile(u"[\u4e00-\u9fa5]+").findall(title))) = len('中文支持') - len('XXXX')
i've submit a pr add '中文'(Chinese) support in SmartHeaderCommand

the mentioned PR was merged

authors: mgaitan missuor

repo: mgaitan/sublime-rst-completion


text:
Add Haskell Runtime interface

This commit does quite a number of things but the important part is that
it adds two functions that allow one to start and stop the Haskell
Runtime from one's code without needing to deal with all of the library
linking. The build script now goes to the ghc library directory where the
code is located and finds all of the .so files and links against them
to avoid dependency issues and making it easier to deal with other
Haskell code in the future. This means the user doesn't need to worry
about linking when it comes to getting the right Haskell libraries
involved beyond their own library they've created. They also just need
to use the library to start and stop the runtime without worrying about
getting the right C code types lined up just right.

@nanotech Want to test it out and see if it works well for you? It worked locally for me.

After the changes I mention in my line comments, this does work for me. I don't think you need to link to all these Haskell libraries from the main executable though; they should be already be linked by libhtest.so. Only libHSrts-ghc8.0.1 should need to be linked to the executable because it calls hs_init and hs_exit directly.
Also, every variant of the RTS is getting linked: threaded, debug, threaded-debug, etc. That seems problematic. Hm, I suppose that also means we need to figure out which RTS to link to based on what libhtest.so uses.

We only tell the compiler where libhtest is, it's not actually linked. It's only linked in the test file since it shouldn't be linked to the curryrs itself. This means the libraries we want to link to curryrs should be determined here in the build file.
Maybe it would be best to link only the needed libraries to get it to work like RTS (during my testing I needed more possibly, I'll look into which ones). I think conditional compilation with features turned on should do the trick. For example we link threaded by default and threaded-debug and debug by choice. On top of that we could do the minimum set of features we need to have the curryrs work then offer the ability to link in others to call in there code directly if wanted. This would take some work and feature flags but it would leave the choices up to the end user beyond the bare minimum as well as not making us have to parse a cabal file we'd have no idea where it is in order to figure out which version to use. As long as the feature is well documented I think this would be the best course of action.
I'll start putting in the patch for different operating systems and fixing what you've pointed out. I'll also do some experimenting on which libraries at a minimum are needed for it to work.

Oh, right. libhtest isn't part of the curryrs crate. But won't curryrs users be creating their own shared library with their own Haskell code?
Yeah, Cargo features sound like a good solution for the RTS selection.

They will be with their own Haskell code so they can link it in their Rust library themselves for now (though autogenerated linking would be awesome). We won't know where it is, if they're compiling with threaded or not, and other things.
I found the minimum set of libraries to get it to compile and work:
I've got a conditional right now that's a bit messy but it only grabs these ones.
libHSrts-ghc8.0.1.so
libHSghc-prim-0.5.0.0-ghc8.0.1.so
libHSinteger-gmp-1.0.0.1-ghc8.0.1.so
libHSbase-4.9.0.0-ghc8.0.1.so
libHSghc-8.0.1-ghc8.0.1.so

I'll clean it up and push it so you can test it yourself. I'll then begin work on getting it to conditionally compile.

You can see each version works by trying:
cargo test
cargo test --features threaded
cargo test --features threaded_l
cargo test --features threaded_debug

If you try something like:
cargo test --features threaded threaded_debug

You should get an error regarding the constant being defined before.

@nanotech If these changes are good then the last thing that needs to get done is updating the readme before merging.

Yep, this looks good. Tested and works for me.
I was confused about the linking earlier because I was expecting libHSrts-ghc8.0.1 to link to the libraries it needs symbols from, but it doesn't. (Should it?) The previous version with #[link] worked by linking the rest of the symbols from the libraries loaded from libhtest, I think, but when using cargo:rustc-link-lib that doesn't happen. I guess it's something to do with namespaces? Not sure how to inspect that with otool or ldd.
(The exact command to trigger the feature error is cargo test --features 'threaded threaded_debug', with quoted space separated options)

_l suffixed RTS libraries have event logging enabled.

I think it should but it doesn't. When we use the #include<HsFFI> in the C code it grabbed them for the Haskell code and you needed to link the library with the flag which got all of the ones it needed. Plus it had imported most of those base libraries by default since they seem to be the basic stuff Haskell needs to function. I'm not too sure why it works one way and not the other but I think the C code is what did it. This time however we need to link all the libraries we needed.
That's cool I was wondering what the _l option was. Okay so this works now. I'm going to update the README later then merge it and cut a new release since this is a pretty big change.

@nanotech Can you do a once over of my most recent changes? This includes restructuring the modules in Haskell so that imports are:
import Curryrs.Types and not import Types
I've also update the README to include instructions on how to use the Haskell Runtime and using Haskell in Rust.

Looks good to me! Just one last small typo: s/linux/Linux/
Another option for the Curryrs.Types module name is Foreign.Rust.Types, although Curryrs is fine too and fits with packages like pipes' Pipes.

I think I'll stick with Curryrs which is consistent with the Rust library. Alright time to squash and merge!

authors: mgattozzi nanotech

repo: mgattozzi/curryrs


text:
Error: Error: Type NgSelectOption is part of the declarations of 2 modules: LoginModule and InternalFormsSharedModule!

IMPORTANT: This repository's issues are reserved for feature requests and bug reports. Do not submit support requests here.
Steps to reproduce and a minimal demo of the problem
What steps should we try in your demo to see the problem?
Current behavior
Expected/desired behavior
Other information

This error doesn't seem like an issue related to the angular2-seed itself.
For support requests you can use gitter or take a look at project's the wiki page in order to get more complete idea on how the it works.


text:
Move app_title and browser_list to project.config

app_title and browser_list seem like project specific settings. Therefore, they should be defined in the project.config.ts instead of seed.config.ts
That way it is easier to overwrite seeds.config.ts every time there has been an update in angular2-seed.
Might even be an idea to create to following folders:
tools/
-- project
  -- config/
  -- tasks/
  -- utils/
-- seed
  -- config/
  -- tasks/
  -- utils/

That way you could easily update / clone angular2-seed again and just copy tools/seed to your project folder and you'll have all the fixes without having to compare it file to file.

Might even be an idea to create to following folders:

I tried this way when refactoring the tools and that's not ideal.
Anyway a utility will soon land to update from seed.

@the-ult thanks for the contribution! Lets keep the title back in the seed config for now. It looks more consistent to me as well.

No problem 😊
Op vr 18 mrt. 2016 11:12 schreef Minko Gechev notifications@github.com:

Closed #635 https://github.com/mgechev/angular2-seed/pull/635.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/mgechev/angular2-seed/pull/635#event-594654270

--
met vriendelijke groet,
Arjen
M 06-51 800 419
W www.payt.nl

authors: ludohenin mgechev the-ult


text:
Lazy Template Load

Added new flag for prod builder.
It's possible to choose include html templates into js or not.
Templates are included by default.

Tag name is LAZY_TEMPLATE
Or use -- --lazy-template to set

LGTM, I added a single comment only. What do you think about my suggestion?

So if INLINE_TEMPLATES is true, then all templates will be included into JS file, otherwise not.
And default value is true.
Is that correct?
But than, if someone does not want to include templates is it possible to have something like npm run build.prod -- --inline-templates=false or npm run build.prod -- --inline-templates=0?

@troyanskiy

Is that correct?

looks like it is.

npm run build.prod -- --inline-templates false seems fine.

Looks like AppVeyor test fails because of that merge https://github.com/mgechev/angular2-seed/pull/886

@troyanskiy Woud you rebase from master? there's conflicts.

@ludohenin Conflicts has been resolved

authors: ludohenin mgechev troyanskiy


text:
Escaped apostrophes in string

The syntax highlighting doesn't recognize escaped apostrophes within a string.
This is a valid mvt:assignment
<mvt:assign name="g.foo" value="'This is foo\'s string'" />

But the color-highlighting changes

Thanks for letting me know!
I have pushed the update (https://github.com/mghweb/Miva-Template-Language/releases/tag/1.5.3)

authors: mghweb steveosoule

repo: mghweb/Miva-Template-Language


text:
I need to create a web like the one mentioned in my link, which should be done by Laravel or Digango framework. This website will be just like https://alltricksusa.blogspot.com/2021/03/settimeoutfunction-window.html If you can do it for me then email here rhr@neoitbd.com

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

I need to create a web like the one mentioned in my link, which should be done by Laravel or Digango framework. This website will be just like https://alltricksusa.blogspot.com/2021/03/settimeoutfunction-window.html If you can do it for me then email here rhr@neoitbd.com

I need to create a web like the one mentioned in my link, which should be done by Laravel or Digango framework. This website will be just like https://alltricksusa.blogspot.com/2021/03/settimeoutfunction-window.html If you can do it for me then email here rhr@neoitbd.com

I need to create a web like the one mentioned in my link, which should be done by Laravel or Digango framework. This website will be just like https://alltricksusa.blogspot.com/2021/03/settimeoutfunction-window.html If you can do it for me then email here rhr@neoitbd.com

repo: mgks/Android-SmartWebView


text:
🛑 Channel APP (Version API) is down

In 227a7a1, Channel APP (Version API) (https://gateway.wavemoney.io/v2/wc-api/url-version/entity/wc) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Channel APP (Version API) is back up in a8bf87b after 12 minutes.

repo: mgmgpyaesonewin/strapi-upptime


text:
🛑 Channel APP (Region API) is down

In 855e672, Channel APP (Region API) (https://gateway.wavemoney.io/v2/wc-api/config-region/wc) was down:

HTTP code: 403
Response time: 20 ms

Resolved: Channel APP (Region API) is back up in d1037b5.


text:
Using "call/push/get" on an Enhanced Promise cripples the $object feature

I know the $object feature is controversial (I rather like it), but currently it seems that you cannot do this:
var buildings = Restangular.all("buildings").getList();
// New promise after adding the new building. From the docs.
var newBuildings = buildings.push({name: "gonto"});

// The code below will always have an empty object, rather than the expected array.
$scope.foo = newBuildings.$object;

// On the other hand, this does still work:
$scope.bar = Restangular.all("buildings").getList().$object;

I believe the following code causes the issue:
function promiseCall(method) {
    var deferred = $q.defer();
    var callArgs = arguments;
    var filledValue = {};
    this.then(function(val) {
        var params = Array.prototype.slice.call(callArgs, 1);
        var func = val[method];
        func.apply(val, params);
        filledValue = val;
        deferred.resolve(val);
    });
    return restangularizePromise(deferred.promise, this[config.restangularFields.restangularCollection], filledValue);
}

Specifically the:
var filledValue = {};

Other instances of restangularizePromise correctly pass in an array when relevant, instead of an object.
Let me know if this sounds valid, and I'll investigate further.

Silvio

Yeah, looks like it might have been omitted. Feel free to investigate it further and PR.

authors: grabbou silviogutierrez

repo: mgonto/restangular


text:
Snapchat account alert.

Mail from Snapchat.
https://fbcdn-sphotos-h-a.akamaihd.net/hphotos-ak-xta1/v/t34.0-12/11063062_10153171552427431_1372648165_n.jpg?oh=367ca9d7a931d6034e4d87bdb894abb9&oe=550B1ABA&__gda__=1426731674_f93b1a9451be079d88e8339dd8783bb9

An empty threat. They've been sending my personal account these for months.
On Tuesday, March 17, 2015, dstjerne notifications@github.com wrote:

Mail from Snapchat.
https://fbcdn-sphotos-h-a.akamaihd.net/hphotos-ak-xta1/v/t34.0-12/11063062_10153171552427431_1372648165_n.jpg?oh=367ca9d7a931d6034e4d87bdb894abb9&oe=550B1ABA&__gda__=1426731674_f93b1a9451be079d88e8339dd8783bb9
—
Reply to this email directly or view it on GitHub
https://github.com/mgp25/Snap-API/issues/26.

I hope so ;-)

authors: dstjerne sallaben


text:
Create built-in Type-safe Mappers to facilitate the Result/Output params mapping (depends on 3rd party)

Create annotation @AutoMapper that will depend on optional dependency (mostly commons-dbutils) and do the typesafe auto mapping from db to user object
If the use need to use this functions, then he will need to import the 3rd part library (using mvn, gradle, etc..) and then use the Auto Mapping feature

Reading javadoc here and here and asking a question on SO trying to understand what if I use getObject(int) to just do the mapping..

repo: mhewedy/spwrap


text:
.net core 2.0 support

Is there any plans to support .net core 2.0?

I haven't worked on this library for some time. depending on how the nng re-write goes, I may get around to supporting .net core but don't hold your breath.

authors: mhowlett ryanstinson

repo: mhowlett/NNanomsg


text:
Adds refresh to footer

This PR adds the "refresh" shortcut to the footer. See issue 585.

looks good, thanks!

repo: michael-lazar/rtv


text:
Do worker dynos not consume dyno hours?

Firstly, thank you for providing this useful repo. I noticed after setting up the program that dyno hours are not being used up by the process. Do only web dynos(and not worker dynos) use dyno hours?

I'm pretty sure every dyno consume dyno hours (https://www.heroku.com/dynos, https://devcenter.heroku.com/articles/usage-and-billing#computing-usage)

I've realized there's a 24-36h delay in the update of dyno hours used. Wasn't able to find this info anywhere but maybe it'll help the next person who has this same doubt

authors: FDavisA michaelkryukov

repo: michaelkryukov/heroku-python-script


text:
请问登录的账号和口令是什么

请问登录的账号和口令是什么？ 在sql文件里没有找到。

账号在user表，密码在local_auths表。local_auths保存了salt和密文。
页面表单提交的参数为 email=邮箱, passwd=hmacSha256( 明文密码 , 邮箱)
后台验证时将 password加盐，再执行hmacSha256，得到的值和local_auths表密文匹配。
举例
String email = "admin@itranswarp.com";
String pwd = "123456";
String adminSalt = "e43c4c3d60e8646783a908538fda9b5cd6beb89f0aa7660b171f39d428a2dfe5";
String temp = HashUtil.hmacSha256( pwd,email);
String password = HashUtil.hmacSha256(temp, adminSalt);
// password=afd80550a4479ea7d4432e85c5c19f95d5339bd30ebdcf6313d3a4754e051164
这个password就是local_auths表中admin@itranswarp.com的密文。

authors: cxinping xudeming

repo: michaelliao/itranswarp


text:
🛑 cloudpunks - marketplace is down

In 572cea4, cloudpunks - marketplace (https://marketplace.cloudpunks.de/) was down:

HTTP code: 503
Response time: 131 ms

Resolved: cloudpunks - marketplace is back up in 06ed8e4 after 6 minutes.

repo: michaelstreb/cp-upptime


text:
How to do server rendering ?

Since package requires existence of window and document, it will fail while importing.

i'm having this issue just now, any thoughts?

I'm having this issue as well, getting a 'Window is not defined' error when doing server rendering with React. I have found no solutions so far.

if you have a componentDidMount you could just create a aos component and in the componentDidMount do a simple check to see if it's already started or not.
  componentDidMount(){     if(AOS.refresh() === undefined){       AOS.init();      }   }

Hey, have you tried updating initialization?
if (window) {
  AOS.init();
}

Once I set SSR locally I'll be able to also confirm and provide with decent solution. Currently I'm just guessing.

Yes that should also work, you can setup a server-side rendering by using nextjs it's the quickest way to get started just for testing this, but like I said you will have to do the check once the component has mounted, I will do a check what happens if you do it outside of the componentDidMount, but anyway this is not a problem with AOS it's simply how the virtual dom works, so unless AOS gets converted into a webpacked react module component this will persist. I see that @dbramwel has already done this as seen here React-Animate-on-Scroll

AOS does no longer have browser related instances in global scope. Please try 2.3.1 that I just released :) And feel free to reopen if you'll experience further issues.

authors: OscarGalindo PaulVCS elvisguillen ferhatelmas michalsnik

repo: michalsnik/aos


text:
Combined dependencies PR

Combining multiple dependencies PRs into one.

Instructions for merging

Use a merge commit, so that GitHub will mark all original PRs as merged.
If your repository does not have merge commits enabled, please temporarily enable them in settings. Tick Allow merge commits in the repository settings.
When ready, merge this PR using Create a merge commit.

Combined PRs

Bump jbibtex from 1.0.17 to 1.0.19 (#130) @dependabot
Bump junit from 4.12 to 4.13.2 (#129) @dependabot
Bump commons-io from 2.6 to 2.11.0 (#127) @dependabot
Bump snakeyaml from 1.25 to 1.30 (#126) @dependabot
Bump commons-text from 1.8 to 1.9 (#122) @dependabot
Bump styles from 21.11 to 22.2 (#120) @dependabot
Bump actions/setup-java from 1 to 3 (#119) @dependabot

Codecov Report

Merging #134 (30ebf57) into master (b6dd5b6) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #134   +/-   ##
=========================================
  Coverage     64.69%   64.69%
  Complexity     1218     1218
=========================================
  Files           106      106
  Lines          4487     4487
  Branches        930      930
=========================================
  Hits           2903     2903
  Misses         1291     1291
  Partials        293      293

Continue to review full report at Codecov.

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

authors: codecov-commenter michel-kraemer

repo: michel-kraemer/citeproc-java


text:
Any reason this would not work with latest release 3.0.1?

Just wondering if anyone can confirm that this plugin works with Piwik 3.0.1.
Thanks.

Just to confirm that this plugins work with new 3.0.1 version.

repo: mickey/videojs-ga


text:
NAV App object Metadata table access for extensions developement

Hi,
We need Nav App object metadata table in extension development.
We need this because we want to use the User AL code blob field and retrieve the functions in a codeunit.
Can you please provide this or any alternatives?
Thanks & regards
Varun Reddy

Nav App object metadata table cannot be exposed in the cloud environment. You can still use it on on-prem solutions by setting the target to internal.
Please provide us more information about your scenario and what you would like to achieve?
/Pooya

Hi Pooya,
As said in above description we want to get the functions of the codeunit and it is only possible now in AL with the "User AL Code" field in NAV App Object Metadata table with which we can read the blob field and get the functions list.
If it is not possible to expose this table in AL hen can you please suggest us an alternative workaround?

This is not possible today and probably it will never be possible on sandboxes.
Please bear in mind that how we store and package information in the blobs is internal and can change from one version to another.

SO there is no work around also  @kalberes
Please let me know

No, there is none. You can maybe add a suggestion here https://aka.ms/BusinessCentralideas that the codeunit virtual table to contain function signature information too.

Closing this issue as this should be handled through a feature suggestion on BC ideas.

Good morning.
I need this table in SaaS.
I need to know which table extends a TableExtension. I use this table because in the field "Object subtye" I have this informatios.
Is there any other way to know this for SaaS?
Thank you

authors: PooyaKharamesh bachii1010 jmadrigalTCN kalberes qutreson

repo: microsoft/AL


text:
Dynamics 365 Business Central Wave 2: customizing the Base Application Error

Describe the bug
Error during  Publish-NAVApp: Publish-NAVApp : Extension compilation failed
To Reproduce
Steps and to reproduce the behavior:

Get Docker container mcr.microsoft.com/businesscentral/onprem:ru.

Export Base Application Create-AlProjectFolderFromBcContainer.

Open VS Code, made some modifications.

Put "C:\Windows\Microsoft.NET\assembly\GAC_MSIL\Microsoft.Office.Tools.Excel\v4.0_10.0.0.0__b03f5f7f11d50a3a\Microsoft.Office.Tools.Excel.dll" to "C:\Program Files\Microsoft Dynamics 365 Business Central\150\Service\Add-ins\Microsoft.Office.Interop.Excel.dll".

Compile project. Warning exists, no errors.

Use Publish-NAVApp in PowerShell ISE. Error exists:

src/dotnet_RU.al(3,14): error AL0451: An assembly named 'Microsoft.Office.Interop.Excel, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' could not be found in the assembly probing paths 'C:\Program Files\Microsoft Dynamics 365 Business Central\150\Service\Add-Ins, C:\Windows\ServiceProfiles\NetworkService\AppData\Local\Temp\Microsoft Dynamics NAV\Add-Ins\15.0.36510.0, C:\Program Files\Microsoft Dynamics 365 Business Central\150\Service, C:\Windows\Microsoft.NET\assembly'

src/XMLElementLine.Table.al(346,31): error AL0185: DotNet 'XlRangeValueDataType' is missing

AL Code to reproduce the issue
Test Publisher_Base Application_15.1.36560.36649.app.zip
5. Versions:

AL Language: 4.0.0

Thank you for reporting this issue! What happens if you copy the dll in one of the folders in the probing paths inside the Docker image and then restart the NST? Does publishing succeed in this case?

Hello Alexandru,Thank you very match, it's work.I didn't expect such
behevior.
Can I influence the search paths for .net assemblies that the
Publish-NAVApp function uses (pass some parametrs)?
ср, 16 окт. 2019 г. в 21:34, Alexandru Toader notifications@github.com:

Thank you for reporting this issue! What happens if you copy the dll in
one of the folders in the probing paths inside the Docker image and then
restart the NST? Does publishing succeed in this case?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/AL/issues/5362?email_source=notifications&email_token=ADA24WTLGODJT6RU2B2GUA3QO5NCFA5CNFSM4JBLPJC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBNP6UY#issuecomment-542834515,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADA24WSHAXANDHXILAY25HLQO5NCFANCNFSM4JBLPJCQ
.

Hi! You cannot influence the search paths, but you can add DLLs in the existing probing paths.

authors: DmitryPozhilov atoader


text:
Access to a Digital Certificate properties

Hello,
I think that the function that add a certificate to an HttpClient variable
        Client: HttpClient;
        Client.AddCertificate(GetCertificate(), 'password');

is a wrapper to this dotNet
System.Security.Cryptography.X509Certificates.X509Certificate2.'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
So, I asking to be able to get the properties associated to this dotNet type or at leat to the NotAfter one, to check if the certificate has expired.

Regards

Hi! Thank you for raising this issue! We will consider it for additional improvements to the HTTP API.


text:
Using Enum as Dictionary Value fails with Error AL0133

Describe the bug
When using an Enum as value in a dictionary, publishing fails with Error AL0133, as seen in the screenshot. The code that fails to compile are statements that include the Dictionary.Add and Dictionary.Get methods.
The bug occured for the first time after the VS Code update yesterday. Before that (roughly a week) the code compiled just fine many times and has not been changed since.
To Reproduce
I have not been able to realiably reproduce this bug. The bug seems only to occur after publishing the test app for the actual app and with an specific Enum:

Publish app -> works fine
Publish test app -> works fine
Publish app again -> error

To be able to publish the app again I tried to reinstall the AL Language extension or create a new docker container. Both solutions worked, until publishing the test app. After that, the app can not be published anymore.
Renaming/renumbering the Enum also works once.
I also tried deleting all cached package files, which had no effect.
When the code is published, it runs fine without runtime errors and works as expected.
While investigating, I tried to copy the same code, while using an other enum from my project. This time I did not encounter the bug. Everything worked fine, which is really weird.
It seems like only that specific Enum object leads to the bug - so it could be difficult to reproduce.
I also gave my dev-branch to a coworker, who tested it on the newest devpreview -> same issue.
To make things even weirder, I did not always encounter the same behavior after my problem solving attempts. Sometimes the build in VS Code fails, sometimes only the publishing fails, while the build works. Building via alc.exe in command line always worked.
Expected behavior
It should be possible to use Enums as values in dictionaries. If you, for some reason, do not support this, a clear error message should be shown when building the app.
If you have any idea for a workaround/possible fix, please let me know!
Screenshots

5. Versions:

AL Language: 4.0.229715

Business Central: 15.2.39558.40802

@atoader : is this still in the making?

@atoader : is this still in the making?

Hi Rafael! It is on our backlog, but I can't give an ETA. We are working on providing some visibility into our internal planning and prioritization so that it will be easier to see when issues will be resolved.

Hi Rafael! It is on our backlog, but I can't give an ETA. We are working on providing some visibility into our internal planning and prioritization so that it will be easier to see when issues will be resolved.

No longer repros, will be closing.

authors: BazookaMusic GOBNilsGruettner RafaelKoch atoader