Getting error /build/backend/pkg/database/scheduler.go:58 record not found

What happened:
I encountered an issue while trying to install kubeclarity on an EKS (Elastic Kubernetes Service) cluster using the provided Helm chart. The error occurs when checking the logs of the pod, and it results in a "webpage not found" message when attempting to access the application.
Error:
/build/backend/pkg/database/scheduler.go:58 record not found
Anything else we need to know?:
My helm values.yaml file:
kubeclarity:
  resources:
    limits:
      memory: "500Mi"
      cpu: "200m"
    requests:
      memory: "200Mi"
      cpu: "100m"

  podAnnotations:
    co.elastic.logs/enabled: "true"

# Be careful when using ingress. As there is no authentication on Kubeclarity yet, your instance may be accessible.
# Make sure the ingress remains internal if you decide to enable it.
  ingress:
    enabled: true
    labels: {}
    annotations:
      kubernetes.io/ingress.class: alb
      alb.ingress.kubernetes.io/group.name: ingress
      alb.ingress.kubernetes.io/load-balancer-name: kubeclarity
      alb.ingress.kubernetes.io/target-type: ip
      alb.ingress.kubernetes.io/scheme: internal
      alb.ingress.kubernetes.io/listen-ports: '[{"HTTP": 80}]'

    hosts:
      - host: kubeclarity.clouddrove.ca
        paths: []
    tls: []

Also tried using external database.

@AshutoshAM2002 thanks for the report.
Can you describe and add some screenshots for the web server logic process? (port forwarding command, URL in the browser)
I'm not sure that the error that you've attached is related to a webpage not found message.

I have used the default chart with the above override-values.yaml
the chart is creating the following resources on my AWS EKS cluster-
PVC of PostgreSQL
kubeclarity pod (webserver)
kubeclarity-grype-server
kubeclarity-postgresql pod
kubeclarity-sbom-db pod
Logs of each pod is given below -
'''
kubeclarity (webserver)
Defaulted container "kubeclarity" out of: kubeclarity, kubeclarity-kubeclarity-wait-for-pg-db (init), kubeclarity-kubeclarity-wait-for-sbom-db (init), kubeclarity-kubeclarity-wait-for-grype-server (init)
2023/07/20 15:49:37 /build/backend/pkg/database/scheduler.go:58 record not found
[82.992ms] [rows:0] SELECT * FROM "scheduler" ORDER BY "scheduler®."id" LIMIT 1
2 10 po 1/20 15:49:37 Serving kube clarity runtime scan a p is at http://[::]:8888
2 °7%./20 15:49:37 Serving kube clarity a p is at http://[::]:8080
kubeclarity-grype-server
2023/07/20 15:49:29 Serving grype server at http://[
kubeclarity-postgresql
postgresql 15:49:16.72
postgresql Welcome to the Bitnami postgresql container
postgresql 15:49:16.72 Subscribe to project updates by watching http:
postgresql 15:49:16.72 Submit issues and feature requests at https:
postgresql 15:49:16.73
postgresql 15:49:16.74 INFO ==> ** Starting PostgreSQL setup **
postgresql INFO ==> Validating settings in POSTGRESQL * env vars..
postgresql 15:49:16.77 INFO ==> Loading custom pre-init scripts.
postgresql 15:49:16.78 INFO ==> Initializing PostgresqL database
postgresql 15:49:16.80 INFO ==> pg_hba.conf file not detected. Generating it...
postgresql 15:49:16.80 INFO ==> Generating local authentication configuration
postgresql 15:49:17.93 INFO ==> Starting PostgreSQL in background...
postgresql 15:49:18.14 INFO ==> Changing password of postgres
postgresql 15:49:18.19 INFO ==> Configuring replication parameters
postgresql INFO ==> Configuring synchronous replication
postgresql 15:49:18.27 INFO ==> Configuring fsync
postgresql 15:49:18.3 INFO ==> Stopping PostgresQL...
waiting for server to shut down.... done
server stopped
postgresql 15:49:18.48 INFO ==> Loading custom scripts
postgresql 15:49:18.49 INFO ==> Enabling remote connections
postgresql 15:49:18.51 INFO ==> ** PostgresQL setup finished! **
/github.com/bitnami/containers
/github.com/bitnami/containers/issues
postgresql 15:49:18.53 INFO ==> ** Starting PostgreSQL **
2023-07-20 15:49:18.554 GMT [1] LOG: pgaudit extension initialized
2023-07-20 15:49:18.564 GMT starting PostgreSQL 14.6 on x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
2023-07-20 15:49:18.565 GMT listening on IPv4 address "<IP_ADDRESS>", port 5432
2023-07-20 GMT. listening on IPv6 address , port 5432
2023-07-20 15:49:18.582 GMT listening on Unix socket "/tmp/.s.PGSQL.5432"
2023-07-20 15:49:18.592 GMT database system was shut down at 2023-07-20 15:49:18 GMT
2023-07-20 15:49:18.601 GMT database system is ready to accept connections
'''
I'm assuming that because of this 2023/07/20 15:49:37 /build/backend/pkg/database/scheduler.go:58 record not found error line in kubeclarity webserver-pod I'm not able to access webpage on Browser

@AshutoshAM2002 can you share the port forwarding command and the URL in the browser to tried? screenshot will also help.
The record not found shouldn't be related.

thanks @AshutoshAM2002
setting up port: 80 and targetPort:8080 works for me and I'm able to access kubeclarity webpage via Load Balancer's DNS.

@AshutoshAM2002 We can do it, you can also open a PR and we will approve it, but TBH not sure how it "solved" the issue?

Based on this documentation:
https://techblog.cisco.com/blog/kubeclarity-installation-on-aws-eks
I have configured a load balancer using the service:
#values.yaml
  service:
    type: LoadBalancer
    annotations:
      service.beta.kubernetes.io/aws-load-balancer-scheme: "internet-facing"
      service.beta.kubernetes.io/aws-load-balancer-name: "kubeclarity"

when you insert: 8080 in DNS means that your service is listening on port 8080
but port 80 is used when you don't insert any port in DNS,
as per this block:
#template/service.yaml
kubeclarity:
  service:
    type: ClusterIP
    port: 80
    targetPort: 8080
    annotations: {}

the port is set to 80 which is the default port for any DNS,
But when you set port: 8080, you should specify DNS:8080 as well.

@FrimIdan I have made the changes in the /charts/kubeclarity/templates/service.yaml file in the new branch but cannot able to push the code getting "remote: Permission to openclarity/kubeclarity.git denied to AshutoshAM2002".

Can you make the following changes to make the port dynamic:
spec:
  type: {{ .Values.kubeclarity.service.type }}
  ports:
    - name: backend
      port: {{ .Values.kubeclarity.service.port }}
      protocol: TCP
      targetPort: {{ .Values.kubeclarity.service.targetPort }}

or give me permission to create and push in the new branch?

@FrimIdan I have made the below changes in template/service.yaml

Please review and approve the PR.


Opening a terminal is blank

Issue Type: Bug
When opening a terminal through VS Code initially the terminal is completely blank. It does work however, but first render looks incorrect.
On first opening the terminal:

Pressing enter a few times:

VS Code version: Code - Insiders 1.33.0-insider (4039ea871879ef8f654f27df5c32d209104b3a44, 2019-03-29T10:53:36.965Z)
OS version: Windows_NT x64 10.0.17763

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz (12 x 2208)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: enabledsurface_synchronization: enabled_onvideo_decode: enabledwebgl: enabledwebgl2: enabled

Memory (System)
15.74GB (5.07GB free)

Process Argv

Screen Reader
no

VM
67%

Extensions: none

This is a bug in Windows 10 1809, unfortunately we have no way to work around the issue so you will need to wait until you get the next version of Windows 10 (1903).
/duplicate https://github.com/Microsoft/vscode/issues/57803


Issue with references for BWA alignment

There seems to be a missing reference file when aligning with BWA. There is no file /mnt/beegfs/scratch/Lg_PANUNZI/Konstantin/gatk/human_g1k_v37.fasta.bwt.2bit.64 in this directory. Does it need to be indexed again @jinxin-wang , or is it somewhere else?
rule bwa_map:
    input: DNA_samples_clean/V100_1.fastq.gz, DNA_samples_clean/V100_2.fastq.gz
    output: bam/V100.bam
    log: logs/bam/V100.bam.log
    jobid: 0
    wildcards: sample=V100
    threads: 32
    resources: mem_mb=102400

Looking to launch executable "/mnt/beegfs/software/bwa/2.2.1/bin/bwa-mem2.avx2", simd = .avx2
Launching executable "/mnt/beegfs/software/bwa/2.2.1/bin/bwa-mem2.avx2"
-----------------------------
Executing in AVX2 mode!!
-----------------------------
* SA compression enabled with xfactor: 8
* Ref file: /mnt/beegfs/scratch/Lg_PANUNZI/Konstantin/gatk/human_g1k_v37.fasta
* Entering FMI_search
ERROR! Unable to open the file: /mnt/beegfs/scratch/Lg_PANUNZI/Konstantin/gatk/human_g1k_v37.fasta.bwt.2bit.64
[Tue Jun  6 20:28:53 2023]
Error in rule bwa_map:
    jobid: 0
    output: bam/V100.bam
    log: logs/bam/V100.bam.log (check log file(s) for error message)
    shell:
        /mnt/beegfs/software/bwa/2.2.1/bin/bwa-mem2 mem -M -R "@RG\tID:bwa\tSM:V100\tPL:ILLUMINA\tLB:truseq" -t 32 /mnt/beegfs/scratch/Lg_PANUNZI/Konstantin/gatk/human_g1k_v37.fasta DNA_samples_clean/V100_1.fastq.gz DNA_samples_clean/V100_2.fastq.gz | ~/.conda/envs/pipeline_GATK_2.1.4_V2/bin/samtools view -bS - | ~/.conda/envs/pipeline_GATK_2.1.4_V2/bin/samtools sort -@ 32 - -o bam/V100.bam 2> logs/bam/V100.bam.log
        (one of the commands exited with non-zero exit code; note that snakemake uses bash strict mode!)

Hello Jomar, @jsangalang
The error message is :
ERROR! Unable to open the file: /mnt/beegfs/scratch/Lg_PANUNZI/Konstantin/gatk/human_g1k_v37.fasta.bwt.2bit.64
Could you check if the genome reference is still accessible

Hi Jinxin @jinxin-wang,
Yes, exactly. The reference human_g1k_v37.fasta is accessible in the directory, but the index human_g1k_v37.fasta.bwt.2bit.64 is not there.

I see, could you help to rebuild the index, plz? Thanks a lot

Yes, I've indexed it in my scratch, but I don't have writing permissions in the folder where the reference is located.
Could you copy into the directory?
The re-indexed files are here: /mnt/beegfs/scratch/j_sangalang/WES_results/ref/

Okay, it has been copied.

Thank you!
Could you also copy human_g1k_v37.fasta.0123 into the directory? It is also needed for BWA. Thank you!

okay, it is done

Great, thank you!

I think an even more permanent solution is to move the genome references to /mnt/beegfs/database/bioinfo/

You are right. I will check if I can move them to the database directory

continue with #24


The Back button will not ignore images that should not be in the current round.

If you cull a picture in the first round, it will be ignored when sorting in the second round (as it should). But when hitting the back button, it will not be ignored.

This is probably going to require setting "culled" images as a 3rd value in the Data[] arrays in AllData{}. The current system copies the Data[] array of the parent (Donkey's Data[] is a copy of Domestic Animal Data[]) and then simply ignores anything that was already set to "no" (by filling the value with zero). This is not tenable with the Undo system


⚠ ClamAV has degraded performance

In db852da, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 75 ms

Resolved: ClamAV performance has improved in 00e6a64 after 5 minutes.


Roadmap

This issue will become the Roadmap for the AutSPACEs platform development.
Creating this roadmap resolves (#33)[https://github.com/alan-turing-institute/AutSPACEs/issues/33]
The Roadmap will also be added to the repository as a markdown doc.
High level milestones:
create MVP prototype based on spec doc
make MVP functional with open humans
Create pathways for different user types (e.g. moderators)
User testing (in multiple cycles)
Integrate basic features with Open Humans
Build moderation process
Interface design
Add additional features desired by community
Accessibility checks
Create functional platform (more advanced than MVP)
Deployment
Launch

Ideas or Questions to the AutSPACEs Repo

Creating a Miro board to get a more interactive answers regarding the development from the community.

Making module blocks and labelling them as beginner, intermediate and advance.

Is it okay to do User testing only on the Landing Page and the experiences page?

The Turing Way has a chapter on Roadmapping: https://the-turing-way.netlify.app/collaboration/github/github-roadmapping.html

@GeorgiaHCA also, do we need a Static roadmap or a dynamic one? I was thinking to use few roadmap tools online. What do you feel about that? 😄

Hiya, I think there's a lot of detail needed here, but some ideas for roadmap milestones relating to launching the platform (not necessarily ordered).

create MVP prototype based on spec doc
Create pathways for different user types (e.g. moderators)
User testing (in multiple cycles)
Integrate basic features with Open Humans
Build moderation process
Interface design
Add additional features desired by community
Accessibility checks
Create functional platform
Deployment
Launch

Heya! Here's a rough sketch of what it seems like some of the main milestones are for the platform build, but obvs I don't have so much tech background @sowmya9507, @BrainonSilicon, @jhlink, @Islast - then the idea would be to fill in the details after: so chunck it up into labels, and then have small, manageable issues for separate tasks (and all these would link to a broad roadmap)
What's most helpful to you to create the roadmap @lottycoupat?

@GeorgiaHCA This is really helpful to see! I think for me also would be the tasks that would be needed for each milestone and what the dependencies are for each. For example, what needs to be done before we can start the next task and what tasks could be done at the same time.
The idea suggested by @sowmya9507 above is also really helpful in terms of labelling these as Beginner/Intermediate/Advanced, so that those who want to be involved can see what they can pick up...
Does that sound do-able?

I do love that idea and also Kirstie's suggestion of giving time estimates.

I had a go at that for the project management repo: https://github.com/alan-turing-institute/AutisticaCitizenScience/issues/419 - We can credit @SuziQpid for her work and ideas for this.
I think there's likely to be some technical skills we could assume for working in the AutSPACEs repo so beginner is maybe a bit of a higher bar than in the other repo. It would need to be clear in some way, either by explaining directly or changing the issues slightly?

Potentially if those labels have already been created, we don't change their definition but only have intermediate/advanced in this repo? Avoid beginner labels as a beginner with no technical skills wouldn't be able to pick up the dev work? I think that would make it clear and avoid confusion...?
Or there is also a "tech-skills-req" label which we could use? If it's easier than intermediate?

Dear All,
Perhaps we could change beginner label to ‘entry or basic  tech skills’ ( BTS)  for simpler tasks than intermediate.
I don’t qualify for even that category and l think Lotty is right. We need to play to our strengths, avoid confusion whilst always being inclusive of everyone who wants to make a contribution big or small. A tall task of course.
Suzanne lwai

On 12 May 2021, at 15:09, lottycoupat @.***> wrote:

Potentially if those labels have already been created, we don't change their definition but only have intermediate/advanced in this repo? Avoid beginner labels as a beginner with no technical skills wouldn't be able to pick up the dev work? I think that would make it clear and avoid confusion...?
Or there is also a "tech-skills-req" label which we could use? If it's easier than intermediate?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

@SuziQpid Thanks Suzanne! Potentially we change the tech-skills-req to "Basic Tech Skills" so that we still have the beginner one for other tasks?
@GeorgiaHCA we can make this clear in a contributor skills doc?

Jumping in because my life revolves around Github. :D
Why not use the Good First Task label for beginner level tasks?
The kind of tasks I expect/create with this label are adding some HTML elements, changing some text, or generally something that is commonly practiced/implemented and can be easily Google'd. If you can copy/pasta the code from somewhere else and it works here, it's a simple enough task, imo.

So for platform development we would have Good first task --> Intermediate --> Advanced - if so, I like that!! @jhlink

Good first task is geared towards people who are contributing for the first time to GitHub and it is a label which functions across repositories so seems a good one to have!

I also like @sowmya9507's idea of having a flow chart (/decision tree?) to help people work out which issues they can do, although I expect that could be a lot of work!

@GeorgiaHCA @sowmya9507 I am working on some contributing skills with involve setting out the different areas of the project, what skills they need for it and how to get involved. For the how to get involved, I have what labels they should look out for in the repo. Which sounds familiar. Perhaps once that's completed we can see the need to map out into a visualisation/decision tree and balance capacities and other work?

Yep, makes sense @lottycoupat :)

Dear All,
A little triggered by the word Good attached to any task !   I recognise though that if that’s a commonly used term across Git hub ld have to bow to the majority of users.
I can’t visualise a decision tree though the concept sounds great. Do you attach your name to a branch of it that describes the type of work / features that are being discussed.
Suzanne lwai

On 12 May 2021, at 16:41, lottycoupat @.***> wrote:

@GeorgiaHCA @sowmya9507 I am working on some contributing skills with involve setting out the different areas of the project, what skills they need for it and how to get involved. For the how to get involved, I have what labels they should look out for in the repo. Which sounds familiar. Perhaps once that's completed we can see the need to map out into a visualisation/decision tree and balance capacities and other work?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

Thanks for joining the discussion @SuziQpid ! And for taking on GitHub!

A decision tree is a flow chart you use to understand what things are included when making a decision. Here's a simple example:

I think "good first issue" is meant to say whether the issue is good or bad for new people, not whether the person working on the issue is bad, but I can see how that could be unclear! Making everything clear is a really important part of the onboarding process so thank you for pointing that out.

@lottycoupat - tagging you as we made some changes to the dev milestones (see top comment on issue)

Linking to our milestones page: https://github.com/alan-turing-institute/AutSPACEs/milestones

Heya! Here's a rough sketch of what it seems like some of the main milestones are for the platform build, but obvs I don't have so much tech background @sowmya9507, @BrainonSilicon, @jhlink, @Islast - then the idea would be to fill in the details after: so chunck it up into labels, and then have small, manageable issues for separate tasks (and all these would link to a broad roadmap)

I think a good roadmap has a brief description of what the projects goals are; a sequence of milestones that function as a kind of narrative of how we're going to reach those goals; and finally a note of any things that haven't been accounted for in any of our milestones. Once the milestones are laid out it's a lot easier to break them down into tasks.
I think we're in a good place with the milestones we have already. I really like that we're commenting next to the milestones to say what our status is on each of these too. If we clean it up a little bit I think it's ready to be added to the repo as a markdown file.

@sowmya9507 , @lottycoupat and @anoura12 - here's the roadmap we were working on. It needs to be a in a structured md which links to the milestones and issues


PR testing on Swift 5.2

CC @tomerd we need 5.2 testing here as well.

this is done. Thanks @tomerd


API level 19 not supported

You have wrong information about your supported API levels. API level 19 does not work and crashes during runtime cause you're using the "android:tint" attribute for example in "breadcrumbs_view_item_arrow.xml".

Fix:

Delete "android:src" and "android:tint" from breadcrumbs_view_item_arrow.xml

Use DrawableCompat to wrap the drawable and set the tint:

			Drawable image = DrawableCompat.wrap(ResourcesCompat.getDrawable(getContext().getResources(), R.drawable.ic_chevron_right_black_24dp, null)); 			DrawableCompat.setTint(image, ResourcesCompat.getColor(getContext().getResources(), R.color.text, null));


I have the Error when run any code!

Hi.
my code is:
void main(){
  print('hello');
}

Window 10
Dart SDK 3.2.2
IPython          : 8.18.1
ipykernel        : 6.27.1
ipywidgets       : not installed
jupyter_client   : 8.6.0
jupyter_core     : 5.5.0
jupyter_server   : 2.12.1
jupyterlab       : 4.0.9
my error:
'evalue': 'error',
'output_type': 'error',
'status': 'error',
'traceback': ['Could not find a subcommand named "get;" for "dart pub".',
'',
'Did you mean one of these?',
'  get',
'',
'',
'Usage: dart pub [arguments...]',
'-h, --help               Print this usage information.',
'-v, --verbose            Print detailed logging.',
'    --[no-]color         Use colors in terminal output.',
'                         Defaults to color when connected to '
'a t...',
'                         no-color otherwise.',
'-C, --directory=    Run the subcommand in the '
'directory<dir...',
'                         (defaults to ".")',
'',
'Available subcommands:',
'...16 items truncated...']}

@ali-1989 @AnatoliyAksenov
i think this got introduced in this PR: https://github.com/vickumar1981/jupyter-dart-kernel/pull/12
i went ahead and reverted it for now.
@ali-1989  can you pull the latest from master and let me know if this works for you now?
sorry for the delayed response.  work :(.

will leave the issue open until it's confirmed/fixed.

Hi. again. Thanks for reply. I test it and take response.

@ali-1989 Hi
Can you please check if you can do this throw the console?
https://dart.dev/tools/pub/cmd/pub-get

ok. My problem solved after new clone. Thanks.


Fan mode doesn't work anymore

After update fan mode doesn't work anymore. When I tap on the icon it say to me "service climate/set_hvac_mode] is missing".
From the midea app it works correctly

Home Assistant version: 2022.4.7
Midea msmart version:  1be6e86

Sorry It was my interface problem. No bug


chore(release): bump version number

Any updates on this ? I would like to have the regexp feature on byCssContainingText() :-)

Sorry for late, we are working on protractor debugging doc for using node8 native async/await and chrome inspector.
It will need one more day to update the doc in github.


Request for feedback on the python client

Hi there. I am the author of the openapi-generator python client which has now moved to https://github.com/openapi-json-schema-tools/openapi-json-schema-generator
Your repo uses this client.
I want to make sure that I understand what is important to the end users of the python client. If you have some time can you provide some feedback on what features you value in the generator, any pain points, and what you would like improved?
If you could provide your feedback here it would help with future improvements. Thank you!

It’s been a while since we’ve created that code and it was probably still using an older version of openapi-generator-cli.  I first have to take a look at the recent changes and then I’ll get back to your questions.

Sure thing. The migration guide is here https://github.com/openapi-json-schema-tools/openapi-json-schema-generator/blob/master/samples/openapi3/client/petstore/python/migration_2_0_0.md
and your experience with the older code can also be helpful if you want to share that too.

I tried the latest version and it doesn't work with our current api specification, see https://github.com/openapi-json-schema-tools/openapi-json-schema-generator/issues/237 .


Update StockFuelSwitch.netkan

Added homepage/forum thread link.

Not sure if I need to strip the comma in line 8, the example at https://github.com/KSP-CKAN/CKAN/blob/master/Spec.md#example-ckan-file shows a comma on the last line.

Yes the comma needs to go or the bot will complain

Unnecessary change


[FEATURE]:Added mail notification system

Issue solved #86
Setup for enabling feature
I have used MailTrap for mailing purposes. You will have to setup your mailtrap account(free trial available), in order to get your mail id and API access token. Once you get these required things, you have to update these details in .env file. Now you are ready to go!
Demo Video of feature working
https://github.com/user-attachments/assets/36857c59-c0b1-495a-8c14-2edf9872fcbf
JobSewa Contribution Checklist ✅
Before submitting a pull request, please ensure that you've followed the guidelines below. This will help expedite the review process. Please remember to follow the Code of Conduct.
Important: Starring the repo shows your support and will ensure your contributions are reviewed in a timely manner.

[x] I have starred and forked the JobSewa repo.
[x] I have carefully read the instructions for contributing to the project.
[x] I have created a new page or section and placed it inside the appropriate folder.
[x] My contributions align with the current project structure and conventions.
[x] I have included any necessary images in a dedicated folder within assets, ensuring they are compressed and under 500kb.
[x] All images are in .png format and have been directly uploaded—no external image links are used.
[x] I understand that the maintainers will review my pull request and provide feedback if necessary.
[x] I have assigned a reviewer to this pull request.

Thank you for your contribution to JobSewa! We’re excited to work with you.

Great work, @saumy-sh  I’ll set up the MailTrap account and add the API token to the .env file later. Thanks for the detailed instructions!

Once the feature works then can you merge the issue, as hacktoberfest deadline is tomorrow.

yes , Sure bro

What's the problem you are encountering? I think this issue can be solved.

Also the dark mode issue has already been assigned.

Just check if you have installed mailttap or not. If not then run command
npm install mailtrap

After setting your account in mailtrap you can go to sending domains section on the left side, and get your domain. Remember to select API, there you can see host and API token, these are the two details you need to put in .env file.
I am attaching a photo of my screen, how it looks like.

Do this and let me know if it works for you.

The code works, it's just that you have to setup mailtrap correctly. So you can merge the request for time being and we can work this out later, as hacktoberfest is about to end.

I’ve tried setting up everything with MailTrap, but the issue arises when adding the domain—I’m unable to complete that step. If you're still looking to contribute to Hacktoberfest from this project, I have an idea: you could add more NGOs to the organization page using the same card component—it’s a straightforward task that would be helpful!
As for dark mode, no one is actively working on it, even though it’s assigned. You could try implementing it if you're up for it. Let me know how you’d like to proceed!

Sure I can do the dark mode, can you assign it to me?

Yes, please go ahead and open an issue for it! Thank you for contributing!

I have opened the issue. Can you quickly assign it to me so that I can complete it fast?

I’ve assigned the issue to you! If you have any questions or need support with Hacktoberfest or contributions, feel free to reach out. Good luck, and thanks again for your work!

Do I have to delete previous fork to create new one for contribution?

No, you can continue working in the same fork for your contributions.

No, you can continue working in the same fork for your contributions.

Then notification change will also be there. Is it fine?

Yes, that's perfectly fine. The notification changes will still be there in your fork, and you can continue contributing with the same setup.

Okay, can you specify the file where I can add new organizations?

I've reviewed the new organizations you've added—great work! However, I can't merge this PR since merging it would also include the mail notification system, which currently has some issues on my end.
To create a new PR:

Create a New Branch: From your forked repository, create a new branch for the NGOs addition.
Copy the Changes: Copy the changes related to the NGO additions from your current branch to this new branch.
Commit and Push: Commit your changes and push the new branch to your fork.
Open a New PR: Go to the main repository, select "New Pull Request," and choose your new branch with only the NGO changes.

This will help keep each feature separated. Let me know if you need any help with this!

But when I am making new branch those changes are still showing. How can I remove notification changes and add NGOs change only. Please help as I haven't done this before

To separate the changes for NGOs from the notification feature, follow these steps:

Create a New Branch from the Main Repository's Latest Code:

Go to your forked repository on GitHub.
Switch to the main branch and make sure it’s up to date with the latest code from the main repository.
Create a new branch from this up-to-date main branch. You can name it something like add-ngos-only.

Copy Only the NGO Changes:

Open the file(s) where you made changes for the NGOs in the original branch.
Copy the relevant code or data for the NGOs addition.

Paste and Commit in the New Branch:

Go to your new branch add-ngos-only.
Paste in only the NGO changes, making sure no mail notification code is included.
Commit these changes with a descriptive message like "Added new NGOs".

Push and Create the New PR:

Push the add-ngos-only branch to your forked repository.
Go to the main repository, click on "New Pull Request," and select your new branch for the NGO changes.

Let me know if you need any further help with this process!


Hide arrow controls logic should work for one item in carousel

if there's only one item, it's still going to show the next arrow. Look at this logic:
https://github.com/mobify/scooch/blob/95613168b09f45e9b96d21346dee33eb8f17c533/src/scooch.js#L393
"If next slide is 1st slide, remove inactive class from next arrow"
That only works if there's more than 1 slide. I've pushed the branch back with logic that makes more sense to me: remove both inactive classes, then check if we should add the class based on the position afterward. Since JS is synchronous, the class isn't actually removed from the DOM if the next logic adds it back in.

Hey, we’re looking to prune older unattended PRs. If this PR is still relevant and you would like to see it merged in, please reopen the PR and we’ll add it to our backlog! Thanks!


** BUILD FAILED **

*** Fetching AlamofireObjectMapper
*** Fetching Alamofire
*** Fetching ObjectMapper
*** Checking out ObjectMapper at "1.0.1"
*** Checking out Alamofire at "3.1.4"
*** Checking out AlamofireObjectMapper at "2.1.0"
*** xcodebuild output can be found in /var/folders/gp/5xhpyxj54pvb185s6t67sp980000gp/T/carthage-xcodebuild.TEJVi6.log
*** Building scheme "Alamofire iOS" in Alamofire.xcworkspace
*** Building scheme "Alamofire OSX" in Alamofire.xcworkspace
*** Building scheme "Alamofire tvOS" in Alamofire.xcworkspace
*** Building scheme "Alamofire watchOS" in Alamofire.xcworkspace
*** Building scheme "ObjectMapper-Mac" in ObjectMapper.xcworkspace
*** Building scheme "ObjectMapper-watchOS" in ObjectMapper.xcworkspace
*** Building scheme "ObjectMapper-tvOS" in ObjectMapper.xcworkspace
*** Building scheme "ObjectMapper-iOS" in ObjectMapper.xcworkspace
*** Building scheme "AlamofireObjectMapper iOS" in AlamofireObjectMapper.xcworkspace
*** Building scheme "AlamofireObjectMapper watchOS" in AlamofireObjectMapper.xcworkspace
** BUILD FAILED **

The following build commands failed:
	CompileSwift normal armv7k /Users/paulomcnally/github/SelfieDescuentos/Carthage/Checkouts/AlamofireObjectMapper/AlamofireObjectMapper/AlamofireObjectMapper.swift
	CompileSwiftSources normal armv7k com.apple.xcode.tools.swift.compiler
(2 failures)
/Users/paulomcnally/github/SelfieDescuentos/Carthage/Checkouts/AlamofireObjectMapper/AlamofireObjectMapper/AlamofireObjectMapper.swift:31:8: error: module file's minimum deployment target is watchos2.1 v2.1: /Users/paulomcnally/Library/Developer/Xcode/DerivedData/AlamofireObjectMapper-ekvtjzjwgicbrdffunyfsynwdcib/Build/Products/Release-watchos/ObjectMapper.framework/Modules/ObjectMapper.swiftmodule/arm.swiftmodule
A shell task failed with exit code 65:
** BUILD FAILED **

The following build commands failed:
	CompileSwift normal armv7k /Users/paulomcnally/github/SelfieDescuentos/Carthage/Checkouts/AlamofireObjectMapper/AlamofireObjectMapper/AlamofireObjectMapper.swift
	CompileSwiftSources normal armv7k com.apple.xcode.tools.swift.compiler
(2 failures)

+1

This should be fixed in 2.1.1 which I just released


[1.3.2] Restrict chromium requests

Description
[Describe what this change achieves]
Issues Resolved
[List any issues this PR will resolve]
Check List

[ ] New functionality includes testing.

[ ] All tests pass, including unit test, integration test and doctest

[ ] New functionality has been documented.

[ ] New functionality has javadoc added
[ ] New functionality has user manual doc added

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #429 (c3f599b) into aos-<IP_ADDRESS> (5b7c1e9) will decrease coverage by 0.02%.
The diff coverage is 67.92%.

@@                Coverage Diff                @@
##             aos-<IP_ADDRESS>     #429      +/-   ##
=================================================
- Coverage          72.86%   72.83%   -0.03%
  Complexity           373      373
=================================================
  Files                 94       94
  Lines               3928     3968      +40
  Branches             609      617       +8
=================================================
+ Hits                2862     2890      +28
- Misses               891      903      +12
  Partials             175      175

Flag
Coverage Δ

dashboards-reports
77.06% <67.92%> (-0.16%)
:arrow_down:

reports-scheduler
68.90% <ø> (ø)

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

Impacted Files
Coverage Δ

...t_definition_details/report_definition_details.tsx
70.87% <0.00%> (ø)

.../components/main/report_details/report_details.tsx
73.73% <0.00%> (ø)

...r/routes/utils/visual_report/visualReportHelper.ts
80.37% <60.60%> (-8.38%)
:arrow_down:

...rt_definitions/report_settings/report_settings.tsx
81.14% <100.00%> (ø)

...ashboards-reports/server/routes/utils/constants.ts
100.00% <100.00%> (ø)

...ashboards-reports/server/utils/validationHelper.ts
92.00% <100.00%> (ø)

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


Show cost to replace dragon sacrifice.

I just screwed myself over by getting the dragon cookie right after getting radiant appetite and not keeping an eye on my cookies. So this seems like it'd be pretty useful in hindsight.

hmm, I'm not exactly getting what you want.  Right now, the game already tells you use will lose stuff.  What do you want the addon to show?  Can you give an example?

I mean something like "It will cost X cookies to repurchase the sacrificed buildings".

So, like for the last dragon upgrade, you want me to calculate how much to get +200 of every building again?  For example.

Exactly!

I guess I'll add as a misc stat


If an experience has two filter elements in different viewports, the filters are displayed twice

Description:
If an experience has two filter elements in different viewports, the filters are displayed twice
Steps to reproduce:
Create a category layout and add two filter elements. One is only visible in the mobile viewport, the other is only visible on the desktop. This means that both are never visible at the same time.
If you now set a filter, the set filter is displayed twice and can only be removed twice.

[public] Automated response: This issue is linked to the internal issue https://shopware.atlassian.net/browse/NEXT-37165.
[created from NEXT-37165, comment 486718]


Explicitly run bash on Linux so read is guaranteed to be used

Opening a new issue from the conversation started in #1.
Probably the least invasive fix would be to encapsulate the read call in bash -c "". (Just need to be careful when escaping that string.)

For those new to this issue: https://github.com/joeyespo/sublimetext-console-exec/issues/1#issuecomment-107127108
I have modified it to be usable on my environment (Lubuntu, TCSH).
Maybe we need someone else to test it.
https://github.com/joeyespo/sublimetext-console-exec/blob/768beaa6e9e131446e1d4cdff089baaadbc55eb9/console_exec.py

Nice! Perhaps open a PR? That way we can start a discussion around it and possibly clean it up.
For example, it looks like quote is actually deprecated in Python 2.7, moving to a new package in 3.3. I wonder what else we can use.
What if we just inlined it instead?
pause = [';', 'read', '-p', 'bash -c "read -p \"Press [Enter] to continue...\""']

There's no user input, so manual escaping with \" should be ok. What do you think?

Just tested this locally and it seemed to work. Looks like Popen already knows how to quote args that contain spaces like read -p "Press [Enter] to continue...".

quote() is deprecated from pipes in Python 2.7 but still exists at the bottom of [pipes.py]
(https://hg.python.org/cpython/file/2.7/Lib/pipes.py).
Another solution is to copy its source codes out from Python 3.
The source code is located at https://hg.python.org/cpython/file/3.5/Lib/shlex.py#l278.

but still exists at the bottom of pipes.py

This is true, however relying on deprecated or undocumented code like this usually leads to trouble later on. Copying and pasting isn't quite ideal either because now you're the one maintaining it.
In our case, Python won't be back-changing anything, so we could do something like:
try:
    from shlex import quote
except ImportError:
    from pipes import quote

Although I'd still rather see if we can simplify it all first.
I fixed the code in my comment a few min ago. Can you try out what's there now and see if that works for you?

In Python 3, pipes.quote() still works since pipes.py imports it from shlex.py.
See https://hg.python.org/cpython/file/3.3/Lib/pipes.py#l65.
So I think from pipes import quote is fine for both Python>=3.3 or not.

On my machine, the following works.
        else:
            console = unix_console or ['xterm', '-e']
            # if a cmd list runs quote(), it's safe to do join()
            cmd = [quote(x) for x in cmd]
            pause = [';', 'bash', '-c', '\'read -p "Press [Enter] to continue..."\'']
            cmd = console + [' '.join(cmd + pause)]

Oh, I see. I had xterm -e "{cmd}"; {pause}, when we actually need xterm -e "{cmd}; {pause}" (the pause part inside the -e string). And we're quoting cmd because otherwise a quote character would terminate the xterm argument.
Could it be simplified?
        else:
            console = unix_console or ['xterm', '-e']
            pause = '; bash -c "read -p \"Press [Enter] to continue...\""
            cmd = console + [quote(' '.join(cmd) + pause)]

I don't think each argument needs quoted, just the string as a whole. Or did I leave something out?

Also for reference, looks like cmd handles the /c argument quite differently:

If /C or /K is specified, then the remainder of the command line after
the switch is processed as a command line, where the following logic is
used to process quote (") characters:

If all of the following conditions are met, then quote characters
on the command line are preserved:

no /S switch
exactly two quote characters
no special characters between the two quote characters,
where special is one of: &<>()@^|
there are one or more whitespace characters between the
two quote characters
the string between the two quote characters is the name
of an executable file.

Otherwise, old behavior is to see if the first character is
a quote character and if so, strip the leading character and
remove the last quote character on the command line, preserving
any text after the last quote character.

There might be a bug on the Windows version too. I'll have to look into this more. Thanks for indirectly bringing that to my attention :-)

        else:
            console = unix_console or ['xterm', '-e']
            pause = '; bash -c "read -p \"Press [Enter] to continue...\""
            cmd = console + [quote(' '.join(cmd) + pause)]

In this case, cmd is not quoted.
Assumeing we have cmd = ["python3", "-u", "X``       ``Y.py"] which is passed from the .build-settings.
Now ' '.join(cmd) gives python3 -u X``       ``Y.py which is not what we want.
(Because X``       ``Y.py becomes X and Y.py).
Thus,I think that every element in cmd should be quoted.

Ah, gotcha. You're right. python -c "import sys;print sys.argv" "X  Y.py" => ['-c', 'X  Y.py'] I was thinking the X  Y.py case would come in quoted for some reason.
quote seems to not add quotes when you don't need them either, which is a good feature of it.
Thanks for taking the time to explain this.
PR looks good!


ELF file crashes binaryninja

I was bored this weekend and did a bit of fuzzing. The following ELF file crashes BinaryNinja when opened.
Test Build: 1.0.297
Crash file:
https://drive.google.com/open?id=0B9u4BZE06xNIRmU0d1Z4UlRLRGc
Console output:
terminate called after throwing an instance of 'BinaryNinjaCore::ReadException'
  what():  read out of bounds
fish: “./binaryninja” terminated by signal SIGABRT (Abort)

backtrace:
#0  0x00007ffff526f418 in __GI_raise (sig=sig@entry=0x6) at ../sysdeps/unix/sysv/linux/raise.c:54
#1  0x00007ffff527101a in __GI_abort () at abort.c:89
#2  0x00007ffff5bb184d in __gnu_cxx::__verbose_terminate_handler() ()
   from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#3  0x00007ffff5baf6b6 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4  0x00007ffff5baf701 in std::terminate() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#5  0x00007ffff5baf919 in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#6  0x00007ffff79cf635 in ?? () from /home/ekse/tools/BinaryNinja/binaryninja/libbinaryninjacore.so.1
#7  0x00007ffff79cf76d in ?? () from /home/ekse/tools/BinaryNinja/binaryninja/libbinaryninjacore.so.1
#8  0x00007ffff79c451d in ?? () from /home/ekse/tools/BinaryNinja/binaryninja/libbinaryninjacore.so.1
#9  0x00007ffff79d08ed in BNCreateBinaryViewOfType ()
   from /home/ekse/tools/BinaryNinja/binaryninja/libbinaryninjacore.so.1
#10 0x00000000004c2a73 in BinaryNinja::CoreBinaryViewType::Create(BinaryNinja::BinaryView*) ()
#11 0x000000000044eb50 in FileContext::getDataView(QString const&) ()
#12 0x000000000044f084 in FileContext::getBestType() ()
#13 0x000000000042ba97 in MainWindow::createTab(FileContext*, QString const&, bool) ()
#14 0x000000000043301b in MainWindow::openFilename(QString const&) ()
#15 0x0000000000433749 in MainWindow::open() ()

This is handled correctly in 1.0.307.

Yay! Thanks for the report. :-)


feat(trading): activity streaks, reward hoarder bonus and active rewards

Related issues 🔗
Closes #4532
Description ℹ

[x] activity streaks
[x] reward hoarder bonus
[x] active rewards

Demo 📺

Technical 👨🔧
Details of technical implementation that reviewers may need to be aware of, if applicable.

Initial testing: cc @JonRay15 and @MadalinaRaicu

Activity streak is rendered grey for me (I think only when i am at the max tier)

- I think Vesting should be changed to Vesting Rate

It's not very clear what tier I am in for the reward hoarder bonus and acvtivity streak when i am, at the top:

We are missing the middle breakpoint:

Very minor but the dots are centered

Epoch appears to be 0 indexed, I'm not sure if this is correct or not

**- Clicking redeem rewards when transfer window is already open doesn't swap the asset over

Should the from account be pre selected on vested account after using the redeem rewards button**

Should we use better wording than "No row" in the rewards history table:

I think the empty activity streak / reward hoarder bonus should be showing still but with me at tier 0?

I dont think the reward multiplier is being used correctly. I gained 100 tDAI in a reward while i have a bonus of 3.3x But still only gained 100?

Why don't we see activity streak information in mobile view? In mobile there is currently no way to know what streak you are on and what's next.

The scroll bar is white in dark mode instead of dark grey

@bwallacee
I have pushed a fix for the gray-rendered bar


urdfdom-headers: Allow empty package to be created

Short:
Solves bitbake dependency error when IMAGE_FEATURES += " dev-pkgs " is set
Long:
urdfdom-headers are only headers so bitbake packages them all into
urdfdom-headers-dev. Since there are no files to be packaged into
urdfdom-headers then it doesn't create the package. urdfdom-headers is a dependency
of urdfdom-headers-dev by default so bitbake errors when building an image
with dev-pkgs enabled.

The content of the commit looks okay. :+1: Here just some stylistic remarks on the commit message: Please check the openembedded style guide (http://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines); we try to follow that as far as possible. So in your case, watch out for the mandatory empty lines and line length (needed for good presentation) and always write fluent, readable English sentences. Also a reference/URL to the documentation for this bitbake feature, ALLOW_EMPTY, could be added to the commit message. Can someone of the watchers confirm that this commit does not break the usual build process (as I currently do not have access to any build machine)?

Great, thanks for the feedback!  Hope it complies this time :)

Perfect Commit! :100:


Fix console warning for profiler/node compatibility check

Workaround for #535.
Reviewed by @3y3

Some fixes before merging:

Make checkCompatibility private method, i.e rename it to _checkCompatibility
Squash commits history

@3y3 done and learned how to squash ;)

Merged. Thanks @marcominetti .
Sorry for delayed review - lot of work on node-inspector internals.


[FR]: Support typescript

I love your package!
But it is possible to add Typescript support? There are no types :(
TS7016: Could not find a declaration file for module console-strings/md.

all types are in JSDoc TS and your ide would just use these details to provide all the help you need ... although the library is so tiny I don't think it requires much explanation around its exports/usage, the README does a better job there.
Those files can also generate automatically .d.ts counterparts but I had no time (and very little interest) in adding types, PR welcome though, as long as the source remains pure JS, thanks!


There is a color highlight problem in React JS. Please fix it

It's a great theme. I've got a bug. The HTML tag color and the inner text color are the same in React JS. By the way, it's okay for HTML format. However, React JS format does not work
Here's the screenshot. Please check.

here's the another screenshot:

THANKS FOR THE SHARING BEAUTIFUL THEME FOR US <3

It's "Bearded Theme Monokai Black" theme i'm using. Thank you :)

My fault, I fixed the problem. <mgmcdermott.vscode-language-babel 0.0.36> The color was being changed by this extension.


Godot 3.3 2D Batching causing a Native Crash

Godot version:

v3.3.stable.mono.official
OS/device including version:

Windows 10 Home
OpenGL ES 3.0 Renderer: Intel(R) HD Graphics 400
OpenGL ES Batching: ON
Issue description:

After running a scene of my project for a while, it causes a Native Crash, outputing something like this in the terminal:
ERROR: _translate_batches_to_larger_FVF: FATAL: Condition "!(cv)" is true.
   At: ./drivers/gles_common/rasterizer_canvas_batcher.h:3024
=================================================================
        Native Crash Reporting
=================================================================
Got a UNKNOWN while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

=================================================================
        Managed Stacktrace:
=================================================================
=================================================================

After some testing, I discovered that the combination of Line2D with a higher number of points + a shader that I wrote would cause the crash. In my tests it took 517 points to crash. The shader that I created is a grass shader with wind effect.
Steps to reproduce:
I'm not sure what steps is needed to reproduce this issue, but I'll link the reproduction project that I made to test with CSharp, GDScript, GLES 3.0 and GLES 2.0, all of then caused the crash.
Minimal reproduction project:

BatchingCrashIssue.zip

It seens that it also depends on the distance between each point

Great, as discussed on discord earlier. Yup can confirm it seems to be to do with the batch buffer wraparound, when you increase the batch buffer size, the i gets higher before the crash. Will look in detail tomorrow. :+1:

Backtrace
ERROR: _translate_batches_to_larger_FVF: FATAL: Condition "!(cv)" is true.
   At: ./drivers/gles_common/rasterizer_canvas_batcher.h:2984.
handle_crash: Program crashed with signal 4
Dumping the backtrace. Please include this when reporting the bug on https://github.com/godotengine/godot/issues
[1] godots() [0x171c67a] (/home/rafal/Pulpit/godot3.2/platform/x11/crash_handler_x11.cpp:54)
[2] /lib/x86_64-linux-gnu/libc.so.6(+0x46210) [0x7efe53327210] (??:0)
[3] void RasterizerCanvasBatcher<RasterizerCanvasGLES2, RasterizerStorageGLES2>::_translate_batches_to_larger_FVF<RasterizerCanvasBatcher<RasterizerCanvasGLES2, RasterizerStorageGLES2>::BatchVertexLarge, true, true, true>(unsigned int) (/home/rafal/Pulpit/godot3.2/./drivers/gles_common/rasterizer_canvas_batcher.h:2984 (discriminator 1))
[4] RasterizerCanvasBatcher<RasterizerCanvasGLES2, RasterizerStorageGLES2>::flush_render_batches(RasterizerCanvas::Item*, RasterizerCanvas::Item*, bool&, RasterizerStorageGLES2::Material*, unsigned int) (/home/rafal/Pulpit/godot3.2/./drivers/gles_common/rasterizer_canvas_batcher.h:2442)
[5] RasterizerCanvasBatcher<RasterizerCanvasGLES2, RasterizerStorageGLES2>::render_joined_item_commands(RasterizerCanvasBatcher<RasterizerCanvasGLES2, RasterizerStorageGLES2>::BItemJoined const&, RasterizerCanvas::Item*, bool&, RasterizerStorageGLES2::Material*, bool) (/home/rafal/Pulpit/godot3.2/./drivers/gles_common/rasterizer_canvas_batcher.h:2548)
[6] RasterizerCanvasGLES2::render_joined_item(RasterizerCanvasBatcher<RasterizerCanvasGLES2, RasterizerStorageGLES2>::BItemJoined const&, RasterizerCanvasBatcher<RasterizerCanvasGLES2, RasterizerStorageGLES2>::RenderItemState&) (/home/rafal/Pulpit/godot3.2/drivers/gles2/rasterizer_canvas_gles2.cpp:2190)
[7] RasterizerCanvasGLES2::canvas_render_items_implementation(RasterizerCanvas::Item*, int, Color const&, RasterizerCanvas::Light*, Transform2D const&) (/home/rafal/Pulpit/godot3.2/drivers/gles2/rasterizer_canvas_gles2.cpp:1242)
[8] RasterizerCanvasBatcher<RasterizerCanvasGLES2, RasterizerStorageGLES2>::batch_canvas_render_items_end() (/home/rafal/Pulpit/godot3.2/./drivers/gles_common/rasterizer_canvas_batcher.h:790)
[9] RasterizerCanvasGLES2::canvas_render_items_end() (/home/rafal/Pulpit/godot3.2/drivers/gles2/rasterizer_canvas_gles2.cpp:1216)
[10] VisualServerCanvas::render_canvas(VisualServerCanvas::Canvas*, Transform2D const&, RasterizerCanvas::Light*, RasterizerCanvas::Light*, Rect2 const&, int) (/home/rafal/Pulpit/godot3.2/servers/visual/visual_server_canvas.cpp:277)
[11] VisualServerViewport::_draw_viewport(VisualServerViewport::Viewport*, ARVRInterface::Eyes) (/home/rafal/Pulpit/godot3.2/servers/visual/visual_server_viewport.cpp:245)
[12] VisualServerViewport::draw_viewports() (/home/rafal/Pulpit/godot3.2/servers/visual/visual_server_viewport.cpp:350)
[13] VisualServerRaster::draw(bool, double) (/home/rafal/Pulpit/godot3.2/servers/visual/visual_server_raster.cpp:109 (discriminator 4))
[14] VisualServerWrapMT::draw(bool, double) (/home/rafal/Pulpit/godot3.2/servers/visual/visual_server_wrap_mt.cpp:104)
[15] Main::iteration() (/home/rafal/Pulpit/godot3.2/main/main.cpp:2139)
[16] OS_X11::run() (/home/rafal/Pulpit/godot3.2/platform/x11/os_x11.cpp:3641)
[17] godots(main+0x329) [0x171306f] (/home/rafal/Pulpit/godot3.2/platform/x11/godot_x11.cpp:57)
[18] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7efe533080b3] (??:0)
[19] godots(_start+0x2e) [0x1712c8e] (??:?)

Fixed by #48125.


Chapter05  curl -X POST doesn't work as expected.

Hello

I run Chapter05\SampleAPI\SampleAPI.csproj in Launch: Project Mode.
Visual Studio 2019

In the book Hands-On RESTful Web Services with ASP.NET Core 3.pdf
Chapter 5, Page 82
Line -
curl -X POST https://localhost:5001/api/order/ -H 'Content-Type: application/json' -d '{"itemsIds": ["1","4"]}' -i -k
Result should be
HTTP/1.1 201 Created
Date: Mon, 20 Aug 2018 11:19:49 GMT
Server: Kestrel
Content-Length: 0
Location:
https://localhost:5001/api/orders/372459c7-6e16-4276-b286-f341d7009c43

Result on my computer:
C:\>curl -X POST https://localhost:5001/api/order/ -H 'Content-Type: application/json' -d '{"itemsIds": ["1","4"]}' -i -k
HTTP/1.1 415 Unsupported Media Type
Date: Tue, 20 Oct 2020 17:37:33 GMT
Content-Type: application/problem+json; charset=utf-8
Server: Kestrel
Transfer-Encoding: chunked

{"type":"https://tools.ietf.org/html/rfc7231#section-6.5.13","title":"Unsupported Media Type","status":415,"traceId":"|7e52c990-49b7b02ead9129a7."}curl: (6) Could not resolve host:
 application
curl: (3) [globbing] bad range in column 2

At the same time, Visual Studio does not catch any exceptions.
Although I put the Exception Settings - Common Language Runtime Exceptions - Check for All.
Although execution goes through the method
         public OrderController (IOrderRepository ordersRepository)
         {
             _orderRepository = ordersRepository;
         }

but the method
         [HttpPost]
         public IActionResult Post (OrderRequest request)
         {
             var order = Map (request);

             _orderRepository.Add (order);

             return CreatedAtAction (nameof (GetById), new {id = order.Id}, null);
         }

not performed
Here is lo result:
info: Microsoft.Hosting.Lifetime[0]
      Now listening on: https://localhost:5001
info: Microsoft.Hosting.Lifetime[0]
      Now listening on: http://localhost:5000
info: Microsoft.Hosting.Lifetime[0]
      Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
      Hosting environment: Development
info: Microsoft.Hosting.Lifetime[0]
      Content root path: C:\DelphiStuff\DotNet Samples\RESTful Web Services\RESTful-Web-Serv-ASPNETCore3\Code\Chapter05\SampleAPI
info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
      Request starting HTTP/1.1 POST https://localhost:5001/api/order/ application/x-www-form-urlencoded 11
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
      Executing endpoint 'SampleAPI.Controllers.OrderController.Post (SampleAPI)'
info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[3]
      Route matched with {action = "Post", controller = "Order"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult Post(SampleAPI.Requests.OrderRequest) on controller SampleAPI.Controllers.OrderController (SampleAPI).
info: Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor[1]
      Executing ObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ProblemDetails'.
info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[2]
      Executed action SampleAPI.Controllers.OrderController.Post (SampleAPI) in 68735.3007ms
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
      Executed endpoint 'SampleAPI.Controllers.OrderController.Post (SampleAPI)'
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
      Request finished in 68797.074ms 415 application/problem+json; charset=utf-8

Hi @dmitrybv , I'm trying with the following command from Windows 10 Pro:
curl -X POST https://localhost:5001/api/order/ -H "Content-Type: application/json" -d "{\"itemsIds\": [\"1\",\"4\"]}" -i -k

Could you please confirm that is working as expected?

Hello samueleresca.
Probably all the same not as expected.
Here is the result.
Microsoft Windows [Version 10.0.19041.572]
(c) 2020 Microsoft Corporation. All rights reserved.

C:\Users\BDV>curl -X POST https://localhost:5001/api/order/ -H "Content-Type: application/json" -d "{\"itemsIds\": [\"1\",\"4\"]}" -i -k
HTTP/1.1 400 Bad Request
Date: Wed, 28 Oct 2020 04:46:48 GMT
Content-Type: application/problem+json; charset=utf-8
Server: Kestrel
Transfer-Encoding: chunked

{"type":"https://tools.ietf.org/html/rfc7231#section-6.5.1","title":"One or more validation errors occurred.","status":400,"traceId":"|d3e96dd3-448dafb9287ab1f1.","errors":{"Currency":["The Currency field is required."]}}
C:\Users\BDV>
C:\Users\BDV>
C:\Users\BDV>curl -X POST https://localhost:5001/api/order/ -H 'Content-Type: application/json' -d '{"itemsIds": ["1","4"]}' -i -k
HTTP/1.1 415 Unsupported Media Type
Date: Wed, 28 Oct 2020 04:48:28 GMT
Content-Type: application/problem+json; charset=utf-8
Server: Kestrel
Transfer-Encoding: chunked

{"type":"https://tools.ietf.org/html/rfc7231#section-6.5.13","title":"Unsupported Media Type","status":415,"traceId":"|d3e96dd6-448dafb9287ab1f1."}curl: (6) Could not resolve host: application
curl: (3) [globbing] bad range in column 2

C:\Users\BDV>

Hi,
That command is referring to the Post Action method at p.80:
        [HttpPost]
        public IActionResult Post(OrderRequest request)
        {
            var order = new Order()
            {
                Id = Guid.NewGuid(),
                ItemsIds = request.ItemsIds
            };

            _orderRepository.Add(order);

            return Ok();
        }

Please reopen if the issue still persists.
Thanks!

Please reopen if the issue still persists.
Thanks!


Fcom 151

Initial version of new Oracle Query task. Unit tests are missing as we currently do not have Oracle to test against.
Task functionality has been tested manually.

While Resturn format is selected as JSON, I get in FRENDS "ORA-00911: invalid character" at runtime. This does not happen with return format XML.

Tein queryn uudelleen ja nyt kysely menee läpi.


Fix old syntax

Codecov Report

Merging #693 (c4b0f50) into master (ec9a8d8) will decrease coverage by 0.03%.
The diff coverage is 64.28%.

@@            Coverage Diff             @@
##           master     #693      +/-   ##
==========================================
- Coverage   74.74%   74.71%   -0.04%
==========================================
  Files          82       82
  Lines        7215     7218       +3
==========================================
  Hits         5393     5393
- Misses       1822     1825       +3

Impacted Files
Coverage Δ

benchmarking/src/tests.rs
92.30% <64.28%> (-4.47%)
:arrow_down:

Continue to review full report at Codecov.

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


[SPARK-35122][SQL] Migrate CACHE/UNCACHE TABLE to use AnalysisOnlyCommand

What changes were proposed in this pull request?

Now that AnalysisOnlyCommand in introduced in #32032, CacheTable and UncacheTable can extend AnalysisOnlyCommand to simplify the code base. For example, the logic to handle these commands such that the tables are only analyzed is scattered across different places.
Why are the changes needed?

To simplify the code base to handle these two commands.
Does this PR introduce any user-facing change?

No, just internal refactoring.
How was this patch tested?

The existing tests (e.g., CachedTableSuite) cover the changes in this PR. For example, if I make CacheTable/UncacheTable extend LeafCommand, there are few failures in CachedTableSuite.

Test build #137525 has started for PR 32220 at commit c0caf46.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/42099/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/42099/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/42099/

Test build #137525 has finished for PR 32220 at commit c0caf46.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/137525/

cc @cloud-fan

thanks, merging to master!

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/137591/


Does the current server implementation work at all?

Referring to: https://github.com/localtunnel/server/issues/123#issuecomment-757930138
I'm encountering the same issue in a specific test scenario, where I try to traverse through Carrier Grade NAT (CGN). Therefore I set up the following GNS3 virtual network environment with some new findings, which might be interesting for you.

"Raspi-A-1" in the field hangar network is running the localtunnel client, which connects to "Proxy-1" in the home network, which runs the localtunnel server. This connection doesn't work and crashes immediately with the same error as @hailwood postet in this thread.
For test purposes I made an exact copy of the "Proxy-1", called "CloneofProxy-1" and put it right next to the "Raspi-A-1" inside the same local subnet and this connection works flawlessly for some reason.
So it seems that a connection to a different network with routers in between doesn't work with the current implementation of the localtunnel server. I also deployed the localtunnel server outside of this GNS3 environment on another VM with direct internet access to it, which doesn't work either, same with the docker container implementation.
Edit:
The localtunnel client on the "Raspi-A-1" seems to be fine, because establishing and maintaining a connection to the public localtunnel.me server works.
Any ideas what is causing this strange behaviour?
Originally posted by @FransBCocq in https://github.com/localtunnel/server/issues/123#issuecomment-757930138

Hi!
Current implementation should be working in case firewalls you have between localtunnel client & server allow outgoing TCP connections on custom ports.
Also one of the reasons may be that your setup of the server instance restricts incoming TCP connections on ports 1024+.
Additionally here I started to do some PoC of the tunneling over websocket, which should allow to bypass the most restrictive firewalls. https://github.com/StyleT/mytunnel-server/tree/feature/ws_tunnel

Hi @StyleT,
thank you for this websocket extension; this is amazing and exactly what I would need for my kubernetes nginx-ingress setup.
Do you have any intention to finish this PoC?
Could you give me some hints what is missing to allow localtunnel to work solely via nginx-ingress?
Thanks a lot!
Steav


Feature/update to boost 1.65.1

Branch contains changes to upate boost to 1.65.1
Summary of changes:

Version-strings updated from 1.64.0 to 1.65.1
Added options for new libraries (poly_collection, stacktrace)
Patch for VS-compiler detection (Is broken in 1.65.1. This is just a backport to 1.64.0)
Changed usage of bzip2: Bzip is now activated for all platforms (if iostream is enabled)
Enabling of zlib/bzip2 is done using flags to b2 ("patch_project_jam" was removed)
Changed channel naming from stable to testing

Tests done:

Build done with "Visual Studio 2015 x64"
Using it (cmake/compile/link) seem to work (as before)

I'm looking forward to seeing the CI pipeline succeed on this guy for Windows so I can hijack your changes and pull them into #63


[SPARK-21644][SQL] LocalLimit.maxRows is defined incorrectly

What changes were proposed in this pull request?
The definition of maxRows in LocalLimit operator was simply wrong. This patch introduces a new maxRowsPerPartition method and uses that in pruning. The patch also adds more documentation on why we need local limit vs global limit.
Note that this previously has never been a bug because the way the code is structured, but future use of the maxRows could lead to bugs.
How was this patch tested?
Should be covered by existing test cases.
Closes #18851

Test build #82334 has started for PR 19393 at commit fb97a73.

Test build #82334 has finished for PR 19393 at commit fb97a73.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/82334/
Test PASSed.

cc @rxin @JoshRosen @cloud-fan

LGTM but I wrote most of the code so perhaps we should find somebody else to review.

One minor comment otherwise LGTM.

Test build #82424 has started for PR 19393 at commit 4312a9c.

Test build #82424 has finished for PR 19393 at commit 4312a9c.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/82424/
Test PASSed.

Thanks! Merged to master.


feat: add Dockerfile and template

Category

[x] New feature
[ ] Bug fix
[ ] Improvement
[ ] Refactor
[ ] etc

Description

Dockerfile and template has been added

Known issue

Support x86_64 and arm architecture.

@choonho (@whdalsrnt )
Hi, Thank you for your feedback.
I asked @whdalsrnt about grpc_health_probe's OS architecture issue, and found out that grpc_health_probe is deprecated.
So I deleted that layer.


Add checkstyle rules and fix them.

Codecov Report

Merging #697 into develop will decrease coverage by 0.02%.
The diff coverage is 15%.

@@             Coverage Diff             @@
##           develop     #697      +/-   ##
===========================================
- Coverage     32.5%   32.47%   -0.03%
===========================================
  Files           78       78
  Lines         3123     3122       -1
  Branches       473      473
===========================================
- Hits          1015     1014       -1
  Misses        2028     2028
  Partials        80       80

Impacted Files
Coverage Δ

.../maven/artifacthandler/FTPArtifactHandlerImpl.java
95.83% <ø> (ø)
:arrow_up:

...rosoft/azure/maven/queryer/MavenPluginQueryer.java
0% <ø> (ø)
:arrow_up:

...pp/handlers/runtime/WindowsRuntimeHandlerImpl.java
0% <0%> (ø)
:arrow_up:

...bapp/handlers/runtime/LinuxRuntimeHandlerImpl.java
0% <0%> (ø)
:arrow_up:

...rs/runtime/PrivateDockerHubRuntimeHandlerImpl.java
0% <0%> (ø)
:arrow_up:

...ers/runtime/PublicDockerHubRuntimeHandlerImpl.java
0% <0%> (ø)
:arrow_up:

...crosoft/azure/maven/webapp/AbstractWebAppMojo.java
0% <0%> (ø)
:arrow_up:

...va/com/microsoft/azure/maven/function/RunMojo.java
80% <100%> (-0.65%)
:arrow_down:

...va/com/microsoft/azure/maven/function/AddMojo.java
60.45% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Use runtime.CallersFrames to create StackFrames

Goal
Stack traces from errors.Error are incomplete and miss functions. In particular, inlined functions are missing.
Additionally, the tests for errors were failing.
Also fixes #44
Design
The change is to user runtime.CallersFrames to translate program counters to symbolic information as recommended by the golang docs.
Changeset
Added
errors.NewStackFrameFromRuntime
Removed
None
Changed
errors.Error.StackFrame
Tests
Unit tests were fixed to fail for the right reasons (stack frame content, not formatting). All unit tests were run and passed.
Outstanding Questions
errors.StackFrame.Func() still relies on runtime.FuncForPC which is less than ideal. Within the library, it is primarily used on constructor of StackFrames. One way to give the right Func would be to save the Func on the StackFrame itself on construction from a runtime.Frame.
Review
For the submitter, initial self-review:

[X] Commented on code changes inline explain the reasoning behind the approach
[X] Reviewed the test cases added for completeness and possible points for discussion
[ ] A changelog entry was added for the goal of this pull request
[X] Check the scope of the changeset - is everything in the diff required for the pull request?
This pull request is ready for:

[X] Initial review of the intended approach, not yet feature complete
[X] Structural review of the classes, functions, and properties modified
[X] Final review

For the pull request reviewer(s), this changeset has been reviewed for:

[ ] Consistency across platforms for structures or concepts added or modified
[ ] Consistency between the changeset and the goal stated above
[ ] Internal consistency with the rest of the library - is there any overlap between existing interfaces and any which have been added?
[ ] Usage friction - is the proposed change in usage cumbersome or complicated?
[ ] Performance and complexity - are there any cases of unexpected O(n^3) when iterating, recursing, flat mapping, etc?
[ ] Concurrency concerns - if components are accessed asynchronously, what issues will arise
[ ] Thoroughness of added tests and any missing edge cases
[ ] Idiomatic use of the language

Hi @aduong, thanks for the PR. Due to the scope of this it'll take us a while to get it reviewed. I can't give you an ETA at this point, but we have a lot of other higher priority things going on at the moment. Thanks for your patience!

Hi @aduong, thanks for the PR. Due to the scope of this it'll take us a while to get it reviewed. I can't give you an ETA at this point, but we have a lot of other higher priority things going on at the moment. Thanks for your patience!

@bengourley, thanks for the prompt response. If it helps, I can split this change set so that the failing tests are separate set. As it turns out, the error_test suite was already being skipped because it was platform-dependent. Part of this change set makes those tests platform independent.

Sadly, this doesn't seem the team had the capacity to review this and this is probably too outdated. My team has been able to work around the issue. Perhaps this has been fixed in later versions.

Is there any chance of reviving this PR?
We're running into an issue where we have an incorrect stack trace being generated for a panic that looks to be corrected by this change.  It's very difficult to debug further into the runtime, but seems like common sense to follow the guidance of the Go documentation:

To translate these PCs into symbolic information such as function names and line numbers, use CallersFrames. CallersFrames accounts for inlined functions and adjusts the return program counters into call program counters.

We may consider forking our own client to get this fix in, but if it this could be merged here that would be much preferable.

Hey @mathewbyrne, seen your message on https://github.com/bugsnag/bugsnag-go/pull/114 so we'll continue the conversation there.


Port ConditionalWeakTable.AddOrUpdate to CoreRT

Ports pull request #8490
/cc @jkotas @stephentoub

Hi @safern, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by .NET Foundation and real humans are currently evaluating your PR.
TTYL, DNFBOT;

LGTM. Thanks!

I don't have access to merge this, could someone please merge? :)


[BUG] Unicode Data Not Returned Correctly

Describe your system

odbc Package Version: 2.4.0-beta.1
ODBC Driver: IBM i Access ODBC Driver <IP_ADDRESS>
Database Name: DB2 for IBM i
Database Version: 7.2
Database OS: IBM i 7.2
Node.js Version: 14.15.1
Node.js OS: IBM i / Windows

Describe the bug
In 2.4.0-beta.1, Unicode data in query results seems to be missing the first character. For example, a result column value like 'Hello, world' is returned as 'ello, world'.
To Reproduce
Run this SQL in Run SQL Scripts in IBM i ACS to create a test table:
create table yourlib.helloworld (
  hello vargraphic(50) ccsid 1200
);

insert into yourlib.helloworld values
('Hello, world'),
('مرحبا بالعالم'),
('Привет, мир'),
('你好，世界');

Then use this Node.js program to query the table:
const odbc = require("odbc");

(async () => {
  const connection = await odbc.connect(
    "Driver=IBM i Access ODBC Driver;System=localhost;uid=you;password=yours"
  );
  console.log(await connection.query(
    "select * from yourlib.helloworld"
  ));
})();

The output is:
[
  { HELLO: 'ello, world' },
  { HELLO: 'رحبا بالعالم' },
  { HELLO: 'ривет, мир' },
  { HELLO: '好，世界' },
  statement: 'select * from yourlib.helloworld',
  parameters: [],
  return: undefined,
  count: -1,
  columns: [
    {
      name: 'HELLO',
      dataType: -9,
      columnSize: 50,
      decimalDigits: 0,
      nullable: true
    }
  ]
]

Additional context
This problem does not occur in odbc version 2.3.6

For example, a result column value like 'Hello, world' is returned as 'ello, world'.

Sounds like it's gone British!

@DavidRusso thanks for the heads up, will investigate and ensure that it is fixed. Seems to be some sort of "off-by-one" error, so hopefully easily found and fixed.

A missing pair of parens here is the culprit: https://github.com/markdirish/node-odbc/blob/ed6da2942b14e04b72df5d86989a7486ed235352/src/odbc_connection.cpp#L2835
Should read:
... + (row_index * (data->columns[column_index]->ColumnSize + 1))

Will get a PR pushed in the morning.

This is working well for me in 2.4.0-beta.2. Thanks!

2.4.0 is now published and this should be fixed. Feel free to open if it still seems broken!


Working kickstart

Do you want this merged, or are you still working on it?

It is fully working as a really really simple implementation (can be started to be used), I am still working on a couple of features and I have a couple of design questions I wanted to ask...

so merge or not? BTW, while you are just sketching I'm perfectly happy for you to work directly on the main branch...


invalid definition for sort field: "decimal"

Is anyone know the solution?
https://gist.github.com/q71710/4b00e12963a488938e7f21279182cdba

hey man,
i had the same error just delete de
decimal : true


django 2.0 import url reverse

from django.urls import reverse
not  from django.core.urlresolvers import reverse

Thanks for flagging this. Fixed in #6 and released to the PyPi.


database/sql and net/http deadlock hangs on linux

Please answer these questions before submitting your issue. Thanks!

What version of Go are you using (go version)?

go version go1.6.2 linux/amd64

What operating system and processor architecture are you using (go env)?

Ubuntu 16.04 64-bit and alpine 3.3
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/user/work"
GORACE=""
GOROOT="/usr/local/go"
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GO15VENDOREXPERIMENT="1"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0"
CXX="g++"
CGO_ENABLED="1"

What did you do?

I am building a database/sql driver. I noticed that on linux machines (tested with Ubuntu and alpine), the go test tool will deadlock and timeout (after 10 minutes).
The code is available in this repo: https://github.com/F21/deadlock
driver.go:
package deadlock

import (
	"database/sql"
	"database/sql/driver"
	"errors"
	"fmt"
	"net/http"
)

type httpClient struct {
	httpClient *http.Client // <- Do not need to wait for timeout if we remove this struct member and do not import net/http
}

type conn struct{}

func (c *conn) Prepare(query string) (driver.Stmt, error) {
	return nil, errors.New("prepare() not supported")
}

func (c *conn) Close() error {
	return nil
}

func (c *conn) Begin() (driver.Tx, error) {
	return nil, errors.New("Begin() not supported")
}

func (c *conn) Exec(query string, args []driver.Value) (driver.Result, error) {

	items := []int{1, 2}
	fmt.Println(items[2]) //Should cause a panic

	return nil, errors.New("error!")
}

type Driver struct{}

func (d *Driver) Open(dsn string) (driver.Conn, error) {

	conn := &conn{}

	return conn, nil
}

func init() {
	sql.Register("deadlock", &Driver{})
}

driver_test.go:
package deadlock

import (
	"database/sql"
	"testing"
)

func TestExecDeadlock(t *testing.T) {

	db, err := sql.Open("deadlock", "someserver:1234")

	if err != nil {
		t.Fatalf("error connecting: %s", err.Error())
	}

	defer db.Close()

	db.Exec("some statement")
}

tool/main.go:
package main

import (
	"database/sql"
	"fmt"
	_ "github.com/F21/deadlock"
)

func main() {
	db, err := sql.Open("deadlock", "someserver:1234")

	if err != nil {
		fmt.Println(err)
	}

	defer db.Close()

	db.Exec("some statement")

	fmt.Println("Done!")
}

driver.go contains a bug on line 32 that will cause a panic.
If we run go test on the root of the repo, it will hang and will only terminate until it reaches the 10 minute timeout.
If we run the command: go run tool/main.go we also see that it hangs forever.
The interesting thing is that if we remove lines 11 to 13 in driver.go and remove the net/http import, it fails immediately and gives us an error: fatal error: all goroutines are asleep - deadlock!
On Windows (tested on Windows 10 64-bit), doing the above does not hang and it fails immediately.

What did you expect to see?
The deadlock should definitely not hang. It should fail fast like on Windows. However, rather than having an error about a deadlock, I was expecting an error about the panic.

What did you see instead?
The deadlock hangs on linux and fails immediately on Windows. After timing out on Linux, we get this output:

SIGQUIT: quit
PC=0x460891 m=0

goroutine 0 [idle]:
runtime.futex(0x9deba8, 0x0, 0x0, 0x0, 0x0, 0x9de150, 0x0, 0x0, 0x40f3c4, 0x9deba8, ...)
	/usr/local/go/src/runtime/sys_linux_amd64.s:306 +0x21
runtime.futexsleep(0x9deba8, 0x0, 0xffffffffffffffff)
	/usr/local/go/src/runtime/os1_linux.go:40 +0x53
runtime.notesleep(0x9deba8)
	/usr/local/go/src/runtime/lock_futex.go:145 +0xa4
runtime.stopm()
	/usr/local/go/src/runtime/proc.go:1538 +0x10b
runtime.findrunnable(0xc82001c000, 0x0)
	/usr/local/go/src/runtime/proc.go:1976 +0x739
runtime.schedule()
	/usr/local/go/src/runtime/proc.go:2075 +0x24f
runtime.goexit0(0xc820001680)
	/usr/local/go/src/runtime/proc.go:2210 +0x1f9
runtime.mcall(0x7ffea7a9f320)
	/usr/local/go/src/runtime/asm_amd64.s:233 +0x5b

goroutine 1 [chan receive]:
testing.RunTests(0x8a7148, 0x9d59a0, 0x1, 0x1, 0xc82008d201)
	/usr/local/go/src/testing/testing.go:583 +0x8d2
testing.(*M).Run(0xc82004bef8, 0x8a7998)
	/usr/local/go/src/testing/testing.go:515 +0x81
main.main()
	github.com/F21/deadlock/_test/_testmain.go:54 +0x117

goroutine 17 [syscall, locked to thread]:
runtime.goexit()
	/usr/local/go/src/runtime/asm_amd64.s:1998 +0x1

goroutine 5 [semacquire]:
sync.runtime_Semacquire(0xc82001a1e4)
	/usr/local/go/src/runtime/sema.go:47 +0x26
sync.(*Mutex).Lock(0xc82001a1e0)
	/usr/local/go/src/sync/mutex.go:83 +0x1c4
database/sql.(*driverConn).closeDBLocked(0xc82001a1c0, 0x0)
	/usr/local/go/src/database/sql/sql.go:326 +0x3e
database/sql.(*DB).Close(0xc8200cc160, 0x0, 0x0)
	/usr/local/go/src/database/sql/sql.go:528 +0x195
panic(0x7894c0, 0xc82000a0d0)
	/usr/local/go/src/runtime/panic.go:443 +0x4e9
github.com/F21/deadlock.(*conn).Exec(0x9fada8, 0x80e2d0, 0xe, 0x9fada8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/home/user/work/src/github.com/F21/deadlock/driver.go:32 +0x242
database/sql.(*DB).exec(0xc8200cc160, 0x80e2d0, 0xe, 0x0, 0x0, 0x0, 0xc820029e01, 0x0, 0x0, 0x0, ...)
	/usr/local/go/src/database/sql/sql.go:1035 +0x2c2
database/sql.(*DB).Exec(0xc8200cc160, 0x80e2d0, 0xe, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/usr/local/go/src/database/sql/sql.go:1009 +0xbe
github.com/F21/deadlock.TestExecDeadlock(0xc820018120)
	/home/user/work/src/github.com/F21/deadlock/driver_test.go:18 +0x1e8
testing.tRunner(0xc820018120, 0x9d59a0)
	/usr/local/go/src/testing/testing.go:473 +0x98
created by testing.RunTests
	/usr/local/go/src/testing/testing.go:582 +0x892

rax    0xca
rbx    0x0
rcx    0x460893
rdx    0x0
rdi    0x9deba8
rsi    0x0
rbp    0x1
rsp    0x7ffea7a9f178
r8     0x0
r9     0x0
r10    0x0
r11    0x286
r12    0x8
r13    0x8a5d3d
r14    0x9
r15    0x8
rip    0x460891
rflags 0x286
cs     0x33
fs     0x0
gs     0x0
*** Test killed with quit: ran too long (10m0s).
FAIL	github.com/F21/deadlock	600.006s

Thank you for proving a detailed repo. I believe there is a shadowing error in sql.exec around line 1030
        if execer, ok := dc.ci.(driver.Execer); ok {
                dargs, err := driverArgs(nil, args) // shadows outer err
                if err != nil {
                        return nil, err
                }
                dc.Lock()
                resi, err := execer.Exec(query, dargs)
                dc.Unlock()
                if err != driver.ErrSkip {
                        if err != nil {
                                return nil, err
                        }
                        return driverResult{dc, resi}, nil
                }
        }

This shadowing may be preventing the defer of putConn to work properly.

#13677 may also be related.

@F21 Thanks for the clear test case.  I agree with @davecheney that the shadowing is problematic, but I don't think that's the problem here.  I think the deadlock/hang is occurring because of the defer db.Close().  That is run when the panic happens.  It tries to close all the connections.  Unfortunately, in doing so, it tries the lock them, but the connection is already locked.  I will send a CL.

The CL has too many changes, and this case was already broken.  Postponing until 1.8.


validator's installation fails when following the documentation

https://github.com/Open0xScope/openscope/blob/main/doc/Validator.md

it: wont work:
git clone git@github.com:Open0xScope/openscope.git

replace with:
git clone https://github.com/Open0xScope/openscope.git

the follwoing:
pip install -r requirements.txt

returns:
INFO: pip is looking at multiple versions of aiohttp to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install -r requirements.txt (line 12) and eth-utils==2.3.1 because these package versions have conflicting dependencies.
The conflict is caused by:
The user requested eth-utils==2.3.1
communex <IP_ADDRESS> depends on eth-utils<2.3.0
To fix this you could try to:

loosen the range of package versions you've specified
remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
replace requirements.txt:
line 12: communex==<IP_ADDRESS>
with communex

The conflict is caused by:
The user requested eth-utils==2.3.1
communex <IP_ADDRESS> depends on eth-utils<2.3.0

Documentation is still not updated.


jhh

Updated Twitter link

There 3000+ files to be merged?
Closing this first. Will manually edit in the link.


Add mapping for TGIS speculator args

So that existing deployment speculative decoding TGIS configurations can be used.

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

Project coverage is 63.21%. Comparing base (d152993) to head (6fc8e66).

Files
Patch %
Lines

src/vllm_tgis_adapter/tgis_utils/args.py
35.29%
8 Missing and 3 partials :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #39      +/-   ##
==========================================
- Coverage   63.58%   63.21%   -0.38%
==========================================
  Files          18       18
  Lines        1211     1226      +15
  Branches      213      217       +4
==========================================
+ Hits          770      775       +5
- Misses        370      378       +8
- Partials       71       73       +2

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


Status HUD

Hi there,
do you have plans to extend SVProgressHUD to more then showing a progress? I know, the name says otherwise, but it would be very useful to be able to show status messages and the like in such an easy way.
What I suggest (for SVStatusHUD ;))

Allow to show a status message without icon/activityIndicator
Allow to show a status message with a custom icon
Allow to show only a custom icon (like when you mute the phone)
Add possibility to autohide the hud after a predefined time

I don't know if this is outside the scope of this project but it is what I do manually at the moment and think is really useful.
Thanks,
Shukuyen.

I finally decided to add a simple showSuccessWithStatus:(NSString*)string method to SVProgressHUD, which basically displays the success icon along with a status for a second and then gets dismissed. I know it's not exactly what you wanted, but thought I should let you know anyway.

Thanks, Sam!


WSL2 - Freeze each creation/update for a file/folder

Windows Version
Microsoft Windows [version 10.0.22621.1413]
WSL Version
<IP_ADDRESS>
Are you using WSL 1 or WSL 2?

[X] WSL 2
[ ] WSL 1

Kernel Version
<IP_ADDRESS>
Distro Version
Ubuntu 22.04
Other Software
I have BitLocker
Repro Steps
Install WSL with wsl --install
Install Ubuntu 22.04
Go on \\wsl.localhost\Ubuntu-22.04\home\ubuntu and create a file/folder and press enter to save it
Expected Behavior
On my previous Windows 10 computer, it was possible to create folder/file and update a folder/file without any freeze.
On this computer, I installed it with this process : https://learn.microsoft.com/fr-fr/windows/wsl/install-manual#step-4---download-the-linux-kernel-update-package
And no BitLocker on this previous computer
Actual Behavior
Create a folder/file in the Ubuntu Subsystem from Windows File Explorer.
Windows File Explorer crash during between 20 seconds and 1 minute each time I create a file/folder or save a file.
Same with a file and everytime I save it with PhpStorm/Visual Studio Code with no WSL extension.
Diagnostic Logs
If you want any log, tell me which command you want me to use.

/logs

And here is my execution policies :

Thanks @AurelienPillevesse. Can you share the path of the folder you tried to create that caused the explorer to freeze ?
Also, do you see the same behavior with let's say powershell ? Can you share the output this command in powershell:
Measure-Command{  mkdir \\wsl.localhost\<distro-name>\test-folder }

Hi, thanks for your answers.
Issue have disappear when I uninstalled HP Wolf Security.
Sorry and thanks again for your time.


Project listing API

I am planning to write a simple frontend for Grafeas. To do this I need to list projects but as far as I can see there is no API for this (right?)
If it is agreed upon that this is a good idea I would be willing to submit a PR for this.

I agree this is a necessity.

@furuholm i think it is a good idea, need any help, just feel free to let me know.

A question: should Project be its own type in the schema with a single field ProjectId? The alternative would be to represent projectId as a string.

@furuholm We can create a separate service (in a separate proto) for projects, we need the whole CRUD for them, (although update probably won't be needed as its just string field). Grafeas only references the string - so this can start out super simple, and as we dig deeper in to ACLs we'll likely need to expand.

Also, please see https://github.com/Grafeas/Grafeas/issues/40 which I believe this issue is a duplicate of.

Started working on this earlier today and started super simple by parsing projects from existing notes and occurrences (see https://github.com/furuholm/Grafeas/commit/ec083e56908fbbac75bfb67154b88787a65dbea2). But if we go full CRUD on this (as I suspect we will as you already created an issue for this 😄) then this is a duplicate of #40.
Closing this in favor of #40.


Stopped working with bitwarden

Describe the bug
Does not seem to work any more with bitwarden in any way
To Reproduce
Steps to reproduce the behavior:

bw login --check
"You` are logged in!"
ssh-manager list --provider bw
"Error: unexpected end of JSON input"

Expected behavior
Show list of ssh keys saved in bitwarden
Environment:

CLI Version (retrieve with ssh-manager version): v0.16.0
Operating System/Architecture: Linux 5.15.0-25-generic #25-Ubuntu SMP x86_64

Additional context
go version go1.18.1 linux/amd64
bw version 1.22.0
Ubuntu 22.04 LTS

DEBU[22-04-2022 17:43:36] Syncing Bitwarden Vault.
DEBU[22-04-2022 17:43:36] Getting items in Bitwarden.
Error: unexpected end of JSON input

After logout/login/unlock with bw it works fine again.

I am glad the issue is solved. We can add more visibility for Bitwarden. Probably it was failing to fetch the item. But the logging did not show it. I will create a ticket to add more visibility.

https://github.com/omegion/ssh-manager/issues/62


a wrong use := where = cause a format problem, format can't work

tips in my sublime text2 GsLint(1), Line ....

I'm not sure I understand the issue.  The builtin formatter will not format source code with invalid syntax.
package main

func main() {
a[0] := 123
}

yes， I find the invalid syntax make formatter not work, not only in the line of source code with invalid syntax.


Vyper smart contracts on Emerald

I added documentation regarding how people can deploy Vyper smart contracts to Emerald by using Rust.
If you think this should be modified/improved, please let me know.

@matevz thank you for the exceptionally thorough review. I think you are right on all points.
I will modify the PR so that it gives proper examples on how to deploy Solidity smart contracts by using Rust and Go. Should I also add some code on how to call the contracts?

@matevz thank you for the exceptionally thorough review. I think you are right on all points.
I will modify the PR so that it gives proper examples on how to deploy Solidity smart contracts by using Rust and Go. Should I also add some code on how to call the contracts?

Try to follow the flow of the Truffle or Hardhat sections. They use the test subcommand which runs smart contract tests either locally or on whichever network defined (testnet, mainnet).

I added appropriate tutorials for Rust and Go. Please review and let me know if this is acceptable.


Invoices API - The invoice amount calculated is not accurate.

When creating new invoice found:

when decimals are used in the "items - amount" field, the amount in the created invoice json response is completely different.
when creating the invoice the "items - units" should be a supplied as a string with "" or else it reports an error. Not sure if this is the correct? but it has not created errors when using integers (whole numbers) in the "amount" field

Sample Json body used to create the invoice:
{
"name": "Test Invoice",
"to": "8BN2Lj35PTYwuRyoKHxVY1iySbQywrQ6DayMGm499sF5p1NEhXH",
"recipient": "Test",
"reference": "Software Services",
"description": "Application Development",
"number": "001",
"sender_detail": "Aeon",
"recipient_detail": "Test",
"session": "376685adcaa70c7feef1002f8874ecf095e00f294795bd85f98e60c56bed2fd8",
"pin": 1234,
"items": [
{
"description": "Prototyping",
"units": "1",
"amount": 50.5
},
{
"description": "MVP",
"units": "1.25",
"amount": 70.5
},
{
"description": "Consultation",
"units": "2.35",
"amount": 20
}
]
}
The created invoice return json:
{
"status": "TRANSFER",
"owner": "00fa11647c02a3a65a72970d8e703d8804eb127c7e7c41d565c3514a4d3fdf13",
"version": 1,
"created":<PHONE_NUMBER>,
"modified":<PHONE_NUMBER>,
"type": "READONLY",
"form": "INVOICE",
"json": {
"account": "8BN2Lj35PTYwuRyoKHxVY1iySbQywrQ6DayMGm499sF5p1NEhXH",
"recipient": "b76f1d57b5bc68f91d7377b7fd84073b2273c9bde6250d1ecb06e9ee4d023409",
"items": [
{
"amount": 0.00005,
"units": 1,
"description": "Prototyping"
},
{
"amount": 0.00007,
"units": 1,
"description": "MVP"
},
{
"amount": 0.00012,
"units": 2,
"description": "Consultation"
}
],
"to": "8BN2Lj35PTYwuRyoKHxVY1iySbQywrQ6DayMGm499sF5p1NEhXH",
"reference": "Software Services",
"description": "Application Development",
"number": "001",
"sender_detail": "Aeon",
"recipient_detail": "Test",
"amount": 0.00036,
"token": "8Eo2aGS6BZGbATNQiUCWaFTgmvq3GuDibxB8HRJKKePGY4U3RYD",
"status": "OUTSTANDING"
},
"address": "82HVt17qPEqSKqRSTzrwhUVqUnVeoZafAgit42SEwZyximnTRmJ"
}
],
"info": {
"method": "invoices/list",
"status": "active",
"address": "<IP_ADDRESS>:27773",
"latency": "0.891335 ms"
}
}

Fixed with commit 5fd0a95515ecd9b9e6d6e4c3450050a9ea1df83b


ui: fix labels when migrating instances from vmware

Description
Fixes #8474
Renames labels when importing from VMware
Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)
[ ] build/CI

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[ ] Major
[ ] Minor

Bug Severity

[ ] BLOCKER
[ ] Critical
[ ] Major
[ ] Minor
[ ] Trivial

Screenshots (if appropriate):
https://github.com/apache/cloudstack/assets/153340/e94578cd-f5fa-40ea-b0e7-a5298066d890
How Has This Been Tested?

How did you try to break this feature and the system with this change?

@nvazquez a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

@shwstppr a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: ✔ el7 ✔ el8 ✔ el9 ✔ debian ✔ suse15. SL-JID 8271


Control Award info missing from Awards tab?

https://theorangealliance.org/events/1920-VA-OQT/awards
This event had 3 Control Award winner/finalists but they do not appear in the otherwise wonderful Awards summary tab.
Is this a TOA bug or is the data not provided by the scorekeeper software or ???

The control awards don't seem to be coming from the scorekeeper at all. If you have the database for the event, getting that into the #support channel on the discord would probably be the best bet.

Fixed in the DataSync.


Adding Scott service (demo ... won't merge).

This is just for a demo. It won't be merged.

/azp run prepare-pipelines

/azp run java - scott - ci


cilium-cni: Call IPAMAllocate before creating veth

Call IPAMAllocate before creating a temporary network interface to avoid
unnecessarily incrementing the network interface index. Without this
patch, cilium-cni keeps creating temporary interfaces when it cannot
allocate any more IPs. Eventually it exceeds max(uint16) and Cilium
crashes with an error like this:
level=fatal msg="ens6 link ifindex 317689 exceeds max(uint16)" subsys=daemon

Fixes: #19004
Signed-off-by: Michi Mutsuzaki<EMAIL_ADDRESS>Fix a bug where Cilium would constantly create network interfaces if IPAM limits are reached

Suggested release-note: `Fix bug where Cilium would constantly create network interfaces if IPAM limits are reached"

/test

/test

slightly confused about the test failure. according to https://jenkins.cilium.io/job/Cilium-PR-K8s-GKE/7768/testReport/junit/Suite-k8s-1/20/K8sHealthTest_cilium_health_Checks_status_between_nodes/
Stderr:
 	 Error from server (NotFound): deployments.apps "coredns" not found

but looks like the deployment name is kube-dns, not coredns :thinking:
kube-system         kube-dns                        1/2     2            1           9h      kubedns,dnsmasq,sidecar,prometheus-to-sd   gke.gcr.io/k8s-dns-kube-dns:1.21.0-gke.0,gke.gcr.io/k8s-dns-dnsmasq-nanny:1.21.0-gke.0,gke.gcr.io/k8s-dns-sidecar:1.21.0-gke.0,gke.gcr.io/prometheus-to-sd:v0.4.2   k8s-app=kube-dns

... never mind, looks like it checks both: https://github.com/cilium/cilium/blob/83d74a255487acaad9caad44a04c1ea5f8ef8cb6/test/helpers/kubectl.go#L1977. looks like kube-dns had trouble connecting to k8s api server.
2022-03-02T19:37:14.538206894Z I0302 19:37:14.537994       1 dns.go:221] Waiting for [endpoints services] to be initialized from apiserver...
2022-03-02T19:37:14.538732794Z I0302 19:37:14.538231       1 trace.go:205] Trace[1298498081]: "Reflector ListAndWatch" name:pkg/mod/k8s.io/client-go@v0.19.12/tools/cache/reflector.go:156 (02-Mar-2022 19:36:44.537) (total time: 30000ms):
2022-03-02T19:37:14.538768699Z Trace[1298498081]: [30.000937368s] [30.000937368s] END
2022-03-02T19:37:14.538785086Z E0302 19:37:14.538276       1 reflector.go:127] pkg/mod/k8s.io/client-go@v0.19.12/tools/cache/reflector.go:156: Failed to watch *v1.Service: failed to list *v1.Service: Get "https://<IP_ADDRESS>:443/api/v1/services?limit=500&resourceVersion=0": dial tcp <IP_ADDRESS>:443: i/o timeout
2022-03-02T19:37:14.538793764Z I0302 19:37:14.538307       1 trace.go:205] Trace[2019727887]: "Reflector ListAndWatch" name:pkg/mod/k8s.io/client-go@v0.19.12/tools/cache/reflector.go:156 (02-Mar-2022 19:36:44.537) (total time: 30000ms):
2022-03-02T19:37:14.538797870Z Trace[2019727887]: [30.00089245s] [30.00089245s] END
2022-03-02T19:37:14.538802181Z E0302 19:37:14.538337       1 reflector.go:127] pkg/mod/k8s.io/client-go@v0.19.12/tools/cache/reflector.go:156: Failed to watch *v1.Endpoints: failed to list *v1.Endpoints: Get "https://<IP_ADDRESS>:443/api/v1/endpoints?limit=500&resourceVersion=0": dial tcp <IP_ADDRESS>:443: i/o timeout

this could just be a transient issue. re-triggering the test.

/test-gke

/mlh new-flake Cilium-PR-K8s-GKE

/test-gke

/test-gke

/ci-l4lb