Set-PartnerCustomerUserLicense License Removal Inconsistent with Addition

Steps to reproduce
$license = New-Object -TypeName Microsoft.Store.PartnerCenter.PowerShell.Models.Licenses.PSLicenseAssignment
$licenses = New-Object -TypeName Microsoft.Store.PartnerCenter.PowerShell.Models.Licenses.PSLicenseUpdate
$licenses.LicensesToRemove.Add($license)
Based on documentation in help and LicenseUpdate Class of Microsoft.Store.PartnerCenter.Models.Licenses Namespace
Expected behavior
$licenses.LicensesToRemove.Add($license) updates the $licenses object correctly.

Share the expected output
$licenses

LicensesToAssign                       LicensesToRemove

{f1b66f95-1aca-4e0d-9d02-0c9ab2959762} {4a1626c7-bebd-4c98-a2df-08d685c4815f}
Actual behavior
$licenses.LicensesToRemove.Add($license) Returns false.
whereas
$licenses.LicensesToRemove.Add('4a1626c7-bebd-4c98-a2df-08d685c4815f') updates the $licenses object correctly.
Environment
Win 10 Ent PWSH 6.2
1.5.1904.3 PartnerCenter.NetCore
GUIDs changed for included examples.

The reason for this design is the expected values with the Partner Center API. Since this is working as designed I am going to close this issue. As we start to plan future updates to the module one of the areas where we plan to focus is the license management functionality. Thank you for sharing this feedback it has helped me realize one of the areas that needs to be re-thought is license management.


Add 'suffix' and 'prefix' element to headlines.

Allow specification of a prefix and suffix for units/symbols.

possibly won't need this now as we are opting for table style instead of headlines.


JanusGateway::Error: No message set

Error doesn't show message in to_s:
puts JanusGateway::Error.new(123, 'my info').to_s

gives:
JanusGateway::Error

I think we should set the message by calling super constructor?

@njam please review

Now the parent has only info as message, but if we call the message getter we get info and code.
Shouldn't we remove the message getter and just pass the combined new message up to the super?

Hmm like that?

lgtm!

released!


feat(event_list): 11710, 11729 - unify disasters panel and move it under analytics panel

logo is covered, panel likely higher than screen:

Will be fixed in the next commit for panels layout

Fix for Kontur logo also delivered

loader is a bit not on the center

also I found on mobile view (z-index problems, close  panel btn unavailable)
not sure if it is in scope of this ticket or not, maybe more suitable to create bugs


SOLO STAKING FS: Cannot convert undefined or null to object ::BUG

when account has not solo staked

due to this line of code:

fixed


[documentation] Practical documentation on metadata and store assets

A copy of https://github.com/hyperledger/iroha/issues/3456 by @v-a-net

Documentation URL(s)
https://hyperledger.github.io/iroha-2-docs/guide/configure/metadata-and-store-assets.html
https://hyperledger.github.io/iroha-2-docs/guide/blockchain/metadata.html
Description
Iroha 1 provides an easy way to store metadata in user account. This feature was super useful to use Iroha as a data ledger rather than just using fungible assets.
Iroha 2 seems to keep this super feature and even extends it with metadata and store assets (https://hyperledger.github.io/iroha-2-docs/guide/configure/metadata-and-store-assets.html).
Your suggestions
Could you provide a more detailed documentation (especially client usage in rust and with the bash client if it's implemented yet) about how practically using metadata and store assets for iroha 2 ?
Who can help?
No response

This feature was super useful for using Iroha as a data ledger rather than just using fungible assets.

Well, let's imagine its internal behaviour. Both Store and metadata would have separate records in the blockchain for every update. Given that, you can only get more fields than you need with Metadata.
In that case, does it mean only a question of API usability remains here?

I think so! From my understanding of the current implementation, I think that the tutorial documentation mainly lacks practical details and examples about this topic. This was the main reason of this issue.

Superseded by #450 and #451.


Add JoeyXWong's file

created a branch, created a file and made a commit, and opened a pull request

test

reopen


Option to enable audio for RTSP but strip it from HLS and WebRTC

We've enabled audio by setting DisableAudio to true in streamCore.go so a downstream processor can have the unmodified RTSP feed.
Until audio is implemented, how can we strip the audio from HLS and WebRTC? Clients like hls.js report segment parsing errors.

fragParsingError
no ADTS header found in AAC PES

I will check to see if there is a bug.

This seems to be caused by the video codec, not audio. See #90

https://github.com/deepch/RTSPtoWeb/commit/b4df93af6c74a020f1f2e51445a2a27e3e032cbe

Thank you! We are still seeing fragParsingError messages from hls.js but the HLS stream is working.
hlsError
Object { type: "mediaError", details: "fragParsingError", fatal: true, reason: "no ADTS header found in AAC PES", frag: {…}, id: "main" }


ManagedObject: "objectBindings" support in XML view / fragment definitions

URL (minimal example if possible)
https://jsbin.com/hopizef/edit?html,js,output
Given
<MyControl objectBindings="{
  myModel: { path: '/someObject' },
  myAnotherModel: { path: '/objectFromAnotherModel' }
}" />

What is the expected result?
ManagedObject calls bindObject according to the API contract for each key without any issues.
https://github.com/SAP/openui5/blob/ca82db0229de26dec2fc554353838ad8e6fc5401/src/sap.ui.core/src/sap/ui/base/ManagedObject.js#L1150-L1153
What happens instead?
The only place in the XMlTemplateProcessor, where objectBindings is handled, is this one:
https://github.com/SAP/openui5/blob/ca82db0229de26dec2fc554353838ad8e6fc5401/src/sap.ui.core/src/sap/ui/core/XMLTemplateProcessor.js#L803-L809
But that results in the following objectBindings object:
{
  undefined: {
    myAnotherModel: { path: "/objectFromAnotherModel" },
    myModel: { path: "/someObject" }
  }
}

which is passed to ManagedObject settings:
https://github.com/SAP/openui5/blob/ca82db0229de26dec2fc554353838ad8e6fc5401/src/sap.ui.core/src/sap/ui/base/ManagedObject.js#L1142-L1155
And since the key is undefined, it results in an uncaught TypeError.
Any other information? (attach screenshot if possible)
After reading https://github.com/SAP/openui5/issues/544, I thought objectBindings is supported at least in fragments but there it fails too.

Also the description of objectBindings in the API reference ...

objectBindings : object A map of binding paths keyed by the corresponding model name. Each entry with key k in this object has the same effect as a call this.bindObject(objectBindings[k], k);.

... is a bit weird to me since bindObject awaits an object as the only argument.
But according to the description above, this.bindObject(path, modelName) will be called. In the real code, on the other hand, it's this.bindObject(bindingInfo) again.src

Multiple object bindings are just not supported in the XMLView. It's more by accident that BindingParser returns something when given a map of bindings. It doesn't really handle it.
The description of bindObject is not so weird, when you look at the code in lines 3028-3037. Those lines handle a legacy form of the bindObject method that accepted a path. Nevertheless, the description is outdated and I can't find any hint that the suggested 2nd parameter for the model name ever existed (although it would have been consistent with the setModel API).
I leave the issue open for the dispatcher to create an incident. Colleagues can check whether support for multiple bindings is something for our roadmap or not and the documentation in ManagedObject should be updated, anyhow.

Yeah, I wasn't sure whether objectBindings is even supported by XMLViews or not. It would be nice if it could, to allow binding multiple contexts declaratively. I was also inspired by @rpbouman's question, where objectBindings would've been perfect.

Hi @boghyon, @codeworrior I didn't know this objectBindings attribute. Wonderful, I will look into it.
Re. my question on multiple bindings: yeah this is not just some theoretical example. I am building what I consider a large and fairly complex ui5 app, and I really do need multiple models and lots of reusable fragments to keep things manageable. To maximize reusability of fragments, I really do need this "relative" binding and resolution based on the container, but I do not want to put the code to bind the containers in my code.
It feels a bit random that we can achieve it in code, and not from the XML.
One could wonder how to solve things syntactically as XML requires unique attribute names per element.
As I mentioned in a comment on my post, I would be happy if I could achieve this using the "parts" syntax, but this doesn't seem to work.
<m:TabContainer
  binding="{
    parts: [{path: 'B>/K/L/M'},{path: 'A>/X'}]
  }"
>

While we are at it: if we could do aggregate binding from within the XML with parts/formatter syntax, which works really well for property binding, then it would solve a lot of other problems for me.
Concrete cases is where I receive some data which I want to use to drive aggregations. As always the data I receive is very far from the format the aggregation wants and needs. So usually I transform the data when I receive it into whatever format I need for the aggregation and store the result in the model. But this case feels a lot like what we have for property binding where we would use a formatter. I would like to do that for aggregations as well - transform the data on the fly and only as needed, as property of the binding, so I can keep the model clean and only store the actual data.

Hi @boghyon,
we've discussed your enhancement proposal and agreed on implementing it.
The BLI is CPOUI5FRAMEWORK-122.
This issue will be updated when the BLI is implemented.
Best Regards,
Florian


Import should happen in Background

started 1.5.5 and it started to import images, i think this should be a background task so we can browse the library while SD-Manager is doing it's work. a popup notification when it starts and ends would be nice in this case.

seems to be solved and a none issue anymore.


Virtualenvs

Is there support for virtual environments and if so, how?

There is no way to specify virtual environments through the GUI of the CPython Step. Though the Enterprise Edition Python step does support that.
You can, however, activate a virtual environment as part of the startup process when running spoon.bat/sh. You are essentially "hard coding" the environment at that point and any process in Pentaho will be using that virtual environment for as long as that session is active.


snap_env doesnt work without DCP defined

With #764 you changed snap_env to export  an undefined PSL_DCP with some comments.
This comments get interpreted wrong during make model, the 'for' is interpreted as begin of a loop.
As long as this is just a hint to export something, please comment the whole export with '#export PSL_DCP' both for PSL8 and PSL9

Corrected. Thanks for notifying that

@joergkayser Could this issue be closed? Thx


two search fields in the input form?

how to do like this?
please, help.

Are you asking how to change where the search form is located on the webpage?  Or are you asking something different?

yes and add one more search field instead of one there should be two!
two fields input autocomplete

???????????????????????????????

I'm still trying to understand your goal.  From the graphic, it appears you want the search control UI to not be located on the map?  And that you want to be able to search multiple fields within a feature service?
Here is a sample map that does both: https://gis.ccpa.net/sld/activity/.
I'm just trying to better understand your goals to help identify a solution.

@pmacMaps thanks for jumping in and helping!
@mkden hope this info helps you out.

But from what I can see you need the autosuggestion library with geocoding capability :)
Take a look at my example

You can adapt it to your own needs.

Hej dziekuje @tomik23 for sharing your own leaflet examples site. Nice community resource for folks using LeafletJS in different ways.
@mkden, as @pmacMaps noted you can use the esri-leaflet-geocoder to accommodate your goals by putting multiple instances of it in another container element outside of the map.

But from what I can see you need the autocomplete library with geocoding capability :)
Take a look at my example

You can adapt it to your own needs.

you showed me an example on https://nominatim.openstreetmap.org
and I asked https://geocode.arcgis.com


Fix Having Clause (#793)

Fix for #793
Test:
terrier=# CREATE TABLE xxx (id INT);
CREATE TABLE
terrier=# INSERT INTO xxx VALUES (1),(2),(3),(4);
INSERT 0 4
terrier=# SELECT COUNT(*) AS cnt FROM xxx HAVING COUNT(*) > 10;

 cnt
-----
(0 rows)

@VenkatDatta Thanks for submitting this. @wuwenw will review it for you. You can ignore the failed/timed-out build on Travis. We plan on disabling it in the near future (#821).

@VenkatDatta Please fix the conflicts and we can merge.


TG4Event.Primaries[0].GetInteractionNumber() in spill builder

TG4Event.Primaries[0].GetInteractionNumber() should be equal to the entry number in DetSimPassThru/gRooTracker. But that's not true for events going through overlaySinglesIntoSpillsSorted.C. Eg: here I'm outputing entry number vs TG4Event.Primaries[0].GetInteractionNumber()`. Since they're the same, they should point to the same index. But randomly it drops to a low number before going back to standard numbers
Entry 75, interaction number of vtx 0: 72
Entry 76, interaction number of vtx 0: 73
Entry 77, interaction number of vtx 0: 74
Entry 78, interaction number of vtx 0: 1
Entry 79, interaction number of vtx 0: 75
Entry 80, interaction number of vtx 0: 76
Entry 81, interaction number of vtx 0: 77

I assume that's because the numbers are pulled from their respective streams. So every time it drops, it's because it's switching from pulling from the more common rock interactions to a fiducial interaction. This is bad because the index no longer points to the correct position. And also because there are multiple vertices that point to the same index. The fix is to adjust the numbers while saving in overlaySinglesIntoSpillsSorted. These numbers are used to map to the primary vertex that created particles in the TMS, and can be useful like that for others if this mapping is preserved correctly.
Edit: A similar thing is true for event.Eventid:
Entry 647, interaction number of vtx 0: 633, vs event.EventId 634
Entry 648, interaction number of vtx 0: 12, vs event.EventId 13

In the output from the spill builder, the EDepSimEvents and DetSimPassThru/gRooTracker trees are aligned with each other. So it would be easy enough, in future productions, to set the InteractionNumber of the ith EDepSimEvent to be (drumroll...) i, if that makes the TMS code happier. I'll make that change.
For processing existing MC, I guess you'd need to apply a temporary hack that uses i (i.e. the entry number) instead of the current value of InteractionNumber.
FWIW, the 2x2+MINERvA workflow doesn't use InteractionNumber at all, so that would explain why nobody raised this issue in the past. You're right, though; the InteractionNumber initially assigned by edep-sim, is ambiguous and effectively useless after going through the spill-building pipeline.
The disagreement between entry number and EventId is unavoidable since we're mixing fiducial and rock events, and the EventId is (intentionally) not rewritten. In fact, since each spill-built file is made from 10+10 (fiducial+rock) files, the same EventId can be repeated up to 20 times. The RunId (where "small" numbers are fiducial input files and "large" numbers are rock inputs) breaks the degeneracy.

With the above commit, InteractionNumber is now getting reassigned properly:
root [1] EDepSimEvents->Scan("InteractionNumber")
***********************************
*    Row   * Instance * Interacti *
***********************************
*        0 *        0 *         0 *
*        1 *        0 *         1 *
*        2 *        0 *         2 *
*        3 *        0 *         3 *
*        4 *        0 *         4 *
*        5 *        0 *         5 *
*        6 *        0 *         6 *
*        7 *        0 *         7 *
*        8 *        0 *         8 *

@jdkio Feel free to reopen this issue if this fix doesn't fully address it.


⚠ Bofrost.at has degraded performance

In 375886d, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1163 ms

Resolved: Bofrost.at performance has improved in 58d08be.


这个确定可以支持iOS6以上吗

我看了下NSQualityOfServic这个枚举，在iOS8及以上的版本才能用啊
typedef NS_ENUM(NSInteger, NSQualityOfService) {
    /* UserInteractive QoS is used for work directly involved in providing an interactive UI such as processing events or drawing to the screen. */
    NSQualityOfServiceUserInteractive = 0x21,

    /* UserInitiated QoS is used for performing work that has been explicitly requested by the user and for which results must be immediately presented in order to allow for further user interaction.  For example, loading an email after a user has selected it in a message list. */
    NSQualityOfServiceUserInitiated = 0x19,

    /* Utility QoS is used for performing work which the user is unlikely to be immediately waiting for the results.  This work may have been requested by the user or initiated automatically, does not prevent the user from further interaction, often operates at user-visible timescales and may have its progress indicated to the user by a non-modal progress indicator.  This work will run in an energy-efficient manner, in deference to higher QoS work when resources are constrained.  For example, periodic content updates or bulk file operations such as media import. */
    NSQualityOfServiceUtility = 0x11,

    /* Background QoS is used for work that is not user initiated or visible.  In general, a user is unaware that this work is even happening and it will run in the most efficient manner while giving the most deference to higher QoS work.  For example, pre-fetching content, search indexing, backups, and syncing of data with external systems. */
    NSQualityOfServiceBackground = 0x09,

    /* Default QoS indicates the absence of QoS information.  Whenever possible QoS information will be inferred from other sources.  If such inference is not possible, a QoS between UserInitiated and Utility will be used. */
    NSQualityOfServiceDefault = -1
} NS_ENUM_AVAILABLE(10_10, 8_0);

https://github.com/ibireme/YYDispatchQueuePool/blob/master/YYDispatchQueuePool/YYDispatchQueuePool.m#L57
已经做了系统判断。

OK


SOLVED: ERROR: unable to download video data: HTTP Error 403

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm requesting a site-specific feature
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and I'm willing to share it if required

Region
PORTUGAL
Example URLs
https://www.youtube.com/watch?v=ekr2nIex040&list=PL3-sRm8xAzY9gpXTMGVHJWy_FMD67NBed
Provide a description that is worded well enough to be understood
Hi!
I solved the "unable to download video data: HTTP Error 403"  by using cookie.txt file.
... Deleted ...
On yt-dlp use like this (if you want to download as mp3 file):
yt-dlp.exe --cookies cookie.txt -4 --no-flat-playlist --recode-video mp3 --extract-audio --audio-quality 0 --progress -P YOUR_DIRECTORY --no-keep-video --ffmpeg-location YOUR_ffmpeg.exe_LOCATION YOUTUBE_LINK
I think for video must be:
yt-dlp.exe --cookies cookie.txt -4 YOUTUBE_LINK
For me is working fine!
I create a batch, if you want it i can share it!
I hope this helps on this issue.
Happy New Year to All!
.
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[debug] Command-line config: ['--cookies', 'bin\\cookie.txt', '-4', '--no-flat-playlist', '--recode-video', 'mp3', '--extract-audio', '--audio-quality', '0', '--progress', '-P', 'Albuns\\29.12.2024\\New_2024', '--no-keep-video', '--ffmpeg-location', 'bin\\ffmpeg.exe', 'https://www.youtube.com/watch?v=ekr2nIex040&list=PL3-sRm8xAzY9gpXTMGVHJWy_FMD67NBed', '-vU']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>from yt-dlp/yt-dlp [65cf46cdd] (win_exe)
[debug] Python 3.10.11 (CPython AMD64 64bit) - Windows-10-10.0.26100-SP0 (OpenSSL 1.1.1t  7 Feb 2023)
[debug] exe versions: ffmpeg 7.1-full_build-www.gyan.dev (setts)
[debug] Optional libraries: Cryptodome-3.21.0, brotli-1.1.0, certifi-2024.12.14, curl_cffi-0.5.10, mutagen-1.47.0, requests-2.32.3, sqlite3-3.40.1, urllib3-2.3.0, websockets-14.1
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets, curl_cffi
[debug] Loaded 1837 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version<EMAIL_ADDRESS>from yt-dlp/yt-dlp
yt-dlp is up to date<EMAIL_ADDRESS>from yt-dlp/yt-dlp)
[youtube:tab] Extracting URL: https://www.youtube.com/watch?v=ekr2nIex040&list=PL3-sRm8xAzY9gpXTMGVHJWy_FMD67NBed
[youtube:tab] Downloading playlist PL3-sRm8xAzY9gpXTMGVHJWy_FMD67NBed - add --no-playlist to download just the video ekr2nIex040
[youtube:tab] PL3-sRm8xAzY9gpXTMGVHJWy_FMD67NBed: Downloading webpage
[youtube:tab] Extracting URL: https://www.youtube.com/playlist?list=PL3-sRm8xAzY9gpXTMGVHJWy_FMD67NBed
[youtube:tab] PL3-sRm8xAzY9gpXTMGVHJWy_FMD67NBed: Downloading webpage
[youtube:tab] PL3-sRm8xAzY9gpXTMGVHJWy_FMD67NBed: Redownloading playlist API JSON with unavailable videos
[download] Downloading playlist: New Songs 2024 - New Music Playlist - New Music & Latest Hits
[youtube:tab] PL3-sRm8xAzY9gpXTMGVHJWy_FMD67NBed page 1: Downloading API JSON
[youtube:tab] Playlist New Songs 2024 - New Music Playlist - New Music & Latest Hits: Downloading 100 items of 100
[download] Downloading item 1 of 100
[youtube] Extracting URL: https://www.youtube.com/watch?v=ekr2nIex040
[youtube] ekr2nIex040: Downloading webpage
[youtube] ekr2nIex040: Downloading ios player API JSON
[youtube] ekr2nIex040: Downloading mweb player API JSON
[debug] [youtube] ekr2nIex040: ios client https formats require a PO Token which was not provided. They will be skipped as they may yield HTTP Error 403. You can manually pass a PO Token for this client with --extractor-args "youtube:po_token=ios+XXX. For more information, refer to  https://github.com/yt-dlp/yt-dlp/wiki/Extractors#po-token-guide . To enable these broken formats anyway, pass --extractor-args "youtube:formats=missing_pot"
[debug] [youtube] Extracting signature function js_03dbdfab_103
[debug] Loading youtube-sigfuncs.js_03dbdfab_103 from cache
[debug] Loading youtube-nsig.03dbdfab from cache
[debug] [youtube] Decrypted nsig sw3pVVxQG9ewFHI4P => W-YOPVBiaSSW9Q
[debug] [youtube] Extracting signature function js_03dbdfab_107
[debug] Loading youtube-sigfuncs.js_03dbdfab_107 from cache
[debug] Loading youtube-nsig.03dbdfab from cache
[debug] [youtube] Decrypted nsig Iw0fUYOB0zk1svDdt => 52AglLsc8_8nAA
[youtube] ekr2nIex040: Downloading m3u8 information
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, vcodec, channels, acodec, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec, channels, acodec, lang, proto, size, br, asr, vext, aext, hasaud, id
[info] ekr2nIex040: Downloading 1 format(s): 251
[debug] Invoking http downloader on "https://rr1---sn-8vq54vox2u-v2vl.googlevideo.com/videoplayback?expire=1735504416&ei=wF1xZ-fzEq2hvdIPz9-T2AQ&ip=<IP_ADDRESS>&id=o-AKh_V510_6-3R2XZpZryxL0OEH7whM-pZQUuYAxHEWxQ&itag=251&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&met=1735482816%2C&mh=7E&mm=31%2C29&mn=sn-8vq54vox2u-v2vl%2Csn-8vq54vox2u-apns&ms=au%2Crdu&mv=m&mvi=1&pl=19&rms=au%2Cau&gcr=pt&initcwndbps=3322500&bui=AfMhrI97ae1e_CuNJQSmiK8xk_F3fOIbJiq8TtP7pPBgdqERbhExEEYlBFOAludM6kMQRQu5hPgmQ6vQ&vprv=1&svpuc=1&mime=audio%2Fwebm&ns=BXeRrWlpeIx7Edi0aZku4KwQ&rqh=1&gir=yes&clen=2710676&dur=173.401&lmt=1729642612123602&mt=1735482322&fvip=1&keepalive=yes&fexp=51326932%2C51331020%2C51335594%2C51371294&c=MWEB&sefc=1&txp=4532434&n=52AglLsc8_8nAA&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cgcr%2Cbui%2Cvprv%2Csvpuc%2Cmime%2Cns%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&lsparams=met%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Crms%2Cinitcwndbps&lsig=AGluJ3MwRgIhAMDb-FZv9HUD36sbwbUuTEKVjBTFty8fwHntY0P190_KAiEAi1ibtOtnLiHFHPvtBx81kqPgwMyhVbUj9VtR__WOpgA%3D&sig=AJfQdSswRgIhAKRcR3FdcUZDrs-w6OURpgfHmwtMDqd04Ec8obTzPLpZAiEAgiXCuejwfz_nRwKmHQI2b4RyIEmolWJhRg5dfKHJWp0%3D"
[debug] File locking is not supported. Proceeding without locking
[download] Destination: Albuns\29.12.2024\New_2024\ROSÉ & Bruno Mars - APT. (Official Music Video) [ekr2nIex040].webm
[download] 100% of    2.59MiB in 00:00:00 at 13.35MiB/s
[debug] ffmpeg command line: bin\ffmpeg.exe -i "file:Albuns\29.12.2024\New_2024\ROSÉ & Bruno Mars - APT. (Official Music Video) [ekr2nIex040].webm"
[ExtractAudio] Destination: Albuns\29.12.2024\New_2024\ROSÉ & Bruno Mars - APT. (Official Music Video) [ekr2nIex040].opus
[debug] ffmpeg command line: bin\ffmpeg.exe -y -loglevel repeat+info -i "file:Albuns\29.12.2024\New_2024\ROSÉ & Bruno Mars - APT. (Official Music Video) [ekr2nIex040].webm" -vn -acodec copy -movflags +faststart "file:Albuns\29.12.2024\New_2024\ROSÉ & Bruno Mars - APT. (Official Music Video) [ekr2nIex040].opus"
Deleting original file Albuns\29.12.2024\New_2024\ROSÉ & Bruno Mars - APT. (Official Music Video) [ekr2nIex040].webm (pass -k to keep)
[VideoConvertor] Converting video from opus to mp3; Destination: Albuns\29.12.2024\New_2024\ROSÉ & Bruno Mars - APT. (Official Music Video) [ekr2nIex040].mp3
[debug] ffmpeg command line: bin\ffmpeg.exe -y -loglevel repeat+info -i "file:Albuns\29.12.2024\New_2024\ROSÉ & Bruno Mars - APT. (Official Music Video) [ekr2nIex040].opus" -map 0 -dn -ignore_unknown -movflags +faststart "file:Albuns\29.12.2024\New_2024\ROSÉ & Bruno Mars - APT. (Official Music Video) [ekr2nIex040].mp3"
Deleting original file Albuns\29.12.2024\New_2024\ROSÉ & Bruno Mars - APT. (Official Music Video) [ekr2nIex040].opus (pass -k to keep)
[download] Downloading item 2 of 100
[youtube] Extracting URL: https://www.youtube.com/watch?v=kPa7bsKwL-c
[youtube] kPa7bsKwL-c: Downloading webpage
[youtube] kPa7bsKwL-c: Downloading ios player API JSON
[youtube] kPa7bsKwL-c: Downloading mweb player API JSON
[debug] [youtube] kPa7bsKwL-c: ios client https formats require a PO Token which was not provided. They will be skipped as they may yield HTTP Error 403. You can manually pass a PO Token for this client with --extractor-args "youtube:po_token=ios+XXX. For more information, refer to  https://github.com/yt-dlp/yt-dlp/wiki/Extractors#po-token-guide . To enable these broken formats anyway, pass --extractor-args "youtube:formats=missing_pot"
[debug] Loading youtube-nsig.03dbdfab from cache
[debug] [youtube] Decrypted nsig 8ovv45jBh4Vcn2KOn => 3qc31pDVs2FqEA
[debug] Loading youtube-nsig.03dbdfab from cache
[debug] [youtube] Decrypted nsig z17Pbj201Jtisje9s => 1p3MMQ_KU8Ovzg
[youtube] kPa7bsKwL-c: Downloading m3u8 information
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, vcodec, channels, acodec, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec, channels, acodec, lang, proto, size, br, asr, vext, aext, hasaud, id
[info] kPa7bsKwL-c: Downloading 1 format(s): 251
[debug] Invoking http downloader on "https://rr3---sn-8vq54vox2u-v2vl.googlevideo.com/videoplayback?expire=1735504421&ei=xV1xZ4ieBP-ShcIP8omasAM&ip=<IP_ADDRESS>&id=o-AEx0Deq0h4ZHywwHwmxFtYOeXwgLoVDxxtVx8POw3PvC&itag=251&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&met=1735482821%2C&mh=Ji&mm=31%2C29&mn=sn-8vq54vox2u-v2vl%2Csn-8vq54vox2u-apn6&ms=au%2Crdu&mv=m&mvi=3&pl=19&rms=au%2Cau&gcr=pt&initcwndbps=3322500&bui=AfMhrI-UI-Xv12_LCna2Kw_VtyyXvCMMxrkAj5zVTTvGj4EvMJsCkmKTTGR4b-1873hN_Zt5lnGjGlpu&vprv=1&svpuc=1&mime=audio%2Fwebm&ns=cFfmuRNxfMwvRwzmaFcTx3AQ&rqh=1&gir=yes&clen=4113988&dur=252.321&lmt=1731709075916431&mt=1735482322&fvip=2&keepalive=yes&fexp=51326932%2C51331020%2C51335594%2C51371294&c=MWEB&sefc=1&txp=4532434&n=1p3MMQ_KU8Ovzg&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cgcr%2Cbui%2Cvprv%2Csvpuc%2Cmime%2Cns%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&lsparams=met%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Crms%2Cinitcwndbps&lsig=AGluJ3MwRAIgOFn7xPYJioqI5891Hhe41bbH18Mt6b8o8kI2SzZk9S0CIEb_qs-BWD1XvLctgnMZ4amVBqauzP7A76vwKqMtX8HS&sig=AJfQdSswRQIgP1gTVP-6pFDoGN_iWYwSc9OzsDwXEngsTjL8-vIbw_QCIQDymFkLFC3_luMfCrcyCc9nN6k219g1OF6a2Cm5umNvwQ%3D%3D"
[download] Destination: Albuns\29.12.2024\New_2024\Lady Gaga, Bruno Mars - Die With A Smile (Official Music Video) [kPa7bsKwL-c].webm
[download] 100% of    3.92MiB in 00:00:00 at 23.53MiB/s
[debug] ffmpeg command line: bin\ffmpeg.exe -i "file:Albuns\29.12.2024\New_2024\Lady Gaga, Bruno Mars - Die With A Smile (Official Music Video) [kPa7bsKwL-c].webm"
[ExtractAudio] Destination: Albuns\29.12.2024\New_2024\Lady Gaga, Bruno Mars - Die With A Smile (Official Music Video) [kPa7bsKwL-c].opus
[debug] ffmpeg command line: bin\ffmpeg.exe -y -loglevel repeat+info -i "file:Albuns\29.12.2024\New_2024\Lady Gaga, Bruno Mars - Die With A Smile (Official Music Video) [kPa7bsKwL-c].webm" -vn -acodec copy -movflags +faststart "file:Albuns\29.12.2024\New_2024\Lady Gaga, Bruno Mars - Die With A Smile (Official Music Video) [kPa7bsKwL-c].opus"
Deleting original file Albuns\29.12.2024\New_2024\Lady Gaga, Bruno Mars - Die With A Smile (Official Music Video) [kPa7bsKwL-c].webm (pass -k to keep)
[VideoConvertor] Converting video from opus to mp3; Destination: Albuns\29.12.2024\New_2024\Lady Gaga, Bruno Mars - Die With A Smile (Official Music Video) [kPa7bsKwL-c].mp3

...

I would advise you to delete this post, and then log out and back in on all your devices (I recommend following https://www.wikihow.com/Sign-Out-of-Your-Google-Account-on-All-Devices-at-Once)
You seem unaware that cookies files provide full access to your account, bypassing passwords, 2fa, and security alerts
If you follow the tutorial above, your cookies file will be invalidated, making it no longer problematic
Happy New Year, and I’m sorry that your attempt to be helpful backfired so badly

I would advise you to delete this post, and then log out and back in on all your devices (I recommend following https://www.wikihow.com/Sign-Out-of-Your-Google-Account-on-All-Devices-at-Once)
You seem unaware that cookies files provide full access to your account, bypassing passwords, 2fa, and security alerts
If you follow the tutorial above, your cookies file will be invalidated, making it no longer problematic
Happy New Year, and I’m sorry that your attempt to be helpful backfired so badly

Hi!
I don´t have Firefox. i used Thor Browser to navigate to Youtube nad don´t logged there..., just copy the link.
I Still don´t know where yt-dlp.exe get the cookies!?
For youtube logged i use Edge...
I still have my account comprimised?????
Please replay.

I don't think those were logged-in cookies. You don't have anything to worry about. But for the future, I'd suggest not publicly posting any cookie data just to be safe.
Sharing cookies is not a valid solution, so I am closing this as a duplicate of the pinned issue

As per the pinned issue https://github.com/yt-dlp/yt-dlp/issues/11868 2024-12-16 was the last day yt-dlp worked without

--cookies-from-browser Firefox


[HOSTING-1031] Added multiselect-parameter plugin permissions

Description
The new multiselect-parameter-plugin has been submitted by me in hosting request HOSTING-1031 and was pulled to the jenkinsci organization today. The new repo URL is:
https://github.com/jenkinsci/multiselect-parameter-plugin
The resolved hosting request link is:
https://issues.jenkins-ci.org/browse/HOSTING-1031
Thanks for merging!
Sebastian
Submitter checklist for adding or changing permissions
Always

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

For a newly hosted plugin only

[x] Add link to resolved HOSTING issue in description above

For a new permissions file only

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

Reviewer checklist (not for requesters!)

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

There are IRC Bot commands for it

Ooops, an IOException occurred while checking the PR. That's probably not my fault, is it?

I accidentally removed part of the template. Sorry, I will try to open a new request.


(BKR-191) replace is_cygwin? with a more understandable name

create is_powershell?, update usages of is_cygwin as appropriate
move powershell only code into pswindows host object
fixes related to breakages discovered when this code was moved

Refer to this link for build results (access rights to CI server needed):
http://jenkins-beaker.delivery.puppetlabs.net//job/qe_beaker_btc-intn/784/
Test FAILed.

Refer to this link for build results (access rights to CI server needed):
http://jenkins-beaker.delivery.puppetlabs.net//job/qe_beaker_btc-intn/788/
Test FAILed.

retest this please

Refer to this link for build results (access rights to CI server needed):
http://jenkins-beaker.delivery.puppetlabs.net//job/qe_beaker_btc-intn/789/
Test FAILed.

Refer to this link for build results (access rights to CI server needed):
http://jenkins-beaker.delivery.puppetlabs.net//job/qe_beaker_btc-intn/792/
Test FAILed.

retest this please

Refer to this link for build results (access rights to CI server needed):
http://jenkins-beaker.delivery.puppetlabs.net//job/qe_beaker_btc-intn/793/
Test FAILed.

retest this please

Refer to this link for build results (access rights to CI server needed):
http://jenkins-beaker.delivery.puppetlabs.net//job/qe_beaker_btc-intn/796/
Test FAILed.

retest this please

Refer to this link for build results (access rights to CI server needed):
http://jenkins-beaker.delivery.puppetlabs.net//job/qe_beaker_btc-intn/800/
Test FAILed.

Errors only on puppetdb, which does not run against windows - so I believe unrelated.


DEP: raise on >1-dim inputs for optimize.minimize

Follow-up to https://github.com/scipy/scipy/pull/15297 (as well as #15739 and https://github.com/scipy/scipy/pull/15804): raise error for 1.11

Note: not actionable until we're starting to develop for 1.11.0


Closes: #1

Update validations.py python script.
Fixed the behavior of validate_user function in validation.py.
Fixes #<issue_number_goes_here>

It's a good idea to open an issue first for discussion.

[x] Tests pass
[ ] Appropriate changes to README are included in PR

@googlebot I signed it!


[MPWG documentation]  2022 Marketing Plan - in detail

Direct export from the MPWG 2022 Project plan to enable the creation of a more detailed document as feedback provided from the MP project plan call stated the need of such improvement! https://docs.google.com/presentation/d/1jX1YfeOEN_k60voVj9CVGwT7yXvlF8NA/edit#slide=id.p11

@aeiras What next steps should be taken on this ticket?  Should we look for volunteers to own any aspects of this in the next meeting?

Slide 2 - Branding and Compatibiity is no longer applicable to MP.
We can close the ticket as many items are being tackled.
--- 1 thing I would like to submit as a call to action for Neha and Neha you can say, "no bandwidth" for 2021 or similar.
@nsardana-bny, Neha,
It could be great if you choose to become the Steward on the Marketing documentation. There is no need to wait for a call. Either we use a new ticket or the mailing list to discuss.
I wrote the MPWG Onboarding members currently link to the MPWG page https://microprofile.io/workinggroup/
https://github.com/microprofile/microprofile-wg/wiki/MicroProfile-Working-Group:--Members-Onboarding
Ideally, other members help with the parts within.
For example,  Committer Rep Onboarding wiki thread https://groups.google.com/g/microprofile-marketing/c/YePKMccVhhc
The Marketing wiki follows the same form. It ought to be inserted into the main Onboarding document. All the specific wiki's will make the document cleaner, shorter and much more consumable at one try.
Now,  the marketing draft (gathers all the current stuff (documented) under Marketing into 1 document) ought to be drafted under Community documentation and reviewed before being exported as a standalone wiki under MPWG repo and linked to the Main document of onboarding new members.

openly brainstorming. Thank you for facilitating the exchange, amazing!


fix(list): replaced filterdeep with somedeep

Closes #1106
Summary

Replaced filterDeep with someDeep for added performance in List

Looks like there's a minor defect with selection - selecting certain items are changing selected state for unrelated items in other groups.

Edit: looks like the defect is currently present in production. Would be awesome if you could fix it here, but we can open a separate issue if you would prefer.

Thanks for pointing it out. I rather push a functional PR. I will spend more time on it to fix it.

:tada: This PR is included in version 2.93.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


release 0.5.0

@rultor release tag=0.5.0

@rultor release tag=0.5.0

@dgroup OK, I will release it now. Please check the progress here

@rultor release tag=0.5.0

@dgroup Done! FYI, the full log is here (took me 5min)


[C#] DirectBuffer subclassing support

The C# DirectBuffer class is marked as sealed and has no virtual members so cannot be subclassed. The Java DirectBuffer is not final and has no final members so supports subclassing. Could the C# version be unsealed to match?
My use case is to support dynamically growing a buffer if it is smaller than required to encode a message. There is a comment in checkLimit() in DirectBuffer.java that suggests overriding this method is the intended approach.
There might be a performance argument not to use virtual methods but there are conflicting statements online about whether it makes any difference (the same IL is generated in both cases), it would obviously need to be benchmarked.

Closing for now as C# is no longer supported unless someone wants to port the RC3 code.


Unable to sign xml file

Hi!
Thank you for this effort! I was trying the library, and after some modifications to the source code, particularly a few missing include clauses and a more intriguing error, that, may explain (perhaps) why I am not being able to sucessfully sign the .xml I was able to build the library.
I was "forced" to change the  xmlsign.cpp source file, specifically bool QXmlSign::sign() because the compilation failed as xmlSecCryptoAppKeyLoad method was not declared. I used  xmlSecCryptoAppKeyLoadEx instead, and to accomodate this change also added a new private member of type unsigned int to the Certificate class to match the argument list of the xmlSecCryptoAppKeyLoadEx symbol. After this change, I was able to build xmlsec-qt.
Now I was trying to sign a demo xml by including this library in a minimalist Qt project. I am using the following code
`QDomDocument targetDocument;
QFile file("/home/dev/mini_projects/xmlsign/data/demo.xml");
if (!file.open(QIODevice::ReadOnly))
    return;

if (!targetDocument.setContent(&file)) {
    file.close();
    return;
}
file.close();

QXmlSecCertificate certificateData;
QXmlSign signer;
QXmlSec xmlsec;
QString keyInfoId;

certificateData.setFormat(QXmlSecCertificate::Pkcs12);
certificateData.setFilepath("/home/dev/mini_projects/xmlsign/data/u718ja1.p12");
certificateData.setPassword("blablabla");
certificateData.setType(0);

signer.withSignatureId("Signature-a53a6ab2")
    .useNamespace("ds")
    .useCertificate(certificateData)
    .useDocument(targetDocument);

keyInfoId = signer.signatureContext().tagId("KeyInfo");

signer.useKeyInfo(QXmlSignKeyInfo()
                      .withId(keyInfoId)
                      .withKeyValue()
                      .withX509Data()
                  );

signer.useSignInfo(QXmlSignInfo()
.addReference(QXmlSignReference()
  .withType(QUrl("http://www.w3.org/2000/09/xmldsig#Object"))
  .useAlgorithm(QUrl("http://www.w3.org/2000/09/xmldsig#Object"))
  .addTransform(QUrl("http://www.w3.org/2000/09/xmldsig#enveloped-signature"))
  .addTransform(QUrl("http://www.w3.org/TR/1999/REC-xpath-19991116"))
)
.addReference(QXmlSignReference()
  .withUri('#' + keyInfoId)
  .useAlgorithm(QUrl("http://www.w3.org/2001/04/xmlenc#sha512"))
)
);

if (signer.sign())
{
    std::cerr << "Successfully signed XML document" << std::endl;
    std::cout << signer.toString().toStdString() << std::endl;
}
else
    std::cerr << "Failed to sign XML document." << std::endl;`

Please note the line certificateData.setType(0) with the call of the setter of the "type" member which I added to the Certificate class in order to be able to call the xmlSecCryptoAppKeyLoadEx method.
When signign, the following error is shown:

Anybody can help me? I am in an effort to port some Python code used to sign xml files to C++ and found this library very useful!

I'd very much like to understand how to change from xmlSecCryptoAppKeyLoad to xmlSecCryptoAppKeyLoadEx. I cannot implement such a change as is, since xmlSecCryptoAppKeyLoadEx is not defined in the setup in which I use this library. It seems like there are multiple implementations, and we're using different ones.
The library still builds on Ubuntu 22.04, and is currently live in a production setup, signin clients' invoices. It is built using the libxmlsec1-dev and libxmlsec1-openssl system packages.
Also works on my personal setup with Fedora 38. The important part might be to use the openssl implementation of libxmlsec.
I'll go back to this once I'm available, but it's the best I can do on the little time I have right now. I noticed I never finished writing the library's tests, so I'll have to get on that once I find the time. In the meanwhile, please confirm your setup to me.

I am sorry. My last comment was a bit unclear, perhaps. I re-started from zero.
My setups is the one following:

Forget about the mention "and to accomodate this change also added a new private member of type unsigned int to the Certificate class to match the argument list of the xmlSecCryptoAppKeyLoadEx symbol". However, I was indeed forced to use xmlSecCryptoAppKeyLoad due to unavailablity of xmlSecCryptoAppKeyLoad in my system :-(
Basically, I changed the line dsigCtx->signKey = xmlSecCryptoAppKeyLoad(sslCertificate.xmlsec.filepath().toUtf8().constData(), sslCertificate.xmlsec.xmlsecFormat(), sslKeyPassphrase.constData(), NULL, NULL); to dsigCtx->signKey = xmlSecCryptoAppKeyLoadEx(sslCertificate.xmlsec.filepath().toUtf8().constData(), xmlSecKeyDataTypePrivate, xmlSecKeyDataFormatPkcs12,sslKeyPassphrase.constData(), NULL, NULL). After this, and sucessfully building libxmlsec-qt5 I tried the following code. My end goal is also to sign invoices with this library (xades-bes).
`    QDomDocument targetDocument;
QFile file("/home/prog5/dev/mini_projects/xmlsign/data/demo.xml");
if (!file.open(QIODevice::ReadOnly))
    return;

if (!targetDocument.setContent(&file)) {
    file.close();
    return;
}
file.close();

QSslCertificate certificateData;
QXmlSign signer;
QString keyInfoId;

certificateData.setFormat(QXmlSecCertificate::Pkcs12);
certificateData.setFilepath("/home/prog5/dev/mini_projects/xmlsign/data/CV-FE-587817798-CSE.pfx");
certificateData.setPassword("Z!@G6n4h");
//certificateData.setType(0);

signer.withSignatureId("Signature-a53a6ab2")
    .useNamespace("ds")
    .useCertificate(certificateData)
    .useDocument(targetDocument);

keyInfoId = signer.signatureContext().tagId("KeyInfo");

signer.useKeyInfo(QXmlSignKeyInfo()
                      .withId(keyInfoId)
                      .withKeyValue()
                      .withX509Data()
                  );

signer.useSignInfo(QXmlSignInfo()
.addReference(QXmlSignReference()
  .withType(QUrl("http://www.w3.org/2000/09/xmldsig#Object"))
  .useAlgorithm(QUrl("http://www.w3.org/2000/09/xmldsig#Object"))
  .addTransform(QUrl("http://www.w3.org/2000/09/xmldsig#enveloped-signature"))
  .addTransform(QUrl("http://www.w3.org/TR/1999/REC-xpath-19991116"))
)
.addReference(QXmlSignReference()
  .withUri('#' + keyInfoId)
  .useAlgorithm(QUrl("http://www.w3.org/2001/04/xmlenc#sha512"))
)

);
if (signer.sign())
{
    std::cerr << "Successfully signed XML document" << std::endl;
    std::cout << signer.toString().toStdString() << std::endl;
}
else
    std::cerr << "Failed to sign XML document." << std::endl;

`
I end up with the following error:
func=xmlSecOpenSSLAppPkcs12LoadBIO:file=app.c:line=1287:obj=unknown:subj=PKCS12_verify_mac:error=4:crypto library function failed:openssl error: error:00000000:lib(0):func(0):reason(0)
func=xmlSecOpenSSLAppKeyLoadBIO:file=app.c:line=410:obj=unknown:subj=xmlSecOpenSSLAppPkcs12LoadBIO:error=1:xmlsec library function failed:
func=xmlSecOpenSSLAppKeyLoadEx:file=app.c:line=266:obj=unknown:subj=xmlSecOpenSSLAppKeyLoadBIO:error=1:xmlsec library function failed:filename=/home/prog5/dev/mini_projects/xmlsign/data/CV-FE-587817798-CSE.pfx
QXmlSign: failed to load private key from QSslKey(PrivateKey, OPAQUE, -1)
Failed to sign XML document.
I have no idea what I am doing wrong and I would really love to build upon this library to implement my xades-bes xml signatures...I hope you can clarify me what I am doing wrong in case it's obvious for you.
Sincerely!

I can already tell we're not using the same version of libxmlsec: it seems the documentation I had been using as reference was out of date. But I didn't notice, because even the latest version of Fedora and Ubuntu are packaging the previous version of libxmlsec.
I've pushed a patch that should work with libxmlsec 1.3.x: it hasn't been tested yet, but it should now build without the modification you had to make on the call to xmlSecCryptoAppKeyLoad.
More on topic: it seems like the issue you're having is happening because you didn't call useSslKey on the QXmlSign object. It's a pain in the butt to get PKCS12 certificate to work, and there's an extra step you need to take to create a QSslKey object that you must then provide through useSslKey.
There are several ways to achieve this result, and you might not always need to generate the SSL key on the spot, which is why this library doesn't do it for you. But if you are indeed working with only a P12 file, then you need to use Qt's importPkcs12, such as:
bool fillThatSslKey(const QXmlCertificate& certificateData, QSslKey& signingSslKey)
{
  bool success = false;
  QFile p12File(certificateData.filepath());
  const QString& password(certificateData.password());
  QSslCertificate dummy; // We're not going to be using this one, but it still needs to be there

  if (p12File.open(QIODevice::ReadOnly))
  {
    success = QSslCertificate::importPkcs12(&p12File, &sslKey, &dummy, nullptr, password.toUtf8());
    if (success)
      qDebug() << "We're good to go";
    else
      qDebug() << "Hopefully this will never happen to you, because importPkcs12 isn't exactly verbose about what might go wrong";
  }
  return success;
}

Which you could then add to your code like this:
int main()
{
  QXmlSecCertificate certificateData;
  QXmlSign signer;
  QXmlSec xmlsec;
  QString keyInfoId;

  certificateData.setFormat(QXmlSecCertificate::Pkcs12);
  certificateData.setFilepath("/home/dev/mini_projects/xmlsign/data/u718ja1.p12");
  certificateData.setPassword("blablabla");
  certificateData.setType(0);

  // Creating the QSslKey
  QSslKey sslKey;
  fillThatSslKey(certificateData, sslKey);

  signer.withSignatureId("Signature-a53a6ab2")
      .useNamespace("ds")
      .useSslKey(sslKey, certificateData.password()) // Using the QSslKey
      .useCertificate(certificateData)
      .useDocument(targetDocument);
}

This might not be enough. Signing invoices has been a tedious activity, in my experience. If you wanna see an example of this library being used to sign invoices, you can check out the implementation from our QTicketBAI library.

Good news: I added a signing test based on the code you provided. It's as simple as it gets, and comes with a built-in p12 certificate, making it the ideal baseline for tinkering around.
Bad news: I had to change the algorithm used for the test to pass... I replaced http://www.w3.org/2000/09/xmldsig#Object with http://www.w3.org/2001/04/xmlenc#sha512, which we successfully used for our TicketBAI implementation.
I can't really figure out why: those libxmlsec1 logs don't really speak to me. If that's a deal-breaker for you, I'll try to look it up a bit more.


Security issue: Newly created roles with password are allowed to connect w/o password prompt

How to reproduce:

run a container to listen on some port, create new user and database:
docker run -p 5432:5432 -d --name postgres postgres:9.3.5
psql -h localhost -p 5432 -U postgres
=# create database test; create user test with password 'test'; GRANT ALL privileges ON DATABASE test TO test; \q

After that I would expect that test user can login using his/her password.
psql -h localhost -p 5432 -U test

But password is not required(!!!)
This is really weird and unexpected behavior.

fixed in #36.


Add the size API for TensorFlow NumPy operations.

The equivalent vanilla NumPy operation: https://numpy.org/doc/stable/reference/generated/numpy.ndarray.size.html

Hi Akshay @akshaym , I have revised the places as you suggested. I also tried to add tests for the None shape case. However, when I tried to define a TensorSpec as you suggested and converted using asarray wrapper, it always gives me the error TypeError: data type not understood.

Hi @DarrenZhang01, asarray cannot wrap a TensorSpec.
If you want to test the code for partially defined shapes, you can try something like the following (copying the code I shared previously):
@tf.function(input_signature=[tf.TensorSpec(shape=None, dtype=tf.float32)])
def f(x):
  x = tnp.asarray(x)  # Wraps a graph tensor into a tnp.ndarray
  return tnp.size(x)  # This should fail since the shape is "None"

Note that this code doesn't ever run asarray on a TensorSpec, it runs asarray on the input x (which is a graph tensor that has the shape None, and dtype float32).
You can now call the function f defined above with e.g. f(tnp.ones([2, 3]). If you try the above code exactly without your latest changes for supporting partially defined shapes, it should fail.

Hi @DarrenZhang01, asarray cannot wrap a TensorSpec.
If you want to test the code for partially defined shapes, you can try something like the following (copying the code I shared previously):
@tf.function(input_signature=[tf.TensorSpec(shape=None, dtype=tf.float32)])
def f(x):
  x = tnp.asarray(x)  # Wraps a graph tensor into a tnp.ndarray
  return tnp.size(x)  # This should fail since the shape is "None"

Note that this code doesn't ever run asarray on a TensorSpec, it runs asarray on the input x (which is a graph tensor that has the shape None, and dtype float32).
You can now call the function f defined above with e.g. f(tnp.ones([2, 3]). If you try the above code exactly without your latest changes for supporting partially defined shapes, it should fail.

Thanks very much, Akshay @akshaym ! I got what you said. Now the code is again ready for review.

Thanks very much, @akshaym ! I learned a lot!

In the top-level directory of your tensorflow repo.

@akshaym A small question: Do I have to downgrade bazel to 3.1.0 (I have not found a proper way to do so on Mac)? If I build TensorFlow using bazel 3.5 (latest), the running process seems to be endless...

Hi Akshay @akshaym , as a follow-up to the above message, even if I use bazel 3.1.0, the build process seems to be endless:
INFO: Analyzed target //tensorflow/tools/api/tests:api_compatibility_test (366 packages loaded, 31781 targets configured).
INFO: Found 1 target...
[7,522 / 8,644] 4 actions running
    Compiling tensorflow/core/kernels/relu_op.cc; 48s local
    Compiling tensorflow/core/kernels/linalg/matrix_inverse_op.cc; 26s local
    Compiling tensorflow/core/kernels/gather_nd_op.cc; 14s local
    Compiling tensorflow/core/kernels/gather_nd_op_cpu_impl_0.cc; 7s local

i.e., the amount number right to the slash, 8644, is increasing all the time...


Mapkit won't center?

I'm using this code, where marker and coords are identical objects.
<Map
    token={process.env.REACT_APP_MAPKIT_KEY || ""}
    initialRegion={{
        centerLatitude: coords.lat,
        centerLongitude: coords.lng,
        latitudeDelta: 0.2,
        longitudeDelta: 0.2
    }}
    cameraBoundary={{
        centerLatitude: coords.lat,
        centerLongitude: coords.lng,
        latitudeDelta: 0.2,
        longitudeDelta: 0.2
    }}
>
    {marker && <Marker
        latitude={marker.lat}
        longitude={marker.lng}
        title={marker.location}
    />}
</Map>

The Map is part of a flexbox component that looks roughly like;
._____________________.
| MAP HERE |          |
|----------|          |
|__________|__________|

Whenever I update coordinates with cameraBoundary, the map always centers on the bottom left of the boundary area.
Something I noticed when inspecting the HTML;

  <canvas width="1122" height="494" class="syrup-canvas" aria-hidden="true" style="width: 561px; height: 247px; background-color: rgb(249, 245, 237);"></canvas>
  <canvas class="rt-root" lang="en-US" dir="ltr" aria-hidden="true" width="1122" height="494" style="width: 561px; height: 247px;"></canvas>

You'll notice the canvas width and height values are double the style values. My window.devicePixelRatio setting is set to 2, and I think this may be related to the cause.
Any chance y'all can fix this? I'm happy to just use the default MapKit library but this seemed like a neat and simple solution.

Just to be clear; sometimes the marker isn't even inside of the visible map range when I update coords and marker. I have verified that they are identical objects / have the same values.

Hi @khorwood-openai,
Thank you for your interest in mapkit-react!
The strange behavior you are facing seems to come from MapKit JS itself. The cameraBoundary property available in mapkit-react maps directly to cameraBoundary in MapKit JS. It only controls the range the user is allowed to pan the camera in, not the actual position of the camera. When setting it after map initialization, it seems that MapKit JS will try to move the camera to the closest location where it would fit the new camera boundary, which is not what you want.
What I would suggest doing instead is to use MapKit JS’s imperative API (which is available when using mapkit-react through ref) to move the camera whenever you need:
import React, { useRef, useState } from 'react';
import { Map, Marker } from 'mapkit-react';

const token = "…";

export const MapWithMovingMarker = () => {
  const locations = [
    { name: 'Jet d’eau', latitude: 46.20738751546706, longitude: 6.155891756231 },
    { name: 'Horloge fleurie', latitude: 46.20418989653241, longitude: 6.150997214058191 },
    { name: 'Bains des Pâquis', latitude: 46.21042332922134, longitude: 6.154311850592231 },
  ];

  const [selectedLocationIndex, setSelectedLocationIndex] = useState(0);
  const selectedLocation = locations[selectedLocationIndex];

  const mapRef = useRef<mapkit.Map | null>(null);

  return (

        <Map
          initialRegion={{
            centerLatitude: selectedLocation.latitude,
            centerLongitude: selectedLocation.longitude,
            latitudeDelta: 0.005,
            longitudeDelta: 0.005,
          }}
          token={token}
          ref={mapRef}
        >
          <Marker
            latitude={selectedLocation.latitude}
            longitude={selectedLocation.longitude}
            title={selectedLocation.name}
          />
        </Map>

        <select
          value={selectedLocationIndex}
          onChange={(e) => {
            const newIndex = Number(e.target.value);
            setSelectedLocationIndex(newIndex);

            mapRef.current?.setCenterAnimated(new mapkit.Coordinate(
              locations[newIndex].latitude,
              locations[newIndex].longitude,
            ));
          }}
        >
          {locations.map((location, index) => (
            <option key={location.name} value={index}>{location.name}</option>
          ))}
        </select>

  );
};

https://github.com/user-attachments/assets/f5269673-c351-4ec8-bcae-a172d7cc3a9c

How can you center and zoom in?

@passatgt You can use setRegionAnimated or setCameraDistanceAnimated.

Thanks, thats what i figured. Its a bit difficoult to use setRegionAnimated, because you don't actually set zoom level, but the visible area diameter. And doing setCenterAnimated with setCameraDistanceAnimated doesn't seem to work if you run them both at the same time. Kinda weird we don't have a simple zoom levels like Google Maps from 0 to 22 or something like that.

yeah... I am having a hard time adjusting to the map too. Also I don't know if it is just me but the document from Apple seems really hard to read and know what the hack I have to do with. I don't see any example or anything like that to have a clue. Like glyphImage. It says 'Object' but what object haha

This is my project, looks and kinda works nice: https://points.kvikk.hu
But definitely a steep learning curve, but going to be a lot cheaper compared to Google Maps.

Hi @khorwood-openai,
Thank you for your interest in mapkit-react!
The strange behavior you are facing seems to come from MapKit JS itself. The cameraBoundary property available in mapkit-react maps directly to cameraBoundary in MapKit JS. It only controls the range the user is allowed to pan the camera in, not the actual position of the camera. When setting it after map initialization, it seems that MapKit JS will try to move the camera to the closest location where it would fit the new camera boundary, which is not what you want.
What I would suggest doing instead is to use MapKit JS’s imperative API (which is available when using mapkit-react through ref) to move the camera whenever you need:
import React, { useRef, useState } from 'react';
import { Map, Marker } from 'mapkit-react';

const token = "…";

export const MapWithMovingMarker = () => {
  const locations = [
    { name: 'Jet d’eau', latitude: 46.20738751546706, longitude: 6.155891756231 },
    { name: 'Horloge fleurie', latitude: 46.20418989653241, longitude: 6.150997214058191 },
    { name: 'Bains des Pâquis', latitude: 46.21042332922134, longitude: 6.154311850592231 },
  ];

  const [selectedLocationIndex, setSelectedLocationIndex] = useState(0);
  const selectedLocation = locations[selectedLocationIndex];

  const mapRef = useRef<mapkit.Map | null>(null);

  return (

        <Map
          initialRegion={{
            centerLatitude: selectedLocation.latitude,
            centerLongitude: selectedLocation.longitude,
            latitudeDelta: 0.005,
            longitudeDelta: 0.005,
          }}
          token={token}
          ref={mapRef}
        >
          <Marker
            latitude={selectedLocation.latitude}
            longitude={selectedLocation.longitude}
            title={selectedLocation.name}
          />
        </Map>

        <select
          value={selectedLocationIndex}
          onChange={(e) => {
            const newIndex = Number(e.target.value);
            setSelectedLocationIndex(newIndex);

            mapRef.current?.setCenterAnimated(new mapkit.Coordinate(
              locations[newIndex].latitude,
              locations[newIndex].longitude,
            ));
          }}
        >
          {locations.map((location, index) => (
            <option key={location.name} value={index}>{location.name}</option>
          ))}
        </select>

  );
};

Screenshot.2024-09-08.at.12.03.36.mov

Heya! In order to do this, do I have to add

to html? BTW, thanks you so much for the great package :)

Hey @parttiez, thank you for your interest in mapkit-react!
You don’t need to add


Add v1.15.3 images

If will also fix ##1391 by updating base debian image.

Will this also fix the recent OpenSSL CVEs?

Will this also fix the recent OpenSSL CVEs?

Affected OpenSSL is v3: https://mta.openssl.org/pipermail/openssl-announce/2022-November/000243.html
We are using OpenSSL v1.1.1, so that it's not affected.

@ashie Sure, my bad, sorry. Got mistaken by openssl 3.0.0 gem.


feat: support creating vector indexs

Merge activity

Nov 30, 3:08 PM EST: A user started a stack merge that includes this pull request via Graphite.


3D CollisionObject signals do not trigger when mouse is in "captured" mode

Godot version:
3.1.1
OS/device including version:
Windows 10 Pro version 1809, Ryzen 5 2600X, GTX 660
Issue description:
First off, I'm not sure if this behavior is intended. The documentation says that mouse movement and button presses should still be handled when the mouse mode is set to "captured," but CollisionObject event signals only respond to the mouse when it's in the other three modes. This includes mouse_entered(), mouse_exited(), and input_event() signals, though I only included an input_event() signal in the minimum reproduction project.
It is possible to work around this issue by ray casting from the camera, but that requires a bit more code and a tiny performance decrease.
Steps to reproduce:

Set up a signal on a CollisionObject.
set_mouse_mode(Input.MOUSE_MODE_CAPTURED)
Attempt to trigger the signal.

Minimal reproduction project:
Test.zip

I think this is intended. Yes, the movement is captured, but it's about relative movement. You can get an event with how much the mouse moved, but you can't get the exact position. And without position, events that require cursor in certain area (like clicking on object, or mouse enter) won't get triggered.

I was suprised by this issue too. My expectation was, that I get InputEventMouseButton events with position in the middle of the screen also in the _input_event handler of a CollisionObject. This would get me nearer to not change code when I switch cameras between RTS like top-view mouse clicking and FPS view triggering an action in front of me.
When it is in fact intended behaviour, it needs documentation.

Same problem here in v3.2.1 and this is needed for FPS type games where the mouse is captured.  The documentation says there is no need to do raycasting because we have these input events but the events don't work.

@songangel72 I once fixed that for my playground project, but didn't took the time to fully finish the PR. You could take over it if you want to https://github.com/godotengine/godot/pull/31024

+1 setting up a RayCast because of that

I think this is intended.

Was a decision ever made on this? I was hoping that payload's pull request would have been put in to address the issue.

Still doesn't work as of 3.4.4.

I am making an FPS in Godot 4 (alpha 3 atm) where the mouse is captured and I want to use the input_event signal to know when the "mouse" (really, the middle of the screen) is over an object. This issue seems to be present and is forcing me to use a ray instead. Is there any news about it?

I am making an FPS in Godot 4 (alpha 3 atm) where the mouse is captured and I want to use the input_event signal to know when the "mouse" (really, the middle of the screen) is over an object. This issue seems to be present and is forcing me to use a ray instead. Is there any news about it?

See https://github.com/godotengine/godot/pull/31024, which needs to be salvaged to work on the latest master branch.

Still doesn't work as of 4.1

Can confirm that this doesn't work on 4.2.1 either. The documentation concerning this issue is still very misleading.

how has this been a bug for 5 years

Nobody asked but here is my workaround code (very specific - modify it).
It emulates sending mouse events to colliders but instead of real captured mouse ray from camera it uses Raycast3D node.

# This raycast should point from camera to player aim
@onready var raycast2 = $Head/Camera/RayCast2
var last_picked_collider_rid = null
var last_picked_collider = null

func _physics_process(delta):
        raycast2.force_raycast_update()
        if not raycast2.is_colliding():
	        if last_picked_collider:
		        last_picked_collider.mouse_exited.emit()
	        last_picked_collider = null
	        last_picked_collider_rid = null
	        return
        var rid = raycast2.get_collider_rid()
        var collider = raycast2.get_collider()
        if rid != last_picked_collider_rid:
	        if last_picked_collider:
		        last_picked_collider.mouse_exited.emit()
	        collider.mouse_entered.emit()
        var event = InputEventMouseMotion.new()
        if Input.is_action_pressed("shoot"):
	        event = InputEventMouseButton.new()
	        event.button_mask |= MOUSE_BUTTON_MASK_LEFT
	        event.button_index = MOUSE_BUTTON_LEFT
	        event.pressed = true
        collider.input_event.emit(camera, event,
	        raycast2.get_collision_point(),
	        raycast2.get_collision_normal(),
	        raycast2.get_collider_shape())
        last_picked_collider = collider
        last_picked_collider_rid = rid

Here is a project switching between captured and uncaptured mode with different shapes that get highlighted with mouse enter/exit events.
mouse-pick.zip


Is "sound=low"'s description in modules page wrong?

Yes, but only because the behavior is incorrect. The very low and low things should be reverted, and sound should be forced with dsp_off again, because it can't be set in modules.


Improve doc : New webdesign/theme and add informations

On discord, I saw some people that like me, find the doc little raw/hard to use/read. I'm looking to make the phaser3 doc more easy to use/read like:

the php doc because has good summaries/tables of contents and good description;
the twig reference because has good summaries/sheets for reference, I mean this sheet (click here to see);
Unity3D doc and hapi doc because they have good visual (menu is easy to use, element design follow the element level, I mean a normal text is smaller than title) ;
nodejs doc because have simple design but shows the most important information (and informations less important like source or since don't distracte the reader).

Changes request
I want to make some changes:

[ ] Visual (web design) changes: margin, padding, font-weight and add change font for some title/bold element, update font-size depending of element level ;
[ ] Add contents: Add more description, add related content with @see, add @example ? ;
[ ] Improve listener docs, all listener should be have a list of listenable event (for some function is hard to find the corresponding event name available) ;
[ ] Better menu and on the left ?

Some draft
Some suggest of that I want to do:
Properties

Menu

config in menu:

menu:

menu:

Full pages
(It is not the definive web design, to be fast to made my mockup, I worked on hapijs menu html)

Full page:

old mockup: menu without level members/methods

Further idea
I can impletement the phaser2 doc chart in phaser3 if you want

Should I made my PR in phaser3-docs instead here ?

Probably. 😃 Rich may be able to move it.

It would be important to preserve the existing URLs.

A maintener can tell me if I can start my pull request ? :D


[master] Update GitHub Actions

Copied from https://github.com/knative-sandbox/.github/tree/master/workflow-templates.
/assign lberk n3wscott
/cc lberk n3wscott

looks like this is catching a deps issue (though the build failure output wasn't very clear :) )

it's grep - i have a fix here: https://github.com/knative-sandbox/.github/pull/17


DataSource Editor: Dynamic Interface Concept

It's planned that Symphony 2.3 will overhaul the Data Source editor implementation – PHP, HTML, CSS and JavaScript wise.
I'd like to gather a few questions and ideas around this here:

In Symphony 2.2, with JavaScript disabled, the Data Source editor is an unusable mess. How should Symphony 2.3 handle this?
Should Symphony 2.3 still follow the "all in one page approach"? Or should be split the different types of Data Sources into separate pages that are loaded dynamically via AJAX? (I'd say, we should use separate pages)
It would be great if extensions could add new Data Source types and interfaces to the backend (think of Union Data Source which currently has to create a separate admin page that feels quite out of context).
In this context: Should we create new Widgets that help building a Data Source editor page (for the filter section, included elements etc.)?

More to come.

Are there any plans how to move on with this?
My proposal would be to have each interface wrapped in it's own form element that can be fetched with AJAX and shown/hidden with Pickable:

How do extensions (and the core) add interfaces to the Data Source category selection? Via a delegate? If yes, which?
Which is the URL scheme used in the AJAX request to fetch an interface?

If we found answers to these question (or if someone has a better idea how to implement the new interface), I'd update Pickable accordingly. Any volunteers to work on the PHP side of this task?

My proposal would be to have each interface wrapped in it's own form element that can be fetched with AJAX and shown/hidden with Pickable

So Pickable would be able to send AJAX requests to fetch markup data, right?

How do extensions (and the core) add interfaces to the Data Source category selection? Via a delegate?

I think so. At least, it's the most reasonable thing I can come up with. But let's wait for the smart ones ;)

Which is the URL scheme used in the AJAX request to fetch an interface?

/blueprints/datasources/(new|edit/$handle)/#$type

With $type being:
sections|authors|navigation|remote-data|static-data

Just thinking out loud...

Any volunteers to work on the PHP side of this task?

I think I might find some time to work on that.

So Pickable would be able to send AJAX requests to fetch markup data, right?

My idea was to allow an optional data attribute for the select options, like data-request="example.com/symphony/ajax/fetch/my/datasource/interface/". If Pickable doesn't find a matching element to show and if this new data attribute is set, it will send an AJAX request to the URL given in the attribute and expects the missing element as a response which it then adds to the DOM.

/blueprints/datasources/(new|edit/$handle)/#$type

Is there a reason why you use a hash in the URL?

Right this was sort of in my ballpark to get the datasources abstracted enough.
Ideally Datasources are extensions and the dropdown would be selected something similar by something like DatasourceManager::getAvailableTypes(), which would use the ExtensionManager to find all extensions that provide a data.{class}.php file. This file would a function to describe the name of the Datasource, perhaps getDatasourceTypes().
The concept is very S3, and it's something that the whole core needs to move to, not just for Events and Datasources, but eventually Configuration, Cache and Database drivers. Imagine that brave world where all of Symphony is driven by extensions ;)
The biggest showstopper? Maintaining backwards compatibility. I haven't sat down and thought about it enough yet, one initial idea was to support both, have the old legacy datasources that currently sit in TOOLKIT/data-sources and then have 'new' datasources that are provided by extensions. something then would happen when an legacy datasource is loaded to convert it to a new datasource type. But does this happen from the update.php, or does the editor just support old and new datasources?
Much to consider. If anyone has ideas or thoughts, share, we'll crack it together :)

The biggest showstopper? Maintaining backwards compatibility.

I was thinking of something like this:

If the user is creating a new Data Source, he'll be able to use the new, updated Data Source editor.
If the user is editing an old Data Source, he'll not be able to edit it in the Data Source editor. Instead he gets two options:

to upgrade the Data Source to the new scheme (loosing all customisations),
to keep the Data Source as custom Data Source that can only be edited manually.

To make this work, I'd keep the old Data Source files in the core but make them deprecated ("to be removed in 2.4"). The new Data Source editor would completely rely on extensions, so we'd provide the new Data Source classes via new core extensions. This way we could have both – old and new classes – at the same time without generating conflicts.

But does this happen from the update.php, or does the editor just support old and new datasources?

It should not be done automatically on update. Data Source should be converted on user request – I'd like to have a special upgrade page provided by the new editor if an old Data Source is detected.
There is no need to convert an old Data Source until you like to use the editor.

There is no need to convert an old Data Source until you like to use the editor.

Not true, the old Datasource classes take a first parameter of $parent, which doesn't exist anymore. The grab functionality is likely to be looked at as well (not more include). It won't be possible to update all datasources, anything that's been customised (aka allowEditorToParse) shouldn't be touched.
I don't mind your approach though, I was thinking along the same lines (it's nice to see it written down though!).

Not true, the old Datasource classes take a first parameter of $parent, which doesn't exist anymore.

Would it be possible to "pretend" it's still there for old Data Sources?

The grab functionality is likely to be looked at as well (not more include).

But aren't we talking about two different grab functions? The old one and a new one? Why should the old one change? Why shouldn't the old one still use the include?
I'm a bit lost here – but that's just fine, you'll manage to provide us with something working :)

I just like to throw in an idea I had this morning:
If the new Data Source editor relied on extension to fetch the different interfaces, it would be nice to extend some of the core fields to provide special Data Sources as well. I'm looking at the tag list and select box fields that could offer a way to build a Data Source to fetch all their options. This would be quite helpful when you're building a dynamic interface and the navigation should be populated with these values. I'm thinking of something like this:

An interface that let's you select the tag list or select box field you are looking for.
A filter that let's you filter by static or dynamic options

A feature like this would reduce my need for custom Data Sources dramatically.
It's nothing that needs to be done in 2.3 but it would be great if the final Data Source interface setup offered this kind of option for the core fields.

Is anybody working on this?

I'm working on the Providers spec which will be the groundwork for abstracting Datasources (as well as Events, Cache, Database, Log objects) to extensions. However I don't see this as critical for 2.3 and aren't fussed if it doesn't make it, I'd rather get it 'right'.
The Pickable plugin can definitely be improved in the meantime to work with AJAX requests or hide/show ID's (current behaviour).

Right.
In order to use Pickable in 2.3 we need to make sure to output a separate interface per Data Source type. We still have to decide which element to use as container but the separation of interface components is a task that we have to tackle regardless of the implementation (keeping the core Data Source file from 2.2 or moving to an extension based approach).

I saw it more generic to be honest, in that selecting an option would fire an AJAX request to SYMPHONY_URL . option_value and return the output of that page into a Pickable container.

Maybe it's a misunderstanding on my side: I thought you were saying that we might be postponing changes to the DS editor and the underlying classes – in this case the minimum would be the scenario I described if we want to make use of the new layout and Pickable.

Ah right.
No the layout of the DS Editor can be modified/updated, I'm saying the refactor of the Datasource classes to be extensions and having renderDatasourceEditor functions or something to that effect is dropping off the 2.3 radar. It's unnecessary risk at this stage and it'll be double handling testing for this change and then the changes when they become extensions.

Right. I'll try to update Pickable along with Duplicator when I find some spare time over the weekends and post back here when I'm done.

Cheers :)

Okay, Pickable has been updated to be prepared for Data Source interface handling, see #889.

Reminder to everyone/anyone, #671

UI idea from #832:

Following this concept we'd have main select in the ul.actions giving the following default options:

Sections (default)
Author
Navigation
Remote XML (naming under discussion, see #919)
Static XML

more options provided via extensions

Another thing not to forget: Data Source filtering syntax, #699.

Ditto on that.

A providers implementation will build the same markup that currently exists, it's just extensions will be responsible for creating it.
A better interface and the 'dynamic' concept is something can address in 2.3.x. Pushing back to 2.3.x.

Yes, Pickable is already updated to dynamically load the different Data Source UIs. There are only two steps needed before I can implement the JavaScript part:

we need to introduce a type selection and
we need a URL which provides the HTML for the different forms.

So when you say 'type selection', you're referring to how a developer will select a different type of Datasource? The mock from #832 is start, I feel it needs to be more obvious as to what that select box is going to do. As we are familiar with Symphony, it's probably obvious for us, but to a new user there is no indication of what it is going to do.
Yes, we need to figure out the URL or where this will be loaded. Open to any suggestions here.

… I feel it needs to be more obvious as to what that select box is going to do.

It must have been in another thread that you proposed an additional label prefixing the type selection. I can't remember the label copy but we agreed on adding it to my concept above.

Anything on the UI side of the world that can be done to push this a step forward?

Allow extensions to provide HTML from a page (/extension-name/content/datasource-editor/)
Don't build the Datasource Editor HTML for Provided Datasources
Hook the Source select box up to look for the page in 1)
Test that the Pickable AJAX functionality works correctly (especially when editing (aka, not triggered by a change event)).

So perhaps 4.?

So I had a go of implementing this tonight and found a couple of roadblocks.

We need to be able to post information to this URL. The current signature for the function that builds interfaces is buildEditor(XMLElement $wrapper, array &$errors = array(), array $settings = null). $wrapper can be removed easily, as we can add the HTML on the datasource editor side. $errors and $settings are more difficult. I think we will need the ability to post data to this URL as well (perhaps JSON encoded array?), although I'm not sure how best to implement that Pickable side.
I've added the URL to the <option> with data-request, however this doesn't do anything when I select this option (in fact Firefox throws many many exceptions in the Console, Chrome just ignores it though), so is there something I'm missing with Pickable?

Is there a branch I can test?

You can use this broken branch to show the issue

I checked out your branch and I still see the old markup in the Data Source editor. How is it supposed to work at the moment? Seems like I'm missing something …

Have you enabled the Datsource: Remote extension? It should appear in the 'Sources' menu under 'From extensions'.

Ah, that's an important step I missed.


Huge mysql stmt sql no one closed

storage :mysql
skywalking:6.x
mysql:  Can't create more than max_prepared_stmt_count statements
Do u have any suggestion for this  var "max_prepared_stmt_count" in mysql?

I am new to this. I don't know whether there is a connection or statement leak?


Limits ?

Is their a limit on how many channels you can mirror because it works but after I add so many it stops working

Basically what im trying to do is mirror another server that is currently mirroring


Remove non-persistent set-env-java-home block (take 2)

This environment variable only gets created within the chef-client process.
It isn't persisted after the chef run. It therefore gets executed on every
chef client run, reporting that resources have been updated.
Since it isn't persisted it probably isn't needed here.
This fixes #246.
This replaces #294 which failed the CI build. This PR is from a specific branch so can be updated with further commits if necessary (rather than creating a new PR each time).

@erichelgeson do you think it's something that would make sense to ship? Currently this resource is executed on every chef run. This also fixes https://github.com/agileorbit-cookbooks/java/issues/355.

Superseeded by https://github.com/agileorbit-cookbooks/java/pull/394


Scrolling Not Working

I'm not sure if I'm missing something here, but I've installed smooth-scroll via bower install and have used gulp wiredep to inject the script into my layout file.
Both locally and in production the smooth scrolling doesn't work. I'm not a javascript guy but there aren't any errors in the console, it just doesn't smooth scroll...
Production: http://www.john-ellison.com/
Development: https://github.com/johnellison/john-ellison.com

Hi @johnellison,
I didn't find any trace of smooth-scroll in your website http://www.john-ellison.com. I recommend you to generate two version of your javascript files : one minified and one not minified (only concatenate) to read it back easily.
Let me know if you found the bug.

smooth-scroll.js was in my vendor.js file. The bug was that I had my anchor links prefixed with /. I updated them as #first-link, #second-link and so on and it worked.


The content of Bypass field is incorrect if setting proxy to 'Use app proxy settings' then reopen Proxy Settings dialog

Storage Explorer Version: 1.21.0-dev
Build Number: 20210811.4
Branch: main
Platform/OS: Windows 10
Architecture: ia32
How Found: From running test cases
Regression From: Not a regression
Steps to Reproduce

Launch Storage Explorer -> Click 'Edit -> Configure Proxy'.
Select 'Use app proxy settings' -> Click 'OK'
Click 'Edit -> Configure Proxy'.
Check whether the content of Bypass field is correct.

Expected Experience
The content of Bypass field is correct.
Actual Experience
The content of Bypass field is incorrect.

More Info
For Settings panel. Here is the behavior.
Repo Steps:

Go to 'Settings -> Application -> Proxy' -> Select 'Use app proxy settings'.
Set 'Hostname' to 'localhost' and set 'Port' to 8888.
Close 'Settings' tab and reopen.
Observe the content of Bypass.

@v-kellyuo What was the value of Bypass at the beginning of the repro steps? What is the "correct" value? That is, what value are you expecting?
I suspect this is in part due to a bug somewhere in the configurations system, because "localhost, 127.0.01" keeps getting inserted when it shouldn't be (it's the default value).

@craxal

At the beginning of the repo steps, the value of 'Hostname' is 'localhost', and the 'Port' is '8888'.
There is an extra ',' in the content of Bypass field. If we delete the  ',' and then reopen 'Proxy Settings' dialog, the content of Bypass field is as below.

Verified this issue on the build main/20210817.3.Fixed.


[.NET] Turkish NumbersWithUnit (Temperature) support

Temperature support.
Passing: 31
Skipped: 1
Work in progress as same YAML is included in #1703.  once merged this will be updated to ready for review.

@LionbridgeCS #1703 has been merged.

@tellarin: 'Draft' is removed, we will update to resolve the expected merge conflicts :)

@tellarin thank you! yes we will add the definitions file along with a couple of cases.


Appstudio update test-component-pac-apnw

Pipelines as Code configuration proposal
To start the PipelineRun, add a new comment with content /ok-to-test
For more detailed information about running a PipelineRun, please refer to Pipelines as Code documentation Running the PipelineRun
To customize the proposed PipelineRuns after merge, please refer to Build Pipeline customization

Pipelines as Code CI/test-component-pac-apnw-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
6 seconds
init

✅ Succeeded
16 seconds
clone-repository

✅ Succeeded
53 seconds
build-container

✅ Succeeded
12 seconds
inspect-image

✅ Succeeded
11 seconds
deprecated-base-image-check

✅ Succeeded
1 minute
clair-scan

✅ Succeeded
43 seconds
clamav-scan

✅ Succeeded
9 seconds
sbom-json-check

✅ Succeeded
36 seconds
label-check

✅ Succeeded
10 seconds
show-sbom

✅ Succeeded
10 seconds
show-summary

Pipelines as Code CI/test-component-pac-apnw-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
7 seconds
init

✅ Succeeded
20 seconds
clone-repository

✅ Succeeded
27 seconds
build-container

✅ Succeeded
17 seconds
inspect-image

✅ Succeeded
17 seconds
deprecated-base-image-check

✅ Succeeded
9 seconds
clair-scan

✅ Succeeded
36 seconds
clamav-scan

✅ Succeeded
10 seconds
sbom-json-check

✅ Succeeded
15 seconds
label-check

✅ Succeeded
7 seconds
show-sbom

✅ Succeeded
8 seconds
show-summary


Direct on ESP32 S3 or C3

S3 or C3 has an USB port, is it possible to directly run this on S3 or C3 with ELRS on it as well?

Well, you're still going to need a radio, as neither the S3/C3 will talk to ELRS on their own - i.e. would need a RF modem or lora devboard with that onboard already... but given the ... simplicity... of the code... it would seem possible...  The only problem would be is there enough processor time to both talk USB and do all the ELRS work...

Yeah, I understand.
What I was talking about is that, since ELRS code runs on esp32-c3, can we make it output HID protocol instead of CRSF protocol, like  this example
And use C3's USB port to communicate with PC, or use a CP2102 serial chip.

If you have a serial chip in the way, like CP2102, that isn't going to work as a joystick at all, since you no longer have USB HID happening, but instead a dedicated USB UART.
So, if running on an ESP32-S3 (since the C3 does not have native USB) ... I would again have to say it might be possible... but given there doesn't seem to be any receiver hardware using the S3 at present it looks like it is still very much a DIY affair to even contemplate this... (i.e. there are only two DIY targets and the SPRacing gyro receiver using Unified_ESP32S3_2400_RX)...


Add PWD to sys.path as part of the PEP 517 build

in reference to this: https://github.com/pypa/pip/issues/6163

Closed in #1652


Fix unix package scripts

Motivation and Context

resolves #649
Contribution Checklist

[ ] The code builds clean without any errors or warnings
[ ] The PR follows the Contribution Guidelines and the pre-submission formatting script raises no violations
[ ] All unit tests pass, and I have added new tests where possible
[ ] I didn't break anyone :smile:

Has this changed been tested on a linux platform?

Has this changed been tested on a linux platform?

I suppose this answered the question: https://stackoverflow.com/questions/71609989/what-does-p-on-the-windows-command-line-mean.

Has this change been tested on a linux platform?

yes, tested it on Mac


Add basedpyright

Here: https://detachhead.github.io/basedpyright/#/

Already  a PR waiting on approval: Here

This is now added.


fix etcd mutex

What type of this PR
/kind bug
What this PR does / why we need it:
fix etcd mutex
Specified Reivewers:
/assign @liuhaoyang

Does any component use this mutex occurred problems :)

/approve


Improve detect script: /bin/sh, look for Python/Django

Without a requirements.txt and setup.py file in the root, it now will look for manage.py to detect a Django app.
This would allow for moving your requirements.txt file in the bin/pre_compile step.

This is undesired behavior — all apps are simply Python apps. We used to detect Python/Django, but this is no longer useful or necessary.

Ok.
This could mean to only change the output in that case then.
The main point here is to also look for manage.py, and there are other improvements in there that could be cherry-picked.

All Django apps should also have a requirements.txt file, so this isn't a needed change.

Yes, they should have a requirements.txt, but it's often not in the root and/or would not be for Heroku, e.g. if you're using a "requirements" folder, with "requirements/heroku.txt" for Heroku.
There have been several issues and requests to make this more flexible already.
But even when this would still not be accepted, there are other commits in this PR.
What do you think about them?
Should I create separate PRs for them?

Every app should have exactly one requirements.txt file, not multiple.

In general you have different requirements for dev/local, production and testing.


add script to generate Rocket network conf file

After flannel has started and written out the subnet env
file, run mk-rkt-net.sh to generate network conf file
in /etc/rkt/net.d. For example:
$ ./mk-rkt-net.sh 10-mynet.conf
will create /etc/rkt/net.d/10-mynet.conf with "mynet" as
the name of the network.

Would it make sense to have a "flannel" plugin type that read this directly? Or just have flannel output this configuration directly?

For now I think there's value in having flannel logically separate from Rocket. We do the same thing with Docker and mk-docker-opts.sh. The glue script is ok when it's all automated by the distro via unit files or whatever. It's uglier when the user has to do that manually.
An advantage of keeping flannel and rkt decoupled is that it makes it possible to use flannel+veth or flannel+bridge (and flannel+ovs someday). The rkt plugins would be veth, bridge, ovs.
Having said that, I think we need to have a broader discussion on how to reduce the number of networking layers with plugins between flannel, rkt, k8s, etc.

Closing in favor of https://github.com/appc/cni/pull/20


Update go version in go.mod

Follow up to https://github.com/yannh/kubeconform/pull/268

Hi @yannh !
Just for my own education so I understand how the project moves forward, may I ask why is Go 1.22 required? Leaving 1.21 behind breaks compatibility with platforms where Go 1.21 is only available, like RHEL9.
Thanks.

Hi @nbarrientos ! It's not required, I just bump the go version regularly in master to stay ahead of security issues and benefit from go performance improvement. It should build using an older version of Go with no problem - are you rebuilding from sources for RHEL? If yes you might need a small sed/patch for the go.mod to change the version.

Hi!
Thanks for your message! Go 1.21 should be receiving security updates until 1.23 is released so in that front you should be covered.
Yes, I'm building it by calling go install. It'd be nice though if kubeconform could be built vanilla in a reasonable modern Linux distribution like RHEL 9.4 without having to hack go.mod in a pre-build step :) It's okay for me as well to use an older release which is what I'm doing at the moment but at some point this approach might no be viable anymore.

I have the same problem, but I think I found a solution for RHEL 9 without patching go.mod. Just install 1.22 as a package:
go install -v golang.org/dl/go1.22.3@latest \
   && ~/go/bin/go1.22.3 download \
   && ~/go/bin/go1.22.3 install github.com/yannh/kubeconform/cmd/kubeconform@latest \
   && install -o root -g root -m 0755 ~/go/bin/kubeconform /usr/local/bin/

Also works in RHEL 8 btw.

Yup, that's indeed an option. In our case though it'd not be applicable because we try to always avoid "artificially" changing the version of development tooling shipped by the distribution so when we work on a given system we know always what version of Libc, Go, Python, etc to expect.

Yup, that's indeed an option. In our case though it'd not be applicable because we try to always avoid "artificially" changing the version of development tooling shipped by the distribution so when we work on a given system we know always what version of Libc, Go, Python, etc to expect.

The beauty of my proposed solution is that the alternative Go version gets only installed locally at ~/go/bin/go1.22.3. The distributed version doesn't change.


Add Kafka DLQ Subscriber Preview functionality (GSI-1127)

KafkaConfig

Adds one config option, kafka_preview_limit, which is 1 by default.

ExtractedEventInfo

The type_ assignment used to fall back to the header value, but didn't remove it. The result is that the "type" would be found both in the top-level type_ variable as well as in headers["type"]. Now, the value is popped.

KafkaDLQSubscriber

Added a preview method that return at most N=kafka_preview_limit events from the configured DLQ topic.
Moved logic for run(ignore=True) into a new method, ignore().
Renamed run(ignore=False) to process().
Removed the subclassing of InboundProviderBase because this is actually a specialized class that has little overlap with the normal subscriber provider class.
The __init__ function now takes the whole config instance and internally breaks out the values it needs (topics/preview limit)

The preview operation uses AIOKafkaConsumer.getmany with max_records set to the configured preview limit with an arbitrary but reasonable timeout. The point of the timeout is to retrieve the records without hanging forever, since we can't know if or how many records will be available to fetch.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>7
Details

20 of 20 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.08%) to 92.601%

Totals

Change from base Build<PHONE_NUMBER>2:
0.08%

Covered Lines:
2040

Relevant Lines:
2203

💛  - Coveralls


Simplify the task link creation

In order to simplify the task link creation, I propose the following update (to continue the implementation of #669):

Add the possibility to update a task link

I had to update also the task id autocomplete process to make it work for updates. Also, the previous implement prevent the creation / update of a task link without Javascript. Now, without Javascript, a simple task id field is displayed. With Javascript, this task id field is hidden, the task title autocompletion field appears, and the "Save" button is disabled.

Hum.. Someone has any idea about this unit test failure?
1) TaskLinkTest::testValidation

Illegal offset type in isset or empty

/home/travis/build/fguillot/kanboard/vendor/fguillot/simple-validator/src/SimpleValidator/Validators/Unique.php:25
/home/travis/build/fguillot/kanboard/vendor/fguillot/simple-validator/src/SimpleValidator/Validator.php:23
/home/travis/build/fguillot/kanboard/app/Model/TaskLink.php:226
/home/travis/build/fguillot/kanboard/tests/units/TaskLinkTest.php:123

This is passing on my computer, so maybe I am missing something, but I am don't know where.

Ah ok, I didn't see that simpleValidator/Unique was revert back to only accept one field. I removed this validation check.


Docs: specify models directory for location of model weights downloads

I mostly got things working by just copying+pasting Bash commands shown in the README.
Only issue was:

After building, the first example command(./bin/sd -m ../models/sd-v1-4.ckpt -p "a lovely cat") failed because I didn't have the models dir nor anything in it.

Fix was:

mkdir ../models
mv ../sd-v1-4.ckpt ../models/

This just makes that explicit in the weight downloading setup.

This program doesn't do any model downloading for you, the model directory path given in the README.md is merely an example. It could have been written more generally as follows:
./bin/sd -m <MODEL PATH> --prompt "A lovely cat"
Here you would replace  with either the relative or absolute path to the model you want to use (and have previously downloaded).


Fix libcxx build

Member variable AvroRecord::m_values is of type std::vector<AvroDatum> but AvroDatum is only forward-declared at that point. Newer libcxx versions reject such code.
As a remedy, this PR moves class AvroRecord after the declaration of AvroDatum.

@microsoft-github-policy-service agree company="ClickHouse"

Kindly merge, thanks (the button is greyed out for me).

We need to wait until after July release.


Updated method name to use .NET naming guidelines

Summary
Changed method name from parse to Parse to use .NET naming guidelines

Yay! Thanks!