text:
Disabling Discord integration after adding it to ENV doesn't work

What version of Node.js are you using?
16.13.1
What version of npm are you using?
8.3.0
What operating system are you using?
Linux (ubuntu 20.04)
Describe the Bug
Due to the iFrame limitations of Discord authentication I disabled it by removing the Discord client ID and secret in the ENV. Unfortunately it still shows the login with discord option which subsequently breaks the CAD in game.
Expected Behavior
Can we either get an option to disable this button when used in an iFrame or support for removing it after its been enabled?
To Reproduce
No response

It should be disabled by default if it's not in the .env file 🤔. Did you also disable it in the CAD-settings?

Follow-up, did you run the command to update the .env file and then restart the API?

It should be disabled by default if it's not in the .env file 🤔. Did you also disable it in the CAD-settings?

Oh dear - I'm not on the ball today, completely missed the setting in CAD settings doh!

Sorry - just noticed that I can disable the sign in but that will disable users abilities to connect their account which is how I use the API to link users to.
Is there anyway that I can disable sign in with Discord but still allow them to connect their account so it adds their Discord ID. I know as admins we can add this (although saving doesn't work for that) but this would mean we need to go in and add this for every user.

How does "Connect Discord account" work, but not "Login in via Discord" 🤔?

How does "Connect Discord account" work, but not "Login in via Discord" 🤔?

It doesn't inside of the iframe, but I can have the users access the CAD from outside an iframe to link their account.
It's not ideal (best scenario is to just hide these options in an iframe) but I'm just trying to work around the Discord limitation.

I'm over complicating this actually, they just need the ability in their profile page to add a Discord ID as plain text. No integration, no redirect.

I'm over complicating this actually, they just need the ability in their profile page to add a Discord ID as plain text. No integration, no redirect.

Yeah, that could work! I could make a few more options writable if that's something you'd also like to get added?

I'm over complicating this actually, they just need the ability in their profile page to add a Discord ID as plain text. No integration, no redirect.

Yeah, that could work! I could make a few more options writable if that's something you'd also like to get added?

That would be great! I got there eventually, just had to work it out in my head. 😆

Will work on this tomorrow!

authors: Dev-CasperTheGhost jxckUK


text:
Added a stat for local index usage

Changes proposed in this pull request
The stats will indicate how useful an index has been.
How many times a particular index was accessed for point lookup on index and for scan lookup ( submap on index - range type scan )
Patch testing
Manual
ReleaseNotes changes
None.
Other PRs
No.

@sumwale initially I kept it as longs but then I saw in CachePerfStats puts and gets are all ints so changed it that way.  I can change back to long but please advise based on this input.

Strange. Would have thought that such counters should be longs especially for puts. Lets keep it as longs and check that they show correctly in VSD.

Can check with one of Pivotal devs later.

Ok. Will revert to longs as suggested for now.

@kneeraj Do you know if the counters get reset on stats file rollover? If they do, then this can be explained because it would not be possible to overflow them in a single stats file whose size would have to be less than 2GB I think.

source: gharchive/pull-request

authors: kneeraj sumwale

repo: SnappyDataInc/snappy-store

license_type: permissive

license_source: bigquery


text:
[FR] Change color of errors to red instead of yellow

Is your feature request related to a problem? Please describe.
Since I started using this extension, I felt that the formatting errors -such as a required field not being inserted or having an incorrect data type somewhere- should be counted as errors and not just warnings. That way, it'd allow for the possibility of actual warnings messages.
Describe the solution you'd like
I want to have errors be actual errors instead of warning.
Describe alternatives you've considered
Changing the color of errors to red
PD: it is 4 AM at time of writing this and I have no idea if any of this is coherent, so excuse me if it isn't...

Not sure if this is possible. I'll look into it though

Yeah I still don't fully get how VSC extensions work, but I've seen things like Datapack Helper Plus use Errors so I'd guess it's possible

They are using a custom language server. Not JSON Schemas. I have no custom code to provide VSCode with errors, everything you see is using vanilla VSCode behavior.
I'm not gonna implement a language server for JSON files just to change the color of the Schema errors

source: gharchive/issue

repo: SnaveSutit/origins-mod-json-schemas

license: MIT

license_source: github-api


text:
How protect server ip form getting banned by opera

Dear support.
I want to connect to opera proxy via TOR proxy, I have rotated tor proxy.
How can I connect to opera-proxy and pass my TOR proxy to it?
export http_proxy=[tor_proxy] ./opera-proxy does not work.
Reards

Hi!
Assuming your tor instance accepts SOCKS5 connections on port 9050, you can run it like this:
opera-proxy -proxy socks5h://127.0.0.1:9050 -timeout 30s

Extended timeout parameter is set to 30 seconds (instead of default 10 seconds) for practical reasons because Tor can be sluggish.

authors: Snawoot beshoo

repo: Snawoot/opera-proxy


text:
Issue with V1.0 -  'test_selected' is undefined - incorrectly referenced in create_constraints.sql

The latest package (v1.0) is now throwing test_selected when running the '{{dbt_constraints.create_constraints()}}' on dbt v1.6 (cloud)

Hi @sfc-gh-dflippo, I think this PR might be the issue. The error says:
 'test_selected' is undefined
How and where does this need to be defined?

Macros have been incorrectly referenced in create_constraints.sql, namely the following :
{%- macro test_selected(test_model) -%}
{%- endmacro -%}

{%- macro lookup_should_rely(test_model) -%}
{%- endmacro -%}

{%- macro should_always_create_constraint(test_model) -%}
{%- endmacro -%}

For example
{%- set selected = test_selected(test_model) -%}
should be
{%- set selected = dbt_constraints.test_selected(test_model) -%}

Temporary Solution
Create Local .sql macro with the following :
{#- This macro checks if a test or its model is selected -#}
{%- macro test_selected(test_model) -%}
{% do dbt_constraints.test_selected(test_model) %}
{%- endmacro -%}
{%- macro lookup_should_rely(test_model) -%}
{% do dbt_constraints.lookup_should_rely(test_model) %}
{%- endmacro -%}
{%- macro should_always_create_constraint(test_model) -%}
{% do dbt_constraints.should_always_create_constraint(test_model) %}
{%- endmacro -%}
{%- macro lists_intersect(listA, listB) -%}
{% do dbt_constraints.lists_intersect(listA, listB) %}
{%- endmacro -%}

THANKS TO YOU BOTH for quickly reporting the issue. I reviewed @RonniePitts 's changes and made the same in the main branch.
I have released version 1.0.1 to fix the issue. I did my own tests but can you please confirm your issues are resolved with v1.0.1?
Thanks again!

@sfc-gh-dflippo Dan, it's fixed now with the latest version.

authors: RonniePitts Tonayya sfc-gh-dflippo


text:
Cache SSH connections locally

It does seem to fix #19 once the secure-local-storage version has been installed

Oh wow! I had no idea this could be so easy. Thank you

authors: sfc-gh-jhollan sfc-gh-zblackwood

repo: Snowflake-Labs/snowcli


text:
Support "days_to_expiry" for a given user

Is your feature request related to a problem? Please describe.
We're trying to set an expiration date for some of the users we're creating. You can achieve this in the Admin of Snowflake but this provider doesn't support that option.
Describe the solution you'd like
To add the property "days_to_expiry" at the user level.
Describe alternatives you've considered
None
Additional context
It seems like you're accounting for that property in the  "user_ownership_grant" but it's not being surfaced at the user level.

Hey @thisiscab. We released v0.95 of the provider yesterday. It adds the days_to_expiry attribute: https://registry.terraform.io/providers/Snowflake-Labs/snowflake/latest/docs/resources/user#days_to_expiry.

authors: sfc-gh-asawicki thisiscab


text:
Remove incentivized channel and apps from test & cleanup

Removes all of the E2E tests, as these all depended on the apps. This also removes some left over references like channelID, along with the assets-registry pallet. There are more things we could remove, but I want to solicit feedback here first:

core/packages/test/src/ has clients, helpers & fixtures that aren't used now that the tests aren't around. We could remove these, especially with the move to Foundry I'm not sure we can get much value out of them.
core/packages/api/ is an example of using the apps, so we can probably remove it now that we don't have apps.
The assets pallet is used by the XCM pallet (Assets -> FungiblesTransactor -> AssetTransactors -> XcmConfig). Do we want to remove the XCM pallet as well, or leave the assets pallet in? Do we need our own AssetTransactors when using Statemint?

core/packages/test/src/ has clients, helpers & fixtures that aren't used now that the tests aren't around. We could remove these, especially with the move to Foundry I'm not sure we can get much value out of them.

yes, lets remove.

core/packages/api/ is an example of using the apps, so we can probably remove it now that we don't have apps.

I want to keep the api package even if its just a stub. We'll re-implement the package once the XCMv3 work is done.

The assets pallet is used by the XCM pallet (Assets -> FungiblesTransactor -> AssetTransactors -> XcmConfig). Do we want to remove the XCM pallet as well, or leave the assets pallet in? Do we need our own AssetTransactors when using Statemint?

The assets pallet won't be needed. Instead, we'll likely want to run Statemint as a second parachain in our testnet. But that can come later.

authors: doubledup vgeddes

repo: Snowfork/snowbridge


text:
Disallow illegal characters in chat

Description
This will disallow any illegal characters in chat.
It functions exactly the same as in the vanilla minecraft server, see net.minecraft.server.PlayerConnectiona(PacketPlayInChat packetplayinchat) net.minecraft.server.SharedConstants.isAllowedChatCharacter(char c0).

Testing
I tested by running "MinecraftClient.getInstance().player.networkHandler.sendChatMessage" on the client with ANSI escape codes, disallowed Unicode and '§'.

Checklist
Things need to be done before this Pull Request can be merged.

[x] Code is well-formatted and adheres to project style guidelines: cargo fmt
[x] Code does not produce any clippy warnings cargo clippy

Why should these be disabled? Can we have config for this?

@Bryntet Why should these be disabled? Can we have config for this?

They should be disabled because they can't be displayed and normally typed. Some like § are used for color formatting. Allowing \n will make it, so any player can clear the whole chat. Allowing ANSI escape codes and other codes could lead to compromise, see Weaponizing Plain Text: ANSI Escape Sequences as a Forensic Nightmare

@Bryntet Why should these be disabled? Can we have config for this?

They should be disabled because they can't be displayed and normally typed. Some like § are used for color formatting. Allowing \n will make it, so any player can clear the whole chat. Allowing ANSI escape codes and other codes could lead to compromise, see Weaponizing Plain Text: ANSI Escape Sequences as a Forensic Nightmare

Fair.

@Snowiiii Looks like you are working with an Outdated Minecraft source. I recommend using Fabric. There is no PlayerConnection and no SharedConstants.isAllowedChatCharacter

Updated my sources:
net.minecraft.server.SharedConstants.isAllowedChatCharacter(char c0) -> net.minecraft.SharedConstants.isAllowedChatCharacter(char p_136189_)
net.minecraft.server.PlayerConnectiona(PacketPlayInChat packetplayinchat) ->
net.minecraft.server.network.ServerGamePacketListenerImpl.handleChat(ServerboundChatPacket p_9841_)
nothing changed!
public static boolean isAllowedChatCharacter(char p_136189_) {
    return p_136189_ != 167 && p_136189_ >= ' ' && p_136189_ != 127;
}

@Snowiiii Looks like you are working with an Outdated Minecraft source. I recommend using Fabric. There is no PlayerConnection and no SharedConstants.isAllowedChatCharacter

Updated my sources:
net.minecraft.server.SharedConstants.isAllowedChatCharacter(char c0) -> net.minecraft.SharedConstants.isAllowedChatCharacter(char p_136189_)
net.minecraft.server.PlayerConnectiona(PacketPlayInChat packetplayinchat) -> net.minecraft.server.network.ServerGamePacketListenerImpl.handleChat(ServerboundChatPacket p_9841_)
nothing changed!
public static boolean isAllowedChatCharacter(char p_136189_) {
    return p_136189_ != 167 && p_136189_ >= ' ' && p_136189_ != 127;
}

Im pretty familiar with the Minecraft Code, And its pretty much looks like you still are using older sources than 1.21.3.
ServerGamePacketListenerImpl was renamed to ServerPlayNetworkHandler. The Methods you provided do not existi
Here are my Sources:
minecraft_version=1.21.3
yarn_mappings=1.21.3+build.2
loader_version=0.16.9
# Dependencies
# check this on https://modmuss50.me/fabric.html
fabric_version=0.108.0+1.21.3
``

Looks like its now in net.minecraft.util.StringHelper
 public static boolean isValidChar(char c) {
        return c != '\u00a7' && c >= ' ' && c != '\u007f';
}

Anyways. It does make sense. LGTM
Thanks @Commandcracker

authors: Bryntet Commandcracker Snowiiii

repo: Snowiiii/Pumpkin


text:
Integrate API and Tests

Integrated the API server into the tests as demonstrated in the participant tests. It is still suboptimal as you have to have the mongo container running already.
Definitely need to work of the sketchiness of running all the containers at once. I am trying to get it so that there is a single docker-compose file that runs everything and updates with changes. It works for the API but there is a weird bug with the frontend. I think it has to do with where the file is being run from.
Going to add in redux tonight for the frontend.

@zbarnz The bug occurs when I use a single docker-compose for the all three services. The frontend doesn't recognize that it is supposed to run in dev mode so it looks for the build directory where the production build would be and crashes when it can't find it.


text:
Error code 357

Current implementation returns too many false-positives:
eps = eps.loc[eps['DECOM'].notnull()]

first_eps = eps.loc[eps.groupby('CHILD')['DECOM'].idxmin()]
errs = first_eps[first_eps['RNE'] != 'S'].index.to_list()

This means any child with an open episode at <COLLECTION_START_DATE> will flag as an error unless the open episode (from the previous year) happens to have <RNE> = S.
Suggest this rule could be modified for the tool to :

Only test first episodes where the <DECOM> is also on or after <COLLECTION_START_DATE>
Test for episodes where <RNE> != S and without an immediately preceding episode (ep-1 <DEC> = <DECOM>) [Although this would be a greater deviation from the original rule logic]. [EDIT: Think this bit is already covered by rule 433]

Has this been solved already?

fixed by 44d295d8f3761f6b8c4d581f1eeb4d7dfa9cdeb1

authors: SLornieCYC dezog tab1tha


text:
Added validator for rule 452.

Closes #204

Hi @dezog I'm a bit stuck with this one. Getting a failure in tests/test_integration.py and then at the end it's returning a different number of asserts to what I expect (vs a copy of the python running standalone in replit).
AssertionError: Validator for ErrorDefinition(code='452', description='Contradiction between local authority of placement code in the last episode of the previous year and in the first episode of the current year.', affected_fields=['PL_POST']) does not appear to operate on any configured table names - check spelling!


text:
chore: fix focuses layout

merge #188 before

:tada: This PR is included in version 1.26.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

authors: SocialGroovyBot tglatt

repo: SocialGouv/carnet-de-bord


text:
error on mac

It fails at this
canvas@1.4.0 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the canvas@1.4.0 install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the canvas package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs canvas
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR!     npm owner ls canvas
npm ERR! There is likely additional logging output above.

hello, sorry for late answer.
i wrote those plugin a long time ago and don't remember all properly, but
remember that i've also had an issue with canvas.
node-gyp rebuild can be an error with python packages
not sure, coz my workstation is windows, but i saw this error when some
packages used node-gyp to build some libs
2016-07-07 21:13 GMT+03:00 H Moallin notifications@github.com:

It fails at this
canvas@1.4.0 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the canvas@1.4.0 install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the canvas package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project
with:
npm ERR! npm bugs canvas
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR! npm owner ls canvas
npm ERR! There is likely additional logging output above.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/SoftarexTechnologies/ods2json/issues/1, or mute the
thread
https://github.com/notifications/unsubscribe/ABCpjCbhJ_oqlxeEc-8wyu3CYOlh7_T9ks5qTUHDgaJpZM4JHWqG
.

--
Regards, Sergey Glazun
Node.js, Javascript, C#, PHP Developer.
Skype: inferi1

This comes in as a dependency via https://www.npmjs.com/package/svmconv - It appears to used "at the end" of all the parsing here: https://github.com/SoftarexTechnologies/ods2json/blob/d8ca01c3532b1bf840e168baf1d1f43d0c1563dd/converter.js#L161 - I just can't tell if it's essential to the rest of the project. If one only needs the numeric and text contents of a file, that is.

Same then happens for mmmagic I removed both and I'm now trying what the lobotomized version can do. mmmagic is used (and required!) here:
https://github.com/SoftarexTechnologies/ods2json/blob/d8ca01c3532b1bf840e168baf1d1f43d0c1563dd/converter.js#L130-L137

Hello
I'll try to cure this issue this evening
On Tue, Feb 7, 2017 at 2:17 PM, Claudius Coenen notifications@github.com
wrote:

Same then happens for mmmagic I removed both and I'm now trying what the
lobotomized version can do. mmmagic is used (and required!) here:
https://github.com/SoftarexTechnologies/ods2json/blob/
d8ca01c3532b1bf840e168baf1d1f43d0c1563dd/converter.js#L130-L137
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/SoftarexTechnologies/ods2json/issues/1#issuecomment-277982257,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABCpjD1EluOwE1N6uDMGwOAg52Axambqks5raGDzgaJpZM4JHWqG
.

--
Regards, Sergey Glazun
Node.js, Javascript, C#, PHP Developer.
Skype: inferi1

If there were a "basic" version of this which just removes image/attachment/media handling, and can forego gyp, that would make setup much easier.
Also: do you by any chance know of a ods generator for node.js?

Also: do you by any chance know of a ods generator for node.js?

Unfortunately not, it was only in plans while i developed this plugin. I'll look for old sources, may be will implement after ods2json refactoring.

Seems like ex-boss from old company ignores me. So, I'm forking this repo and old plugin will be deprecated after refactoring

https://github.com/suxiaoxin/node-echarts/issues/6#issuecomment-291817868
fixes canvas package issue

Fix below verified on MacOS X Sierra (10.12.5)

authors: azvox ccoenen tagrim

license: mit


text:
.entry.js:1 Uncaught TypeError: Cannot set property 'UserComponents' of undefined

Describe the bug
I've installed AdminBro for nest with typeorm adapter and when I run the project I get a blank screen when i try to access to the dashboard
Installed libraries and their versions

@admin-bro/typeorm
@admin-bro/nestjs
admin-bro
@admin-bro/express
express-formidable

To Reproduce
Steps to reproduce the behavior:

Implement AdminBro following the documentation
Run project
Access /admin in browser

Expected behavior
See dashboard.
Screenshots

AdminBroOptions with schema
@Module({
  imports: [
    AdminModule.createAdmin({
      adminBroOptions: {
        rootPath: '/admin',
        resources: [User],
      }
    }),
    ConfigModule.forRoot({
      isGlobal: true,
    }),
    TypeOrmModule.forRootAsync({
      imports: [ConfigModule],
      useFactory: (configService: ConfigService) => ({
        type: 'mongodb',
        host: configService.get('DATABASE_HOST'),
        database: configService.get('DATABASE_NAME'),
        entities: [User],
        useUnifiedTopology: true,
        synchronize: true,
      }),
      inject: [ConfigService],
    }),
    UserModule,
    AuthModule
  ],
  controllers: [AppController],
  providers: [AppService],
})
export class AppModule {}

import { BaseEntity, Column, Entity, ObjectID, ObjectIdColumn, BeforeInsert, Index } from 'typeorm';
import { Plan, UserRole } from '../common';
import * as bcrypt from 'bcrypt';
import { Database, Resource } from '@admin-bro/typeorm';
import { validate } from 'class-validator'
import AdminBro from 'admin-bro';
import * as AdminBroExpress from '@admin-bro/express'
Resource.validate = validate;
AdminBro.registerAdapter({ Database, Resource });

@Entity()
export class User extends BaseEntity {
    @ObjectIdColumn()
    id: ObjectID;

    @Column()
    @Index({ unique: true })
    name: string;

    @Column()
    @Index({ unique: true })
    email: string;
...

#https://github.com/SoftwareBrothers/admin-bro/issues/729

Closing because the issue is old. If you still need help, please reopen.

authors: carmonac chirdeeptomar dziraf

repo: SoftwareBrothers/admin-bro


text:
[Bug]: CustomError: Cannot find package 'typeorm' imported from  /node_modules/@adminjs/typeorm/lib/Resource.js

Contact Details
No response
What happened?
List what you are trying to do?
Try to run the app,  ts-node --esm app.ts
Bug prevalence
Always
AdminJS dependencies version
{
"name": "api-exp",
"version": "0.0.0",
"type": "module",
"private": true,
"scripts": {
"start": "ts-node ./bin/www"
},
"dependencies": {
"@adminjs/express": "^6.0.0",
"@adminjs/mongoose": "^4.0.0",
"@adminjs/typeorm": "^5.0.0",
"adminjs": "^7.2.1",
"cookie-parser": "~1.4.4",
"debug": "~2.6.9",
"express": "^4.18.2",
"express-formidable": "^1.2.0",
"express-session": "^1.17.3",
"http-errors": "~1.6.3",
"jade": "~1.11.0",
"mongoose": "^7.5.0",
"morgan": "~1.9.1",
"tslib": "^2.6.2"
},
"devDependencies": {
"@adminjs/typeorm": "^5.0.0",
"@tsconfig/recommended": "^1.0.2",
"@types/express": "^4.17.17"
}
}
What browsers do you see the problem on?
Chrome
Relevant log output
Debugger attached.
Debugger attached.
/usr/local/lib/node_modules/ts-node/dist-raw/node-internal-modules-esm-resolve.js:757
  throw new ERR_MODULE_NOT_FOUND(packageName, fileURLToPath(base));
        ^
CustomError: Cannot find package 'typeorm' imported from /home/ec2-user/tutorial/node_modules/@adminjs/typeorm/lib/Resource.js
    at packageResolve (/usr/local/lib/node_modules/ts-node/dist-raw/node-internal-modules-esm-resolve.js:757:9)
    at moduleResolve (/usr/local/lib/node_modules/ts-node/dist-raw/node-internal-modules-esm-resolve.js:798:18)
    at Object.defaultResolve (/usr/local/lib/node_modules/ts-node/dist-raw/node-internal-modules-esm-resolve.js:912:11)
    at /usr/local/lib/node_modules/ts-node/src/esm.ts:218:35
    at entrypointFallback (/usr/local/lib/node_modules/ts-node/src/esm.ts:168:34)
    at /usr/local/lib/node_modules/ts-node/src/esm.ts:217:14
    at addShortCircuitFlag (/usr/local/lib/node_modules/ts-node/src/esm.ts:409:21)
    at resolve (/usr/local/lib/node_modules/ts-node/src/esm.ts:197:12)
    at resolve (/usr/local/lib/node_modules/ts-node/src/child/child-loader.ts:15:39)
    at nextResolve (node:internal/modules/esm/loader:163:28)
Waiting for the debugger to disconnect...

### Relevant code that's giving you issues

_No response_

You're missing typeorm in your dependencies

thanks boss, upon check there is a typeorm in the package.json. I thought it's cache, so that i create a new project, the message missing.

authors: dziraf wallet-official

repo: SoftwareBrothers/adminjs


text:
Update ShipPlanner.java

Updated line 217, this is to address the error where a player can start the game without placing their last ship. This error was replicable by using either mouse button to click on an existing ship or its surroundings. These placements are invalid, but you could press the Ok button afterward. I fixed this by adding an additional "isValidPosition" check whenever a press is done, and only progressing forward if the click is in a valid location.

I realized

Messed up this commit, very sorry.


text:
⚠ SolarOscp has degraded performance

In 702b7e5, SolarOscp ($SOLAROSCP_URL) experienced degraded performance:

HTTP code: 200
Response time: 393 ms

Resolved: SolarOscp performance has improved in ca4bcb1 after 27 minutes.

repo: SolarNetworkFoundation/upptime


text:
Enable CSS Support for Component-Level Styles

My component is generated dynamically based on the user selection, therefore,
I would like to enable CSS Support for Component-Level Styles instead of CSS Module Support.
Is it possible to do this in next-plugin-antd-less?
Thanks.

you can see:
https://github.com/SolidZORO/mkn/blob/5fd9609230532978600ec8a7d4113ca3b9f3a5f7/src/page-components/test/Test/Test.tsx#L9-L25

authors: SolidZORO samkahchiin

repo: SolidZORO/next-plugin-antd-less


text:
Feature: Implement a STATS command

This STATS command could do some cool stuff. One idea I had is that it would read the runtime.log file and search for instances of command tokens, add them up and tell the user something like "Your favorite/most used command is FOCUS " or something like that

Debating if I even want to have this feature...seems silly

repo: Solitude-Software-Solutions/OstrichDB


text:
EliteVA unable to perform inputs

**I am no longer able to get EliteVA to perform inputs for me. I've been having a whole bunch of issues leaning how VoiceAttack and this plugin works. After I took a break it wasn't performing inputs. I tried everything from running the updater, trying other plugins to map my keys, uninstalling and reinstalling EliteVA, and even restarting my whole computer. I have all my keybinds wset to cusom for all four categories with the custom 'Custom.4.1.binds' file in the Bindings folder. What am I doing wrong?

Firstly you'd need to check to make sure there are keys assigned to the various functions in Elite Dangerous, if a function has no key, joystick or controller button set then the plugin when it reads the binds file will not be able to create a variable for VoiceAttack to use ... so no key gets pressed.
You should make sure at least one of the two columns available in the game to bind keys/joysticks/controllers to game functions has an actual keyboard key set, see image for example (I use a 360 controller (left column) + Keyboard (right column) (VA presses the keyboard keys))

I play keyboard, I have made sure to do all the basics. I actually downloaded bindED to solve the problem with it not pressing my keys but now it will not recognize API Events. It can recognize Status but not Events. I feel like I have a deep problem with the API

I should also add that I can't get live updates from the live documentation website either

I ran into a similar problem as a new player. In training mode, after setting up @UseLessUK VA profile no VA commands worked all with error key not found make sure it is set in the game. To fix, I had to open a session like solo session first before going into training mode and then all voice commands worked and were finding the keys.  Thank you both for the plugin and profile.  Cheers!

authors: UseLessUK delebash rhycus73

repo: Somfic/EliteVA


text:
Alternative layout for mobile devices

Trend fact
Students' use of mobile telephones to browse course material is growing.
Problem
Vertical text aside thrown to the right looks too stretched on vertically held phones. While mobiles' screens are normally sensitive to rotation, some users disable this. Besides, when holding the device horizontally, grip may be less secure in certain travel conditions.
Proposal
Is there any way for Reveal or Coursemod to know whether we're running on a mobile AND the device is vertically held?
a) If yes, just apply a different CSS.
b) else add hotkey to turn 90 º the horizontal layout to vertical layout thus presenting slide above aside. Can we cycle layouts using always the same 'V' hotkey? e.g.:
Sld+asd  --'V'-->  Sld-no-asd --'V' -->  Sld-over-asd --'V' --+
        ^ ---------------------------------------------------------+

Taking profit from a mobile accelerometer would do the trick

Part b) of proposal is moot since we have no way to have the mobile user press hotkey if browser does not expect said input - Rather include some toggle button somewhere

Pull request looks satisfying.


text:
Protocol 21 SDK Support

Protocol 21 SDK Support
Once voted in, the release of Protocol 21 will introduce following new CAPs:

CAP-51: Smart Contract Host Functionality
CAP-53: Separate host functions to extend the TTL for contract instance and contract code
CAP-54: Soroban refined VM instantiation cost model
CAP-55 : Soroban streamlined linking
CAP-56: Soroban intra-transaction module caching

XDR changes:
XDR update issue details - https://github.com/stellar/stellar-xdr/commit/1a04392432dacc0092caaeae22a600ea1af3c6a5
Reference Implementations:
js-sdk - https://github.com/stellar/js-stellar-base/pull/738
Soroban API Changes:
Breaking Changes:

simulateTransaction: https://github.com/stellar/soroban-rpc/issues/13

Non Breaking changes:

Add StateDiff to simulateTransaction Response: https://github.com/stellar/soroban-rpc/pull/120

New optional field in SimulateTransactionResponse which indicates how the state (ledger entries) will change as a result of the transaction execution.
StateDiff       []LedgerEntryDiff            `json:"stateDiff,omitempty"`

type LedgerEntryDiff struct {
	Before string `json:"before,omitempty"` // LedgerEntry XDR in base64
	After  string `json:"after,omitempty"`  // LedgerEntry XDR in base64
}

Add ledger Range to getHealth RPC: https://github.com/stellar/soroban-rpc/pull/133

New Ledger Range and Ledger Retention Window in getHealth Response

type HealthCheckResult struct {
	Status                string `json:"status"`
	LatestLedger          uint32 `json:"latestLedger"` // New
	OldestLedger          uint32 `json:"oldestLedger"` // New
	LedgerRetentionWindow uint32 `json:"ledgerRetentionWindow"` // New
}

Horizon API Changes:

There are no changes to Horizon APIs

Reference Implementations
Reference implementation authored by SDF:

JavaScript: https://github.com/stellar/js-stellar-sdk/issues/935

You can follow each respective issue to its implementation PRs.

Hello @psheth9 , thank you for adding this issue. It has been resolved in release 1.8.0


text:
There's no Cryptocurrency.xcodeproj

There's no Cryptocurrency.xcodeproj in the project folder.

Thanks @joshrocheios i'll push it


text:
Available version updates

Update available for body-parser... Latest 1.20.2 available
Update available for chalk... Latest 5.2.0 available
Update available for compression... Latest 1.7.4 available
Update available for connect-pause... Latest 0.1.0 available
Update available for cors... Latest 2.8.5 available
Update available for errorhandler... Latest 1.5.1 available
Update available for express... Latest 4.18.2 available
Update available for express-urlrewrite... Latest 2.0.1 available
Update available for json-parse-helpfulerror... Latest 1.0.3 available
Update available for lodash... Latest 4.17.21 available
Update available for lodash-id... Latest 0.14.1 available
Update available for lowdb... Latest 6.0.1 available
Update available for method-override... Latest 3.0.0 available
Update available for morgan... Latest 1.10.0 available
Update available for nanoid... Latest 4.0.2 available
Update available for please-upgrade-node... Latest 3.2.0 available
Update available for pluralize... Latest 8.0.0 available
Update available for server-destroy... Latest 1.0.1 available
Update available for standard... Latest 17.1.0 available
Update available for yargs... Latest 17.7.2 available

~UPD
Update available for lowdb... Latest 6.0.1 available
Update available for method-override... Latest 3.0.0 available
Update available for morgan... Latest 1.10.0 available


text:
The props are missing the "handle" property for TS verification, as shown in the figure.

Yes, I just want to raise this as well


text:
Milestone 5: UI

So far, you have implemented all the frontend functionality of the bookstore management app using React and Redux. However, the application still looks very ugly. In this milestone, you will follow the provided design specs to build a UI for your app.
Live here: https://muffinbookstore.herokuapp.com

i need the "add book" form below, the drop-down category-filter and the submit

authors: SotoArmando shloch

repo: SotoArmando/Bookstore-CMS


text:
🛑 Marcel Web is down

In 2b2efb9, Marcel Web ($MARCEL_WEB) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Marcel Web is back up in 2070a08 after 3 hours, 9 minutes.

repo: Source-Graphics-GmbH/upptime


text:
🛑 Marcel Web is down

In c40dc41, Marcel Web ($MARCEL_WEB) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Marcel Web is back up in ccce1ab after 2 hours, 13 minutes.


text:
feat(celestia-adapter): update to celestia-node v0.11 and celestia app v1.0

Description
This updates the sov-celestia-adapter to the latest (at the time of submitting) versions of celestia node (0.11.0-rc14) and app (1.0.0-rc17).
Sorry for such a big PR, but it was hard to introduce changes separately there
changes includes:

a complete rewrite of celestia docker, this includes both /docker compose setup and the Dockerfile used in demo-rollup/Makefile. Now there is a single source of truth inside the docker. I tried to support all the existing use-cases, but please check if I haven't broken your workflows :pray: Also there seems to currently be no easy way to stop the running network in a way to resume it later, so it's recreated each time.
usage of celestia-types in sov-celestia-adapter. celestia-types is a crate we maintain at @eigerco that consists of types compatible with celestia's protobuf and json API's. That way you shouldn't worry that you'll fall incompatible with the celestia network as we run integration tests for all those types with the real celestia-node. celestia-types have very little logic itself (yet) and is mostly about conforming to correct representations, so some types stayed as they were, but I tried to replace everything that was possible currently and we can then try to upstream the logic bit by bit.
removal of borsh wherever celestia-types were included. We currently don't support borsh, but we can introduce the support for it in celestia-types wherever we don't include the tendermint types. All those places were currently marked as TODO
recreation and addition of test data, updating all the tests and introducing a few new ones

Linked Issues

Fixes #461, fixes #480,
Related to # (issue)

Testing
Ran tests for sov-celestia-adapter
ran  demo-prover (with SKIP_PROVER=1) and demo-rollup + make test-create-token
Docs
Updated the docs were relevant, also included some inline documentation

I gotta check that https://github.com/Sovereign-Labs/sovereign-sdk/actions/runs/6338399051/job/17219162315

Thanks for the hard work here @zvolin! Generally the diff looks fine - I feel pretty confident that the changes here didn't introduce any new bugs. Unfortunately, I'm not at all confident that there aren't important bugs in the verifier (in fact, I think I spotted one fatal one during this review).
Any updates from the Celestia side about incorporating blob.sender information into the data namespace directly? That would let us drastically simplify the logic an remove nearly all of the surface for bugs

Any updates from the Celestia side about incorporating blob.sender information into the data namespace directly

Yes.
So I was initially searching for a way to just get relevant PFB's with proofs, so that the adapter doesn't need to fetch the entire EDS and recreate the proofs for only the PFB's it's interested in. The celestia team is aware of the issue that it's currently not possible to get the metadata relevant only for the blobs of the given namespace and will likely introduce some way to do it gently in a future, perhaps with an addition of a new node type, partial node (or namespaced node).
Quoting @Wondertan:

FN and PN can theoretically index the reserved namespace to store that info and provide over API. If that becomes a very common usecase and we decide that core protocol should not handle that, then the node will likely provide this functionality.
The node will need to optimize its BlobModule proofs. Proving the inclusion of a blob is equivalent to the inclusion of its PFB and the PFB inclusion proof is much smaller than the blob’s.
To achieve this FNs and PNs would need to parse the reserved namespace which contains all PFBs and metadata such as signer info.
Besides just described optimization, there is your use case which would benefit from node parsing and indexing PFBs for blobs. And in general, allowing  devs using our APIs to inspect PFBs is a huge enabler for various dashboards and explorers

I asked about the inclusion of the sender (or signer) metadata directly into blob shares and the chances are rather slim, again quoting @Wondertan:

That's a simpler but consensus breaking solution and why I involved app team. My problem is that does not scale for other fields inside of PFB tx and duplicates data. We don't wanna break consensus everytime someone needs to map blob to some metadata in PFB and abstracting away this (necessary) separation between Blobs and PFBs on the node's API seems like a better solution to me.

Quoting @Wondertan:

Thanks for the update! Unfortunately, I don't @Wondertan has the full picture on the use case here (changing node APIs doesn't help in this case, since we need to cryptographic verification). I'll ping the Celestia folks and see if we can get discussions started again

changing node APIs doesn't help in this case, since we need to cryptographic verification

I was asking for a way to get the way to obtain the relevant pfb's with inclusion proofs just for them. Currently when we fetch the whole PFB namespace we get all the pfbs for block with proof for all the pfbs even tho we care only about the few. The adapter currently fetches the entire EDS and recreates the proofs only for relevant pfbs and that was a problem I was asking to address, thus the node's api change.

Including the sender directly in blob's shares is kind of related but also separated topic and only the last quote is in regards to that

Got it, thanks for the additional context

rebased and fixed stuff from previous CI run

rebased

Closing in favor of #997

repo: Sovereign-Labs/sovereign-sdk


text:
Start job rework to allow testing of the job itself

A best practice of creating CI/CD jobs is to have a test for the job itself. That normally includes job execution with some stubs and fake inventory.
As an untrusted job it is not having access to the secrets (i.e. DefectDojo creds) so we are not able to test every single job step, but testing all the other parts is going to be very helpful.
Introduction of tests require improving parameterization of individual steps, which in turn uncovers more commonalities between steps. This allows splitting greenbone test out into a separate job while other tests are places in a separate jobs with either "zap-baseline" or "zap-full-scan" which are placed into the pipelines correspondingly.
Signed-off-by: Artem Goncharov artem.goncharov@gmail.com

recheck

Thanks for the rework @gtema. Looks good to me, however I have some comments:

Checks now take about 2-3 hours, as full scans are being performed. Is this considered a good practice in terms of performing minor fixes, add new updates and so on?
The job rework and the tests are based on a specific resource, this is, a IP address that is being used as target example and is, in fact, a testbed deployment in the gx-scs demonstrator. If this resource fails, goes down or has any unexpected problem, the entire check process will fail.

@bitkeks any comments on this?

Well, there are few things to mark here:

it is a very good practice (and vice versa a very bad not to do so) to execute all possible checks with every change. It is possible to fine-tune certain tests to be executed (or not executed) depending on the files modified with the PR (in this case, however, the problem is to precisely identify which impact each source file is having). I.e. in OpenStack it is not uncommon that every change takes multiple hours for tests - but that brings you guarantee that once it merges it will work as designed not requiring following fixes.
it is possible to use zuul inventory in the test and not the sandbox. Sadly since the only port exposed on the VM is the 22 (and depending on the cloud we might be forbidden to scan it explicitly, but we do so from inside, so may be also fine). Anyway, due to the fact that only 22 is exposed all the tools after naabu have pretty much nothing to do. This is still ok to verify the playbooks though. I wanted actually to demonstrate how it could be done so that we also see how the artifacts look like.
if the target goes down the scans themselves are also going to fail, so I do no see any difference.
Actually the last time greenbone was taking around 1,5 hour before we had to redeploy Zuul. Anyway the problem with the duration is the small test VM which only satisfy minimal system requirements of Greenbone. If we provide a VM for this test with 4 cpu (instead of 2) it would be definitely going much faster.

Anyway, in my personal eyes it should be ok to use only zuul test VM in this test knowing we do not have any useful results of such scan. It's up to you to decide whether it is helpful enough for you.


text:
styles are missing on windows

tried SpaceTalk on windows and the styles are not getting reflected.

Please refer this PR for full story.
https://github.com/SpaceTalk/SpaceTalk/pull/79

@dstollie didn't you address this already?

nope I didnt, I will check this issue in the upcomming weekend if its still not fixed

authors: anbuselvan dstollie rclai

repo: SpaceTalk/SpaceTalk


text:
Modify input file parsing to accept new YAML fixture format

During the PoC we used a hacked together JSON file but going forward we will be using a YAML format similar to ciphersuite.info's fixtures. This should just be modifying the parser to use the pk key rather than Description, and a quick modification to the hexcode byte logic since this is already done. For now we will keep the ciphersuite namedtuple format to keep mimicking the ciphersuite.info function implementation.

Initial changes to input/output YAML format made in 8d38aee. Still need to decide on the final YAML structure.

Considering using a model similar to that from the iana scraper, pk is the full ciphersuite name and fields contain the parsed properties.
- model: directory.Ciphersuite
  pk: TLS_ECDHE_PSK_WITH_AES_256_GCM_SHA384
  fields:
    hex_byte_1: '0xD0'
    hex_byte_2: '0x02'
    protocol_version: TLS
    old: false
    export: false
    fips: false
    kex_algorithm: ECDHE
    auth_algorithm: PSK
    enc_algorithm: AES 128 CCM
    aead_algorithm: true
    hash_algorithm: SHA256

Change made in commit 328498a for now.


text:
Forbedre kort-komponentene for skjermlesere og annen kompenserende teknologi

Tester
IconCard, WCAG 1.3.1
IconCard, WCAG 4.1.2
ImageCard, WCAG 1.3.1
ImageCard, WCAG 4.1.2
TextCard, WCAG 1.3.1
TextCard, WCAG 4.1.2
CardBase, WCAG 1.3.1
CardBase, WCAG 4.1.2
Beskrivelse
Det er viktig at det kommer tydelig frem med skjermlesere og annen kompenserende teknologi at kortene er klikkbare og hvilket innhold som hører sammen (strukturen i kortene).
I dag ligger alt innholdet i kortet i et a-element. Det gjør at kompenserende teknologi presenterer kortet som klikkbart (det er bra), men det byr også på noen utfordringer.
Utfordring 1
Med skjermleser VoiceOver i Safari på iOS leses hver del av innholdet i kortet som en separat link. Dermed høres det ut som en rekke uavhengige linker som fører til ulike steder. Det er vanskelig/umulig å forstå at innholdet hører sammen og at det er snakk om ett kort som fører til én side.
Eksempel:

Skjermleser (VoiceOver i Safari på iOS) leser opp:
«Kortnavn, lenke»
«Tittel, lenke»
«En liten undertekst, lenke»
«Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat., lenke»
Utfordring 2
Når alt innholdet i kortet ligger i samme a-element leses det opp som en sammenhengende tekst i skjermleser (med unntak av VoiceOver i Safari på iOS som beskrevet over). Med mindre kortet bare inneholder f.eks. kortnavn og tittel, blir den sammenhengende linkteksten som leses opp ofte veldig lang.
Eksempel:

Skjermleser (VoiceOver i Safari på macOS) leser opp:
«lenke, Kortnavn Tittel En liten undertekst Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat»
Tenker vi bør se på hvordan vi kan gjøre at kortene fungerer enda bedre med skjermlesere og annen kompenserende teknologi, med tanke på hva som kan gi den beste brukeropplevelsen og hva som ivaretar kravene.
Mulige løsninger
For å få frem at innholdet i kortet hører sammen og relasjonen mellom kortene, kan vi blant annet vurdere å lage en CardGroup hvor vi legger kortene i et liste-element (ul/ol) og hvert kort i et li-element.
Vi kan også vurdere å gjøre tittelen i kortet til heading og at bare denne er kodet som link (har a-tagg). Det ser ut til at det finnes måter å gjøre hele kortet klikkbart på, selv om bare tittelen er kodet som link. Mer om det og diverse muligheter for kort på https://inclusive-components.design/cards/.
Ikke åpenbart hva som vil være den beste løsningen her. Det finnes tilsynelatende ingen tydelige standarder eller retningslinjer for hvordan kort skal kodes. Vi må nok grave litt i det sammen og for eksempel høre med en eller flere som bruker skjermleser eller annen kompenserende teknologi rundt preferanser.

Korten kan vare vilket element så firtt fram att lage lister om man vil feks. Title i korten kan også vare vilket element man vill.


text:
1868 export project data

Adds new task to export a project as a SQL dump containing all community data + project-specific data.
@mjy please let me know if this covers requirements.

Codecov Report

Merging #1904 (126d024) into development (45705f0) will decrease coverage by 22.21%.
The diff coverage is 66.66%.

@@               Coverage Diff                @@
##           development    #1904       +/-   ##
================================================
- Coverage        88.76%   66.55%   -22.22%
================================================
  Files             1777     1293      -484
  Lines            60711    34885    -25826
================================================
- Hits             53890    23216    -30674
- Misses            6821    11669     +4848

Impacted Files
Coverage Δ

...ers/tasks/exports/taxonworks_project_controller.rb
66.66% <66.66%> (ø)

spec/support/concerns/random_token_methods.rb
2.63% <0.00%> (-97.37%)
:arrow_down:

spec/support/concerns/request/api.rb
11.11% <0.00%> (-88.89%)
:arrow_down:

app/models/identifier/global/issn.rb
14.28% <0.00%> (-85.72%)
:arrow_down:

app/models/identifier/global/isbn.rb
8.33% <0.00%> (-85.42%)
:arrow_down:

app/models/protonym/becomes.rb
16.43% <0.00%> (-79.46%)
:arrow_down:

app/models/identifier/global/orcid.rb
22.22% <0.00%> (-77.78%)
:arrow_down:

app/models/identifier/global/lccn.rb
11.53% <0.00%> (-76.93%)
:arrow_down:

app/models/geographic_item/geometry_collection.rb
20.58% <0.00%> (-73.53%)
:arrow_down:

...odels/identifier/global/gen_bank_accession_code.rb
27.27% <0.00%> (-72.73%)
:arrow_down:

... and 987 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 45705f0...126d024. Read the comment docs.

authors: LocoDelAssembly codecov-io

repo: SpeciesFileGroup/taxonworks


text:
Set response delays based on HTTP Method

For a specific URL (matched with a regular expression), it should be possible to set different response delays for different HTTP methods.

This has been implemented in the latest version of Hoverfly (v0.7.1).

authors: benjih tjcunliffe

repo: SpectoLabs/hoverfly


text:
Garbage collection performance degrades as database file size increases

As the database file size increases, garbage collection duration increases and causes request slowness. Here is a configuration that reproduces the issue and a script to generate requests to bloat the database size. At the end of our 10,000 request test, the database size was only 49M.
Make sure you do not have SecCollectionTimeout configured so the issue can be reproduced quickly.
# access_log format
LogFormat "%t \"%r\" %>s %b %{SESSIONID}C Time Taken: %D" combined

<IfModule mod_security2.c>
    SecRuleEngine On
    SecDebugLog logs/modsec_debug.log
    SecDebugLogLevel 9
    SecCookieFormat 0
    SecTmpDir /dev/shm/mod_security/
    SecDataDir /dev/shm/mod_security/

    SecRule REQUEST_COOKIES:SESSIONID !^$  phase:1,id:118,nolog,pass,setsid:%{REQUEST_COOKIES.SESSIONID}
    SecAction phase:1,id:119,nolog,pass,setvar:SESSION.my_counter=+1
</IfModule>

Here is the "client" script:
#!/bin/bash
for i in `seq 1 10000`;do
    curl -b "SESSIONID=test$i" localhost/index.html &>/dev/null
done

To reproduce, start httpd with the configuration above, run the client script, and then observe the access_log and mod_security debug logs to see the issue happening.
Here is a snippet from access_log showing when the slowness starts to happen:
[14/Dec/2016:08:38:03 -0500] "GET /index.html HTTP/1.1" 200 test2736 Time Taken: 1512
[14/Dec/2016:08:38:03 -0500] "GET /index.html HTTP/1.1" 200 test2737 Time Taken: 67055
[14/Dec/2016:08:38:03 -0500] "GET /index.html HTTP/1.1" 200 test2738 Time Taken: 121765
[....]
[14/Dec/2016:08:38:53 -0500] "GET /index.html HTTP/1.1" 200 6 test8480 Time Taken: 1789
[14/Dec/2016:08:38:53 -0500] "GET /index.html HTTP/1.1" 200 6 test8481 Time Taken: 213163
[14/Dec/2016:08:38:53 -0500] "GET /index.html HTTP/1.1" 200 6 test8482 Time Taken: 435829
[14/Dec/2016:08:38:53 -0500] "GET /index.html HTTP/1.1" 200 6 test8483 Time Taken: 428476

Finally, here is an example of the mod_security debug logging showing garbage collection duration for a long-running request:
[14/Dec/2016:08:38:53 --0500] [localhost/sid#7f0be55d13b0][rid#7f0be569fce0][/index.html][4] Garbage collection took 228151 microseconds.

Hi @bostrt
What about your CPU during the tests? What about your I/O performance? The huge collection may lead to a CPU usage increase. Same for I/O.
Usually the cleanup happens during the logging phase, it means that the user already received the response by the time that we process the cleanup. However, the "worker" is still busy doing the cleanup and not able to answer to a new request. Are you using process or threads? how many?

It seems that frequent scans of a large database are causing the issue I am seeing. Sometimes scans are unnecessary and still have to check entire set of collections so I'm currently checking on performing less frequent scans or making it a configurable option.
Also, looks like moving from rand to ap_random_pick improved the situation (see link below) when 2+ workers check if GC should run at the same time. From what I understand, rand is not thread safe and ap_random_pick could be used for added safety. I'll work on a patch for this after some more confirmation.
https://github.com/SpiderLabs/ModSecurity/blob/master/apache2/modsecurity.c#L240
I was typing this out right when you updated :) I did monitor hardware while running tests and CPU usage increased significantly while GC scan was being performed (expected).

However, the "worker" is still busy doing the cleanup and not able to answer to a new request

Yes, that is part of the issue. As the database file gets larger, more and more workers are hung up on the scan.

Closed as part of #1289. Indeed, scan the database seems to be a jobs for another process (out of band). Or the expiration should be checked due to the utilization; That may be something for v3 :)

authors: bostrt zimmerle

repo: SpiderLabs/ModSecurity


text:
Rule set to block requests to overloaded proxied hosts

I'd like to contribute this set of rules. Feel free to use them as you wish (e.g. in the CRS). While writing the rules I ran into a couple of issues that I'd like to highlight.
We use NGiNX as reverse proxy for multiple hosts.
I've written a rule set that does the following:

if a host answers with 503 or times out (NGiNX will set status code 504 which I replace with 503 using proxy_intercept_errors on; and error_page 504 =503 /503.html;) I set a resource flag
if the resource flag is set in phase 1, block all requests (with 503) for 10 seconds to allow the affected host to recover
unset the resource flag after 10 seconds

This is the set of rules that make it work:
# -=[ Recovery blockade for overloaded hosts ]=-
#
# These rule use a RESOURCE collection per host name to track proxy errors.
# When a proxy error occurs, all requests to the host are blocked until
# the recovery timeout has expired.

# -- phase 1 --
# Initialise the resource collection for the host.
SecAction \
 "id:2000,\
  phase:1,\
  pass,\
  t:none,\
  nolog,\
  tag:'paranoia-level/1',\
  setrsc:'%{SERVER_NAME}'"

# Check whether the recovery blockade is active
SecRule RESOURCE:timeout_flag "@eq 1" \
 "id:2001,\
  phase:1,\
  pass,\
  t:none,\
  tag:'paranoia-level/1',\
  chain"
    # AND check whether the recovery blockade has expired.
    # If both conditions match, disable the blockade.
    SecRule RESOURCE:expire_timestamp "@lt %{TIME_EPOCH}" \
    "msg:'Lifting blockade for %{SERVER_NAME} after recovery timeout expired.',\
      setvar:'RESOURCE.timeout_flag=0'"

# Check whether the recovery blockade is still active after checking the timeout.
# If so, deny access immediately.
SecRule RESOURCE:timeout_flag "@eq 1" \
 "id:2002,\
  phase:1,\
  deny,status:503,\
  t:none,\
  tag:'paranoia-level/1'"

# -- phase 2 --
# Set flag initially.
# For some reason this doesn't work in phase 1. This also can't seem to be done
# conditionally, so the flag will be reset on every unblocked request, but that's fine.
SecAction \
 "id:2003,\
  phase:2,\
  pass,\
  t:none,\
  nolog,\
  setvar:'RESOURCE.timeout_flag=0'"

# -- phase 3 --
# Check whether the response from the proxy did respond (NGiNX will set status 504 for proxy timeout).
# If so, enable recovery blockade and set the recovery timeout.
# Note: We use TIME_EPOCH because currently (2018-12-18) `expirevar` doesn't work for this case.
SecRule RESOURCE:timeout_flag "@eq 0" \
 "msg:'Proxy error from %{SERVER_NAME}. Blocking all requests to %{SERVER_NAME} for 10 seconds to allow host to recover.',\
  severity:'WARNING',\
  id:2004,\
  phase:3,\
  pass,\
  t:none,\
  tag:'paranoia-level/1',\
  chain"

    SecRule RESPONSE_STATUS "@eq 503" \
     "setvar:'RESOURCE.timeout_flag=1',\
      setvar:'RESOURCE.expire_timestamp=%{TIME_EPOCH}',\
      setvar:'RESOURCE.expire_timestamp=+10'"

I ran into three issues:

I can't set  RESOURCE.timeout_flag=0 in phase 1 unconditionally, as that would override any previously set RESOURCE.timeout_flag=1. So I tried testing whether the variable is set (SecRule RESOURCE:timeout_flag "@rx ^$", SecRule RESOURCE:timeout_flag "!@rx ^.*$", SecRule RESOURCE:timeout_flag "@eq 0" and other variants) but I couldn't get it to work. More frustratingly, I then tried to test whether I could set the variable at all by using a SecAction in phase 1 with setvar:'RESOURCE.timeout_flag=0' and even that didn't work. Rules 2001, 2002 and 2004 would always return a 0 match (gleaned from the debug log). I then accidentally stumbled over a solution that worked: unconditionally setting the flag in phase 2. It's a lucky coincidence that phase 2 is available for the particular problem.
expirevar doesn't work (I've seen a couple of issues here about that, so I assume that this will be fixed sooner or later). I use an additional variable to manually expire the flag variable.
I struggled for a couple of hours to understand how I was supposed to use the RESOURCE collection:

the (old) documentation doesn't clearly state that initcol is no longer supported for RESOURCE and that one should use setrsc
the (old) documentation isn't very clear about the fact that using setrsc (or setsid or initcol or any of the other collection initialisers for that matter) will make RESOURCE (or the other collection names) the alias for that collection. This behaviour didn't seem logical to me as it implies (if I'm not mistaken) that I can only use a single resource per transaction. E.g., what if I now wanted to write a rule that targets access to a particular URI? I think that would currently throw an error around the lines of "this collection has already been initialised".

I'd love some feedback on these points if you have the time. I'd like to improve the rules if possible. Otherwise I just wanted to say thank you for the great work that you are doing with ModSecurity!

I think I figured out how to check whether a variable has been initialised: SecRule &RESOURCE.timeout_flag "@eq 0".
The trick is to use the counter mode (&). I stumbled across this by accident in the CRS. PLEASE document this "trick".


text:
SecAuditLogType:HTTPS    access timeout problem

SecAuditLogType:HTTPS
SecAuditLog:url
When the url access times out, it will lead to blocking, resulting in failure of website access.
Is the request initiated synchronized when https is set

Hello @zxp2mmy ,
I'm not clear on what you are asking.


text:
Update to 0.6.5-SNAPSHOT

Summary of changes:

Migrate to core-java: 0.6.5-SNAPSHOT and bump jdbc-storage to 0.6.5-SNAPSHOT as well.
Migrate to Guava 20.0 (as core-java migrated to Guava 20.0 as well).
Update unit tests according to the new Event filtering features of core-java.

@dmytro-kashcheiev PTAL.

Current coverage is 90.99% (diff: 80.88%)

Merging #16 into master will decrease coverage by 0.18%

@@             master        #16   diff @@
==========================================
  Files            64         64
  Lines          1281       1343    +62
  Methods           0          0
  Messages          0          0
  Branches         64         80    +16
==========================================
+ Hits           1168       1222    +54
- Misses           86         91     +5
- Partials         27         30     +3

Powered by Codecov. Last update 6c18c24...9532d38

@dmdashenkov This PR seems outdated indeed. Could you please ensure you migrate to Guava 20 in scope of the update to 0.7.0 you are working at? Use this PR for the reference.

@armiol I've moved all the necessary changes into 0.7.0 ( #19 ), so now, I think we are able to close this PR.

authors: armiol codecov-io dmdashenkov

repo: SpineEventEngine/jdbc-storage


text:
Automatically update the version in package.json to versionToPublish

Right now the version in client-js/package.json needs to be changed manually. This is an error-prone approach.
A suggestion is to update the package.json with new version during buildJs task.

Implemented in #42.

repo: SpineEventEngine/web


text:
Integrated Pomotroid Todolist Feature

I'm a active pomotroid user. I was wondering that it would be really nice to have a integrated todolist feature in pomotroid, like there is in pomofocus, to keep track of task needed to be completed.
Can I work on creating a feature like that in pomotroid?

Ok got it thanks @BenHerbst !

repo: Splode/pomotroid


text:
Cleanup of buffers and access interfaces

Better setup for the block and biome buffers
Rename WeatherVolume to WeatherUniverse
Add WeatherUniverse to Extent
https://github.com/SpongePowered/Sponge/pull/189

Looks good to me. :thumbsup:

repo: SpongePowered/SpongeAPI


text:
🛑 [A] IP Ending with .116 is down

In 5cd8edc, [A] IP Ending with .116 ($IP_GRP_A.116:$MONITORING_PORT) was down:

HTTP code: 0
Response time: 0 ms

Resolved: [A] IP Ending with .116 is back up in 53d0b68 after 14 minutes.


text:
Added BigDecimal capabilities to SpEl numeric operators

Hi.
Some time ago, we found that the BigDecimals was not considered in the supported operations by  Expression Language. I also opened an issue: https://jira.springsource.org/browse/SPR-8716
If you are interested, we'd like to share our enhancement.
The updated operators are:

gt
ge
lt
le
eq
ne
plus
minus
divide
multiply
power
modulus

@aclement, please take a look.
On Mar 7, 2012, at 5:09 PM, giovannidalloglioreply@reply.github.com wrote:

Hi.
Some time ago, we found that the BigDecimals was not considered in the supported operations by  Expression Language. I also opened an issue: https://jira.springsource.org/browse/SPR-8716
If you are interested, we'd like to share our enhancement.
The updated operators are:

gt
ge
lt
le
eq
ne
plus
minus
divide
multiply
power
modulus

You can merge this Pull Request by running:
git pull https://github.com/giovannidalloglio/spring-framework master
Or you can view, comment on it, or merge it online at:
https://github.com/SpringSource/spring-framework/pull/54
-- Commit Summary --

Added BigDecimal capabilities to SpEl numeric operators

-- File Changes --
M spring-expression/src/main/java/org/springframework/expression/spel/ast/OpDivide.java (13)
M spring-expression/src/main/java/org/springframework/expression/spel/ast/OpEQ.java (15)
M spring-expression/src/main/java/org/springframework/expression/spel/ast/OpGE.java (14)
M spring-expression/src/main/java/org/springframework/expression/spel/ast/OpGT.java (14)
M spring-expression/src/main/java/org/springframework/expression/spel/ast/OpLE.java (14)
M spring-expression/src/main/java/org/springframework/expression/spel/ast/OpLT.java (14)
M spring-expression/src/main/java/org/springframework/expression/spel/ast/OpMinus.java (14)
M spring-expression/src/main/java/org/springframework/expression/spel/ast/OpModulus.java (9)
M spring-expression/src/main/java/org/springframework/expression/spel/ast/OpMultiply.java (9)
M spring-expression/src/main/java/org/springframework/expression/spel/ast/OpNE.java (14)
M spring-expression/src/main/java/org/springframework/expression/spel/ast/OpPlus.java (12)
M spring-expression/src/main/java/org/springframework/expression/spel/ast/OperatorPower.java (10)
M spring-expression/src/test/java/org/springframework/expression/spel/OperatorTests.java (183)
-- Patch Links --
https://github.com/SpringSource/spring-framework/pull/54.patch
https://github.com/SpringSource/spring-framework/pull/54.diff

Reply to this email directly or view it on GitHub:
https://github.com/SpringSource/spring-framework/pull/54

authors: cbeams giovannidalloglio

repo: SpringSource/spring-framework


text:
Bug: Checkbox button not getting checked while clicking the corresponding text

The remember me checkbox button is not working upon click on the text. I will fix this issue, kindly assign this issue to me @SrijanShovit

Hello dakshsinghrathore, thanks for opening a issue, your contribution is valuable to us. The maintainers will review this issue and provide feedback as soon as possible.

authors: SrijanShovit dakshsinghrathore


text:
REST api giving wrong data

REST api is giving wrong data on "Finish-Reason" when calling textToImage.
I've called textToImage with 2 samples and 1 of the result image was blurred out but the "Finish-Reason" is giving me "SUCCESS"
for both result images. I've tested this multiple times with different samples and i can confirm that the value of the "Finish-Reason"
doesn't match with the result image. Most of the time it gives "SUCCESS" but the result image was blurred out. I've tested with
this prompt :
"Dramatic art, amazing view, race Castanic, demonic lady full body, long hair, little horns, elegant white leather outfit. oil painting, divine proportion, highly detailed, vibrant, trending on artstation, sharp focus, photoshoot, intricate detailed, highly detailed, tera, chills run through my soul. higher quality, masterpiece, vignette, legendary rich, gorgeous"

I was using the SDXL 1.0 with no style.

This should be fixed now, thanks for reporting!

Yes. It's working fine now. I've a question. Does credit gets reduced when the result image is blurred? I think i saw somewhere that says it doesn't but i can't find it anywhere in documentation.

I've found it. https://dreamstudio.ai/faq
But it is for dreamstudio. Is it same for API?

When a generation has finish reason FILTER (it's been detected as potentially NSFW and blurred) in the API it should not be deducting credits from your account.

Okay thank you so much! I'm closing this issue.

authors: khaven pharmapsychotic

repo: Stability-AI/stability-sdk


text:
Diffusion 3 Support on Python SDK

Hi
As Stable Diffusion 3.0 has been released, is there any plan to support Diffusion 3.0 on this Python SDK? If we want to migrate to Diffusion 3.0 using Python now, do I have to call POST directly on https://api.stability.ai/v2beta/stable-image/generate/sd3?
We were very excited to see Diffusion 3.0 released. Hope to migrate to it soon!
Thank you.

Hey @ZhimaoLin , SD3 and Stable Image services are only available with the v2 REST API and there's Python code samples using requests library on the platform site https://platform.stability.ai/docs/api-reference#tag/Generate/paths/~1v2beta~1stable-image~1generate~1sd3/post  They are not accessible by the gRPC API which the Python SDK wraps.

Thank you!

authors: ZhimaoLin pharmapsychotic


text:
Add distinct Code of Conduct file

Having a distinct Code of Conduct file is a qualifier for Netlify's open source plan. We already lay out our code of conduct in the CONTRIBUTING file, but it doesn't hurt to have it split out as well.
Looking for a quick double check on this - does the content make sense the way I worded it? Once we're happy with the text, I'll copy this file to the other Stacks repos as well.

Got buy-in from the CMs that this abridged version is compatible with the broader CoC as a whole. Merging!

repo: StackExchange/Stacks-Editor


text:
Update README.md

Markdown OCD

Thanks. I love me some docs OCD :)

repo: StackStorm-Exchange/stackstorm-sensu


text:
Added RBAC unit tests for clone action API

For action clone API, RBAC unit tests for following scenarios are added:

ACTION_VIEW permission on source action
ACTION_CREATE permission on destination action if destination action doesn't exist
ACTION_CREATE permission on destination action if destination action exists
ACTION_DELETE permission on destination action in case of action clone overwrite

https://github.com/StackStorm/st2/pull/5345 #

@m4dcoder I have refactored unit tests as per your suggested changes. Please review.

authors: ankita-orchestral mahesh-orch


text:
The node was low on resource: ephemeral-storage. Container st2actionrunner was using 82Ki, which exceeds its request of 0

Hi Team,
I'm getting below error for almost all the pods :
The node was low on resource: ephemeral-storage
The node was low on resource: ephemeral-storage. Container st2client was using 51Ki, which exceeds its request of 0.
The node was low on resource: ephemeral-storage. Container st2actionrunner was using 82Ki, which exceeds its request of 0

I tried to set it for 1 of the pod to (request 50Mi & limit 100Mi) but then it says it's not sufficient. Why is it giving me this error suddenly(I added few more packs today).
Is it possible to use persistence storage for all configuration, if yes what all files do I need to change.
Any help would be appreciated.
Thanks,
Manisha Tanwar

I am not familiar with this error. But, doing the search, I came across below and hope that helps. https://stackoverflow.com/questions/59906810/the-node-was-low-on-resource-ephemeral-storage
Also, not sure if you have metrics/instrumentation in place to help you see if there are disk space issues. That could explain "sudden" nature of the occurrence.

I am not familiar with this error. But, doing the search, I came across below and hope that helps. https://stackoverflow.com/questions/59906810/the-node-was-low-on-resource-ephemeral-storage
Also, not sure if you have metrics/instrumentation in place to help you see if there are disk space issues. That could explain "sudden" nature of the occurrence.

Yeah it says:

Pods that use emptyDir volumes without storage quotas will fill up this storage.

I checked and each pod is taking ~ 1GB or st2-virtualenvs-vol. Is it possible to replace all EmptyDir to PVC volumeMount?

Yeah it says:

Pods that use emptyDir volumes without storage quotas will fill up this storage.

I checked and each pod is taking ~ 1GB or st2-virtualenvs-vol. Is it possible to replace all EmptyDir to PVC volumeMount?

ok so I edited both deployments.yaml & jobs.yaml from:
     volumes:
        - name: st2-packs-vol
          emptyDir: {}
        - name: st2-virtualenvs-vol
          emptyDir: {}

to:
      volumes:
        - name: st2-packs-vol
          persistentVolumeClaim:
            claimName: st2-packsvol
        - name: st2-virtualenvs-vol
          persistentVolumeClaim:
            claimName: st2-virtualenvs

and created both PVCs manually. Now it seems like consuming pvc and not ephemeral storage anymore.

ok so I edited both deployments.yaml & jobs.yaml from:
     volumes:
        - name: st2-packs-vol
          emptyDir: {}
        - name: st2-virtualenvs-vol
          emptyDir: {}

to:
      volumes:
        - name: st2-packs-vol
          persistentVolumeClaim:
            claimName: st2-packsvol
        - name: st2-virtualenvs-vol
          persistentVolumeClaim:
            claimName: st2-virtualenvs

and created both PVCs manually. Now it seems like consuming pvc and not ephemeral storage anymore.

repo: StackStorm/stackstorm-ha


text:
Update .mo file for Vietnamese translation

@caesar2164

👍

repo: Stanford-Online/lagunita-theme


text:
Failed to EGL with glad.

pybullet build time: Mar 27 2019 11:14:22
pygame 1.9.4
Hello from the pygame community. https://www.pygame.org/contribute.html
/home/loopclosure/GibsonEnv/random_views.yaml
Processing the data:
Total 1 scenes 0 train 1 test
Indexing
  0%|                                                                  | 0/1 [00:00<?, ?it/s]failed to EGL with glad.
100%|██████████████████████████████████████████████████████████| 1/1 [00:00<00:00,  6.21it/s]
100%|██████████████████████████████████████████████████████| 190/190 [00:19<00:00,  9.74it/s]
Episode: steps:0 score:0
Episode count: 0

I have EGL installed though.
(gibson) loopclosure/GibsonEnv [ ldconfig -p | grep egl                   master * ] 1:28 PM
        libwayland-egl.so.1 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libwayland-egl.so.1
        libwayland-egl.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libwayland-egl.so
        libnvidia-eglcore.so.396.54 (libc6,x86-64) => /usr/lib/nvidia-396/libnvidia-eglcore.so.396.54
        libnvidia-eglcore.so.396.54 (libc6) => /usr/lib32/nvidia-396/libnvidia-eglcore.so.396.54
        libnvidia-egl-wayland.so.1 (libc6,x86-64) => /usr/lib/nvidia-396/libnvidia-egl-wayland.so.1
        libhybris-eglplatformcommon.so.1 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libhybris-eglplatformcommon.so.1
        libgegl-0.3.so.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libgegl-0.3.so.0
        libgegl-sc-0.3.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libgegl-sc-0.3.so
        libgegl-npd-0.3.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libgegl-npd-0.3.so
(gibson) loopclosure/GibsonEnv [ vim examples/configs/play/play_husky_camera.yaml

And I'm running it headless.
envname: TurtlebotNavigateEnv
#model_id: stadium
model_id: space7
target_orn: [0, 0, 1.57]
target_pos: [-14.3, 45.07, 0.5]
initial_orn: [0, 0, 4.71]
initial_pos: [-14.3, 5, 1.2]
fov: 1.57
is_discrete: true

use_filler: true
display_ui: false
show_diagnostics: true
ui_num: 2
ui_components: [RGB_FILLED, DEPTH]
random:
  random_initial_pose : false
  random_target_pose : false
  random_init_x_range: [-0.1, 0.1]
  random_init_y_range: [-0.1, 0.1]
  random_init_z_range: [-0.1, 0.1]
  random_init_rot_range: [-0.1, 0.1]

#output: [nonviz_sensor]
output: [nonviz_sensor, rgb_filled, depth]
resolution: 256

speed:
  timestep: 0.00417
  frameskip: 1

mode: headless #gui|headless
verbose: true

I dug into the glad code and found an issue with glad. This patch might help:
`diff --git a/gibson/core/channels/glad/egl.c b/gibson/core/channels/glad/egl.c
index 57c1181..d7a779e 100644
--- a/gibson/core/channels/glad/egl.c
+++ b/gibson/core/channels/glad/egl.c
@@ -236,9 +236,10 @@ static int find_coreEGL(EGLDisplay display) {
if (display == EGL_NO_DISPLAY) {
display = eglGetDisplay(EGL_DEFAULT_DISPLAY);
}

/*
if (display == EGL_NO_DISPLAY) {
return 0;

}

}*/
version = eglQueryString(display, EGL_VERSION);
(void) eglGetError();
`

repo: StanfordVL/GibsonEnv


text:
Support for combined decrypted DatasetObject USDs

Currently DatasetObject does not support an unencrypted mode. We should consider implementing it so that custom objects with metadata can still be loaded in by users.

This is relatively easy -- we can just add an intermediate class between USDObject and DatasetObject:
Something like:

class USDObject(...) - raw support for USD-based objects
class B1KObject(USDObject) - additional support for object state suite, BEHAVIOR Tasks, bddl, etc.
class B1KDatasetObject(B1KObject) - "our" specific B1K objects that are encrypted, follow some known file structure / path, etc.

What do you think?

authors: cgokmen cremebrule

repo: StanfordVL/OmniGibson


text:
SELECT split("1m_2d", '_')[0];Starrocks supports executing this sql, why not give an error instead of an error result??

Steps to reproduce the behavior (Required)

SELECT split("1m_2d", '_')[0];

Expected behavior (Required)
I want to get an error or return a correct result like the other engines.
Real behavior (Required)
return null....

StarRocks version (Required)

2.5.20 74821e9

We will check and fix it, Thanks

you can check https://docs.starrocks.io/docs/sql-reference/data-types/semi_structured/Array/#query-array-data, our array index begin from 1 instead of 0, and return NULL if index is invalid @luckylhb90

you can check https://docs.starrocks.io/docs/sql-reference/data-types/semi_structured/Array/#query-array-data, our array index begin from 1 instead of 0, and return NULL if index is invalid @luckylhb90

Why did you design it that way? Other engine indexes start at 0, so why do you have to do something special here?
If the index is invalid, should you give an error?

authors: before-Sunrise kangkaisen luckylhb90

repo: StarRocks/starrocks