From time "StackOverflowException" while trying to load project

[11:01:56 ERROR] Project loading failed, error parsing ProjectCrackerTool output, stdoutput was:

stderr was:

Process is terminated due to StackOverflowException.

The project is a new-style SDK project, which looks like (names changed):
<Project>
  <Import Project="Sdk.props" Sdk="Microsoft.NET.Sdk" />
  <PropertyGroup>
    <AssemblyName>Server</AssemblyName>
    <OutputType>Exe</OutputType>
    <TargetFramework>net461</TargetFramework>
    <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
  </PropertyGroup>
  <ItemGroup>
    <ProjectReference Include="..\Services\Services.Service\Services.Service.fsproj">
      <Private>True</Private>
    </ProjectReference>
    <ProjectReference Include="..\Services\Services.Messages.CSharp\Services.Messages.CSharp.csproj">
      <Private>True</Private>
    </ProjectReference>
  </ItemGroup>
  <ItemGroup>
    <Compile Include="../Shared/Shared.fs" />
    <Compile Include="../Shared/MiddlewareState.fs" />
    <Compile Include="basicAuth/BasicAuthentication.fs" />
    <Content Include="appsettings.json">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </Content>
    <Content Include="Resources/localization_de.json">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </Content>
    <Content Include="Resources/localization_en.json">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </Content>
    <Compile Include="ClientLogBatchProcessor.fs" />
    <Compile Include="Handler.fs" />
    <Compile Include="Startup.fs" />
    <Compile Include="Program.fs" />
    <None Include="paket.references" />
  </ItemGroup>
  <ItemGroup>
    <Reference Include="System.Web" />
  </ItemGroup>
  <Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk" />
  <Target Name="Pack" />
  <Import Project="..\..\.paket\Paket.Restore.targets" />
</Project>

I thought the project cracker is not used for new-style sdk projects?

One other thing I noticed (and might be related). If the project looks like this:
<Project>
  <PropertyGroup>
    <AssemblyName>Server</AssemblyName>
    <OutputType>Exe</OutputType>
    <TargetFramework>net461</TargetFramework>
    <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
  </PropertyGroup>
  <ItemGroup>
    <ProjectReference Include="..\Services\Services.Service\Services.Service.fsproj">
      <Private>True</Private>
    </ProjectReference>
    <ProjectReference Include="..\Services\Services.Messages.CSharp\Services.Messages.CSharp.csproj">
      <Private>True</Private>
    </ProjectReference>
  </ItemGroup>
  <ItemGroup>
    <Compile Include="../Shared/Shared.fs" />
    <Compile Include="../Shared/MiddlewareState.fs" />
    <Compile Include="basicAuth/BasicAuthentication.fs" />
    <Content Include="appsettings.json">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </Content>
    <Content Include="Resources/localization_de.json">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </Content>
    <Content Include="Resources/localization_en.json">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </Content>
    <Compile Include="ClientLogBatchProcessor.fs" />
    <Compile Include="Handler.fs" />
    <Compile Include="Startup.fs" />
    <Compile Include="Program.fs" />
    <None Include="paket.references" />
  </ItemGroup>
  <ItemGroup>
    <Reference Include="System.Web" />
  </ItemGroup>
  <Import Project="Sdk.props" Sdk="Microsoft.NET.Sdk" />
  <Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk" />
  <Target Name="Pack" />
  <Import Project="..\..\.paket\Paket.Restore.targets" />
</Project>

(Notice the moved props import) then it doesn't load at all apparently. It builds and runs fine on the command line last time I checked.

Let me know if I can enable more logs somewhere, I haven't found anything else regarding logs or hints myself.

I don't know if this will contains logs about ProjectCrackerTool but in Ionide you do:

Ctrp + P > F#: Toggle Diagnostic
Ctrp + P > Reload window
Ctrp + P > F#: Get Ionide logs

Thanks, problem is the logfile contains source code, so I can only share privately. Also the error is not reproducible every time apparently, now I have a different one where it stays on loading.. forever. But there is always something wrong in this solution.

In theory the logs should not include source code. We are not logging the parse command. Source

Hmm...Ignore previous message... I think there is something that I don't know going on here. Doesn't most SDK projects have <Project Sdk="Microsoft.NET.Sdk"> as a first list? And what are   <Import Project="Sdk.props" Sdk="Microsoft.NET.Sdk" /> and <Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk" /> ? :-)
We probably don't detect it as SDK project, and try to crack it with ProjectCrapper, which obviously fails.

Yeah, it seems to be a case - check FSAC project type classification here - https://github.com/fsharp/FsAutoComplete/blob/master/src/FsAutoComplete.Core/ProjectCrackerTypes.fs#L67-L89

Is one of the referenced projects non-SDK one?

Indeed. In fact I would be happy if I could just disable that ionide is trying to load those...

don't detect it as SDK project,

Actually, that probably/hopefully explains a lot of weirdness I'm encountering with ionide. I often change the project file as shown above because you can overwrite sdk targets by importing the sdk in this explicit form...

Hi! There is any workaround for this problem? I am getting the same error, but with a normal .net framework project generated in VS 2019.

Debug
AnyCPU
2.0
9de625a5-70cc-4032-9972-97bf1481ff7a
WinExe
PedidoZaffari
PedidoZaffari
v4.5.2
true
true
3239;$(WarningsAsErrors)
PedidoZaffari

true
full
false
false
bin\$(Configuration)\
DEBUG;TRACE
3
AnyCPU
bin\$(Configuration)\$(AssemblyName).XML
true

pdbonly
true
true
bin\$(Configuration)\
TRACE
3
AnyCPU
bin\$(Configuration)\$(AssemblyName).XML
true

11

$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\FSharp\Microsoft.FSharp.Targets

PreserveNewest

PreserveNewest

packages\BouncyCastle.1.8.5\lib\BouncyCastle.Crypto.dll

packages\Common.Logging.3.4.1\lib\net40\Common.Logging.dll

packages\Common.Logging.Core.3.4.1\lib\net40\Common.Logging.Core.dll

packages\FSharp.Core.4.6.2\lib\net45\FSharp.Core.dll

packages\FSharp.Data.3.1.1\lib\net45\FSharp.Data.dll

packages\SQLProvider.1.1.65\lib\net451\FSharp.Data.SqlProvider.dll

packages\itext<IP_ADDRESS>\lib\net40\itext.barcodes.dll

packages\itext<IP_ADDRESS>\lib\net40\itext.forms.dll

packages\itext<IP_ADDRESS>\lib\net40\itext.io.dll

packages\itext<IP_ADDRESS>\lib\net40\itext.kernel.dll

packages\itext<IP_ADDRESS>\lib\net40\itext.layout.dll

packages\itext<IP_ADDRESS>\lib\net40\itext.pdfa.dll

packages\itext<IP_ADDRESS>\lib\net40\itext.sign.dll

packages\itext<IP_ADDRESS>\lib\net40\itext.styledxmlparser.dll

packages\itext<IP_ADDRESS>\lib\net40\itext.svg.dll

packages\System.ValueTuple.4.4.0\lib\netstandard1.0\System.ValueTuple.dll
True

This should be solved with moving to new project parsing in Ionide 4


Resize of element does not trigger resize()

When resizing the parent gridster containing the items, no call to resize() will be triggered since the only check is made on the window size:
angular.element(window).on('resize', function(){
    resize();
    scope.$apply();
});

Since dynamic layouts are very common, could you consider using something like jquery-resize to bind to the gridster instead?

So is this been implemented ? cause the jQuery resize event is still not firing..


why do not  transform remote img src into base64 by javascript instead of proxy

https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS


sync recipe with AnacondaRecipes

Add compiler jinja for use with conda build 3.
Remove libxml2 pinning which is now supplied by the conda_build_config.yaml file in conda-forge-pinning.
Add entry to the about section.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender


install openshift on centos

Hi, is it possible to use this instruction on centos 7? my openstack environment is based on centos 7.

yes, these heat templates work on centos 7 too. See env_origin.yaml and README for details.


Change output filename of go install github.com/yuuki/gokc/... to gokc

Without this pull request, the output file name by go install ./... was $GOPATH/bin/cmd.
With this pull request, it becomes $GOPATH/bin/gokc.

Thanks for merging!


Add metrics to server

Closes #44
Introduces metrics to the server along with a configurable self logging level. When that level is DEBUG then we'll sample metrics and log them every 5 minutes. These can then be charted on a Seq dashboard to get an idea of how the Gelf server is behaving. The sampling interval is configurable, but isn't surfaced through an environment variable or Seq setting yet.
We don't do any per-event debug logging so increasing the logging verbosity shouldn't have much impact on the runtime.

Metrics end up looking like this:
{"@t":"2019-05-09T03:44:48.518382Z","@l":"DEBUG","@mt":"collected GELF server metrics","process":{"msg":5},"receive":{"chunk":0,"msg_chunked":0,"msg_unchunked":5,"overflow_incomplete_chunks":0},"server":{"process_err":5,"process_ok":0,"receive_err":0,"receive_ok":5}}

We collect:

process.msg: the number of complete messages seen by the process that writes them to stdout
receive.chunk: the number of chunked message chunks seen
receive.msg_chunked: the number of complete chunked messages seen
receive.overflow_incomplete_chunks: the number of times we've overflowed the allowed number of incomplete messages and dropped them all
server.process_err: the number of messages that failed while formatting
server.process_ok: the number of messages that were formatted successfully
server.receive_err: the number of messages that failed while receiving from the UDP server
server.receive_ok: the number of messages that were received from the UDP server successfully


NullPointerException in Gradle plugin when using key from ssh-keygen

I used ssh-keygen -t rsa to create a key pair called lockdown_rsa.
I defined a gradle task as such:
task addPgCredentials(type: com.coronaide.lockdown.gradle.task.AddCredentialsTask){
    publicKey "${rootDir}/lockdown_rsa.pub"
    credentialFile "${projectDir}/src/main/resources/credentials-dev.properties"
}

lockdown_rsa.pub is present in ${rootDir}. When running my task: ./gradlew :repository.pg:addPgCredentials -PlookupKey=key --stacktrace I see the following stack trace:
* What went wrong:
Execution failed for task ':repository.pg:addPgCredentials'.
> java.lang.NullPointerException (no error message)

...cutting out the boring part of the stack trace....
Caused by: java.lang.NullPointerException
        at com.coronaide.lockdown.CredentialStore.readAndDecodeKey(CredentialStore.java:341)
        at com.coronaide.lockdown.CredentialStore.addOrUpdateCredentials(CredentialStore.java:87)
        at com.coronaide.lockdown.CredentialStore$addOrUpdateCredentials$0.call(Unknown Source)
        at com.coronaide.lockdown.gradle.task.AddCredentialsTask.exec(AddCredentialsTask.groovy:52)
        at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:75)
        at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.doExecute(DefaultTaskClassInfoStore.java:133)
        at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.execute(DefaultTaskClassInfoStore.java:126)
        at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.execute(DefaultTaskClassInfoStore.java:115)
        at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:623)
        at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:606)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61)
        ... 68 more

2 Questions:

What format of RSA key is generated by that command? Is is PEM?
If not PEM, if you generate a PEM-format key, does that work?

Apparently ssh-keygen does not generate PEM by default. From the manpage:

Specify a key format for the -i (import) or -e (export) conversion options. The supported key formats are: “RFC4716” (RFC 4716/SSH2 public or private key), “PKCS8” (PEM PKCS8 public key) or “PEM” (PEM public key). The default conversion format is “RFC4716”.

So to get a PEM key I'd need to run
ssh-keygen -t rsa -e -m PEM
I will try and let you know

The answer is no that did not help, I get the same exact exception trace

What about PKCS8 (PEM PKCS8 public key)?

Based on this:
http://www.cryptosys.net/pki/rsakeyformats.html
I believe lockdown currently supports PKCS#1

Or PKCS8. In either case, the start and end blocks appear incorrect

@nickavv Can you attach example keys to this ticket

lockdown_rsa{.pub} were the original keys I generated that I first saw this problem with.
pem_rsa{.pub} were the ones I generated in my last comment to test the -m PEM flag
keys.zip

Self note: Keys generated have a getFormat() method, which could map to the correct header as specified here.
Headers could then be used to determine the correct encoding - CredentialStore currently only accepts PKCS1

So bouncycastle only supports the PKCS1 encoding at all - I'll make the error more clear, but unfortunately can't expand support at this time


Saving PNG - Minutor.exe stopped working

When trying to load my vanilla SMP world files in minutor works no problem as expected. However when I go to save the world as a PNG; it lets me chose a directory and file to save the png, however when I go to save right away I am given a windows error screen that "Minutor has stopped working".
This is happening to me with both the installed and non-installed versions of version 2.0.1.
I am using a x64 version of Windows 8.1 with an intel based cpu.

getting what i think is a null deref when i click the menu item. windows 10, amd64, latest minutor release from github releases (5 days ago)?
Exception thrown at 0x00007FF7636915E0 in minutor.exe: 0xC0000005: Access violation reading location 0x0000000000000000.
which of course means little, there's no debugging information as far as i can see and i fear building it requires qt which is a massive headache in and of itself (did you really have to use qt...?) . The entirety of the world folder is 128MiB. It's a 1.17.1 world.
strangely enough, when i try to save a snapshot world, it works ok?

PNG save "should" work with Minecraft 1.17.1 (I am using it).
Please try to find a way to upload your world so we can start debugging.

torrent ok?
New_World.zip
The .7z inside is the entirety of the folder. For your convenience, either download only the .7z or only the rest of the files.
I am sorry I could not find a way to do a magnet link. In the meantime i will try with a new blank 1.17.1 world see what it does

DON'T bother with THAT torrent, it seems a completely new 1.17.1 world also fails. So it is not something with the world, should be something with my pc. Please contact me somehow.

I noticed some empty region files in your world. This was a bug with 1.17.
There is already a patch for this issue: de9c6377f214f32a121356eb1442ce48910aa196 that will be released together with the 1.18 update.
You can test that with a development preview build.

ooooh!
you're good!


.bind() orientation parameter documentation error?

I think that the values 6 and 8 are swapped.

good call - thank you.  I think the update clears it up.  I'm not sure why I went with "left" and "right"


Use StyleCI for CS checks AND fix

It's an awesome (and free) CI service for code style. It closely follows php-cs-fixer fixers. As a general thumb rule, it's not a good practice to make a build fail because of CS.
See an example config here:
https://github.com/php-http/boilerplate/blob/master/.styleci.yml

Done! Thank you for the recommendation, it is a nice service indeed!


Argparse refactor

Remove docopt dependencies and switch command line handling to argparse. Discussion in this issue.

Thank you for this!  We should try to do something to address the giant hit to our coverage though, even if it's just temporarily making coverage ignore shell scripts.

Did some more refactoring for python3 support and now I get a random test failure in python2.7 in some unrelated code:
test_exception_handling (test.streamparse.test_bolt.BatchingBoltTests)
I added some tests, which should also help with the coverage. The tests are pretty basic and just check that the subparsers are getting added, and more can be added if needed.

Thanks @hodgesds.  The random BatchingBolt failures are one of the main reasons behind #137.  Once that gets reviewed/merged, those will go away.


What effects will have change from one Azure Subscription to another

I need to link a different Azure Subscription to my Azure DevOps Org.
What will happen with my Basic / Basic + Test licenses, extension licenses, service connections and build / release pipelines?

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

ID: 4f717dae-91b5-276f-2f87-4b98331fb303
Version Independent ID: e6e9d3b1-c00d-24d2-5667-58b4822df718
Content: Change the Azure subscription used for organization billing - Azure DevOps Services
Content Source: docs/organizations/billing/change-azure-subscription.md
Product: devops
Technology: devops-billing
GitHub Login: @chcomley
Microsoft Alias: chcomley

Change subscription will transfer any charges from Subscription A to Subscription B
Extensions are all now paid to the publisher directly, so there is no change for extension licenses
Service connections and build/release pipelines will be unchanged (only billing for pipelines will be transferred)

Let us know if the answers your question
Thanks,
-Andrew

Hi @dreagor, I'm closing this issue, however please @mention me if you do end up having any further questions. Thanks for reaching out!


openshift: custom vnet: ensure serviceNetworkCIDR is configurable

need to allow configuration of at least networkConfig.serviceNetworkCIDR if we want to support custom vnets with a subnet overlapping <IP_ADDRESS>/16

@jim-minter Can we close this issue?


x/build: Windows builders failing with "rdb: The system cannot find the file specified."

There's a problem affecting all Windows builders on LUCI, causing them fail with an error like:
Error: failed to run "go tool dist test -json": fork/exec C:\b\s\w\ir\cache\tools\bin\rdb: The system cannot find the file specified.

This affects trybots and post-submit builds. We're currently investigating.
CC @mknyszek, @thanm.

We have a better understanding of the problem by now, and a mitigation is in the process of being rolled out.

This issue should now be mitigated.


Error import module

using ionic 5 angular 6 i can't import the module. Hot to import for usage in ionic 4 or. 5?

@damtaipu what's the exact issue?? Please elaborate. I used this in a frontend react app


linux/amd64 amazoncorretto:21 cant install software with yum, "SSL certificate problem: unable to get local issuer certificate"

Thank you for taking the time to help improve Corretto.
If your request concerns a security vulnerability then please report it by email to<EMAIL_ADDRESS>instead of here.
(You can find more information regarding security issues at https://aws.amazon.com/security/vulnerability-reporting/.)
If your issue is specific to the Amazon Linux image these containers are built upon, please, consider opening an issue on the Amazon Linux Docker github repository
If your issue is specific to Corretto docker images,
then you are in the right place.
Please proceed with the following.
Describe the bug
A clear and concise description of what the bug is.
using the RUN yum -y install curl
This fails with the following error:
https://yum.corretto.aws/x86_64/repodata/repomd.xml: [Errno 14] curl#60 - "SSL certificate problem: unable to get local issuer certificate"
I tried also installing tar and gzip all had same issue, so I suggest it must be with yum
To Reproduce
Steps and (source) code to reproduce the behavior.
FROM --platform=linux/amd64 amazoncorretto:21
# Downloading and installing Maven
# - Define a constant with the version of maven you want to install
ARG MAVEN_VERSION=3.6.3
# - Create the directories, download maven, validate the download, install it, remove downloaded file and set links
RUN mkdir -p /usr/share/maven /usr/share/maven/ref
RUN yum -y install curl
RUN yum -y install tar
RUN yum -y install gzip
RUN yum -y install git

Expected behavior
A clear and concise description of what you expected to happen.
Should have installed the packages
Screenshots
If applicable, add screenshots to help explain your problem.
Platform information
Repository: dockerhub
Image tag: amazoncorretto:21

Additional context
Add any other context about the problem here.

Sorry you are running in to an issue. I was not able to reproduce the issue with the Dockerfile provided.
By any chance are you in a locked down network environment?
Are you able to resolve yum.corretto.aws from the host you are building the image on?
If it is a problem resolving corretto.aws domain but the amzn2-core repo is working ,you can update the Dockerfile to
FROM --platform=linux/amd64 amazoncorretto:21
# Downloading and installing Maven
# - Define a constant with the version of maven you want to install
ARG MAVEN_VERSION=3.6.3
# - Create the directories, download maven, validate the download, install it, remove downloaded file and set links
RUN mkdir -p /usr/share/maven /usr/share/maven/ref
RUN yum -y --disablerepo AmazonCorretto install curl tar gzip git

We leave the Corretto.aws repo configured as some customer want to be able to update a running docker image.


GitHub scheduled actions run on forks

I apologize profusely for deleting the template but please understand this is not really a bug with the SDK, per se, it is a meta bug because it only has to do with your GitHub actions configuration.
Invertase maintains a fork of firebase-ios-sdk - for reasons mostly unimportant here - but what happened when I resynced the main branch from you guys here is we got a bunch of Action definitions that run on schedules.
So now we are burning PILES of GitHub Action runner time on scheduled actions from our fork, for no real benefit.
Would you be okay with setting the Actions here to only run on the main repo and skip execution on forks? Seems like the neighborly thing to do for the poor Actions runners at GitHub ;-)
Cheers

Good point - there's no reason for the schedule workflows to run on forks. Thanks for raising this @mikehardy !
Does #6770 address it for you?

@paulb777 yeah #6770 looks like it should be just the trick, thanks!


list object has no element 0

[<IP_ADDRESS>]: Ansible FAILED! => playbook: deploy.yml; TASK: pd : generate dynamic config; message: {"msg": "The task includes an option with an undefined variable. The error was: list object has no element 0\n\nThe error appears to have been in '/home/tidb/tidb-ansible/roles/pd/tasks/main.yml': line 26, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: generate dynamic config\n  ^ here\n"}

Coudl you please post a copy of the inventory file? Feel welcome to obscure the IPs if you need.

THX first, I have found my problem.I wrote the wrong configuration file.So I will close the issue.


Getting issue on field "cc_address": violates not-null constraint

django.db.utils.IntegrityError: null value in column "cc_address" violates not-null constraint.

When/How are you getting this error? Can you provide more detail?  TextFields should not need to be set to null=True

It's is the code that I use to send email. I setted the version of django-mail-queue to 3.0.2, to not have more this issue.
def send_email_mailqueue(mail_template="", mail_app="", context=""):
    new_message = MailerMessage()
    new_message.subject = context.get("subject", '')

    if context.get("reply_to", ''):
        new_message.reply_to = context.get("reply_to", '')
    if context.get('to_address', ''):
        new_message.to_address = context.get('to_address', '')
    if context.get('bcc_address', ''):
        new_message.bcc_address = context.get('bcc_address', '')
    new_message.from_address = settings.DEFAULT_FROM_EMAIL
    html_content = get_template(mail_template).render(
        context
    )
    html_content = Template(html_content).render(context)
    new_message.html_content = html_content
    new_message.app = mail_app
    new_message.save()

Thanks for the feedback. Going to setup a test environment to check this out.

Hi @nielsonsantana
I started a brand new Django install and installed mail queue 3.1.0 and was unable to reproduce this issue when saving a new object.
This could likely be caused by a different issue, perhaps in the way the DB is configured or somewhere else in your code.
I'm going to close this issue and the associated PR for now.  If others can re-produce or another user also reports this issue I can look into it further with additional information.


Tower Of Hanoi Problem in C

🚀 Feature
(A clear and concise description of what the feature is.)
Have you read the Contributing Guidelines on Pull Requests?
Yes.
(Write your answer here.)
Motivation
Implementation of Tower of Hanoi Problem using C language.
(Please outline the motivation for the proposal.)
Pitch
(Please explain why this feature should be implemented and how it would be used.)

Kindly assign me this issue. I would love to work on it.
/assign

/assign

Edit: I just checked the issue already exists.


Add near-edge subscription && model app projects

This first adds the manifests for ACM to subscribe the edge clusters to the acm/odh-edge/apps directory in this repo. It also re-organises the acm/odh-edge/ directory to have the monitoring resources in a base directory (other stuff will go in there in future), and then two app directories that inherit from that and apply their own customizations to it (their own namespace).
Description

The changes in the first commit are equivalent to the changes that @LaVLaS made in https://github.com/opendatahub-io/ai-edge/pull/37, with some minor changes (that I also added as comment suggestions on his PR).
To get this to sync correctly, I had to modify the existing poc-near-edge cluster set in ACM to add a namespace binding for the rhoai-edge-acm namespace, where this subscription is created. I'm not sure how that change could be encoded here in the repo.
Before this change, the ServiceMonitor and ConfigMap from the acm/odh-edge/acm-observability/ directory would get deployed to a default namespace, and the namespace.yaml wasn't processed at all.
The second commit creates two namespaces, one for each model app, and each will have their own ServiceMonitor and ConfigMap.

How Has This Been Tested?

The resources in acm/registration/ have been rolled out to the cluster using oc apply -f acm/registration/
The resources in acm/odh-edge/apps/ have been generated and checked locally, by running kustomize build commands.

Merge criteria:

[x] The commits are squashed in a cohesive manner and have meaningful messages.
[x] Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
[x] The developer has manually tested the changes and verified that the changes work

Thanks, I'll merge now & watch it synchronize.


update to 2.0

Update exercises to work with Chapel 2.0

Ah forgot to update the language version info in the Mason.toml files, will do a quick pass on those


Status codes are out of order

What's happened
When more than one status code (and errors) is reported, the order is not constant and could be replaced at irregular intervals.

Cause
Since the map is iterated to build a string.
https://github.com/nakabonne/ali/blob/1329145251ec1fa4187b58d3ea4e96a5aae76e3b/gui/drawer.go#L217-L230

Hi, @nakabonne is this issue being worked on? I would like to take this up.

@shubham14bajpai Sure, I hope you'll work on!

Resolved by https://github.com/nakabonne/ali/pull/83


[style]: The "How to get blood?" section is not mobile responsive

What's the style idea?
We can remove the middle red heart line for mobiles to improve UI
Add screenshots

Record

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I agree to follow this project's Code of Conduct
[X] I want to work on this issue

Go ahead @SaranshBangar

@Saurav-Pant Really sorry to disturb you sir, but while trying to run the development server locally, I am facing a peculiar issue and I was hoping to get some guidance from you regarding resolving that
Issue ->

My analysis -> On analyzing the file structure, I found the .env.example file to be the root cause of the issue as the file does not contain the proper variables in it
.env.example
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=
CLERK_SECRET_KEY=
NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in
NEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up
NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL=/
NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL=/
DATABASE_URL=""

It would be great if you can help me in sorting this issue out sir

Thanks for working on the issue @SaranshBangar.

Please Login to Clerk and create one application and select these options (Chk Pic)
rename .env.example to .env and in place of these paste your own stuff

NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=
CLERK_SECRET_KEY=

If you stuck in anyplace feel free to ping me @SaranshBangar

@Saurav-Pant  I am sorry sir but I am unable to see the picture that you are referring to

Resolved in PR #150


feat(Algebra/Algebra/Subalgebra/MulOpposite): add definition of opposite of subalgebras

discussion: https://leanprover.zulipchat.com/#narrow/stream/217875-Is-there-code-for-X.3F/topic/Subalgebra.2EequivOpposite

Can you copy the Submonoid.MulOpposite file here instead, and build up separate op and unop definitions?

Can you copy the Submonoid.MulOpposite file here instead, and build up separate op and unop definitions?

Let me check later.

Can you copy the Submonoid.MulOpposite file here instead, and build up separate op and unop definitions?

Done.

Thanks!
maintainer merge

bors r+


Add .gitattributes and .editorconfig for LF line endings

This is in line with what eslint-config-babel enforces.

 Last update 26809e8...90effeb


Testing

Will add a test project into the repo that uses Gut for testing

Unit testing framework here: https://github.com/libriscv/godot-sandbox/pull/106


PoC (proof-of-concept) for native blob client resumable uploads

Tasks

[x] Create client sample code for resumable upload, where client application is closed, reopened and upload resumed.

2022-12-16: Demonstrated to team. Partial recording.


data viewer right click is broken

While debugging a python project (not a jupyter notebook), right click to copy things in data viewer does not work, seems to be broken:

Steps:

Copy some text
Open variable viewer and look into a dataframe
right click in a value and click copy

Expected result:
Clipboard should have value 0.9978
Results:
Clipboard still has the text that was first copied.

Another data viewer issue like #19598

@brettcannon this one is a bug, can you update the tag please?

@phgmacedo  Three things. One, using "vscode python is extremely buggy and frustrating" as an example string is not being friendly. I am explicitly asking you to please be kind in this issue tracker.
Two, we triage issues on a regular cadence, so there is no need to @ mention anyone to review the issue, especially when it has only been 3 minutes since you opened the issue (plus it was a holiday for me yesterday).
Three, I am closing this as a duplicate of #19598 .

@brettcannon I don’t understand why this issue is a duplicate of the other. This one is about the context menu option. If a context menu is shown, it makes sense that it should work. I don’t understand what this has to do with the jupyter extension.

The dataframe viewer comes from the Jupyter extension. If you have the Jupyter extension installed, then I misunderstood the situation and I can transfer this over to their repo.


Prerequisites

[X] I have searched all issues/PRs to ensure it has not already been reported or fixed.

Criteria

[X] Reasonably well-known and widely used (e.g. if it's a GitHub project, it should have at least 100 stars and/or 50 forks)
[X] English interface (or at least English documentation)
[X] Latest stable version
[X] Full version (i.e. not a trial version)
[X] Fairly standard install (e.g. uses a version-specific download URL, no elaborate pre/post install scripts)

Name
OpenIV
Description
OpenIV is a multi-purpose editor and archive manager for PC versions of Grand Theft Auto V, Grand Theft Auto IV/EFLC and Max Payne 3.   OFFICIAL DESCRIPTION:  OpenIV is a free modding toolset for Grand Theft Auto 5 and other games that allows you to view and alter the game data. Because of restrictions set by Rockstar Games, the game’s publisher, you should only mod GTA5 in offline mode or risk being banned from the game.  This toolkit is a convenient way to keep track of mods for multiple games in one spot. Modding games are becoming increasingly popular around the world, but if you want to explore some GTA5-specific choices, check out GTA5 Prison and Chaos Mod V.
Homepage
https://openiv.org/
Download Link(s)
https://ntscorp.ru/ovi/setup/ovisetup.exe (forwarded from https://openiv.org/dl )
Some Indication of Popularity/Repute
Related to: https://github.com/Calinou/scoop-games/issues/750 but i do not know if i created that issues in the right bucket, as i see that many game modding tools and other game tools are in this Extras bucket as well

There is no silent installation for the installer, so unfortunately this cannot be added to official buckets.

There is no silent installation for the installer, so unfortunately this cannot be added to official buckets.

That's sad.. I'll be closing this here and in the Games bucket too


Angular application reacting slow once multiple chart loaded into page.

Expected behavior
Parallel loading of charts with devtools open, should not have impact on performance.
Current behavior
we have a dashboard page in Angular 14 application which has multiple types of charts.
if user visits dashboard page and switches to different pages, the API calls takes a long time resolve in devtools.
This only occurs whenever we visit dashboard page(which have multiple charts).
While searching this issue came across below solution to disable async stack trace from developer tool settings and in that case it is working properly.
chrome-slower-when-console-open-at-page-load
is there any configuration for chart to avoid this issue.
Reproducible sample
https://stackblitz.com/edit/angular-kgntsk?file=src%2Fchart-test.ts,src%2Fmain.ts
Optional extra steps/info to reproduce
It's hard to provide exact steps or environment with stack blitz.
Our case pages are inside material tab.
Possible solution
No response
Context
No response
chart.js version
4.4.2
Browser name and version
chrome v-124.0.6367.91
Link to your project
No response

This does not sound like a chart.js issue if your api calls are loading slow. Also since it does not seem to reproduce inside of a stackblitz it is verry hard to almost impossible to debug


Fix GNU toolchain builds

This PR fixes the GNU toolchain (-pc-windows-gnu) builds for the apps that use winrt-rs.
Note that it is still not possible to build all the tests in winrt-rs itself with the GNU toolchain, but with MSVC toolchain all the tests pass.

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


Wish adding an icon to show the connection status with the server

While I was writing code, my computer was disconnected from the server for some reason, but I didn't know.
I pressed Ctrl+S to save the file and close the browser, but there was no doubt the file wasn't saved -- I had no idea I was disconnected from the server.
So I wanted to be able to add an icon to show the status of the browser's communication with the server.
Thank you very much!

I'll be marking this as a wontfix since this should be raised on VSCode Web. This is not something we can do on our end because VSCode Web is on early stages so expected for such to apper.

@code-asher Actually I think we can use the VSCode Remote status used in the status bar for this, wdyt?

VS Code web ended up adding an indicator before we did. It's in latest master and there will be another pre-release soon. They implemented it as a full-screen notification so there's no missing it.


Client Allocation Request for:

Client Allocation Questions
Core Information

Name:
Website / Social Media:
Region: North America
DataCap Requested: 1TiB
Addresses to be Notarized:
Notary Requested: Joss-Hua

@orvn Please subscribe to notifications for this Issue to be aware of updates. Notaries may request additional information on the Issue.

Sorry, this issue was an accidental submission from the Filecoin Plus website due to a bug (I used the submit button but it threw an error, however it seems that, unknown to me, this issue was opened anyway).

This user’s identity has been verified through filplus.storage


Go to my next challenge problem

When I was doing the HTML5 and css and responsive design waypoint, there are several times where the next challenge jump to Basic javascript. When I try to go back to previous page and press the next button, it jump to the next challenge of the wrong challenge, even though I haven't finish that challenge.

Hey @Vyhnn thanks for posting!
A couple of weeks ago we had a bunch of issues like this but most were fixed.  I'm going to close this as resolved but feel free to reopen if you still have this issue.


tbb: 2018_U5 -> 2018_U6

Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build tbb

Success on aarch64-linux (full log)
Attempted: tbb
Partial log (click to expand)
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/42pd66aqc40w80j6vrxvd4vfis2qsj03-tbb-2018_U6
shrinking /nix/store/42pd66aqc40w80j6vrxvd4vfis2qsj03-tbb-2018_U6/lib/libtbbmalloc_proxy.so.2
shrinking /nix/store/42pd66aqc40w80j6vrxvd4vfis2qsj03-tbb-2018_U6/lib/libtbbmalloc.so.2
shrinking /nix/store/42pd66aqc40w80j6vrxvd4vfis2qsj03-tbb-2018_U6/lib/libtbb.so.2
strip is /nix/store/p9akxn2sfy4wkhqdqa3li97pc6jaz3r1-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/42pd66aqc40w80j6vrxvd4vfis2qsj03-tbb-2018_U6/lib
patching script interpreter paths in /nix/store/42pd66aqc40w80j6vrxvd4vfis2qsj03-tbb-2018_U6
checking for references to /build in /nix/store/42pd66aqc40w80j6vrxvd4vfis2qsj03-tbb-2018_U6...
/nix/store/42pd66aqc40w80j6vrxvd4vfis2qsj03-tbb-2018_U6

@markuskowa The GitHub releases page ( https://github.com/01org/tbb/releases ) lists 2018_U6 as "latest release".
I do not know that package very well, should I package the 2019_U1 instead?

Success on x86_64-linux (full log)
Attempted: tbb
Partial log (click to expand)
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/r9xd6cj1sf59iab2m6d1vrkc16j45fgj-tbb-2018_U6
shrinking /nix/store/r9xd6cj1sf59iab2m6d1vrkc16j45fgj-tbb-2018_U6/lib/libtbb.so.2
shrinking /nix/store/r9xd6cj1sf59iab2m6d1vrkc16j45fgj-tbb-2018_U6/lib/libtbbmalloc_proxy.so.2
shrinking /nix/store/r9xd6cj1sf59iab2m6d1vrkc16j45fgj-tbb-2018_U6/lib/libtbbmalloc.so.2
strip is /nix/store/vcc4svb8gy29g4pam2zja6llkbcwsyiq-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/r9xd6cj1sf59iab2m6d1vrkc16j45fgj-tbb-2018_U6/lib
patching script interpreter paths in /nix/store/r9xd6cj1sf59iab2m6d1vrkc16j45fgj-tbb-2018_U6
checking for references to /build in /nix/store/r9xd6cj1sf59iab2m6d1vrkc16j45fgj-tbb-2018_U6...
/nix/store/r9xd6cj1sf59iab2m6d1vrkc16j45fgj-tbb-2018_U6

I would give 2019_U1 a try. I was not listed as unstable on the homepage. We just need to check if all packages that depend on tbb still compile.

2019_U2 is now marked as latest release. We should use that one.


[Feature Request] Locally save installed plugin readme's for offline view!

As of now there's seems to be no other community or core plugin that does this important task. there's also a request for it on the obsidian forums
I would be grateful if you could consider this feature request and potentially explore the feasibility of incorporating sub-features within this broader request, like the addition of user notes, as outlined in the obsidian forum discussion. This could potentially enhance the overall user experience when working with plugins offline.

This is a very good idea but is beyond the scope of the plugin. Even Obsidian's help is online only 😀.
The problem is you then need some kind of file format that plugins would need to intentionally build for, and this seems like it will be too much to ask for from devs.
I'd suggest submitting a feature request to the Obsidian team for offline help and to include a feature like HelpMate, so all plugin devs can provide local help in a consistent way. Then we can archive Helpmate 😘


Model's updated_at retaining old timestamp after update

After saving an existing model it still reflects the old updated_at time on it. Here is a test:
test('model not reflecting updated time', async ({assert}) => {
  const user = await use('App/Models/User').first()
  const timeBeforeSave = user.updated_at
  user.email = Math.random().toString(36).substring(2) // generate random string
  await user.save()

  // does not pass, still using old updated_at from before user.save()
  assert.notEqual(timeBeforeSave, user.updated_at)

  // passes AFTER DB reload
  await user.reload()
  assert.notEqual(timeBeforeSave, user.updated_at)
})

Hey @simontong! 👋
Do you expect user.save() to reload the model automatically?
I think this will create another DB call that people probably don't want.

Hi,
No the reload() test example was just to show that it actually updates.
In @adonisjs/lucid/src/Lucid/QueryBuilder/index.js line 408 theres a method update() which assigns the updated_at value to an object which it saves to the database.
Would it be possible to set that value to the original model also?

Yeah I believe it makes sense to set that value on the model attributes as well. I will fix it

fab

Might be related to this but I noticed when I create a new db row with Model.create() and then send that instance back to the browser it doesn't contain updated_at in the json object.
If I update an existing row and send it back updated_at is in there.

@simontong Cannot verify Model.create one, I have though added a test for same and it passes https://github.com/adonisjs/adonis-lucid/commit/4f0c035c1ee4846baddb4ed21805fd328e7fb79b#diff-8cf368148f92a3d466c086dbd74a268fR1653

My bad, the updated_at field is working as expected.
It was another field I have that does not get touched when you create a record only when you update it (archived_at time).
So only the attributes which become dirty are sent back right?
Would that mean doing calling model.reload() to get all fields to send back to browser?

Yes, so if you do not touch any field then it will not be the part of the return payload and a reload is required to have the same data as the database


Support PyPy3 v5.2 with setuptools hackery

PyPy has started releasing alpha releases of PyPy3 v5.2,
and Travis now supports python: pypy3.3-5.2-alpha1.
PyPy3 v5.2 depends on virtualenv>=15.0.2, whereas Travis installs 12.0.6.
Only force the use of virtualenv>=15.0.2 on PyPy3 v5.2, so that existing
users of tox-travis are not impacted.
This is complicated by Travis providing setuptools 12.0.5,
which does not support platform_python_implementation=="PyPy"
as an environment marker.  Prior to setuptools 20.10.0 there is patchy
support for environment markers, and setup.py fails while parsing them.
To avoid breakage if someone is installing tox-travis using an older
setuptools, setup.py patches _markerlib and pkg_resources to do the
correct environment marker matching.
However the typical Travis-CI usage is via pip install tox-travis.
tox-travis provides a universal wheel, which supports environment markers,
Travis pip 6.0.7 can install this universal wheel without using setuptools.
Also, fiddle with tox internals so that it attempts to
run python for the Travis versions pypy3.3-5.2-*.

(not tested yet; travis didnt want to run the build for me)

So that went better than expected ...
Fixes #22 .
(I wonder if Travis has silently blocked my access due to running large matrix like https://travis-ci.org/jayvdb/tox-travis/builds/145144692 ;) )

Submitted the same hackery as https://github.com/html5lib/html5lib-python/pull/285 .  Given that @gsnedders is a reviewer there, it is probably better to wait until they have had time to review it, and I'll resubmit here any improvements found during code review.

Sounds good. Thanks for sticking with this. I'll try to review this more thoroughly next week. This week I've been at a conference.

This now closely matches https://github.com/html5lib/html5lib-python/pull/285 , which was merged.

Would be good to move on this soon.
There are a few projects which could adopt tox-travis as a simple way to get pypy3 testing, and ill submit PRs once this is released.
E.g. https://github.com/shazow/urllib3/blob/master/.travis.yml see pull 936
https://github.com/PyCQA/pyflakes/blob/master/.travis.yml

Thank you for the prod. Is this your recommended approach, over the other PRs?

Yea, ultimately, providing the universal wheel (common to both PRs) should be all that is needed for travis end-users with pip 6+.
In practise this PR should only have the benefit of simplifying our use of tox when testing the tox-travis project on workstations, as we dont need to use the tox wheel installer.
But if anyone was doing anything funky on travis, this PR should prevent most breakage that would have occurred with the other PR.
And if anything goes wrong, I am on the hook.

Regarding documenting when the hackery can be removed, ..
The monkey patching activates itself only when the problematic versions of setuptools are encountered, so I guess the answer is something like:

when nobody is using setuptools <20.10.0 any more on travis ?

travis has an old setuptools preloaded, so we're waiting for at least that.
tox' problem is caused by virtualenv, which packages and uses an old setuptools.  And travis uses an old version of virtualenv, and it feels like they dont like upgrading this component, as it is a very old version.  The latest virtualenv includes setuptools 21.
However, virtualenv 13 is needed for Python 3.2, and it only includes setuptools 18.2 (https://github.com/pypa/virtualenv/tree/134c9a6c67081cda67befd61bae68a999ed00f48/virtualenv_support)
I am sure that if I create an issue agaisnt travis-ci related to upgrading setuptools/virtualenv, it will be closed with "it isnt broken".
So my guess is this workaround will be useful until Python 3.2 is removed from the Travis list of possible Python environments.

OK. I'm wanting to get automated deployments to PyPI set up as well, so this will be part of the first release under that process.


RET-5027

JIRA link (if applicable)
https://tools.hmcts.net/jira/browse/RET-5027
Change description
Update Claimant Application Email notifications
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[x] No

New template to add
Acknowledgment of Claimant Application to Claimant (Type A)
1892837f-2a5e-47b9-9d73-29ccffbac8d8
CY Acknowledgment of Claimant Application to Claimant (Type A)
aa5c5e79-bb2b-49b7-a0d3-42a1ca2ab412
Acknowledgment of Claimant Application to Claimant (Type B)
59ea1be0-882c-4059-8a9b-229f2ec2cd96
CY Acknowledgment of Claimant Application to Claimant (Type B)
bfb67eb6-49e6-4b78-8bd4-6c616f6f2e38
Old template to remove
Acknowledgment of Claimant Application to Claimant (Rule92 Yes)
d5f319f1-229f-4dcb-9293-f164bb327601
CY Acknowledgment of Claimant Application to Claimant (Rule92 Yes)
f58fbf9b-2640-4e3f-ba16-4657ece7cd42


Upgrade to the last stable ruby (ruby 2.2.3)

what was done in this pull request:

updated supported ruby to the last stable version
updated all gems which is used in rubyvis to the newest
updated all rspec tests from old should style to the new expect style
fixed all rspec "after-upgrade" warnings

Also, I run all tests on the latest ruby version 2.3.0preview1. All tests are green :smirk_cat:


updated package dependencies, implemented "or null" operator for WHERE clauses, added support for auto created/updated timestamp columns

I've updated all the dependencies of FastLegS so that it works correctly with Node 0.6.0+.
I added an "or null" operator for WHERE clauses so you can say things like "value is 0 or null".  I think this is a pretty common use case, and it was impossible to express before.  Example of how it is used:
dataLayer.Feed.find(
    {
      "indexed_at.lte.or_null": indexTime
    },
    {
      only: [ 'id' ]
    },
    callback);

This will return all rows where the "indexed_at" column is before indexTime or "indexed_at" is NULL.
My third change is support for automatically setting created and updated time stamps for each row.  You configure them like so:
exports.Feed = FastLegS.Base.extend({
  tableName: "feeds",
  primaryKey: "id",
  updateTimestamp: "updated_at",
  createTimestamp: "created_at"
});

The column names can be whatever you want, in this example I use the Ruby nomenclature of "updated_at" and "created_at" as the column names.  You don't have to specify both created and updated.  Every time you issue a create() or update() call, the relevant column will be updated (in the case of create(), update is also set to the same time).

+1


Logs should be stored in the file system permanent for 30 days

@sureshhewabi We should try to keep the logs for future imports errors into the filesystem. In that way we can check errors and also trace the steps of the import. Currently, this is store in the volumes tmp directory which get destroyed when the import finished.

Close for now.


mailgun plugin

Finished and test mailgun plugin, ready to merge

Looks great! 🙌

django.db.migrations.exceptions.InvalidBasesError: Cannot resolve bases for [<ModelState: 'mailgun.Tutorial'>]
This can happen if you are inheriting models from an app with migrations (e.g. contrib.auth)
in an app with no migrations; see https://docs.djangoproject.com/en/3.2/topics/migrations/#dependencies for more
Error: Process completed with exit code 1.

You need to run python manage.py makemigrations mailgun and commit the migration file that is generated. That should fix the build.

Made changes and this branch now passes all checks, will merge now!


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/85877

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/90782

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/92930

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/107784

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/107880


Transaction impl to spec

This PR refactors Transaction in the many-types module to match specification, as cited in https://github.com/liftedinit/many-rs/issues/207

Codecov Report

Merging #230 (1210ff3) into main (e083d9f) will decrease coverage by 0.00%.
The diff coverage is 89.77%.

@@            Coverage Diff             @@
##             main     #230      +/-   ##
==========================================
- Coverage   70.53%   70.53%   -0.01%
==========================================
  Files          81       80       -1
  Lines        9450     9453       +3
==========================================
+ Hits         6666     6668       +2
- Misses       2784     2785       +1

Impacted Files
Coverage Δ

src/many-client/src/client.rs
73.62% <ø> (ø)

src/many-client/src/client/blocking.rs
0.00% <ø> (ø)

src/many-identity-webauthn/src/lib.rs
96.98% <ø> (-0.28%)
:arrow_down:

src/many-macros/src/lib.rs
0.24% <0.00%> (ø)

src/many-modules/src/_4_events.rs
77.08% <ø> (ø)

src/many-modules/src/_8_async.rs
90.96% <ø> (ø)

...c/many-modules/src/_9_account/features/multisig.rs
10.41% <ø> (ø)

src/many-modules/src/lib.rs
81.81% <ø> (ø)

src/many-server/src/transport.rs
0.00% <ø> (ø)

src/many-types/src/blockchain.rs
72.41% <ø> (ø)

... and 12 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Closing in favour of https://github.com/liftedinit/many-rs/pull/234


V1.7

What does this PR do?

Motivation

More

[ ] Added/updated tests
[ ] Added/updated documentation

Additional Notes

Seems like a mistake, then I close.


Using functions as keys returns stale data

Bug report
I'm using SWR to build an app that has an existing "client" layer. Imagine something like the following syntax for this client layer, which returns a Promise (i.e. calling this function does the actual fetching):
client.account(userID).getAvatar();

It's important to note that the identity of getAvatar in this example is stable as long as userID doesn't change, i.e.
const one = client.account(userID).getAvatar;
const two = client.account(userID).getAvatar;
one === two // this is true, because getAvatar has a stable identity

Description / Observed Behavior
Because of this stable identity, I want to be able to use these functions directly as part of the cache key in swr, like so:
const { getAvatar } = client.account(userID);
const { data } = useSWR([getAvatar]);

Where userID is provided from higher up, e.g. through some sort of context. getAvatar in this case knows about userID because it has it in its closure.
Unfortunately, it turns out swr will not update data if the function is changed, as a result of userID changing.
Expected Behavior
I'd expect swr to be able to use function as keys. I'm okay with wrapping these functions in an array, like I did in the example above.
Repro Steps / Code Example
CodeSandbox repro
Additional Context
I had a quick look through the source code and I believe the issue is here: https://github.com/vercel/swr/blob/daf7eadf4fa92913daf19d093a3dd26759d503da/src/libs/hash.ts#L11
Specifically, functions are stringified and added to the hash, but since userID in the example above is captured in is closure, the string output of that operation doesn't change when userID changes.
Using version 0.3.0

Hello @ath92! Currently, what you can do is to use userID as the key and getAvatar as the fetcher:
const { data } = useSWR(userID, client.account(userID).getAvatar)

And then simplify it as a custom hook, for example:
const useAvatar = userID => useSWR(userID, client.account(userID).getAvatar)

// ...
const { data } = useAvatar(userID)

What do you think about it?

Hey, this would work for the simple case. But as far as I understand, the key (userID in the example you provided) is used as an identifier in the global cache, correct?
So if I understand correctly, it would mean that the following:
const { data } = useSWR(userID, client.account(userID).getAvatar)

would be given the same key (and therefore use the same cached values) as this (note getAvatar -> getUsername):
const { data } = useSWR(userID, client.account(userID).getUsername)

because only userID is provided as a key here, and the fetcher function is not used as a key for the global cache. I'm not 100% sure if this is correct, but maybe you can verify whether this is in fact the case?

Additionally, the example you provided works well enough for a simple use case, but sometimes I'd like to be able to pass more parameters to the fetcher. Imagine for example the following case:
// this is client.account(userID).getAvatar
getAvatar(width = 0, height = 0) {
  return client.get(`someUrl/avatar?width=${width}&height=${height});
}

Then I'd like to be able to do the following:
const { getAvatar } = client.account(userID);
const { data } = useSWR([getAvatar, 40, 40]);

I can do something like this by providing a single, simple fetcher to the global SWR config that looks like this:
const simpleFetcher = (resourceMethod, ...args) => resourceMethod(...args);

This example wouldn't work with the workaround you mentioned, because in that case userID will get passed as the first argument to the resource method.

After thinking about this a little bit more, I think it might also make sense to let the fetcher function be part of the cache key as well.
This would enable a syntax like the following:
const fetcher = client.account(userID).getAvatar;

const Comp = () => {
   const { data } = useSWR(['some param'], fetcher);
  // ...
}

This approach doesn't work (I think) in the current implementation, because if I were to use the same some param with another fetcher, I would get the same cached results, even though the fetcher could be doing completely different stuff.

@shuding Do you have an update on this? The PR I opened earlier would allow me to use swr the way I would like to. Is there a reason why it shouldn't be merged?
I'm also happy to try and help by finding a different approach/fix, but I'd like to know if it makes sense to do that.

Hey, this would work for the simple case. But as far as I understand, the key (userID in the example you provided) is used as an identifier in the global cache, correct?

Yeah, the key should be the identifier of your data. Personally, I will add more context to the key so it won't conflict:
useSWR(['getAvatar', userID], client.account(userID).getAvatar)
useSWR(['getUsername', userID], client.account(userID).getUsername)

And then, it's better to pass parameters to the fetcher:
useSWR(['getAvatar', userID], (method, id) => client.account(id)[method](id))
useSWR(['getUsername', userID], (method, id) => client.account(id)[method](id))

Furthermore, I can use a global fetcher, don't even need to pass it anywhere:
const fetcher = (method, id) => client.account(id)[method](id)

// ...
useSWR(['getAvatar', userID], fetcher)
useSWR(['getUsername', userID], fetcher)

You can have more flexibility to pass extra params too if you define fetcher like this:
const fetcher = (method, id, ...params) => client.account(id)[method](...params)

I think that's simpler.
However, I see the benefit to allow users to pass functions as keys:
useSWR([getAvatar, userID], (fn, ...args) => fn(...args))

I personally don't think it's as straightforward as useSWR([...args], fn), but it solves the key conflict issue indeed.
I'll approve and merge your PR, nice work! @ath92

Released your PR with<EMAIL_ADDRESS>thanks again!

Awesome, thanks for your help @shuding. I realise my use case is probably not very common, so I appreciate you taking the time to provide examples.


Explore providing testing utilities

Currently it's very cumbersome to set up tests for OpenAI.
If we could provide some kind of easy to use testing integration, it would simplify things a lot

+1 - I switched the code base to Java 17 because I needed text blocks.


Added xres tabbar widget template

Also added restoring to clients titlebars with emiting a signal

@Piterden Do you want to correct the other two minor things as well or are you busy rn? Just want to check if there is any miscommunication 😅

Yes I will do it. Sorry for delay. Going to complete at this week

Kept the tabbar style and got rid of all changes in tabbed.lua for now. I couldn't see through all changes anymore. Making the titlebar reappear is a good improvement though. That has to happen in another commit/pr now though. The tabbar style looks cool anyway :sunglasses:


Create Product Page

📘 Description
The current modal for displaying product details may limit user experience when handling extensive product information. While modals are effective for concise data, they can become cluttered and difficult to navigate when showing comprehensive details. To address this, a dedicated product page is desired.
🔢 Steps

Create a new folder called product inside the app directory.
Create a new page in the product folder to display static details for a single product.
Ensure the design is visually appealing and responsive across different screen sizes.

✅ Acceptance Criteria

The product page should include the same details as the current modal but exclude the close button.
It should be visually appealing and consistent with the rest of the application.
The layout should be responsive.

🌎 References
Not applicable.
📜 Additional Notes

The product page will initially display static information without dynamic product selection.

⚠ Do not apply until the ODHack begins.

id love to take this

@sonkeydotcom ODHack hasn't started, please wait

Hello @danielcdz , I’d love to work on this issue as I have strong experience with front-end development.
My Approach:
I will create a new product folder in the app directory and implement a dedicated product page that displays static details for a single product. The layout will ensure it is visually appealing and fully responsive, maintaining consistency with the rest of the application. The close button will be removed, as it is unnecessary for this page.
Please assign this to me, and I’ll deliver an efficient and secure PR within 12-24 hours.

Can I take this from here?

About me
Hi! I'm Lindsay, a Software Engineer based in CR, I bring 4.5+ years of exp as a full stack, but I've been specializing as a frontend developer. And since I joined Dojo Coding community I've been immersing myself in the web3 world.
How would I approach this issue?
First, I'll start by analizing how are current components structured to make sure the new ones stay consistent with the already implemented patterns.
After that I'll start creating the smallest dynamic/reusable components that I would need for this page. Once all this smaller components are implemented, I'll continue with the product page as its own component, always ensuring that both the small components and the page itself remains responsive on all devices.

Hi! I’m a skilled product designer and front-end developer passionate about creating user-centered, scalable, and responsive designs. My background includes working on SaaS platforms, blockchain applications, and responsive web components, with achievements such as being a Web3 hackathon finalist and a top performer in the HNGx internship.
Here’s my portfolio: [https://precious.super.site/].
Approach to the Task
Reimagine the User Experience:
While modals are great for quick interactions, a dedicated product page provides the space needed for users to explore product details comfortably.
I will design the page to maintain consistency with the app’s overall style while offering an uncluttered, structured layout for better readability and usability.
I'd Build a product page that includes all the current modal details but excludes the close button, ensuring a full-page layout optimized for detailed information. Then use grids or flexible layouts to structure the content logically, making it easy for users to navigate.
I’ll also use the app’s existing design system to ensure the product page aligns with the application's aesthetic.
Add visual elements, such as high-quality images and typographic hierarchy, to enhance the presentation of product details. I'd also ensure the page will be fully responsive, adapting gracefully to all screen sizes, from desktops to mobile devices.


Replace optimist with minimist

For known reasons we want to get rid of old versions of minimist from our projects. And I looked into dependency then found http-server is relying on optimist, which is a deprecated package, and optimist relies on very old version of minimist. https://github.com/substack/node-optimist/blob/master/package.json#L8
I'm a yarn user and I received lots of warnings since I used http-server in my projects, a lot... A viable solution might be reinstalling http-server and for some reason newer version of minimist can be installed and the warn will be gone.
Is there anytime to do on http-server side?

I completely sympathize with the headache of old packages in dependency trees! I'll take a look into fixing that on our side if I can!

we want to get rid of old versions of minimist

Just a note, packages that depend on the current version of minimist (1.2.5) do not pass the audit either:
Patched in      >=0.2.1 <1.0.0 || >=1.2.3

any update for this topic?

So I've been able to upgrade several instances of minimist in the dependency tree. Many of them won't make a difference, they'll need you (the user) to re-install http-server to pick up the dependency changes. One upgrade did actually make a change I can control though and I'll add that to the next release.
However, the initial findings are right that the stubborn one is depended on by optimist. That will take a little more work to swap out, though I have actually done the switch from optimist to minimist before, so I know where to start.

I guess #131 or #464 would replace optimist, maybe one of those can be cleaned up and merged?

@substack just has to press the merge-button here https://github.com/substack/node-optimist/issues/152


[FEATURE] Add ability to set the destination namespace of applications managed by ArgoCD

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

What is the outcome that you are trying to reach?
I need to be able to configure the destination namespace of an application that is managed by ArgoCD.
For example, let's say I want to deploy ArgoCD itself to the namespace "argocd". This is currently possible by setting the namespace in the argocd_helm_config - so far so good.
Next, I want to configure an application managed by ArgoCD which deploys to the default namespace.
This part is missing because the namespace of an argocd_application is hard coded as:
https://github.com/aws-ia/terraform-aws-eks-blueprints/blob/c459a963d92f11b41f4c9fc5f40c7a279fe01be1/modules/kubernetes-addons/argocd/main.tf#L25
This results in the k8s resources created by my application existing in the "argocd" namespace.
Describe the solution you would like
I would like to be able to set the destination namespace when defining argocd applications:
argocd_applications = {
    my-project = {
      path                  = "chart"
      repo_url              = "https://github.com/<some-repo>.git"
      destination_namespace = "default" // Resources created by this application will exist in the default namespace.
    }
  }

Hi @mhazegh, I agree that this is a limitation. Beyond the obvious rationale of having that flexibility, is there a specific reason you want to be able to configure the namespace for an argocd application. As you probably know this is not the namespace for the workloads that are deployed by argocd but just for argocd application instead. I am interested in knowing if having that flexibility satisfies some kind of an operational concern.

@askulkarni2, thanks for the response!
In my case, all of my application's resources were getting deployed to the argocd namespace.
The reason way was kind of hidden in the ArgoCD docs - here's the documented behavior of application.destination.namespace:

The namespace will only be set for namespace-scoped resources that have not set a value for .metadata.namespace

I hadn't explicitly set the namespace of the resources I was deploying, so they all ended up in the argocd namespace. The fix for this is to explicitly namespace my resources (which I should have been doing anyways 🙂).
Allowing users to override the application.destination.namespace would act as a catch-all to ensure non-namespaced resources end up in a particular namespace, but the real solution is to properly namespace resources in the first place. I think this issue can be closed.


Missing "total cost"

Data has no total tuition cost.  It has amounts of financial aid granted, but no indication of what the total cost is.

We do have values for tuition and roomAndBoard.
"tuitionAndFees": "$40,660",
"roomAndBoard": "$10,320",
"averageGraduateDebt": "Not reported"

On Mar 30, 2015, at 6:32 PM, Charlie DeTar<EMAIL_ADDRESS>wrote:
Data has no total tuition cost. It has amounts of financial aid granted, but no indication of what the total cost is.
—
Reply to this email directly or view it on GitHub.


How to get all products for a specific category?

I see in documentation that you can get either all products.
Or all categories.
I cant find a way in which to get only the products from a specific category.
so far i've been using:
https://ecom.pssthemes.com/woocommerce/wp-json/wc/v2/products?consumer_key=key&consumer_secret=secret&filter[product_cat]="decor"

https://ecom.pssthemes.com/woocommerce/wp-json/wc/v2/products?consumer_key=key&consumer_secret=secret&filter[category]="decor"

etc.. cant find anything in the docs .
Ive tried this in postman.. but also with the library itself.. no success. The code is:
WooCommerce.get('products?filter[category]="decor"', function(err, data, res) {
  console.log(res);
});

So far i can't decide if this feature does not exist.. or i'm missing something.
Would you consider adding functionality for this specific use-case?
To me seems very basic to have the ability to get all the products for only 1 category.. Thanks:)

Hi,
Use a category id to list all products.
WooCommerce.getAsync('products?category=1').then((data) => {
      console.log(JSON.parse(data.body));
      products = JSON.parse(data.body);
}, (err) => {
      console.log(err)
})

Hi @PssThemes ,
You can easily get it using category id
WooCommerce.get('products?category=<categoryID>’, function(err, data, res) {
 	console.log(res);
});

Hi there. GitHub is primarily for reporting bugs this REST API library and is not a support forum for WooCommerce REST API. If you have questions about the WooCommerce REST API you should ask on the community support forum here: https://wordpress.org/support/plugin/woocommerce


Remove README exclusions for support packages

Once Azure/azure-sdk-tools#404 is resolved, do whatever configuration is necessary and remove exclusions from eng/.docsettings.yml:
  - ['sdk/core/Microsoft.Azure.Core.NewtonsoftJson/README.md', '#15423']
  - ['sdk/search/Microsoft.Spatial.NewtonsoftJson/README.md', '#15423']

Duplicate of: https://github.com/Azure/azure-sdk-for-net/issues/5499


Add explicit frictionless dependency since we import it direclty.

(I also sorted the dependencies...)

Oh, woah, we were able to import frictionless because we depend on ferc-xbrl-extractor as a transitive dependency? Wack.


[Bug]: Fractional Shares not supported in order endpoints

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
following the colab tutorial (https://colab.research.google.com/github/alpacahq/alpaca-py/blob/master/examples/stocks-trading-basic.ipynb#scrollTo=MH33Rtt6SX7L)
I tried to run this cell:
# simple, market order, fractional qty
# Alpaca trading platform support fractional trading by default
# you can specify:
# fractional qty (e.g. 0.01 qty) in the order request (which is shown in this example)
# or notional value (e.g. 100 USD) (which is in the next example)
req = MarketOrderRequest(
    symbol = symbol,
    qty = 5.5,
    side = OrderSide.BUY,
    type = OrderType.MARKET,
    time_in_force = TimeInForce.DAY,
)
res = trade_client.submit_order(req)
res

and got this error:
HTTPError                                 Traceback (most recent call last)
[/usr/local/lib/python3.10/dist-packages/alpaca/common/rest.py](https://localhost:8080/#) in _one_request(self, method, url, opts, retry)
    195         try:
--> 196             response.raise_for_status()
    197         except HTTPError as http_error:

5 frames
HTTPError: 422 Client Error: Unprocessable Entity for url: https://paper-api.alpaca.markets/v2/orders

During handling of the above exception, another exception occurred:

APIError                                  Traceback (most recent call last)
[/usr/local/lib/python3.10/dist-packages/alpaca/common/rest.py](https://localhost:8080/#) in _one_request(self, method, url, opts, retry)
    203             error = response.text
    204
--> 205             raise APIError(error, http_error)
    206
    207         if response.text != "":

APIError: {"code":40010001,"message":"qty must be integer"}

how could qty be an integer? I thought it was because I had done it after hours, but I'm still within extended hours... so that's not it.
Furthermore, this is a different bug:
# simple, market order, notional
# Alpaca trading platform support fractional trading by default
# you can specify:
# fractional qty (e.g. 0.01 qty) in the order request (which is in the example above)
# or notional value (e.g. 100 USD) (which is in this example)
req = MarketOrderRequest(
    symbol = symbol,
    notional = 1.11,  # notional is specified in USD, here we specify $1.11
    side = OrderSide.BUY,
    type = OrderType.MARKET,
    time_in_force = TimeInForce.DAY,
)
res = trade_client.submit_order(req)
res

that example said
APIError: {"code":40010001,"message":"qty is required"}

So maybe the colab example is just out of date?
Expected Behavior
allow me to use a float for fractional order.
SDK Version I encountered this issue in
0.30.0
Steps To Reproduce
https://colab.research.google.com/github/alpacahq/alpaca-py/blob/master/examples/stocks-trading-basic.ipynb#scrollTo=2wS5WVRJSX7I

Filled out the Steps to Reproduce section?

[X] I have entered valid steps to reproduce my issue or have attached a minimally reproducible case in code that shows my issue happening; and understand that without this my issue will be flagged as invalid and closed after 30 days.

Anything else?
No response

@lastmeta thank you for the report. Please let me investigate and fix the issue.

@lastmeta
Could you please try to Reset Account of your paper account via the Dashboard of Alpaca Trading API on the web? (The button is in the Your portfolio block of Home screen after select Paper account on the web)
To enable features recently added (i.e. fractional/options trading) for paper account, resetting the paper account is required. (fyi. live account is not required this process.)

that was it! my paper account was pretty old. thanks!


WAC - Incorrectly reports Remote Desktop status

I have WAC installed on my local Win 10 workstation, and when I click on one of the server connections I have, and then go to remote desktop, it says connections are not allowed to this computer.
If I go to settings, it reports remote desktop is not enable, but I know for a fact it is as I am logged onto the server remotely using RDC.

We aren't able to reproduce this issue. Please create a bug so we can identify other users that may be effected.
Please include the following:

Platform where Windows Admin Center is installed (Windows 10 or Windows Server):

If installed on Server, are you using:

A self-signed certificate created by the installer?
Your own certificate?

If you are using your own certificate, does the subject name match the machine?
If you are using your own certificate, does it specify an alternate subject name?

Did you install with the default port setting?

If not, which port did you specify?

Is the machine where Windows Admin Center is installed joined to a domain?
Windows version where Windows Admin Center is installed:
Is the machine that you are trying to manage joined to a domain?
Windows version of the machine that you are trying to manage:
What browser are you using?

If you are using Google Chrome, what is the version? (Help > About Google Chrome)

Looks like someone else has had the issue:
https://windowsserver.uservoice.com/forums/295071-management-tools/suggestions/33940756-unable-to-use-remote-desktop
Should I create my own bug or just add my details to their entry?

Please add to the existing entry, thanks!

Have commented on his raised bug.


[Development] v2.0.0 beta 0 release

Hi MXNet community,
This discussion is about the MXNet 2.0's first beta release. This beta release is expected to be the first of the several beta releases before the official release of 2.0. In general, for each release follows a fixed cadence of a monthly update without stopping for minor issues.
In the first beta release, we include all the features listed in #18931 for the Python binding. Here are a few known blocking items to be addressed before the first beta release happens:

[x] Gluon 2.0 crash course update
[ ] Gluon 2.0 implementation updates #19138
[ ] Website 2.0 updates and document fixes #19137
[ ] Open license issues and removal of DISCLAIMER-WIP.
[ ] Dynamic loading of nvrtc (#17858)

If you know of other issues such as critical bugs, please add here and I will track them. The release timeline will simply be upon the completion of these items.

In MXNet 1.x supports building a single libmxnet.so and use it on both CPU or GPU machines. This is not possible in MXNet 2 due to making nvrtc a required dependency and https://github.com/apache/incubator-mxnet/issues/17858 This can be a blocking issue for users moving from MXNet 1 to MXNet 2.

Another item may be the issue of test coverage. For example, https://github.com/apache/incubator-mxnet/issues/19082 reports that multi-threaded inference test-cases are missing due to refactor, but the feature is still included in MXNet and should be tested before release.

Hi MXNet community,
Any timeline update for MXNet 2.0.0 ? Is the master branch stable ? Can we use it to test new features ?

Hi MXNet community,
Any timeline update for MXNet 2.0.0 ? Is the master branch stable ? Can we use it to test new features ?

@fallahmad I do think there is an eta... 😢

@fallahmad I do think there is an eta... 😢

@fallahmad you can use the master branch. We intend to vote on an alpha release soon.

@fallahmad you can use the master branch. We intend to vote on an alpha release soon.

@troyliu0105 @leezu Thank you guys

@troyliu0105 @leezu Thank you guys


Typo in esp_zb_zcl_raw_command_callbcak_t (TZ-257)

Ok, Thank you for informing me, I will change the esp_zb_zcl_raw_command_callbcak_t  to esp_zb_zcl_raw_command_callback_t .


Hexapod HTTP Webserver

[x] Start up apache server from the hexapod
[ ] #55

Completed with #54


[BUG] ModelEma doesn't update.

I am creating my our custom code for Deep learning model where a built my network from scratch using existing state-of-the-art tools. Every thing works just fine except that ModelEma doesn't update during training/validation of the network.
After successfully call the model I used:
        model_ema = ModelEma(             model,             decay=args.model_ema_decay,             device='cpu' if args.model_ema_force_cpu else '',             resume='')
Then at the end of the training loop:
model_ema.update(model)
Expected behavior
When using one of timm models my code is working fine. and the EMA model is working as expected, however, when using my results are very poor for EMA model, as it's not updated at all.

@opencomvis not sure what you mean by 'at the end', but the ema needs to be updated every step as per the train.py, there can be a significant lag before the ema weights are any good, based on # steps of training vs the ema smoothing const, you need to adjust to something suitable. Also, this doesn't work well if ema weights are float16 or bfloat16. Other than that, it's working fine. Could be improved in performance #1553 but I haven't had a chance to fully test that.


Bug#632922 - revisited?

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like that [x])
Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2016.07.02. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

[X] I've verified and I assure that I'm running youtube-dl 2016.07.02

Before submitting an issue make sure you have:

[X ] At least skimmed through README and most notably FAQ and BUGS sections
[ X] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[X] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add -v flag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
$ youtube-dl -v sudo sudo youtube-dl -v --audio-format mp3 https://youtu.be/-_65t46eYJQ
[debug] System config: [u'--extract-audio', u'--audio-format=mp3']
[debug] User config: []
[debug] Command-line args: [u'-v', u'--audio-format', u'mp3', u'https://youtu.be/-_65t46eYJQ']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.07.02
[debug] Python version 2.7.3 - Linux-3.2.0-4-686-pae-i686-with-debian-7.11
[debug] exe versions: avconv 0.8.17-6, avprobe 0.8.17-6, ffmpeg N-79008-g15ef98a, ffprobe N-79008-g15ef98a
[debug] Proxy map: {}
[youtube] -_65t46eYJQ: Downloading webpage
[youtube] -_65t46eYJQ: Downloading video info webpage
[youtube] -_65t46eYJQ: Extracting video information
[youtube] -_65t46eYJQ: Downloading MPD manifest
[debug] Invoking downloader on u'https://r5---sn-qxo7sn7k.googlevideo.com/videoplayback?id=fbfeb9b78e9e6094&itag=251&source=youtube&requiressl=yes&initcwndbps=417500&mn=sn-qxo7sn7k&mm=31&ms=au&mv=m&gcr=us&nh=IgpwcjAxLmRlbjAyKgkxMjcuMC4wLjE&pl=17&ratebypass=yes&mime=audio/webm&gir=yes&clen=3928424&lmt=1449654476667643&dur=243.081&signature=626089B095D4FE58CEF8E45B23958A090B9E416A.945B05B4946288105FAFBE2C5815B92F9CC12168&sver=3&upn=reJ9GyaagHY&key=dg_yt0&mt=1467477098&fexp=9405348,9416126,9416891,9419451,9422596,9425184,9428398,9429608,9429742,9431012,9433096,9433221,9433782,9433946,9435526,9435693,9435876,9437066,9437552,9437681,9437742,9437919,9438557,9438784,9438870,9439415,9439652,9440266,9440376&ip=<IP_ADDRESS>&ipbits=0&expire=1467499209&sparams=ip,ipbits,expire,id,itag,source,requiressl,initcwndbps,mn,mm,ms,mv,gcr,nh,pl,ratebypass,mime,gir,clen,lmt,dur'
[download] Destination: Tritonal & Paris Blohm ft. Sterling Fox - Colors (Official Music Video)--_65t46eYJQ.webm
[download] 100% of 3.75MiB in 00:02
[debug] avconv command line: avprobe -show_streams 'file:Tritonal & Paris Blohm ft. Sterling Fox - Colors (Official Music Video)--_65t46eYJQ.webm'
ERROR: WARNING: unable to obtain file audio codec with ffprobe
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1786, in post_process
    files_to_delete, info = pp.run(info)
  File "/usr/local/bin/youtube-dl/youtube_dl/postprocessor/ffmpeg.py", line 232, in run
    raise PostProcessingError('WARNING: unable to obtain file audio codec with ffprobe')
PostProcessingError
...
<end of log>

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Single video: https://youtu.be/-_65t46eYJQ

This video has a "-" in front of the title, may be causing the reason why the ffprobe has an error

Description of your issue, suggested solution and other information
I think this is a problem seen 5 years ago where a '-' character of a given youtube link title fails, to extract the audio from youtube-dl witnessing the same symptoms on the 2016.07.02 version
Related thread:
http://linux.debian.bugs.dist.narkive.com/hDAF5aGe/bug-632922-fails-to-extract-audio-from-file-whose-name-begins-with-hyphen
Environment running on:
/etc/*release
PRETTY_NAME="Debian GNU/Linux 7 (wheezy)"
NAME="Debian GNU/Linux"
VERSION_ID="7"
VERSION="7 (wheezy)"
ID=debian
ANSI_COLOR="1;31"
HOME_URL="http://www.debian.org/"
SUPPORT_URL="http://www.debian.org/support/"
BUG_REPORT_URL="http://bugs.debian.org/"

It has nothing to do with leading -. Update to avconv 11 or use --prefer-ffmpeg.

It has nothing to do with leading -. Update to avconv 11 or use --prefer-ffmpeg.


Amazon S3 CORS

Hi!
I'm having an error using this library with Amazon S3. If I want to use the directive with an url from Amazon S3 it gives me this error :
Image from origin 'https://MY_S3_BUCKET.s3.amazonaws.com' has been blocked from loading by Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8000' is therefore not allowed access.
In this bucket, I've allowed CORS for everything and it still doesn't work.
Anyone ever had this problem ? Thank you!

Amazon is the origin, so the request header should be allowed there not on your localhost

@rickerd Do you have any example? Does the CORS need to be enable server side? Or I need to do some setup in my Angularjs app?
Thank you again!

Is this because the library is using Canvas and this is the problem?

You can access to your image via web browser url?

Closing since the issue is not in the library.
Please see Gitter to get a helping hand.

I'm having the same issue with an amazon S3 bucket as well.
When I try to access the image on an incognito chrome window the image is loading properly.
So I assume the error is from the library.

Are you sure that the headers are correct?
Loading An image trough a browser or in the cropper is different.

Hi @rickerd , which headers are you talking about?
Here is a sample of my code:
<img-crop image="fileInfo.url" result-image="myCroppedImage"></img-crop>

fileInfo.url is a amazon s3 url that looks something like this:
https://s3-ap-southeast-2.amazonaws.com/myhost.com/foo/bar/58131/1474440992/original/my_pic.jpg?1474440992
This is loading fine in a browser window.

This plugin is performing a "getImageData" javascript call. I did my homework and from what I understand, by default, that call doesn't allow CORS because it could potentially be used to show images from the hard-drive of the users. That is why if the resource headers don't explicitly allow CORS that error will be thrown. In my scenario, the resource is loaded from our amazon S3 server, so I've reconfigured the header of amazon S3 to explicitly allow CORS and now it is working like a charm.
Here is the most relevant stackoverflow I could find: http://stackoverflow.com/questions/4672643/html5-canvas-getimagedata-and-same-origin-policy
Here is the config I've pushed to my amazon S3 server:
<CORSConfiguration>
<CORSRule>
<AllowedOrigin>*</AllowedOrigin>
<AllowedMethod>GET</AllowedMethod>
</CORSRule>
</CORSConfiguration>

see: http://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html#how-do-i-enable-cors


test PURECLIP peak calling

Determine difference in v1 and v2 of the pipeline using PURECLIP peak calling tool.

Completed testing with PureClip
Run info
General notes:

no replicates
dedup'ed bam is taken right after rule: dedup of the v2.0 iCLIP pipeline
PureClip command:
full code listed here: run_pureclip

local pc_cmd="$pureclip_dir \
-i $merged_bam \
-bai ${merged_bam}.bai \
-g $clean_reference \
-ld -nt 8 \
-o ${output_dir}/${sample_id}_${v_id}_sites.bed \
-or ${output_dir}/${sample_id}_${v_id}_regions.bed"

Results
Ran with bedtools
bedtools jaccard -a $v1_sorted -b $v2_sorted > ${output_dir}/comparisons/${sample_id}_inboth.txt

Comparisons were as follows

Control_Clip_notinV1.txt: 3807 (out of 3822)
Control_Clip_notinV2.txt: 934 (out of 949)
Ro_Clip_notinV1.txt: 3146 (out of 3178)
Ro_Clip_notinV2.txt: 781 (out of 813)

Interpretation / Next steps
The results varied significantly from our current peakcalling method, with very few overlaps (<5%) overall. Given the satisfaction of the current peak calling method significant testing would need to be performed in order to justify this conversion. Seeing there has been no concern with current method, there isn't a justification to perform this change.
Closing this issue for now, and will potentially return to it at a later date.


Enhancing recommendations by classifications

I was thinking of enhancing the way recommendations are generated, right now recommendations are generated based on the description and their location that is not a correct measure of how close two memes/images are in terms of similarity to be recommended.
I suggest image classification as a solution.
Example

Taking up tags from this type of API can help us store them in the description json of the memes and these tags can be used for calculating the matchScore in recommendation.py
Another way is generating these classifications locally using the tensorflow or similar tools/frameworks with pre-trained models. This will eliminate online dependency.
Please share your approaches and thoughts to solve this problem.

I have added the classification API into utilities service. It returns tags for the passed image. If someone is interested then he/she can make changes to recommendation service to incorporate the classification score for Image match.

@srivkrnt claiming this issue .

@teeniv001 I suggest you to replace the score that was computed using the path of meme with the image tag similarity score.


Create Dockerfile

I will be using Node.js for building my static files to be used by the webserver. This is because I plan on using webpack, Babel, and React.
This Dockerfile is setup as a multi-stage build. First it builds the web server (please check that the commands actually make sense), and then the static assets. Both builds are then copied into an Alpine image so that the final image is small and only contains the compiled/built resources.
The Node build uses pnpm because that is what I'll be using, and I want the build to be able to recognize pnpm's yaml files. I placed the install of this package before copying in the source code to help with layer caching.

Just realized I should separate the pnpm install and build, again for caching if no new packages have been. I'll do that soon.

The Go build does not currently work, but the Node section should.


Control: Network speed shows nvme ssd

Please fetch the last pr, let me know if the problem still persists, but I fixed it in #675 with a new command that @domioiRL created for this bug.


Visualize results

Hi,
I tried to run python visualize_results.py to generate the synth-text images; However it doesn't save any images in the results folder though there's no error. I checked a similar issue (#109) raised before, but matplotlib seems work fine on my side. Can someone please tell me what the issue could be? Thank you!

If the samples have not already been generated, please do that first by running this.

Thank you for the answer. I did run the gen.py first and stored the samples as SynthText.h5. Then I wanted to visualize the results, so I python visualize_results.py. But no images were saved.

Thank you for the answer. I did run the gen.py first and stored the samples as SynthText.h5. Then I wanted to visualize the results, so I python visualize_results.py. But no images were saved.

I have encountered the same problem, how did you solve it?


Custom variables & improved action editor

Changes

New tools to create custom variables for connections
Custom variables can be switch by using connection profiles
Variables now show up in the Actions window when maintaining an Action

Depends on #332.
Checklist

[x] have tested my change
[ ] updated relevant documentation
[x] Remove any/all console.logs I added
[x] eslint is not complaining
[ ] have added myself to the contributors' list in the README
[ ] for feature PRs: PR only includes one feature enhancement.

A thought: Might I suggest that &OPENLIBL could be too easily construed to be something to do with the Library List?  You know, DSPLIBL, ADDLIBLE, whatever. And &OPENSPFL something to do with spool files. WRKSPLF, DLTSPLF, etc.
How about making them  &OPENLIBLC and &OPENSPFLC?   And &OPENMBRLC, &EXTLC for consistency.
Or perhaps  for maximum clarity, &OPENLIB_LC, &OPENSPF_LC, &OPENMBR_LC, &EXT_LC
@worksofliam

@SJLennon

Or perhaps for maximum clarity, &OPENLIB_LC, &OPENSPF_LC, &OPENMBR_LC, &EXT_LC

I like this idea a lot. It'd be unlikely I'd be able to remove support for &OPENLIBL since many are using it already, but we could just add &OPENLIB_LC and change all the docs to make sure use that.


Project to build a quiz doesn’t teach method attribute

Describe the Issue
Step 14 of the “Learn Accessibility by Building a Quiz” project asks people to “ make the form submit to https://freecodecamp.org/practice-project/accessibility-quiz, using the correct method”
And when they try what they learned so far (adding the action attribute) they are unable to pass and instructed via hints that they needed a method attribute set to post value.
this method attribute and post value were never introduced in earlier projects (as far as I can tell) and no information is given as to why they are needed here.
Affected Page
https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-accessibility-by-building-a-quiz/step-14
Your code

Expected behavior
We need a separate step to explain the method attribute. It seems like an important topic. I am not sure why it was not introduced in the earlier quiz form project.
Screenshots
No response
System
N/A
Additional context
https://forum.freecodecamp.org/t/form-submission-needs-method-attribute/561994?u=hbar1st

Again, we need to be careful with the way we are constantly updating these projects. We need to keep in mind the actual learning outcomes for the projects; this one aims to teach accessibility. So, this is not the project to teach about the method attribute.
If we change anything here, it might make more sense to add a lesson to the Registration Form project

The registration form is where it makes sense to me to add an explanation about this. That form doesn't have a method attribute so it uses get by default. The form includes sensitive information, so it fits nicely to add a step adding a post method there. I would be fine adding a help wanted label to do that - or we can work out more details if we want here first.

It should be quite simple to add one/two lesson/s in the registration-form project. So, I am happy opening this up for help.
Goal

Add one (two if needed) lessons to the learn-html-forms-by-building-a-registration-form project
This lesson should teach about the method attribute
The goal should be to add method="post"

An issue with the https://github.com/freeCodeCamp/freeCodeCamp/labels/help wanted label is open for contribution. The first comprehensive PR created will be reviewed and merged. We typically do not assign issues to anyone other than long-time contributors.
If you would like to contribute, and have not read the contributors docs, please do so here: https://contribute.freecodecamp.org/#/
If you have any issues with contributing, be sure to join us on the contributors channel, or on the contributors sub-forum

Hello sir, Can u assign this issuet to me?

@ShaunSHamilton I have raised the PR for the fix. Kindly review.


Streaming  custom filename

Can i customize filename when using response.stream? Now, it depends on url. But my route is immutable.

Do you mean, you want to stream a file in response to a http request?
Is the file you are streaming based on the URL of the request?
Does the static files helper work for you in this circumstance?
https://github.com/channelcat/sanic/blob/master/docs/sanic/static_files.md
It has an option to stream the requested files using a streaming response.

example,my route is "/download/orders". now when i  download file, the file'name is oders.
but i want customize filename,rather than based on the URL.

Forgive me for lacking context, but would something like Content-Disposition: attachment; filename="filename.jpg" suffice?
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Disposition

I just recently came back to this question, and I now understand what you are asking, I apologies, I didn't quite get what you were asking last time I visited.
No, it is not possible to customize the filename of a streaming file, however it should be possible. It is a great feature request, and will be relatively simple to implement.
If you feel up to it, feel free to open a PR with an implementation of this feature.

Closed with #967


[Placeholder] Why is my query slow?

Background: https://airtable.com/tblD3oZPLJgGhCmch/viw1DKmbKhg2MIECH/reclSHlfXnCOICCV1
Description:
Team: Piyush Singh
Github Tracking Issue:

Moved to 20.2. Closing for now.


How to train on multi nodes

Hi, I'm trying to use your project for multi-node training but it seems configured only for single-node. Can you provide guidance or an update to support multi-node setups?

@slchenchn
Take the training on 2x8 GPU as an example:
torch dist:

Note: $NODE_0_ADDR means the ip address of the node_0 machine.

# excuete on node 0
NPROC_PER_NODE=8 NNODES=2 PORT=29600 ADDR=$NODE_0_ADDR NODE_RANK=0 xtuner train $CONFIG --deepspeed $DS_CONFIG

# excuete on node 1
NPROC_PER_NODE=8 NNODES=2 PORT=29600 ADDR=$NODE_0_ADDR NODE_RANK=1 xtuner train $CONFIG --deepspeed $DS_CONFIG

slurm:
srun -p $PARTITION --nodes=2 --gres=gpu:8 --ntasks-per-node=8 xtuner train $CONFIG --deepspeed $DS_CONFIG --launcher slurm