text:
image requires are not working with the current webpack config

<img src={require('./image.png')} />

gives "unexpected character" error
seems like it's being passed into babel by the server instance
any ideas?  I've tried attaching an empty function
config.webpackImagesExtensions = ['gif', 'jpg', 'png', 'woff', 'woff2', 'eot', 'ttf', 'svg'];
config.webpackImagesExtensions.forEach(function(ext) {
    require.extensions['.' + ext] = function() {};
  });

but didn't work

this is the code I ended up with
  config.webpackImagesExtensions.forEach(function(ext) {
    require.extensions['.' + ext] = function(module, filename) {
      module.exports = '//:0';
    };
  });

The server is trying to serve the image file upon initial rendering, which really isn't necessary. Once the page is delivered to the browser, the frontend will take over and fetch these images accordingly.
Above code basically renders
ensures a call is never made from the browser, and also no error is thrown about it not being a valid image.
see http://stackoverflow.com/questions/5775469/whats-the-valid-way-to-include-an-image-with-no-src
not sure if it's worthy of a PR, but I'll keep this hack for now.

Check this https://github.com/steida/este/pull/127

@steida  not sure how that solves my problem. I'm including a logo image for my navbar component,
/navbar

navbar.js
logo.png

works fine on the frontend, but the server won't take.

Idk. It it doesn't work, don't use it. Feel free to send pull request.

authors: frankleng steida

repo: steida/este


text:
Horizon Data Ingestion:  History Backfill

i.e.  run the ingestion system in reverse.
Let's discuss this during our next planning session and come up with a plan.

@bartekn I think our ingest/cursor already has the ability to do it reversely. Is this issue outdated? Can we close this one?

I think backfilling is already implemented.

source: gharchive/issue

authors: bartekn howardtw nullstyle

repo: stellar/go

license_type: permissive

license_source: github-api


text:
PriceR behaves in trade_aggregations differently from other endpoints.

What version are you using?
0.24.1-e632f45c553b24f210ebe955779a4025fbeb250caccess
What did you do?
access https://horizon.stellar.org/trade_aggregations?base_asset_type=native&counter_asset_type=credit_alphanum4&counter_asset_code=XCN&counter_asset_issuer=GCNY5OXYSY4FKHOPT2SPOQZAOEIGXB5LBYW3HVU3OWSTQITS65M5RCNY&resolution=300000&order=desc

What did you expect to see?
In this endpoint, PriceR behaves differently from other endpoints.
In trade_aggregations:
"close_r": {
          "N": 25,
          "D": 166
        }

In others(expect):
"price_r": {
          "n": 25,
          "d": 166
        }

This is not a bug, but I think it is beneficial to maintain consistency across endpoints.
What did you see instead?
"close_r": {
          "N": 25,
          "D": 166
        }

Fixed in 2.9.0.


text:
ANCHOR-427: add status filter to payment observer queries for matching transactions

Description
The queries to fetch transactions from the database now uses the status that the transaction should be in as an additional filter in addition to the account and memo filters. They also check for matches using the destination account of the payment rather than the source account of the payment.
Context
There is no reason to check for matches against transactions that are not in the status that indicates the transaction is ready to receive the payment.
We also need to match against the destination account because that is the account we're monitoring. The source accounts of payments are unpredictable.
Testing

./gradlew test
Known limitations

We'll need to port this to 1.x

Reference Server Preview is available here:https://anchor-ref-pr1090.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr1090.previews.kube001.services.stellar-ops.com/

@JakeUrban Do you mind to add [ANCHOR-427] to the title? https://stellarorg.atlassian.net/jira/software/c/projects/ANCHOR/boards/47/backlog?view=detail&selectedIssue=ANCHOR-427&issueLimit=100&search=observer

Reference Server Preview is available here:https://anchor-ref-pr1090.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr1090.previews.kube001.services.stellar-ops.com/

Something went wrong with PR preview build please check

Something went wrong with PR preview build please check

Reference Server Preview is available here:https://anchor-ref-pr1090.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr1090.previews.kube001.services.stellar-ops.com/

Reference Server Preview is available here:https://anchor-ref-pr1090.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr1090.previews.kube001.services.stellar-ops.com/

Reference Server Preview is available here:https://anchor-ref-pr1090.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr1090.previews.kube001.services.stellar-ops.com/

Reference Server Preview is available here:https://anchor-ref-pr1090.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr1090.previews.kube001.services.stellar-ops.com/

Reference Server Preview is available here:https://anchor-ref-pr1090.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr1090.previews.kube001.services.stellar-ops.com/

Reference Server Preview is available here:https://anchor-ref-pr1090.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr1090.previews.kube001.services.stellar-ops.com/

Reference Server Preview is available here:https://anchor-ref-pr1090.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr1090.previews.kube001.services.stellar-ops.com/

source: gharchive/pull-request

authors: JakeUrban lijamie98 stellar-jenkins

repo: stellar/java-stellar-anchor-sdk


text:
how can i generate apikey

hi.
how can i generate apikey for
var auth = new FirebaseAuthProvider(new FirebaseConfig("api_key"));

This is not a issue.
If you need to find the API key go to:
Project Settings -> General -> look for "web API key".

actually i thought that maybe create doc for this. closing

authors: BenDelGreco OkancanCosar

repo: step-up-labs/firebase-storage-dotnet

license: mit

license_source: bigquery


text:
Katie branch2

please accept

updated

license: MIT


text:
uuid package in-use is different from most other package's

The github.com/gofrs/uuid package is not the standard used in most other packages, so it's requiring us to translate between the two. In a few places, this is fine, but as we expand the use of bob this might be annoying. I tried to customize the uuid type using the replacements config, but then both uuid packages were imported unnecessarily.
There should probably be a config item for the uuid package that could default to the gofrs package. If that's not possible, honoring the uuid type's package and only using that would be just as well.

I assume this means you're using the psql driver right? I'll add a configuration to set the UUID package to use

Yep, using the psql driver.

Fixed in this commit. Tagged v0.15.3
You can now configure it with
psql:
  uuid_pkg: google

authors: plunkettscott stephenafamo

repo: stephenafamo/bob


text:
Use jkj::dragonbox::to_decimal_ex

Supersedes #1316

@jk-jeon, Glaze will now be using jkj::dragonbox::to_decimal_ex. This change gets it working. Thanks for your awesome library!

repo: stephenberry/glaze


text:
Cannot find an overload for 'contains' that accepts an argument list of type '([Int], Expression)'

I tried the expression:
userTable.filter(contains([1, 2, 3, 4, 5], entryId))

from the example. But I got the following error:
Cannot find an overload for 'contains' that accepts an argument list of type '([Int], Expression<String>)'

Short answer: it's type-safe, like Swift in general.
Long answer: please use Stack Overflow. I'll elaborate on the above there if you don't understand.
From the README:

Communication

Need help or have a general question? Ask on Stack
Overflow (tag sqlite.swift).
Found a bug or have a feature request? Open an issue.
Want to contribute? Submit a pull request.

None of the issues you've reported seem to be bugs or feature requests, but rather questions on how to use SQLite. Please use the appropriate forum so it's easier to sort through issues here that are actual bugs.

@stephencelis Okay I will do. Here is the post: http://stackoverflow.com/questions/29677248/cannot-find-an-overload-for-contains-that-accepts-an-argument-list-of-type
Sorry for interrupting you. This lib is still too small to get an answer on StackoverFlow there are only 10 Questions under the tag. I posted two but get no answer.

@confile I monitor Stack Overflow and answer there when I can.

@confile I also only see one question from you, not two. Are you sure you posted the other one?

@stephencelis Thanks for answering my first question. You very right.
Here is the link to the second one. http://stackoverflow.com/questions/29678874/use-nsarray-in-sqlite-statement
I appreciate your help.

authors: confile stephencelis


text:
Setup wizard doesn't work with subdomain names shorter than 3 letters

abc.domain.tld works, but ab.domain.tld does not.

I will take a look.

authors: hexandcube stephenou

repo: stephenou/fruitionsite


text:
update readme with info on mapping keys

This is a little rough - apologies for the hurried commit. It's an idea of what I was looking to include for #50, please feel free to suggest changes and I can update it. I already moved on from the import code I was writing, so I wanted to get this down before it got much farther from memory.

Thanks for writing this down. I'll take a read

I pulled in your update with a few changes. Thanks again

authors: monkbroc zrisher


text:
ZED Mini - USB low bandwidth issue - TX2 - Jetpack 4.6.3

Preliminary Checks

[X] This issue is not a duplicate. Before opening a new issue, please search existing issues.
[X] This issue is not a question, feature request, or anything other than a bug report directly related to this project.

Description
I have been experiencing a low USB bandwidth issue when attempting to open ZED_Explorer. Despite attempting various troubleshooting steps such as reconnecting the camera, replacing cable and even replacing it with a new one, none of these approaches have resolved the issue.
Steps to Reproduce
ZED_Diagnostic -c
ZED Diagnostic Tool

Running ZED SDK Diagnostic : OK
ZED SDK version: 3.8.2
CUDA version: V10.2.300
Running Processor Diagnostic : OK
Processor:   ARMv8 Processor rev 3 (v8l)
Running Graphics Card Diagnostic : OK
Graphics card:  NVIDIA Tegra X2
Running Camera Test Diagnostic : Failed
Specific resolutions are not available  Replug your device or connect the camera to another USB 3.0 port.
Camera: ZED Mini
Firmware: 1523
- Running USB Diagnostic : Failed
Low USB bandwidth  Read our FAQ to troubleshoot your USB connection issues. (https://support.stereolabs.com/hc/en-us/articles/207635225' style='color: #19b5ec;' >Learn more Frame drops: 70/500 Frame tearing: 0/500

Diagnostic finished, a file has been generated : ZED_Diagnostic_Results.json
ZED_Diagnostic_Results.json.txt

Expected Result
Camera streaming should work without any issue
Actual Result
USB bandwidth issue, camera stream fails
ZED Camera model
ZED Mini
Environment
**Jetson TX2 with ConnectTech Carrier Board**
Hardware: **ZED Mini**
OS: **L4T 32.7.3 [ JetPack 4.6.3 ]**
ZED_SDK: **ZED_SDK_Tegra_L4T32.7_v3.8.2.zstd.run**

Anything else?
Nothing

@sriinnovasea please write an email to support@stereolabs.com and add the report file generated by the ZED_Diagnostic tool.

authors: Myzhar sriinnovasea

repo: stereolabs/zed-sdk


text:
Selenium

Minimal refactor to use Selenium instead of requests. Also added an exception to the same origin policy to treat www.X and X as being the same origin. Nominally tested.

Can you think of a way we could make running this more user friendly? As you said, it takes quite a while on mit.edu. Can you think of a way to allow the user to limit the duration of the script?

authors: julien-jana steveWang

repo: steveWang/EmailTrawler


text:
bug: clang-format doesnt read config

Neovim version (nvim -v)
nvim v0.9.5
Operating system/version
EndeavourOS
Add the debug logs

[x] I have set log_level = vim.log.levels.DEBUG and pasted the log contents below.

Log file
Log file: /home/kavci034/.local/state/nvim/conform.log
additional information: expected '}'
      16:31:09[ERROR] Formatter 'stylua' error: error: could not format from stdin: failed to format from stdin: error parsing: error occurred while creating ast: unexpected token `:`. (starting from line 4, character 11 and ending on line 4, character 12)
      additional information: expected '}'

      16:31:12[ERROR] Formatter 'stylua' error: error: could not format from stdin: failed to format from stdin: error parsing: error occurred while creating ast: unexpected token `:`. (starting from line 4, character 11 and ending on line 4, character 12)
      additional information: expected '}'

      16:31:21[ERROR] Formatter 'stylua' error: error: could not format from stdin: failed to format from stdin: error parsing: error occurred while creating ast: unexpected token `=`. (starting from line 4, character 12 and ending on line 4, character 13)
      additional information: expected '}'

Describe the bug
clang-format doesnt use rules from .clang-format
What is the severity of this bug?
minor (annoyance)
Steps To Reproduce

create a .clang-format file with some rules other than default
create a file from the rules language
format

Expected Behavior
clang-format uses the rules from the dotfile
Minimal example file
No response
Minimal init.lua
-- DO NOT change the paths and don't remove the colorscheme
local root = vim.fn.fnamemodify("./.repro", ":p")

-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "cache" }) do
  vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end

-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
  vim.fn.system({
    "git",
    "clone",
    "--filter=blob:none",
    "--single-branch",
    "https://github.com/folke/lazy.nvim.git",
    lazypath,
  })
end
vim.opt.runtimepath:prepend(lazypath)

-- install plugins
local plugins = {
  "folke/tokyonight.nvim",
  {
    "stevearc/conform.nvim",
    config = function()
      require("conform").setup({
        log_level = vim.log.levels.DEBUG,
        -- add your config here
      })
    end,
  },
  -- add any other plugins here
}
require("lazy").setup(plugins, {
  root = root .. "/plugins",
})

vim.cmd.colorscheme("tokyonight")
-- add anything else here

Additional context
No response

I wrote the clang format wrong my bad

I wrote the clang format wrong my bad


text:
Storing Correlation Id in nlog

Hello,
How can I store the correlation id in nlog logs? Especially which keyword will provide to store correlation id in log sentences (below)?
<targets async="true">
    <target
        xsi:type="Trace"
        name="trace"
	layout="${longdate}|${event-properties:item=EventId_Id}|${uppercase:${level}}|${logger}|${message:truncate=250} ${exception:format=tostring}"/>
</targets>

Thank you

Hello,

Set option AddToLoggingScope = true
... services.AddDefaultCorrelationId(options => options.AddToLoggingScope = true); ...
To get correlationId in layout use
${mdlc:CorrelationId}

authors: Lazaretty durnasaban

repo: stevejgordon/CorrelationId


text:
add .getBaseDirectory() on FileBin prototype and test

Implemented .getBaseDirectory(). Pretty straightforward. As of right now, I can't think of any sad paths to test. I'll go back and refactor other files to use .getBaseDirectory() instead of this.base once this is merged.

Can you add some documentation to the README?

Updated README with documentation for .getBaseDirectory() and .setBaseDirectory() and fixed merge conflicts on file-bin-test.js and index.js.

authors: MattRooney stevekinney

repo: stevekinney/file-bin


text:
Get current branch name?

Might be cool to be able to get the branch name.
In my case it is so my build process makes sure deploys can only be run from the master branch.

https://github.com/stevelacy/gulp-git/issues/141#issuecomment-268570175

https://github.com/stevelacy/gulp-git/commit/d54339b7305acc45a10dd0c1c33f852a6d2e5356

authors: stevelacy tbenyon

repo: stevelacy/gulp-git


text:
Wrap updates-for-element in an IntersectionObserver

Feature
Description
This PR addresses an optimization regarding the number of requests that Updatable possibly makes.
The rationale is this: it doesn't really make sense to keep elements that aren't visible up to date. this can be deferred, which defaults to lazy loading.
We have to distinguish 3 cases here:

is intersecting - behavior as usual

is not intersecting - ignore requests. Basically shouldUpdate == false

transition from not intersecting to intersecting - pull and morph once, then listen as normal

[x] My code follows the style guidelines of this project

[x] Checks (StandardRB & Prettier-Standard) are passing

This type of optimization is 🤌  Very nice work here.

authors: hopsoft julianrubisch


text:
Hrtim #1021

Hrtim #1021

Here @burrbull

@usbalbin Thanks.
What do you think. Is it make sense to remove timer block suffix from register names?
CMP1xR (RM) => CMP1AR, CMP1BR (SVD now) => CMP1R

No problem
While it is a slight diviation from the reference manual, I don't think there is any ambiguity and the HAL implementations will be a lot cleaner having the same name for all timers.
So sure why not

(Disclaimer, not sure if there is any prior art for other peripherals)

What do you think. Is it make sense to remove timer block suffix from register names?

Make PR from hrtim-strip branch, please.

authors: burrbull usbalbin


text:
WIP Stock Tile

Codecov Report

Merging #53 into master will decrease coverage by 2.61%.
The diff coverage is 50%.

@@            Coverage Diff             @@
##           master      #53      +/-   ##
==========================================
- Coverage   57.03%   54.42%   -2.62%
==========================================
  Files          37       41       +4
  Lines         412      441      +29
  Branches       54       58       +4
==========================================
+ Hits          235      240       +5
- Misses        168      191      +23
- Partials        9       10       +1

Impacted Files
Coverage Δ

src/components/ItemCard/ItemCardPriceTag.tsx
92.85% <100%> (ø)
:arrow_up:

src/components/StockTile/StockTile.tsx
48% <48%> (ø)

src/views/Account/Account.tsx
81.25% <50%> (ø)

src/state/depot/depotReducer.ts
54.54% <0%> (-45.46%)
:arrow_down:

src/views/Depot/Depot.tsx
66.66% <0%> (-4.77%)
:arrow_down:

src/routes/routes.ts
100% <0%> (ø)
:arrow_up:

src/state/depot/depotActions.ts
100% <0%> (ø)
:arrow_up:

src/components/Header/Header.tsx
60.71% <0%> (ø)
:arrow_up:

src/containers/App/App.tsx
0% <0%> (ø)
:arrow_up:

src/views/Depot/Cards/StockShareCard.tsx

... and 10 more

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 2388127...39a32f7. Read the comment docs.

authors: RohrerF codecov-io

repo: stockmarkat/stockmarket-simulation


text:
Grant the subscription-admin user admin access to the test namespace

The BVT tests started failing recently with the error
"error when retrieving current configuration of..." in the Policy
Generator test. This is due to the user not having read access in
the namespace that the subscription is getting created in.
It's unclear why this is failing now because the created
subscription-admin user has the
open-cluster-management:subscription-admin role, which grants this
access.
This test now no longer relies on the subscription-admin role providing
this access.
See the failing job:
https://app.travis-ci.com/github/stolostron/canary/builds/247478348
Resolves:
https://github.com/stolostron/backlog/issues/20350
Signed-off-by: mprahl mprahl@users.noreply.github.com

I'm working on releaing the Policy Generator to fix the unrelated CI failure:
https://github.com/stolostron/backlog/issues/20384

https://github.com/stolostron/governance-policy-framework/pull/278 needs to be merged first

I just rebased this PR based on #278. This should now pass.

/retest

/retest

repo: stolostron/governance-policy-framework


text:
Remove kube-rbac-proxy YAML configurations

Updates:

Remove kube-rbac-proxy sidecar from deployments
Remove references to kube-rbac-proxy
Remove proxy service YAML configuration
Retain proxy RBAC permissions

ref: https://issues.redhat.com/browse/ACM-8346
Description
Please provide a brief description of the purpose of this pull request.
Related Issue
If applicable, please reference the issue(s) that this pull request addresses.
Changes Made
Provide a clear and concise overview of the changes made in this pull request.
Screenshots (if applicable)
Add screenshots or GIFs that demonstrate the changes visually, if relevant.
Checklist

[ ] I have tested the changes locally and they are functioning as expected.
[ ] I have updated the documentation (if necessary) to reflect the changes.
[ ] I have added/updated relevant unit tests (if applicable).
[ ] I have ensured that my code follows the project's coding standards.
[ ] I have checked for any potential security issues and addressed them.
[ ] I have added necessary comments to the code, especially in complex or unclear sections.
[ ] I have rebased my branch on top of the latest main/master branch.

Additional Notes
Add any additional notes, context, or information that might be helpful for reviewers.
Reviewers
Tag the appropriate reviewers who should review this pull request. To add reviewers, please add the following line: /cc @reviewer1 @reviewer2
Definition of Done

[ ] Code is reviewed.
[ ] Code is tested.
[ ] Documentation is updated.
[ ] All checks and tests pass.
[ ] Approved by at least one reviewer.
[ ] Merged into the main/master branch.

/test all

repo: stolostron/multiclusterhub-operator


text:
Internalhubcomponent

Added InternalHubComponent CRD. Operator does not interact with it yet.

/lgtm


text:
MCE Community version install

Signed-off-by: Erin Murphy erinmurp@redhat.com
issue: https://github.com/stolostron/backlog/issues/21971

@eemurphy I'm a little confused by some of the changes. Was the search content something pulled in from one of Cameron's branches? Functionally would this differ from something like this? https://github.com/stolostron/multiclusterhub-operator/compare/main...JakobGray:multiclusterhub-operator:comm-check?expand=1

@JakobGray It works the same! Only thing is your code has:
if err != nil { 		community = true // community by default }
That would cause even in acm mode to be community, because if it's acm, community returns false but no error still.
The search changes were purely because tests in mch-controller were failing. It would try to get the AppSubs in community mode and would look for search-prod-sub, which doesn't exist and would fail. It would need the search v2 deployment instead.

I'll approve and we can refactor as necessary when pulling out the search-v2 content

/lgtm

authors: JakobGray eemurphy


text:
test-IAM-policy-in-policy-generator

Signed-off-by: Chunxi Luo chuluo@redhat.com
@gparvin

So as this PR, if we just put objectDefinition section in the policy manifest policy-limitclusteradmin.yaml and move the rest higher-level info into policyGenerator.yaml, then we got the below result in the output:

apiVersion: policy.open-cluster-management.io/v1
kind: Policy
metadata:
  annotations:
    policy.open-cluster-management.io/categories: AC Access Control
    policy.open-cluster-management.io/controls: AC-3 Access Enforcement
    policy.open-cluster-management.io/standards: NIST SP 800-53
  labels:
    open-cluster-management.io/policy-set: openshift-hardening
  name: policy-limitclusteradmin
  namespace: policies
spec:
  disabled: false
  policy-templates:
  - objectDefinition:
      apiVersion: policy.open-cluster-management.io/v1
      kind: ConfigurationPolicy
      metadata:
        name: policy-limitclusteradmin
      spec:
        object-templates:
        - complianceType: musthave
          objectDefinition:
            apiVersion: policy.open-cluster-management.io/v1
            kind: IamPolicy
            metadata:
              name: policy-limitclusteradmin-example
            spec:
              maxClusterRoleBindingUsers: 5
              namespaceSelector:
                exclude:
                - kube-*
                - openshift-*
                include:
                - '*'
              remediationAction: inform
              severity: medium
        remediationAction: inform
        severity: medium

Current policy-generator + policy-collection will get the below result in the output, we can find policy-generator just treat the policy manifest policy-limitclusteradmin.yaml  as an objectDefinition section, that is the reason of nested policy-templates. If we need to keep the policy manifest policy-limitclusteradmin.yaml  as current format, then we should add an additional boolean flag in the policy section of policyGenerator.yaml to let policy-generator subtract objectDefinition part from the policy manifest, rather than read the whole manifest as an objectDefinition section.

Feel free to let me know which direction we should go.
apiVersion: policy.open-cluster-management.io/v1
kind: Policy
metadata:
  annotations:
    policy.open-cluster-management.io/categories: CM Configuration Management
    policy.open-cluster-management.io/controls: CM-2 Baseline Configuration
    policy.open-cluster-management.io/standards: NIST SP 800-53
  labels:
    open-cluster-management.io/policy-set: openshift-hardening
  name: policy-limitclusteradmin
  namespace: policies
spec:
  disabled: false
  policy-templates:
  - objectDefinition:
      apiVersion: policy.open-cluster-management.io/v1
      kind: ConfigurationPolicy
      metadata:
        name: policy-limitclusteradmin
      spec:
        object-templates:
        - complianceType: musthave
          objectDefinition:
            apiVersion: policy.open-cluster-management.io/v1
            kind: Policy
            metadata:
              annotations:
                policy.open-cluster-management.io/categories: AC Access Control
                policy.open-cluster-management.io/controls: AC-3 Access Enforcement
                policy.open-cluster-management.io/standards: NIST SP 800-53
              name: policy-limitclusteradmin
            spec:
              disabled: false
              policy-templates:
              - objectDefinition:
                  apiVersion: policy.open-cluster-management.io/v1
                  kind: IamPolicy
                  metadata:
                    name: policy-limitclusteradmin-example
                  spec:
                    maxClusterRoleBindingUsers: 5
                    namespaceSelector:
                      exclude:
                      - kube-*
                      - openshift-*
                      include:
                      - '*'
                    remediationAction: inform
                    severity: medium
              remediationAction: inform
        remediationAction: enforce
        severity: medium

Having the config-policy-controller deploy an IamPolicy is convoluted (and probably wouldn't return the compliance status all the way back to the hub). The idea of the enhancement is to support policy types other than ConfigurationPolicy--this should be addressed by updating the generator code to support it.

Sorry if I'm misunderstanding your explanations. To me, I think there are a couple options that come to mind:

When a policy is given through policies[].manifests[].path in the generator manifest, if it's a Policy kind, extract the objectDefinition object and dump it into the policy (and probably validate first to make sure it's one of ConfigurationPolicy, IamPolicy, CertPolicy)
Create a new policies[].path that can validate and use a Policy kind as-is
I'm not sure there's much desire in allowing users to have an IamPolicy or CertPolicy manifest since I'm assuming those would probably already be wrapped in a Policy.

@mprahl @ycao56 Do you have any further feedback on this?

Sorry if I'm misunderstanding your explanations. To me, I think there are a couple options that come to mind:
* When a policy is given through `policies[].manifests[].path` in the generator manifest, if it's a Policy kind, extract the `objectDefinition` object and dump it into the policy (and probably validate first to make sure it's one of ConfigurationPolicy, IamPolicy, CertPolicy)

* Create a new `policies[].path` that can validate and use a Policy kind manifest as-is

I'm not sure there's much desire in allowing users to have an IamPolicy or CertPolicy manifest since I'm assuming those would probably already be wrapped in a Policy.

Both makes sense. The second approach might have higher priority if considering we are going to merge iam and cert policy into config policy.
Agree? @gparvin @dhaiducek @mprahl

My preference would be to have a new field under manifests called policyPath which can point to a YAML file of a non-root policy (e.g. ConfigurationPolicy, IAMPolicy, CertPolicy). Then the non-root policy is taken as is and added to the policy-templates array. There would then be validation to ensure that manifest[0].path and manifest[0].policyPath are not both set.
I believe this makes the user experience fairly consistent with the existing user experience.

I agree, @mprahl. I guess the question is: do we want to enable users to take an existing parent Policy manifest and use it as-is through the generator? The policy-collection has been based on those (and customers probably have them also at this point). Then that policy can be used in a set, modify placement, etc (though it's not really being "generated" any more).

I agree, @mprahl. I guess the question is: do we want to enable users to take an existing parent Policy manifest and use it as-is through the generator? The policy-collection has been based on those (and customers probably have them also at this point). Then that policy can be used in a set, modify placement, etc (though it's not really being "generated" any more).

It's a good point. I think we don't want to support that since the Policy Generator can generate policy sets that contains policies that are not generated by the Policy Generator. In my opinion, any root policy not generated by the Policy Generator should be deployed outside of the Policy Generator.

the Policy Generator can already generate policy sets that contains policies that are not generated by the Policy Generator

It can? I think I missed that...

Oh! You just provide the name of the policy. Sorry--yes, in that case I 100% agree.

Thanks for the clarification. Close this issue and open new PR based on feedback.

@dhaiducek @mprahl @gparvin
So for Gus user case here
https://github.com/stolostron/backlog/issues/19466#issuecomment-1047886710
https://github.com/stolostron/policy-collection/blob/main/policygenerator/policy-sets/community/openshift-hardening/input-admin/policy-limitclusteradmin.yaml
It seems like root policy which should be directly added here
https://github.com/stolostron/policy-generator-plugin/blob/7f358d41b64d2295b44756dd11d27cf8dff828e4/internal/plugin.go#L839
rather than put into policyTemplates
Just confirm we will not support this case.

closed as we have decided to not support the root/full policy in the generator

authors: ChunxiAlexLuo dhaiducek mprahl ycao56

repo: stolostron/policy-collection


text:
[release-2.6] upgrade minio client to 7.0.43

Upgrade minio client to v7.0.43
See https://github.com/thanos-io/thanos/pull/5867

/retest

/lgtm

/retest

/retest

/override ci/prow/e2e-kind
Kind jobs are currently failing due to infra issues. Please see the slack discussion

authors: bjoydeep subbarao-meduri

repo: stolostron/thanos


text:
Support for descriptions of tags

I would like descriptions on tag entities to be included in the documentation.
Context
Right now, the tags will create left bar groups for the methods, but you can't click on the tag itself and get the description of the tag.
Current Behavior
Tag description is lost.
Expected Behavior
Clicking on a tag should render the markdown for the tag description.

Could someone assign me? I'd like to work on this, but I have a week of vacation now so you'll need to wait on results :)

Upvote.

Please help review the PR: https://github.com/stoplightio/elements/pull/2594 for this feature.

authors: Airkro djMax kentbulza provokateurin

repo: stoplightio/elements


text:
File says it's uploaded, but the data is not there

Thank you for making this library!
I'm having an issue where the library says the file is uploaded, but when I fetch the objects in the bucket, it lists the name, but the content-length of each object is 0.
sam.hill@Sam-Hill maple (main) $ node index.js
✅ successfully connected to Tardigrade
File Uploaded On Storj:  100.0000  %

Object stored on storj V3 network successfully
file size:  409
Finished uploading!
{ custom: { entries: { '0': '' }, count: 0 },
  system: { created: 0, expires: 0, content_length: 0 },
  is_prefix: 0,
  key: '2020-10-19T22:53:25.695Z.zip' }
{ custom: { entries: { '0': '' }, count: 0 },
  system: { created: 0, expires: 0, content_length: 0 },
  is_prefix: 1,
  key: '/' }
{ custom: { entries: { '0': '' }, count: 0 },
  system: { created: 0, expires: 0, content_length: 0 },
  is_prefix: 0,
  key: '2020-10-19T22:38:07.366Z.zip' }
{ custom: { entries: { '0': '' }, count: 0 },
  system: { created: 0, expires: 0, content_length: 0 },
  is_prefix: 1,
  key: 'filepath/' }
{ custom: { entries: { '0': '' }, count: 0 },
  system: { created: 0, expires: 0, content_length: 0 },
  is_prefix: 0,
  key: '2020-10-19T22:40:38.409Z.zip' }
{ custom: { entries: { '0': '' }, count: 0 },
  system: { created: 0, expires: 0, content_length: 0 },
  is_prefix: 0,
  key: '2020-10-19T22:47:31.575Z.zip' }
{ custom: { entries: { '0': '' }, count: 0 },
  system: { created: 0, expires: 0, content_length: 0 },
  is_prefix: 0,
  key: '2020-10-19T22:49:57.224Z.zip' }
{ custom: { entries: { '0': '' }, count: 0 },
  system: { created: 0, expires: 0, content_length: 0 },
  is_prefix: 0,
  key: '2020-10-19T22:36:07.822Z.zip' }
{ custom: { entries: { '0': '' }, count: 0 },
  system: { created: 0, expires: 0, content_length: 0 },
  is_prefix: 0,
  key: '2020-10-19T22:54:35.417Z.zip' }

And in the Tardigrade dashboard, it says no objects exist.

Minimal reproduction of issue:
https://github.com/samjhill/maple
I'd greatly appreciate any advice or help you could give! Thank you in advance.

Hi @samjhill  , you can take reference from HelloStorj example provided in uplink-nodejs
https://github.com/storj-thirdparty/uplink-nodejs/blob/master/HelloStorj.js
we have tested it now. it is working fine. so you can check your code by taking reference from hellostorj example.if issue still persists do let us know.

@shivamkumar99 thank you for the response!
For others who may face this problem, it turns out there is a significant delay from when the network says your file is uploaded until the UI on the Tardigrade dashboard is updated with your new files.

repo: storj-thirdparty/uplink-nodejs


text:
Add new edge.Config field InsecureSkipVerify to bindings

Package edge have new config field InsecureSkipVerify we need to expose it in uplink-c bindings.
Acceptance Criteria:

extend C.EdgeConfig with InsecureSkipVerify, name should be converted to c binding style

https://review.dev.storj.io/c/storj/uplink-c/+/9129

repo: storj/uplink-c


text:
Feiertage werden nicht eingetragen

Zeile 152 (functions.php) sollte wie folgt geändert werden:
array_filter => array_values
$feiertage = array_values($feiertage);

Danke für den Hinweis, hab es eingebaut.

Vielen Dank! :-)


text:
customData isn't being updated

I'm setting some values on the customData, saving the user, then requesting them from a different route, and I'm getting the pre saved version. If I set the TTL to 1ms, it works fine.
I would expect the in memory cache to get updated immediately.

Can you share the code you're using to reproduce this? I'll try to get it fixed.

Here's a simplified example:
var express = require('express');
var stormpath = require('express-stormpath');

var router = express.Router();

router.get('/', stormpath.loginRequired, function(req, res) {
  console.log(req.user.customData);

  res.render('view');
});

router.post('/start', stormpath.loginRequired, function(req, res) {
  var id = req.user.customData.currentId;

  if (id) {
    res.redirect(req.baseUrl);
    return;
  }

  if (!req.user.customData.objects) {
    req.user.customData.objects = {};
  }

  // TODO: Can we rely on these being unique?
  id = uuid.v4();

  req.user.customData.objects[id] = {
    startDate: new Date().toJSON(),
  };
  req.user.customData.currentId = id;

  req.user.save(function() {
    res.redirect(req.baseUrl);
  });
});

router.post('/stop', stormpath.loginRequired, function(req, res) {
  var id = req.user.customData.currentId;

  if (!id) {
    res.redirect(req.baseUrl);
    return;
  }

  req.user.customData.objects[id].endDate = new Date().toJSON();
  req.user.customData.remove('currentId');

  req.user.save(function() {
    res.redirect(req.baseUrl);
  });
});

module.exports = router;

The view just has buttons that post to /start and /stop

Can you please try replacing:
req.user.save(...);

With:
req.user.customData.save(...);

In your code sample?
We've got a known bug in our underlying Node SDK which is affected by this: https://github.com/stormpath/stormpath-sdk-node/issues/161
Basically -- if you modify custom data, you need to call req.user.customData.save() to actually persist your changes AND update the cache. Simply calling req.user.save() will ONLY update your data, but won't update the cache.
We're working to get that fixed currently.

To be clear: can you give that a try and let me know if it fixes your issue temporarily?

Yes, that solves the issue, thanks. You might want to add documentation for that method exists. I'd prefer it to saving the entire user anyway.

Will do!

We also faced same issue. Yes, but user.getCustomData.save() code change saved us. Thanks for this information here.

authors: aghorpade erbridge rdegges

repo: stormpath/stormpath-express


text:
[Bug] cached startup of storybook shows vite entrypoint

What version of vite are you using?
3.0.0
System info and storybook versions
System:
OS: macOS 12.2.1
CPU: (8) arm64 Apple M1
Binaries:
Node: 16.16.0 - ~/.volta/tools/image/node/16.16.0/bin/node
Yarn: 1.22.18 - ~/.volta/tools/image/yarn/1.22.18/bin/yarn
npm: 8.11.0 - ~/.volta/tools/image/node/16.16.0/bin/npm
Browsers:
Chrome: 103.0.5060.114
Edge: 103.0.1264.62
Firefox: 102.0.1
Safari: 15.3
npmPackages:
@storybook/addon-actions: ^6.5.9 => 6.5.9
@storybook/addon-essentials: ^6.5.9 => 6.5.9
@storybook/addon-interactions: ^6.5.9 => 6.5.9
@storybook/addon-links: ^6.5.9 => 6.5.9
@storybook/builder-vite: ^0.2.0 => 0.2.0
@storybook/react: ^6.5.9 => 6.5.9
@storybook/testing-library: ^0.0.13 => 0.0.13
Describe the Bug
When creating a new project according to the documentation ...
npm create vite@latest # follow the prompts
npx sb init --builder @storybook/builder-vite && npm run storybook

... everything is fine on the initial startup of storybook. But when stopping and restarting it, port 6006 binds to the vite app instead. When clearing the cache folder it works again one time.
Link to Minimal Reproducible Example
No response
Participation

[ ] I am willing to submit a pull request for this issue.

Hi, this is the same issue as https://github.com/storybookjs/builder-vite/issues/446, and will be fixed as soon as I can release a new version.  Thanks for the report.

authors: IanVS pmelab

repo: storybookjs/builder-vite


text:
[bug] @storybook/jest breaks PHPStorm Inspections

Describe the bug
Angular uses Jasmine and PHPStorm Inspections work without @storybook/jest. Using just Angular + @storybook/storybook is also working fine. However, once you start using @storybook/jest PHPStorm starts to think that all *.spec.ts files are Jest tests instead of Jasmine ones. It's easily reproducible in a fresh Angular install.
To Reproduce
Steps to reproduce the behavior:

Use e.g. the toHaveBeenCalledOnceWith matcher in a Angular spec file
import { expect } from '@storybook/jest'; and use it in a stories file
Go back to the Angular spec file
See PHPStorm error

Expected behavior
Ideally there should be no errors and PHPStorm should just get it automatically. However, this is probably not going to happen. Maybe Storybook team could add some notes to the docs providing more information. E.g. that @storybook/jest is not compatible with Angular or how to work around the described issues. Alternatively there might be a @storybook/jasmine for Angular users.
Screenshots

System
Environment Info:

  System:
    OS: macOS 14.0
    CPU: (10) arm64 Apple M1 Pro
  Binaries:
    Node: 16.18.1 - ~/.nvm/versions/node/v16.18.1/bin/node
    Yarn: 1.22.19 - /opt/homebrew/bin/yarn
    npm: 8.19.2 - ~/.nvm/versions/node/v16.18.1/bin/npm
  Browsers:
    Chrome: 117.0.5938.149
    Safari: 17.0
  npmPackages:
    @storybook/addon-docs: ^7.4.6 => 7.4.6
    @storybook/addon-essentials: ^7.4.6 => 7.4.6
    @storybook/addon-interactions: ^7.4.6 => 7.4.6
    @storybook/addon-links: ^7.4.6 => 7.4.6
    @storybook/angular: ^7.4.6 => 7.4.6
    @storybook/blocks: ^7.4.6 => 7.4.6
    @storybook/jest: ^0.2.3 => 0.2.3
    @storybook/testing-library: ^0.2.2 => 0.2.2

Additional context
–

Found a workaround:
Add /// <reference types="@types/jasmine" /> to the Angular test.ts file.

repo: storybookjs/jest


text:
HMR problem with webpack DLL reference plugin

I use the webpack feature to build and use DLL for vendor code. Our current version 3.2.12 works fine, but with 3.2.16 I found a bug. When I update a source file and HMR kicks in, storybook updates but throws an error:

To include the vendor bundle I added script tags into preview-head.html and manager-head.html:
<script src='/vendor.bundle.js'></script>

still there with 3.3.14

The easiest workaround would be not to include dll plugin into your storybook webpack config (you probably only need it for your actual app). I'll try to investigate why the error happens though

@Hypnosphi that is generally right, but it gives a significant performance boost.
/cc @MarkusLanger

@hoschi @smithjustinb can someone of you please create a GitHub repo with minimal reproduction of the issue, so that I could debug it myself?

authors: Hypnosphi hoschi

repo: storybooks/storybook


text:
How to run storyshots without create react app

I created a storyshots.test.js file, but I have no idea how to execute it. I feel like I'm missing something obvious. It fails when running node storyshots.test.js. When I run jest, storyshots says "testStorySnapshots is intended only to be used inside jest".
Storybook runs fine, I had the impression that storyshots was a simple addon, I'm guessing without create-react-app it becomes a whole separate project to setup. All examples say run npm test based on the screenshots they're running a create-react-app script.
Steps to reproduce
storyshots.test.js
var path = require('path');
var React = require('react');
var initStoryshots= require('@storybook/addon-storyshots');
var renderer = require('enzyme').mount;
var serializer = require('enzyme-to-json');
var multiSnapshotWithOptions = initStoryshots.multiSnapshotWithOptions;

// HTML Snapshots
initStoryshots({
    framework: 'react',
    configPath: path.join(__dirname, '../'),
    // integrityOptions: { cwd: path.join(__dirname, '..', 'stories') },
    // test: multiSnapshotWithOptions({
        renderer: renderer,
        serializer: serializer,
    // }),
});

Please specify which version of Storybook and optionally any affected addons that you're running

@storybook/react 3.4.8
@storybook/addon-storyshots 3.4.8

This error means that you somehow run the test outside of the testing framework, it should not be executed with node storyshots.test.js.
Did you configure jest in your project?

Apologies if my post is unclear, but I only get that error when I run it with jest. Yes jest is setup on my system.
I’m unclear on how this works and the documentation is not clear. My stories require we pack to run, how can snapshots be created from stories without running we pack. I’m not seeing how this all comes together.

When running this test from jest, webpack is not used. Jest has its own module resolution mechanism. If you are using some kind of "special" features from webpack, you will probably need to polyfill them with babel.
Can you please share jest.config / package.json / config.js

Unfortunately with the project I'm working I am unable to post any code samples. I was just hoping to understand what I was missing from a high-level. I essentially need to do manual configuration to get jest working with storybook stories. Storyshots help bridge the gap, but I still need to do the jest setup. I was hoping it'd be as simple as the documentation due to time constraints.
Thanks.

authors: igor-dv summanerd


text:
[react-native] fix drawer width

Fix the navigation drawer width

Issue:
What I did
The navigation drawer width was based on the screenWidth / 2 while the StoryListView itself was based on a maxWidth: 200 which could lead to the visibility of the drawer in case the
screenWidth / 2 < StoryListView width
I've just remove the MinMaxWidth component and put a fix width to the drawer (standard behavior).
How to test
Is this testable with jest or storyshots? Maybe
Does this need a new example in the kitchen sink apps? No
Does this need an update to the documentation? No
If your answer is yes to any of these, please make sure to include it in your PR.

Hello @ahanriat Thank you for contributing!
Do you think you could run the tests, update the snapshots and push?
This looks good to me, @danielduan ?

Actually, please update the snapshot test that way we can merge it. It came from your emoji in the story name 👍

🎉 thanks guys!

🎉

authors: ahanriat danielduan ndelangen


text:
open brandUrl in new window

Issue:
#6070
What I did
Opened brandUrl in new window when the brand image was clicked
How to test

Is this testable with Jest or Chromatic screenshots? Yes. I updated the snapshot.
Does this need a new example in the kitchen sink apps?  No.
Does this need an update to the documentation?  No.

@ndelangen
only added the target when the url is an external link.
Please confirm!!

If target is an empty string, target="" I guess nothing special happens.
Not having the prop at all seems a bit cleaner to me, but this is good to merge IMHO!
Good addition @toshi1127 👍

This can be closed right?

authors: aganglada ndelangen toshi1127


text:
[BP: v7 <- #842] wasm exec returns response & err

manual backport of #842 for srdtrk

closing so I can approve backport once the main PR is approved

repo: strangelove-ventures/interchaintest


text:
[Integration Tests] Remove GenerateStratis

This method is now an extension on the CoreNode as there are valid scenarios where want to inject transactions into block generation.

Maybe a solution would be to throw trxs in the mempool first and then call GenerateStratisWithMiner

This might be a great solution! Let me investigate 👍

@bokobza @dangershony Actually, I just noticed that we have 2 integration tests that test double spending already:
SendingTransactionWithDoubleSpend
So I recommend we remove that unit test?

@fassadlr Are the tests testing double spend in the same way?

authors: bokobza fassadlr

repo: stratisproject/StratisBitcoinFullNode


text:
Resolve the dependencies for moving Mempool to  a separate project

Resolves the dependencies for moving the Mempool feature to a separate project and also:

Fixes 4 mempool tests that were using \\
Resolved dependencies that required Mempool to be part of Statis.Bitcoin or would result in references to the new projects.
Moved the files to the new projects and resolved references in dependent projects
Added xunit.runnes.json file to test project to prevent parallel execution
Added Stylecop settings to both projects
Resolved StyleCop issues

I'm looking at this review now but some tests that weren't failing before are now failing.
Could you please have a look?

As mentioned in the slack these are the tests to be addressed by Francois' PR. I am not touching these files nor do I expect them to be fixed prior to that PR:

ReorganiseBlockRepository_WithBlockRepositoryAndChainOutofSync_ReorganiseBlocks
ProcessPendingStorage_WithPendingBlocks_PushToRepoBeforeDownloadingNewBlocks
CheckNextChainedBlockExists_WithNextChainedBlock_Exists_SetStoreTipAndBlockHash
DownloadBlockStep_WithNewBlocksToDownload_DownloadBlocksAndPushToRepo

Good work! Thanks G

authors: bokobza quantumagi


text:
strawberry_django.type fields arg overwrites class fields

Not a very important issue, but just a small improvement IMO.
@strawberry.enum
class EventLanguage(Enum):
    ....

@types.register
@strawberry_django.type(
    Event,
    types=types,
    fields=(
        ...
        "timezone",
    ),
)
class EventType:
    language: EventLanguage = EventLanguage.en.value

Personally I would expect the following in schema:
language: EventLanguage!

But I get
language: String!

removing timezone from fields resolves it.

Good catch. It seems that we are missing tests. Need to investigate.


text:
UUID type

Description
Register UUID's as a custom scalar type instead of the ID type.
⚠ This is a potential breaking change because inputs of type UUID are now parsed as instances of uuid.UUID instead of strings as they were before.
Types of Changes

[ ] Core
[ ] Bugfix
[ ] New feature
[x] Enhancement/optimization
[ ] Documentation

Issues Fixed or Closed by This PR

Checklist

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes.
[x] I have tested the changes and verified that they work and don't break anything (as well as I can manage).

Hi, thanks for contributing to Strawberry 🍓!
We noticed that this PR is missing a RELEASE.md file. We use that to automatically do releases here on GitHub and, most importantly, to PyPI!
So as soon as this PR is merged, a release will be made 🚀.
Here's an example of RELEASE.md:
Release type: patch

Description of the changes, ideally with some examples, if adding a new feature.

Release type can be one of patch, minor or major. We use semver,so make sure to pick the appropriate type. If in doubt feel free to ask :)

Thanks for fixing the lint issues @patrick91  :)

authors: botberry jkimbo

repo: strawberry-graphql/strawberry


text:
Add support for GrabResult chunk data.

Camera feature description:
https://docs.baslerweb.com/data-chunks

@astraw Hey Andrew, did you see my PR?

I'm closing in favor of #20. I couldn't push to your branch.

authors: astraw hirschenberger

repo: strawlab/pylon-cxx


text:
Multiple calls to Connection.Close() results in error

Basically this:
	Error:		Received unexpected error:
			write tcp 10.100.253.18:51848->192.168.0.222:5672: use of closed network connection

When trying to close several times.

And what do you expect to happen? Closing a connection multiple times is an error: this is not something the protocol or TCP sockets allow you to do.

I'm closing this because there's no information on what you expected to have happened and the current error message is not that cryptic.
See #219 for what I believe all client libraries should do.

I believe multiple calls to Close should result in last error or no-op if connection is already closed. There is already sync.Once inside - just wrap the logic.

authors: DmitriyMV michaelklishin

repo: streadway/amqp


text:
Changing port for Streama on Windows

I have saved the application.yml file to change the port but it doesnt
Expected Behaviour
It should run on port 80 and the port should be listed as 'open' on OpenPortChecker
Actual Behaviour
it doesnt run on port 80 but runs on 8080
Environment Information

Operating System: Windows 10
Streama version: TODO

did you wrap it in the environments.production keys? see screenshot

no , this is what i am not finding ...
can you please tell where to get this ... im pretty new to these stuffs..
it'll help me a lot , thanks!

yaa , i did this but nothing is happening... ill show you with a ss

this is what i should do , right??
or is there something wrong coz its not running at port 80 at all

UPDATE : I found it and its now running on port 80 but there is another issue
Open port checker says that port 80 is not opened
I have opened port 80 through firewall and also I port forwarded it from my local address to my public address and still its not showing open....

repo: streamaserver/streama


text:
[BUG]: Commmunication with the Streamdeck hardware not working after suspend & resume

In raising this issue I confirm that

[X] I have fully completed the issue template
[X] I have searched open and closed issues for duplicates
[X] I have read the Contribution Guidelines
[X] I have read the Code of Conduct
[X] I have read the Documentation

Describe the bug
After resuming from suspend, the display of my Streamdeck device turns on and stays on (even though I have set it to turn off after 10 seconds with the "auto dim after" setting), but pressing the buttons on my Streamdeck doesn't do anything. The interface of the streamdeck-linux-gui seems to respond, but communication with the Streamdeck hardware doesn't seem to work. I have to kill the program using the killall command to get everything working again. However, if I resume very quickly after suspend, I don't seem to have the problem. I don't think this problem was there initially; it appeared after some update a little while ago. I upgraded to Xubuntu 24.04 recently, but I don't remember if the problem started immediately after the upgrading to 24.04 or only a little bit later.
Steps to reproduce the behavior

Suspend the machine
Wait for more than just few minutes
Resume
Streamdeck-linux-gui is not able to communicate with the hardware anymore

Expected behavior
I would expect the program to be able to communicate with the Streamdeck hardware even after suspend & resume, without requiring killing of the software & restarting it.
Screenshots
Going through logs I noticed the following error messages. However, I am not sure if they are related to this problem:
StreamDeck.Transport.Transport.TransportError: No HID device.
raise TransportError("No HID device.")
File "/home/username/.local/pipx/venvs/streamdeck-linux-gui/lib/python3.12/site-packages/StreamDeck/Transport/LibUSBHIDAPI.py", line 254, in send_feature_report
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
return self.hidapi.send_feature_report(self.device_handle, payload)
File "/home/username/.local/pipx/venvs/streamdeck-linux-gui/lib/python3.12/site-packages/StreamDeck/Transport/LibUSBHIDAPI.py", line 399, in write_feature
self.device.write_feature(payload)
File "/home/username/.local/pipx/venvs/streamdeck-linux-gui/lib/python3.12/site-packages/StreamDeck/Devices/StreamDeckXL.py", line 106, in set_brightness
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
lambda brightness: self.decks_by_serial[serial_number].set_brightness(brightness),
File "/home/username/.local/pipx/venvs/streamdeck-linux-gui/lib/python3.12/site-packages/streamdeck_ui/api.py", line 209, in
self.brightness_callback(self.dimmed_brightness())
File "/home/username/.local/pipx/venvs/streamdeck-linux-gui/lib/python3.12/site-packages/streamdeck_ui/dimmer.py", line 92, in dim
self.function(*self.args, **self.kwargs)
File "/usr/lib/python3.12/threading.py", line 1431, in run
self.run()
File "/usr/lib/python3.12/threading.py", line 1073, in _bootstrap_inner
Traceback (most recent call last):
Exception in thread Thread-11:
System Information
*Xubuntu 24.04
*Xfce4
*Python	3.12.3
Stream Deck Version
Stream Deck XL

https://github.com/streamdeck-linux-gui/streamdeck-linux-gui/discussions/203

authors: coolapso ktuomain


text:
JSON Expressions: Déjà vu (miniMAL)

Hi @streamich, such a cool project!
I found this repo lately, when I was searching for "glue" language to integrate app components written in different languages (Python, JavaScript, Java, etc.). I wanted to reuse ACL rules (containing basic logic) across components, define url routing rules in single place and more.
I can understand that this is not the purpose of JSON Expression - it just has to be compact and simple.
What if I told you that in the process I discovered numerous attemps to express complex logic in JSON, however only few of them, instead of more readable objects (such as MongoDB query language), chose arrays as base building block of the algorithm.
I found it super clever, because this is very similar how LISP works, so theoretically it could express algorithtms of any complexity as JSON-serialized AST.
There were attemps. For example math focused interpreter of JSON expressions:
Math JSON:
https://cortexjs.io/math-json/
And bunch of others - mostly domain-specific and very limited.
But what really took my attention for a bit longer was this project:
miniMAL (JSON serialized LISP):
https://github.com/kanaka/miniMAL
Despite being officially a "toy" language, it supports lot of LISP features, it's compact (<1KB) and extendable, it even supports LISP-like macros and tail-call-optimization!
There is even online REPL running in browser!:
http://kanaka.github.io/miniMAL/
In fact - miniMAL is a part of bigger project by the same author:
Make-a-Lisp:
https://github.com/kanaka/mal
It supposed to act as tutorial repo, but as a side-effect,. nearly 100 implementations were created in various programming languages - this is portability I was dreaming of.
Small downside is that it uses it's own LISP like format and each implementation must parse it by it's own, so it might be good idea migrate to JSON Expression - like format - it would greatly reduce boilerplate.
I hope it's not too much hype and chaos from my side :)
I really have a feeling that with little of work it might become something bigger than bunch of PoCs - a simple, hence highly portable and standarized interpreter of JSON Expressions.
Can't wait for your feedback!
And again - kudos for all of those great tools that just suck less.
Best

Hey! Thanks for the links! I've seen Math JSON, It good to learn about miniMAL and Make-a-Lisp.
If it helps, I have documented the syntax in this JSON Expression specification. One follow up I wanted to add is a spec of commonly available operators, i.e. the standard library. Currently the spec just talks about the syntax.
One of the most important considerations in JSON Expression is to make it JIT compilable. The library compiles all expression to a very performant JavaScript code, which is then run through eval. For example expression like ['+', 1, 2] will actually directly compile to 3. Or expression which receives data at runtime like ['+', 1, ['$', '/data']] will be compiled to:
eval('() => 1 + vars.get('/data')')

Wrote up a little summary on the formal syntax:

https://gist.github.com/streamich/09eb1683080f353df1943efa76b6863e

repo: streamich/json-joy


text:
Use fastdom in favor of requestAnimationFrame

What do you think about using fastdom? I can submit a PR changing all the places where requestAnimationFrame is used

From fastdom docs:

Potentially a third-party library could depend on FastDom, and better integrate within an app that itself uses it.

Don't see the sense tbh.
Fastdom by itself uses raf, so no sense here.

@xobotyi it is explained at the how it works section.

FastDom aims to behave like a singleton across all modules in your app. When any module requires 'fastdom' they get the same instance back, meaning FastDom can harmonize DOM access app-wide.

😊

I've read.
Anyways lest see what @streamich will say.

Okay, later on I'll try to explain better the benefits of using it. Maybe providing some example.

@d-asensio an example would help, as I understand fastdom aims to batch all DOM measure operations before all DOM mutation operations, how that can be used in hooks I'm not sure.

authors: d-asensio streamich xobotyi

repo: streamich/react-use

license: Unlicense


text:
🛑 NAS Streamlined is down

In 4d844b3, NAS Streamlined (https://nas.streamlined-scs.cl) was down:

HTTP code: 502
Response time: 3508 ms

Resolved: NAS Streamlined is back up in 64a7fdf.

repo: streamlined-scs/upptime


text:
Issue: The app transforms white man into black when smiling parameter is reduced

The webapp is transforming the face of a white man to a black man when the 'Smiling' is reduced to 0 .
This can be considered Racist (where no smiling is being indicated a trait of a Black man) and should be fixed to avoid backlash in future.
To reproduce:

Select Young as 60
Select Smiling as 90
Select Male as 100
Now drop Smiling to 0 .

Hi @tanmaylaud, thanks for bringing this to our attention.
While this is an absolutely valid concern, and something the AI field in general needs to do a much better job of considering, it's important to realize that this demo is providing a front-end to someone else's pre-trained model. The details of this model are specifically highlighted as part of the README in the model subfolder.
In many ways, this demo could be considered a positive warning to future researchers. Streamlit makes it easy to quickly test the assumptions and parameter space of a model, which can help surface these sorts of issues before a model is released.
It's beyond the scope of this demo to actually do state-of-the-art research, but should an external party have a more fair model that we can use as a demo, we'd be happy to incorporate that one as either an additional choice or replacement.
Best,
Randy

authors: randyzwitch tanmaylaud

repo: streamlit/demo-face-gan


text:
fix(filters): fix buffered records not being flushed (#667)

Resolves: #667

Hello @fhussonnois! Could you please take a look at this PR when you have time?

repo: streamthoughts/kafka-connect-file-pulse


text:
[Feature Request] Build-in IK / Inverse Kinematic Solver

Original Content of this post:
beside to handle the character foot position, maybe this will be useful for 3rd person shooter game.
Added context from @anan1213095357 in issue #1698 :
Is your feature request related to a problem? Please describe.
Yes, my feature request is related to a problem. Currently, our software does not include an Inverse Kinematics (IK) solver, which can limit our capabilities in various animation and robotics applications. The lack of an IK solver may increase the complexity and the time needed to calculate the joint parameters that achieve the desired positions of the robotic manipulator or character.
Describe the solution you'd like
I would like to have an integrated Inverse Kinematics solver in our software. This solver should include support for different IK algorithms such as CCD, FABRIK, and Jacobian methods. It would be great if the solver could handle both single and multiple end-effectors and constraints.
Describe alternatives you've considered
An alternative could be to integrate an external IK library into our system, but this could lead to problems with compatibility and maintainability. Having a built-in IK solver will provide more flexibility and control over the feature.
Additional context
An IK solver is fundamental in various fields like computer animation, game development, robotics, and even biomechanics. It is essential for calculating joint parameters that would put an end-effector in a desired position.

What are the usecases? The IK solver can be used in character animation for game development, robotic arm manipulations, posture prediction in biomechanics, etc.
What kind of options/settings are expected/wanted? Options for different IK algorithms (CCD, FABRIK, Jacobian), single/multiple end-effectors, and constraints.
What would the (pseudo) code look like? Something like this: ik_solver.solve(end_effector_position, algorithm='CCD')
Is the feature affecting behaviour in the editor? Yes, it could come with visual representation of the IK chains and a user-friendly interface for parameter adjustment.

if so: how should this look in the editor? It could show the IK chains and allow users to select and adjust the parameters interactively.

Is there a component or datastructure? Yes, the IK solver could be a new component that uses data structures for the kinematic chain, joints, and end-effectors.
what kind of documentation is needed or needs to be updated? A complete documentation explaining the usage of the new IK solver component and its options, along with updates in the parts where IK solutions are applicable.
Should there be an example project? Yes, an example project showcasing the usage of the IK solver in different scenarios (robotics, animation) would be beneficial.

Last edit by @Eideren.

A first step in this direction would be to expose bones in the API.  This would allow developers to at least set bone positions and rotation manually and could be used to script a basic IK solver.

yes, well, i only need to rotate a single bone manually, to rotate the spine bone according to mouse y axis, wasn't really IK though, but if xenko have IK that would be cool too.

Is there a way to work on the API to expose the bones ?

I haven't used it but this seems like what you are looking for.

Thanks @Eideren i think i found something with

@Jaygem use NodeTransformations's Transform instead, works perfectly on my end.

@Eideren I'm sorry it doesn't work for me :c
How do you do it?

@Jaygem
var Skeleton = Entity.Get<ModelComponent>().Skeleton;
for( int i = 0; i < Skeleton.NodeTransformations.Length; i++ )
{
	Skeleton.NodeTransformations[ i ].Transform.Position = new Vector3( 0f, 0f, 0f );
}

Put this inside your update function, it should place all of your bones at the origin.

When can I receive support? A game engine lacking IK and animation state machines will greatly increase the entry threshold

@JAYGEM
var Skeleton = Entity.Get<ModelComponent>().Skeleton;
for( int i = 0; i < Skeleton.NodeTransformations.Length; i++ )
{
	Skeleton.NodeTransformations[ i ].Transform.Position = new Vector3( 0f, 0f, 0f );
}

Put this inside your update function, it should place all of your bones at the origin.

When can I receive support? A game engine lacking IK and animation state machines will greatly increase the entry threshold

@anan1213095357 Stride is not a commercial engine, every person contributing does so on their free time. If you want a specific feature to get implemented in the engine your best bet is to do it yourself or pay someone to do it for you

If my technical level could be achieved, I wouldn't be asking questions here. Because this ik is considered a necessary content for a mature game engine. So I want to see if everyone has the will to achieve it

@anan1213095357Stride 不是商业引擎，每个贡献者都是在空闲时间这样做的。如果您希望在引擎中实现特定功能，您最好的选择是自己做或花钱请人为您做

If my technical level could be achieved, I wouldn't be asking questions here. Because this ik is considered a necessary content for a mature game engine. So I want to see if everyone has the will to achieve it

@anan1213095357Stride 不是商业引擎，每个贡献者都是在空闲时间这样做的。如果您希望在引擎中实现特定功能，您最好的选择是自己做或花钱请人为您做

@anan1213095357 Stride is not a commercial engine, every person contributing does so on their free time. If you want a specific feature to get implemented in the engine your best bet is to do it yourself or pay someone to do it for you

If my technical level could be achieved, I wouldn't be asking questions here. Because this ik is considered a necessary content for a mature game engine. So I want to see if everyone has the will to achieve it

@anan1213095357 Stride is not a commercial engine, every person contributing does so on their free time. If you want a specific feature to get implemented in the engine your best bet is to do it yourself or pay someone to do it for you

If my technical level could be achieved, I wouldn't be asking questions here. Because this ik is considered a necessary content for a mature game engine. So I want to see if everyone has the will to achieve it

@anan1213095357 looks like you’ll want to find a “more mature” engine then. Stride has lots of users (that do think it’s mature enough for them) and they already have lots of needs that are being worked on, so unless anyone has particular passion for this specific feature (there has been no indication as of yet) then it isn’t going to be worked on in the near future. This isn’t me speaking as a Stride dev (because I’m not), this is just the way open source works. Open source and the volunteers therein does not mean the world is going to materialise around you.

@anan1213095357 looks like you’ll want to find a “more mature” engine then. Stride has lots of users (that do think it’s mature enough for them) and they already have lots of needs that are being worked on, so unless anyone has particular passion for this specific feature (there has been no indication as of yet) then it isn’t going to be worked on in the near future. This isn’t me speaking as a Stride dev (because I’m not), this is just the way open source works. Open source and the volunteers therein does not mean the world is going to materialise around you.

"I believe the future of a thriving user community for a game engine still greatly involves newcomers like me. The reason I'm drawn to this game engine is because, compared to others, it offers simplicity and a low learning curve, which is perfect for beginners. However, I do face challenges when certain tools necessary for my projects are not available in the game engine, making it impossible for newcomers like me to achieve certain goals. My hope is that this game engine continues to improve and grow. That's why I brought up this point."

I was relying heavily on the RootMotion Final IK package in my Unity projects. I was hoping there was some alternative here, but porting that over seems like a lot more than I'm personally capable of.

authors: Eideren ExtraMedicated Jaygem Kenji245 Perksey Vega-KH anan1213095357 ghost


text:
Renames retrieve-customer-payment-method to retrieve-payment-method

closes #73

dumping that endpoint to simplify.

dumping that endpoint to simplify.

repo: stripe-samples/subscription-use-cases


text:
elements-examples/js/example2.js

Where does the function registerElements() comes from? there is no import?

It's good old-fashioned script load order:
https://github.com/stripe/elements-examples/blob/e7b33a0d7ef1d954f73e68f8b173802168fa53e9/index.html#L15
https://github.com/stripe/elements-examples/blob/e7b33a0d7ef1d954f73e68f8b173802168fa53e9/js/index.js#L5
There is no build step in elements-examples, so we can't use imports.

authors: alfasin jez

repo: stripe/elements-examples


text:
 throws an error. Was working fine in the morning but got messed up after an 'npm install --save react-stripe-elements' just now.

All other Elements are working fine but
   <PostalCodeElement       onBlur={this.handleBlur}       onChange={this.handleChange}       placeholder='Zip code'       {...createOptions()}      />
is causing the code to break. This page was working fine in the morning. But I had to reinstall the package about an hour ago and it started giving the error (Other than that I have made no code changes). After I remove the PostalCodeElement the page renders correctly. I see that you guys updated the version? Could that be causing the issue?
Here is the Error:
React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.
I'm very new to React & completely new to using Stripe so apologies if this is a 'nooby' mistake. 😐

https://github.com/stripe/react-stripe-elements/issues/322 Just saw this lol

repo: stripe/react-stripe-elements


text:
app crashes on cardform

i am using cardform in a modal, its working fine on ios, but as soon the modal opens, it crashes on android without any error showing...
To Reproduce
this is my code
`<Modal
animationType="slide"
transparent={true}
visible={paymentModal.isShown}
onRequestClose={() => {
Alert.alert('Modal has been closed.');
setIsVisible({
isShown: false,
amount: 0,
});
}}>

<View style={[styles.centeredView, {backgroundColor: COLOR.blackOpac}]}>

<CardForm
postalCodeEnabled={false}
placeholders={{
number: '4242 4242 4242 4242',
cvc: 'CVC',
expiration: 'MM|YY',
}}
// autofocus
cardStyle={inputStyles}
style={styles.cardField}
onFormComplete={cardDetails => {
setComplete(cardDetails.complete);
}}
defaultValues={{
countryCode: 'US',
}}
/>
            <Button
              variant="primary"
              onPress={handlePayPress}
              title="Pay"
              width={'100%'}
              height={40}
              accessibilityLabel="Pay"
              disabled={
                isComplete && (Boolean(fromPlan) ? termsAccepted : true)
              }
            />
          </KeyboardAvoidingView>
        </ScrollView>
        <Pressable
          style={[styles.button, styles.buttonClose]}
          onPress={() =>
            setIsVisible({
              isShown: false,
              amount: 0,
            })
          }>
          <RNText style={styles.textStyle}>Cancel</RNText>
        </Pressable>
      </View>
    </View>
  </StripeProvider>
</Modal>`

on versions 0.32.0 to 0.35.0, i had to update

private var cardForm: CardFormView = CardFormView(context, null, R.style.StripeCardFormView_Borderless)

private var cardForm: CardFormView = CardFormView(context, null, com.stripe.android.R.style.StripeCardFormView_Borderless)

on ./node_modules/@stripe/stripe-react-native/android/src/main/java/com/reactnativestripesdk/CardFormView.kt
to even run the app on android but as you can see the changes were in node_modules so it was not preferable, but now on the versions 0.36.0 to 0.38.0 app runs fine but crashes as soon the payment modal screen is shown...

Hi @Salman-Usmani can you post the crash log here? You can refer to this page for accessing native logs.

hey, thanks for approaching me, but I am sorry I am not getting any logs
either, the app just crashes with no indication of anything...
right now i am using the 0.35.0 version, adding those lines I mentioned in
the issue. It's working fine, but when I upgrade to any newer version I get
the issue.

@seanzhang-stripe sir i have done that many times, but i deleting these things donot fix the issue.

This bug is likely related to an issue I just filed with Stripe's Android SDK... They changed the Card Brand icon to a Jetpack Compose Compsable view in Android v20.36.0.
See this issue for more details

@Salman-Usmani this has been resolved in Android v20.48.4

@Salman-Usmani  Have you found any fix for this? My app is also crashing while I'm trying to use CardForm component. It works with iOs but not with android.

authors: Salman-Usmani VerneriLop magouyaware seanzhang-stripe tjclawson-stripe

repo: stripe/stripe-react-native


text:
Supported payment methods for PaymentSheet

Describe the bug
For me, it's not clear whether the payment option "giropay" is supported when using the Payment sheet (if I understand it correctly, in the documentation it's being referred to as "Mobile Payment Element").
In the readme of this project it says:
"PaymentSheet currently accepts the following payment methods: Card, Apple Pay, Google Pay, SEPA Debit, Bancontact, iDEAL, and Sofort."
However, in the stripe documentation, it lists "giropay" under the Mobile Payment Element as a valid option. (see  https://stripe.com/docs/payments/payment-methods/integration-options#payment-method-product-support)
Therefore I'm wondering whether it's supported or not.
Thank you for your help.

giropay is indeed supported, we will update the docs as we have a few other payment methods either in the works are already available in the payment sheet!

Okay, interesting as I didn't manage to get the option in the payment sheet.
When I add "giropay" to the "payment_method_types" when creating a payment intent, it was not shown in the payment sheet.
I've also enabled it as a payment option in the dashboard.
Maybe it's somehow related to that issue: https://github.com/stripe/stripe-react-native/issues/829
Nevertheless, the payment option was not even shown on android.

Updated here: https://github.com/stripe/stripe-react-native/commit/059caeb4738cd52b21b43204d617ae2f01880823


text:
Improve test compatibility between UnboundID and OpenLDAP

Task Description
The default UnboundID instance provided by Spring Boot can be partially configured, but unfortunately it lacks the ability to addAdditionalBindCredentials() and import multiple LDIF files (you can define only one via spring.ldap.embedded.ldif).
Not being able to configure additional bind credentials causes conflicting configuration issues:

UnboundID instance provided with Spring Boot uses manager DN uid=admin,ou=system (without base dn) and a hard-coded password - secret.
OpenLDAP via docker container uses cn=admin,dc=carlspring,dc=com (including the base dn) and whatever password you define. You cannot change the managerDn since it will break startup scripts in the image and OpenLDAP won't start.

This becomes an inconvenience when having to test manually, because you are constantly going to be spending time on replacing configuration values via the UI which get lost upon every Strongbox restart (i.e. mvn spring-boot:run, ctrl + c, mvn spring-boot:run).
Using one big LDIF file is not very easy to read and making changes to it would require a full mvn clean install -Dintegration.tests to ensure all tests in all modules are working right. Separating things into one base file and additional LDIF files per test case would improve the reliability since changes would be affecting only certain test cases.
Tasks

[ ] Implement a new configuration class which can:

[ ] Set additional binding credentials via InMemoryDirectoryServerConfig.addAdditionalBindCredentials().
Note: it's complicated to add dynamic manager credentials (i.e. the property must be a string, but also a collection, and furthermore must allow for DN:password format) which is why this is going to be hardcoded for now and improved if this ever becomes a necessity.
[ ] Import multiple LDIF files.
[ ] Check org.springframework.security.ldap.server.UnboundIdContainer and org.springframework.boot.autoconfigure.ldap.embedded.EmbeddedLdapAutoConfiguration which can be used as base for this new class.

[ ] Go over existing test cases and convert them to use the new configuration class - remove whatever is obsolete.
[ ] Align the docker-compose.yml configuration for OpenLDAP so it works agian.
[ ] Write a guide regarding how to test this in the README.md files for the related modules.

Task Relationships
This task:

Is a sub-task of: #1840

Help

Our chat
Points of contact:

@carlspring
@sbespalov
@steve-todorov

This has been fixed as part of PR #1909.

repo: strongbox/strongbox


text:
Rail stations generate one block up

Will be fixed in Dev-4


text:
Error: MODULE_NOT_FOUND (undefined) Error: Cannot find module '../../web/helpers/date.helper'

Hello guys.
I'm facing this error: "Error: MODULE_NOT_FOUND (undefined) Error: Cannot find module '../../web/helpers/date.helper'" when I try to run the stryker, node_modules/.bin/stryker run  stryker.conf.js.
Below my stryker.conf.js
module.exports = function(config){
config.set({
files: ['tests/models//*.js', { pattern: 'models//*.js', included: false, mutated: true }],
testFramework: 'mocha',
testRunner: 'mocha',
reporter: ['progress', 'clear-text', 'dots', 'html', 'event-recorder'],
coverageAnalysis: 'perTest',
plugins: ['stryker-mocha-runner', 'stryker-html-reporter']
});
}

Stryker copies files in files and mutate to a sandbox for testing. Your data.helper file does not have a .js extension right? What is it''s full path from the root of your project? And are there other non .js files that need to be present when testing?

Sorry. My error.

Our error ;) You're not the first person who has this issue.Which documentation did  you use to set up Stryker? The quick start? Did you look at any readme's?

Here! I read o git and did :)

I think that now is rigth, but I have the error:
[2017-03-30 18:03:51.900] [ERROR] Stryker - One or more tests errored in the initial test run:
TypeError: Cannot read property 'runResult' of undefined
TypeError: Cannot read property 'runResult' of undefined
at C:\source\decostore\api\node_modules\stryker-mocha-runner\src\MochaTestRunner.js:31:46

That doesn't sound good! Could you open a separate issue for it?

I am also getting the same error .what should i do
here is my stryker.conf.js-
module.exports = function(config){
config.set(
{
"files": [
{
"pattern": "src//*.js",
"mutated": true,
"included": false
},
"test//*.js"
],
"testRunner": "mocha",
"reporter": [
"clear-text",
"progress"
],
"testFramework": "mocha",
"coverageAnalysis": "perTest"
}
);
}

authors: StephanyBatista simondel sugandhgoyal

repo: stryker-mutator/stryker


text:
Idea: UI for educators to confirm Service end dates

Notes

Now that we've landed #1105, we're asking educators about future end dates for services. Suggestion from @kevinrobinson: a UI that shows educators Services (for example, services that have been active the longest) and asks them to confirm if they're still active, discontinued, etc. so that we have some UI prompting to keep the data fresh and accurate

We did this!  There's a page to look at services overall (eg, for project leads to audit this as suggested), and the default end date is the end of the current school year now too.

authors: alexsoble kevinrobinson

repo: studentinsights/studentinsights


text:
🛑 Beefs and Beers is down

In 3f07587, Beefs and Beers (https://beefsandbeers.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Beefs and Beers is back up in 63d9278.

repo: studiovlijmscherp/uptime


text:
🛑 Beefs and Beers is down

In 449ecb5, Beefs and Beers (https://beefsandbeers.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Beefs and Beers is back up in 58e2fc5 after 8 minutes.


text:
docker-compose起来后，网页上用起来没有打字效果

你自已用的时候有打字效果吗？

貌似是 Azure 的问题，我之前有打字效果，今天突然没了。Azure OpenAI Studio 上测试也一样。

我这里也是刚开始有打字效果，发了几条信息就没有了，docker里用了nginx么？

我觉得打字效果还挺重要的，不然等几百字的全文要等好久，不习惯的用户以为后台Timeout了。希望有人能一起看看。

我这里也是刚开始有打字效果，发了几条信息就没有了，docker里用了nginx么？

应该没有吧

我今天也测试一下azure

你自己浏览器 F12 看看数据包就行，Proxy 不对让打字机效果丢失的，适配了流接口的

遇到同样的问题。是一段一段出的，而不是一个词一个词出的。
直接localhost:8080调用api也是一样，一段一段地蹦出来。
但不确定是azure那边的原因还是这边的原因。
感觉像是什么位置有buffer，buffer满了才出。

我确定 Proxy 没问题，可能是网络原因吧，流接口本来就是一段一段返回的

我确定 Proxy 没问题，可能是网络原因吧，流接口本来就是一段一段返回的

我测试了azure playground确实也是一段一段返回的。

https://user-images.githubusercontent.com/29210205/235081501-9e5c4e61-e946-45be-8d19-e8b8cebcbdfc.mp4
应该是 Azure 的问题

我后面也测了直接请求azure，应该是azure的问题。

遇到同样的问题。是一段一段出的，而不是一个词一个词出的。 直接localhost:8080调用api也是一样，一段一段地蹦出来。 但不确定是azure那边的原因还是这边的原因。 感觉像是什么位置有buffer，buffer满了才出。

确实没有打字机效果。。。。。。az搬也不搬完整，打字机都扔了

应该不是Azure的问题？例如：https://github.com/openai-translator/openai-translator/issues/594

我发现openai translator这个软件/插件，配置好azure的openai，确实是可以打字机效果输出。但是他应该不是流式输出，应该是等azure的openai问题都回答完毕后，再把所有内容打字机效果输出。
openai的api是可以流式输出。

确实是一段一段返回的。

你自己浏览器 F12 看看数据包就行，Proxy 不对让打字机效果丢失的，适配了流接口的

proxy是流返回，但是前端显示就是一段一段。可能还是哪里出bug了

https://github.com/haibbo/cf-openai-azure-proxy
这个项目

实现打印机模式：
Azure OpenAI Service's 回复是一段一段回复的
返回给客户端的时候， 本项目拆出一条条的消息, 依次给， 达到打印机模式

https://github.com/haibbo/cf-openai-azure-proxy
这个项目

https://github.com/haibbo/cf-openai-azure-proxy

看过了，响应的时候手动加了延迟，我自己在本地也实现了感觉不太好。目前昨天有小伙伴说是因为 Azure OpenAI 加了 Content Filter，可以申请取消。昨天已经提交了等审批后看看效果

https://github.com/haibbo/cf-openai-azure-proxy

看过了，响应的时候手动加了延迟，我自己在本地也实现了感觉不太好。目前昨天有小伙伴说是因为 Azure OpenAI 加了 Content Filter，可以申请取消。昨天已经提交了等审批后看看效果
以前好像没问题 最近处理的是吧 就是说azure又加了内容审核对吧

https://learn.microsoft.com/en-us/azure/cognitive-services/openai/concepts/content-filter

Azure OpenAI接口Stream输出是一段一段返回的，但没有OpenAI接口返回那么流畅自然，反映到UI上就是卡卡的，很突兀。需要在代码里加延迟，如每隔50毫秒输出一段，可参考项目https://github.com/kongpf8848/azure-openai-proxy实现打字效果

https://github.com/haibbo/cf-openai-azure-proxy

看过了，响应的时候手动加了延迟，我自己在本地也实现了感觉不太好。目前昨天有小伙伴说是因为 Azure OpenAI 加了 Content Filter，可以申请取消。昨天已经提交了等审批后看看效果

请问大佬，申请去掉内容过滤后，stream 是逐字返回的吗？

authors: VectorZhao hanjianshuo kongpf8848 liuzoxan mkdirmushroom onlyLTY paulcx qixiaobo qq516249940 shunyue1320 stulzq yk271 ytdu

repo: stulzq/azure-openai-proxy


text:
[Suggestion] More detailed description

Thank you for making this module. I've gone though the script to actually see what this module does, but I still struggle to understand all of your changes. Could you perhaps elaborate in more detail what "unwelcome visual surprises" encompasses, and what you did to get closer to 5E rules?

Awesome, thank you!

repo: stwlam/adequate-vision


text:
🛑 Main Website is down

In c249f34, Main Website (https://xoro-hosting.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Main Website is back up in 0e72152 after 10 minutes.

repo: stxrlite/xoro-updates


text:
🛑 Main Website is down

In 921a0b6, Main Website (https://xoro-hosting.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Main Website is back up in 4cdafe2 after 26 minutes.


text:
getStyleTags method very slow in v5

Hi all,
Upgrading my company's large codebase to v5 and we've seen a performance downgrade. Here are the times I recorded from our server for each styled-components specific methods we use:

v4
v5

ServerStyleSheet: 5.355ms
ServerStyleSheet: 0.210ms

getStyleTags: 0.916ms
getStyleTags: 10.355ms

ServerStyleSheet: 2.883ms
ServerStyleSheet: 0.039ms

getStyleTags: 0.789ms
getStyleTags: 9.055ms

ServerStyleSheet: 4.064ms
ServerStyleSheet: 0.030ms

getStyleTags: 1.472ms
getStyleTags: 5.485ms

Nice to see ServerStyleSheet constructor is much faster now! But the worse getStyleTags is not worth upgrading to. ~Wondering if it's related to my Node version.~ Just tried latest stable release Erbium and have the same results.

Environment
## System:
 - OS: macOS Mojave 10.14.6
 - CPU: (8) x64 Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz
 - Memory: 1.35 GB / 16.00 GB
 - Shell: 5.3 - /bin/zsh
## Binaries:
 - Node: 10.15.0 - ~/.nvm/versions/node/v10.15.0/bin/node
 - npm: 6.13.4 - ~/.nvm/versions/node/v10.15.0/bin/npm
## npmPackages:
 - babel-plugin-styled-components: ^1.10.6 => 1.10.6
 - styled-components: ^5.0.0 => 5.0.0

Steps to reproduce
Update styled-components to v5 and jest-styled-components to latest
Expected Behavior
Expect to see a significant reduction in overall render time
Actual Behavior
Experience significant reduction in ServerStyleSheet time but overwhelming increase in getStyleTags

Hey @kitten @probablyup wanted to say thank you again, I've updated to 5.0.1 and we saw a 100ms decrease in time to content loaded and time to interactive on our heavier pages. Incredible!

repo: styled-components/styled-components


text:
Webpackbin route invalid for Live Demo links

Just in case you weren't aware of this, the Live Demo links in the ReadMe and the website are throwing this error:

The reason you see this page is that the route is invalid. You have probably clicked an old Webpackbin link. Please notify the author about moving their BIN to the new version of Webpackbin. In the meantime you can continue to the old version.

Clicking the Continue To Bin button just results in the same error - apparently I can't continue to the old version after all! The links were working late last week so it's only recently broken.

We need to copy the code from the .herokuapp.com versions to the new https://www.webpackbin.com
As now bins can be attached to a GitHub account, would it be better for @mxstbr or @geelen to create it?
Reference: https://github.com/christianalfoni/webpack-bin/issues/226

Will do ASAP!

Fixed, thanks for notifying me!

authors: diegohaz lol-russo mxstbr


text:
Need updated typings for v5

I am not sure how many people are using this with TS but if you are, you probably realized the typings are still for v4.x and thus you get type errors trying to import the new composed groups.
Please update the typings 😄

You can track progress here: https://github.com/DefinitelyTyped/DefinitelyTyped/pull/36041

Thank you!

authors: jxnblk rathpc

repo: styled-system/styled-system


text:
SDK-2090 Implement local session/user/member/organization caching

Linear Ticket: SDK-2090
Changes:

Caches the session, user, memberSession, member, and organization data
Does session expiration validation on session get
Updates relevant flows/callbacks to return new StytchX objects, which contain the data and a lastValidatedAt date
Updates tests (mostly just replacing runTest with runBlocking since we're launching/waiting for flows to emit)

Notes:

README updates will be coming in a future ticket (to be merged into this one)

Checklist:

[x] I have verified that this change works in the relevant demo app, or N/A
[x] I have added or updated any tests relevant to this change, or N/A
[x] I have updated any relevant README files for this change, or N/A

Blerg, forgot to update the demo apps, too.

repo: stytchauth/stytch-android


text:
Rich profile loading state

Fixes https://github.com/subconsciousnetwork/subconscious/issues/654
Fixes https://github.com/subconsciousnetwork/subconscious/issues/678
https://github.com/subconsciousnetwork/subconscious/assets/5009316/353b8fe8-e515-4d88-9bdc-2bd569ee9f64

Pass partial profile data in description
Display as much data as possible in loading state
Add skeleton view
Animate omnibar

Tasks

[x] Fade in elements rather than snapping
[x] Memo viewer loading state

[x] Consider slight greywash background or text for viewer

[x] Formatting and fixups

That omnibar animation is :fire:

authors: bfollington justinabrahms

repo: subconsciousnetwork/subconscious


text:
🛑 Cubari (MangaDex) is down

In 0260eee, Cubari (MangaDex) (https://cubari.moe/read/mangadex/d86cf65b-5f6c-437d-a0af-19a31f94ec55/?cache_buster=$GITHUB_RUN_NUMBER) was down:

HTTP code: 500
Response time: 495 ms

Resolved: Cubari (MangaDex) is back up in 809546a after 3 minutes.

repo: subject-f/cubari-status-page


text:
🛑 Cubari (NHentai) is down

In ec031a2, Cubari (NHentai) (https://cubari.moe/read/nhentai/381867/?cache_buster=$GITHUB_RUN_NUMBER) was down:

HTTP code: 500
Response time: 183 ms

Resolved: Cubari (NHentai) is back up in b776841 after 49 minutes.


text:
⚠ Guya.moe Proxied has degraded performance

In bf33e16, Guya.moe Proxied (https://ice.guya.moe/) experienced degraded performance:

HTTP code: 200
Response time: 13321 ms

Resolved: Guya.moe Proxied performance has improved in 29557c5 after 2 hours, 43 minutes.

repo: subject-f/guya-status-page


text:
Drop support for tagging existing gateways

Only dedicated gateways are supported now, drop support for tagging existing nodes.

I was thinking whether to add a comment on @tpantelis PR where he removed the deprecated flag, but felt he might be pushing a separate PR for that. Thanks for removing this unused code.

I was planning to but @skitt beat me to it 😄

I was thinking whether to add a comment on @tpantelis PR where he removed the deprecated flag, but felt he might be pushing a separate PR for that. Thanks for removing this unused code.

I was planning to but @skitt beat me to it 😄

I love the smell of deleted code in the afternoon

authors: skitt tpantelis

repo: submariner-io/cloud-prepare


text:
Initiating release of 0.11.0-m2

Initiating release of 0.11.0-m2

Duplicate of #210

repo: submariner-io/releases


text:
Multiple active gateways

What would you like to be added:
Multiple active gateways for higher inter-cluster data transfer performance.
Why is this needed:
Currently there is only one gateway per cluster. As per the benchmark result in #2890, there is significant performance drop (about 56%) for PODs running on non-gateway nodes. Suppose the gateway node has a 10Gbit/s NIC. For DBMS servers running on non-gateway nodes, they only share 560 MByte/s. This means the whole cluster is only able to transfer 46TB of data per day at maximum, theoretically, which is unacceptable for productional clusters (JFYI, a small to median sized productional ClickHouse cluster can receive more than 40TB of data per day).

With the default IPsec tunnels, this happens because the IPsec protocol doesn’t support splitting tunnels, and the encryption and packet ordering must happen on a single core.
We have considered in the past enabling multiple parallel tunnels, on one gateway or across multiple gateways (in the latter case, with added HA benefits); but that requires deciding how to split traffic across the available tunnels.
In parallel, protocol extensions are being discussed to allow IPsec tunnels to be split to avoid these bottlenecks; see the current draft for details. It seems preferable for Submariner to support that, once it becomes available, instead of coming up with its own solution.
For performance-critical scenarios, especially in cases where a dedicated (private) network is available between gateways, Submariner supports VXLAN tunnels instead of IPsec.

For performance-critical scenarios, especially in cases where a dedicated (private) network is available between gateways, Submariner supports VXLAN tunnels instead of IPsec.

The 56% performance drop in question is exactly that of inter-cluster VXLAN tunnel (vxlan-tunnel VTEP). Which gives 44% of underlying network capability of only one NIC, while the IPsec tunnel gives 26%.
It seems multiple active VXLAN gateways is easier to implement, intuitively.

protocol extensions are being discussed to allow IPsec tunnels to be split to avoid these bottlenecks

If we go this path, we should likely raise a more specific issue.

Decided to push to following releases

repo: submariner-io/submariner


text:
Setting stuff onto "this"

I have a 3rd party script that I'm browserifying and it appears to be assuming "this" is window. Something like this:
var Arrive = (function (window) {
   if (!window.MutationObserver) return;
   // other stuff...
})(this);

return Arrive;

The problem seems to be that when rolled up with browserify, "this" isn't window when its run. Is there an easy way for me to fix this?

+1

Put (function () { ... })() around the script. This isn't something that browserify should or can handle, since browserify copies the node semantics that this === module.exports.

@substack - understood, and thanks for the clarification. Odd though, that this is working with browserify @10.2.1, vs. taking the update @12.0.1 after which these third parties cease to function...

authors: jeromecovington justinmchase substack

repo: substack/node-browserify


text:
add editing Behavior

Hi,
I am trying to create a editing Behavior but I get an error  "TypeError: behavior.register is not a function"
        // ...
        const editBehavior = new EditingBehavior();

        editBehavior.defineBreak('paragraph', function(tx){
            console.log("Custom break");
        });

        const cfg = new Configurator();
        cfg.addEditingBehavior(editBehavior);

        // ...

        const editorSession = new EditorSession(doc, {
            configurator: cfg,
        });

but looking at the code, that will always happen at the moment that the array has some value
Configurator.js
  getEditingBehavior() {
    var editingBehavior = new EditingBehavior();
    this.config.editingBehaviors.forEach(function(behavior) {
      behavior.register(editingBehavior); // <--------------
    });
    return editingBehavior
  }

  /**
    @param {EditingBehavior} editingBehavior.
   */
  addEditingBehavior(editingBehavior) {
    this.config.editingBehaviors.push(editingBehavior)
  }

It's a bug?

Obsolete.

authors: MGDSoft oliver----

repo: substance/substance


text:
feat: directly call git to get substrait submodule version

Same idea as #173, except this directly calls git describe at build time (when there is a submodule).

I'll give it a try with the released version as soon as its ready and let you know.

authors: mbrobbel westonpace

repo: substrait-io/substrait-rs


text:
[Jenkinsfile] Destroy all containers before update test node

To avoid storage old containers, and possible issues with it, in test-node,
we need destroy all existing containers.

done in df1c2394634c841d927b26ad1f9f7b767904bf5d

repo: subutai-io/base


text:
[osx] the script in the terminal should be hidden

in the following screenshot you can see the script in terminal:

Ideally, it should be hidden.
Steps to reproduce:
Create a peer using parallels provider
check the terminal while creation
get into the directory where it is located and run commands asking peer information

Did not get any script while deleting in terminal

Fixed in master

Tested in prod.

repo: subutai-io/control-center


text:
Anyone can send message impersonating anyone

socket.on('private message',function(msg){
            console.log('message  :'+msg.split("#*@")[0]);
            models.messages.create({
                "message":msg.split("#*@")[1],
                "sender" :msg.split("#*@")[2],
                "reciever":msg.split("#*@")[0],
                "date" : new Date()});
            io.to(users[msg.split("#*@")[0]]).emit('private message', msg);
        });

The above msg is coming from frontend and thus anyone can impersonate anyone by changing the string they are sending from the frontend

@aaayushsingh  is this issue solved ? or its possible I look at it ?

This is a very poor implementation of using sockets for messaging. I ended up making my own wrapper using ioredis and passportjs for auth.

hello,
so the issue is already solved and you don't need my construction help ?
christina
On Mon, Jun 6, 2022 at 9:44 AM Ayush Singh @.***> wrote:

This is a very poor implementation of using sockets for messaging. I ended
up making my own wrapper using ioredis and passportjs for auth.
—
Reply to this email directly, view it on GitHub
https://github.com/sudheeshshetty/Chat/issues/3#issuecomment-1147463443,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOJV4ICUJWLCKB5CL2XLCOLVNX6CXANCNFSM4F7VDQNQ
.
You are receiving this because you commented.Message ID:
@.***>

repo: sudheeshshetty/Chat


text:
🛑 Sudo API (/health) is down

In b809b23, Sudo API (/health) (https://sudoapi.xyz/v1/health) was down:

HTTP code: 502
Response time: 23374 ms

Resolved: Sudo API (/health) is back up in 5a27137 after 21 minutes.

repo: sudoswap/upptime


text:
CI for Node

CI for Node.

Game

Game

repo: sukhiforexam/github-actions-for-ci


text:
Set up ECS Cluster in AWS

Ultimately for testing with our Go deployment review.
Blocks #15 and #18

Blocked by #96

Unblocked by #161

authors: cmh2166 eefahy jcoyne

repo: sul-dlss-labs/taco