text:
Add a passthrough for the ref prop

I need access to the DOM element to manage scroll position in a chat-style application. This PR adds a simple passthrough for ref

Turns out my need for a ref passthrough was based on a misunderstanding. I thought InfiniteScroll's node had the overflow.
Nevertheless, this could be useful for someone.

Had the same thing come in to question the other day but with the className prop. All props that aren't on the list on L43 are passed through to the rendered div. ref should be no different.

ref is different, since you override it explicitly. Either way, I don't need it anymore.

Published in 1.0.15. Didn't merge this PR as it's got some weird changes in dist and whitespace in src.

authors: danbovey defrex

repo: CassetteRocks/react-infinite-scroller


text:
Session

sessionReducer.test.js is updated

[skip ci]

source: gharchive/pull-request

authors: Jiisala junyuan-fang

license: MIT

license_type: permissive

license_source: github-api


text:
Import failures: update or delete on table "name_mod4" violates foreign key constraint "name_match_dataset_key_name_id_fkey27

Most of the WoRMS imports failed with:
PersistenceException: ### Error updating database. Cause: org.postgresql.util.PSQLException: ERROR: update or delete on table "name_mod4" violates foreign key constraint "name_match_dataset_key_name_id_fkey27" on table "name_match" Detail: Key (dataset_key, id)=(1095, urn:lsid:marinespecies.org:taxname:204031) is still referenced from table "name_match". ### The error may exist in life/catalogue/db/mapper/DatasetPartitionMapper.xml ### The error may involve defaultParameterMap ### The error occurred while setting parameters ### SQL: DELETE FROM name WHERE dataset_key=?; ### Cause: org.postgresql.util.PSQLException: ERROR: update or delete on table "name_mod4" violates foreign key constraint "name_match_dataset_key_name_id_fkey27" on table "name_match" Detail: Key (dataset_key, id)=(1095, urn:lsid:marinespecies.org:taxname:204031) is still referenced from table "name_match".

that was due to the bad partitioning I discovered and fixed last week

source: gharchive/issue

authors: gdower mdoering

repo: CatalogueOfLife/backend


text:
Buddybuild crash report on build #455

Buddybuild detected a crash from Unknown user
View Full Crash Details

Crash report from Unknown user

repo: CatchChat/Yep

license: mit

license_source: bigquery


text:
🛑 Main Website is down

In 888e6f2, Main Website (https://aqurusmc.xyz) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Main Website is back up in af86a48 after 48 minutes.

repo: CcNicebruh/aqurusstatuspage


text:
ImGui::Image Blocking ImGuizmo

ImGui::Image(SCENE_RENDER_TEXTURE, data.WindowScale);

ImVec2 panelSize = ImGui::GetContentRegionAvail();
ImGuizmo::Enable(true);
ImGuizmo::SetOrthographic(false);
ImGuizmo::SetDrawlist();
ImGuizmo::SetRect(ImGui::GetWindowPos().x, ImGui::GetWindowPos().y, panelSize.x, panelSize.y);

ImGuizmo::Manipulate(data.view, data.projection, operation, ImGuizmo::MODE::LOCAL, data.matrix);

I'm working with DIRECTX11 and docking, if I remove first line of this code, I can see  gizmo but,
somehow my scene render texture is blocking imguizmo
this is with scene render texture

this is without scene render texture

what happens if you call https://github.com/CedricGuillemet/ImGuizmo/blob/a7ec0dd3b9e7dbd253c8ca891bbf621d82e3c804/ImGuizmo.h#L125 right after imgui::image ?

can you please try to repro the behavior in the imguizmo sample? it will be easier for me to find a solution.

https://github.com/benanil/Castle-Engine/blob/master/Castle Engine/Editor/GameViewWindow.cpp maybe this helps you

also, maybe tweaking display list
imguizmo::SetDrawlist(ImGui::GetForegroundDrawList());

now I can only see when I look down. on top of the screen

I'll ask to Omar because he write the dx11 backend.

thanks for your attention!

https://github.com/benanil/Castle-Engine/blob/master/Castle Engine/Editor/Gizmo.cpp I even write my own gizmo system. but problem was simple. I was writing ImGuizmo::Manipulate before my scene image.
// this was not working
ImGuizmo::Manipulate(&freeCamera->GetView()._11......);
ImGui::Image(data.texture, data.WindowScale);
// but this works
ImGui::Image(data.texture, data.WindowScale);
ImGuizmo::Manipulate(&freeCamera->GetView()._11......);

authors: CedricGuillemet benanil

repo: CedricGuillemet/ImGuizmo


text:
Features/phraser game

Platform Game built with vanilla javascript, webpack, jest, and babel.
In this Capstone:

Create the config object with the type: Phaser.AUTO.
Create the preload, create and update functions required to run the game.
Create the GameScene, GameOverScene, MenuScene, PauseScene, PreloadScene,and LeaderBoardScene classes with their respective functions.

PLEASE NOTE CHECKS ARE FAILING BECAUSE OF GITHUB ACTION IS EXPERIENCING A PARTIAL OUTAGE CHECK THE GITHUB STATUS FOR THE INFO

repo: Ceejayski/JS-Phaser-Game


text:
🛑 Alist is down

In ac8cf4b, Alist (https://alist.hiripple.com) was down:

HTTP code: 530
Response time: 87 ms

Resolved: Alist is back up in 0c7822d after 1 hour, 26 minutes.

repo: CelestialRipple/ripplelog


text:
🛑 Alist is down

In cafc769, Alist (https://alist.hiripple.com) was down:

HTTP code: 530
Response time: 102 ms

Resolved: Alist is back up in 55a9442 after 21 minutes.


text:
🛑 Nextcloud is down

In b32ae3b, Nextcloud (https://nextcloud.hiripple.com) was down:

HTTP code: 530
Response time: 100 ms

Resolved: Nextcloud is back up in 28d5659 after 1 hour, 6 minutes.


text:
Plate design not read in when column contains only numbers

When a column in the plate design contains only numbers, the dashboard crashes. Example:
Warning: Error in [<-: Assigned data `"Empty cell in plate design"` must be compatible with existing data.
i Error occurred for column `4`.
Caused by error in `vec_assign()`:
! Can't convert <character> to <double>.

When using read_excel() in fct_add_sample_ids.R, that column will be read as numeric while the others are read as character.
Adding some code that converts each column to character will probably fix this.

Fixed by adding col_types = "text" to read_excel()


text:
[EMB-351] Change local storage key used by ember-simple-auth

Purpose
When an embosf page is open in one tab and preprints (or maybe reviews?) in another tab, they try to store different auth data in local storage, using the same key. This causes an infinite loop of each app clobbering the other's data and making API requests, until one of the tabs is closed.
This might have been causing subtle, strange bugs in preprints, but it's hard to say what they might have looked like.
Summary of Changes
Configure ember-simple-auth's AdaptiveStore, changing the local storage key used.
Side Effects / Testing Notes

Open the dashboard and preprints in separate tabs (same environment, same browser)
Open the devtools network tab in either/both tabs
Previously, there would be repeated requests to /v2/ (in embosf) or /v2/users/me (in preprints). Now, all should be calm.

Ticket
https://openscience.atlassian.net/browse/EMB-351
Reviewer Checklist

[ ] meets requirements
[ ] easy to understand
[ ] DRY
[ ] testable and includes test(s)
[ ] changes described in CHANGELOG.md

Pull Request Test Coverage Report for Build 1355

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.006%) to 61.194%

Totals

Change from base Build 1354:
0.006%

Covered Lines:
2215

Relevant Lines:
3432

💛  - Coveralls

authors: aaxelb coveralls

repo: CenterForOpenScience/ember-osf-web


text:
Make isStacked optional

This PR makes the isStacked parameter of the chart view an optional.

Updated it to not be an optional but still have the default value of false

repo: CenterforYouthEngagement/ChartView


text:
Help extracting details of an exported function parameter

I have a use case where I want to determine the details (name, type, and default value) of an exported Jsonnet function. My current approach works for parameters with default values that are plain value expressions (function (a=1, b="two", c=null)) but fails when the default value references a value or function defined elsewhere in the file:
        if let Val::Func(func) = exported_value {
            if let FuncVal::Normal(func) = func.as_ref() {
                for param in func.params.iter() {
                    if let Some(expr) = &param.1 {
                        let val = state
                            .evaluate_expr_raw(expr.clone())

Is there a better way to evaluate a LocExpr in the global context to determine what the value it produces will be?
Thanks for your help!

There is no such functionality built-in, but this should be possible to implement by restructuring AST to only include expressions needed for this parameter
However, there is breakpoint functionality built-in in gcmodule branch, which allows to examine values by its locations, and it may be suitable in your case?

Thanks for the quick response!
This is very much at the limit of my understanding of programming language implementations so I'm not entirely sure what that would entail.
Just for clarification: why wouldn't it work to simply evaluate the parameter expression in the EvaluationState context? I'm evaluating the jsonnet file with evaluate_snippet_raw, then checking if the returned value is a function and, if so, inspecting its parameters. I would think that simply evaluating the parameters would be enough to determine what values they produce, but maybe I'm misunderstanding either Jsonnet (for example, the implications of lazy evaluation) or this library.

As i understood your question, you want to know default value of x in this expression:
local v = 1;
local d = function(x = v) 1;
d(2)

And to evaluate it, we should know value of v in parent context
Because jsonnet is normally evaluated in direct order, existing code can't be used in this case, jsonnet can't walk expression tree up to v, and then evaluate its value, it should first evaluate local, and then function argument
In these cases you should either build your own static analyzer, which allows bottom-top execution of jsonnet, or restructure jsonnet to something like
local v = 1;
v

And then use existing evaluator
However, this is harder in other cases, i.e
{
  v: 1,
  k(x = $.v) x
}

And impossible in cases like
local
a = std.extVar("a"),
b = std.extVar("b");
{
  [a]: function(x = $[b]) x,
  'x': 4,
}

Oh, your case is simplier

then checking if the returned value is a function

In your case you already got FuncVal, so you can get context from it, and then evaluate arguments using it, yes
https://github.com/CertainLach/jrsonnet/blob/e1fb5e1edb6f4935484bb3073564c8808e7fafac/crates/jrsonnet-evaluator/src/val.rs#L85
I may write this helper method for you, as i will need something like this for myself soon

Yeah, sorry I should have provided an example.
I'm given a jsonnet file that returns a function (that will take some top-level arguments) and I want to know what the top level arguments should be.
For example:
local num = 1;
local str = "two";
function(a=num, b=str) {}

I'd like to know that this exports a function that takes two TLAs: a, which defaults to the number 1, and b, which defaults to the string "two".

Naive solution would be
	fn function_args_naive() -> Result<(), LocError> {
		let es = EvaluationState::default();
		let path = PathBuf::from("input.jsonnet");
		let func = es
			.evaluate_snippet_raw(
				path.into(),
				r#"
					local num = 1;
					local str = "two";
					function(a=num, b=str) {}
				"#
				.into(),
			)?
			.as_func()
			.unwrap();
		let func = match func {
			FuncVal::Normal(f) => f,
			_ => unreachable!(),
		};

		for param in func.params.iter() {
			print!("{}", param.0);
			if let Some(v) = &param.1 {
				let v = es.run_in_state(|| evaluate(func.ctx.clone(), v))?;
				print!(" = {}", v.manifest(&ManifestFormat::Json(3))?);
			}
			println!(",");
		}

		Ok(())
	}

Output is
a = 1,
b = "two",

However, this code wouldn't work in case if argument is depends on other
function(a, b = a) // Will fail, as a would be undefined

In this case much complex code is required:
	fn function_args_full() -> Result<(), LocError> {
		let es = EvaluationState::default();
		let path = PathBuf::from("input.jsonnet");
		let func = es
			.evaluate_snippet_raw(
				path.into(),
				r#"
					local num = 1;
					local str = "two";
					function(a=num, b=str, c = b, d, e = d) {}
				"#
				.into(),
			)?
			.as_func()
			.unwrap();
		let func = match func {
			FuncVal::Normal(f) => f,
			_ => unreachable!(),
		};

		let ctx = Context::new_future();

		let mut bindings = GcHashMap::new();

		#[derive(Trace)]
		struct DependsOnUnbound(IStr);
		impl LazyValValue for DependsOnUnbound {
			fn get(self: Box<Self>) -> Result<Val> {
				Err(
					RuntimeError(format!("dependence on unbound argument {}", self.0).into())
						.into(),
				)
			}
		}
		#[derive(Trace)]
		struct EvaluateArgument(LocExpr, FutureWrapper<Context>);
		impl LazyValValue for EvaluateArgument {
			fn get(self: Box<Self>) -> Result<Val> {
				evaluate(self.1.unwrap(), &self.0)
			}
		}

		for param in func.params.iter() {
			if let Some(v) = &param.1 {
				bindings.insert(
					param.0.clone(),
					LazyVal::new(TraceBox(Box::new(EvaluateArgument(v.clone(), ctx.clone())))),
				);
			} else {
				bindings.insert(
					param.0.clone(),
					LazyVal::new(TraceBox(Box::new(DependsOnUnbound(param.0.clone())))),
				);
			}
		}

		let ctx = func.ctx.clone().extend_bound(bindings).into_future(ctx);

		for param in func.params.iter() {
			print!("{}", param.0);
			if param.1.is_some() {
				let result = es.run_in_state(|| -> Result<IStr> {
					let binding = ctx.binding(param.0.clone())?;
					let value = binding.evaluate()?;
					Ok(value.manifest(&ManifestFormat::Json(3))?)
				});
				match result {
					Ok(v) => print!(" = {}", v),
					Err(e) => print!(": error({})", e.error().to_string()),
				}
			}
			println!(",")
		}

		Ok(())
	}

Output is
a = 1,
b = "two",
c = "two",
d,
e: error(runtime error: dependence on unbound argument d),

Amazing, thank you! I'll go with the naive solution for now, as I'm okay not supporting this for params that depend on one another, but it's good to know that that requires a more fully-fledged solution.

Added helper method which implements second approach: https://github.com/CertainLach/jrsonnet/commit/c7fb88801c20f00b5114f38231a5b76df0429e7c
Native solution is also broken when there is both argument and local with same name in context, i.e:
local a = 1;
function(a = 2, b = a) {} // b would be detected as 1, but it should be 2

authors: CertainLach emschwartz

repo: CertainLach/jrsonnet


text:
In file 'CesiumViewer.js', we can see ' import {...} from "../../Source/Cesium.js"; ' on the top, but Cesium.js doesn't exist in the repository

Sandcastle example:
Browser:
Operating System:

You need to build the library. See the build guide.
For any follow up questions, please post on the Cesium community forum: https://community.cesium.com/.

authors: OmarShehata heimiguoguo

repo: CesiumGS/cesium


text:
Reduce suibase-daemon.log size

Goal: Periodically purge a suibase log file to avoid large disk usage.
( ~/suibase/workdirs/common/logs/suibase-daemon.log )
Problem Statement
There is currently a bug with Mysten Labs devnet preventing websocket subscriptions to work. This cause an error to be log periodically (for every attempt done every 30 seconds).
suibase-daemon.log is now ~400MBytes after running for ~two weeks with these error logs.

Should be implemented with simply integrating this:
https://docs.rs/file-rotate/latest/file_rotate/
I like the following:

Log name can use timestamp as extension.
More "portable" because fully integrated in the binary, so no dependency on host setup (e.g. logrotate).
First auto-compression, and then auto-pruning for older logs.

repo: ChainMovers/suibase


text:
BLS Pre-publish warnings

I was trying to deploy everything to npm lerna publish from-package and got these warnings:
> @chainsafe/bls@0.1.7 prepublishOnly /Users/gregmarkou/Jobs/code/github.com/ChainSafe/lodestar/packages/bls
> yarn build

yarn run v1.15.2
$ yarn build-lib && yarn build-types
$ babel src -x .ts -d lib
The exported identifier "_default" is not declared in Babel's scope tracker
as a JavaScript value binding, and "@babel/plugin-transform-typescript"
never encountered it as a TypeScript type declaration.
It will be treated as a JavaScript value.

This problem is likely caused by another plugin injecting
"_default" without registering it in the scope tracker. If you are the author
 of that plugin, please use "scope.registerDeclaration(declarationPath)".
The exported identifier "_default" is not declared in Babel's scope tracker
as a JavaScript value binding, and "@babel/plugin-transform-typescript"
never encountered it as a TypeScript type declaration.
It will be treated as a JavaScript value.

This problem is likely caused by another plugin injecting
"_default" without registering it in the scope tracker. If you are the author
 of that plugin, please use "scope.registerDeclaration(declarationPath)".
The exported identifier "_Keypair" is not declared in Babel's scope tracker
as a JavaScript value binding, and "@babel/plugin-transform-typescript"
never encountered it as a TypeScript type declaration.
It will be treated as a JavaScript value.

This problem is likely caused by another plugin injecting
"_Keypair" without registering it in the scope tracker. If you are the author
 of that plugin, please use "scope.registerDeclaration(declarationPath)".
The exported identifier "_Keypair" is not declared in Babel's scope tracker
as a JavaScript value binding, and "@babel/plugin-transform-typescript"
never encountered it as a TypeScript type declaration.
It will be treated as a JavaScript value.

This problem is likely caused by another plugin injecting
"_Keypair" without registering it in the scope tracker. If you are the author
 of that plugin, please use "scope.registerDeclaration(declarationPath)".
The exported identifier "_PrivateKey" is not declared in Babel's scope tracker
as a JavaScript value binding, and "@babel/plugin-transform-typescript"
never encountered it as a TypeScript type declaration.
It will be treated as a JavaScript value.

This problem is likely caused by another plugin injecting
"_PrivateKey" without registering it in the scope tracker. If you are the author
 of that plugin, please use "scope.registerDeclaration(declarationPath)".
The exported identifier "_PublicKey" is not declared in Babel's scope tracker
as a JavaScript value binding, and "@babel/plugin-transform-typescript"
never encountered it as a TypeScript type declaration.
It will be treated as a JavaScript value.

This problem is likely caused by another plugin injecting
"_PublicKey" without registering it in the scope tracker. If you are the author
 of that plugin, please use "scope.registerDeclaration(declarationPath)".
The exported identifier "_Signature" is not declared in Babel's scope tracker
as a JavaScript value binding, and "@babel/plugin-transform-typescript"
never encountered it as a TypeScript type declaration.
It will be treated as a JavaScript value.

This problem is likely caused by another plugin injecting
"_Signature" without registering it in the scope tracker. If you are the author
 of that plugin, please use "scope.registerDeclaration(declarationPath)".
The exported identifier "_default" is not declared in Babel's scope tracker
as a JavaScript value binding, and "@babel/plugin-transform-typescript"
never encountered it as a TypeScript type declaration.
It will be treated as a JavaScript value.

This problem is likely caused by another plugin injecting
"_default" without registering it in the scope tracker. If you are the author
 of that plugin, please use "scope.registerDeclaration(declarationPath)".
The exported identifier "_default" is not declared in Babel's scope tracker
as a JavaScript value binding, and "@babel/plugin-transform-typescript"
never encountered it as a TypeScript type declaration.
It will be treated as a JavaScript value.

This problem is likely caused by another plugin injecting
"_default" without registering it in the scope tracker. If you are the author
 of that plugin, please use "scope.registerDeclaration(declarationPath)".
Successfully compiled 13 files with Babel.
$ tsc --declaration --incremental --outDir lib --emitDeclarationOnly
✨  Done in 6.03s.

duplicate of #472

authors: GregTheGreek mpetrunic

repo: ChainSafe/lodestar


text:
HTTPS server feature

HTTPS server feature
The pull request from the issue #182
You can now start a HTTPS server with credentials
const port = 3000;

const privateKey = fs.readFileSync(env_1.config.tls.key, 'utf8');
const certificate = fs.readFileSync(env_1.config.tls.cert, 'utf8');
const credentials = { key: privateKey, cert: certificate };

new BootBot(...).start(port, credentials);

@Charca What do you think about that ?

If you have different certificates files, you cans use the next:

const https_option = {
  key: fs.readFileSync('path_file_key.key', 'utf8'),
  cert: fs.readFileSync('path_file_cert.crt', 'utf8'),
  ca: [
    fs.readFileSync('./cert/path_file_DomainValidationSecureServerCA.crt'),
    fs.readFileSync('./cert/USERTrustpath_file_cert.crt')
  ]
}

bot.start(process.env.PORT, https_option)

That works for me 👍

authors: Alfirian mrpinkcat

repo: Charca/bootbot


text:
Cow: Watch infisign.io

Cow requests the watch of the watch_keyword infisign\.io. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

infisign\.io has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by cigien in Charcoal HQ

authors: SmokeDetector metasmoke

repo: Charcoal-SE/SmokeDetector


text:
Add autoflagged? subcommand

This will allow users to reply to a report to determine whether or not it has been autoflagged.
Also, by the looks of it, I can no longer push to master, I have to make a pull request. I believe this will break the blacklisting commands.

Oh, that's because of the review requirement. Would like for that to be only on pull requests, might be possible to enforce through CI in a cleaner way.
Disabling it for now.


text:
Mast: Watch khudothiecoparkhanoi.com

Mast requests the watch of the watch_keyword khudothiecoparkhanoi\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

khudothiecoparkhanoi\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by tripleee in Charcoal HQ

Approved by tripleee in Charcoal HQ

Approved by tripleee in Charcoal HQ


text:
Victor VosMottor: Blacklist taninsima.com

Victor VosMottor requests the blacklist of the website taninsima\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

taninsima\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Single TP, not eligible.

authors: SmokeDetector metasmoke tripleee


text:
Ethan: Watch kodeuniversity.com

Ethan requests the watch of the watch_keyword kodeuniversity\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

kodeuniversity\.com has been seen in 3 true positives, 0 false positives, and 0 NAAs.

Approved by Jeff Schaller in Charcoal HQ


text:
VLAZ: Watch 0120-4212828

VLAZ requests the watch of the watch_number 0120-4212828. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

Approved by cigien in Charcoal HQ


text:
Nick: Watch worklooper.com

Nick requests the watch of the watch_keyword worklooper\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

worklooper\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Jeff Schaller in Charcoal HQ


text:
Jesse: Watch sohago.com

Jesse requests the watch of the watch_keyword sohago\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

sohago\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Jeff Schaller in Charcoal HQ


text:
Stacked bar charts - would be so great

This is a great library. Data in a table is so much more usable than Google charts that we are currently using.
Would it be easy to add stacked bar charts? I.e. each bar is the stacked "sum" of multiple components? Then we could switch.

@JohnCClarke The framework supports stacking.
Check the Stacked Bars documentation https://chartscss.org/components/stacked/#stacked-bars

OMG! - Thanks for pointing that out. Somehow I just didn't spot them.
Marvellous!

authors: JohnCClarke ramiy


text:
Added Slovak language support

Slovak language was added app/locales/sk.ts and also the language was added to app/locales/index.ts

@fredliang44 Thank you for adding the language, and thank you for the fixes

Thanks for your contribution!

repo: ChatGPTNextWeb/ChatGPT-Next-Web


text:
Allow Shift+Home/End to select to start/end

During my convoluted way of deleting a message I changed my mind on (Shift+Home, Delete), I was disappointed to find the selection didn't work.  Ctrl+A, Delete still works but sometime I want to trim off the end from the middle (Shift+End, Delete).

Fixed in latest commit

https://github.com/Chatterino/chatterino2/commit/748920e8fdd0d63b3023dbe1197408487637c1b7


text:
Current nightly build doesn't support portable instance

Describe the bug
Adding a Portable folder to chatterino no longer opens it with no settings.
To Reproduce
Download b06918e , add portable folder, open chatterino, chatterino opens with all %appdata% settings
Expected behavior
Chatterino to open as if it's a clean install
Screenshots

Chatterino version
b06918e | Windows 10
Additional context

Make a text file called "modes" and write "portable" into it

authors: Felanbird fourtf


text:
Add tests to Twitch User/Channel name strip functions

Pull request checklist:

[x] CHANGELOG.md was updated, if applicable

Description

move stripUserName and stripChannelName to util/Twitch.hpp
Add tests to stripUserName and stripChannelName

Great PR, looks good to me!


text:
Chat Header shrinks as more messages are added by the chatbot

Bug
Chat header shrinks gradually from 48px height to a max of 40px height, as messages are added by the chatbot.

Fixed

repo: ChattonAI/CTH-SDK


text:
fix: discord finished without secret scanning

chore: validate format on preRun
fix: discord finished without secret scanning

I resolved the conflict. Please take a look that I didn't break anything and merge if lgtm
@baruchiro

authors: baruchiro jossef


text:
added cgo flag

add cgo flag to release build

Scan submitted to Checkmarx

Checkmarx SAST - Scan Summary & Details
Cx-SAST Summary
Total of 17 vulnerabilities 0 High 0 Medium 17 Low 0 Info
Violation Summary
No policy violation found

Checkmarx SCA - Scan Summary & Details
Cx-SCA Summary
Total Packages Identified: 0
Scan Risk Score: 0.00
 0 High severity vulnerabilities
 0 Medium severity vulnerabilities
 0 Low severity vulnerabilities
View more details on Checkmarx UI
Cx-SCA vulnerability result overview
No package violation found

authors: cxflowtestuser pedrompflopes

repo: CheckmarxDev/ast-cli


text:
Pretrained weight BaseRetina

I have just trained QueryDet with the following results
The weight is uploaded here GoogleDriver. Training log is here. If you think my training is correct, you can use it to share it in your repository. I have got frustrated to retrain QueryDet. It will be helpful to someone else if they have this pre-trained weight.
[05/19 09:29:28] d2.evaluation.evaluator INFO: Total inference time: 0:04:38.781605 (0.111736 s / img per device, on 2 devices)
[05/19 09:29:28] d2.evaluation.evaluator INFO: Total inference pure compute time: 0:04:28 (0.107591 s / img per device, on 2 devices)
[05/19 09:29:36] d2.evaluation.coco_evaluation INFO: Preparing results for COCO format ...
[05/19 09:29:36] d2.evaluation.coco_evaluation INFO: Saving results to ./default_dir/inference/coco_instances_results.json
[05/19 09:29:40] d2.evaluation.coco_evaluation INFO: Evaluating predictions with unofficial COCO API...
[05/19 09:30:01] d2.evaluation.coco_evaluation INFO: Evaluation results for bbox:
|   AP   |  AP50  |  AP75  |  APs   |  APm   |  APl   |
|:------:|:------:|:------:|:------:|:------:|:------:|
| 35.458 | 54.958 | 38.396 | 21.139 | 38.342 | 45.597 |

I set up conda virtual environment following Pytorch 1.7, Detectron2 v0.3. All packages are built from source with CUDA 11.2,  Ubuntu 20.04.1 LTS (GNU/Linux 5.4.0-72-generic x86_64).
# CUDA & CUDA_COMPILER
export CUDA_HOME=/usr/local/cuda-11.2/
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda-11.2/lib64:/usr/local/cuda-11.2/extras/CUPTI/lib64
export PATH=$PATH:$CUDA_HOME/bin

mkdir querydet_torch17
cd querydet_torch17

# Create a new environment
conda create --name qtorch17 python=3.7  -y
conda activate qtorch17

# a. Install Pytorch 1.4
# Install Dependencies, Pytorch
conda install -y astunparse numpy ninja pyyaml mkl mkl-include setuptools cmake cffi typing_extensions future six requests dataclasses
# Clone Pytorch 1.7 source
git clone --recursive https://github.com/pytorch/pytorch.git --branch release/1.7
cd pytorch
# Change CUDA version installed in your computer
# CUDA only: Add LAPACK support for the GPU if needed
conda install -c pytorch magma-cuda112 -y # or the magma-cuda* that matches your CUDA version from https://anaconda.org/pytorch/repo
export CMAKE_PREFIX_PATH=${CONDA_PREFIX:-"$(dirname $(which conda))/../"}
python setup.py install
cd ..
# Clone Pytorch VISION 0.8.0 source
git clone --recursive https://github.com/pytorch/vision.git --branch release/0.8.0
cd vision
conda install -y jpeg libpng
conda install -y -c conda-forge accimage
mkdir build
cd build
# Add -DWITH_CUDA=on support for the CUDA if needed
# Use `pip show torch | grep Location` to find install location of Pytorch
# -DTorch_DIR=../anaconda3/envs/qtorch17/lib/python3.7/site-packages
cmake -DWITH_CUDA=on -DCMAKE_PREFIX_PATH=../anaconda3/envs/qtorch17/lib/python3.7/site-packages ..
make
#make install
cd ..
python setup.py install
cd ../..

# b. Install APEX for mixed precision training
git clone https://github.com/NVIDIA/apex
cd apex
pip install -v --disable-pip-version-check --no-cache-dir --global-option="--cpp_ext" --global-option="--cuda_ext" ./
cd ..

# c. Install our Pytorch based sparse convolution toolkit
# uninstall spconv and cumm installed by pip
# install build-essential, install CUDA
git clone https://github.com/FindDefinition/cumm
cd ./cumm
pip install -e .
cd ..
git clone https://github.com/traveller59/spconv
cd ./spconv
pip install -e .
cd ..
# in python, import spconv and wait for build finish.
# git reset --hard bc8714d if facing an error ImportError: cannot import name 'TensorOpParams' from 'cumm.gemm.algospec.core'
# Check this Issue: https://github.com/traveller59/spconv/issues/438

# d. Install the detectron2 toolkit. Note we build our approach based on version 0.2.1, you may follow the instructions to set environment configs
wget https://github.com/facebookresearch/detectron2/archive/refs/tags/v0.3.zip
unzip v0.3.zip
cd detectron2-0.3
python -m pip install -e .
cd ..

# e. Install the Detectron2_Backbone for usage of MobileNet and ShuffleNet
git clone https://github.com/sxhxliang/detectron2_backbone.git
cd detectron2_backbone
python setup.py build develop

# f. Clone our repository and have fun with it!
CUDA_VISIBLE_DEVICES=6,7 python train_coco.py

Hi, JohnPekl. Thanks for your retrain.
this result seems much lower than the writer report.
Is it because the NUM_GPU is reduced from 8 to 2？and do you try it on 8 GPUs?

@9p15p Thank you for checking my result. I guess I have trained the network with fewer epochs since I reduce batch size. I am trying to retrain it again.

@JohnPekl Heelo John, if you have trained for vizdrone, can you provide the weights ?

Hi @bhargavipatel , I have tried to train the network on Vizdrone dataset yet. I can provide the weights if I successfully manage to train it.

@JohnPekl hello john, do you finish trained in Visdrone？if you have finished，can you provide the weights？thanks

authors: 9p15p JohnPekl bhargavipatel jigongbao

repo: ChenhongyiYang/QueryDet-PyTorch


text:
Json as Built -in scalar

When JSON was introduced as built-in scalar,  it was not added to the dictionary of all built-in scalars

Added unit tests to validate this case in the future with another scalar

Closes #5899

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

We already have a PR on that ...
https://github.com/ChilliCream/graphql-platform/pull/6282
Closing this in favor of the original PR

authors: CLAassistant clazarev michaelstaib

repo: ChilliCream/graphql-platform


text:
Support for TimeSpan Scalar in Mutation

TimeSpan support is not available in HotChocolate mutations.
In queries, TimeSpan seems to work because no errors are thrown when adding the ScheduleQuery type, and also returns a TimeSpan class with values in the result.
 services
                 .AddDataLoaderRegistry()
                 .AddGraphQL(SchemaBuilder
                    .New()
                    .AddQueryType(d => d.Name("Query"))
                    .AddType<ScheduleQuery>()
                    .AddMutationType(m => m.Name("Mutation"))
                    .AddType<ScheduleMutation>()
                    .Create());

error: HotChocolate.SchemaException: 'Unable to infer or resolve a schema type from the type reference `Input: System.TimeSpan`.'
  [ExtendObjectType(Name = "Mutation")]
    public class ScheduleMutation
    {
        public async Task<Schedule> Schedule([Service] HISContext context, string Name, IEnumerable<Interval> intervals) {

            var schedule = new Schedule
            {
                Name = Name,
                Intervals = intervals
            };

            context.Schedules.Add(schedule);
            await context.SaveChangesAsync();
            return schedule;

        }
    }

public class Schedule
    {
        public string Name { get;  set; }
        [GraphQLType(typeof(AnyType))]
        public IEnumerable<Interval> Intervals { get;  set; }

        public Schedule() { }

        internal static Schedule Create(string name, IEnumerable<Interval> intervals)
        {
            if (string.IsNullOrEmpty(name))
                throw new HISDomainException("Failed to Create Schedue: Name cannot be null or empty");

            return new Schedule()
            {
                Name = name,
                Intervals = intervals
            };
        }
    }

    public class Interval
    {
        public enum Day
        {
            Monday,
            Tuesday,
            Wednesday,
            Thursday,
            Friday,
            Saturday,
            Sunday
        }
        [GraphQLType(typeof(AnyType))]
        public TimeSpan StartTime { get; set; }
       // [GraphQLType(typeof(AnyType))]
        public TimeSpan EndTime { get; set; }

        public IEnumerable<Day> Days { get; set; }

        public static Interval Create(TimeSpan startTime, TimeSpan endTime, IEnumerable<Day> days)
        {
            if(endTime.TotalMilliseconds > startTime.TotalMilliseconds)
                throw new HISDomainException("Failed to Create Schedue: Start Time cannot occur after End Time");

            return new Interval()
            {
                StartTime = startTime,
                EndTime = endTime,
                Days = days
            };
        }

    }

Major design issue with that is now we need Hot Chocolate decorators in the Models.
Describe the solution you'd like
Support for TimeSpan Scalars in mutations.
Describe alternatives you've considered
Workaround is to add
[GraphQLType(typeof(AnyType))]
to the TimeSpan properties.

Closing because this looks to be included with the 11.0 release
https://github.com/ChilliCream/hotchocolate/blob/develop/src/HotChocolate/Core/src/Types/Types/Scalars/TimeSpanType.cs

Closing because this looks to be included with the 11.0 release
https://github.com/ChilliCream/hotchocolate/blob/develop/src/HotChocolate/Core/src/Types/Types/Scalars/TimeSpanType.cs

What's the usage example if Mutation is declared with TimeSpan input type?
public class MutationInput {
    [GraphQLType(typeof(TimeSpanType)]
    public TimeSpan Duration {get;set;}
}

mutation {
    addDuration(input: {
         duration: "00h15m00s"        # Javascript Duration String
    }) {
        duration
    }
}

Type of string literal 00h30m00s or int of 900 are not recognized as TimeSpan for automatic deserialization.
https://github.com/ChilliCream/hotchocolate/blob/dc1e317499218419e3a0118ce092006253755394/src/HotChocolate/Core/src/Types/Types/Scalars/TimeSpanType.cs#L42
"errors": [
    {
      "message": "TimeSpan cannot parse the given literal of type `StringValueNode`."
    }
  ],

Closing because this looks to be included with the 11.0 release
https://github.com/ChilliCream/hotchocolate/blob/develop/src/HotChocolate/Core/src/Types/Types/Scalars/TimeSpanType.cs

What's the usage example if Mutation is declared with TimeSpan input type?
public class MutationInput {
    [GraphQLType(typeof(TimeSpanType)]
    public TimeSpan Duration {get;set;}
}

mutation {
    addDuration(input: {
         duration: "00h15m00s"        # Javascript Duration String
    }) {
        duration
    }
}

Type of string literal 00h30m00s or int of 900 are not recognized as TimeSpan for automatic deserialization.
https://github.com/ChilliCream/hotchocolate/blob/dc1e317499218419e3a0118ce092006253755394/src/HotChocolate/Core/src/Types/Types/Scalars/TimeSpanType.cs#L42
"errors": [
    {
      "message": "TimeSpan cannot parse the given literal of type `StringValueNode`."
    }
  ],

@sar it nust be in the Iso8601 format.
tt:mm:ss.sss

@sar it nust be in the Iso8601 format.
tt:mm:ss.sss

authors: PascalSenn bbehling sar

repo: ChilliCream/hotchocolate


text:
Enum values in response splitting with underscore!

Enum name that has 2 or more parts underscoring
When enum name has 2(or more parts) (say HelloWorld ) is going to be Hello_World and even worse is GUID is going to be G_U_I_D!!!

Hi @yasharvc
We follow the GraphQL spec recommendation in naming enums,
If you want the old behaviour back you can use a naming convention:
https://chillicream.com/docs/hotchocolate/api-reference/migrate-from-10-to-11/#enum-type

The G_U_I_D could be an issue however ... we can have a look at that. But NEGATIVE_INTEGER is correct. You can however change it to the old behaviour.

@michaelstaib please share the way of using the old behavior.

@michaelstaib I have a PR proposal ready to fix cases like this, but I wonder how hard it is for people to just change their enum names from StringGUID to StringGuid f.e.

@huysentruitw where is the PR?

And yes would be great if we correctly handle cases like StringGUID

PR is linked

I have merged the PR and we have released it as https://github.com/ChilliCream/hotchocolate/releases/tag/11.1.0-preview.2

authors: PascalSenn huysentruitw michaelstaib yasharvc


text:
clean manifest

there is no need to have those lines in the libraries manifest, it just forces people to override the name in the app

thanks for the pr

You're welcome. Please make a new release with this changes when you've time, thanks

I'll do asap

authors: Chingiz MFlisar

repo: Chingiz/SessionManager-Android


text:
任意のバージョンに偽装

確認項目

[x]  動作確認済み
[ ]  誤字脱字無し

説明
#171 について

一応動作確認は済ませています。
わざとログに残るようにしています。

Strings 登録めんどくさいのでだれかしてください

ログの出し方工夫しなければいけないので、すぐマージするなら
ログ出力消してください

~Strings 登録めんどくさいのでだれかしてください~

外国語の翻訳追加は後からでも構いませんが、リソースから文字列を取り出す様にして欲しいです。

動作確認していないです、今日多分確認しきれないので明日以降確認します

一応、一番最初のANDROIDも 変更できるようにしますか？
いまいち、この偽装の需要がよくわからない、、

一応、一番最初のANDROIDも 変更できるようにしますか？ いまいち、この偽装の需要がよくわからない、、

それに関しては Chip さんに直接聞いた方が良いかも知れませんね。

一応変更できるようにしときますね
PC版に偽装は0引だったような気もするので

動作確認済み

他の言語もgoogle翻訳で追加してしまって大丈夫なのですかね？

一応、自分もre vanced勉強してはいるのですが、なかなか難しいですね、、
構成フォルダが多すぎて、よくわからない

他の言語もgoogle翻訳で追加してしまって大丈夫なのですかね？

英語と日本語があれば大丈夫です

ここで、質問するのはどうかと思いますが
次のリリースはお考えですか？？
@s1204IT

repo: Chipppppppppp/LIME


text:
data-custom-properties not picked up if option is inside an optgroup

I've been using <option data-custom-properties="somevalue"> on my multiple select to store some additional data I need. This has been working fine until today when I wrapped my <option>s in an <optgroup>. Suddenly all my customProperties are null. This looks like a bug to me?

Please may you provide a jsfiddle highlighting the issue

Here's a fiddle that highlights this, and my other two issues in one:
https://jsfiddle.net/n7yvrdzL/5/

Hi, I'm also facing this issue, there's any more info about this?

this issue persist on 9.0.1

Dirty fix for this one is find the var addGroupChoices = function (choice) { ... change the customPropeties: choice.customProperties in to customProperties: choice.getAttribute('data-custom-properties'),

authors: Black-Dragon-Spirit Zilus alphonse927 jshjohnson powerbuoy

repo: Choices-js/Choices


text:
Use System.Numerics instead of custom vector types

It would be a wise idea to use System.Numerics for vector and matrix types, as it would be more compatible with other libraries. They're also SIMD accelerated, and marshalling them works fine.

@sbarisic That sounds interesting though I don't plan to change the vector and matrix types at the moment. Ideally a feature like this would be optional for those who want it.

I have looked into this feature but I am currently unsure on the best way to proceed.
I tried to use System.Numerics in a test project to see how what users need to do to switch to it.

Add using System.Numerics in every file that uses these types.

Change fields like .x, .y, .z etc to .X, .Y, .Z etc.

This is a pain to do especially in a larger project so I looked to see if there was a easier way to make this a optional/non breaking change.
The only possible solution I found is to wrap the System.Numerics types in my own types and provide properties for access. This "might" work but I feel that defeats the idea of it as you need to convert/access the type manually when using external code that uses System.Numerics.
Another possible concern is with the Matrix. I need to look into the ordering of the fields to see if conflicts with how the raylib Matrix works. I do not think it makes sense to add System.Numerics only for Vector types but not Matrices as that will just make things more confusing for new users.

The order of the matrix elements should match OpenGL as far as i know, for anything else it would be enough to just transpose them before doing calculations.
Another way to make this less painful is to add an implicit cast to/from System.Numerics vectors.

It would be possible to create a wrapper over System.Numerics types and use implicit casts to automatically return internal type, but that pretty much defeats the purpose and makes it slower.

@ChrisDill I Wouldn't too much about adding/chaning usings in every file - I believe VS can do it now for you anyway.

@sbarisic There is now a numerics branch for this feature. I discussed it with @9ParsonsB and we decided that keeping this feature compatible is not possible so it is being tested as a breaking change. So far Vector2, Vector3 and Vector4 have been replaced.
Matrix4x4 has a different layout but transposing the matrix works for going from the numerics layout to the raymath and vice versa. Because of this it makes more sense to keep the Matrix type and convert it as this makes the difference explicit.

I'm undecided on the switch to the standard System.Numerics types (not sure of the benefits), but as far as breaking changes go, that shouldn't be a problem, should you decide to make the switch. It takes just minutes, maybe tens of minutes to adjust a project.

What should I do when using DrawTextureRec? it takes a int based Vector2 and there's no alternative that uses the x and y components separately like DrawTexture

repo: ChrisDill/Raylib-cs

license: Zlib


text:
Lightweight Git-based package system

Add a lightweight package system, built by implementing packages as small, well-formed Git repositories, alongside a central database listing each of these packages, along with their meta-data, realised as a Git repository. Basically using the same approach that Julia uses to implement its own package management system.

Majority of package structure implemented. Need to add dependency handling and bootstrapping of built-in packages, before constructing central repository.

No longer an issue as of the changes made since the release of Julia 0.4.


text:
Tool disable Admin account

Hi. I had big issue with this tool. I had enabled admin account for instalations, and my user accout wasnt admin level, only user. After using this tool and restarting pc Admin user was disabled and I had only one user level account and I was screwd. With this account I cant enable Admin user again. Be careful and sorry for my english

Which tweaks did you run? Looks to be similar issue to #404

I think, check if there are other administrators on the computer will be smart. But, Im not sure the reason too. Admin acc is disabled in default, so, if somebody enable it, he needs it to be enabled

I think it is a remnant of something I added a long while back, as having the built-in admin account enabled is a security vulnerability. It is probably ok to remove, though, as adding it is a conscious action someone performs.

I would say the security vulnerability is debatable. Normally I would use the built in administrator account similar to a linux root account and my user profile would be setup as a standard user.
I haven't done it in a while as I seldom use Windows as a primary OS these days.

Wait.. If is Admin account enabled and have strong password, its vulnerability? I dont think so. Without password maybe.

Having the account enabled creates a possible point of entry for an attacker, but with a strong password it shouldn't be an issue.

@DeveloperDurp Yeah lets remove it. Disabling admin is easy to re-enable through a simple SAM hack anyway. It's not like this really makes Windows secure.

@DeveloperDurp What just happend? Im not sure, if I understand. Idk what is SAM hack. I had to reinstall the entire OS after this issue. I thought being user lvl (not administrator) is more secure, but I need way to install some game etc. So I enable admin account and give him strong password. Nevermind.. https://github.com/ChrisTitusTech/winutil/pull/462 -> this means issue is solved and I can use tool again without worries?

Security Account Manager (SAM) from my understanding all local accounts in Windows is susceptible to this kind of hack. Best example I can think of is there are bootable ISO environments that allow you to reset the password of local accounts. This changed however when Microsoft introduced their online accounts. I usually operate under the assumption if someone has physical access to a computer they can break in.
As for this happening again I would hold off for now.
@ChrisTitusTech I am looking at the code and it looks like it didn't change anything after merging in #462
https://github.com/ChrisTitusTech/winutil/pull/465/commits/4522e8861650ddbc8bcf2712a3e56e34091855d2

@DeveloperDurp strange, I guess during the update branch it wiped out that modification. I just repushed the commit b7fa066197e07d0dcbc03adab1bb541e3674ef18

authors: Carterpersall ChrisTitusTech DeveloperDurp KoXz666

repo: ChrisTitusTech/winutil


text:
Add toggle for enabling Hardware-Accelerated GPU Scheduling

Type of Change

[x] New feature
[ ] Bug fix
[ ] Documentation update
[ ] Refactoring
[ ] Hotfix
[ ] Security patch
[ ] UI/UX improvement

Description

This PR adds a new toggle to enable hardware accelerated gpu scheduling.
Testing

Works as expected on Windows 11 23H2
Impact

Issue related to PR

Resolves #

Additional Information

Checklist

[x] My code adheres to the coding and style guidelines of the project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have made corresponding changes to the documentation.
[x] My changes generate no errors/warnings/merge conflicts.

I think AMD Radeon users can make many mistakes with this feature, AMD not work with HAGS correctly, need check videocard first i think.


text:
Update sbt-microsites to 1.3.1

Updates com.47deg:sbt-microsites from 0.9.7 to 1.3.1.
GitHub Release Notes - Changelog - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.47deg", artifactId = "sbt-microsites" } ]

labels: sbt-plugin-update, semver-major

Superseded by #119.

repo: ChristopherDavenport/synchronized


text:
Update sbt-mdoc to 2.2.18

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

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalameta", artifactId = "sbt-mdoc" } ]

labels: sbt-plugin-update, semver-patch

Superseded by #240.


text:
uses: docker://... fails with "No such container"

Pipeline: https://github.com/haskell/ghcup-hs/actions/runs/12536865845/job/34960342646#step:9:2
2024-12-29T16:07:48.6925873Z   ðŸ³  docker pull image=hasufell/arm64v8-alpine-haskell:3.20 platform= username= forcePull=true
2024-12-29T16:07:49.7373772Z   ðŸ³  docker create image=hasufell/arm64v8-alpine-haskell:3.20 platform= entrypoint=[] cmd=["sh" "-c" ".github/scripts/build.sh '--ghc-options=-split-sections' '--enable-executable-static'"] network="container:act-Build-and-release-3e41c296-c773-410e-ab2d-95ed980861c2-22900ec42b424889eaad00525fdc52f10dcc32a3aad9529730bac900ba7db6bf"
2024-12-29T16:07:49.7744554Z   ðŸ³  docker run image=hasufell/arm64v8-alpine-haskell:3.20 platform= entrypoint=[] cmd=["sh" "-c" ".github/scripts/build.sh '--ghc-options=-split-sections' '--enable-executable-static'"] network="container:act-Build-and-release-3e41c296-c773-410e-ab2d-95ed980861c2-22900ec42b424889eaad00525fdc52f10dcc32a3aad9529730bac900ba7db6bf"
2024-12-29T16:07:49.7939532Z ##[error]  âŒ  Failure - Main Run build (aarch64 linux)
2024-12-29T16:07:49.7957729Z ##[error]failed to start container: Error response from daemon: No such container: act-Build-and-release-3e41c296-c773-410e-ab2d-95ed980861c2-22900ec42b424889eaad00525fdc52f10dcc32a3aad9529730bac900ba7db6bf

Workflow: https://github.com/haskell/ghcup-hs/blob/54e171ff35fc7b467709ed6982bc5cfcae7d8c91/.github/workflows/release.yaml#L134
      - if: matrix.ARCH == 'ARM64'
        uses: docker://hasufell/arm64v8-alpine-haskell:3.20
        name: Run build (aarch64 linux)
        with:
          args: sh -c ".github/scripts/build.sh '--ghc-options=-split-sections' '--enable-executable-static'"
          network: host
        env:
          ARTIFACT: ${{ matrix.ARTIFACT }}
          ARCH: ${{ matrix.ARCH }}
          GHC_VER: ${{ matrix.GHC_VER }}
          DISTRO: ${{ matrix.DISTRO }}
          AWS_SECRET_ACCESS_KEY: ${{ env.AWS_SECRET_ACCESS_KEY }}
          AWS_ACCESS_KEY_ID: ${{ env.AWS_ACCESS_KEY_ID }}
          S3_HOST: ${{ env.S3_HOST }}

This works fine with github runners.
It is not the same as using the container:. .. feature. With the container feature, everything is run inside the container, including actions (like checkout). With the above syntax, only the step itself is run in the container. This is useful if the container does not support node20 (e.g. debian i386).
From what I see the issue might be how it sets up the network here:
network="container:act-Build-and-release-3e41c296-c773-410e-ab2d-95ed980861c2-22900ec42b424889eaad00525fdc52f10dcc32a3aad9529730bac900ba7db6bf"

In workflows with the container syntax, it appears to set network=host (see here). So why it's doing this here?

I'm using 0.9.0 binaries on Debian bookworm aarch64.

https://github.com/nektos/act/blob/a64359c9cb52aa07ff3f285861c939a0af865b52/pkg/runner/run_context.go#L97-L105

I wonder what are your reasons to land here for the linux runner, since your example uses officially supported architectures?

ARM64 Alpine is not supported by GitHub.

Yes, but I also use armv7 and i386 containers, which don't have a valid node.

If you want a custom i386 image for the job container, install node into your path of your custom image.

This is not possible. Node does not support i386 or armv7 anymore. There is no compatible binary anywhere.

repo: ChristopherHX/github-act-runner


text:
Feature/influxdb format

Hi,
this adds an ingester for the InfluxDB format.

Coverage remained the same at 100.0% when pulling 56865d57c4961ac5b9177ba33fd7bcdd2803e642 on phxql:feature/influxdb-format into 740812cbc55d6da38ad644c2299b73e9a513745e on ChronixDB:master.

Coverage remained the same at 100.0% when pulling 56865d57c4961ac5b9177ba33fd7bcdd2803e642 on phxql:feature/influxdb-format into 740812cbc55d6da38ad644c2299b73e9a513745e on ChronixDB:master.

Coverage remained the same at 100.0% when pulling 56865d57c4961ac5b9177ba33fd7bcdd2803e642 on phxql:feature/influxdb-format into 740812cbc55d6da38ad644c2299b73e9a513745e on ChronixDB:master.

Coverage remained the same at 100.0% when pulling 56865d57c4961ac5b9177ba33fd7bcdd2803e642 on phxql:feature/influxdb-format into 740812cbc55d6da38ad644c2299b73e9a513745e on ChronixDB:master.

authors: coveralls phxql


text:
Error in LegacyServer.cs and NextServer.cs

When I import FizzyFacepunch I get this error. Apparently it takes a third string argument. I'm confused, can someone help?

Check the changes made here: https://github.com/Chykary/FizzyFacepunch/pull/32
Until it gets merged you can manually edit them.

repo: Chykary/FizzyFacepunch


text:
Ability to change the color of connecting wire in properties panel

Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
Changing the color of the connecting wire
Describe alternatives you've considered
None
Additional context
If the color of the connecting wire can be changed in the properties panel, it would be so helpful in making a neater project than now
Are you working on this? (Yes/No)
No

Can I work on this issue?

Can I work on this issue?

Have you started working on it or not ? If no then let me start on this then.

Can I work on this issue?

Have you started working on it or not ? If no then let me start on this then.

@Pushpendrahpx actually no one replied or assigned me due to which I didn't start working on it. If you want, you may start working on this :)

@Pushpendrahpx actually no one replied or assigned me due to which I didn't start working on it. If you want, you may start working on this :)

repo: CircuitVerse/CircuitVerse


text:
Adding circuitverse installation video

Is your feature request related to a problem? Please describe.
We can add project setup tutorials so that beginners will not have to face issues related to setting up the project.
Describe the solution you'd like
There are 3 methods of setup -> One with docker-compose, Gitpod, Local Setup, We can use Asciinema (https://asciinema.org/) to record bash commands. As it provides the best quality for recording bash screens.
Are you working on this? (Yes/No)
Yes, I will be working on this, if I get the approval

Hey @Creatoon thank you for raising an issue
We have a detailed markdown file for setting up CV env. : https://github.com/CircuitVerse/CircuitVerse/blob/master/SETUP.md .

Is this feature open? @Creatoon may I work on this issue ?

@vedant-jain03 Like, I really thought you were saying that we have a markdown and there is no need of creating such video.
But i guess you were suggesting the helper for that video.
I will create a pr soon.
Thanks

@SethiVanshika if you really wanna work, you can go with this feature, but make sure to remind me if you are unable to complete it, so that I can create the pr for the same.
Also if you want any help you can ask here 😀

authors: Creatoon SethiVanshika vedant-jain03


text:
Fixes new group page issues

Fixes #1123
Describe the changes you have made in this PR -

Added responsiveness in new group page.
Moved back button to form partial.
Removed irrelevant css classes.

Screenshots of the changes (If any) -
BEFORE

AFTER

Coverage remained the same at 84.266% when pulling 7a346f6c6af5cfb9127946a896bd473ba877b604 on Nitish145:new-group-page-issues#1123 into 059c8817bd015902529911ee9ad12633c8c4aab2 on CircuitVerse:master.

@nitin10s @aayush-05 reviews please :)

Fix conflicts

@tachyons done !!

@Nitish145 Please check the new group page

@Ananthavijay will open a PR for the same 🙂

@Ananthavijay i think Back button makes more sense on left only..

In every other page, the back button is on the right

Yep, right


text:
Replace hand-crafted XML storage with proper Serializer

Replace the horrid verbose XML-bases system to store and retrieve persisted data with a proper serializer.
XML
If we stick to XML (convenient for a more gentle transition phase) I'd highly recommend a robust library like ExtendedXmlSerializer.
JSON
Who doesn't love Json.NET, very harsh on transitioning, although XML to JSON conversion is supported, but may be troublesome with the custom crafted format currently used.

SaveProfile is almost completely migrated.

With the rewrite and settling on JSON anyway this is no longer relevant.


text:
Electrolyzer model

Summary

Implemented the electrolyzer model according to what we know about the electrolyzer setup on the spacecraft right now. There might be some changes later on depending on whether or not we will have two combustion chambers etc.
Testing
Added some basic unit tests
Notes
N/A
Comments

[x] Add an x between the brackets if you commented your code well!

As a hint for why the tests are failing, you updated the Parameters and State classes, but there are tests in state_test.py and parameters_test.py that need to be updated alongside that change, or else they will fail. In particular, if we look at the logs, test_to_array() in state_test.py simply checks that a State is being properly converted into an array, but our test case for a state_list is a list that doesn't incorporate the newly added fields for the State which you added, and neither does state_1 (from test_utils.py), so what happens is the fields of state_1 are being set to their default values, and the test cases fails.
Basically, you need to make some updates to state_test.py, test_utils.py, and parameters_test.py in order to "redefine" what the definition of a valid state/state-list and valid parameters are.

repo: Cislunar-Explorers/CislunarSim


text:
UHF-8520 JS translation fix

UHF-8520

What was done

Stopped the TerserPlugin from minifying the variable names Drupal and drupalSettings.

How to install

Make sure your instance is up and running on correct branch.

git checkout UHF-8520_js_translation_fix
make fresh

Run make drush-cr

How to test

[ ] Check that the site theme still works as it should.
[ ] Since there is no javascript that is used on the hdbt_subtheme this is just fix for not running into the issue in the future. You can check the testing instructions from hdbt PR.
[ ] Check that code follows our standards

Designers review

[x] This PR does not need designers review
[ ] This PR has been visually reviewed by a designer (Name of the designer)

Other PRs

https://github.com/City-of-Helsinki/drupal-hdbt/pull/668
https://github.com/City-of-Helsinki/drupal-helfi-platform/pull/132
https://github.com/City-of-Helsinki/drupal-helfi-etusivu/pull/371
https://github.com/City-of-Helsinki/drupal-helfi-asuminen/pull/248
https://github.com/City-of-Helsinki/drupal-helfi-tyo-yrittaminen/pull/241
https://github.com/City-of-Helsinki/drupal-helfi-kasvatus-koulutus/pull/380
https://github.com/City-of-Helsinki/drupal-helfi-kuva/pull/174
https://github.com/City-of-Helsinki/drupal-helfi-kymp/pull/643
https://github.com/City-of-Helsinki/drupal-helfi-rekry/pull/262
https://github.com/City-of-Helsinki/drupal-helfi-sote/pull/585
https://github.com/City-of-Helsinki/drupal-helfi-strategia/pull/460

Removed the whole common.js thing.

repo: City-of-Helsinki/drupal-helfi-etusivu


text:
fix git REVISION handling when git is unavailable

Description
fix: fix git REVISION handling when git is unavailable
docker-compose up --build fails locally with:
Traceback (most recent call last):
...
  File "/app/palvelutarjotin/urls.py", line 12, in <module>
    admin.site.index_title = " ".join([ugettext("Kultus API"),
        get_api_version()])
  File "/app/common/utils.py", line 49, in get_api_version
    return " | ".join((__version__, settings.REVISION.decode("utf-8")))
AttributeError: 'str' object has no attribute 'decode'

get_api_version function assumes that REVISION has decode function:
def get_api_version():
    return " | ".join((__version__, settings.REVISION.decode("utf-8")))

so it makes sense that REVISION should be bytes, not str.
get_api_version is used to show the git hash of HEAD in the django admin site's title.
https://docs.python.org/3.9/library/subprocess.html documentation for subprocess.check_output says:

By default, this function will return the data as encoded bytes. The
actual encoding of the output data may depend on the command being
invoked, so the decoding to text will often need to be handled at the
application level.

Testing
Tested locally in docker on Windows 10, Docker Desktop, WSL2.

kultus-api branch is deployed to platta: https://kultus-api-pr310.dev.hel.ninja :rocket::rocket::rocket:

authors: karisal-anders terovirtanen

repo: City-of-Helsinki/palvelutarjotin


text:
Upgrade to Django 3.1.14 for security fixes

This bumps Django from 3.1.13 to 3.1.14, which fixes  CVE-2021-44420.

we should consider upgrading to django 3.2

we should consider upgrading to django 3.2

Not by any means within this. Just a reminder for us

authors: jmp nicobav

repo: City-of-Helsinki/tilavarauspalvelu-core


text:
feat: use openDrawer param on application page to open sidebar

Description :sparkles:

Open sidebar with openDrawer param on application view
Add link to the icon indicating there's new messages
If there are new messages, add openDrawer param in the text and icon link

Codecov Report

Merging #2143 (f4f25f6) into develop (2e4d8c1) will decrease coverage by 2.66%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop    #2143      +/-   ##
===========================================
- Coverage    20.65%   18.00%   -2.66%
===========================================
  Files          577      122     -455
  Lines        11918     2905    -9013
  Branches      2887      727    -2160
===========================================
- Hits          2462      523    -1939
+ Misses        9052     2271    -6781
+ Partials       404      111     -293

see 455 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

authors: codecov-commenter sirtawast

repo: City-of-Helsinki/yjdh


text:
YJDH-448/YJDH-453: Accept and Reject -button to handler-ui

Description :sparkles:
Accept and Reject -button to handler-ui. Backend is not yeat implemented but ui functionality is already done. Component tests shows that it works correctly. After backend is done, browser tests for accepting/rejecting should be added.
Issues :bug:
Testing :alembic:
Screenshots :camera_flash:
Additional notes :spiral_notepad:

Codecov Report

Merging #822 (3950ab3) into develop (fcce61a) will increase coverage by 4.99%.
The diff coverage is 95.95%.

@@             Coverage Diff             @@
##           develop     #822      +/-   ##
===========================================
+ Coverage    63.07%   68.06%   +4.99%
===========================================
  Files          772       26     -746
  Lines        20467      310   -20157
  Branches      2018       57    -1961
===========================================
- Hits         12909      211   -12698
+ Misses        7225       93    -7132
+ Partials       333        6     -327

Impacted Files
Coverage Δ

...c/__tests__/utils/components/get-index-page-api.ts
92.00% <90.00%> (-3.24%)
:arrow_down:

.../hooks/backend/useCompleteYouthApplicationQuery.ts
94.11% <94.11%> (ø)

...ndler/src/__tests__/utils/backend/backend-nocks.ts
96.15% <100.00%> (+1.70%)
:arrow_up:

...teli/handler/src/components/form/ActionButtons.tsx
100.00% <100.00%> (ø)

...seteli/handler/src/components/form/HandlerForm.tsx
100.00% <100.00%> (ø)

...dler/src/hooks/backend/useYouthApplicationQuery.ts
100.00% <100.00%> (ø)

...applications/applicationList/useApplicationList.ts

...cationReview/calculatorErrors/CalculatorErrors.tsx

.../migrations/0006_field_changes_for_employee_api.py

...elds/dateFieldsSeparator/DateFieldsSeparator.sc.ts

... and 744 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 fcce61a...3950ab3. Read the comment docs.

authors: codecov-commenter nenonja


text:
Sheet type "Survey Points"

Please add a sheet description called "Survey Points"
Thanks

We can just add the survey points to the survey sheet type. In the long run we should get survey points as CSV files that are used by the data import tool.

repo: City-of-Raleigh-Public-Utilities/PUMPR


text:
Resolve issue where HTTPS is not working in AWS.

The current configuration for the adopt-a-drain application running in AWS is not configured to use HTTPS, however adopt-a-drain is designed to redirect to HTTPS when browsing the site from HTTP.  To fix this:

Certificates need to be generated and installed on the box
Nginx needs to be configured to serve the app up on HTTPS (see configuration here.
The current workaround needs to be discarded.

Current Workaround
The file def ssl_configured variable in app/controllers/application_controller.rb was changed from this:
  def ssl_configured?
    Rails.env.production?
  end

To this:
  def ssl_configured?
    #Rails.env.production?
    false
  end

Added SSL cert and configured HTTPS by default for the app.

repo: CityOfVirginiaBeach/adopt-a-drain


text:
Enhance 'wallet' cmd output

Tests will be fixed after output feedback is collected and processed.
What current issue(s) does this address, or what feature is it adding?
@lllwvlvwlll indicated some room for improvement of the wallet command output as a result of workshop feedback. The output has always been quite rough and I believe this change is long overdue. This PR pretty prints the output

wallet now only prints the various address and balance information
a verbose flag is added that prints developer information like script hashes and public keys

wallet sample output
neo> wallet
Path       : wallets/react_test
Height     : 4021
Sync status: 100%

Address    : AK2nJJpJr6o664CWJKi1QRXjqeic2zRp8y
[NEO]      : 100000000.0
[NEOGas]   : 15033.92217
[MCT]      : 12558000

Address    : ALJfaEXyMgGNAdXfizQM92QyR4x11AEGPg
[NEO]      : 0.0
[NEOGas]   : 0.0
[MCT]      : 0

Address    : ANFLgwKG8Eni9gJmKfM7yFXEaWwoGkSUid (watch only)
[NEO]      : 0.0
[NEOGas]   : 0.0
[MCT]      : 0

Claims:
   unlocked: 0.0
   locked  : 17102.0

wallet verbose sample output
neo> wallet verbose
Path       : wallets/react_test
Height     : 4022
Sync status: 100%

Address    : AK2nJJpJr6o664CWJKi1QRXjqeic2zRp8y
Script hash: b'#\xba\'\x03\xc52c\xe8\xd6\xe5"\xdc2 39\xdc\xd8\xee\xe9'
             23ba2703c53263e8d6e522dc32203339dcd8eee9
Public key : 031a6c6fbbdf02ca351745fa86b9ba5a9452d785ac4f7fc2b7548ca2a46c4fcf4a

[NEO]      : 100000000.0
[NEOGas]   : 15033.92217
[MCT]      : 12558000

Address    : ALJfaEXyMgGNAdXfizQM92QyR4x11AEGPg
Script hash: b"1\xb3Q\xc9\xace\x8d\xd5z\xf2B\xec\x06C\x94\x1aY\x1d\x0b'"
             31b351c9ac658dd57af242ec0643941a591d0b27
Public key : 026a6862beca613a3bbcea10158b497c82604abf42741694036c38e11fc39da3d7

[NEO]      : 0.0
[NEOGas]   : 0.0
[MCT]      : 0

Address    : ANFLgwKG8Eni9gJmKfM7yFXEaWwoGkSUid (watch only)
Script hash: b'G\x02\x8f*=3Fo)\xfb\xa1\x0ee\xc9\x0f\xd8\xf3\xd0\x1e\x1f'
             47028f2a3d33466f29fba10e65c90fd8f3d01e1f
Public key : N/A

[NEO]      : 0.0
[NEOGas]   : 0.0
[MCT]      : 0

Claims:
   unlocked: 0.0
   locked  : 17110.0

How did you solve this problem?
collect data and pretty print it instead of json dumping the wallet state
How did you make sure your solution works?
manual testing
Are there any special changes in the code that we should be aware of?
no
Please check the following, if applicable:

[ ] Did you add any tests?
[ ] Did you run make lint?
[ ] Did you run make test?
[ ] Are you making a PR to a feature branch or development rather than master?
[ ] Did you add an entry to CHANGELOG.rst? (if not, please do)

One idea I have is to not print 0 balances, or to add a "--omit-zero" balance flag.
Looking for input

Coverage increased (+0.007%) to 86.572% when pulling ef26a267dacb9d7b441ced8f594ea3ca2494a9dd on ixje:wallet-output into d1d5b17a4704d79a69ad6e9bbcfe8ee50faec21a on CityOfZion:development.

authors: coveralls ixje

repo: CityOfZion/neo-python


text:
⚠ Bofrost.be has degraded performance

In 06ba235, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1052 ms

Resolved: Bofrost.be performance has improved in a39daaa.

repo: Ckal/Uptime


text:
⚠ Bofrost.de has degraded performance

In fd08ec6, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 800 ms

Resolved: Bofrost.de performance has improved in c7bbae1.


text:
⚠ Bofrost.fr has degraded performance

In 8119355, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 2109 ms

Resolved: Bofrost.fr performance has improved in cfb046d.


text:
⚠ Bofrost.lu has degraded performance

In 98d6d7e, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1098 ms

Resolved: Bofrost.lu performance has improved in fa9bbf1 after 14 minutes.


text:
⚠ Bofrost.at has degraded performance

In 3a32f3e, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1155 ms

Resolved: Bofrost.at performance has improved in a643443 after 13 minutes.


text:
⚠ Bofrost.lu has degraded performance

In 4cb8883, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 2238 ms

Resolved: Bofrost.lu performance has improved in a23af5a after 7 minutes.


text:
⚠ Bofrost.es has degraded performance

In 1258c71, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 2463 ms

Resolved: Bofrost.es performance has improved in 17abf17 after 21 minutes.


text:
⚠ Bofrost.be has degraded performance

In 2cdfb69, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1595 ms

Resolved: Bofrost.be performance has improved in 051cec4 after 6 minutes.


text:
⚠ Bofrost.at has degraded performance

In 9f88dec, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 3391 ms

Resolved: Bofrost.at performance has improved in 2e346f1 after 27 minutes.


text:
⚠ Bofrost.de has degraded performance

In 469a8bd, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 960 ms

Resolved: Bofrost.de performance has improved in 90ad583 after 15 minutes.


text:
⚠ Bofrost.at has degraded performance

In df58031, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1798 ms

Resolved: Bofrost.at performance has improved in 0c73c7e after 6 minutes.


text:
⚠ Bofrost.fr has degraded performance

In 3a5eaf3, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1056 ms

Resolved: Bofrost.fr performance has improved in cda90af after 13 minutes.


text:
⚠ Bofrost.be has degraded performance

In 2322e8f, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1633 ms

Resolved: Bofrost.be performance has improved in 0a96ca3 after 6 minutes.


text:
⚠ Bofrost.lu has degraded performance

In 19f704d, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1045 ms

Resolved: Bofrost.lu performance has improved in bbc5de8 after 34 minutes.


text:
⚠ Bofrost.de has degraded performance

In d25a0b3, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 826 ms

Resolved: Bofrost.de performance has improved in fe8e4a3 after 6 minutes.


text:
⚠ Bofrost.lu has degraded performance

In 5a84bbe, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1843 ms

Resolved: Bofrost.lu performance has improved in a0d0619 after 7 minutes.


text:
⚠ Bofrost.de has degraded performance

In 1f55d12, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1056 ms

Resolved: Bofrost.de performance has improved in 0b0c054 after 59 minutes.


text:
⚠ Bofrost.de has degraded performance

In 7bc0484, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1071 ms

Resolved: Bofrost.de performance has improved in c43f708 after 10 minutes.


text:
⚠ Bofrost.at has degraded performance

In b6a6b83, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2812 ms

Resolved: Bofrost.at performance has improved in ccd2f09.


text:
⚠ Bofrost.be has degraded performance

In e1d5db1, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 3395 ms

Resolved: Bofrost.be performance has improved in f1c9b81.


text:
⚠ Bofrost.de has degraded performance

In 9247dda, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1490 ms

Resolved: Bofrost.de performance has improved in 8e4cc5a.


text:
🛑 Dev Backend is down

In 4cc1f8e, Dev Backend (https://the-back-dev.claros.so) was down:

HTTP code: 502
Response time: 258 ms

Resolved: Dev Backend is back up in 1f197af after 13 minutes.

repo: ClarosAI/upptime


text:
🛑 Backend is down

In f9fbecc, Backend (https://back.claros.so) was down:

HTTP code: 503
Response time: 365 ms

Resolved: Backend is back up in a701868 after 26 minutes.


text:
no drops of xp in certain chucks whatsoever

i have the issue since im using playerex that certain chunks drop no xp whatsoever even if the setting for it is set to 100 for vanilla but even then its not droping xp in certain chucks even if i use xp bottles

Hi there,
Try the command /playerex resetChunk in the chunks where this is happening. If you're not already using the latest version of PlayerEx, please do so as it contains some fixes regarding this mechanic.
Thanks.

il try thanks
also im on the newest version
its gonna be fun tho as a mayority of my spawn chucks are affected 2000 blocks on each side radius
might mbe usefull to make a command that massresets all chucks in case somone has a lot of chunks affected

authors: CleverNucleus KlaraChaos

repo: CleverNucleus/PlayerEx


text:
Getting ReferenceError: window is not defined, when clevertap is initialised  in _app.tsx file of NextJs

Whenver i use Clevertap in NextJs _app.tsx
i am getting the below error

If the package isn't compatible with Next.js, is there any way I cal initialize clevertap in my App?

@akashvercetti

Hi @akshaysr-buku , our SDK is a typically a client side only library and does not by its nature support SSR.
Having said that, there might be a workaround here: https://github.com/CleverTap/clevertap-web-sdk/issues/39
or
you could try npm install --save-dev @types/clevertap-web-sdk since type-definitions have been created at: DefinitelyTyped/DefinitelyTyped#57546.

Hi @akashvercetti we also use the clever tap at our organization which runs a Next.js app.
We use it using the following strategy, without relying on the SDK.

Create an analytics component, which uses the Next.js Script component  to inject the script

import Script from 'next/script'

function Analytics(){
     return (
	<Script strategy="afterInteractive" id="clevertap-script" src="https://d2r1yp2w7bby2u.cloudfront.net/js/a.js" />
	<Script id="clevertap-analytics" strategy="afterInteractive"
                    dangerouslySetInnerHTML={{ __html:`
                                    var clevertap = {event:[], profile:[], account:[], onUserLogin:[], notifications:[], privacy:[]};
                                    clevertap.account.push({"id": "${clevertapAccountId}"});
                                    clevertap.privacy.push({optOut: false});
                                    clevertap.privacy.push({useIP: true});` }}
	/>
      )

}

You can use this component using the dynamic import in _app.tsx

const Analytics = dynamic(() => import('@components/analytics'), { ssr: false });

function MyApp({ Component: AppComponent, pageProps }: AppProps) {
	return (
			<AppComponent {...pageProps} />
			<Analytics />
	);
}

Using clever tap to send events etc.

If you are using typescript you can write your own types for payload depending on your use case.

export type WindowWithAnalytics = Window &
	typeof globalThis & {
		clevertap: any;	// write more types here if you want
};

class Analytics{
	isWindowRuntime= typeof window !==='undefined'
	   pushEvent(eventName,payload){
	       (window as WindowWithAnalytics).clevertap.event.push(eventName, payload);
          }

}

// usage

 Analytics.pushEvent('Login',{
          //details
})

Hopefully, this helps!

Thanks @abhu-A-J

authors: abhu-A-J akashvercetti akshaysr-buku

repo: CleverTap/clevertap-web-sdk


text:
Add AtmosProfile types

This is only an idea. It might be nice if we always return a (here added) AtmosphericProfile, which has a callable profile.
We could potentially add tests for it, more systematically, and maybe add pretty printing for how the object is called. But Idk how important this really is, so I'll just leave it as a draft PR for now.

We basically did this in the last release.


text:
Adding Ludo Model Data

Purpose
Adding Ludo's model data.

Quick quality control of strongly nonlinear case.
Tests run.
Need to update link in Box.


text:
Rename post processing folder to regression_tests

This PR renames the post_processing folder to regression_tests, since it's more accurate of what's being done in there.
I think, to keep this working, we'll either need to either

increment the reference counter (or reset to 1), and let this be the new folder we push things into (leaning towards this)
"look for" the ref_counter.jl / mse_tables.jl files when doing comparisons (which seems a bit more confusing)

We could change the history of the older reference datasets on the cluster, but I'm not sure that's ideal-- we should probably clean that out soon since it's accumulating fast. #611 will help with this, though.
I'm going to wait to merge this until we figure out what's going on with the long runs.

I've got a sketch of updating the readme, but I think it'd make more sense to apply that after this is merged.

bors r+


text:
Avoid timezone query on create connection when not needed

This aims to prevent this query to append if we use the timezone specified in configuration.

But it skips to query version()
 if (serverVersion == null) {
            serverVersion = "";
        }

AFAIK it needs to implement lazy evaluation of the version?

Looking at the code, it does need the version for one call.
I will add the possibility to specify the version too.
if (connection.getServerVersion().compareTo("1.1.54237") > 0) {             query = new StringBuilder(                 "SELECT database, table, name, type, default_kind as default_type, default_expression, comment ");         } else {             query = new StringBuilder(                 "SELECT database, table, name, type, default_type, default_expression, NULL AS comment ");         }

@den-crane Sorry I don't see which test fails. mvn test returns an unrelated NPE for me. How can I run them?

@nicolasblaye https://github.com/ClickHouse/clickhouse-jdbc/blob/master/clickhouse-jdbc/src/test/java/ru/yandex/clickhouse/integration/StreamSQLTest.java#L265
Some tests use getServerVersion() to make a decision does it need to run or not. Now they just skipped.

@den-crane As far as I know, my last two commits should make so version is still fetched by default via a select. It shouldn't change the test no?

OK then.  I did not check the last commit.

Thanks for the pull request @nicolasblaye. It's one-time query for connection initialization, with trivial overhead IMO. Would you mind to share the problem you're trying to resolve here? From what I saw, disabling the query may help for unit testing, plus it will slightly increase throughput.
By the way, I changed target branch to develop. Could you check the build break as well as merge conflict so that we can merge?

It's true that it's a small query, but we misconfigured our connection creation so we spam this query way too much (over a million time a day). Obviously, I am also fixing our connection creation issue but I figured I could also add that to the driver to avoid unnecessary (albeit very small) requests.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Won't merge this pull request as this has been addressed in new JDBC driver. When serverTimeZone and serverVersion are specified, the driver will no longer issue the query on creating connection.

authors: CLAassistant den-crane nicolasblaye zhicwu

repo: ClickHouse/clickhouse-jdbc


text:
⚠ EntVenture has degraded performance

In 3eda146, EntVenture (https://entventure.org) experienced degraded performance:

HTTP code: 200
Response time: 7842 ms

Resolved: EntVenture performance has improved in ba5cd30.

repo: Clicki-Digital/uptime


text:
import global css easily

While importing global css styles we have to define the relative path everytime. This makes it easy with
@import 'variables.scss';
or
@import 'styles/variables.scss';

@spyshiv @aka-jain please review

@anweshknayak please first open an issue and then create a Pull Request. In this way it would be good for us to track the progress.

@aka-jain sorry. Will take care of it from next time :+1:

authors: aka-jain anweshknayak

repo: Cloud-CV/EvalAI-ngx


text:
Rework the docstring to address the units of measure

Partially addresses #72.

I just ran black on it to format it. It seems like the linter didn't like the trailing whitespace. Kind of annoying.
Thanks for the edit, I think it's better worded now. Are more changes needed before the merge?

I think it's good to go.

authors: milancurcic selipot

repo: Cloud-Drift/clouddrift


text:
Container passwords

Hi,
A lot of my players tell me that the containers are bugged when they try to open it with a password but in fact everytime the problem is that they make mistakes with capital letters. Could you remove case sensitivity for container passwords so the gamemode would be more ergonomic ? (if it doesn't decrease password security ofc)
Thanks for anwsering me

I just.. why? If you wanted you could do this yourself, but it's really not an issue. It's not the fault of developers that people can't remember their passwords.

Pen > paper > write > ??? > Issue fixed.

I just.. why? If you wanted you could do this yourself, but it's really not an issue. It's not the fault of developers that people can't remember their passwords.

Clearly it is an issue for him, and his issue isn't that players can't remember passwords, but that players aren't aware they are case sensitive to begin with. And for this I would ask if we really need passwords to be case sensitive. They're containers of items in a roleplaying gamemode, not secure servers holding sensitive information
I don't think it's a big deal if they were to changed to be case insensitive.

Yeah its what i wanted to say

I feel it would be most acceptable if we added a config option to test for case sensitivity.

 Add a config option to test for container password case sensitivity

Ok thanks a lot

I think then there would also be a need to inform players trying to unlock containers that they are case sensitive. It would be confusing for players accessing their containers without case sensitivity suddenly having their passwords fail to go through if the admins enable case sensitivity afterwards.

I think then there would also be a need to inform players trying to unlock containers that they are case sensitive. It would be confusing for players accessing their containers without case sensitivity suddenly having their passwords fail to go through if the admins enable case sensitivity afterwards.

That's a good point. Personally I'd rather leave it up to the server owner for them to have that option if they like it, however I do also see the point where nobody would really care if it was case-sensitive or not, since it's just containers and not a super secure thing. I'll update the note on the Trello for both cases.

authors: JakeDaBoss moschetto murray-elijah sanny-io supermicronde3

repo: CloudSixteen/Clockwork


text:
[Feature Request] set kbmap per window

Idea is to make it possible to set kbmap to something different on different windows.
Usecase is german writing where you will want to have german layout on maybe everything except where you code.
So you get american layout for your editors and german for everything else (or similar) also translators might like it, when translating from russian to english (just an example) where they change the set of letters used.

Sure this is a nice idea, but as you just happened to mention German vs US layout, at least for that use-case there exists the us altgr-intl layout. You have a standard US layout but eg. type 'ü' with "Alt Gr" / "right Alt" + 'y'.

Doesn't IMEs already handle this?

alternate use-case: games that provide no options for configuring keyboard controls could be customized by changing the layout.  xkb already provides for a global list of layouts to switch through, but a layout specific to one program would just clutter up the global list.
this will probably be something that would need to wait until #6 is implemented anyway, and might be fairly easy depending on how that's done.

Yep solving #6 makes this possible. However IME's should already be able to do switching. Though there is no IME support for wayland native programs implemented yet, don't remember if the protocol for that was even in wayland-protocols.

authors: Cloudef LeonardKoenig gonzote xXWebinterfaceXx

repo: Cloudef/wlc


text:
undefined symbol error

@Cloudef hello there, saw your post on lobsters =), trying to use here I got undefined symbol error during compilation...
run
└─ run coro_wttr
   └─ zig build-exe coro_wttr Debug native 1 errors
error: undefined symbol: _zefi_stack_swap

fyi as I discussed with @kprotty some weeks ago https://github.com/kprotty/zefi/pull/2#discussion_r1636485175 well I just added a temporary fix...

Hmm, It seems aarch64 has been assuming darwin this whole time then.
Does this approach work as well?
From a479ae0fb19990f562b56c4f587beb3e861ab7c5 Mon Sep 17 00:00:00 2001
From: Jari Vetoniemi <jari.vetoniemi@cloudef.pw>
Date: Mon, 22 Jul 2024 10:56:38 +0900
Subject: [PATCH] zefi: darwin requires _ prefixed symbol names

---
 src/coro/zefi.zig | 113 ++++++++++++++++++++++++----------------------
 1 file changed, 59 insertions(+), 54 deletions(-)

diff --git a/src/coro/zefi.zig b/src/coro/zefi.zig
index cd0b18e..155784b 100644
--- a/src/coro/zefi.zig
+++ b/src/coro/zefi.zig
@@ -217,34 +217,39 @@ const Intel_Microsoft = struct {
     }
 };

+const symbol = switch (builtin.target.os.tag) {
+    .macos => "_zefi_stack_swap",
+    else => "zefi_stack_swap",
+};
+
 const Intel_SysV = struct {
     pub const word_count = 7;

     pub const entry_offset = word_count - 1;

     comptime {
-        asm (
-            \\.global zefi_stack_swap
-            \\zefi_stack_swap:
-            \\  pushq %rbx
-            \\  pushq %rbp
-            \\  pushq %r12
-            \\  pushq %r13
-            \\  pushq %r14
-            \\  pushq %r15
-            \\
-            \\  movq %rsp, (%rdi)
-            \\  movq (%rsi), %rsp
-            \\
-            \\  popq %r15
-            \\  popq %r14
-            \\  popq %r13
-            \\  popq %r12
-            \\  popq %rbp
-            \\  popq %rbx
-            \\
-            \\  retq
-        );
+        asm (std.fmt.comptimePrint(
+                \\.global {[symbol]s}
+                \\{[symbol]s}:
+                \\  pushq %rbx
+                \\  pushq %rbp
+                \\  pushq %r12
+                \\  pushq %r13
+                \\  pushq %r14
+                \\  pushq %r15
+                \\
+                \\  movq %rsp, (%rdi)
+                \\  movq (%rsi), %rsp
+                \\
+                \\  popq %r15
+                \\  popq %r14
+                \\  popq %r13
+                \\  popq %r12
+                \\  popq %rbp
+                \\  popq %rbx
+                \\
+                \\  retq
+            , .{ .symbol = symbol }));
     }
 };

@@ -254,37 +259,37 @@ const Arm_64 = struct {
     pub const entry_offset = 0;

     comptime {
-        asm (
-            \\.global _zefi_stack_swap
-            \\_zefi_stack_swap:
-            \\  stp lr, fp, [sp, #-20*8]!
-            \\  stp d8, d9, [sp, #2*8]
-            \\  stp d10, d11, [sp, #4*8]
-            \\  stp d12, d13, [sp, #6*8]
-            \\  stp d14, d15, [sp, #8*8]
-            \\  stp x19, x20, [sp, #10*8]
-            \\  stp x21, x22, [sp, #12*8]
-            \\  stp x23, x24, [sp, #14*8]
-            \\  stp x25, x26, [sp, #16*8]
-            \\  stp x27, x28, [sp, #18*8]
-            \\
-            \\  mov x9, sp
-            \\  str x9, [x0]
-            \\  ldr x9, [x1]
-            \\  mov sp, x9
-            \\
-            \\  ldp x27, x28, [sp, #18*8]
-            \\  ldp x25, x26, [sp, #16*8]
-            \\  ldp x23, x24, [sp, #14*8]
-            \\  ldp x21, x22, [sp, #12*8]
-            \\  ldp x19, x20, [sp, #10*8]
-            \\  ldp d14, d15, [sp, #8*8]
-            \\  ldp d12, d13, [sp, #6*8]
-            \\  ldp d10, d11, [sp, #4*8]
-            \\  ldp d8, d9, [sp, #2*8]
-            \\  ldp lr, fp, [sp], #20*8
-            \\
-            \\  ret
-        );
+        asm (std.fmt.comptimePrint(
+                \\.global {[symbol]s}
+                \\{[symbol]s}:
+                \\  stp lr, fp, [sp, #-20*8]!
+                \\  stp d8, d9, [sp, #2*8]
+                \\  stp d10, d11, [sp, #4*8]
+                \\  stp d12, d13, [sp, #6*8]
+                \\  stp d14, d15, [sp, #8*8]
+                \\  stp x19, x20, [sp, #10*8]
+                \\  stp x21, x22, [sp, #12*8]
+                \\  stp x23, x24, [sp, #14*8]
+                \\  stp x25, x26, [sp, #16*8]
+                \\  stp x27, x28, [sp, #18*8]
+                \\
+                \\  mov x9, sp
+                \\  str x9, [x0]
+                \\  ldr x9, [x1]
+                \\  mov sp, x9
+                \\
+                \\  ldp x27, x28, [sp, #18*8]
+                \\  ldp x25, x26, [sp, #16*8]
+                \\  ldp x23, x24, [sp, #14*8]
+                \\  ldp x21, x22, [sp, #12*8]
+                \\  ldp x19, x20, [sp, #10*8]
+                \\  ldp d14, d15, [sp, #8*8]
+                \\  ldp d12, d13, [sp, #6*8]
+                \\  ldp d10, d11, [sp, #4*8]
+                \\  ldp d8, d9, [sp, #2*8]
+                \\  ldp lr, fp, [sp], #20*8
+                \\
+                \\  ret
+            , .{ .symbol = symbol }));
     }
 };
--
2.45.2

Fixed here 69bbac5be031e3b9982026ac354021bb38cdd5f6
Thanks!

authors: Cloudef dgv

repo: Cloudef/zig-aio


text:
如何使用自定义数据集

我想要在预训练和指令微调部分使用自己的训练语料。请问数据集格式和自定义使用有具体要求吗？

看datasets目录下的代码

authors: Twilightsh boy-hack

repo: Clouditera/secgpt


text:
Local system environment setup

Write a proper note on how one can set up this project in his local machine.
We don't need to give the env there but we can ask them to drop a mail to the Official ClueLess email for the env and we will send the env after validation.
See the documentation of Booklee to know how to document the env part.

local_env_setup_guide.md has been configured

Done for now! @Debajyoti14


text:
Dev Community

Description

The changes made in this pull request should be briefly described.
I have added a class with methods to be able to scrape latest articles from DevCommunity, scrape latest articles with a given Tag, scrape User data, pinned articles written by the user, all articles written by that user.

Resolves: #353
Checklist

Before submitting this pull request, kindly verify that the ensuing checkpoints have been reached.

[x] Have you adhered to the repository's defined coding convention rules?
[x] Have you updated the 'documentation.md' file with the method/function documentation?
[x] Have you sent a message along with the result or response?
[x] Have you used the try-catch technique?
[x] Has the method/class been added to the documentation (md file)?

Screenshots

Uploading a screenshot illustrating the approach you developed for validation is required.

Additional Notes/Comments

Any additional remarks or suggestions concerning this pull request are welcome.
I have added all the methods under one class DevCommunity  based on your feedback on my previous PR.  Please run each method individually to check it is correct.

I certify that I have carried out the relevant checks and provided the requisite screenshot for validation by submitting this pull request.
I appreciate your contribution.

Great work @roberanegussie !!
Do not forget to

Share your contribution on socials(twitter mainly), tag us and Clueless 🫂
Give this repository a star ✨
Follow Clueless Community on GitHub ✅

@nikhil25803  Thank you for merging my PR but there was a bit error in the documentation file that I have now corrected a minute ago would you please merge the latest DevCommunity2 branch.
I will share my contribution on socials as well.

Sure @roberanegussie | Thanks for letting me know.

repo: Clueless-Community/scrape-up


text:
create design system for form groups

Need to improve this component on \<Component name>\src\<File Name.html>
Improvements required :
Any reference image?
Any external reference?
You can checkout this one for better understanding.

assign me @Rajdip019 @rupsha014

@Tushar98644 go ahead

repo: Clueless-Community/seamless-ui


text:
Mark all Flocker-created iptables rules with a comment

Forwarding a port involves creating three iptables rules.  One of these gets a comment reflecting that Flocker created it.  The other two should as well.

We are moving our development planning to JIRA. This issue is now being tracked at https://clusterhq.atlassian.net/browse/FLOC-56. You are welcome to file additional issues in GitHub if that's easier for you.

authors: adamtheturtle exarkun

repo: ClusterHQ/flocker


text:
Flag unused parameters as being unused to silence strict warnings

Turning on strict warnings causes complaints about unused parameters.  Flag those parameters as unused to eliminate those warnings.

Thanks @hughescr.
It looks like Travis is failing, but it's not related to this change. I see a lot of other projects failing on Travis builds due to:
pod setup --silent

No output has been received in the last 10m0s, this potentially indicates a stalled build or something wrong with the build itself.

...always fun times when your build server takes >10 minutes to change directories :)

authors: bpoplauschi hughescr

repo: CocoaLumberjack/CocoaLumberjack


text:
Error loading the plugin cocoapods-rome-0.7.0.

pod install is generating this issue:
---------------------------------------------
Error loading the plugin `cocoapods-rome-0.7.0`.

Gem::ConflictError - Unable to activate cocoapods-rome-0.7.0, because fourflusher-2.0.1 conflicts with fourflusher (~> 1.0.0)
/usr/local/opt/rbenv/versions/2.3.1/lib/ruby/site_ruby/2.3.0/rubygems/specification.rb:2288:in `raise_if_conflicts'
/usr/local/opt/rbenv/versions/2.3.1/lib/ruby/site_ruby/2.3.0/rubygems/specification.rb:1408:in `activate'
/usr/local/opt/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/claide-1.0.1/lib/claide/command/plugin_manager.rb:93:in `safe_activate_and_require'
/usr/local/opt/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/claide-1.0.1/lib/claide/command/plugin_manager.rb:31:in `block in load_plugins'
/usr/local/opt/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/claide-1.0.1/lib/claide/command/plugin_manager.rb:30:in `map'
/usr/local/opt/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/claide-1.0.1/lib/claide/command/plugin_manager.rb:30:in `load_plugins'
/usr/local/opt/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/claide-1.0.1/lib/claide/command.rb:326:in `block in run'
/usr/local/opt/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/claide-1.0.1/lib/claide/command.rb:325:in `each'
/usr/local/opt/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/claide-1.0.1/lib/claide/command.rb:325:in `run'
/usr/local/opt/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/cocoapods-1.1.1/lib/cocoapods/command.rb:50:in `run'
/usr/local/opt/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/cocoapods-1.1.1/bin/pod:55:in `<top (required)>'
/usr/local/opt/rbenv/versions/2.3.1/bin/pod:22:in `load'
/usr/local/opt/rbenv/versions/2.3.1/bin/pod:22:in `<main>'
---------------------------------------------

Any chance to see #53 get pulled soon?

@klaas it's just awaiting review

authors: RafaelPlantard klaas segiddins

repo: CocoaPods/Rome