Play Pissandshittium anthem when openning the browser

Pissandshittium anthem https://www.youtube.com/watch?v=5W6gbi4k9Vk

That's actually good lol

thanks xD

これクソ何？？？


Xorg input freezes

Hello,
When keyd is run, it freezes the Xorg server input, disallowing me from typing. The mouse is still recognized.

I run keyd as root for testing purposes: keyd in another terminal

/etc/keyd/default.conf:
[ids]

*

[main]

shift = oneshot(shift)
meta = oneshot(alt)
control = oneshot(control)

leftalt = oneshot(meta)
rightalt = oneshot(altgr)

capslock = oneshot(control)
insert = S-insert

keyd -m matches keys successfully as root and the normal user.

I downloaded keyd through git, then make && make install.

Kernel module 'uinput` is loaded.

This input does not freeze in tty.

How do I troubleshoot this?

Please post the output of the daemon and the output of sudo keyd -m. You should ideally be running it from your service manager (e.g sudo systemctl start keyd), rather than starting it manually (sudo keyd), but the latter is fine for debugging. The output of xinput list would also be useful.

My apologies,
I unwisely killed the device manager in my init script.
Leaving it alive allows keyd to work without issue.


When low_loss increases, why does annualized loss decrease?

First off, great effort - really good to see quantitative approaches to InfoSec risk, thanks. This may be a stats newbie question, but consider the following test.csv:
A,DoS,0.5,1,100000

The low_loss value is $1, and the high_loss is $100,000. The output of riskquant --file test.csv is:
A,DoS,"$72,200"

So, the annualized loss is $72,200 (72% of the high_loss).
When we increment the low_loss value to $1000 without changing the high_loss like so:
A,DoS,0.5,1000,100000

The output of riskquant --file test.csv is:
A,DoS,"$13,300"

So now the annualized loss is only %13 of the high_loss, which seems counter intuitive - I would have thought that raising the low_loss whilst holding all other things equal would have increased the annualized loss. If we continue raising the low_loss value, we get some interesting behaviour:
A,DoS,0.5,99999,100000

Gives an annualized loss of $50,000, so it appears to go back up but still not quite as high as when the lowest loss was 1.
What am I missing here? Is this right? If so, why?

It appears this happens for the first ~0.5% of the range, after which it starts to behave as I would expect (losses increase as the low_loss increases). I pulled out the SimpleLoss code into a notebook:
out_al = widgets.Output()

def distribution(frequency, low_loss, high_loss):
    factor = -0.5 / norm.ppf(0.05)
    mu = (math.log(low_loss) + math.log(high_loss)) / 2.
    shape = factor * (math.log(high_loss) - math.log(low_loss))
    return lognorm(shape, scale=math.exp(mu))

def annualized_loss(frequency, low_loss, high_loss):
    return frequency * distribution(frequency, low_loss, high_loss).mean()

def gen_al_curve(freq, mx):
    r = list(range(1, mx))
    line = []
    for i in r:
        l = annualized_loss(freq, i, mx)
        if len(line) > 0 and l > line[len(line) - 1]:
            print(f'inflects at {i} ({l})')
        line.append(l)
    plt.plot(line)
    with out_al:
        plt.show()

display(out_al)
gen_al_curve(0.5, 10000)

And see the following:

Which shows the inflection happens when low_loss is 46/10,000 (0.46%). So I guess this is an expected behaviour for "too small" values?

Re: summary 1, yes it's expected. The lognormal shape is proportional to the difference log(hi) - log(low) which is equivalent to saying it's the ratio of high/low. The lognormal is by definition non-negative, with high shape values causing the left side of the distribution to be very steep near the origin, which causes the right side of the distribution to explode out to higher values. The Wikipedia entry for lognormal distribution has a diagram which shows this effect (where sigma is the shape value).
Re: summary 2, yes, if you're using the lognormal, usually you don't want the high/low ratio to be so high (500,000 in your example) because the distribution is unusually skewed, leading to the unrealistic values for annual loss that you observed.
There are a few things I can suggest: first, you're treating the frequency as a probability that can't exceed 1, but it can exceed 1 when you intend to say that it is expected to occur more than once a year on average. (Note that I had a bug that enforced frequency <=1 but that's fixed since PR#10. Sorry if that caused confusion)
Re: summary 3, It does seem like the single account scenario is distinct from the "large breach" situation. In that case, you could have the small-scale loss have a smaller high end loss, while the large breach starts at a higher low loss.
For example (just for illustration, I am sure you can come up with better numbers):

Small account loss: Frequency: 10, Low impact: $2, High impact: $1000
Large scale breach: Frequency: 0.2, Low impact: $10,000, High impact: $1,000,000

s1 = simpleloss.SimpleLoss('SMALL', 'Small loss', 10, 2, 1000)
s2 = simpleloss.SimpleLoss('LARGE', 'Large loss', 0.2, 10000, 1000000)
s1.annualized_loss()
2663.505611088662
s2.annualized_loss()
53279.60195471087

which seems to capture your desired behavior better.


wrong or wrong created source results in wrong default variable assignment

This is a bit tricky, since the problem occures only in rare circumstances.
I rely heavily on the "database reverse engineering" function in symphony. So during development we modell our database and deploy it to the database server (debian/madiadb). Then I do an automated ORM descriptor creation and a automated entity file creation provided by this tool. DB -> table.orm.yml -> table.php
A default integer (1) value, defined in the database becomes a: default: '1'
Than the EntityGenerator reads the default: '1' in quotes from the yaml-definition and var_dumps it into the .php entity. As a result the default value becomes a wrong type and doctrine tells me it can't use this default value.
As a workaround I extra type cast the value depending on the defined type.
Would like to see this problem solved in a futher version. Anyways, I am happy with the way these processes work.

Hello, I'm going to close this incomplete PR as we will be removing EntityGenerator in Doctrine 3.0 completely and 2.x is closed feature-wise. Thank you for the PR.


Unspecified Error when running Get-ADPrincipalGroupMembership using Non-delegated Account

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce
When running Get-ADPrincipalGroupMembership using an admin account that is marked as "sensitive and cannot be delegated", an unspecified error occurs. This is happening on an admin workstation, not on the DC.
The exact command I'm attempting to run is:
Get-ADPrincipalGroupMembership -Identity "adtest"
This error does not occur when using a standard user account. We use admin accounts for various tasks and it seems to be only this command that causes an error.
Strangely on this account I can run Get-ADUser, Get-ADGroupMember, Get-ADObject, etc. I can even run Add-ADPrincipalGroupMembership and Remove-ADPrincipalGroupMembership while using this non-delegated admin account without issue. I'm also able to view the contents of the Member Of tab in ADUC with both accounts.
I believe this is a bug with this particular command in the ActiveDirectory module.
For now my workaround is to just use my regular account for these lookups or to use (Get-ADUser -Identity adtest -Properties MemberOf).MemberOf
Expected behavior
PS C:\> Get-ADPrincipalGroupMembership -Identity adtest

distinguishedName : CN=Domain Users,CN=Users,DC=contoso,DC=com
GroupCategory     : Security
GroupScope        : Global
name              : Domain Users
objectClass       : group
objectGUID        : c48b2114-2fe7-4282-b296-a0d3b4c80141
SamAccountName    : Domain Users
SID               : S-1-5-21-1444237352-1323246715-1848914655-513

Actual behavior
PS C:\> Get-ADPrincipalGroupMembership -Identity adtest
Get-ADPrincipalGroupMembership: An unspecified error has occurred

Error details
Exception             :
    Type               : Microsoft.ActiveDirectory.Management.ADException
    ServerErrorMessage : An operations error occurred.

    TargetSite         :
        Name          : GetExceptionFromErrorCode
        DeclaringType : Microsoft.ActiveDirectory.Management.ExceptionHelper, Microsoft.ActiveDirectory.Management, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        MemberType    : Method
        Module        : Microsoft.ActiveDirectory.Management.dll
    StackTrace         :
   at Microsoft.ActiveDirectory.Management.ExceptionHelper.GetExceptionFromErrorCode(Int32 errorCode, String errorMessage, String serverErrorMessage, Exception innerException)
   at Microsoft.ActiveDirectory.Management.AdwsConnection.ThrowExceptionForErrorCode(String message, String errorCode, String extendedErrorMessage, Exception innerException)
   at Microsoft.ActiveDirectory.Management.AdwsConnection.ThrowException(CustomActionFault caFault, FaultException faultException)
   at Microsoft.ActiveDirectory.Management.AdwsConnection.GetADPrincipalGroupMembership(GetADPrincipalGroupMembershipRequest request)
   at Microsoft.ActiveDirectory.Management.ADWebServiceStoreAccess.Microsoft.ActiveDirectory.Management.IADAccountManagement.GetADPrincipalGroupMembership(ADSessionHandle handle, GetADPrincipalGroupMembershipRequest request)
   at Microsoft.ActiveDirectory.Management.ADAccountManagement.GetPrincipalGroupMembership(String partitionDN, String principalDN, String resourceContextServer, String resourceContextPartition)
   at Microsoft.ActiveDirectory.Management.Commands.GetADPrincipalGroupMembership.GetGroupMembershipProcessCSRoutine()
   at Microsoft.ActiveDirectory.Management.CmdletSubroutinePipeline.Invoke()
   at Microsoft.ActiveDirectory.Management.Commands.ADCmdletBase`1.ProcessRecord()
    Message            : An unspecified error has occurred
    InnerException     :
        Type       : System.ServiceModel.FaultException`1[[schemas.microsoft.com._2008._1.ActiveDirectory.CustomActions.GetADPrincipalGroupMembershipFault, Microsoft.ActiveDirectory.Management, Version=<IP_ADDRESS>, Culture=neutral,
PublicKeyToken=31bf3856ad364e35]]
        Detail     : schemas.microsoft.com._2008._1.ActiveDirectory.CustomActions.GetADPrincipalGroupMembershipFault
        Action     : http://schemas.microsoft.com/2008/1/ActiveDirectory/Data/fault
        Code       : System.ServiceModel.FaultCode
        Message    : Active Directory returned an error processing the operation.
        Reason     : Active Directory returned an error processing the operation.
        TargetSite :
            Name          : HandleReply
            DeclaringType : System.ServiceModel.Channels.ServiceChannel, System.Private.ServiceModel, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
            MemberType    : Method
            Module        : System.Private.ServiceModel.dll
        StackTrace :
   at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
   at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(MethodCall methodCall, ProxyOperationRuntime operation)
   at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(MethodInfo targetMethod, Object[] args)
--- End of stack trace from previous location ---
   at System.Reflection.DispatchProxyGenerator.Invoke(Object[] args)
   at generatedProxy_3.GetADPrincipalGroupMembership(GetADPrincipalGroupMembershipRequest )
   at Microsoft.ActiveDirectory.Management.AdwsConnection.GetADPrincipalGroupMembership(GetADPrincipalGroupMembershipRequest request)
        Source     : System.Private.ServiceModel
        HResult    : -2146233088
    Source             : Microsoft.ActiveDirectory.Management
    HResult            : -2146233088
CategoryInfo          : NotSpecified: (adtest:ADPrincipal) [Get-ADPrincipalGroupMembership], ADException
FullyQualifiedErrorId : ActiveDirectoryServer:0,Microsoft.ActiveDirectory.Management.Commands.GetADPrincipalGroupMembership
InvocationInfo        :
    MyCommand        : Get-ADPrincipalGroupMembership
    ScriptLineNumber : 1
    OffsetInLine     : 1
    HistoryId        : 12
    Line             : Get-ADPrincipalGroupMembership -Identity adtest
    PositionMessage  : At line:1 char:1
                       + Get-ADPrincipalGroupMembership -Identity adtest
                       + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    InvocationName   : Get-ADPrincipalGroupMembership
    CommandOrigin    : Internal
ScriptStackTrace      : at <ScriptBlock>, <No file>: line 1

Environment data
Name                           Value
----                           -----
PSVersion                      7.1.3
PSEdition                      Core
GitCommitId                    7.1.3
OS                             Microsoft Windows 10.0.18363
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

PS C:\> Get-WindowsCapability -Online | ? {$_.State -eq "Installed" -and $_.Name -like "Rsat*"}

Name  : Rsat.ActiveDirectory.DS-LDS.Tools~~~~<IP_ADDRESS>
State : Installed

Visuals
No response

The cmdlet is not in the repo. Please use Windows Feedback tool to report the issue.


@storybook-extras/variants not working with Lit web component

Hi @sheriffMoose, this addon is a cool project. Thanks for sharing it with the world.
I wanted to try it out on a new Storybook 7.0 project I'm working on, which is using @storybook/web-components and Vite. To get started I followed the instructions here: https://github.com/sheriffMoose/storybook-extras/tree/master/packages/variants#readme
But when I look at the story where I've added
parameters: {
    variants: {
      enable: true
    },
  },

I get the following error, and my component isn't rendered in the Storybook canvas:

I'm not sure if there's an issue in _populateStoryTemplate() or in one of the other functions called before it in _init(), but without modifying your code locally, my assumption is that there's an problem due to my component/story using @storybook/web-components and/or Lit's html template literal function.
Here are the relevant parts of my package.json:
  "dependencies": {
    "lit": "2.7.2"
  },
  "devDependencies": {
    "@storybook-extras/variants": "^0.0.68",
    "@storybook/addon-essentials": "7.0.3",
    "@storybook/addon-links": "7.0.3",
    "@storybook/blocks": "7.0.3",
    "@storybook/web-components": "7.0.3",
    "@storybook/web-components-vite": "7.0.3",
    "sass": "1.62.0",
    "storybook": "7.0.4",
    "typescript": "5.0.4",
    "vite": "4.2.1"
  },

hi @dakdh, thanks for reaching out, when I developed this addon, I've taken into consideration both angular & react. If you would like to submit a PR to support web-components as well, that would be great.
Otherwise, I will create a PR as soon as possible and keep you posted.
Thanks again :)


Bot Framework Composer stuttering/freezing

Describe the bug
When working within the Bot Framework composer on a skill consisting of 36 dialogs and 151 Intents/Custom Events and begin dialogs, the composer begins to have mini stutters and/or times out (freezes) for long periods of times while making changes to existing dialogs or adding of new dialogs. (The size of the skill will be increasing over time up to 14 more dialogs consisting of upwards of 70 additional intents/custom events and begin dialogs.)
Stutters/Freezes can last from 5seconds up to 30minutes when making changes within the skill, with the only noticeable effects being the heap size running at around "1 to 3mb/s" in the red within the Developers tools. The following was added in an attempt to solve the issue, --js-flags="--max_old_space_size=8192" which yielded no changes, after certain periods of time the composer will unfreeze either momentarily or completely before allowing you to close and retain your work to restart the application before continuing to work.
Additionally, closing the bot Composer will revert changes made before the freeze occurred, this issue is occurring on 2 separate users devices, one experiencing stuttering while the other has both stuttering and freezing resulting in time lost on our project.

Version
Bot Framework Composer V2.1.2

Browser

[X] Electron distribution
[ ] Chrome
[ ] Safari
[ ] Firefox
[ ] Edge

OS

[ ] macOS
[X] Windows
[ ] Ubuntu

To Reproduce
Steps to reproduce the behavior: (unfortunately, I have been unable to consistently reproduce the issue as it occurs while working within the composer at random intervals over an 8 hour period) The best attempt was as follows:

Go to 'Bot Responses'
Click to 'edit Templates within the Reponses/edit pre-existing Templates/within Show Code'
Bot Framework begins to slow down, before freezing. (No Errors received)

Expected behavior
For the application to work without stutters or freezing.

Screenshots

Additional context

Hi @B-Sel,
This appears to be linked to another Composer issue (which you may have already seen before, based on your attempt to resize the JS heap) where large projects cause significant performance problems due to a memory leak. Considering the size of your project, I suspect you're hitting this problem despite increasing the heap size.
There is one PR open that fixes part of the issue, but there is still an ongoing investigation aimed at resolving the issue fully.

Hi @B-Sel,
This appears to be linked to another Composer issue (which you may have already seen before, based on your attempt to resize the JS heap) where large projects cause significant performance problems due to a memory leak. Considering the size of your project, I suspect you're hitting this problem despite increasing the heap size.
There is one PR open that fixes part of the issue, but there is still an ongoing investigation aimed at resolving the issue fully.

Hi @anishprasad01,
I'm currently overseeing the project that @B-Sel is working on.
It's great to see that there's already someone in the pipeline that might fix the issue, but do you have an expectation for when this PR could be updated?
We're working on an important project using the composer, and we're currently a bit worried as we're planning to expand the project a lot more than what we already have in there.

@Jacob-Steentoft,
I'll push for a quicker resolution but unfortunately, at this time I do not have a more specific timeframe to share.

@ceciliaavila
Related to #9346.

Hi @B-Sel. Can you please try out Composer's latest nightly release and see if the issue still exists?


Divider After OptGroup Causes the OptGroup Label to Disappear

If a divider option is placed directly after an optgroup is causes the label of the optgroup to be replaced by the divider.  See the jsfiddle example of the issue below:
https://jsfiddle.net/ddelella/9nm2j8ju/1/

Can you reproduce this with the current version of bootstrap-select? In your demo, you're using v1.6.5.

Closing due to inactivity.


wp 4.6 and include-kirki.php

Hello Aristeides,
Thanks for your work on Kirki, I've been using it for the last couple of weeks on a new theme and it's helped a lot with the customizer.
I was testing and just updated my WP to version 4.6 and noticed that the customizer install now button for Kirki generated in the iframe window appears to be blocked now with WP version 4.6, it works with 4.5 just fine.
I was actually going to switch to the tgmpa route but instead tinkered a bit and basically just cloned that button to the parent window...I'm sure there's a better solution but at least it works again.  Starting at line 36 in include-kirki.php I added...
// Clone button to parent window
var iBody = jQuery('iframe#kirki-customizer-installer').contents().find('body');
var kButton = iBody.find('#plugin_install_from_iframe').clone();
iBody.find('#plugin_install_from_iframe').hide();
parent.jQuery('#customize-control-kirki_installer').append(kButton);
Maybe you are already aware of this but I thought I'd share.

Hey there!
I wasn't aware... thank you for bringing this to my attention!
I'll assign to myself and mark this as a bug.
I wanted to investigate alternative implementations anyway, so this is a good opportunity. 👍

I know WordPress made some customizer changes in 4.6, just not sure which change caused that.
Thank you for looking into this Aristeides!
Lee

https://github.com/aristath/kirki-helpers/pull/8

fixed


Host unavailable after short time on func start

I had functions that were working a month ago (literally ...I demo'd on Sept 15).
I've now updated:
VS Code to 1.28.1
AF extension to .11
AF CLI to 2.0.3
I'm on macOS.
The function I'm testing has an output binding to CosmosDB so I updated the extensions.csproj to
    <PackageReference Include="Microsoft.Azure.WebJobs.Extensions.CosmosDb" Version="3.0.1" />
    <PackageReference Include="Microsoft.Azure.WebJobs.Extensions.Twilio" Version="3.0.0" />
    <PackageReference Include="Microsoft.Azure.WebJobs.Script.ExtensionsMetadataGenerator" Version="1.0.1" />

FWIW, I've also done things like re-initialize the function folder. You know me...I've been trying things for hours now. :)
When I run using func start, I get the functions running (though they take a much longer time). I head over to Postman and hit one of the functions (a post). In VS Code host window, I can see the request coming in, but then nothing happens and after a short time, I get an error message about the host being unavailable. (See below)
I've looked at every thing I could find in this repo, the azure functions host repo and the webjobs sdk repo. Nothing is helping. Any ideas?
Also, when I debug, I never even hit any breakpoints.
Possibly related..I cant stop the app. Not even with CTRL-C. I have to quit VS Code.
Http Functions:

        Subscribe: http://localhost:7071/api/Subscribe

        AddDatatoCosmosDB: http://localhost:7071/api/AddDatatoCosmosDB

info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
      Request starting HTTP/1.1 POST http://localhost:7071/api/Subscribe?message=8025785506  0
warn: Microsoft.Azure.WebJobs.Script.WebHost.Middleware.HostAvailabilityCheckMiddleware[2]
      Host unavailable after check. Returning error.
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]
      Request finished in 33308.6531ms 503

More data...
I deleted the obj and bin folders which caused an issue with the cosmosdb extension. That issue is when I ran func start, I got a warning that the extension was not installed. However, my simple HttpTrigger function worked in this case (a different function that has no cosmosdb bindings). When I reinstalled cosmosdb extension, not even that simple HttpTrigger function would work. It too, got hung up on the host being unavailable.

also repo: https://github.com/julielerman/ServerlessFall2018

update: I've successfully created a brand new folder, azure function app and cosmosdb trigger that I'm able to debug (only after apply the double underscore fix https://github.com/Microsoft/vscode-azurefunctions/issues/704 )

@julielerman so is this working for you now? In other words did you get your existing project to work or just a brand new app?

p.s. when I have some tme again I will go check the "breaking changes" list.

Closing for now. Feel free to re-open if you can get a consistent repro


net/http: flaky "connection reset by peer" on macOS Sierra

all.bash on Sierra at master:
--- FAIL: TestTransportDiscardsUnneededConns (0.14s)
	clientserver_test.go:979: Get: Get https://<IP_ADDRESS>:59047: read tcp <IP_ADDRESS>:59050-><IP_ADDRESS>:59047: read: connection reset by peer
FAIL
FAIL	net/http	10.072s

I saw this on the Go 1.6 branch too. Haven't dug into it to find out what it means, whether it's Sierra or a race in the test. Just happens once in a while.
/cc @bradfitz

I at least can't reproduce it on Linux with a high -count value and/or -race (which randomizes goroutine scheduling a bit and often exposes timing issues).
Will try on Mac.

My corp laptop is still 10.11 so I'll need to setup Sierra builders before I can work on this.

I've been running go test -short net/http in a loop for the past hour on my home Sierra desktop and haven't gotten a single error. I also tried go test -short -run=TransportConcurrency -count=500 and go test -short -run=TestTransportDiscardsUnneededConns -count=500.
I suspect I might've accidentally fixed this during my recent test parallelization and de-flaking spree:
cd670a61c193e6717400c6cc130484d6ad97c96b
276c29ff6da13ef7089075d8cd2172fe3d3956fb
f9d406ebeaa0af42d2a88bab498a44a91c6c03ee
27a3d30dd09cdd869b1b67f0154fa698bdf8ead2
2f2b57853eeccf854e8e47e5f77ff043d34b2a34
I'm going to close for now, but please reopen if you see it happen again or have ideas on how I can make it fail.


msg_length changed on newer controllers (10 instead of 7)

Some newer controllers (such as CB38M4A(IB)-1 (flexispot e7q) report their heigt with a msg_lenght of 10 instead of 7. This should be reverse-compatible, even though i have not tested that.

Thanks! I will test this early October when I start working on this again. :)

Works!


Support for Pinecone as a Document Store

Describe the solution you'd like
Support for Pinecone as a Document Store

Hey there, sorry for the late response, looks like we lost track of your issue :/
We are open to supporting any kind of vector DB, but have limited resources to maintain all of them. Would you be able to contribute this feature?

Hello @NOT-HAL9000,
It may be helpful also to open a similar issue under their Python client  https://github.com/pinecone-io/pinecone-python-client to see if they may also be interested to collaborate

Sorry @JohannesMessner  I'm unable to pick this up myself. I just thought I would create an issue because I use Pinecone quite a lot (exclusively for vector search) and would love to use it with docarray.
@JoanFM I created an issue on there back in March https://github.com/pinecone-io/pinecone-python-client/issues/150, it was marked as an enhancement and I haven't heard anything back.

We just released the new docarray version. The issue is in our backlog but currently we do not have capacity to take it.

Hopefully someone from pinecone can see the value in creating this connector


gnupg 2.x support

it would be nice if aptly could support gnupg 2.x out of the box (i.e. gpg2 instead of gpg)
currently only gnupg 1.x is supported
call gpg and if fails try gpg2 in all the lines like this one

To support gpg2, it sounds like aptly just needs to run gpg-agent and gpg-preset-passphrase prior to signing.


Ability to change operator for using icons in editor

Add a setting for changing the operator for selecting the icons in the editor.

Does this refer to this setting?

It works for the autofill now, but previous icons become plaintext. Maybe the operator can be used for the searching but the autofill replaces it with the default?


Modify ItemVisibility to make it work.

/Azurepipelines run

No longer need this. Proper fix is in https://github.com/microsoft/PTVS/pull/5671


[Build] Add a reasonable default for CMAKE_CUDA_COMPILER in *nix

Description
After recent changes to CMake, CMAKE_CUDA_COMPILER is not picked up automatically, as nvcc is not usually on the PATH. This sets a reasonable default which is also used by convention by NVidia tooling which symlinks /usr/local/cuda to the default cuda version.

@mxnet-label-bot add [pr-awaiting-review]

@mxnet-label-bot add [Build]

@leezu

Why would nvcc not be on the PATH? Could you provide an example system for reference that comes with this setup?

nvcc is normally not in the PATH in ubuntu nvidia packages it goes in the path that you can see in this PR.

/usr/local/cuda/bin/nvcc is usually NOT in the path.

@larroy why close this issues?
You can just copy the suggested code change and push, then it can be merged:
  check_language(CUDA)
  if (NOT CMAKE_CUDA_COMPILER_LOADED AND UNIX AND EXISTS "/usr/local/cuda/bin/nvcc")
    set(CMAKE_CUDA_COMPILER "/usr/local/cuda/bin/nvcc")
    message(WARNING "CMAKE_CUDA_COMPILER guessed: ${CMAKE_CUDA_COMPILER}")
  endif()

ok. Seems Linux GPU is timeouting often though.


Add snippet

Here's an idea for the snippet. The .with:"" part isn't necessary for the join, but we might as well show off attributes. Thoughts? We could workshop something else. There are quite a few Arturo solutions at https://rosettacode.org/wiki/Category:Arturo that we might be able to adapt as long as they're short.

I'll ponder some block ideas.

Let's merge this to have a nice starting point.


Lock bootstrap data with empty key to prevent conflicts

Proposed Changes
Lock bootstrap data with empty key to prevent conflicts
Types of Changes

Verification

Testing

Linked Issues

https://github.com/k3s-io/k3s/issues/7185

User-Facing Change
K3s now locks the bootstrap key in the datastore while creating initial cluster bootstrap data, preventing a race condition when multiple servers initialized an external datastore at the same time.

Further Comments

Codecov Report
Patch coverage has no change and project coverage change: -0.02 :warning:

Comparison is base (2992477) 9.84% compared to head (4b8b7a9) 9.83%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff            @@
##           master   #7215      +/-   ##
=========================================
- Coverage    9.84%   9.83%   -0.02%
=========================================
  Files         147     147
  Lines       10819   10831      +12
=========================================
  Hits         1065    1065
- Misses       9532    9544      +12
  Partials      222     222

Flag
Coverage Δ

unittests
9.83% <0.00%> (-0.02%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/cluster/bootstrap.go
0.00% <0.00%> (ø)

pkg/cluster/storage.go
0.00% <0.00%> (ø)

pkg/etcd/etcd.go
14.54% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Integrating feedback mechanism/endpoint

Is your feature request related to a problem? Please describe.
Integrating feedback mechanism/endpoint into the platform
Describe the solution you'd like

An endpoint
Utilising some already existing tools like JIRA, mailchimp

Describe alternatives you've considered

An endpoint
Utilising some already existing tools like JIRA, mailchimp

Additional context
To integrate these feedback mechanisms into a microservice of sorts and also integrate them as Kafka topics accordingly.

@Baalmart which microservice should I use


Tag new version

Master has a few bug fixes. We should tag a new release asap

I think it's good, closing this :)


MAINT update when to trigger GHA workflows

It seems that I did not configure properly when to trigger GHA.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 90.60%. Comparing base (939a1cb) to head (ef9d685).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #79   +/-   ##
=======================================
  Coverage   90.60%   90.60%
=======================================
  Files           7        7
  Lines         181      181
  Branches       24       24
=======================================
  Hits          164      164
  Misses         15       15
  Partials        2        2

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


Displaying a quote sum

There should be a quote sum per project in the project overview:
TinyIssue
12 open issues  -  8 hours estimated so far.
Sample Project
5 open issues - 3 hours 20 minutes estimated so far.

Quick with the typing - slow with the looking.
I just found out it's already there.


Improve documentation and add examples

This PR improves the documentation of the public methods of StableHasher and adds some usage examples.
cc @weihanglo
r? @WaffleLapkin
Fixes #2

#4 was merged, I have rebased this PR over main, CI is green and I think https://github.com/rust-lang/rustc-stable-hash/pull/3#discussion_r1647713568 can be handled as a follow-up (rather than holding this PR). I think this is ready be merged.
@WaffleLapkin @michaelwoerister do you agree? Can we merge it?

@Urgau, I left a couple of remarks but nothing blocking. I'm good with merging the PR, looks great!


Review import option when it is disabled due to plan limitation

For example:

Available on create-modal-1.3


Add MongoDB.Analyzer

Description of changes

Breaking changes

Additional checks

[ ] Updated the documentation of the project to reflect the changes
[ ] Added new tests that cover the code changes

In our test project, it adds between 5s and 6s to the build. This looks too long for the added-value.
Also, it doesn't work when you set [BsonId(IdGenerator = typeof(StringGuidIdGenerator))]. We'll report the bug on their JIRA


Find Commands regular expression

Find Commands should support regular expressions.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/6522108-find-commands-regular-expression?utm_campaign=plugin&utm_content=tracker%2F282001&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F282001&utm_medium=issues&utm_source=github).

Migrated to limetext/lime-backend#5.


Failing periodic job: periodic-ci-kubevirt-hyperconverged-cluster-operator-release-4.5-hco-e2e-nightly-bundle-release-4-5-azure4

Is this a BUG REPORT or FEATURE REQUEST?:

Uncomment only one, leave it on its own line:

/kind bug

/kind enhancement
/triage build-officer

What happened:
Failing periodic job: periodic-ci-kubevirt-hyperconverged-cluster-operator-release-4.5-hco-e2e-nightly-bundle-release-4-5-azure4
https://deck-ci.apps.ci.l2s4.p1.openshiftapps.com/?type=periodic&job=periodic-ci-kubevirt-hyperconverged-cluster-operator-release-4.5-hco-e2e-nightly-bundle-release-4-5-azure4
logs: https://storage.googleapis.com/origin-ci-test/logs/periodic-ci-kubevirt-hyperconverged-cluster-operator-release-4.5-hco-e2e-nightly-bundle-release-4-5-azure4/1276350122363457536/build-log.txt
Failing test:
[Fail] [rfe_id:273][crit:high][vendor:cnv-qe@redhat.com][level:component]VMIlifecycle [rfe_id:273][crit:high][vendor:cnv-qe@redhat.com][level:component]Creating a VirtualMachineInstance when virt-launcher crashes [It] [test_id:1631]should be stopped and have Failed phase
/go/src/kubevirt.io/kubevirt/tests/utils.go:418

What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
We detected it on HCO periodic job more than once but it's definitively a kubevirt issue.
I'm moving it from: https://github.com/kubevirt/hyperconverged-cluster-operator/issues/661
Environment:

HCO version (use oc get csv -n kubevirt-hyperconverged):
Kubernetes version (use kubectl version):
Cloud provider or hardware configuration:
Install tools:
Others:

It's now failing to come up, example
+ echo 'Waiting for HCO to get fully deployed'
+ oc wait -n openshift-cnv hyperconverged kubevirt-hyperconverged --for condition=Available --timeout=15m
Waiting for HCO to get fully deployed
error: timed out waiting for the condition on hyperconvergeds/kubevirt-hyperconverged

no it is deck-build-log
evel=error msg="Error: Error Creating/Updating Subnet \"ci-op-pts1nr93-2e55b-b5fr9-worker-subnet\" (Virtual Network \"ci-op-pts1nr93-2e55b-b5fr9-vnet\" / Resource Group \"ci-op-pts1nr93-2e55b-b5fr9-rg\"): network.SubnetsClient#CreateOrUpdate: Failure sending request: StatusCode=0 -- Original Error: autorest/azure: Service returned an error. Status=<nil> Code=\"AnotherOperationInProgress\" Message=\"Another operation on this or dependent resource is in progress. To retrieve status of the operation use uri: https://management.azure.com/subscriptions/d38f1e38-4bed-438e-b227-833f997adf6a/providers/Microsoft.Network/locations/centralus/operations/831580d6-2557-4650-9a57-3b058673eb2b?api-version=2019-09-01.\" Details=[]"
level=error
level=error msg="  on ../tmp/openshift-install-632375916/vnet/vnet.tf line 22, in resource \"azurerm_subnet\" \"worker_subnet\":"
level=error msg="  22: resource \"azurerm_subnet\" \"worker_subnet\" {"
level=error
level=error
level=fatal msg="failed to fetch Cluster: failed to generate asset \"Cluster\": failed to create cluster: failed to apply Terraform: error(AzureMultiOperationFailure) from Infrastructure Provider: Creating Subnets failed because Azure could not process multiple operations."

Currently hitting a timeout:
2020/08/09 03:21:55 Running pod hco-e2e-nightly-bundle-release-4-5-azure4
{"component":"entrypoint","file":"prow/entrypoint/run.go:165","func":"k8s.io/test-infra/prow/entrypoint.Options.ExecuteProcess","level":"error","msg":"Process did not finish before 4h0m0s timeout","severity":"error","time":"2020-08-09T07:04:07Z"}
time="2020-08-09T07:04:07Z" level=info msg="Received signal." signal=interrupt
2020/08/09 07:04:08 error: Process interrupted with signal interrupt, cancelling execution...
2020/08/09 07:04:08 cleanup: Deleting template hco-e2e-nightly-bundle-release-4-5-azure4
2020/08/09 07:04:08 error: Could not delete template instance: context canceled
2020/08/09 07:04:08 cleanup: Deleting release pod release-latest
time="2020-08-09T07:04:08Z" level=error msg="failed to remove file" error="could not run remote command: pod hco-e2e-nightly-bundle-release-4-5-azure4 does not have a host assigned"
{"component":"entrypoint","file":"prow/entrypoint/run.go:250","func":"k8s.io/test-infra/prow/entrypoint.gracefullyTerminate","level":"error","msg":"Process did not exit before 30m0s grace period","severity":"error","time":"2020-08-09T07:34:07Z"}


Led P5 outdoor drawPixel conflict position--> setCursor(0,0) but display (0,8)

Code test:
dma_display.setTextSize(1);     // size 1 == 8 pixels high
dma_display.setTextWrap(false); // Don't wrap at end of line - will do ourselves
dma_display.setCursor(0, 0);   // start at top left, with 8 pixel of spacing
uint8_t w = 0;
char *str = "ESP32 DMA<PHONE_NUMBER>23456789123456789123456789123456789123456789";
Serial.println(strlen(str));
for (w = 0; w < strlen(str); w++) {
dma_display.setTextColor(dma_display.color565(255, 0, 255));
dma_display.print(str[w]);
}
--> Start character start in (0,8) --> conflict position

What's the actual issue?

Im setting cursor at pos (0,0) but when i run this code i see character begin at pos(0,8).
(0,0);(0,8) output the same

What's the actual issue? Does a drawPixel (0,8) light up the correct LED?

drawPixel (0,0) light up the incorrect LED
Code: dma_display.drawPixel(0, 0, dma_display.color444(15, 0, 0));
Look at this picture (draw a pixel ,red led)

I run example testshapes_32x64 . Results showing errors

Looks like a 1/8 scan panel right which isn't supported.
Post technical details of the panel as well as your full sketch. May need to use that other 1/8 scan example that hasn't been fully confirmed as working.

Looks like a 1/8 scan panel right which isn't supported.
Post technical details of the panel as well as your full sketch. May need to use that other 1/8 scan example that hasn't been fully confirmed as working.

My panel :
Led maxtrix P5 full color outdoor
IC : ICN2037BP
1/8 Scan
How  can I do for panel run correct  ? Thanks

Refer to and read: https://github.com/mrfaptastic/ESP32-HUB75-MatrixPanel-I2S-DMA/issues/154

Try new example: https://github.com/mrfaptastic/ESP32-HUB75-MatrixPanel-I2S-DMA/tree/master/examples/One_Eight_1_8_ScanPanel


Add post mortem for incident on 18th may 2020

Deploy preview for openbuildservice ready!
Built with commit 09a82c68f835063bf8eed0adfc719f83423859fb
https://deploy-preview-254--openbuildservice.netlify.app


Have a way to trigger some IO () for succcess/failure of build

I want my custom "CI" system to let GitHub or another service know when a build step starts, and then if it succeeds or fails.
I can imagine that it might not make sense to have this for every rule, so it could also be on a full build level.
The ways I can think of doing this:

Run actions I want to report with notifyGitHub :: String -> Action a -> Action a that does the work using liftIO and actionOnException
Set shakeProgress to something that will catch ThreadKilled and interrogates IO Progress to decide what to report
Some combination of actionOnException and actionFinally that I haven't quite figured out?

I'm currently using approach (1).
Had a go at (2) but always got isFailed p == Nothing in my exception handler :/
Welcome suggestions, I'm not sure there currently is the right mechanism to do this nicely?

The function shake/shakeArgs will either complete cleanly, or if there is an exception, rethrow it. You can do:
main = do
    print "Starting"
    res <- try $ shakeArgs shakeOptions myRules
    case res of
        Left e -> print "Failed"
        Right () -> print "Success"

Let me know if that doesn't work. I think the fact shakeProgress doesn't work could be fixed, although at the moment I think isFailed only returns Just if you have staunch mode on, and are thus continuing through a failure (and then the progress is interesting).

Thanks for the suggestion.
The problem with this is that res will not tell me anything interesting about the build. Namely, I won't know what build target caused the exception.
Regarding changing shakeProgress, is there a good reason for the current isFailed behaviour?

In that example e will very probably be a value of type ShakeException, which will include the target, stack and error message.
The current isFailed behaviour is what happens if you have an async thread polling at 5s intervals and the exception stopping the polling - you don't get a final poll since that would be sync, not async. It's fixable though, as a special case, but arguably a quite useful special case.

I've been meaning to come back to this for a while...
I do not get e :: ShakeException in the example you provided.
Here's a minimal example based on yours:
main = do
  print "Starting..."
  shakeArgs shakeOptions myRules `catch` things
  where
    things (SomeException e) = hPutStrLn stderr $ show $ typeOf e

Where myRules fails, I always get show $ typeOf e as ExitCode and not ShakeException.
Here's exactly what I tried, for completeness: https://gist.github.com/jonathanjouty/a8b9f5cf19cea9ee4236aca7b390d791

I tried digging through the Shake sources to pinpoint this, but alas did not find anything.
i.e. I'm happy to investigate this if you point me in the right direction.

Changing the example to:
main2 = do
  print "Starting..."
  withArgs ["--exception"] (shakeArgs shakeOptions myRules) `catch` things
  where
    things (SomeException e) = hPutStrLn stderr $ show $ typeOf e

Means it now prints out ShakeException. Looking through the code I can see where it does this, and it's a deliberate design decision. I suspect the reason is that I've already printed out the error in the body, so I don't want it printing again with the automatic printing the exception on failure handler in GHC. I'll see what I can do to make it work nicely with only one print of the exception, but this hack should let you get around the issue for now.

Also see #404.

This solves the issue for me, thanks!


Remove ApplyOnce PatchApplyMode.

https://jira.coreos.com/browse/CO-499

/test e2e

/retest

This is already being used by SRE team, I am still not clear why we need remove this, if we have to remove this, do we have a replaceable option for this?

/cc @jewzaam

/hold

Commented in JIRA, we use ApplyOnce at this time and need to test / transition off of it before this can merge.
/hold

PR now targets V1, so we are going to merge and then fight about it with SRE if it becomes apparent they must have apply once patching in v1. :)
/lgtm

@dgoodwin fwiw, we removed use of ApplyOnce: https://github.com/openshift/managed-cluster-config/pull/141

Awesome, thanks!

/test e2e

/test e2e

/hold cancel


[bug] Error to export notebook to any format

Environment data

VS Code version: 1.58.2
Jupyter Extension version (available under the Extensions sidebar): v2021.8.1013163132
Python Extension version (available under the Extensions sidebar): v2021.6.944021595
OS (Windows | Mac | Linux distro) and version: Windows 10 21H1 (19103.1110)
Python and/or Anaconda version: 3.8.7
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
Jupyter server running: Local | Remote | N/A: Local

Expected behavior
Ability to export to HTML or PDF
Actual behavior

The export button doesn't do anything when pressed.
There is an error when using the command Jupyter: Export showing the command doesn't exist

Steps to reproduce:
A gif image is showing the exact behavior described

Dupe of https://github.com/microsoft/vscode-jupyter/issues/6671


Feature/appeal possible notifications

send appeal possible notifications
NOTE: It is inefficient how it does it right now. Find a way to not iterate through every dispute in the future

Closes #55


无法安装 pip install PyWeChatSpy

C:\Users\matt>pip install PyWeChatSpy ERROR: Could not find a version that satisfies the requirement PyWeChatSpy (from versions: none) ERROR: No matching distribution found for PyWeChatSpy

遇到了同样的问题
ERROR: Could not find a version that satisfies the requirement PyWeChatSpy (from versions: none)
ERROR: No matching distribution found for PyWeChatSpy

从pypi移除了，在github上下载吧发自我的 iPhone在 2023年6月15日，01:27，Adam @.***> 写道：
遇到了同样的问题
ERROR: Could not find a version that satisfies the requirement PyWeChatSpy (from versions: none)
ERROR: No matching distribution found for PyWeChatSpy
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

下载那个PyWeChatSpy的文件夹吗？没法下载啊

从pypi移除了，在github上下载吧发自我的 iPhone在 2023年6月15日，01:27，Adam @.> 写道： 遇到了同样的问题 ERROR: Could not find a version that satisfies the requirement PyWeChatSpy (from versions: none) ERROR: No matching distribution found for PyWeChatSpy —Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.>


Adding worker calculation from runner

Packages impacted by this PR
@azure/microsoft-playwright-testing
Issues associated with this PR
Fixing incorrect worker count with this change, calculating number of workers based on runner index rather than config.
Describe the problem that is addressed by this PR
Worker count was being picked up from config instead of actual value.
What are the possible designs available to address the problem? If there are more than one possible design, why was the one in this PR chosen?
Are there test cases added in this PR? (If not, why?)
Provide a list of related PRs (if any)
Command used to generate this PR:**(Applicable only to SDK release request PRs)
Checklists

[ ] Added impacted package name to the issue description
[ ] Does this PR needs any fixes in the SDK Generator?** (If so, create an Issue in the Autorest/typescript repository and link it here)
[ ] Added a changelog (if necessary)

API change check
API changes are not detected in this pull request.


cargo-machette is both a cargo subcommand a direct command except when it isn't

    // ...and the "machete" command if ran as cargo subcommand.
    if i == 1 && arg == "machete" {
        continue;
    }

Since your command accepts positional arguments, this will not allow me to run cargo-machette machette where machette is a directory but I'd have to know to run cargo-machette machette machette.   Personally, I find it dubious to have a command be dual natured (run in either cargo or out) especially when accepting positional arguments.

You're very right. I didn't quite know how other tools handle this in particular, so I'm happy taking whichever approach is the most appropriate here!


Cant install

yarn add skin-react doesnt show any errors in the terminal, but when i try to import the package i get a Cannot find module 'skin-react' or its corresponding type declarations error. I looked into my node_modules folder and found a yarn-error.log which tells me there was an error during installation. Im installing this in next.js app.
Arguments:
  /Users/armontoya/.nvm/versions/node/v12.17.0/bin/node /usr/local/Cellar/yarn/1.22.4/libexec/bin/yarn.js publish

PATH:
  /usr/local/opt/openssl@1.1/bin:/usr/local/opt/ruby/bin:/Users/armontoya/.sdkman/candidates/kotlin/current/bin:/Users/armontoya/Documents/Arturo/google-cloud-sdk/bin:/usr/local/opt/icu4c/sbin:/usr/local/opt/icu4c/bin:/Users/armontoya/.nvm/versions/node/v12.17.0/bin:/usr/local/Cellar/tomcat/apache-tomcat-9.0.30/bin:/usr/local/Cellar/maven/3.6.3/bin:/Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/MacGPG2/bin:/Library/Apple/usr/bin:/Users/armontoya/Library/Developer/flutter/bin

Yarn version:
  1.22.4

Node version:
  12.17.0

Platform:
  darwin x64

Trace:
  Error: canceled
      at Interface.<anonymous> (/usr/local/Cellar/yarn/1.22.4/libexec/lib/cli.js:137008:13)
      at Interface.emit (events.js:315:20)
      at Interface._ttyWrite (readline.js:866:16)
      at ReadStream.onkeypress (readline.js:205:10)
      at ReadStream.emit (events.js:315:20)
      at emitKeys (internal/readline/utils.js:335:14)
      at emitKeys.next (<anonymous>)
      at ReadStream.onData (readline.js:1133:36)
      at ReadStream.emit (events.js:315:20)
      at addChunk (_stream_readable.js:295:12)

Is this package stable enough to use in a critical application?

Updated build script , thank you for creating issue

This is currently in Beta


GOT dependency vulnerability

The SWA-CLI have dependency of  GOT 9.6.0 package as seen in following diagram:
└─┬<EMAIL_ADDRESS>└─┬<EMAIL_ADDRESS>└─┬<EMAIL_ADDRESS>└─┬<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>The GOT package version before 12.1.0 have vulnerability CVE-2022-33987 https://nvd.nist.gov/vuln/detail/CVE-2022-33987

I'd like to see this vulnerability addressed sometime also.

this is annoying, it's giving my project that uses the CLI package a security alert in github because of this, with no apparent way to address it short of getting rid of my reliance on the SWA CLI.

This is still an issue with<EMAIL_ADDRESS>

WIP: This is a problem with update-notifier, which has had a PR since early last year for this CVE with no action.
Will investigate switching to alternate libraries, or maybe just including a simplified version in our CLI.


Responses for status code 202 (Accepted) do not generate classes for JSON schema

Only responses with status codes 200 (OK) or 201 (Created) are able to generate classes for JSON schema.

merged! will be included in next release :)

@kurtpa: Would it be possible to have a new release? I would need this bug fix. Thanks.

It has been released with 0.8.8.


Results not returned when using _sort

Describe the bug
If I do a search and _sort by "name,title", some entries do not get returned (entries that either don't have a name or title).
In my case, this turns a list of 77 potential results into 44 simply because of sorting.
Is this expected behavior, and if so, is there a way to change it?
To Reproduce
Steps to reproduce the behavior:

Load several StructureDefinition resources into an instance of the FHIR server, where at least one of the StructureDefinition resources does not have a title.
Perform a GET /baseDstu3/StructureDefinition?_sort=name,title

Expected behavior
The results returned do not include the StructureDefinition that does not have a title, even though it should; and the one(s) missing the title should be last in the results.
Environment (please complete the following information):

HAPI FHIR Version: 3.5.0-SNAPSHOT
OS: Windows Server 2016
Browser: Chrome/Postman

I see similar problem. I am using version 3.6.0 for R4 resources.
I have four Questionnaires with three of them missing date field. A query like /baseR4/Questionnaire returns four items and /baseR4/Questionnaire/_search?_sort=date returns one.
I don't see the problem on 3.1.0 which I use for STU3 Questionnaires. It looks like the bug is introduced after 3.1.0.

Any updates on this subject? I have the same problem.


Please publish a how-to on using VSCode to launch the demo code

Please include steps to flash the user demo using VSCode.  ESP32 has a plugin that is recommended, but my attempts to get the code flashed using VSCode have failed.  Please help..

@KennethThompson , did you ever manage to build it and flash it?

@KennethThompson , did you ever manage to build it and flash it?

Yes- but it would be great if I could use the Arduino IDE rather than VS Code with the ESP32 build chain

Can I suggest opening a branch with updated Readme file with your instructions on how to do it. And PR as well of course

Can I suggest opening a branch with updated Readme file with your instructions on how to do it. And PR as well of course

I just used their build guide- VS code does not allow me to compiler + upload the code- sadly.

Can I suggest opening a branch with updated Readme file with your instructions on how to do it. And PR as well of course

idf.py gets created when you install the expressif dependencies. https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/tools/idf-py.html. <-- You have to make sure that the build dependencies are installed.  Its not straight forward, and sadly its been too long since I got it working to recall exactly what I did

Many thanks for this, I wonder if this could be done through PlatformIO

Many thanks for this, I wonder if this could be done through PlatformIO

I tried and failed to use PlatformIO.  If I recall correctly, it will not build because of an error or it does build but then will not successfully flash to the device.  I hope the manufacturer produces a guide for VSCode/PlatformIO.  Or even better, I hope they release an Arduino sketch that implements the same features as the default app that is preloaded on to the dial.  The ESP32 stuff is just too complicated for me to learn at this time.

So, I've just managed to get this to build and program the flash using ESP-IDF in CSCode. I'll work out how to create a branch tomorrow and upload the changes but they were quite straight forward. Where ever the build complained that unit8_t was not defined in std::, you need to add #include  as the first line of the referenced header file in the error message. I fixed an common.cpp at line 652 where is should have read comd[0] rather than comd0. In the 5.1 to 5.2 upgrade of ESP-IDF, the interrupt code changed in but I can't remember what fix I did. I added #define LCD_CAM_LCD_UPDATE_REG    (BIT(20)) after line 452 of lcd_cam_reg.h


scss transpiling

Hi
I was trying to use component scss when realized that it does not compile to css. (I was using the _tabs.component.scss tabs.component.ios.scss tabs.component.android.scss pattern from the tabbar example.)
What I found is that the npm run css.generate gave me an error
$ npm run css.generate

> @ css.generate /Users/puffancs/Dev/ella/apps/ella-mobile
> node -e 'require("./node_modules/nativescript-dev-sass/lib/converter.js").convert(console, ".");'

Found peer node-sass
Trace: /usr/local/Cellar/node/8.9.1/bin/node /Users/puffancs/Dev/ella/apps/ella-mobile/node_modules/node-sass/bin/node-sass app --output app --output-style compressed -q --follow --importer /Users/puffancs/Dev/ella/apps/ella-mobile/node_modules/nativescript-dev-sass/lib/importer.js
    at /Users/puffancs/Dev/ella/apps/ella-mobile/node_modules/nativescript-dev-sass/lib/converter.js:38:16
    at new Promise (<anonymous>)
    at Object.convert (/Users/puffancs/Dev/ella/apps/ella-mobile/node_modules/nativescript-dev-sass/lib/converter.js:10:12)
    at [eval]:1:66
    at ContextifyScript.Script.runInThisContext (vm.js:50:33)
    at Object.runInThisContext (vm.js:139:38)
    at Object.<anonymous> ([eval]-wrapper:6:22)
    at Module._compile (module.js:635:30)
    at evalScript (bootstrap_node.js:462:27)
    at startup (bootstrap_node.js:163:9)

but when I replaced the npm script in package.json with the actual command it started to work.
I hope this helps.
(Tried to debug what went wrong but could not find out :( )
Thx for the template, I do like that I can work with nx and ns with ng :)

ohhh the mighty rubber duck effect ...
I just needed an npm run reset. Don't know what went wrong but took me a while to realize.


Is there a way to skip variable substitution inside variable data?

{{
  const fs = require('fs');
  $global.myJsonFile = JSON.parse(fs.readFileSync('myJsonFile.json', 'utf8'));
  exports.myJsonFile = JSON.parse(fs.readFileSync('myJsonFile.json', 'utf8'));.
}}

POST {{gatewayUrl}}/saveConfig
Content-Type: application/json

{
  "config": {{$global.myJsonFile}}
}

POST {{gatewayUrl}}/saveConfig
Content-Type: application/json

{
  "config": {{myJsonFile}}
}

Any of the above POSTs result in ERROR: ReferenceError - title is not defined.
myJsonFile.json is a JSON document that contains strings with {{title}} in it as well as many other strings with {{xxx}} that should be POSTed to the endpoing as-is. I cannot escape them with \{\{ because they are needed as-is by other processes.
Is there a way to NOT perform variable substitution within the actual variable data (i.e.myJsonFile) ?

@dremekie The easiest way would be to import the file directly as a body. In this case the file is only read in as a buffer and not modified (config property should be added to json file)
POST {{gatewayUrl}}/saveConfig
Content-Type: application/json

< ./myJsonFile.json

Another solution would be to use the escaped variant \{\{...\}\} instead of {...}} in the template string. This will then be automatically replaced correctly (see example)
Another possibility would be to set the body directly as a buffer. The body would no longer be adjusted and sent.
{{
  const fs = require('fs');
  request.body = Buffer.from(`{ "config": ${fs.readFileSync('myJsonFile.json', 'utf8')}`);
}}

POST {{gatewayUrl}}/saveConfig
Content-Type: application/json

Thanks


[DS-2534] Fix a bug in the "Jump to" browse feature

When computing the offset for the "jump to" feature at
SolrBrowseDAO.doOffsetQuery we should take into account if we are
browsing a subset of the items (e.g. we are viewing the items that have
a specific subject) and not all of them (e.g. by title).

I don't really know this area of the codebase, but I have applied the fix locally and our users tell me its now working as it should, so its +1 from me.


Add a spin irreducible operator in a spinful fermionic system with U(1) charge and SU(2) spin symmetry

Hi Lukas,
Thanks for your package!
I suggest to add a spin irreducible operator $\hat{S}=\sum_{\sigma\sigma'}f^\dagger_\sigma\vec{\sigma}f_{\sigma'}=(-S^{+}/\sqrt{2},S^{z},S^{-}/\sqrt{2})$  in a spinful fermionic system with U(1) charge and SU(2) spin symmetry. This could be beneficial as we consider magnetic properties in electronic systems.
With Wigner–Eckart theorem, we have
$$\langle 0; 1/2, -1/2| S^{-} /\sqrt{2}|0;1/2,1/2\rangle = C^{1/2}_{1/2,1}[2,1,1]\langle 0;1/2|S^{0;1}|0;1/2\rangle $$
where the quantum number are labeled as $(q_n; S, S_z)$ and $C^{1/2}_{1/2,1}$ is the CG coefficients with dimension $=2\times 3 \times 2.$
The other two equations about $S^{z}$ and $S^{+}$ are equivalent with this one because the reduced matrix element $\langle 0;1/2|S^{0;1}|0;1/2\rangle$ is independent of quantum number $S_z$.
Here, we have $\langle 0,1/2|S^{0;1}|0;1/2\rangle = \sqrt{3}/2$ .
We can construct the spin irreducible operator $\hat{S}$ as
#S operator
P = Vect[fℤ₂ ⊠ SU2Irrep ⊠ U1Irrep]((0,0,-1)=>1, (1,1//2,0)=>1, (0,0,1)=>1)
V = Vect[fℤ₂ ⊠ SU2Irrep ⊠ U1Irrep]((0, 1, 0) => 1)
S = TensorMap(zeros, ComplexF64, P ← P ⊗ V)
blocks(S)[fℤ₂(1) ⊠ SU2Irrep(1 // 2) ⊠ U1Irrep(0)].= sqrt(3)/2
#S^2 operator
@planar S²[-1; -2] := S[-1; 1 2] * S'[1 2; -2]

Thank you again for your nice package!
Sincerely yours
Yong-Yue Zong

Hi Yong-Yue Zong,
Thanks for the suggestion! I am definitely very happy to add this, would you have a suggestion for a good name? In hindsight, naming these functions with a single letter is probably not very future-proof, as S could be many different things...
Best,
Lukas

How about Sₑ$\to\hat{S}$ , Sₑ²$\to\hat{S}^2$ and Sₑ_exchange$\to\hat{S}_i \cdot \hat{S}_j$? Where e has considered the style in MPSKitModels that indicates a spin 1/2 fermionic system and Sₑ can be used to distinguish from the spin operators such as Sˣ, S⁺, S_exchange in spin systems.

I would also need a non-unicode version, as there still are some systems (terminals, editors, ...) where these are very hard to type.
I don't have too much time the next week, any chance you could file a PR with this?

Of course


Running Multicameras

Hello, is there any exmaple on using multicams? I need to run two realsense D435 at the same time and have access to both frames and depth images of both cameras separately. thanks.
python 3.6, win 10

Intel's webinar session on YouTube from 2018 about using multiple RealSense 400 Series cameras is an excellent introduction to multicam setups.
https://www.youtube.com/watch?v=drBCxHhbxI0
Also, the discussion linked to below has a lot of example scripting about controlling separate cameras in a multicam setup.
https://github.com/IntelRealSense/librealsense/issues/2219

Thank you very useful video. Is there any sample code in python 3?

Below is a user-contributed script for connecting two D415 cameras.  It should be adaptable for D435, though bear in mind that D435 can only sync depth streams and not color streams.
https://github.com/IntelRealSense/librealsense/issues/1735#issuecomment-390840337

@MaryBD Did you get through? Any other questions about this ticket? Looking forward to your update. Thanks!

@MartyG-RealSense Thank you it works!


Add Edit Profile Feature in Profile Page done ! #1197 🟢🌟

Hello, PR
Add Edit Profile Feature in Profile Page done - #1197
https://github.com/user-attachments/assets/11b76812-9db9-4ab5-8350-330f043bcf00
Type of Change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update

Checklist

[x] I have read the contributing document.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have added necessary tests to ensure my changes are effective.
[x] New and existing unit tests pass locally with my changes.
[x] Any dependent changes have been merged and published in downstream modules.

@mansiruhil13 please merge my PR with level 3 and gssoc-ext label, you can check my code..

no changes have been done??


[BUG]: Image serialization saves 'undefined'

Operating System
Windows
App Version
Newest
Detailed Description
Not sure if we need to explain something a user may have missed that caused this, or if toml serialization was recently broken with the recent changes for simplerpc3 support
Reproducing the issue
Enter any valid image key
Press save
Image key turns into undefined
Any additional info
Reported by user Dani_Omi on the Discord.
Issue can be worked around by entering the key into the toml manually.

Just relaying this reply from discord as well:
The issue is possibly caused by the RPC assets proxy being offline (thanks for nothing heroku).
This app is due for a full rewrite and upgrade, but I just don't get around to it


Native Audio : How to play multiple audio together?

Hey,
How to play multiple sounds files from the asset folder in sync using Native Audio ?

The only thing I know of is to blend audio streams in your app:  app would open those files and get into different buffers ( or read file one chunk of a time ); then inside audio callback function, blend them into the given callback buffer; and hand over the BLENDED buffer back to audio engine ( openSLES or future AAudio's callback functions ). This would get your files in sync during playing.
Sync could be interesting I think: if you could read all files in ( memory could hold them ) then that is less stress; but if they could not be fit into the memory, different threads need to read files, etc.  app could not read disk from callback thread. If there is other way I found, I will update.  Hope this helps

Currently I'm playing multiple sounds by creating multiple instance of engine and SLPlayItf.
Can you tell me how can I get callback currently playing song.
for instance as in Mediaplayer setOnSeekCompleteListener is there..
Is there anything so we can get current milisecond at the time of pause and can set SEEK to that milisecond while playing?
how can get current milisecond and set seek to that milisecond in SLPlayItf.
Thanks in advance

@dturner @gkasten

Please post your question on stackoverflow.com with your OpenSL ES source code and I will attempt to answer.


Added padding to Poseidon duplex

Description
The Poseidon duplex construction in this crate was trivially insecure. I wrote a regression test, test_collision, that demonstrates two absorb inputs which produce the same squeeze output. The problem was that there was no padding applied to any absorbed messages.
As mentioned in the duplex paper a "sponge-compliant" padding scheme (Definition 1) is crucial to the security claims of the sponge and duplex constructions. So I went ahead and adapted the multi-rate padding function (Section 7) to a finite field setting. The only caveat is that this doesn't work when F = Z/2Z. I assume that's not an issue though. If it is, I can make another version that ends up being even less efficient, requiring all Poseidon rates to be at least 3 in order to function.
Two things that still need to be done (and see Zcash's impl for a reference):

Don't chunk the contents of absorb and feed it all in. As the paper specifies,absorb's input len should be limited to the maximum that can fit in a rate-sized block, after padding. The current auto-chunking trick makes it so that absorb(a || b) and absorb(a), absorb(b) yield the same state. This isn't good. Instead, the duplex needs to limit absorbs and force the user to figure out message packet system that disambiguates the things that they care about. STROBE disambiguates by prepending every new operation with a special message.

Don't allow squeeze to output more than rate bytes. This is also specified by the paper. I'm actually less confident about this suggestion because it seems fine to simply permute() when bytes run out. This is because, by the padding principle, the input will never collide with an actual message. Concretely, this mechanism still satisfies the injectivity claim proven by Lemma 4 in the paper. Also, if this functionality is removed, I'm not certain how one would get more bytes out of a stream.

Finally, I commented out test_poseidon_sponge_consistency because I couldn't figure out how to re-derive the new expected values for the output. That's an easy fix if you know which traits give you a base-10 representation of your field elements (which I do not).

Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

[X] Targeted PR against correct branch (master)
[X] Linked to Github issue with discussion and accepted design OR have an explanation in the PR that describes this work.
[X] Wrote unit tests
[X] Updated relevant documentation in the code
[X] Added a relevant changelog entry to the Pending section in CHANGELOG.md
[X] Re-reviewed Files changed in the Github PR explorer

We will need to examine the changes in this PR further and likely consider adding a Poseidon duplex wrapper that is less "raw" than what arkworks-rs currently has.
I agree that:

The original sponge is too raw, and if used inappropriately, it is not a secure duplex sponge. E.g., as you mention, H(a) = H(a || 0) and absorb(a || b) = absorb(a), absorb(b). These are not random.
With careful wrapping (mostly padding some length-related information), the properties above can be removed, and it can be used more securely.

The issue is this:

The new sponge does add a lot of overhead.
For a few upstream applications currently using Poseidon, such as Merkle tree and Marlin AHP, the original sponge works fine (since we provide fixed-length messages). But I agree this is risky as well. I am thinking about how large the performance impact it would cause, but should be manageable.

The second point you mentioned, regarding the limitation of the output, may be not necessary. Based on the paper, it seems that it limits the amount of bytes (in our case, field elements) that can be outputted "each round". But the sponge implementation in arkworks-rs permutes the state before outputting more bytes (so, the sponge enters the next round), so it should be fine---but padding is necessary to show that this round is different from other rounds, in that it has zero input./

We will need to examine the changes in this PR further and likely consider adding a Poseidon duplex wrapper that is less "raw" than what arkworks-rs currently has.

I would actually suggest that the problem with the current API is that it is both "too raw" and "not raw enough".  On the one hand, it's not yet safe for general use, but on the other hand, it doesn't expose the underlying permutation in a way that would allow implementing different constructions (fixed-length hashing, duplex variants, etc) on top.
I think a path forward for this would be to split the current code into two levels, as suggested here: https://github.com/arkworks-rs/sponge/issues/29
Then, the crate can provide a general-purpose, safe(ish) duplex API like this one, and allow users who want to optimize performance for fixed messages to use the underlying permutation directly.


Feature/prometheus button

Instead of showing an oops message when we can't find Prometheus, show a message that Prometheus couldn't be found.
I'm not sure though if the message is okay?

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Anastasia Dudarenko seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

@anFatum We can delete this PR, right?


Newest version not available for detected OS.

CentOS release 6.7 (Final) x64
Logic does a good job of detecting the OS and the most recent stable release of phantomjs. However, there is no stable release at the current version for the OS detected.
 [Composer\Downloader\TransportException]
  The "https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.0.0-linux-x86_64.tar.bz2" file could not be downloaded (HTTP/1.1 404 NOT FOUND)

...per https://bitbucket.org/ariya/phantomjs/downloads/
Solution: if the request returns anything other than status 200, tick down one version and try again but no go below the lowest supported version.

Hi there. I think you might need to post an issue in the PhantomJS Installer package repo since Phantoman doesn't do anything directly with PhantomJS other than use it.

You are correct, my mistake. TY

No problem!


Playback jams and repeats frames when subtitles enabled on Samsung TV

Have you read the FAQ and checked for duplicate open issues?:
Yes
What version of Shaka Player are you using?:
2.4.5 (debug and non debug version)
Can you reproduce the issue with our latest release version?:
2.5.x yes
Can you reproduce the issue with the latest code from master?:
didn't check
Are you using the demo app or your own custom app?:
custom app
If custom app, can you reproduce the issue using our demo app?:
didn't check
What browser and OS are you using?:
Samsung TV: Tizen version 3 and 4
What are the manifest and license server URIs?:
will send that separately
What did you do?
Starting the player with the subtitles enabled by default.
What did you expect to happen?
Start of the playback should happen relatively smoothly, like it is happening when I'm starting without subtitles enabled.
What actually happened?
start of the playback jams and has repeats chunks around 3 times.
Find the logs attached:
start of the title with subtitles enabled.txt

any help much appreciated

@pawelgliwinski Did you send the manifest(s)? I was looking through our records and I can't find an email for this issue. Could you send them again and reference the issue number in the subject line?
Could you also check if this is happening with our demo app? It will be hard to help if we don't have a reliable way to reproduce the issue.


Change all containers in base components to use context for selectors

Griddle major version
1.9.0
Changes proposed in this pull request
Convert all references to dataSelectors file in components to the context.selectors
Why these changes are made
This allows plugins to override selectors in the base components without having to wholesale copy them. Would this potentially be a dangerous change from a consumers of Griddle perspective?
Are there tests?
No

Love it! I think we can pretty confident this isn't a breaking change, simply because we're not changing the exported selectors that plugins have had to reference until now. This does make selectors an even more explicit part of the public API, though, so we'll need to be more careful about 1) deciding which to export, and 2) how they are designed (esp. with regard to exposing the immutable internals).
While we're at it, any thoughts on avoiding this pattern?

Very cool :+1:
@dahlbyk regarding the extra dataSelectors exports from the localSelectors, we should be able to simply remove them for the next version.  Would that be worthwhile to include with this update?

On further consideration, that particular pattern isn't the problem (though it will be nice to get rid of all the copy/paste). I'm glad to contribute that cleanup if @shorja doesn't wish to add it to this PR.
The pattern I meant to ask about manifests here: LocalPlugin needs to duplicate hasNextSelector, unchanged, just to use the modified maxPageSelector. There's actually less of that duplication in LocalPlugin than I expected, but I ask because I had run into a situation (pre-#718) where customizing sortedDataSelector would have required basically cloning the entire plugin, due to cascading dependencies. Not sure if there's any way to defer composition of selectors?

Yeah, cascading dependencies are a bit of an issue at the moment.
I believe @ryanlanciaux (who's currently in transit) can speak a little more about this, but I think he's been working on something that should handle some of the selector composition issues.

@dahlbyk @joellanciaux @ryanlanciaux I'm also working on a solution to the problem of duplicated selectors in plugins, I'll post it in another PR since its not specifically related and might be a bit more of a dangerous change, should have that up sometime today.


thefuck doesn't work with an alias that starts with zsh shell keyword

I have the following alias in my .zshrc:
alias mkdir='nocorrect mkdir -p'
thefuck mkdir /nopermissions uses the no_command rule, because running it through /bin/sh outputs "command not found" for nocorrect (a zsh keyword)

This is related to #262 and its fix should apply to this as well. I'll soon open a pull request.


(PDB-5214) (Re)allow dotted projections with group_by and functions (wrt 6.18.0)

Dotted projection arguments to group_by and functions were being
rejected.  Fix that, and add some initial tests.
["from" "inventory"
["extract" [["function" "count"] "facts.kernel"]
["=" "node_state" "active"]
["group_by" "facts.kernel"]]]

Closing in favor of just using 6.x after some reverts.


Adding initiator and request time to booking

New feature implementation
Implemented feature

Related to https://github.com/open-rmf/rmf-web/pull/702, and requires https://github.com/open-rmf/rmf_task/pull/81 and https://github.com/open-rmf/rmf_api_msgs/pull/35.

To use new rmf_task::Request and rmf_task::Task::Booking constructors
Propagated request time and requester information to Dispatcher, TaskManager and FleetUpdateHandle
Added default argument to set_task_planner_parameter for python bindings of FleetUpdateHandle
Updated full control fleet adapter's finishing task factories

Thanks for the changes! The node API is definitely the cleanest way to do it


Red Line  in the barcode reading - ZXingDefaultOverlay

Hello guys!
I would like to know how do I put the red line in the barcode reading.
In the ZXing.Net.Mobile.Forms library we have zxing:ZXingDefaultOverlay.
How do I do the same function of showing the red line in the ZXing.Net.MAUI library?
Thanks!

Sure, put a view in your page with the control to simulate a red line!


Model boot events not working in editor

Laravel Version: 5.4
Voyager Version: 0.11.12
PHP Version: 7.1
Database Driver & Version: Mysql 5.7.17

Description:
Voyager ignoring result of work boot() method of Model. Method boot() can cancel saving model, but Voyager showing success popup anyway.
Steps To Reproduce:

Make new table (article for example)
Make model (App...\Article.php)
Make bread for that table.
In model make boot() method with event saving, which can return false and cancel update row:

...
class Article extends Model
{
        public static function boot()
        {
                static::saving(function ($article) {
                        return false; # <--- required in some cases, only false for example
                });

                parent::boot();
        }
        ...
}

Go to create or edit screen (/admin/article/create || /admin/article/update).
Try to set new values and Save.
Expected result: changes does not applied, Voyager show Error popup
Outcome result: changes does not applied, Voyager show SUCCESS POPUP.

Hope, you'll decypher my English.

I don't believe this is an issue with the boot method.  Instead, I think Voyager is just failing to display the correct message.
Since this is quite old and from an old version, I'm going to close it for now.  If this is still an issue after the 1.0 release, please open a new issue.


Invalid prop: type check failed for prop "autoplaySpeed". Expected Boolean, got Number.

According to the documentation, passing in a number is valid and works. But the warning in the title is displayed in the console.

I have the same issue, functionality is there but the error is annoying.

I have the same issue.

same issue

Same
but everything works as it should

Also having this issue

Same... is this still alive?

same

same issue , but got an error

Getting same issue

Same issue :(


SearchApi seems to generate a wrong endpoint

Hi,
I want to try the Python API, but I couldn't send a SearchRequest to localhost.
On every request, I'm getting:
Exception when calling SearchApi->search: (501)
Reason: Not Implemented
HTTP response headers: HTTPHeaderDict({'Server': '3.6.0 96d61d8@210504 release', 'Content-Type': 'application/json; charset=UTF-8', 'Content-Length': '48'})
HTTP response body: {"error":"//json/search - unsupported endpoint"}
It looks like the client is adding an unnecessary "/" in front of the endpoint.
Thanks,
Alex

Hi @akordecki
I can't reproduce it:
root@496b330a90a5:/# cat test.py
from __future__ import print_function
from pprint import pprint
import manticoresearch

config = manticoresearch.Configuration(
            host = "http://<IP_ADDRESS>:9308"
            )
client =  manticoresearch.ApiClient(config)
indexApi = manticoresearch.IndexApi(client)
searchApi = manticoresearch.SearchApi(client)
utilsApi = manticoresearch.UtilsApi(client)
r = searchApi.search({"index":"t","query":{"query_string":"@f abc"},"highlight":{"fields":["f"]}})
pprint(r)

root@496b330a90a5:/# python test.py
{'aggregations': None,
 'hits': {'hits': [{u'_id': u'6774547762756190209',
                    u'_score': 1500,
                    u'_source': {u'f': u'abc'},
                    u'highlight': {u'f': [u'<b>abc</b>']}}],
          'max_score': None,
          'total': 1},
 'profile': None,
 'timed_out': False,
 'took': 0}

root@496b330a90a5:/# cat /etc/*release*
PRETTY_NAME="Debian GNU/Linux 9 (stretch)"
...

root@496b330a90a5:/# python --version
Python 2.7.13

Please provide more details helping to reproduce the issue.

Thanks @sanikolaev, your script works for me also.
I found the problem.

In the example in the documentation, the ApiClient is initialized without the configuration.

Right, thanks for pointing that out. We'll fix it.

Fixed in https://github.com/manticoresoftware/manticoresearch-python/commit/9c340ac6fc2d351f86e104071a65c8ea7c62cc20. Closing the issue


Split tracking/error logging out into its own module

Describe the feature you'd like to request
Currently Sentry and Pulse SDK is pretty integrated into the code, with no plug-and play system
We should allow folks to bring their own error/tracking scripts or ability to disable it entirely
Describe the solution you'd like
Create some sort of module/config to deal with tracking separately

Help me im being hacked for my credit


Reload nginx on site change

Description
Reload nginx service when site, that has been already enabled, changes. It makes sure that the service is using up-to-date configuration.
Issues Resolved
There is no corresponding issues, but it fixes the following scenario:

have a site that is already enabled
update the content using Chef converge
note that nginx is using the old configuration (reload was missing)

Check List

[ ] All tests pass. See https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/TESTING.MD
[ ] New functionality includes testing.
[ ] New functionality has been documented in the README if applicable
[ ] All commits have been signed for the Developer Certificate of Origin. See https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/CONTRIBUTING.MD

The problem with the checklist is that it is not possible to test notifies properly with the definition. Basically the following assertion will be successful with and without the change:
context 'when the default site was aleady enabled' do
  before do
    allow(File).to receive(:symlink?).with('/etc/nginx/sites-enabled/default').and_return(true)
  end

  it 'marks nginx to be reloaded when changing the default site' do
    expect(chef_run.template('/etc/nginx/sites-available/default')).to notify('service[nginx]').to(:reload).delayed
  end
end

@smt116 You'll need to update your commit to include the DCO signoff before this can be merged

Any update on this?

Thanks for getting the commit updated with the DCO. I'll get a release with this change out today


User proper data types for fields

Some fields with number values, like weight, height, are in quotes, becoming strings, but others are just unquoted numbers, like attack. Is it done intentionally or is it a bug?
Should number values be numbers, not strings?
Thanks!

Yeah this isn't ideal but unfortunately V1 has been deprecated. This has been taken care of in V2 which we hope to have up soon.

@basharov the original behaviour was to have everything be a string. V2 shall have more appropriate datatypes.


Find and Replace crashes

Find and Replace the screen crashes to white screen in any action.
Sketch 54.1, Plugin version 4.1.1

Same, using sketch 54.1 as well and just updated the plugin

Confirmed.

where did you get the rollback? it's happing to me as well

@mindquest I just rolled it back, can you try to update it.

where did you get the rollback? it's happing to me as well

Here. Click on Code and then Releases.
Download 4.1.0

Thanks I think its been rolled back officially works now
On Mon, May 13, 2019 at 11:57 AM cpshanley<EMAIL_ADDRESS>wrote:

where did you get the rollback? it's happing to me as well
Here. Click on Code and then Releases.
Download 4.1.0
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/rodi01/RenameIt/issues/114?email_source=notifications&email_token=AGG52WFCICBPZQ73QTLHNY3PVGFVTA5CNFSM4HMNALTKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVIYMBI#issuecomment-491881989,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGG52WAGPUPCDSNNNPHSCUDPVGFVTANCNFSM4HMNALTA
.

Yes, 4.1.2 is working fine.
Kudos for fixing that inside a day.

Same, using sketch 54.1 as well and just updated the plugin

same here, using sketch v53, just updated still not working

@newbit77 @Raghav789  Phew! I'm glad it worked.


support regex substitution

Titles can be very long. I would like to be able to use regex capture groups and substitution to shorten them.
For example:
foot with a title of: emerge: (13 of 20) dev-lang/rust-1.69.0-r1 Compile:
and with config:
[title."(?i)foot"]
"emerge: (.+?/.+?)-.*" = "$1"

should display (13 of 20) dev-lang/rust

Hi, thanks for the idea.
Interesting, I will study this after the new incoming release. 🍰

Thanks for your work, I really appreciate it. The substitution works, but looking at the debug logs the title is only being updated when the window is focused. Is this a limitation of the IPC?

Ho, yes, I will this, we update on some event, but there is no "title change" event for the moment afaik. I will study this.

I can reproduce your test, I can't find an event in hyprland codebase for this for the moment, this will need to be first implement here.

I will be able to patch after those PR get validated and merged:
https://github.com/hyprland-community/hyprland-rs/pull/56
https://github.com/hyprwm/Hyprland/pull/2419


ReactiveRXGenericQueryExecutor's newInstance() returns wrong class type

In ReactiveRXGenericQueryExecutor the following method is creating a new instance once a new transaction is created:
 protected io.reactivex.functions.Function<Transaction, ? extends ReactiveRXGenericQueryExecutor> newInstance(SqlConnection conn) {         return transaction -> new ReactiveRXGenericQueryExecutor(configuration(),conn,transaction);     }
While the function in method's return type should return <? extends ReactiveRXGenericQueryExecutor> the method returns ReactiveRXGenericQueryExecutor which breaks an option to subclass ReactiveRXGenericQueryExecutor.

Thank you for pointing that out. Changing the API to what you suggested would break the current contract and thus I am a bit reluctant to do it right away. Have you tried to use delegation instead of inheritance to reach your goal?

@jklingsporn thanks for the prompt response. unfortunately delegation doesn't solve my need to customize some things. this is also an old code that used a previous version (vertx3 based). i do have a workaround, but it's pretty awkward.


python error 'last name'

self.last_name = json_user_data["last_name"]

KeyError: 'last_name'
any help?

What OS are you on and what version of this software are you using?

Might be an problem from your google auth

self.last_name = json_user_data["last_name"]

KeyError: 'last_name'
any help?

Hello i have the same issue and i solved it, you doesnt have last name on your google account, check on it, and delete your cookie and relog on earnapp with your google account, and get your auth refresh token, it works for me

@MrAuronTV Do you mean the error is shown for people who don't have a last name setup in google account?
So you set your last name on google and it worked?

@fazalfarhan01 Yep it work for me, just recreate cookie for a new oauth refresh token

hello, i tried to remove this line and after starting the start.sh it worked, so i guess it's not really needed

fixed is the new release


[ko] Update outdated file: dev-1.24-ko.1(M98-M99)

Signed-off-by: Nayeon Keum<EMAIL_ADDRESS>
[x] M98. content/en/docs/tasks/manage-daemon/update-daemon-set.md | 1(+XS) 1(-)
[x]
M99. content/en/docs/tasks/run-application/force-delete-stateful-set-pod.md | 1(+XS) 1(-)

Related Issue: https://github.com/kubernetes/website/issues/35567
/language ko

/assign

Thank you @NayeonKeum for your contribution !!
/lgtm

/approve


TODO : _op_push_data

In class Script of file script.py , method _op_push_data is now modified and handles parameter  data according to the its type.
TODO completed.

Hi @guptamukund22
I was not sure about this (that is why the 'maybe'.. and now that I am thinking of it more we'd better leave it to explicitly accept str (hex).
Can you revert the changes and just remove the TODO comments and I will accept.
Sorry you had to spend time on this.

@karask No issues! I have made the required changes to merge.


Bug does not restore the state view

We used viewPager.
Add ChartsView to our fragment.
Add tabLayout.
After click tab we go next page.
After click tab where we added ChartsView.
Result: not correct view ChartsView
You clearWebMessageChannel from onDetachedFromWindow but not use  webMessageController.setWebMessageChannel(channel) for onAttachedToWindow
Can you help?

Hi!
At onAttachedToWindow we call super.loadUrl(DEFAULT_URL). That means we reload the page if charts view was detached and attached again. I will investigate this case and try to implement restoring state

Hi!
At onAttachedToWindow we call super.loadUrl(DEFAULT_URL). That means we reload the page if charts view was detached and attached again. I will investigate this case and try to implement restoring state

Thanks

I have this problem too

there is a solution?

There is no solution yet. Saving state is complicated thing. Right now you can save the state by yourself and pass it after the view has been attached.
We will implement the solution in the next iteration.

OK.
It means you managed to reproduce this problem.
We are waiting for a decision;)

After the investigation I found that there is no way to save the display state of WebView. So there is no way to save state of the ChartsView when fragment is destroying view. I made the fix so you can use ViewPager2. Also the example of ViewPager2 usage is here. Pls look at the pull request


MatAutocompleteList doesn't work correctly with System.Reactive

Describe the bug
When use System.Reactive Throttle the input and then update auto complete list items, the list items doesn't show correct.
To Reproduce
Steps to reproduce the behavior:

Create new blazorwasm project, add package System.Reactive and MatBlazor, setup MatBlazor css and js assets in index.html.
Update Counter.razor with following code.

@page "/counter"
@using System.Reactive.Linq
@using System.Reactive.Subjects

Counter

Current count: @currentCount

<button class="btn btn-primary" @onclick="IncrementCount">Click me</button>

<MatBlazor.MatAutocompleteList Value="@Term" Items="@Items" TItem="string" OnTextChanged="OnTextChange" ShowClearButton="true"></MatBlazor.MatAutocompleteList>

@code {
    private int currentCount = 0;

    private void IncrementCount()
    {
        currentCount++;
    }

    public void OnTextChange(string s)
    {
        Subject.OnNext(s);
    }

    public string Term { get; set; }

    public ISubject<string> Subject { get; set; } = new Subject<string>();

    public IEnumerable<string> Items { get; set; } = Enumerable.Empty<string>();

    protected override void OnInitialized()
    {
        Subject
            // .Throttle(TimeSpan.FromMilliseconds(300))
            .Select(s => Observable.FromAsync(() => GenerateItems(s)))
            .Concat()
            .Do(items => Items = items)
            .Subscribe();
    }

    private async Task<IEnumerable<string>> GenerateItems(string s)
    {
        //await Task.Delay(100);
        var list = new List<string>
        {
            Guid.NewGuid().ToString(),
            s,
        };

        return list;
    }
}

press F5 and test AutoCompleteList.
if I commented async code, just like above, the auto complete list can work correctly, but if I uncomment above code, the item list can not popup, even the Items is already updated. I tried use InvokeAsync update the Items and call StateHasChanged after Items updated, but it doesn't helped.

Expected behavior
MatAutocompleteList can work correctly.
ScreenShot

add more screenshort in case you need it. looks like when I input in text box, the popup list just show the previous's generated list, and not showing the updated list.

I have also experienced this behavior trying to build some kind of typeahead functionality https://github.com/SamProf/MatBlazor/issues/740


Avoid growbuffer, take two

Take two of #77.  Due to overhead having been removed elsewhere, the results are much more dramatic, especially for GCM.
When I first submitted that, @Sean-Der noticed that this relies on nextConn.write not retaining a reference to the buffer.  This remains true of this version.  However, relying on write methods not retaining the buffer is standard practice in the Go world, as mentioned here: https://pkg.go.dev/io#Writer.  I remain naturally open to other approaches, but I think that the performance improvement is too large to leave on the table, especially on embedded systems with slow memory interconnects (where the results are even more dramatic, as pointed out by @adriancable).
This depends on #196.
name                 old time/op    new time/op    delta
WriteRTP/CTR-100-8      951ns ± 0%     934ns ± 0%   -1.76%  (p=0.029 n=4+4)
WriteRTP/CTR-1400-8    4.64µs ± 0%    4.52µs ± 0%   -2.59%  (p=0.029 n=4+4)
WriteRTP/GCM-100-8      305ns ± 6%     259ns ± 0%  -15.07%  (p=0.029 n=4+4)
WriteRTP/GCM-1000-8     704ns ±12%     460ns ± 1%  -34.72%  (p=0.029 n=4+4)

name                 old speed      new speed      delta
WriteRTP/CTR-100-8    118MB/s ± 0%   120MB/s ± 0%   +1.80%  (p=0.029 n=4+4)
WriteRTP/CTR-1400-8   218MB/s ± 0%   224MB/s ± 0%   +2.65%  (p=0.029 n=4+4)
WriteRTP/GCM-100-8    368MB/s ± 6%   433MB/s ± 0%  +17.54%  (p=0.029 n=4+4)
WriteRTP/GCM-1000-8  1.45GB/s ±11%  2.20GB/s ± 1%  +51.73%  (p=0.029 n=4+4)

name                 old alloc/op   new alloc/op   delta
WriteRTP/CTR-100-8       188B ± 0%       60B ± 0%  -68.09%  (p=0.029 n=4+4)
WriteRTP/CTR-1400-8    1.08kB ± 0%    0.06kB ± 0%  -94.46%  (p=0.029 n=4+4)
WriteRTP/GCM-100-8       144B ± 0%       16B ± 0%  -88.89%  (p=0.029 n=4+4)
WriteRTP/GCM-1000-8    1.17kB ± 0%    0.02kB ± 0%  -98.63%  (p=0.029 n=4+4)

name                 old allocs/op  new allocs/op  delta
WriteRTP/CTR-100-8       5.00 ± 0%      4.00 ± 0%  -20.00%  (p=0.029 n=4+4)
WriteRTP/CTR-1400-8      5.00 ± 0%      4.00 ± 0%  -20.00%  (p=0.029 n=4+4)
WriteRTP/GCM-100-8       2.00 ± 0%      1.00 ± 0%  -50.00%  (p=0.029 n=4+4)
WriteRTP/GCM-1000-8      2.00 ± 0%      1.00 ± 0%  -50.00%  (p=0.029 n=4+4)

@adriancable on an in-order ARMv7 without  no hardware crypto, the results are less dramatic (due to the time spent in crypto) but still siginificant:
name               old time/op    new time/op    delta
WriteRTP/CTR-100     29.3µs ± 1%    28.6µs ± 1%  -2.31%  (p=0.029 n=4+4)
WriteRTP/CTR-1400     150µs ± 0%     139µs ± 1%  -7.41%  (p=0.029 n=4+4)
WriteRTP/GCM-100     34.5µs ± 0%    33.1µs ± 1%  -3.93%  (p=0.029 n=4+4)
WriteRTP/GCM-1000     215µs ± 1%     200µs ± 0%  -6.67%  (p=0.029 n=4+4)

name               old speed      new speed      delta
WriteRTP/CTR-100   3.82MB/s ± 1%  3.92MB/s ± 1%  +2.42%  (p=0.029 n=4+4)
WriteRTP/CTR-1400  6.73MB/s ± 0%  7.27MB/s ± 1%  +7.95%  (p=0.029 n=4+4)
WriteRTP/GCM-100   3.25MB/s ± 0%  3.38MB/s ± 1%  +4.08%  (p=0.029 n=4+4)
WriteRTP/GCM-1000  4.71MB/s ± 1%  5.05MB/s ± 0%  +7.21%  (p=0.029 n=4+4)


Issue with conditional JS in string indented excessively

Each time the formatter runs, it indents this conditional JS string further:
https://github.com/filamentphp/filament/pull/10289/files#diff-3a5f85b5a0bee7fed3a2d500962199457bc0fa36eff36c29c4773a55b525cddf
So over many PRs, this string gets worse and worse 😅
Another note: wrapping it in ignore just deletes most of the code inside it when the formatter next runs 😁
<x-filament::grid
    :x-data="$isRoot ? '{}' : null"
    :x-on:form-validation-error.window="
        $isRoot ? ('if ($event.detail.livewireId !== ' . Js::from($this->getId()) . ') {
            return
        }

        $nextTick(() => {
            error = $el.querySelector(\'[data-validation-error]\')

            if (! error) {
                return
            }

            elementToExpand = error

            while (elementToExpand) {
                elementToExpand.dispatchEvent(new CustomEvent(\'expand\'))

                elementToExpand = elementToExpand.parentNode
            }

            setTimeout(
                () =>
                    error.closest(\'[data-field-wrapper]\').scrollIntoView({
                        behavior: \'smooth\',
                        block: \'start\',
                        inline: \'start\',
                    }),
                200,
            )
        })') : null
    "
    :default="$getColumns('default')"
    :sm="$getColumns('sm')"
    :md="$getColumns('md')"
    :lg="$getColumns('lg')"
    :xl="$getColumns('xl')"
    :two-xl="$getColumns('2xl')"
    :attributes="
        \Filament\Support\prepare_inherited_attributes($getExtraAttributeBag())
            ->class(['fi-fo-component-ctn gap-6'])
    "
>
    {{-- --}}
</x-filament::grid>

Thanks for the report; I'll take a look sometime this week and let you know what I find out! :)

Excessive subsequent indentation resolved in 1.6.18

Thanks! Did you have a chance to wrap the whole thing in {{-- format-ignore-start --}}?

Are you wrapping the entire component in that or just the attribute/parameter itself?

Wrapping the entire component deletes most of the component, wrapping the attribute throws a syntax error

Thanks for the extra info - I'll look into that and address it in an update sometime soon 🙂

@danharrin  The issue with content being removed with {{-- format-ignore--start --}} {{-- format-ignore-end --}} in certain scenarios has been addressed in 1.6.19 🙌

Thank you very much!

Wow, thanks for fixing this so swiftly, @JohnathonKoster!