Add jsonl file support in dataset

❗BEFORE YOU BEGIN❗
Are you on discord? 🤗 We'd love to have you asking questions on discord instead: https://discord.com/invite/a3K9c8GRGt
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

@princepride What;s the issue here?

I noticed that your dataset includes loading data via JSON or CSV, could you add support for the jsonl file format?


Authorization Code with PKCE - Getting the code_verifier

Hi
I'm using the following settings to get an auth code from my identity server:
var settings = {
authority: 'https://namidentityserver.xxx-dev.xxx.xx/nidp/oauth/nam/',
client_id: 'b958b9a7-0002-419e-aa03-xxxxxxxxxxxx',
redirect_uri: 'https://localhost:44304/callback.html',
post_logout_redirect_uri: 'https://localhost:44304/callback.html',
response_type: 'code',
scope: 'openid',
silent_redirect_uri: 'https://localhost:44304/frame.html',
automaticSilentRenew: true,
filterProtocolClaims: true,
loadUserInfo: true,
extraQueryParams: {nonce: 'ab8932b6', state: '6b2b1c40d63245a093d4ea6c25a09b97' }
};
oidc-client generates a URL with a code_challenge, the identity server redirects back to me with an auth code. So far so good. I now need the code_verifier used to generate the code_challenge to send to the identity server to get the token - but I can't find it anywhere?
Can anybody help please?

The library handles all that for you in the signinRedirectCallback.

Hi Brock, many thanks for the response.
I tried your suggestion but it's not quite what I'm looking for.
In this case a post is made from the browser to the identity server as below:
<client_id>b958b9a7-0002-419e-aa03-f2e60690c96b</client_id>eyJhbGciOiJB...<code_verifier>cc182064e90a4e6cbb0aa293786a22adfdccb7f3aca54abfbb22abdc826981ca251012b5f30142ce8ca90a525ebd9943</code_verifier><grant_type>authorization_code</grant_type><redirect_uri>https://localhost:44304/callback.html</redirect_uri>
This fails because it doesn't contain client_secret. I don't want this call to be made from the browser. I want to call my own server api passing code and code_verifier. The client_secret is held only on the server. My api will then call the identity server to retrieve the token and pass it back to the browser.
I can retrieve the code ok from the URL but I don't know how to get the code_verifier.
Hope that's a bit clearer.
Your help is much appreciated.
Regards
Tony

I don't want this call to be made from the browser.

This this is the wrong library for you. You should use somethign designed for server-side apps.

Ok, fair comment.
The first call to get the auth code is fine from the browser and this works well.
If I could have got the code_verifier then the second part would have been fine as well.
Thanks for your help.

Is there any particular library you recommend? This is all fairly new to me so would appreciate any suggestions.

I have no idea what tech stack you use on the server. Check here: https://openid.net/developers/libraries/

Ah, sorry it's .NET. Thanks for the link, I'll take a look.
Shame I can't stick with your library. It's worked well for a system with over 300,000 users but the model is changing now.

If you're using ASP.NET Core, then the built-in OIDC authentication handler would be the thing to use. For some reason they never bothered to certify it w/ the OIDC foundation.

Hi
I'm using the following settings to get an auth code from my identity server:
var settings = {
authority: 'https://namidentityserver.xxx-dev.xxx.xx/nidp/oauth/nam/',
client_id: 'b958b9a7-0002-419e-aa03-xxxxxxxxxxxx',
redirect_uri: 'https://localhost:44304/callback.html',
post_logout_redirect_uri: 'https://localhost:44304/callback.html',
response_type: 'code',
scope: 'openid',
silent_redirect_uri: 'https://localhost:44304/frame.html',
automaticSilentRenew: true,
filterProtocolClaims: true,
loadUserInfo: true,
extraQueryParams: {nonce: 'ab8932b6', state: '6b2b1c40d63245a093d4ea6c25a09b97' }
};
oidc-client generates a URL with a code_challenge, the identity server redirects back to me with an auth code. So far so good. I now need the code_verifier used to generate the code_challenge to send to the identity server to get the token - but I can't find it anywhere?
Can anybody help please?

I tried below code in my angularjs and it is working fine for me:
function getLatestCodeVerifier(a, b){
var createDateOne = JSON.parse(a.value).created;
var createdDateTwo = JSON.parse(b.value).created;
// a should come before b in the sorted order
if (createDateOne < createdDateTwo) {
return 1;
// a should come after b in the sorted order
} else if (createDateOne > createdDateTwo) {
return -1;
// a and b are the same
} else {
return 0;
}
}
Object.entries($window.localStorage).forEach(function (valueObject, index){
if (valueObject instanceof Array && valueObject.length > 0 && valueObject[0].contains('oidc.')) {
var key = valueObject[0];
var value = valueObject[1];
oidcCodeVerifier.push({key, value});
}
});
    var latestCodeVerifier = oidcCodeVerifier.sort(getLatestCodeVerifier);
    if (latestCodeVerifier.length > 0) {
        $window.sessionStorage.setItem("code_verifier", JSON.parse(latestCodeVerifier[0].value).code_verifier);
    }


Group claims fix typo "clam" = "claim"

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

Looks good; thanks.


📄  Scrum page

URL www.ssw.com.au/consulting/scrum
### Scrum page changes
- [x] Change headline from “Scrum in action” to “Scrum explained”
- [x] Update video to be 8 Steps To Scrum - Scrum explained - https://www.youtube.com/watch?v=xOvFK328C_Q
- [x] Change From
                The Scrum methodology includes three key parts:
                To
                The Scrum framework includes three key parts:
- [x] Change
                From
                "Acceptance Criteria" and "Definition of Done", for developers to affirm that a feature is completed
                To
                Have a clear "Definition of Done", for developers to affirm that a feature is completed as per the Acceptance Criteria
- [x] Add bullet points to these 3 key parts and remove extra line between them
- [ ] Remove extra line break after the sentence “The Scrum methodology includes three key parts:”
- [x] Update the image for 8 steps to scrum to the latest version
- [x] Update URL for downloading image
                Change from
                It provides clear a view
                To
                It provides a clear view
- [x] Fix broken image

The following task can not be accomplished because the bullets add some extra space to our template.

Remove extra line break after the sentence “The Scrum methodology includes three key parts:”


Create FastAPI Tutorial

Tutorial Request: FastAPI #63

I realize this comment is coming way too late, sorry.
I'd much rather have some tutorials and/or examples locally in this repo, ideally with a sphinx/mkdocs documentation page, than link to another resource that we don't control. This lets us keep the examples up-to-date with the library, because the library tends to change rapidly as we work on new features.
Again, apologies for the late response, and thank you for your effort.


.text-decoration-underline .text-decoration-line-through missing from bootstrap-utilities.css

This is the generated bootstrap-utilities.css: https://github.com/twbs/bootstrap/blob/master/dist/css/bootstrap-utilities.css#L1145
This is the one class available for text-decoration:
.text-decoration-none {
  text-decoration: none !important;
}

This is the $utilities for text-decoration: https://github.com/twbs/bootstrap/blob/master/scss/_utilities.scss#L427
It as the following configuration:
    "text-decoration": (
      property: text-decoration,
      values: none underline line-through
    ),

I expect to have the 3 following generated class (instead of just one):
.text-decoration-none {
  text-decoration: none !important;
}

.text-decoration-underline {
  text-decoration: underline !important;
}

.text-decoration-line-through {
  text-decoration: line-through !important;
}

branch: master

They are generated (see https://twbs-bootstrap.netlify.com/docs/4.3/dist/css/bootstrap-utilities.css)
These utilities were just recently added (https://github.com/twbs/bootstrap/pull/29604) and the css files weren't regenerated in the meantime.

That make perfect sens. Thanks!


Add support for maven.compiler.release/testRelease

Add support for the maven.compiler.release and maven.compiler.testRelease properties which can be used to since Java 9 to provide the --release argument for the Java compiler.
The release version (releaseVersion, testReleaseVersion) is being used over the target version (targetVersion, testTargetVersion) if it was defined, otherwise the target version is being used.

https://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html#release
https://maven.apache.org/plugins/maven-compiler-plugin/testCompile-mojo.html#testRelease
https://docs.oracle.com/javase/9/tools/javac.htm#GUID-AEEC9F07-CB49-4E96-8BC7-BCC2C7F725C9__GUID-D343F6B4-3FDD-43A8-AD24-43DD70214471

Hi @joschi
sorry for the delay. I was not yet able to look into this. I will come back later!
Uwe

Hi,
I am not yet sure what should happen if both releaseVersion and targetVersion are set. Maybe ignore this, but throw exception if they differ?
Of course this must also be added to Gradle and possibly Ant. Maybe the logic to handle both properties and possible differences should be moved to the Checker / Signatures class itsself.
Nevertheless I will target this for version 3.1.
Many thanks!

Thanks @joschi !


Remove Generate Shipping Label button from shipment method card on order details Page in in-progress tab

Description:
Currently, there is an issue where users are click on the Generate Shipping Label button on the Shipment Method card before packing the item. This creates a problem because there is logic that adds the shipping cost to the first label generated before the item is packed. If the user clicks Generate Label without packing the item and the remaining items from the order are brokered to another facility, store associates at that facility may also generate a label, causing the shipping cost to be added multiple times.
Proposed Solution:
Remove the Generate Shipping Label button from the Shipment Method card on the order details page. This way, users will only be able to select the carrier, and the shipping label will only be generated once the item is packed, ensuring that shipping costs are added correctly and only once.

@dt2patel sir Should the button to generate the label also be removed from the Completed tab

I guess not because there is no other option there.

https://jam.dev/c/72cd5678-884e-4ff4-b524-0561b5d6ae1f
Enhancement changes verified and working fine in release v2.8.3. Hence, closing this issue.


Cannot find module 'tailwindcss-animate'

Whenever i setup brand new qwik application with qwikui i generally got error Cannot find module 'tailwindcss-animate' during prettier formating.
After installing tailwindcss-animate it got fixed.

Thanks @harshmangalam! It's in the installation guide of the styled kit we updated recently 🙂


Hot reload not working for changes in JSX components

It's a pain to work on custom React components used in MDX this way.

I think this is related to contentlayer not regenerating pages, probably it only watches for changes in md files

Related issue on Contentlayer's repo: https://github.com/contentlayerdev/contentlayer/issues/261

Closing as irrelevant in Flowershow V2 (with MarkdownDB).


Document that coredns is available as an option for k8s 1.12+ versions only and default and GA

Also remove any references of experimental in the docs.
Review docs to see where kubedns is used to show default. As of v2.2.5, coredns is default.

so coredns is the default provider in 1.14+
and optional for k8s 1.12, 1.13


glibc-2.31 & hwclock

Starting with glibc-2.31, the hwclock throws an error on boot.
`

Setting system clock using the hardware clock [UTC] ...
hwclock: settimeofday() failed: Invalid argument
Failed to set the system clock
[ !! ]
`

glibc changelog ... https://sourceware.org/git/?p=glibc.git;a=blob_plain;f=NEWS;hb=HEAD

Right, relevant entry is:
* The settimeofday function can still be used to set a system-wide time
  zone when the operating system supports it.  This is because the Linux
  kernel reused the API, on some architectures, to describe a system-wide
  time-zone-like offset between the software clock maintained by the kernel,
  and the "RTC" clock that keeps time when the system is shut down.

  However, to reduce the odds of this offset being set by accident,
  settimeofday can no longer be used to set the time and the offset
  simultaneously.  If both of its two arguments are non-null, the call
  will fail (setting errno to EINVAL).

  Callers attempting to set this offset should also be prepared for the call
  to fail and set errno to ENOSYS; this already happens on the Hurd and on
  some Linux architectures.  The Linux kernel maintainers are discussing a
  more principled replacement for the reused API.  After a replacement
  becomes available, we will change settimeofday to fail with ENOSYS on all
  platforms when its 'tzp' argument is not a null pointer.

  settimeofday itself is obsolescent according to POSIX.  Programs that set
  the system time should use clock_settime and/or the adjtime family of
  functions instead.  We may cease to make settimeofday available to newly
  linked binaries after there is a replacement for Linux's time-zone-like
  offset API.

and probably comes from /sbin/hwclock (sys-apps/util-linux package).
sys-apps/util-linux was fixed upstream in https://github.com/karelzak/util-linux/commit/cd781c405be82540484da3bfe3d3f17a39b8eb5c. Don't know if Gentoo backported it.

This is fixed in util-linux 2.36.x.


Make search cast a wider net

Right now, our search code casts a pretty strict net, requiring someone to enter in exactly what's in database to retrieve a record.
Here are a few ways I'd like to loosen it before release:

Make it hyphen agnostic (e.g. when searching for '111-222-3333', it'll find the record if '1112223333' is entered into the form too
Make it case insensitive (e.g. 'susie everyteen' will return the record for Susie Everyteen)

This code lives in app/models/patient.rb

Tagging in @katsdc !

may try to take a stab at this unless others are working on it

Sorry I should have commented, but I am working on this!

Hey @KatSDC, wanted to check in on this -- going okay? Anything I can help with/

@colinxfleming Yes actually I encountered another error once I upgraded Rails that was resolved by also altering the output of the array with the to_s method. So I'm happy to resubmit with the clearer name. Additionally, I was able to resolve the order of the changelog for issue #403. Would you like me to submit that along with the updates to the patient model? Or should I save that for a different pull request?


Refactor  prop/default passing

This PR tries to fix the following warnings:

Warning: value prop on input should not be null. Consider using an empty string to clear the component or undefined for uncontrolled components.
Warning: Failed prop type: You provided a checked prop to a form field without an onChange handler. This will render a read-only field. If the field should be mutable use defaultChecked. Otherwise, set either onChange or readOnly.

Changes

Remove onChange prop expecting the user to decide whether to use it as controlled component or not.
Set value type as string with default ''

We are still spreading {...props} to the input so it is expected to be there. Or not ... if someone decides to use defaultChecked. It is just removed as validation and passing it to the onClick instead.
This change is ignorant of how the client should use the component. You can pass whatever you want.
P.S. I've expected React to handle this internally and apparently it does: https://github.com/facebook/react/issues/13171#issuecomment-405732415

Alright, you convinced me. That makes sense :) I'd still keep the prop type validation for onChange/onClick, but not make it required.
Ah, nice to see that React handles this internally.

Nice.


[rv_core_ibex,doc] Typo in documentation

Description
The register table contains some !!IBUS_ADDR_MATCHING_0 that are probably meant to be some links.

@HU90m do you how to fix this?


AWS STS?

Can distribution connect to S3 via STS credentials?

@lcc2207 Could you be more specific about what this is? What did you try that did not work?

Can distribution be given an IAM account with no real rights to S3 and then assume ROLE via STS to be able to read/write to a given S3 bucket

It looks like there is support in the aws library. I don't think this is accessible via regular configuration.
Do you have documentation on using STS?
Do you have examples of other applications that integrate STS? This will help us to understand what it might look like.
How would you expect it to work?
Instance credentials should be supported, if you are looking for more automated configuration.
@AndreyKostov @BrianBland Any ideas?

I don't have examples, just and ask from our risk team to use STS.

@lcc2207 We'll look into getting this supported.
As an alternative, it might be reasonable to setup a script that can hit STS and inject the resulting tokens into the registries environment. Based on this document, it should be trivial to write a script that can do this on startup.

It is mentioned here https://github.com/docker/distribution/blob/0b3b55e723b5362f68c449a37ac8cff1327c1478/docs/storage-drivers/s3.md that You can provide empty strings for your access and secret keys if you plan on running the driver on an ec2 instance and will handle authentication with the instance's credentials.
Is that just not true?

It actually just works as documented (I just had an issue the lack of policies)

@tobstarr Great to hear.
I'm closing this issue. Let us know if you need something else.


Compute Support for RDNA2 - 6900XT / GFX1030

I have been able to cobble together a small kernel that can run intermittently on the 6900XT / GFX1030. I wanted to capture the issues filed / pull requests in one place so anyone interested can try it with just the public sources.  The biggest showstopper seems to be HIP doesn't work while HSA works (https://github.com/ROCm-Developer-Tools/HIP/issues/2238).
This was all tested on a 5950x + 6900XT with Linux kernel 5.11rc7

[HIP] HIP doesn't work with rocr while rocr seems to work with bandwith tests: https://github.com/ROCm-Developer-Tools/HIP/issues/2238
[AOMP13] (likely defaults to COV4 but you have to force COV3): https://github.com/ROCm-Developer-Tools/aomp/issues/187
[AOMP13] requires this PR to avoid linking clang_rt.builtins on the host: https://github.com/ROCm-Developer-Tools/HIP/pull/2219
[Tensile] Requires a fix for https://github.com/ROCmSoftwarePlatform/Tensile/issues/1282 which is a revert of https://github.com/ROCmSoftwarePlatform/Tensile/commit/5791b7fc28c6c1264fc7941e14d6a4cbbedb8883
[Tensile] I fixed this https://github.com/ROCmSoftwarePlatform/Tensile/pull/1283 so you don't rely on dpkg if you use custom AOMP
[Tensile] Here is an updated branch where you can run Tensile on GFX1030 to generate kernels but it will fail when you run them due to the HIP showstopper above https://github.com/powderluv/Tensile/tree/gfx10-rebase-fixes
[GCN Example] I pushed up an updated example to use GCN on GFX10: https://github.com/Powderluv/LLVM-AMDGPU-Assembler-Extra
[ROCR-Runtime] Running the GCN example above fails intermittently: https://github.com/RadeonOpenCompute/ROCR-Runtime/issues/114
[HSA-Conformance] I updated the HSA-Conformance to build with latest version of check https://github.com/powderluv/HSA-Runtime-Conformance  but it fails a lot of tests
[Roc thunk interface / KFD] KFD Memory tests fail: https://github.com/RadeonOpenCompute/ROCK-Kernel-Driver/issues/108
[RocBLAS] Requesting for rocblas support (closed)
[ROCM] Request for official support (closed)

I hope the issues  / PRs above are useful for anyone determined to get compute working on the latest generation AMD GPUs.
Hopefully soon we will see official support and all the above issues addressed.

Hi @powderluv
Thanks for reaching us. I can not comment on RDNA2 support right now due to the limitations.
We are working on adding all possible new hardware into ROCm environment.
Please stay tuned via our documentation.
Thank you.


DragPanelExtender does not work correctly

Hi,
The DragPanelExtender does not drag correctly in all browsers.
IE v11 -> throws JS error
Firefox -> after dragging, the panel relocates to its old position
Chrome -> after dragging, the panel relocates to its old position
Edge -> after dragging, the panel relocates to its old position
The AJAX Control Toolkit <IP_ADDRESS>
The installation method

[x ] Installer
[ ] NuGet package
[ ] A custom build from the source code

Minimal steps to reproduce the bug
For IE v11 -> Run the demo page (https://ajaxcontroltoolkit.devexpress.com/DragPanel/DragPanel.aspx) and perform drag
For other browsers, please refer the code shared below
Actual result
Drag functionality fails
Expected result
Drag functionality should work correctly in all browsers
Browser(s) used
IE v11
Firefox (v68.4.1)
Chrome (v79.0.3945.130)
Edge (v44.17763.831.0)
A site deployment method

[ ] VS development web-server,
[x ] IIS

As I am not able to upload project files or video showing error, the code is shared below.
aspx:
    <asp:Panel ID="Dialog_Panel" runat="server">

            <asp:Table ID="StatisticTable" Style="width: 100%" CellPadding="0" CellSpacing="1" BorderWidth="1" HorizontalAlign="Center" runat="server">
                <asp:TableRow>
                    <asp:TableCell>
                        <asp:Panel ID="Content_DemoContent_Panel6" runat="server">

Drag Me

This panel will reset its position on a postback or page refresh.

ASP.NET AJAX is a free framework for building a new generation of richer, more interactive, highly personalized cross-browser web applications.  This new web development technology from Microsoft integrates cross-browser client script libraries with the ASP.NET 2.0 server-based development framework.  In addition, ASP.NET AJAX offers you the same type of development platform for client-based web pages that ASP.NET offers for server-based pages.  And because ASP.NET AJAX is an extension of ASP.NET, it is fully integrated with server-based services. ASP.NET AJAX makes it possible to easily take advantage of AJAX techniques on the web and enables you to create ASP.NET pages with a rich, responsive UI and server communication.  However, AJAX isn't just for ASP.NET.  You can take advantage of the rich client framework to easily build client-centric web applications that integrate with any backend data provider and run on most modern browsers.

                        </asp:Panel>
                        <ajaxToolkit:DragPanelExtender
                            ID="DragPanelExtenderDragMePanel"
                            runat="server"
                            TargetControlID="Content_DemoContent_Panel6"
                            DragHandleID="Content_DemoContent_Panel6" />
                    </asp:TableCell>
                </asp:TableRow>
            </asp:Table>

    </asp:Panel>

Please check this.
Thanks and regards

Hello

IE v11 -> throws JS error

I don't see any errors in IE 11:

after dragging, the panel relocates to its old position

Make sure that you don't remove this script block:
https://github.com/DevExpress/AjaxControlToolkit/blob/0a365c6fcf34c465c5ffb5bf2b1577debc6901ce/AjaxControlToolkit.SampleSite/DragPanel/DragPanel.aspx#L7-L17

Hi @AlekseyMartynov,
Thanks for your reply. I still see the same error in IE 11 (exact: 11.973.17763.0). Did you check the code shared above to test in other browsers? I have prepared a short video showing the issue but I am not able to upload it here. It always throws error "Something went really wrong, and we can't process that file" no matter what file type is. Is there any other way to share the files?
Regards

Did you check the code shared above to test in other browsers?

Yes. Refer to the second half of my answer.

Is there any other way to share the files?

Place the files in a ZIP archive and upload here.
Open a ticket at https://devexpress.com/sc. Please include a reference to this thread.

Hi,
I have created the ticket. Please check. https://supportcenter.devexpress.com/ticket/details/t860243/dragpanelextender-does-not-work-correctly
Second half of the answer did not make any difference.

Thank you.
IE error details:

Corresponding source:
// Name:        MicrosoftAjax.debug.js
// Assembly:    System.Web.Extensions
// Version:     <IP_ADDRESS>
// FileVersion: 4.7.3535.0

Sys.UI.DomElement.setLocation = function Sys$UI$DomElement$setLocation(element, x, y) {
    ///
    /// <param name="element" domElement="true"></param>
    /// <param name="x" type="Number" integer="true"></param>
    /// <param name="y" type="Number" integer="true"></param>
    var e = Function._validateParams(arguments, [
        {name: "element", domElement: true},
        {name: "x", type: Number, integer: true},
        {name: "y", type: Number, integer: true}
    ]);
    if (e) throw e; // line 4496
    var style = element.style;
    style.position = 'absolute';
    style.left = x + "px";
    style.top = y + "px";
}

I'm attaching a corrected version of DragExtender_Test.aspx:
DragExtender_Test.aspx.zip
IE 11 errors occur with non-100% zoom. We'll fix it. Meanwhile, add the following script block to the bottom of the page:


Fixes #17309: Added label to edit topic button in streams.

Fixes #17309 [https://github.com//issues/17309]
Added a Label for edit topic button in streams.

@zulipbot add "needs review"

@Uttam-Singhh this seems to have messed up commit history, likely from your using git pull without --rebase.
Check out our GitHub guide for how to avoid this; I'm going to close this PR since #17310 is also open for this issue.

okay @timabbott I will follow up!
Thank you!


Implementing Absolute Error loss function

Resources for the same:
https://towardsdatascience.com/importance-of-loss-function-in-machine-learning-eddaaec69519
https://towardsdatascience.com/understanding-the-3-most-common-loss-functions-for-machine-learning-regression-23e0ef3e14d3

I would like to work on this.

@RidhimaKohli Go ahead issue assigned to you

Fixed in PR #32 .


Fixed step that creates the release start tag when starting a new version

No review needed.

coverage: 36.569%. remained the same
when pulling b4e85066dfeaabb0040955741978f02083c4386c on andy/fix-start-tag-step
into d4ef612b9892ab1463080f9d1f1e945d93b21029 on master.


Support to convert binary MASM to text

Currently we have a to_bytes implementation, but we don't seem to have an equivalent to_text implementation. The to_text would be nice to have while encoding an account to a human readable format.

We do have Display implemented on ProgramAst (see here). Maybe this will work?


Binding parameters using a key value type

Hi
I understand that currently this library supports binding parameters but expects it be in the right order.
select a,b from table1 where a=? and b=? and the binding parameters should be an array in the right order like ["abc", 2]
Is there a way we can support or have support to give the binding parameters as below (This is supported in mssql library).
select a,b from table1 where a=@v1 and b=@v2
request.add(paramname, paramvalue, paramtype)
In the above example it would translate to
request.add("v1", "abc", sql.Varchar)
request.add("v2", 2, sql.Int)
Thanks
Ranjith

I don't think this is possible. See the below quote from MSDN (emphasis mine):

Certain DBMSs allow an application to specify the parameters to a stored procedure by name instead of by position in the procedure call. Such parameters are called named parameters. ODBC supports the use of named parameters. In ODBC, named parameters are used only in calls to stored procedures and cannot be used in other SQL statements.

https://docs.microsoft.com/en-us/sql/odbc/reference/develop-app/binding-parameters-by-name-named-parameters?view=sql-server-2017

Thank you.


broken link

{{{ very small change to getting started doc, seemed like the intention was to make a link? }}}

Thanks for the PR, but I must refuse it. There is nothing wrong with your PR, but it comes at a bad time: I'm about a week away from pushing a rework of all our documentation, which will indirectly fix this issue, and would swallow up your PR anyway, I'll simply wait for that update instead. In any case, thanks for your help!


Adding a new debug configuration prompts intellisense for another debug config

Steps:

Open folder with no launch.json
Go to debug view
Click target dropdown and select "Add configuration"
Select Node

Actual:
Launch.json is generated but focus is set with intellisense dropdown open, which is confusing as pressing enter will select the first dropdown option and generate another launch config.

Expected:
Launch.json to be shown with NO dropdown open.

I still see this behaviour.

Oh yeah, I confess I broke this when doing some refactoring.
Not a big deal imho -> backlog


Windows batch scripts

Windows batch scripts are currently under development in [feature/windows] (https://github.com/intuit/wasabi/tree/feature/windows). They won't support docker native as we don't have access to Hyper-V on machines other than Windows 10.
We will try to follow a similar syntax as we have for the bin/wasabi.sh but for a start the scripts won't be as feature rich as the unix ones are: for now our goal is building and running locally in a docker-machine.

[x] bootstrap
[x] usage
[x] build
[x] start
[x] test (optional for now)
[x] integration tests failing since docker-machine stops the time on host sleep
[x] stop
[x] remove
[ ] package (optional for now) - won't fix now
[x] resource (optional for now)
[x] README.md updates

Resolved expect for package in #78 .


Wire up layer processing widget

The processing tab should show the combined upload status for all images in a layer. The cancel button should be able to cancel uploads in progress.

Superseded by #104


Connecting to an Apple Service with Step inputs

Troubleshooting

[x] I've searched discuss.bitrise.io for possible solutions.
Which version of the step is effected? 4.2.7
Is the issue reproducible with the latest version? YES
Does the issue happen sporadically, or every time? EVERY TIME
Is the issue reproducible locally by following our local debug guide? NOT APPLICABLE

Useful information

FAQ
devcenter.bitrise.io

Issue description

The now deprecated "iOS Auto Provision with App Store Connect API" allowed us to specify an API key and issuer ID to use when auto provisioning the app instead of using the Apple Service Connection specified in the Teams tab

The "Xcode Archive & Export for iOS" does not allow for specifying an API Key and Issuer ID which we need to build and deploy different version of our app to different app stores.
The docs here say this should be possible, but I don't see anywhere in this step to specify the inputs
https://devcenter.bitrise.io/en/accounts/connecting-to-services/connecting-to-an-apple-service-with-step-inputs.html#ot-lst-cnt

We have the same issue, have you found a solution for that?

As long this issue is not addressed, we'll use the deprecated step. I've contacted the Bitrise support, which also suggested to use the deprecated step again.

We have the same issue in our company and still have to use deprecated steps. It would be great to see the option for specifying API key and issuer ID in future step releases 🙏🏼

I have also created feature request on discuss.bitrise.io
https://discuss.bitrise.io/t/xcode-archive-specify-api-key-and-issuer-id/19953

I would also need that.

We have the same issue, any of you found a way to work with multiple api keys?

Just started looking into switching us over a few weeks ago, and have been trying to find an alternative... this step is going to be removed in just a few weeks... I can't imagine having to switch the chosen api key / issuer id every time that we need to do a build... that becomes a lot of extra management that bitrise has been doing a wonderful job of automating for us until now.

We need this too! 👀

I'd love to see this too 👍

This would definitely bring us to a grinding halt too over a lot of moments that used to be smooth sailing because of the automation. Would really appreciate this 🙏 🙏

I recently wrote a support ticket and that's the answer I got:

This is unfortunately correct, the new steps are indeed missing this functionality. We're in the process of collecting feedback and assessing the impact radius of this, since the new step is supporting both Xcode and Bitrise managed signing, the implementation isn't trivial in these new methods.

As other people mentioned on the thread, the deprecated options are still available at this time being. It's also worth mentioning that if you use Fastlane for instance, that step still allows for the option to configure step inputs.

I would suggest contacting Bitrise support so they really see the need in supporting this feature.

thanks @mbuchetics I will do that, We definitely need - at the very least, for them to not deprecate the existing steps so that we are covered until they can work with these requirements. I had been looking into creating my own step, but it seems they have a lot of internal things happening... unfortunately we don't use fastlane...

Hello everyone!
I'm happy to announce that the latest step version adds the ability to override the App Store Connect connection: https://github.com/bitrise-steplib/steps-xcode-archive/releases/tag/4.6.0
Thank you for your patience and let us know how it's working for your use case!

Thanks a lot @ofalvai!!
One question: Which path we have to set in api_key_path?
I set $TMPDIR/AuthKey_$KEY_ID.p8, where $KEY_ID variable is correct, the name of API Key and the name of .p8 file that I upload in profile settings is correct, as is api_key_id, api_key_issuer_id, but I have the follow error:
Fetching Apple Service connection
Overriding Bitrise Apple Service connection with Step-provided credentials (api_key_path, api_key_id, api_key_issuer_id)
private key does not exist at /var/folders/11/nh0v1jld7zd7b9zqm1774gtm0000gn/T//AuthKey_44XG*****M.p8

Are you sure the private key is downloaded previously into the temp directory? We recommend uploading the private key to Bitrise's Code Signing tab, then adding a File Downloader step to the workflow that downloads the file at runtime. Note that $TMPDIR
Note that you no longer need to include the key ID in the filename, now there is a separate step input for that.

Oh, I was uploading in profile settings -> Integrations, my mistake.

works like a charm! 🎉

@ofalvai  Hey, thanks so much for the changes you added! We could use a little help…
Can the removal of the iOS Auto Provision with Apple ID Step be delayed for 2 weeks or so?
We’re still testing making Xcode Archive & Export 4.6.0 work for us - in my team I was working on this, but I got hit with covid, and someone else is trying to help now but there’s ramp-up time...
I can see how the option will work for some of our projects, but for one of them, we have multiple workflows that point into two smaller ones, (passing in params and such) that will need to be reworked. I don’t quite have the energy to keep on top of this now, so we have someone else taking it on. A tiny extra grace period would be greatly appreciated :pray:

@traceycraverapp The deprecated autoprov Steps will NOT be removed yet (for a few weeks at least), despite the deprecation date.

@lpusok Thank you for not removing the deprecated step until everything works as before! 🙏
We had to revert back to the deprecated step due to some unexpected issues. As I wrote earlier, on the first look it worked like a charm, but there are some strange behaviors, like the creation of a dev cert (even if a dev cert is uploaded to Bitrise) https://github.com/bitrise-steplib/steps-xcode-archive/issues/278 and that some of our projects couldn't be built for "app-store" anymore due to "invalid signing".

@lpusok Thank you for not removing the deprecated step until everything works as before! 🙏
[...] but there are some strange behaviors, like the creation of a dev cert (even if a dev cert is uploaded to Bitrise) #278 [...]

I have the same strange behavior. Bitrise is creating a dev cert called "Created via API" each build I make.

I wanted to ask about a new error after some fiddling:
In my build logs, soon after “Starting the Archive …”, I now see
❌  error: No account for team <a_different_team_id_than_our_App_Store_Connect_override_API_key_settings_should_lead_to>. Add a new account in the Accounts preference pane or verify that your accounts have valid credentials. (in target <correct_value> from project <correct_value>)

❌  error: No profiles for <correct_bundle_id> were found: Xcode couldn't find any iOS App Development provisioning profiles matching <correct_bundle_id>. (in target <correct_value> from project <correct_value>)

Trying to interpret it:

“No account for team <wrong_team_id>”, is weird because <wrong_team_id> is another Team ID our company uses, that the private key, key ID, and key issuer ID I've parameterized in our custom env vars should not lead to.
“No profiles for <bundle_id> were found” - seems related to the above if it is searching the wrong Team ID.

I'm getting this even though it seems to me I’ve set up the App Store Connect connection override correctly by doing:

Automatic code signing method: api-key
Parameterizing the private key, key ID, and Key Issuer ID as custom environment variables that expand to the right values I’ve stored either as Secrets or in the Code Signing tab (the .p8 file’s URL)

In our case, we call Bitrise API with some things added to the environments key, kind of like:

"environments":[
  {"mapped_to":"API_KEY_ID","value":"$TEAM1_API_KEY_ID","is_expand":true},
  {"mapped_to":"API_KEY_ISSUER_ID","value":"$TEAM1_API_KEY_ISSUER_ID","is_expand":true},
  {"mapped_to":"PRIVATE_KEY_URL","value":"$BITRISEIO_TEAM1_API_KEY_URL","is_expand":true}
]

Then I reference them like:

@mrahn24  You might be able to get distribution exports by using adding the Export iOS and tvOS Xcode archive Step after the Xcode Archive & Export Step like in the Bitrise docs here:
https://devcenter.bitrise.io/en/code-signing/ios-code-signing/signing-an-ipa-with-multiple-code-signing-identities.html

During the development of your iOS app you will need multiple types of distributions for different purposes, such as internal testing or deployment to the App Store.

Add the Export iOS and tvOS Xcode archive Step to your Workflow. This Step reuses the archive generated by the Xcode Archive and Export for iOS Step and does a second export from the archive.

This is working for me. A build I made with the above passed App Store Review, and they can definitely detect if you've signed it with the development certificate or used a development provisioning profile.
Although my message above this one talks about an error I get when trying to authenticate to App Store Connect API with an API key from one of my company's team IDs, I didn't get that error using a different API key from a different team ID of my company's. Builds with that API key succeed.


trouble writing in the upper blocks to 4 in the 1K Mifare card

Hello everyone,
I am writing to ask for your help, because I'm writing a code to read and write Mifare 1K cards, using a mega arduino and rfid-rc522 module. The problem that I present is that only managed to read and write in blocks 1 and 2 of the card (Autenticándome with the key A), when I try to write in the following blocks (from block 4) I get an error message NAK. And I tried to authenticate with the keys A and B but I get the same error. I used the example code available https://github.com/miguelbalboa/rfid/blob/master/examples/rfid_write_personal_data/rfid_write_personal_data.ino.
I honestly do not know if the card model only allows write only in blocks 1 and 2, or there really is a problem with the code that does not allow write in the following blocks.
Any help or information that allows me to understand what is happening will be enormously grateful.
Happy day to everyone,

Hola Torres,
Check my repository here:
https://github.com/simbadMarino/CardIDFlashTool
I've created a block by block reader and writer. I0ve only tested it with 4K tags, but maybe it works also for 1K.
Let me know if it works! See ya!

@sistemasneytorres Did you solved your issues? Will you share your solution? Can I close it?

Hi,
thanks for your help, honestly I did not continue with that project so I
could not test your solution.
You can close the case, and whe I resume the project again, I will let you
know if I having the same trouble.
Regards!!!!
On Thu, Aug 25, 2016 at 6:55 PM, Rotzbua<EMAIL_ADDRESS>wrote:

@sistemasneytorres https://github.com/sistemasneytorres Did you solved
your issues? Will you share your solution? Can I close it?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/miguelbalboa/rfid/issues/223#issuecomment-242582521,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ATQPMlkSZuUrqwToJyCB-tT2NRcFw6kyks5qjiuCgaJpZM4JHehp
.


Lift DotNetCliTool packages to target .NET Core 2.0

Depends on https://github.com/aspnet/BuildTools/pull/240
Resolves https://github.com/aspnet/DotNetTools/issues/281
cc @prafullbhosale @bricelam

Merge when AppVeyor and Travis are happy.

⌚ CI passes now, but waiting on response from .NET team about if these packages will even work in preview1.


Feature/1349 vault interactive tutorial

Please check if the PR fulfills these requirements

[x] The commit message follows our guidelines
[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
[] Tests for the changes have been added (for bug fixes / features)
[] Passes e2e testing
[] Passes lint
[] Docs have been added / updated if necessary (for bug fixes / features)

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Feature

What is the current behavior? (You can also link to an open issue here)
closes #1349

What is the new behavior (if this is a feature change)?
Added vault interactive tutorial

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
No

Other information:

I'm not sure i can get the tutorial to start, when i go into settings and select show vault tutorial i get the normal pipeline tutorial

@rssk I checked it on my end and works fine.


No response from db.get()

I got a problem use the adapter, the database created successfully but db.get('id') has no response, no callback no promise

Can you provide a test case to reproduce? Note that you will also need the cordova-plugin-sqlite-2 installed.

I am unable to reproduce. A lot of folks seemed to have trouble figuring out how to include this in a new project, so I added some additional instructions and a full demo app to the README: https://github.com/nolanlawson/pouchdb-adapter-cordova-sqlite#usage
Please reopen if this doesn't solve your problem.


Provide Hannibal region monitoring service for hadoop cluster

This pull request provides hannibal cookbook.
There are two recipes: one to build hannibal tarball from source(hannibal_build) and other to configure,install and start hannibal as an upstart service (hannibal_hbase).
Mysql db, if selected, is configured for hannibal.

I have made some changes/fixes and unit tested on my local VM cluster. The hannibal build and deploy recipes now converge. Please review.

Though a nit, could hannibal_hbase.rb have a more descriptive name? (For example, service or deploy, as you recommended.)

Made the suggested changes. Ready for review.

Added header comments. The modular library changes cannot be done until the modular-library code has been merged.

This looks well honed! This will certainly provide better visibility into HBase.


Fix using the host system config to create dns resolver

As mentioned in the README, we should choose Resolver::from_system_conf() that using conf from/etc/resolv.conf not ResolverConfig::default() that using <IP_ADDRESS>/<IP_ADDRESS>.

Hmm! I might have gotten this wrong; I'll review later this week when I go over the other outstanding patches.

Patch looks good; I took the liberty of moving your unwrap to a try (?) expression so it bubbles the error instead of crashing the program. I also rebased against recent main.
I'm running tests now, then will probably merge. Thanks for this!


[Snyk] Security upgrade node from 18.13.0-bullseye-slim to 18.15-bullseye-slim

This PR was automatically created by Snyk using the credentials of a real user.Keeping your Docker base image up-to-date means you’ll benefit from security fixes in the latest version of your chosen image.
Changes included in this PR

Dockerfile

We recommend upgrading to node:18.15-bullseye-slim, as this image has only 43 known vulnerabilities. To do this, merge this pull request, then verify your application still works as expected.
Some of the most important vulnerabilities in your base image include:

Severity
Priority Score / 1000
Issue
Exploit Maturity

686
Insecure Permissions SNYK-UPSTREAM-NODE-3326666
No Known Exploit

678
Access of Resource Using Incompatible Type ('Type Confusion') SNYK-UPSTREAM-NODE-3326668
No Known Exploit

621
Use After Free SNYK-UPSTREAM-NODE-3326683
Proof of Concept

614
Denial of Service (DoS) SNYK-UPSTREAM-NODE-3326688
No Known Exploit

686
Denial of Service (DoS) SNYK-UPSTREAM-NODE-3329555
No Known Exploit

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Denial of Service (DoS)
🦉 Denial of Service (DoS)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
101

Relevant Lines:
101

💛  - Coveralls


Encryption - effective?

Dotenv is amazing and this new version looks just as great - but I'm personally struggling to comprehend to which extend does key encryption enhance security in a CI/CD environment. Would you be so kind to help me understand this extra layer?

In practice, how are .env.keys and DOTENV_PRIVATE_KEY provided to the CI/CD runner, or where does it get them from?
Since eventually the CI/CD runner will need to have both .env.keys as well as DOTENV_PRIVATE_KEY, to decrypt and access the keys, am I correct to understand that encrypting the keys is "only" an additional defence against saving unencrypted keys on the CI/CD provider and it getting hacked, and nothing more? Or am I missing something?

Thanks for clarifying.

you're welcome. thanks for using them!
I'll use the example of GitHub Actions CI for my answers:

In practice, how are .env.keys and DOTENV_PRIVATE_KEY provided to the CI/CD runner, or where does it get them from?

The DOTENV_PRIVATE_KEY_CI is set on github actions secrets #1

Since eventually the CI/CD runner will need to have both .env.keys as well as DOTENV_PRIVATE_KEY, to decrypt and access the keys..

It only needs the DOTENV_PRIVATE_KEY*. The .env.keys file is just a convenient place to coalesce all your private keys (development, ci, production) in one place.

additional defence against saving unencrypted keys on the CI/CD provider and it getting hacked

Yes, but let's step through a real world scenario - the circleci data breach.
In this data breach the attacker:

Gained access to environment variables
Did NOT gain access to code

For anyone putting environment variables like their STRIPE_API_KEY in CircleCi, their business was immediately put at risk. They had to rotate EVERY key they had stored on CircleCi.
But for those using a DOTENV_PRIVATE_KEY* they were not put at risk because the attacker did not have the encrypted .env files (in code) to decrypt.
In addition to that there are workflow benefits. If you need to run things in a second ci service or move to a new service, you can just reset your DOTENV_PRIVATE_KEY*. You don't have to migrate over ALL your keys again. Less chance of fat-fingering something this way.
Does this make sense? Thoughts?

Thank you so much for the clarification. However I still have a missing
piece - how are the encrypted keys made available to the CI so that dotenvx
can decrypt them using DOTENV_PRIVATE_KEY if not by providing .env.keys
to the CI somehow?
Also concerning the CircleCI incident, yes, the attacker only gained
environment variables, but those can still be valuable in some cases - for
example, license keys for commercial client-side libraries
On Tue, Jun 18, 2024, 22:11 mot @.***> wrote:

you're welcome. thanks for using them!
I'll use the example of GitHub Actions CI for my answers:

In practice, how are .env.keys and DOTENV_PRIVATE_KEY provided to
the CI/CD runner, or where does it get them from?

The DOTENV_PRIVATE_KEY_CI is set on github actions secrets #1
https://dotenvx.com/docs/cis/github-actions#set-decryption-key

Since eventually the CI/CD runner will need to have both .env.keys
as well as DOTENV_PRIVATE_KEY, to decrypt and access the keys..

It only needs the DOTENV_PRIVATE_KEY*. The .env.keys file is just a
convenient place to coalesce all your private keys (development, ci,
production) in one place.
additional defence against saving unencrypted keys on the CI/CD provider
and it getting hacked
Yes, but let's step through a real world scenario - the circleci data
breach
https://www.google.com/search?client=safari&rls=en&q=circleci+data+breach&ie=UTF-8&oe=UTF-8
.
In this data breach the attacker:

Gained access to environment variables
Did NOT gain access to code

For anyone putting environment variables like their STRIPE_API_KEY in
CircleCi, their business was immediately put at risk. They had to rotate
EVERY key they had stored on CircleCi.
But for those using a DOTENV_PRIVATE_KEY* they were not put at risk
because the attacker did not have the encrypted .env files (in code) to
decrypt.
In addition to that there are workflow benefits. If you need to run things
in a second ci service or move to a new service, you can just reset your
DOTENV_PRIVATE_KEY*. You don't have to migrate over ALL your keys again.
Less chance of fat-fingering something this way.
Does this make sense? Thoughts?
—
Reply to this email directly, view it on GitHub
https://github.com/dotenvx/dotenvx/issues/253#issuecomment-2176884016,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAUPTLIAVIQ5ML6MI3CBXCTZICH75AVCNFSM6AAAAABJQQFZN6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZWHA4DIMBRGY
.
You are receiving this because you authored the thread.Message ID:
@.***>

However I still have a missing
piece - how are the encrypted keys made available to the CI so that dotenvx
can decrypt them using DOTENV_PRIVATE_KEY if not by providing .env.keys

Ah, I think i'm not being clear.

You commit your encrypted .env.ci file to code - this contains your secrets/config in an encrypted manner
You go on your CI and set a single environment variable - DOTENV_PRIVATE_KEY_CI
When your build runs it uses dotenvx to decrypt your .env.ci (using the DOTENV_PRIVATE_KEY_CI) and inject your secrets/config just in time

Also concerning the CircleCI incident, yes, the attacker only gained
environment variables, but those can still be valuable in some cases - for
example, license keys for commercial client-side libraries

I'm saying just the opposite. The attacker gaining access to those is bad. That's how everyone does things today - which we aer trying to change with dotenvx's pattern. If you use dotenvx, the attacker only gains access to the DOTENV_PRIVATE_KEY which is useless on its own.
p.s. keep in mind the DOTENV_PRIVATE_KEY and DOTENV_PUBLIC_KEY are different. the private one is used for decryption and the public one for encryption.

Thanks 🙏
Yes I understand the concept of encryption with public and private keys.
So basically, you confirmed my point. How likely is it that an attacker
could gain access to both code & private key? Well, how likely is it that
an attacker could get either? What would your answer have been before the
CircleCI breach? And today?
Maybe an alternative would be to keep either the encrypted env variables or
the private key on a secret manager service which using OAuth can authorize
the CI to retrieve either, so that one half of the "pie" is always hosted
separately? Does such a thing even exist?
On Tue, Jun 18, 2024, 22:53 mot @.***> wrote:

However I still have a missing
piece - how are the encrypted keys made available to the CI so that dotenvx
can decrypt them using DOTENV_PRIVATE_KEY if not by providing .env.keys
Ah, I think i'm not being clear.

You commit your encrypted .env.ci file to code - this contains your
secrets/config in an encrypted manner
You go on your CI and set a single environment variable -
DOTENV_PRIVATE_KEY_CI
When your build runs it uses dotenvx to decrypt your .env.ci (using
the DOTENV_PRIVATE_KEY_CI) and inject your secrets/config just in time

Also concerning the CircleCI incident, yes, the attacker only gained
environment variables, but those can still be valuable in some cases - for
example, license keys for commercial client-side libraries
I'm saying just the opposite. The attacker gaining access to those is bad.
That's how everyone does things today - which we aer trying to change with
dotenvx's pattern. If you use dotenvx, the attacker only gains access to
the DOTENV_PRIVATE_KEY which is useless on its own.
p.s. keep in mind the DOTENV_PRIVATE_KEY and DOTENV_PUBLIC_KEY are
different. the private one is used for decryption and the public one for
encryption.
—
Reply to this email directly, view it on GitHub
https://github.com/dotenvx/dotenvx/issues/253#issuecomment-2176952271,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAUPTLIWY5LBIPU33VFTPMTZICM2VAVCNFSM6AAAAABJQQFZN6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZWHE2TEMRXGE
.
You are receiving this because you authored the thread.Message ID:
@.***>

ok, cool, we're on the same page.

How likely is it that an attacker could gain access to both code & private key? Well, how likely is it that an attacker could get either? What would your answer have been before the CircleCI breach? And today?

It's a good question. I don't have a good answer, but I think it's safe to say it would be twice as unlikely. So it's arguably a significant improvement.

Maybe an alternative would be to keep either the encrypted env variables or the private key on a secret manager service

Smart. This would indeed be another level of obfuscation. Then the attacker would have to take 3 steps to get the decrypted values, rather than just two. We plan to support this as part of dotenvx in the future as a paid feature - as a service and/or as tooling to support your own chosen service like AWS Secret Manager, etc.

I think it's safe to say it would be twice as unlikely. So it's arguably a significant improvement.

Not trying to be contentious here but not necessarily - it obviously depends on how the system is implemented and even on how it's run. In an ideal world - sure. But in an ideal world we wouldn't need to keep secrets 😛

Smart. This would indeed be another level of obfuscation. Then the attacker would have to take 3 steps to get the decrypted values, rather than just two. We plan to support this as part of dotenvx in the future as a paid feature - as a service and/or as tooling to support your own chosen service like AWS Secret Manager, etc.

Thanks. It's great to hear support for this is planned. Since many CIs and secret managers already support this approach, how do you see dotenvx implementing it?

i think that is better shown than told. overtime keep your eyes on dotenvx and you'll see.
i'm going to go ahead and close this. thanks for your thoughts.


production ready and tutorials on common use-cases

Is it production-ready now?
what browsers does it support?
Are there any tutorials written for simple use cases such as encrypting and decrypting strings between client and server etc?

Yep, it's production ready. MEGA uses it for file encryption.
It supports IE10+, FF22+, Safari 5.1+, Chrome (I don't remember the earliest version started supporting it).
Unfortunately there are no tutorials, but you can study test scripts under test/


withCount relation with Where results in surplus bindings in the count query

Summary of problem or feature request
When using withCount with a relation that has own bindings (Wheres), the filtered count query bindings do not match the query.
This can result in recordsFiltered in the response being off or often just zero.
Using the datatables frontend JS, the result count is wrong (Showing 0 to 0 of 0 entries (filtered from 30,280 total entries)), which subsequently causes pagination buttons to disappear. The actual data however is shown and ordering also works.
May be related to #1471 however search/ordering is working in my case.
Code snippet of problem
datatables call:
datatables()->of(User::query()->withCount('activeTokens'))

relation on User:
public function activeTokens()
{
  return $this->tokens()->where('revoked', '=', false)->where('expires_at', '>', new Carbon());
}

When using the globalSearch the following query is executed + bindings:
select `users`.*, (select count(*) from `oauth_access_tokens` where `users`.`id` = `oauth_access_tokens`.`user_id` and `revoked` = ? and `expires_at` > ?) as `active_tokens_count` from `users` where (LOWER(`users`.`id`) LIKE ? or LOWER(`users`.`email`) LIKE ? or LOWER(`users`.`coverid`) LIKE ? or LOWER(`users`.`zip`) LIKE ? or LOWER(`users`.`origin`) LIKE ? or LOWER(`users`.`id`) LIKE ?) and `users`.`deleted_at` is null

array(8) {
  [0]=>
  bool(false)
  [1]=>
  object(Carbon\Carbon)#455 (3) {
    ["date"]=>
    string(26) "2018-01-31 21:52:20.436981"
    ["timezone_type"]=>
    int(3)
    ["timezone"]=>
    string(13) "Europe/Berlin"
  }
  [2]=>
  string(3) "%t%"
  [3]=>
  string(3) "%t%"
  [4]=>
  string(3) "%t%"
  [5]=>
  string(3) "%t%"
  [6]=>
  string(3) "%t%"
  [7]=>
  string(3) "%t%"
}

This is OK and works. I assume this is the data query.
However, it then goes through prepareCountQuery (to fetch the total filtered count), which overwrites the select part: https://github.com/yajra/laravel-datatables/blob/fddf0d71dc00c4cec9bb09426a57c191dec9af8d/src/QueryDataTable.php#L148-L151
This results in the following query:
select '1' as `row_count` from `users`
where (LOWER(`users`.`id`) LIKE ? or LOWER(`users`.`email`) LIKE ? or
LOWER(`users`.`coverid`) LIKE ? or LOWER(`users`.`zip`) LIKE ? or
LOWER(`users`.`origin`) LIKE ? or LOWER(`users`.`id`) LIKE ?) and
`users`.`deleted_at` is null

Would also look good, but the bindings are the same as above. However, the subselect with 2 params was overwritten, so there are too many bindings (leftovers) and they get matched to the wrong params.
System details

Operating System: Homestead Ubuntu
PHP Version: 7.1
Laravel Version: 5.4
Laravel-Datatables Version: 8.1.1

@kronthto @fschalkwijk I think maybe we can include withCount as a complex query hence the subquery will be overridden with simple select 1..?
Can you please try to update this function:
    /**
     * Check if builder query uses complex sql.
     *
     * @param \Illuminate\Database\Query\Builder $builder
     * @return bool
     */
    protected function isComplexQuery($builder)
    {
        return Str::contains(Str::lower($builder->toSql()), ['union', 'having', 'distinct', 'order by', 'group by', 'select count(*) from']);
    }

On the other hand, it seems working fine with me. Maybe try adding a select statement before the withCount?
User::query()->select()->withCount('activeTokens')

I was able to replicate the issue and @fschalkwijk PR fixes this. Also to further avoid the same issue, I added a PR #1737. Should be fixed on the next release later.


How can i get emoji popup while typing with specific string

like :smiley then getting the emoji popup showing with the typed string?

I'm sorry but the emoji picker was not designed in a way to replace existing text (for example your :smiley).
You must open the emoji picker beforehand.
This could be added as a new feature i think but idk i'm kinda lazy.

I'm sorry but the emoji picker was not designed in a way to replace existing text (for example your :smiley). You must open the emoji picker beforehand.
This could be added as a new feature i think but idk i'm kinda lazy.

Understandable ..... np as this much it works fine and gets the job done.
This maybe in the docs, but is there anyway to give font explicitly?

No there is not, but that is easy enough to fix. I'll add that later today.


refactor adapter model

ripple and adapter base should be encapsulated as mixin

drop, not really usefull, too complex


New Recipe Generation Fails When Checking for Deprecated InSpec Directory

Description
When executing chef generate recipe [name], generation fails with the following error:
$ chef generate recipe [name]

================================================================================
Recipe Compile Error in /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/chef-dk-2.0.28/lib/chef-dk/skeletons/code_generator/recipes/recipe.rb
================================================================================

RuntimeError
------------
can't modify frozen String

Cookbook Trace:
---------------
  /opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/chef-dk-2.0.28/lib/chef-dk/skeletons/code_generator/recipes/recipe.rb:13:in `from_file'

Relevant File Content:
----------------------
/opt/chefdk/embedded/lib/ruby/gems/2.4.0/gems/chef-dk-2.0.28/lib/chef-dk/skeletons/code_generator/recipes/recipe.rb:

  6:  spec_helper_path = File.join(cookbook_dir, 'spec', 'spec_helper.rb')
  7:  spec_dir = File.join(cookbook_dir, 'spec', 'unit', 'recipes')
  8:  spec_path = File.join(spec_dir, "#{context.new_file_basename}_spec.rb")
  9:  inspec_dir = File.join(cookbook_dir, 'test', 'smoke', 'default')
 10:  inspec_path = File.join(inspec_dir, "#{context.new_file_basename}_test.rb")
 11:
 12:  if File.directory?(File.join(cookbook_dir, 'test', 'recipes'))
 13>>   Chef::Log.deprecation <<-EOH
 14:  It appears that you have Inspec tests located at "test/recipes". This location can
 15:  cause issues with Foodcritic and has been deprecated in favor of "test/smoke/default".
 16:  Please move your existing Inspec tests to the newly created "test/smoke/default"
 17:  directory, and update the 'inspec_tests' value in your .kitchen.yml file(s) to
 18:  point to "test/smoke/default".
 19:    EOH
 20:  end
 21:
 22:  # Chefspec

ChefDK Version
System Info:
------------
chef_version=13.2.20
ruby=ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-darwin14]
program_name=/opt/chefdk/bin/chef
executable=/opt/chefdk/bin/chef

Platform Version
macOS Sierra 10.12.5
Darwin ssmith-macbook.local 16.6.0 Darwin Kernel Version 16.6.0: Fri Apr 14 16:13:31 PDT 2017; root:xnu-3789.60.24~4/RELEASE_X86_64 x86_64

Replication Case
To replicate, create a Chef cookbook with a directory structure of test/recipes. It will trigger the deprecation check.

This feels like the recipe is doing the correct thing and throwing a warning that informs the user this location is problematic (which is why we pulled it). I'm not sure if this is an issue given it provides the resolution in the error message as desired.

Similar errors actually print cleanly to the console rather than failing with a stack trace, though.

Sorry for not being clear: it was my understanding that Chef::Log.deprecation should throw a warning to the console instead of crashing and throwing a stack trace.
Certainly if I've missed the point (I'm still learning Ruby), please forgive me. I just figured that "can't modify frozen String" was an issue in the act of throwing the error rather than the error itself.

I'm not able to reproduce this with the current DK. A lot has changed in the genreators and Ruby since this was filed. If you're still having the issue feel free to open this back up.


Stops playing after x songs

Hey!
So let me start by saying this the most convenient solution to use spotify connect on an rpi, thank you!!
The issue I've run into, is that it stops playing after x tracks. So it will finish playing the track, and then stop until I service raspotify restart .
Commenting everything in the config file worked for one track,
after that it randomly switched to another song and stopped playing after 3 seconds.
Cleared the cache - nothing.
My status logs seems harmless:
`pi@raspberrypi:~ $ sudo service raspotify status
● raspotify.service - Raspotify
Loaded: loaded (/lib/systemd/system/raspotify.service; enabled)
Active: active (running) since Sun 2017-07-02 14:54:22 UTC; 4s ago
Process: 3984 ExecStartPre=/bin/chown raspotify:raspotify /var/cache/raspotify (code=exited, status=0/SUCCESS)
Process: 3981 ExecStartPre=/bin/mkdir -p 0755 /var/cache/raspotify (code=exited, status=0/SUCCESS)
Main PID: 3987 (librespot)
CGroup: /system.slice/raspotify.service
└─3987 /usr/bin/librespot --name raspotify (raspberrypi) --backend alsa --cache /var/cache/raspotify --bitrate 160
Jul 02 14:54:22 raspberrypi systemd[1]: Starting Raspotify...
Jul 02 14:54:22 raspberrypi systemd[1]: Started Raspotify.
Jul 02 14:54:22 raspberrypi librespot[3987]: INFO:librespot: librespot 2259188 (2017-06-14). Built on 2017-06-14.
Jul 02 14:54:23 raspberrypi librespot[3987]: INFO:librespot::session: Connecting to AP "lon3-accesspoint-a3.ap.spotify.com:4070"
Jul 02 14:54:24 raspberrypi librespot[3987]: INFO:librespot::session: Authenticated as "xxxxx" !
Jul 02 14:54:24 raspberrypi librespot[3987]: INFO:librespot::session: Country: "XX"
Jul 02 14:54:24 raspberrypi librespot[3987]: INFO:librespot::audio_backend::alsa: Using alsa sink
`

I can't seem to get a repro, guys. What happens if you try a couple songs using the librespot command without the daemon, in verbose mode?
$ librespot --name "librespot test" --backend alsa --cache /tmp/librespot-test --bitrate 160 --verbose

Tested it, same issue.
It starts to play a song and drops it after a few seconds.
Here the interesting part of the debugging information:
TRACE:librespot::audio_file: chunk 7 / 23 complete
TRACE:librespot::audio_file: requesting chunk 8
TRACE:librespot::audio_file: chunk 8 / 23 complete
TRACE:librespot::audio_file: requesting chunk 9
TRACE:librespot::audio_file: chunk 9 / 23 complete
TRACE:librespot::audio_file: requesting chunk 10
TRACE:librespot::audio_file: chunk 10 / 23 complete
TRACE:librespot::audio_file: requesting chunk 11
TRACE:librespot::audio_file: chunk 11 / 23 complete
TRACE:librespot::audio_file: requesting chunk 12
TRACE:librespot::audio_file: chunk 12 / 23 complete
TRACE:librespot::audio_file: requesting chunk 13
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error { repr: Os { code: 28, message: "No space left on device" } }', /checkout/src/libcore/result.rs:859
note: Run with `RUST_BACKTRACE=1` for a backtrace.
DEBUG:librespot::spirc: drop Spirc[0]
DEBUG:librespot::session: drop Dispatch

Looks like
https://github.com/plietar/librespot/issues/166
Might want to disable audio cache, i believe this is an option in latest release.

In my case it's an Pi Model B+ with only raspotify running so there should be enough RAM.

Then test it urself. open 2 SSH seesions, one for librespot and one for #watch -n0,5 free -h
and let them play. You can also watch df -h for cache on storage. I believe the cache is not in RAM but in storage. (temp or so)

Ah, I'll add the new argument to avoid caching! Hopefully that will work.
D
On Wed, Jul 5, 2017 at 1:04 AM derWeihnachtsmann<EMAIL_ADDRESS>wrote:

Then test it urself. open 2 SSH seesions, one for librespot and one for
#watch -n0,5 free -h
and let them play. You can also watch df -h for cache on storage. I
believe the cache is not in RAM but in storage. (temp or so)
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/dtcooper/raspotify/issues/3#issuecomment-313031867,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA1V2L5PvaPHGXbaNIrow1YPY4Jgouu3ks5sK0N-gaJpZM4OH1kd
.

@higab85, @staubrein et al., you might like to try the latest version. Install by,
curl -sL https://raw.github.com/dtcooper/raspotify/master/install.sh | sh

(Have potential fix out in version 0.7.)

perfect. i am listening to music since 20 minutes and everything goes properly :)
hmmmm... i've noticed faster respond time, and you guys?

@lovicub great! Closing this issue. If similar problems crop up, please reopen. Thanks!

I'm still having the same problem even with all the config file commented
`[pi@Coruscant ~]$ sudo systemctl status raspotify -l
● raspotify.service - Raspotify
Loaded: loaded (/lib/systemd/system/raspotify.service; enabled)
Active: active (running) since Sun 2017-07-16 15:21:48 CDT; 6min ago
Process: 8975 ExecStartPre=/bin/chown raspotify:raspotify /var/cache/raspotify (code=exited, status=0/SUCCESS)
Process: 8971 ExecStartPre=/bin/mkdir -p 0755 /var/cache/raspotify (code=exited, status=0/SUCCESS)
Main PID: 8978 (librespot)
CGroup: /system.slice/raspotify.service
├─8978 /usr/bin/librespot --name raspotify (Coruscant) --backend alsa --bitrate 160 --disable-audio-cache
└─9001 /usr/bin/pulseaudio --start --log-target=syslog
Jul 16 15:25:29 Coruscant librespot[8978]: INFO:librespot::player: Track "Guiding Light" loaded
Jul 16 15:25:30 Coruscant pulseaudio[9001]: [pulseaudio] server-lookup.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
Jul 16 15:25:30 Coruscant pulseaudio[9001]: [pulseaudio] main.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
Jul 16 15:25:30 Coruscant pulseaudio[9001]: [pulseaudio] bluez4-util.c: org.bluez.Manager.GetProperties() failed: org.freedesktop.DBus.Error.UnknownMethod: Method "GetProperties" with signature "" on interface "org.bluez.Manager" doesn't exist
Jul 16 15:25:46 Coruscant librespot[8978]: INFO:librespot::player: Loading track "Guiding Light"
Jul 16 15:25:47 Coruscant librespot[8978]: INFO:librespot::player: Track "Guiding Light" loaded
Jul 16 15:25:53 Coruscant librespot[8978]: INFO:librespot::player: Loading track "Enter Sandman"
Jul 16 15:25:55 Coruscant librespot[8978]: INFO:librespot::player: Track "Enter Sandman" loaded
Jul 16 15:26:22 Coruscant librespot[8978]: INFO:librespot::player: Loading track "Animals"
Jul 16 15:26:23 Coruscant librespot[8978]: INFO:librespot::player: Track "Animals" loaded
`
thats the status of systemctl, keeps running but it doesnt play anything

Hi, I just wanted to leave some feedback that is hopefully helpful.
I was having this exact issue on a very recent deployment off the default raspbian image on a first gen pi with the latest raspotify installed (installed about a week ago).
Following some advice I found on a different project, I uninstalled pulseaudio, and have not had the issue since.  Works perfectly now, at least for the last 48 hours anyway. YMMV

Ah, I've only tested on Raspbian Jessie Lite, which doesn't have Pulse.

For me audio stops after about 3 songs and I'm not sure why. I disabled audio cache, but it's still happening. On my Android Spotify client it still tells me the song is playing and if I request the service status it tells me the song is loaded and yet no audio.
Any more suggestions? How did you guys fix this?

For me audio stops after about 3 songs and I'm not sure why. I disabled audio cache, but it's still happening. On my Android Spotify client it still tells me the song is playing and if I request the service status it tells me the song is loaded and yet no audio.
Any more suggestions? How did you guys fix this?

I have the same exact problem. I even can fast-forward the problem skipping the current song to the next in my player.
The 4th song is never played, and following songs don't even appear in the logs.
@markheloking the behaviour you describe happens every time and it doesn't seem to be the problem.
Here are my logs:
librespot.log

Hi again,
I can confirm @kreague solution. The problem is the interaction with pulseaudio.

@kreague @fmarmar Been having this issue, removed pulseaudio also and seems to be fixed. Mine always failed on the 3rd song, up to 10 now and still playing fine.

In the same boat as @andreipopovici , need to keep pulseaudio around. Any suggestions? Seeing the same  problem: dies after one song.

FYI, I ended up giving up on pulseaudio. It seems the newer version of dietpi I'm using has better dmix support, so I'm using that.

I had the same problem using Ubuntu Mate on my RPi 3B. After 3 songs the sound stopped but Spotify was telling me everything is still playing. After I followed the instructions

Here is what you have to do:
change to your desktop user and replace  and  with yours, in my case it's pi
su
cd ~/
copy the global config file to your user directory
mkdir ~/.pulse/
sudo cp /etc/pulse/default.pa ~/.pulse/
dd this line to the end of the file you've just copied
sudo nano ~/.pulse/default.pa
load-module module-native-protocol-tcp auth-ip-acl=<IP_ADDRESS>
sudo chown -R $USER ~/.pulse
go to the raspotify user home dir
cd /var/cache/raspotify
sudo mkdir .pulse
sudo sh -c 'echo "default-server = <IP_ADDRESS>" > .pulse/client.conf'
sudo chown -R raspotify:raspotify ~/.pulse

reboot and enjoy

from  #9 - there were no sound at all. So I changed everything back. Now I have no problems playing songs via spotify and everything works fine. Even after restarting the Pi

Really annoying issue. Kind of defeats the whole purpose of raspotify.
I don't have /etc/pulse/default.pa so I can't try the fix @niko-tin

Can anybody give me exact STR, or perhaps what pulse related packages you have installed?. Thanks.

Following some advice I found on a different project, I uninstalled pulseaudio, and have not had the issue since. Works perfectly now, at least for the last 48 hours anyway. YMMV

Simply uninstalling pulseaudio worked for me as well. Running raspotify 0.13.1 of raspbian stretch 9.3.
Although the sound stops when I skim through a song, but the next one get's played normally again.

Hi again,
I can confirm @kreague solution. The problem is the interaction with pulseaudio.

I am use Pi 4 (raspian-Magic Mirror) with the lastest (0.14) and have experienced the same problem. Fixed it removing pulseaudio!
But, pulseaudio is important for?

I don't have pulseaudio installed. Still the same issue: stops playing after approx. 9-10 minutes every time (MID SONG).
I checked and it doesn't engage the screensaver (which some pointed out).
My log shows
  [2021-03-16T18:02:45Z ERROR librespot_playback::player] Unable to load audio item.
  [2021-03-16T18:02:45Z ERROR librespot_core::session] Os { code: 104, kind: ConnectionReset, message: "Connection reset by peer" }
  [2021-03-16T18:02:45Z WARN  librespot] Spirc shut down unexpectedly
  [2021-03-16T18:02:45Z INFO  librespot_core::session] Connecting to AP "gew1-accesspoint-e-n595.ap.spotify.com:4070"
  [2021-03-16T18:02:45Z INFO  librespot_core::session] Authenticated as "l50x5fzoht9n2ivpvcqf3pnqn" !
  [2021-03-16T18:02:45Z INFO  librespot_playback::audio_backend::alsa] Using alsa sink
  [2021-03-16T18:02:45Z INFO  librespot_core::session] Country: "DE"

Any ideas?

This is the output of the raw librespot:

2021-03-16T18:37:20Z DEBUG librespot_playback::player] command=Preload(SpotifyId { id:<PHONE_NUMBER>110763866323352787392203638, audio_type: Track })
[2021-03-16T18:37:20Z DEBUG librespot_playback::player] Preloading track
[2021-03-16T18:37:20Z INFO  librespot_playback::player] Loading <Come Over Love> with Spotify URI <spotify:track:01w1yDztuPjNHkTmXXtIP4>
[2021-03-16T18:37:20Z DEBUG librespot_audio::fetch] Downloading file 441823b68db51ed2850faa3a8ca5977f9af1f8ad
[2021-03-16T18:37:20Z TRACE librespot_audio::fetch] Ping time estimated as: 107 ms.
[2021-03-16T18:37:20Z DEBUG librespot_playback::player] Normalisation Data: NormalisationData { track_gain_db: -10.695622, track_peak: 0.97112167, album_gain_db: -10.695622, album_peak: 0.97112167 }
[2021-03-16T18:37:20Z DEBUG librespot_playback::player] Applied normalisation factor: 0.2918898
[2021-03-16T18:37:20Z INFO  librespot_playback::player] <Come Over Love> (208280 ms) loaded
[2021-03-16T18:37:20Z DEBUG librespot_core::session] Invalidating session[0]
[2021-03-16T18:37:20Z DEBUG librespot_core::session] drop Dispatch
[2021-03-16T18:37:20Z ERROR librespot_core::session] Os { code: 104, kind: ConnectionReset, message: "Connection reset by peer" }
[2021-03-16T18:37:20Z WARN  librespot] Spirc shut down unexpectedly
[2021-03-16T18:37:20Z DEBUG librespot_connect::spirc] drop Spirc[0]
[2021-03-16T18:37:20Z DEBUG librespot_playback::player] Shutting down player thread ...
[2021-03-16T18:37:20Z DEBUG librespot_playback::player] drop PlayerInternal[0]
[2021-03-16T18:37:20Z DEBUG librespot_playback::player] PlayerInternal thread finished.
[2021-03-16T18:37:20Z WARN  librespot_audio::fetch] Error from channel for data receiver for range 167936 (+16384).
[2021-03-16T18:37:20Z DEBUG librespot_core::session] drop Session[0]
[2021-03-16T18:37:20Z DEBUG librespot_core::audio_key] drop AudioKeyManager
[2021-03-16T18:37:20Z DEBUG librespot_core::channel] drop ChannelManager
[2021-03-16T18:37:20Z DEBUG librespot_core::mercury] drop MercuryManager
[2021-03-16T18:37:21Z INFO  librespot_core::session] Connecting to AP "gew1-accesspoint-e-td73.ap.spotify.com:4070"
[2021-03-16T18:37:21Z INFO  librespot_core::session] Authenticated as "_____________________" !
[2021-03-16T18:37:21Z DEBUG librespot_core::session] new Session[1]
[2021-03-16T18:37:21Z DEBUG librespot_connect::spirc] new Spirc[1]
[2021-03-16T18:37:21Z DEBUG librespot_playback::player] new Player[1]
[2021-03-16T18:37:21Z INFO  librespot_playback::audio_backend::alsa] Using alsa sink
[2021-03-16T18:37:21Z DEBUG librespot_connect::spirc] canonical_username: l50x5fzoht9n2ivpvcqf3pnqn
[2021-03-16T18:37:21Z DEBUG librespot_core::mercury] new MercuryManager
[2021-03-16T18:37:21Z DEBUG librespot_connect::spirc] input volume:32768 to mixer: 2072
[2021-03-16T18:37:21Z DEBUG librespot_playback::player] command=AddEventSender
[2021-03-16T18:37:21Z DEBUG librespot_playback::player] command=VolumeSet(32768)
[2021-03-16T18:37:21Z DEBUG librespot_core::session] Session[1] strong=3 weak=2
[2021-03-16T18:37:21Z INFO  librespot_core::session] Country: "DE"
[2021-03-16T18:37:21Z DEBUG librespot_core::mercury] unknown subscription uri=hm://remote/user/l50x5fzoht9n2ivpvcqf3pnqn/
[2021-03-16T18:37:21Z DEBUG librespot_core::mercury] subscribed uri=hm://remote/user/l50x5fzoht9n2ivpvcqf3pnqn/ count=0
[2021-03-16T18:37:22Z DEBUG librespot_connect::spirc] kMessageTypeNotify "jp42" 2ec60a76fd718d78711937e802bdca1ab1265523<PHONE_NUMBER><PHONE_NUMBER>073 kPlayStatusStop
[2021-03-16T18:37:22Z DEBUG librespot_connect::spirc] kMessageTypeNotify "jp42" 2ec60a76fd718d78711937e802bdca1ab1265523<PHONE_NUMBER><PHONE_NUMBER>312 kPlayStatusStop

Closing because of age and inactivity. A new version of Raspotify based on a much newer version librespot will be released soon. When that happens please update and if the issue persists reopen the issue.


Customer is unable to share reports to external users using Microsoft 365 group

Hi Team,
I am Microsoft support engineer ,I was handling a case in which cx mentioned that he is unable to share reports to external users using Microsoft 365 group. So we created an IcM but PG team told me that this is not a bug and this is by design. But in the official sharing report documentation ,nowhere mentioned that we cannot use M 365 groups while sharing reports to users. Customer was asking me to provide official doc or supporting documentation for the same but I could not find it.It is only mentioned as-"Sharing only supports users, distribution groups, or security groups per the documentation:
https://docs.microsoft.com/en-us/power-bi/collaborate-share/service-share-dashboards
"You can also choose to directly send the link to Specific people or groups (distribution groups or security groups). Just enter their name or email address, optionally type a message, and select Send.".

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

ID: 21f47742-00cf-eac0-7880-18eb5e988003
Version Independent ID: 0010dce8-b1e0-b1b4-9840-ff2c3e32b53e
Content: Share Power BI reports and dashboards with coworkers and others - Power BI
Content Source: powerbi-docs/collaborate-share/service-share-dashboards.md
Service: powerbi
Sub-service: pbi-collaborate-share
GitHub Login: @maggiesMSFT
Microsoft Alias: maggies

Thanks, @rushirvk94 ! Updating the article to make it clear that you can’t use Microsoft 365 Unified groups for direct sharing, either internal or external.


Inconsistent Information about callTranscript

the callTranscript resource page shows the object definition as
{
"content": "Stream",
"createdDateTime": "DateTimeOffset",
"id": "String (identifier)",
"meetingId": "String",
"meetingOrganizer": "IdentitySet",
"metadataContent": "Stream",
"transcriptContentUrl": "String"
}
but the GET Transcript call returns the following:
HTTP/1.1 200 OK
Content-type: application/json
{
<EMAIL_ADDRESS>"https://graph.microsoft.com/v1.0/$metadata#users('ba321e0d-79ee-478d-8e28-85a19507f456')/onlineMeetings('MSo1N2Y5ZGFjYy03MWJmLTQ3NDMtYjQxMy01M2EdFGkdRWHJlQ')/transcripts/$entity",
"id": "MSMjMCMjNzU3ODc2ZDYtOTcwMi00MDhkLWFkNDItOTE2ZDNmZjkwZGY4",
"meetingId": "MSo1N2Y5ZGFjYy03MWJmLTQ3NDMtYjQxMy01M2EdFGkdRWHJlQ",
"createdDateTime": "2021-09-17T06:09:24.8968037Z",
"transcriptContentUrl": "https://graph.microsoft.com/v1.0/$metadata#users('ba321e0d-79ee-478d-8e28-85a19507f456')/onlineMeetings('MSo1N2Y5ZGFjYy03MWJmLTQ3NDMtYjQxMy01M2EdFGkdRWHJlQ')/transcripts/('MSMjMCMjNzU3ODc2ZDYtOTcwMi00MDhkLWFkNDItOTE2ZDNmZjkwZGY4')/content",
"meetingOrganizer": {
"application": null,
"device": null,
"user": {
<EMAIL_ADDRESS>"#Microsoft.Teams.GraphSvc.teamworkUserIdentity",
"id": "ba321e0d-79ee-478d-8e28-85a19507f456",
"displayName": null,
"userIdentityType": "aadUser",
"tenantId": "cd6cee19-2d76-4ee0-8f47-9ed12ee44331",
}
}
}
and not the actual calTranscript object. Even appending the URL with /content only returns the VTT data.
Is there a way to return the callTranscript object as a stream, which implies that it can be accessed in real-time during the meeting?
I created a subscription to the meeting transcripts resource, but I only receive a notfication once the meeting is ended, and cannot view the transcript during the meeting, which is the desired outcome.

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

ID: 519a4b94-7379-4649-0e3f-b0fe6918fda2
Version Independent ID: d1732c1a-8bd7-a23a-4e03-c726a4540e26
Content: Get callTranscript - Microsoft Graph v1.0
Content Source: api-reference/v1.0/api/calltranscript-get.md
Product: microsoft-teams
Technology: microsoft-graph
GitHub Login: @v-sdhakshina
Microsoft Alias: MSGraphDocsVteam

Thank you for reporting this, we will check this and update the doc.

Apologies for the delay, currently there is no way to do this, engineering team is working on a feature to allow bot access real-time transcript. But there is no ETA/Timeline to share.


Fix license to remove IBM copyright

Left in by accident and likely not caught as this is not an official "released" repo. as of yet.

Fixes https://github.com/apache/incubator-openwhisk-website/issues/385


Update Issue - 74044382

default description
URL tested: http://ci.bsstag.com/welcome
Open URL on Browserstack

Property
Value

Browser
Chrome 75.0

Operating System
Windows 7

Resolution
1024x612

Screenshot Attached
Screenshot URL

Click here to reproduce the issue on Browserstack

Updated Screenshot Attached


Multiple independent axes

On Victory Chart, there's a possibility to work with multiple independent axes as in this example
Does anyone know if it is possible to get the same result with victory-native?
So far,  I can't reproduce the same result but the documentation doesn't mention any differences...
Thx,
Godot

@GodefroyClair that example uses several svg elements. To get that example working in victory-native you should replace those svg elements with the corresponding elements from react-native-svg


Added support for the new Aggregation stages in 3.4

SCALA-258

One question about parameter order.  Otherwise, LGTM


Install with homebrew

Create homebrew and linuxbrew formulae so that git-mob can be brew installed.
Makes it more accessible for those who aren't familiar with Node and don't have it (nor npm) installed.
See https://github.com/zmwangx/homebrew-npm-noob for easily creating a formula for an npm package.

For anyone that requires brew, I'm currently maintaining an unofficial tap:
brew install jplsek/tap/git-mob


NullPointerException in PDFView.loadComplete

After loading an PDF, I get this exception:
System.err: An uncaught Exception occurred on "main" thread.
System.err: Attempt to invoke virtual method 'boolean java.lang.Thread.isAlive()' on a null object reference
System.err:
System.err: StackTrace:
System.err: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.Thread.isAlive()' on a null object reference
System.err: 	at com.github.barteksc.pdfviewer.PDFView.loadComplete(PDFView.java:756)
System.err: 	at com.github.barteksc.pdfviewer.DecodingAsyncTask.onPostExecute(DecodingAsyncTask.java:80)
System.err: 	at com.github.barteksc.pdfviewer.DecodingAsyncTask.onPostExecute(DecodingAsyncTask.java:27)
System.err: 	at android.os.AsyncTask.finish(AsyncTask.java:667)
System.err: 	at android.os.AsyncTask.-wrap1(AsyncTask.java)
System.err: 	at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:684)
System.err: 	at android.os.Handler.dispatchMessage(Handler.java:102)
System.err: 	at android.os.Looper.loop(Looper.java:241)
System.err: 	at android.app.ActivityThread.main(ActivityThread.java:6274)
System.err: 	at java.lang.reflect.Method.invoke(Native Method)
System.err: 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
System.err: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)

From my point of view this state should not be possible as the referenced object is initialized in the constructor - but, it is.

@TalbotGooday Thank a lot for the suggestion, I treid to patch it as well but inserted
 if(renderingHandlerThread == null){
            renderingHandlerThread = new HandlerThread("PDF renderer");
        }

instead of a return to re-initialize it as it is initialized in the constructor.
I was able to verify it in the context the error occured for me and it worked fine - do you want a PR for it or do you have thoughts about it?

@madmas Please, create a PR. I can't fix this now 'cause I want to refactor the library on which based this one. I need some time to figure out how to build native code)

@TalbotGooday here it is ;-) I would be great if you can forge a release after it is merged 😇

@madmas Thank you) I'll try to make a release ASAP)

Merged, fixed, released. Version 3.1.0-beta.3 is waiting for you

@TalbotGooday it looks to me like something went wrong with the release :( I cannot get it from https://jitpack.io/com/github/TalbotGooday/AndroidPdfViewer/3.1.0-beta.3/  - does it work for you?

@madmas Yeah. There was some kind of a bug with the jitpack. Try again now

@TalbotGooday thanks a lot, works now.


Update Librispeech recipe

Codecov Report

Merging #321 (a5b505a) into master (26bb0d3) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #321   +/-   ##
=======================================
  Coverage   68.04%   68.04%
=======================================
  Files          96       96
  Lines       10835    10835
=======================================
  Hits         7373     7373
  Misses       3462     3462

Continue to review full report at Codecov.

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


Add a mission in the header

"saving lives, saving animals"
This is the mission of this website so i want this mission to displayed in header but without disturbing the UI

I would like to work on this issue!

I would like to work on this issue!!

assigning to @SammriddhGupta

Does this look anything like what you had in mind for the mission?

loooks good

make a pr

Alright!


feat(main): #72 customize ticket

Added surround prop to add brackets, parens, curly braces, around ticket. Added new ticket position 'before-colon'.
Closes: #72

I decided to just directly address the existing discussions / issues using existing concepts in the code. Instead of implementing a new custom template property. - These properties together will suffice most common/useful situations with less potential complexity.
@shiw-yang - You can now wrap the ticket number with brackets in the title. Just add this to your config.
"check_ticket": {
  "surround": "[]"
}

@schophil - You can now use ticket as scope like this
"check_ticket": {
  "surround": "()",
  "title_position": "before-colon"
},
"commit_scope": {
  "enable": false
}

@Everduin94 Great, thanks, already using it!

@Everduin94 Thanks for getting it done so quickly and well. I've already started using it, and I'm going to share it with my team members next!