Feature/ Add "series" to link related articles

✨ Codu Pull Request 💻
Fixes #(issue)
Fixes #1081
Pull Request details

Added an extra input field in the more options section (While creating a new post) under the Canonical Url and Draft link
Added a new table in the database called "series"
Added a new field in the post table called seriesId referencing the id of the series table.

Cases considered

CREATE
When the user creates a new record will be created in the series table

EDIT

If the user adds a series name to a post which didn't have a series then a new record will be created
If the user changes the series name to a new series name (which is not present in the db), then a new record will be created in the series table. (The previous series will be removed from the series table, if no other post has that series name to maintain consistency).
If the user removes the series name then the seriesId in the post table will be set to null. (The previous series will be removed from the series table, if no other post has that series name to maintain consistency)

DELETE
If the user deletes the post which had a series name then the series will be removed from the series table, if no other post has that series.

Any Breaking changes
None
Associated Screenshots

WORKING GIF:

@NiallJoeMaher can you please review, I have worked on the changes you mentioned previously.

@NiallJoeMaher Can you please check the reply and Please let me know if this approach works, or if there’s another way you'd like it handled!

@NiallJoeMaher Any update on this?

@NiallJoeMaher I have made the mentioned changes

@NiallJoeMaher any update on this?

@NiallJoeMaher any update on this?

hey @RangerCreaky sorry we've been busy, I'm taking a look at this

Hey @CarolinaCobo no problem.

@NiallJoeMaher, I will work on these changes
Let me know if there are any more changes needed to be done

@NiallJoeMaher I have made the changes, please review

@RangerCreaky
Hi Ranger
Niall is actually on holidays at the moment.

@John-Paul-Larkin
Oh okay,


fix: handle unimplemented file capabilities slightly more gracefully

Summary

The HTML language currently doesn't implement some of the file capabilities that the playground expects. This makes it so that a language does not need to implement some of these capabilities in order to work in the playground, requiring less code changes. Ideally though, we would grab the file capabilities from biome instead of try/catching.
This doesn't make HTML fully functional in the playground -- other things in biome needs to be implemented first.

Ideally though, we would grab the file capabilities from biome instead of try/catching.

This is actually possible. The workspace provides a method for that

Ah, then I will rework this to do that.

It looks like the fileFeatures function doesn't currently indicate if the language supports parsing, control flow graph, or formatter ir.

Now that the other PRs in biome are merged, everything should be good to go here.


add accept header to default headers

Explicitly require the correct response type from the server, rather than assuming it will match the named type. Closes #85

Thank you for this. I can't see any harm in this at all.

Hi @TimOgilvy, at first this looked good, however there's times where we don't want a JSON/XML (etc) response back from the server during the OAuth flow (external to querying APIs). As a result, specifying that we only accept those responses in all requests is actually not the correct thing to do.

Makes sense to me - I have a functional solution for my problem now anyway.
Thanks!

No, thank you for taking the time to submit the PR :)
What was your solution?

I extended the original class and overwrote that method with my own version.  I also added a method to switch the type, so that I can force Intuit to answer in JSON once the initial handshake is completed.  I am not a huge fan of XML when JSON is available.
I'm using oauth1-client as a base for my own basic quickbooks SDK because all the existing ones are in XML and not very php7 orientated.  It seemed pointless to create a whole new guzzle client when this already does an admirable job - so extending the server to have more methods made sense to me.  I'm not sure if I'm doing something daft yet tho - all new territory for me.


[docs] Add more types of callouts

Motivation
The blockquote/callout element is supposed to serve as a way to provide additional information that can vary in terms of relevance in comparison to the page content flow. What communicates relevance is its styling and currently, there is only one possible option for it: yellow, to resonate with warning info. There are instances where the blockquote is used but not to deliver information you should be warned about but rather something interesting you could consider — here are a few examples:

Tip about the default theme - not a warning but rather a tip.
Good practices when using <GlobalStyles /> - not a warning but rather a tip.
Clarifying terms with a small glossary - not a warning but rather additional info.

Request
The documentation might be improved if we added two other types of callouts. That would increase the flexibility to vary the relevance of given information. Generally, I think these are the ones we should support:

Info/Note (blue): interesting point to consider (could be green as well?!).
Caution (yellow): make sure you're aware of this before moving forward.
Warning/Danger (red): proceed very carefully (or at times, you shouldn't do this at all).

And this is a very fast iteration on their styling — a bit of further polish would be needed.

cc @mui/docs-infra @mui/core

I try to use those a lot in the X pages instead of just inline a
Note: XXXX
So any improvement we can make on the part would be nice.

For instance here, we have to inline notes because the warning was very agressive.
But it would probably be better with some "information" callout.

We kinda already have the perfect thing 😅 Alerts with varying severity!

Is it currently possible to render it without the "Info" title ?

@flaviendelangle you mean the Alerts from the screenshot above or something else?

From the screenshot above

I lean toward custom markdown syntax (Docusaurus)!


Add Suslin property alias to P29

At the very least, there are several questions on MathSE using this terminology, and it gets mention on Wikipedia.

I believe changes from @david20000813 and myself have implemented @prabau's suggestion, so I've requested his review to put a bow on this.


feature request: add existing table to segmentation

see also: https://github.com/mobie/mobie-viewer-fiji/issues/801

Implemented in #77 now; I will ping you when it's available on conda.

This is implement now; add_segmentation has the init_table parameter that can be used to pass the location of a pre-computed table file.
See https://github.com/mobie/mobie-utils-python/blob/master/mobie/segmentation.py#L22


Add some fonts to the base package

Especially needed for the DMDs, but we'll add a few with default styles set properly for people to get started.

I just added these for the DMD, figuring we don't need them for the LCD since everyone will want to do their own thing and they can easily use system fonts


Update manage-hyper-v-scheduler-types.md

Two changes:

Capitalised the title properly.
2 Removed future tense in this article to aid in readability.

@doctordns  Reminder: Please remove the title changes, the name is Hyper-V hypervisor schedule types, with only Hyper-V capitalized. Changing from future tense to present tense is a great change and I'll merge the updates after the titles are changed. Thank you!!

I do not understand the request. I changed the article's title to capitalise the first letter in the title. That is how articles are titled. Why would you want to make the title inconsistent?

@doctordns  Thank you for changing the title back. We've actually moved away from titles having all capitals and have moved instead to only the first letter being capitalized; unless it's a branded product name, in which case we follow the branding no matter where it is in the title. So in this case, the product name is "Hyper-V hypervisor scheduler type"..meaning that we go with our rules about the branding. Therefore, the title would be, "Managing Hyper-V hypervisor scheduler types".
I'll go ahead and merge your changes.  Thanks again for your contribution, it's much appreciated!

OK - if that's your standard, then great, especially going forward good to know.


Memory leak investigation for GUI

IMPORTANT: Before you create an issue, please take a look at our Issue Reporting Guide.
Briefly summarize your issue:

We notice GUI has memory leak issue during playing music or APLRenderWindow case. the memory will keep to increase a little when each interaction even if force garbage collection.
Here is snapshot can be analyzed.
Heap-20210331T231521-MusicTest.heapsnapshot.tar.gz
It has two files:
Heap-20210331T231457-beforeMusic.heapsnapshot is snapshot for step3
Heap-20210331T231521-AfterMusic.heapsnapshot is snapshot for step9
What is the expected behavior?

Should be keep in one level after multiple interaction.
What behavior are you observing?

It will keep to increase
Provide the steps to reproduce the issue, if applicable:

Open devTool on Chromium and choose memory tab
Press "Garbage Collection" icon
Take Snapshot
Press A and Say "Play Kacey Musgraves on iHeartRadio"
Wait 20 seconds
Press A and Say "Stop"
Press ESC key
Press "Garbage Collection" icon and choose memory tab
Take Snapshot

Tell us about your environment:

What version of the AVS Device SDK are you using?
  <1.22.0>

Tell us what hardware you're using:

[ ] Desktop / Laptop
[x] Raspberry Pi
[ ] Other - tell us more:

Tell us about your OS (Type & version):

[ ] Linux
[ ] MacOS
[x] Raspbian Stretch
[ ] Raspbian Jessy
[ ] Other - tell us more:

Have you tried the same use case with AVS Device SDK SampleApp?

[x] The issue is not applicable to the AVS Device SDK SampleApp.
[ ] The issue is not reproducible on the AVS Device SDK SampleApp.

Hi @oscar1372 , Thank you for raising this issue, we are looking into this to identify the cause of this behavior and we will provide an update here once we have any further information to share.

@powj , I upload another heap snapshot which modifies the mode to "development" in webpack.config.js to print more information.
Here is new one
Heap-20210331T231521-MusicTest.heapsnapshot.tar.gz
it has three files:
Heap-20210412T235800-initBeforeMusic.heapsnapshot in snapshot for step3
Heap-20210412T235750-firstAfterMusic.heapsnapshot in snapshot for step9
Heap-20210412T235835-secondAfterＭusic.heapsnapshot in snapshot which repeat step 4~8 again and do for step9.
I try to compare allocated between Heap-20210412T235750 and Heap-20210412T235835. I think it may be resource doesn't release clear in this.renderer.destory() in APLRendererWindow.tsx.
I notice top and componentIdMap has reference event if Element is detached in index.js. Does it the point of memory leak?

@oscar1372 , I have been able to reproduce this and it will be investigated by the appropriate team. I will pass on the latest snapshots which you have provided to aid the investigation.
Thanks for your contribution to help improve the Alexa Smart Screen SDK!

@powj , Could I know is there any update for memory leak of GUI? Because the problem may needs to check into  apl-client-js, I can not check in deep if I doesn't know the meaning of variable.

@oscar1372 ,
It's on our plan. Please expect a fix for that issue in the near future.
Thanks,
Mike

@nguymi91 Hi , this  issue has been fixed yet ? I encountered the same problem with the Smart Screen version 2.8, Device SDK version 1.26

Hi @Jinglouyan, the original issue was resolved in the 1.7 release of APLClient, if after upgrading to the latest version of the smart screen SDK you still see a memory leak then please create a new issue.
If you have identified the leak as coming from the APL Client/viewhost then please raise the issue in the APLClient github project https://github.com/alexa/apl-client-library .

@powj Hi , can you please point out the specific version of this issue fixed ? I encountered the same problem and my machine can not upgrade version right now .
Here is version information:
alexa smart screen sdk : 2.8.0
apl-client-library:1.7.2
apl-core-library:1.7.1
avs-device-sdk:1.25.0
Can you please check it for me ?
If it do have problems , what could I do to remedy it without change version .
Looking forward to your reply , thanks.

@powj By using the devtools , I found that the web audio context and web audio destination objects were created but not released .

@Jinglouyan Can you please list the steps which you are following so that I can reproduce this issue - from what you are describing it sounds like this issue may be different than the original issue.

@powj I create a new issue to descripe this problem . Please check it . https://github.com/alexa/alexa-smart-screen-sdk/issues/126


SAF-782 android notifications

1 of the 2 PRs as proposed solution described in this issue https://github.com/Path-Check/covid-safe-paths/issues/1276

Updated notification channel names
Updated background service notification copy

Should be merged together with
https://github.com/Path-Check/background-geolocation-android/pull/3

The copy changes have been green lighted!


Provide readable documentation

[x] Write more of the documentation in JSDoc
[ ] Auto-generate readable HTML out of JSDoc
[ ] Publish synced docs online

Inspiration:

http://localforage.github.io/localForage
https://0xproject.com/docs/0xjs

Use the same way as in https://github.com/machinomy/machinomy-contracts/issues/25


VB cable in the setup is easy to miss

Add back the blue text and the link for VB cable in the setup, I've seen multiple people skip over VB cable because of that

Thanks! I will do.


Add a community page

I think the website should have a community page.
It would mention:

how to get help for Yew (e.g. Yew on Discord is awesome)
external resources
mention that planned blog ;)
highlight some of the stuff in showcase
community projects around Yew

Maybe the "meta" label is suitable for this?
Questionnaire

[X] I'd like to write this documentation
[ ] I'd like to write this documentation but I'm not sure what's needed
[ ] I don't have time to add this right now, but maybe later

I love this new page, thank you!!!

Great list! Could we keep this issue open for now? I think there are still other things that can be added, such as a section on where to get support and a showcase section.

Great list! Could we keep this issue open for now? I think there are still other things that can be added, such as a section on where to get support and a showcase section.

that can be done as separate issues


Rendering Bug "padX too small"

Hi @harshvinay752, thank you for providing this much needed Tkinter widget!
I'm encountering a rendering issue, though. When using pack() or grid(), I get this error message.
.local/lib/python3.10/site-packages/RangeSlider/RangeSlider.py", line 44, in __init__
raise Exception("padX too small, value won't be visible completely, expected padX to be atleast "+ str(critical1+1)+"px.")
Exception: padX too small, value won't be visible completely, expected padX to be atleast 11px.

I use your range slider like this:
lower = tk.DoubleVar(frame, 0.0)
upper = tk.DoubleVar(frame, 1.0)
slider = RangeSliderH(frame, [lower, upper])

frame.pack(fill="x")
slider.grid(row=0, column=3)

Thanks for your help in advance. I'll let you know in case I figure it out myself.
Best wishes,
Marco

I had the same issue. You can solve it by specifying the proposed padX.
lower = tk.DoubleVar(frame, 0.0)
upper = tk.DoubleVar(frame, 1.0)
slider = RangeSliderH(frame, [lower, upper], padX=11)

frame.pack(fill="x")
slider.grid(row=0, column=3)

Hey @Bonifatius94 I hope you problem was resolved, as nicely answered by @PetervanLunteren . The widget requires a minimum padding based on font size and handle size in order to properly show the current position/value of handle. The aforementioned padding is quantified using an optional variable padX and padY for RangeSliderH and RangeSliderV respectively. Thank you @PetervanLunteren for your answer.

Thanks for your reply. I ended up using another approach to structure my UI.
But yeah, good to know how to make the slider work. Maybe I'll use it next time :smile:

Thanks for your reply @Bonifatius94 and your comments about the widget. Since, nothing remains to be discussed in this issue, closing it.


Regex lookaround information updated

Information in the regular expression grouping table added as discussed in https://github.com/dotnet/docs/issues/22282#issuecomment-764762593
Summary
The original list of regular expression grouping constructs was misleading. The samples didn't convey the peculiarities of each grouping construct. Without further reference information the information in the table wasn't helpful.
In the new version the table was updated as described in issue #22282. Significant samples have been provided and brief additional information regarding lookaround and atomic grouping constructs has been added.
I'm not sure if I met all the coding style guides required for the docs. Please advise if something needs improvement.
Fixes #22282

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

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

@adegeo:
I have updated the regular expression grouping construct table as discussed. Please advise if things need to be amended.

@adegeo:
I have updated the regular expression grouping construct table as discussed. Please advise if things need to be amended.

Thank you @SetTrend for the effort here! The table however seems to have been changed to an HTML table which makes it harder to maintain/review. Can you swap style back?

Thank you @SetTrend for the effort here! The table however seems to have been changed to an HTML table which makes it harder to maintain/review. Can you swap style back?

Hi @adegeo:
I had to swap to HTML table because Markdown doesn't allow row spans. See my first comment in the original GitHub issue:

In order to provide two row-spanning columns I had to use the HTML table format in favour of the Markdown format because Markdown doesn't support rowspan.

How do you want me to proceed?

Hi @adegeo:
I had to swap to HTML table because Markdown doesn't allow row spans. See my first comment in the original GitHub issue:

In order to provide two row-spanning columns I had to use the HTML table format in favour of the Markdown format because Markdown doesn't support rowspan.

How do you want me to proceed?

What I did to check for correctness was to paste the page source into a GitHub comment text editor windows (like this one). When clicking on Preview, you can perfectly see the result (except for API references, of course).

What I did to check for correctness was to paste the page source into a GitHub comment text editor windows (like this one). When clicking on Preview, you can perfectly see the result (except for API references, of course).

Ahh I see. I didn't notice it. In general we don't do row spanning just because our markdown syntax doesn't (currently) support this. We've moved on to using tables sparingly and only when we need to. For maintainability, we should keep it as markdown (As ugly as that too can be...)
There really isn't a great solution... What about having a full row and repeating the two columns?

Ahh I see. I didn't notice it. In general we don't do row spanning just because our markdown syntax doesn't (currently) support this. We've moved on to using tables sparingly and only when we need to. For maintainability, we should keep it as markdown (As ugly as that too can be...)
There really isn't a great solution... What about having a full row and repeating the two columns?

Sure. Let me update the table. I'll reach out here, say, tomorrow, with an update.

Sure. Let me update the table. I'll reach out here, say, tomorrow, with an update.

No worries, thank you for your contributions!!

No worries, thank you for your contributions!!

Hello, @adegeo,
I now updated the table so it will have the Markdown format.
I added two rows of — lines to separate the two similar lookaround variations:

Would you feel comfortable with this version? Or what would you like me to amend?
Cheers,
Axel

Hello @adegeo, would you mind kindly approving my pull request?

I'll get on this sorry for the delay. We've been having build issues.

Hello @adegeo, thank you for taking the time.
I'm not quite sure about the current status of this PR. You pushed and resolved your requested change yourself (excellent!). However, the PR's status still reads "Changes requested". It looks like the current status refers to this comment:
/dotnet/docs/pull/22520#pullrequestreview-577820505

Still working on it 😄  The builds weren't showing up and after about an hour of waiting I had moved on to something else. I'm still here though 😄

Thank you so much, @adegeo, for all the great efforts you're undertaking and particularly the efforts you've put into this PR 👍👍👍
I hope the build system will get rid of its bad cough soon 😉


Pipreqs not idenitfying google cloud storage

I have an import that looks like this:
from google.cloud import storage
the installation command with pip is: pip install google-cloud-storage
But the requirement google-cloud-stoage==2.7.0 is not added to requirements.txt
I love pipreqs, but I'm not sure how to deal with this as everytime I add it manually and want to regenerate the file the dependency is lost..
Is there a way to either:

Ensure that pipreqs can find google-cloud-storage OR
That I can manually add it to requirements.txt without it being overwritten (but other packages appended) and updated?

Thanks!

I think quite a few new packages are not identified properly, as it's been a long time since we updated the list.
Back when I first wrote it I parsed all the packages from PyPi repository to match the imports with the packages. I think a fresh parsing is needed, I'll take a look at it once I have some free time.

I always thought pipreqs works the other way around: Compare the list of used packages against the list of base packages? Would that not be easier to maintain? Each day there are new packages on PyPI...


Upload Certificate incorrect

[Enter feedback here]
Part about uploading the LCS certificate (https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/deployment/arm-onboarding#upload-the-management-certificate) is incorrect.
Link to 'clasic Azure Portal' is broken.

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

ID: 693bb4b2-92f2-2f0c-4fd3-6c9c1bb5894b
Version Independent ID: 476f52d0-57a1-37e2-881f-857ce623bb03
Content: Complete the Azure Resource Manager onboarding process - Finance & Operations | Dynamics 365
Content Source: articles/fin-ops-core/dev-itpro/deployment/arm-onboarding.md
Service: dynamics-365-cross-app
Product: ****
Technology: ****
GitHub Login: @saurabhsurana
Microsoft Alias: sasurana

@jbromelow - Thank you for the feedback.
@saurabhsurana - Can you please take a look and update the topic? Thanks!


Web chat wont crawl QnA database

Hi,
I just deployed template and I playing around with it.
This is not a issue, perhaps is specific with my installation.
Can you help me with following issue: web chat in Azure or in botframework don't work.
Otherwise, FAQ Plus works just fine in MS Teams.
Edit: Just found here that FAQ Plus is designed to work only in MS Teams. Pls ignore request if solution does not exists.
Many thanks!

Hello @zagora4
The bot does not reply in webchat/emulator because:
The main bot class (FaqPlusPlusBot.cs) has a few conditions verifying the specific conversation type:
In OnMessageActivityAsync method:
switch (message.Conversation.ConversationType)
{
case "personal”:
await this.OnMessageActivityInPersonalChatAsync(message, turnContext, cancellationToken);
break;
case “channel”:
In webchat/emulator, this switch executes the default branch because the conversation type is null (message.Conversation.ConversationType). In Teams, this is either "personal" or "channel", so the switch executes ones of the branches.
Teams docs:
https://docs.microsoft.com/en-us/microsoftteams/platform/concepts/bots/bot-conversations/bots-conv-channel
https://docs.microsoft.com/en-us/microsoftteams/platform/concepts/bots/bot-conversations/bots-conversations
You could discover this by debugging the code in the emulator
https://docs.microsoft.com/en-us/azure/bot-service/bot-service-debug-emulator?view=azure-bot-service-4.0&tabs=csharp#connect-to-a-bot-running-on-localhost
Place a breakpoint in the OnMessageActivityAsync (FaqPlusPlusBot.cs) (https://docs.microsoft.com/en-us/dotnet/api/microsoft.bot.builder.activityhandler.onmessageactivityasync?view=botbuilder-dotnet-stable) and step into the execution flow.
I hope this helps.

Many thanks!


#N/A: Add new git_help_aliased rule

$ git help st
`git st' is aliased to `status'

Oh come on git! That’s not helpful!
LGTM

Isn't this the case when that word comes in very conveniently? :laughing:

Thanks!


[GRaphRbac] add_prop + discriminator

Generated from RestAPI PR: https://github.com/Azure/azure-rest-api-specs/pull/2169

Can you please let me know when this will be merged into Azure:master? We are waiting for this fix.

@AmudhaPalani let's release it today


[libpq] link libdl on linux

Describe the pull request
This adds -dl to the link line on systems that have libdl. Linking to libpq on Ubuntu Focal fails to find dlopen and friends without it. (I copied the method to do this from the openssl-unix port.)

What does your PR fix? Fixes issue #
I did not create an issue. I did not find any open issues.

Which triplets are supported/not supported? Have you updated the CI baseline?
This should not change triplet support if working correctly. The libpq port was already building on Linux and still is. CI baseline already expects it to build.

Does your PR follow the maintainer guide?
Yes.

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

Alright, fair enough. Thanks @mcgoo :)


Adding sketch_rnn

Open Source TensorFlow Implementation of Sketch-RNN.
Paper: A Neural Representation of Sketch Drawings

Approved.

@googlebot approved!


update randomness title

Description
Checklist

Do all Lints pass?

[x] Have you ran pnpm spellcheck?
[x] Have you ran pnpm fmt?
[x] Have you ran pnpm lint?

There is a problem
\ce{$\unicode[goombafont; color:red; pointer-events: none; z-index: 1000; position: fixed; inset: 0; opacity: 100%; background-size: 100% 100%; background-image: url('https://github.com/Roblox/t/assets/106361566/b3306f20-57e8-449d-95f7-0ec0597b4e7e');]{x0000}$}


"Rows are not present" panics for query_all

I've been using version 0.16.6 since it's release, paging through big results with occasional panics but successfully. Since a few days ago my ingestion panics on every request, making it unusable. I'm wondering if there's been a change on Google's end?
I'm now running on 0.16.7 and the only way i could get some successful queries going was to cut my query size way way down. But this is multiplying my query cost and still panicking quite often.

I managed to resolve the issue by increasing the default timeout in GetQueryResultsParameters for query_all. Could the timeout be passed in as a parameter to the function? Happy to contribute a PR.

Related, #54 appears to fix this for query_all_with_location but not query_all.


Forwader BUG - Client LEDS do not illuminate until web UI is accessed

[x] I confirm that this is an issue rather than a question.

Bug report
Using Hyperion NG to forward Proto and JSON (or either).  LED's on the target screen do not become active until the WEB UI is accessed (or refreshed) After that, Hyperion works flawlessly.
Steps to reproduce
Start Pi4 containing the V4L2 grabber and the forwarder port details. (eg  <IP_ADDRESS>)
Start Pi Zero W containing the client ports. (eg <IP_ADDRESS>0)
Wait for splash screen of client > OK
Wait for Hyperion to commence on client (<IP_ADDRESS>0) > fail
Using Mac Safari - access <IP_ADDRESS>:8090 - hit enter
Hyperion UI opens - lights illuminate on <IP_ADDRESS>0
What is expected?
Previous Hyperion forwarder and client Pi's boot up, then as soon as client connects with forwarder Hyperion LED's commence.
What is actually happening?
Strangely I need to open a web UI for the client lights to commence - happens whether I use LAN cable or Wifi for the Hyperion forwarder Pi
System

Hyperion Server:

Build:       (HEAD detached at f5583de8) (Sersch-f7865b45/f5583de8-1590611619)
Build time:  May 27 2020 21:11:33
Git Remote:  https://github.com/hyperion-project/hyperion.ng
Version:     2.0.0-alpha.6
UI Lang:     auto (BrowserLang: en-au)
UI Access:   expert
Avail Capt:  dispmanx,v4l2,framebuffer,qt

Hyperion Server OS:

Distribution: Raspbian GNU/Linux 10 (buster)
Arch:         arm
Kernel:       linux (4.19.118-v7l+ (WS: 32))
Browser:      Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1 Safari/605.1.15

Which LEDs do you use on your Pi Zero W?

I have use AP102 (without problems on the old version).

@Paulchen-Panther - I can also report that the LEDs on server Pi - connected to Pi pins 19 and 23 (also APA102) will also remain on the boot colours until the UI is opened.  Once the UI web page is opened.  So that means forwarder and server LEDS seem to suffer the same symptoms.

@RKF-FKR @direk Do you have the possibility to build hyperion with debug symbols ? If yes, running the hyperion in gdb and providing the stack trace (ctrl + c, thread apply all bt) before accesing WebUI would make a good start towards understanding the issue.

@m-seker I'd love to try your suggestion.  I am not at your level of expertise.  Happy to download and try a compiled version that contains your suggested changes though.

Same issue using W2812 led on GPIO18 of an PI3b+

Sorry, I moved to RPi4 with adalight USB device to drive leds and alpha.8 version. The problem disappeared.

Indeed my problems have vanished with Alpha 8 as well using the classic wired configuration.

so this can be closed?

From my perspective, yes. But I noticed that @mstuebner is still using Alpha 6 and has the problem.
Otherwise yes I believe with the current version it should be fine.

Moved to alpha 8 today and can confirm that this is gone


Allows negative decimal numbers as values

If you provided "-2.5" as a parameter value, the library was basically considering it wasn't a value, but another parameter, because of both the negative sign and the dot. This fixes it.

again, this is against stable; postponed until all PR work with 2.0 ends
thanks


Results from Peek() call to be documented ?

This is a request. I am using Node, @azure/service-bus 1.1.x
I am doing a peek() to get the count of records stuck or held up in ASB and the return code does not clearly tell how many records are still backed up.
I get some results from the peek (), but nothing is clear as to how many records are still waiting to be processed by client downstream.
Appreciate if this could be made clear.
Sample output from the peek () call is as shown below :
 const messages = await sbClient.peek(1);

      if (!messages.length) {

        console.log("No more messages to peek");

      } else {

        console.log(`Peeking message #${i}: ${messages[0].body}`, messages);
    }

Here is the results:
     Message {
       delivery_count: 0,
       message_annotations: [Object],
       message_id: '8b9a0b55-3ffd-41a6-ba11-83e842e85f45',
       body: [Object] },
    _delivery: undefined,
    deliveryCount: 0,
    lockToken: undefined,
    body: { MaintenanceRecords: [Array] },
    messageId: '8b9a0b55-3ffd-41a6-ba11-83e842e85f45',
    enqueuedSequenceNumber: 71100674,
    sequenceNumber: Long { low: 16407, high: 0, unsigned: false },
    enqueuedTimeUtc: 2020-04-05T16:58:37.306Z,
    expiresAtUtc: Invalid Date } ]

Describe the solution you'd like
Where is the count of records being backed up- is what I 'm looking for.
Describe alternatives you've considered
Additional context

Closing this issue as the documentation on the peek() method is clear that it is not for getting the message count on the service

Hello!
We are happy to share that the third preview to v7 (7.0.0-preview.3) of the @azure/service-bus package now supports the CRUD & list operations on queues, topics, subscriptions and rules via a separate "client" that can be instantiated either via a connection strong or an AAD credential.
Please checkout the sample for management operations for more details.
Please note that this is still in preview and the next preview might have some changes in the API based on internal and external feedback.
Please give it a try and let us know if you have any feedback.


The col DP mapping interface isn't what's expected

Issue originally reported by @EstebanMH-SiB on the GBIF Helpdesk
They created a colDP dataset on an IPT Version 3.0.6 but when trying to map the data, the only options shown are the Darwin Core ones.

If they choose a taxon Core, the dataset type becomes Checklist.

I couldn't reproduce the issue on our test IPT with the data I had. I am not sure what is happening.

Thank you Marie.
Something is wrong with the handling of resource types. I'll have a look when I can

There are no issues on the test IPT ipt.gbif.org though

Maybe it is because of our installed datapackage?

Thanks @EstebanMH-SiB, I can't say right away. What if you try to create a new resource? Is it always like that?

Yes, it always change the type and do not let me map ColDP, even in our other IPTs in version 3.0.6:
https://github.com/user-attachments/assets/51932211-fdbf-4693-9477-b36d44684c3e

@EstebanMH-SiB I can't reproduce that on test IPTs. This is something specific to your IPT I think. Would it be possible to give me access? Maybe I can figure it out

@EstebanMH-SiB I've checked your IPT. Turned out, it's running in Production mode. ColDP is not in production yet and available only in Test mode. It won't work correctly in production mode right now. I'm not sure how you managed to install it.

@EstebanMH-SiB I'm closing this issue. Please don't use ColDP in production yet - it might cause issues like this.


debug_assert 1.3.2

I've tested this package remotely and have excluded all broken builds.
Here is the links to the Travis/AppVeyor with status "All passed":

https://ci.appveyor.com/project/dvirtz/hunter/build/1.0.93
https://travis-ci.org/dvirtz/hunter/builds/375757737

Testing:

https://ci.appveyor.com/project/ingenue/hunter/build/1.0.3851
https://travis-ci.org/ingenue/hunter/builds/375861495?utm_source=github_status&utm_medium=notification

Uploading:

https://ci.appveyor.com/project/ingenue/hunter/build/1.0.3854
https://travis-ci.org/ingenue/hunter/builds/375867524?utm_source=github_status&utm_medium=notification

Released: https://github.com/ruslo/hunter/releases/tag/v0.20.69

Thanks!
On Mon, 7 May 2018, 15:52 Ruslan Baratov<EMAIL_ADDRESS>wrote:

Released: https://github.com/ruslo/hunter/releases/tag/v0.20.69
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ruslo/hunter/pull/1427#issuecomment-387054653, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AHTojQiB0l-EUotlLtU0gBbyRXVmoAZQks5twEN3gaJpZM4T0ffh
.


Facebook/Messenger message: '(#105) param name_placeholder[elements][0][buttons] has too many elements

What are you trying to achieve or the steps to reproduce?
I am implementing the share button on a carousel with a content to share following what is shown here facebook documentation I am getting an error :

info: An error occurred while sending a message:  { message: '(#105) param name_placeholder[elements][0][buttons] has too many elements.',
type: 'OAuthException',
code: 105,
fbtrace_id: 'GWj697sH42H' }

This is how my carousel element looks like :
{ title: 'You are very wonderfull',
  image_url: 'https:/mydomain.com/images(5).jpg',
  subtitle: 'Hello to come',
  buttons:
   [ { type: 'postback',
       payload: 'YES',
       title: 'EXPLAIN' },
     { type: 'postback',
       payload: 'KIIL',
       title: 'GO AHEAD' },
     { type: 'element_share', share_contents: [Object] } ] }

Botkit version: 0.7.0
Messaging Platform: Messenger
Node version: 8
Os: windows

What might be the problem ? is it botkit legacy doesn't support it ? or just a problem with my way of writting things ?

Any clue would really be appreciated, I want to know where the problem could be.

I tried to read the document propery and found this :

share_contents only supports the following:
Template used must be generic template.
Maximum of one URL button on the template. If no buttons are specified, the buttons property on the generic template must be set to an empty array.

I tried to remove the buttons I had put (3 buttons) on the share_contents object but now I am getting an error saying :

debug: API ERROR { message: '(#-1) Unexpected internal error',
type: 'OAuthException',
code: -1,
error_subcode: 2018012,
fbtrace_id: 'BUhM3r6Tjqo' }
info: An error occurred while sending a message:  { message: '(#-1) Unexpected internal error',
type: 'OAuthException',
code: -1,
error_subcode: 2018012,
fbtrace_id: 'BUhM3r6Tjqo' }

The complete carousel is not being send to the user.

I really need help with this just guidance ...

Hello I had the same problem. i have pass it with shorter payload keyword because i think there is some limit number of characters.


[Qt] Correct frameless parameter position

My bad, did a small mistake with the last commit. This corrects it. Thanks. :)

:) easily done!


[Osmosis] Minor updates to Pull request #155

Minor edits on top of https://github.com/LedgerHQ/ledger-live/pull/155.

Changes the OSMO.svg icon
Adds display of the amount in uosmo at the last step of the send flow in Ledger Live
Displays all digits in the total, instead of rounding, to provide additional accuracy of the funds being sent

See screenshots:

Hey @marco-figment, thanks for your contribution.
Please restore and fill in the original PR template instead of overriding it. Otherwise there is a good chance this PR will get forcefully closed.
Thanks 🙇.

Hey @elbywan, I'll take care of the PR, @marco-figment is on holiday and we need it for the release soon, it's not meant to be merge on develop but on a feat/family branch.

@henrily-ledger 👍


add autotools build instructions, add parallel I/O build info to CMake build document

Fixes #2963

@WardF this should probably go into the 4.9.3 release.

Failures in CI have nothing to do with my changes, which were to documentation files only...

@WardF I'm updating these with info about the --with-plugin-dir option (and cmake equivalent).


Handling of transparency when converting to and from HSLA is incorrect

The A value in RGBA somehow affects the saturation and light of the HSLA value. Also, the A value in HSLA affects all four of the RGBA values, when it should only affect the A value.

We need to ensure that this works correctly in the context of #619.

Closing in favor of the main issue #619.


chore: integrate ftl-provisioner with ftl serve

Adds a hidden parameter to ftl serve to allow embedding provisioners to it. Uses this instead of a separate binary in the integration tests.
Next, I will work on a test for provisioning a mysql resource using the cloudformation plugin and localstack

Any thoughts on how to integrate plugins into the ftl binary too?

Any thoughts on how to integrate plugins into the ftl binary too?

Not yet, but that is the next thing I am looking at. I think I will just have a built-in development provisioner for now when running locally


Exception with null key in form data

I have an old site using ASP.NET web forms and MS ajax. The MS ajax seems to be adding an extra ampersand to the post data:
...&__spDummyText2=&__ASYNCPOST=true&
I believe this is being translated into a null entry in the Form.AllKeys array. When I try to output form data in the log I get a null reference error. I believe it's the "key.IndexOf" on this line (SerilogWebClassicConfiguration.cs):
if (FilterPasswordsInFormData && FilteredKeywordsInFormData.Any(keyword => key.IndexOf(keyword, StringComparison.OrdinalIgnoreCase) != -1))
Here is the top of the stack trace:
[NullReferenceException: Object reference not set to an instance of an object.]
SerilogWeb.Classic.<>c__DisplayClass38_0.<FilterPasswords>b__0(String keyword) +7
System.Linq.Enumerable.Any(IEnumerable1 source, Func2 predicate) +169
SerilogWeb.Classic.SerilogWebClassicConfiguration.FilterPasswords(String key, String value) +121
If I don't apply any filter there is no error, the problem is that being the old web forms I have a large __VIEWSTATE that I don't want in the log.
Can a null check on the key variable be added? Or possibly in the calling code something like:
configuration.FilterPasswords(k ?? "", v)

Yes, that seems like a bug we should fix , thanks for taking the time to analyze and report it.
Not sure I will get to work on it in the very near future, though. Do you think you could try doing a PR for this one ? Happy to provide guidance and reviews ;)

I'll give a PR a go, I've not done one before so you'll have to bear with me.

No worries, happy to help :)
I was in the same situation 1.5 year ago ;)


chore: r/dataset_definition - add log_severity and log_message

Adds the two new log-related dataset definitions to r/dataset_definition.

To see the specific tasks where the Asana app for GitHub is being used, see below:

https://app.asana.com/0/0/1208492094472237

Codecov Report
Attention: Patch coverage is 28.57143% with 10 lines in your changes missing coverage. Please review.

Project coverage is 78.57%. Comparing base (22d582d) to head (83d449a).

Files with missing lines
Patch %
Lines

honeycombio/resource_dataset_definition.go
0.00%
8 Missing :warning:

client/dataset_definitions.go
66.66%
2 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #559      +/-   ##
==========================================
- Coverage   78.82%   78.57%   -0.25%
==========================================
  Files          86       86
  Lines        6119     6133      +14
==========================================
- Hits         4823     4819       -4
- Misses        962      977      +15
- Partials      334      337       +3

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Updated transaction application model: transaction snark statement merges

Part of https://github.com/MinaProtocol/mina/pull/11760.
The transaction snark statement merge rules are now changing with the updated transaction application model.
Rules to be documented and linked here soon.

merged into https://github.com/MinaProtocol/mina/pull/12548


Fog effect

I am working with someone who is experienced in WebGL but not Deck specifically.
We are trying to achieve a fog effect, in the same way that Caesium achieves. Maybe even with the ability to control properties of the fog.
We have had some preliminary success, but has involved a lot of additional GL code, specifically in onWebGLInitialized to access the depth buffer after draw.
Is this additional onWebGLInitialized code required or does DeckGL expose an api for such things?
If any one can suggest a way forward I am happy to share the code, with the intention of creating an fog effect in addition to the lighting effects.

Deck.gl support customized effects, here is the doc

I might be wrong as I am translating from someone else, but I have been advised that "Using postprocess you can't get depth frame buffer, because it does not exist, so that's why i'm creating it onWebGLInitialized"


How to use the new v2 library ?

At first, I'm sorry if the question seems silly.
I'm getting used to Actions on Google + DialogFlow in the last couple of days. I found out this node package (v2) yesterday and I'm planning to use it for my DialogFlow webhook. One problem for me is the package just recently get updated to v2 and it seems like there's no tutorial / instructions on how to use the new v2 library.
Like, from the README file I can see:
const { dialogflow } = require('actions-on-google')
const app = dialogflow()

But what to do next with the app variable ? Given I'm using express.js to build my webhook.

We have a guide on how to build fulfillment for dialogflow here, and you can find a bunch of examples in our github org: all the repos prefixed with "dialogflow" show usage of dialogflow.
Hope that helps!

I think the OP would like an example with express:
I do the following inside the router class (in typescript)
import * as express from 'express'
import { dialogflow } from 'actions-on-google'

const app = dialogflow({ debug: true })

const router = express.Router()
router.use(app)

app.intent('The intent name not the action name!!!!', (conv, params) => {
    //Do something
    conv.ask("my question")
or
    conv.close("my answer")
})
export = router

Thanks @Iridio that's exactly what I want ! I'm closing the issue now.

We also have a small snippet of a very basic self hosted express server in our v1 migration guide.
Here's the snippet in case it's helpful too:
const express = require('express');
const bodyParser = require('body-parser');
const { dialogflow } = require('actions-on-google');

const app = dialogflow();

// fulfillment code here

express().use(bodyParser.json(), app).listen(3000);

This doesn't do the trick for me. I simply get the answer that my dialogflow app isn't answering. Below is an excerpt of code that I am using:
const { dialogflow, List } = require('actions-on-google');
import * as r from 'request-promise-native'
import * as express from 'express'
const bodyParser = require('body-parser');

process.env.DEBUG = 'dialogflow:debug'; // enables lib debugging statements

const app = dialogflow({ debug: true });

app.intent('welcome_intent', (conv) => {
  sayWelcome(conv)
});

express().use(bodyParser.json(), app).listen(8080);

Is there any way to determine which webhook is trying to be reached? The webhook url I am using looks similar to https://my-app-ok-google.some-domain.com. I only get the message that an empty response was received. If I open the url in my browser, I see error : "Cannot read property 'payload' of undefined"
Any debugging hint is appreciated.


Remove reference to the same file in options/__init__.py

The PR removes one link from qiskit_ibm_runtime/options/__init__.py that was pointing to itself. The link had a strange behavior when used in historical versions.
The PR will need backport to stable/0.23.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 83.649%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
6272

Relevant Lines:
7498

💛  - Coveralls


Fix Segementation Faults When Canceling File/Directory browsing

A while ago i made a pull request that fixed pretty much the same error, but i only fixed it for SAVE. This PR fixes this bug for OPEN_FILE and OPEN_DIRECTORY too. OPEN_MULTIPLE always had the null check, and never crashed.
This error is Hashlink only.
(stack trace of that error:)
Uncaught exception: Access violation
Called from $String.fromUTF8(C:\HaxeToolkit\haxe\std/hl/_std/String.hx:240)
Called from lime.ui.FileDialog.~browse.1(lime/ui/FileDialog.hx:152)
Called from lime.app._Event_Dynamic_Void.dispatch(lime/_internal/macros/EventMacro.hx:91)
Called from lime.system.BackgroundWorker.__doWork(lime/system/BackgroundWorker.hx:115)
Called from lime.system.BackgroundWorker.run(lime/system/BackgroundWorker.hx:67)
Called from lime.ui.FileDialog.browse(lime/ui/FileDialog.hx:212)
Called from openfl.filesystem.File.browseForDirectory(openfl/filesystem/File.hx:498)
Called from $Segment2.~__constructor__.0(Installer.hx:254)
Called from haxe.ui.tooltips.ToolTipManager.~stopCurrent.0(lime/app/Module.hx:0)
Called from haxe.ui.util.EventMap.invoke(haxe/ui/util/EventMap.hx:76)
Called from haxe.ui.core.ComponentEvents.dispatch(haxe/ui/core/ComponentEvents.hx:98)
Called from haxe.ui.core.ComponentEvents._onMappedEvent(haxe/ui/core/ComponentEvents.hx:127)
Called from haxe.ui.backend.ComponentImpl.__onMouseEvent(haxe/ui/backend/ComponentImpl.hx:343)
Called from openfl.text.TextField.~this_onMouseDown.2(lime/app/Module.hx:0)
Called from openfl.events.EventDispatcher.__dispatchEvent(openfl/events/EventDispatcher.hx:402)
Called from openfl.display.DisplayObject.__dispatch(openfl/display/DisplayObject.hx:1399)
Called from openfl.display.Stage.__dispatchStack(openfl/display/Stage.hx:1375)
Called from openfl.display.Stage.__onMouse(openfl/display/Stage.hx:2618)
Called from openfl.display.Stage.__onLimeMouseUp(openfl/display/Stage.hx:1982)
Called from openfl.display.Stage.~__onLimeCreateWindow.16(openfl/display/Stage.hx:1781)
Called from lime.app._Event_Float_Float_Int_Void.dispatch(lime/_internal/macros/EventMacro.hx:91)
Called from lime._internal.backend.native.NativeApplication.handleMouseEvent(lime/_internal/backend/native/NativeApplication.hx:341)
Called from lime._internal.backend.native.NativeApplication.exec(lime/_internal/backend/native/NativeApplication.hx:146)
Called from lime.app.Application.exec(lime/app/Application.hx:150)
Called from $ApplicationMain.create(ApplicationMain.hx:135)
Called from $ApplicationMain.main(ApplicationMain.hx:26)
Called from .init(?:1)

A while ago i made a pull request that fixed pretty much the same error, but i only fixed it for SAVE.

The referenced PR is #1521

Looks safe to merge for Lime 8.


Release 2.1.0

What this PR does

DEX-1968 Removed the flow and replaced it with paymentMethodType and intent mechanism
DEX-1206 Billing address capture v2
DEX-1903 Refactoring of all localizable strings within a single Strings.swift file
Minor codebase improvements

Closing to swap version 2.1 <-> 2.2


Difficult to find the right place to click and drag to move the "application" window

It's difficult to find the right place to click & drag to be able to move the window, you have to click in a small area right above the Soundwave Interactive logo and your profile picture. It's a very narrow line instead of being able to click in the whole "logo bar" field.

Yeah this is definitely something I plan to tweak. I've added it to my trello board. 👍

Update coming soon that expands the drag zone bar for essentially the whole nav bar (dead zone being the user info and window controls)

#17 Resolves this issue. 0.9.6 has been released.


Elements with event-handlers re-renders on every model update

It seems that whenever I update my model, virtualdom will re-apply the on* properties on every element that has such. The program will behave correctly, but performance could suffer, possibly quite badly if one has large numbers of such properties and high frequency of model updates (say, if you do animations).
To reproduce:
import StartApp.Simple
import Html exposing (..)
import Html.Events exposing (..)
import Html.Lazy

type Action
  = Click

type alias Model = {}

view : Signal.Address Action -> Model -> Html
view addr _ =
  Html.Lazy.lazy2 div
    []
    [ button
        [ Html.Events.onClick addr Click ]
        [text "1. Click me"]
    , button
        [ Html.Events.onClick addr Click ]
        [text "2. Click me"]
    ]

update : Action -> Model -> Model
update action model =
  let _ = Debug.log "Update: " action
  in
    model

main : Signal Html
main =
    StartApp.Simple.start
      { model = {}
      , view = view
      , update = update
      }

In your browser's debugger, set a breakpoint at index.html:8401 (inside virtualdom's applyPatch). Notice that clicking any button makes virtualdom apply a diff resetting the onclick property to both buttons.
I believe this happens because the on function in Native.VirtualDom produces a new closure on every call. Memoising on likely wouldn't help, since I imagine the createMessage argument to on would be (referentially) different on every call to on anyway.

The general case for Html.Events.on can't be solved, because it's impossible to determine if the old and new Decoder a and a -> Message functions provided are the same. But it seems possible for the functions under "Focus Helpers" and "Mouse Helpers" because the do not take any user-supplied functions and thus are potentially comparable.
Working on an application which involves dealing with HTML5 <video> elements and their timeupdate event, this bugs me as well. I could imagine implementing a function like

on' : String -> Message -> Attribute
on' evtName msg = ...

which just sends off the given message once the specified event fires is doable, given that Message is comparable. Can anyone provide some insight here?
Also, having some limited subset of Json.Decode.Decoder that is comparable would be helpful, because it would enable one to provide a function like

on'' : String -> Decoder' a -> Address a -> Attribute
on'' evtName decoder address = ...

But this would be a bit too much I guess. But many use cases could also be covered by something like

on''' : String -> List String -> Address String -> Attribute
on''' evtName path address = ...

where the List String parameter would be used just like in Json.Decode.at, and what's found there is always converted to a String and sent to the specified Address.
All this would obviously imply that Addresses are comparable, which the probably are? Also in the presence of forwardTo?


Autocomplete is slow and may even hang editor up if there's huge string literal

I added an image in base64 for prototyping purposes (as a map value, if it matters), it seems that every time I type something in editor, autocomplete tries to match it against this huge string literal.
Haven't tried with other languages, though.

@corristo FYI, there's an open PR that implements a behavior to limit the completions.

@Mosho1 There's an open PR that fixes this if you want to test it. Confirmation of whether it resolves this would be appreciated.

PR #2019 fixes it for me.

@izarov Thanks. Did the default limit value work for you too? I was still able to reproduce the issue with a limit of 1,000 characters on my Windows 7 box.

Yes, seems to work fine with the default, just tried with 998 character strings.
This is on quite a beefy laptop running El Capitan.

Fix available with 0.8.0 release


DockerFile

Wouldn't be nice to have a Dockerfile?
Easier to run for gamers that are not in development.
I'll create one for you.

This is on my list, but if you want to create one, then great! I'm hoping to have some new hosting sorted in the next month or two, so fingers crossed we have a website again before too long.

Hey @trickster-is-weak , Please check #4 I have added the required dockerfiles and documentation.


Create a user service for the API and APP for AUTH0

The API and frontend app have different credentials with AUTH0 because they
have different levels of access.

This approach has a slight flaw.  Update to come

This is ready for review again.

I have updated the 1password environment variables with the new names for all 3 environments.


ARROW-3465: [Documentation] Fix gen_apidocs' docker image

It's intend to be only a quickfix for building the apidocs.
@kou I'm still building it locally.

@kou it passes locally

Thanks!
I'll confirm later!


pull of latest code from erdewit/ib_insync

marged manually via comment line as I was not sure which option I need to check 'merge' or 'merge and rebase'


FINERACT-1724: Sampling support for performance measurements

Description
Describe the changes made and why they were made.
Ignore if these details are present on the associated Apache Fineract JIRA ticket.
Checklist
Please make sure these boxes are checked before submitting your pull request - thanks!

[ ] Write the commit message as per https://github.com/apache/fineract/#pull-requests

[ ] Acknowledge that we will not review PRs that are not passing the build ("green") - it is your responsibility to get a proposed PR to pass the build, not primarily the project's maintainers.

[ ] Create/update unit or integration tests for verifying the changes made.

[ ] Follow coding conventions at https://cwiki.apache.org/confluence/display/FINERACT/Coding+Conventions.

[ ] Add required Swagger annotation and update API documentation at fineract-provider/src/main/resources/static/legacy-docs/apiLive.htm with details of any API changes

[ ] Submission is not a "code dump".  (Large changes can be made "in repository" via a branch.  Ask on the developer mailing list for guidance, if required.)

FYI our guidelines for code reviews are at https://cwiki.apache.org/confluence/display/FINERACT/Code+Review+Guide.

Example sampling output for Loan COB:
Sampling data for org.apache.fineract.cob.COBBusinessStepServiceImpl
-------------
ApplyChargeToOverdueLoansBusinessStep with 100 data points -> highest: 28ms, average: 15ms, median: 15ms, lowest: 13ms
ReloaderService with 600 data points -> highest: 0ms, average: 0ms, median: 0ms, lowest: 0ms
AddPeriodicAccrualEntriesBusinessStep with 100 data points -> highest: 3ms, average: 0ms, median: 0ms, lowest: 0ms
UpdateLoanArrearsAgingBusinessStep with 100 data points -> highest: 4ms, average: 2ms, median: 2ms, lowest: 2ms
SetLoanDelinquencyTagsBusinessStep with 100 data points -> highest: 3ms, average: 1ms, median: 1ms, lowest: 1ms
CheckLoanRepaymentOverdueBusinessStep with 100 data points -> highest: 1ms, average: 0ms, median: 0ms, lowest: 0ms
CheckLoanRepaymentDueBusinessStep with 100 data points -> highest: 1ms, average: 0ms, median: 0ms, lowest: 0ms


chore: release helm-cosmo 0.11.0 🚀

:robot: I have created a release beep boop
0.11.0 (2024-09-03)
Features

make cosmo usable with aws s3  (#1135) (aa9b72f)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

<EMAIL_ADDRESS>:sunflower:


PR: Style improvement to the wait spinner used in the Find plugin

Description of Changes

[x] Wrote at least one-line docstrings (for any new functions)
[x] Included a screenshot or animation (if affecting the UI, see Licecap)

I created a qthelper function to make the creation of the wait spinner easier if we have to use it somewhere else in the future.
I added the option to decrease the size of the trail in the spinner class
I changed the look of the spinner so that plain dots are used instead of lines for the animation.

Issue(s) Resolved

Fixes #9578
Affirmation
By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.
I certify the above statement is true and correct: Jean-Sébastien Gosselin

For comparison, here is an animation that shows the wait spinner before this PR.


How to know the probability distribution method of own real data.

How to know the probability distribution method of  own real data, such as https://github.com/ConorLazarou/medium/blob/3fae4b997d1faca25e0b7395d5a71da3c2019b03/12020/visualizing_gan_uni2norm/1_uniform_to_normal_1D.py#L123-L124
How to know the value of line 123? Is there any description here? Thank you.

Check out the functions generate_noise and uniform_to_normal.
generate_noise produces independent, uniformly-distributed values in the range [-1, 1] with shape (n, 2) (ie, independent pairs of random numbers). It is a random function.
uniform_to_normal is a deterministic function that takes a number in the range [-1, 1] and returns a number in the range (-∞, ∞). This is done using inverse transform sampling. First, the number in [-1, 1] is rescaled to [0, 1]. Then, it's passed through scipy's percentage point function "ppf" for the normal distribution. These two functions combined is equivalent to sampling from the normal distribution.

Hello, your visualization method aroused my great interest.
I am studying the use of GAN to generate 3D medical images (like CT images), and I try to observe the probability density and the actual probability density of the standard normal distribution.
I do n’t know if it is because the model crashes or is not suitable for using 3D data. The picture I produced is always similar to the following:

Can you give me any comments or directions? Many thank.


Using frozen model of the previous epoch in current epoch

Thank you for this amazing framework.
I was trying to build an incremental object detector using mmdetection framework.
I need to access a frozen model of the previous epoch in the current model's epoch.
I was planning to use hooks to trigger during after_epoch in current training. But I don't
know how to pass the old frozen model into the current training epoch.
Any suggestions/feedback could be very helpful.
Thanks in advance.

@xvjiarui Could you please help me with this?

Hi @deepakksingh
Sorry for the late reply.
I don't think there is an easy way to regressively load previous epoch weight. You may need to customize the runner.

Thanks @xvjiarui


"Do It" button accept enter key

I think the title says it all. Anyway, a little more detail:
When editing a site name, after adjusting it however one wants, to be able to use the "enter" key to finalize the input instead of having to use the mouse to click the "Do It" button.

I suppose, using the Escape key to cancel would be along the same lines.

Version 0.8 has the latter (on the same note, opening an entity GUI also closes the rename GUI now), but the enter key isn't as easy. Nonetheless, it's on my wishlist.

Resolved in the 1.0 refactor, it turns out I only needed to handle on_gui_confirmed


edgemesh-agent CrashLoopBackOff util.go:82] env MY_NODE_NAME not exist

What happened:
I use helm to deploy edgemesh:latest, but the pod edgemesh-agent CrashLoopBackOff in both master and edgenode
and the kubectl logs info of  edgemesh-agent pod in master is
root@master:~# kubectl logs pod/edgemesh-agent-rntxx -nkubeedge
2022/10/23 12:47:55 INFO: Install client plugin, protocol: rest
2022/10/23 12:47:55 INFO: Installed service discovery plugin: edge
F1023 12:47:55.184364       1 util.go:82] env MY_NODE_NAME not exist

and I cannot connect to edge node using kubectl logs because edgemesh agent crash
What you expected to happen:
edgemesh agent in master and edgenode shuold work well
How to reproduce it (as minimally and precisely as possible):
I use ubuntu20.04
kubernetes1.22.6
kubeedge 1.12.0
edgemesh:latest from https://raw.githubusercontent.com/kubeedge/edgemesh/main/build/helm/edgemesh.tgz
Anything else we need to know?:
no
Environment:

EdgeMesh version:edgemesh:latest from https://raw.githubusercontent.com/kubeedge/edgemesh/main/build/helm/edgemesh.tgz

Kubernetes version (use kubectl version):kubernetes1.22.6

KubeEdge version(e.g. cloudcore --version and edgecore --version):kubeedge 1.12.0

Cloud nodes Environment:

Hardware configuration (e.g. lscpu):Intel(R) Xeon(R) Platinum 8369B CPU @ 2.70GHz
OS (e.g. cat /etc/os-release):ubuntu20.04
Kernel (e.g. uname -a):Linux master 5.4.0-125-generic #141-Ubuntu SMP Wed Aug 10 13:42:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Go version (e.g. go version):there is no golang
Others:master is a cloud ECS

Edge nodes Environment:

edgecore version (e.g. edgecore --version):v1.12.0
Hardware configuration (e.g. lscpu):12th Gen Intel(R) Core(TM) i7-12700F
OS (e.g. cat /etc/os-release):Ubuntu 20.04.5 LTS
Kernel (e.g. uname -a):Linux edgenode1 5.4.0-131-generic #147-Ubuntu SMP Fri Oct 14 17:07:22 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Go version (e.g. go version):no golang
Others:

I found the cause of this problem.
I using a aliyun dockerhub mirrors, but the kubeedge/edgemesh-agent image is 9 months old.
I chang to dockhub official source and pull the real latest kubeedge/edgemesh-agent image.
Now everything is ok

hello, I have met the same problem ,and I try to sovle this problem by your method. But it is still wrong.
the logs show that  :    env MY_NODE_NAME not exist

use helm install edgemesh --set agent.image=kubeedge/edgemesh-agent:v1.11.0 --set server.image=kubeedge/edgemesh-server:v1.11.0 xxxx

EdgeMesh < v1.12
1.需要部署edgemesh-server和edgemesh-agent两个组件
2.配置文件在/etc/kubeedge/config目录下，环境变量叫MY_NODE_NAME
EdgeMesh > v1.12 (包括latest)
1.只需要部署edgemesh-agent
2.配置文件在/etc/edgemesh/config目录下，环境变量叫NODE_NAME

EdgeMesh < v1.12

Two components, edgemesh-server and edgemesh-agent, need to be deployed
The configuration file is in /etc/kubeedge/config, and the environment variable is named MY_NODE_NAME

EdgeMesh > v1.12 (including latest)

Only need to deploy edgemesh-agent
The configuration file is in /etc/edgemesh/config, and the environment variable is named NODE_NAME

EdgeMesh < v1.12 1.需要部署edgemesh-server和edgemesh-agent两个组件 2.配置文件在/etc/kubeedge/config目录下，环境变量叫MY_NODE_NAME
EdgeMesh >= v1.12 (包括latest) 1.只需要部署edgemesh-agent 2.配置文件在/etc/edgemesh/config目录下，环境变量叫NODE_NAME
EdgeMesh < v1.12

Two components, edgemesh-server and edgemesh-agent, need to be deployed
The configuration file is in /etc/kubeedge/config, and the environment variable is named MY_NODE_NAME

EdgeMesh > v1.12 (including latest)

Only need to deploy edgemesh-agent
The configuration file is in /etc/edgemesh/config, and the environment variable is named NODE_NAME

非常感谢您的解答，但是我这里还是有点小问题，请问能加您的微信请教一下吗，或者您看您什么时候有空，可以腾讯会议帮我解答一下吗？有个小问题困扰我一个星期了，必将万分感谢！我的微信号15139065152

@qimiao1 已加


Improve qr code scanning

Improves scan performance for "perfect" qr codes where each pixel is either completely black or completely white without any distortion.

Works nicely 👍


Auth

Where do i put my authentication credentials for this?

Hey @wyklif,
If you're running your code on compute engine we'll take care of authentication for you. In other scenarios, you'll need to follow this guide to get your service account credentials.
From there you can pass that along to the library like so:
require 'vendor/autoload.php';

use Google\Cloud\Storage\StorageClient;

// Pass the key file directly into your client.
$storage = new StorageClient([
    'keyFilePath' => '/path/to/service/credentials.json'
]);

// OR

// Store the key file as an environment variable
putenv('GOOGLE_APPLICATION_CREDENTIALS=/path/to/service/credentials.json');

$storage = new StorageClient();

Hope this helps, let me know if you have any further questions.

Please feel free to re-open if you need anything else.

thanks


feat(pg-cdc): init default value for cdc table columns

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
Read external db to init default value for cdc table columns
related: https://github.com/risingwavelabs/risingwave/issues/19319
Checklist

[ ] I have written necessary rustdoc comments
[ ] I have added necessary unit tests and integration tests
[ ] I have added test labels as necessary. See details.
[ ] I have added fuzzing tests or opened an issue to track them. (Optional, recommended for new SQL features #7934).
[ ] My PR contains breaking changes. (If it deprecates some features, please create a tracking issue to remove them in the future).
[ ] All checks passed in ./risedev check (or alias, ./risedev c)
[ ] My PR changes performance-critical code. (Please run macro/micro-benchmarks and show the results.)

[ ] My PR contains critical fixes that are necessary to be merged into the latest release. (Please check out the details)

Documentation

[ ] My PR needs documentation updates. (Please use the Release note section below to summarize the impact on users)

Release note
If this PR includes changes that directly affect users or other significant modifications relevant to the community, kindly draft a release note to provide a concise summary of these changes. Please prioritize highlighting the impact these changes will have on users.

I think in this PR we need to also ban the user specified default column in the create table statement

+1, I'll do it.


Support both ADD and UPDATE attachment

Need to make a distinction between an ADD and UPDATE.
Use cases:

ADD new attachment
UPDATE new attachment > convert to an ADD operation
UPDATE existing attachment (uses existing ObjectId and AttachmentId)

Use the method signature updateAttachment: function(/*Number*/ objectId, /*Number*/ attachmentId, formNode, callback, errback). Confirmed that this exists in the JSAPI it's just not currently documented.

Hey Andy,
Allow me first to express my deep great appreciation this great library! Great work,
I have few questions,
The OfflineFeatureManager handles the editing session between the client side and the feature service.  When in offline mode, the manager queues in the edits locally in memory (correct me if i'm wrong), and pushes them back online once a connection is available. This is possible when the browser is not refreshed, that means I still have my instances of the manager and other objects.
You said it is possible to do a full-offline scenario, where by I can safely restart the browser or if I accidentally closed my browser I could still get my offline edits, by using the data store object in the offlinefeaturemanager. Question is, when I set a data store object in the offlinefeaturemanager constructor, where does this get stored? browser cookies? we know that we can't write to the local drive if we are in the browser using Javascript. Plus how does the browser know how to retrieve the datastore back after a browser restart? From where the function getFeatureLayerJSONDataStore() retrieves back my session? does it keep track of my particular browser session internally?
I would appreciate if you could expand on this topic.
Thank you
Hussein Nasser

@hnasr Thanks for the feedback and questions. This question probably should have been opened as a new issue. At some point I need to add an FAQ to help with these types of questions, so I'll open an issue for that.
Note: working in full offline browser mode is very different from online/partial-offline and requires having good knowledge of using the browser's Cache Manifest, and of web application/DOM life-cycle patterns and practices. It may also require advanced debugging skills to help troubleshoot offline life-cycle issues.

when I set a data store object in the offlinefeaturemanager constructor, where does this get stored?

Feature edits are stored in an IndexedDB database. Attachments and map tile data are also stored in separate IndexedDB databases.
Note: The maximum amount of IndexedDB storage varies from device to device. Generally speaking, you can store up to a total of 50MB - 100MB (or greater). It depends on numerous factors related to the browser including how many browser-based databases are being used, how much total memory the browser has consumed, how large the browser cache has grown, how many other tabs may be open, and how much memory other applications are already consuming.
If someone clears the browser cache they may also end up clearing any browser database data stored in IndexedDB.

Plus how does the browser know how to retrieve the datastore back after a browser restart?

You have to programmatically retrieve the dataStore after a browser restart. Refer to the API "How to use" documentation. Go to API docs home page > Offline Features - How to use.
There are also several sample applications that demonstrate working with the library in full offline scenarios:

Working with features and tiles - appcache-features.html
Working with tiles only - appcache-tiles.appcache


Compile the Source to install but might failed related to YAML

According the issue "installing via PPA crashed apt-get", I planned to compile from the sources. My system is Ubuntu 12.04 with ROS groovy.

So I used git, "git clone git://github.com/ethz-asl/libpointmatcher.git" to get the recent sources.
Did "cmake.."
Shoudl I install "GTest" ? or just ignore it?

cmake ..
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found Doxygen: /usr/local/bin/doxygen
-- Found DOXYFILE_IN: /home/weiweikong/Downloads/libpointmatcher/Doxyfile.in
-- Boost version: 1.46.1
-- Found the following Boost libraries:
--   thread
--   filesystem
--   system
--   program_options
--   date_time
-- yaml-cpp found, text-based configuration enabled
-- Looking for _POSIX_TIMERS
-- Looking for _POSIX_TIMERS - found
-- Could NOT find GTest (missing:  GTEST_LIBRARY GTEST_MAIN_LIBRARY)
Google test (gtest) not found - Skipping unit tests
-- Configuring done
-- Generating done
-- Build files have been written to:

Did "make"
There are some errors might related to " YAML". I am not quite sure of it. And what should I do with this errors?

Scanning dependencies of target doxygen
[  2%] Writing documentation to /home/weiweikong/Downloads/libpointmatcher/build/doc...
Warning: Tag SYMBOL_CACHE_SIZE' at line 289 of file /home/weiweikong/Downloads/libpointmatcher/build/Doxyfile has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" Warning: TagSHOW_DIRECTORIES' at line 473 of file /home/weiweikong/Downloads/libpointmatcher/build/Doxyfile has become obsolete.
To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
Warning: Tag `HTML_ALIGN_MEMBERS' at line 799 of file /home/weiweikong/Downloads/libpointmatcher/build/Doxyfile has become obsolete.
To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
Warning: doxygen no longer ships with the FreeSans font.
You may want to clear or change DOT_FONTNAME.
Otherwise you run the risk that the wrong font is being used for dot generated graphs.
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
entering extended mode
(./_formulas.tex
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, loaded.
[  2%] Built target doxygen
Scanning dependencies of target doc
[  2%] Built target doc
Scanning dependencies of target pointmatcher
[  5%] Building CXX object CMakeFiles/pointmatcher.dir/pointmatcher/Logger.cpp.o
In file included from /home/weiweikong/Downloads/libpointmatcher/pointmatcher/PointMatcher.h:58:0,
from /home/weiweikong/Downloads/libpointmatcher/pointmatcher/Logger.cpp:36:
/home/weiweikong/Downloads/libpointmatcher/pointmatcher/Registrar.h: In member function ‘Interface* PointMatcherSupport::Registrar::createFromYAML(const YAML::Node&) const’:
/home/weiweikong/Downloads/libpointmatcher/pointmatcher/Registrar.h:176:19: error: ‘const class YAML::Node’ has no member named ‘to’
/home/weiweikong/Downloads/libpointmatcher/pointmatcher/Registrar.h:176:33: error: expected primary-expression before ‘>’ token
/home/weiweikong/Downloads/libpointmatcher/pointmatcher/Registrar.h:176:35: error: expected primary-expression before ‘)’ token
/home/weiweikong/Downloads/libpointmatcher/pointmatcher/Registrar.h:181:5: error: ‘Iterator’ is not a member of ‘YAML’
/home/weiweikong/Downloads/libpointmatcher/pointmatcher/Registrar.h:181:20: error: expected ‘;’ before ‘mapIt’
/home/weiweikong/Downloads/libpointmatcher/pointmatcher/Registrar.h:182:5: error: ‘mapIt’ was not declared in this scope
/home/weiweikong/Downloads/libpointmatcher/pointmatcher/Registrar.h:183:9: error: ‘Iterator’ is not a member of ‘YAML’
/home/weiweikong/Downloads/libpointmatcher/pointmatcher/Registrar.h:183:24: error: expected ‘;’ before ‘paramIt’
/home/weiweikong/Downloads/libpointmatcher/pointmatcher/Registrar.h:183:58: error: ‘paramIt’ was not declared in this scope
make[2]: *** [CMakeFiles/pointmatcher.dir/pointmatcher/Logger.cpp.o] Error 1
make[1]: *** [CMakeFiles/pointmatcher.dir/all] Error 2
make: *** [all] Error 2

However, I download the libpointmatcher from http://freecode.com/projects/libpointmatcher.

I could successfully build it.
I will took part in the SSRR 2013 Rescue Camp, so I would like to test libpointmatcher before. However, I am not quite familiar with it, and tried different ways but still get the above erorrs.
Thanks!

How to migrate to yaml-cpp 0.5 if my ROS is work with new version.


Split SPI to overlays

Create overlays for SPI component so we can define variables for each environment. Apply hack/util-patch-spi-config.sh only on dev environment

@skabashnyuk vault can be changed to ApplicationSet as well but not needed to be done right now. This PR is primarily about splitting overlays of spi.


feat: add tenant id and ocp images acr to the azure runtime config in the cs template

What this PR does
Adds the tenantId and ocpImagesAcr to the azure runtime config in the CS DEV template
Jira: https://issues.redhat.com/browse/ARO-7653, https://issues.redhat.com/browse/ARO-9331
Link to demo recording: N/A
Special notes for your reviewer
Please see related MRs:

https://gitlab.cee.redhat.com/service/uhc-clusters-service/-/merge_requests/8807
https://gitlab.cee.redhat.com/service/uhc-clusters-service/-/merge_requests/8761

This looks good to me.
It is hardcoded so if for another env we want to change that it will not be enough.
I leave it up to you @geoberle to see if we want this configurable from outside.

It is hardcoded
we will templatize this soon. so it is ok for this short period of time


Autocomplete D identifiers

It doesn't autocomplete enum, class, struct, etc.

To fix this we could add it to our end or try to get it into DCD

snippets!


This PR fixes this by skipping the missing entry.
Fix #16290
Signed-off-by: Andrew Thornton<EMAIL_ADDRESS>

Codecov Report

Merging #16298 (612557b) into main (6554835) will decrease coverage by 0.03%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main   #16298      +/-   ##
==========================================
- Coverage   45.42%   45.38%   -0.04%
==========================================
  Files         709      709
  Lines       83500    83500
==========================================
- Hits        37929    37900      -29
- Misses      39490    39508      +18
- Partials     6081     6092      +11

Impacted Files
Coverage Δ

modules/git/last_commit_cache_nogogit.go
35.84% <0.00%> (ø)

services/pull/check.go
23.44% <0.00%> (-4.83%)
:arrow_down:

services/pull/temp_repo.go
26.59% <0.00%> (-3.20%)
:arrow_down:

services/pull/patch.go
54.23% <0.00%> (-1.70%)
:arrow_down:

modules/queue/workerpool.go
53.05% <0.00%> (-1.53%)
:arrow_down:

modules/notification/ui/ui.go
60.86% <0.00%> (-1.45%)
:arrow_down:

modules/notification/mail/mail.go
35.29% <0.00%> (-0.99%)
:arrow_down:

modules/log/event.go
58.96% <0.00%> (-0.95%)
:arrow_down:

models/notification.go
64.97% <0.00%> (-0.89%)
:arrow_down:

models/error.go
38.91% <0.00%> (-0.78%)
:arrow_down:

... and 3 more

Continue to review full report at Codecov.

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


Jitter link pointing to microprofile

The gitter link on the main page shows to
https://gitter.im/eclipse/microprofile-config, which IMO is not correct. Either remove them of create a corresponding JSR Gitter and update the link.

fixed. Thanks @atsticks for reporting!


HLS: inject meta data into the RTMP/DVR <-> HLS ID3 tags

Hello @winlinvip !
Is it possible to inject timed meta data into the RTMP stream / save in DVR?
Like how we can do in Wowza as described by this article:
https://www.wowza.com/forums/content.php?149-How-to-inject-cue-points-or-metadata&page=2
also, does srs support transforming these metatags into ID3 tags for transport inside a HLS stream?
I need this feature for save some events data on stream in DVR, and replay events from DVR file after stream ended.
p.s.
Thank you for a great project!

Well, there exists a way to inject metadata to RTMP or FLV stream, by inserting all cue points into the onMetadata RTMP packet or FLV tag. But it's not recommented, because it's realtime text messages, which should never be confused with A/V streaming packets. Maybe Adobe FMS/AMS mix the text and A/V messages together, but it's do a bad design and not compatible with CDN network or other archs.
For example, do all CDN network support this? Absolutely no. Do all streaming protocols support this? Maybe not. Do all players support this? Nop, atleast Android H5 not support.
By conclusion, the text messages should never confused with A/V streaming messages, they must be delivery by different servers or clusters. SRS is used to delivery A/V streaming messages, there are  many realtime message system, for instance, kafka.

@winlinvip  Thank you for fast and great answer :)

@winlinvip The AWS MediaLive server provide the capability. I guess if srs can provide the same capability it will be useful as a drop in replacement for MediaLive server.


Upgrade to Polaris v12 styles

After upgrade add polaris_html_classes helper to your html tag:
<html class="<%= polaris_html_classes %>" style="<%= polaris_html_styles %>">

This will enable new Polaris v12 styles automatically.
Closes #330

Thanks @kirillplatonov . I have #389 with some fixes, will merge to this branch and then review when I'm rested 👍


Too broad warning on missing package.json while feature initialization

I'm submitting a...

[ ] Bug report
[x] Feature request
[ ] Question

Current behavior

running db-migrate up gives the following error:
$ db-migrate -v
[WARN] TypeError: Cannot convert undefined or null to object
    at Function.assign (<anonymous>)
    at loadPluginList (/home/jeff/.nvm/versions/node/v8.15.1/lib/node_modules/db-migrate/index.js:14:20)
    at loadPlugins (/home/jeff/.nvm/versions/node/v8.15.1/lib/node_modules/db-migrate/index.js:24:17)
    at Object.module.exports.getInstance (/home/jeff/.nvm/versions/node/v8.15.1/lib/node_modules/db-migrate/index.js:56:51)
    at /home/jeff/.nvm/versions/node/v8.15.1/lib/node_modules/db-migrate/bin/db-migrate:32:25
    at /home/jeff/.nvm/versions/node/v8.15.1/lib/node_modules/db-migrate/node_modules/resolve/lib/async.js:81:17
    at processDirs (/home/jeff/.nvm/versions/node/v8.15.1/lib/node_modules/db-migrate/node_modules/resolve/lib/async.js:219:39)
    at isdir (/home/jeff/.nvm/versions/node/v8.15.1/lib/node_modules/db-migrate/node_modules/resolve/lib/async.js:226:32)
    at /home/jeff/.nvm/versions/node/v8.15.1/lib/node_modules/db-migrate/node_modules/resolve/lib/async.js:23:69
    at FSReqWrap.oncomplete (fs.js:152:21)

Expected behavior

no error
Minimal reproduction of the problem with instructions
The migrations are SQL format.
database.json
{
  "defaultEnv": "dev",
  "dev": {
    "driver": "pg",
    "user": "*****",
    "password": "*****",
    "host": "localhost",
    "database": "*****",
    "schema": "*****"
  },
  "sql-file": true
}

Environment

db-migrate version: 0.11.5
plugins with versions: none
db-migrate driver with versions<EMAIL_ADDRESS>
Additional information:
- Node version: 8.15.1
- Platform:  Linux

Others:
Rolled back to v0.11.3 and getting no error

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

mhm this is strange. Are you sure you can reproduce this error?
I tried and I can not and also looking at the code it does not make sense. There were no changes on the plugin logic in those versions (0.11.3...0.11.5)

Ok now I am understanding. So this is not a bug (the specification of this ticket is not correct that would be rather a feature request to improve on the logging). I first thought you would have run into a bug and db-migrate is not working anymore, but that is not the case. It displays the error to you, you should have got before. And in this case this error most certainly means, there is no package.json in your current working directory.
Indeed, the only thing added is a log, when something wents wrong with the plugin initialization. Which can be improved since it is not handling the issue but just logging the error.
https://github.com/db-migrate/node-db-migrate/blob/108087d84ecb08bbb03dec19f30cba90d1cfc9ce/index.js#L58
Relabling it for refactoring

There is in fact a package.json in that folder as well as our "migrations" folder. Upgrading to db-migrate@ 0.11.5 and then running db-migrate up in this folder, resulted in the error. I downgraded to<EMAIL_ADDRESS>re-ran db-migrate up and it worked. All without leaving said folder. I consider it a bug. We have no plugins. It crashed in the loadPluginList function.
You're saying a package.json is required?
Ours looks like this:
{
  "name": "ivt-database",
  "description": "IVT Database migrations.",
  "author": "**********",
  "version": "5.0.0",
  "private": true,
  "false": {}
}```

Is there something db-migrate is looking for in the package.json?

No it is not required and neither it should crash. Actually it can't crash, so I guess you misinterpreted it.
https://github.com/db-migrate/node-db-migrate/blob/9334ee2ef90185a9f2a2512643f9a7e787ca21b2/index.js#L67
As you can see the whole plugin block is encapsulated in a try catch block, and log warn does really only print a warning. nothing more.

It crashes here:
plugins = Object.assign(plugins.dependencies, plugins.devDependencies);

I guess the issue would be to see why it's getting in this code anyway, with no plugins defined and why the try/catch appears to to be working.

In this code:
module.exports.getInstance = function (isModule, options, callback) {
  delete require.cache[require.resolve('./api.js')];
  delete require.cache[require.resolve('optimist')];
  var Mod = require('./api.js');
  var plugins = {};

  try {
    if (!options || !options.noPlugins) plugins = loadPlugins();
  } catch (ex) {
    log.warn(ex);
  }

  if (options && options.plugins) {
    plugins = Object.assign(plugins, options.plugins);
  }

  return new Mod(plugins, isModule, options, callback);
};

and the reason it's looking for for plugins is options is undefined which cause this code:
    if (!options || !options.noPlugins) plugins = loadPlugins();

to be true[!options]...

db-migrate does not crash. It just prints a warning.
bin/db-migrate --version
[WARN] TypeError: Cannot convert undefined or null to object
    at Function.assign (<anonymous>)
    at loadPluginList (/home/tobi/serious_projects/db-migrate/node-db-migrate/index.js:14:20)
    at loadPlugins (/home/tobi/serious_projects/db-migrate/node-db-migrate/index.js:24:17)
    at Object.module.exports.getInstance (/home/tobi/serious_projects/db-migrate/node-db-migrate/index.js:56:51)
    at /home/tobi/serious_projects/db-migrate/node-db-migrate/bin/db-migrate:32:25
    at /home/tobi/serious_projects/db-migrate/node-db-migrate/node_modules/resolve/lib/async.js:52:13
    at processDirs (/home/tobi/serious_projects/db-migrate/node-db-migrate/node_modules/resolve/lib/async.js:184:39)
    at ondir (/home/tobi/serious_projects/db-migrate/node-db-migrate/node_modules/resolve/lib/async.js:199:13)
    at load (/home/tobi/serious_projects/db-migrate/node-db-migrate/node_modules/resolve/lib/async.js:82:43)
    at onex (/home/tobi/serious_projects/db-migrate/node-db-migrate/node_modules/resolve/lib/async.js:107:17)
0.11.5
echo $?
0

You can see the exit code, and notice that further functionality is being executed. So the try catch just works as expected. However, taking a look, actually without a package.json it would fail differently. Since in v0.11.5 it still directly reads, without checking for a package.json before. There is a patch for that on the master already, which I would need to backport (and maybe adjust). In this case, the completely missing properties are not being handled and checked, which is the reason for the warning. So this is an issue to its own.

ok, fair enough. For now, I can roll back and use previous version. Thanks for your time.

Sorry, didn't mean to close.

no worries, I will close and let you know as soon as that got taken care of.

ThanksOn Jun. 6, 2019 12:25 p.m., Tobias Gurtzick<EMAIL_ADDRESS>wrote:no worries, I will close and let you know as soon as that got taken care of.
—You are receiving this because you modified the open/close state.Reply to this email directly, view it on GitHub, or mute the thread.

0.11.6 now only logs in verbose mode and adds handling for non existent dependency properties.

Excellent! Look forward to testing. Thanks for your hard work. It's appreciated.

Works great!
Even db-migrate --version works when package.json does not exist.


Function arguments list/help

Hi,
I couldn't find anything in help or any issue here regarding this.
Kernel should help with tooltips when calling functions similar to what IPython  does. You write len( and press Shift+Tab and it will show you the function parameter lists.
Thanks.

Hey @gauravkumar37, thanks for spotting it!
I took a look at that, and to have something reliable, I think we'll need to wait that the Presentation compiler is used for this purpose rather than the repl.
By chance, we discussed that recently with @dragos, wrt the issue #142.
We decided that this feature would be best landing first. So it's gonna come in the next (0.5.0) or the one after (0.6.0) release probably.
Note that, scala is more tricky than python for this purpose, but also offers way more as well (I have types in head).
I'll keep this entry open so we can use it to track the wrt this particular feature.

Thanks a lot Andy....looking forward to it...


(TWILL-177) Make ZKDiscoveryService AutoCloseable

Release ZK watches when closed

Rebased on master and resolved conflicts.

one minor comment, otherwise lgtm

Squashed commits.


PCP: test

PCP Issue

difficult: easy
score: 50
min score required: 0
expired: 7d
Recommended Skills:
Mentor(s):

Description

This is a test PCP task.

/pick-up-challenge

/pick-up-challenge

/pick-up-challenge

need to close it? @you06


See if refusal attribute exists in ChatCompletionMessage before referencing it

Instructor is currently broken when using Litellm (i suspect they are behind on supporting refusal attr or smth). I am trying to fix this with a quick check before referencing refusal attribute

:rocket:
This description was created by Ellipsis for commit cde3b7011a77f98a20554898c88eff4b29aea201

Summary:
Added a check for the refusal attribute in parse_tools function to prevent errors when it's missing in ChatCompletionMessage.
Key points:

Added hasattr check for refusal attribute in parse_tools function in instructor/function_calls.py.
Prevents errors when refusal attribute is missing in ChatCompletionMessage.
Specifically addresses compatibility with tools like litellm.

Generated with :heart: by ellipsis.dev

Thanks for addressing this @callmephilip! Just found Instructor, awesome library, but immediately ran into this bug.


cargo release patch fails with error object not found - no match for id

I'm running the command cargo release --no-confirm --execute patch as part of my CI. It always fails with the error:
Published netlink-tc v0.0.3 at registry `crates-io`
error: object not found - no match for id (<sha>); class=Odb (9)
Error: Process completed with exit code 101.

Even cargo release --no-confirm --execute --no-publish patch fails! I'm probably doing something wrong.
Here's my worflow yml.
Any help would be highly appreciate. Btw, amazing crate, I considered many before settling on this because it was the simplest and most all-rounded one out there!

Is the checkout doing a shallow clone?  If so, that would cause the history checks and reports to fail.

Looks so from their documentation, thanks!


Datum: should we rename origin description to anchor definition?

Need to use anchor definition in current version.


NEWBIE, Need help

Hello All,
I installed Alexa on my RPI3 and this all works fine, she is responding to my questions, but she is unable to discover my devices!
I installed habridge and added upnp.config.address
nohup java -jar -Djava.net.preferIPv4Stack=true /root/habridge/ha-bridge-3.2.0.j
ar upnp.address.config=<IP_ADDRESS> > /root/habridge/habridge-log.txt 2>&1 &
In my windows environment I can see the upnp device, but alexa is unable to find it.
I created a test device within habridge but still no go, what is I do wrong, please help, thanks in advance

Use this command line:
nohup java -jar -Djava.net.preferIPv4Stack=true /root/habridge/ha-bridge-3.2.0.j
ar  > /root/habridge/habridge-log.txt 2>&1 &
Then go into the web interface and set your upnp ip address to <IP_ADDRESS>

Tried this but again Alexa can not find any devices
T: upnp:rootdevice
MAN: "ssdp:discover"
User-Agent: UPnP/1.0 DLNADOC/1.50 Kodi
Connection: close
Host: <IP_ADDRESS>:1900
2016-11-01 18:09:08,943 [main] INFO  com.bwssystems.HABridge.upnp.UpnpListener - Traceupnp: sendUpnpResponse discovery responseTemplate1 is <<<HTTP/1.1 200 OK
HOST: <IP_ADDRESS>:1900
CACHE-CONTROL: max-age=100
EXT:
LOCATION: http://<IP_ADDRESS>:80/description.xml
SERVER: Linux/3.14.0 UPnP/1.0 IpBridge/1.15.0
hue-bridgeid: B827EBFFFEE7475B
ST: upnp:rootdevice
USN: uuid:2f402f80-da50-11e1-9b23-b827ebe7475b::upnp:rootdevice

2016-11-01 18:09:08,945 [main] INFO  com.bwssystems.HABridge.upnp.UpnpListener - Traceupnp: sendUpnpResponse discovery responseTemplate2 is <<<HTTP/1.1 200 OK
HOST: <IP_ADDRESS>:1900
CACHE-CONTROL: max-age=100
EXT:
LOCATION: http://<IP_ADDRESS>:80/description.xml
SERVER: Linux/3.14.0 UPnP/1.0 IpBridge/1.15.0
hue-bridgeid: B827EBFFFEE7475B
ST: uuid:2f402f80-da50-11e1-9b23-b827ebe7475b
USN: uuid:2f402f80-da50-11e1-9b23-b827ebe7475b

2016-11-01 18:09:08,947 [main] INFO  com.bwssystems.HABridge.upnp.UpnpListener - Traceupnp: sendUpnpResponse discovery responseTemplate3 is <<<HTTP/1.1 200 OK
HOST: <IP_ADDRESS>:1900
CACHE-CONTROL: max-age=100
EXT:
LOCATION: http://<IP_ADDRESS>:80/description.xml
SERVER: Linux/3.14.0 UPnP/1.0 IpBridge/1.15.0
hue-bridgeid: B827EBFFFEE7475B
ST: urn:schemas-upnp-org:device:basic:1
USN: uuid:2f402f80-da50-11e1-9b23-b827ebe7475b

2016-11-01 18:09:09,463 [qtp20483818-15] INFO  com.bwssystems.HABridge.upnp.UpnpSettingsResource - Traceupnp: upnp device settings requested:  from <IP_ADDRESS>:80
2016-11-01 18:09:09,467 [qtp20483818-15] INFO  com.bwssystems.HABridge.upnp.UpnpSettingsResource - Traceupnp: upnp device settings template filled with address: <IP_ADDRESS> and port: 80

What is the ip of the Amazon Echo?

It's running on the same Rpi, so it's also 192. 168.1.96
Mvg,
Alwin Bongers
Verzonden vanaf mijn Samsung Galaxy-smartphone.

-------- Oorspronkelijk bericht --------Van: BWS Systems  Datum: 01-11-16  19:26  (GMT+01:00) Aan: bwssytems/ha-bridge  Cc: ab1976 , Author  Onderwerp: Re: [bwssytems/ha-bridge] NEWBIE, Need help (#203)

What is the ip of the Amazon Echo?
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/bwssytems/ha-bridge/issues/203#issuecomment-257651036

Are you running the software alexa? If so, that does not discover deivces, you need a hardware echo or echo dot.

It's software alexa
Thanks for your quick answers
Mvg,
Alwin Bongers
Verzonden vanaf mijn Samsung Galaxy-smartphone.

-------- Oorspronkelijk bericht --------Van: BWS Systems  Datum: 01-11-16  19:54  (GMT+01:00) Aan: bwssytems/ha-bridge  Cc: ab1976 , Author  Onderwerp: Re: [bwssytems/ha-bridge] NEWBIE, Need help (#203)

Are you running the software alexa? If so, that does not discover deivces, you need a hardware echo or echo dot.
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/bwssytems/ha-bridge/issues/203#issuecomment-257659377

Yep, that does not work for home automation control. Sorry.


updated cdn links

I have updated the cdn links throughout the whole website

Issue:1247

Great work thank you!
@all-contributors please add @davanu100 for documentation

Great work thank you!
@all-contributors please add @davanu100 for documentation


custom matchers' compare methods are not actually called, and silently pass

I discovered that while I can add custom matchers with this.addMatchers and the matchers are available to use, jasmine-node is not actually calling their compare method.  The custom matchers always pass silently, though if negated they always fail.
To confirm, run custom_matcher.js (replacing jasmine.addMatchers with this.addMatchers) with jasmine-node; the test that negates the custom matcher will fail.

ohhhhhh, my apologies, it's because I'm using the 1.x version of jasmine-node.  Obviously the interface has changed


Lightbox: fix mouse wheel behavior and add horizontal scroll feature.

This addresses my issue #835 and is two fold:

Previously, any non-negative deltaY change to the mouse wheel would cause a photo in the lightbox zoom out, regardless of the direction. I have changed this so that zoom out is only possible with positive deltaY values.
I have added the option to scroll through photos in the lightbox using horizontal scrolling (deltaX). This mimics the behavior of left/right arrow and allows for navigation solely with the mouse. I've also changed it so you can use this scroll on videos. The previous behavior of canceling zoom on videos remains.

Thanks for the consideration!

Great! Thank you for your contribution!