Converting from imperial to metric gives to much decimals

Describe the bug
Since one of the last versions the calculations done to go from imperial input to metric output aren't rounded. so now the values like "20.38888888888889 °C" for the current temp. and "0.20320000000000002 mm" rain fall today, and "36.6930432 km/h" for wind speed.
To Reproduce
Steps to reproduce the behavior:

make sure the input is in imperial
make sure the output is metric
look at the values send to mqtt

Diagnostics
N/A
Additional context
my suggestion is to either give the user the option to round these values to a given number or round them all to 2 decimals.

See https://github.com/bachya/ecowitt2mqtt/pull/347. In short, use the --precision INTEGER config option.

my sincere apologies for not reading the documentation correct! I think it has something to do with the ecowitt2mqtt prefix of all the options, that was/is confusing me a bit.

No need to apologize! All good.

I think it has something to do with the ecowitt2mqtt prefix of all the options, that was/is confusing me a bit.

Reminder that only environment variables are prefixed with ECOWITT2MQTT_ (so they don't collide with others).


spi-flash-25c erase-program command broken

Causes a hang. Seems related to FX2 arbiter (#44?) as this happened after the arbiter was improved.

I think https://github.com/whitequark/Glasgow/pull/90/commits/c24d17a5d799b2f499ecb6c281084cf71f9b23bc might fix that.


Help needed - How can I mock an error being returned from mongoose?

Hi!
I just started using sinon-mongoose and I'm having a good time so far. But I was wondering if it'd be possible to mock an error condition.
For instance, I have this "production" code:
var sendResponse = require('./sendResponse');
var sendError = require('./sendError');
var Place = require('../model/Place');

function showPlaces(req, res) {
  Place.find((err, places) => {
    if (err) {
      return sendError(res, err);
    }

    if (!places.length) {
      return sendResponse(
        res,
<EMAIL_ADDRESS>there are no places yet! Why don't you try to create the first one by using the \`/add\` command?`
      );
    }

    const names = places.map(p => `*${p.name}*`).join('\n');

    return sendResponse(res<EMAIL_ADDRESS>these are the places in our database: \n${names}`);
  });
}

module.exports = showPlaces;

So far, I've been able to mock Place#find behaviour to return nothing or return an array with elements, and I was wondering if I could somehow have my test going through the if (err) branch.
I'm not sure I've been able to convey my idea, please let me know if I can help clarifying this question.
Thanks a lot!

I just figured out how to do it.
I just changed my test code to be like below and everything worked smoothly:
    const error = {code: 123};

    PlaceMock
      .expects('find')
      .yields(error, []);

Thanks for the great project, guys!


Dual Stream/Single Sink Topology Layout tests

Dual Stream Single Sink Application List:
(where each computation is part of each pipeline)
Stateful
Stateful -> Stateless
Stateful -> Stateless -> Stateful
Stateless
Stateless -> Stateful
Stateless -> Stateful -> Stateless
Uncoalesced
Stateful -> Stateless
Stateful -> Stateless -> Stateful
Stateless
Stateless -> Stateful
Stateless -> Stateful -> Stateless
Partitioned
State Partition
State Partition -> State Partition
State Partition -> Stateful
State Partition -> Stateless
Uncoalesced
State Partition -> Stateless
Stateless -> State Partition
Stateless -> State Partition -> Stateless
Filtering Stateless
Stateless (Filter) -> Stateful
Stateless (Filter) -> Stateless
Stateful -> Stateless (Filter)
Stateless -> Stateless (Filter)

Does "dual stream" mean "dual source"?

Given our current limitations re: no "choices" in pipeline definition outside of those implicit in a state partition, what's the distinction in your mind @nisanharamati?

@nisanharamati yes, did you interpret that as something else? should I rephrase?

@JONBRWN  Just wanted to be sure.

The list of topologies needs to be updated to include parallel_stateless steps

@JONBRWN @nisanharamati Can we close this?


fix dependencies for Home Assistant 2024.8

fixes https://github.com/basilfx/aiobiketrax/issues/113

I will close this PR now that #118 got merged, which solves the root issue. I will upgrade the dependencies in a future release.


[objc][docs] Add macOS getting started docs.

Build and tests passed.

@spouliot @timrisi Fixed.

Build and tests passed.


Highlight fields that have recently changed

if df changes from time step 1 -> 2, then highlight the delta between these time steps

Design: show a yellow indicator that goes away on next update similar to the blue indicator we have now, and also flash the column background as yellow then fade out


Deleting Cameras doesn't work properly

Describe the bug
A clear and concise description of what the bug is.
I set up 14 cameras for an animation, I deleted camera 2 out of the list which removed it from the right side bar, however the camera was still listed in the 3d view, and when I click on camera 3 from the right side panel it selects camera 2..
See Screen shot..

https://github.com/nerfstudio-project/nerfstudio/pull/920


Full screen startup Image

Hi,
It will be great if you add an option for a full screen image for the startup window instead of center image
Thanks,
Jassim

Thanks for the suggestion, but this is part of the modern app manifest and isn't owned by XAML. Could you file a Feedback Hub issue? I can help make sure it finds its way to the right owners.

@jevansaks Done....

Can you go into that item and click "Share" to copy a link and then paste the link here?

With Thanks
https://aka.ms/AA5yxym

Sorry for the delay, I've routed the feedback to the team that owns that area. Thanks!


Implement loadedMispEvents with HashSet, instead of ArrayList

Removes necessity of iterating through all events on access.

Fixed with https://github.com/lo-chr/MISP.ps1/commit/ffea3b4ea45d61f96297eeb000dbc9d4560340c7


[Android] Check that WS connection is open before closing it on failed. Fixes #3346

Check that the WS state is set to OPEN before trying to close it when the websocketFailed event fires. Otherwise the app throws an error at the Android level.
Fixes #3346

@mkonicek Can we merge this? Sorry for the issue, I didn't test properly after the review.

@facebook-github-bot shipit
Thanks for the fix @yzarubin!

Should this check go in _closeWebSocket? Opened https://github.com/facebook/react-native/issues/3364 so we look into this later after cutting 0.13 with the fix in this PR.

@satya164 Thanks for the Android WS implementation!
@mkonicek Np! For some reason the FB bot never added the GH Review label to this PR, will the shipit still work?
@ide I considered adding the check to _closeWebSocket, but decided against it for now in lieu of just fixing the bug. We should probably first figure out which layer should ultimately own the WS state and be responsible for throwing errors.

@ide, @yzarubin It might be easier to maintain the state in native but don't think iOS does that so we're good for now. It would be amazing if someone could add a cross-platform example to the iOS and Android UI Explorer so we can at least play with the implementation and see it works :)
I'll request rigorous test plans and examples on complex PRs in the future.

@facebook-github-bot shipit


Fix Evaluator for chainer.dataset.converter

Evaluator was not aware of chainer.dataset.converter (#5832).

Jenkins, test this please.

Jenkins CI test (for commit bea8f5921843858597ba0313aa7e153e50fbe761, target branch master) succeeded!

LGTM.


Create Homepage

As a user, I want to visit a lizardboard homepage to learn more about the tool and its features.

@pllearns and I are currently working on this one @jrob8577 .


[Question] Headless mode

As the title suggests, would it be possible to enable support for headless mode?

only possible, if puppeteer allows extensions in headless mode:
https://github.com/puppeteer/puppeteer/issues/659
Or if I fundamentally change the library to record the audio and video of a virtual window

Thank you for fast reply, keep up the good work!

only possible, if puppeteer allows extensions in headless mode:
puppeteer/puppeteer#659
Or if I fundamentally change the library to record the audio and video of a virtual window

"only possible, if puppeteer allows extensions in headless mode:"
So I may be wrong, but browserless.io has a solution without using an extension (or have I missed somewhere where they load an extension?)
https://docs.browserless.io/blog/2020/06/09/screencast.html
With code at: https://github.com/browserless/chrome/blob/master/src/apis/screencast.ts
But according to their api, it needs to start in headful: https://docs.browserless.io/docs/screencast
So I'm a bit confused.
My question really is:
If I'm correct, the code from browserless doesnt use an extension, but still needs headful.
Are there any more limitations in headless more than the "cant load extensions in headless", that makes the need for headful for screencasting?

The solution that browserless uses doesn't support audio and is using the chrome dev tools protocol that could be used in headless mode.
However I'm using the extension api to record the browser tab with video and audio.

@Flam3rboy alright, thank you for that clarification

not sure if something changed, but now it shows that it support audio:
https://docs.browserless.io/docs/screencast
"Audio is now supported in our screencast API as of docker version 1.8.0."

oh interesting, I'll have a look

@darksupremo https://github.com/browserless/chrome/search?q=Audio
I don't find any code regarding Audio capture and how they did accomplish it

It seems like they also did my approach and used an extension with tabcapture xD
https://github.com/browserless/chrome/commit/f13a76ccd3d6391c5b97131ed172e4eb33e44711#diff-2671e4d55d68edf7506a2b7773f4f94e2294679a32e4f1719d490baf5dffa06eR13

it looks like a old commit, their old implementation was based on extension, but it looks that it's not the case anymore..

yeah you are right, but I don't find the audio part for the current implementation

Yeah, looks like that docs is outdated, it's still not supported :(
changelog:
v1.34.0:
screencast API no longer supports audio or the setPreferences function in order to offer a better video experience. In order to set the width/height, simply set a page width height to what you'd like.
...
1.8.0:
Video capture now supports audio and browser width/height.

Found interesting comment in chromium issue about extension support in headless mode: https://bugs.chromium.org/p/chromium/issues/detail?id=706008#c36.
@Flam3rboy, could you take a look? Does it help?

@Livan-pro this looks promising, I'll try it later 👍

@Livan-pro yes I can confirm that recording with this extension works, if I use the chrome browser as executable path and add the args: ["--headless=chrome"], option.

Can confirm this works by adding this to the launch options i.e
browser = await launch({         args: ['--headless=chrome'] 	});

@Livan-pro yes I can confirm that recording with this extension works, if I use the chrome browser as executable path and add the args: ["--headless=chrome"], option.

Hello and thanks a lot for your work 👍
I did exactly that, I am on Mac OS (Google Chrome 108.0.5359.124), I have set the executable path to "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" and launched the browser with args: ['--headless=chrome']
However, when trying to stream the audio, an error is raised: Error: Evaluation failed: ReferenceError: START_RECORDING is not defined
How did you get your setup to work? Did you use a specific version of Chrome?

@Livan-pro yes I can confirm that recording with this extension works, if I use the chrome browser as executable path and add the args: ["--headless=chrome"], option.

Hello and thanks a lot for your work 👍
I did exactly that, I am on Mac OS (Google Chrome 108.0.5359.124), I have set the executable path to "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" and launched the browser with args: ['--headless=chrome']
However, when trying to stream the audio, an error is raised: Error: Evaluation failed: ReferenceError: START_RECORDING is not defined
How did you get your setup to work? Did you use a specific version of Chrome?

Hey there,
It's been a good while since I have used this extension - so I'll try my best to help!
I did not encounter this error when I was using this extension. I didn't have a set version of Chrome installed either, maybe latest at the time?
Another point to mention was that I was using Windows not Mac..
However from what I recall I was able to use headless mode as I was trying to use pupetteer to grab audio from a website and send that audio over Discord!

Hey there,
It's been a good while since I have used this extension - so I'll try my best to help!
I did not encounter this error when I was using this extension. I didn't have a set version of Chrome installed either, maybe latest at the time?
Another point to mention was that I was using Windows not Mac..
However from what I recall I was able to use headless mode as I was trying to use pupetteer to grab audio from a website and send that audio over Discord!

That was fast thanks!
My use case is pretty much the same, I am only interested into grabbing the audio of a webpage, but as a first step I'll just save it into a local file.
Maybe it is a Mac restriction, as you pointed out you were on Windows. I'll download a linux Docker image and test it.
Thanks for the tip!

Hey there,
It's been a good while since I have used this extension - so I'll try my best to help!
I did not encounter this error when I was using this extension. I didn't have a set version of Chrome installed either, maybe latest at the time?
Another point to mention was that I was using Windows not Mac..
However from what I recall I was able to use headless mode as I was trying to use pupetteer to grab audio from a website and send that audio over Discord!

That was fast thanks! My use case is pretty much the same, I am only interested into grabbing the audio of a webpage, but as a first step I'll just save it into a local file. Maybe it is a Mac restriction, as you pointed out you were on Windows. I'll download a linux Docker image and test it. Thanks for the tip!

I had a look at the old project I was using this for and I don't seem to be doing anything special; just simply setuping the the browser with the args:  args: ['--headless=chrome'].
I did notice I have a viewport set here.. which doesn't make sense as it's "headless mode" but it must of been redundant code left in from when I was testing with headless disabled. I don't see any references to any specific versions of chrome so it must of just been using the latest version of chrome that was available on my PC at the time.

For those that this flag suddenly stopped working and capturing audio in the new version of Chrome (v109), the flag changed from '--headless=chrome' to '--headless=new'. Use this to run in a headless mode. You are welcome. :-)

https://developer.chrome.com/articles/new-headless/
quick tested in my pc , headeless mode works now.
async function test() {
	const browser = await launch({
		defaultViewport: {
			width: 1920,
			height: 1080,
		},
	       args: [
			`--headless=new`,  // this will enable the new headless mode (chrome v109)
		]
	});
     ...
}
test();

On a debian docker container, no matter what size I give for defaultViewport  or  --window-size, I always end up with a recording of 800 x 600.
This could well be linked to  https://github.com/puppeteer/puppeteer/issues/10243

On linux, solution is here if you are having trouble with window size in new headless.

Hey I recommend mentioning it in the README.md, it's amazing that it works in headless!


Failed to install 'cordova-plugin-firebase': Error: ENOENT: no such file or directory, open '///**/platforms/android/AndroidManifest.xml'

Describe the bug
Can't install the plugin with the command: cordova plugin add cordova-plugin-firebase
To Reproduce
Steps to reproduce the behavior:

Go to 'command line'
Execute command 'cordova plugin add cordova-plugin-firebase'
See error

Plugin Version
Latest for Android

This looks like a local issue and not an issue with the plugin. Can you install other plugins without this issue?

Please provide console logs so we can investigate this issue.  You can also try testing out a proposed fix via PR #872.  You can check our contributing doc for info on how to test a PR.

I'm using a newer cordova version which has a different path for the Manifest and source files. Installing this patch: https://gist.github.com/joeljeske/68121fa6d643e0937f50458d0172e16e fixed my problem.


Add CZ token

为确保 Token Profile 的顺利通过，务必逐一确保以下检查项并补充项目资料：
.json 及 .png 文件检查项

[ ] logo 尺寸：120*120 px
[ ] logo 背景：透明
[ ] 代币有至少一笔成功的转账记录
[ ] 此项对于 ERC-20 项目方：合约地址有大小写（做 checksum）
[ ] .json 和 .png 文件名一致（包括大小写）

项目资料：
官方公告：https://www.cjz.vip/169268221.html
团队背景：
创新型团队，推动创新、科技、创业投资、价值型财经等等的进步和发展，价值型驱动！
项目基本情况：
财经钻CZ，真正的价值币！币圈大变革进行中，这场变革由真正的价值币驱动，财经钻CZ目前正在引领币圈变革！财经钻CZ既是真正的价值型数字币/高价值币，也是国内外权威财经门户/主流门户和财经平台、独角兽，极具影响力和公信力，自成立之日起，财经钻（包含财经钻前身）从未推荐过问题理财产品，并且经过数年时间验证：财经钻推动的都是正确的（有几个能扛得住时间检验？财经钻能），价值型导向！财经钻已经成为意见领袖。财经钻CZ目前已经落地12个应用场景，更多世界级应用场景扩展中，推动创新、科技、创业投资、价值型财经等等的进步和发展。财经钻CZ总量3千万颗，每月发行总量的0.2%
媒体报道：
财经钻  https://www.cjz.vip/100003179.html
金色财经  https://www.jinse.com/news/blockchain/895376.html
火星财经  https://news.huoxing24.com/20201025174329498525.html
收录的交易所：
ZT交易所  https://www.ztb.im/exchange?coin=CZ_USDT
ZG交易所  https://www.zg6.com/exchange/737/CZ/USDT
WBF交易所  https://www.wbfex.live/trade/CZ_USDT
Uniswap交易所  https://app.uniswap.org/#/swap
转账所需 Gas Limit（对 ERC-20 项目方）：60000

Please check the following to ensure a successful verification of Token Profile
.json and .png document checklists

[ ] logo dimensions: 120*120 px
[ ] logo background: Transparent
[ ] At least one transaction on the token contract
[ ] For ERC-20 project teams: Upper and lower capitalized alphabets in token address (For checksum purposes)
[ ] Same document name for both .json and .png (Including capitalization)

Project background:
Official announcement: https://www.cjz.vip/169268221.html
Project team background:
The team is an innovative one, pushing the advancement and development of the innovations, technology development, entrepreneurship investment and value finance etc... Value-Driven
Project basic information:
CZ is the real value-oriented digital currency! Amid the big changes in the cryptocurrency community, which is brought by the real value-oriented digital currency, CZ is the forerunner of this revolution! CZ is not only a real value-oriented cryptocurrency/high-value cryptocurrency but also a trustworthy financial portal/mainstream portal and financial platform, unicorn with great influence and credibility. Since its establishment, CZ (including the predecessor of CZ) never recommend any questionable financial product. After years of confirmation, what CZ advocated has been proven to be right, which few others can say the same. Its value-oriented property is the key! CZ has become an influential leader, with immense weight! With 12 applicable scenarios in operation and more scenarios are under development, CZ is pushing the advancement and development of the innovations, technology development, entrepreneurship investment and value finance etc...
Media publications:
财经钻  https://www.cjz.vip/100003179.html
金色财经  https://www.jinse.com/news/blockchain/895376.html
火星财经  https://news.huoxing24.com/20201025174329498525.html
Tradeable exchanges:
ZT exchange: https://www.ztb.im/exchange?coin=CZ_USDT
ZG exchange: https://www.zg6.com/exchange/737/CZ/USDT
WBF exchange: https://www.wbfex.live/trade/CZ_USDT
Uniswap exchange: https://app.uniswap.org/#/swap
Recommended Gas Limit (For ERC-20 project teams) for transaction:  60000

欢迎在社区中推荐用户使用 imToken 2.0 ，imToken 支持比特币, 以太坊, Comos, EOS, 波场, Nervos, 比特币现金, 莱特币，波卡等资产管理；同时支持去中心化币币兑换功能 Tokenlon；转账页面支持 ETH, USDT, EOS, BTC OTC 功能；另外对于没有 ETH 矿工费的用户，也提供 ETH 手续费充值功能。


i18n(ru): update translations for imports.mdx

Description (required)
Russian translations for imports.mdx
First-time contributor to Astro Docs?
yes

Hello! Thank you for opening your first PR to Astro’s Docs! 🎉
Here’s what will happen next:

Our GitHub bots will run to check your changes.
If they spot any broken links you will see some error messages on this PR.
Don’t hesitate to ask any questions if you’re not sure what these mean!

In a few minutes, you’ll be able to see a preview of your changes on Netlify 🥳.

One or more of our maintainers will take a look and may ask you to make changes.
We try to be responsive, but don’t worry if this takes a few days.

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

Locale
File
Note

ru
guides/imports.mdx
Localization added, will be marked as complete.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.

Hi @Gennad-r ! Same comment here as the other PR! I'm sorry for the delay but we will wait to merge this one into v5 docs!

OK @Gennad-r ! V5 is out, so I'm taking off the block, but please do update your branch because the site has changed A LOT since this PR was made. 😅  I'm sorry if there might be conflicts to deal with!


master FTBFS with -Werror=unused-but-set-variable in ipp.c

Since https://github.com/apple/cups/commit/fd8e2bdb2da53db37831baaa0db2a05fc47fc2aa, the master branch fails to build from source with:
ipp.c: In function 'main':

ipp.c:236:10: error: variable 'waittime' set but not used [-Werror=unused-but-set-variable]

See https://travis-ci.org/OdyX/cups/jobs/620941340#L1876
(With this fixed, it seems that the 5.4-lpstat.sh test fails too)

I have proposed two fixes for this and another error over at #5700 ; closing for clarity


chore(github): add issue templates

Close #1

There was a setting in the github project to just add it the defaults.


Allow role Placeholder to display role DisplayName instead of role name

Note to the dev: Luckperms group method getDisplayName() will return the result of getName() if displayName is not set.
Tested and work smoothly

Could you check the line below the one you edited for me?

 I did this after 48h no sleep :')
Didn't even saw your  %role_display_name% placeholder. Mybad !
Thank you <3


dev to main sync

Date: 28th September 2024
Developer Names:

@ahsrah7
@prashant67690
@lakshayman

List of changes:

#845
#854
#843

Tested on staging

[ ] Yes
[ ] No

In User management page, when search for the user, it doesn't seem to get the right user. And also when I clear the input getting below error:

Frontend is not sync with API responce

Date: September 27,2024

Developer Name: @ahsrah7

Issue Ticket Number

https://github.com/Real-Dev-Squad/website-dashboard/issues/828

PRs included

https://github.com/Real-Dev-Squad/website-dashboard/pull/845
https://github.com/Real-Dev-Squad/website-dashboard/pull/856

Description

Change the filter ui to

Show applied filter
option to remove the applied filter

Documentation Updated?

[ ] Yes
[x] No

Under Feature Flag

[x] Yes
[ ] No

Database Changes

[ ] Yes
[x] No

Breaking Changes

[ ] Yes
[x] No

Development Tested?

[x] Yes
[ ] No

Screenshots

Screenshot 1

https://github.com/user-attachments/assets/9d0583e1-ea1a-46ae-a48f-5f189758dcc0


Build error in sass.worker.js (0.9.7)

In Firefox 44.0.2, I do have:
SyntaxError: missing ] in index expression -- sass.worker.js :14:60

In Google Chrome Version 48.0.2564.109 (64-bit)
I do have:
Uncaught SyntaxError: Unexpected token ; -- sass.worker :14

When I switch to version 0.9.6 everything works.
Thank you

Interesting. I cannot confirm your finding.

Is your test online somwhere so I could have a look?
Is it possible some browser plugin / firewall / proxy is interfering?
Have you tried running the scripts in private mode in Chrome and Firefox?

I do use https://github.com/mobilexag/plugin-sass, I may have to open an issue there then.
Anyway, here are the test files to reproduce the issue. Please just change the sass.js version in config.js
sassjs_jspm.zip

I do use https://github.com/mobilexag/plugin-sass, I may have to open an issue there then.

yes. please re-open this issue should the problem lie with sass.js.


Update English

Typos
Link to English pages where available
OSM credit should be "OpenStreetMap contributors" rather than "Creators of OpenStreetMap" (see https://www.openstreetmap.org/copyright)

Thank you @hugovk !


Change tomllib to tomli

Pytest automatically installs tomli, so when trying to run the example from the readme you get an error when trying to import tomllib as it isn't installed with the package.

Oh thanks, I'll take a look tomorrow

Tomli isn't available by default. Looks like tomlib was added in python 3.11 so I've updated the minimum required python version and will release in next dev release (probably shortly)

Closed since next update will have fix


Clinical Trials Information Management Application (Backoffice) Concept

M5 Clinical Trials Information Management Application (Backoffice) Concept

Clinical Site app listing of trials will be developed in the scope of this issue.


add support for URL-safe base64 encoding

Similarily to https://docs.oracle.com/javase/8/docs/api/java/util/Base64.html , libGDX's base64 encoder should provide a way to encode with URL-safe (Table 2 of RFC 4648) charset. The change to existing code would be essentially trivial (e.g. adding another map with two last entries changed from +// to -/_ in https://github.com/libgdx/libgdx/blob/master/gdx/src/com/badlogic/gdx/utils/Base64Coder.java#L45 and providing a method to allow using those different maps here). Possibly allowing selecting other index 63/64 chars, because custom values are often needed, as shown in https://en.wikipedia.org/wiki/Base64#Implementations_and_history, would be great.
I can do a PR with my code implementing those changes, if anyone's interested.

A PR would be appreciated.

I haven't been able to test this extensively, so any comments/changes are welcome.

Fixed in #3262


Bug-Report[practice]fail to show problems on second time start

seems to filter by rules,can add a tips for filtered problems


Issue number no longer clickable in pr title

Description

Gitea Version
1.23.0+dev-739-g576e31ae3b
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
docker
Database
None

Related to the markup refactoring, will fix it.


 U: .

 U: .

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1890/1/console

versions
git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f)

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m 22s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

_ master Compile Tests _

+1 :green_heart:
mvninstall
3m 48s
master passed

+0 :ok:
refguide
4m 52s
branch has no errors when building the reference guide. See footer for rendered docs, which you should manually inspect.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
3m 24s
the patch passed

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+0 :ok:
refguide
4m 59s
patch has no errors when building the reference guide. See footer for rendered docs, which you should manually inspect.

_ Other Tests _

+1 :green_heart:
asflicense
0m 17s
The patch does not generate ASF License warnings.

20m 12s

Subsystem
Report/Notes

Docker
Client=19.03.11 Server=19.03.11 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1890/1/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/1890

JIRA Issue
HBASE-24535

Optional Tests
dupname asflicense refguide

uname
Linux 918547c219dc 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 42a82df3af

refguide
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1890/1/artifact/yetus-general-check/output/branch-site/book.html

refguide
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1890/1/artifact/yetus-general-check/output/patch-site/book.html

Max. process+thread count
59 (vs. ulimit of 12500)

modules
C: . U: .

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1890/1/console

versions
git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f)

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

Thank you @bharathv !


Failed to find an available client for this mission - error

Hello,
I just launched Minecraft after installing Malmo using launchClient, but cannot run the python files from the Examples folder. Keep getting the same error : "Error starting mission: Failed to find an available client for this mission - tried all the clients in the supplied client pool".
I added a client pool with a new alternative port number, as in Multimaze.py but of no avail.
In another thread I found someone suggesting to use launch_minecraft_in_background.py  instead of launchClient, but I cannot find this python file in my Malmo installation. Please help !!

What port is your Minecraft client listening on?
To find out, go to the Mod settings in the Minecraft GUI - you should see something like this:

I have tried with both the ports, port no. 10000 and port no.

10001, but the problem persists.

Strange.
Can I check that you are doing the following?

Run launchClient (.bat or .sh, depending whether you are on Windows or Linux/OSX)
Wait for a Minecraft client to appear. Don't do anything with Minecraft at this point - leave it on the main menu.
Run a python sample - eg python MazeRunner.py

This really ought to work...
If not, go back to the Mod settings in the Minecraft GUI, hit the config button, and change the debug display level to "show all diagnostics". Return to the main menu and check the display: you should see the message "CLIENT: DORMANT" in the top left hand corner of the screen. (And possibly "SERVER: DORMANT" if a mission has already run.) Unless the client is in the dormant state, it will refuse all incoming missions. If you see anything other than "DORMANT" let us know.

Am closing this due to inactivity - if this is still unresolved, please re-open and provide some more details, thanks!


[question] is Yubico Security Key supported?

Hi, I can't figure out if I got myself an unsupported key or I'm doing something wrong. Please advice!
This is what I have https://www.yubico.com/products/security-key/
The Security Key by Yubico combines hardware-based authentication, public key cryptography, and the U2F and FIDO2 protocols to eliminate account takeovers.

Works out of the box with Gmail, Facebook, and hundreds more
Supports FIDO2, U2F
Waterproof and crush resistant

sudo ykpersonalize -2 -ochal-resp -ochal-hmac -ohmac-lt64 -oserial-api-visible
Yubikey core error: no yubikey present

[526554.956204] usb 1-4: USB disconnect, device number 5
[526555.681790] usb 1-4: new full-speed USB device number 6 using xhci_hcd
[526555.830941] usb 1-4: New USB device found, idVendor=1050, idProduct=0120
[526555.830943] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[526555.830944] usb 1-4: Product: Security Key by Yubico
[526555.830944] usb 1-4: Manufacturer: Yubico
[526555.831985] hid-generic 0003:1050:0120.0002: hiddev0,hidraw0: USB HID v1.10 Device [Yubico Security Key by Yubico] on usb-0000:00:14.0-4/input0

I'm not familiar with this variant but does it include the challenge-response feature?

According to this https://support.yubico.com/hc/en-us/articles/360016649079-Ubuntu-Linux-Login-Guide-Challenge-Response Yubico Security key only supports U2F.

That's what I remembered too. This project is based on that capability so it won't work.

You may try this instead: https://github.com/mjec/khefin


Fix call to Py_BuildValue in module init

Closes #2133.

oopsie. Thanks!

I still wonder  why this didn't get caught by our CI...

It looks like it was caught here and in the subsequent CI runs after merge to master. Did you automerge this?


amplify init in headless mode after amplify import auth, I get error "OAuth properties for the app clients are not matching".

Before opening, please confirm:

[X] I have installed the latest version of the Amplify CLI (see above), and confirmed that the issue still persists.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
14.x
Amplify CLI Version
5.2.0
What operating system are you using?
Ubuntu
Amplify Categories
auth
Amplify Commands
init
Describe the bug
When I ran the amplify init in headless mode with the imported cognito, I got the error OAuth properties for the app clients are not matching.
When I read the code of the amplify CLI for confirmation, I found out that it checks if the properties match for two appClient, appClientWeb and appClientNative.
In addition, in the checking process (appClientAustPropertiesMatching), it was even checking if the callback URL and logout URL that can be set for each app client matched.
This seems like overkill.
I would like to specify different callback URLs and logout URLs for the web application and the native app respectively.
For example, we can do the following
For the web
URL for callback: https://example.com/signInCallback
URL for logout: https://example.com
For native apps
URL for callback: myapp://signInCallback
URL for logout: myapp://home
As you can see, the URL scheme itself is different between the web and native applications, and it depends on the implementation what kind of URLs are handled.
In order to pass the aforementioned property check, set "https://example.com/signInCallback, myapp://signInCallback" as the callback URL in Cognito's "App Client Settings" and For the logout URL, you need to specify "https://example.com, myapp://home".
We think this is unnatural, and we would like to improve it.
Expected behavior
Amplify init succeeds even if the callback URL and logout URL of appclientWeb and appClientNative do not match.
Reproduction steps

Import an existing cognito with amplify import auth.
create two cognito app clients. (One for web and the other for native).
go to "App Client Settings" and enter different URLs for web and native app clients in Callback URL and Logout URL respectively.
Run the amplify init in headless mode.

          AMPLIFY="{\"envName\":\"xxx\"}"
          AUTHCONFIG="{\"userPoolId\":\"xxxxx\",\"webClientId\":\"xxxxx\",\"nativeClientId\":\"xxxxx\",\"identityPoolId\":\"xxxxx\"}"
          CATEGORIES="{\"auth\":$AUTHCONFIG}"
          amplify init --amplify $AMPLIFY --categories $CATEGORIES --yes

GraphQL schema(s)
No response
Log output

# Put your logs below this line
Using default provider  awscloudformation
- Initializing your environment: dev
✔ Initialized provider successfully.
✖ There was an error initializing your environment.
Error: OAuth properties for the app clients are not matching.
    at Object.headlessImport (/home/runner/.config/yarn/global/node_modules/amplify-category-auth/src/provider-utils/awscloudformation/import/index.ts:1203:11)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at importedAuthEnvInit (/home/runner/.config/yarn/global/node_modules/amplify-category-auth/src/provider-utils/awscloudformation/import/index.ts:921:12)
    at updateConfigOnEnvInit (/home/runner/.config/yarn/global/node_modules/amplify-category-auth/src/provider-utils/awscloudformation/index.js:50:72)
    at /home/runner/.config/yarn/global/node_modules/amplify-category-auth/src/index.js:306:22
Error: Process completed with exit code 1.

Additional information
No response

I have created a pull request to solve this problem.
https://github.com/aws-amplify/amplify-cli/pull/7822

Hey @EringiV3 :wave: just wanted to follow-up on this one and see if you were still interested in contributing?

Hey @EringiV3 :wave: I wanted to follow-up here and see if you were still interested in contributing?


Question: Multi-Text Input Package

Hello! Really appreciate all the work being done here to aggregate shiny resources! No pressure to reply or resolve this, but I've looked everywhere and figured it was worth asking.
Are you aware of any package or method that could replicate a multi-text input similar to this? My goal is to allow a user to dynamically input search terms, I've though through textInput or selectInput, but I don't want to restrict users to any set choice and am not sure how to similate this. Let me know if you have any knowledge of something like this, no worries if you just close the issue though. Thank you!

You can simply use shiny::selectizeInput with it's create option. Please see my related answer here.

Agreed. If the requirements are mainly about creating new options and removing buttons, then using the selectizeInput() options and plugins would be the simplest solution.
If your requirement is actually much more complicated (such as the "OR" options), then another possibility is using the drag and drop components creatively.

@ismirsehregal That was exactly what I was looking for, still new to shiny and didn't know this functionality so appreciate you pointing me in the right direction!
@nanxstats Ill have to take a look at the drag and drop tools, the "AND/OR" functionality is on my roadmap but probably too much to figure out now. Thanks for the help!


Error

I've uncommented line 372 in widget.py. But I still get the following error. It seems that there is some error when calculating the next state... I've never successfully run this code so far.
`runfile('C:/Users/Wei Miao/Desktop/yahtzee-optimal-strategy-master_oringinal/yahtzee-optimal-strategy-master/widget.py', wdir='C:/Users/Wei Miao/Desktop/yahtzee-optimal-strategy-master_oringinal/yahtzee-optimal-strategy-master')
0 with 64 cases, total 0 processed
1 with 831 cases, total 64 processed
Reloaded modules: scoring
length of dice_to_id 252
length of kept_to_id 462
reachables: 2794 out of 4118
unreachables: 1324 out of 4118
$$$ 0 with 64 cases, total 0 processed
$$$ 1 with 831 cases, total 64 processed
100 processed, 0.22
200 processed, 0.213
300 processed, 0.213
400 processed, 0.21
500 processed, 0.264
600 processed, 0.21
700 processed, 0.206
800 processed, 0.298
2 with 4951 cases, total 895 processed
current state (7103,43)
roll (1, 1, 1, 1, 1) in category 3K
next state mask (7167, 43)
$$$ 2 with 4951 cases, total 895 processed
key does not exist (state,upper_score)=(7167,43)
Traceback (most recent call last):
File "", line 1, in
runfile('C:/Users/Wei Miao/Desktop/yahtzee-optimal-strategy-master_oringinal/yahtzee-optimal-strategy-master/widget.py', wdir='C:/Users/Wei Miao/Desktop/yahtzee-optimal-strategy-master_oringinal/yahtzee-optimal-strategy-master')
File "C:\Users\Wei Miao\Anaconda3\envs\tesst-env\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 827, in runfile
execfile(filename, namespace)
File "C:\Users\Wei Miao\Anaconda3\envs\tesst-env\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 95, in execfile
exec(compile(scripttext, filename, 'exec'), glob, loc)
File "C:/Users/Wei Miao/Desktop/yahtzee-optimal-strategy-master_oringinal/yahtzee-optimal-strategy-master/widget.py", line 372, in
training_expectation()
File "C:/Users/Wei Miao/Desktop/yahtzee-optimal-strategy-master_oringinal/yahtzee-optimal-strategy-master/widget.py", line 294, in training_expectation
process_main1((mask, upper_score), yahtzee=0)
File "C:/Users/Wei Miao/Desktop/yahtzee-optimal-strategy-master_oringinal/yahtzee-optimal-strategy-master/widget.py", line 255, in process_main1
e0,e0_action,e0_full= expectation_exit(state, yahtzee)
File "C:/Users/Wei Miao/Desktop/yahtzee-optimal-strategy-master_oringinal/yahtzee-optimal-strategy-master/widget.py", line 128, in expectation_exit
raise ValueError
ValueError`

I have the same problem. Did you solve it?


Add Referer header definition

I'll merge this, so the header exists. Changing to a Url should happen the same time as Location.

Thanks!


[Bingo] Issue with the hours left message

There is a visual issue with 1 hour left in the Bingo message, that appear when u use ./bingo and say u how many hours left to complete your bingo card.

This issue has already been solved. Issue can be closed


docs: Creating cookbook article about Dynamic Form

@wardbell Here is my PR with the Dynamic Form cookbook article.
-Added e2e test
-Combined into single commit
Thanks,
Tor

Excellent!
We'll have to sweep and replace the "I" and "You" with "We/Us" or just simple imperatives.  I haven't told you about the doc voice yet.
I had some of my own fun with your sample starting point. Checkout the revised sample code in the cb-dynamic-form-2 branch in ideablade/angular.io.
Let's talk about it tomorrow (Wed) if you have time.

Moved to #943


If data in create_buffer_with_data isn't a multiple of 4, just round up.

FIXES #512
If size of data isn't a multiple of 4, just round up.
Got rid of size argument to map_write, which no one was using.  Allow data to not be a multiple of 4 bytes.
Fixed a couple of typos, simplified some tests, added more tests.
The fix is essentially that used in the C WGPU API.

In addition to addressing your comments, I also added a test.

Sorry for pushing that merge commit, I wanted to get this in and didn't notice you were still working on it.

All done now.
On Tue, Oct 22, 2024 at 10:00 AM Korijn van Golen @.***>
wrote:

Sorry for pushing that merge commit, I wanted to get this in and didn't
notice you were still working on it.
—
Reply to this email directly, view it on GitHub
https://github.com/pygfx/wgpu-py/pull/626#issuecomment-2429801576, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABC2LINOD5CON5OXUBPK2PLZ42ABDAVCNFSM6AAAAABQJNWXBKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRZHAYDCNJXGY
.
You are receiving this because you authored the thread.Message ID:
@.***>

Something screwy is going on.  I'm not seeing my most recent changes here.  Let me see if I can get everything cleared up.  Don't do anything until I give the okay.

Everything is okay.


Update RSA invalid salt length error message

Upstream just reworded the error message displayed when an invalid salt length is provided for RSA PSS (source). That error message is used in an upstream test, so we need to follow suite.

For https://github.com/microsoft/go-lab/issues/110.


feature: Transcribe audios to text

Tried:

https://github.com/mozilla/DeepSpeech-examples/blob/r0.9/nodejs_wav/Readme.md it doesn't work with node > 16 and I'm using node 20!
https://github.com/akashmjn/tinydiarize is an interesting approach with annotations but only english was finetuned! not our current use case.

https://github.com/ChetanXpro/nodejs-whisper causes this issue:

filePath:  /workspaces/nodejs-whisper/audio/holmes.wav
[Nodejs-whisper] Models already exist. Skipping download.
[Nodejs-whisper]  Executing command: ./main  -otxt -ovtt -osrt -ml 1 -sow true  -l auto -m ./models/ggml-base.en.bin  -f /workspaces/nodejs-whisper/audio/holmes.wav

[Nodejs-whisper] Transcribing Done!
[Transcription service] Error:  Error: Something went wrong while executing the command.
    at /workspaces/nodejs-whisper/node_modules/nodejs-whisper/src/index.ts:39:9
    at Generator.next (<anonymous>)
    at fulfilled (/workspaces/nodejs-whisper/node_modules/nodejs-whisper/dist/index.js:5:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
/workspaces/nodejs-whisper/node_modules/nodejs-whisper/dist/index.js:5
        function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
                                                         ^
Error: Something went wrong while executing the command.
    at /workspaces/nodejs-whisper/node_modules/nodejs-whisper/src/index.ts:39:9
    at Generator.next (<anonymous>)
    at fulfilled (/workspaces/nodejs-whisper/node_modules/nodejs-whisper/dist/index.js:5:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Tested on:

https://github.com/SYSTRAN/faster-whisper
https://github.com/openai/whisper

It takes too long to process and uses too much resources, I don't find it suitable for our use cases. There should be better methods for audio-to-text.


Jdbc4.3 ap is

Codecov Report

Merging #16 into dev will increase coverage by 0.27%.
The diff coverage is 62.12%.

@@             Coverage Diff              @@
##                dev      #16      +/-   ##
============================================
+ Coverage     46.33%   46.61%   +0.27%
- Complexity     2210     2228      +18
============================================
  Files           107      108       +1
  Lines         25301    25359      +58
  Branches       4181     4185       +4
============================================
+ Hits          11723    11820      +97
+ Misses        11540    11511      -29
+ Partials       2038     2028      -10

Flag
Coverage Δ
Complexity Δ

#JDBC42
46.52% <50.81%> (+0.19%)
2221 <5> (+11)
:arrow_up:

#JDBC43
46.49% <63.07%> (?)
2223 <9> (?)

Impacted Files
Coverage Δ
Complexity Δ

...oft/sqlserver/jdbc/SQLServerPreparedStatement.java
51.61% <ø> (+0.28%)
165 <0> (ø)
:arrow_down:

...m/microsoft/sqlserver/jdbc/SQLServerResultSet.java
33.23% <ø> (+0.41%)
244 <0> (+2)
:arrow_up:

...oft/sqlserver/jdbc/SQLServerCallableStatement.java
29.19% <ø> (ø)
90 <0> (ø)
:arrow_down:

...soft/sqlserver/jdbc/SQLServerDatabaseMetaData.java
35.48% <0%> (+0.1%)
55 <0> (ø)
:arrow_down:

.../com/microsoft/sqlserver/jdbc/SQLServerJdbc42.java
20% <0%> (-5%)
0 <0> (ø)

...icrosoft/sqlserver/jdbc/SQLServerXADataSource.java
16.66% <100%> (+10.41%)
4 <2> (+2)
:arrow_up:

.../microsoft/sqlserver/jdbc/SQLServerDataSource.java
46.56% <100%> (+0.57%)
68 <2> (+2)
:arrow_up:

...m/microsoft/sqlserver/jdbc/ActivityCorrelator.java
91.66% <100%> (+1.66%)
7 <5> (+3)
:arrow_up:

.../microsoft/sqlserver/jdbc/SQLServerConnection.java
45.73% <14.28%> (-0.05%)
277 <0> (ø)

.../com/microsoft/sqlserver/jdbc/SQLServerJdbc43.java
40% <40%> (ø)
0 <0> (?)

... and 20 more

Continue to review full report at Codecov.

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


PHOENIX-6555 Wait for permissions to sync in Permission tests

This copies and used the permission sync code from the HBase tests.

Thanks @stoty, will get to review this soon.


Simplify CI coverage step.

This change is

Codecov Report

Merging #10 (2afeb9e) into main (c293e1b) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #10   +/-   ##
=======================================
  Coverage   81.89%   81.89%
=======================================
  Files           7        7
  Lines         453      453
=======================================
  Hits          371      371
  Misses         82       82


[Release-1.31] - Bump etcd to 3.5.16

Backport fix for Bump etcd to 3.5.16

#11171

Validated on release-1.31 with commit https://github.com/k3s-io/k3s/commit/c946875f318ac49a407c71a7bad961705538e4e9

Single node

[2024-11-07T20:29:18.666Z] k3s version v1.31.2+k3s-c946875f (c946875f)
[2024-11-07T20:29:18.666Z] go version go1.22.8

[2024-11-07T20:29:18.667Z] Command:
[2024-11-07T20:29:18.667Z] sudo journalctl -u k3s | grep etcd-version
[2024-11-07T20:29:18.667Z] ---------------------
[2024-11-07T20:29:18.667Z] Assertion:
[2024-11-07T20:29:18.667Z] 3.5.16
[2024-11-07T20:29:18.667Z] ----------------------
[2024-11-07T20:29:18.668Z] Matched with result:
[2024-11-07T20:29:18.668Z] Nov 07 20:26:05 ip-172-31-4-228 k3s[1856]: {"level":"info","ts":"2024-11-07T20:26:05.926475Z","caller":"embed/etcd.go:311","msg":"starting an etcd server","etcd-version":"3.5.16","git-sha":"HEAD","go-version":"go1.22.8","go-os":"linux","go-arch":"amd64"...}


Mini GPS/BDS Unit is now EOL

I just noticed the original GPS unit in the README is now marked EOL:
https://shop.m5stack.com/products/mini-gps-bds-unit?variant=16804810784858
There appears to be a V1.1 upgrade here:
https://shop.m5stack.com/products/gps-bds-unit-v1-1-at6668?variant=45727253692673
Helpfully, the replacement unit is cheaper, with better satellite support and positioning accuracy.
Unhelpfully it is currently "Out Of Stock" and has changed the serial baud rate.
This baud rate change will require a new setting.
Furthermore, there's also a unit with an external antenna:
https://shop.m5stack.com/products/gps-bds-unit-with-sma-antenna-at6668
There's a good summary comparing the various units towards the end of this product documentation page:
https://docs.m5stack.com/en/unit/Unit-GPS SMA

Update: v1.1 units are in stock now, I have ordered one and will work on supporting in when it arrives.


Support AWS M6g instance types

User Story

As a cluster admin, I want to make use of AWS m6g instance types, in order to make use of them in general purpose worker nodes with a good cost to performance ratio.

Acceptance Criteria

[ ] Given I create a node pool, I should be able to select an m6g.* instance type and the worker nodes should in fact make use of them.

Tasks

[ ] Provide OS AMI for use with ARM

Background
AWS advertises the M6g instance types as 40% more cost-efficient than M5 types. They are using a custom ARM-based CPU named Graviton2. The feature is currently (March 2020) in preview.
The types specified so far:

Note: m6g.medium and m6g.large do not offer enough CPU and/or RAM resources to match our general requirements.

as noted in the slack thread, we need to build/provide all binaries and all docker images for the arm64 arch as  now we assume we run only amd64 arch

@alex-dabija Is there any change here? Is there a way to do this in Q3? There might be a sustainability discussion inside adidas and we would want do do this if possible. But sure, their teams also would need to see how fast they can move.

Unfortunately, nothing has changed on this.
As @calvix mentioned, our product assumes that it's running on x86_64 and in order to support arm64 we would have to build/provide all the binaries for the arm64 architecture.
This would be a big project and is going to require a lot of effort. On the positive side we just need to do it for workload clusters and the management clusters can stay as they are.
Also, Flatcar added support for arm64 last December: https://www.flatcar.org/releases/#release-3033.2.0 .
In the context of CAPI, we also need to check what the state of arm64 is. I just added a quick note to the Phoenix board to have a quick look into it because we would probably want to do this for CAPI. Depending on this we would have to see if it's doable for Q3. It's difficult to provide a better answer until we have more information.

@AverageMarcus @njuettner @calvix can u share your recent 'attempt' to run arm64 images so we can have a status update?

CAPI currently doesn't have any arm64 VM images available (ubuntu or flatcar). Upstream image-builder doesn't currently support building ARM images. I started working on a PR to add support upstream but haven't finished. Unless it's a priority over CAPA/CAPG I'm unlikely to pick it up again anytime soon.
None of our docker images in Quay added by retagger have the arm64 arch included, even if the upstream image does. We only copy the amd64 version.
Some upstream images (e.g. etcd) build a completely different image tag for arm64 rather than relying on the multi-arch support of docker image. We'd need to go through all we use and check if any others also do.
ARM instances are available on AWS, GCP and Azure so we should ensure we handle all in the same way.

@T-Kukawka I posted my notes to the google doc we had on the onsite,  in short, the problematic part was that there are still many  docker images on the vintage machines that need arm64 build before the kubelet and API could start
also it's important to not forget about the pause container which is configured in  containerd config
other than it was was mostly about building all images for arm64 arch, since the flatcar already has arm64 AMIs we didn't need to do that

needs validation for CAPA

Hi @T-Kukawka  it will be finally compatible with CAPA clusters?


gzip support

[ch 3712]

@jsantos17 I cleaned up the argonaut code as well. Note that as a consequence of that the format of testCredentials.json changed.

[ch3712]


Make data library easier to explore

By adding filtering by 0..n tags

I made some different versions:
Integrated with search:
I integrated with the search field due it is a type of search. But not that intuitive:

Icon near search:
Just because they're similar actions. Looks really weird.

Replace Like Icon
Most liked one. Since we have a tab to classify the liked datasets. Also, on the datasets dashboard, it only show your likes, so I decided to delete the order by likes options from the filters and add the filter by option:

This option works nice on the modal as well:

Just one quick comment until I can think on this further... why you should keep the ordering icons on the data library? Ordering here (other than alphabetic) doesn't make any sense IMO

Well I think that would be weird to change the ordering icons depending on the tab you are because they're both on the same place.

Why would you keep something that is not useful in an UI then?

Okay so in the case of Data Library I would remove the Filter by Activity and Order by Likes

How do you think people uses this page? Or better, how do you think people will like to use this screen?

IMHO I think that ordering data library by likes doesn't makes much sense right now. So I replaced by filter option.
I think it would make sense to add a classification of polygon dataset/points/lines or even a spatial filter, e.g: US datasets, Spain Datasets... But it would make the data library search very complex, what do you think?

After yesterday's talk of remove the filtering buttons replacing it with a "filter by category" option:

Thoughts?

I think the filter by label is not needed. by default it could say "All categories" and then when selected the category name. also the left separator shoulnd't be there, right?

Yep, much better:

Last version:

File is called dashboard-1.9.sketch

We should add it to new data library page, shouldn't we?
cc @matallo (not for implementing in the first version)


FIX escape brackets in command line when running in env

Should fix #366 , cc @mathurinm

It seems to fail for objectives :
(base) ➜  lasso git:(quickstart) ✗ benchopt run . --config example_config.yml --env
Usage: benchopt run [OPTIONS] BENCHMARK
Try 'benchopt run -h' for help.

Error: Invalid value: Patterns ['Lasso Regression\\[fit_intercept=False,reg=0.1\\]'] did not match any objective.
Available objectives are:
- Lasso Regression[fit_intercept=True,reg=0.5]

This should be better @mathurinm

Codecov Report

Merging #367 (169c294) into main (3da89d2) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #367   +/-   ##
=======================================
  Coverage   55.84%   55.84%
=======================================
  Files          42       42
  Lines        2446     2446
  Branches      453      453
=======================================
  Hits         1366     1366
  Misses        987      987
  Partials       93       93

Let's merge then.


cleanup linkml (GSI-722)

... and update template.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
8 unchanged lines in 2 files lost coverage.
Overall coverage increased (+1.2%) to 93.567%

Files with Coverage Reduction
New Missed Lines
%

src/metldata/transform/handling.py
3
95.89%

src/metldata/transform/base.py
5
95.24%

Totals

Change from base Build<PHONE_NUMBER>:
1.2%

Covered Lines:
480

Relevant Lines:
513

💛  - Coveralls


Update for the fact that syntax collections are always non-optional in SwiftSyntax now

Companion of https://github.com/apple/swift-syntax/pull/2043

https://github.com/apple/swift-syntax/pull/2043
https://github.com/apple/swift-format/pull/585
https://github.com/apple/swift/pull/67836
@swift-ci Please test


Strange error with simulators

Description

When running the following code, I got backend ... not available error.
backend = "ibmqx_hpc_qasm_simulator"
shots = 1000
results = Q_program.execute([circuitName], backend=backend, shots=shots)
answer = results.get_counts(circuitName)

plot_histogram(answer)

But when I queried the available backends, with pprint as below, I can run the code.
from pprint import pprint

pprint(Q_program.available_backends())
pprint(Q_program.get_backend_status('ibmqx_hpc_qasm_simulator'))
pprint(Q_program.get_backend_status('ibmqx_qasm_simulator'))

backend = "ibmqx_hpc_qasm_simulator"
shots = 1000
results = Q_program.execute([circuitName], backend=backend, shots=shots)
answer = results.get_counts(circuitName)

plot_histogram(answer)

Your Environment

IBMQuantumExperience                   1.9.0
qiskit                                 0.4.12
python 3.6.2

This patch removed qiskit.backends.discover_remote_backends(self.__api) in QuantumProgram.set_api. That's why users cannot run any program on the remote simulators without calling available_backends.
https://github.com/QISKit/qiskit-sdk-py/pull/363/commits/ace23ec7094a770fe567f9402e49e7cf86e75d24

@rraymondhp  can you check with 0.4.13 this should be fixed now.

@jaygambetta  Thanks! I have checked that it works with producing deprecated warnings.
I will close this issue once I have confirmed all tutorials work.

Confirmed that the latest version is compatible with old tutorials.


Failing integration test

What are we trying to do?

Submit documentation update, and get the integration tests to pass. Looks like test/integration/pledge_fulfillment_test.rb has a failing test: test_0002_should show a link to the pledge fulfillment tab after pledge sent - PledgeFulfillmentTest::visiting the edit patient view as a data volunteer.

What feature or behavior is this required for?

Onboarding and submitting PRs etc.

How could we solve this issue? (Not knowing is okay!)

Make the test pass.

Anything else?

Not this second!

Link to a failure: https://circleci.com/gh/colinxfleming/dcaf_case_management/1731?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link

Failing output:
Expected false to be truthy.
test/integration/pledge_fulfillment_test.rb:90:in `block (2 levels) in <class:PledgeFulfillmentTest>'

I got one locally, but when I rerun with the same seed, I get a different failure 👻  :sob:
failure No 1:
lillie@lemur-8 dcaf_case_management (master) $ rake
Started with run options --seed 23038

    HTML screenshot: /Users/lillie/projects/dcaf_case_management/tmp/capybara/screenshot_2017-03-04-11-05-34.178.htmlETA: 00:02:07
    Image screenshot: /Users/lillie/projects/dcaf_case_management/tmp/capybara/screenshot_2017-03-04-11-05-34.178.png
 FAIL["test_0001_should let you mark a pledge submitted", #<Class:0x007feb0d5b0888>,<PHONE_NUMBER>5500776]
 test_0001_should let you mark a pledge submitted#SubmitPledgeTest::submitting a pledge (102.42s)
        Expected false to be truthy.
        test/integration/submit_pledge_test.rb:37:in `block (2 levels) in <class:SubmitPledgeTest>'

58bb105df47575191fbc7f51,58bb105df47575191fbc7f56,58bb105df47575191fbc7f4c,58bb105df47575191fbc7f47 Time: 00:03:16,  ETA: 00:00:08
  328/328: [=================================================================================] 100% Time: 00:03:23, Time: 00:03:23

Finished in 203.84374s
328 tests, 692 assertions, 1 failures, 0 errors, 0 skips

failure No 2:
lillie@lemur-8 dcaf_case_management (add-referred-to-clinic-to-pregnancy) $ rake TESTOPTS="--seed 23038"
Started with run options --seed 23038

    HTML screenshot: /Users/lillie/projects/dcaf_case_management/tmp/capybara/screenshot_2017-03-04-12-02-25.381.htmlETA: 00:00:32
    Image screenshot: /Users/lillie/projects/dcaf_case_management/tmp/capybara/screenshot_2017-03-04-12-02-25.381.png
ERROR["test_0001_should be able to create user", #<Class:0x007ff2f0e7e538>,<PHONE_NUMBER>1102816]
 test_0001_should be able to create user#CreateUserTest::admin user (176.20s)
MockExpectationError:         MockExpectationError: expected deliver_now() => nil
            test/integration/create_user_test.rb:43:in `block (3 levels) in <class:CreateUserTest>'
            test/integration/create_user_test.rb:29:in `block (2 levels) in <class:CreateUserTest>'

58bb1d68f475751bfbf782e4,58bb1d68f475751bfbf782e9,58bb1d68f475751bfbf782df,58bb1d68f475751bfbf782da Time: 00:03:18,  ETA: 00:00:08
  328/328: [=================================================================================] 100% Time: 00:03:25, Time: 00:03:25

Finished in 205.08693s
328 tests, 689 assertions, 0 failures, 1 errors, 0 skips

Another failure: https://circleci.com/gh/colinxfleming/dcaf_case_management/1752
test_0001_should add a call to completed when a call was made within 8 hrs - CallListTest::completed calls section

Expected false to be truthy.
test/integration/call_list_test.rb:78:in `block (3 levels) in <class:CallListTest>'
test/integration/call_list_test.rb:77:in `block (2 levels) in <class:CallListTest>'


Add save(), destroy(), set(), ... on Collections (brainstorming)

I want to do bulk actions on some models. This is a proposal.
collection.fetch();

var c_filtered = collection.filter(function (item) { return "social" === item.get("type"); });

c_filtered.save({type: "social_media"});

The data can be sended in two ways (I think):

Array of id's and the data you want to change
Array of each model independent with the changes applied

What do you think?

See all of the previous tickets about bulk operations...


Is there a tool for converting HTML to sycamore components？

Is there a tool for converting HTML to sycamore components？

There's this tool here https://github.com/SycaPerse/sytags but it's WIP and I haven't tried it yet personally. Please note that questions are better asked either on our Discord server or in GitHub discussions.


Snippets: fix misnamed snippets in archetypes/

Archetype snippets should follow the model {archetype_name_snake_case}_{snippet_name}.
Index rendered
Reasons:
A) Consistency.
B) Snippets that contain the name of an archetype bubble up in the snippet index (when grepping for Points3D, you are likely more interested in points3d_simple vs. transform_hierarchy_mega_test_of_deth, even though both of them reference Points3D).

DNM: requires #8386

Link checking failures will pass once this is on main.

@rerun-bot full-check


Links to the right side of Blast results page

The links under the Download FASTA, XML, TSV section don't work

We would need to find where in sequence server the error is. We need to be careful on which branch we are using.

Found a temporary solution for the links
Will find a better solution in the near future


Cannot add PPA: 'ppa:~mozillateam/ubuntu/ppa'.

Description
Hi Team,
I'm facing the below when building Ubuntu2004, and I'm not sure if this requires a PR to fix or it's actually a bug.

==> azure-arm: Provisioning with shell script: /home/runner/work/UrvinInfra/UrvinInfra/runners/images/linux/scripts/installers/firefox.sh
    azure-arm: Cannot add PPA: 'ppa:~mozillateam/ubuntu/ppa'.
    azure-arm: The team named '~mozillateam' has no PPA named 'ubuntu/ppa'
    azure-arm: Please choose from the following available PPAs:
    azure-arm:  * 'build-support':  Build support PPA for Mozilla packages (DO NOT USE)
    azure-arm:  * 'firefox-next':  Official PPA for Firefox Beta
    azure-arm:  * 'ppa':  Firefox ESR and Thunderbird stable builds
    azure-arm:  * 'thunderbird-next':  Official PPA for Thunderbird Beta
==> azure-arm: Provisioning step had errors: Running the cleanup provisioner, if present...

Platforms affected

[ ] Azure DevOps
[ ] GitHub Actions - Standard Runners
[X] GitHub Actions - Larger Runners

Runner images affected

[X] Ubuntu 20.04
[ ] Ubuntu 22.04
[ ] macOS 11
[ ] macOS 12
[ ] macOS 13
[ ] Windows Server 2019
[ ] Windows Server 2022

Image version and build link
Image version: 2.309.0
Is it regression?
no
Expected behavior
Packer image builds successfully
Actual behavior
Packer image fails with error:

==> azure-arm: Provisioning with shell script: /home/runner/work/UrvinInfra/UrvinInfra/runners/images/linux/scripts/installers/firefox.sh
    azure-arm: Cannot add PPA: 'ppa:~mozillateam/ubuntu/ppa'.
    azure-arm: The team named '~mozillateam' has no PPA named 'ubuntu/ppa'
    azure-arm: Please choose from the following available PPAs:
    azure-arm:  * 'build-support':  Build support PPA for Mozilla packages (DO NOT USE)
    azure-arm:  * 'firefox-next':  Official PPA for Firefox Beta
    azure-arm:  * 'ppa':  Firefox ESR and Thunderbird stable builds
    azure-arm:  * 'thunderbird-next':  Official PPA for Thunderbird Beta
==> azure-arm: Provisioning step had errors: Running the cleanup provisioner, if present...

Repro steps
Download Runner Images repository.
Set-Location c:\
git clone https://github.com/actions/runner-images.git

Import GenerateResourcesAndImage script from /helpers folder, and run GenerateResourcesAndImage function via Powershell.
Set-Location C:\runner-images

Import-Module .\helpers\GenerateResourcesAndImage.ps1

GenerateResourcesAndImage -SubscriptionId {YourSubscriptionId} -ResourceGroupName "myTestResourceGroup" -ImageGenerationRepositoryRoot "$pwd" -ImageType Ubuntu2004 -AzureLocation "East US"

Hey @slaterx. It looks like transitive network-related issue. Did you try rerunning build?

Our company is observing the same intermittent behavior while building Ubuntu 20.04 (22.04 appears to build successfully without issue):
Cannot add PPA: 'ppa:~mozillateam/ubuntu/ppa'.
The team named '~mozillateam' has no PPA named 'ubuntu/ppa'
Please choose from the following available PPAs:
'build-support':  Build support PPA for Mozilla packages (DO NOT USE)
'firefox-next':  Official PPA for Firefox Beta
'ppa':  Firefox ESR and Thunderbird stable builds
'thunderbird-next':  Official PPA for Thunderbird Beta

It appears the PPA was added about ~3 years ago (https://github.com/actions/runner-images/commit/5dd62e7a08dcaede9085450c86c4643f482f9803), so nothing changed their recently.
add-apt-repository is included in the software-properties-common package (https://packages.ubuntu.com/focal/software-properties-common). The most recent update was from March of this year (https://changelogs.ubuntu.com/changelogs/pool/main/s/software-properties/software-properties_<IP_ADDRESS>/changelog).
The closest I found to this behavior was documented in this Ubuntu bug report - https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1651256

@vpolikarpov-akvelon I re-ran the pipeline and got the same issue again:

azure-arm: Cannot add PPA: 'ppa:~mozillateam/ubuntu/ppa'.
azure-arm: The team named '~mozillateam' has no PPA named 'ubuntu/ppa'
azure-arm: Please choose from the following available PPAs:
azure-arm:  * 'build-support':  Build support PPA for Mozilla packages (DO NOT USE)
azure-arm:  * 'firefox-next':  Official PPA for Firefox Beta
azure-arm:  * 'ppa':  Firefox ESR and Thunderbird stable builds
azure-arm:  * 'thunderbird-next':  Official PPA for Thunderbird Beta

Hey. I investigated this a bit. The error emerges when launchpad.net server response is empty.
If this won't be fixed by launchpad's team in the nearest future we will try to workaround it somehow as it affects our pipelines as well.

We are seeing this too with the ubuntugis ppa, so it could be a launchpad issue:
Run sudo add-apt-repository -y ppa:ubuntugis/ubuntugis-unstable
Cannot add PPA: 'ppa:~ubuntugis/ubuntu/ubuntugis-unstable'.
The team named '~ubuntugis' has no PPA named 'ubuntu/ubuntugis-unstable'
Please choose from the following available PPAs:
 * 'ppa':  ubuntugis-stable
 * 'ubuntugis-experimental':  ubuntugis-experimental
 * 'ubuntugis-testing':  ubuntugis-testing
 * 'ubuntugis-unstable':  ubuntugis-unstable
Error: Process completed with exit code 1.

Workarounded in main, do not forget to sync your fork

Likely related to launchpad caching bug: https://bugs.launchpad.net/launchpad/+bug/2039251 which was reportedly fixed ~ 3 hours ago


On WSL, startx gets fatal server error: x86OpenConsole: Switching VT failed

Please use the following bug reporting template to help produce issues which are actionable and reproducible, including all command-line steps necessary to induce the failure condition. Please fill out all the fields! Issues with missing or incomplete issue templates will be closed.
If you have a feature request, please post to the UserVoice.
If this is a console issue (a problem with layout, rendering, colors, etc.), please post to the console issue tracker.
Important: Do not open GitHub issues for Windows crashes (BSODs) or security issues.  Please direct all Windows crashes and security issues to<EMAIL_ADDRESS> Ideally, please configure your machine to capture minidumps, repro the issue, and send the minidump from "C:\Windows\minidump".
Please fill out the below information:

Your Windows build number:  (Type ver at a Windows Command Prompt)

What you're doing and what's happening:  (Copy&paste the full set of specific command-line steps necessary to reproduce the behavior, and their output. Include screen shots if that helps demonstrate the problem.)

What's wrong / what should be happening instead:

Strace of the failing command, if applicable:  (If some_command is failing, then run strace -o some_command.strace -f some_command some_args, and link the contents of some_command.strace in a gist here).

For WSL launch issues, please collect detailed logs.

See our contributing instructions for assistance.

After install xinit, and start X-win using startx get fatal server error;
the  xorg.0.log is:
Xorg.0.log

#882 #230. WSL has no pixel devices. FAQ is here.


t_complexity rotations

CZPowGate and ZPowGate t_complexity and/or _t_complexity_() disagree. ZPowGate is a RotationBloq and uses a formula to return t counts for the bloq, but only when using the Bloq t_complexity method (unknown what happens if you use the cirq t_complexity protocol). CZPowGate returns a rotation=1 count.
This shows up in the test
qualtran.bloqs.rotations.phase_gradient_test.test_phase_gradient_state
which seemingly expects everything to be kept as a "rotation".

More info: you'll get a different t complexity depending on whether you use the t_complexity protocol vs using t_complexity method. The protocol will use _is_clifford_or_t to report any 1-qubit gate that isn't a clifford as a rotation even though the ZPowGate t_complexity method returns a number of t gates

I'll turn everything to rotations and add a method to TComplexity if you're interested in converting to total-t

@mpharrigan The right thing to do here would be to modify the TComplexity dataclass to store rotations as a Tuple[Tuple[Union[float, sympy.Expr], int], ...] which corresponds to storing a tuple of (eps, num_rotations_of_precision_eps)
This might turn into a bigger migration than what the issue is about but I think it's worth doing it now. Doing x rotations is not sufficient information for resource analysis. It's important to know what precision do you wish to perform the x rotations with.

I mean we're going to scrap the TComplexity object entirely in favor of bloq counts so you can actually have some iota of control over these things


Remove Context Menus On Uninstall/Reinstall

VSCode Version:
OS Version:

Steps to Reproduce:
1 - When uninstall the application -> Should remove "Open With Code" context menu
2 - When installing the application -> Should remove any regedits from the registry and set the context menus again

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

I cannot reproduce this issue. When I uninstall, the context menu action is gone. Can you reproduce this on another machine?

I resolved this by fixing the regedit exe paths, im not sure how i got to this point but ill close this ticket thank you very much for your help


SQFormAutocomplete textField does not update when using setFieldValue

Affected components: SQFormAutocomplete
When trying to set the value for a SQFormAutocomplete based on the selection of a different SQFormAutocomplete, the value for the field gets set, but it doesn't reflect in the visible text field.
Background:  After selecting a Status in the 1st SQFormAutocomplete, there is a corresponding list of Actions that could be taken, which also contain a priority. We wanted to default the Action to the highest priority after selecting a Status. But even though the value is getting set, the SQFormAutocomplete isn't showing it on the screen.
Loom video: https://www.loom.com/share/6bdb1460eb9347e2aa984df2d99ae196

After talking with @20BBrown14 , it looks like there's 2 different value props: initialValue and inputValue. inputValue is what the underlying TextField component is using to display the selected value, so the solution would be to make sure that inputValue gets updated when ititialValue is updated as well.

:tada: This issue has been resolved in version 4.2.2 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


User docs2

#6883
relates to https://github.com/zulip/zulip/pull/8671

@rishig

Thanks Lyla! Merged with a few small changes:

Changed the last commit message to be <= 76 characters
Reordered the name/avatar/descritpion to match the order on the settings page


Sortable Columns?

Are the columns sortable? Not working for me. Maybe I'm missing something.

Yes, they are. See https://github.com/lesniakania/ReactNativeDraggableBoardExample.
Can you provide more details how you use the library, so it's not working?

I used the example you provided but I can't drag the columns. I can drag the rows.

Ah, so no, columns themselves are not sortable within a board. Items in the columns are sortable.

Oh ok, got you. Are you planning to make the columns sortable too?

Unfortunately not in the near future.

is it possible to get the rows inside the columns after sorting? Thank you.

I need to admit that I did it so long ago, that I don't fully remember, but you can check out this method. I think you should be able to use it, I can try to help more if you have issues, but I need I have really crazy time right now, so I might have delays. I don't support this library anymore : /


Return proof post content in Query API response

GET /v1/proof should returns the last fetched proof post content (with signature payload) to let user validate it.

@nykma Hello,I would want to contribute to this repo as a part of OSPP-2024,how do i get started?

@tanyas-codes
Sorry but we havn't attend this year's OSPP.
We still welcomes any contribution though. Thanks for your attention to our project!


[WIP] XN-1163 replace macro use

References

XN-1163

Summary

replaces the 2015 edition's #[macro_use] imports with the 2018 edition's use import, see the rust edition guide
commits are grouped by workspace to help readability

one thing i noted while working on this is that the metrics! proc macro has the #[cfg(feature = "metrics")] flag hidden inside of its definition in the xaynet_macros crate. this has some implications:

metrics! will do nothing when the flag is not enabled, which is not clear from the calling site
metrics! must be imported when called whether or not the flag is enabled

i'd suggest to remove the flag from within the proc macro and put it at the caller site like usual.
#[cfg(feature = "metrics")]
use xaynet_macros::metrics;

// function body
    #[cfg(feature = "metrics")]
    metrics!(...);

should we do this in a separate pr or should we include it in this one since the changes are quickly done, wdyt?
Todo

[ ] rebase on client refactoring

I don't really understand the motivation for switching to explicit imports here. I like that we can just slap a #[macro_use] extern crate tracing; and have the macros everywhere. Is there a downside to just doing this?
I like the re-ordering of the use statements though :+1:

I don't really understand the motivation for switching to explicit imports here. I like that we can just slap a #[macro_use] extern crate tracing; and have the macros everywhere. Is there a downside to just doing this?
I like the re-ordering of the use statements though 👍

there are three reasons for switching.
one is that the #[macro_use] is already discouraged from the 2018 version onwards (https://doc.rust-lang.org/edition-guide/rust-2018/macros/macro-changes.html), but it is not yet deprecated because it is still needed for crate-internal macros. the progress on declarative macros is already quite far (https://github.com/rust-lang/rust/issues/39412) and it is quite likely that the #[macro_use] will become deprecated then and we would have to switch anyways, so we can already set it up on the new way.
the other is that it caused some issues with rust-analyzer (at least on my machine^TM) which should be gone with the usual use ... declaration. it seems to me that rust-analyzer is not good with macros in general.
the last reason is quite subjective tbh, i really like rust's explicit style, not much happens magically under the hood if you don't call for it. using #[macro_use] for example somewhere in lib.rs to provide access to foreign macros in some submodule of the crate is quite counter-intuitive to that paradigm. with use ... at the appropriate places we have full knowledge what is used where.

Fair enough, these are good reasons. :+1: from me then.

i'd suggest to remove the flag from within the proc macro and put it at the caller site like usual.

That sounds good to me but I'll let @Robert-Steiner comment because I think he did that on purpose.

Fair enough, these are good reasons. 👍 from me then.

i'd suggest to remove the flag from within the proc macro and put it at the caller site like usual.

That sounds good to me but I'll let @Robert-Steiner comment because I think he did that on purpose.

Right, the idea was to hide the feature flag so that the code stays easy to read. Not sure what the best solution is.
In the long run, I would like to replace the macro with metrics. It's basically like log just for metrics. With this we can remove the sender part from the state machine and easliy collect metrics on any part of the code we want. But would like to wait for the fist non-alpha release


Setup details

What are the setup details for Bloodhound, I tried the pw bloodhound and that did not work.

No database found

Start Neo4j
C:\Tools\neo4j-community\neo4j-community-3.5.1\bin>neo4j.bat console
May need to change default password on first setup.
Once setup and running, just start Bloodhound.

@D3ano is correct this should fix your issue. There is also a Neo4j_start.bat script it the Tools -> Utilities folder that will start the service for you if you "Run as Admin". If you've never logged into neo4j bloodhound will prompt you to visit http://localhost:7474 to set the initial password.


Without chrome extension Redux Dev Tools the webapp throws errors

Summary
If you don't have the chrome extension Redux Dev Tools installed you get a whole bunch of errors (see below) that cause the webapp to "explode" in development.

Environment Information

Webapp: ?
Mattermost Server Version: ?

Steps to reproduce
Install the webapp dev environment without Redux Dev Tools installed.
Expected behavior
Would be nice to have this disabled by default and or more gracefully handle these errors.
Observed behavior
Error messages (see screenshot above).
Possible fixes
In configureStore.dev.js there is a bunch of stuff regarding remote-redux-devtools. More specifically look into disabling the tools if window.__REDUX_DEVTOOLS_EXTENSION__ doesn't exist. See these lines of code:
https://github.com/mattermost/mattermost-redux/blob/e2b61264d5226a561e69475fe553c59ec8aa1fa3/src/store/configureStore.dev.js#L15-L23

I can't reproduce this issue with Mattermost 5.5. Do this still occur @watadarkstar?

This is a really old issue @hanzei

Sure, I know. Mind if I close it?

Yup can be closed.


Jump to certain page ?

This isn't an issue but wasn't sure where else to put it.
Is there a way to jump to a specific page?
I have tried manipulating the underlying scroll view but with no success. Essentially I want to reset back to the first page when the user returns (without recreating the Onboard)
Thanks

Have a look at the OnboardingViewController.m file, line 375 in the moveNextPage method. This is an internal method I use to jump to the next page, but with the right modifications you could apply this to move to any page.

Great thanks! Sorry i didn't check that out before. Only had a look at the swift version.

No worries, the swift version is quite lacking in terms of functionality compared to the objc version. Are you using this in an app that's in the store? I'd love to check it out!

Not quite yet but I'll definitely post it on here when nearing completion!
For anyone who comes across this question the solution is really fairly simple. The code below moves to the first page, just replace 0 with your desired page index. Easy to put into a function if required, just would need to do some checking to prevent requests outside of the number of pages
    self.pageViewController.setViewControllers([self.contents[0]], direction: UIPageViewControllerNavigationDirection.Reverse, animated: false, completion: nil)
    self.pageControl.currentPage = 0

Thanks for the info and don't forget to share the app when you're done!


Native colour picker

https://github.com/jgraph/mxgraph/pull/355

Shift and click on colours in style panel to bring up native colour pickers.


Update python38-core-tools.Dockerfile

Azure CLI doesn't support bullseye for now.  However, python image looks upgraded to the bullseye.
I fix the version for time being.
Currently this issue, block releasing Azure Functions Core Tools image.
PR information

[x] The title of the PR is clear and informative.
[x] There are a small number of commits, each of which has an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.

@TsuyoshiUshio  - Thanks for the PR! Can you please update the description with details on how this issue was discovered? Is releasing core tools images part of regular host releases?

@pragnagopa  I added the context, looks good? If not, let's have offline quick call.


Insets not respecting tabBarController height

Repost of #70
Is there any way to make MessageViewController respect the tabBar (if you have one?)
The only way I found for it to adjust for the tab bar is with
tabBarController?.tabBar.isHidden = true
However if you use something like (animatable)
tabBarController?.tabBar.frame.origin = CGPoint(x: 0, y: frameHeight - tabBarHeight)
The messageView will still show the extra 49pts of tabbarheight
As shown in the below photo, when I used
tabBarController?.tabBar.frame.origin = CGPoint(x: 0, y: frameHeight - tabBarHeight)
The message view is
135pt (34pt safe area + 49pt tab bar + [52pt messageView.textInputView])
when it should be
86pt (34pt safe area + [52pt messageView.textInputView])
To make it work temporarily I edited MessageViewController (which I know I shouldn't!)
internal var safeAreaAdditionalHeight: CGFloat {
        switch keyboardState {
            //EDITED
        case .hiding, .resigned: return view.util_safeAreaInsets.bottom - (49) //EDITED TO ACCOUNT FOR TABBAR
        case .showing, .visible: return 0
        }
    }

Is the error that the tab bar insets are being added I. The safe area insets method? Like the tab height is included in the inset bottom?
Sent with GitHawk

Yes I think so.
When I print(view.safeAreaInsets.bottom) in override func viewDidLayoutSubviews() it returns 83.0 (on iPhone X)
I guess this kind of makes sense since collectionView's/etc. natively respect top NavigationBar and TabBar insets.


Solid: Error when generating application

I just created a new project with nx, installed the solidJs extension and tried to generate a new application.
"dependencies": {
    "@nxext/solid": "^15.1.0",
    "tslib": "^2.3.0"
  },
"devDependencies": {
    "@nrwl/cypress": "15.8.7",
    "@nrwl/eslint-plugin-nx": "15.8.7",
    "@nrwl/jest": "15.8.7",
    "@nrwl/js": "15.8.7",
    "@nrwl/linter": "15.8.7",
    "@nrwl/nx-cloud": "15.2.3",
    "@nrwl/vite": "15.8.7",
    "@nrwl/workspace": "15.8.7",
    "@types/jest": "^29.4.0",
    "@types/node": "18.15.3",
    "@typescript-eslint/eslint-plugin": "^5.36.1",
    "@typescript-eslint/parser": "^5.36.1",
    "@vitest/coverage-c8": "~0.25.8",
    "@vitest/ui": "^0.25.8",
    "cypress": "^12.2.0",
    "eslint": "~8.15.0",
    "eslint-config-prettier": "8.1.0",
    "jest": "^29.4.1",
    "jest-environment-jsdom": "^29.4.1",
    "jsdom": "~20.0.3",
    "nx": "15.8.7",
    "prettier": "^2.6.2",
    "ts-jest": "^29.0.5",
    "ts-node": "10.9.1",
    "typescript": "~4.9.5",
    "vite": "^4.0.1",
    "vite-plugin-eslint": "^1.8.1",
    "vite-tsconfig-paths": "^4.0.2",
    "vitest": "^0.25.8"

https://github.com/nxext/nx-extensions/blob/main/README.md#attention
Please take a look here. 15.7 is compatible with any 15.7

@DominikPieper Should I migrate all the @nrwl dependecies to 15.7?
What about the @nxext/solid package? 15.1 is it's latest version.

I just tried creating an application with @nxext/svelte and it worked. I think the issue might be the solidJs plugin.

@cristw try again. I just released an update.


Exceptions raised from MudMenuItem are not handled by ErrorBoundary

Bug type
Component
Component name
MudMenuItem
What happened?
When an exception is thrown in the handler assigned to MudMenuItem - OnClick , the exception can not be handled in the ErrorBoundary.
<ErrorBoundary @ref="_errorBoundary">
    <ChildContent>
        <MudButton OnClick="@HandleAsync">Click me to show correct exception handling</MudButton>
        <br/>
        <MudMenu Label="Open Menu">
            <MudMenuItem OnClick="@HandleAsync">Click me. The error is not correct displayed</MudMenuItem>
        </MudMenu>
    </ChildContent>
    <ErrorContent>
        <MudAlert Severity="Severity.Error">Oh my! We caught an error and handled it!</MudAlert>
        <MudButton OnClick="@Recover">Recover</MudButton>
    </ErrorContent>
</ErrorBoundary>

@code {
    private ErrorBoundary _errorBoundary;

    public async Task HandleAsync()
    {
        await Task.Delay(100);
        throw new Exception("Something went wrong...");
    }

    public void Recover()
    {
        _errorBoundary?.Recover();
    }
}

Expected behavior
The exception raised from MudMenuItem can be handled in ErrorBoundary.
Reproduction link
https://try.mudblazor.com/snippet/wawdYjvxdUfLikSS
Reproduction steps

Create one component with a MudMenu and one MudMenuItem
Assign to MudMenuItem a handler for OnClick
In the assigned handler, throw an exception
The exception should be captured in the ErrorBoundary

Relevant log output
No response
Version (bug)
6.9.0
Version (working)
No response
What browsers are you seeing the problem on?
Chrome
On what operating system are you experiencing the issue?
Windows
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Hi.
I don't think it's possible to catch popovers in the ErrorBoundary, at least I don't have any technical solution in mind.
The popovers are rendered inside the MudPopoverProvider so the render fragment is actually outside of your ErrorBoundary context, to catch it, you would need to wrap the MudThemeProvider(contains MudPopoverProvider) with the ErrorBoundary instead of the MudMenuItem.

@ScarletKuro

so the render fragment is actually outside of your ErrorBoundary

It is worth noting that the issue reported here can be reproduced with MudButton.
Two buttons - side-by-side on the same page - can illustrate this.  Both buttons below call the same handler but the ErrorBoundry is hit only for the first one.
<button @onclick="SearchClickHandler">Click me</button> // Error flows up to ErrorBoundry
<MudButton @onclick="SearchClickHandler" Title="Click me" ></MudButton>  // Error does not flow up to ErrorBoundry

private void SearchClickHandler()
{
   throw new Exception("boo");
}

@ScarletKuro

so the render fragment is actually outside of your ErrorBoundary

It is worth noting that the issue reported here can be reproduced with MudButton.
Two buttons - side-by-side on the same page - can illustrate this. Both buttons below call the same handler but the ErrorBoundry is hit only for the first one.
<button @onclick="SearchClickHandler">Click me</button> // Error flows up to ErrorBoundry
<MudButton @onclick="SearchClickHandler" Title="Click me" ></MudButton>  // Error does not flow up to ErrorBoundry

private void SearchClickHandler()
{
   throw new Exception("boo");
}

I have the opposite experience.

Native button doesn't flow and mudbutton flows
Also I believe you are using 6.17.0 where the bug existed, while in all previous and next versions it's working correctly https://github.com/MudBlazor/MudBlazor/pull/8369

@ScarletKuro
Yes, it is working now in 6.19.1. Thank you.


Update dental_material.owl

Added some classes from DrMo. Some are from Prov and others are new. So far just doing it manually because I want to make sure things are working and we have IRIs from several other ontologies.

Merged changes (hopefully without screwing anything up...