Add CalciteSysQueryTest to enable some testing of bindable plans.

Fixes #XXXX.

Description

Fixed the bug ...
Renamed the class ...
Added a forbidden-apis entry ...

Release note

Key changed/added classes in this PR

MyFoo
OurBar
TheirBaz

This PR has:

[x] been self-reviewed.

@soumyava @kgyrtkirk @somu-imply it looks like this commit broke the build notMsqCompatible is not defined anywhere. Can we please revert this until this is fixed?

looks like the function was renamed in https://github.com/apache/druid/pull/14900

Yes this is being fixed in https://github.com/apache/druid/pull/15099. Will merge as soon as CI passes

The master should be back up as the PR is merged


Review robot_joint.cpp for duplicate code

As part of the review on #636, we noticed that there is a lot of duplication in the https://github.com/ros2/rviz/blob/ros2/rviz_default_plugins/src/rviz_default_plugins/robot/robot_joint.cpp file, particularly:
https://github.com/ros2/rviz/blob/2cfd04ed2af0072c985d76e52e3f776fb1bc6dbf/rviz_default_plugins/src/rviz_default_plugins/robot/robot_joint.cpp#L168
and:
https://github.com/ros2/rviz/blob/2cfd04ed2af0072c985d76e52e3f776fb1bc6dbf/rviz_default_plugins/src/rviz_default_plugins/robot/robot_joint.cpp#L215
We should probably review and combine those functions if possible.

This was solved by #702, so closing.


Fix the check for ExecutionPolicy scope

Under certain terminals like cmder, Get-ExecutionPolicy will show the scope of Process.  This fix explicitly checks the scope of CurrentUser.
Signed-off-by: Ben Dang<EMAIL_ADDRESS>

Makes sense. Thanks 👍

How does it make sense though? If an ExecutionPolicy for Process is defined, it takes precedence over the policy for CurrentUser.
Because of this patch, I'm currently facing an issue with my Azure Pipeline manifest update checker. Azure starts Powershell processes with an Unrestricted policy on the Process Scope, the rest of the scopes are undefined. In my opinion, that should absolutely be enough for scoop and this patch should be reverted.

This https://github.com/lukesampson/scoop/commit/a3cae34b13ac7af739eee76fd1bdc886bc9f9fe8 should work for both cases.

Thanks, it does


Irrefutable Record Pattern Lowering

Record patterns are lowered into a series of nested pattern matches on
record accessors corresponding to the original.
match foo with
| { x = k, y = l } -> ...

=>
match foo.x with
| k -> match foo.y with
  | l -> ...

This means that the optimiser has more stuff do to but the Core grammar is less crap.

This is so behind I'm not even going to try merging it.


[Question] What is the Hero Card Attachment limit for a message in MS Teams?

Sorry for the question; I tried to find this in documentation online but could not find it. I know there is a hero card attachment limit for Teams because I was getting an error on the botframework website every so often saying I exceeded it, but I can't find out what the max number of attachments allowed for a message in Teams actually is. I'd like to add checks in my code so that I don't exceed the limit.
My code is simple. I read from a database and display a # of hero cards; this # depends on the amount of information pulled from said database:
var msg = context.MakeMessage();
var HeroCardList = new List<Attachment>();
HeroCardList = getDatabaseInfo("name", "date");
foreach (Attachment card in HeroCardList) {
    msg.Attachments.Add(card);
}
await context.PostAsync(msg);

Thanks for the help.

@megancooper  Hi are you getting different behavior in the emulator or other channels?  Is this only for teams?  What type of numbers are we talking about for attachments?  10's 100's 1000's?

Additionally I am unable to get more than 7 hero card attachments to display on MS teams.  Is this the same number you are noticing failure at?

@JasonSowers in the 10's no more than 15. And yes 7 is the number of cards it seemed to give me an exception for. Is this just an MS Teams thing/quirk?

My guess is yes since we are both seeing the same number, we will have to wait for someone from the MS teams team to confirm.

@megancooper did this resolve itself?

@JasonSowers I resolved it. I'm guessing 7 is the limit, so I just added code to make sure no message went over 7 attachments:
var msg = context.MakeMessage();
msg.AttachmentLayout = AttachmentLayoutTypes.Carousel;

var messages = new List<IMessageActivity>();

int cardCount = 0;      // Teams only allows 7 cards per carousel message

var lastList = cards.Last();
var lastCard = lastList.Last();

foreach (List<Attachment> list in cards)
{
     foreach (Attachment card in list)
     {
          bool resetList = false;
          cardCount++;
          if (cardCount == 7)
          {
               cardCount = 0;
               messages.Add(msg);
               msg = context.MakeMessage();
               msg.AttachmentLayout = AttachmentLayoutTypes.Carousel;
               resetList = true;
          }
          msg.Attachments.Add(card);

        // Add last few messages
        if (card.Equals(lastCard) && !resetList)
        {
            messages.Add(msg);
        }
    }
}

return messages;


Can support aac codes, which payloadtype=104?

I test on a Hik camera, but can't get the audio works, so please support the aac codecs, thank you!
here is the stream info:
Input #0, rtsp, from 'rtsp://xxx:xxxk@xxxxxx:40052/Streaming/Channels/701':
  Metadata:
    title           : HIK Media Server V4.30.210
    comment         : HIK Media Server Session Description : standard
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: h264, none, 90k tbr, 90k tbn, 180k tbc
    Stream #0:1: Audio: aac, 16000 Hz, mono, fltp

the original audio stream is:  " Stream #0:1: Audio: aac, 16000 Hz, mono, fltp"
it seems not h264 standard aac codecs, it will work on webrtc ?
I use pion v2.2.26, it only has
	DefaultPayloadTypePCMU = 0
	DefaultPayloadTypePCMA = 8
	DefaultPayloadTypeG722 = 9
	DefaultPayloadTypeOpus = 111
	DefaultPayloadTypeVP8  = 96
	DefaultPayloadTypeVP9  = 98
	DefaultPayloadTypeH264 = 102

and my HIK media server's audio acc payloadtype is 104, here is rtsp despcrtion
m=audio 0 RTP/AVP 104
 i=Audio Media
a=rtpmap:104 MPEG4-GENERIC/16000/1
a=control:trackID=audio
a=fmtp:104 profile-level-id=15; streamtype=5; mode=AAC-hbr; config=1408;SizeLength=13; IndexLength=3; IndexDeltaLength=3; Profile=1;
b=AS:10
a=Media_header:MEDIAINFO=494D4B48020100000400000101200210401F00000000000000000000000000000000000000000000;
a=appversion:1.0

the number "104" seems is dynamic, but it can be identify by "MPEG4-GENERIC"

Hey @yourchanges
WebRTC doesn't support AAC unfortunately. You will have to transcode to Opus or PCM.
We could add support to github.com/pion/rtp or maybe add a library that makes transcoding easier, but we can't play AAC in the browser.

Get it，Thank you very much！
Sean DuBois @.***>于2021年7月16日 周五23:15写道：

Hey @yourchanges https://github.com/yourchanges
WebRTC doesn't support AAC unfortunately. You will have to transcode to
Opus or PCM.
We could add support to github.com/pion/rtp or maybe add a library that
makes transcoding easier, but we can't play AAC in the browser.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/pion/webrtc/issues/1888#issuecomment-881524179, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AADYLEXZKDV3LLFXOICQBXTTYBEKJANCNFSM5APH7AUQ
.

@Sean-Der
Could you add support to github.com/pion/rtp or maybe add a library that makes transcoding (aac->pcm) easier?

WebRTC doesn't support AAC unfortunately. You will have to transcode to Opus or PCM.

Do you have a source on WebRTC not support AAC? I have seen that in a lot of places, but as far as I can tell, AAC support for WebRTC is 100% up to the browser and not required to be supported. Likely because it is not an open codec.
MDN actually says multiple times that the docs they list are only the required ones and that browsers can choose to add more.

This guide reviews the codecs that browsers are required to implement as well as other codecs that some or all browsers support for WebRTC.

The list above indicates the minimum required set of codecs that all WebRTC-compatible endpoints are required to implement. A given browser may also support other codecs; however, cross-platform and cross-device compatibility may be at risk if you use other codecs without carefully ensuring that support exists in all browsers your users might choose.

You can also see on MDN's page for AAC or caniuse that AAC is supported in nearly every browser.

Hey @AngellusMortis
rfc7874 has Opus, PCMA/PCMU and CN  as REQUIRED.
Nothing is stopping WebRTC agents from supporting AAC. However libwebrtc the implementation used in every web browser does not have AAC
If you want to do Pion <-> Pion you can specify AAC in the MediaEngine and send the packets.

@Sean-Der thanks for the response. That really helps me fill in the part I was missing. One of my co-workers who knows a bit more about WebRTC also pointed the same thing out.
Browser's WebRTC implementation is 100% separate from their own media implementations so it cannot reuse system codecs and/or other codecs supported from elsewhere. That definitely seems maddeningly annoying.

@AngellusMortis best of luck on what you are building! I have seen users do AAC -> Opus using cgo, nothing in Pure Go that I know of unfortunately.
If you want to chat/throw ideas my way I am always around in Slack. Best of luck with your project :)

@Sean-Der  Is there any example to transcode an audio channel (AAC) to OPUS/PCM?


workaround for esp_wifi_set_channel when connected to AP (IDFGH-8957)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report
I'm working on ewfactoring of an old firmware based on IDF <3.3
The situation that cause the issue is:
Esp connected in STA mode to AP and use a dynamic channell
I need to change the channel for a short period using
esp_wifi_set_channel
and send a message, in my case esp-now packet on specific channel and back to the ap channel
I've read that this situation in recent IDF version is not permitted when STA is connected to AP, but this new situation casuse a big impact to the project.
Now I need to know if there is a workaround to permitt to change the channel in IDF 4.x or better 5
I read a lot of messages about the issue but without a clear indication about the possibility.
Thanks
(I'm sorry for posting in various channels, but I have a big project on hold for this issue and I have to communicate something clear to the customer)

@davnec Do you mean that you ESP-NOW devices are on channel A, and the STA connects to AP on channel B, you need to change channel to A to send ESP-NOW data, and then change back to channel B?

Thanks for reporting, will close due to short of feedback, feel free to reopen with more updates.


Support SetHeaders EIP introduced in Camel 4.3.0

https://github.com/apache/camel/blob/main/core/camel-core-engine/src/main/docs/modules/eips/pages/setHeaders-eip.adoc

This is not designed to be an action, because we won't know the number of headers to set ahead of time, or at least we cannot express that in a declarative way.


Partial file download via HTTP Range header suffix doesn't work

I need to download last 5000 bytes of files in my application. Usually this can be implemented by suppling header into the download request:
Range: bytes=-5000
But at the moment OneDrive API ignores the Range header in this form, server returns this for one of my files:
200 OK
Content-Length: 93816

This is not correct - 206 status code should be returned along with only requested bytes.
If I download with Range: bytes=0-5000 - it works as expected, returning:
206 OK
Content-Length: 5001

But this is not what I can use, as I don't usually know file size and can't really request it upfront with a separate request.

Hi @igokoro. I couldn't find anything in the HTTP/1.1 RFCs about being able to do a range request like you mentioned. Do you have a link to an RFC or other supporting documentation that shows negative range values being implemented like that?
Our implementation is correct according to the RFCs, if the value of the range header is not understood, the server is supposed to ignore the range header completely and act as though it wasn't there, which is what we're doing by returning the entire file with an HTTP 200 OK response.
You can work around this, as you said, by querying for the item's metadata first to get it's size, and then requesting a range like Range: {item.size}-4999-{item.size} where you replace {item.size} with the value you get from the metadata. Alternatively you could do a HEAD request first to get the Content-Size header and then do the same sort of math to calculate the proper range.

It's in http://tools.ietf.org/html/rfc7233#page-8 (or rather the definition of byte-ranges-specifier in http://tools.ietf.org/html/rfc7233#page-5). This behavior is a limitation on our side that we'll need to drill in to further.

I've added this to our backlog. @igokoro can you add this to the OneDrive User Voice page so the community can help prioritize which requests we should focus on fixing?

Posted item for this issue on OneDrive User Voice: http://onedrive.uservoice.com/forums/262982-onedrive/suggestions/7484185-implement-support-for-downloading-a-number-of-byte


VTU-next renders additional markup

Hi folks! 👋
When trying to port Vue Testing Lib to Vue 3 (and thus vtu-next), I've encountered several issues regarding additional markup rendered by vtu-next.
Some context: Vue Testing Lib provides container and baseElement keys, to help testing scenarios where a div is not a valid DOM wrapper element (imagine a table with rows and columns). I first attempted to leverage attachTo (source), but couldn't prevent snapshots from breaking. I'm not that concerned about snapshots per se, but rather the implications of wrapping every rendered component with an additional div with custom attributes:

I'm not entirely sure we need to mount a div with id="app" – looks like one of the first iterations we did when started working with vtu-next, but I'd say it could go now: https://github.com/vuejs/vue-test-utils-next/blob/master/src/mount.ts#L196-L197
Could we remove the additional markup? This markup will likely impact on any snapshot-based testing done with VTU, and also tools that traverse (poorly, I grant you that 😉) the DOM.
Thanks!

Hm, Vue needs something to mount on, right? Does testing-library use attachTo by default?
I agree we probably do not need the id.

Hm, Vue needs something to mount on, right? Does testing-library use attachTo by default?

I've tried several combinations of attaching to the container, the baseElement, or a totally unrelated element, without success. Until now (Vue 2), we attach to the container, which makes total sense.
Now, if I do something like the following, tests pass:
const wrapper = mount(Component, { attachTo: container })
// here, container is the same thing it was in Vue Testing Lib for Vue 2

function unwrap(node) {
  node.replaceWith(...node.childNodes)
}

unwrap(wrapper.parentElement) // this removes the additional "data-v-app" div node

but still feels a bit hacky?

One difference is that Vue 2 did not have top level fragments; Vue 3 does. I think this is why we have the top level node (maybe).

Is this still an issue? Seems you have a fix in testing lib - and #225 removes the useless id.

Not an issue anymoe, I decided to unwrapp the wrapper element (source) so the snapshots remain as they were :) Closing this up!


[Feature] [ALERT-9406]add new properties to alert class

Purpose of the pull request
add new properties to alert class
close https://github.com/apache/dolphinscheduler/issues/9406
Brief change log
add new properties to alert class
Verify this pull request
I have tested locally.

@caishunfeng PTAL , much appreciated.

Codecov Report

Merging #9408 (4c2899e) into dev (4a29c6a) will decrease coverage by 0.26%.
The diff coverage is 41.26%.

:exclamation: Current head 4c2899e differs from pull request most recent head cdfc628. Consider uploading reports for the commit cdfc628 to get more accurate results

@@             Coverage Diff              @@
##                dev    #9408      +/-   ##
============================================
- Coverage     39.98%   39.71%   -0.27%
- Complexity     4375     4394      +19
============================================
  Files           822      825       +3
  Lines         32924    33198     +274
  Branches       3656     3680      +24
============================================
+ Hits          13165    13185      +20
- Misses        18532    18787     +255
+ Partials       1227     1226       -1

Impacted Files
Coverage Δ

...lugin/alert/wechat/WeChatAlertParamsConstants.java
0.00% <ø> (ø)

...uler/plugin/alert/wechat/WechatAppChatMessage.java
0.00% <0.00%> (ø)

...cheduler/plugin/alert/wechat/WechatAppMessage.java
0.00% <0.00%> (ø)

...inscheduler/api/controller/ExecutorController.java
40.00% <ø> (ø)

...cheduler/api/service/impl/ExecutorServiceImpl.java
41.96% <ø> (ø)

...r/api/service/impl/ProcessInstanceServiceImpl.java
60.22% <ø> (-0.12%)
:arrow_down:

...er/api/service/impl/TaskDefinitionServiceImpl.java
24.01% <ø> (+0.05%)
:arrow_up:

.../org/apache/dolphinscheduler/common/Constants.java
80.95% <ø> (ø)

...che/dolphinscheduler/common/enums/AlertStatus.java
0.00% <0.00%> (ø)

...pache/dolphinscheduler/common/enums/AlertType.java
0.00% <0.00%> (ø)

... and 25 more

Continue to review full report at Codecov.

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


Show total balance of all accounts

I think it could be worrisome for someone who does it's first mix to see it's balance moved into 4 new accounts.
If there was a total panel it would be reassuring.
I don't know where it would be best displayed,
The bottom status section is the only thing that's visible on any account but it's a local privacy risk.
If there is enough other common information to be displayed it could be in a separate right tab page.
It could also be right next to every balance,  but there's not much place there.

I monitor my Join Market accounts via Sparrow and it would be nice to have a "Summary" tab for the wallet with totals from the different accounts.

I think that each wallet should have a total for all accounts summarized, AND Sparrow wallet should show the total for all open wallets and all accounts in those open wallets.
Also, there should be some options to differentiate the total (hot and cold wallets), total watching only (cold storage), total multi-sig, total with private keys or a currently connected hardware wallet (total sendable right now), or total with private keys (hot wallets). This might be best in a special summary tab. Also, it would be nice to allow selecting custom groups to summarize the total of. With all this data on a separate summary tab, it might be really helpful to allow the custom groups to also show the transaction history and historical balance for the custom groups, in addition to the current total.
The purpose here is to allow quick assessment that there are no lost coins, and to understand if your balance is growing or shrinking. Also, it allows a quick assessment of what percentage of funds are secured in cold storage vs being a hot wallet so that you know how safe things are.
These should be optional features that can be disabled if someone desires more privacy from onlookers sharing a workspace.

Yes, every major software wallet (i.e. Trezor suite, ledger live, bitbox app...)  has a summary screen with the sum of the total balance of all accounts.
The more advanced you make use of bitcoin, the more accounts you use, the more you need a summary screen.
Thanks

Added in f175139f. The Wallet Summary dialog is available from the View menu:


Fix AntaresFilterDevKit notebook outdated documentation

Hello from the ANTARES dev team!
The AntaresFilterDevKit notebook needs some updates as follows (mostly documentation-related):

Metadata: __edited__ and __version__ fields
Table of contents typos
"Structure of a Filter" section code uses now REQUIRED_LOCUS_PROPERTIES, REQUIRED_ALERT_PROPERTIES and REQUIRED_TAGS
Links to external documentation updated to the current ANTARES documentation
Small typo in the last section which should say ERROR_SLACK_CHANNEL

I was not sure of how to update the HTML file associated to the notebook. What I did was to click (inside Data Lab) on the notebook in the file browser at the left side . Then click on File -> Export Notebook As -> HTML. Let me know if it's ok or if I need to update it differently.
Thanks!

Hi @rnikutta and @jacquesalice,
Thank you for your thorough review! The requested changes are definitely going in the direction of having a better notebook for the community.
We discussed some of the changes with the team and I'd like to mention a couple of things to you:

The warning messages that you see in different places are due to pandas code that we're using in the DevKit and also to the observability tool we're currently using in ANTARES. For the former, we could fix it but we'd need to prioritize it first. For the latter, we'll be working on changes to the observability tool in the near future that should remove the jaeger warning. For both cases, we don't think it's something we can have ready soon. Please note that most of these warnings are present in the current notebook as well (they were not introduced with this PR). So if it's ok with you, we could leave them temporarily until the mentioned tasks are done
The https change in the URL of ANTARES will be solved in the next production release (which should be done in the next week or couple of weeks)
We agree to reduce the n parameter passed to run_many to n = 10

I'll be working on the other requested changes, but since we need a new ANTARES production release to fix all of them, I was thinking about re-running the notebook after that release, commit the changes and then re-request your review.
Let me know if this works for you 🙌🏼

@sivicencio that sounds good!

Hi @rnikutta and @jacquesalice,
After some time I added the requested changes and this PR is ready for review again.
Thank you.

@jacquesalice Glad that you could ran that cell! The error was probably related to some test data we got ingested by error in ANTARES, and which was likely incomplete. That was solved yesterday so it makes sense with the timing. Let me know anything else you encounter!

I agree with Robert's edits and have no other suggestions

Great, thanks to both of you for your review, @rnikutta and @jacquesalice.
I pushed one more commit with the requested changes. However, I was not able to find the two empty cells in section 4.3. Let me know if I'm missing anything.


Can't install generator

> $ npm install -g generator-koa-angular
npm ERR! Darwin 14.5.0
npm ERR! argv "node" "/usr/local/bin/npm" "install" "-g" "generator-koa-angular"
npm ERR! node v0.12.7
npm ERR! npm  v2.13.4

npm ERR! shasum check failed for /var/folders/ld/7w3vtsxs3g1_hsxmzvz11qqr0000gn/T/npm-1457-6756e79f/registry.npmjs.org/generator-koa-angular/-/generator-koa-angular-0.1.0.tgz
npm ERR! Expected: 5dcc6690a8a2e82ed520c141051c81e5ead5daec
npm ERR! Actual:   f53b590a85ac3ac5cd809934e78f26d21ba1c054
npm ERR! From:     https://registry.npmjs.org/generator-koa-angular/-/generator-koa-angular-0.1.0.tgz
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/ryan/npm-debug.log

I did a little research into this issue (most notably this npm issue), and it seems that this may be due to network issues.  Could you try an npm cache clean and then try reinstalling?
If that doesn't work, this is likely due to a particular version of node/npm.  Could you include the version of node that you're using (node -v) and npm (npm -v) and the npm-debug.log that npm outputs?

Sure I'll try it tomorrow.
On Wed, Sep 2, 2015 at 03:19 Douglas Wade<EMAIL_ADDRESS>wrote:

I did a little research into this issue (most notably this npm issue
https://github.com/npm/npm/issues/2701), and it seems that this may be
due to network issues. Could you try an npm cache clean and then try
reinstalling?
If that doesn't work, this is likely due to a particular version of
node/npm. Could you include the version of node that you're using (node -v)
and npm (npm -v) and the npm-debug.log that npm outputs?
—
Reply to this email directly or view it on GitHub
https://github.com/prekolna/generator-koa-angular/issues/1#issuecomment-136973751
.


rendering issues of images

I have a kotlin notebook using kotlin kernel installed using jbang install-kernel@jupyter-java kotlin and I'm getting some weird rendering issue.
here it is in iterm:

and here it is in vscode (where it works)

Hi - thanks for reporting.
The pixelated version of the image you are seeing below the plot is the text mode fall-back image, used when the graphical version cannot be displayed. Normally the terminal graphics are overlayed above the fallback graphics. It looks like there is an issue with aspect ratios here, as the ansi-art image is stretched vertically compared to the terminal graphic.
What terminal are you using?
Does this occur with all images, or just plots, or just this plot?
Does this happen with all kernels or is it specific to kotlin kernel?
Are you able to share the notebook?

 I can try test some more tomorrow.

Does this happen with all kernels or is it specific to kotlin kernel?

kotlin definitely. just tried with a python and here it did not seem to fail.

Are you able to share the notebook?

yes. see https://github.com/jupyter-java/jupyter-java-examples/blob/main/notebooks/kotlin-kandy-df.ipynb

Hi,
Thanks for the additional details and for sharing the notebook.
It turns out that figures produced by kotlin kernel are stored as SVG files inside a HTML cell output, and there were a couple of bugs with the way I identify the size at which to render SVGs.
I've made a few fixes in the dev branch which should address this, so the notebook you shared in now rendering correctly (at least for me!):

You can run euporie from the dev branch if you want to check if this works for you:
uv tool run --from git+https://github.com/joouha/euporie.git@dev euporie notebook https://raw.githubusercontent.com/jupyter-java/jupyter-java-examples/refs/heads/main/notebooks/kotlin-kandy-df.ipynb

Otherwise I'm planning to make a new release with these fixes shortly 👍


Add New Relic as remote write endpoint

Can you add the DCO?
Also remote write URLs are not considered secret, so this will expose the license key.

@brian-brazil It looks like John included the signed off by line in the commit. Do you need more for the DCO than that?

We are aware that the remote write URLs are not secret but do plan to use this mechanism for now.

Thanks!
It'd be better to use basic auth or bearer tokens, which would keep the secret secret. URLs in general are not secret.

For future reference, New Relic has since added support for remote write authentication via bearer tokens.


feat(Logic/Equiv): involutions are inverses of themselves

This lemma is ported from to lean4 from Kyle Miller's repo. It is used while proving a lemma about combinatorial maps.
Co-authored-by: Kyle Miller<EMAIL_ADDRESS>

!bench

Thanks! :tada:
bors merge


Apache Kafka attribution

Type of change

Documentation

Description
Improve Apache Kafka attribution in the repo's readme.
Additional Context
Why are you making this pull request?
Checklist
Please go through this checklist and make sure all applicable tasks have been done

[ ] Write tests
[ ] Make sure all tests pass
[ ] Review performance test results. Ensure that any degradations to performance numbers are understood and justified.
[ ] Make sure all Sonarcloud warnings are addressed or are justifiably ignored.
[ ] Update documentation
[ ] Reference relevant issue(s) and close them after merging
[ ] For user facing changes, update CHANGELOG.md (remember to include changes affecting the API of the test artefacts too).

I pushed up https://github.com/kroxylicious/kroxylicious/pull/1410 before seeing this was open which was based on a search and replace approach.


Added backers and sponsors from OpenCollective

Now open collective backers and sponsors will appear on the readme.

Thanks Pia!


Fix timezone-specific Events tests

The real fix would be to move away from timestamps with timezones in our database.
According to docs table.datetime uses timezones, so a migration that changes those columns should fix the issues: https://knexjs.org/guide/schema-builder.html#datetime

You're right - I'm gonna do that for the whole codebase, because we have to cast to utc in other places as well.


Vidushi/dashboard sections

Dashboard Sections
Issue Number(s): #34
What does this PR change and why?
Added components for different screens on dashboard
Checklist

[ ] Created date selector dropdown
[x] Added optional info icon in graphs
[x] Updated % change position in LineChart
[x] Create BooleanBox component
[x] Create Math Analytics component
[x] Create Reading Analytics component
[x] Create Writing Analytics component
[x] Create Trivia Analytics component

I haven't finished the date selector dropdown. It exists, but its design does not match the design on figma. I would need to significantly change Dropdown.tsx or copy its code and make changes in DateSelector. Let me know however you think is better.
Critical Changes
None
Related PRs
None
Testing

merged to merge-demo-day👍


Add event for core config

Prevent demo to execute unwanted config changes

We also should improve the documentation afterwards.

Yes found more "undocumented" events...


Discuss with lawyer

To discuss what URL shortener is and answer any questions our lawyer may have. They want to know how the tracking of authorized users functions

[x] Find availability for Cheyenne + Sharly
[x] Propose dates to lawyer
[x] Schedule meeting to discuss

Send dates to our lawyer for a meeting to discuss the product, waiting for their response

Discussed with our lawyer today, they'll follow up with an email with their thoughts


Allow disabling creation of the HPA in raw deployment mode

/kind feature
Describe the solution you'd like
Allow disabling creation of the HPA in raw deployment mode.
I would like to be able to control the scaling of the deployment created by my KServe inference service with an external tool (KEDA). In order to support this use case I need a way to disable KServe's creation of the HPA. I was thinking adding a new autoscaler class called none which disables the creation of any resources by the autoscaler reconciler.

Any updates on this? We are facing the same issue

/assign @andyi2it


TC about US fix

Change about us to link to correct md file

Codecov Report

Merging #309 (cb317c3) into master (ba53b8c) will increase coverage by 1.46%.
The diff coverage is 73.72%.

@@             Coverage Diff              @@
##             master     #309      +/-   ##
============================================
+ Coverage     72.15%   73.62%   +1.46%
- Complexity      399      695     +296
============================================
  Files            70      104      +34
  Lines          1232     2157     +925
  Branches        125      223      +98
============================================
+ Hits            889     1588     +699
- Misses          311      535     +224
- Partials         32       34       +2

Impacted Files
Coverage Δ

src/main/java/seedu/placebook/AppParameters.java
75.00% <ø> (ø)

src/main/java/seedu/placebook/Main.java
0.00% <ø> (ø)

src/main/java/seedu/placebook/MainApp.java
0.00% <0.00%> (ø)

...main/java/seedu/placebook/commons/core/Config.java
95.45% <ø> (ø)

.../java/seedu/placebook/commons/core/LogsCenter.java
78.37% <ø> (ø)

...in/java/seedu/placebook/commons/core/Messages.java
0.00% <0.00%> (ø)

...ain/java/seedu/placebook/commons/core/Version.java
95.00% <ø> (ø)

...java/seedu/placebook/commons/core/index/Index.java
100.00% <ø> (ø)

...ok/commons/exceptions/DataConversionException.java
100.00% <ø> (ø)

...book/commons/exceptions/IllegalValueException.java
100.00% <ø> (ø)

... and 105 more

Continue to review full report at Codecov.

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


Every number "56" is delete of the string

Hello good mornign.
I started to use your module in Nodejs and everything works fine but I just noticed that if you put the numbre "56" is deleted, for example if some telefon number like this "55-56-89-85" is set to be sanitized the number "56" will be deleted.
var perfectExpressSanitizer = require("perfect-express-sanitizer")

let elementClean = perfectExpressSanitizer.sanitize.prepareSanitize("55-56-89-85", { xss: true, noSql: true, sql: true, level: 5 });

console.log(elementClean)

OUTPUT: "5589-85"
Maybe I am doing something wrong?

Hello
thanks for your helpful comment,
you're right, there was a problem when input has 56 number that fixed in new version 1.0.10


Issue with properties from env settings

When updating/deploying sso settings by themselves, the settings for the SSO groups aren't being pulled from the env files and instead defaulting to "BizTalk Application Users" and "BizTalk Server Administrators". When looking through the console for the deploy, i can't seem to see "SetPropertiesFromEnvironmentSettings" being called at all.
Any suggestions/help would be appreciated.
Thanks
This work item was migrated from CodePlex
CodePlex work item ID: '11185'
Vote count: '1'

[expertaaron@2017-11-08]
I am having the same issue. The workaround I came up with was to redefine the DeploySSODependsOn property (to include SetPropertiesFromEnvironmentSettings) so that the "Update SSO from settings spreadsheet" menu item in Visual Studio pulls the SsoAppUserGroup and SsoAppAdminGroup properties from the spreadsheet instead of defaulting them.

      Bootstrap;
      InitializeAppName;
      GetSoftwarePaths;
      ExportSettings;
      CustomPostExportSettings;
      SetPropertiesFromEnvironmentSettings; <--Add this line (without this comment)
      InitSettingsFilePath

Hope this helps.


Adding new host gives Internal Error

I use Nginx proxy manager as a container in Proxmox.
I have added different hosts before but when i try to add a new host, i get the following error:
Internal Error
It doesn't give any other information so i would like to check the logs.
When i login in Proxmox and start the console i am logged in as
root@nginx
But i cannot find any folders with logs.
command "ls" gives nothing but when i "cd" and double tab i see this:
./ ../ .cache/ .config/ .local/ .npm/
What am i doing wrong?

No one?

Have you tried to learn something about Docker and ways to achieve files inside it?

Not really because i don't have a lot of experience in this. I followed the steps to create the container and run in but don't know how to access files in it.
Are you willing to help or put me in the right direction?

docker exec -it container-name sh
Would give you a prompt in the container, haven't installed NGINX Proxy so don't know where the logs are, would assume somewhere in /var/log

Thank you but where do i run this command? In proxmox i added the container so the container is already running in proxmox. I can use the console within the proxmox container but that gives me the result listed above


Broken link to discourse forum

https://charm4py.readthedocs.io/en/latest/contact.html has a link to a forum, which is https://charm.discourse.group/.
Clicking on it yields

unable to connect
Firefox can’t establish a connection to the server at charm.discourse.group.

Thank you for pointing this out. We will switch to GitHub 'discussions'  as soon as that feature is available. For the time being, please use the issues for communication.
Regarding the other two issues that you opened, we will get back to you as soon as possible (we are a bit short-staffed over the summer).


Feature/fetch and display region specific restaurants on home view

[x]  Update the merchant fakeDataPopulator code to generate the merchants (as-is) under a specific region. We'll do it for cape town only for now.
[x]  Build the LargeMerchantItem in the box_ui project
[x]  Add the LargeMerchantItem into the box_ui example to show how it'll look
[x]  Add the function in the FirestoreApi to get the merchants for a region when landing on home
[x]  Display that list through the ViewModel using a FutureViewModel
[x]  Show a busy indicator (just a basic CircularProgressIndicator),

Sorry for the pictures😂
It's from faker API I'll fix it later

Done


Extension disables tab key

With this extension enabled, pressing the tab key in a document causes the "Activating Extensions..." message to appear in the status bar, but nothing else. Normally tab key inserts/increases indentation, but with this extension enabled the tab key does nothing in terms of editing the document.
I've tried using both v0.6.0 and v0.6.1 of the extensions, same effect.
I'm using the OSS build of VS Code on Archlinux.
Code 1.70.2
Electron 18.3.9

Strange.  I don't see this behavior, nor do I see what could be causing it.  I've tried both the marketplace version on windows and the oss build in cocalc.
So two thoughts:

Does the extension every finish activating?  It should activate as soon as you open a .ptx file.  You could also try the PreTeXt-tools: refresh targets list which would activate the extension.
Could there be another extension of setting you have that is conflicting somehow?  In VS Code settings, search on "tab" and see if anything looks fishy.

Is this still an issue in the new releases?  I've done some refactoring, so I hope the problem has gone away.

Yes, it is still an issue. I've had a chance to investigate a bit further: the issue only arises when the following are both true:

the pretext-tools extension is enabled
the setting "emmet.triggerExpansionOnTab": true is present in settings.json

I've tested with both the OSS build of Code and also the linux-x64 binary of Visual Studio Code provided by Microsoft. Same result in both.


Fix issue #226 (screenshare color in linear space)

The pull request is to fix issue #226 : The color of shared screen displayed will become brighter than the original screen if the color space (Player Settings -> Other Settings -> Color Space) is set to linear,
This is because in linear color space, screen texture is sent in sRGB but received as RGB. It seems not possible to set the texture being sent to be RGB (may be it is done in the blackbox of Agora SDK), so I think the only available fix is to convert sRGB to RGB on the receiving side.
The issue only occurs when running in browser. It doesn't occur when running in Editor since the receiving source code of Editor case and browser case are different.
When running in Editor, the texture is loaded into CPU memory by Unity API. Therefore, sRGB->RGB conversion should be automatically peformed by Unity when the texture is sent to shader.
https://github.com/AgoraIO-Community/Agora_Unity_WebGL/blob/63a037f159e71fe24e274a2a15d7bac2dcd167f4/Assets/AgoraEngine/Scripts/AgoraGamingSDK/videoRender/VideoSurface.cs#L237

Very nice!  Thank you for your contribution! Highly appreciated!


modify migration file generator task name

Fixes #
This pull introduces/changes:

Fix the namespace of migration generator in docs

Codecov Report

Merging #1625 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1625   +/-   ##
=======================================
  Coverage   93.91%   93.91%
=======================================
  Files         126      126
  Lines        5735     5735
=======================================
  Hits         5386     5386
  Misses        349      349

Continue to review full report at Codecov.

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

@shu-bc would you please comment on your action?


dragonflybsd complete ucontext debug code.

r? @JohnTitor
(rust-highfive has picked a reviewer for you, use r? to override)

@bors r+

:pushpin: Commit 67e99d08a488260a391b258ee809ff93e8a8234b has been approved by JohnTitor

:hourglass: Testing commit 67e99d08a488260a391b258ee809ff93e8a8234b with merge 6198cfdb28b3bf95111a7fd8f15d3e97a1ef29ed...

:broken_heart: Test failed - checks-actions


feat(convert): Implemented the handling of file copy

I implemented a new feature to copy files from simulation type template directory to the simulation directory generated by Simput.

Thanks @jourdain !


How to style Select component's label

I want to style select component's label bit different than normal input. I was ablt to do that for Autocomplete but I don't have any selector for select component's label.
Note: I want to style it on component level and not page level.
Please guide me if I'm missing something.

This is unclear to me, please provide some image of the ui that you would like to achieve so that other people can suggest the solution.

Hello @siriwatknp,
Here is codesandbox, where I have small selects and you can see labels misaligned.
current css is
transform: translate(12px, 16px) scale(1);
which i think should be
transform: translate(12px, 13px) scale(1);
I just want to fix small size select component's label alignment globally and not just on that page. Also changing select alignment should not change any other input alignment.
I don't have any wrapper class or size class on label using which I can style it.
Hope I'm able to explain the issue. Let me know if need more details.

Hello @siriwatknp,
Here is codesandbox, where I have small selects and you can see labels misaligned.
current css is
transform: translate(12px, 16px) scale(1);
which i think should be
transform: translate(12px, 13px) scale(1);
I just want to fix small size select component's label alignment globally and not just on that page. Also changing select alignment should not change any other input alignment.
I don't have any wrapper class or size class on label using which I can style it.
Hope I'm able to explain the issue. Let me know if need more details.

In the dev tool, you will see that the label class is MuiInputLabel-filled.

MuiInputLabel represent the component
filled represent the slot

You can use global theme like this
import { createTheme, ThemeProvider } from '@material-ui/core/styles';

const theme = createTheme({
  components: {
    MuiInputLabel: {
      styleOverrides: {
        filled: {
          transform: 'translate(12px, 13px) scale(1)',
        }
      }
    }
  }
})

For more detail about theming, take a look at this documentation

But it will also change other input label styling as well. I just want to change select's label and not for other input's or autocomplete component. According to your suggestion it will change for all input component.

@vrushank The InputLabel component is rendered outside of the Select component. So you can customize by any other means.

So let's say I want to style Label for Input, select and autocomplete differently for all comoonents globally, then how should I approach?

@vrushank

input I would customize .MuiInputLabel-root directly
autocomplete. I would customize .MuiAutocomplete-root. .MuiInputLabel-root
select. I would wait for #21782 to land and apply 2.


MLife Questions

Discussed in https://github.com/OpenFAST/openfast/discussions/1691

Originally posted by lt72884 July 19, 2023
I have now completed the tasks of creating a turbsim.bts file that works. I have tested the .bts file in my 5MW_LAND_DLL_WTURB.fst and it works great. Thank you so much for all the help. I am very grateful.
Now that i have the one outb file and can view it in matlab and produce the plots. I would like to use MLife next for fatigue
I have installed Mlife and i have the documentation. What do i need to do specifically in Mlife to have it read the .outb file and calculate the fatigue and cycles to failure.

Do i need to have any of the mlife files in the 5MW_LAND_DLL_WTRUB folder?
2.Do i need to edit any files and if so, what are the file extension endings fo those files?
What code command do i need to run in matlab to use mlife and calculate values?
Once values are calculated, how do i view them?
Is there by chance a video or teams meeting or demonstration on Mlife that could help me?

thanks for all the help thus far. It is really appreciated.

Dear @LIUYUXIN-SA,
It seems like you post the same questions form #1691.  I would say that these questions were already answered in that Discussion.  The MLife user and theory documentation are your best source of information.
Best regards,

When I run mlife, I always get the following error, I want to ask if the matlab version and the function version are not compatible (I use Matlab2020b), what version should I use to open or solve the problem?
错误使用 rainflow 输入参数太多。出错

Dear @LIUYUXIN-SA,
I translated this to English and it translates to:

Error using rainflow with too many input parameters. Error

I've not seen this error before and not sure what the problem is.  Given that NREL has no active development of MLife, I'm not sure what to suggest other than to spend some time debugging it yourself.
Best regards,

这个问题有解决办法了吗？

我通过减短锚链长度解决的发自我的手机-------- 原始邮件 --------发件人： gxinru @.>日期： 2024年12月2日周一 下午3:57收件人： OpenFAST/openfast @.>抄送： SimonLee-ZH @.>, Comment @.>主    题： Re: [OpenFAST/openfast] MLife Questions (Issue #2029)
@LIUYUXIN-SA 请问这个问题解决了吗，我也遇到了
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>


layers: Track display and display mode objects

Addresses issue #2597.
Add VkDisplayKHR and VkDisplayModeKHR tracking to
VK_LAYER_LUNARG_object_tracker for vkGetPhysicalDeviceDisplayPropertiesKHR() and vkGetDisplayModePropertiesKHR().

Please put one of the "automatic closing" phrases in either the PR description or the commit message.  For example:
Closes #2597

See https://help.github.com/articles/closing-issues-using-keywords/ for additional information and possibilities.
Doing so will cause GitHub to automatically close the issue when the PR is merged.

@karl-lunarg Okay, will do. Thanks for the info.

@jeremy-lunarg, yes, these are generic object-type checks and representative checks exist.  Also, this is limited to one WSI flavor.


Make it possible somehow to delete resources from a bicep file

Is your feature request related to a problem? Please describe.
Having created a bicep file containing a bunch of resources and deployed the thing I now have these resources in Azure. Let's say I created a function app, so I now have appinsight, a function app, service plan and storage account.
But what if I want to remove them. Is there anyway I can do that without having to hunt them down an delete them manually?
Describe the solution you'd like
Adding a delete mode to the CLI which would remove all resources specified in the bicep file.

We will be releasing Deployment Stacks in the next few weeks that aims to provide this exact functionality :)
You can sign up for the private preview here: https://forms.office.com/Pages/ResponsePage.aspx?id=v4j5cvGGr0GRqy180BHbR21pqhAfSCFCtoKuvU2pfI9UQVQwMlBLVDg3U1Y3SURWWTlMSk8wQTFaSy4u
Closing this issue for now.


Unpackaged C++ WinAppSDK app gives error on launch: The program has exited with code<PHONE_NUMBER> (0x80070005)

Describe the bug
After following instructions at https://docs.microsoft.com/en-us/windows/apps/winui/winui3/create-your-first-winui3-app#non-msix-packaged-create-a-new-project-for-a-non-msix-packaged-c-or-c-winui-3-desktop-app to create an unpackaged C++ WinAppSDK app, when I run it Visual Studio shows following error before any app window is rendered or debugger is attached:

The program '[454612] WinAppSDKPlayground.exe' has exited with code<PHONE_NUMBER> (0x80070005).

Steps to reproduce the bug
Follow C++ steps here: https://docs.microsoft.com/en-us/windows/apps/winui/winui3/create-your-first-winui3-app#non-msix-packaged-create-a-new-project-for-a-non-msix-packaged-c-or-c-winui-3-desktop-app
Expected behavior
App launches
Screenshots

NuGet package version
1.1.4
Packaging type
Unpackaged
Windows version
Windows 10 version 21H2 (19044, November 2021 Update)
IDE
Visual Studio 2022
Additional context
The app runs fine if I revert the changes I made to the .vcxproj file per https://docs.microsoft.com/en-us/windows/apps/winui/winui3/create-your-first-winui3-app#non-msix-packaged-create-a-new-project-for-a-non-msix-packaged-c-or-c-winui-3-desktop-app to make it an unpackaged app

Following the instructions as is doesn't result in the same issue here.
What is also curious is that access denied. Normally, what appears first in the output window is the executable. If Visual Studio isn't able to access the executable, either because it doesn't have the rights to access the executable, or the executable has been opened but not with sharing, then the error Visual Studio gives is very different.
So, in the spirit of "if weird things happen, blame the antimalware", have you tried disabling it?

The same problem is reported here:
#2918
I think it has something to do with Windows App SDK 1.1.4 and 1.1.5. Only with these two versions of the Windows App SDK I get the error.
With the Windows App SDK 1.2 Preview 1 the problem does not occur and all unpackaged apps work as they should.
Maybe an upgrade to Windows App SDK 1.2 Preview 1 will help, if possible.

I have the same problem with C# application and Windows App SDK 1.2.

I have the same problem with C# application and Windows App SDK 1.2.

Are you using C# 6.0 or 7.0?
What version of Windows are you running?
We're trying to determine the common thread behind the problem.

Environment
OS version
Windows 10, version 21H2 (OS Build 19044.2364)

.NET version
>>> C:\Projects>dotnet --info

.NET SDK:
 Version:   7.0.101
 Commit:    bb24aafa11

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.19044
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\7.0.101\

Host:
  Version:      7.0.1
  Architecture: x64
  Commit:       97203d38ba

.NET SDKs installed:
  6.0.100 [C:\Program Files\dotnet\sdk]
  7.0.101 [C:\Program Files\dotnet\sdk]

Visual Studio Version
Visual Studio 2022, version 17.4.3

Issue details
Configuration Debug x86
Application runs succesfully
Configuration Debug x64
Error, application is not started and exited with error
'App1.exe' (CoreCLR: DefaultDomain): Loaded 'C:\Temp\App1\bin\x64\Debug\net6.0-windows10.0.19041.0\win10-x64\System.Private.CoreLib.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'App1.exe' (CoreCLR: clrhost): Loaded 'C:\Temp\App1\bin\x64\Debug\net6.0-windows10.0.19041.0\win10-x64\App1.dll'. Symbols loaded.
'App1.exe' (CoreCLR: clrhost): Loaded 'C:\Temp\App1\bin\x64\Debug\net6.0-windows10.0.19041.0\win10-x64\System.Runtime.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'App1.exe' (CoreCLR: clrhost): Loaded 'c:\program files\microsoft visual studio\2022\community\common7\ide\commonextensions\microsoft\hotreload\Microsoft.Extensions.DotNetDeltaApplier.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'App1.exe' (CoreCLR: clrhost): Loaded 'C:\Temp\App1\bin\x64\Debug\net6.0-windows10.0.19041.0\win10-x64\System.IO.Pipes.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'App1.exe' (CoreCLR: clrhost): Loaded 'C:\Temp\App1\bin\x64\Debug\net6.0-windows10.0.19041.0\win10-x64\System.Linq.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'App1.exe' (CoreCLR: clrhost): Loaded 'C:\Temp\App1\bin\x64\Debug\net6.0-windows10.0.19041.0\win10-x64\System.Collections.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'App1.exe' (CoreCLR: clrhost): Loaded 'C:\Temp\App1\bin\x64\Debug\net6.0-windows10.0.19041.0\win10-x64\System.Console.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'App1.exe' (CoreCLR: clrhost): Loaded 'C:\Temp\App1\bin\x64\Debug\net6.0-windows10.0.19041.0\win10-x64\System.Threading.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'App1.exe' (CoreCLR: clrhost): Loaded 'C:\Temp\App1\bin\x64\Debug\net6.0-windows10.0.19041.0\win10-x64\System.Threading.Overlapped.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'App1.exe' (CoreCLR: clrhost): Loaded 'C:\Temp\App1\bin\x64\Debug\net6.0-windows10.0.19041.0\win10-x64\System.Security.AccessControl.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'App1.exe' (CoreCLR: clrhost): Loaded 'C:\Temp\App1\bin\x64\Debug\net6.0-windows10.0.19041.0\win10-x64\System.Security.Principal.Windows.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'App1.exe' (CoreCLR: clrhost): Loaded 'C:\Temp\App1\bin\x64\Debug\net6.0-windows10.0.19041.0\win10-x64\System.Runtime.InteropServices.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'App1.exe' (CoreCLR: clrhost): Loaded 'C:\Temp\App1\bin\x64\Debug\net6.0-windows10.0.19041.0\win10-x64\System.Security.Claims.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'App1.exe' (CoreCLR: clrhost): Loaded 'C:\Temp\App1\bin\x64\Debug\net6.0-windows10.0.19041.0\win10-x64\Microsoft.Win32.Primitives.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'App1.exe' (CoreCLR: clrhost): Loaded 'C:\Temp\App1\bin\x64\Debug\net6.0-windows10.0.19041.0\win10-x64\System.Runtime.Loader.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'App1.exe' (CoreCLR: clrhost): Loaded 'C:\Temp\App1\bin\x64\Debug\net6.0-windows10.0.19041.0\win10-x64\Microsoft.WindowsAppRuntime.Bootstrap.Net.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'App1.exe' (CoreCLR: clrhost): Loaded 'C:\Temp\App1\bin\x64\Debug\net6.0-windows10.0.19041.0\win10-x64\System.Collections.Concurrent.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
The program '[1564] App1.exe' has exited with code<PHONE_NUMBER> (0x80070005).

ACL info:
c:\Temp\App1\bin\x64\Debug\net6.0-windows10.0.19041.0\win10-x64>ICACLS App1.exe
App1.exe BUILTIN\Administrators:(I)(F)
         NT AUTHORITY\SYSTEM:(I)(F)
         BUILTIN\Users:(I)(RX)
         NT AUTHORITY\Authenticated Users:(I)(M)

Successfully processed 1 files; Failed processing 0 files

c:\Temp\App1\bin\x64\Debug\net6.0-windows10.0.19041.0\win10-x64>

May be related to the issue, I have no access to the WindowsApps folder, see screenshot below

I found a difference between WindowsAppRuntime x86 and x64
WindowsAppRuntime x86
>>> CACLS "C:\Program Files\WindowsApps\Microsoft.WindowsAppRuntime.1.2_2000.707.2303.0_x86__8wekyb3d8bbwe\Microsoft.WindowsAppRuntime.dll" /s

C:\Program Files\WindowsApps\Microsoft.WindowsAppRuntime.1.2_2000.707.2303.0_x86__8wekyb3d8bbwe\Microsoft.WindowsAppRuntime.dll
"D:AI(A;ID;0x1200a9;;;AC)
(A;ID;0x1200a9;;;S-1-15-2-2)
(A;ID;0x1200a9;;;BU)
(A;ID;FA;;;S-1-5-80-956008885-3418522649-1831038044-1853292631-2271478464)
(A;ID;0x1200a9;;;S-1-15-3-1024-3635283841-2530182609-996808640-1887759898-3848208603-3313616867-983405619-2501854204)
(A;ID;FA;;;SY)
(A;ID;0x1200a9;;;LS)
(A;ID;0x1200a9;;;NS)
(A;ID;0x1200a9;;;RC)
(A;ID;FA;;;S-1-5-21-4027160192-2743716042-2923426179-1001)"

WindowsAppRuntime x64
>>> CACLS "C:\Program Files\WindowsApps\Microsoft.WindowsAppRuntime.1.2_2000.707.2303.0_x64__8wekyb3d8bbwe\Microsoft.WindowsAppRuntime.dll" /s

C:\Program Files\WindowsApps\Microsoft.WindowsAppRuntime.1.2_2000.707.2303.0_x64__8wekyb3d8bbwe\Microsoft.WindowsAppRuntime.dll
"D:PAI(A;;0x1200a9;;;AC)
(A;;FA;;;SY)
(A;;0x1200a9;;;S-1-15-2-2)
(A;;0x1200a9;;;LS)
(A;;0x1200a9;;;NS)
(A;;FA;;;S-1-5-80-956008885-3418522649-1831038044-1853292631-2271478464)
(A;;0x1200a9;;;S-1-15-3-1024-3635283841-2530182609-996808640-1887759898-3848208603-3313616867-983405619-2501854204)
(A;;FR;;;BU)
(XA;;0x1200a9;;;BU;(Exists WIN://PKG))
(XA;;0x1200a9;;;BU;(WIN://SYSAPPID Contains "Microsoft.WindowsAppRuntime.1.2_8wekyb3d8bbwe"))
(XA;;0x1200a9;;;BU;(WIN://SYSAPPID Contains "Microsoft.YourPhone_8wekyb3d8bbwe"))
(A;;0x1200a9;;;RC)"

We’re running into the same issue with an unpackaged C++/WinRT app on two machines using SDK version v1.2 and 1.2.2. Please let me know if we can provide any further info.

@triplef Please check using 1.3 Preview 1, as we've made numerous changes.  Also, this issue has already been repurposed from C++ to C# and from 1.1 to 1.2.  If you still see issues, please open a new issue.
From my reading the original C++ issue has been fixed.
The C# issue may be an issue we fixed in 1.2.  If the C# issue still repros, feel free to reactivate and we'll pursue further.  Thanks!


"White label" when MINIMAL is set

Hey @crosbymichael,
Here's a proposed implementation for what I suggested in https://github.com/krallin/tini/pull/59 — let me know what you think. I also fixed a few issues with the current NO_ARGS implementation (namely: we were still showing the args in Usage).
 I haven't been able to get ENOEXEC to show up (I tested with a binary from the wrong architecture, and with a shebang that points to nowhere), so I take back what my suggestion to include it 😄
Finally, I updated the default log level to be fatal-only, since the warn level shows a few things that are probably irrelevant to end users. If someone wants to do more debugging, they can use TINI_VERBOSITY.
Cheers,

(Also added you to contributors, just let me know if you'd rather not of course)

Thanks, reviewing

LGTM

Awesome. Did you want me to rename the NO_ARGS option to something a bit clearer (e.g. DOCKERINIT)? You'd have to tweak it on your end as well if so.

@krallin whatever you want to call it.  I think something generic is fine because we don't want to have a difference between the two versions.  Its more about stripping out a couple features ( cli args, verbose logs ) than building it for docker.
I think something generic is cleaner.

Sounds good; I renamed the arg to MINIMAL.
Cheers,

LGTM

0.13 is live


test #274

test #274

It works on the mac system, but none of the others? And it works on @pgkirsch's and my computers. Weird...

test this please

Those ValueErrors on jenkins match the errors I'm seeing on my system.

Yerp. This is the first non-OS-specific bug I haven't been able to reproduce on my machine...which makes me suspect it might be a package version bug?

In [1]: import numpy

In [2]: numpy.__version__
Out[2]: '1.9.2'

which reminds me --
In [4]: import gpkit

In [5]: gpkit.__version__
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-5-4300fb7eb2bd> in <module>()
----> 1 gpkit.__version__

AttributeError: 'module' object has no attribute '__version__'

I've got the same numpy version.
Ack, we have to add another place to change the version number?

Not  big deal, that's feature creep as far as this issue is concerned.

Yup, put it in #332

On the linux machine

numpy.version
'1.8.2'

on OS X

numpy.version
'1.9.2'

@bqpd does this work for you on all operating systems you have access to?

bingo, it just occurred to me what might be going on. The optimal objective value for this is 0.0. I wonder if we're dealing with floating point precision making that objective slightly negative.
Indeed, if I add 0.1 to J, I get the correct x = y = 1, and the correct cost of 0.1.
I think the monomial approximation of a signomial about a point where the signomial takes on a negative value is not defined... ? But I need to think that through for more than the 15 seconds I just allotted to it...

That still leaves the issue of why this:
import gpkit
from gpkit import Model, Variable

x = Variable('x')
y = Variable('y')
z = Variable('z')

with gpkit.EnableSignomials():
    J = 1*((x - 1)**2 + (y - 1)**2) + (x*y - 1)**2 + 0.1
    sp = Model(J, [])
    sol = sp.localsolve()

print sol.table()

# output

Beginning signomial solve.
Solving took 3 GP solves and 0.12 seconds.

Cost
----
 0.8643

Free Variables
--------------
x : 0.9059
y : 0.9059

Sensitivities
-------------

Cost
----
 0.8643

Free Variables
--------------
x : 0.9059
y : 0.9059

Sensitivities
-------------

gives a different answer than the almost equivalent
import gpkit
from gpkit import Model, Variable

x = Variable('x')
y = Variable('y')
z = Variable('z')

with gpkit.EnableSignomials():
    J = 1*((x - 1)**2 + (y - 1)**2) + (x*y - 1)**2 + 0.1
    sp = Model(z, [z >= J])
    sol = sp.localsolve()

print sol.table()

# output

Beginning signomial solve.
Solving took 7 GP solves and 0.145 seconds.

Cost
----
 0.1

Free Variables
--------------
x : 1
y : 1
z : 0.1

Sensitivities
-------------

Cost
----
 0.1

Free Variables
--------------
x : 1
y : 1
z : 0.1

Sensitivities
-------------

and this discussion should really be moved back to #274

retest this please

@bqpd did you push two commits at once?

Yup.

retest this please

retest this please

It appears that jenkins tried to test each one of them, rather than just the most recent one... I didn't expect that... This is also the reason why the test are failing. You should be able to push multuiple commits and it should only test the most recent one. I'll look to see if there is a setting related to this, but we might need the webhooks to get it to only test the most recent commit.

@whoburg, this is passing now.

test this please (I made some changes to jenkins)

Looks like it didn't install cvxopt

I tried setting up a virtualenv with cvxopt installed, and then load it from the script. Not sure why it's not working. I can import cvxopt in the virtualenv from the command line

test this please (I'm giving up on the virtualenv for now and working on it later)

Sorry guys, I'm not convinced on the 1e-5. As I understand it, this considers any SP with a cost less than 1e-5 converged?
First, I would have expected a cutoff of > 0 to work. I still think the fundamental issue has to do with making monomial approximations of signomials with value  <= 0. I see no reason why a nonzero cutoff should be needed.
Changing the cutoff to 0 doesn't pass the unit test for this issue, though. I think that's because the cost cutoff only addresses the objective, but we need to address the constraints too. We'll need to think carefully about how to do that -- possibly in a separate issue.
For now, I've proposed a patch (will push it in a moment) that simply adds a small constant to J for this example.
I think we should leave handling signomials that evaluate to <= 0 for either 0.5 or for 0.3.1.

this PR was originally just for testing. Is anyone's intent that it ever gets merged? If not let's close it.

re: not handling Signomials <= 0, sounds good


Add new E2E HA shoot hosts to doc

How to categorize this PR?

/area high-availability testing
/kind enhancement test
What this PR does / why we need it:
This PR adds newly introduced E2E shoot hosts api.e2e-upgrade-node, api.e2e-upgrade-zone by this https://github.com/gardener/gardener/pull/6910 to doc
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
cc: @rfranzke
Release note:

NONE

@seshachalam-yv ping

Closing this PR, already this issue is got fixed by PR https://github.com/gardener/gardener/pull/7081.
I will create a separate PR to document How to setup local HA env ?


nixosModules: include port numbers for EL and CL

Currently, when I run
nix eval --json github:ponkila/homestaking-infra#nixosConfigurations.dinar-ephemeral-alpha.config.lighthouse
I get:
{"datadir":"/mnt/eth/lighthouse","enable":true,"endpoint":"<IP_ADDRESS>","exec":{"endpoint":"http://<IP_ADDRESS>:8551"},"mev-boost":{"endpoint":"http://<IP_ADDRESS>:18550"},"slasher":{"enable":false,"history-length":256,"max-db-size":16}}
However, to combine this into a query command like so:
curl -X GET "http://<IP_ADDRESS>:5052/eth/v1/beacon/headers/head" -H  "accept: application/json"
I need to make it dynamic, e.g., like this:
curl -X GET "http://$(nix eval --raw github:ponkila/homestaking-infra#nixosConfigurations.dinar-ephemeral-alpha.config.lighthouse.endpoint)/eth/v1/beacon/headers/head" -H  "accept: application/json"
However, from the JSON returned, no port is included, which is required for the curl command to work. We should add port numbers into the nixosModule declaration to make a command composition like this work.

Solved by this commit e9c2462 in this pull request #39. Closing after merge.
Took also the prefix into account, so currently this:
nix eval --json github:ponkila/homestaking-infra/feat/tweaks#nixosConfigurations.dinar-ephemeral-alpha.config.lighthouse.endpoint
will return the whole address, like this:
http://<IP_ADDRESS>:5052


Feature/add server interceptor for undelivered messages

I regard it as very useful to know, if a message has not found a matching subscription.

@cshark-inator You need to resolve the conflicts and the changes @chkr1011 requested to get this merged.


Create a class to process command line arguments

class CommandLineProcessor
It contains run() method that accepts argc and argv, somehow decides which method to call, then calls this method
Maybe in future implement this as separate Command classes
For now, just separate methods on same class (e.g. addNote(title), search(criteria), ...)

For now, class is static - may need to refactor later


Hdl_localization map-->odom--> base link

Hello, i am setting up navigation on my robot and i would like to use move_base which needs a map --> odom --> base link transformation where map and odom are static frames
Map being the global map frame which never changes and odom which is the local reference frame which changes over time to help with drift issues
Right now hdl_localization only provides a map --> base_link transformation which is the direct odom transformation which i am unable to use, do you know any way to use move_base with hdl localization

Recently, I updated the code so that it issues map -> odom transformation if odom -> base_link exists. Please try the latest commit.

Currently the map --> base link transformation uses the /odom topic published by hdl_localization to do this transformation. So if instead i provide a odom --> base link transformation using the /odom topic hdl_localization will then provide a map --> odom transformation ?
Thanks for the reply, if this is the case i will try the latest commit

Yes, if you provide odom -> base_link transform, hdl_localization automatically detect it and publishes map -> odom transform to maintain a proper tree

Thanks for all your cool packages koide3 and the quick explanation, it works thank you

Hello, I want to use wheel odometry data in this package. So if I publish odom -> base_link transform using wheel odometry.
Is this the correct implementation?

This worked for me.


Wheel binary format

Great tool!
Have you considered using Wheels as binary format? They're pretty advanced and got accepted through some PEPs. Here it is a couple of interesing links:
https://wheel.readthedocs.org
https://bitbucket.org/dholth/wheel

pip now uses wheels by default, perhaps we don't need this anymore?
https://github.com/pypa/pip/pull/2618


desync indicator

if (localPlayer->getMaxDesyncAngle()) { // it's good?
interfaces.surface->setTextColor(0, 255, 0, 255);
}
because i want to get this: https://youtu.be/CcpC9tm4jtg?t=18, no fast flick to green (one color) how to got this?

I dont think desync works in its current state, so i dont really see the point in making a desync indicator but good idea, and good code :)


Add Sumologic metric emission for ActionRunner

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Creating new records not working with BelongsTo relationship

Package
filament/forms
Package Version
v2.12.10
Laravel Version
v9.13.0
Livewire Version
v2.10.5
PHP Version
PHP 8.1.3
Bug description
When using a BelongsToSelect with a createOptionForm(), the + button to open the creation form does nothing.
Steps to reproduce
Create a Relation Manager and add a BelongsToSelect form field as following:
Forms\Components\BelongsToSelect::make('user')->relationship('user', 'id')->createOptionForm([
    Forms\Components\TextInput::make('id')->required(),
]),

Then open the modal and click on the +. Nothing happens.
Relevant log output
No response

Fixed by #2599

Thanks @danharrin 🥳


ETH & XRP testnet addresses are being validated as valid mainnet addresses

When passing the 'prod' flag and attempting to validate against the mainnet for both ETH and XRP, the following testnet addresses are returned as valid:
ETH testnet addresses:
0xEf2C700943B7BD72Cae6C938188dD1aC9537b228
0xD1D1BAA591933BcA66F5e99be8843a0B7Df9f334
XRP testnet addresses:
r479Q1f3xm4VfAxNLoXAVKhSN1E8FArztD
rDHEEzqZ4EhqN1ij1w5xhbx55vwLjhQZgo

There is no difference between Etheruem mainnet and testnet addresses. You'll probably find the same thing for XRP addresses.

I did notice this. Could be good to add this to your documentation


adjust joystick position range

Hi @aliseraj78, after reviewing your PR and getting feedback about it from my friends, they said they like the original joystick version better. I'm sorry but I can't merge :(


add support for "release" on old game worlds

I needed to remove the old objects from the physics world before adding
new objects.  So this pull request introduces GameWorld.release() which calls
release() on each object.  The idea is that we may want to release extraneous object
data.
Maybe an even better approach is for each object to have a merge() method which receives
a server-side copy of the object, and it must update itself accordingly.  It could then handle the merge by adjusting it's coordinates incrementally.  In this model we don't even need to keep a buffer of older worlds.
Also in this pull request are some Linux case-sensitive fixes.

Looks good. Can we call it destroy and not release?

I changed my mind about this pull request.  I now think it should be in the ClientEngine code and not the GameEngine code.  And in that case the ClientEngine can override handleInputMessage() and extend it (like you suggested).
Let's talk tomorrow.
p.s. We can call it destroy if it actually destroys the entire object, which is not what I did.  But if we go with the merge() approach, then destroy() can be applied to all objects which no longer appear in the new world.


<img> doesn't work with assets in relative paths

See title.
I was using <img src="/assets/image.png"/> which didn't work.
Upon reading the documentation really carefully I noticed that it only mentioned the <Image> tag and changing it to that worked.
Is there a particular reason why the Mapping of <img> is not working?
Going forward I think there could be two ways:

 is supported with relative paths
A callout is added to the docs hinting that it has to be <Image> and not <img>. Happy to add that respective callout to the docs if desired :)

Hey, they should be using the same underlying component, see: https://github.com/invertase/docs.page/blob/main/website/src/components/Markdown.tsx#L43
There's a big update landing tomorrow so I'll double check whether this is still relevant when that lands 👍

Let's say I am planning on doing an initial release of my docs in let's say the next 30 minutes :D Is there something I had to change right away? :D

Seems like this is still an issue at least for video components, a reproduction visible on this page: https://docs.page/donnc/jawce/demo

Hey @ABausG
My understanding of MDX is that this is intended behaviour - MDX is treating video and img as literals which don't get parsed, see the docs: https://mdxjs.com/docs/using-mdx/#components
TLDR:

The <Video /> and <Image /> components should be used here which pass on the component props of the HTML elements. Is this something you're able to do?

Yes! Was able to use the full  tag.
Notbsure if it might be worth to add a small disclaimer to the docs to indicate that. I had to read the page a couple of times until I noticed it was always talking about Image


Check copyright

Please take a look.
Updates #537.

@mewmew Please take a look at the license header I added to the code you have that applies copyright headers to the generated gocc code. I won't merge this until I have your approval for that.

Sorry, silly error in the invocation caused a panic (this needs to be fixed in check-copyright as well so a panic doesn't happen).


Improve websocket global broadcast

Packets should not be sent globally, instead they should be sent only to the necessary people.

Use rooms.


[nutanix-aos] Add 6.7, update latest releases

LGTM, merging. Thanks @lryanuk !
Do you know if there is a page we can track to get at least patch releases automatically ?

Yep! They publish all EOL and latest releases to this page: https://portal.nutanix.com/page/documents/eol/list


Add a test that references to fields of anonymous unions are resolved. [phab:D618]

Created by jdennett at 2015-11-24 22:38:16:
No new code is needed to make this work; the code added for handling
GNU anonymous structs is sufficient.

zarko accepted this revision at 2015-11-24 22:46:39

jdennett closed via commit a1234bda7f10d53ea407cc463e1e593b5d16c92a at 2015-11-24 22:53:10


Overflows rustc's stack at compile-time

With 0.11.4 and stable rust 1.48.0, this example:
use logos::Logos;

#[derive(Logos)]
enum Token {
    #[regex(r#"/\*([^\*]*\*+[^\*/])*([^\*]*\*+|[^\*])*\*/"#)] // regex to match block comments
    BlockComment,
}

fn main() {
    println!("Hello, world!");
}

Leads to:
thread 'rustc' has overflowed its stack
fatal runtime error: stack overflow

During cargo build.

Sorry, I haven't had time to look into why it's crashing exactly (I assume there is some overlap in the pattern that leads to an infinite loop in the proc macro), but here is the regex for block comments that should work: r"/\*([^*]|\**[^*/])*\*+/".

That regex should work but doesn't (goes directly for #[error] and I have no idea why)
use logos::Logos;

#[derive(Logos, Debug, PartialEq)]
enum Token {
    #[regex(r#"/\*([^*]|\**[^*/])*\*+/"#)]
    BlockComment,

    #[error]
    Error
}

fn main() {
    let mut lexer = Token::lexer("/**/");

    assert_eq!(Some(Token::BlockComment), lexer.next());
}

thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `Some(BlockComment)`,
 right: `Some(Error)`', src/main.rs:16:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace


Tabs throw error

If the parsedown input text contians a tab character (	), then parsedown will throw the following error:
Fatal error: Uncaught Error: Call to undefined function mb_strlen() in /var/www/html/assets/modules/parsedown/Parsedown.php:170 Stack trace: #0 /var/www/html/assets/modules/parsedown/Parsedown.php(39): Parsedown->lines() #1 /var/www/html/article.php(101): Parsedown->text() #2 {main} thrown in /var/www/html/assets/modules/parsedown/Parsedown.php on line 170

Workaround: str_replace('	', '    ', parsedown_input);

I haven't experienced this myself. Do you have an isolated test as an example?

Try installing mbstring module. It's not installed by default.
apt install php7.x-mbstring

https://www.php.net/manual/en/mbstring.installation.php


Compilation error while executing with parallel plugin on windows

Hi,
Cucumber Parallel plugin causing compilation issues on windows while execution.
Parallel java files created during execution are showing path in wrong format. forward slash '/' should be  used in specifying the path instead of the backward slash for the format attribute.
format = {"json:D:\MNSProject\test\shopping-test-framework\shopping-tests-api-ls/target/cucumber-reports/1.json", "pretty"},
This throws illegal escape character errors.

If you provide the fully qualified name in the pom (${basedir}/target/cucumber-reports) then it is causing the problems


setSn_PROTOR(sn, proto) error

https://github.com/Wiznet/ioLibrary_Driver/blob/40dc8d1f1e747ea19c0972fb26439c5e4287eafc/Ethernet/W5300/w5300.h#L2128
must be changed as following :
WIZCHIP_WRITE(Sn_PROTOR(sn),(WIZCHIP_READ(Sn_PROTOR(sn)) & 0xFF00) | (((uint16_t)proto) & 0x00FF))

I checked what you said the part and modified the source code.
I also modified the wronged IR bit in W5300.h
thanks,
BR
irina


CustomResource Java class not found in native packaging

Hi!
I'm working on the operator for Apicurio Studio (see https://github.com/lbroudoux/apicurio-studio-operator) and I'm facing an issue when compiled / packaged in native mode.
I've developed and tested locally and everything is working fine:

API object are in an api maven module,
Operator lives into its own operator module.

Native compilation and packaging executes well and I can see in /target/[...]native-image-source-jar that api module is correctly pulled and included. However on pod startup in OpenShift, I encounter the following exception:
__  ____  __  _____   ___  __ ____  ______
 --/ __ \/ / / / _ | / _ \/ //_/ / / / __/
 -/ /_/ / /_/ / __ |/ , _/ ,< / /_/ /\ \
--\___\_\____/_/ |_/_/|_/_/|_|\____/___/
2021-06-03 13:50:50,594 INFO  [io.quarkus] (main) apicurio-studio-kube-operator 0.0.1-SNAPSHOT native (powered by Quarkus 1.13.3.Final) started in 0.011s. Listening on: http://<IP_ADDRESS>:8080
2021-06-03 13:50:50,594 INFO  [io.quarkus] (main) Profile prod activated.
2021-06-03 13:50:50,594 INFO  [io.quarkus] (main) Installed features: [cdi, kubernetes, kubernetes-client, openshift-client, operator-sdk, smallrye-health]
2021-06-03 13:50:50,596 ERROR [io.qua.run.Application] (main) Failed to start application (with profile prod): java.lang.IllegalArgumentException: Couldn't find class io.apicurio.studio.operator.api.ApicurioStudio
	at io.quarkiverse.operatorsdk.runtime.QuarkusControllerConfiguration.loadClass(QuarkusControllerConfiguration.java:78)
	at io.quarkiverse.operatorsdk.runtime.QuarkusControllerConfiguration.getCustomResourceClass(QuarkusControllerConfiguration.java:69)
	at io.javaoperatorsdk.operator.Operator.register(Operator.java:137)
	at io.javaoperatorsdk.operator.Operator.register(Operator.java:97)
	at io.quarkiverse.operatorsdk.runtime.OperatorProducer.operator(OperatorProducer.java:28)
	at io.quarkiverse.operatorsdk.runtime.OperatorProducer_ProducerMethod_operator_847eb6ef05d4600d92e563d1fb80474eed9238e0_Bean.create(OperatorProducer_ProducerMethod_operator_847eb6ef05d4600d92e563d1fb80474eed9238e0_Bean.zig:379)
	at io.quarkiverse.operatorsdk.runtime.OperatorProducer_ProducerMethod_operator_847eb6ef05d4600d92e563d1fb80474eed9238e0_Bean.create(OperatorProducer_ProducerMethod_operator_847eb6ef05d4600d92e563d1fb80474eed9238e0_Bean.zig:394)
	at io.quarkus.arc.impl.AbstractSharedContext.createInstanceHandle(AbstractSharedContext.java:96)

Would you have any hints or checks to troubleshoot that?

Unfortunately, I don't have much in ways of generic troubleshooting tips apart from what's in https://quarkus.io/guides/building-native-image#debugging-native-executable and https://quarkus.io/guides/writing-native-applications-tips
The good new, though, is that I've fixed the issue in the extension. It was a known issue with the fabric8 client extension: https://github.com/quarkusio/quarkus/pull/17472

Note also that you shouldn't need to add these lines https://github.com/lbroudoux/apicurio-studio-operator/blob/main/operator/src/main/resources/application.properties#L8-L9 to your application.properties: this is automatically done by the extension: https://github.com/quarkiverse/quarkus-operator-sdk/blob/main/deployment/src/main/java/io/quarkiverse/operatorsdk/deployment/OperatorSDKProcessor.java#L86-L87

Thanks for update.
I've tried upgrading to new 1.9.2 with upgrade to Quarkus 1.3.6.Final. My initial issue after native compilation disappeared and deployment. Cool!
However, I'm facing 2 new issues:

Seems that the Java Operator SDK or Kubernetes Client needs a mandatory ClusterRoleBinding to be able to read customresourcedefinitions.apiextensions.k8s.io at the cluster scope. This is a bit odd as my operator is namespaced-scope only. Having to add a cluster-level role and associate binding is not always appreciated by Ops...

Still in Java Operator SDK - whether with fixed permissions or cluster-admin role - there's a NPE thrown when customresource is updated.

2021-06-09 11:46:38,764 ERROR [io.fab.kub.cli.dsl.int.WatcherWebSocketListener] (OkHttp https://api.cluster-0f5f.0f5f.sandbox1056.opentlc.com:6443/...) Unhandled exception encountered in watcher event handler: java.lang.NullPointerException
        at io.javaoperatorsdk.operator.processing.CustomResourceCache.clone(CustomResourceCache.java:67)
        at java.base/java.util.Optional.map(Optional.java:265)
        at io.javaoperatorsdk.operator.processing.CustomResourceCache.getLatestResource(CustomResourceCache.java:61)
        at io.javaoperatorsdk.operator.processing.event.DefaultEventSourceManager.getLatestResource(DefaultEventSourceManager.java:152)
        at io.javaoperatorsdk.operator.processing.DefaultEventHandler.executeBufferedEvents(DefaultEventHandler.java:120)
        at io.javaoperatorsdk.operator.processing.DefaultEventHandler.handleEvent(DefaultEventHandler.java:110)
        at io.javaoperatorsdk.operator.processing.event.internal.CustomResourceEventSource.eventReceived(CustomResourceEventSource.java:133)
        at io.javaoperatorsdk.operator.processing.event.internal.CustomResourceEventSource.eventReceived(CustomResourceEventSource.java:27)
        at io.fabric8.kubernetes.client.utils.WatcherToggle.eventReceived(WatcherToggle.java:49)
        at io.fabric8.kubernetes.client.dsl.internal.AbstractWatchManager.eventReceived(AbstractWatchManager.java:145)
        at io.fabric8.kubernetes.client.dsl.internal.WatchConnectionManager$TypedWatcherWebSocketListener.onMessage(WatchConnectionManager.java:83)

Maybe this is related to a null objectMapper (??) as I also got this new warning on Quarkus startup:
2021-06-09 11:45:41,884 WARN  [io.qua.arc.impl] (Quarkus Main Thread)
================================================================================
CDI: programmatic lookup problem detected
-----------------------------------------
At least one bean matched the required type and qualifiers but was marked as unused and removed during build
Removed beans:
        - PRODUCER_METHOD bean io.quarkus.jackson.runtime.ObjectMapperProducer#objectMapper() [types=[interface com.fasterxml.jackson.core.Versioned, interface java.io.Serializable, class com.fasterxml.jackson.core.ObjectCodec, class com.fasterxml.jackson.databind.ObjectMapper, class com.fasterxml.jackson.core.TreeCodec], qualifiers=[@javax.enterprise.inject.Default(), @javax.enterprise.inject.Any()]]
Required type: class com.fasterxml.jackson.databind.ObjectMapper
Required qualifiers: [@javax.enterprise.inject.Default()]
Solutions:
        - Application developers can eliminate false positives via the @Unremovable annotation
        - Extensions can eliminate false positives via build items, e.g. using the UnremovableBeanBuildItem
        - See also https://quarkus.io/guides/cdi-reference#remove_unused_beans
================================================================================

Update on 2) above.
Actually, the NPE is related to the removed objectMapper. I just added
@Inject
   ObjectMapper objectMapper;

to my QuarkusApplication class and NPE disappeared. Don't know why objectMapper was not removed on previous version...

Regarding 2), I've started seeing this recently as well, not sure why right now… Looking into it.
Regarding 1), if the operator needs to read the CRD (which is optional), it will need Cluster-level read access since CRDs are cluster-level resources. The SDK only needs that permission if you want to validate that the CRD exists before registering your controller with the cluster. This can be deactivated by adding quarkus.operator-sdk.crd.validate=false to your application.properties.

Thanks for quick reply! As the operator is targeted to be installed via OLM, I think I can deactivate the CRD presence check.


SKPaginationView confused layout

Hi, I found that the simulator would cause this.
And it will fit all 2436‑by-1125‑pixel, 2688‑by-1242‑pixel and 1792-by-828-pixel.
Or you can identify by "hw.machine"
https://www.theiphonewiki.com/wiki/Models


ocamlPackages.cpdf hash mismatch

Describe the bug
I'm getting a hash mismatch error trying to add ocamlPackages.cpdf.
error: hash mismatch in fixed-output derivation '/nix/store/8fmpxwj2ign7kana5c8m1pbic62qp8sl-source.drv':
         specified: sha256-QQfCT4LXtwwypHSfkacFYIYsa8/puv4ie+HWEtFpRl8=
            got:    sha256-lEduWjoVQ70jVFSTm0BJc/THKvG+MhUrNu/IaJMQveI=
error: 1 dependencies of derivation '/nix/store/16prrgldqv6300ahwlq2a8j3kx1cjivw-ocaml4.12.0-cpdf-2.5.drv' failed to build
error: 1 dependencies of derivation '/nix/store/k4avw4m13s34n7vybs2m98b464vrlmhi-system-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/00j603hw61d6pzmd7jzp1k245cyl01ji-nixos-system-pc-22.05pre349657.5bb20f9dc70.drv' failed to build

I suppose this is due to 0e4c2ff9b9fc017425df352d785efcd5d57aa4ee. Can you please check the sha256 hash?
Notify maintainers
@vbgl
Metadata
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 5.4.174, NixOS, 22.05 (Quokka)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.5.1`
 - channels(tiago): `"home-manager, nixos-22.05pre349657.5bb20f9dc70, nur"`
 - channels(root): `"nixos-22.05pre349657.5bb20f9dc70"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

It seems that the given hash (the one in nixpkgs) corresponds to cpdf at commit 4d87a90bdf53aa2268b91aea282100a3485bdd92. Did the author move the tag from this commit to a more recent one?

I'm not sure what is causing the error. Maybe this line sha256 = "sha256:0ps6d78i5mp1gcigxfp9rxmjr1k00nkr37vllhr0rdyph97w41s1"; shouldn't have "sha256:" in it.
nix-prefetch-git https://github.com/johnwhitington/cpdf-source gives me this info:
{
  "url": "https://github.com/johnwhitington/cpdf-source",
  "rev": "1f9d45a8be6db07b9ff9e5cdfc5768cbee21ed3b",
  "date": "2022-01-31T14:10:31+00:00",
  "path": "/nix/store/lg89qcvdx5zkfw58wz4bddqzwng206jj-cpdf-source",
  "sha256": "0x07qdp65vrf0kz2f56n9s0f9lfjrkby449vchg5f6hwhhg9anj4",
  "fetchLFS": false,
  "fetchSubmodules": false,
  "deepClone": false,
  "leaveDotGit": false
}

As a workarround, I manage to add the package by overriding fetchFromGitHub. In home.nix it looks like this:
{ config, pkgs, lib, ... }:

{
  home.packages = with pkgs; [
    (ocamlPackages.cpdf.overrideAttrs (oldAttrs: rec {
      src = fetchFromGitHub {
        owner = "johnwhitington";
        repo = "cpdf-source";
        rev = "1f9d45a8be6db07b9ff9e5cdfc5768cbee21ed3b";
        sha256 = "0x07qdp65vrf0kz2f56n9s0f9lfjrkby449vchg5f6hwhhg9anj4";
      };
    }))
  ]
}

I'm not sure what is causing the error. Maybe this line sha256 = "sha256:0ps6d78i5mp1gcigxfp9rxmjr1k00nkr37vllhr0rdyph97w41s1"; shouldn't have "sha256:" in it.
nix-prefetch-git https://github.com/johnwhitington/cpdf-source gives me this info:
{
  "url": "https://github.com/johnwhitington/cpdf-source",
  "rev": "1f9d45a8be6db07b9ff9e5cdfc5768cbee21ed3b",
  "date": "2022-01-31T14:10:31+00:00",
  "path": "/nix/store/lg89qcvdx5zkfw58wz4bddqzwng206jj-cpdf-source",
  "sha256": "0x07qdp65vrf0kz2f56n9s0f9lfjrkby449vchg5f6hwhhg9anj4",
  "fetchLFS": false,
  "fetchSubmodules": false,
  "deepClone": false,
  "leaveDotGit": false
}

As a workarround, I manage to add the package by overriding fetchFromGitHub. In home.nix it looks like this:
{ config, pkgs, lib, ... }:

{
  home.packages = with pkgs; [
    (ocamlPackages.cpdf.overrideAttrs (oldAttrs: rec {
      src = fetchFromGitHub {
        owner = "johnwhitington";
        repo = "cpdf-source";
        rev = "1f9d45a8be6db07b9ff9e5cdfc5768cbee21ed3b";
        sha256 = "0x07qdp65vrf0kz2f56n9s0f9lfjrkby449vchg5f6hwhhg9anj4";
      };
    }))
  ]
}


lurk repl CLI command fails with arguments

Steps to reproduce:

Install lurk binary on master
Run e.g. lurk repl --rc 10, which prints the following:

Error: No such file or directory (os error 2)

This doesn't happen with lurk load <file> --rc 10, so it's probably a bug in the REPL logic.

My initial guess is that it's succeeding to parse repl as a filename, as if the user wanted to do lurk load repl --rc 10


Delay sending appVersion to fix update checking not triggering

…gered
[Title: describe the change in one sentence]
[ describe the change in 1 - 3 paragraphs ]
How to use
[ describe what reviewers need to do in order to validate this PR ]
Testing done
[Describe the testing you have done before submitting this PR. Please include both the commands you issued as well as the output you got.]

@fondoger , can you give more context and steps to reproduce this issue?
Things were working fine, so I wonder what are the conditions where we may need this fix.


fix(graphql): avoid static datastructures in gql transform - DO NOT MERGE

Description of changes
Replace static instances on the GQL transform with instance methods. This makes sure multiple calls to transform method doesn't include the previous results.
Description of how you validated changes

Manual test
run cloud e2e test

Checklist

[x] PR description included
[x] yarn test passes
[x] Tests are changed or added
[ ] Relevant documentation is changed or added (and PR referenced)
[ ] New AWS SDK calls or CloudFormation actions have been added to relevant test and service IAM policies

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #10006 (ff403b7) into master (d95de2a) will decrease coverage by 0.00%.
The diff coverage is 12.50%.

@@            Coverage Diff             @@
##           master   #10006      +/-   ##
==========================================
- Coverage   54.07%   54.07%   -0.01%
==========================================
  Files         837      837
  Lines       46319    46319
  Branches     9880     9880
==========================================
- Hits        25048    25046       -2
- Misses      19278    19280       +2
  Partials     1993     1993

Impacted Files
Coverage Δ

...ansformer-core/src/cdk-compat/stack-synthesizer.ts
8.33% <12.50%> (-4.17%)
:arrow_down:

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more