text:
Is it possible to set loki labels here?

Question
Hi,
I am wondering if it is possible to set the loki labels here using this library?
Use Github Discussions.

@matt-hensley
I've used this library  with the following code to ship logs.
services
  .AddOpenTelemetry()
   .WithLogging(o =>
            {
                o.AddConsoleExporter();
                o.AddOtlpExporter((options, rules) =>
                {

                    rules.ExportProcessorType = OpenTelemetry.ExportProcessorType.Batch;
                    var endpoint = configuration["GRAFANA_CLOUD_OTLP_ENDPOINT"];
                    var instanceId = configuration["GRAFANA_CLOUD_INSTANCE_ID"];
                    var apiToken = configuration["GRAFANA_CLOUD_API_TOKEN"];
                    options.Endpoint = new Uri(endpoint + "/v1/logs");
                    options.Protocol = OpenTelemetry.Exporter.OtlpExportProtocol.HttpProtobuf;
                    options.Headers = $"Authorization=Basic {EncodeToBase64(instanceId!, apiToken!)}";
                });
            });

I can see that the logs are being sent successfully to grafana open telemetry endpoint.
https://otlp-gateway-prod-au-southeast-0.grafana.net/otlp/v1/logs
Response code is 204.
How can I find the logs in my grafana cloud instance?
I don't see how labels are set?
Should be exploring them in Loki?
Do I need a certain version of the grafana cloud stack running for this to work?

I was able to figure this issue out.
Loki will only promote certain resource attributes to loki labels.
These include:
        // Loki promotes these resource attributes to Loki labels and persists others as Loki message metadata: cloud.availability_zone, cloud.region, container.name, deployment.environment, k8s.cluster.name, k8s.container.name, k8s.cronjob.name, k8s.daemonset.name, k8s.deployment.name, k8s.job.name, k8s.namespace.name, k8s.pod.name, k8s.replicaset.name k8s.statefulset.name, service.instance.id, service.name, service.namespace.
``
This means you cannot do anything in this library to control loki labels.
I used this code
```c#
services
  .AddOpenTelemetry()
   .WithLogging(o =>
            {
                o.AddOtlpExporter((options, rules) =>
                {
                    var resourceBuilder = ResourceBuilder.CreateEmpty();
                    resourceBuilder.AddAttributes(new Dictionary<string, object>
                    {
                        // this will be a loki label since due to the mapping done by grafana's open telemetry endpoint.
                        ["service.name"] = "my-service",
                        // this won't be a loki label
                        ["env"] = "prod",
                    });
                    rules.ExportProcessorType = OpenTelemetry.ExportProcessorType.Batch;
                    var endpoint = configuration["GRAFANA_CLOUD_OTLP_ENDPOINT"];
                    var instanceId = configuration["GRAFANA_CLOUD_INSTANCE_ID"];
                    var apiToken = configuration["GRAFANA_CLOUD_API_TOKEN"];
                    options.Endpoint = new Uri(endpoint + "/v1/logs");
                    options.Protocol = OpenTelemetry.Exporter.OtlpExportProtocol.HttpProtobuf;
                    options.Headers = $"Authorization=Basic {EncodeToBase64(instanceId!, apiToken!)}";
                });
            });

Thank you for posting a solution! I've been OOO, apologies for the delayed response.

authors: chinwobble matt-hensley

repo: grafana/grafana-opentelemetry-dotnet


text:
failed to fetch query data: : Unknown Operation status code: 404, request id:

I am unable to query data anymore.  I get the below error:
failed to fetch query data: : Unknown Operation status code: 404, request id:

Grafana Logs:
logger=context userId=1 orgId=1 uname=admin t=2023-02-06T10:38:36.314059731-06:00 level=info msg="Request Completed" method=POST path=/api/ds/query status=400 remote_addr=192.168.50.132 time_ms=18 duration=18.094402ms size=137 referer="http://192.168.50.248:3000/d/YUUwUxA4k/txrx-simulator?orgId=1&refresh=5s" handler=/api/ds/query

Environment:

Grafana version: 9.3.6
Plugin version: 1.6.1
OS Grafana is installed on: Ubuntu Server 20.10 LTE
Data Processing Pack: 2.1.29

Connection to the Datasource works just fine

I am also able to use AWS OpsHub and see all models, assets, and the latest data

Can you help ?

I can confirm the same. With latest version, 'Get property value history' or any similar APIs were not displaying asset selection. In fact, the drop-down menu for asset selection and property selection were missing. I had to downgrade to 1.5.1 and everything started working as expected.
However, in latest version, list assets and list asset models were working fine.

close as completed in https://github.com/grafana/iot-sitewise-datasource/pull/281

source: gharchive/issue

authors: Vijay-Karthick katebrenner misiek303

repo: grafana/iot-sitewise-datasource

license_type: permissive

license_source: github-api


text:
Prop val null fix

fix for #81
Handles an empty property value gracefully.

front end tests timed out - I suspect it is unrelated to this change.

source: gharchive/pull-request


text:
Profiling app in clustered mode

I'm trying to profile ruby app that runs using puma web server in culstered (multi process) mode.
Looks like that it only collects samples from main process, but not from forked process.
I'm using basic settings as described here https://pyroscope.io/docs/ruby/
Am I doing something wrong? Do forked process need some additional configuration? Or is this not supported?

answer is
config.detect_subprocesses = true

repo: grafana/pyroscope-rs


text:
Change YAML and JSON to Yaml and Json in the docs

This reflects the true names of native functions
Fixes #632

I think for user facing documentation we should probably make this change but beware that there is some context absent from #632 that is partially in #252.
These signatures are the signatures for the native function implementation and not for the Jsonnet itself. At the time, @sh0rez thought it was useful to keep that. Perhaps since the docs are mostly read by Jsonnet users not familiar with the internals of the Tanka Jsonnet VM, it is worth changing this.

And the approval from @sh0rez confirms that :joy:
As ever, I'm too slow!

authors: jdbaldry julienduchesne

repo: grafana/tanka

license_source: bigquery


text:
xk6 build with influxdb fails after k6 version v0.38.0

OS: Windows
Most likely caused by:
https://github.com/grafana/k6/pull/2433
ERROR:
C:\repo>k6 version
k6 v0.38.0 ((devel), go1.18.1, windows/amd64)

C:\repo>xk6 build --with github.com/grafana/xk6-output-influxdb
2022/05/10 17:10:51 [INFO] Temporary folder: C:\Users\###\AppData\Local\Temp\2\buildenv_2022-05-10-1710.586738848
2022/05/10 17:10:51 [INFO] Writing main module: C:\Users\###\AppData\Local\Temp\2\buildenv_2022-05-10-1710.586738848\main.go
2022/05/10 17:10:51 [INFO] Initializing Go module
2022/05/10 17:10:51 [INFO] exec (timeout=10s): C:\Program Files\Go\bin\go.exe mod init k6
go: creating new go.mod: module k6
go: to add module requirements and sums:
        go mod tidy
2022/05/10 17:10:51 [INFO] Pinning versions
2022/05/10 17:10:51 [INFO] exec (timeout=0s): C:\Program Files\Go\bin\go.exe mod edit -require go.k6.io/k6@latest
2022/05/10 17:10:51 [INFO] exec (timeout=0s): C:\Program Files\Go\bin\go.exe mod tidy -compat=1.17
go: finding module for package github.com/nxadm/tail
go: found github.com/nxadm/tail in github.com/nxadm/tail v1.4.8
2022/05/10 17:10:52 [INFO] exec (timeout=0s): C:\Program Files\Go\bin\go.exe mod edit -require github.com/grafana/xk6-output-influxdb@latest
2022/05/10 17:10:52 [INFO] exec (timeout=0s): C:\Program Files\Go\bin\go.exe mod tidy -compat=1.17
go: finding module for package go.k6.io/k6/stats
k6 imports
        github.com/grafana/xk6-output-influxdb imports
        github.com/grafana/xk6-output-influxdb/pkg/influxdb imports
        go.k6.io/k6/stats: module go.k6.io/k6@latest found (v0.38.1), but does not contain package go.k6.io/k6/stats
2022/05/10 17:10:54 [INFO] Cleaning up temporary folder: C:\Users\###\AppData\Local\Temp\2\buildenv_2022-05-10-1710.586738848
2022/05/10 17:10:54 [FATAL] exit status 1

the tag was missing, but you can use the commit directly as follows:
xk6 build --with github.com/grafana/xk6-output-influxdb@d7ce7024ba43050e73b8e9bcf23553d2ddeb29c0

Thanks for reporting and for the fix @jwcastillo :bow:  . I have now released a new version/tagged it, this should fix the problem entirely.
It might take a few minutes to an hour for that tag to propagate through the golang infrastructure so be patient or replace the commit above with @v0.2.0 ;)

authors: jwcastillo ketan55patil mstoykov


text:
High vulnerability from trivy scan in Docker image

Hi team,
I am finding an image k6 with sql support and get here. I built a docker image myself using your Dockerfile and tried scan vulnerability using trivy. I got this:
usr/bin/k6 (gobinary)
Total: 3 (UNKNOWN: 0, LOW: 0, MEDIUM: 1, HIGH: 2, CRITICAL: 0)

Library
Vulnerability
Severity
Installed Version
Fixed Version
Title

golang.org/x/net
CVE-2022-41721
HIGH
v0.0.0-20221002022538-bcab6841153b
0.1.1-0.20221104162952-702349b0e862
request smuggling https://avd.aquasec.com/nvd/cve-2022-41721

CVE-2022-41723

0.7.0
avoid quadratic complexity in HPACK decoding https://avd.aquasec.com/nvd/cve-2022-41723

CVE-2022-41717
MEDIUM

0.4.0
excessive memory growth in a Go server accepting HTTP/2 requests https://avd.aquasec.com/nvd/cve-2022-41717

I proposed a temporary fix on this PR-43

@dotdak, thank you so very much for bringing this issue to our attention! 🙏

authors: dotdak javaducky


text:
Fixed unnecessary playlist version change in SetDefaultKey

As defined in the HLS  V5 spec:

A Playlist MUST indicate protocol version 5 or higher if it contains:
o  The KEYFORMAT and KEYFORMATVERSIONS attributes of the EXT-X-KEY
tag.

However any HLS version > 2 is compatible with EXT-X-KEY tags containing only METHOD, URI and IV attributes.
It looks like this behaviour was fixed for the SetKey function, but not SetDefaultKey. I added the fix to SetDefaultKey and a couple of tests around it.
I also changed the behaviour of SetDefaultKey to return an error value to make it more resemble SetKey

Thank you for this fix!

authors: grafov juliancooper


text:
Quality of life things for hedvig

Just a few small changes that would make the grambank PR-review process easier for me

Could you address the failing test - and preferably run the tests locally before commit?
The problem seems to be the changed order of cli arguments for sourcelookup.

I saw that tests failed but I couldn't figure out what was going on. I'm not well-versed enough in this set-up. I can try, but yeah. Not confident.

Haha, made it worse :)

Why would you want to change the order of cli args? That's a change that would impact anyone else running the commands as well.

Did you try running the tests locally? All you'd need to do would be
pip install -e .[dev,test]
pytest

Why would you want to change the order of cli args? That's a change that would impact anyone else running the commands as well.

Because it makes my life easier when I need to run several sheets.
Who else but you and I are using these commands?

Right. So you'd change things for me.

Right. So you'd change things for me.

Yes. Is that ok?

It makes it easier for me as I'm going through and running sourcelookup for many sheets if the sheet argument is last because then i can just backspace a few characters and change the sheet name.

I see. It makes things harder for me, because if I come back to having to run the command I have to remember things changed. Anyway, since you are taking over triaging PRs, you can have it your way.

Thanks that's very kind of you.
I've got a document called "pygrambank notes" where i write up specific help for myself, such as the order of arguments etc :)
In R, you can either rely on the order of arguments for a function or specify the arguments specifically. If you do the second, you don't need to conform to the default order. I find that is often very helpful.

authors: HedvigS xrotwang

repo: grambank/pygrambank


text:
fix for issue 2012

to fix https://github.com/graphite-project/graphite-web/issues/2012
remove file extension when getting base_fs_path
use os.sep to replace '/'
rename
real_fs_path to real_aboslute_path
relative_real_fs_path  to real_relative_fs_path

Use @zasca's example
>>> absolute_path='/var/lib/graphite/whisper/Env/HTTP/NumConnections.wsp'
>>> metric_path='Env.HTTP.NumConnections'
>>> real_absolute_path='/mnt/ssd/graphite/db/Env/HTTP/NumConnections.wsp'
>>>
>>> relative_fs_path = metric_path.replace('.', os.sep)
>>> print relative_fs_path
Env/HTTP/NumConnections
>>>
>>> absolute_path_no_ext, _ext = os.path.splitext(absolute_path)
>>> print absolute_path_no_ext
/var/lib/graphite/whisper/Env/HTTP/NumConnections
>>>
>>> base_fs_path = os.path.dirname(absolute_path_no_ext[:-len(relative_fs_path)])
>>> print base_fs_path
/var/lib/graphite/whisper
>>>
>>> real_base_fs_path="/mnt/ssd/graphite/db/"
>>>
>>> real_absolute_path[len(real_base_fs_path):]
'Env/HTTP/NumConnections.wsp'
>>>
>>> real_relative_fs_path = real_absolute_path[len(real_base_fs_path):].lstrip(os.sep)
>>> print real_relative_fs_path
Env/HTTP/NumConnections.wsp
>>>
>>> fs_to_metric(real_relative_fs_path)
'Env.HTTP.NumConnections'

Codecov Report

Merging #2040 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #2040      +/-   ##
==========================================
+ Coverage   69.69%   69.69%   +<.01%
==========================================
  Files          78       78
  Lines        7440     7441       +1
  Branches     1440     1440
==========================================
+ Hits         5185     5186       +1
  Misses       1969     1969
  Partials      286      286

Impacted Files
Coverage Δ

webapp/graphite/finders/__init__.py
94.23% <100%> (+0.11%)
:arrow_up:

Continue to review full report at Codecov.

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

would be great to add an associated unit test to clearly show that this fixes.

unit test added.
without the fix, the test will fail with
AssertionError: 'HTTP.NumConnections' != 'Env.HTTP.NumConnections'

Thanks, LGTM.
More reviews? /cc @DanCech @iksaif ?

This appears to function properly.
Can you add a test case for when the symlink is inside of the metric path as opposed to the base path itself: /opt/graphite/storage/whisper/foo/bar is a symlink to /opt/graphite/storage/whisper/baz/
get_real_metric_path function should return baz.blah.

@cbowman0
Good point to cover the case that the symbolic link is inside the metric path.
Test case added.

repo: graphite-project/graphite-web


text:
store: alter deployment_schemas.version column to int

The plan is to use this column to control migrations such as the one to a dedicated data source table described in #3405.
This changes that column to be an integer rather than an enum, so we don't need to add a DB enum variant on each new version.

Thanks for the review, I've addressed the comments and renamed CURRENT to LATEST, to better reflect that we intend to support multiple schema versions.

repo: graphprotocol/graph-node


text:
feat: support apollo federation spec v2.7 and higher

When targeting v2.6, hive dev works.
extend schema
  @link(url: "https://specs.apollo.dev/federation/v2.6", import: [...])

But it doesn't for v2.7 and higher(e.g. ~v2.10).
extend schema
  @link(url: "https://specs.apollo.dev/federation/v2.7", import: [...])

It's not supported yet, as @override(label:) is an enterprise feature in Apollo.
Can you explain why do you need that version? You specifically want that label argument or you're only testing if version 2.7 is supported?

you're only testing if version 2.7 is supported?

Yes, I was only testing if the version is supported.

repo: graphql-hive/console

license: MIT


text:
Reduce IOs and run context extraction in backgrdoun

closes #91, #370
layout is also now always recomputed, so there shouldn't be any problem if creating new graphql schema modules

(Will rebase once its ok to be merged, sorry for the **** commit names)

@jasonkuhrt Do we really want to merge this and get it into the coming release? It might be safer to wait for Johannes to come back

If we can merge this by the end of the sprint, I'm happy. Agreed let's hold

Ahhhhh this was the issue: https://github.com/nodejs/node/issues/11422

We can instead use: https://github.com/sindresorhus/temp-dir

Worker threads not supported in Node 10

Unless experimental flag given
https://medium.com/@Trott/using-worker-threads-in-node-js-80494136dbb6

Works if doing:
#!/bin/sh
':' //# comment; exec /usr/bin/env node --experimental-worker "$0" "$@"

import { stripIndent } from 'common-tags'

But causes errors to be printed:
/tmp/e2e-testing-2033352460803386/node_modules/.bin/nexus: 2: /tmp/e2e-testing-2033352460803386/node_modules/.bin/nexus: use strict: not found
/tmp/e2e-testing-2033352460803386/node_modules/.bin/nexus: 3: /tmp/e2e-testing-2033352460803386/node_modules/.bin/nexus: //#: not found

Best thing now might be to just not use workers if they cannot be imported... Going to see how much work that would take.

authors: Weakky jasonkuhrt

repo: graphql-nexus/nexus-future


text:
chore(deps): version bump prisma 4

Update deps to use Prisma 4.
Replace @prisma/sdk with @prisma/internals
Fix the Prisma schema issues
comment test-past-prisma while we don't have any past version now

Codecov Report

Merging #226 (daefc57) into main (6af7859) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head daefc57 differs from pull request most recent head 2b75064. Consider uploading reports for the commit 2b75064 to get more accurate results

@@           Coverage Diff           @@
##             main     #226   +/-   ##
=======================================
  Coverage   57.04%   57.04%
=======================================
  Files          43       43
  Lines         610      610
  Branches      110      110
=======================================
  Hits          348      348
  Misses        247      247
  Partials       15       15

Can we please merge this. Thanks!

:tada: This PR is included in version 1.0.0 :tada:
The release is available on:

npm package (@next-major dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

authors: AhmedElywa Manubi codecov-commenter rostislav-simonik-nexus-prisma-admin

repo: graphql-nexus/nexus-prisma


text:
Derive macro for tagged enums (GraphQLUnion)

Implements derive macros for tagged enums which are translated into GraphQLUnion types. The following features are provided

The macro implements GraphQLAsyncType.
If all variants of the tagged enum have different types, then the derive macro implements std::convert::From<T>  converter for these types.

Fixes: https://github.com/graphql-rust/juniper/issues/586

Thanks for the review. Everything you mentioned is fixed. During the testing i encountered some issues. Therefore, skip and documentation annotations are disabled for enumeration fields. Here are some thoughts about these decisions and the implementation. If something is unclear or wrong, let me know.

Documentation of variations is not possible in GraphQL? (not 100% sure)
Skipping fields works in general but throws panics during runtime. For example, if a query returns a skipped variant of the enum. The derive macro should provide additional safety (compared to the other union implementation). If the user requires this behavior he can fallback to the other union implementation.
Currently the std::convert::Into ensures that each variant has a unique type. Due to the GraphQL specification this must be done? (not 100% sure)

This PR should be ready to merge. Applied your feedback and added some minor tweaks.

Awesome, thank you again!

authors: LegNeato jmpunkt

repo: graphql-rust/juniper


text:
[reference] renderGraphiql Package

Fixes #1117. This will help the CDN users to easily implement graphiql IDE without using any build tools like Webpack. They can perform all the actions they will intend to do without build tools.

@acao I moved the functions in a separate module. can you take a look at it, please!!!!

@iFlameing looking better, now lets expose the options for generating the fetcher in my example i linked to. lets port over that logic and the typescript definitions

@iFlameing like this:
https://github.com/graphql/graphiql/blob/94d64b19f5fd4534a7ee0aa0d1f56b980a94401b/packages/graphiql/src/renderGraphiQL.js#L12

@acao I provided the options for generating the fetcher and also added typescript. Please! take a look!!

@iFlameing looking excellent! I’ll take a closer look tonight. Do you want to create a render-graphiql-example as well? also lets make sure directory names are lower case, for better linux support

@acao Yes! I want to create an example. Can you give me some starter points regarding how I can use it in an example?

@acao I have created a simple example in javascript https://github.com/iFlameing/graphiqlCDN. I don't know how I can build this package so that I can use it in the HTML file.

@iFlameing my bad, i meant like in the /examples repository, so the example would be in this PR.
please just re-create from the webpack example, and use the encapsulation function instead

@iFlameing hey so, lets get this one revived! I think it's close, can you remove the package-lock.json? I'll see if i can fix the typescript issue you were having

@iFlameing can you give me permission to commit to this PR?

@acao I am happy to do any help :) You can commit to this PR. If you need any help please ping me here or in discord :)

@acao wait a sec I will do a commit for removing package-lock.json :)

It looks like there are still some package-lock.json files if you can clean those up!

@acao Removed the package-lock.json :)

Nice! i've been working on it for a few hours, and I almost have the typescript working, and the type interfaces defined. there was a lot missing, because there was no tsconfig.json, the typescript was not working for the package at all - in vscode, etc. many of the functions didn't work at all, so I might add some basic unit tests as well?

so, theres just still a lot of work that needs to be done to get this ready, still working through linting issues, and i've stashed my work and will come back!

what is missing from this one?
I'd like to use the latest GraphiQL in my Koa app

@sibelius a lot of things, i spent a lot of time just trying to get it to pass the linter or compile.
most importantly, it has a major security vulnerability that we just fixed in playground
we just need to re-do this entire PR

@acao can you push your changes so that I can take a look and learn the things which I am missing in this PR

@iFlameing first you will need to fix the original linting failures. you can see the list of fixes you need to make when you use a linter.
there are many more considerations but we will be going in a different direction

@sibelius if you're interested in helping to get this where it needs to be, let's start with opening a PR to fix the linting failures. @iFlameing you are also welcome to fix the linting errors here so we can move forward on this PR
then, let's evaluate the best method to do this. the playground middlewares suggest one route, but we have other options.  express-graphql has a nice approach as well. let's make sure whatever route we choose works offline instead of relying on CDN urls, as well

closing due to obsolescence

authors: acao dimaMachina iFlameing sibelius

repo: graphql/graphiql


text:
Add StepZen as a member

Signed-off-by: Brian Warner brian@bdwarner.com
Pre-submission checklist:
Please check each of these after submitting your pull request:

[ ] Are you only including a repo_url if your project is 100% open source? If so, you need to pick the single best GitHub repository for your project, not a GitHub organization.
[ ] Is your project closed source or, if it is open source, does your project have at least 250 GitHub stars?
[ ] Have you picked the single best (existing) category for your project?
[ ] Does it follow the other guidelines from the new entries section?
[ ] Have you included a URL for your SVG or added it to hosted_logos and referenced it there?
[ ] Does your logo clearly state the name of the project/product and follow the other logo guidelines?
[ ] Does your project/product name match the text on the logo?
[ ] Have you verified that the Crunchbase data for your organization is correct (including headquarters and LinkedIn)?
[ ] ~10 minutes after opening the pull request, the CNCF-Bot will post the URL for your staging server. Have you confirmed that it looks good to you and then added a comment to the PR saying "LGTM"?

LGTM

repo: graphql/graphql-landscape


text:
[7.0.x] Add Helm 3 binary

Description

Add Helm 3 binary on host.
Type of change

New feature (non-breaking change which adds functionality)

Linked tickets and other PRs

Requires planet #799

Ports #2303

TODOs

[x] Self-review the change
[x] Perform manual testing
[ ] Address review feedback
[ ] Update upstream references / tags / versions after upstream PR merges (linked above)

Implementation

Performance/Scaling

Testing done

Additional information

For here test was just about the existence of helm 3 binaries on the host and inside planet. I didn't test it functionality this time but for #2303 it was done by testing simple hart installation

repo: gravitational/gravity


text:
The date doesn't visually reset after clearing (mobile version)

In the mobile version of the DatePicker, if the Reset button is clicked, no visual changes apply, everything else works as expected.
https://github.com/user-attachments/assets/59186830-3c6b-444e-8d55-a320df996e01

@whiteformed  Could you reproduce in sandbox? I could not catch this bug in storybook
https://github.com/user-attachments/assets/d7d99d98-e10b-4160-b920-5397106b1123

repo: gravity-ui/date-components


text:
fix(Toaster): reveal animation lag

Fixes #1926

Thank you, @saripovdenis !

authors: ogonkov saripovdenis

repo: gravity-ui/uikit


text:
feat(backdrop): change backdrop api to better handle positioning by p…

…arent components
PR Checklist
Please check if your PR fulfills the following requirements:

[ ] The commit message follows our guidelines: https://github.com/graycoreio/daffodil/blob/master/CONTRIBUTING.md#commit
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
[ ] Yes
[ ] No

Other information

@lderrickable I took issue with the way you intertwined z-indexs across different components. I think this PR solves the same goal, but allows us to circumvent that dependency. It does cause a change of the public API of a daff-backdrop, but I think it's an acceptable change as we're dropping @Input show for the more common *ngIf.
Let me know what you think.

could you fix the build and update the usage in demo?

@lderrickable I fixed the docs and failing tests, but I couldn't find a distinct usage of the backdrop anywhere in demo. Everything using daff-backdrop seems to encapsulate the code inside of @daffodil/design.

authors: damienwebdev lderrickable

repo: graycoreio/daffodil


text:
After logging in I'm redirected to the "logged in" page instead of going directly to the target website

Describe the issue
I'm using caddu-auth-portal with Azure OAuth2 and everything's working great except for the fact that after I login successfully I get redirected to the "logged in" screen. At that point I can click the link for the website I was trying to access and I can access it just fine. So, for now, I'm not blocked but I do have to do a lot more clicking than I'd like to be doing.
Ideally I'd like it if I browse to https://radarr.myhome.net, OAuth2 authantication happens, I land on https://radarr.myhome.net.
Configuration
{
  https_port 443
}

(tls-dns-azure) {
  tls {
    dns azure {
      tenant_id [REDACTED]
      client_id [REDACTED]
      client_secret [REDACTED]
      subscription_id [REDACTED]
      resource_group_name [REDACTED]
    }
  }
}

(auth-trusted-tokens) {
  token_name access_token
  token_secret [REDACTED]
}

(auth) {
  jwt {
    primary yes
    auth_url https://auth.myhome.net/auth/oauth2/azure
    allow roles anonymous guest
    allow roles admin
    allow roles everyone Everyone
    trusted_tokens {
      static_secret {
        import auth-trusted-tokens
      }
    }
  }
}

(auth-admin-required) {
  jwt {
    primary no
    auth_url https://auth.myhome.net/auth/oauth2/azure
    allow roles admin
    trusted_tokens {
      static_secret {
        import auth-trusted-tokens
      }
    }
  }
}

auth.myhome.net {
  route /* {
    import auth
    redir https://auth.myhome.net/auth/oauth2/azure 302
  }

  route /auth* {
    auth_portal {
      path /auth
      cookie_domain myhome.net
      backends {
        azure_oauth2_backend {
          method oauth2
          realm azure
          provider azure
          client_id [REDACTED]
          client_secret [REDACTED]
          scopes openid email profile
          user [REDACTED] add role admin
        }
      }
      jwt {
        import auth-trusted-tokens
      }
      ui {
        links {
          "Radarr" https://radarr.myhome.net
        }
      }
    }
  }

  import tls-dns-azure

}

radarr.myhome.net {

  route {
    import auth-admin-required

    reverse_proxy radarr:7878
  }

  import tls-dns-azure

}

Version Information
Provide output of caddy list-modules -versions | grep auth below:
/srv # caddy list-modules -versions | grep auth
http.authentication.hashes.bcrypt v2.3.0
http.authentication.hashes.scrypt v2.3.0
http.authentication.providers.http_basic v2.3.0
http.authentication.providers.jwt v1.2.7
http.handlers.auth_portal v1.4.6
http.handlers.authentication v2.3.0

Expected behavior
If I browse to https://radarr.myhome.net I go through the OAuth2 authentication process and then I'm redirected back to https://radarr.myhome.net (which is a reverse proxy).
Additional context
Add any other context about the problem here.

@richardpowellus , please post screenshots of your azure config. Want to see your callbacks.

I only have the one callback set - I guess I'm supposed to have more?

@richardpowellus , I am reading https://github.com/greenpau/caddy-auth-portal#microsoft and it has only 1 callback. Your screenshot matches.
One thing I noticed here:
auth.myhome.net {
  route /* {
    import auth
    redir https://auth.myhome.net/auth/oauth2/azure 302
  }

  route /auth* {

I think the default tour should come last. Please change the order, retry, and report back.

Wow, that was it. So simple. Thanks for the help!

@richardpowellus , please promote the plugin on social media platforms you use and :star:  it :-)

authors: greenpau richardpowellus

repo: greenpau/caddy-auth-portal


text:
Subscriber class and its super classes have no public methods with the @Subscribe annotation

Eventbus: 3.2.0
compileSdkVersion 30
compileOptions.sourceCompatibility JavaVersion.VERSION_1_8
compileOptions.targetCompatibility JavaVersion.VERSION_1_8
I've followed the steps in the readme and also checked a lot of answers on StackOverflow but yet getting error: Subscriber class com.example.test.MainActivity and its super classes have no public methods with the @Subscribe annotation
Build Gradle file has this options:
buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
        }
}

proguard-rules.pro
-keepattributes *Annotation*
-keepclassmembers class * {
    @org.greenrobot.eventbus.Subscribe <methods>;
}
-keep enum org.greenrobot.eventbus.ThreadMode { *; }

# And if you use AsyncExecutor:
-keepclassmembers class * extends org.greenrobot.eventbus.util.ThrowableFailureEvent {
    <init>(java.lang.Throwable);
}

In MainActivity class, that extends AppCompatActivity I'm importing org.greenrobot.eventbus.Subscribe and declaring this methods:
 @Override
    protected void onStart(){
        super.onStart();
        EventBus.getDefault().register(this);
    }

  @Override
    protected void onStop(){
        super.onStop();
        EventBus.getDefault().unregister(this);
   }

  @Subscribe()
    public void onUnauthorizedRequestEvent(){
        Intent intent = new Intent(this, LoginActivity.class);
        startActivity(intent);
    }

The event is sent thru a OkHttp3 interceptor, like this EventBus.getDefault().post(UnauthorizedRequestEvent.getInstance()).
What else I should check? Thanks.

So, I've finally make it work. I've added SubscriberIndex to my build.gradle along with annotationProcessor 'org.greenrobot:eventbus-annotation-processor:3.2.0' as a dependency:
javaCompileOptions {
            annotationProcessorOptions {
                arguments = [ eventBusIndex : 'com.example.test.MyEventBusIndex' ]
            }
}

Then, in my class CustomApp that extends Application I override the onCreate method and set
EventBus.builder().addIndex(new MyEventBusIndex()).installDefaultEventBus();

repo: greenrobot/EventBus


text:
Unable to import SVG in react native with @svgr/webpack

🐛 Bug Report
I am using https://github.com/callstack/repack to integrate webpack for react native. I am trying to use @svgr/webpack to bundle the SVGs, but it is throwing error.
To Reproduce
The SVG
<svg width="41" height="14" viewBox="0 0 41 14" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0)">
<path d="M21.2083 4.87456C21.1858 6.58841 22.793 7.54487 24.0037 8.11349C25.2477 8.69698 25.6655 9.07109 25.6607 9.5928C25.6513 10.3914 24.6684 10.7438 23.7485 10.7575C22.1437 10.7815 21.2107 10.3399 20.4688 10.0058L19.8907 12.6132C20.635 12.9439 22.0131 13.2322 23.4422 13.2448C26.7967 13.2448 28.9915 11.6487 29.0033 9.17406C29.0164 6.03352 24.4963 5.85962 24.5272 4.45582C24.5378 4.03021 24.9592 3.57601 25.8827 3.46045C26.3397 3.40211 27.6015 3.35749 29.0318 3.99246L29.5933 1.46973C28.8241 1.19972 27.8353 0.941159 26.6044 0.941159C23.447 0.941159 21.2261 2.55891 21.2083 4.87456ZM34.9882 1.15854C34.3757 1.15854 33.8593 1.50291 33.6291 2.03148L28.8372 13.0594H32.1892L32.8563 11.2826H36.9527L37.3396 13.0594H40.2941L37.7159 1.15854H34.9882ZM35.457 4.37344L36.4244 8.84228H33.7751L35.457 4.37344ZM17.144 1.15854L14.5018 13.0594H17.696L20.3371 1.15854H17.144ZM12.4186 1.15854L9.09381 9.25873L7.74895 2.37128C7.59107 1.60245 6.9679 1.15854 6.27588 1.15854H0.840616L0.764648 1.50405C1.88043 1.73745 3.14814 2.11386 3.91613 2.51658C4.38618 2.76256 4.52031 2.97765 4.67462 3.56228L7.22192 13.0594H10.5977L15.7731 1.15854H12.4186Z" fill="#9E9E9E"/>
</g>
<defs>
<clipPath id="clip0">
<rect width="39.5294" height="12.3529" fill="white" transform="translate(0.764648 0.941162)"/>
</clipPath>
</defs>
</svg>

Webpack config
      {
        test: /\.svg$/,
        use: [
          {
            loader: '@svgr/webpack',
            options: {
              native: true,
            },
          },
        ],
      },

Throws
Error in "./src/svg/logos/visa.svg": Module build failed (from ./node_modules/@svgr/webpack/lib/index.js):
NonErrorEmittedError: (Emitted value instead of an instance of Error) Error in parsing SVG: Non-whitespace before first tag.
Line: 0
Column: 1
Char: v
    at processResult (node_modules/webpack/lib/NormalModule.js:698:12)
    at node_modules/webpack/lib/NormalModule.js:807:5
    at node_modules/loader-runner/lib/LoaderRunner.js:399:11
    at node_modules/loader-runner/lib/LoaderRunner.js:251:18
    at context.callback (node_modules/loader-runner/lib/LoaderRunner.js:124:13)
    at node_modules/@svgr/webpack/lib/index.js:72:58

Same SVG works on the playground.
Expected behavior
Converts to react-native-svg component and bundles it.

Run npx envinfo --system --binaries --npmPackages @svgr/core,@svgr/cli,@svgr/webpack,@svgr/rollup --markdown --clipboard
Paste the results here:
## System:
 - OS: macOS 11.3
 - CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
 - Memory: 45.95 MB / 16.00 GB
 - Shell: 5.8 - /bin/zsh
## Binaries:
 - Node: 14.17.1 - /usr/local/opt/node@14/bin/node
 - Yarn: 2.4.2 - /usr/local/bin/yarn
 - npm: 6.14.13 - /usr/local/opt/node@14/bin/npm
## npmPackages:
 - @svgr/webpack: ^5.5.0 => 5.5.0

Hello @jaysson, unfortunately I am not a React Native user and I will not be able to help you on this one...

Closing it as outdated.

authors: gregberge jaysson

repo: gregberge/svgr


text:
Clarification on onRowSelect option

From the README:

Callback function that triggers when row(s) are selected. function(currentRowsSelected: array, rowsSelected: array) => void

What is the difference between currentRowsSelected and rowsSelected?

Right, good question. I'll explain both:
currentRowsSelected: I think at one time I was trying to plan ahead incase we would ever need to account for somehow one or many rows being selected at the same exact time. Because it would need to potentially support more than one entry I made it an array.
rowSelected: It means all the rows currently selected.
I think the README could be more clear if we updated it to read like:
Callback function that triggers when row(s) are selected. function(currentRowsSelected: array, allRowsSelected: array) => void

@brianpmaher Would you want to send in a PR to fix this?

So currentRowsSelected contains only the newly selected row(s)?

@brianpmaher Would you want to send in a PR to fix this?

Yeah, I can do that.  I just want to make sure I'm totally clear on the differences.

authors: brianpmaher gregnb

repo: gregnb/mui-datatables


text:
UI Reads the VE settings files and lets the user edit the files from the UI

UI Reads the VE settings files (geo.csv, model_parameters.json, run_parameters.json) and lets the user edit the files from the UI

Each file will be editable in a simple text editor for now, nothing fancy

done

repo: gregorbj/VisionEval


text:
dateLastEdited in CommentCard Action

Vineet Rawat (vineet_rawat on BitBucket) wrote:

Trello adds a property "dateLastEdited" for edited cards. It doest not change the Creation date.

i.e. If I create a comment then it will set the "date" attribute to the creation date. Next time if I edit the comment it will add "dateLastEdited" attribute to the time the comment was modified. The "dateLastEdited" is not shown for new comments.

Please see the attachment. The first comment is a new comment and the second one is edited.

Vineet Rawat (vineet_rawat on BitBucket) wrote:

The nuget version of packages:
.NET 4.0
Manatee.Json 3.1.4
Manatee.StateMachine 1.1.2
Manatee.Trello 1.7.0
Manatee.Trello.ManateeJson 1.3.10
Manatee.Trello.RestSharp 1.2.0.2
RestSharp 105.1.0

Please upgrade to the following:

Manatee.Trello v1.8.0
Manatee.Trello.ManateeJson v1.4.0.

Feature implemented

license: mit


text:
Add extra forecast_reference_time dimension (allow len(dim) == 1)

Hi folks,
I had hoped to circumvent GRIB files in my career, but now I rely on someone else's simulation output....So to be able to actually work efficiently with the output I'm turning to gribscan.
In my particular case I need to index
Forecast (Init time: 2024-01-01T00:00:00)
|-----GRIB_2024-01-01T00:00:00__Analysis
|-----GRIB_2024-01-01T00:00:00__Forecast_1h
|-----GRIB_2024-01-01T00:00:00__Forecast_2h
|-----GRIB_2024-01-01T00:00:00__Forecast_3h
|-----....
Forecast (Init time: 2024-01-02T00:00:00)
|-----GRIB_2024-01-02T00:00:00__Analysis
|-----GRIB_2024-01-02T00:00:00__Forecast_1h
|-----GRIB_2024-01-02T00:00:00__Forecast_2h
|-----GRIB_2024-01-02T00:00:00__Forecast_3h

Currently, the index for each of these datasets contains besides the spatial dimensions, just one time dimension. To concatenate and fully describe these forecasts, I need however two dimensions, the forecast_reference_time and the forecast_offset. Both of these fields are available in the GRIB file and are also captured by gribscan as referenceTime and step.
When using referenceTime and step as dimkeys in a Magician the referenceTime dimension is however already dropped, because it has the dimension length of 1.
Can we relax this requirement of len(dim) >1? It seems to me the easiest and cleanest way to retain the information about the referenceTime. I do not want to read it from the path or anything.
Happy to do a PR.

This is exactly the same problem @mattphysics. In my workflow I do not like to call gribscan on GRIB files from different forecasts though, so I would prefer that gribscan returns all requested dimensions (as defined in dimkeys) independent of its dimension size. I can drop/squeeze them still afterwards.

Sorry for being late to the party. We've been traveling for a bit.
If I get this issue right, the main problem isn't so much, that the referenceTime dimension is dropped, but more that the referenceTime coordinate is not created once the dimension is dropped, correct?
(i.e. there should be a 0 or 1-dimensional referenceTime coordinate, because otherwise that information is lost)
There might be a subtle problem removing the size > 1 constraint, which would be e.g. when mixing surface variables and 3d variables in one dataset (or have multiple datasets which might be joined e.g. using open_mfdataset). In that case, you want 3d variables carrying the level dimension, but surface variables not. Otherwise, all surface variables would be expanded to all the levels, mostly filled with missing values. In this case, the level coordinate for the surface variables also likely wouldn't be very informative and thus should probably be dropped.
On the other hand, referenceTime and step might be useful to carry along in some cases (e.g. this case), even if there's just a single value. The problem here is, from the GRIB messages alone, it's impossible to decide if a key should span a dimension in the dataset or is only available for informational purposes. So I currently tend to think, that we need another customization point within the Magicians, which would help us solve this ambiguity. E.g. there might be something like keepdims in addition to dimkeys to tell that a dimension really shouldn't be dropped.

Thanks for explaining the thought behind dropping dimensions with size==1.
I like the idea of explicitly mentioning the dimensions to keep with e.g. keepdims. I think this would be a neat solution.

repo: gribscan/gribscan


text:
RPC Overhaul (WIP)

This is a WIP and thought i'd post an issue so people can chime in and know what will be happening over the next while as i'm in between bug diagnostics and fixes as well and improvements overall. some will increase performance as well. I been in bitcoin code learning about all the improvements etc they have made in this field.
Improvements:

Remove the LOCK for cs_main pwalletMain->cs_wallet from the RPC caller itself
Removing these locks from there and placing the locks in the rpc calls the same way bitcoin did improved performance there and eliminate unnecessary locking when incorrect amount of parameters were set thus throwing the json runtime. Its not necessary and counterproductive to lock to throw the help when incorrect amount of parameters are entered. Currently if there was a delay waiting for a lock you could wait for the runtime error reply this should not be the case.
Added categories to help rpc command to sort all the rpc functions into appropriate categories.
Fixed and add proper ConvertTo for parameter types and missing conversions as well. (ex listtransactions was missing bool etc)
Adding locks to the rpc functions itself also allows better control and shorten the scopes of the locks in turn freeing them sooner then later.
Also improves from locking both cs_main and pwalletMain->cs_wallet when only one of the locks are required. (Keep in mind gridcoin has some differences in commands and i will keep both locks when necessary)
Move the execute and list functions to RPC calls without the need for list and execute.
If any locks are required in the previous execute or list functions they will be added
If any conversions are needed they from execute and list they will be added properly to use the RPC as it was intended.
Help command will display help information with categories so user can go help wallet etc
All original RPC functions will not be affected they will still be entered the same
Fixing some broken RPC calls and eliminating any duplicates
Adding debug flag for rpc response times for dev testing

This is WIP and im working on it when i can thou been tied up lately. I'm about 40% complete and its running smoothly and looks nice. Will update this and let everyone know of more information when I have time and available.
If there are any requests as to additions etc do comment and make me aware.
@denravonska thought I should post this as some were asking what kind of improvements they will see. Please add the enhancement tag and if u feel the need to add bug fix for the missing conversions and broken rpc calls. this will be a good improvement for the wallet RPC.

Why is this an issue, not a PR?
You are great, bu picking up on this.
To be clear, I am strongly  against including into the next release, maybe the one after.

Wouldn't be an enhancement tag etc. Issue is also to allow input as well as requests that could be helpful for users and rpc.

Now I think i get it. This is summary of what you are going to do.

yes summary of work in progress i'm partially done just been on hold
XD

Does this update #527 in any way?

#1065 improves the machine friendliness of the polling rpc commands.

no clue i plan some clean up in how data is shown and grouped.

yes we are and @TheCharlatan took on the other parts. closing

authors: Foggyx420 TheCharlatan tomasbrod

repo: gridcoin/Gridcoin-Research


text:
Run Shader on Blits from a GPU_Image Tileset

Hi,
I have been successful in doing two things with sdl-gpu so far:

Use a GPU_Image tileset with GPU_BlitScale() to draw out 16x16 pixel tiles to create the level of my game.
Use GPU_LoadShader(), GPU_LinkShaders(), glGenVertexArrays(), glVertexAttribPointer(), etc. in order to create and modify shader triangles within my game.  I am able to pass in vertex data and utilize attributes, uniforms, position, color, etc. to modify the shaders during rendering.

One question is as follows:

What is a good method to apply/run a shader (from point 2 above) on a 16x16 blit (from point 1 above)?  In other words, how do I target only specific 16x16 blit tiles to be affected by a particular shader?

A second question is as follows:

What is a good method to have a shader apply across multiple 16x16 blits as a whole?  For example, where a light would diffuse across an area of 20x20 tiles, not just each tile individually.  Would each tile get its own shader class?  How would multiple tiles share 1 shader?

Thanks so much!

I was able to make some progress on this.  I have been using the "tests/shader-attributes" source code as a reference.  I have found the following:
If I wrap a "GPU_Blit()" call with "GPU_ActivateShaderProgram(program, &block)" [to activate the shader] and "GPU_ActivateShaderProgram(GPU_GetContextTarget()->context->default_textured_shader_program, NULL)" [to deactivate the shader] then the activated shader will only affect the blits/tiles drawn between the activate/deactivate shader call.  This is exactly what I was trying to do.
It seems a little odd to have to wrap the draw calls with activate/deactivate shader but if it works then that's fine.  I will be thinking about another way to do this though.
Another note:
Since I am using GPU_Blit(), the shader seems to automatically pick up the tile vertices.  In other words, I don't need to create a mesh, vertex buffer object, vertex array object, bind, etc.  The other interesting thing is that the shader affects all of the tile blits as a whole instead of individually as they are blitted.  This actually answers my second question.
Therefore, all in all I think I got everything working for now.

Sorry I wasn't able to get back to you before you put more time into this.
It seems like you just needed a better demo of how to use shaders in a real application with SDL_gpu?  I think you've pretty much gotten there.
Load shader program:
Uint32 vert = GPU_LoadShader(GPU_VERTEX_SHADER, vert_filename);
Uint32 frag= GPU_LoadShader(GPU_FRAGMENT_SHADER, frag_filename);
Uint32 shader = GPU_LinkShaders(vert, frag);

Then load a shader block so that SDL_gpu can use the standard attributes for blitting with that shader:
GPU_ShaderBlock block = GPU_LoadShaderBlock(shader, "gpu_Vertex", "gpu_TexCoord", "gpu_Color", "gpu_ModelViewProjectionMatrix");
Also get the locations of custom uniforms/attributes you want to use:
int hue_loc = GPU_GetUniformLocation(shader, "hue");
Then when you want to use it, you activate it, set uniforms, blit, then deactivate (if necessary):
GPU_ActivateShaderProgram(shader, &block);
GPU_SetUniformf(hue_loc, 0.5f);
GPU_Blit(image, NULL, screen, x, y);
GPU_ActivateShaderProgram(0, NULL);  // Using 0 and NULL will reset it to the appropriate default shader

If you use C++, you're welcome to mess around with my Shader class that stores all that stuff in one place, caches uniform locations, and supports unversioned GLSL 300-compatible shaders.
I use it like so:
Load:
Shader shader;
shader.load(vert_filename, frag_filename);
// Do this if you write unversioned shaders that can work on OpenGL 3+ and GLES 2+
// shader.load_unversioned(vert_filename, frag_filename);

Use:
shader.activate();
GPU_SetUniformf(shader.get_location("hue"), 0.5f);  // Location is cached so doesn't need to be preloaded
GPU_Blit(image, NULL, screen, x, y);
shader.deactivate();

Shader class.zip

Wow, your code above is spot on.  It's exactly what I meant.  I will try to use the code formatting from now on to make things more legible.
What I thought was interesting is that "gpu_Vertex",  "gpu_TexCoord",  "gpu_Color", "gpu_ModelViewProjectionMatrix" are all "standard attributes."  Is this why the shader automatically works with GPU_Blit() in terms of "vertex, texture, color, matrix"?
Thanks for the Shader class, it has all the concepts I was talking about written very well.  I will certainly utilize this.

Yes, GPU_Blit() uses the shader block to know which attributes to pass that data to.  That data is the typical for 2D rendering to a quad and this setup just organizes it in a way.
You might also find it useful to know that the first texture sampler will be image unit 0, which is what GPU_Blit() assumes and uses.  If your shader uses multiple texture samplers, then use GPU_SetShaderImage() to link each of them to a GPU_Image and a unique image unit.

Ha, you are basically reading my mind.  I was literally just digging through "tests/multitexture" and found GPU_SetShaderImage() before I even saw your latest post.  It's exactly what I am trying to do right now.  I am trying to sample a diffuse and normal map texture in the fragment code.
I may have some other questions regarding this process and will let you know in a separate issue.
Thanks so much for all of your help!


text:
feat: add claude prompt driver

Should we call this ClaudePromptDriver or AnthropicPromptDriver?

@collindutterm this is pretty much ready to be merged except for tests, right?

Yeah, but I'm running into some odd behavior from their tokenizer now that I'm creating tests.

@vasinov added tests. Though I still haven't done much real world testing outside hello world.

authors: collindutter vasinov

repo: griptape-ai/griptape


text:
Is it possible to move focus to the column options with the keyboard?

The keyboard interaction for tables is really good, but I can't see how to get out of it and use the keyboard to move around the rest of the Grist interface. Is there a way of moving focus from the table to the column options sidebar, with the keyboard?
And once the focus is in the column options, pressing Tab seems to move focus back to the table and on to the next column. So is the answer "we haven't done that bit yet"?

Yeah, that's the answer. Grist carefully tries to keep focus on the cells as much as possible (so that you can start typing, or navigate, or copy-paste). In principle, you could imagine a shortcut to switch between "Data focus" (on cells) and "UI focus" (on rest of UI), but such UI focus is basically non-existent today -- many elements don't have tabindex set, the cell still shows a cursor as if it has focus, etc. So basically, it's quite a lot of work to implement.

authors: christianp dsagal

repo: gristlabs/grist-core


text:
V2 login grk d

Context

Changes & Results

Testing

Checklist
PR

[] My Pull Request title is descriptive, accurate and follows the
semantic-release format and guidelines.

Code

[] My code has been well-documented (function documentation, inline comments,
etc.)

Public Documentation Updates

[] The documentation page has been updated as necessary for any public API
additions or removals.

Tested Environment

[] "OS:
[] "Node version:
[] "Browser:

login 기능 이식

repo: grk-medical-lab/Viewers


text:
restore/finetune: allow non-strict loading of state dict

When the restore mode is finetune, allow the user to control the strict parameter of load_state_dict using a new optional config key train.restore.strict.
I'm not sure if adding a new field to the NNTemplateCorewas the way to go, but it was the fastest to figure out, so tell me if you see any obvious problem with this modification.

Hi, a few months later i find myself still using this feature, and i realize I didn't motivate it in this pull request: the main use case is as follows:

pre-train a base model X
add a new module to the base model (classification head or anything else)
start a run which restores X's weights + initializes the new module(s) with random weights and train as desired

Currently, doing this seems not to be possible with this template, because an exception will be thrown about keys that are in the new model, but missing in the state dict. By setting strict to False  in the load_state_dict call, the missing keys are ignored.
I reckon this could be a footgun if set blindly (might be mentioned in the docs), but it is also quite a useful feature.
In alternative, if you know the feature is already present somewhere else in the code, please let me know!

Thank you so much for submitting the PR! We really appreciate it and apologize for the delay in getting back to you. Unfortunately, we're currently very short on time, but we hope to have more time to work on updating the template in the coming months.
I think this is a nice feature to have, would you mind adding a small mention on this functionality in the corresponding docs page?
Thank you again for your contribution!

authors: lucmos umbertov

repo: grok-ai/nn-template-core


text:
Fix to query issues by state

Fixes #7
Depends on:

[x] #15
[x] #16

The following code:
var openState = new IssueState?[] { IssueState.Open }.AsQueryable();
var query = new Query().Repository("octokit", "octokit.net").Issues(first: 3, states: openState).Nodes.Select(i => i.Title);
var result = Enumerable.ToArray<string>(Connection.Run(query).Result);

Generates this incorrect query:
{query:
    {repository(owner:"octokit",name:"octokit.net")
    {issues(first:3,states:System.Nullable`1[Octokit.GraphQL.IssueState][]){nodes{title}}}}}

it should be
{query:repository(owner:"octokit",name:"octokit.net"){issues(first:3,states:[OPEN]){nodes{title}}}}

Hmm, I should add a test that checks this that isn't an integration test.

Unless you want to undo the recursion, i think we are done here.


text:
[FEATURE] Implement lazy loading to the pages

Description
Description
Lazy loading is a technique that can be used to improve the performance of a website by delaying the loading of resources until they are needed. This can help to reduce the initial load time of a page, which can improve the user experience and make the website more responsive.
The benefits of lazy loading include:

Reduced initial load time
Improved user experience
More responsive website

Screenshots
No response
Additional information
No response

Please assign me this issue so that I can work on this issue under GSSOC'23.

You can work on this issue, you're assigned!

repo: group-patronage/group-patronage


text:
Add http proxy

Currently, grpc-health-probe runs as executable, checks the health status and shuts down.
With this change a user can optionally start grpc-health-probe as an http server which accepts an http based healthcheck request.  For each request a grpc-native healthcheck is issued for an upstream service.  The repsonse status of the grpc serivce is returned back to the original http client request.

http listener supports  http, https, mTLS

Usage:

Check the status of an upstream gRPC serviceName echo.EchoService listening on :50051:

$ grpc_health_probe --addr localhost:50051 \
                    --service echo.EchoServer

HTTP to gRPC HealthCheck proxy:

grpc_health_probe will listen on :8080 for HTTP healthcheck requests at path /healthz.
$ grpc_health_probe --http-listen-addr localhost:8080 \
                    --http-listen-path /healthz \
                    --addr localhost:50051 \
                    --service echo.EchoServer

HTTPS to gRPC HealthCheck proxy:

grpc_health_probe will listen on :8080 for HTTPS healthcheck requests at path /healthz.
HTTPS listener will use keypairs [server_crt.pem, server_crt.pem]
$ grpc_health_probe --http-listen-addr localhost:8080 \
                    --http-listen-path /heatlhz \
                    --addr localhost:50051 \
                    --https-listen-cert server_crt.pem \
                    --https-listen-key server_key.pem \
                    --service echo.EchoServer

mTLS HTTPS to gRPC HealthCheck proxy:

grpc_health_probe will listen on :8080 for HTTPS with mTLS healthcheck requests at path /healthz.
HTTPS listener will use keypairs [server_crt.pem, server_crt.pem] and verify client certificates issued by CA_crt.pem
$ grpc_health_probe --http-listen-addr localhost:8080 \
                    --http-listen-path /healthz \
                    --addr localhost:50051 \
                    --https-listen-cert server_crt.pem \
                    --https-listen-key server_key.pem \
                    --service echo.EchoServer \
                    --https-listen-verify \
                    --https-listen-ca=CA_crt.pem

Please send a proposal before writing the code in case it’s rejected altogether.

repo: grpc-ecosystem/grpc-health-probe


text:
Add go release versions to client_matrix.py

$ gcloud beta container images list-tags gcr.io/grpc-testing/grpc_interop_go1.8
DIGEST        TAGS     TIMESTAMP
1cd66951fb6e  v1.10.0  2018-02-15T15:21:20
fe1cdb9d89c6  v1.9.2   2018-01-19T11:37:05
a3a67d963a7c  v1.9.1   2018-01-08T14:26:31
bab9522bb241  v1.9.0   2018-01-04T14:48:09
ae47eb7fee72  v1.8.2   2017-12-12T17:01:54
1f30029aefbe  v1.8.1   2017-12-05T11:29:58
de5de35d8c0f  v1.7.4   2017-12-05T11:29:14
01cdc4b28bf8  v1.8.0   2017-11-21T17:22:51
2bdc2990d55a  v1.7.3   2017-11-21T17:22:31
c8cca2206b87  v1.7.2   2017-11-21T17:21:53

****************************************************************

libgrpc.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

****************************************************************

libgrpc++.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

[trickle] No significant performance differences

[microbenchmarks] No significant performance differences

authors: grpc-testing menghanl

repo: grpc/grpc


text:
fix IOCP error handling and remove a redundant system-call

Please check this:
https://github.com/grpc/grpc/blob/master/src/core/iomgr/tcp_windows.c#L193-L204
IMHO, these lines are unnecessary because leaving the I/O to OS (kernel mode) gives better efficiency (low CPU utilization and low user-kernel transition) in case of the proactor style I/O (such as IOCP).
What's your opinion about this PR and comments?

Please have a look at #1522 which does the same things, and more.

Also, about the first system call, this is to avoid a thread switch. I've yet to run actual benchmarks on this however. But basically I'm trying to avoid thread switching as much as possible, as they typically are more expensive than anything else you'd encounter. So running a first sync read will try that.

@nicolasnoble  I couldn't recognize that you'd already solved that problem at #1522 :+1:
About the first system call, basically you are right but, I think it is better that let the IOCP do I/O because IOCP mechanism surpresses the thread-switching by using stack-based thread pooling.

when #1522 is merged, you'd better close this issue :)

Once the tests are stable, I'll definitely run some benchmark to see which is better. Right now that is just a gut intuition this is better, but I can be proven wrong by actual numbers, of course.

#1522 has been merged, closing this one.

authors: nicolasnoble zeliard


text:
Add Testonly to Targets

Needed for internal build rules

****************************************************************

libgrpc.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

****************************************************************

libgrpc++.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

[trickle] No significant performance differences

****************************************************************

libgrpc.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

****************************************************************

libgrpc++.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

[trickle] No significant performance differences

Objective-C binary sizes
*****************STATIC******************
  New size                      Old size
 2,019,718      Total (=)      2,019,718

 No significant differences in binary sizes

***************FRAMEWORKS****************
  New size                      Old size
11,154,116      Total (=)     11,154,116

 No significant differences in binary sizes

Corrupt JSON data (indicates timeout or crash):
    bm_call_create.BM_IsolatedFilter_ClientChannelFilter_NoOp_.counters.new: 10
    bm_call_create.BM_IsolatedFilter_ClientChannelFilter_NoOp_.counters.old: 10

[microbenchmarks] No significant performance differences

Objective-C binary sizes
*****************STATIC******************
  New size                      Old size
 2,019,718      Total (=)      2,019,718

 No significant differences in binary sizes

***************FRAMEWORKS****************
  New size                      Old size
11,154,121      Total (=)     11,154,121

 No significant differences in binary sizes

Corrupt JSON data (indicates timeout or crash):
    bm_call_create.BM_IsolatedFilter_ClientChannelFilter_NoOp_.counters.new: 10
    bm_call_create.BM_IsolatedFilter_ClientChannelFilter_NoOp_.counters.old: 10

[microbenchmarks] No significant performance differences

authors: grpc-testing ncteisen


text:
Revert "Revert #18733"

Reverts grpc/grpc#18747
We need to update upb internally before this PR can be imported.

+cc @vishalpowar

Closing in favor of https://github.com/grpc/grpc/pull/18817


text:
Drop support for ruby 2.3

Towards https://github.com/grpc/grpc/issues/25194
Plan to followup to drop support for ruby 2.4 in the next few months

cloud to cloud test failure: https://github.com/grpc/grpc/issues/25090

cloud to cloud test failure: https://github.com/grpc/grpc/issues/25090

basic tests c windows passed in https://source.cloud.google.com/results/invocations/038ec017-a811-4962-af4e-8b335694afec/targets, but the result is still shown as "pending" here

basic tests c windows passed in https://source.cloud.google.com/results/invocations/038ec017-a811-4962-af4e-8b335694afec/targets, but the result is still shown as "pending" here


text:
Fix use after free

Previously we'd use an explicit arena->Destroy() call to free memory.
This change makes the arena a scoped pointer, and in doing so lets the
grpc_metadata_batch destructors run prior to the arena being destroyed,
preventing a use-after-free we've seen in production code.

@markdroth

Should fix b/217664824


text:
OpenCensus: fixes broken traces exporting caused by a missing EndSpan

It seems like the Census plugin is not ending the span created by grpc::OpenCensusCallTracer, therefore tools like Jaeger are unable to relate the spans created by grpc::OpenCensusCallAttemptTracer to the previous ones.
@drfloob

@epertoso Note that tests are failing. Error message -
test/cpp/ext/filters/census/stats_plugin_end2end_test.cc:660:43: error: no member named 'GetSpansAndClearState' in 'grpc::testing::(anonymous namespace)::ExportedTracesRecorder'
  auto recorded_spans = traces_recorder_->GetSpansAndClearState();
                        ~~~~~~~~~~~~~~~~  ^
test/cpp/ext/filters/census/stats_plugin_end2end_test.cc:671:8: error: variable has incomplete type 'void'
  auto sent_span_data =
       ^
test/cpp/ext/filters/census/stats_plugin_end2end_test.cc:673:8: error: variable has incomplete type 'void'
  auto attempt_span_data =
       ^
test/cpp/ext/filters/census/stats_plugin_end2end_test.cc:677:8: error: variable has incomplete type 'void'
  auto recv_span_data =
       ^

My bad, I refactored something and forgot to re-run the tests. They're passing locally now.

Need more work, it seems there's some flakiness related to the exported spans. I'll need more time to see what's happening there.

@yashykt
I've looked up into why the test is flaky, and that's because the OpenCensusCallTracer destructor is called when the grpc_call object is destroyed, which may or may not happen before all the spans have been recorded.
The other tests in the file stats_plugin_end2end_test.cc use absl::SleepFor(absl::Milliseconds(500)) to wait for the destructor to be called.
I'm not a big fan of using sleep in multi-threaded tests, but it seems that there is no easy way to register a closure that runs after the call gets destroyed. Do you think it's acceptable to put SleepFor before exporting the traces, like the other tests are doing for the stats?

Hey, yes, I had seen this issue some time back but didn't have time to fix it at that point. I'd say go ahead and add that sleep for now.

Sorry for the late reply, done.

authors: epertoso yashykt


text:
[lb] Fix wrong memory allocation size from strlen for string copying

Fixes #36610

Looks like the existing code was actually correct.  We don't want to include the null byte in the string in this case, because we're encoding the size into the protobuf.


text:
Error: spawn ENOENT

I'm havin some troubles to build my application. When I execute imagemin task, it returns the following error:
Warning: Error: spawn /data/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-gifsicle/node_modules/gifsicle/vendor/gifsicle ENOENT in file app/assets/images/loading.gif Use --force to continue.

here is my task:
imagemin: {
      dist: {
        files: [
          {
            expand: true,
            cwd: '<%= appConfig.app %>/assets/images',
            src: '*.{png,jpg,jpeg,gif,svg}',
            dest: '<%= appConfig.dist %>/images'
          }
        ]
      }
    }

Any clues?

Try reinstalling and look at the CLI output. Looks like the install failed somehow.

my problem is that my application is builded using bamboo by a docker container. I have other applications using the same container an using grunt-contrib-imagemin. Works fine.
So, I don't have access to this container. I tried to remove grunt-contrib-imagemin from package.json expecting that the process remove it. It runs npm prune before anything. After that, I inserted grunt-contrib-imagemin again in package.json and the error persist.
Reading the log, I discovered an error that could be associated with my problem:
´´´
npm WARN cannot run in wd gifsicle@3.0.1 node lib/install.js (wd=/data/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-gifsicle/node_modules/gifsicle)
´´´
I really don't know how to start to resolve this problem...

Same problem here on Linux when issues $ grunt
I have "imagemin-gifsicle": "^4.2.0" and "grunt-contrib-imagemin": "^0.9.4"
 Warning: Running "imagemin:dist" (imagemin) task
    Warning: Error: spawn /root/mytodo/node_modules/imagemin/node_modules/imagemin-optipng/node_modules/optipng-bin/vendor/optipng ENOENT in file app/images/yeoman.png Use --force to continue.
Aborted due to warnings.

+1. Exactly same issue as @dtolj

I am too getting same issue
Warning: Running "imagemin:dist" (imagemin) task
Warning: Error: spawn /Volumes/Data/LS/source/UI/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-gifsicle/node_modules/gifsicle/vendor/gifsicle ENOENT in file

Anyone found any solution??

When I ran my grunt build with sudo it worked!!

+1. Same issue as @dtolj and @MZAWeb.

Ok, I was having this very same issue, was super frustrated, but after hours of research I finally figured it out.
As @pagoenka suggested in his comment, a npm permission issue prevents some grunt-contrib-imagemin dependencies to install correctly. Here's what I did to fix it:

Fix npm permissions by following their own instructions:
https://docs.npmjs.com/getting-started/fixing-npm-permissions

Delete project's node_modules/ folder

Restart

Reinstall node modules by running npm install at the projects folder.

Hope this helps.
Cheers!

try:
npm uninstall grunt-contrib-imagemin
npm install grunt-contrib-imagemin

@aruis
your suggestion with uninstall and install did the trick for me. Big thx, saved my day!

Well I tried what GilmarLira said, but to no avail.
I now have this error..
Warning: Error: spawn some-project-root-path/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-gifsicle/node_modules/gifsicle/vendor/gifsicle ENOENT in file some-project-root-path/dist/default-skin/preloader.gif Use --force to continue.

Ok.. now that the PR is merge, i've tried with grunt-contrib-imagemin: 1.0.0 and I still have the issue, BUT I found a workaround.
After my npm install, if I overwrite versions of these 3 packages I have no more problems
npm install jpegtran-bin@3.0.4
npm install gifsicle@3.0.1
npm install optipng-bin@3.0.1
Each one fix the issues for the matching image type (jpeg, gif, png).
My guess is :
grunt-contrib-imagemin requires  "imagemin": "^4.0.0"
imagemin 4.0.0 requires :
"imagemin-gifsicle": "^4.0.0",
"imagemin-jpegtran": "^4.0.0",
"imagemin-optipng": "^4.0.0",
and those latests versions of package are not working properly.

@aruis It works me,thx

@aruis works!

@aruis Worked!

Removing the node_modules folder and reinstalling everything did the trick for me as well

Hello,
I finally figured out why I was experiencing this issue :

I have a 64bytes architecture system
It does works properly when I runin local
I've created a docker container (which is 32bytes arch)
the same command does not work inside the container

As @darkmavis1980 said, the solution is to add /node_modules to the .dockerignore file or to remove the directory before each new deployment.

@aruis +1

@aruis +1

@aruis +1

@GilmarLira your sollution worked for me.
Guys, please also check you have full rights on the folder you are running npm install.

Note that I had spawn ENOENT issues but only sporadically. Issue turned out to be no swap space on my machine: http://stackoverflow.com/a/32444643/389765

The simple and clean fix from @aruis worked for me. +1

@aruis thx!

I had the same issue on another server, and this time I had to uninstall and reinstall the package, removing the entire node_modules folder didn't the trick this time, which it doesn't make any sense to me.

@aruis +1

I tried uninstall / install - doesn't worked for me
I'm getting
Error: spawn /..  jpegqran ENOENT in in file .../

@aruis
Thx!!! You saved my day!!!

@aruis, had to uninstall/install couple of packages but your solution worked fine. 👍

@aruis: works for me

Reproduces on "node":"4.4.5","npm":"2.15.5" - ```
Warning: Running "imagemin:dist" (imagemin) task
Warning: Error: spawn /Development/guts-server/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-gifsicle/node_modules/gifsicle/vendor/gifsicle ENOENT in file app/public/images/ajax-loader.gif Use --force to continue.
from my config -

     imagemin: {
         dist: {
             files: [{
                 expand: true,
                 cwd: '<%= yeoman.app %>/images',
                 src: '{,*/}*.{png,jpg,jpeg,gif}',
                 dest: '<%= yeoman.dist %>/images'
             }]
         }
     },

@aruis +1

in my case，
try below, works for me.
node node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-gifsicle/node_modules/gifsicle/lib/install.js

@GilmarLira +1
The npm permissions were my problem.  I chose option 2 from the npm permission instructions you provided.  Changed the npm default directory from /usr/local to ~/.npm-global.  I didn't want to change /usr/local/bin or /usr/local/share permissions.  Then I followed the rest of your instructions and it worked!  Thank you.

@aruis  it's work after I reinstall "grunt-contrib-imagemin".

@aruis +1

Is there any permanent fix for this issue?

No. I have mailed the maintainers to inform if they are interested in a patch but I got no response. This project seems dead.

There is an important tip for persons who are in some countries like Iran, they cant install imagemin completely because the server refuse to connect them, they have to connect via a VPN connection to completely install imagemin

@aruis
Save 2 hours at least for me.

@arius's suggestion wasn't quite enough - I had to clean the cache too.
npm cache clean && npm uninstall grunt-contrib-imagemin && npm install grunt-contrib-imagemin

error: spawn /projects/website/haifang/node_modules/optipng-bin/vendor/optipng ENOENT
at exports._errnoException (util.js:1050:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32)
at onErrorNT (internal/child_process.js:367:16)
at _combinedTickCallback (internal/process/next_tick.js:80:11)
at process._tickCallback (internal/process/next_tick.js:104:9)...
Who can resolve this problems?thank you !!!

Removing /node-modules are running npm install again did the trick. What a mess :-(

Ok, I was having this very same issue, was super frustrated, but after hours of research I finally figured it out.
As @pagoenka suggested in his comment, a npm permission issue prevents some grunt-contrib-imagemin dependencies to install correctly. Here's what I did to fix it:

Fix npm permissions by following their own instructions:
https://docs.npmjs.com/getting-started/fixing-npm-permissions
Delete project's node_modules/ folder
Restart
Reinstall node modules by running npm install at the projects folder.

Hope this helps.
Cheers!

I have to login and give you a thumbsup
Thank you so much!

in my case，
try below, works for me.
node node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-gifsicle/node_modules/gifsicle/lib/install.js

This solve my build on Docker Container on a oldest project, thanks a lot

try:
npm uninstall grunt-contrib-imagemin
npm install grunt-contrib-imagemin

actually worked for me. Thank you so much

authors: GilmarLira JnMik MZAWeb WebMago alinturbut ann--b aruis basileos danielmedina darkmavis1980 derekrprice doug-orchard dpalic dtolj dvodonnell g1eb geetwo gitoneman ikb42 jorrit josefsabl junfangfan kidleaf1 lenybernard lricoy montaro mousavi86 muthuspark ndinhphi numediaweb nyn05 oleole90 onewayxp pagoenka pcssi sindresorhus so77id thanatos11 vladyn wesley100002001 wuyuchang zhaomengru2015

repo: gruntjs/grunt-contrib-imagemin


text:
Update lodash to ^4.13.1

This reduces the amount of lodash copies I have on my system.

Fixed in https://github.com/gruntjs/grunt-legacy-log-utils/pull/5

authors: jorrit vladikoff

repo: gruntjs/grunt-legacy-log-utils


text:
--terragrunt-ignore-dependency-errors

See #193.

👍
Thank you for the PR. Nice work on the code, tests, and docs. I don't see anything that needs to be changed, so merging now!

Assuming the build passes, the new binaries will be here: https://github.com/gruntwork-io/terragrunt/releases/tag/v0.12.17

Ah, looks like a previous PR caused some test failures. I'll look into that.

OK, build issues fixed, new binaries are here: https://github.com/gruntwork-io/terragrunt/releases/tag/v0.12.16

repo: gruntwork-io/terragrunt


text:
🛑 volkstanzwannwo.at is down

In 1ffd4f2, volkstanzwannwo.at (https://volkstanzwannwo.at) was down:

HTTP code: 0
Response time: 0 ms

Resolved: volkstanzwannwo.at is back up in 8ce5c0b.


text:
🛑 bretterhofer.at is down

In 9414f64, bretterhofer.at (https://bretterhofer.at) was down:

HTTP code: 0
Response time: 0 ms

Resolved: bretterhofer.at is back up in 5abb64f.


text:
🛑 bretterhofer.at is down

In e1cbc08, bretterhofer.at (https://bretterhofer.at) was down:

HTTP code: 0
Response time: 0 ms

Resolved: bretterhofer.at is back up in 624141f.


text:
🛑 h4.bretterhofer.at is down

In 96ddd29, h4.bretterhofer.at (https://h4.bretterhofer.at/toggle.php) was down:

HTTP code: 0
Response time: 0 ms

Resolved: h4.bretterhofer.at is back up in 8ca4088.


text:
🛑 h4.bretterhofer.at is down

In 1c90fa3, h4.bretterhofer.at (https://h4.bretterhofer.at/toggle.php) was down:

HTTP code: 0
Response time: 0 ms

Resolved: h4.bretterhofer.at is back up in 4f628e6 after 1 hour, 7 minutes.


text:
Create the About Us section

Changes are to be made in index.html, styles.html and index.js files.
About Us Section should contain:

Image: Click here for the image link
Title: About Us.
Content: GirlScript Organization is a non-profit company registered under the government of India on 2nd June 2017. GirlScript aims to empower people and especially underrepresented groups in the field of technology.
GirlScript Asansol's mission is to create opportunity, learning, growth and diversity in technology academia and industry.
Social Media Button : link

Title 2: Our Programs
Content: Encourage people to learn to program and make them capable of writing a simple computer program to building a complex system. Empower people by providing an opportunity to showcase their technical skills.
Card Section:
- Career Guidance
- Open Source
- Workshops and Sessions

Design
Inspo: (You can refer to it and can make your own interpretations too, Creativity is welcomed.)

Please join the Discord to discuss design of the components.

Please assign this to me

I want to work on this issue under hacktoberfest 2022
THANKS!!!

@souravaniket If you would rather like to consider a less cluttered solution, you can add your html/js components in separate folders (with appropriate feature naming) inside components/[feature] instead of the index.html in the root. We'll have it merged later into the main HTML file (we'll put up a separate issue). The contents of [feature] can be: index.html, styles.css, index.js with the body of index.html wrapping the component.

@souravaniket any update about the work?

I would be willing to work on this issue if there are no updates soon! @girlscript-asansol Could you maybe assign it to me if needed? Thanks!

I would be willing to work on this issue if there are no updates soon! @girlscript-asansol Could you maybe assign it to me if needed? Thanks!

Thanks for letting us know.

@souravaniket any updates kindly let us know by today else we have to reassign it.

Please assign this to me

Please look for any other issues as I am working on this. Thanks!

Please assign this to me

Please look for any other issues as I am working on this. Thanks!

I can work on this, kindly assign me this issue.

Yes, @girlscript-asansol. Could you please assign this issue to him as I have completed a similar issue in a different repository, as a result l, I am unassigning this issue from me. Hope you understand. Thanks!

Please assign this to me

Please look for any other issues as I am working on this. Thanks!

I can work on this, kindly assign me this issue.

Yes, @girlscript-asansol. Could you please assign this issue to him as I have completed a similar issue in a different repository, as a result l, I am unassigning this issue from me. Hope you understand. Thanks!

@nub-rin will be carrying forward the rest of my work, that's why I am asking to assign this issue to him.

@RathoreAbhiii Okay, sure.

hey @JASKIRAT11011  Please assign this to me

@nub-rin Any updates? Please respond, or we'll have to reassign. We have other contributors willing to work on this portion.

@nub-rin Any updates? Please respond, or we'll have to reassign. We have other contributors willing to work on this portion.

Hey, sorry for the delay. I will be creating a pr in like 3 hrs from now. Will post an update screenshot for revision in around an hour.

@nub-rin Thank you. We're actually rooting for this one to complete our first milestone. I hope you understand.

@jay-io should the about us have a separate page or integrated in index.html?

@jay-io should the about us have a separate page or integrated in index.html?

Nevermind found it.

@jay-io This is the upper part, the background can be anything (currently its white cause i dont find any image that dose not conflict with the svg above it. The card is work in progress (~15-30 mins). Lmk you opinion.

Cards feel like an overdoing. You may just arrange the paragraphs alternately one after the other on either side of the centre. Like in this sample below. The next paragraph could be towards the left and illustration to the right. For now, put the GSA logo in place of the illustrations.

PS. I don't know why the weird phantom text overlay is here

Cards feel like an overdoing. You may just arrange the paragraphs alternately one after the other on either side of the centre. Like in this sample below. The next paragraph could be towards the left and illustration to the right. For now, put the GSA logo in place of the illustrations.

PS. I don't know why the weird phantom text overlay is here

How about this?

Cards feel like an overdoing. You may just arrange the paragraphs alternately one after the other on either side of the centre. Like in this sample below. The next paragraph could be towards the left and illustration to the right. For now, put the GSA logo in place of the illustrations.

PS. I don't know why the weird phantom text overlay is here

How about this?

Instead of our services it will be our programs and remove the box shawdow (you can give that in the pics tho) and change the images. Ill share some illustration.

Alright!

Looks good! Can you add a bit more padding between two horizontal sections? Also, bring the heading and the content a tad bit closer. You could also increase the font-weight for the section heading text.

For now, you may just add two subsequent sections so that someone can easily append along any new content with your original work. And we'll raise a no-code issue for the content-writing. You may use Lorem Ipsum.

Alright!!

repo: gsasansol/GirlScript-Asansol


text:
Can't find integration in HACS

I just recently installed an IoTaWatt and started using Home Assistant and stumbled across this integration while trying to resolve issues with the currently built-in integration.  I installed HACS, but this integration is not showing up when I search in HACS under integrations.  Has this integration been removed by HACS, or is there something else I need to do to add this integration through HACS?

Ah, I think HACS is still downloading.  Seeing rate limit showing up in my logs.


text:
Add "Permission dismissed" case in Chrome

Chrome has one more possible state - if you just dismiss the dialog (eg. by clicking "X" button in the upper right corner). Currently this case returns MediaPermissionsErrorType.Generic. It's more precise to return MediaPermissionsErrorType.UserPermissionDenied

@BrianLi101 @helenamerk Any reason not to merge this in?

Hey @arcticfly ! Will approve! I no longer have write access as we sold the company that was maintaining this repo 🤠 working on getting access again and will merge :)

authors: Aldredcz arcticfly helenamerk

repo: gtechnologies/mic-check


text:
Implement Into<Value>, Into<Variant>

Or more accurately, we should have impl From<...> for Value and impl From<...> for Variant in every place where there is ToValue or ToVariant. Then we can correctly support things like g_value_take_*, g_variant_new_take_string, etc.
Then Closure, BindingBuilder::transform, Object::new, etc should be changed to use that instead of ToValue

I think there was a reason to not implement that at some point but if you can make it work that would be a nice change, yes.

repo: gtk-rs/gtk-rs-core


text:
[BUG] the trait ObjectType is not implemented for Event

Bug description
The webkit2gtk5-rs bindings contain IsA<gdk::Event> which fails to build with the message
error[E0277]: the trait bound `Event: ObjectType` is not satisfied
  --> webkit2gtk/src/auto/input_method_context.rs:32:49
   |
32 |     fn filter_key_event(&self, key_event: &impl IsA<gdk::Event>) -> bool;
   |                                                 ^^^^^^^^^^^^^^^ the trait `ObjectType` is not implemented for `Event`
   |
note: required by a bound in `IsA`
  --> /home/jeanluc/.cargo/git/checkouts/gtk-rs-core-7be42ca38bd6361c/1728bcb/glib/src/object.rs:85:25
   |
85 | pub unsafe trait IsA<T: ObjectType>: ObjectType + AsRef<T> + 'static {}
   |                         ^^^^^^^^^^ required by this bound in `IsA`

error[E0277]: the trait bound `Event: ObjectType` is not satisfied
   --> webkit2gtk/src/auto/input_method_context.rs:116:49
    |
116 |     fn filter_key_event(&self, key_event: &impl IsA<gdk::Event>) -> bool {
    |                                                 ^^^^^^^^^^^^^^^ the trait `ObjectType` is not implemented for `Event`
    |
note: required by a bound in `IsA`
   --> /home/jeanluc/.cargo/git/checkouts/gtk-rs-core-7be42ca38bd6361c/1728bcb/glib/src/object.rs:85:25
    |
85  | pub unsafe trait IsA<T: ObjectType>: ObjectType + AsRef<T> + 'static {}
    |                         ^^^^^^^^^^ required by this bound in `IsA`

I'm not entirely sure if this is an issue with the webkit bindings or gtk4-rs.

That's not an issue, gdk::Event is not an object. Gir generates a IsA relation which is not possible, instead you should manually override the methods for now and use AsRef<gdk::Event>

See https://github.com/gtk-rs/gir/issues/1069 for the gir issue

Thanks for the info

authors: bilelmoussaoui jangernert


text:
Update docs / overview with browser compatibility notes

This template seems to use newer JS features that aren't supported in older versions of IE, this should be made clear in the usage docs / notes.

Just discovered the concept of "Sandboxed javascript" https://developers.google.com/tag-manager/templates/sandboxed-javascript


text:
Push a new release?

Hi,
Any chance you can push out a new release? Focus mode is broken in 4.5.0 with RSpec 3.1+. Master works thanks to changes in the rspec formatter.
Thanks!

Thanks for reminding me - I was waiting until a few things were cleared up (some hard-to-debug crashes occuring), but I'll release as soon as I add some debugging helpers.

Done (4.5.1) - let me know if you have any issues.

repo: guard/guard-rspec


text:
Fix: downgrade play to make sbt work again

What is the purpose of this change?
Downgrades the Play plugin from 2.9.0 (it was upgraded in #372) to 2.8.19, to fix issues:

SBT was no longer working locally
The Trigger Private Janus build action did not run successfully

What is the value of this change and how do we measure success?
SBT can be run without error locally (and subsequently snyk test)

Worth adding a stack trace, describing what happens on Play 2.9.0?
Can we make any changes to the build to catch this and similar errors, before they are merged?

Worth adding a stack trace, describing what happens on Play 2.9.0?
Can we make any changes to the build to catch this and similar errors, before they are merged?

Good idea - not sure what this involves - can we do that in a follow-up PR @akash1810 ?

repo: guardian/janus-app


text:
Update slf4j-api to 2.0.0

Updates org.slf4j:slf4j-api from 1.7.36 to 2.0.0.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.slf4j", artifactId = "slf4j-api" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "org.slf4j", artifactId = "slf4j-api" }
}]

labels: library-update, early-semver-major, semver-spec-major, commit-count:1

Superseded by #219.

repo: guardrail-dev/guardrail-maven-plugin


text:
Clicking on the LPC Commons returns a 404 error

Again, this silently fails to load any information in the same manner as #285.

Fixed, rooms are no longer displayed.

repo: guberti/epschedule