examples/coreos/units-etcd/ not working

Hi,
when I launch<EMAIL_ADDRESS>I get the following error:
Apr 28 10:43:16 ip-172-16-1-218.ap-northeast-1.compute.internal systemd[1]: Started docker container 65564b379243021c6bb04e9720690f2008f7dc3bba9b1f6fb56cc2fae6bb584b.
Apr 28 10:43:16 ip-172-16-1-218.ap-northeast-1.compute.internal docker[8271]: key already exists
Apr 28 10:43:16 ip-172-16-1-218.ap-northeast-1.compute.internal docker[8271]: key already exists
Apr 28 10:43:16 ip-172-16-1-218.ap-northeast-1.compute.internal docker[8271]: key already exists
Apr 28 10:43:16 ip-172-16-1-218.ap-northeast-1.compute.internal docker[8271]: key already exists
Apr 28 10:43:16 ip-172-16-1-218.ap-northeast-1.compute.internal docker[8271]: key already exists
Apr 28 10:43:16 ip-172-16-1-218.ap-northeast-1.compute.internal docker[8271]: key already exists
Apr 28 10:43:16 ip-172-16-1-218.ap-northeast-1.compute.internal docker[8271]: Adding Mon Host - ip-172-16-1-218.ap-northeast-1.compute.internal
Apr 28 10:43:16 ip-172-16-1-218.ap-northeast-1.compute.internal systemd[1]: Stopped docker container 65564b379243021c6bb04e9720690f2008f7dc3bba9b1f6fb56cc2fae6bb584b.
Apr 28 10:43:16 ip-172-16-1-218.ap-northeast-1.compute.internal docker[10413]: time="2016-04-28T10:43:16.622145280Z" level=debug msg="attach: stdout: end"
Apr 28 10:43:16 ip-172-16-1-218.ap-northeast-1.compute.internal docker[10413]: time="2016-04-28T10:43:16.622216619Z" level=debug msg="attach: stderr: end"
Apr 28 10:43:16 ip-172-16-1-218.ap-northeast-1.compute.internal docker[10413]: time="2016-04-28T10:43:16.625515524Z" level=debug msg="Calling POST /v1.21/containers/65564b379243021c6bb04e9720690f2008f7dc3bba9b1f6fb56cc2fae6bb584b/wait"
Apr 28 10:43:16 ip-172-16-1-218.ap-northeast-1.compute.internal docker[10413]: time="2016-04-28T10:43:16.625547190Z" level=info msg="POST /v1.21/containers/65564b379243021c6bb04e9720690f2008f7dc3bba9b1f6fb56cc2fae6bb584b/wait"
Apr 28 10:43:16 ip-172-16-1-218.ap-northeast-1.compute.internal docker[10413]: time="2016-04-28T10:43:16.630973118Z" level=warning msg="HostsPath set to "/var/lib/docker/containers/65564b379243021c6bb04e9720690f2008f7dc3bba9b1f6fb56cc2fae6bb584b/hosts", but can't stat this filename (err = stat /var/lib/docker/containers/65564b379243021c6bb04e9720690f2008f7dc3bba9b1f6fb56cc2fae6bb584b/hosts: no such file or directory); skipping"
Apr 28 10:43:16 ip-172-16-1-218.ap-northeast-1.compute.internal docker[10413]: time="2016-04-28T10:43:16.634585046Z" level=debug msg="Calling GET /v1.21/containers/65564b379243021c6bb04e9720690f2008f7dc3bba9b1f6fb56cc2fae6bb584b/json"
Apr 28 10:43:16 ip-172-16-1-218.ap-northeast-1.compute.internal docker[10413]: time="2016-04-28T10:43:16.634612304Z" level=info msg="GET /v1.21/containers/65564b379243021c6bb04e9720690f2008f7dc3bba9b1f6fb56cc2fae6bb584b/json"
Apr 28 10:43:16 ip-172-16-1-218.ap-northeast-1.compute.internal docker[10413]: time="2016-04-28T10:43:16.638867763Z" level=debug msg="Calling DELETE /v1.21/containers/65564b379243021c6bb04e9720690f2008f7dc3bba9b1f6fb56cc2fae6bb584b"
Apr 28 10:43:16 ip-172-16-1-218.ap-northeast-1.compute.internal docker[10413]: time="2016-04-28T10:43:16.638896042Z" level=info msg="DELETE /v1.21/containers/65564b379243021c6bb04e9720690f2008f7dc3bba9b1f6fb56cc2fae6bb584b?v=1"
Apr 28 10:43:16 ip-172-16-1-218.ap-northeast-1.compute.internal systemd[1]<EMAIL_ADDRESS>Main process exited, code=exited, status=2/INVALIDARGUMENT
Apr 28 10:43:16 ip-172-16-1-218.ap-northeast-1.compute.internal docker[10413]: time="2016-04-28T10:43:16.724785649Z" level=debug msg="Calling POST /v1.21/containers/ceph-mon/stop"
Apr 28 10:43:16 ip-172-16-1-218.ap-northeast-1.compute.internal docker[10413]: time="2016-04-28T10:43:16.724821073Z" level=info msg="POST /v1.21/containers/ceph-mon/stop?t=10"
Apr 28 10:43:16 ip-172-16-1-218.ap-northeast-1.compute.internal docker[10413]: time="2016-04-28T10:43:16.725061287Z" level=error msg="Handler for POST /v1.21/containers/ceph-mon/stop returned error: no such id: ceph-mon"
Apr 28 10:43:16 ip-172-16-1-218.ap-northeast-1.compute.internal docker[10413]: time="2016-04-28T10:43:16.725128892Z" level=error msg="HTTP Error" err="no such id: ceph-mon" statusCode=404
Apr 28 10:43:16 ip-172-16-1-218.ap-northeast-1.compute.internal docker[8323]: Error response from daemon: no such id: ceph-mon
Apr 28 10:43:16 ip-172-16-1-218.ap-northeast-1.compute.internal docker[8323]: Error: failed to stop containers: [ceph-mon]
Apr 28 10:43:16 ip-172-16-1-218.ap-northeast-1.compute.internal docker[10413]: time="2016-04-28T10:43:16.806946078Z" level=debug msg="Calling DELETE /v1.21/containers/ceph-mon"
Apr 28 10:43:16 ip-172-16-1-218.ap-northeast-1.compute.internal docker[10413]: time="2016-04-28T10:43:16.807006462Z" level=info msg="DELETE /v1.21/containers/ceph-mon"
Apr 28 10:43:16 ip-172-16-1-218.ap-northeast-1.compute.internal docker[10413]: time="2016-04-28T10:43:16.807290743Z" level=error msg="Handler for DELETE /v1.21/containers/ceph-mon returned error: no such id: ceph-mon"
Apr 28 10:43:16 ip-172-16-1-218.ap-northeast-1.compute.internal docker[10413]: time="2016-04-28T10:43:16.807317625Z" level=error msg="HTTP Error" err="no such id: ceph-mon" statusCode=404
Apr 28 10:43:16 ip-172-16-1-218.ap-northeast-1.compute.internal systemd[1]<EMAIL_ADDRESS>Unit entered failed state.
Apr 28 10:43:16 ip-172-16-1-218.ap-northeast-1.compute.internal docker[8332]: Error response from daemon: no such id: ceph-mon
Apr 28 10:43:16 ip-172-16-1-218.ap-northeast-1.compute.internal docker[8332]: Error: failed to remove containers: [ceph-mon]
Apr 28 10:43:16 ip-172-16-1-218.ap-northeast-1.compute.internal systemd[1]<EMAIL_ADDRESS>Failed with result 'exit-code'.
I have no idea how to even start troubleshooting this... any help is greatly appreciated.
I'm on coreOS stable on aws EC2 with flannel and etcd2.
Thank you

adding "-e KV_PORT=2379" fixed it for etcd2. I guess the "default" etcd port is still the old one


Add reconcileEgress policy for OVN and SDN CNI

Egress policies were missing so this PR introduces egress policies for OVN and SDN CNI based on CRD availability in the cluster.

Is SDN still a hard requirement?

Yes, it is a requirement because the existing consumer clusters that will be migrated to the new service will be still using SDN.


Implementing OBS Editor in AG

[ ] Add Editor panel to OBS Project, replace the white part ie usfm editor only and reuse the other code, When opening a project show this by default instead of the usfm editor and hide bookmarks for now and later we can add it as a enhancement

Pending to Implement Bookmarks for OBS Mode ( Enhancement )


Add deployment target variable to support AzureChinaCloud when deploying DC/OS

Due to Chinese GreatFire Wall, the default DC/OS packages cannot be downloaded from Azure CDN. This commit add Chinese local mirror for these packages and user can specify an "environment" variable in the cluster definition file to target the deployment environment to AzurePublicCloud/AzureChinaCloud.

Hi @wangtt03, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla.microsoft.com.

TTYL, MSBOT;


Access the isOffscreenCanvasSupported option once in PDFViewerApplication._initializeViewerComponents

There's no good reason for getting this option multiple times in the same method. Also, we can slightly re-factor how the editorStampButton is made visible.

/botio-linux preview


Release on github with gh-action

I'm going to put a tag v0.0.1-alpha.0 on this branch and see if the GH action can be triggered
/hold
/cc @Huang-Wei @yibozhuang

/retest

/lgtm

/unhold


MM-45745 - Calls channel info screen options

Summary

Implement the start/join call and enable/disable calls option in the channel_info component.
Refactor the join call logic to better handle and report connection errors back to the user. Now we have some friendly feedback. I'm hoping to improve this further to give better debugability to mobile.

Testing
Here are the test cases. @Phrynobatrachus you might want to start tracking these. I hope we can automate these eventually because it's very easy for regressions to creep in (e.g., the enable/disable silently broke).
Pressing disable/enable option in any of the cases when disable/enable button is shown should flip disable/enable option.
Plugin enabled/disabled:

plugin disabled before loading app: enable/disabled option will get "(Not available)" after pressing, and pressing gives alert.
plugin disabled after loading: both options will show, will get "(Not available)" after pressing, and pressing gives alert.

System Console Setting: Enable on specific channels = false & default enable on all channels = false:

on a brand new channel, as regular user, do not show disable/enable option, does not show start call.
on a brand new channel, as channel admin, do not show disable/enable option, does not show start call.
on a brand new channel, as system admin, shows disable/enable option, does not show start call. disable/enable clickable and changes state accordingly.

System Console Setting: Enable on specific channels & default not enable on all channels:

on a brand new channel, as regular user, do not show disable/enable option, does not show start call.
on a brand new channel, as channel admin, shows disable/enable option, does not show start call. disable/enable clickable and changes state accordingly.
on a brand new channel, as system admin, shows disable/enable option, does not show start call. disable/enable clickable and changes state accordingly.

System Console Setting: Enable on specific channels & default enabled on all channels:

As regular user not channel admin, do not show disable/enable option. As channel admin, show disable/enable option. As system admin, show disable/enable option. All can start call.
server with default enabled and channel explicitly disabled: shows disabled, and start call button not shown. As regular user not channel admin, do not show disable/enable option. As channel admin, show disable/enable option. As system admin, show disable/enable option.

Discovered an edge case:

System Console Setting: Enable on specific channels & default enabled on all channels: As regular user loggin in but not in channelA, disable calls in channelA, join channelA, "Start Call" option will be visable, but pressing it does nothing. Will not show "Start Call" option after user reconnects and pulls down updated list of call channels enabled.

Cases for start/joining a call:

start in a channel without user currently in a call. Channel info option should say "start". No confirmation dialog. User should be able to start the call.
join in a channel without the user currently in a call. Channel info option should say "Join Ongoing Call". No confirmation dialog. User should be able to join.
start in a channel without ongoing call but user is currently in a call. Channel info option should say "start". Should show an alert with the proper channel names for the channel leaving and channel joining. Should say "start" in the message description. User should be able to join.
join in a channel with an ongoing call but user is currently in a call. Channel info option should say "join." Should show an alert with the proper channel names for the channel leaving and channel joining. User should be able to join.
start in a channel without ongoing call but user is currently in a call on a different server. Channel info option should say "start". Should show an alert with the proper channel names for the channel leaving and channel joining. Should say "start" in the message description. User should be able to join.
join in a channel with an ongoing call but user is currently in a call on a different server. Channel info option should say "join." Should show an alert with the proper channel names for the channel leaving and channel joining. User should be able to join.

Ticket Link

https://mattermost.atlassian.net/browse/MM-45745

Checklist

[x] Added or updated unit tests (required for all new features)
[x] Has UI changes
[x] Includes text changes and localization file updates
[x] Have tested against the 5 core themes to ensure consistency between them.

Device Information

Android: 12, Pixel 6
iOS: 15.3.1, iPhone 7 plus

Screenshots
When there are no options (calls disabled, regular user), same as before this PR:

Various combinations:

Release Note
Calls: Start/Join Call and Enable/Disable Calls options added to the channel info screen.

@matthewbirtch I wonder if it makes sense to place the start/join/end call as one of the top buttons in favor or any of the current ones, thoughts?

I think that's an awesome idea @enahum. I could see the call option being more important in the future, so this makes sense to me.
Maybe we replace the "copy link" option with a "start call" option and move copy link down below above the edit channel option.
I think we would want to do the same for the quick channel actions bottom sheet (what shows when I tap the ••• in the top bar for a channel). Here we could move "copy link" below "view info"

@matthewbirtch Just want to check my assumption: If calls is not enabled, we would want to keep "copy link" as a top button?

@matthewbirtch Just want to check my assumption: If calls is not enabled, we would want to keep "copy link" as a top button?

@cpoile I think your assumption is right. Is that doable?

@matthewbirtch Pretty sure it should be. I'll try it out. Thanks!

@matthewbirtch One more Q: the Enable Calls/Disable Calls option -- would you want to keep that as it is in the screencaps above? (As an option in the list, in its own category, with separator above and below.) Mostly because it's not an option that the user would click often.

@matthewbirtch One more Q: the Enable Calls/Disable Calls option -- would you want to keep that as it is in the screencaps above? (As an option in the list, in its own category, with separator above and below.) Mostly because it's not an option that the user would click often.

Ya, I think it makes sense to keep it as you had it in the screenshot.

@matthewbirtch @enahum Let me know what you think:

The copy link option doesn't have feedback at the moment (left a TODO there to mark it). Maybe a toast? It doesn't look like there's an animated option, but that could be a way to go too (but I'd probably leave that for the mobile team).
Here are the combinations:

Touch Enable Calls and the sheet changes to (and the other way around):

I'll defer to @matthewbirtch but in case a Toast is needed, you can use check other parts of the code that already make use of the toast component.

@enahum Yep, I should have been clearer -- if a new animated component is needed, imo that should be owned by the mobile team. But if it's a toast, I saw where it's been done for the other copy link (for the copy file link). I would just need to know where to show that (the screen itself, or dismiss the screen and show in the channel, etc.)

This all looks great @cpoile. A few comments:
For the Start call state, can we use phone-outline icon. And then for Join call we can use the one you have in there (phone-in-talk). This might help visually differentiate between joining an active call vs. starting a new one. For clarity, here is a visual of what I mean:

The copy link option doesn't have feedback at the moment (left a TODO there to mark it). Maybe a toast? It doesn't look like there's an animated option, but that could be a way to go too (but I'd probably leave that for the mobile team).

Yep, I agree with the use of a toast in this case when Copy Link is in the bottom section. Maybe we can use the same toast used when you copy a link to a message.

And I chose to do the Leave Call as an active state (let me know what you think):

I wonder if we should go with more of a destructive state for this case. And we should use the phone-hangup icon

@matthewbirtch  I've implemented everything except for the toggle -- imo that can be pushed to the UI refresh, and then we can get some input from calls UX. What do you think?
Here're the new screens:

The copy link toast (snackBar) behaves like the existing copy link:

In the channel info screen it shows the toast but doesn't close the channelInfo: (ignore the message at the top, that's inserted by the simulator)

In the quick actions it dismisses the bottom sheet and shows the toast over the channel:

Yep, this is looking good. A couple minor things I notice from the screenshots:

The label for the Copy link option is not aligned with the other options above/below it. Either the copy link option isn't right or the other options above and below aren't quite right with the spacing between icon and label.

The position of the toast on this screen should be adjusted to be anchored to the bottom of the screen (34 from the bottom to account for safe space)
Other than that, I think we're good!

@matthewbirtch Fixed the Copy Link spacing:

But the toast position in the channel info screen will be a bit more complicated -- it doesn't look like it's built to have its position modified. Unless I'm missing something, @avinashlng1080 ? It looks like we would have to make a change to: https://github.com/mattermost/mattermost-mobile/blob/6906a9f863a54a9a1087bae7c53c0e4cbd11a4fa/app/screens/snack_bar/index.tsx#L46

@matthewbirtch Fixed the Copy Link spacing:

But the toast position in the channel info screen will be a bit more complicated -- it doesn't look like it's built to have its position modified. Unless I'm missing something, @avinashlng1080 ? It looks like we would have to make a change to: https://github.com/mattermost/mattermost-mobile/blob/6906a9f863a54a9a1087bae7c53c0e4cbd11a4fa/app/screens/snack_bar/index.tsx#L46

You can use the toast directly as is usedin the gallery footer

You can use the toast directly as is usedin the gallery footer

@enahum If you mean build a new version of copy_public_link/index.tsx, I would propose we add that as a future task -- I'm assuming the PR revisions are higher priority. If you mean something else, please let me know.

Note to reviewers: I'm going to make the commits addressing the comments on https://github.com/mattermost/mattermost-mobile/pull/6475 to this branch. I'll comment when it's ready. Thanks!

You can use the toast directly as is usedin the gallery footer

@enahum If you mean build a new version of copy_public_link/index.tsx, I would propose we add that as a future task -- I'm assuming the PR revisions are higher priority. If you mean something else, please let me know.

I was referring to the toast that appears as the snackbar, but now that I've checked the code for that I realize that won't work.
We need to customize a bit more the snackbar overlay to be able to override the positioning, I can help you with that by pushing the changes myself if you want me to

Ok, the high priority items in the PR review have been addressed and I've responded to them in their threads and linked them to the relevant commits: https://github.com/mattermost/mattermost-mobile/pull/6475
Just to reiterate -- if I haven't responded to the comment, that just means I will get to it shortly. It doesn't mean I disagree with the comment, or that I will ignore the comment. Thanks for everyone's understanding.

Approved to unblock this PR - assuming that the toast positioning for copy link on the channel info view will be resolved in another PR

@enahum Tested on my devices, and all the important things are working. There are little edge case things (like sometimes we lose messages for voice activation in the CurrentCallBar, which is what @larkox predicted would happen. Things like that I will work on for next release. Polish, all the little bugs, etc. But I think this should be good to go for testing in beta tomorrow. (pending @larkox 's review of course). Thanks everyone!


Implement sounds for notifications and events

Sounds for certain notifications/events aren't implemented yet.
In AudioServiceImpl.java:
    // TODO implement
//    friendOnlineSound = loadSound(FRIEND_ONLINE_SOUND);
//    friendOfflineSound = loadSound(FRIEND_OFFLINE_SOUND);
//    friendJoinsGameSound = loadSound(FRIEND_JOINS_GAME_SOUND);
//    friendPlaysGameSound = loadSound(FRIEND_PLAYS_GAME_SOUND);

@axel1200 is this still relevant?

I think it is

Is this still relevant? Have no friends on FAF to test lol.. would be interested in feature request for sound to alert host or something, with cooldowns to avoid spamming. This would be helpful to wake up afk host waiting on 1/12 Dual Gap

Yes, still relevant. The sounds have still not been implemented

I have no authorization to push features, so I just created a own github project to showcase my implementation by following the GitHub branching standards & conventions:
https://github.com/magge-faf/downlords-faf-client/commit/53c49ec26545cdee8bb2e649aff16e6d47c8641e

This was hardcoded:
private static long SILENCE_PERIOD_AFTER_SOUND = 30000;
Best case scenario would be to let the user decide which threshold he wants:
I would add another fancy sub-menu under the existing "Enable sounds" where the user can have an input field for seconds to set his prefered silence:

Is this a solution or had the developers a different approach in mind?

I think that is a solution. Although I might try to find a better name than silence after sound.
Also you can make a PR with the sounds from your fork to develop

If you give me permission to PR, I would request those changes: https://github.com/magge-faf/downlords-faf-client/commit/841b57174ba8a1b7d5e05d31851261ea3e489b31
I would create later another issue/feature request about the users-input-threshold-menu. The foundation for the new notification sounds must have green light in the first place.

Should be good to make the pr now

Fixed in #2889


Add a config item of 'enable_dueling_network' in dqn.py

add a config item of 'enable_dueling_network' in dqn.py

Ah yes, es forgot about this. Can you please also add the other parameter (dueling_type) that was introduced?

'duel_type' has been added to config list.


Simple "hello world" style example?

I'm just getting started with CoreUI and Vue.js. Is there a simpler "hello world" style example than the admin UI demo?

Documentation (coreui.io/vue/docs) delivers simple examples of specific components. Style examples are in CoreUI docs (coreui.io/docs).

I was looking for a complete (but simple) working example, as opposed to the snippets provided in the docs.

https://codesandbox.io/embed/coreui-vue-select-t37uh?codemirror=1

Thats exactly what I was after. Thank you!


consider using # for black and . for no solution

Alphanumeric characters like 0 are often used in rebus grids.

The .puz ascii format uses . for black and many people use it (I have some files too). Agree about 0 though. Hmm. I've already used _, |, +, @, *.
Maybe $ for no solution?
I'll also need to tweak my state-saving code if I make this change.

yeah, or maybe + or ? (though ? looks a bit ugly)

Can you point to to an example rebus with 0s? Perhaps I can solve this some other way ..

not offhand, but i've defnitely done american style crosswords where some of the squares were numbers (and symbols, for that matter). the hard part is you need a way to represent a partially filled in grid, so you have to pick one character to be the "unfilled square" character, and  is awkward to use.

OK. I think I should perhaps be able to handle them by forcing the setter to somehow "escape" the 0 in the exolve format, given that these are uncommon. But please send me an example whenever you run into one next, thanks!

Closing this. I'll deal with handling support for saving/indicating 0s as entries using some escape sequence.


Unified Client & Service IPC framework.

And cleaned up documentation.

Documentation Live Here: https://zippiehq.github.io/vault-api/


[NEW ICON] Streamlit

Skill Name
Streamlit
Why?
A faster way to build and share data apps.
Streamlit turns data scripts into shareable web apps in minutes.
All in pure Python. No front‑end experience required.
Used in data visualizations.
Reference Image
https://seeklogo.com/vector-logo/441815/streamlit

I created a new project since this project is no longer updating & the author left it, streamlit is available skills-icons
https://skills-icons.vercel.app/api/icons?i=streamlit


test: add new unit tests for mailer

:tada: This PR is included in version 0.6.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


git apply  FreeRTOS-LoRaMac-node-v4_4_4.patch not working

Hello, when applying patch I cannot get it working. when in the correct project directory
error: LoRaMac-node/src/mac/LoRaMac.h: No such file or directory error: LoRaMac-node/src/mac/LoRaMacHeaderTypes.h: No such file or directory error: LoRaMac-node/src/radio/radio.h: No such file or directory error: LoRaMac-node/src/radio/sx126x/radio.c: No such file or directory error: LoRaMac-node/src/system/timer.h: No such file or directory

Did you forget "--recurse-submodules" when you cloned the repo?  The error message sounds like you may be missing the submodules.

Thanks. that did it!


Add #[inline(always)] mark for common functions

Before my question, I want to express my appreciation for this library's maintainers that thank you for enriching Rust with MPI ecosystem.
I have used mpi, mpi-sys and direct C to write some simple MPI logic, and found that mpi is slower than mpi-sys (2x-3x) (not comprehensive benchmarking, just some experiments), and mpi-sys's performance is near C. For Rust projects,  I compile such codes in Rust's release profile (cargo build --release), and C is mpicc with O3.
After digging into binary code, I found two interesting part:

Constant Loading
In C, constants such as MPI_ANY_TAG are directly moved to registers, while in Rust, they are accessed via memory reading. This is due to our library treats such constants as static, and I find out an old issue (rsmpi/rsmpi#62) regarding this, so my issue will not focus on this.

Function Inlining
It is very strange that:

Every access to common communicator (i.e. we use world.some_function() in user code, and the library will get common communicator from the world) is compiled to a function call rather than just loading MPI_COMM_WORLD. I add #[inline(always)] in src/topology/mod.rs's  world() and from_raw_unchecked() methods for SystemCommunicator, and as_raw() in SystemCommuniactor's implementation for AsRaw. And this problem solved.
There are many  from_raw + as_raw pair in the code (such as when calling equivalent_datatype), which I think could be optimized by Rust compiler (just load the raw to register) but it is not. And function inlining doesn't seem to solve this.

In my understanding, both of above two things SHOULD be optimized by Rust compiler without any manual adjustment, and I can't dig deeper into the Rust logic why this can't be optimized (maybe is because unsafe? And more strange, all such functions are called indirectly). This two things may be the main reason for wrapper slower than binding, and maybe adding some inlining could solve this problem.

Can you describe the experiments/benchmarks you're using for this comparison?

@jedbrown Thank you for reply.
My codes are in Evian-Zhang/parallel-bench. The readme is written in Chinese, but it doesn't matter, the core figures inside it are in English.
In short, my experiments is just to add a large array in parallel and output the result. A node will divide the array it receives into two part, one part sending to next node, the other will continue the division until no nodes remain. Then each node collects the result and send to the parent.

Using LLVM's lto solves all the problems.
How about changing the default settings for rsmpi's release profile?
Let's take receive_vec for example. If our code uses this API to receive into a vector of usize, when compiling it using the default release profile settings via cargo build --release, the generated binary will contains a call for usize::equivalent_datatype:
call  cs:_ZN52_$LT$usize$u20$as$u20$mpi__datatype__Equivalence$GT$19equivalent_datatype17h282b4dfa1a754dd8E_ptr

where _ZN52_$LT$usize$u20$as$u20$mpi__datatype__Equivalence$GT$19equivalent_datatype17h282b4dfa1a754dd8E_ptr is a static variable in .got section, which points to _ZN52_$LT$usize$u20$as$u20$mpi__datatype__Equivalence$GT$19equivalent_datatype17h282b4dfa1a754dd8E, which moves the static RSMPI_UINT64_T into the corresponding registers.
The reason for this indirect call (i.e. find the true callee address via accessing a pointer in memory) is that, when generating LLVM IR code, Rust compiler leaves the call site in the module of user code, and inside rsmpi's llvm module, it collects all the functions which have the same code (such as UncommittedUserDatatype::as_raw and UserDatatype::as_raw), and creates alias to reduce code size. This indirection of two separate LLVM modules makes LLVM optimizer unable to inline and further optimize the behaviors. I'm currently not show the core reason of this incapability, and whether not using aliases in LLVM could solve this problem. However, using lto, LLVM can optimize between modules, and we can get the desired optimizations.

After checking my code one more time, I found something silly. I wrongly extend the input before communication, leading the sending buffer 8x larger.
Fixing the bug and turning on lto, it seems that rsmpi is even faster than C code!!! I am doing a full bench and will update the result later.
So the indirection call and poor optimization mentioned above does not affect the running time much. However, turning on lto or inling always does make the performance better. Hope the author of this crate could investigate it more to make it the best mpi library ever.

@jedbrown
After conducting a full bench, yes, the communication latency is the core part, and inlining optimization does improve the performance a little bit. For the above-mentioned experiment, with input size of 2^29 and 16 kernels, the run time difference is 5575 microseconds (227155.2 for inlining optimized, 232730.2 for not).
And yes, the performance improvement does not meet with the longer compiling time for enabling lto. So I don't think enable lto for common usage of this crate is worthwhile.
Anyway, I am also very excited that using rsmpi is faster than native C in every benchmark set (input_size & kernel_count) of my experiment (raw experiment result has been uploaded to my above-mentioned GitHub repo). Thank you for your excellent work to bring mpi to rust.

Thanks. I'm skeptical even of this result (versus other system noise/thermal throttling or other configuration disparity) because lack of inlining is nanoseconds and you aren't moving through that calling interface millions of times. Also for the other comparisons, I think a more careful profile will show that it's all the same unless your benchmark configuration creates an extra copy or buffer traversal.


wire:click and json field casting

Describe the bug
When using wire:click to do things, where a variable of a component is an Eloquent model that has a field being casted from json, it errors with non-object.
To Reproduce
Steps to reproduce the behavior:
<?php

namespace App\Http\Livewire;

use Livewire\Component;

class ShowProduct extends Component
{
 	public $product;

 	public $in_basket = false;

	public function mount($id) {
		$this->product = \App\Product::find($id);
	}

	public function addToCart() {
		$this->in_basket = true;
	}

    public function render()
    {
        return view('livewire.show-product');
    }
}

<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class Product extends Model
{
// $table->json('images')
    protected $casts = [
        'images' => 'array'
    ];
}

    images['main'] }}">

{{ $product->name }}

				{{ number_format($product->cost/100, 2) }} €

	    	@if(!$in_basket)

	    			Lisa ostukorvi

	    	@else

	    			Juba ostukorvis

	    	@endif

Click "Lisa ostukorvi". it will 500, with Trying to get property 'images' of non-object (View: /home/rando/Documents/Sites/Storebase/resources/views/livewire/show-product.blade.php)
Expected behavior
No error, method works.
Desktop (please complete the following information):

Browser Chromium Version 76.0.3809.87 (Official Build) Built on Ubuntu , running on LinuxMint 19 (64-bit)

Hey @randohinn. I had this same issue and I'm trying to figure out the best strategy for a fix. It actually happens anytime you assign a model to a component property from within the mount function. If you move the assignment to the render function, it works correctly. ShowProduct would look like this:
<?php

namespace App\Http\Livewire;

use Livewire\Component;

class ShowProduct extends Component
{
    public $product_id;
    public $product;
    public $in_basket = false;

    public function mount($id)
    {
        $this->product_id = $id;
    }

    public function addToCart()
    {
        $this->in_basket = true;
    }

    public function render()
    {
        $this->product = \App\Product::find($this->product_id);

        return view('livewire.show-product');
    }
}

mount is currently not called when the component dom section is reloaded and the data payload for reloading the dom section doesn't currently handle non-primatives.
Hope this helps, temporarily.

Hey @randohinn. I had this same issue and I'm trying to figure out the best strategy for a fix. It actually happens anytime you assign a model to a component property from within the mount function. If you move the assignment to the render function, it works correctly. ShowProduct would look like this:
<?php

namespace App\Http\Livewire;

use Livewire\Component;

class ShowProduct extends Component
{
    public $product_id;
    public $product;
    public $in_basket = false;

    public function mount($id)
    {
        $this->product_id = $id;
    }

    public function addToCart()
    {
        $this->in_basket = true;
    }

    public function render()
    {
        $this->product = \App\Product::find($this->product_id);

        return view('livewire.show-product');
    }
}

mount is currently not called when the component dom section is reloaded and the data payload for reloading the dom section doesn't currently handle non-primatives.
Hope this helps, temporarily.

That does help. Wondering what @calebporzio's take is on this, is what @pddevins suggested the way to do it, or is there any plans to implement mount recalling or a way to do it my way?

I just responded to this issue with some tactics. Take a look here: #27


Unable to find a specification for NMessenger

I can't able to install the Podfile.
Please find the images for references.. Thanks

Did you try pod repo update?

Sorry, I forget to use that one.. thanks now its working.. 💯  👍


Add details to api_key and api_token error message

Gives additional error details to api_key and api_token error messages referenced in issue #1966
Closes #1966

looks good to me! thanks for the PR. 🙌


Bug - Level-ups not awarding roles

Part of #70 refactored the roles property in xplevels. This refactor was not mirrored on all levels, please go in and fix all appropriate areas. Check for code outside of the files referenced in the screenshot.

seems to be fixed on prod, closing


How to use anonymous collection.

Anonymous collection is really helpful, I need it because I need reactivity for some data, but I don't need to save it in mongo db.
Is it possible to use it?
JIC as example of anonymous collection is the error management in discover meteor tutorial: http://es.discovermeteor.com/chapters/errors/

Same for simple schema this code allows an anonymous collection:
const errors = new Mongo.Collection(null);
export const Errors = new MongoObservable.Collection<Error>(errors);


Issue: Navigation Not Redirecting to the Specific Section

When a user clicks on a navigation link, the application does not redirect to the intended section of the page. This can lead to confusion and a poor user experience.
Expected Behavior:
Upon clicking the navigation link, the page should scroll smoothly to the corresponding section without any delays or errors.
https://github.com/user-attachments/assets/0de20f17-e182-4c67-b6c1-9ca3445f5e8a

Could you please assign me level label for this as well..


feat(lanelet2_extension): copy the z values in getExpandedLanelet

Signed-off-by: Maxime CLEMENT<EMAIL_ADDRESS>Description

Update function getExpandedLanelet to set correct z values in the calculated expended lanelet.

Without this PR
With this PR

After some quick profiling, it seems the added code takes at most 4μs so this should not impact performances.
How to test
You need to configure the behavior_path_planner to extend the lanelets by modifying autoware_launch/config/planning/scenario_planning/lane_driving/behavior_planning/behavior_path_planner/drivable_area_expansion.param.yaml and use non-zero parameter values (e.g., for the lane_following).
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[X] I've confirmed the contribution guidelines.
[X] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

The change looks go to me. I want some feedback from @kosuke55 @purewater0901 (or anyone else from TIER IV planning team) about if it is okay to copy the z value in expanded lanelets in first place. (i.e., are there any codes that assumes flat lanelet after expansion?)


How to disable verboten TLS ciphers

Hello!
I need to disable some TLS ciphers in the mokey web service. What's the best way to do so?
Specifically:
TLSv1.2:

ECDHE-RSA-AES128-SHA256
ECDHE-RSA-CHACHA20-POLY1304

TLSv1.3:

TLS_AES_128_GCM_SHA256
TLS_CHACHA20_POLY1305_SHA256

Thanks!

Looks like mokey might need some amendments in the code to implement the setting of this in the TOML file  / via options from https://pkg.go.dev/net/http#hdr-Clients_and_Transports
For now I would recommend configuring a reverse proxy with the OS native NGINX / Apache or something like the SWAG docker.

@mattgahs We currently do not support setting custom TLS ciphers. As @Aterfax mentioned, you have a few options:

Run mokey behind nginx (or another webserver) using proxy pass and configure your custom ciphers there
Modify the code here to support setting a custom tls.Config with your custom cipher list. see here

I'll add this issue as a feature so in the future we can support custom ciphers. If you do end up implementing option 2 feel free to submit a PR.


UPDATE crashes on non-indexed predicates

The UPDATE command crashes if used with a non-index predicate or without one.
Start by creating a table and adding some data:
CREATE TABLE foo (a INTEGER, b INTEGER);
INSERT INTO foo VALUES (1, 200);
INSERT INTO foo VALUES (2, 150);
INSERT INTO foo VALUES (3, 400);

If you execute the following command:
UPDATE foo SET b = 100 WHERE a = 2;

The system crashes. It also happens with queries like this:
UPDATE foo SET b = 100;

Test script is here: http://pastebin.com/zq7dtPac

Attached is a quick patch to the issue.  The crash comes from asserting (index_entry_ptr != nullptr).  index_entry_ptr may be equal to nullptr if there is no index.  Since the previous codefor performUpdate() does not align with handling index_entry_ptr in perfromDelete(), I assume that this is a bug.
peloton-545.diff.txt

@seojungmin Can you send a PR? We don't do direct patches.

Fixed in #558


Add back newline for grouping with Format-Table and -Property

PR Summary
When using Format-Table explicitly with -Property and -Grouping, it was missing a newline between the group and the content.  Fix is to add back a newline after writing the grouping information.  Also changed the default formatting of cert, registry, and files so that when there is grouping, it doesn't insert an extra newline (resulting in two).  Because of the way formatting works, needed to remove use of the indent param and simply insert the indention into the resx string.
Before this change:

After this change:

dir with default table formatting is the same, but the changes were needed to keep them the same.
PR Context
Fix https://github.com/PowerShell/PowerShell/issues/9299
PR Checklist

[x] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[x] Summarized changes
[x] Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
[x] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: or [ WIP ] to the beginning of the title (the WIP bot will keep its status check at Pending while the prefix is present) and remove the prefix when the PR is ready.

Breaking changes

[x] None
OR
[ ] Experimental feature(s) needed

[ ] Experimental feature name(s):

User-facing changes

[x] Not Applicable
OR
[ ] Documentation needed

[ ] Issue filed:

Testing - New and feature

[ ] N/A or can only be tested interactively
OR
[x] Make sure you've added a new test if existing tests do not effectively test the code changed

Tooling

[x] I have considered the user experience from a tooling perspective and don't believe tooling will be impacted.
OR
[ ] I have considered the user experience from a tooling perspective and enumerated concerns in the summary. This may include:

Impact on PowerShell Editor Services which is used in the PowerShell extension for VSCode (which runs in a different PS Host).
Impact on Completions (both in the console and in editors) - one of PowerShell's most powerful features.
Impact on PSScriptAnalyzer (which provides linting & formatting in the editor extensions).
Impact on EditorSyntax (which provides syntax highlighting with in VSCode, GitHub, and many other editors).

@anmenaga updated title, description, and added screenshots.  It only affects -Property


Fix #364: Make cbloader and cbsceneinventory the new defaults

Changes:

Remove empty builder tool
Remove old manager and loader, replace with cbloader and cbsceneinventory
Refactor cbloader -> loader
Refactor cbsceneinventory -> sceneinventory

Reference issue: #364
NOTE
Currently code is untested, only refactored it for now. This way it also allows others to check their dependencies on it plus potentially discuss the naming/refactoring of "sceneinventory" as opposed to the older "manager".

Looks good, this is the right way forwards.

@mottosso do you happen to know what kind of drugs the Hound sniffed? :) I'm assuming those lines are {file}.py:{line}:{column}? Is it referring to negative columns/characters? Wut?

@mottosso do you happen to know what kind of drugs the Hound sniffed? :)

Haha, no idea. Could it be line-endings, Windows versus Linux? Didn't you have a new file-server, could that have had an effect?

Haha, no idea. Could it be line-endings, Windows versus Linux? Didn't you have a new file-server, could that have had an effect?

Everything is saved from a Windows workstations. Plus it's the only file showing the odd behavior and it doesn't even show any other changes than one change on line 97. Additionally, checking symbols in the file doesn't show me anything odd other than just line endings everywhere. It's really finding something magically hidden.

It seems it failed on the backslashes in the docstring. Seems like a bug, anyway... changed it with https://github.com/getavalon/core/pull/388/commits/e2f21d3982d33615064d8e57573dcb5951baae92 and it seems to make it pass. :)

@davidlatwe @tokejepsen @mkolar - tagging you guys to give this a test run - if you're referencing any of the tools in your own pipeline code note that they might need refactoring with these names changes. As such, if you are using these tools that are NOT public in Avalon API this could introduce a backwards incompatibility and will require you to update code along.
That is also described in this PR's issue #388

I have tested on my end and looks working nicely after I changed those module name :)
And I also made a PR in Launcher getavalon/launcher#42 for this to working.

And I also made a PR in Launcher getavalon/launcher#42 for this to working.

Thanks, totally forgot that action was native to the launcher currently.

And I also made a PR in Launcher getavalon/launcher#42 for this to working.

Thanks, totally forgot that action was native to the launcher currently.

This does not affect us much. We're actually preparing (and should be done this week @iLLiCiTiT? ) a refactor of the UIs which separates models, delegates and widgets from their tools into universally usable elements for UI building in avalon. As we worked with the tools it became a bit of a mishmash of tools cross-referencing widgets from other tools, so this is an effort to make it cleaner... #upcoming

a refactor of the UIs which separates models, delegates and widgets from their tools into universally usable elements for UI building in avalon. As we worked with the tools it became a bit of a mishmash of tools cross-referencing widgets from other tools, so this is an effort to make it cleaner... #upcoming

Perfect! :)


Fix bugs in modifiers due to empty check and proposal render error handling.

When using a modifier on a variable which was an empty array the modifier would not be executed as there was an empty check in the TemplateFunctions::applyVariableModifier function.
In addition there was no validation on types when using modifiers which could cause unclear error messagesa when using Xentriq.
This PR contains a fix for the first error and a proposal on how we could handle render errors more gracefully.
@ttveldhuis please review and let me know what you think. Any feedback is welcome.

@ttveldhuis in this case this might not be a render exception actually but rather a template malformed exception?

I will further look in to this this week, still have to correlate this with #37 .

I included the type checks of your first commit in 04c9f97- the overall structure has changed because of that. If you could integrate the rendering exceptions with a new commit or resolve them in this pull request we can merge that with the master branch.

I also saw that you only allow for negative with boolean and sizeof with arrays, in 04c9f97 I allowed this for all types, because they can be used for other types as well.

I was looking at the negation, I think negation of things other than boolean, eventhough this is a PHP 'feature' maybe we should not support this. The result will always be a boolean anyway. Do you have a use-case which this would be good for?


Map component

Map component
Description
Map component for selecting a lat/lon location as described in https://github.com/Altinn/altinn-studio/issues/8480
Related Issue(s)

https://github.com/Altinn/altinn-studio/issues/8480
Design system komponent: https://github.com/Altinn/altinn-design-system/pull/60

Verification

[x] Your code builds clean without any errors or warnings
[x] Manual testing done (required)
[x] Relevant automated test added (if you find this hard, leave it and we'll help out)
[x] All tests run green

Documentation

[ ] User documentation is updated with a separate linked PR in altinn-studio-docs. (if applicable)

Turns out our cypress tests failed because of file system limits. Could you merge from main and push again? Hoping #380 solves the problem. :crossed_fingers:

Turns out our cypress tests failed because of file system limits. Could you merge from main and push again? Hoping #380 solves the problem. 🤞

Rebased. @olemartinorg, can you trigger the pending workflows?


Integrate vulnerability scanning

There are multiple possible options I have in mind:

Trigger Github-Webhook to start a Github-Action for further analysis
Built a standalone application to scan the generated SBOMs from this operator (can be triggered with webhook too)
Expose metrics for found vulnerabilities (this would be also a feature which should be added to a standalone application)
...

/kind feature

Could you use https://github.com/anchore/grype for that?

Yes, that's the plan :smile:
I will start with the "vulnerability-operator" in the next few weeks.

Follow-up for standalone-project ckotzbauer/vulnerability-operator#1


Structure Simplification

Is your feature request related to a problem? Please describe.
Structure is quite complex now. However,
the less complex structure is, the more
reusable library is.
Describe the solution you'd like
Structure should be simplified. This will
remove about 14% of all classes,
which is quite many.
Additional context
Should be done only after Script Query Structuring

It may be hard to simplify structure,
before removing mixins.


No 'append' argument in 'Help' function

This issue was originally created at: 2015-12-23 19:01:42.
This issue was reported by: stefan.
stefan said at 2015-12-23 19:01:42

http://www.scons.org/doc/production/HTML/scons-user.html#idp1378414868 explains
how to use an 'append' argument to build help text by invoking 'Help()' multiple
times.
However, it appears the actual 'Help()' function doesn't support such an argument:
TypeError: Help() got an unexpected keyword argument 'append':
File "/home/stefan/projects/boost.python/SConstruct", line 24:
""", append=True)
File "/usr/lib/scons/SCons/Script/SConscript.py", line 614:
return method(*args, **kw)

bdbaddog said at 2015-12-23 19:36:03

I just created this SConscript:
Help("""
Type: 'scons program' to build the production program,
'scons debug' to build the debug version.
""")
Help("""
Type: 'scons program' to build the production program,
'scons debug' to build the debug version.
""", append=True)
And ran scons 2.4.1 against it:
~/devel/scons/bb_env/bin/scons -f SConstruct.Help
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
scons: `.' is up to date.
scons: done building targets.
I don't get any errors..
Please attach small SConstruct to reproduce your issue.
Also please read the following:
http://scons.org/bugs.php

stefan said at 2015-12-23 19:47:16

I created an empty directory, put a new SConstruct file with only this line:
Help("", append=True)
into it, and invoked scons, to get:
[stefan@quasimodo scons-bug]$ scons --debug=stacktrace
scons: Reading SConscript files ...
TypeError: Help() got an unexpected keyword argument 'append':
File "/home/stefan/projects/scons-bug/SConstruct", line 1:
Help("", append=True)
File "/usr/lib/scons/SCons/Script/SConscript.py", line 614:
return method(*args, **kw)
scons -v reports
[stefan@quasimodo scons-bug]$ scons -v
SCons by Steven Knight et al.:
script: v2.3.6.rel_2.3.5:3347:d31d5a4e74b6[MODIFIED], 2015/07/31
14:36:10, by bdbaddog on hpmicrodog
engine: v2.3.6.rel_2.3.5:3347:d31d5a4e74b6[MODIFIED], 2015/07/31
14:36:10, by bdbaddog on hpmicrodog
engine path: ['/usr/lib/scons/SCons']
Copyright (c) 2001 - 2015 The SCons Foundation

stefan said at 2015-12-23 19:48:59

(Sorry for the wrong version I reported initially. I'm using the version of
scons that presently ships with Fedora 23.)

Fixed in release 2.4.1


January 2024 Meetup Registration

Happy January!
In preparation for the January Rust Gamedev Meetup, it will be taking place Saturday, the 13th!
As always, I want to try and get some more work-in-progress projects shown off :) if it's not done, it would be awesome to see! Leave a comment with the template below to sign up 🚀
Template
Project:

Discord username:

Preferred name:

Streaming Logistics
We use StreamYard to host the meetup. Using it is quite similar to another browser video chat tool, like Google Meet. We'll do a tech test before the meetup, so you can become familiar with how it is used.

Back at it with Graphite this month!

Making a return after a long time not doing anything related to game dev!
Project: Cushy
Discord username: ecton
Preferred name: Ecton

Project: Astratomic
Discord username: zac6868
Preferred name: zac


Invalid  xcactivitylog file

Hi, When I use Xcode to build, It will generate xcactivitylog.
But  When I use xcodebuild cli, For example
xcodebuild -workspace xx.xcworkspace -scheme xx -sdk iphoneos -showBuildTimingSummary -resultBundlePath ./a/a -derivedDataPath ./a clean build

it will generate two xcactivitylog, One is a clean job log, and one is a build job log.  But the build job log is not a valid gzip.
I have to wait one day, but nothing changes.
So, Is it possible to crash in generate xcactivitylog？

Similar to myself however for me it depends on the size of the project.
If I create a new xcode project, xcodebuild works.
If I use it on an existing large xcode project, I receive .xcactivitylog is not a valid xcactivitylog file.
Even after waiting an hour and running xclogparser, I get the same error.
This is my command:
xcodebuild \
-workspace XXX.xcworkspace \
-scheme XXX \
-destination generic/platform=iOS \
-resultBundlePath ~/Desktop/BuildTimeReports/BuildLogs/Result.xcresult \
clean build-for-testing \
OTHER_SWIFT_FLAGS="-Xfrontend -debug-time-function-bodies -Xfrontend -debug-time-expression-type-checking"

Yes, I found if I use hmap replace header search path,  it can generate .xcactivitylog correctly.    So I think it may be an argument to long error in xcodebuild.     But I don't know how to create issue to xcodebuild.

Yes, I found if I use hmap replace header search path,  it can generate .xcactivitylog correctly.    So I think it may be an argument to long error in xcodebuild.     But I don't know how to create issue to xcodebuild.

Thanks for responding, could you give a bit more information on what "hmap replace header search path" is?

I've switched to using Xcode directly to build instead of xcodebuild and that works. I do need to wait a few seconds after the build is finished before running xclogparser.

https://tech.meituan.com/2021/02/25/cocoapods-hmap-prebuilt.html

me too. I think is xcodebuild bug,  but I don't know how to  submit bug to xcodebuid

I had this problem as well, and I "fixed" it by adding sleep 2 to the script that runs xclogparser.

I'm seeing the same problem as well using Xcode Version 13.2.1 (13C100).
xcodebuild with incremental builds is fine. But clean builds didn't work at all.

any updates?

Just adding as a user of XCMetrics (which relies on this project), I too am running into problems where the underlying xcactivitylog is (for some reason) invalid on a medium sized project. Works fine via Xcode, but problematic via xcodebuild.
Open to any workarounds or fixes to this. Xcode 14.1.

As written above, this seems to be because Xcode closes the file handler or similar way too early without letting the file writer flush the contents of the file completely to disk. This should be a bug report to Xcode, and you can workaround it as described above by adding a sleep or running another action (such as a clean action) after your build.

such as a clean action

Feels extremely janky, but this has worked for us. Though this exasperate an issue on XCMetrics where clean builds are pushing up their logs.


Keep backwards-compatible module name

To make my custom widget package work with Notebook 4.2 and the updated ipywidgets, I have to change widgets/js/widget to jupyter-js-widgets (diff).
Having done this my widget no longer works with older versions of jupyter. Would it be possible to add widgets/js/widget as a depreciated alias for jupyter-js-widgets to ease the transition?

Sorry for the late reply.
jupyter-js-widgets is the name of the npm package. Since we are moving towards npm for everything, I think that it makes more sense to not try to alias the earlier package name of 4.x.


[SUPPORT]  Data lose with Flink write COW insert table, Flink web UI show Records Received was different with HIVE count(1)

Describe the problem you faced
Data lose with Flink write COW insert table, Flink web UI show Records Received was different with HIVE count(1)
To Reproduce
Steps to reproduce the behavior:

Flink write and sync to hive
and face that Flink web UI show Records Received was different with HIVE（impala） count(1)

Expected behavior

Environment Description

Hudi version : 0.10.0

Flink version : 1.13.2

Hive version : 2.1.1-cdh6

Hadoop version : 3.0.0-cdh6

Storage (HDFS/S3/GCS..) : HDFS

Running on Docker? (yes/no) : no

Additional context
Flink writre config
'connector' = 'hudi',
  'path' = 'hdfs://nameservice-ha/hudi/rds/event_log_origin',
  'table.type' = 'COPY_ON_WRITE',

  'hoodie.datasource.write.recordkey.field' = 'distinct_id',

  'hive_sync.enable'='true',
  'hive_sync.table'='hudi_event_log_origin',
  'hive_sync.db'='default',
  'hive_sync.mode' = 'hms',
  'hive_sync.metastore.uris' = '',
  'hive_sync.skip_ro_suffix' = 'true',

  'hoodie.datasource.write.operation' = 'insert',
  'write.tasks' = '2',
  'write.bucket_assign.tasks' = '2',
  'write.insert.cluster' = 'true',
  'write.ignore.failed' = 'false',
  'clean.async.enabled' = 'true',
  'clean.retain_commits' = '4',
  'archive.min_commits' = '6',
  'archive.max_commits' = '12',
  'hoodie.cleaner.commits.retained' = '4',
  'hoodie.keep.min.commits' = '5',
  'hoodie.keep.max.commits' = '10'

Stacktrace
Add the stacktrace of the error.

So you use the upsert mode right ? And the hoodie table has a pk there ?

So you use the upsert mode right ? And the hoodie table has a pk there ?

we use insert (append) mode, not have a unique key, does data will deduplicate?

No, data would not be dedupped.

Can you try using upsert mode and report back.

I will try it, but we not have a unique key

should use  'write.operation' = 'insert';
but in my code was 'hoodie.datasource.write.operation' = 'insert', hudi will use default config:  'write.operation' = 'upsert', so close this issue.


yarn2nix breaks with packages pinned to a commit

Describe the bug
When running yarn2nix against a yarn.lock that has a package pinned to a git commit hash instead of a version, it fails to complete.
Steps To Reproduce
Steps to reproduce the behavior:

Go to a folder you can delete afterwards
nix-shell -p yarn2nix '(yarn.override { nodejs = nodejs_latest; })' --run 'yarn init -y && yarn add discordjs/discord.js#d0bc4d7ff037035d4f315a0286b06f0a1ade29c1 && yarn2nix'
Watch it fail: (partial log below)

<ref *1> Error: spawnSync nix-prefetch-git ENOENT
    at Object.spawnSync (internal/child_process.js:1077:20)
    at spawnSync (child_process.js:776:24)
    at execFileSync (child_process.js:822:15)
    at prefetchgit (/nix/store/fp1khj91f35w6kk8q5ya0g0g33wks22h-yarn2nix-1.0.0/libexec/yarn2nix/deps/yarn2nix/lib/generateNix.js:36:5)
    at fetchgit (/nix/store/fp1khj91f35w6kk8q5ya0g0g33wks22h-yarn2nix-1.0.0/libexec/yarn2nix/deps/yarn2nix/lib/generateNix.js:59:23)
    at /nix/store/fp1khj91f35w6kk8q5ya0g0g33wks22h-yarn2nix-1.0.0/libexec/yarn2nix/deps/yarn2nix/lib/generateNix.js:92:14
    at _map (/nix/store/fp1khj91f35w6kk8q5ya0g0g33wks22h-yarn2nix-1.0.0/libexec/yarn2nix/node_modules/ramda/src/internal/_map.js:6:19)
    at map (/nix/store/fp1khj91f35w6kk8q5ya0g0g33wks22h-yarn2nix-1.0.0/libexec/yarn2nix/node_modules/ramda/src/map.js:64:14)
    at /nix/store/fp1khj91f35w6kk8q5ya0g0g33wks22h-yarn2nix-1.0.0/libexec/yarn2nix/node_modules/ramda/src/internal/_dispatchable.js:41:15
    at Object.f2 [as map] (/nix/store/fp1khj91f35w6kk8q5ya0g0g33wks22h-yarn2nix-1.0.0/libexec/yarn2nix/node_modules/ramda/src/internal/_curry2.js:29:14) {

Expected behavior
I expected it to spit a bunch of Nix code out as it does when reverting these commits:
4c7e1a10b4b * yarn2nix: fix "rev is not defined" (#141207)
b7e7d35ccce * yarn2nix: workaround for NixOS/nix#5128
b27d18a412b * yarn2nix: handle codeload.github.com uris in IFD mode (#136922)

Additional context
I don't think the yarn Node.js version matters, that's just to satisfy discord.js's engine requirements.
Notify maintainers
@yu-re-ka
Metadata
ckie@cookiemonster /tmp/foob -> nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 5.14.14-zen1, NixOS, 21.11 (Porcupine)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.5pre20211007_844dd90`
 - channels(root): `""`
 - nixpkgs: `/run/current-system/sw/nixpkgs`

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute: yarn2nix-moretea
# a list of nixos modules affected by the problem
module:

Thanks for the thorough bug report. Please try it with yarn2nix from #143890 .


SIL serialization fixes for variadic generics

We forgot to register the corresponding abbrevs, and fixing that revealed a few instructions that don't round-trip correctly. Fix that and add a test, and clean up a little nit while we're here. Fixes rdar://108004074 and rdar://108045677.

@swift-ci Please smoke test

@swift-ci Please smoke test

@swift-ci Please smoke test Linux


Word Search

Is your feature request related to a problem? Please describe.
The problem is to implement Word Search algorithm using backtracking.
Describe the solution you'd like
I would like to have a Python implementation of the Word Search algorithm using backtracking. The solution should take a 2D grid and a target word as inputs, and return a boolean value indicating whether the word is present in the grid or not.
Additional context
@Kumar-laxmi Sir please assign me this issue under SSoC'23. I believe that the addition of the Word Search algorithm into the Backtracking directory, allows the users to understand and these types of algorithms in a real-world context.

@Kumar-laxmi Sir please assign me this issue


Implement "credential transfer" option

Ability for Initiator/Responder to explicitly set whether the credential should be sent by value or by reference.

Solved in #188


require tox 3.x for now; default to ansible-lint 5.x

We will need to convert tox-lsr to use tox 4.x.  This is not trivial.
In the meantime, use tox 3.x for tox-lsr.
Revert the default for ansible-lint from 6.x to 5.x so as not to
break lots of roles with this update.

We need to update all of the roles asap because tox 4.x is now released which breaks our tests - see https://github.com/linux-system-roles/rhc/actions/runs/3641263237/jobs/6147292814


Squeezebox component fails when no players are online

Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (hass --version):
latest image 2017-02-03-HASSbian.img from the website, which is Home Assistant version 0.39.3
Python release (python3 --version):
3.4.2
Component/platform:
media_player/squeezebox
Description of problem:
The log reports a key error on date['players_loop'] on line 110 in
/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/media_player/squeezebox.py
Sorry, I cannot provide the real log entry right now.
This happens when the squeezebox is online but the list of players is empty, which can easily happen if you switch off your players when not using them.
Expected:

Do not fail on startup.
Add players later, when they go online

Problem-relevant configuration.yaml entries and steps to reproduce:
# squeezebox
media_player:
  - platform: squeezebox
    host: x.x.x.x
    port: 9000

Additional info:
I worked around the error by adding a test to squeezebox.py:
if 'players_loop' in data:
          for players in data['players_loop']:

However, it makes me wonder if the list is actually updated later?

I have a similar problem. As I could see in the code, the player list is read only at HASS startup. It should be reread periodically from LMS, so players moved (switched off and on) are getting discovered without HASS restart. This is in connection with #7104

Solved by PR #7617
It does not meet expectation 2: find players when they go online, not only on HA startup.


fix(jest-util): pass more globals through

Summary
passing a set of commong globals through to the env to ensure instanceof checks work as expected.
Fixes #4422

We cannot pull these globals from the parent context into the vm contexts unfortunately, let's take this back to the PR. You can however create your own testEnvironment in which you can install anything you like.


Problem trying to run evaluate with downloaded checkpoint

I'm trying to run evaluate.py with a downloaded checkpoint model (dog-run-1.pt). However, I get the following error:
"You are trying to pop key ('__batch_size',) which is not in dict without providing default value. Keys=_TensorDictKeysView(['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'],\n    include_nested=True,\n    leaves_only=False)."
KeyError: 'key "__batch_size" not found in TensorDict with keys ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9']'
The above exception was the direct cause of the following exception:
File "/home/idsc/tdmpc2/tdmpc2/tdmpc2.py", line 86, in load
self.model.load_state_dict(state_dict["model"])
File "/home/idsc/tdmpc2/tdmpc2/evaluate.py", line 59, in evaluate
agent.load(cfg.checkpoint)
File "/home/idsc/tdmpc2/tdmpc2/evaluate.py", line 103, in
evaluate()
KeyError: "You are trying to pop key ('__batch_size',) which is not in dict without providing default value. Keys=_TensorDictKeysView(['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'],\n    include_nested=True,\n    leaves_only=False)."
I didn't make any modifications to the code and use all default parameters from the config.yaml file

Hi @JonaSchulz, I believe this error might be related to recent efforts to speed up the codebase. One temporary solution would be to go back to an earlier commit, e.g. https://github.com/nicklashansen/tdmpc2/commit/88095e7899497cf7a1da36fb6bbb6bc7b5370d53, while I work on issuing a fix for this.

@vmoens Hi, if you have a moment at some point, would you mind providing some guidance re: this issue? It appears that our recent changes to the Q-function module breaks loading of older checkpoints. All other parts of the model seem to load correctly, and I haven't quite been able to find a solution but the error is coming from tensordict. See commit https://github.com/nicklashansen/tdmpc2/commit/2e27fbb6f4d026520de1a2d5a8c4a0e9c2d076f9 for a breakdown of the problem.

Do you have a minimal repro? I can fix that easily but I need to make sure I'm loading things as expected

Yes! You can download a checkpoint from here https://huggingface.co/nicklashansen/tdmpc2/tree/main/dmcontrol e.g. wget https://huggingface.co/nicklashansen/tdmpc2/resolve/main/dmcontrol/dog-run-1.pt?download=true and then run python evaluate.py task=dog-run checkpoint="path/to/checkpoint.pt". Without the try-catch this will produce the error that @JonaSchulz posted here, and with the changes I made in commit https://github.com/nicklashansen/tdmpc2/commit/2e27fbb6f4d026520de1a2d5a8c4a0e9c2d076f9 the code will successfully load all modules except the Q-functions and then raise a NotImplementedError.

What's the most useful way for me to help (beyond the BC-fix in tensordict)?
Do you want a custom func to check/transform the state-dict, ie, a patch in your code base while waiting for a new tensordict release?

I can't quite tell what is causing this error or how to fix it. I assumed that the error is because the checkpoint was generated last year using our previous Q-function implementation, and that we are trying to load them using the new Q-function implementation introduced with the torch.compile functionality. So a patch to this codebase that makes the appropriate conversion might be sufficient? I guess I'm just looking for pointers on how to actually do that now that we use tensordicts for the parameters.

Ok then the work plan should be to write a pre hook for load state dict that maps the old format to the new.
I made some progress I'll keep you posted (at NeurIPS now with limited coding time / day)

No problem! Take your time. Enjoy Vancouver!


Origin Header

It seems like the "Origin" header is missing  here
http://tools.ietf.org/id/draft-abarth-origin-03.html

Is this in common use? I've never used it myself, and when checking the dev consoles, I notice neither Firefox nor Chrome set that header while browsing.

The Origin header is set for CORS requests.
On 15 October 2015 01:36:27 CEST, Sean McArthur<EMAIL_ADDRESS>wrote:

Is this in common use? I've never used it myself, and when checking the
dev consoles, I notice neither Firefox nor Chrome set that header while
browsing.

Reply to this email directly or view it on GitHub:
https://github.com/hyperium/hyper/issues/651#issuecomment-148233353

--
Sent from my phone. Please excuse my brevity.

Ah yes, quite true. I had forgotten.

@seanmonstar Is anyone working on this?  If not I'd be interested in giving it a go

Go for it!
On Thu, Nov 19, 2015 at 4:56 AM Martin Feckie<EMAIL_ADDRESS>wrote:

@seanmonstar https://github.com/seanmonstar Is anyone working on this?
If not I'd be interested in giving it a go
—
Reply to this email directly or view it on GitHub
https://github.com/hyperium/hyper/issues/651#issuecomment-158049297.

I don't think anybody is working on this.
On Thu, Nov 19, 2015 at 04:56:13AM -0800, Martin Feckie wrote:

@seanmonstar Is anyone working on this?  If not I'd be interested in giving it a go

Reply to this email directly or view it on GitHub:
https://github.com/hyperium/hyper/issues/651#issuecomment-158049297

Would love to get newly-rusty hands wet; what's going on here?
A variety of PRs have been closed, and one (to another project?)

I think the main discussion is under https://github.com/hyperium/hyper/pull/691, basically we waited until rust-url was 1.0 (where its Origin type was rewritten) and then forgot about it.
On 5 July 2016 01:21:00 EEST, Michael Perez<EMAIL_ADDRESS>wrote:

Would love to get newly-rusty hands wet; what's going on here?
A variety of PRs have been closed, and one (to another project?)

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/hyperium/hyper/issues/651#issuecomment-230359643

--
Sent from my Android device with K-9 Mail. Please excuse my brevity.

The current type in rust-url is an enum with an OpaqueOrigin variant, which is not needed in the header. So, I'm thinking we do something like this:
pub struct Origin(String, String, Option<u16>);

// support default ports
impl PartialEq for Origin {
    fn eq(&self, other: &Origin) -> bool {
        if self.0 == other.0 && self.1 == other.1 {
            self.2.or_else(|| default_port(&self.0)) == other.2.or_else(|| default_port(&other.0))
        }
        false
    }
}

fn default_port(scheme: &str) -> Option<u16> {
    match scheme {
        "http" => Some(80),
        "https" => Some(443),
        _ => None,
    }
}

@seanmonstar that seems good for a single "serialized-origin". I'm not very familiar with things (in general) but according to the spec the value of an Origin header may actually be a vec of this implementation of Origin.
Aside from that in order to parse/generate, after having read the docs the Origin struct also needs to implement Header and HeaderFormat right?

@puhrez since the Origin header only makes in CORS requests, may as well use the definition from the most up-to-date spec governing them: https://fetch.spec.whatwg.org/#origin-header
In that spec, the Origin is only ever 1 value.
Yes, a header needs to implement Header (and HeaderFormat in the 0.9x branch. If possible, the header! macro handles this merge of traits).
A u16 means unsigned, so a bit isn't dedicated to the sign. This means it's range is 0-65535, which is the full range of possible ports.

Ah yes, I knew it mean unsigned but for some reason (not being very used to u/i distinctions), I mixed the concepts.
re header! macro trait merging:
the idea then becomes to do something like (from the docs)
header! { (Origin, "Origin") => [String, String, Option[u16]] }
<insert yr impl block and default_port fn here>

May I assign myself to this and get on it?

made a pull request incorporating the comments made above as well as trying to conform to contribution style, haven't tested it well (read: at all) yet tho :).


fix(Faro): Exception context got lost while transforming Faro exceptions.

PR Description
We got reports from Faro users that user provided exception context was somehow lost when using Alloy.
This was because the context object returned by the transformException function was missing the context.

Added the missing context
Updated the respective test

Which issue(s) this PR fixes
pushError loses context data
Notes to the Reviewer
PR Checklist

[x] CHANGELOG.md updated
[ ] Documentation added
[x] Tests updated
[ ] Config converters updated

Hope I got the backport tags right.
I am not 100% sure if we can backport till v1.0 because idk when the code I updated was added to Alloy.


Can we use slots for input field?

Since this component inherits all features from BootstrapVue table, you can use slots for any field. https://bootstrap-vue.org/docs/components/table
If I did not understand you correctly, please provide me with more details.


Flow symmetry

Hi,
Can you provide more details to explain the flow symmetry. This is a very important information to be ex licitly clear.
https://github.com/MicrosoftDocs/azure-docs/issues/20167

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

ID: fc1f74d6-447c-5a0c-d644-5e5008396f2f
Version Independent ID: 0faeb52e-769a-b99b-1a3f-2f513efff2d4
Content: High availability ports overview in Azure
Content Source: articles/load-balancer/load-balancer-ha-ports-overview.md
Service: load-balancer
GitHub Login: @KumudD
Microsoft Alias: kumud

@SamirFarhat Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.
If you need some specific information as to how these flows work that is blocking you on a project, please let me know.

I've made changes to the ha ports load balancing rules article.  Should publish tomorrow.

@TravisCragg-MSFT please close

@SamirFarhat We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Correctly set ValueType to Counter or Gauge

Fixes https://github.com/orijtech/prometheus-go-metrics-exporter/issues/7

Thank you for this change @james-bebbington and great catching you here, formally.
I have to jog my memory on why I didn’t use the derived type as it has been almost 2 years since I wrote that code, but the use of derived type LGTM!

No worries, @bogdandrutu was actually the one that noticed it. Thanks for the quick merge!

Awesome, thank you both @james-bebbington and @bogdandrutu. I've cut the release v0.0.5, done https://github.com/orijtech/prometheus-go-metrics-exporter/releases/tag/v0.0.5.

Thanks!


fix bug in uprading clusternet-hub and clusternet-agent

Kubernetes doesn't allow RoleRef of ClusterRoleBinding(or RoleBinding) to be updated
Change name of clusterrolebinding, to keep uprading smoothly

with old name, uprade will fail, the error as bellow

@willzgli Shall we use helm upgrade --force to help reinstall those changed role/clusterrole bindings.

helm/helm#6468 had a debate on this problem. That was an intentional design decision in Helm. Users need to either manually intervene or use the --force flag when they want to opt into destructive actions such as re-creating the object when they want to change an immutable field.

helm/helm#6468 had a debate on this problem. That was an intentional design decision in Helm. Users need to either manually intervene or use the --force flag when they want to opt into destructive actions such as re-creating the object when they want to change an immutable field.

yes , --force is destructive.  We should provide a more secure and automatic uprading path for older clustenet version


Replace constructor approach with context + module agumentation

This PR rethinks how we construct Bento components and I believe it carries several benefits to both Bento maintainers and Bento users.
Right now, we rely on a constructor approach where we pass around the sprinkles function and potentially other parameters, such as Chip's customColors.
The main motivation for this approach is that these custom parameters must be reflected in the types, so add a bunch of generics and we let these parameters drive the type inference.
While this approach works, I think it has several drawbacks, so in this PR I propose an alternative approach, based on context and module augmentation.
Let's see a few examples of usage first:
Non-customized usage
Current
import { createBentoComponents } from "@buildo/bento-design-system"

const { BentoProvider, Card } = createBentoComponents()

<BentoProvider ...>
  <Card ... />
</BentoProvider>

New
import { BentoProvider, Card } from "@buildo/bento-design-system"

<BentoProvider ...>
  <Card ... />
</BentoProvider>

Custom config
Current
import { createBentoComponents } from "@buildo/bento-design-system"

const { BentoProvider, Card } = createBentoComponents({
  card: { defaultRadius: 16 }
})

<BentoProvider ...>
  <Card ... />
</BentoProvider>

New
import { BentoProvider, Card } from "@buildo/bento-design-system"

<BentoProvider config={{ card: { defaultRadius: 16 }}}>
  <Card ... />
</BentoProvider>

or alternatively
import { BentoProvider, Card, createBentoProvider } from "@buildo/bento-design-system"

// This is useful when you have a separate design-system module, which can use the constructor to provide a default config
const BentoProvider = createBentoProvider({
  card: { defaultRadius: 16 }
})

<BentoProvider>
  <Card ... />
</BentoProvider>

Custom sprinkles
Current
import { createBentoComponents } from "@buildo/bento-design-system"
import { sprinkles } from "./sprinkles.css"

const { BentoProvider, Box } = createBentoComponents(sprinkles)

<BentoProvider ...>
  <Box background="customBackgroundToken" />
</BentoProvider>

New
import { BentoProvider, Box } from "@buildo/bento-design-system"
import { sprinkles } from "./sprinkles.css"

<BentoProvider sprinkles={sprinkles}>
  <Box background="customBackgroundToken" />
</BentoProvider>

// This is normally defined in a separate file bento.d.ts
declare module "@buildo/bento-design-system" {
  interface TypeOverrides {
    SprinklesFn: typeof sprinkles;
  }
}

The main drawback of this approach is that users have to use module augmentation, in addition to pass in an additional parameter, but this happens once or twice per project (and only for those projects which customize the tokens), and it's something that you do and forget.
On the other hand, here's the advantages I see:
For the users:

Much easier to get started, you can just import components and use them
The approach is aligned with other mainstream libraries, so it's also more familiar to users
Custom sprinkles are supported ubiquitously without the need of specific support from the library. E.g. if you define a custom border radius token, you can just use it in components which accept a border radius as prop (like Card)

For us:

The codebase is much simpler, since we don't need to wrap everything into constructors to access the config
Components can just import other components, no need to add them as a parameter to the constructor. This also means we don't need to distinguish between "internal" and "external" components.
Docs generation (for the website) and control generation (for storybook) works much better now, since we can just point react-docgen-typescript to the library index.ts and be done with it
Adding new customizable generics (similar to the one in Chip) does not require big refactors and "generic drilling"

I've tried to keep the commits small, but the diff isn't particularly helpful since most components have been renamed too (from createX to X)

Also, is this PR braking, right?

Yes, it's technically breaking because I've removed the constructors of the single components and also invoking createBentoComponents multiple times won't exactly work the same way as before (you would need to use the BentoProvider return by each call for it work).
That said, I've tried to minimize the breaking changes by keeping createBentoComponents around. Basically the impact of the changes should be the same as the one in the storybook/stories/index.tsx file in this PR (i.e. using withBentoConfig instead of createBentoComponents for custom variants and adding the module augmentation explicitly).


polish(v2): [theme-classic] update French translation and base.json

Motivation

Update fr.json (spellings, punctuations, etc). I also believe "Search results for" is a noun, not a verb/action "To search results for", so I changed "Rechercher des résultats" to "Résultats de recherche".
Update base.json: move the line theme.CodeBlock.copy___DESCRIPTION to the right place.

Two questions

The {nPosts} in theme.blog.tagTitle could be a bit tricky since the "s" in the French word "tagués" in {nPosts} tagués avec depends on whether n>1 (adjective declension). That is to say, the current French translation won't work well if there is only one post tagged [with something], and it's possible that similar problems occur in other languages. I think using the i18n syntax with |  and not using {nPosts} can easily solve the problem, even though this would make this line much longer.
collapseButton seems to have the same value for title and AriaLabel in base.json and in all the current translation files as well. Same for expandButton. Maybe we can merge them into just one key, like collapseButtonTitleAndAriaLabel?

Have you read the Contributing Guidelines on pull requests?
Yes.
Test Plan
N/A
Related PRs
N/A but not sure

thanks :)


Add truncate/ftruncate tests

We recently added these system calls, lets add them to the test suite.

Fixed by @AlpacaMax


Update README + fix small bug in example2.js

The test pull for https://github.com/RJacksonm1/node-dota2/pull/297

@Crazy-Duck
		  2) Dota2 Matches #requestMatchMinimalDetails should fetch a list of minimal match data corresponding to the given ids:
			 Uncaught AssertionError: expected null to exist
			  at test/test.js:244:14
			  at Dota2Client.onMatchMinimalDetailsResponse (handlers/match.js:136:23)
			  at Object.<anonymous> (handlers/helper.js:118:21)
			  at SteamGameCoordinator.handlers.(anonymous function) (node_modules/steam/lib/handlers/game_coordinator/index.js:105:28)
			  at SteamGameCoordinator.<anonymous> (node_modules/steam/lib/handlers/game_coordinator/index.js:19:28)
			  at SteamClient._netMsgReceived (node_modules/steam/lib/steam_client.js:172:10)
			  at SteamClient.handlers.(anonymous function) (node_modules/steam/lib/steam_client.js:259:10)
			  at SteamClient._netMsgReceived (node_modules/steam/lib/steam_client.js:157:26)
			  at Connection._readPacket (node_modules/steam/lib/connection.js:50:8)
			  at emitReadable_ (_stream_readable.js:419:10)
			  at emitReadable (_stream_readable.js:413:7)
			  at readableAddChunk (_stream_readable.js:164:13)
			  at Connection.Readable.push (_stream_readable.js:111:10)
			  at TCP.onread (net.js:531:20)

WutFace O_O I didn't even touch that stuff.. For one reason or another the winning_team field has become null... -_-'

I did read recently, that Valve has been mucking around with winning_team for the webAPI, which broke Yasp and Dotabuff. They reverted it though, but maybe they have kept this "functionality" for the client. When the GC goes down, matches that finish don't have a winning result and either get a NULL, or the field is not set.

nope, they yanked winning_team. I've just finished pulling the new protobufs and the signature has changed. Seems like our test correctly identified the library needs updating :D
message CMsgDOTAMatchMinimal {
	message Player {
		optional uint32 account_id = 1;
		optional uint32 hero_id = 2;
		optional uint32 kills = 3;
		optional uint32 deaths = 4;
		optional uint32 assists = 5;
		repeated uint32 items = 6;
		optional uint32 player_slot = 7;
	}

	message League {
		optional uint32 league_id = 1;
		optional uint32 radiant_team_id = 2;
		optional string radiant_team_name = 3;
		optional fixed64 radiant_team_logo = 4;
		optional uint32 dire_team_id = 5;
		optional string dire_team_name = 6;
		optional fixed64 dire_team_logo = 7;
		optional uint32 series_type = 8;
		optional uint32 series_game = 9;
	}

	optional uint64 match_id = 1;
	optional fixed32 start_time = 2;
	optional uint32 duration = 3;
	optional .DOTA_GameMode game_mode = 4 [default = DOTA_GAMEMODE_NONE];
	repeated .CMsgDOTAMatchMinimal.Player players = 6;
	optional .CMsgDOTAMatchMinimal.League league = 7;
	optional .EMatchOutcome match_outcome = 8 [default = k_EMatchOutcome_Unknown];
}


LexingError: unexpected character

[ ] Feature
[X ] Bug

Description
Cant parse the following query. I also added a print screen of the console debug log showing the exception and the query input I pass to the parser.
LexingError: unexpected character: -><- at offset: 1124, skipped 1 characters. (71:40)
    at new LexingError (http://localhost:3000/_nuxt/app.js:520527:28)
    at parse (http://localhost:3000/_nuxt/app.js:521074:15)
    at parseQuery (http://localhost:3000/_nuxt/app.js:521861:84)
    at VueComponent.onClickExecuteQueryButton (http://localhost:3000/_nuxt/app.js:235979:95)
    at click (http://localhost:3000/_nuxt/app.js:525224:39)
    at invokeWithErrorHandling (http://localhost:3000/_nuxt/app.js:546467:26)
    at HTMLButtonElement.invoker (http://localhost:3000/_nuxt/app.js:546792:14)
    at HTMLButtonElement.original._wrapper (http://localhost:3000/_nuxt/app.js:551521:25)

SELECT
  AccountNumber,
  AccountSource,
  Active__c,
  AnnualRevenue,
  BillingAddress,
  BillingCity,
  BillingCountry,
  BillingGeocodeAccuracy,
  BillingLatitude,
  BillingLongitude,
  BillingPostalCode,
  BillingState,
  BillingStreet,
  CleanStatus,
  CreatedById,
  CreatedDate,
  CustomerPriority__c,
  DandbCompanyId,
  Description,
  DunsNumber,
  Fax,
  Id,
  Industry,
  IsDeleted,
  Jigsaw,
  JigsawCompanyId,
  LastActivityDate,
  LastModifiedById,
  LastModifiedDate,
  LastReferencedDate,
  LastViewedDate,
  MasterRecordId,
  NaicsCode,
  NaicsDesc,
  Name,
  NumberOfEmployees,
  NumberofLocations__c,
  OwnerId,
  Ownership,
  ParentId,
  Phone,
  PhotoUrl,
  Rating,
  ShippingAddress,
  ShippingCity,
  ShippingCountry,
  ShippingGeocodeAccuracy,
  ShippingLatitude,
  ShippingLongitude,
  ShippingPostalCode,
  ShippingState,
  ShippingStreet,
  Sic,
  SicDesc,
  Site,
  SLA__c,
  SLAExpirationDate__c,
  SLASerialNumber__c,
  SystemModstamp,
  Test__c,
  TickerSymbol,
  Tradestyle,
  Type,
  UpsellOpportunity__c,
  Website,
  YearStarted
FROM
  Account
WHERE
  SLAExpirationDate__c = NEXT_N_FISCAL_YEARS:10

@AllanOricil, I will take a look in the next few days. Can you confirm you are on version 3.x?

@paustint Thank you. And I confirm I'm using v3.0.0

@paustint I think I found why the above string is not being accepted.
NEXT_N_FISCAL_YEARS:10
````

The character is between `_` and `Y`. If you paste on vscode and then try to navigate between chars you will see that once you press left arrow it will stop in this invisible character

In the console I can copy this invisible character

wtf is this type of encoding!!! I know it is not related to your lib. But would you know what is it?

I was finally able to remove that hidden character and now everything works as expected. The issue was not caused by the lib :)
"NEXT_N_FISCAL_YEARS:10".replace(/\u200B|\u200b/, '') removes this weird encoded character


Can You add some shortcuts to control three knobs left and right?

Hello!
Today i discovered eqMac and this program is great! I have Loupedeck console with physical knobs. I would like to add Loupedeck CT control with physical knobs - it would be great feature! To do this i need to have some shortcuts in program to control it. This way Loupedeck will know what to do in program. If You add this i can make and upload Loupedeck profile for other people!

Hi again!
I just thought i will write more detailed request. To control main settings of the app it will be needed
Shortcut

Bass push left

Bass push right

Bass reset to 0

Mid push left

Mid push right

Mid reset to 0

Treble push left

Treble push right

Treble reset to 0

Change sound source left

Change sound source right

or even better

Change to source 1
Change to source 2
Change to source 3
Change to source 4
Change to source 5
Change to source 6
Change to source 7
Change to source 8

maybe
20. Change to default sound source? (with ability to set it earlier)

Balance left
Balance right
Balance reset to 0

This way i coud create preset for Loupdeck CT and control main program features without using mouse. What do You think?

This would be great!! I have one satellite radio station that broadcasts loud by default, and i want it quieter than one bar on my Mac, so turning the volume dial by mouse in eqMac is a pain. Shortcuts would be welcome.
Thanks!!

Related: #338


new text added using add button disappears after reopening the extension

Can you check this storage issue? @akhilkumarmengani

@vamshi-chidara @akhilkumarmengani  any update on this?

@niveditalodha  Resolved this issue. Please check it and close the issue.

Issue is resolved. Closing it!!


Month selection after year is selected

Hi guys. Is it possible to select month, after I have selected a year when defaultView: DefaultView.Year.
Now we selecting a day, after year is selected.

Hello @fpmk
It is not possible.

It's sad :) Because it very comfortable to select month after selecting a year. Thanks for the reply.


Using array subscript on strings does not seem to work.

E.g.:
string test = "testMessage";
expect (test[0] == 't');
seems to not work

Fixed, but will return a string, not a character.


File option

Purpose of this pull request
close #5461 and #4572

unified option in file source/sink (source parameter delimiter update to field_delimiter)
update the doucment
a) update parameter name
b) refactor docs using unified format

Does this PR introduce any user-facing change?

How was this patch tested?

use e2e
Check list

[ ] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/seatunnel/tree/dev/docs
[ ] If you are contributing the connector code, please check that the following files are updated:

Update change log that in connector document. For more details you can refer to connector-v2
Update plugin-mapping.properties and add new connector information in it
Update the pom file of seatunnel-dist

[ ] Update the release-note.

So after this PR, seem like delimiter will not worked. This is unacceptable and will hinder users who need to upgrade. If we need to modify a configuration key, we should be compatible with the old configuration at the same time.

So I think you should answer this question.

Thanks @liunaijie .Waiting CI pass.


Line Chart : Legend does not show when only one series is selected out based on other slicers

For a Line chart , when only one series is selected , the legend does not show up. This is not an issue with other charts like Bar Charts - see attached image. This becomes confusing for the users when multiple slicers are present to understand which item does the Line map to.

@arthesh Thanks, we'll investigate and fix this problem.


Added a check tox env that check-manifest, flake8 and isort

(the latest not activated yet, tbc)
Added missing files to MANIFEST.in
Configured flake8 in setup.cfg to authorize 120 chars line-length, how
gentle !
Fixed numerous non-PEP8 compliant spots, in iota / test and examples
folder (ugly commenting of numerous useless imports to make sure it
doesn't break anything, which doesn't seem to be the case so far)
just realize I may have better done that from dev branch....

Hey guys.  Really appreciate your hard work on this!  This branch has drifted quite a bit, so I'd like to close this PR and propose a new course of action.
I've also started working on progressively migrating everything over to PEP-8; I should have that wrapped up by the end of the week.  Once that is wrapped up, let's switch focus to adding flake8 (and maybe mypy?) checks to .travis.yml and cleaning up any outstanding formatting issues, and then we can finally close #145 😺
I hate to discard all the hard work you've put into reformatting the code for PEP-8, but I think that the sheer scope of that undertaking was making the process take a lot longer than anybody wanted it to.  So, I'll tackle the boring stuff (reformatting the code), and if you're up for it, you can take on the interesting stuff (setting up automatic checks during the build process and addressing tricky warnings).


iirfilt_crcf_execute: how to change calculation method from df2 to df1

After browsing the source code, I found iirfilt_crcf_execute uses df2 method by default when filter format is sos. However, I would like to use df1 method in my case.
I came up with creating an iirfiltsos object instead of iirfilt but compiler complains about no such iirfiltsos object:
$ gcc iirfiltsos.c -lliquid -lm
iirfiltsos.c: In function ‘main’:
iirfiltsos.c:31:5: error: unknown type name ‘iirfiltsos_crcf’; did you mean ‘iirfilt_crcf’?
   31 |     iirfiltsos_crcf q = iirfiltsos_crcf_create(b, a);
      |     ^~~~~~~~~~~~~~~
      |     iirfilt_crcf
iirfiltsos.c:31:25: warning: implicit declaration of function ‘iirfiltsos_crcf_create’; did you mean ‘iirfilt_crcf_create’? [-Wimplicit-function-declaration]
   31 |     iirfiltsos_crcf q = iirfiltsos_crcf_create(b, a);
      |                         ^~~~~~~~~~~~~~~~~~~~~~
      |                         iirfilt_crcf_create
iirfiltsos.c:34:5: warning: implicit declaration of function ‘iirfiltsos_crcf_print’; did you mean ‘iirfilt_crcf_print’? [-Wimplicit-function-declaration]
   34 |     iirfiltsos_crcf_print(q);
      |     ^~~~~~~~~~~~~~~~~~~~~
      |     iirfilt_crcf_print
iirfiltsos.c:45:9: warning: implicit declaration of function ‘iirfiltsos_crcf_execute_df1’; did you mean ‘iirfilt_crcf_execute’? [-Wimplicit-function-declaration]
   45 |         iirfiltsos_crcf_execute_df1(q, x[i], &y[i]);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |         iirfilt_crcf_execute
iirfiltsos.c:48:5: warning: implicit declaration of function ‘iirfiltsos_crcf_destroy’; did you mean ‘iirfilt_crcf_destroy’? [-Wimplicit-function-declaration]
   48 |     iirfiltsos_crcf_destroy(q);
      |     ^~~~~~~~~~~~~~~~~~~~~~~
      |     iirfilt_crcf_destroy

(The code snippet is here: https://github.com/Cuda-Chen/liquid-dsp-practice/blob/master/iirfiltsos/iirfiltsos.c)
So I want to know if there are some methods to use df1 method by either creating an iirfiltsos object correctly or choosing df1 method when calling iirfilt_crcf_execute?

@Cuda-Chen I am afraid this is because the second order section API is missing from external header. Can you please see if this patch fixes your compilation problem.

@fsheikh The above patch fixes the problem and I successfully use df1 to execute.
Thanks for your help!


[Regression] - V2 - Project Console - When we delete Standalone CLA Group or Foundation Level CLA Group

Create CLA Group for Standalone project or Foundation Level CLA Group for project group
Delete the CLA Group
Observed that 404 error is returned while fetching CLA Groups
https://api-gw.dev.platform.linuxfoundation.org/cla-service/v4/api-docs#operation/listClaGroupsUnderFoundation

Merged PR: https://github.com/communitybridge/easycla/pull/2147. Return 200 empty list now.

Testing blocked due to #2148

CLAGroupDelete - 2143

No error is thrown to the user when CLA Group created for "HOME / TESTEASYCLA-BUGSTEST-001 / TOOLS / CLA / OVERVIEW"
Please refer the screencast attached.

Discussed with @pranab-bajpai  and verified, hence closing the issue.


Truncate deploymentStatus metrics after reporting stats

What this PR does / why we need it:
Delete deploymentStatus metrics after reporting stats
in order to avoid the error of excess grpc message size by accumulated deploymentStatus records.
Which issue(s) this PR fixes:
Fixes #4786
Does this PR introduce a user-facing change?: no

How are users affected by this change: no
Is this breaking change: no
How to migrate (if breaking change): no

I will remove the wip tag after discussing the solution for the issue #4857

@t-kikuc
[ASK] Is it OK for the Control Plane?
Just to be sure, I think it would be nice to check whether this change has any effect on the Control Plane as well.

The point is how the sent data is used on Control Plane 👀

deployment_status is used in the grafana-dashboard.
I'm keep investigating the effect of this change.
https://github.com/pipe-cd/pipecd/blob/7b1103d027fcdbc2468af60deb5da758fcc8f6ae/manifests/pipecd/grafana-dashboards/control-plane/overview.json#L406

Regardless of this change, when a piped reboots, stats in the Control Plane are rewritten to only newer deployments after piped's reboot.
That's because (1) stats in a piped are reset when the piped restarts and (2) whole stats of a piped in the Control Plane are overwritten by statsreporter (see below).
https://github.com/pipe-cd/pipecd/blob/7b1103d027fcdbc2468af60deb5da758fcc8f6ae/pkg/app/server/grpcapi/piped_api.go#L156
If this matters, we need to fix the data structure/algorithm of storing stats in the Control Plane's redis.

I'll open a PR of doc later!


feat: add profile type

Fixes Issue

Changes proposed

Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[ ] My change requires changes to the documentation.
[x] I have updated the documentation accordingly.
[x] All new and existing tests passed.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

Screenshots

Note to reviewers

@krishguptadev okay, but what happened?