Add SSL context configuration

MongoDB offers a possibility to use SSL client certificates and to use the root CA to verify hosts. This change makes these settings accessible from the config by passing a Hash instead of a boolean to the SSL option.
This patch is heavily inspired by dc21475820ff148fb42963752db0bfa6a23f5e1e

I was trying to use this patch but was unable to get it working until I modded the Moped::Protcol::Commands::Authenticate class to set the Mongo authentication mechanism.
This patch was used in addition to the one this pull request suggests.  You will also need to set the password field in the mongoid config to 'MONGODB-X509'.
module Moped
  module Protocol
    module Commands
      class Authenticate
        MECHANISM='MONGODB-X509'.freeze

        def initialize(database, username, password, nonce=nil)
          if password == MECHANISM
            super("$external", build_x509_command(username))
          else
            super(database, build_auth_command(username, password, nonce))
           end
        end
      end

      def build_x509_command(username)
        { authenticate: 1, user: username, mechanism: MECHANISM }
      end
    end
  end
end


The generator cannot reflect any changes

I tried to make some changes based on the preset below. But no matter what I change in the form on the left, it doesn't show up in the preview.
I tried clicking the Reload button but it doesn't work.
https://particles.js.org/samples/#parallax
Please advise.

Fixed in https://github.com/tsparticles/website/commit/b19176d12ea332ffa42f8942e29e0930663b1a23


AnalyticsSystemTest always fails on circleci/openjdk:8-jdk

Can't connect to EmbeddedZookeeper from spark
However CompactRDDSpec is doing similar thing and works

This seems to be a memory issue, because:
a) this results in a memory complain from spark in the same test
docker run --rm -it amient/affinity-ci git pull && ./gradlew test
b) when testing only the particular module, it passes
docker run --rm -it amient/affinity-ci git pull && ./gradlew :examples:example-distributed-graph:test


Updating changelog

Current release is v3.13.13. Last changelog entry describes version: 3.13.11. It would be nice to know what changes in each release.

done, although just a tip, I release a new version on any commit that passes. So the changelog is not really any different than git's own log


No such file or directory on remote machine

Is this plugin meant to create these directories or is it an issue with xxh instead?
source xxh.zsh +if +q cloud-desktop
[oh-my-zsh] plugin 'zsh-apple-touchbar' not found
[oh-my-zsh] plugin 'zsh-autosuggestions' not found
[oh-my-zsh] plugin 'zsh-syntax-highlighting' not found
[oh-my-zsh] autojump not found. Please install it first.
Starting ssh-agent...
_start_agent:6: no such file or directory: /local/home/username/.xxh/.ssh/environment-hostname
chmod: cannot access `/local/home/username/.xxh/.ssh/environment-hostname': No such file or directory
_start_agent:.:8: no such file or directory: /local/home/username/.xxh/.ssh/environment-hostname
/home/username/.xxh/.xxh/plugins/xxh-plugin-zsh-ohmyzsh/build/ohmyzsh/oh-my-zsh.sh:source:125: no such file or directory: /home/username/.xxh/.xxh/plugins/xxh-plugin-zsh-ohmyzsh/build/ohmyzsh/themes/powerlevel10k/powerlevel10k.zsh-theme

Hello @zaeemnalla!

What is your target host OS and what is your local OS?
Do you have additional settings? (maybe in the xxh config)

Hey, im getting the same, Ubuntu WSL -> CentOS 7, no additional settings afaik

@Fongeme thanks for reporting this! I haven't WSL and CentOS now. So I'm asking additional info from you:

Are you have exactly the same output? If no please provide your output.
Add full info: xxh version, xxh-plugins installed (or any other modifications).
If it is possible add verbose log: xxh myhost +if +v.

I've tested the plugin again in xxh-dev environment and Ubuntu->CentOS have no exceptions:

Could it be related to WSL?

My response is a bit different, i'll attach it and let me know if you prefer me to open another issue(On another glance this could be because i've missed something but not sure):
source /home/yair/.local/bin/xxh.zsh <IP> +I xxh-plugin-zsh-ohmyzsh +if +q +v
yair@<IP>'s password:
[oh-my-zsh] plugin 'zsh-autosuggestions' not found
[oh-my-zsh] plugin 'zsh-syntax-highlighting' not found
/home/yair/.xxh/.xxh/plugins/xxh-plugin-zsh-ohmyzsh/build/ohmyzsh/oh-my-zsh.sh:source:128: no such file or directory: /home/yair/.xxh/.xxh/plugins/xxh-plugin-zsh-ohmyzsh/build/ohmyzsh/themes/powerlevel10k/powerlevel10k.zsh-theme
localhost%

@Fongeme Please run on your home host (where you do source) and post here the output:
echo $ZSH_THEME
echo $plugins

powerlevel10k/powerlevel10k
git ubuntu colored-man-pages command-not-found web-search zsh-autosuggestions zsh-syntax-highlighting

Got it. You've got "not found" warnings because you have additional plugins in your OMZ: zsh-autosuggestions, zsh-syntax-highlighting, powerlevel10k. But xxh-plugin-zsh-ohmyzsh built clean installation of OMZ.
What you need:

Fork this repository and rename to xxh-plugin-zsh-ohmyzsh-Fongeme for example.
Add installation of your additional plugins to build.sh script
After this you can install your pack of xxh OMZ: xxh +R xxh-plugin-zsh-ohmyzsh +RI https://github.com/Fongeme/xxh-plugin-zsh-ohmyzsh-Fongeme

Oh, i thought xxh had support for additional plugins aswell, maybe i could try supporting it in a pr, do you think it's viable?(Have yet to read the source code)

First of all xxh has an ideas behind and one of the idea:

Careful. No blindfold copying config files from local to remote host. Following the privacy and repeatability reasons the better way is to fork the xxh plugin or shell example and pack your config to it.

The next idea is:

Be open and fork-ready. Every repo could be forked, customized and reused without waiting for package management system, xxh releases or any third party.

As result the simple way for the user is just fork the repo and create own version with all lovely tools.

To support the installed themes/plugins you should read it from the zsh configs and install it in build.sh script. I don't know how much work is needed to make this process universal and how seamless the installation process will be. I'm just not the user of zsh/omz. PRs are welcome!

I'm going to close this issue because the first message of this issue has the same problem and the answer is here and above. Feel free to continue the thread.

Okay, following that note, we could have a config for xxh/omz so plugins could be added without having to rebuild, not necessarily grab them from the user environment, but make the xxh environment a bit more configurable(ofc if one wants to copy his configs, one should be able to if we follow that line of thought)

Yeah, for example you can create omz-plugins.txt file in the repo and use it in build.sh as the list of packages to install.

JFYI The start point to understanding how xxh works - https://github.com/xxh/xxh/wiki#how-it-works


Cannot activate extension for SQL Server Import

Azure Data Studio Version:

Steps to Reproduce:

Open a new query
Connect to a database
press ctrl + I

It will then say "Activating Extensions" and then nothing happens

@aasimkhan30 Can you investigate?
@Titovdwalt - If you can provide logs (details below) that'd help

Hi @Charles-Gagnon, I managed to get it to work.
I restarted and then reinstalled the app (not sure if any of that was necessary).
It then showed that it was installing a few things after I pressed CTRL + I and then after a minute or so it worked!

I'm also having this issue, on MacOS 10.15.6, fully patched up to date. I've followed the steps above to find the log files, but I can't see "renderer.log".

@mauvedeity
The actual filename will have a number in it - e.g. renderer1.log.
If you don't see that - what files do you see in that folder?


ci: update wasm clients linter

Description
Make the wasm clients linter exactly match main.
Commit Message / Changelog Entry
ci: make wasm clients linter exactly match main

see the guidelines for commit messages. (view raw markdown for examples)

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

[ ] Targeted PR against correct branch (see CONTRIBUTING.md).
[ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[ ] Code follows the module structure standards and Go style guide.
[ ] Wrote unit and integration tests.
[ ] Updated relevant documentation (docs/) or specification (x/<module>/spec/).
[ ] Added relevant godoc comments.
[ ] Provide a commit message to be used for the changelog entry in the PR description for review.
[ ] Re-reviewed Files changed in the Github PR explorer.
[ ] Review Codecov Report in the comment section below once CI passes.

how can we fix tests here?


Embed the login url as a qrcode into the html email

I own quite a few sn accounts (😅) and I use the login with email feature a lot to log on many devices both on sn's pwa and on my native client and this is a feature I always thought would be really nice to have :)
This makes it much easier to logon on different devices without needing to setup my email account to click the link or copy & paste it somewhere else so I can use it.
Screenshots

I covered the qrcode on purpose so I could take the screenshot

Summary by CodeRabbit

New Features

Enhanced the authentication process by including a QR code in the HTML email template for improved security and user convenience.

amazing!

it adds a dominant visual element to something a new stacker will encounter... I think it might confuse people even if it's cool

Can't we make it less dominant then? Maybe reducing the size and/or placing it at the footer of the email

few people will use

Today there might be few people and, by your comment, mostly on iOS devices but once SN grows outside of the US, many people will be using it on Android devices. Most of the world use Android
Also boomers like email :smile:
I'm not sure if this is a convincing argument to add this feature though

My thoughts:
It's possible to embed logos inside QR codes without breaking them. For example, see https://qr.io/. So it should be possible to do this here, too, and merge the login button with the QR code like this:

So you either click the QR code to login or scan it. The text could therefore be:

Click or scan this QR code

I think this would be a good compromise between "adds a dominant visual element to something a new stacker will encounter but few people will use" and it being a very nice and thoughtful feature for the ones who will use it. I think this would make it less of a dominant element that most people won't use since button + QR code is now the same element so everyone will use it.

@ekzyis that's a good idea
What do you think, @huumn?

I think separate is less confusing personally.

how would your parents react to this email?

With or without a qrcode, I'm certain my father would call me asking for help on "how to start start stackin' them sats" :smile:

@huumn @ekzyis
What about something like this?
The yellow box is a qrcode. I just covered it because I don't know if it contains any info about my account

I think what we want to do is as stated in this comment: https://github.com/nextauthjs/next-auth/issues/709#issuecomment-699496122
This would allow us to get magic link login on iOS PWA + give you your nice to have.
Basically, the link click says "yes, this is me" rather than "take me to the application and log me in."

In isolation, I wouldn't mind having this option, but people have so many issues with email logins on mobile already that I want to solve those issues first. So, we'll close this for now.

@felipebueno if you'd like to solve this with either

an OTP (magic code rather than link) ... this is probably the easiest option
changing the meaning of the links

#727 is difficulty:hard with priority:high


AB#4977

Proposed changes

Related issues

Checklist

[x] I consider the submitted work as finished
[x] I tested the code for its functionality
[ ] I wrote test cases for the relevant uses case
[ ] I added/update the relevant documentation (either on github or on notion)
[ ] Where necessary I refactored code to improve the overall quality

Further comments
If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...

@CyberDaedalus00 when running this branch and attempting to filter on risk lifecycle, nothing comes back. Is there an understanding that some fields are not filterable?

@DallasP9124 @CyberDaedalus00 I can send this back to Active if needed. I think we were only concerned with the fields using the correct enums and my understanding is that the filtering is not ready on the backend.

@johnjdl @DallasP9124 @CyberDaedalus00 What is the status of this PR? Are we checking it in knowing that the backend isn't ready? Are we waiting for it to be ready to check it in?

@r-joyce good question, I think we decided to check this in and handle the backend separately.
Is that right @CyberDaedalus00?


Training plan for operations teams

Training plan on existing resources, deployment configurations, log analysis, initial debugging on openshift for the operations team members

This is a duplicate


The problem with jumping on tilted objects

Hello! I found a problem with jumping on tilted objects.
The more the object is tilted, the worse.
Video: https://www.youtube.com/watch?v=pgXEZI5kQco

Did you try to adjust the collision box?


Add WithContext

Add WithContext(ctx context.Context) method, and a Context property, on Entry. Contexts aren't that useful for the logging itself, but it can be very useful for hooks you may have configured.
Example: You have Bugsnag configured, which store request metadata in the context, and you want to notify Bugsnag on any error-level logs. Without passing along the context through the log entry, the Bugsnag report will lack a lot of interesting detail.

Context are pretty useful indeed.
Thanks for your contribution @tgwizard

Thanks @dgsb @lavoiesl!


21 Issue template

Pull Request Description

This PR contains issue templates for bug report, feature request and documentation.

Related Issue
Closes #21
Changes Made

created files bug_report.yml, documentation.yml and feature_request.yml

Checklist

[ ] I have updated the documentation.
[ ] My changes are tested and working as expected.
[ ] I have updated the relevant tests.
[ ] I have updated the version number (if applicable).
[ ] I have added my changes to the CHANGELOG.md file (if applicable).
[ ] My code follows the code style of this project.

Hey! Sorry for the delay
Thanks for this updated version, this is great!
However, I would suggest not making the reproducing example link mandatory, as it may discourage people from reporting issues. We could instead offer them to either list instructions to follow to reproduce the bug or a link. What do you think?
As a matter of preference, I would prefer a less negative tone in the hint of the Describe Problem (feature_request.yml): "Ex. I am always frustrated when [...]", we may be a bit more soft, something like "Ex: I would like to achieve (...) but (...)"

Closed as this PR has not been updated in a long time


Repo sync for protected CLA branch

The pull request is created from main637782340812381814 to main to fix git push error for protected CLA branch

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


vision: update to v1.1

@stephenplusplus looks like there's an issue with collecting coverage on CI.

Yeah, been working on that. Started a re-build, hopefully it goes this time.

PTAL!
Regarding the simplistic doc messages, we normally use these (these are in fact copied from other methods, for example, detectFaces(): "Run face detection against an image". I'm sure these could be improved if we wanted to elaborate on possible use cases, etc. Currently, we only go above and beyond a long-hand form of the method name where there are technical considerations or non-obvious GCN options (i.e. not non-obvious API options). Otherwise, we link upstream and let the official doc and tech writers do the explaining. If you want to explore going deeper with our own method docs, please open a new ticket for discussion.

Thank you for merging!

:+1: will be doing a bunch of releases shortly.


introduce new CUDA grid method for MD, Segments, Triplets and Trackle…

Use flags in Makefile to select the CUDA grid launching methods.
NESTED_PARA: nested parallelism
NEWGRID_*: new grid launching method

NESTED_PARA: nested parallelism

isn't dynamic parallelism a more appropriate name for this?
https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#cuda-dynamic-parallelism

The multiplicities of the objects between the nested parallelism method and the new grids seem to match. So I'm mergint this

The multiplicities of the objects between the nested parallelism method and the new grids seem to match. So I'm mergint this


pwru: init at 1.0.0

Description of changes
This PR adds pwru package: https://github.com/cilium/pwru
Closes https://github.com/NixOS/nixpkgs/issues/239946
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Oops It is some kind a duplicate of @SuperSandro2000's PR https://github.com/NixOS/nixpkgs/pull/224886/ but with the latest version.
This derivation handles the pcap-filter feature.

I am trying to make it work on aarch64-linux.

ping

Result of nixpkgs-review pr 243638 run on x86_64-linux 1

1 package built:

pwru


[auto-merge] branch-24.06 to branch-24.08 [skip ci] [bot]

auto-merge triggered by github actions on branch-24.06 to create a PR keeping branch-24.08 up-to-date. If this PR is unable to be merged due to conflicts, it will remain open until manually fix.

SUCCESS - auto-merge


Adding mariner support in dapr init

Signed-off-by: shivam<EMAIL_ADDRESS>Description
It adds support for mariner images in dapr init
Issue reference
We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.
Please reference the issue this PR will close: #1004
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:

[ ] Code compiles correctly
[ ] Created/updated tests
[ ] Extended the documentation

@shivamkm07 id this PR ready to be reviewed?

@shivamkm07  please check linter error

@shivamkm07 Can we add an E2E test for upgrade secanrio using mariner?

@shivamkm07 IMO we should add E2E tests for at least init and uninstall in k8s mode. WDYT ?

Done

@shivamkm07 IMO we should add E2E tests for at least init and uninstall in k8s mode. WDYT ?

Done

@shivamkm07 Please add in a docs PR ....

Created docs issue https://github.com/dapr/docs/issues/2747 @shivamkm07

Docs PRs:
https://github.com/dapr/docs/pull/2752
https://github.com/dapr/cli/pull/1054


No liquid supported

Mod version: rftools-1.1x-5.88
Deep resonance: deepresonance-1.1x-1.4.6
Beyond modpack latest version(1.2.0)
I've recreated the code from your video to a "perfect" crystal, but no matter what the crystal liquid doesnt get recognized, i thought the issues were the tanks but the lava program works without a issue. Network node is 1 and the tank is east side of it. Changing the liquid content to something else works, the only issue is resonating liquid crystal.
Code: http://pastebin.com/aXiZASu0
PS: the code in the pastebin above contains a bunch of wrong node names and position but thats irrelevant as the code breaks on 1,0 , for testing reasons i made a code  that simply checks the liquid and returns a string in the console and still breaks on the liquid check.

What tank were you using?

DR ones , i tried with every single "portable" tank and similar, no matter what i did it never recognized the liquid, this happened a while ago tho i'm not sure if it was fixed recently or not. Like i said putting anything else in the tanks and trying to read them with rftools worked, the issue only presented itself when using resonating liquid crystal.


Update table: user_roles

simple join table assigning one or more roles to users
no changes to schema
no draft/private fields

Permissions by role

public: none
registered, no role: none
analyst: R
manager: R
admin: CRD

not sure if any work is needed here at all?

The permissions still need a bit of love


Unbound: implement a DNS overview page with detailed statistics

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:

[x] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
[x] I am convinced that my issue is new after having checked both open and closed issues at https://github.com/opnsense/core/issues?q=is%3Aissue

Is your feature request related to a problem? Please describe.
There is currently no detailed reports on DNS traffic, including blocked/passed domains and detailed query information. This makes it hard to gain insight into the effectiveness of blocklists or client activity.
Describe the solution you like
The python extension in Unbound allows us to communicate with a backend so we can store detailed query information and form a report in the GUI. The overview would also allow us to quickly block/whitelist domains.

Implemented in https://github.com/opnsense/core/pull/6101


Possible to pin DualWield, then pin 2 weapons, then unpin DualWield, and then the build will have 2 weapons, without dual wield added.

corrected


tt_lib.tensor.sum dim=0 fails with low PCC when TT_METAL_SLOW_DISPATCH_MODE is on [Grayskull]

ttl.tensor.sum operation with dim=0 breaks with low PCC error when TT_METAL_SLOW_DISPATCH_MODE is on
To Reproduce
Steps to reproduce the behavior:
Checkout main branch
Run unit test test_sum_0.py using this command:
pytest tests/tt_eager/python_api_testing/non_working_unit_tests/grayskull/test_sum_0.py
Expected behavior
There are test cases presented in the unit test test_sum_0.py and most of them are expected to fail with low PCC error.
For example, one of the tests is expected to fail with this result:
Max ATOL Delta:<PHONE_NUMBER>8828125, Max RTOL Delta: 22788.279296875, PCC: -0.0012731579041897747, PCC check failed

This is SLOW_DISPATCH_MODE bug problem https://github.com/tenstorrent-metal/tt-metal/issues/4350


doc: problematic example for composite literals

In effective go L1245, there are example of describe how to use composite literals to initialize array and map,
a := [...]string   {Enone: "no error", Eio: "Eio", Einval: "invalid argument"}
s := []string      {Enone: "no error", Eio: "Eio", Einval: "invalid argument"}
m := map[int]string{Enone: "no error", Eio: "Eio", Einval: "invalid argument"}

But these example are incorrect.

They seem fine to me.

http://play.golang.org/p/hcKalEJzTE

Sorry, I'm an newbie in golang, it seemed wire for me that in
&File{fd: fd, name: name}

fd literal means field while in
a := [...]string   {Enone: "no error", Eio: "Eio", Einval: "invalid argument"}

Enone will first being evaluated before decide which field it belongs to.

Please ask the question on the golang-nuts mailing list.
The issue track is not for explanation of basic language
features. Thanks.


Date Sat Mar 11 2023 00:44:06 GMT+0800 (Chinese Standard Time) is recorgnized as Mar 10 in heatmap

Hello.
There's my data :
[.....,{ date: Date Fri Mar 10 2023 08:00:00 GMT+0800 (Chinese Standard Time), rate: 0 },
{ date: Date Sat Mar 11 2023 00:44:06 GMT+0800 (Chinese Standard Time),rate: 1},.....]
My cal-heatmap should show like this :
In block Mar 10, opacity should be 0, value should be 0. In block Mar 11, opacity should be 0.2, value should be 1.
But now, it works like this :
In block Mar 10, opacity is 0.2, value should be 1. In block Mar 11, opacity is 1, value is null.
This means that my data for Mar 11 is recorgnized as data for Mar 10, and Mar 11 become null.
Can you tell me why and how to fix it?

How are declaring the date in your data ?

{ date: new Date('Fri Mar 10 2023 08:00:00 GMT+0800 (Chinese Standard Time)'), rate: 0 }

or

{ date: 'Fri Mar 10 2023 08:00:00 GMT+0800 (Chinese Standard Time)', rate: 0 }

new Date() one

Are you using a timezone ? https://cal-heatmap.com/docs/options/date#timezone

No, I'm not setting it in my code, cause I want it to change with user's timezone.

So I guess you're located yourself in the +8 timezone ?

yes

Do you see the same issue here ?
https://jsfiddle.net/3nsrpvL5/
If yes, does enabling the timezone (uncomment the timezone line) solve the issue ?

I've tried this. However, it doesn't work for me.
And I've tried several different way to declare my date, such Date.parse(), make it string. All of these just didn't work.
Finally, I used date.setHours(8), then problem is solved.

For consistency, date format should always follow ISO 8601 (https://cal-heatmap.com/docs/options/data#x), using any other format may leads to bug, such as the timezone now recognized.
'2018-04-04T16:00:00.000Z'
'2018-04-13 19:18:17.040+02:00'
'2018-04-13 19:18'

The best and robust way will be to use a timestamp format for your dataset

Just try with new Date('Fri Mar 10 2023 08:00:00 GMT+0800 (Chinese Standard Time)') on a javascript console (such as Google Chrome dev tools), and you will see that the returned date has lost the timezone setting (unless you're on GMT+8)

Hello, sorry to bother you again.
I feel like my explanation about declaration of date is not very clear.
Actually, I did not declare date with timezone.
Here's my code.
`const datesMonth = getDatesInRange(firstDay, lastDay);
const dataset = datesMonth.map((d) => {
const exist= records.find(
(record) => new Date(record.date).getDate() === d.getDate()
);
if (exist) {
return { ...exist, date: new Date(exist.date).getTime() };
} else {
return { date: d.getTime(), rate: 0 };
}
});`
records is my meaningful data, including rates and dates(not everyday in the month), the format of date is ISO 8601 format.
datesMonth includes every date(time is 00:00:00) in the current month, format of date is Date().
dataset is the data source of cal-heatmap.
No matter I use origin format (mix of 2 types)
or using getTime() to make them all timestamps
or use new Date() make them all Date(),
the result shown in heatmap is the same :
all values of dates before records[n].date and last date of month are null. And timezone related issues occured  in some data.
That's why I finally choosed .setHours(8), even this is not a best way obviously.
Would you like to tell me what my problem is? Is it because there is anything wrong with my stitched data?

I am having the same problem.  A date of 2023-05-02T03:00Z (whether in string form or as a numeric time) will be put in the May 2 bucket instead of the May 1 bucket in the heatmap regardless of the time zone.  Since my browser is PDT, it should default to May 1.
It suspect the problem is here:
https://github.com/wa0x6e/cal-heatmap/blob/d9a8e3cabb230d275cce2a5ae0156f08981ca693/src/helpers/DateHelper.ts#L160-L161
It sets the time zone to this.timezone, but immediately sets it back to UTC using .utcOffset(0).  As a result, the .startOf("day") sets the bucket to the UTC midnight:
https://github.com/wa0x6e/cal-heatmap/blob/d9a8e3cabb230d275cce2a5ae0156f08981ca693/src/helpers/DateHelper.ts#L206
This makes the cut-off for the buckets always UTC and ignores the time zone.  I may be misunderstanding the code but that's what seems to be happening.

I am having the same issue even though I set the timestamp to my local time. My data looks like this:
1703419200000,0
1703422800000,2
1703426400000,5
1703430000000,3
1703433600000,45
1703437200000,3
1703440740000,0
1703444400000,7

But the graphs always render as only UTC. Could it be because of the utcOffset(0)  mentioned above? I tried removing this but then got some other errors.
Thanks.

Further context
Here is what I am using to draw the calendar:
// Custom template to draw hours in one vertical column
const RowHourTemplate = function (DateHelper) {
    return {
        name: 'hour_same_row',
        parent: 'hour',
        rowsCount() {
          return 24
        },
        columnsCount() {
          return 1
        },
        mapping: (startDate, endDate, defaultValues) =>
            DateHelper.intervals('hour', startDate, DateHelper.date(endDate)).map(
                (d, index) => ({
                  t: d,
                  x: 0,
                  y: index,
                  ...defaultValues,
                })
            ),
    };
};

const cal = new CalHeatmap();
cal.addTemplates(RowHourTemplate);

cal.paint(
    {
        data: {
            source: './usage_hr.csv',
            type: 'csv',
            x: d => +d['epoch'],
            y: d => +d['gallons'],
        },
        date: {
            start: new Date('2023-10-27'),
            highlight: [
                new Date(), // today
            ],
            //timezone: 'America/Los_Angeles', // does not matter if this is uncommented
        },
    range: 90,
    scale: {
        color: {
            range: ['#efefef', 'blue', 'red'],
            type: 'linear',
            interpolate: 'rgb',
            domain: [0, 70, 100],
        },
    },
    domain: {
        type: 'day',
        label: { text: null },
    },
    subDomain: { type: 'hour_same_row', width:6, height: 10, gutter: 1 },
    //subDomain: { type: 'hour'}, // this yields the same output in UTC
    },
);

and here is a snippet of the CSV that is being called:
epoch,gallons
1698440400000,0
1698444000000,0
1698447600000,1
1698451200000,32
1698454800000,43
1698458400000,23
1698462000000,60
1698465600000,0
1698469200000,2
1698472800000,1
1698476400000,0
1698480000000,0
1698483600000,0
1698487200000,0
1698490800000,0
1698494400000,3
1698498000000,11
1698501600000,3
1698505200000,0
1698508800000,16
1698512400000,2
1698516000000,10
1698519600000,54
1698523200000,0
1698526800000,4
1698530400000,7
1698534000000,0

Do you see the same issue here ?
你在这里看到同样的问题了吗？
https://jsfiddle.net/3nsrpvL5/
https://jsfiddle.net/3nsrpvL5/
If yes, does enabling the timezone (uncomment the timezone line) solve the issue ?
如果是，启用时区（取消注释时区线）是否解决了问题？

Thank you, buddy. You helped me solve a problem that had been bothering me all night


Fix alt

Hey @maggiegreco - I think you meant to PR these changes to your personal repo, not the coursewide one.  Code looks nice though! :)


Use own created glfw window.

I'm creating my own window with glfw. When I look at wgpu example its using wgpucanvas which creates the glfw window for you. How do I render with the window I created.

Interesting! Could you tell us more about the use-case? Why can't you use the window that GlfwWgpuCanvas  creates for you?
The wgpu canvas needs to hook up with the window to keep track of its size, when to redraw, etc. Knowing more about the why, can help us determine if/how this case can be supported.

I'm using glfw to create the window then getting the HWND ptr to then changing the style of the window with pywin32. I need to have complete control of the styling of the window as most APIs that create the window for you don't allow this. Most windows created use the WS_CAPTION window style. I need to be able to create a window with the WS_THICKFRAME styling.
If wgpu exposed the GlfwWindow with WgpuCanvas. I could do the styling no problem.
canvas = WgpuCanvas()
window = wgpu.get_glfw_window(canvas)
hwnd = glfw.get_win32_window(window)

style = win32api.GetWindowLong(hwnd, win32con.GWL_STYLE)
style |= win32con.WS_THICKFRAME
style &= ~win32con.WS_CAPTION
win32api.SetWindowLong(hwnd, win32con.GWL_STYLE, style)

I'm pretty sure that canvas.get_window_id is the HWND that you're looking for. Incidentally wgpu needs it too to create a surface.
Otherwise you can try using canvas._window which is the glfw window reference. If you need this one, we can make it a public property to support use-cases like this.
Another option is to be able to pass a window object like GlfwWgpuCanvas(... window=my_window). This may better if you'd need to initialize the window in a specific way.

In all honesty I'd rather just have the bindings of wgpu made to work with python. I'd prefer to do most of the stuff myself to a degree. It's better for learning and It's easier to get help.
I hope this isn't coming across as rude. I'm grateful there is even a module for this on python. I hoping for something more barebones in the future.

In all honesty I'd rather just have the bindings of wgpu made to work with python. I'd prefer to do most of the stuff myself to a degree. It's better for learning and It's easier to get help.
I hope this isn't coming across as rude. I'm grateful there is even a module for this on python. I hoping for something more barebones in the future.

You can just read the source for our canvases and do it yourself with the bindings, just like we did. We're not forcing you to use the canvases in any way.

To add to that, we have https://wgpu-py.readthedocs.io/en/stable/generated/wgpu.gui.WgpuCanvasInterface.html exactly for this reason (not forcing people into using our gui stuff). You can use it as an interface (duck-typing), but if you subclass it you only need to implement get_window_id and get_physical_size.

I closed the issue, but if you have further questions feel free to ask!

Like I already said, you can decide not to use wgpu.gui and build everything yourself using the wrappers.

With the exception that wgpu needs a little information about the canvas, and a way to obtain a context. This is what the canvas interface is for.

With the exception that wgpu needs a little information about the canvas, and a way to obtain a context. This is what the canvas interface is for.

Well, yeah, but if you really want to build your own GUI layer, then that's exactly the part you need to do yourself right?

Yes, the WgpuCanvasInterface is primarily a specification  of what you'd need to implement.


Rebase develop

This change is

Proposal to squash the extra 3 commits into existing commits which are relevant:
==Squash 1==
Commit aede2294297306b7bd125330e9fbb6c62d6c6b79 can be merged with d852b2fa06a01d70ac774baa9aced9700d255852
commit aede2294297306b7bd125330e9fbb6c62d6c6b79
Author: Sounak Gupta<EMAIL_ADDRESS>Date:   Tue Aug 23 00:16:38 2022 -0700
fixes for test build
commit d852b2fa06a01d70ac774baa9aced9700d255852
Author: Igor Chorazewicz<EMAIL_ADDRESS>Date:   Tue Feb 8 23:48:37 2022 -0500
Fix tests and benchmarks compilation
Compilation of some of the tests was failing with:
"undefined reference to `facebook::cachelib::test_util::getRandomAsciiStr[abi:cxx11](unsigned int)'"
Fix this by linking those tests with common/TestUtils.cpp

Also, for some reason specyfing sources as in
add_library(common_test_support INTERFACE [sources...]) did not work.
Using target_sources works fine.

==Squash 2==
Commits 0099dc2d1d4c30786ca952dbcf26d7331fa03b5e and c9fd02b585e2f4724bf2d981dc1e6008a253ba8e can be merged with e50a45c662347f75eed69642ca70b1e2628e1164
commit 0099dc2d1d4c30786ca952dbcf26d7331fa03b5e
Author: Sounak Gupta<EMAIL_ADDRESS>Date:   Tue Aug 23 00:10:01 2022 -0700
fixed the build routines
commit c9fd02b585e2f4724bf2d981dc1e6008a253ba8e
Author: Sounak Gupta<EMAIL_ADDRESS>Date:   Thu Aug 11 00:34:48 2022 -0700
fixes for rebase
commit e50a45c662347f75eed69642ca70b1e2628e1164
Author: Igor Chorążewicz<EMAIL_ADDRESS>Date:   Tue Jul 5 14:31:33 2022 +0200
Issue75 rebased (#88)
* #75: Use actual tier sizes (rounded down to slab size and decreased by header size) when creating new memory pools
* Added getPoolSize method to calculate combined pool size for all tiers; added pool size validation to tests
* Explicitly specified type for totalCacheSize to avoid overflow
* Minor test change
* Reworked tests
* Minor change
* Deleted redundant tests
* Deleted unused constant
* First set of changes to cache configuration API to enable multi-tier caches (#138)
Summary:
These changes introduce per-tier cache configuration required to implement features discussed here: https://github.com/facebook/CacheLib/discu

ssions/102. These specific changes enable single DRAM tier configs only which are compatible with the current version of cachelib. Configuration A
PI will be expanded as multi-tier changes in other parts of the library are introduced.
Pull Request resolved: https://github.com/facebook/CacheLib/pull/138
Reviewed By: therealgymmy
    Differential Revision: D36189766
    Pulled By: jiayuebao
    fbshipit-source-id: 947aa0cd800ea6accffc1b7b6b0c9693aa7fc0a5

Co-authored-by: Victoria McGrath<EMAIL_ADDRESS>


Fix instruction list parargraph margins

Add margins to instruction list paragraphs as these are too close together in the short version if a css reset is present.

:+1:


use public resolver 2

This PR uses the latest resolver...
Unfortunately there are 3 different public resolvers and each user can set their own.
It is possible to get the resolver like we do in the view.en.js page but we cannot plug it in as a contract reference so I am stuck here.
created issue here: https://github.com/AlphaWallet/TokenScript-Examples/issues/88

Since it's a fixed number of contracts, we do:

Declare all contracts.
Allow users to set contracts.


Failed to use PHP-FPM

Hello,
This is a follow-up of the issue #10
My launchrocket refuse to handle php-fpm v5.5 taped from josegonzalez.
Here is a screencast showing my issue
and here is a dump from my Preferences logs (Open preferences, start php-fpm, stop php-fpm, start again, stop again, quit)

I did switch to brew services


Claim Proceeds Total in Modal doesnt update if you claim an individual market

@bthaile this is probably what happened with the claim stake and fees (probably got claimed through the market pg) and the modal didnt update
In this modal I had 3 markets to claim on.... I claimed 1 market individually(not through the claim all button), after it processed that market disappeared, but the total on the bottom didnt update
(It does update if you leave the modal and come back or just view the balance in notifications)

this got fixed in one of the P/L PRs

fixed - closing


The organisation would like a report on the capital cities in the world

A report containing the following columns

Name.
Country.
Population.

provide a report on Report All the capital cities in the world organised by largest population to smallest


Implemented bump2version action

Why
Duplicate versions prevent pushing the package live on TestPyPi as it doesn't overwrite the previous package.
How
Using Bump2Version will automatically bump up the minor version and do a commit with new git tags.
Github Action New Steps:

Install Bump2Version
Run Bump2Version to update the version in setup.py and .bumpversion.cfg
Bump2Version creates a git tag and commits the files
Using ad-m/push action I push the latest commit

Ran into an issue where a user has to be registered for the commit (Check the details in publish python for info), what email and name should I use? Is there a git user for Nebra admin?


option to use ServiceStack json serializer

The ServiceStack json serializer is significantly faster than Newtonsoft's: http://www.servicestack.net/benchmarks/
We're looking to use Riak for logging and we need to get past some perf bottlenecks to do this.  Faster serialization will be crucial.

I'll take a look into what it will take to add this. Right now I'm moving to finalize a few minor tweaks to push a functional 1.0 out the door. Changing out the serializer will be a bit of work - it'll be a 1.1 type of thing.

You know, I think I misunderstood... Are you looking for an option to serialize your C# objects using ServiceStack.NET?

Yes, I'd like to use ServiceStack.Net to serialize my objects instead of Newtonsoft.

Since ServiceStack.Net doesn't implement and BCL interfaces, what we can do is supply GetObject and SetObject methods that accept a delegate so you can pass in a function reference that will produce an appropriately encoded string. Ultimately, of course, it doesn't matter if you're making JSON, XML, ProtocolBuffers, or brainf*ck code, so the method will likely look like SetObject(T object, string mimeType, Delegate magicalDelegate).
Does that meet your needs?

Implemented a fix for this in commit https://github.com/DistributedNonsense/CorrugatedIron/commit/c6d55b40a501977724f0e43c2c34b669e48f7271


create and adress proper kernel dir

hopefully we should be able to replace all these with the imported paths so something like:
from stixcore.data import test
...
kernel_dir  = str(test.ephemeris.META_KERNEL)

maybe for another issue?
Originally posted by @samaloney in https://github.com/i4Ds/STIXCore/pull/76#discussion_r584582780

closed with: https://github.com/i4Ds/STIXCore/pull/76


Add tests for add

Thank you but we have more comprehensive tests for add in https://github.com/ipfs/interface-ipfs-core/blob/master/src/files.js. They are loaded here: https://github.com/ipfs/js-ipfs-api/blob/master/test/api/files.spec.js#L24

@dignifiedquire Can we make it clearer that that is the case? Duplicated effort should be avoidable.

@RichardLitt we are in this weird transition period, eventually 95% of the tests will be moved to interface-ipfs-core and then it will be much clearer. Not sure how to do it in the meantime, PRs welcome though :)

Well, right now we have this in the README:

Add tests. There can never be enough tests.

Maybe remove that?

Thank you @taravancil, it is really our fault for not being more explicit on how we are defining the interface and testing it. You see, since we are shooting to have the same interface in both js-ipfs and js-ipfs-api, we created a module just for its definition and batch of tests.
I've added more information to the readme on https://github.com/ipfs/js-ipfs-api/pull/332, please do continue to contribute to js-ipfs and js-ipfs-api :) We are still far from 100% code coverage, would love to get there :)
Going to close this PR for now. Check all the other tests at: https://github.com/ipfs/interface-ipfs-core/tree/master/src


[pg] fix typo in docs

In Joins section under Many-to-one there are typos cities2.id and users2.id
These should be cities.id and users.id

Sorry friend, already fixed here https://github.com/drizzle-team/drizzle-orm/pull/522

Closing as duplicate of #522


Make database dir nullable in Android

The user should not be required to set a specific database directory. The SDK should use the app directory by default.

not actually an issue.


Pulls/4.0/transmutation

Resolves #340
Resolves #294
Allows a user to add an element without having to browse to a new form in order to fill in default information. This allows speedier content entry and reinforces inline editing as the standard way to edit elements.

Final behat test failure appears unrelated - working with @ScopeyNZ to resolve (over multiple development branches).

GREEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEN 💚
💜 ?

@NightJar I merged another PR which it'd be good for you to resolve the conflicts on and re-test, I think it was #439 which also changes from pulling blocks for a page to pulling blocks for a page's area. I approve the PR as it stands, and am happy for you to self merge it in the morning once it's green.

Cool, it'll be needing a rebase since another merge - I'll do that then merge when green :)

Neat, thanks team :)


Provide oss license information

It would be good to have a LICENSE.md file included. Maybe Apache or MIT?

feel free to add MIT via PR


Launch multiple programs on desktop entry/exit?

Is there a way I could set this up so that I could launch my notes and a web browser for instance when switching to desktop n? Thanks!

Nm, I figured out that I can simply point virtual desktop enhancer to a batch file that launches multiple programs.

You could also separate multiple commands with & like in calc.exe & notepad.exe.


[Upload Epic] Upload checksums to a _checksum table

Once uploads are finished, upload a record to the dash_checksum table with the following columns:

Tablename
Total rows uploaded
Snapshot time
Number of files uploaded

this has been replaced by the new thinking on v2 model. - which incorporates the checksum into the upload process.


misc: add script to convert html to pdf

I actually tried initially to implement something like this with jsPDF...

Yes, the intention is that it runs on the html file output.
The command should look something like:
scripts/convert-to-pdf.sh path-to-file.html

I'm not sure why it is returning a blank document for you. Will need to look into it some more.

Confirmed working, as discussed. I had only specified a filename, not a path 🙄.


Initial commit; scripts and documentation

Extracts out the ClinVar re-summary process into a separate repo
The README files explain the purpose and process (could probably use a little workshopping, they're paraphrased & adapted from the AIP content), a Dockerfile and example script show this working end-to-end, and a new script is introduced which runs the whole PM5 table generation process based on an annotated VCF instead of a MatrixTable

Looks good, but we need a better name. My mind went anti-filibuster which led me to clinvar-cloture, the process used to end a filibuster.
See if you can think of something better. I see it likely we put this up as a public resource for use at some point.

How about ClinvArbiter?
Atbiter - a person who settles a dispute or has ultimate authority in a matter.


onExpandedChange handler is not passed complete row information

The function signature for the onExpandedChange handler is, evidently:
(expanded:any, viewIndex:number, e:any)
where currently, and as described earlier in a bug report, 'e' is useless.
The problem I'm having is that the index value passed in the second parameter is the view index. This evidently equals the actual data index when there's no filtering (and sorting, come to think of it, though I haven't tried that yet.)
This is a big problem if the function needs to have access to the underlying table data for the expanded row. By contrast, the SubComponent prop in ReactTable passes a row object to the handler which does include both the actual data index and the view index.
Arguably the second parameter should be the actual data index and not the view index. I'm not sure offhand what value the view index has to the onExpandedChange handler. Alternatively, if the actual data row object were passed to the handler, as it is with the SubComponent handler, the problem would be solved. I could see two backwards compatible solutions to this. One would be to add a fourth parameter to the onExpandedChange handler which would be the row object. Another would be to add a new prop, named say onExpandedChangeRow, with a signature of:
(expanded:any, row:any, e:any)
A non-backwards compatible change would be to change the existing second parameter so that it was the actual data index, not the view index. This is inferior IMO to passing in the row object because it requires accessing a source for the table data that's separate from the ReactTable's copy of it.

Done: https://github.com/tannerlinsley/react-table/pull/1299


"All craftable tokens" mentioned twice

The subheader of the Discover page says:
Here's a list of all the craftable tokens, have fun!
Right below that, there's a section title that says:
All Craftable Tokens

This makes the subheader repetitive. It might not be necessary at all, so what about removing it?
Or if you want to keep, what about changing it to something like: "Here are the tokens, have fun!"

Closed in e8185ad8fc4b0b6fff4db34ce2b6ffdabff6477b


[Storage] Investigate test_quick_query_output_in_arrow_format

This has been a long withstanding issue that keeps coming up in the pipeline every once and awhile (due to changes on the Service end). For the time being, the test only does the following:

Test that the Service accepts our SQL-like query
Test that our SQL-like query is well-formatted and does not return an exception

We would like to eventually extend the test to also do the following:

Verify the output matches the expected output. Due to changes in the Service end, byte-by-byte comparison has proven problematic. To alleviate this, we should probably get a better understanding of what this API call does so that we can compare the properties of the output rather than byte by byte (as any difference may just be due to formatting of the output, not the actual data being communicated).

Label prediction was below confidence level 0.6 for Model:ServiceLabels: 'Storage:0.13890193,Compute:0.11040757,Service Bus:0.10453697'


bulk. BulkUpdate. CollectErrors did not print the error log

When using Docstore. IndexAll (Class), IO. Ebeanservice. Elastic. Bulk. BulkUpdate. CollectErrors did not print the error log, want to add a listener, when there is an error to see what had happened.
I changed the code in my project, added listeners, and saw exactly what went wrong.

Right.
Do you want to submit a PR showing the API changes you'd like with the listeners?
Additionally or alternatively it looks like BulkUpdate.flush() should return the collected errors ... which would be a List<Map<String,Object>> but we should probably wrap that in a new BulkResponse type object.

I'm going to submit a PR recently.


[BUG] Sidebar not scrolling properly

Description
I've just noticed that sidebar isn't scrolling upto the bottom, its sticky
Screenshots

Any additional information?
No response
What browser are you seeing the problem on?
No response
Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[ ] I am willing to work on this issue (optional)

I would like to work on this

I would like to work on this

Sure, assigning to you


example config.yaml file

It would be awesome if there was an example file.  We are using the old logdna agent and trying to upgrade.  It seems like /etc/logdna.conf is no longer the way to get the agent configured.

Forgot to mention i followed the installation instructions for linux (centos8).  After the yum install, there is no example /etc/logdna/config.yaml file.  The documentation seems to indicate the file would be there.

I managed to generate a config.yaml based on the syslog entries upon startup.  I still cannot figure out how to make the agent monitor a specific set of files.  Could you provide a an example config that will monitor /var/log/file1 and '/var/log/file2.log' and nothing else?

+1
I am also desire to check it, Thanks

+1
I am also desire to check it, Thanks

+1 Also had the same issue.


build: optimize build configuration

Vite configuration always checks/merges the root configuration, so this PR excludes duplicate plugin configuration. Additionally, .d.ts files are only built for production builds. CI test runners are reduced in concurrency.

Codecov Report

:exclamation: No coverage uploaded for pull request base (lit-migration@8d915b8). Click here to learn what that means.
The diff coverage is n/a.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
@@               Coverage Diff                @@
##             lit-migration    #2033   +/-   ##
================================================
  Coverage                 ?   88.88%
================================================
  Files                    ?       91
  Lines                    ?     9875
  Branches                 ?      408
================================================
  Hits                     ?     8777
  Misses                   ?     1094
  Partials                 ?        4

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


Semantic type/category information in PubMedDS and WikiMedDS datasets

Hi there!
I downloaded the datasets included with MedType by running download_datasets.sh. I noticed that some datasets (ncbi.json, medmentions.json) include category information, while others (wikimed.json, pubmed_ds) don't. I couldn't find any documentation for why category information is not included -- I notice that figure 4 from the MedType paper specifically mentions that Semantic Type of the term. Is that information available in these datasets somewhere? If so, could you please document how to access that information in this repository?
Thanks so much!

Hi Gaurav,
All the datasets are in the same format. Can you share an example from each dataset and what is missing in wikimed and pubmed_ds?

Thanks for the quick response! I've set up a Gist showing what I mean at https://gist.github.com/gaurav/cbe44a3c3a36586d57fb9656c98bc2d9
If you look at an annotated entity C0013720 (Ehlers-Danlos syndrome) in MedMentions, you'll see that it includes the category (T047 = Disease or Syndrome):
https://gist.github.com/gaurav/cbe44a3c3a36586d57fb9656c98bc2d9#file-medmentions-line-70-json-L7-L13
However, a comparable annotated entity in PubMedDS includes a link_id (C00229045) and mesh_id (D009865), but no semantic type/category:
https://gist.github.com/gaurav/cbe44a3c3a36586d57fb9656c98bc2d9#file-pubmed-line-2-json-L6-L12
I think I can look up these categories by using PubMed's APIs, but since you mention it in your paper, I was wondering if maybe you had a version of PubMedDS that already included this category information? I think it might be of use to other users of PubMedDS as well.
Thanks again!

Hi Gaurav,
yes, seems like we somehow missed including that. Just use UMLS to get the semantic type for each concept.
thanks!


[AMBARI-24897] Reduce Visible Artifacts from the SPI

What changes were proposed in this pull request?
The SPI exposes too many internal dependencies to its consumers. Some dependencies, such as commons-lang might be useful and should still be provided. Others, such as gson should be hidden.

Remove non-essential dependencies from being seen by consumers of the SPI
Prevent consumers of the SPI from double-copying dependencies which Ambari Server already has

How was this patch tested?
Performed a full build and dry run deploy:
mvn release:prepare -DdryRun=true

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 58.877 s
[INFO] Finished at: 2018-11-14T12:15:31-05:00
[INFO] Final Memory: 22M/618M
[INFO] ------------------------------------------------------------------------

Verified dependencies are no longer transitive to consumers.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/4533/
Test PASSed.


Added Makefile

I went ahead and added a Makefile and edited the instructions on the readme. Please make sure to test this yourself.

@TorchedSammy I need more info...
Can you show me what's in the current directory?
Also, make sure your in the project directory and maybe try a different shell. (Also this seems to be just a go error)

I was in Hilbish's root directory, a normal go build worked
I'll try with a different shell when I get home

Same error in zsh

Yes make install needs sudo as it copies and installs files to something under /user. It won't work without it. Make build will work without sudo.

Error was on my part, tested with PREFIX=. and it works as expected, merging


[Feature]: Add hashtag filter

I would also like to second this feature request.
Currently I have way too many checkboxes in my vault and filter out the important ones that are actual tasks with >#task using the tasks plugin.
I think having the ability to filter by hashtag would be essential for me to move forward with using this plugin.
It's an awesome plugin and I really want to use it but for me I think this would be necessary to move forward

Originally posted by @rchaklashiya in https://github.com/dromse/obsidian-grind-manager/issues/6#issuecomment-2048014395

I added this feature in acf8790, it will be available in 1.1.0 (Release 15 April)


help

Sometimes it works fine, sometimes it wants a proxy, although all my accounts are without a proxy and the proxy setting is generally disabled

fixed it, update


No support for sticky positioning

At the moment we still have to manually enter prefixes if we want something to have position:sticky.  As far as I know it is currently only a webkit feature but I am sure other browsers will start to support it before too long.  (well maybe not ie).  You can read about it here http://updates.html5rocks.com/2012/08/Stick-your-landings-position-sticky-lands-in-WebKit
It says in this article that it is only in chrome canary but stable chrome has now reached version 23 and i can confirm that if the experimental webkit features flag is enabled it works in this version.

https://drafts.csswg.org/css-position/Overview.html#sticky-pos


bug-fix-like-dislike-comments

What does this PR do?

allow a user to change from like to dislike and vice versa on
a single request
update like/dislike URLs to be detailed enough
write tests for the modifications

How can this PR be manually tested?

Visit this app using this [link] in postman
Login and like a comment
Dislike the same comment

Hello @pbkabali! Thanks for submitting the PR.


Upgrade to Jekyll 4.0

https://github.com/jekyll/jekyll/releases/tag/v4.0.0
https://forestry.io/blog/how-i-reduced-my-jekyll-build-time-by-61/

Jekyll 4 has a new cache API so we need to exclude .jekyll-cache in our _config.yml file for now using the exclude: option like so;
exclude:

 - .jekyll-cache

We can also add .jekyll-cache to our .gitignore file.
Next, update Jekyll with bundle update and then once again run a new build command with the Liquid --profile flag.

Done in #115


Bot does not remember timezone in Custom Reaction

Bot does not sync to the new set timezone, not to sure about the playing with, but here.
(https://itsfriday.s-ul.eu/xn956NHd)
https://itsfriday.s-ul.eu/9d4FxVV3

Rehosts and showing images properly to save lazies time:

👍

http://nadekobot.readthedocs.io/en/latest/Placeholders/


Are static categorical features standardized to zero mean and unit variance?

In the DeepAR paper, categorical features are normalized to zero mean and unit variance. Is this being done behind-the-scenes with GluonTS when using static_cat_feats?

@jaheba Any thoughts on this?

Hi @lotsoffood  and @andmib,
no, categorical features are not standardized.


[Issue] Panic when running azd up (nil pointer)

Output from azd version
azd version 0.3.0-beta.4 (commit 2f4c6d14f8a9afcdaaff769f3fa010040f1e9120)

Output from az version
{
  "azure-cli": "2.41.0",
  "azure-cli-core": "2.41.0",
  "azure-cli-telemetry": "1.0.8",
  "extensions": {}
}

Describe the bug
When I opened https://github.com/pamelafox/django-on-azure in Codespaces and ran azd up, I got this error:
@pamelafox ➜ /workspaces/django-on-azure (main) $ azd up
? Please enter a new environment name: django-workshop-example
To sign in, use a web browser to open the page https://microsoft.com/devicelogin and enter the code F4SFQSJJ5 to authenticate.
? Please select an Azure Subscription to use: 74. ca-pamelafox-demo-test (32ea8a26-5b40-4838-b6cb-be5c89a57c16)
? Please select an Azure location to use: 41. (US) East US 2 (eastus2)
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x76f0a2]

goroutine 1 [running]:
github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/exported.NewResponseError(0x0)
        /home/cloudtest/go/pkg/mod/github.com/!azure/azure-sdk-for-go/sdk/azcore@v1.1.3/internal/exported/response_error.go:21 +0x42
github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime.NewResponseError(...)
        /home/cloudtest/go/pkg/mod/github.com/!azure/azure-sdk-for-go/sdk/azcore@v1.1.3/runtime/errors.go:18
github.com/azure/azure-dev/cli/azd/pkg/graphsdk.(*MeItemRequestBuilder).Get(0xc000014498, {0xbeb558, 0xc000385920})
        /mnt/vss/_work/1/s/cli/azd/pkg/graphsdk/me_request_builder.go:32 +0x12e
github.com/azure/azure-dev/cli/azd/pkg/tools/azcli.(*azCli).GetSignedInUserId(0xbeb558?, {0xbeb558, 0xc000385920})
        /mnt/vss/_work/1/s/cli/azd/pkg/tools/azcli/ad.go:36 +0x9c
github.com/azure/azure-dev/cli/azd/pkg/azureutil.GetCurrentPrincipalId({0xbeb558, 0xc000385920})
        /mnt/vss/_work/1/s/cli/azd/pkg/azureutil/principal.go:24 +0x4a
github.com/azure/azure-dev/cli/azd/cmd.ensureEnvironmentInitialized({0xbeb558, 0xc000385920}, {{0xc00002e380, 0x17}, {0x0, 0x0}, {0x0, 0x0}}, 0xc0004882d0, {0xbec958, ...})
        /mnt/vss/_work/1/s/cli/azd/cmd/util.go:271 +0x57d
github.com/azure/azure-dev/cli/azd/cmd.createAndInitEnvironment({0xbeb558, 0xc000385920}, 0xc0006f1430, 0xc000066070?, {0xbec958?, 0xc000364930?})
        /mnt/vss/_work/1/s/cli/azd/cmd/util.go:91 +0x29d
github.com/azure/azure-dev/cli/azd/cmd.(*initAction).Run(0xc0001346e0, {0xbeb558, 0xc000385920})
        /mnt/vss/_work/1/s/cli/azd/cmd/init.go:318 +0x1588
github.com/azure/azure-dev/cli/azd/cmd.(*upAction).runInit(0x0?, {0xbeb558?, 0xc000385920?})
        /mnt/vss/_work/1/s/cli/azd/cmd/up.go:109 +0x26
github.com/azure/azure-dev/cli/azd/cmd.(*upAction).Run(0xc0003856e0, {0xbeb558, 0xc000385920})
        /mnt/vss/_work/1/s/cli/azd/cmd/up.go:81 +0x2c
github.com/azure/azure-dev/cli/azd/cmd.BuildCmd[...].func1({0xbeb558?, 0xc000385620}, {0xf99518, 0x0?, 0x0?})
        /mnt/vss/_work/1/s/cli/azd/cmd/root.go:154 +0x157
github.com/azure/azure-dev/cli/azd/cmd.BuildCmd[...].func2.1()
        /mnt/vss/_work/1/s/cli/azd/cmd/root.go:162 +0x44
github.com/azure/azure-dev/cli/azd/cmd.runCmdWithTelemetry(0xc00038d900, 0xc0002bfa50)
        /mnt/vss/_work/1/s/cli/azd/cmd/root.go:176 +0x14e
github.com/azure/azure-dev/cli/azd/cmd.BuildCmd[...].func2({0xf99518?, 0x0?, 0x0?})
        /mnt/vss/_work/1/s/cli/azd/cmd/root.go:163 +0xb3
github.com/spf13/cobra.(*Command).execute(0xc00038d900, {0xf99518, 0x0, 0x0})
        /home/cloudtest/go/pkg/mod/github.com/spf13/cobra@v1.3.0/command.go:856 +0x67c
github.com/spf13/cobra.(*Command).ExecuteC(0xc00034f680)
        /home/cloudtest/go/pkg/mod/github.com/spf13/cobra@v1.3.0/command.go:974 +0x3bd
github.com/spf13/cobra.(*Command).Execute(...)
        /home/cloudtest/go/pkg/mod/github.com/spf13/cobra@v1.3.0/command.go:902
github.com/spf13/cobra.(*Command).ExecuteContext(...)
        /home/cloudtest/go/pkg/mod/github.com/spf13/cobra@v1.3.0/command.go:895
main.main()
        /mnt/vss/_work/1/s/cli/azd/main.go:51 +0x1eb
@pamelafox ➜ /workspaces/django-on-azure (main) $

To Reproduce

Open https://github.com/pamelafox/django-on-azure in Codespaces
Run azd up

I'll keep trying different things to see if I can pinpoint why I'm getting a panic in this situation, as I've been able to run 'azd up' in other repos.
Environment
Information on your environment: Online Codespaces, Microsoft Edge

@pamelafox do you get this issue locally for this repo? or just on codespaces?

For the same repo and the latest version of azd, I am able to run azd up successfully locally, getting everything provisioned. However, I can't open the devcontainer locally since I am on an M1 (https://github.com/Azure/azure-dev/issues/952), so I can only test running azd up outside of a devcontainer (in the global env). It's possible the same issue would happen locally in a devcontainer.

I was also able to run azd up in another repo in Codespaces today with the latest version of azd, so it doesn't seem to be just related to Codespaces overall, something more particular is happening.

github.com/azure/azure-dev/cli/azd/pkg/tools/azcli.(*azCli).GetSignedInUserId(0xbeb558?, {0xbeb558, 0xc000385920})
/mnt/vss/_work/1/s/cli/azd/pkg/tools/azcli/ad.go:36 +0x9c
github.com/azure/azure-dev/cli/azd/pkg/azureutil.GetCurrentPrincipalId({0xbeb558, 0xc000385920})

@wbreza @vhvb1989 any recent changes w.r.t to consuming Go SDK's could have caused this to happen on Codespaces?

The stack trace kind of looks similar and is reported for all templates in #1005

Ah yes that does look like the same stack trace, and same environment. Feel free to merge these issues together.


Established guidelines for Service owner

Description
Established guideline for end-user systems for how they should integrate with Altinn 3 ifb with the submission of data.
Additional Information
No response
Tasks
No response
Acceptance Criterias
No response

https://docs.altinn.studio/api/guides/appownerintegration/
The guideline has been created and QA has been carried out for those who will use it.


[cinder] open /dev/sdb: no such file or directory

Bug Reports
I am using rexray/cinder docker volume plugin. When I stop/start the docker engine with "sudo systelctl stop/start docker", some of my container with cinder volume cannot restart (they are stuck a few minutes in "Preparing" state and then are exited with error "olumeDriver.Mount: docker-legacy: Mount: VOLUME_NAME: failed:".
If I type "sudo journalctl -f -t dockerd" I get this kind of error

Jun 03 12:56:32 VOLUME_NAME dockerd[30498]: time="2019-06-03T12:56:32Z" level=error msg="time="2019-06-03T12:56:32Z" level=error msg="docker-legacy: Mount:VOLUME_NAME: failed: open /dev/sdb: no such file or directory" host="unix:///var/run/rexray/400149505.sock" integrationDriver=linux osDriver=linux service=cinder storageDriver=libstorage time=1559566592887 " plugin=ebf4667b61aa04dd97bf83c80c4f4ee38609360b0f4272d7cb06708dd940b32d

If I type "mount | grep /dev/sdb" I get reference to an other volume

dev/sdb on /var/lib/docker/plugins/ebf4667b61aa04dd97bf83c80c4f4ee38609360b0f4272d7cb06708dd940b32d/propagated-mount/volumes/OTHER_VOLUME_NAME type ext4 (rw,relatime,data=ordered)

If I type "mount | grep OTHER_VOLUME_NAME" I got multiple lines

/dev/sdb on /var/lib/docker/plugins/ebf4667b61aa04dd97bf83c80c4f4ee38609360b0f4272d7cb06708dd940b32d/propagated-mount/volumes/OTHER_VOLUME_NAME type ext4 (rw,relatime,data=ordered)
/dev/sdd on /var/lib/docker/plugins/ebf4667b61aa04dd97bf83c80c4f4ee38609360b0f4272d7cb06708dd940b32d/propagated-mount/volumes/OTHER_VOLUME_NAME type ext4 (rw,relatime,data=ordered)
/dev/sdd on /var/lib/docker/plugins/ebf4667b61aa04dd97bf83c80c4f4ee38609360b0f4272d7cb06708dd940b32d/propagated-mount/volumes/OTHER_VOLUME_NAME type ext4 (rw,relatime,data=ordered)

The container using OTHER_VOLUME_NAME is started though.
If I type "umount /dev/sdb" then I got an error "Invalid argument"
In my Horizon GUI (OVH), the volume is mounted in "/dev/sdb"
Version
I don't have rexray directly installed only the plugin installed on all my swarm nodes with
docker plugin install --grant-all-permissions rexray/cinder \                 CINDER_AUTHURL=$OS_AUTH_URL \                 CINDER_USERNAME=$OS_USERNAME \                 CINDER_PASSWORD=$OS_PASSWORD \                 CINDER_TENANTID=$OS_TENANT_ID \                 CINDER_TENANTNAME=$OS_TENANT_NAME \                 CINDER_REGIONNAME=$OS_REGION_NAME \                 REXRAY_PREEMPT=true
Expected Behavior
Container can start with volume

After a node reboot I have a different error message

Jun 03 13:47:30 NODE dockerd[839]: time="2019-06-03T13:47:30Z" level=error msg="time="2019-06-03T13:47:30Z" level=error msg="error attaching volume" host="unix:///var/run/rexray/039133603.sock" inner="Invalid request due to incorrect syntax or missing required parameters."  Can you confirm it ?

The problem had to do with our OpenStack provider, I moved to glusterfs with local volume it's much more stable.


1299-fix-unit-test-verbosity

Minor change in order to better get the essentials when running CI checks.

Grr still too chatty...

Now I may read Appveyor's output.


Setup a possible path to daemonize listeners

This is a rather direct copy of Sidekiq's CLI made to work with our existing
listeners. It still creates one listener per topic, but does so in
a bit more of a managed way.
An example of how this would be used:
./bin/fastly_nsq -r ./example_config_class.rb -L ./tester.log -P ./piddy.pid -v -d

(I have committed example_config_class.rb to support review)
What is going on?
First we add some classes:

CLI: a class that parse opts, sets up some state, helps daemonize if needed, kicks things off
Launcher: very light wrapper of thread manager and heartbeat
Manager: tracks running listeners, restarts them as needed
Listener::Config: supports listener topic => class configuration

Then we provide a bin script to kick it all off...

bin/fastly_nsq

Running this script, given the example configuration, we will end up with a Launcher that has one heartbeat and one Manager. That Manager will have started up one Listener for the single configured topic. This Listener blocks until it gets a message, can be terminated and killed, restarts if needed, and passes messages along to the configured Processor.
Notable new "features":

before, any thread exception cause the whole process to die and restart... There was not much grace to that process. Now, each Listener thread has a management path that allows it to die alone and restart alone if needed
no longer need to use a rake task... though that should still work.

Ah shoot
On Wed, May 24, 2017, 12:07 PM Joshua Wehner<EMAIL_ADDRESS>wrote:

@jaw6 commented on this pull request.
In bin/fastly_nsq
https://github.com/fastly/fastly_nsq/pull/49#discussion_r118339418:

@@ -2,6 +2,9 @@

require 'pry'
require 'fastly_nsq/cli'
+require 'dotenv'
+
+Dotenv.load('.env.local')
This appears to reverse course on 81d59b7
https://github.com/fastly/fastly_nsq/commit/81d59b7fb4bc5bd5132ec7112fc1fe468ba6391f
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/fastly/fastly_nsq/pull/49#pullrequestreview-40122194,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAKz902FOkBRC1M9obV7Sn4iXBhlv2g4ks5r9H_ZgaJpZM4NdHVO
.


Fix overlay z-index bug

Introduced during upgrade to<EMAIL_ADDRESS>@syxolk Do you think we should report it upstream or just fix it locally?

Coverage remained the same at 85.128% when pulling 5146829ebac7dea27a49c4eec10b1f16071e8e71 on fix-overlay into b421a5bb88d1a4b27e8966d4a5b72d75859a4a89 on master.

This works for the About and Cancel dialog but it does not work here:

Awww shit. Sorry, my bad for not testing properly.
I'll try to find a better z-index value tomorrow.

Ok, seems like spectre uses 100, 200, 300 and 400 for z-index values. The overlay has 400, so I went for 300.

Coverage remained the same at 85.128% when pulling f7daf396d72cfd0a05a10fdaae31e2f0a82bed7f on fix-overlay into b421a5bb88d1a4b27e8966d4a5b72d75859a4a89 on master.

Cool, thanks! Please squash and merge if good to go.


Allow .attrs to support any dict-likes

[x] Closes #5655
[ ] Tests added
[ ] Passes pre-commit run --all-files
[ ] User visible changes (including notable bug fixes) are documented in whats-new.rst
[ ] New functions/methods are listed in api.rst

Hello @Illviljan! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file xarray/core/dataset.py:

Line 758:23: F821 undefined name 'maybe_coerce_to_dict'

In the file xarray/core/utils.py:

Line 98:1: E302 expected 2 blank lines, found 1
Line 105:1: E302 expected 2 blank lines, found 1

Some fun performance comparisons related to copying and instantiating dicts:
a = dict(a=2, b=3)

%timeit dict(a)
207 ns ± 3.41 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each)

%timeit a.copy()
82.6 ns ± 0.425 ns per loop (mean ± std. dev. of 7 runs, 10000000 loops each)

import copy
%timeit copy.copy(a)
313 ns ± 3.59 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each)

from copy import copy
%timeit copy(a)
290 ns ± 3.63 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each)

from copy import deepcopy
%timeit deepcopy(a)
3.39 µs ± 55.6 ns per loop (mean ± std. dev. of 7 runs, 100000 loops each)

Using a.copy() seems to be the way to go if you want to do a shallow copy of a dict.

Using a.copy() seems to be the way to go if you want to do a shallow copy of a dict.

That is an interesting result (even aside from the main result here, I'm not sure what python is doing such that copy.copy(a) has different performance from copy(a)!)
But python is slow, and nanos are short — unless there's a noticeable impact on the overall performance, then prioritizing flexibility and compatibility are more consistent with the goals of the library. Does that make sense?

I'm surprised about the deepcopy being so slow too, I thought it  would be similar in speed in this case and just increase if dealing with mutable objects.
But using .copy is 100% compatible with how attrs has behaved before. So we come back to the question what type attrs should be?
The options I see is going with dict or MutableMapping.
I'm starting to lean towards mutablemapping because subclassing dict has been rather difficult compared to mutablemapping.
And if we go with mutablemapping then we should use copy.copy.

Think I'm running into https://github.com/python/mypy/issues/3004.
Not completely sure why this worked before though.

Is python/mypy#3004 still an issue?
pre-commit suggests it's here: https://github.com/pydata/xarray/pull/5667/files#diff-3c0ce7941684cbac55c00ab890684f86acc1de1908ee2afa915dbcb7c944105aR100 — but I guess there's some reason we can't only accept a MutableMapping in that function?

Here's further tests to check how fast different class checkers are:
class Test2(MutableMapping):
    def __init__(self, *args, **kwargs):
        self.data = dict(*args, **kwargs)

    def __getitem__(self, key):
        pass

    def __setitem__(self, key, value):
        pass

    def __delitem__(self, key):
        pass

    def __iter__(self):
        pass

    def __len__(self):
        pass

b = Test2()

%timeit issubclass(type(b), MutableMapping)
711 ns ± 5.33 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each)

%timeit isinstance(b, MutableMapping)
853 ns ± 6.29 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each)

# If you want to get really fast you can check for one of the required attributes MutableMapping has
%timeit hasattr(b, "update")
82.6 ns ± 0.181 ns per loop (mean ± std. dev. of 7 runs, 10000000 loops each)

isinstance is rather slow as can be seen. Considering just doing dict(b) takes about 200ns which is basically what the original implementation was it doesn't feel that good to add a check that adds 800ns of wait time.

If that is still an open issue we could merge current main, try to fix the resulting typing problems.


{Core} --add option in Generic Update Operation: add warning info and help info

resolve #17610  #17586
The --add option in generic update operation is very hard to use, so more information about the generic update arguments is added to the help text.
If option value is JSON string and its format is wrong, the error message should help users to fix it. Two cases are in consideration:
1, The JSON string is not escaped or has the wrong format: show the JSON parse error
2, The JSON string is parsed as a JSON array: in most case, --add option should pass a JSON Object instead of a JSON array. Passing a list may cause DeserializationError
Help text
Add links(https://docs.microsoft.com/en-us/cli/azure/use-cli-effectively?view=azure-cli-latest#generic-update-arguments) to the documentation page of cli generic update arguments
Before

After

Error message
Add hints of the cause of error
Before

After

Close it as it's out of date.


🐛 Bug Report: clicking outside of search modal does not close search modal

📜 Description
When the search modal is opened via the sidebar, clicking outside of the search modal does not close it. The search modal cannot be closed until an item is selected from the search results.
👍 Expected behavior
When clicking outside of the search modal (or clicking on a close button, to be added), the search modal should be closed.
👎 Actual Behavior with Screenshots

👟 Reproduction steps

Open the search modal from the side bar
Click outside of the search modal

📃 Provide the context for the Bug.
Users are complaining that they cannot dismiss the search modal and are therefore "stuck" on the search.
🖥 Your Environment
OS:   Linux 5.15.0-1028-aws - linux/x64
node: v16.19.0
yarn: 1.22.19
cli:  0.22.0 (installed)
backstage:  1.9.1
Dependencies:
@backstage/app-defaults                          1.0.10
@backstage/backend-app-api                       0.2.4
@backstage/backend-common                        0.17.0
@backstage/backend-plugin-api                    0.2.0
@backstage/backend-tasks                         0.4.0
@backstage/backend-test-utils                    0.1.31
@backstage/catalog-client                        1.2.0, 1.3.0
@backstage/catalog-model                         1.1.4, 1.1.5
@backstage/cli-common                            0.1.11
@backstage/cli                                   0.22.0
@backstage/config-loader                         1.1.7
@backstage/config                                1.0.5, 1.0.6
@backstage/core-app-api                          1.3.0
@backstage/core-components                       0.11.1, 0.12.2, 0.12.3
@backstage/core-plugin-api                       1.2.0, 1.3.0
@backstage/dev-utils                             1.0.10
@backstage/errors                                1.1.4
@backstage/integration-aws-node                  0.1.0
@backstage/integration-react                     1.1.8
@backstage/integration                           1.4.1, 1.4.2
@backstage/plugin-api-docs                       0.8.13
@backstage/plugin-app-backend                    0.3.39
@backstage/plugin-auth-backend                   0.17.2
@backstage/plugin-auth-node                      0.2.8
@backstage/plugin-catalog-backend-module-github  0.2.2
@backstage/plugin-catalog-backend                1.6.0
@backstage/plugin-catalog-common                 1.0.10, 1.0.9
@backstage/plugin-catalog-graph                  0.2.25
@backstage/plugin-catalog-import                 0.9.3
@backstage/plugin-catalog-node                   1.3.0
@backstage/plugin-catalog-react                  1.2.3, 1.2.4
@backstage/plugin-catalog                        1.7.1
@backstage/plugin-events-node                    0.2.0
@backstage/plugin-github-actions                 0.5.13
@backstage/plugin-home                           0.4.29
@backstage/plugin-kubernetes-backend             0.9.0
@backstage/plugin-kubernetes-common              0.5.0
@backstage/plugin-kubernetes                     0.7.6
@backstage/plugin-org                            0.6.3
@backstage/plugin-pagerduty                      0.5.6
@backstage/plugin-permission-common              0.7.2, 0.7.3
@backstage/plugin-permission-node                0.7.2
@backstage/plugin-permission-react               0.4.8, 0.4.9
@backstage/plugin-proxy-backend                  0.2.33
@backstage/plugin-scaffolder-backend             1.9.0
@backstage/plugin-scaffolder-common              1.2.3
@backstage/plugin-scaffolder                     1.9.1
@backstage/plugin-search-backend-module-pg       0.5.0
@backstage/plugin-search-backend-node            1.1.0
@backstage/plugin-search-backend                 1.2.0
@backstage/plugin-search-common                  1.2.0, 1.2.1
@backstage/plugin-search-react                   1.3.1, 1.4.0
@backstage/plugin-search                         1.0.7
@backstage/plugin-stack-overflow                 0.1.9
@backstage/plugin-tech-radar                     0.5.20
@backstage/plugin-techdocs-backend               1.5.0
@backstage/plugin-techdocs-module-addons-contrib 1.0.8
@backstage/plugin-techdocs-node                  1.4.3
@backstage/plugin-techdocs-react                 1.1.1
@backstage/plugin-techdocs                       1.4.2
@backstage/plugin-user-settings                  0.6.1
@backstage/release-manifests                     0.0.8
@backstage/test-utils                            1.2.3
@backstage/theme                                 0.2.16
@backstage/types                                 1.0.2
@backstage/version-bridge                        1.0.3
👀 Have you spent some time to check if this bug has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
Yes I am willing to submit a PR!

@camilaibs your solution in https://github.com/backstage/backstage/pull/15923 worked.  Closing.

@camilaibs your solution in https://github.com/backstage/backstage/pull/15923 worked.  Closing.

Thanks for letting me know!
Hope to see you contributing more with us in the future 🙌🏻


Daytime Interval also applies to night time recording

Hi Thomas,
if I set a longer daytime recording delay between images for weather camera purposes through the web GUI, it seems to also use that one for night time recording. (I am however not sure I am running the latest version of your project, because I added dew control to my version. So it's possible you fixed this already, let me know if thats the case.)
Grettings, Mario.

Daytime and night time interval should be separate but you could see side effects if the daytime delay is very long or if the RPi time is wrong.

Pi clock is correct. How long is very long? I set it to a minute, so there would be less thermal stress to the camera during daytime.

I was talking about things like 1 hour.. Then in that case, the loops is stuck for an hour before checking for night time again.

OK. I will have to check why it went into 1 minute intervals between exposures for night recording because of that setting. The camera sensor is reaching 80+°C during sunny spring days now, so I have to do something.

This issue is from an older release of the AllSky software and a suggested solution provided.  If you think it might still be relevant, please test it with the newest version and submit a new issue if needed.  Thanks


fix(examples): correct remix import

Description
Fix type import for remix app in kitchen-sink example
Testing Instructions

Nabbed this one in #7624 !

Closing in favor of https://github.com/vercel/turbo/pull/7624/files


Unable to install dapr using the dapr-operator.yaml in the release, sidecar-injector webhook not firing

In what area(s)?
/area docs
What version of Dapr?
1.0.0 rc3
Expected Behavior
We are attempting to install Dapr using the dapr-operator.yaml file. We have broken it up into the respective parts, CRDs, RBAC etc and applied using kubectl to a fresh cluster.
All the pods, replicasets, statefulsets etc are created. However, the dapr-sidecar-injector is not firing for pods annotated with dapr.io annotations.
All this points to the Admission Webhook not firing or failing to fire however nothing appears in the logs. Any help or assistance would be much appreciated.
Here's the dapr-system namespace after running the manifests and adding our own configuration:
NAME                                         READY   STATUS    RESTARTS   AGE
pod/dapr-dashboard-6c4b54cc55-n8w4r          1/1     Running   0          20m
pod/dapr-operator-79df664bd-w2d4s            1/1     Running   0          20m
pod/dapr-placement-server-0                  1/1     Running   0          20m
pod/dapr-sentry-56df54f4d9-zm89k             1/1     Running   0          20m
pod/dapr-sidecar-injector-56ddf9d5c4-4ctsb   1/1     Running   0          20m

NAME                            TYPE        CLUSTER-IP       EXTERNAL-IP   PORT(S)              AGE
service/dapr-api                ClusterIP   <IP_ADDRESS>   <none>        80/TCP               20m
service/dapr-dashboard          ClusterIP   <IP_ADDRESS>    <none>        8080/TCP             20m
service/dapr-placement-server   ClusterIP   None             <none>        50005/TCP,8201/TCP   20m
service/dapr-sentry             ClusterIP   <IP_ADDRESS>    <none>        80/TCP               20m
service/dapr-sidecar-injector   ClusterIP   <IP_ADDRESS>    <none>        443/TCP              20m

NAME                                    READY   UP-TO-DATE   AVAILABLE   AGE
deployment.apps/dapr-dashboard          1/1     1            1           20m
deployment.apps/dapr-operator           1/1     1            1           20m
deployment.apps/dapr-sentry             1/1     1            1           20m
deployment.apps/dapr-sidecar-injector   1/1     1            1           20m

NAME                                               DESIRED   CURRENT   READY   AGE
replicaset.apps/dapr-dashboard-6c4b54cc55          1         1         1       20m
replicaset.apps/dapr-operator-79df664bd            1         1         1       20m
replicaset.apps/dapr-sentry-56df54f4d9             1         1         1       20m
replicaset.apps/dapr-sidecar-injector-56ddf9d5c4   1         1         1       20m

NAME                                     READY   AGE
statefulset.apps/dapr-placement-server   1/1     20m

NAME                               AGE
configuration.dapr.io/daprsystem   20m

However, the sidecar-injection does not work.
When inspecting the logs for the sidecar-injection there isn't anything suggesting any errors
time="2021-02-05T14:34:16.5305048Z" level=info msg="log level set to: info" instance=dapr-sidecar-injector-56ddf9d5c4-4ctsb scope=dapr.injector type=log ver=1.0.0-rc.3
time="2021-02-05T14:34:16.5310168Z" level=info msg="metrics server started on :9090/" instance=dapr-sidecar-injector-56ddf9d5c4-4ctsb scope=dapr.metrics type=log ver=1.0.0-rc.3
time="2021-02-05T14:34:16.531097Z" level=info msg="starting Dapr Sidecar Injector -- version 1.0.0-rc.3 -- commit dbfa3e4" instance=dapr-sidecar-injector-56ddf9d5c4-4ctsb scope=dapr.injector type=log ver=1.0.0-rc.3
time="2021-02-05T14:34:16.5322439Z" level=info msg="Healthz server is listening on :8080" instance=dapr-sidecar-injector-56ddf9d5c4-4ctsb scope=dapr.injector type=log ver=1.0.0-rc.3
time="2021-02-05T14:34:16.5422788Z" level=info msg="Sidecar injector is listening on :4000, patching Dapr-enabled pods" instance=dapr-sidecar-injector-56ddf9d5c4-4ctsb scope=dapr.injector type=log ver=1.0.0-rc.3

sidecar-injection
Steps to Reproduce the Problem
Apply the dapr-operator.yaml manifest from the release.

You should not use the operator YAML file to install.
Either use the CLI or Helm as mentioned in the docs and release notes.
I am closing this for now, feel free to reopen if you are having issues with Helm and/or the CLI


Ping & pong breaks when a new window is opened

Something about the way ping & pong works, it gets weird when it is already running and a new window is opened.

closed with https://github.com/learn-co/nsync-fs/commit/115e9a7428b29bf203405140607a7f1cfb39f2d1 and https://github.com/learn-co/learn-ide-tree/commit/66c8a1ffd7436e44d104a899b632ab982bd9d833


SWC Failed to Load

Describe the bug
im trying to deploy a build but keep running into an error that stops the build from completing. I thought that it was related to it being a PWA, but after removing the related items for that, it still happens. Ive started again 3 times and always end up with the same error. The error is related to SWC binary loading in the WebContainer environment.
Link to the Bolt URL that caused the error
https://bolt.new/~/sb1-ibv12v
Steps to reproduce

Try to deploy
Get error
Let Bolt try fix
Fail. Try again
After 4/5 attempts get told it will no longer work to save tokens.

Expected behavior
To be able to make use of https://swc.rs/ for builds
Screen Recording / Screenshot
No response
Platform
Browser name = Chrome
Full version = <IP_ADDRESS>
Major version = 131
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
performance.memory = {
  "totalJSHeapSize": 64581003,
  "usedJSHeapSize": 53430119,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}
Username = ruarkferreira
Chat ID = 2dc9bcceec9f

Additional context
No response

try this solution: https://github.com/stackblitz/bolt.new/issues/2824#issuecomment-2488301643


Batching - Implementation

The general structure for the batching rules for the specific task:

RULES OR RULES OR RULES OR ...
where
RULES = RULE AND RULE AND RULE AND ...

Allowed selection for the rule types:

size:    >  ==  <
WTs:     <  in_between
hour:    <  >  ==  in_between
weekday: ==

The potential look of web page could look like this:

[ ] Remove Actions column
[ ] Change the multiple values to slider


[wip] testing kube-scheduler api build

Initial testing of building kube-scheduler API ref

See issue #138

This is not automated yet. Tested locally.
/cc @tengqm

See PR https://github.com/kubernetes/website/pull/19903

/close


Azure WebApp: warn: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[1]       Authorization failed for the request at filter 'Microsoft.AspNetCore.Mvc.RequireHttpsAttribute'.

I have an RC2 Application running on Azure Web App Role.
on the browser side:
https://mydummycisiteci.azurewebsites.net redirected you too many times.
On the stdout log for aspnetcoremodule:
info: Microsoft.Extensions.DependencyInjection.DataProtectionServices[0]
      Azure Web Sites environment detected. Using 'D:\home\ASP.NET\DataProtection-Keys' as key repository; keys will not be encrypted at rest.
Hosting environment: Production
Content root path: D:\home\site\wwwroot
Now listening on: http://localhost:15934/
Application started. Press Ctrl+C to shut down.
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
      Request starting HTTP/1.1 GET http://mydummycisite.azurewebsites.net/
warn: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[1]
      Authorization failed for the request at filter 'Microsoft.AspNetCore.Mvc.RequireHttpsAttribute'.
info: Microsoft.AspNetCore.Mvc.RedirectResult[1]
      Executing RedirectResult, redirecting to https://mydummycisite.azurewebsites.net/.

The most interesting fact is that if if download a resource (image for example)
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]       Request starting HTTP/1.1 GET http://mydummycisite.azurewebsites.net/favicon.ico   info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]       Request finished in 1227.537ms 404
on the browser side:
http://mydummycisite.azurewebsites.net/favicon.ico Failed to load resource: the server responded with a status of 404 (Not Found)
I have the exact same configuration on Local IIS and works like a candy...
web.config - Azure App
<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <system.webServer>
    <handlers>
      <add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule" resourceType="Unspecified" />
    </handlers>
    <aspNetCore processPath="D:\home\Microsoft\dotnet\cli\dotnet.exe" arguments=".\..\approot\mydummycisite.dll" stdoutLogEnabled="true" stdoutLogFile=".\..\logs\stdoutcm" startupTimeLimit="3600" />
  </system.webServer>
</configuration>

Am i doing something wrong, or AspNetCoreModule still in the forge in Azure?

I don' think AspNetCoreModule is available on Azure App Service yet.  @shirhatti?

@muratg @shirhatti
It didn't complain about the module... As you can see by the log file... and process explorer shows it running dotnet.exe...

This is fishy... If AspNetCoreModule had not been installed the application would not have been started... You would get 502 or something to this effect.

Ah, perhaps the App Service roll out is completed after all.

@moozzyk @muratg
Yeah, but why no response to browser? Request get to kestrel, response is return from kestrel... why no reach the browser? Will @shirhatti  have an idea?

@BrennanConroy is giving this a try... @LeandroPT I assume you're using a simple HelloWeb or HelloMvc app?

@muratg
No.. My RC2 MVC app. But you guys can check with those, all i need is confirmation that is ready. As you saw by the posts in this, i assumed it was not installed too.
I tested with both netcoreapp1.0 (the config above) and a net451 .exe
Both have the same outcome.

@muratg  Azure App Service performs a rolling deployment. I believe they are currently in the process of rolling out ANCM.  Where can that progress be tracked?

What is your actual issue?
ANCM is being deployed so some Web Apps may have it and others might not. In your case you have it 👍

No reply, closing

@BrennanConroy
The issue still remains and the answer to your question is on the 1st post, and my life is already complicated to have you set me SLA's for replies.
I did some more tests and this is what i found out:
Picked project IISSamples on this repository as of TODAY, tweaked the project.json
project.json.txt
:
Running in LOCAL IIS: https://localhost:4431/
`Hello World - 27/04/2016 12:13:59 +01:00
Address:
Scheme: https
Host: localhost:4431
PathBase:
Path: /
Query:
Connection:
RemoteIp: ::1
RemotePort: 20342
LocalIp: <IP_ADDRESS>
LocalPort: 1506
ClientCert: `
Running on Azure: https://app-tst.azurewebsites.net
`Hello World - 4/27/2016 11:23:39 AM +00:00
Address:
Scheme: http
Host: app-tst.azurewebsites.net
PathBase:
Path: /
Query:
Connection:
RemoteIp: <IP_ADDRESS>
RemotePort: 50115
LocalIp: <IP_ADDRESS>
LocalPort: 3331
ClientCert:
Headers:
Cache-Control: no-cache
Connection: Keep-Alive
Pragma: no-cache
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,/;q=0.8
Accept-Encoding: gzip, deflate, sdch
Accept-Language: en-US,en;q=0.8,fr;q=0.6,pt;q=0.4
Cookie: ARRAffinity=563f2aa954e138962d8a339b4323e825f5b3199e8a68887dd820180b7bbcd76c
Host: app-tst.azurewebsites.net
Max-Forwards: 10
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36
Upgrade-Insecure-Requests: 1
X-LiveUpgrade: 1
X-ARR-LOG-ID: 107216c4-474a-4f81-8e80-187bdc5feef9
DISGUISED-HOST: app-tst.azurewebsites.net
X-SITE-DEPLOYMENT-ID: app__6a69
X-Original-URL: /
X-Forwarded-For: <IP_ADDRESS>:21003, <IP_ADDRESS>:21003
X-ARR-SSL: 2048|256|C=US, S=Washington, L=Redmond, O=Microsoft Corporation, OU=Microsoft IT, CN=Microsoft IT SSL SHA2|CN=*.azurewebsites.net
MS-ASPNETCORE-TOKEN: 4ddcc54e-59b2-414a-b4fc-c4e5d3973a57
X-Forwarded-Proto: https
`
Since i have a requireHttps attribute on all controllers, it keeps on redirecting because what apparently in Azure is reaching Kestrel is HTTP and not https.
The Browser then gets Failed to load resource: net::ERR_TOO_MANY_REDIRECTS
So this is the CURRENT and as of NOW issue and apparently the aspnetcore module has different behavior on Azure App vs Local IIS
Anything else i need to provide?

I see your issue now. You have two entries in X-Forwarded-For and only one in X-Forwarded-Proto. Our x-fowarded logic requires that there be the same number of entries in each of these headers.
You can override it by disabling x-forwarded-for like this:
            services.Configure<ForwardedHeadersOptions>(options =>
            {
              options.ForwardedHeaders = ForwardedHeaders.XForwardedProto
            });

@pan-wang can you investigate why there are two x-fowarded-for entries with the same value in Azure?

@Tratcher
Your "hack" works perfectlly. I have made it using an appsettings switch, so as soon @pan-wang  has news, please let me know.

@Tratcher @muratg is there anything left for RC2 here?

I've asked @pan-wang to investigate why there are duplicate X-Forwarded-For headers, but that can wait. Moving to 1.0.0

Due to this all https scenarios are broken with Azure Web Apps.
All of the ASP.NET templates for Work & School Accounts are also broken as follows:

Create a Web App with Work & School Account
Publish to Azure Web Apps
Browse to the site and login
Login fails

You can see ARR is enabled at Azure. I suspect the additional X-Forward-For header is added by ARR which also does the request forwarding. Will verify it with private test.

This causes redirect based login flows like OIDC and OAuth to fail because the redirect url must be pre-registered with the provider (AAD), and login fails if it does not match.

From what we can see the individual pieces are all working as expected, they just have different expectations from each other. We'll need to decide which component needs to change.
Flow:
ARR adds X-Forwarded-For
ANCM adds X-Forwarded-For and X-Forwarded-Proto
ForwardedHeadersMiddleware reads X-Forwarded-For and X-Forwarded-Proto and rejects then because the entry count does not match.
What does Nginx do?

For Nginx you have explicitly set what headers you want in your config file, e.g.,
  location / {
    proxy_pass            http://localhost:80;

    proxy_set_header      X-Real-IP         $remote_addr;
    proxy_set_header      X-Forwarded-For   $proxy_add_x_forwarded_for;
    proxy_set_header      X-Forwarded-Proto https;
    proxy_set_header      X-Forwarded-Port  443;
    proxy_set_header      Host              $host;

  }

Yeah, I found this sample which seems like a common recomendation: https://www.digitalocean.com/community/tutorials/how-to-set-up-nginx-load-balancing-with-ssl-termination

Plan:

Add an option to ForwardedHeadersMiddleware to disable the count check: https://github.com/aspnet/BasicMiddleware/issues/37
Have UseIISIntegration check if it's running in Azure and disable the count check by default.

In parallel we'll investigate with Azure Web Sites to see if they can improve their setting of these headers.

IsAzure check: https://github.com/aspnet/DataProtection/blob/8503e161d061fa230b00ba58d6801d7f906356ce/src/Microsoft.AspNetCore.DataProtection/Repositories/FileSystemXmlRepository.cs#L158-L162

Fixed in nightly dev builds.

Have UseIISIntegration check if it's running in Azure and disable the count check by default.

Hum, why not just disabling symmetry by default for all environments?
The errors caused by the lack of symmetric (e.g invalid redirect_uri during an OIDC request) are really hard to debug, specially since the log message associated with this error is not helpful at all and requires a high level of verbosity: Failed to parse forwarded [header].

We'll consider it if this comes up in most environments. For now we're using the most secure settings by default.