"Library" page's tab setting not persistent (always goes back to "Purchased")

Bug
The Library page always starts in the Purchased tab.  It should go to whatever was previously chosen when we re-enter the page.
To Reproduce
In 0.45, I would usually do the following:

Library (there was no Purchase tab in this version)
Open a claim, and delete from disk.
Press Back.
Repeat 2 and 3 until I'm done.

With 0.46, there's an extra step before 4 to switch tabs.
System Configuration
0.46.1
Linux

Nice catch, thanks for filing!


Bug: UUID Generation Uses z.coercion Instead of z.coerce

What version of kubb is running?
v3.0.3
What platform is your computer?
windows
What version of external packages are you using(@tanstack-query, MSW, React, Vue, ...)
react
What steps can reproduce the bug?
Bug: UUID Generation Uses z.coercion Instead of z.coerce
Description:
After the latest update, there is a bug in UUID generation where z.coercion is used instead of the correct z.coerce method in zod. Since z.coercion doesn’t exist, this results in runtime errors when parsing UUIDs.
Steps to Reproduce:

Generate a UUID type with the current setup.
Notice that the generated code incorrectly uses z.coercion, causing an error.

Location of the Issue:
The bug can be found in the following file:
plugin-zod/src/parser/index.ts, Line 89
Suggested Fix:
Replace z.coercion with z.coerce in the UUID generation logic.
How often does this bug happen?
Every time
What is the expected behavior?
UUID generation should use z.coerce rather than z.coercion to align with zod's current API.
Swagger/OpenAPI file?
No response
Additional information
No response

FYI, this affects more than just the uuid type.


Racket repl hangs after closing neovim

Hey there, me again :smile:
Summary
I've encountered a minor bug I think with the Racket stdio client. After opening a Racket file with neovim, the repl starts as expected. After closing neovim, the shell prompt doesn't appear because the repl process continues in the background.
Hitting ctrl-c brings back the bash prompt, but the repl session continues in the background, continuing to consume resources. This occurs each time you open and close a racket file, meaning you could easily get 10 or more different racket repl instances running in the background.
I was able to confirm that it is the repl session that's causing this by manually closing the repl with <leader>cS and then quitting. Doing that first means that closing vim works as expected and I end up back at the shell prompt immediately.
Steps to reproduce:

Open a file with the .rkt extension in neovim and verify that the 'started' message appears in the HUD.
Close that file with :x or :q!`
Observe the fact the bash prompt doesn't appear.
Hit ctrl-c to exit
run pgrep racket to see the running racket session that persists.

Expected behavior (for me at least):
Closing vim should also close the repl session.

Ah! This is happening in #187 too, so it's not something peculiar to Racket.

Oh interesting! What's weird is that this doesn't happen to me... so it'll be a little more subtle I guess.

Your mentioning that it doesn't work in your environment made me go back and check to verify that it wasn't say, my zsh setup.
As it is, I was able to replicate it across 2 shells (zsh and bash)  on one install (Fedora 31). However, on a second install with Fedora 33, I wasn't able to replicate it. These machines have roughly similar plugins and configurations. The working installation has nvim 0.4.4 and the installation that demonstrates the bug has nvim 0.4.3.
This is also with both installations running Conjure v4.15.0
So to recap, the general results are:
Bug is present on machine with:
Fedora 31, nvim 0.4.3
Bug is not present on machine with:
Fedora 33, nvim 0.4.4
I've tested it with Conjure 4.15.0, 4.14.0, and 4.8.0 and this issue has been present in all of them.
I'd be curious to hear what kind of environment @callum-oakley is encountering it in, and if they're able to reproduce it with Racket as well as their mit-scheme addition.

Haven't had a chance to look yet, sorry :sob: but my hunch is that I won't be able to work out the root cause, but that's okay. I think all clients should listen for Neovim's exit autocmd and shut their sub-processes / connections down before exit. The Clojure client does this, I want to make sure all clients have an easy hook to do this same thing without too much repeated code.
I think I saw something similar in some envs with Clojure before I added that "disconnect on exit" hook. It's just a cleaner shutdown process, rather than hoping Neovim closes things up nicely for us, something libuv might not like.

OK yeah, that sounds like a reasonable solution! I was poking at the source to see if that was how it was handled in any of the other client but didn't look at the Clojure client and missed it.

The filetype ambiguity seems to be fully resolved, so that's awesome.
Shutdown unfortunately still seems to be taking a bit of time, and unfortunately I don't know of a good way to get more information out for you.

Hmm okay, well there's another attempt on develop now. I'm being far more aggressive with my destruction of the stdio resources.
I still can't reproduce this on Neovim 0.4.4 in NixOS Linux, even when I lock up the sub process with a (sleep 10) call, it exits cleanly and immediately. I'd love to be able to reproduce this, just so I could understand it a little. I do wonder if it's just a bug with Neovim 0.4.3 from what you were saying @hendersonreed :thinking:

I actually just noticed a racket and mit-scheme process stuck at 100% after my nvim was all shut down. Maybe I have a repro sort of :eyes:

Good news! I'm not getting any hanging at all anymore, and not even a slow shutdown - as soon as I quit nvim I am back in the shell with a prompt immediately. So that's all resolved!
There might have been a regression with the filetype detection though? I'm seeing this when opening up any .rkt file:
Error detected while processing FileType Autocommands for "scheme":
E5105: Error while calling lua chunk: ...local/share/nvim/plugged/conjure//lua/conjure/client.lua:314: No Conjure client for filetype: 'scheme'
Press ENTER or type command to continue

:set filetype? returns filetype=racket, so I'm not sure where it's getting scheme from.

I'm running into that too! And I have a local change that basically totally fixes the process shutdown (I think!). I think I was just doing it wrong or in a way that doesn't play nice with some processes. I now send a friendly "kill" signal to the process which closes everything down nicely, I think.
I also hooked the mit-scheme client up to the "on-exit" hook so that tries to cleanly shutdown as nvim exits.
I'm looking at the filetype issue, it's really weird how Racket buffers are being set as filetype=scheme, I don't remember it being like that, I'm pretty sure it was always racket...
All of these various Schemes are causing complications in my understanding of filetype -> client mappings! But exciting times to have three different approaches to Scheme floating around, I'd love someone to do a "How to do SICP with Conjure" guide some day.

Did this fix this morning and forgot to push, I hope that helps! I need to work out the filetype issue though... no idea why .rkt files aren't reporting a racket filetype all the time. They should do imo, but maybe I need to find a workaround for it if the ftplugin works in an "interesting" way.

With that most recent update, shutdown appears to be reliable (it happens every time) but slowish (2-3 seconds typically.) Using destroy was definitely quicker, but I'm not sure what the issues with unclean shutdown might be.

I've been following this because of the changes to dotted filetypes, and testing on my setup with Guile.  There seems to be a slight problem (as of 4c0c8af4cf60a6a0).  With this config (which is the default):
let g:conjure#filetype#guile = "conjure.client.guile.socket"

...opening a file with type scheme.guile reports that the MIT Scheme client has been started instead of Guile, but it does appear to actually use the Guile client:
 Sponsored by @campbellr ❤
; --------------------------------------------------------------------------------
; "mit-scheme" (started)
; --------------------------------------------------------------------------------
; /home/taw/starlet/guile.socket (connected)
; Empty result
; --------------------------------------------------------------------------------
; eval (root-form): (+ 1 1)
2

MIT Scheme is not installed on my system.  I only use Guile, so I can configure for Scheme "globally" to work round the issue.  With the following, it works exactly like expected:
let g:conjure#filetype#scheme = "conjure.client.guile.socket"

Possible over-analysis: It seems to me that current-client-module-name works from right to left, but doesn't stop at the first match, so gives higher priority to "scheme" than "guile" with scheme.guile.  I would expect it to work the other way round, based on how dotted filetypes are interpreted by Vim itself (rightmost filetype gets the "last word" on settings).
P.S. I can confirm from experience that working through SICP with Conjure is very helpful and a lot of fun!

Hmm, that's frustrating. I'm only now realising how messy these scheme filetypes are, they all seems to start as scheme then flip to other things and sometimes back.

Racket: scheme -> racket -> scheme (although I feel like I remember it staying on racket? And if you :e again it seems to work!)
Guile: scheme -> guile.scheme (I think?)
Scheme: scheme

Giving this some thought tonight, hopefully I can come up with something that helps us configure things without overlap, despite filetypes flipping around. Until then, I'd recommend overriding the g:conjure#filetype#scheme config, as shown, or g:conjure#filetypes to be something like ["clojure", "fennel", "janet", "racket"] etc.

So I've made a small change... I've made the MIT Scheme client the default over Guile since it has an easier "just open a file and go" story. I've documented all of this and added examples of configuration (what you posted, @taw10) to the help and wiki pages.
I've also ensured that Racket and Guile/MITScheme files work separately and don't collide any more. I hope. I think I may still need to make some tweaks around the stopping of child processes, but I'm not sure yet. I still can't reproduce that hang on exit, I wish I could!
I did reproduce processes hanging around at 100% CPU though, so I've atleast fixed that AFAIK, but will try to repro, I'd imagine that issue and the slow exit are related. I'll have a look at this after work tomorrow / over the weekend.

You've been incredibly responsive about this issue, so thanks so much! Conjure is really cool, and is probably the best vim+lisp experience I've had. I'm here to answer any questions you have, test new changes, etc.

So I think this is the last change I'll make for now. I've fixed a bug that meant my shutdown calls weren't actually firing unless you had the right buffer open, so hopefully this fixes a bunch of edge cases.
I've added as many closes and shutdown hooks as I can, if it's still hanging on exit I don't think I'll be able to help much until I know exactly how to repro it :disappointed: hopefully that helps, definitely fixed some issues.
And now to shuffle the guile and mit clients around into "scheme.stdio" and "scheme.socket"! I realised these are really just general scheme clients at this point and I might as well name them as such + config to change which scheme you launch.

Sounds good to me, thanks again!

I'm going to close this since I can't reproduce it and I've done all I can for now to alleviate this. I'll get it all released and into the hands of more people, then we can assess if more needs to be done. I read up on what others do to shut down libuv processes and I'm now doing more than some other systems 😅
So at this point I think I'd only be able to reproduce it with certain REPLs and maybe certain OS / hardware setups? If this is still an issue that's affecting a lot of people moving forward I think I'll go down the route of building a VM that replicates someone else's environment that's experiencing it. I'd like to avoid that if possible because tiiiiiime 🙂 but then again, maybe it's fine now!
I definitely fixed some issues and it works flawlessly for me now, but the delay on the shutdown might still persist, I just can't know for now. Thanks for giving me as much info as you did! It really helped!


[HOLD] Fix Search - Arrow navigation on search stops working

Details

Comment
Fixed Issues

$ https://github.com/Expensify/App/issues/6131
Tests / QA

Press Control + K
Enter something search
Press the down arrow several times
Verify that you can navigate the search list with the arrow keys

Tested On

[x] Web
[x] Mobile Web
[x] Desktop
[x] iOS
[x] Android

Screenshots

Web

https://user-images.githubusercontent.com/29673073/141044840-0c16a176-83b0-4789-be01-b69192355790.mp4
Mobile Web

Tested for crash.
Desktop

https://user-images.githubusercontent.com/29673073/141047135-a65616da-976e-428e-8bb2-5f287ae1b8c9.mov
iOS

Tested for crash.
Android

Tested for crash.

Holding, see this post for more info.

DO NOT MERGE yet. I have a few comments above...Thanks.

@rushatgabhane Do you mind attaching videos for M-web and native? It affects that behaviour directly so its worth attaching here.

@rushatgabhane Any update?

Oops, looks like I missed the notification earlier.
@parasharrajat I'll update you within 2 hours.

Ah okay I get it, pull down to dismiss keyboard doesn't work on mWeb.
Things work fine on Native because there are no changes to it.
https://user-images.githubusercontent.com/29673073/143293031-b3382913-34c7-47cd-a6a0-1fa15db6b701.mp4

Native works fine.
https://user-images.githubusercontent.com/29673073/143293704-0dea3aa9-3902-4bcb-be8b-0aa7abfd4e86.mp4

TLDR; While my proposal fixes the issue,
It causes a regression: keyboard won't dismiss on scrolling down for mWeb.
https://github.com/Expensify/App/pull/6272#issuecomment-978117669

I am sure we can fix that.

Well, we need to use keyboardDismissMode="on-drag"  for mWeb only.
Do you think checking for mWeb and conditionally using the prop is a good idea?
We could do that using a regex test for mWeb.
Or we could assume smallScreenWidth as mWeb.
What do you say?

In our app, We consider isSmallScreenWidth to be a Mobile device and thus it can be used for MWeb. I know that a tablet could be Mweb too so I am confused about this as well. Let's take an opinion here @Julesssss Could you please help?
I also think subscribing to Onyx for this component is expensive.

I'm tempted to say that we shouldn't care that pull-to-refresh is missing for mWeb. I could be wrong, but I believe that isSmallScreenWidth can be true for small native mobile devices. So if the trade-off is between losing the keyboard dismiss behavior on mWeb or native, I would rather keep it working on native. Does anyone disagree or have a better solution?

The tradeoff is justified imo.

Yeah. If we use isSmallScreenWidth then we can keep the mobile web behaviour as well. My main concern here is that It should create performance issues. OptionList is the most costly component of the app.
@rushatgabhane Could you please test it as well?

I believe that isSmallScreenWidth can be true for small native mobile devices

@Julesssss I don't think that'd be a problem because isSmallScreenWidth  won't be used in index.native.js

@parasharrajat
I don't know how to benchmark, or what metrics to look for in this case.
But I couldn't find any glaring performance issues, and I think we're good to merge.
I hope this is what you were looking for.
Apoligies for the forced push, had to remove an unverified commit.

Thanks I will review shortly

Also, I doubt withWindowDimensions is using Onyx.
It's just a Higher order component which adds isSmallScreenWidth as a prop.
So I don't think we're adding any substantial overhead.

Please remove HOLD from the title as well..

🚀 Deployed to staging by @Julesssss in version: 1.1.17-8 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by @roryabraham in version: 1.1.18-3 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Chemical Reactor not accepting molten boron

Can't get the chemical reactor to accept molten boron in any manner.. via bucket, placing machines next to each other, piping it through mekanisim pipes. Is there some other thing you need to do... tried all three version of it as well... Boron, Boron-10 and Boron-11
Forge <IP_ADDRESS>29
NC-2.9e
Modpack - Atom Smasher

As discussed briefly here, there does not appear to be anything I can do on my side to fix the bug that molten boron from JAOPCA is not accepted by the chemical reactor - I think it has something to do with the way it adds new fluids to the game, as recipes using fluids from other mods work perfectly fine, such as those from Thermal Foundation.
However, molten boron-10 and boron-11 are added by NC and should definitely be accepted. Are you sure no recipes have been altered in the pack?

OK yea boron-10 and 11 work, I was just trying only with a bucket, pipes put the boron-10 in just fine

Great - so yeh, not sure about the boron thing, but it's been added directly to NC now, so it should accept it in later versions :)


[Tooling] Transpile tests targeting Node, not browser

Just found we are transpiling test files using browser target, while we actually may do faster Node target. Fixes that.
Found a bug in test as result of this and also fixed that.

@jshjohnson 🙏 need that to have async functions in unit tests...


Add metric plugin model and implement statsd as an example

What changed?
Add a plugin model and statsd implementation, with README.

Why?
For https://github.com/uber/cadence/issues/3530
And people have asked in Slack channel that they need to report metrics to Datadog.

How did you test it?
Will run locally later with Statsd.

Potential risks
No.

close in favor of https://github.com/uber/cadence/pull/3611


Maybe use govanityurls

https://github.com/GoogleCloudPlatform/govanityurls

I think this is probably deprecated by the go-import meta tag, which handles this redirection in a better way. This is what we use already:
https://github.com/google/gvisor-website/pull/76

I didn't do much research though I thought it was curious that we were supporting redirection on every url rather than just specific urls like gvisor.dev/gvisor

FWIW a cursory look says that govanityurls uses the meta tag too but does some better cache control stuff, etc.
https://github.com/GoogleCloudPlatform/govanityurls/blob/master/handler.go#L164
It's also not very usable in the sense that you have to fork the code since it doesn't export a handler you can import. So I don't think it's worth using but it was useful to look at.
Maybe for us just doing redirection for specific urls (or urls with a specific base path) would be good though.


Diagram based Database

At this step we create a database based on diagram! And we have been to:

Create table tables like patients, invoices, invoice_items, medical_histories,  and treatments!

The figure bellow shows how the database schema looks

@Omar-Muhamad  Thank you for reviewing our PR and providing valuable feedback

Thanks @hiromataba for reviewing this PR!!

@hiromataba  Thank you for approving our PR :)


What is the difference between @index and @key  ?

{{#each array}}
  {{@index}}
{{/each}}

{{#each array}}
  {{@key}}
{{/each}}

Can you provide the demo.
Please tell me,thank you!

The two values are identical for arrays. If iterating over an object, @key will be the name of the key value. and @index will be a zero-based integer indicating the loop iteration.


Have you created a 10.3 bundle reader?

Hi Fu zhen,
I have just come across your library.  Is this project still alive?  Have you done further work on it such that it can support the 10.3 bundle format?
Xie Xie ni,
zai jian
Peter

Ni Hao, Peter,
Yes, this project is active.
Because arcgis tiles are rarely used in my projects now, I haven't digged into it.
And I don't have any 10.3 sample bundle data now, could you provide one for me? I am glad to find some time to complete this work.

fixed in https://github.com/fuzhenn/tiler-arcgis-bundle/pull/2
Verifing in production.

verified and published as 0.3.2


add mind utils

Description

add examples/01_prepare_data/prepare_mind_utils.ipynb to generate

embedding.npy
word_dict.pkl
embedding_all.npy
word_dict_all.pkl
vert_dict.pkl
subvert_dict.pkl
uid2index.pkl

Related Issues

https://github.com/microsoft/recommenders/issues/1182
https://github.com/microsoft/recommenders/issues/1238
Checklist:

[x] I have followed the contribution guidelines and code style for this project.
[x] I have added tests covering my contributions.
[x] I have updated the documentation accordingly.
[x] This PR is being made to staging and not master.

@miguelgfierro Could you please help review the PR?

hi @yjw1029, I would like to follow up to see whether you have seen the comments. Thanks!

Sorry for the late update. Already make the changes.

Sorry for the late update. Already make the changes.

great @yjw1029, thanks for the contribution!

great @yjw1029, thanks for the contribution!


FEATURE: Optionally allow HTML to be rendered within the backend message

I was hoping to be able to render ordered lists and multiple lines within my CMS error and warning messages. The <p> tag will render the message on a single line, causing my lists to run outside of it. This setting changes it to a <div>, which fully contains any basic HTML included in it.
It defaults to false, to avoid breaking backwards compatibility.

Hello @elliot-sawyer
sorry for the super late reply. I've missed this somehow.
Thank you for the contribution! This is a great idea and makes sense to add. I've fixed some code style. Going to merge it in shortly.
Thanks again and sorry for the late reply.
Peter


Add Custom CSS Properties for Border Radius, Style, and Color to bl-button

Description
In split button design Figma, we need to add some CSS custom properties for borders to match with the design.
This issue aims to enhance the bl-button component's styling flexibility by introducing three new CSS custom properties:

--bl-button-border-radius
--bl-button-border-style
--bl-button-border-color

These properties will allow developers to more easily customize the appearance of bl-button components to fit the design requirements of their projects without modifying the component's internal CSS or structure.

We don't need these attributes because we already have four styles: Default, Neutral, Success, and Danger. We want to enforce strictness in order to maintain consistency within the design system.

Is it possible to change the border radius of buttons?

For border style, in the secondary type of split button, the primary button and dropdown button are adjacent and to avoid overlapping borders each other, I think that if I give the "none" left border of the dropdown button It solves the issue.

for border color, in the disabled type of split button, there is a divider between the primary button and the dropdown button. I think that if I give the specific border color to the right border of the split button It solves the issue.

You are right, maybe I can add a divider for the last one, but for the other ones, we can talk if they are necessary or not.

No, it isn't.
The border style shouldn't be changed by the developer, so I believe your solution is appropriate.
The button and the dropdown handler each have separate disabled attributes, so they should be considered as three different scenarios.

You could consider one of them as the new button inherited from our bl-button, while the other is an already existing component of bl-dropdown.


feat: add version command

Adds a version command and updates Cargo.toml to be the source of truth for the version

@withered-magic i would appreciate if this and other prs can be checked in and another release be made 🙏  i want to add this wonderful LSP to my company's repo but not having an easy way to get the version in addition to this PR are blocking me from adding it

nvm this doesn't work with bazel 🫠  will put in draft and fix

just added a starpls version command as part of https://github.com/withered-magic/starpls/pull/292!


related query is always returning an array in the TS type

I find that I have to do this ugly thing to satisfy Typescript:
  const scimResourceInDb = ((await group.$relatedQuery<ScimResourceModel>(
    'scimResource'
  )) as any) as ScimResourceModel

Is there a better way to type this?

If you add the relation for the model as a property, you get the correct type.
class Group extends Model {
  scimResource?: ScimResourceModel;
}

That way you also don't need to explicitly give the type using <ScimResourceModel>.


Update screenshot

Hi team - the screenshot of the toast in this topic (

)
Is out-of-date. There are some further changes planned for that toast, so we might want to plan to update it once Nickel ships.

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

ID: e09345e7-0b81-b2f5-410f-54a855adc39d
Version Independent ID: c57c1b34-3999-54db-bf17-830af9dcf6bb
Content: Customize Windows Security contact information - Windows security
Content Source: windows/security/threat-protection/windows-defender-security-center/wdsc-customize-contact-information.md
Product: m365-security
Technology: mde
GitHub Login: @Dansimp
Microsoft Alias: dansimp

Hello, the screenshot was removed by https://github.com/MicrosoftDocs/windows-itpro-docs/commit/d164f0e48c961288671bf254d786b6cfb656f729#diff-77d7f11d2d99dad4ab9ed10595634f216e232417b4afa0f3f7405b361f72028a
There are some further changes planned for that toast, so we might want to plan to update it once Nickel ships - is it planned for 21H2 version?
Thank you


How to get total hours in a date in mongoDB?

I want aggregation to get total hours that stored as 'HH:mm' format.

This is an issue tracker to report bugs, not ask usage question. Please ask your question on Stack Overflow or any other support channel. Thank you.


mutual-auth: Update the terminology

The main change is to update vendor, also some updates are done on
related CNP:

Adjust the CR based on latest spec (e.g. authentication.mode instead
of auth.type)
Remove hard-code namespace so that the tests can run in user provided
namespace via CLI
Rename the policy name to match file name (like what we have with
other policies)
Remove the podToEndpoints scenarios as this scenario is mainly for
testing L7 related feature, for mutual auth, L3/L4 is good enough

Relates: https://github.com/cilium/cilium/issues/24867
Signed-off-by: Tam Mach<EMAIL_ADDRESS>

As https://github.com/cilium/cilium/pull/25904 is merged, remove preview only label after update the commit hash from cilium/cilium main branch.


much slower after update react native from 0.24 to 0.27

After I upgraded react native from 0.24 to 0.27, my entire app becomes very slow, I used two side drawers likes below:
      <Drawer
        type="displace"
        open={drawerState.leftDrawer.open && !this.state.leftDrawer.disabled}
        disabled={this.state.leftDrawer.disabled}
        onOpenStart={this._handleOnOpenStart}
        onClose={this._handleOnClose}
        onCloseStart={this._handleOnCloseStart}
        content={this._renderContent(this.state.leftDrawer.content)}
        openDrawerOffset={0.2}
        tweenHandler={Drawer.tweenPresets.parallax}
        tweenDuration={150}
        side="left"
        tapToClose
      >
        <Drawer
          type="displace"
          open={drawerState.rightDrawer.open && !this.state.rightDrawer.disabled}
          disabled={this.state.rightDrawer.disabled}
          onOpenStart={this._handleOnOpenStart}
          onClose={this._handleOnClose}
          onCloseStart={this._handleOnCloseStart}
          content={this._renderContent(this.state.rightDrawer.content)}
          openDrawerOffset={0.2}
          tweenHandler={Drawer.tweenPresets.parallax}
          tweenDuration={150}
          side="right"
          tapToClose
        >
          {children}
        </Drawer>
      </Drawer>

And I rendered it as root with navigator:
      <DrawerPanel
        leftDrawer={leftDrawer}
        rightDrawer={rightDrawer}
        >

        <NavigationTransitioner
          style={styles.container}
          navigationState={navigationState}
          onNavigate={onNavigate}
          renderOverlay={this._renderHeader}
          renderScene={this._renderScene}
          />
        {navigationState.overlay}

      </DrawerPanel>

After I removed the drawers, my app becomes fast again. I don't know what's wrong with my drawers.

Hi, I have the same issue after I upgraded from 0.26.2 to 0.27.2. I use Drawer with RNRF.

1st focus is on Drawer, 2nd focus is on Contacts and that is 1.8 seconds, previously was about 0.1 seconds. Any help would be appreciated.

Have you tried it in dev mode? In my application when in dev mode the drawer is very slow about 1-2s to open. After turn off JS dev mode, it run fast again.


Analyze with Non-Daemon podman

What would you like to be added:
I could be nice if podman:yourrepo/yourimage:tag work with a non-daemonic usage of podman.
Why is this needed:
In CICD with rootless setup of buildah/podman there no daemon running.
To make an analysis we have to push first to the docker registry and use registry:yourrepo/yourimage:tag
I could be a waste of time and resources (especially in case how we make an syft + grype and it's useless to push a vulnerable image into the registry).
Additional context:

I don't know if it could help but it's ok with dive : https://github.com/wagoodman/dive

The podman daemon has API compatibility with docker. The way we access podman is with our existing docker daemon API implementation in the underlying library, https://github.com/anchore/stereoscope. It's unclear what the next step is to access the underlying container storage without needing to pull in https://github.com/containers/storage et. al. which we've looking into doing in the past and deferred until the dependencies could be better controlled (I also think there was a CGO limitation at the time, not certain if that is still a limitation).
The way dive is doing this is less ideal: https://github.com/wagoodman/dive/blob/64880972b0726ec2ff2b005b0cc97801067c1bb5/dive/image/podman/cli.go  since there is a shell out that must be done and an implicit dependency on the podman CLI being installed. We try not to do this in syft since it is a static analysis tool (never execute anything if at all possible).

Do we know if the containers/storage repo still has the CGO build limitations?

A workaround for the meantime is exporting the image with podman image save to get an archive and passing that archive to syft (syft ./image.tar) . Will that work for your case in the meantime?


SST time values are turned into strings

From some test data like this:
{ "testTime": { "$time": "10:23:54" } }
{ "testTime": { "$time": "12:23:54" } }

The returned structure is:
            "testTime": {
                "measure": {
                    "count": 2,
                    "min": "10:23:54.000",
                    "max": "12:23:54.000",
                    "minLength": 12,
                    "maxLength": 12
                },
                "structure": {
                    "type": "array",
                    "of": {
                        "measure": {
                            "count": 2
                        },
                        "structure": {
                            "type": "character"
                        }
                    }
                }
            }

They definitely were time values at some point, as .000 milliseconds has been appended! :smile:

I think this is a Mongo-specific problem, as we encoded times as strings before we had a better way. If you can try this on another connector and add the Mongo label if it works fine there.
Additionally, this might have the same problem as #2354 where we want "_ejson.string" somewhere in it?

@sellout looks like you're right, I tested with spark local and it gives me a map.


Add to README.md description of dependencies

Describe the dependencies that are used in the project (or consider dependency graph as an alternative)

Will be fixed in https://github.com/obervinov/vault-package/issues/23


Bratseth/tensor render value only

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.

@lesters please review


copr: vectorize sub_duration_and_string and fix unit test

Signed-off-by: hongrubb<EMAIL_ADDRESS>What problem does this PR solve?
Issue Number: #9016
Problem Summary: This PR is for vectorizing functions in impl_time.rs
What is changed and how it works?
What's Changed: vectorize sub_duration_and_string, fix unit test in test_add_durationand_string()
Related changes
none
Check List
Tests

Unit test

Side effects
Release note
None

/cc @skyzh

/run-integration-copr-test copr-test=pr/142

LGTM. Previously in #9931, we found that TiDB might be using different types from TiKV coprocessor for date related function. So I'll run some integration tests, and give my approval later.

Unfortunately, it doesn't work. I'll take some time to look into this...

/cc @Xuanwo

/merge

LGTM. copr-test may require all date-time-related arithmetic functions to be implemented before it could pass, so we just ignore that result for now. Thanks for your contribution, and if you have time, you may try implementing all date-time-related arithmetic functions to make pushdown of datetime functions possible.

Thanks, I will implement the rest of date-time-related arithmetic functions soon.


[REF] enforce an uniform code formatting

Working together on a project is difficult enough without everybody using his own code formatting.
This is why I recommend to switch to a tool called Black which enforces a uniform code style, and which can even be setup as an action, https://github.com/psf/black#github-actions.

Related to #81

Related to #81


Add full docstring to w4h.run()

All parameters from all function should be in docstring

Completed, but only visible with help(w4h.run())


A feature suggestion: display the content link of this page on the screen.

A feature suggestion:
When opening a page, locate the content on that page and display the content link of this page on the screen.
If a document content is very long, open a later page, and the content link of this page is not displayed on the screen.

Hi @diguage, please describe your suggested feature more thoroughly, perhaps with some kind of example.

@owenh000
The default content

The ideal content

Okay. Thanks for the example. If I understand correctly, you are suggesting the following feature:
"Automatically scroll the table of contents so the entry to the current page is in view (scroll so entry is in center of view, ideally)."


Added g:syntastic_typescript_tsc_target option.

Annoyingly tsc ignores tsconfig.json files (in which a target can be set) when input source files are specified: http://www.typescriptlang.org/docs/handbook/tsconfig-json.html
To use es6 features like async/await without syntax warnings (TS1311: Async functions are only available when targeting ECMAScript 6 and higher.) I added g:syntastic_typescript_tsc_target.
@jb55

You can achieve the same effect without code changes, by setting syntastic_typescript_tsc_args in your vimrc.  Sorry, but no.


TypeError: show() got an unexpected keyword argument 'offscreen'

Hi, I wanted to try brainrender-gui, so I installed brainrender to my local anaconda environment.
I ran "brainrender-gui" and got some errors related to PySide and Qt, but fixed them somehow.
After that I ran brainrender-gui again, and got the error of the title.
I have no idea what's happening, I appreciate any help.
My versions are:
python 3.7.7
brainrender <IP_ADDRESS>
vedo 2021.0.3
MacOS 10.15.7
When I run brainrender-gui, the GUI launches for 5 seconds or so, but shuts down and gives me that error.

Hey,
This was introduced by a recent update in vedo (see https://github.com/brainglobe/brainrender/issues/158).
If you upgrade brainrender now it should be fixed: pip install brainrender -U. You might need to downgrade neurom with pip install neurom==1.4.20

It works! Thank you.
However, I ran brainrender-gui -a allen_mouse_10um, but all I get is this weird brain-like lines and there's no interface.
Could you help me again?
BTW the example code in the paper worked fine (a pyplot rectangular wave graph that I don't understand appeared before the rendering window though).

Hi,
Do you have either pyqt5 or pysid2 installed? The GUI is working fine in my case, do you get any error or warning message?
Which of the paper's examples are you referring to?

I checked that PySide2==5.15.2 was installed, but as PyQt5 was not, I ran pip install PyQt5.
Now PyQt5==5.15.4 is installed, but it didn't solve the problem.
When I came across the error of Qt and PySide earlier, I followed the following instruction (sorry it's in Japanese), so I think I had also installed Qt4 through Homebrew.
http://hiho-developer.hatenablog.com/entry/20160327/1459075409
The example code that worked fine was this:
from brainrender import Scene

scene = Scene(atlas_name='allen_mouse_10um')

scene.add_brain_region("SCm", "ZI")

# scene.add("neuron_mesh.stl", color="tomato")

scene.render()

Then I get this window.

After closing that, I get this.

Is the GUI now working?
And I have no idea why you get a matplotlib plot before the scene comes up, matplotlib is only used in one place in brainrender and only to define some colors. Perhaps you're also running some other code at the same time?

GUI is not working yet.
I only can rotate and zoom in/out.
It doesn't seem to be an error, but I get this message when I run brainrender-gui -a allen_mouse_10um.
qt.qpa.fonts: Populating font family aliases took 490 ms. Replace uses of missing font family "Roboto" with one that exists to avoid this cost.
I'm sure that any other python process is running.
I forgot to mention: if I don't comment out scene.add(), I get an error that says neuron_mesh.stl was not found.

I noticed that I maybe familiar with the shape of the pyplot graph, so there is a possibility that it's a figure that I generated very long ago.
But even if that's the case, it's too weird that it appears now...

I found that from brainrender import Scene was generating that pyplot graph.
I think something weird regarding dependencies is happening in my environment, but please don't worry about it because it's my problem.

okay, yeah probably you have something local to your setup that gets executed by brainrender, weird.
can you send a screenshot of the gui? what exactly is not working?
Sent from ProtonMail mobile
-------- Original Message --------
On 17 May 2021, 13:58, Sensho Nobe wrote:

GUI is not working yet.
I only can rotate and zoom in/out.
It doesn't seem to be an error, but I get this message when I run brainrender-gui -a allen_mouse_10um.
qt.qpa.fonts: Populating font family aliases took 490 ms. Replace uses of missing font family "Roboto" with one that exists to avoid this cost.
I'm sure that any other python process is running.
I forgot to mention: if I don't comment out scene.add(), I get an error that says neuron_mesh.stl was not found.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub, or unsubscribe.

Same as before. Now I can't even rotate... and there is no interface.

That's very weird indeed. I can't replicate the error so its hard for me to say what might be going wrong.
Two things you can try:

a complete re-install in a new anaconda environment
try launching the GUI from a script enabling debugging messages

import brainrender as br

br.set_logging(level='DEBUG')
br.gui.launch()

and see if something useful comes up.
By the way, can you use brainrender outside of the GUI functionality?


The front end is in JavaScript that does not allow everything on RPI to be required by CJS to only allow the use of web pages, but this is not feasible here, you use server-side scripts that are not allowed to be used

I have communicated with the professor. The implementation principle is as follows: Since the website runs the 3D rendering effect on the Raspberry PI, the website is only remotely realistic on the mobile phone and PC. The server is created through linux, and data is sent to the server through the socket. The teacher agrees with the scheme and gives a simpler implementation as a reference


Best Practice for exporting Frameworks

I have a fastlane Project containing only an iOS Framework. No executable app. I want to export this framework for distributing the binary without the source code. What is the best practice here? I am calling

sigh

with

development: true

and

gym

with

export_method: development

Gym seems to always create an ipa-file, but I think this is not what I want. I think I just need some kind of zip-archive. Is fastlane/gym supporting this?

Hi @mindrunner! Great to hear from you. Right now gym is not built to export this type of file. Let me know if you have any other questions. Closing this out for housekeeping purposes. Thanks!

Cool, thanks for the answer. Our workaround now is to call

carthage archive

instead of

gym

Cheers


Move to git flow workflow

I was wrong; @grahamearley and @kileymaki were right. We should be using git flow as a git management model. I'm tangled up in knots on the current release.
Move the repo to a git flow strategy.

Done. There are a few feature branches sitting out there I'd still like to clean up, but develop is now clearly the central development branch. I've still got to merge in some lingering changes in master (I'm going to do that now), and we've got some work to do when the next release happens when we go back to master for that. I'd also like to prevent other developers from being able to commit to develop or master, but it looks like I've got to move the project to an organization first if I want to have branch-dependent permissions.


HDFS URL stream handler; storeloader config

Fix for Accumulo WFS w/ CQL killing tablet server; fix for bad storeloader config init

Coverage decreased (-0.03%) to 48.99% when pulling 9b47a7b3d30c250df181aec800aadd2a544930ea on accumulo-wfs-fix2 into abbc38eb46cb05010f95d90cc48d197dce3a963d on master.


[UNIMPLEMENTED: AES-GCM-SIV is unimplemented for OpenSSL], UNIMPLEMENTED: AES-GCM-SIV is unimplemented for OpenSSL Aead primitive failed: UNIMPLEMENTED: AES-GCM-SIV is unimplemented for OpenSSL

Help us help you
Out tink configuration uses 2.2 with a few small build patch for a conflicting RapidJSON installation.
** Bug report **
We use a very up to date version of Ubuntu (24.04), but we still cannot use this encryption feature. What OS can support this ?
Apparently that feature is available in OpenSSL 3.2 / https://www.openssl.org/news/openssl-3.2-notes.html

ps: this might be a limitation of the straight openssl build versus the boringssl build
https://github.com/tink-crypto/tink-cc/blob/ced36a4915643c527aaa079fe84a8941e90181f3/tink/aead/internal/ssl_aead.cc#L550

Hi bsergean thanks for the issue. AES-GCM-SIV isn't available when building with OpenSSL because the work on supporting OpenSSL in Tink predates OpenSSL 3.2. We will consider adding this for when OpenSSL 3.2 is used.

thanks !
On Mon, Aug 5, 2024 at 12:49 AM Moreno Ambrosin @.***>
wrote:

Hi bsergean https://github.com/bsergean thanks for pointing this out.
AES-GCM-SIV isn't available when building with OpenSSL because the work on
supporting OpenSSL in Tink predates OpenSSL 3.2. We will consider adding
this for when OpenSSL 3.2 is used.
—
Reply to this email directly, view it on GitHub
https://github.com/tink-crypto/tink-cc/issues/5#issuecomment-2268402272,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AC2O6UKPIB6WXBQQUA35MMTZP4VBJAVCNFSM6AAAAABLK3NJSWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRYGQYDEMRXGI
.
You are receiving this because you authored the thread.Message ID:
@.***>


Adding in -feedback to send feedback to server

Allow users to send feedback to server with -feedback

Finished, reference PR #11


--no-info option not taking effect

Info

Operating System:
Shell: zsh
Terminal: iTerm2
nvim --version: NVIM v0.9.0 (or nightly)
fzf --version:

Description
The fzf option --no-info seems to not take effect if prompt=... or cwd=... are specified. For example consider
fzf.setup({
...
  fzf_opts = {
    ["--no-info"] = "",
    ...
  },
  files = {
    prompt = "files:",
  },
...

the picker still shows the header info (number of total files) although the option is set to  ["--no-info"] = "",; interestingly enough if I remove the prompt = "files:", then all works fine. I have observed a similar behaviour when setting the picker to work with a specific cwd=... thus I presume that the way certain fzf options are parsed may interfere with how others are?
For the picker buffers I noticed that some commits ago the header ::<ctrl-x> to close was introduced: is it possible to hide that as well? I have tried forcing --no-info in one way or another (also explicitly passing the option when invoking the picker) without any luck.

You need to prevent the --info flag from being sent so it won’t interfere with --no-info, use:
:lua require'fzf-lua'.files({ fzf_opts = { ['--info']=false, ['--no-info']=''} })

Use no_header or no_header_I to hide buffers header:
:lua require'fzf-lua'.buffers({ no_header = true })

The prompt is a different option, I set the default for files to cwd_prompt=true, set it to false either via setup or direct call and it will restore the previous behavior, see the commit message in https://github.com/ibhagwan/fzf-lua/commit/8af3a5864b319883bb3c7f8da612890320b7f92f

Awesome, it works, thank you!

FYI @gennaro-tedesco, I forgot to mention show_cwd_header was also renamed to cwd_header (for more consistency in naming along with cwd_prompt), just in case you're using this option you can now use cwd_header instead, not obligatory though, all changes are backward compatible as I hate breaking users configs.


SAK-44514 Quiz | Event Log search: sending request

https://jira.sakaiproject.org/browse/SAK-44514
This solution is based on the search bar of TESTS & QUIZZES / Submitted. In order to get the result by pressing Enter.

Now you can search by pressing Enter, and the searchbar appearance has greater consistency with other tools.

However, there could be a better way to set the width and height of the input. I haven't found any styleClass that fits this case.

This looks good to me, save for the inline styles.
@fostersdesign, can you recommend any classes to apply on this search field rather than the inlines?

Closing and unassigning @V100X


Website - Ingredients

I was hoping you could add a small color swatch next to the corresponding color on the ingredients page? I keep  needing to go  back to the swatches page to remember what the color looked like, a small swatch of the colors next to the color name would make easier to navigate.  (i.e. Blue 1, Blue 2, etc... )

Thank you for your good feedback. I'll work soon.


[gmp] Build error

I tried to install gmp on windows 10 64 bit but this is the error:
I'm not a C++ programmer so please try to answer clearly and full instruction that i can follow
CMake Error at scripts/cmake/vcpkg_download_distfile.cmake:32 (message):
  Failed to download file with error: 1
  If you are using a proxy, please check your proxy setting. Possible causes are:

  1. You are actually using an HTTP proxy, but setting HTTPS_PROXY variable
     to `https://address:port`. This is not correct, because `https://` prefix
     claims the proxy is an HTTPS proxy, while your proxy (v2ray, shadowsocksr
     , etc..) is an HTTP proxy. Try setting `http://address:port` to both
     HTTP_PROXY and HTTPS_PROXY instead.

  2. If you are using Windows, vcpkg will automatically use your Windows IE Proxy Settings
     set by your proxy software. See https://github.com/microsoft/vcpkg-tool/pull/77
     The value set by your proxy might be wrong, or have same `https://` prefix issue.

  3. Your proxy's remote server is out of service.

  If you've tried directly download the link, and believe this is not a temporary
  download server failure, please submit an issue at https://github.com/Microsoft/vcpkg/issues
  to report this upstream download server failure.

Call Stack (most recent call first):
scripts/cmake/vcpkg_download_distfile.cmake:270 (z_vcpkg_download_distfile_show_proxy_and_fail)
scripts/cmake/vcpkg_acquire_msys.cmake:26 (vcpkg_download_distfile)
scripts/cmake/vcpkg_acquire_msys.cmake:67 (z_vcpkg_acquire_msys_download_package)
scripts/cmake/vcpkg_acquire_msys.cmake:345 (z_vcpkg_acquire_msys_declare_package)
scripts/cmake/vcpkg_configure_make.cmake:224 (vcpkg_acquire_msys)
ports/gmp/portfile.cmake:85 (vcpkg_configure_make)
scripts/ports.cmake:147 (include)
error: building gmp:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest port files with git pull and vcpkg update.
Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+gmp
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?title=[gmp]+Build+error&body=Copy+issue+body+from+C%3A%2Fdev%2Fvcpkg%2Finstalled%2Fvcpkg%2Fissue_body.md

Duplicates https://github.com/microsoft/vcpkg/issues/30530
Needs #30546.

Duplicate of https://github.com/microsoft/vcpkg/issues/30542


Update ERC-3770: Update erc-3770.md - fixed the examples image link

The examples image link was pointing to "../assets/eip-3770/examples.png" instead of "../assets/erc-3770/examples.png".
When opening a pull request to submit a new EIP, please use the suggested template: https://github.com/ethereum/EIPs/blob/master/eip-template.md
We have a GitHub bot that automatically merges some PRs. It will merge yours immediately if certain criteria are met:

The PR edits only existing draft PRs.
The build passes.
Your GitHub username or email address is listed in the 'author' header of all affected PRs, inside .
If matching on email address, the email address is the one publicly listed on your GitHub profile.

Because of a quirk of our rendering system, using ../assets/eip-xxxx/... is correct.


Unify error handling for missing fields in Ankaios manifests

When you start the start ank-server and pass a startup config which is missing the runtime field, ank-server exists and logs an error:
[2024-02-27T12:35:00Z ERROR] Parsing start config failed with error: 'workloads.databroker: missing field `runtime` at line 4 column 5'

When you call ank set state -f databroker.yaml desiredState.workloads again without a runtime field the CLI does not print any error. Obviously the parsing worked fine. Finally the agent logs an error about the missing runtime.
A first analysis showed that different structures are used for parsing: StoredWorkloadSpec vs. WorkloadSpec. While the first does not use default values, the second provides defaults (empty string for strings I assume) and thus does not complain about missing runtime field.
Current Behavior
The result of parsing Ankaios manifests is different when parsed as saved state or desired state.
Expected Behavior
An Ankaios manifest shall always be parsed in the same way, independent of using as startup config or when used with ank set state or ank apply. We should decide which fields are mandatory (runtime should be one of them) and then the parser should complain when those fields are not present and reject the workload.
Steps to Reproduce
Call ank-server -c myworkload.yaml with myworkload.yaml being
workloads:
  myworkload:
    # runtime: podman
    agent: agent_A
    restart: true
    runtimeConfig: |
      image: docker.io/nginx:latest

With a running server call ank set state -f myworkload.yaml desiredState.workloads  with myworkload.yaml being
formatVersion:
  version: v0.1
startupState:
  workloads: {}
desiredState:
  workloads:
    myworkload:
       # runtime: podman
      agent: agent_A
      restart: true
      runtimeConfig: |
        image: docker.io/nginx:latest
workloadStates: []

Context (Environment)

Logs

Additional Information

Final result
To be filled by the one closing the issue.

I see that this problem has already been addressed in #191 and and #189.
For parsing from YAML or JSON only StoredWorkloadSpec will be used. The difference of WorkloadSpec is that this structure also stores the name of the workload.
In StoredWorkloadSpec all fields are required besides tags, dependencies and restart which are optional.

As written above, the implementation has changes meanwhile. I took the start config myworkload.yaml from the example and the command ./ank-server -c myworkload.yaml returns now:
[2024-03-18T14:15:06Z ERROR] Parsing start config failed with error: 'workloads.myworkload: missing field `runtime` at line 4 column 5'

This is what we expect. I am going to check other commads/cases.

If I try the command ./ank set state -f myworkload.yaml desiredState.workloads with myworkload.yaml from the example, I get:
error: Failed to set state: 'Could not serialize YAML object: 'missing field `runtime`''

And if I take the startup config from the example with the command ./ank apply myworkload.yaml I get:
error: Invalid manifest data provided: missing field `runtime`

I can confirm that the Ankaios uses in all cases the structure StoredWorkloadSpec for parsing.

As described above, the bug has been fixed meanwhile. I have repaired requirements coverage for new requirements.


feat: bump cdk version to 1.75.0

feat: bump cdk version to 1.75.0

Codecov Report

Merging #56 (0bab4fb) into main (4ef13a4) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #56   +/-   ##
=======================================
  Coverage   94.36%   94.36%
=======================================
  Files           3        3
  Lines         266      266
  Branches       69       69
=======================================
  Hits          251      251
  Misses         13       13
  Partials        2        2

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 7591bf9...0bab4fb. Read the comment docs.


Callback

callback: suspend (view: View) -> Unit never call at second time in fragment. So second time to comeback fragment, so loading view forever

did you get any solution?


Cleanup some memory flags used in the CLI

Remove all the duplicate code around memory CLI flags

LGTM!

Fixed the comment, thanks!


Use inotify to wait for ansible-runner pid file creation

When using ansible-runner start a daemon is forked off and runs the playbook in the background allowing the caller to continue one.  It then provides a method to check if the playbook is still running via the ansible-runner is-alive call.
This call checks for the existence of the private_data_dir/pid file and sends a kill(2) syscall to check that the process is alive.  Once the daemon exits the pid file is deleted and ansible-runner is-alive returns 1
If ansible-runner is-alive is called before the daemon is forked then the pid file hasn't been created yet and is-alive returns that the process isn't running which, while technically true, doesn't help a caller who wants to wait until the daemon has started and exited.
Since ansible-runner is-alive checks for the pid file it isn't safe to issue the is-alive check until after this file has been created if the purpose of calling is-alive is to check if the daemon has exited.
This can be done very efficiently by using inotify/fs_notify to catch filesystem events using watches.  We setup a filesystem watch on the /tmp/ansible-runner tempdir looking for the pid file and as soon as it is created break out and return to the caller.
This makes all subsequent ansible-runner is-alive calls safe since it is impossible for the call to be issued before the daemon has started running.
Cross Repo Tests: https://github.com/ManageIQ/manageiq-cross_repo-tests/pull/187

I'd like to verify this works on a Mac (or at least what the behavior of inotify is)

On a Mac:
Traceback (most recent call last):
	3: from foo.rb:29:in `<main>'
	2: from foo.rb:2:in `wait_for'
	1: from /Users/jfrey/.rubies/ruby-2.6.6/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/Users/jfrey/.rubies/ruby-2.6.6/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- rb-inotify (LoadError)
	11: from foo.rb:29:in `<main>'
	10: from foo.rb:2:in `wait_for'
	 9: from /Users/jfrey/.rubies/ruby-2.6.6/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:34:in `require'
	 8: from /Users/jfrey/.rubies/ruby-2.6.6/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:130:in `rescue in require'
	 7: from /Users/jfrey/.rubies/ruby-2.6.6/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:130:in `require'
	 6: from /Users/jfrey/.gem/ruby/2.6.6/gems/rb-inotify-0.10.1/lib/rb-inotify.rb:2:in `<top (required)>'
	 5: from /Users/jfrey/.rubies/ruby-2.6.6/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:65:in `require'
	 4: from /Users/jfrey/.rubies/ruby-2.6.6/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:65:in `require'
	 3: from /Users/jfrey/.gem/ruby/2.6.6/gems/rb-inotify-0.10.1/lib/rb-inotify/native.rb:3:in `<top (required)>'
	 2: from /Users/jfrey/.gem/ruby/2.6.6/gems/rb-inotify-0.10.1/lib/rb-inotify/native.rb:9:in `<module:INotify>'
	 1: from /Users/jfrey/.gem/ruby/2.6.6/gems/rb-inotify-0.10.1/lib/rb-inotify/native.rb:28:in `<module:Native>'
/Users/jfrey/.gem/ruby/2.6.6/gems/ffi-1.13.1/lib/ffi/library.rb:273:in `attach_function': Function 'inotify_init' not found in [libc.dylib] (FFI::NotFoundError)

The listen gem bridges rb-notify (linux) and rb-fsevent (mac) (and technically windows and others as well)...we may want to just use the listen gem.

@Fryguy well, my installation of ansible-runner is borked on my machine, but I can at least confirm it doesn't raise an error when trying to use the code from https://github.com/ManageIQ/manageiq/pull/20667
Not sure if you wanted to test it yourself.

This doesn't look good:
https://travis-ci.com/github/ManageIQ/manageiq/jobs/396503769#L720-L723
Both previous builds failed with this error.

@agrare Do we do any other ansible runner stuff in other repos? If so, can we cross-repo-test those?

Works on Linux and Mac OSX and is passing specs, taking out of WIP and running cross-repo tests

This doesn't look good:
https://travis-ci.com/github/ManageIQ/manageiq/jobs/396503769#L720-L723
Both previous builds failed with this error.

Yeah we have specs with do expect(AwesomeSpawn).to receive(etc... so had to stub out our filesystem wait since ansible-runner isn't actually being run

Okay cross-repo tests are green

We my want to prefer #20667 for backport purposes, but i'm ok with introducing a new gem on backport.   @agrare @NickLaMuro Thoughts?

My 2cents would be for using #20667 for the backport since there is no gem, and I think all of our tests were done without testing this in containers.  I was able to test #20667 directly on the manageiq/latest-jansa image, and nothing that was introduced caused issues there, or in the specs.  Zero threads required, just slightly less elegant and clunky, but arguably less places to introduce instabilities.
While I do agree this is probably the #Right™ solution long term, I think there is a lot added to the product to justify it being a backport.

Yeah I think https://github.com/ManageIQ/manageiq/pull/20667 is probably safer for backport, maybe updated to check the pid file and raise an exception on timeout like this is doing?

@NickLaMuro You'll probably have to make it a direct-to-jansa PR

maybe updated to check the pid file...

Commented on this part specifically as to why I don't want to do this:  https://github.com/ManageIQ/manageiq/pull/20667#issuecomment-705092814
Adds another race condition possibility, and the worst case with this is we wait the full 10 seconds if the artifacts dir is never created.

You'll probably have to make it a direct-to-jansa PR

yup, I will reopen as a new PR.

Backported to jansa via https://github.com/ManageIQ/manageiq/pull/20670


OneNote import - Obsidian page truncated at the first embedded pdf

While importing a small OneNote section with 7 pages (no subpages) the markdown file is cut at the first pdf embedded in the OneNote page.
Last row that appears in the Obsidian page is the link to the pdf file.
All the pdf are correctly downloaded in the folders. Just the Obsidian page is truncated at the first pdf embedded.
This happens on all the pages that have a pdf embedded in OneNote.
Would be also possible, for the .jpeg embedded file, creating a link in Obsiand document without the part in () brackets. The part inside brackets contains non printable characters take from the image itself.
Happy to provide more details. Thanks.

I've experienced the same problem. Particularly painful with complex OneNote pages where the embedded PDF is near the start of the page! This happens consistently with every page on which I have an embedded PDF. Easily reproducible.


macOS gitignore file generated by gitignore.io is broken

When I curl https://github.com/toptal/gitignore/blob/master/templates/macOS.gitignore directly from GitHub, the file has two \r following Icon, and it looks OK. But if I curl https://www.toptal.com/developers/gitignore/api/macos from gitignore.io app page, the resulting file has only one \r after Icon.
I think this is not a good situation. Does anyone have a clue to solve this?

We're investigating it

The API returns the expected result:
Net::HTTP.get_response(URI.parse("https://www.toptal.com/developers/gitignore/api/macos")).body
 => "\n# Created by https://www.toptal.com/developers/gitignore/api/macos\n# Edit at https://www.toptal.com/developers/gitignore?templates=macos\n\n### macOS ###\n# General\n.DS_Store\n.AppleDouble\n.LSOverride\n\n# Icon must end with two \\r\nIcon\r\n\n# Thumbnails\n._*\n\n# Files that might appear in the root of a volume\n.DocumentRevisions-V100\n.fseventsd\n.Spotlight-V100\n.TemporaryItems\n.Trashes\n.VolumeIcon.icns\n.com.apple.timemachine.donotpresent\n\n# Directories potentially created on remote AFP share\n.AppleDB\n.AppleDesktop\nNetwork Trash Folder\nTemporary Items\n.apdisk\n\n# End of https://www.toptal.com/developers/gitignore/api/macos\n"

See # Icon must end with two \\r\nIcon\r\n\n

Hi @tmsick,
the issue has been resolved

Might be worth keeping an eye on this upstream PR as if this gets merged then the need for this fix potentially goes away (depending on exactly what gets merged).


Pause after deletion and before next string?

Currently after one string is deleted, and the next string got typed immediately.
Any way to pause for a given seconds before typing next string?

You can put any number inside the sequence which represents the amount of milliseconds to be awaited before typing the next string, so you could do something like this if I understand correctly:
  sequence={[
        'One',
        1000,
        '', // I think this is what you're looking for
        1000,
        'Two',
      ]}

OK, it worked.
Thank you!


Support .NET 4.6.2

Hi ,
We are using the framework 4.6.2 and looking for instructions on how we can use the tool through command line
version:NUnit.ConsoleRunner.3.7.0
Regards
RP

It's been 2 years, are you ever going to support 4.6 ?

Hi @janissimsons .
Yes, the work is in progress to support multiple frameworks in Ghpr.Core:
https://github.com/GHPReporter/Ghpr.Core/pull/113
After this is done NUnit repository will be updated.

Done.


ClaimsStrategy with multiple authentication schemes: Am I doing this right?

I was struggling to get Finbuckle.MultiTenant to recognize my OpenIddict access tokens, even though the claims strategy was working fine for my B2C tokens. After barking up several wrong trees and examining the source for ClaimsStrategy, I realized this was because that strategy only uses the default authentication scheme (in my case, B2C), so it would happily pull my B2C tenant ID claim but never even see the OpenIddict tokens.
I created a new IMultiTenantStrategy which is basically just a modified ClaimsStrategy that checks each authentication scheme until it finds the claim, and that finally fixed my issue.
However, I'm not intimately familiar with the nitty-gritty of authentication in ASP.NET Core and I am very wary of doing something wrong here, since this seems like an excellent place to accidentally introduce a vulnerability! I would very much appreciate if anyone could let me know if I've done this correctly. I'm assuming there was a good reason the original strategy only checked the default scheme, but I don't know if it was for a reason I can safely ignore in my use case.
My questions/concerns:

The source I referenced for ClaimStrategy does not check the AuthenticationResult returned by AuthenticateAsync()--is this check skipped intentionally or should I be ensuring the result succeeded before trying to pull my tenant ID claim?

Related to the first question, is there any sort of additional validation I should perform on the authenticated principal before pulling my claim? Or is this far enough along in the pipeline that I don't need to worry?

I noticed IAuthenticationHandler.GetRequestHandlerSchemesAsync() as a potential alternative to IAuthenticationHandler.GetAllSchemesAsync(), but in my project GetRequestHandlerSchemesAsync() doesn't return any auth schemes, so I'm not sure if this is potentially a better method to use but needs additional configuration, or if GetAllSchemesAsync() is fine for my purposes.

Do I need to consider a possibility of a specially-crafted request with two valid tokens for different, non-default schemes? e.g. an attacker is an admin in tenant 1, but a regular user in tenant 2, and while logged into tenant 1 supplies a tenant 2 token containing a different tenant ID, tricking my strategy into pulling the tenant ID for tenant 2 and giving admin access to the more restricted tenant 2 resources? Or is that out of scope here? Something about just willy-nilly looping through authentication schemes until I get the claim I want strikes me as having some implicit assumptions that could bite me in the butt. I'm a little paranoid about auth stuff.

public class RegisteredSchemesClaimsStrategy : IMultiTenantStrategy
{
    public async Task<string> GetIdentifierAsync(object context)
    {
        var httpContext = context as HttpContext;

        if (httpContext is null)
        {
            return null;
        }

        var schemeProvider = httpContext.RequestServices.GetRequiredService<IAuthenticationSchemeProvider>();

        // Try each registered AuthenticationScheme, starting with the default
        await foreach (var scheme in EnumerateAuthenticationSchemes(schemeProvider))
        {
            var handler = (IAuthenticationHandler)ActivatorUtilities.CreateInstance(
                httpContext.RequestServices, scheme.HandlerType);

            await handler.InitializeAsync(scheme, httpContext).ConfigureAwait(false);

            var handlerResult = await handler.AuthenticateAsync().ConfigureAwait(false);

            // QUESTION: Should I check handlerResult.Succeeded before proceeding?
            var identifierClaim = handlerResult.Principal?.FindFirst("tenantId");

            if (identifierClaim != null)
            {
                return identifierClaim.Value;
            }
        }

        return null;
    }

    /// <summary>
    /// Enumerate registered authentication schemes and associated handlers, beginning with the default scheme.
    /// </summary>
    private static async IAsyncEnumerable<AuthenticationScheme> EnumerateAuthenticationSchemes(
        IAuthenticationSchemeProvider authenticationSchemeProvider,
        [EnumeratorCancellation] CancellationToken cancellationToken = default)
    {
        if (authenticationSchemeProvider is null)
        {
            throw new ArgumentNullException(nameof(authenticationSchemeProvider));
        }

        if (cancellationToken.IsCancellationRequested)
        {
            yield break;
        }

        // Yield the default scheme first
        var defaultScheme = await authenticationSchemeProvider.GetDefaultAuthenticateSchemeAsync().ConfigureAwait(false);
        yield return defaultScheme;

        // Yield remaining schemes
        var allSchemes = await authenticationSchemeProvider.GetAllSchemesAsync().ConfigureAwait(false);

        foreach (var scheme in allSchemes.Where(
            x => !string.Equals(x.Name, defaultScheme.Name, StringComparison.Ordinal)))
        {
            if (cancellationToken.IsCancellationRequested)
            {
                yield break;
            }

            yield return scheme;
        }
    }
}

hi, thanks for the detailed question. I will take a closer look and get you some answers today

that strategy only uses the default authentication scheme

This is just because I was short sighted. There is a current PR that among other things lets you tell it what scheme you want it to use. I think you should probably try something like that rather than looping through all the schemes. I will eventually get this added into the library.

The source I referenced for ClaimStrategy does not check the AuthenticationResult

This is by design. The strategy is meant only to extract a tenant identifier from a claim and not to actually perform authentication.

is there any sort of additional validation I should perform on the authenticated principal

Depends on your use case, but the proper authentication validation is handled in UseAuthentication(). In the ClaimStrategy you'll see I set a bypass for validation which the wrapper validation it puts in place around yours will skip yours -- this is because sometimes validation needs to know the tenant (e.g. for a database call) and at this point we are trying to resolve the tenant so such validation fails. So the idea with this strategy is just to grab a claim from the cookie but not actual do the user authentication -- that comes later with the authentication middleware. It is smart enough not to have to reparse the entire cookie during the actual authentication.

IAuthenticationHandler.GetRequestHandlerSchemesAsync() as a potential alternative to IAuthenticationHandler.GetAllSchemesAsync()

Do you mean IAuthenticationSchemeProvider?
A request handler is one that can provide an immediate response to a request (implements IAuthenticationRequestHandler instead of just IAuthenticationHandler-- like the OpenId Connect handler which handles the a callback from the identity service then redirects the user. This will only return schemes with such a handler

Do I need to consider a possibility of a specially-crafted request with two valid tokens for different, non-default schemes?

If you use WithPerTenantAuthentication the library adds extra authentication that encodes the tenant into the authentication properties which ASP.NET encodes into its tokens. On subsequent authentication the tenant that was encoded into the authentication properties is compared to the current detected tenant and if they don't match it rejects the authentication. Note that the current tenant could be from the claims strategy or from some other strategy. It just makes sure it matches the encoded tenant from the time of token creation. If your tokens are not created in ASP.NET Core this might cause you some issues. Your specific use case might warrant skipping WithPerTenantAuthentication and instead using your own OnValidate event handling for the scheme.
Thanks for the tough questions!

Awesome, thanks for the detailed reply! That definitely clears up a lot.

There is a current PR that among other things lets you tell it what scheme you want it to use. I think you should probably try something like that rather than looping through all the schemes. I will eventually get this added into the library.

Yeah this occurred to me after the fact... whoops. Because I only ever have the two schemes it probably does not matter from a functional perspective, but I can certainly cut out the overhead of enumeration.

In the ClaimStrategy you'll see I set a bypass for validation which the wrapper validation it puts in place around yours will skip yours

Are you referring to this line?
httpContext.Items[$"{Constants.TenantToken}__bypass_validate_principle__"] = "true"; // Value doesn't matter.

I had wondered about that, because I couldn't find any other reference to __bypass_validate_principle__ in the source code. Should I add that pair of lines verbatim to my handler? It's not clear to me the significance of that key name, and I took "principle" to be a misspelling of "principal" so I assumed it was probably not a magic value in ASP.NET Core and something internal to Finbuckle. Or is it simply the setting of any key in the context that is desired here? I'm struggling to parse out what you mean

Note that the current tenant could be from the claims strategy or from some other strategy. It just makes sure it matches the encoded tenant from the time of token creation. If your tokens are not created in ASP.NET Core this might cause you some issues.

To be clear, I'm not using WithPerTenantAuthentication. I have two authentication schemes because Azure B2C doesn't support the client credentials flow, so I augmented my identity service with OpenIddict. Azure B2C calls back into my identity service through IEF for things like getting user tenants for sign-in pages, adding tenant ID to tokens, etc., so even though my identity service is involved in user authentication, from the server app perspective it is authenticating directly against B2C which of course is a different server/authority than my identity service which issues the OpenIddict tokens, hence the need for two separate authentication schemes (I'm not sure if it's possible to place B2C behind my identity service, but for now it seems unnecessary). All of that being said, I'm assuming then because I'm not using WithPerTenantAuthentication that the quoted note above does not apply?
Anyways, I don't want to put you out too much chasing this down, you've been very helpful and I'm feeling confident! HUGE thanks for this library, it has been a massive help!

Hi!
principle -> 'principal' I am so embarrassed! Fixed it just now.
So a few updates. I just released 6.4.0 which adds the ability to tell ClaimStrategy which scheme it should use. Upon review I realized it only bypassed cookie principal validation if used in combination with WithPerTenantAuthentication so I fixed it to bypass regardless.
If you are using the new ClaimStrategy you should be able to use it as-is to pull a tenant claim from the given auth scheme, and if it's a cookie based scheme it will skip the principal validation (the real authentication step will still validate). I recommend you place UseMultiTenant before UseAuthentication in your app pipeline.
I'm glad you like the library. Please considering becoming a sponsor when your app goes viral 😉

Thanks! I'm glad to help and I appreciate the support from Dataccuity!

Hi!
principle -> principal I am so embarrassed! Fixed it just now.

Hello!
Was this ever fixed? Cannot see the fix in source code.

:tada: This issue has been resolved in version 6.5.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

@stonesvillage yep you are right I missed that! I also realize that I don't have any unit tests for ClaimStrategy because its tough to mock HttpContext, but I'll have to add something at least.
Anyway 6.5.1 fixes it and I will have it up to NuGet.org in a few minutes.

Great, thank you!


upload: Serve more cross-browser audio and image formats as inline

Test failure looks like an unrelated flake; rerunning. @alexmv can you review the list?

Merged, thanks @andersk and @alexmv!

Linking https://github.com/zulip/zulip/issues/29985; I'm not sure that this is everything we need to do to close that one.


Autoplay is still played when the slider is triggered, and what configuration prevents autoplay from being played when you swipe

This is a (multiple allowed):

[x] bug

[ ] enhancement

[ ] feature-discussion (RFC)

Swiper Version: EXACT RELEASE VERSION OR COMMIT HASH, HERE.

Live Link or JSFiddle/Codepen or website with isssue: PREFERABLY (IF YOU WANT YOUR ISSUE TO BE RESOLVED ASAP).

Expected Behavior
EXPLAIN WHAT IS TO BE EXPECTED, HERE.
Actual Behavior
EXPLAIN WHAT IS ACTUALLY HAPPENING, HERE.
P.S. Remember, an issue is not the place to ask questions. You can use Stack Overflow
for that.
Before you open an issue, please check if a similar issue already exists or has been closed before.

Read the doc, that is disableOnInteraction


Add RDS (MySQL) orchestration and auto import sql from S3

Description of changes:
RDS (MySQL) orchestration and auto import SQL file saved in S3
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@adamthom I accidentally created a duplicated PR. Can you please remove this and merge the previous created PR #5  that I closed couple of years ago. (Not sure why)


Add FAKE support and new action to add a reference to other projects

You have now a fourth option to add a reference to the project of the current folder.
A list with possible other F#- Projects will be displayed.
If you select Paket- support, you can add FAKE support.
Additional I have made some refactorings like:

extracting the magic numbers for the actions
one spawn method that executes via mono if needed
one method to get template folder

@SabotageAndi I've removed add reference command in 0.5.1 - XML library you've used (libxmljs) depends on node-gpy and it's not dependency I want to take (it's hard to get it working on Windows),

@Krzysztof-Cieslak Ok. Any suggestions what to use instead?

Maybe xmldom?

Thanks, I will give it a try.


SSR has been seriously blocked recently

Any advice here?


logs contain bearer token

Hi,
odata-v2-adapter writes logs which contain bearer token details. This should not be done for security reasons. See screenshot:

In CAP this was also changed and only "bearer..." is logged.
Best regards,
MirrorSo

Hello,
yes, that makes totally sense. I will fix this and it will be available with next release.
Thanks for reporting.
Oliver

Implemented with https://github.com/cap-js-community/odata-v2-adapter/commit/9103de7f261b43b20099bc738b216f08cf6dce76

expected to be released with next release start of June.

Fix with release https://github.com/cap-js-community/odata-v2-adapter/releases/tag/v1.12.10


Fix file-name completion after ~//ssh:host:do

I don't know how I missed this one in #405.
Turns out that extracting the ~//ssh:host: prefix out of ~//ssh:host:do is
surprisingly tricky. Luckily completion--sifn-requote does basically just
that.

Thanks! Can you add the references to the changelog?

Thanks! Can you add the references to the changelog?

This seems to work well, thanks for figuring it out!

This seems to work well, thanks for figuring it out!


Get contacts

Hi,
I'm trying to get contacts of the user authenticated, but I have not found any function related how to get them. Is there any way to get them? The user is authenticated using token, and token secret.
Best to all

That functionality is not currently implement, but it can be added by adding it to the swagger definition!
If you added this:
https://www.flickr.com/services/api/flickr.contacts.getList.html
to this:
https://github.com/flickr/flickr-api-swagger/tree/master/schema/paths
and submitted a PR we'd be one step closer!

The next version of the API will better support currently unsupported endpoints. Stay tuned.


Script not digitally signed?

I'm running the latest vCheck version on a Server 2012 R2 server, with PowerCLI 5.5 release 2.  I've got the ExecutionPolicy set to RemoteSigned, and I'm still getting the error that the vCheck script is not digitally signed.  The only way I can get it to run is to bypass security.  I didn't have this issue in the past, so I just want to make sure nothing has changed.  Thank you.

Or run this in the vCheck folder root to clean the files...
$files = Get-ChildItem -Recurse -Include *.ps1
foreach ($file in $files){
$content = Get-Content $file
$content | Out-File -FilePath $file.fullname }

Thank You StephenSo


Adding docs plugin to existing package

I have already published a Julia package using PkgTemplates but at the time I did not include the plugin for docs. I was wondering if there is any procedure to update the package to include docs?

updating existing packages is a long requested feature but unfortunately not one we've added yet (#16)
I would like to add this feature one day. I did start working on it a long time ago, and that branch of code is still around (#288) - i'm not sure if it works but you could give it a try.


Hot fix providing kubernetes secrets from cli.

Purpose
Fixed parsing of secrets for @kubernetes decorator from cli.
Changes
Overriding methods for loading/dumping cli-args for StepDecorator in KubernetesDecorator .

This should no longer be needed.


Fix for issue #506 breaks checkout process when not requesting shipping details

Problem:
When checking out and the shipping details form is not required, updateShippingStates() is called on line 580 of communityStore.js. updateShippingStates() then tries to reads the class of #store-checkout-shipping-state, which is not present on the page because the shipping details form is not required. updateShippingStates() then throws a critical error.
Cause:
Code added by push #506 which, presumably, needs wrapping in a conditional.
Temporary Fix:
Roll back commit c76ab9d28c2f15eb21ffd8f2dae4e36d05c77701

Thank you for this. I've pushed up a fix for this (I'm quite surprised this wasn't noticed sooner, but it wouldn't have made it into a release - something we are due for).


loss = nan..what's the problem?

I am training model with ms1m_dataset and asian seleb dataset
but loss = Non...
Model is not tranied at all.
mode = 'fit'  -> loss = non
mode = 'eager_ft' -> loss = non
mode = 'eager_fit' -> Out Of memory Error
what's the problem?
please help me and thank you...have a nice day

Hi, @shiney5213. How did you prepare these two datasets?

Hi @peteryuX

ms1m_align_112 dataset download
asian_seleb dataset : download http://trillionpairs.deepglint.com/overview and crob by matcnn(112 * 112)
ms1m_align_112 dataset and asian_align_112 put one directory.
make tfrecord file by convert_train_binary_tfrecord.py
I want to train by train.py....

Previously, a small dataset and ms1m dataset were combined and trained in the same way.
Training was successful.
However, this time, training is not possible.
I don't know what's the ploblem...
Sorry and thank you for bothering me

It sounds weird~ From my experience, loss nan generally presents in two situations, 1. input data have some unexpected values; 2. loss divided with a near zero values,  which might make gradients too large. You can trace which loss become nan firstly (like regulization l2 norm loss or arcface loss...?) to crash the training. I would try to figure it out when I am free. Please let me know if you find out the problem before then. Thanks!

thank you  for your answer.
I'll do it myself.
I'll try and ask for help if I have any further questions later
have a nice day


Does this module guarantee that a "message" event won't be fired during construction of HighLevelConsumer?

When creating a HighLevelConsumer object, there is a period of time before attaching the "message" event handler when a "message" event emitted by the HighLevelConsumer wouldn't be handled. This would only be possible if the "message" event was emitted during construction of the HighLevelConsumer (if it occurs on the next tick then the handler will be attached).
My assumption is that since retrieving any messages involves IO, the network requests will happen async and therefore the event handler will be attached by the time that the "message" event is emitted.
Can you confirm whether it's possible for "message" events to be emitted by the HighLevelConsumer during construction?

Shouldn't be a problem if you attach directly after instantiating the highLevelConsumer. There are several async operations that happen before the first message fetch is called.

That's great, thanks for confirming that for me.


Provisioning - validate taxonomy field default value

AddFieldAsXml does not validate default value for Taxonomy fields that results in situation when term item is not added to taxonomy hidden list and default value is not applied to items. It is also not possible to set correct WssId for the default field value at creation time, since there is client API to get Wss Id of the term.
I've added routine to validate default value for taxomony fields (and set correct Wss Id for the value) after field is created or updated. It actually works only if you specify -1 as Wss Id for the value.

Thx Ivan, clean and nice implementation.


Unicode support

Hey @vinzenz, we're trying to add unicode support to Pyston and it looks like pypa doesn't support unicode literals -- ex it will treat u"\u0180" as the length-6 string "\\u0180".  Is this something that could get added?
Right now we're using UTF8 to store the unicode data as part of the AST, but I don't mind switching that to something else (I think our unicode implementation uses UTF-32 anyway).

This got implemented in #20.
What AFAIK still missing for complete unicode support is specifying a source file encoding.


fix: the called workflow needs access to our secrets

Let's try this to fix our testflight pipeline
Taken from: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idsecretsinherit

bors r+


Submissions table: background shows through when scrolling

As noted by @lognaturel, the background shows through when scrolling quickly through the submissions table:

Is the solution to remove the background color from the html element, or is there a better approach?

I don't think we're planning to change this effect in the submissions table, at least for now. I'm going to go ahead and close this issue, but we can always reopen it if/when that would be useful.


Killed: 9 M1 Macbook Air

Neofetch won't launch.
It gives me the error Killed: 9
2020 Macbook Air (M1)

Any other helpful information?
What version of macOS are you running?
What terminal app are you using?
Where did you download neofetch from (Homebrew, MacPorts, Nix)?
Additional information always help in diagnosing the problem.

Any other helpful information?
What version of macOS are you running? What terminal app are you using? Where did you download neofetch from (Homebrew, MacPorts, Nix)?
Additional information always help in diagnosing the problem.

12.3 Monterey
Built in terminal with both Rosetta enabled and disabled
Homebrew

Fixed it by updating bash


Implement input stream parser that create anydata values

Purpose

Describe the problems, issues, or needs driving this feature/fix and include links to related issues.

Fixes #41824
An API is introduced in the io.ballerina.runtime.api.utils.ValueUtils class with the below signature.
public static Object parse(InputStream in, Type targetType) throws BError {
}

Here targetType should be a subtype of anydata. The InputStream should only contain a sequence of characters that can be parsed as json. Otherwise an error is thrown.
The functionality of the API is similar to the below API.
public static Object slowParse(InputStream in, Type targetType) throws BError {
    return ValueUtils.convert(JsonParser.parse(in), targetType);
}

But the main objective of the newly introduced API is to have much improved memory usage and CPU usage which uses much less memory and less execution time.
Approach

Describe how you are implementing the solutions along with the design details.

Samples

Provide high-level details about the samples related to this feature.

Remarks

List any other known issues, related PRs, TODO items, or any other notes related to the PR.

Check List

[x] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[x] Added necessary tests

[x] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

CI Full Build Ubuntu / Build Stdlib Level (4) is failing due to
[fail] testGetJsonDataSource:
> Task :mime-ballerina:build FAILED

in the module-ballerina-mime. This is due to an error message change. I have used StreamParser internally in the JsonParser. JsonParser throws the error "empty JSON document" while stream parser throws the error "empty content from the input stream" in that test. Due to that the test is failing.


Live

@v-sambati : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Docs Build status updates of commit 27ba9e0:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-community-training/infrastructure-management/install-your-platform-instance/configure-login-social-work-school-account.md
:white_check_mark:Succeeded
View

microsoft-community-training/media/aad_app_creation.ps1
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

PRMerger Results

Issue
Description

Added File(s)
This PR contains added files. New files require human review.

Unapproved file extension(s)
This PR contains file types that are not supported in the repo. The only supported file types are jpg, gif, png, json, svg and md.

update AAD script link as public access to Sangam blob is blocked

@v-sambati : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Can't get RGB LED of ESP32-H2/C6 to work (IDFGH-12588)

The blink example works (LED blinks white), but the LEDC examples don't work (they should according to the documentation).
I've also tried the BlinkRGB example that comes with the Arduino support package, which actually does work, but I can't get it to work using ESP-IDF.
Are the pins in the LEDC examples incorrect for the ESP32-H2/C6 dev boards?

@jorisvervuurt  The RGB LED on the ESP32-C6-DevKit is also called Addressable RGB LED. We can't drive it by LEDC. Check the schematic here: https://docs.espressif.com/projects/espressif-esp-dev-kits/en/latest/esp32c6/esp32-c6-devkitc-1/user_guide.html#getting-started
The blink example in esp-idf is using a component called led strip to drive it. It's based on RMT peripheral, instead of LEDC.

Aha, thanks. I'll check led_strip later today. 😄

I have created a component for that ws2812 LED.    My version closes down the RMT driver after each use to reduce power consumption.   I use that code on S3 and C6 dev kits already with pretty good success.
You can check out what I have done here: https://github.com/SolidStateLEDLighting/indication_ws2812_5.2
Here is another repository which will show you how to use that library in a large project:  https://github.com/SolidStateLEDLighting/esp32-S3-idf-advanced-template-alpha-5.2
These projects are bit on the advanced side, but it does everything that Espressif recommends.   So, you'll learn a lot and have a full understanding of how it all fits together.


MemoryPack.MemoryPackSerializationException :  is not registered in this provider

There was already issue about that:
https://github.com/Cysharp/MemoryPack/issues/119
The solution was to go to the csproj file and change from MemoryPack to MemoryPack.Core.
Unfortunately, my csproj has only MemoryPack and it still doesn't work, this is why I opened a new case.
I installed MemoryPack from the documentation:
NuGet\Install-Package MemoryPack -Version 1.9.16

Also Roslyn:
NuGet\Install-Package Microsoft.Net.Compilers -Version 4.2.0

I have Visual Studio 2022 17.7.3, I am using the example from the documentation:
using MemoryPack;

namespace ConsoleApp1
{
    [MemoryPackable]
    public partial class Person
    {
        public int Age { get; set; }
        public string Name { get; set; }
    }

    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Hello, World!");
            var v = new Person { Age = 40, Name = "John" };
            var bin = MemoryPackSerializer.Serialize(v);
            var val = MemoryPackSerializer.Deserialize<Person>(bin);
            Console.WriteLine(val);
        }
    }
}

And I am getting the same error:
Hello, World!
Unhandled exception. MemoryPack.MemoryPackSerializationException: ConsoleApp1.Person is not registered in this provider.
   at MemoryPack.MemoryPackSerializationException.ThrowNotRegisteredInProvider(Type type)
   at MemoryPack.ErrorMemoryPackFormatter`1.Throw()
   at MemoryPack.ErrorMemoryPackFormatter`1.Serialize[TBufferWriter](MemoryPackWriter`1& writer, T& value)
   at MemoryPack.MemoryPackSerializer.Serialize[T](T& value, MemoryPackSerializerOptions options)
   at ConsoleApp1.Program.Main(String[] args) in C:\Users\myuser\source\repos\MemoryPackConsole1\MemoryPackConsole1\Program.cs:line 27

My csproject file:
<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>net7.0</TargetFramework>
    <ImplicitUsings>enable</ImplicitUsings>
    <Nullable>enable</Nullable>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="MemoryPack" Version="1.9.16" />
    <PackageReference Include="Microsoft.Net.Compilers" Version="4.2.0">
      <PrivateAssets>all</PrivateAssets>
      <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
    </PackageReference>
  </ItemGroup>

</Project>

I saw that in the exception that it still uses the MemoryPack.core:

Also here:

Here the code generated:

Hello there,
Have you discovered any answers to this problem? This is the bottleneck for us, and we need a solution. Could you please make this a priority?
Thanks in advance.

Unfortunately, I haven't found it yet, I hope the owner @neuecc will help us because this issue is not solved.

Hello @neuecc,
Could you please help us.

Can you remove Microsoft.Net.Compilers ?
It hookss special compiling process, it harms the generator.

If you want to use Microsoft.Net.Compilers,
It seems to work with <PackageReference Include="Microsoft.Net.Compilers.Toolset" Version="4.8.0-2.final">.

Hello @neuecc
Thanks for your response, but i haven't used  Microsoft.Net.Compilers in my application.
I have used below dependencies.

It seems that the situation with g3rzi is different.
Please provide more details about your situation (csproj, Version of IDE (Visual Studio), generated code).

@neuecc thank you, it works!
after going to Packages and removing the Microsoft.Net.Compilers it worked:

Also, the second solution to edit the MemoryPackConsole1.csproj file works too:
<Project Sdk="Microsoft.NET.Sdk">

	<PropertyGroup>
		<OutputType>Exe</OutputType>
		<TargetFramework>net7.0</TargetFramework>
		<ImplicitUsings>enable</ImplicitUsings>
		<Nullable>enable</Nullable>
	</PropertyGroup>

	<ItemGroup>
	  <PackageReference Include="MemoryPack" Version="1.9.16" />
		<PackageReference Include="Microsoft.Net.Compilers.Toolset" Version="4.8.0-2.final">
	    <PrivateAssets>all</PrivateAssets>
	    <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
	  </PackageReference>
	</ItemGroup>

</Project>