Support App Router Nextjs 13 in nhost/nextjs package

App Router is now in a stable version for NEXT.js. Are you planning to support App Router in the nhost/nextjs package? E.g. getNhostSession and createServerSideClient, require Context, but it is not available in App Router. Thank you for answer.

Thanks for reporting this. We don't have immediate plans to support this as we have other priorities right now but we'd love to eventually. If someone in the community wants to step up and help with this we will be more than happy to provide guidance and review.

Hello all, you can try this repo https://github.com/suplere/nhost-auth-helpers - inspired from supabase. Please this is not final solution but first attempt.

I did some correction, and add to the app example recover password.

Hello, I have a look on your example. Your example uses data download and NHost usage only in Client Components.
How do you solve the initial session in the Provider? How can I use NHost in Server Components? How to use it in middleware? How to use NHost in Server Actions?
This is mainly about how to use NHost in "Server Components".

I'd rather see a similar modification of the library that would include these clients (two for the old Pages-based implementation, and the others for the new App structure):
Pages folder Api:
PageServerNHostClient
PageClientNHostClient
App folder API:
AppServerComponentClient
AppClientComponentClient
AppMiddlewareClient
AppRouteClient
AppServerActionClient

The example is not complete, we are currently working on supporting RSCs. We will be making an abstraction similar to what you proposed once we have an general sense of what we need to do to support not only next.js but other frameworks as well

Damn. My projects update schedule is completely trashed now.

Thanks for reporting this. We don't have immediate plans to support this as we have other priorities right now but we'd love to eventually. If someone in the community wants to step up and help with this we will be more than happy to provide guidance and review.

@dbarrosop, is what you said up there still valid? Any updates? And what would you suggest?
Like, completely trashing NhostProvider and hooks and use the NhostClient and it's functions directly?

@fonksiyoneltip I'd appreciate a bit of more calm and constructive feedback.
Not sure how us writing an initial example to show how to use the App Router "trashes" anyone schedule or makes anyone think that we are "trashing" anything. This example shows how to use something that people were struggling with because the existing hooks and functions didn't work due to the lack of Context.
If you have feedback about the proposed solution it is more than welcome. As Hassan mentioned in his previous comment, we are basically looking into writing examples for different frameworks with different constraints in order to gather info and feedback to build common abstractions, this has nothing to do with existing supported frameworks/mechanisms.

@fonksiyoneltip I'd appreciate a bit of more calm and constructive feedback.
Not sure how us writing an initial example to show how to use the App Router "trashes" anyone schedule or makes anyone think that we are "trashing" anything. This example shows how to use something that people were struggling with because the existing hooks and functions didn't work due to the lack of Context.
If you have feedback about the proposed solution it is more than welcome. As Hassan mentioned in his previous comment, we are basically looking into writing examples for different frameworks with different constraints in order to gather info and feedback to build common abstractions, this has nothing to do with existing supported frameworks/mechanisms.

Sorry, I didn't mean any anger / bad reaction / blaming you or something. You are not trashing anything.. I'm not a native speaker so I might not able to take into account how you could take my words. I'm asking for your forgiveness and understanding on this.
By saying "trashed" just my plans got trashed by the current situation. Not by you though. You do not have to push immediate updates or even support NextJS, I completely understand and show respect you and your future plans.
I was just saying that the current situation affected our schedule. Planning to go for NextJS 13's app router has bad affected our codebase at the first place, far before your official support on it.
Should I quit using hooks or wait for upcoming updates, that's my only concern; so I just wanted simply ask you if you still do not feature immediate updates on @nhost/next-js
I hope I have expressed myself better this time. And I'm sorry again for causing misunderstanding with my wrong word choices. 🤝

@fonksiyoneltip I'd appreciate a bit of more calm and constructive feedback.
Not sure how us writing an initial example to show how to use the App Router "trashes" anyone schedule or makes anyone think that we are "trashing" anything. This example shows how to use something that people were struggling with because the existing hooks and functions didn't work due to the lack of Context.
If you have feedback about the proposed solution it is more than welcome. As Hassan mentioned in his previous comment, we are basically looking into writing examples for different frameworks with different constraints in order to gather info and feedback to build common abstractions, this has nothing to do with existing supported frameworks/mechanisms.

Sorry, I didn't mean any anger / bad reaction / blaming you or something. You are not trashing anything.. I'm not a native speaker so I might not able to take into account how you could take my words. I'm asking for your forgiveness and understanding on this.
By saying "trashed" just my plans got trashed by the current situation. Not by you though. You do not have to push immediate updates or even support NextJS, I completely understand and show respect you and your future plans.
I was just saying that the current situation affected our schedule. Planning to go for NextJS 13's app router has bad affected our codebase at the first place, far before your official support on it.
Should I quit using hooks or wait for upcoming updates, that's my only concern; so I just wanted simply ask you if you still do not feature immediate updates on @nhost/next-js
I hope I have expressed myself better this time. And I'm sorry again for causing misunderstanding with my wrong word choices. 🤝

No worries, no harm done :)

Should I quit using hooks or wait for upcoming updates

I am not sure about the specifics of your application but anything that is working for you now will continue to do so. We are not planning to phase anything out or to make any breaking changes. What we are discussing here is how to support new stuff and it shouldn't affect anything that is working already.

The example is not complete, we are currently working on supporting RSCs. We will be making an abstraction similar to what you proposed once we have an general sense of what we need to do to support not only next.js but other frameworks as well

Sounds good. Any update on that?
It does feel kinda wrong starting new projects with the pages router now. But the Nhost tooling is too good and i don't want to half-ass an app dir integration.

the draft is here #2225, still WIP though

We've just added a comprehensive project running Nhost with the new App Router and Server Components. Take a look here.
If you have any feedback or suggestions please let us know.

we are closing this one for now, if you have feedback don't hesitate to keep commenting.

Hi @onehassan, thanks for adding this new example. It really made me understand more how we can get nhost to work with RSC in Next 13.  However, I did not manage to get it running properly. Some of my first findings are:

checking the auth status within the middleware sometimes causes very long loading times or even freezing the app. I think this is due to async requests being made in the middleware as the exported middleware function is called for every request. For example, in our app, it is even called for static assets which can lead to ~100 function calls for one request. I tried to prevent this by adding a matcher config so that the middleware only runs for protected routes.
For some reason, I couldn't get magic link to work. Somehow, the session cookie is not set properly when clicking the magic link. Not sure why this is happening as it is working in the sample app.
Usage in combination with React SDK: Our medium sized app uses the nhost provider and hooks in multiple places. I couldn't figure out a way to make this work so that the server components and the nhost provider share the same client. Does it mean that you would need to decide for one approach (either RSC or client hooks) or is there some way to make them coexist?
The implementation of this doesn't feel production-ready to me. I am not a backend developer and always liked to work with the nhost sdk because it didn't made me think about the backend logic that it handles. Maybe I am too concerned about this but I would be more confident if this logic would be baked into a sdk.

Again, thank you so much for providing this :) it helps us a lot!

Hey,
as more and more of my projects move to next.js app router (with next.js 14+15). Are there any plans to provide a more sophisticated integration? The example is nice, and I made it work somehow, but it's not on the same level of smoothness as the pages router integration provided.
Best,
David

Not at this point, we don't have the cycles to support all frameworks and their many flavors, unfortunately. However, if people wants to contribute them we could arrange something.

@dbarrosop Thanks for the clarification. I get that. Thanks


Fixing backend, adding comments

I write the backend for vercel rather than render.
you just need to change 5files with the deployed url on vercel  or you can leave it as is. Navbar.jsx , Profile.jsx , article-content and articlelist components are using my deployed vercel app .  And also change the database url in the db.js file.
after this , all the feature like adding comments or fetching all the comments will work fine.
i also added a controller for adding article . but there is no article adding page . we have to work on that.

@NOOB-3301 it seems that you put the direct link for the db url on the codebase instead of fetching it from a .env file and also it's not the original one from before? It would be better if you use a .env file for it instead. Can you make additional changes so that you fetch it from the .env file instead? I'll be updating my db schema later in the day based on your code structure. Let me know if there's any confusion.

i have added env variables . and i request you to deploy the express app on vercel and change the endpoins according to you . Or you can keep my endpoints also.
this will be the format for env variables in vercel...
CONNECTION_URL="MONGODB_URL"
SECRET_KEY="your_very_long_and_random_secret_key_here"

and also select root directory as back-end when deploying on vercel .
@OkenHaha do tell me if anything need more fixes

Thanks for the contribution, I'll be merging this pull request and will have to migrate on vercel later. Great work! 👍


Mentioned that an event list can also be passed to .on()

Mentioned that an event list can also be passed to .on()

Thanks @itaditya! I moved it down a little so people can get the basics before learning about variations.  This will get pushed to the website when we cut the next release.

Your Welcome @bkeepers. I also felt that two code snippets shouldn't be so close, but couldn't find an appropriate area. BTW, this gif comment is so :heart:


Why does loading the vicuna-13b-v1.1 model in FastChat require 26GB of GPU memory, while VLLM requires 37GB of GPU memory?

Hi, please refer to #241 for this question.


[BUG] OpenAI's o1-preview and o1-mini models not working

Description
Whenever I try to use the o1-preview or the o1-mini model, I get this reponse:
[Service Issue] Openai: Bad Request (400): "error": { "message": "Unsupported value: 'messages[0].role' does not support 'system' with this model.", "type": "invalid_request_error", "param": "messages[0].role", "code": "unsupported_value" }

Device and browser
Macbook Pro M1 on Arc/Chrome/Safari
Screenshots and more
No response
Willingness to Contribute

[x] 🙋♂ Yes, I would like to contribute a fix.

Dropping in to state that I'm having the same issue. I've deleted and re-added the API token to get access to o1 models but receive this same error message.

@genchadt @jelmerkk Version 2 of Big-AGI dropping soon with full support for o1.
In the meantime you can:

build the v2-dev branch yourself until the official app is out in the next few weeks
use o1 via the openrouter provider (openrouter is a great model server that makes new models available sooner)
use the model on chatgpt until V2 is out.

@genchadt @jelmerkk Version 2 of Big-AGI dropping soon with full support for o1. In the meantime you can:

build the v2-dev branch yourself until the official app is out in the next few weeks
use o1 via the openrouter provider (openrouter is a great model server that makes new models available sooner)
use the model on chatgpt until V2 is out.

Thanks for the response. I have switched to v2-dev and it is working, however I did need to re-generate my API key.

Thanks for the response. I have switched to v2-dev and it is working, however I did need to re-generate my API key.

How did you manage to build it locally, the latest v2-dev? On my device, I've got a build error: Error: Failed to collect page data for /draw.
Any tips?

Here's what I did (I am a git noob)

Deleted the big-agi root folder
Cloned v2-dev from scratch
Run npm install then npm run build

Great job @genchadt and @balintbabics . I'm close to publish the first V2 officially on Big-AGI.com and very excited about cloud backups and all. Working very very hard on it, and there's so much I want to ship once this major milestone of having the big-agi cloud is done.

Great job @genchadt and @balintbabics . I'm close to publish the first V2 officially on Big-AGI.com and very excited about cloud backups and all. Working very very hard on it, and there's so much I want to ship once this major milestone of having the big-agi cloud is done.

Hey, you're doing really great work. Thank you so much for creating this. I love using it. I use it almost every day.

Any updates om this @enricoros ?
I'm still getting the same error as

Description
Whenever I try to use the o1-preview or the o1-mini model, I get this reponse:
[Service Issue] Openai: Bad Request (400): "error": { "message": "Unsupported value: 'messages[0].role' does not support 'system' with this model.", "type": "invalid_request_error", "param": "messages[0].role", "code": "unsupported_value" }

I was planning to set up Big-AGI as an internal tool for our dev team but not being able to use o1-preview and o1-mini are blocking. We purchased OpenAI credits in bulk so it's not feasible for us to switch to openrouter now.
Do you have an ETA on using o1-preview / o1-mini with big-agi-v2 without an aggregator ?

Can you confirm you're on the v2-dev branch? It's been working well, I just pushed some commits yesterday as well to enable streaming mode with o1.

Any updates om this @enricoros ?
I'm still getting the same error as

Description
Whenever I try to use the o1-preview or the o1-mini model, I get this reponse:
[Service Issue] Openai: Bad Request (400): "error": { "message": "Unsupported value: 'messages[0].role' does not support 'system' with this model.", "type": "invalid_request_error", "param": "messages[0].role", "code": "unsupported_value" }

I was planning to set up Big-AGI as an internal tool for our dev team but not being able to use o1-preview and o1-mini are blocking. We purchased OpenAI credits in bulk so it's not feasible for us to switch to openrouter now.
Do you have an ETA on using o1-preview / o1-mini with big-agi-v2 without an aggregator ? Happy to lend a hand if you can link issues regarding this.

Here's what I did (I am a git noob)

Deleted the big-agi root folder
Cloned v2-dev from scratch with git clone -b v2-dev https://github.com/enricoros/big-AGI.git
Run npm install then npm run build
Opened big-agi and re-added my API key (think I could've just used the models refresh button there tho)

@enricoros did a clean install & build on v2-dev, everything works fine. Tried to reproduce the problem but failed to do so. Thanks!

i build on v2-dev but i got error:
Transformation error: AIX: Error in response: ❌ [Openai Issue]: Invalid prompt: your prompt was flagged as potentially violating our usage policy. Please try again with a different prompt: https://platform.openai.com/docs/guides/reasoning/advice-on-prompting

@wac81 that's OpenAI's content filter. They didn't like the input (o models are exceptionally strict and with plenty of moderation false positives). I.e. nothing we can do about it.


Floating Panel Position Issue <Bug??>

The suggestion panel view will clip by the screen by the code in full-screen view.
How can I reset the position of the panel?

I guess this occurs when display setting changes default to "More Space"

Maybe open a split editor, switch to it and move back? Or click anywhere that would change the focus area and come back.

I was in the signal editor, and it just sticks at the left side of the screen. I try the split view, it will occur in the left view.
I try to remove the agent and reset it. The panel is still in a weird place on the screen.🥲

I guess this occurs when display setting changes default to "More Space"

I checked the setting is the default.

I guess this occurs when display setting changes default to "More Space"

I checked the setting is the default.

Please provide the steps to reproduce the bug.

@intitni I finally found the reason why the floating panel is always showing on the left of the screen.  Arrange Display will force the circle floating view to appear on the left of the external screen if I switch the external screen to the left like the pic below.

The floating view will change to the right.

![Screenshot 2023-03-21 at 4 07 28 PM](https://user-images.githubusercontent.com/47702598/226548538-491f2218-111f-4a42-bfae-57f1f3c4e89d.png)
@intitni I finally found the reason why the floating panel is always showing on the left of the screen. Arrange Display will force the circle floating view to appear on the left of the external screen if I switch the external screen to the left like the pic below.

The floating view will appear on the right of the screen.

May have been fixed in 0.9.1. Please reopen if the bug still exists.

Uploading IMG_0388.MOV…

Uploading IMG_0388.MOV…

Were you trying to upload a video indicating that the bug still exists?


Why is Bing Sydney not working?

Hello! Does anyone know why bing sydney stopped working? What happened and why does this AI not give answers and there is just a red word “error”?

There have been some changes to Bing's web API.
#519

There have been some changes to Bing's web API. #519

Thank you for quick answer! Tell me, when will everything work?

@EgbertVon-Dolst fixed in https://github.com/josStorer/chatGPTBox/commit/d639d29d6b50d32c8de9bd9c04a728db5cd9e919


Use async for run() and submit()

Is the idea to bring the definitions in line with Rasa-sdk using async for those functions, or do we actually need to change the way the functions behave?


openMVG_main_IncrementalSfM crashes

In sequential_SfM.cpp, function ComputeTracksLengthsHistogram, at following line: *histo = Histogram<double>(dMin, dMax, dMax-dMin+1);
vec_nbTracks is empty, so minMaxMeanMedian leaves dMin, dMax, etc. uninitialized. dMin happens to be NaN so nBins parameter to Histogram<double>::Histogram gets converted to a meaningless integer  leading to
terminate called after throwing an instance of 'std::length_error'
  what():  vector::_M_fill_insert

we should add at the beginning of the function ComputeTracksLengthsHistogram
if(_sfm_data.GetLandmarks().empty())
{
  OPENMVG_LOG_WARNING("Impossible to compute the track length histogram, no tracks found")
  return 0;  // or -1.0, ComputeResidualsHistogram() is similar and returns -1 if it fails
}

Also, maybe, we should not call the functions at all if we know that the reconstruction did not work.


feat: add cgroup v2 support for metrics

This commits adds cgroup v2 support for collecting metrics in the shim.
Additionally, it uses CPU controller instead of the CPUAcct controller
for reporting CPU metrics back to containerd.
Closes #162

This PR includes changes from https://github.com/containerd/rust-extensions/pull/161
Could you pls rebase this PR against main branch?

Could you pls rebase this PR against main branch?

Absolutely. Done :)

LGTM
Would it be worth adding ubuntu 22.04 to https://github.com/containerd/rust-extensions/blob/27a503a474c68cdba7eff5b9f1b439d1846c39e0/.github/workflows/ci.yml#L96  I believe 22.04 has cgroupv2 by default so that would add some coverage? Maybe in a follow up incase there are other issues?

Could we merge this? @mxpv

Done!


Resize x_train twice

Hi, I noticed that x_train is resized twice during the pipeline. I'm wondering if this is on purpose?
The first at line 104 in dataset.py when parsing tf-record,  and the second at line 73 in dataset.py, which is called at line 69 in train.py.

Also at line20 in dataset.py, the code checks if ymin is 0, wouldn't a box right on the edge be ignored by the code?

Also at in transform_targets_for_output, the comment says y_true_out: (N, grid, grid, anchors, [x,y,w,h,obj,class]) but code on line 36 encodes it as x,y,x,y,obj,class

About resize, yes i do think there is one extract call.
About second point, i think the condition is about not to process the bbox entries which are filled with zeros.

About resize, yes i do think there is one extract call.
About second point, i think the condition is about not to process the bbox entries which are filled with zeros.

I think my observation wrong:
tf.image.resize call is to uniform the input resolution and when i remove tf.image.resize call in transform_images, am getting different input resolution and getting errors while saving model after first epoch.


Install zsh completions for core tools

Everything below is about zsh. I have no idea about bash.
Both cargo and rustc have completions: here and here not even speaking of rustup, that can generate its own ones. It took me a good amount of time to find these completions for every project and create them manually. I guess they could and should be installed alongside with the tools, in particular:

ask whether the user wants to install completions for core tools
if yes, ask whether it should be system-wide or local
if system-wide, install to /usr/share/zsh/site-functions, if local, install somewhere in inner directories (~/.multirust/completions maybe? not sure) and tell the user to append this path to $fpath variable before compinit is executed

Also, I'm talking about the bootstrapper from the website ... | sh. Other types of installations might already do this. But in case they don't, it'd nice to have it there too.
Also, I'm not sure that rustc should have completions command - this is "one-and-done" and is useless afterwards only stealing attention.
Also, not sure about the debugger and other tools - they may need completions as well.

Dupe of #387


New line replacement

I saw a couple of issues related to this and I think there is a trello card too.
But I really like to see it fixed, so could someone point to me what should be done?
I asked upstream because there wasn't this feature:
https://github.com/codemirror/CodeMirror/issues/3456
(I disagree a little on how it was fixed)
But I realize now that Brackets do not use the search addon (if I am not mistaken).

I've created the PR. Now this is a dupe of https://github.com/adobe/brackets/issues/8093
Closing


Interpolation?

Hello,
I cannot understand what's wrong here, I have this sentence:

Hello {{userData.name}}

On my Po editor I translated it as:
Ciao {{userData.name}}

Now, on frontend I only got:
Ciao

What's wrong?

Do you have a jsFiddle example of the code you are using?
Which browser are you using?

I could try to replicate it in a fiddle. I'm trying with latest Firefox.

Sorry my bad! Wrong scope name...


Add ctkVTKDiscretizableColorTransferWidget

Add a new widget to preview and edit a color transfer function given as
a vtkScalarsToColors.
The widget owns an instance of vtkScalarsToColorsContextItem that can be
added to a vtkContextView. vtkScalarsToColorsContextItem holds three
different charts to represent the information associated to the color transfer
function :

vtkDiscretizableColorTransferFunctionChart: Uses
vtkControlPointsItem to edit the color transfer function

vtkScalarsToColorsPreviewChart: Preview the current color transfer
function.

-vtkScalarsToColorsHistogramChart: Display the histogram of an input
image while applying the color transfer function to the histogram.
The widget also owns an instance of vtkScalarsToColorsComboBox to access
different presets.

@finetjul

Thanks @LucasGandel and @finetjul  😄
Ps: When you have a chance, could you add a screenshot on the PR. And then in the image gallery when this is integrated. Merci
See http://www.commontk.org/index.php/Documentation/ImageGallery

@finetjul Could you please review?

There were some build errors in Slicer from this:
/Users/pieper/slicer4/latest/Slicer/Libs/MRML/Widgets/qMRMLSceneColorTableModel.cxx:67:42: error: no member named 'scalarsToColorsImage' in namespace 'ctk'
  this->Pixmap = QPixmap::fromImage(ctk::scalarsToColorsImage( scalarsToColors, this->Pixmap.size() ));
                                    ~~~~~^
1 error generated.

They were resolved with these fixes:
https://github.com/Slicer/Slicer/commit/edbd121747178898b40fc4c71523c36d22b526e0

Thanks @pieper


(question) All chapters end up being 2kb large

Hello,
This is more of a question, then a bug report as I am not sure if this is due to me doing something wrong...
After chapter is converted to mp3 it end up with size of ~2kb, during conversion size is reported correctly (while refreshing directory). This was in wsl on both Ubuntu and Arch distros as well as on regular Linux Arch distro, using python virtual env with edge as tts provider with following command:
python main.py book_name.epub book_dir --tts edge --language hr-HR --voice_name hr-HR-SreckoNeural
Had the same issue with english language book, not providing language switch, which, if I am correct use english language by default...
Using conversion with docker image works as expected.
Thanks

Using conversion with docker image works as expected.

I had sent a message on reddit about this and included a link to a sample epub. I am having the same issues with all of my epubs that were originally azw3 and have been converted to epub with calibre. Thanks for the workaround using docker. I will try it next as an alternative.

Thanks for reporting. I'll look into this later.

Same issue on my end, running on Windows. I find that if I keyboard interrupt during processing, a more "complete" filesize will appear. In looking at the 2kb files, they do have ID3 tags embedded in them, but it seems like nothing else.
It might be the case that the file is being overwritten with just the tag information at the very end of the write process.

Follow-up: it appears that the issue is in this line:
https://github.com/p0n1/epub_to_audiobook/blob/main/audiobook_generator/tts_providers/edge_tts_provider.py#L111
If I commend out the audio.export(audio_fname) call, all works as expected. This line appears to be overwriting the data that is written during generation. After this, the file is still ID3 tagged correctly, leading to the results that I reported above.

If I comment out the audio.export(audio_fname) call, all works as expected.

I can confirm that also does the trick for me; many thanks! I looked through the code, but nothing jumped out at me.

Looks like this issue was introduced by https://github.com/p0n1/epub_to_audiobook/pull/45. I haven't make a release for the latest code so the docker version just worked fine.
Thanks everyone for trying and reporting this. Thanks @ryanboyd for your fix. I'll merge soon. But I still don't understand why I can't reproduce this issue. Will try more cases.

My workaround for this on https://github.com/p0n1/epub_to_audiobook/blob/767f040546bb4f756a2b3025919737bb71a45403/audiobook_generator/tts_providers/edge_tts_provider.py#L95
is
async def save(
self,
audio_fname: Union[str, bytes],
metadata_fname: Optional[Union[str, bytes]] = None,
) -> None:
# Save the audio and metadata to the specified files.
await self.chunkify()
await super().save(audio_fname, metadata_fname)
    audio: AudioSegment = AudioSegment.from_file(audio_fname)
    audio.export(audio_fname)

If you just comment the audio export, the file size is larger, audio export somewhat compresses the audio.
though the problem is when you pick other formats like amr, ogg, silk, etc. It seems that its not giving the result as what we have expected, its still just an mp3 with another file extension format, the file size will still be the same regardless.


Special input type can not be clicked on mobile.

There are some special input types can not be clicked when using iscroll 5(click: true) on mobile, such as Date, Color, etc.
I have added below codes to solve it:
var isSpecialInputType = (/INPUT/i).test(target.tagName) && (/DATE|COLOR/i).test(target.getAttribute('type'));
if ( isSpecialInputType || !(/(SELECT|INPUT|TEXTAREA)/i).test(target.tagName)) {
Is there any problem?

Same issue here with time inputs.


filename parameter wrongly assigned when adding Item

I am having issues with filename parameter. When using addItem() after the successful upload if I go to that item on AGOL contents (FGDB in this case) and try to update it, the filename is the same as Title, missing a '.zip' extension in the name and hence it would not allow me to update the item even though it is exactly the same zipped FGDB I have uploaded.
name = 'FGDB_Upload'
ip = arcrest.manageorg.ItemParameter()
ip.title = name
ip.filename = name + '.zip'
ip.type = "File Geodatabase"
ip.tags = name
item = user.addItem(itemParameters=ip,
filePath = "path to zipped FGDB", multipart = True)
I tried setting the filename parameter "name + '.zip', but it does not honor it. I noticed that if I set ip.title = name + '.zip', it would also set the filename to that and lets me start the update, however fails with an error

@SergStol - i'll take a look.
What version of ArcREST are you using?

3.5.3/3.5.4 master copy downloaded on 02/03/2016

@SergStol  - able to reproduce, I will try to figure out a fix.  It appears that the extension gets dropped when saved on AGOL even when a file name is specified.  Most likely an issue with the addByPart function the mulipartform class.  I'll see what I find out.

@SergStol - issue resolved with latest commit to master


Move legend outside of chart area

http://stackoverflow.com/a/4701285

On branch "legend" but boy is it a mess


Update next meeting date in README.md

@dicortazar can you merge this please?

@dicortazar, do you want me to take care of this? I'd prefer to leave it to you as a person heading up this WG

Thanks @dicortazar


Test out the chart for UI building

https://github.com/budibase/budibase> https://docs.budibase.com/docs/kubernetes-k8s

not planned, React is the way


Implement CWL->jobTree Graph (1 of 3)

Current release of cwltool is broken (pip install cwltool).
I had to explicitly add the .yml file from their github to the site-packages dir.
IOError: [Errno 2] No such file or directory: '/Users/Jvivian/anaconda/lib/python2.7/site-packages/cwltool/schemas/draft-2/cwl-avro.yml'
Even after fixing that I haven't been able to get any of the examples I tried to work.
Errors I got:
Tool definition failed validation:
While validating requirements ScatterFeature
Unknown requirement ScatterFeature
While validating hints DockerRequirement
could not validate field dockerImageId because
missing required field dockerImageId
To replicate:
pip install cwltool
git clone https://github.com/common-workflow-language/common-workflow-language
cd common-workflow-language/conformance/draft-2/
cwltool <any workflow> <any job.json>

Since the pip release is behind  their github, I cloned the github and tried to install cwltool per instruction:
cd common-workflow-language/reference
easy_install .

This did not work and I had to force-quit to exit the installation.
Should I open a github issue?  Should we just wait to deal with CWL until they have a working release?

The whole project is fragmented, inconsistent and badly documented. They don't have comprehensive examples, most of their examples are really just unit test.
Having said that, I got the bwa-mem workflow to parse and actually run a command. The command uses docker which I don't have installed anymore but this tells me that the basics are working.
git clone https://github.com/common-workflow-language/common-workflow-language
cd common-workflow-language/
virtualenv venv
cd reference/
../venv/bin/python setup.py install
cd ../conformance/draft-2/
../../venv/bin/python ../../reference/cwltool/main.py bwa-mem-tool.cwl bwa-mem-job.json

Note that I now basically use a virtualenv for everything in Python.

Thanks Hannes, I should have realized there was an alternate installation method via the setup.py.  Even after installing cwltools through that method I am still unable to get any of the examples working.
Most of the docker images return "image not found", or they fail the subprocess call to pull the image,  or they are missing dependencies needed to run the workflow.

Cancelled


Add referit3d and scanrefer to scannet dataset

Motivation and Context
When we want to quantitatively evaluate LLMs ability to localize objects from natural language, we can use ReferIt3D and Scanrefer to compute metrics on ScanNet.
Changelog
Add loading in datasets/scanrefer_data.py and datasets/referit3d_data.py
How Has This Been Tested
Loaded referring expressions in jupyter notboook
Types of changes

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

Checklist:

[x] I have made changes to existing documentation where needed.
[ ] I have added tests that show that the PR is functional.
[ ] I ran tests/hw_manual_test.py on hardware and observed that robot behavior looks normal.

New commit adds GPU support for SparseVoxelMap and InstanceMemory
Image of GT scannet pointcloud after voxelizing:

Reconstructed pointcloud after integrating views with the VoxelizedPointcloud class in utils/voxel.py

Reconstructed pointclouds with instances from Detic, using torch/gpu version of SparseVoxelMap (with InstanceMemory)

Summary:

Upgrade to PyTorch 2.0.0 and add torch-geometric dependency
Tensorize sparse voxel class (using torch-geometric)
Add visualization for sparse voxel class and instances
Adds pytorch3d visualization for the above
Adds referit3d and scanrefer to scannet dataset

TODO:

Add evaluation for scannet object detection
Add example evaluating the sparse voxel map class on scannet object detection
Improve InstanceMemory associate_instances_to_memory to give tighter bounding boxes


added link to hactoberfest website

Thanks @JOY-404, since this isn't a blog I think it should actually be above the blog header.

Superseded by #32

Closing as I merged #32


feat: add recursive option

add an option to apply blacken-docs on docs
blacken-docs -r my_folder

Hey @asottile it was still a draft PR, is there a reason to close it already ?

yes because you have not searched the issue tracker and you did not start with an issue


Ship dendron features with a vim plugin

Please select if your request is either something new or an enhancement

[ ] Enhancement of an existing Feature.
[x] Request of a new feature.

Please select the area your request applies to. (Multiple selections are Possible. You can leave blank if you're not sure.)

[x] Workspace - VSCode workspace, vaults, Intellisense/autocomplete, Dendron settings
[x] Lookup - Dendron's Lookup Command
[x] Views - Dendron Preview, Tree View, Side Panels in the UI
[x] Schema - Dendron Schemas
[x] Pod - Data import from / export to Dendron
[x] Publish - External Site Publish
[x] Markdown - Markdown features, such as syntax support and features

Describe the solution you'd like
I'm a neovim and vscode user and I really like dendron, but I didn't find anything close to it on vim, I mean markdown based, back link support, etc.... It would be great to have dendron's features ship within a vim plugin.
Describe alternatives you've considered
vim.notes
vimwiki
vim.zettelkasten

That would actually be terrific, @jakara, and I would love to see such a plugin.
@namjul actually started working on one here: dendron.nvim
As for other alternatives, here are some neovim options:

jakewvincent/mkdnflow.nvim
renerocksai/telekasten.nvim
mickael-menu/zk with nvim integration (mickael-menu/zk-nvim)


Migrate bls crates to blsful

Description in the linked ticket.

Performance of processing blocks looks miles better with this PR, nice one :) A -59.179% change in processing time per block and +144.97% improvement in throughput.

(Blame criterion for generating a misleading graph where the axes don't start at zero :stuck_out_tongue:)


TypeScript types

Started using digitalocean module in TypeScript environment. It would be nice if the module came with built-in types.

Sounds great! Any you'd be able to share in a PR?

Sure, I’ve already started working on it. When I finish, I will share.
On Thu, Jun 21, 2018 at 6:41 AM Phillip Baker<EMAIL_ADDRESS>wrote:

Sounds great! Any you'd be able to share in a PR?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/phillbaker/digitalocean-node/issues/28#issuecomment-399107365,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA7sVAwuF1AudUHv6Cz65RI1LBivvTdOks5t-6J4gaJpZM4Uxjad
.

Sure, I’ve already started working on it. When I finish, I will share.
…
On Thu, Jun 21, 2018 at 6:41 AM Phillip Baker @.***> wrote: Sounds great! Any you'd be able to share in a PR? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#28 (comment)>, or mute the thread <github.com/notifications/unsubscribe-auth/AA7sVAwuF1AudUHv6Cz65RI1LBivvTdOks5t-6J4gaJpZM4Uxjad> .

Any update on that?


Add stm32l4x5 yaml file

I noticed that there was an unused svd file for the stm32l4x5 devices. Was this device family deliberately left out? I have access to one and would like to try getting it running with rust.
If it was just an oversight this PR adds the missing .yaml file.
If the stm32l4x5s were deliberately left out then feel free to close this PR and let me know if there's anything I help with.

Thanks! I think this SVD got added by #1 but no corresponding yaml. All looks good to me.


From Github tags to new release on Pypi using bot

Hello,
Publishing a new release of a Python package could be much easier.
GitHub tags could be an easy way to achieve this task.
Moreover it will avoid to have a tag on Pypi which doesn't exists on Github.
In Julialang we have attobot https://github.com/attobot/attobot
I wonder if such feature couldn't be implemented for the Pypi infrastructure.
Kind regards

/me subscribes

I'd like to also add that there's GitHub Deployment API for this, which I'm currently exploring for a similar reason.

Recommended way to do this is by the PyPA's officially supported GitHub Action: https://github.com/pypa/gh-action-pypi-publish


Footnote citation spacing

Old behaviour:

New behaviour:

This PR removes the margin-bottom from (the wrapper around) citations and footnotes, which makes them look better.
To preserve space between footnotes and whatever comes next, I've added a margin-top to any element that follows.
Fixes #440

@jessetan, I hope this also closes rtfd/sphinx_rtd_theme#479 (duplicate of #440?).

@skirpichev I haven't built the entire diofant documentation, but if I paste the docstring into a demo document, it looks fine with this fix.

@jessetan, good news.  Thank you for your work.
BTW, I did some workarround here.  I don't see any bad side effects on my build, but perhaps there are.


How to view tea installed packages?

Once I run tea install xxx how can I know which packages have been shimmed by tea?

there are no plans for implementing this yet, possibly 1.1 or 1.2 timeframe.


⚠ Bofrost.de has degraded performance

In 9b53311, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 736 ms

Resolved: Bofrost.de performance has improved in ec949e7.


[gstreamer] build failure

Operating system
Windows 11
Compiler
Visual Studio
Steps to reproduce the behavior
Fresh install.

C:\vcpkg>vcpkg install gstreamer[core,colormanagement,dash,bzip2-bad,bzip2-good,dtls,gpl,libav,libde265,openh264,mpg123,smoothstreaming,speex,vpx,taglib,webp,faad,openmpt,plugins-base,plugins-bad,plugins-good,plugins-ugly,openjpeg,jpeg,png,x264,x265,ges,flac]:x64-windows  --recurse

Failure logs
C:\vcpkg>vcpkg install gstreamer[core,colormanagement,dash,bzip2-bad,bzip2-good,dtls,gpl,libav,libde265,openh264,mpg123,smoothstreaming,speex,vpx,taglib,webp,faad,openmpt,plugins-base,plugins-bad,plugins-good,plugins-ugly,openjpeg,jpeg,png,x264,x265,ges,flac]:x64-windows  --recurse
Computing installation plan...
The following packages will be built and installed:
<EMAIL_ADDRESS>Detecting compiler hash for triplet x64-windows...
Compiler found: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.41.34120/bin/Hostx64/x64/cl.exe
Restored 0 package(s) from C:\Users\Roger\AppData\Local\vcpkg\archives in 81.9 us. Use --debug to see more details.
Installing 1/1<EMAIL_ADDRESS>Building<EMAIL_ADDRESS>-- Found Python version '3.11.8 at C:/vcpkg/downloads/tools/python/python-3.11.8-x64/python.exe'
-- Using meson: C:/vcpkg/downloads/tools/meson-1.5.1-81f7e3/meson.py
-- Using cached gstreamer-gstreamer-1.22.5.tar.gz.
-- Cleaning sources at C:/vcpkg/buildtrees/gstreamer/src/1.22.5-415fd60d58.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source C:/vcpkg/downloads/gstreamer-gstreamer-1.22.5.tar.gz
-- Applying patch fix-clang-cl.patch
-- Applying patch fix-clang-cl-gstreamer.patch
-- Applying patch fix-clang-cl-base.patch
-- Applying patch fix-clang-cl-good.patch
-- Applying patch fix-clang-cl-bad.patch
-- Applying patch fix-clang-cl-ugly.patch
-- Applying patch gstreamer-disable-no-unused.patch
-- Applying patch srtp_fix.patch
-- Applying patch fix-bz2-windows-debug-dependency.patch
-- Applying patch base-must-be-enabled.patch
-- Applying patch no-downloads.patch
-- Applying patch plugin-base-disable-no-unused.patch
-- Using source at C:/vcpkg/buildtrees/gstreamer/src/1.22.5-415fd60d58.clean
-- Found external ninja('1.11.0').
-- Using cached msys2-mingw-w64-x86_64-pkgconf-1~2.2.0-1-any.pkg.tar.zst.
-- Using cached msys2-msys2-runtime-3.5.3-3-x86_64.pkg.tar.zst.
-- Using msys root at C:/vcpkg/downloads/tools/msys2/1e74ca60daa10104
-- Configuring x64-windows-dbg
-- Getting CMake variables for x64-windows
-- Configuring x64-windows-dbg done
-- Configuring x64-windows-rel
-- Configuring x64-windows-rel done
-- Package x64-windows-dbg
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message):
Command failed: "C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" install -v
Working Directory: C:/vcpkg/buildtrees/gstreamer/x64-windows-dbg
Error code: 1
See logs for more information:
C:\vcpkg\buildtrees\gstreamer\package-x64-windows-dbg-out.log
Call Stack (most recent call first):
installed/x64-windows/share/vcpkg-tool-meson/vcpkg_install_meson.cmake:33 (vcpkg_execute_required_process)
ports/gstreamer/portfile.cmake:302 (vcpkg_install_meson)
scripts/ports.cmake:192 (include)
error: building gstreamer:x64-windows failed with: BUILD_FAILED
See https://learn.microsoft.com/vcpkg/troubleshoot/build-failures?WT.mc_id=vcpkg_inproduct_cli for more information.
Elapsed time to handle gstreamer:x64-windows: 2.2 min
Please ensure you're using the latest port files with git pull and vcpkg update.
Then check for known issues at:package-x64-windows-dbg-out.log
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?title=[gstreamer]+Build+error+on+x64-windows&body=Copy+issue+body+from+C%3A%2Fvcpkg%2Finstalled%2Fvcpkg%2Fissue_body.md
Additional context
No response

../src/1.22.5-415fd60d58.clean/subprojects/gst-libav/ext/libav/gstavcfg.c(394): error C2065: 'AV_OPT_TYPE_CHANNEL_LAYOUT': undeclared identifier
../src/1.22.5-415fd60d58.clean/subprojects/gst-libav/ext/libav/gstavcfg.c(394): error C2051: case expression not constant

AV_OPT_TYPE_CHANNEL_LAYOUT seems to be an identifer from ffmpeg which was depreacted in 2022:
https://github.com/FFmpeg/FFmpeg/blob/40dda881d6ad761b4589c3078b925e0d849546b3/doc/APIchanges#L617
In vcpkg, ffmpeg was recently updated from 6 to 7.
vcpkg CI tests only gstreamer[core,plugins-base], but ffmpeg is coupled to the libav feature. If you need that feature, you can try to combine it with an old version of ffmpeg at the moment.

@dg0yt I do need libav/ffmpeg, How do I specify a version using vcpkg?

You will have to use manifest mode for versioning.
In classic mode, you could copy the old version's ports/ffmpeg dir to a separate location, and use that via --overlay-ports.

I tried changing the version in the vcpkg.json file, but that did not work.  What is the simplest way to get an older version?
{
"name": "ffmpeg",
"version": "6.1.2",

Browse the git history (git log, gitk, Github) to find the commit before the update to 7.0,
checkout that commit. Verify the content of ports/ffmpeg, copy the dir, then checkout master again.

@dg0yt Thank you that worked as a workaround.
I would urge the team to provide a simple mechanism for specifying versioning, though.

I would urge the team to provide a simple mechanism for specifying versioning, though.

Please see "Tutorial: Install a specific version of a package" https://learn.microsoft.com/en-us/vcpkg/consume/lock-package-versions?tabs=inspect-powershell

@WangWeiLin-MV I saw that.  A simple thing is to specify the version in the command line, not fiddling with json files.

Please see discussions https://github.com/microsoft/vcpkg/discussions/39369


Bug reading Exodus files.

Here is the e-mail describing the bug. Hello, We have found a possible error in the Alegra generated Exodus data in VisIt when using the Exodus Reader in multiple VisIt versions including 2.12.3 and 2.13.0 When turning of the second elment block VisIt gives and error message. "ERROR: Pseudocolor: () viewer: The pipeline object is being used improperly." Is this a know problem with a known workaround? We have sample data available to demonstrate this issue. We also had to load the data without using the Alegra preset in the Exodus reader or it would not even generate a pseudocolor plot. I have attempted to attach a 2 partition exodus file of 12 elements.If the attachment does not go through, then please contact me for the data. Thanks, Joe ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Joseph G. Hennessey Ph.D., SAIC, Team SAIC HITS Army Research Lab DOD Supercomputing Resource Center (ARL DSRC) ARL DSRC HITS SAIC (SAIC) Bldg. 120 , C214Voice:<PHONE_NUMBER>Email<EMAIL_ADDRESS>-----------------------REDMINE MIGRATION-----------------------
This ticket was migrated from Redmine. As such, not all
information was able to be captured in the transition. Below is
a complete record of the original redmine ticket.
Ticket number: 3192
Status: Pending
Project: VisIt
Tracker: Bug
Priority: High
Subject: Bug reading Exodus files.
Assigned to: Kathleen Biagas
Category: -
Target version: 2.13.4
Author: Eric Brugger
Start: 08/01/2018
Due date:
% Done: 0%
Estimated time:
Created: 08/01/2018 12:11 pm
Updated: 08/30/2018 03:52 pm
Likelihood: 3 - Occasional
Severity: 4 - Crash / Wrong Results
Found in version: 2.12.3
Impact:
Expected Use:
OS: All
Support Group: Any
Description:
Here is the e-mail describing the bug. Hello, We have found a possible error in the Alegra generated Exodus data in VisIt when using the Exodus Reader in multiple VisIt versions including 2.12.3 and 2.13.0 When turning of the second elment block VisIt gives and error message. "ERROR: Pseudocolor: () viewer: The pipeline object is being used improperly." Is this a know problem with a known workaround? We have sample data available to demonstrate this issue. We also had to load the data without using the Alegra preset in the Exodus reader or it would not even generate a pseudocolor plot. I have attempted to attach a 2 partition exodus file of 12 elements.If the attachment does not go through, then please contact me for the data. Thanks, Joe ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Joseph G. Hennessey Ph.D., SAIC, Team SAIC HITS Army Research Lab DOD Supercomputing Resource Center (ARL DSRC) ARL DSRC HITS SAIC (SAIC) Bldg. 120 , C214Voice:<PHONE_NUMBER>Email<EMAIL_ADDRESS>Comments:
I've emailed user twice about this issue. Since there has been no response, I am moving resolution to a later release.Analysis of the issue...I have looked at your file and see some issues with the naming conventions chosen for material specifc quantities.Note: The Exodus file format, AFAIK, does nothing to capture information regarding material volume fractions or variables that have materialspecific values. This is all deduced by the way things are named in the file.We can open your file and plot materials fine byCreating a .visit file with contents...!NBLOCKS 2region2.exo.2.0region2.exo.2.1Open as...Open file as type ExodusHit Set default open optionsSelect custom material conventionsdefine the string, %s@n?'&VOLFRC%d&n&':'VOID_FRC': for "Namescheme for material volume fractions" However, only the Density variable will work with materialspecific quantities. A few other variables there, ECON1, PRESS1/PRESSURE, TEMP1/TEMPERATURE do not follow a sufficiently simple naming convention that VisIt can deduce their relationships to each other or the associated materials.To correct, the material specific variables must have the same root name as the "overall" variable. So, you would have to do something like...PRESSURE1/PRESSURE, TEMPERATURE1/TEMPERATUREAnd, I really have no idea what ECON1 might be paired with.

3178_region2.exo.2.0.zip
3178_region2.exo.2.1.zip


Added a component for controlling Mipow lights

Description:
This is a component I have been using for over 3 years now on my own installation and it works pretty well 👍
I will add requirements on next commit to this PR
Pull request in home-assistant.io with documentation (if applicable): home-assistant/home-assistant.io#TBA
Example entry for configuration.yaml (if applicable):
platform: mipow
devices:
  33:9e:4b:64:ac:e2:
    name: Mipow

Checklist:

[x ] The code change is tested and works locally.
[x ] Local tests pass with tox. Your PR cannot be merged unless tests pass

If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.io

If the code communicates with devices, web services, or third-party tools:

[ ] New dependencies have been added to the REQUIREMENTS variable (example).
[ ] New dependencies are only imported inside functions that use them (example).
[ ] New or updated dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[ ] New files were added to .coveragerc.

If the code does not interact with devices:

[ ] Tests have been added to verify that the new code works.

Unfortunatetly i dont have time to create the component page in the other repository just yet, but will do when i get the time

Cannot find a related documentation PR. Adding docs-missing label.

Wait @mjg59 was also working on adding a component for this
i can talk with him about updating the python-mipow and using his version of the component

@fabaff  its based on #5207

but it seems that mjg's version is better anyways

Any progress here?

This PR seems to have gone stale. Closing it.


running estion_cuda

I can't run the estimate_cuda. Do I need to configure anything else?

What is the error message?

~/anaconda3/bin/python run/pose3d/estimate_cuda.py --cfg experiments-local/mixed/resnet50/256_fusion.yaml
=> creating output/mixed/multiview_pose_resnet_50/256_fusion
=> creating log/mixed/multiview_pose_resnet_50/256_fusion2019-11-14-17-56
And the program is stuck in, in the log folder, I can't get angthing.
Do I need to configure anything else?

It is probably in the process of running. You could try to print the MPJPE of each sample at line 114.

in terminal, I can't print anything


Shutov / #2573 [ Search page] Added setting to scroll up after switching between routes

set scrollPositionRestoration app-routing module

@humanmantis i don't know ,do we need such behavior in entire app?

@humanmantis i don't know ,do we need such behavior in entire app?
For me, this looks like the expected behavior on all pages


PS move controller is always behind me and pointing the wrong way in steamVR

I have redone it loads of times and still have the same error. I use VRidge/riftcat

Make sure your phone is connected and oriented forwards (with ctrl+shift+alt+R) while you run the tracker calibration.

I have

Should I use the mat or attach the ps move to the headset?

The mat. After the five poses it takes the direction of the HMD and at that point your phone needs to be pointing forwards.

Also make sure to use the release I just put out yesterday: https://github.com/cboulay/PSMoveService/releases/tag/v0.9-alpha4.6

I try again using the mat and I am using that release

Still don't work

It's a more painful alternative, but you can manually edit your TrackerSettings file to force align the steamvr and psmove tracking spaces. See issue #113 about how to do this. We don't officially support the RiftCat yet so the support for this is pretty rough.

@booty156 I just ran some tests and you must restart SteamVR for the new alignment to take effect. I used this method to successfully rotate the PSMove forward direction to the left then back to the front.

start and connect VRidge
start SteamVR
start PSMoveService
start calibration and ensure your HDM is looking forwards
place the mat with the poses 4 and 5 to the front
finish and close calibration
restart SteamVR

Following that should result in the forward directions being aligned.

Thank you so much, IT WORKED :D

I updated the troubleshooting guide with Zelmon's notes. Thanks for the tech support!

Hi,
I fixed this by adjusting the global_forward_degrees setting in the tracker configuration json file. The default was 270 and when I changed it to 90, the SteamVR alignment exactly matched the results that I had just gotten inside the config tool.


Text updates

Updated some text in the Add new ECTs and mentors section of the step by step page

My full text explanation of what I did seems to be missing. Maybe I just can't see it.


Font weight/bold on Canary

OS version and name: macOS Catalina Version 10.15.3
Hyper.app version: 3.1.0-canary.4
Issue
The font-weight looks different between stable and canary versions. Please take a look at the screenshots below.


fix typo in PR #705 rename tkey_dynamics back to ikey_dynamics

What changes does this PR introduce?
small bug fix
What is the current behaviour?
ikey_dynamics got accidentally changed to ikey_dynamics
What is the new behaviour
revert change
Does this PR introduce a breaking change?
no, if merged quickly, current code will not compile
Other information:
Suggested addition to tag-index

Will merge this PR after my latest testreport -adm finishes.


[FEA] Add documentation to create docker image of plugin and instructions to run using slurm

Is your feature request related to a problem? Please describe.
This is to track below documentation:

Instructions to create docker image of plugin(which includes cuda, cudf, spark and plugin jars)
Instructions to run using slurm commands. https://slurm.schedmd.com/quickstart.html

Docker build instructions here: https://github.com/NVIDIA/spark-rapids/blob/branch-0.2/docs/get-started/getting-started.md#running-on-kubernetes . And slurm instructions to acquire the machines is in the description link.
Closing this.


How to add support for a new device?

Hi,
I'm working on an ESP32 based board that will drive laser galvos. At the moment I'm playing ILDA files locally but would like to integrate it with laser-dac.
The board is WiFi enabled so streaming over a WebSocket, TCP or HTTP connection will be pretty straightforward.
Where should I start in adding a new device to the system?
Thanks
Chris

Laser-dac is modular and consists of multiple packages. Each package represents a device. For example for the Laserdock there's this one: https://github.com/Volst/laser-dac/tree/master/packages/laserdock. So best is to copy the code from there for example and then modify it to work with your own.

Laser-dac is modular and consists of multiple packages. Each package represents a device. For example for the Laserdock there's this one: https://github.com/Volst/laser-dac/tree/master/packages/laserdock. So best is to copy the code from there for example and then modify it to work with your own.

@cgreening , did you manage figure it out?

I got slightly sidetracked and ended up writing my own later driver for the ESP32:
https://github.com/atomic14/esp-asteroids
and
https://github.com/atomic14/esp32-laser-show


[Viewer App] Streaming information has missing stats

Streaming information stats on the viewer app has following missing stats
** Video Packet Loss
** Audio Packet Loss
** Video Packet Jitter
** Audio Packet Jitter
Candidate type and Available Outgoing BR stats should be removed from the Viewer stats based on the stats shown in the Millicast viewer app.
For Local File: Missing -> Audio total received
Window/Screen Sharing: Missing -> Audio bitrate, Audio total received
STEPS:

Open the publisher app
Add the Screen Share source and Local File stream with the camera source
Go live
Streaming information has missing stats

Int Branch: int-issue-145-multisources
Environment:
OS: MAC
Browser: Chrome

Solved by #367


Delete button removes the element even if the text input is active

Title speaks for itself. "Delete" button on the keyboard removes the active element, even if this element is text and the input form is active too. Such behavior is not obvious and highly frustrating, when you just try to correct the text.

Yeah, this is known issue. I haven't gotten around to fixing it yet.
https://github.com/MultiMote/niimblue/blob/6f218f033effbeef7692363b46828c6e10a66ff6/niimblue/src/lib/ImageEditor.svelte#L55

Fixed.


DBus BlueZ GVH5183 decode

I need to test this (meat thermometer)

completed https://github.com/wcbonner/GoveeBTTempLogger/commit/a0af2571c0dc1ce6cdd73cac2dd264d98dbb3bef


Whitespace breaks docstring

https://github.com/NREL-Sienna/PowerGraphics.jl/blob/77a5a513c2c05bfba5554c64435813468f9d81d6/src/call_plots.jl#L407

closed via #112


Parameterize sleep interval

Instead of the hardcoded 10 seconds, allow user to define a custom interval to sleep between router migrations.

Thank you for contributing to openstack/osops-tools-contrib!
openstack/osops-tools-contrib uses Gerrit for code review.
If you have never contributed to OpenStack before make sure you have read the
getting started documentation:
https://docs.openstack.org/infra/manual/developers.html#getting-started
Otherwise please visit
https://docs.openstack.org/infra/manual/developers.html#development-workflow
and follow the instructions there to upload your change to Gerrit.


Not Working on Android 11 and 12

I have added latest google ml kit version in our flutter app its working fine for Android 9 but for higher versions Android 11 and 12 not working even i tested google ml kit example app and same behaviour for Android 11 and 12. I also tried this for IOS and there its working fine.  On Android 11 and developer all feature are not working properly.
If any one try google ml kit features for Android 11 and 12  then please share solution or even share their problem

@arsallion313786 : what do you mean with "not working"? which API are you using: face detection, barcode, text recognition, etc? I used a Pixel 4 with Android 12 to test our example app, and so far all the APIs are working. So, could you be more specific what is not working for you Android 12 testing device?
Also, thanks for trying Google's  native app, if you are getting the same behavior in Google's native app, then you should open an issue there. We are just consuming and wrapping their APIs in this plugins, doing the same processing they have in their documentation. We won't be able to fix that, but them. If you find that we are consuming and exposing incorrectly their APIs then come and let us know, or contribute with a PR.

@fbernaly
Thanks to comment. I have Samsung A23 Testing device and i have tested Barcode and Text detection API its working fine on all iOS devices and on Android Devices which they have version upto 9 but same code not working for Android 11 and 12.
I really wonder if all things working fine for all iOS devices and also for Android 9 then why not for Android 11 and 12

Possibly related, google_mlkit_barcode_scanning doesn't work for me on Pixel 3, Android 12. The camera switches on, but nothing happens when pointed at a barcode. Barcode detection works fine on iOS. Flutter logs:
I/Camera  (20069): close
W/Camera  (20069): The selected imageFormatGroup is not supported by Android. Defaulting to yuv420
I/Camera  (20069): startPreview
I/Camera  (20069): CameraCaptureSession onConfigured
I/Camera  (20069): Updating builder settings
D/Camera  (20069): Updating builder with feature: ExposureLockFeature
D/Camera  (20069): Updating builder with feature: ExposurePointFeature
I/Camera  (20069): closeCaptureSession
D/Camera  (20069): Updating builder with feature: ZoomLevelFeature
D/Camera  (20069): Updating builder with feature: AutoFocusFeature
D/Camera  (20069): Updating builder with feature: NoiseReductionFeature
I/Camera  (20069): updateNoiseReduction | currentSetting: fast
D/Camera  (20069): Updating builder with feature: FocusPointFeature
D/Camera  (20069): Updating builder with feature: ResolutionFeature
D/Camera  (20069): Updating builder with feature: SensorOrientationFeature
D/Camera  (20069): Updating builder with feature: FlashFeature
D/Camera  (20069): Updating builder with feature: ExposureOffsetFeature
D/Camera  (20069): Updating builder with feature: FpsRangeFeature
I/Camera  (20069): refreshPreviewCaptureSession
I/Camera  (20069): refreshPreviewCaptureSession: captureSession not yet initialized, skipping preview capture session refresh.
I/Camera  (20069): CameraCaptureSession onClosed
I/Camera  (20069): startPreviewWithImageStream
I/Camera  (20069): CameraCaptureSession onConfigured
I/Camera  (20069): Updating builder settings
D/Camera  (20069): Updating builder with feature: ExposureLockFeature
D/Camera  (20069): Updating builder with feature: ExposurePointFeature
D/Camera  (20069): Updating builder with feature: ZoomLevelFeature
D/Camera  (20069): Updating builder with feature: AutoFocusFeature
D/Camera  (20069): Updating builder with feature: NoiseReductionFeature
I/Camera  (20069): updateNoiseReduction | currentSetting: fast
D/Camera  (20069): Updating builder with feature: FocusPointFeature
D/Camera  (20069): Updating builder with feature: ResolutionFeature
D/Camera  (20069): Updating builder with feature: SensorOrientationFeature
D/Camera  (20069): Updating builder with feature: FlashFeature
D/Camera  (20069): Updating builder with feature: ExposureOffsetFeature
D/Camera  (20069): Updating builder with feature: FpsRangeFeature
I/Camera  (20069): refreshPreviewCaptureSession
W/System  (20069): A resource failed to call release.
W/System  (20069): A resource failed to call release.
D/TransportRuntime.SQLiteEventStore(20069): Storing event with priority=VERY_LOW, name=FIREBASE_ML_SDK for destination cct
D/TransportRuntime.JobInfoScheduler(20069): Upload for context TransportContext(cct, VERY_LOW, 90bzNc) is already scheduled. Returning...
D/TransportRuntime.SQLiteEventStore(20069): Storing event with priority=DEFAULT, name=FIREBASE_ML_SDK for destination cct
D/TransportRuntime.JobInfoScheduler(20069): Upload for context TransportContext(cct, DEFAULT, 90bzNc) is already scheduled. Returning...
D/TransportRuntime.SQLiteEventStore(20069): Storing event with priority=VERY_LOW, name=FIREBASE_ML_SDK for destination cct
D/TransportRuntime.JobInfoScheduler(20069): Upload for context TransportContext(cct, VERY_LOW, 90bzNc) is already scheduled. Returning...
D/TransportRuntime.SQLiteEventStore(20069): Storing event with priority=VERY_LOW, name=FIREBASE_ML_SDK for destination cct
D/TransportRuntime.JobInfoScheduler(20069): Upload for context TransportContext(cct, VERY_LOW, 90bzNc) is already scheduled. Returning...

From the linked bug, there is likely an issue with some Android 12 devices (emulators are okay) and google_mlkit_barcode_scanning:

Works on emulators - Pixel 3, Pixel5 with Android 12, Pixel 3 with Android 9.
Works on device - lenovo Tab with Android 10.
Works on Samsung Galaxy Tab S6 Lite, Android 12.
Does NOT work on Pixel 3 and Pixel 5 with Android 12.
Does NOT work on Nokia x20, with google services, Android version unknown.

From the linked bug, there is likely an issue with some Android 12 devices (emulators are okay) and google_mlkit_barcode_scanning:

Works on emulators - Pixel 3, Pixel5 with Android 12, Pixel 3 with Android 9.
Works on device - lenovo Tab with Android 10.
Works on Samsung Galaxy Tab S6 Lite, Android 12.
Does NOT work on Pixel 3 and Pixel 5 with Android 12.
Does NOT work on Nokia x20, with google services, Android version unknown.

nokia x20 android 12

Not working on Vivo Y33T having android 12

I am using this plugin together with the camera plugin to create a barcode scanner. The imageSream on the CameraController delivers CameraImage's which will be used for barcode detection while using the mlkit BarcodeScanner.
On some devices like Pixel 6 everything works good and fast. But on the Pixel 5 the detection doesn't work at all.
I am holding the camera over the barcode but nothing happens.
But I changed something which made it work. Surprisingly it's the "ResolutionPreset" in the CameraController constructor.
First I set it to medium which works on the pixel 6 but not pixel 5. Then I changed it to high and after that it also works on the pixel 5.
Maybe there is some kind of correlation between the resolution of the images and the detector(s).

Hi guys, sorry for the delay. Thanks for using our plugin. @bharat-biradar and I have been maintaining this plugin, but sometimes we cannot provide all the support you need. Both of us are busy with school, work and family. We created this plugin as an open source project. We do not have an ETA for this fix, too busy with so many things, but you are welcome to fork our repo, fix whatever is broken and sent the PR. We will review PRs as soon as possible and release a new version.
I think that @rubenferreira97  is right, during my initial testing I found issues with the camera plugin similar to whar @rubenferreira97  reported: issues when changing the resolution.
ML Kit has these guidelines for input image resolution: https://developers.google.com/ml-kit/vision/face-detection/ios#input-image-guidelines
Unfortunately, because most of us are using the camera plugin, some how the out of that plugin does not conform with what ML Kit expects as input image, and therefore our plugin is failing. Basically we are passing the native camera output to Flutter (with camera plugin), then we are sending it back using FlutterMethodChannel to the native layer to be processed by ML Kit, in all that process there is a big delay, also compressing and decompressing issues. A better approach would be something like @mahbubabbas did: capture the image in the native layer and send it directly to ML Kit for processing without passing for Flutter.
I would appreciate if someone takes the time to fork our repo and starts leading that effort. I think we are going to continue seeing this issues related to using camera plugin, until we refactor the plugin to process the camera directly in the native layer.

Hey, im having the same issue as you all, on some Android devices face recognition is not working. I did get to make it work on a lot of previusly affected devices by seting the camera quality to "High", sacrificing some performance.
But still i have some devices affected. The list of the ones i know they are directly affected: Xiaomi Redmi 2201117TG, Motorola G71 G5.
I did a lot of development with this Google package, hope it gets fixed soon.
PD:  I tryed @mahbubabbas package, and it works fine with this still affected devices. But the integration with my allready developed code would be painfull. For example, im getting a photo from the image stream, to use it after biometrics, without having to use the function "take photo" wich requieres the stream to stop and take a photo ( in wich time a hacker of biometrics could put a photo of the real user, to fake the biometrics). Also i dont have lavel detector, wich i use to detect if user has lenses on or photos wich can affect the biometrics process.

Hello, i have a list of devices where the library is NOT working (Ranked from TOP to BOTTOM in amount of devices that have my app, and none of the users with this devices could do face detection.)
motorola, moto g(30)	553
motorola, moto g(9) power	547
motorola, moto g(9) play	545
motorola, moto g51 5G	538
motorola, moto g52	401
motorola, moto e(7) plus	396
samsung, SM-A235M	377
samsung, SM-G975F	157
motorola, motorola one hyper	139
motorola, moto g82 5G	124
lge, LM-X540	116
TCL, T671E	111
motorola, Moto G (5S) Plus	102
samsung, SM-A750G	100
samsung, SM-J701M	92
lge, LM-X525	77
motorola, motorola one	72
samsung, SM-G991B	69
samsung, SM-N975F	66
samsung, SM-J700M	62
lge, LM-X210	57
lge, LM-X430	57
lge, LM-X520	55
Still waiting on a fix for face detection, or for the camera library fix to start detecting faces.

This sounds related to my issue here: https://github.com/flutter/flutter/issues/118350

take a look at https://github.com/flutter/packages/pull/3277, this helped in my case https://github.com/flutter-ml/google_ml_kit_flutter/issues/287


Removal of the email support in the security contact

The email support for the security contact is creating more overhead than benefit to keep. So I want to get rid of this.
I contacted both AWS and RedHat security teams with explanation and proposal to create a Jira account instead.
I set a deadline set to end of March, but I got no non-automatic reply since then.
So, moving forward, we should no longer accept email in the security contact.
FYI @timja @halkeye @daniel-beck

regular template
Description

Submitter checklist for adding or changing permissions

Always

[ ] Add link to plugin/component Git repository in description above

For a newly hosted plugin only

[ ] Add link to resolved HOSTING issue in description above

For a new permissions file only

[ ] Make sure the file is created in permissions/ directory
[ ] artifactId (pom.xml) is used for name (permissions YAML file).
[ ] groupId / artifactId (pom.xml) are correctly represented in path (permissions YAML file)
[ ] Check that the file is named plugin-${artifactId}.yml for plugins

When adding new uploaders (this includes newly created permissions files)

[ ] Make sure to @mention an existing maintainer to confirm the permissions request, if applicable
[ ] Use the Jenkins community (LDAP) account name in the YAML file, not the GitHub account name
[ ] Make sure to @mention the users being added so their GitHub account names are known if they require GitHub merge access (see below).
[ ] All newly added users have logged in to Artifactory at least once

Reviewer checklist (not for requesters!)

[ ] Check this if newly added person also needs to be given merge permission to the GitHub repo (please @ the people/person with their GitHub username in this issue as well). If needed, it can be done using an IRC Bot command
[ ] Check that the $pluginId Developers team has Admin permissions while granting the access.
[ ] In the case of plugin adoption, ensure that the Jenkins Jira default assignee is either removed or changed to the new maintainer.
[ ] If security contacts are changed (this includes add/remove), ping the security officer (currently @Wadeck) in this pull request. If an email contact is changed, wait for approval from the security officer.

There are IRC Bot commands for it

Probably should update https://github.com/jenkins-infra/repository-permissions-updater/blob/e7a5e64a6dc01e6628ef6609597b608771530772/src/main/java/io/jenkins/infra/repository_permissions_updater/Definition.java#L19-L22 as well, though I don't know what its used for

@halkeye Good point, I don't think it's used at the moment but I will update it as well (next week in this PR :p)

did you want me to merge? / can you?

@timja I can't, so with pleasure that you merge it <3


Unable to create array of topic: InvalidConfigError: topic name [object Object] is illegal, contains a character other than ASCII alphanumerics

var kafka = require('kafka-node');
var client = new kafka.KafkaClient();

var topicsToCreate = [{
  topic: 'topic1',
  partitions: 1,
  replicationFactor: 2
},
{
  topic: 'topic2',
  partitions: 5,
  replicationFactor: 3
}];

client.createTopics(topics, (error, result) => {
  // result is an array of any errors if a given topic could not be created
});

In the above snippet contain array of topics topicsToCreate  but while creating createTopics passing  topics. So i changed in my code and passing the topicsToCreate variable in the createTopics function. now facing the below exception

_ InvalidConfigError: topic name [object Object] is illegal, contains a character other than ASCII alphanumerics .,_ and -_

Your example does not show the value of topics but it should be similar to the structure of topicsToCreate .

Exactly i am referring from npm kafka-node documentation and this is the link https://www.npmjs.com/package/kafka-node
i have changed from topics  to _topicsToCreate _ where sending array of object.
But once you pass _topicsToCreate _  in createTopics below exception it will throw
Unable to create array of topic: InvalidConfigError: topic name [object Object] is illegal, contains a character other than ASCII alphanumerics


BlazorWasm-CSharp.Client.csproj is invalid XML

This is currently breaking the build for https://source.dot.net because it cannot parse all C# project files in the tree.
@isaac2004
C:\git\aspnetcore>\t\ppxml src\Components\Blazor\Templates\src\content\BlazorWasm-CSharp\Client\BlazorWasm-CSharp.Client.csproj | \t\tail -3
#### End tag 'ItemGroup' does not match the start tag 'Project'.
Line 0016:   </ItemGroup>
Pos  0005: ----^

C:\git\aspnetcore>git log src\Components\Blazor\Templates\src\content\BlazorWasm-CSharp\Client\BlazorWasm-CSharp.Client.csproj
commit 900c6adff91a13825406fda6a062c666f5e606c6
Author: Isaac Levin<EMAIL_ADDRESS>Date:   Mon Jul 8 14:46:07 2019 -0400

    changes to wasm template per Dan Roth

fyi @stephentoub

Thanks @danmosemsft! This must have been a rebase conflict that wasn't resolved, no idea how it passed CI @ryanbrandenburg I opened a PR to fix this

Might be worth adding a validation step into the build perhaps.

We're tracking the test gap here: https://github.com/aspnet/AspNetCore/issues/10269
The Blazor client side templates don't ship in the SDK, so they aren't built/tested in the same way right now 😞

Fixed by: https://github.com/aspnet/AspNetCore/pull/12247


GitHub Pages site appears blank after following tutorial

Description:
I followed the steps in the tutorial to deploy my portfolio using GitHub Pages, but the site appears blank. I am not sure how to resolve this issue. The repository is based on the Codespaces template for creating and deploying a portfolio (github-education-resources/codespaces-project-template-js).

+1

solved!


Add missing dll to release

From sdk

I updated SpotiSharp to 0.2.0 and moved application to .NET Framework 4.7.2 from .NET Core 3.1 Problem should be solved now. Let me know if problem occurs again.


introduce retry mechanism for client.batches.get

calling for get batch status sometimes fails with ConnectionError:
https://github.com/pocin/kbc-mailchimp-writer/blob/783ed791f49147f35dac128b11aabaeb34adb9f7/mcwriter/utils.py#L301-L302
requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))

full stack trace

INFO:root:Batch job request sent {'id': 'd541760352', 'status': 'pending', 'total_operations':  ... onResetError(104, 'Connection reset by peer'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/src/mcwriter/writer.py", line 348, in run
run_writer(client, params, tables, datadir=datadir)
File "/src/mcwriter/writer.py", line 410, in run_writer
created_lists=created_lists)
File "/src/mcwriter/writer.py", line 318, in add_members_to_lists
batch_action=_add_members_in_batch)
File "/src/mcwriter/writer.py", line 303, in _do_members_action_and_wait_for_batch
api_delay=SEQUENTIAL_REQUEST_DELAY)
File "/src/mcwriter/utils.py", line 304, in wait_for_batch_to_finish
batch_status = client.batches.get(batch_id)
File "/usr/lib/python3.6/site-packages/mailchimp3/entities/batches.py", line 88, in get
return self._mc_client._get(url=self._build_path(batch_id), **queryparams)
File "/usr/lib/python3.6/site-packages/mailchimp3/mailchimpclient.py", line 25, in wrapper
return fn(self, *args, **kwargs)
File "/usr/lib/python3.6/site-packages/mailchimp3/mailchimpclient.py", line 93, in _get
raise e
File "/usr/lib/python3.6/site-packages/mailchimp3/mailchimpclient.py", line 91, in _get
r = requests.get(url, auth=self.auth)
File "/usr/lib/python3.6/site-packages/requests/api.py", line 70, in get
return request('get', url, params=params, **kwargs)
File "/usr/lib/python3.6/site-packages/requests/api.py", line 56, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/lib/python3.6/site-packages/requests/sessions.py", line 488, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python3.6/site-packages/requests/sessions.py", line 609, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python3.6/site-packages/requests/adapters.py", line 473, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))

It would be nice to have retry mechanism implemented for such case.

Never had this err before, but it seems reasonable thing to do.
I probably wont be able to do it the proper way because the underlying mailchimp client doesn't use requests.Session in it's core, but I'll hardcode retry mechanism there

appearently there is some simple retry mechanism in mailchimp client because another error that happend was
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='us12.api.mailchimp.com', port=443): Max retries exceeded with url: /3.0/batches/334c9da7ef (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f30425a78d0>: Failed to establish a new connection: [Errno 110] Operation timed out',))

full stack trace

INFO:root:So far processed 1500 rows
INFO:root:Batch job request sent {'id': '33695d0b95', 'status': 'pending', 'total_operations':  ... ms, tables, datadir=datadir)
  File "/src/mcwriter/writer.py", line 410, in run_writer
    created_lists=created_lists)
  File "/src/mcwriter/writer.py", line 318, in add_members_to_lists
    batch_action=_add_members_in_batch)
  File "/src/mcwriter/writer.py", line 303, in _do_members_action_and_wait_for_batch
    api_delay=SEQUENTIAL_REQUEST_DELAY)
  File "/src/mcwriter/utils.py", line 304, in wait_for_batch_to_finish
    batch_status = client.batches.get(batch_id)
  File "/usr/lib/python3.6/site-packages/mailchimp3/entities/batches.py", line 88, in get
    return self._mc_client._get(url=self._build_path(batch_id), **queryparams)
  File "/usr/lib/python3.6/site-packages/mailchimp3/mailchimpclient.py", line 25, in wrapper
    return fn(self, *args, **kwargs)
  File "/usr/lib/python3.6/site-packages/mailchimp3/mailchimpclient.py", line 93, in _get
    raise e
  File "/usr/lib/python3.6/site-packages/mailchimp3/mailchimpclient.py", line 91, in _get
    r = requests.get(url, auth=self.auth)
  File "/usr/lib/python3.6/site-packages/requests/api.py", line 70, in get
    return request('get', url, params=params, **kwargs)
  File "/usr/lib/python3.6/site-packages/requests/api.py", line 56, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3.6/site-packages/requests/sessions.py", line 488, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3.6/site-packages/requests/sessions.py", line 609, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3.6/site-packages/requests/adapters.py", line 487, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='us12.api.mailchimp.com', port=443): Max retries exceeded with url: /3.0/batches/334c9da7ef (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Operation timed out',))

maybe in such cases its better to fail with UserError and so let user know that there is a problem in connection. Don't know how difficult is that to catch tho.

Easy to catch all requests errors as user errors. Right now they appear as internal?

yes they all appear as internal errors. I think it's a good idea to have all requests errors as user errors.

fixed in tag 0.5.6 (I will make a PR next time!) and already deployed in keboola so should be ready in couple minutes

https://github.com/pocin/kbc-mailchimp-writer/blob/master/mcwriter/utils.py#L299

perfect thanks!


Does anyone find any replacement of this component?

hello, why are you looking for alternatives?

我以为没人维护了

Nov 25, 2021 4:49 PM，sean1025 @.***> 写道：
hello, why are you looking for alternatives?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/Open-Federation/json-schema-editor-visual/issues/69#issuecomment-978966311, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAMM4CBG723DAPDZ2V5R2IDUNX2BPANCNFSM5IBC7YSQ.
Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

主要是好像 PR 没人合

https://github.com/lin-mt/json-schema-editor-antd 试试我重构的？应该勉强可以用用～

RAP2 阿里的成熟方案，应该会比这个好用一点


Android requestSubscription return true

Description
I try requestSubscription on android and the result is always return true.
Not return
{
"orderId":"GPA.2023-9153-0180-49403",
"packageName":"com.package.name",
"productId":"subscription.name.sku",
"purchaseTime":1565763897962,
"purchaseState":0,
"purchaseToken":"kkoohioagkpieamagedjoiji.AO-J1Owj3YPtGxM9YOBSCywUo07BwcX79dAS24w7DvvxVi-gEzsXeRvkY5NGETBH8oDUaWc0oF4M8K3EiJ2v9JUfoGzxPazO51qpksIXGOkVPHI0DVJE3FzOdDd7bqbAIPVLFUo7u6SzdN1nRUlg9xoakvzqY8Kwow",
"autoRenewing":true,
"acknowledged":false
}

Expected Behavior

Screenshots

Environment:

react-native-iap: 10.0.7
react-native: 0.68.2
Platforms (iOS, Android, emulator, simulator, device): Android

Hello @hieuptit93. The method returns a Promise

hi @hieuptit93 before you request any purchase, you should set purchaseUpdatedListener to get the updates as soon as the application is launched

hi @andresesfm so how can we get that response after purchase any subscription

follow the sample code in the documentation


Handle VOLUME statements referring to missing dirs

When a VOLUME statement refers to a directory which isn't present in the container (for example, in the Dockerfile that's part of the Docker source tree), our attempts to save and restore its contents will fail.  When attempting to save, detect the 404 error we get for that case and note that the directory should be empty.  When restoring, don't bother trying to extract a snapshot of such a directory, just clean it out.

Can you add a conformance test for this?

Okay, I've added a conformance test.  I also reworked the patch so that it issues a mkdir -p before attempting to snapshot the directory and waits for unmonitored commands that it issues to finish executing, which together should make the conformance test pass, something which the original proposed change didn't actually accomplish.

Switched to uploading an archive containing the volume directory if, at the point it's declared, we can't read its contents.

@nalind @smarterclayton Is this PR still active?

The 'volumerun' test in the tree and the 'novolume' test that we add here fail without the code change from this PR, so I think so.

@nalind is this still needed?


Testnet 24: Dia release

Testnet Release
Testnet name: Dia
Release date: Aug 8, 2022
Milestone link: https://github.com/penumbra-zone/penumbra/milestone/17
Testnet release manager: @zbuc
Testnet Release Manager Checklist
Monday (week before release):

[x] Create GitHub milestone, work with team to populate the milestone with tickets targeted for the release.
[x] Create new testnet directory with initial genesis allocations for this testnet (make sure all current team members and the Galileo bot have some assets!)
[ ] Update discord-addresses file using the Galileo bot (cargo run --release history --channel <channel>)
[ ] Update testnet/<moon>/allocations.csv file with the above Discord faucet addresses

Thursday:

[ ] Check in with team again in a release meeting and update the GitHub milestone to ensure it represents what will make it into the testnet.

Monday (release day):

[ ] Check for any tendermint updates and update the Dockerfiles, documentation, and relay deployments with the latest desired version
[ ] Update the User Guide to mention the git tag
[ ] Confirm that all tests pass following any final updates to main, and select the commit to tag for the new testnet.
[ ] Create new git tag e.g. 006-orthosie on main (tags created on any other branches will not transfer when merged in) and push to shared remote: git tag -a <tag_name> - must be annotated tag for Vergen build. This will create a Waiting GitHub Action for deployment.
[ ] You must manually review the Waiting deployment in the GitHub Action UI before the deployment will begin. Monitor the GitHub action to ensure it completes after it is approved.
[ ] Update Galileo to run against the correct tag: change the dependencies in the Cargo.toml to reference the new git tag and commit to main.
[ ] ssh<EMAIL_ADDRESS>bounce Galileo via the following steps:

[ ] git checkout latest tag in ~/penumbra
[ ] tmux attach and navigate to the session running galileo
[ ] stop the running galileo process
[ ] git pull origin main in ~/galileo to update the checkout
[ ] cargo run --release --bin pcli -- wallet reset to reset the client state for the new testnet
[ ] start Galileo again: RUST_LOG=galileo=info DISCORD_TOKEN={token} cargo run --release -- serve 100penumbra  --catch-up https://discord.com/channels/824484045370818580/915710851917439060/968238177229897789
[ ] Confirm that Galileo is dispensing tokens, resupply Galileo wallet as needed.

[ ] Make GitHub release object and draft an announcement for peer review to ensure major changes included are comprehensive.
[ ] Make the announcement to Discord! 🎉🎉🎉

Going to do this early (today), so that we're back up and running during Zcon.  We had a slow week last week between the testnet halt and Rustconf, so I pushed most of the planned work out to next week's testnet.


Update urlFor to handle 'nav' contexts

needed for #4852
Before this, calling {{url}} with a nav context from #4541 would
output /. This adds a check in urlFor that looks for keys in a
nav context object, namely slug, current, label, & url.
This change allows for a url to pass through if used in a nav context.

adds schema.isNav()
adds tests to url_spec.js

hey folks, do you think that urlFor should check to see if url passed in has a protocol (http/ftp/etc) and, if so, ignore the value of absolute outright? feels like that should maybe be enforced by the settings widget rather than here (which ¯_(ツ)_/¯ with absolute urls).

IMO the check to see if the url has a protocol is a valid and necessary addition to createUrl - we've not used urlFor and createUrl for anything that wasn't guaranteed to be an internal URL before. Now we know we may be calling it with an external URL, the method will need to be updated to only honour the 'absolute' flag if the url in question is not already absolute, I think?

cool, that sounds reasonable, sorry for the delay though. i just caught the meeting minutes yesterday and haven't had any time to update this pr today.

Hi @ErisDS , i've updated urlFor to handle the external url cases. The rough behavior is that it checks to see if the url might be local to the blog, if so, it passes absolute through as it was specified in the handler (to let createUrl do the right thing). If the url is not local and has a protocol, then it sets absolute to be false and passes the raw url through (which has the effect of not prepending the site url to it)
there's heaps of tests there for various conditions. let me know what you think when you have a spare cycle.

@nsfmc No worries, just drop us a ping when you get a chance to update your PR, cos updates themselves don't cause a notification :)

@ErisDS just wanted to bump this PR. i think it's ready to merge, but would appreciate feedback if you think i've taken the wrong approach.

@nsfmc Sorry for the delay here! Looks good :+1:


No license

My apologies if I missed it, but I can't seem to find the license this code is released under. It'd be great if there was an explicit license file :)

+2 No license is listed. My assumption is this means it's the most strict license possible, can we get a confirmation/fix ?

@ctz @strazzere thanks for inquiring. We've added the MIT license and copyright statement. Appreciate the interest and hope folks can benefit and contribute.

:+1:


To my staging - Implement timeout flag (with error-detection)

Implement timeout flag (with error-detection in code)
  -timeout int
        Timeout in milliseconds (default 2000)

lgtm. Conficts were fixed


How to go about changing the icon after instantiating it?

In a Leaflet Map I have a GeoJSON layer in which I have used pointToLayer to create markers. These are now 'layers' in the GeoJSON layer.
How do I go through and assign these layers new icons? Say I wanted to switch from one font-awesome marker to another.
I have seen stackoverflow answers that show how the following could be used: `
geojsonlayer.eachLayer(function (layer) {
layer.setStyle({icon: iconoptions})});
But this doesnt work in practice and I don't know if this is failing due my using of this plugin or more vanilla Leaflet logic.
Any help greatly appreciated

Hi,
For changing the standard icon (not GeoJSON) i do that :
standard declaration
var options = L.BeautifyIcon.icon({
               ...
           });

var marker = L.marker(coordinateMarker, {icon: options});

and when you want to change :
var icon = marker.options.icon;

icon.options.backgroundColor =  'red';
icon.options.borderColor = 'red';
icon.options.textColor = 'black';

marker.setIcon(icon);

@serako answer makes sense. So I am closing it.


Add binding for innerText

This adds the ability to bind a value to the innerText property of a node. The default bind uses textContent which can crash the browser in IE when there are too many bindings on a page.
@Shopify/tnt

Closes #60 ?

Ah yes, this addresses #60. I figured doing explicitly like this was safer than trying to modify the behaviour of bind everywhere.

I added that test back. Any other comments @qq99?

Code LGTM, I believe
I don't have any opinions on whether it's the correct/right thing to do, but I don't see a lot of harm in exposing this at all :)
I don't remember what we do for release; do we bump version & make the .min.js version inside the PR? Or did we historically do that after PR is merged?

How would you use this? It's not really OK to use innerText for other browsers.

Hm, that's a good point @pushrax. I did test it in all browsers and it did work as expected, but checking caniuse shows that it only works in the latest version of Firefox.
Do you think having a fallback for IE is a better solution? I worry that then the differences between how text is handled with innerText vs textContent will cause unexpected weirdness in IE.

An alternative approach could be to create a new bind-safe-html attribute that uses innerHTML under the hood but also escapes the content for you.

Interestingly jQuery doesn't have any workaround for this.
I'm still not sure how you'd use bind-safe-html, is there some single field this is crashing for? If so, can we use some other workaround to avoid the crash?
I definitely want to avoid innerHTML in the majority of cases, since it's significantly more expensive.

Yeah, I am able to recreate using jQuery as well. If you open this codepen and press the button in IE 11, it will crash too.
Right now we have a single page that is crashing in IE. I was hoping to update that binding specifically to use this instead of bind.

We ended up working around this by using bind-unsafe-html where needed with a manual escape. I am going to close this as I don't think it is the right solution anyway.


Update aurelia-http-client.d.ts

change the return type from undefined to void in XHR interface for abort() and send(content?: any)

Our d.ts files are generated from our source. We had a bug in the d.ts generator that caused this issues. The bug has since been fixed and the d.ts will be updated in the forthcoming release, later this week.


[bug] dsfrFlowPopupDsp - Message notifications are not sent

Describe the bug
When sending Lightning Messages from a screen flow page, the message is properly received by target components (e.g. for list refresh) when the Flow is embedded in the page but not when the Flow is executed in the dsfrFlowPopupDsp modal popup.
To Reproduce
You may use the sfpegTriggerEventFlw component to trigger the message (see PEG_LIST repository) and subscribe to refresh notifications in a dsfrCardTileListCmp.
Expected behavior
Behaviour should be the same in the 2 cases.
Refreshing a list in a page following an operation executed in a Flow is indeed a critical use case.
Screenshots
N/A
Additional context
N/A

Implemented a small hack which seems to work: by simply wiring the MessageContext from the 'lightning/messageService' within the popup, the messages sent from the embedded Flows seem to be broadcast to the main page.


Save the Email id of user who is creating the plan (logged in user) when new plan is getting saved

Moving to #34


fix: don't log context canceled as an error

These errors are often distracting red herrings that hinder debugging customer issues. They should only be logged to stdout as informative, not warnings or errors.

/lgtm


Cycle-rate/frequency in executionManager

Run cycle() in a given frequency. Remove scheduler

Added class Clock to the core framework. Still missing is a warning that informs the user of slow cycles and a clock testing module.


Make the aliyun.oss component support EcsRamRole; 让阿里云 OSS 组件不用配密钥

What would you like to be added:
Make the aliyun.oss component support EcsRamRole
Why is this needed:
Currently we have to write the secrets in the config.json to use the aliyun.oss component, see https://github.com/mosn/layotto/blob/main/configs/config_oss.json

But in the real world, users might use EcsRamRole  to do authentication instead, which doesn't need the secrets. See https://partners-intl.aliyun.com/help/en/object-storage-service/latest/java-initialization

So, we need to support it.

related issue: https://github.com/aliyun/aliyun-oss-go-sdk/pull/344


Update description of CDI spec directories

This change improves the description of the CDI spec directories. The support for YAML files is called out and the exact file extensions are mentioned.

/lgtm


Text Underline in Column Maker.

I want underline the text in the column maker, but seem like underline feature is overlook.

Unfortunately tou can't do any text format in column.


Option to change default behaviour in the tab view, automatic collapse

When viewing grouped tab list in Vertical Tabs they by default show all expanded to get a better view of individual tabs that are open. This list can become very long and becomes unmanageable fast.
Having the option to change the default behaviour over all, or even better per tab group. If the group should be by default, expanded or collapsed.

Background
I am using a CSS snippet that helps managing multiple files being open in the same window/group, really helpful. Allows for multiple tab rows, see here for details, https://gist.github.com/digitalsignalperson/56fe3cbcf41707cb97362234cb07ccb0
Being able to see the full name of all the tabs that are open is not a requirement for me but what I do instead with Vertical Tabs is to have tab groups for specific types of content. For example I have a Tab Group specifically for periodic notes, like daily notes and then I often end up with a tab group per project. The option of hiding specific tab group is a gamechanger for working with Obsidian and switching between projects.

I added a button to collapse or expand all groups except the sidebars. Per-group auto collapsing is not included right now, since it might complicate the UX. Feel free to comment if this does not match your needs! Thank you.


base_module_test.js compilation error (2016-06-01)

Got the latest version today.
Received 2 errors when js are compiled with the closure compiler:

line 54: References to the global name of a module are not allowed. Perhaps you meant exports?
line 119: The body of a goog.module cannot reference this.

This seems to be WAI.  The reference to this was added the same time as the use of this was banned, so this appears to be a test that this banned behavior is doing what it should.  My instinct is that the test should probably not be compiled.
Please see https://github.com/google/closure-library/blob/master/scripts/ci/compile_closure.sh for an example of how to compile closure and omit test files.
Does it work if you use if (!COMPILED) to gate the offending code?  If so, you're welcome to send a PR.