text:
How to change background of hint/next labels?

The rounded background behind the hint label is always solid white and rounded. Other parts can be customized, would be great to be able to customize or at least remove entirely (make clear). Any suggestions? Thanks.

Hi @stevehartford, you can provide custom views. The defaults views are not really meant to be customized.
That said, the next version of Instructions will drop the image backgrounds and draw them programmatically instead. You'll be able to customise the background color, the border color and the corner radius.

I'm closing since version 2.0.0 lets you customise a few things, see here.

authors: ephread stevehartford

repo: ephread/Instructions


text:
Compilation fails

Compilation currently fails due to some workspace members due to some serialization error.
│ 56   |     Timing(String, Arc<Mutex<Timing>>),                                                                                │
│      |                    ^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `Arc<parking_lot::lock_api::Mutex<parking_lot::RawMutex, profiling::Timing>>`                                                                                │

│ 53  | #[derive(Debug, Deserialize, EnumDebug, Serialize)]                                                                                │
│     |                                         ^^^^^^^^^ the trait `Serialize` is not implemented for `Arc<ProfileScope>`

And a couple others.
This occurs in: brane-dsl, brane-cfg, brane-shr
EDIT: This only seems to fail when built from the workspace member. If you compile everything at once using --workspace it works just fine. Weird.

Found it, the rc flag is missing from serde in the mentioned workspace members. This does not fail when compiling with --workspace, I think because it reuses a compilation where the rc flag was enabled. Not sure if this is a bug in cargo or intended behaviour.

Fix has been merged

source: gharchive/issue

repo: epi-project/brane

license_type: permissive

license_source: github-api


text:
Re-enable google analytics for vuestic admin

Probably makes sense to do after https://github.com/epicmaxco/vuestic-ui/issues/3601.
Previously we had google-analytics enabled for vuestic admin, but it was disabled at some point (we also didn't use it that much). There are some leftovers, but it doesn't work for now.
Right now we want to focus on analytics, so let's re-enable it.
Here's an ID for vuestic.epicmax.co: G-T0ZS861F5G.
What we have to do is:

[ ] Enable google analytics (you can use vuestic-ui implementation (docs/modules/google-analytics), or external library, whatever works)

We want to have 2 keys (on/off and google-analytics key) - see explanation in https://github.com/epicmaxco/vuestic-ui/issues/3601

[ ] Introduce privacy policy page (also see https://github.com/epicmaxco/vuestic-ui/issues/3601). For privacy policy page make note that for admin - it's trickier. As policy page is used for admin site (when user checks admin pages) and also users will repurpose policy and analytics for their own usage, so it's also a pre-fabricated solution of sorts.

Finish after vuestic-admin fixes
Also see https://github.com/epicmaxco/vuestic-admin/pull/925

On hold before we have vuestic-admin fixed. Right now newest version is broken.

Done

repo: epicmaxco/vuestic-admin

license: MIT


text:
Found a very strange error(It seems to reload once (twice total)

I followed the standard documentation line by line without adding any additional steps, then ran it, opened the browser to access it, and found that when loading the page, it seemed to reload once (twice in total) and then I saw this error log through the browser console.

It's the hydration mismatch error. It appears to be coming from the nonce value in the links scripts. I've tried to fix this but to no avail. This article will give you some context on the issue https://www.jacobparis.com/content/remix-hydration-errors

I've just added a documentation bit about this: https://github.com/epicweb-dev/epic-stack/blob/main/docs/troubleshooting.md#hydration-mismatch

The browser strips the nonce from the DOM before executing any JavaScript for security reasons

Great to know! I almost lost my mind debugging this :)

authors: Alvazz hilja kentcdodds lsbyerley

repo: epicweb-dev/epic-stack


text:
699 remove gitea

Fixes #699

This PR is missing a test to check that old objects are deleted from S3 when a new staging is successful. Also has some TODOs in code that need fixing.
The functionality is there already though. Epinio deploys and uses Minio if no external S3 settings are provided. It is using the external S3 storage otherwise.

I still want to fix this: https://github.com/epinio/epinio/pull/788/files#diff-44a311773090a2abd70d10d9f026c5d98e1a8f88f37381e50f8b4a30fe784854R316 (not fail when trying to delete an already deleted object from S3) and then update the documentation.
I want to get the code review done first before I write the documentation to avoid having to update docs (and images) again after code review. If this PR gets an approval I can move the documentation update to another PR.
I will open for review now, I will work on the last issue above in the meantime.

I tested the PR once again with AWS S3 to see if metadata work there too:

All good!

source: gharchive/pull-request

authors: jimmykarily manno

repo: epinio/epinio


text:
Start haproxy service after rsyslog

Fix issue found by automated tests:
If haproxy service starts before rsyslog there is no log file (/var/log/haproxy.log).
Fix HAProxy and rsyslog warnings
Add automatic restarts for haproxy service

/azp run

repo: epiphany-platform/epiphany


text:
$ref errors with ajv 6

Updating ajv-merge-patch devDependency to ajv@6.5.1 produces the following test failures:
  1) async schema loading "before each" hook for "should load missing schemas":
     can't resolve reference http://json-schema.org/draft-06/schema# from id #

  2) errors missing $ref "before each" hook for "should throw exception if cannot resolve $ref":
     can't resolve reference http://json-schema.org/draft-06/schema# from id #

  3) keyword $merge "before each" hook for "should extend schema defined in $merge":
     can't resolve reference http://json-schema.org/draft-06/schema# from id #

  4) keyword $patch "before each" hook for "should extend schema defined in $patch":
     can't resolve reference http://json-schema.org/draft-06/schema# from id #

I ran into these errors trying to use relative $ref as the source in my schema.

I stupidly forgot to update the tests to add the draft-06 meta schema before capturing the error.
With this patch:
diff --git a/spec/merge.spec.js b/spec/merge.spec.js
index c9a573b..6b3aea8 100644
--- a/spec/merge.spec.js
+++ b/spec/merge.spec.js
@@ -10,6 +10,11 @@ describe('keyword $merge', function() {

   beforeEach(function() {
     ajvInstances = [ new Ajv, new Ajv ];
+    ajvInstances.forEach(
+      function (ajv) {
+        ajv.addMetaSchema(require('ajv/lib/refs/json-schema-draft-06.json'));
+      }
+    );
     addKeywords(ajvInstances[0]);
     addMerge(ajvInstances[1]);
   });
diff --git a/spec/patch.spec.js b/spec/patch.spec.js
index 11ea424..42c938b 100644
--- a/spec/patch.spec.js
+++ b/spec/patch.spec.js
@@ -10,6 +10,11 @@ describe('keyword $patch', function() {

   beforeEach(function() {
     ajvInstances = [ new Ajv, new Ajv ];
+    ajvInstances.forEach(
+      function (ajv) {
+        ajv.addMetaSchema(require('ajv/lib/refs/json-schema-draft-06.json'));
+      }
+    );
     addKeywords(ajvInstances[0]);
     addPatch(ajvInstances[1]);
   });

The tests failures related to my issue are:

  3) keyword $merge should extend schema defined in $ref:
     Error: schema with key or id "" already exists
      at checkUnique (node_modules/ajv/lib/ajv.js:478:11)
      at Ajv.addSchema (node_modules/ajv/lib/ajv.js:135:3)
      at testMerge (spec/merge.spec.js:55:11)
      at Array.forEach (<anonymous>)
      at Context.<anonymous> (spec/merge.spec.js:45:18)

  4) keyword $merge should extend schema defined with relative $ref:
     can't resolve reference #/definitions/source from id #

  5) keyword $merge should extend schema with patch defined with relative $ref:
     can't resolve reference #/definitions/patch from id #

  6) keyword $patch should extend schema defined in $ref:
     Error: schema with key or id "" already exists
      at checkUnique (node_modules/ajv/lib/ajv.js:478:11)
      at Ajv.addSchema (node_modules/ajv/lib/ajv.js:135:3)
      at testPatch (spec/patch.spec.js:55:11)
      at Array.forEach (<anonymous>)
      at Context.<anonymous> (spec/patch.spec.js:45:18)

  7) keyword $patch should extend schema defined with relative $ref:
     can't resolve reference #/definitions/source from id #

I found that changing id to $id fixes the test cases in this library when used with ajv >= 6. Is there some reason why an id is required for internal refs?

I think I've figured this out - trying to resolve a $ref in a macro custom keyword did not work, presumably b/c the root schema is undergoing compilation when the macro is evaluated.
The following patch to ajv fixes the issue:
diff --git a/lib/compile/resolve.js b/lib/compile/resolve.js
index cdd1a59..1f2a786 100644
--- a/lib/compile/resolve.js
+++ b/lib/compile/resolve.js
@@ -70,7 +70,7 @@ function resolveSchema(root, ref) {
   var p = URI.parse(ref)
     , refPath = _getFullPath(p)
     , baseId = getFullPath(this._getId(root.schema));
-  if (refPath !== baseId) {
+  if (!(root instanceof SchemaObject) || refPath !== baseId) {
     var id = normalizeId(refPath);
     var refVal = this._refs[id];
     if (typeof refVal == 'string') {

I think I can write a test case for this in ajv and open a PR there to resolve the issue.

I’ll need to catch up with it :)
I will review it over weekend.

I’d say we need to split these 2 issues. Firstly, it looks like this library wasn’t updated for draft-07/ajv v6. Could you please make a PR to address this here? That will be a major release.
Secondly, as I understood, the issue in this this library (after this update) is a generic one related to macro keywords (that’s what I need to catch up with). It would definitely help to help the simplest possible failing test case in ajv, without this library, that would demonstrate this issue.

Thank you @jstewmon

@epoberezkin thanks for taking a look.
I submitted a PR to ajv with my fix and a minimal test case.
I submitted a PR here to update the peer dep to >= v6.0.0.

Thank you

It's merged

authors: epoberezkin jstewmon

repo: epoberezkin/ajv-merge-patch

license: mit

license_source: bigquery


text:
Fix reference to external schemas

Note
All tests have passed but I did not perform any manual testing and I am a bit confused I did not break anything. I guess the test suite is lacking a test case for this particular scenario but I'm not sure if I should implement a test and if so where/how.
If a test is required please give me inputs.
BTW I like what you do here :)
Use case
var Ajv = require('ajv');
var ajv = Ajv();

var schema = {
  type: "object",
  properties: {
    whatever: { type: "string" },
    title: {
      "$ref": "http://json-schema.org/draft-04/schema#/properties/title"
    },
  }
}
var validate = ajv.compile(schema);

Error trace
/home/cyp/node_modules/ajv/lib/compile/resolve.js:189
	return id ? id.replace(TRAILING_SLASH_HASH, '') : '';
	               ^

TypeError: id.replace is not a function
    at normalizeId (/home/cyp/node_modules/ajv/lib/compile/resolve.js:189:17)
    at resolveUrl (/home/cyp/node_modules/ajv/lib/compile/resolve.js:194:7)
    at Ajv.getJsonPointer (/home/cyp/node_modules/ajv/lib/compile/resolve.js:89:28)
    at Ajv._resolve (/home/cyp/node_modules/ajv/lib/compile/resolve.js:71:24)
    at Ajv.resolve (/home/cyp/node_modules/ajv/lib/compile/resolve.js:30:21)
    at Object.resolveRef (/home/cyp/node_modules/ajv/lib/compile/index.js:97:21)
    at Object.generate_ref [as code] (/home/cyp/node_modules/ajv/lib/dotjs/ref.js:41:22)
    at Object.generate_validate [as validate] (/home/cyp/node_modules/ajv/lib/dotjs/validate.js:44:35)
    at Object.generate_properties [as code] (/home/cyp/node_modules/ajv/lib/dotjs/properties.js:145:26)
    at generate_validate (/home/cyp/node_modules/ajv/lib/dotjs/validate.js:44:35)

I've added a console.log at line 88 of resolve.js to output information about the reference that fails:
The added line:
if (!(schema.id instanceof String)) console.log('baseId', baseId, 'id', schema.id, schema.title);

The output:
baseId http://json-schema.org/draft-04/schema# id { type: 'string', format: 'uri' } { type: 'string' }

Analysis
The loop reads the parts of the URL and I expect it to append the parts to the base id and remove the additional # characters. So I replaced schema.id by part in the method resolveUrl.

Thank you :)
This line caters for a rarely used ID substitution where ID in the schema becomes a base ID and all URIs inside are resolved relatively to this ID. I don't think that this is a correct fix... The correct fix would be to ignore id properties inside objects that are not schemas (the value of properties keyword is one such object). Simply replacing id with part will break ID substitution logic in some cases.
The fact that nothing was broken is interesting indeed - it means that ID substitution has insufficient test coverage (there is one test for this I think).
I will create issues

Great !
Looks like I'm missing a bit of background to fix this myself but I'd be interested in testing your fixes against my use cases. Please let me know when you've looked into it :)

No problem, I'll probably look at it today evening

@quilicicf It's fixed and published to npm.

@epoberezkin works just fine thanks a lot !

authors: epoberezkin quilicicf

repo: epoberezkin/ajv


text:
metal ip request should support metro flag

The metal ip request command supports --facility but not --metro.

Additionally, --quantity should offer better help to explain the limitations on valid address sizes.

Additionally, the Address field response is an arbitrary member of the pool. The CIDR should be returned.

repo: equinix/metal-cli


text:
Create SECURITY.md

Create SECURITY.md and add related content to the file

Already exists

authors: SindreMohr johnvikbouvet

repo: equinor/opt-ui


text:
Fixed setting of global log level for webviz application

Fixed the way global log level specified through the --loglevel command line argument is applied in awebviz application.

[x] :tada: This PR closes #434.
[x] :book: I have considered adding a new entry in CHANGELOG.md, and added it if should be communicated there.

LGTM! :+1: Before we merge this, we should update the changelog (what is mentioned as unreleased in CHANGELOG.md in current master is recently released).

CHANGELOG.md updated - i.e. a rebase + update position of changelog entry should be enough and we can take this in :bug: :bee:

authors: anders-kiaer sigurdp

repo: equinor/webviz-config


text:
the path of the log file

Is it possible to customize the path of the log file?

I think, if you write the whole path with the filename to LOG_FILE_NAME, it should work. Please try it!

thank you, it works!


text:
Ci

Travis Continuous integration

@FlanFlanagan I got it to build in circle but it will only do the build job.. do you know what might be going on?

I also added no_inst_fleet_unit_tests and it passes.

Looks good to me!


text:
Linuxbrew Bottle Corrupt

I got the Linuxbrew bottle downloaded but it says the file is not executable and cannot execute binary file.
After chmoding the file, I get: cannot execute binary file: Exec format error
johria@DESKTOP-KTRH652:~$ brew update && brew install pup
Already up-to-date.
==> Downloading https://linuxbrew.bintray.com/bottles/pup-0.4.0.x86_64_linux.bottle.1.tar.gz
Already downloaded: /home/johria/.cache/Homebrew/downloads/74cd194299ea70ed30e5605660e988ff1fcc716c6eeb3d7fb4e9046f27490914--pup-0.4.0.x86_64_linux.bottle.1.tar.gz
==> Pouring pup-0.4.0.x86_64_linux.bottle.1.tar.gz
🍺  /home/linuxbrew/.linuxbrew/Cellar/pup/0.4.0: 5 files, 3.9MB
johria@DESKTOP-KTRH652:~$ pup
-bash: /home/linuxbrew/.linuxbrew/bin/pup: Permission denied
johria@DESKTOP-KTRH652:~$ ls -lha /home/linuxbrew/.linuxbrew/bin/pup
lrwxrwxrwx 1 johria johria 27 Apr 13 12:27 /home/linuxbrew/.linuxbrew/bin/pup -> ../Cellar/pup/0.4.0/bin/pup

johria@DESKTOP-KTRH652:~$ ls -lha /home/linuxbrew/.linuxbrew/Cellar/pup/0.4.0/bin/pup
-r--r--r-- 1 johria johria 3.9M Jul 23  2016 /home/linuxbrew/.linuxbrew/Cellar/pup/0.4.0/bin/pup

johria@DESKTOP-KTRH652:~$ chmod +x  /home/linuxbrew/.linuxbrew/Cellar/pup/0.4.0/bin/pup
johria@DESKTOP-KTRH652:~$ pup
-bash: /home/linuxbrew/.linuxbrew/bin/pup: cannot execute binary file: Exec format error

Oh strange, building from source via brew has the same affect:
johria@DESKTOP-KTRH652:~$ brew install -s pup
==> Installing dependencies for pup: go and gox
==> Installing pup dependency: go
==> Downloading https://linuxbrew.bintray.com/bottles/go-1.14.2_1.x86_64_linux.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/3d/3d95c095cc8b02464a7950c705d429e70565616e740a2e6bd5b655a54e914a06?__gda__=exp=1586796197~hmac=e88a
######################################################################## 100.0%
==> Pouring go-1.14.2_1.x86_64_linux.bottle.tar.gz
🍺  /home/linuxbrew/.linuxbrew/Cellar/go/1.14.2_1: 9,438 files, 423.2MB
==> Installing pup dependency: gox
==> Downloading https://linuxbrew.bintray.com/bottles/gox-1.0.1.x86_64_linux.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/bd/bda9de3c8d267ae18fbcca0942784c4a4401b130b0bd83fdee7c4df8f199b50c?__gda__=exp=1586796217~hmac=b13a
######################################################################## 100.0%
==> Pouring gox-1.0.1.x86_64_linux.bottle.tar.gz
🍺  /home/linuxbrew/.linuxbrew/Cellar/gox/1.0.1: 5 files, 4.0MB
==> Installing pup
==> Downloading https://github.com/ericchiang/pup/archive/v0.4.0.tar.gz
==> Downloading from https://codeload.github.com/ericchiang/pup/tar.gz/v0.4.0
######################################################################## 100.0%
==> gox -arch amd64 -os darwin ./...
🍺  /home/linuxbrew/.linuxbrew/Cellar/pup/0.4.0: 5 files, 4.1MB, built in 4 seconds

johria@DESKTOP-KTRH652:~$ pup
-bash: /home/linuxbrew/.linuxbrew/bin/pup: Permission denied

johria@DESKTOP-KTRH652:~$ chmod +x  /home/linuxbrew/.linuxbrew/Cellar/pup/0.4.0/bin/pup
johria@DESKTOP-KTRH652:~$ pup
-bash: /home/linuxbrew/.linuxbrew/bin/pup: cannot execute binary file: Exec format error

Fixed! https://github.com/Homebrew/linuxbrew-core/pull/20099
Also fixes https://github.com/ericchiang/pup/issues/132

repo: ericchiang/pup


text:
Handle zero-length Span inputs for sqlite3_bind_text*

Same as sqlite3_bind_blob, the SQLite C APIs sqlite3_bind_text* require the data pointer argument to be non-null to actually accept zero-length input. Otherwise, when a null data pointer is passed, the explicit length is ignored and a SQLITE_NULL value is bound instead.
This PR updates sqlite3_bind_text and sqlite3_bind_text16 to handle zero-length ReadOnlySpans, by substituting a valid pointer for the zero-length case.
The generated sqlite3_bind_blob code already handled this scenario by allocating a new byte[] for each call e.g. at:
https://github.com/ericsink/SQLitePCL.raw/blob/9c66b4f618d9d6831e83c16a8036daea83df4ddb/src/providers/provider.tt#L1586-L1595
This PR proposes a potentially lower-overhead solution (passing the address of a local) for both sqlite3_bind_text* and sqlite3_bind_blob, as suggested by Span<T> usage Rule #9:

In the previous example, pbData can be null if, for example, the input span is empty. If the exported method absolutely requires that pbData be non-null, even if cbData is 0, the method can be implemented as follows

These changes address the sqlite3_bind_text* functions behavior when called with empty ReadOnlySpan.
Fixes https://github.com/ericsink/SQLitePCL.raw/issues/557

I made a code change similar to this PR, but keeping the explicit checks for Length == 0.  Thanks!


text:
OCMock 3.8 does not compile in Xcode 11

Introduced in ee79b169e2199f3d4d0911fcc9a4a74813d89f66, OCMock 3.8 does not compile anymore in Xcode 11 as the code being used is only available in Xcode 12 or newer. This was not called out in the release notes nor was a major revision made, so I would consider this non-passive. This can be resolved by placing the code in compile checks, or if this is intended, this should be reverted and 3.8.1 released to restore compatibility with Xcode 11 and then the change remade and re-released as OCMock 4.0.
https://github.com/erikdoe/ocmock/blob/7438b18c4e0c3d40665c66b4b81f8ecbdd245462/Source/OCMock/OCMFunctions.m#L466-L476

Apologies, it looks like I missed the availability note in the documentation. It's curious, though, because I could have sworn that the deprecation warning for the older API appeared before Xcode 12, so I didn't expect that the replacement would require Xcode 12. Well, that teaches me to respond to Apple's deprecating warnings in a timely manner.
(Minor rant: of course I'm aware of Apple's tendency to push for the latest and greatest quite aggressively, but I also feel this is getting worse these days. The other day I tried to use a new feature of Swift UI and it suddenly required Big Sur as a minimum deployment target...)
Do you happen to know how to do compile time checks for the Xcode version? If that's not possible, I guess, I could always look up the classes by their name; at least that works in Objective-C.

No worries Erik. If we're talking about Apple being Apple we can also rant about their missing documentation 🙃.
To fix this, you can pull in the Availability header (<Availability.h>) and use the __IPHONE_X_Y definition (or macOS/tvOS your choice) in an #ifndef. So if we need to check for Xcode 12+, that would look something like:
#ifndef __IPHONE_14_0
if (newThing) {
  // Do new thing
}
else {
  // Do old thing
}
#else
 // Do old thing
#endif

It unfortunately leads to a bit of code duplication, but it makes things backwards compatible. Luckily XCTest is shipped in Xcode itself and not the SDKs, otherwise you'd have to wrap things in the @available check too.

I think I fixed it.

repo: erikdoe/ocmock


text:
Easier tab completion

Hi there,
I stumpled across a nice feature in https://github.com/davetron5000/gli . If you call
cmd help -c

it only returns the subcommands which can be invoked (no more help text). It would be great to see a similar functionality in thor as well.
cmd help -c
new
rm
chg

cmd new help -c
file
pic
vid

#or

cmd subcmds
new
rm
chg

cmd new subcmds
file
pic
vid

If there is that kind of functionality given in thor, I would be grateful if you point me to the documentation of it. Thx.
Cheers max meyer

:+1:

authors: maxmeyer ms-ati

repo: erikhuda/thor


text:
403 Client Error: Forbidden ...

it used to work until today about 16:00 CET
no change to my best knowledge
did already several reboots, new pull of hass-WEM-Portal
error persists
This is an excerpt of my logfile:
2024-10-10 17:54:50.914 WARNING (MainThread) [custom_components.wemportal] Creating new wemportal api instance
Traceback (most recent call last):
File "/config/custom_components/wemportal/wemportalapi.py", line 195, in api_login
response.raise_for_status()
File "/usr/local/lib/python3.12/site-packages/requests/models.py", line 1024, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://www.wemportal.com/app/Account/Login
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/config/custom_components/wemportal/wemportalapi.py", line 88, in fetch_data
self.api_login()
File "/config/custom_components/wemportal/wemportalapi.py", line 208, in api_login
raise ForbiddenError(
custom_components.wemportal.exceptions.ForbiddenError: WemPortal forbidden error: Server returned internal status code:  and message:
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/config/custom_components/wemportal/coordinator.py", line 47, in _async_update_data
x = await self.hass.async_add_executor_job(self.api.fetch_data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/wemportal/wemportalapi.py", line 142, in fetch_data
raise WemPortalError from exc
custom_components.wemportal.exceptions.WemPortalError
2024-10-10 17:54:51.059 ERROR (MainThread) [custom_components.wemportal] Error fetching data from wemportal
Traceback (most recent call last):
File "/config/custom_components/wemportal/wemportalapi.py", line 195, in api_login
response.raise_for_status()
File "/usr/local/lib/python3.12/site-packages/requests/models.py", line 1024, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://www.wemportal.com/app/Account/Login

took some 15-20 MInutes until it resolved "on its own"
closing this issue

took some 15-20 MInutes until it resolved "on its own"
closing this issue

repo: erikkastelec/hass-WEM-Portal


text:
form states

give styling to the ng-pristine, ng-dirty, ng-untouched?, ng-valid, ng-invalid.

should apply to all forms.
so far, forms include:

login view
search view

repo: erinpagemd/template-gulp-jade-bootstrap


text:
Status() added along with a helpful gofmt

Signed-off-by: VoR0220 rj@erisindustries.com

LGTM; will merge but take note that I'll change the signature of that function in a bit !

repo: eris-ltd/eris-db


text:
Memory errors uncovered by fuzzing

Lionel Debroux did a round of testing glulxe with deliberately corrupted game files and uncovered a variety of memory handling errors.
I'm not attaching all the data files from the run, for they are large. But here is the uniqued list of crash points:
   2     #0 0x437a90 in fread (.../glulxe/glulxe/glulxe+0x437a90)
  64     #0 0x4971cd in free (.../glulxe/glulxe/glulxe+0x4971cd)
   1     #0 0x4973e9 in malloc (.../glulxe/glulxe/glulxe+0x4973e9)
 265     #0 0x49744d in malloc (.../glulxe/glulxe/glulxe+0x49744d)
   2     #0 0x49fbf0 in __sanitizer::BufferedStackTrace::UnwindImpl(unsigned long, unsigned long, void*, bool, unsigned int) (.../glulxe/glulxe/glulxe+0x49fbf0)
   1     #0 0x4a2e00 in __asan::GetCurrentThread() (.../glulxe/glulxe/glulxe+0x4a2e00)
   1     #0 0x4b7584 in __sanitizer::StackDepotBase<__sanitizer::StackDepotNode, 1, 20>::Put(__sanitizer::StackTrace, bool*) (.../glulxe/glulxe/glulxe+0x4b7584)
   1     #0 0x4b7590 in __sanitizer::StackDepotBase<__sanitizer::StackDepotNode, 1, 20>::Put(__sanitizer::StackTrace, bool*) (.../glulxe/glulxe/glulxe+0x4b7590)
  16     #0 0x4c9a3c in pop_arguments .../glulxe/glulxe/vm.c:310:19
   8     #0 0x4c9a94 in pop_arguments .../glulxe/glulxe/vm.c:310:19
  39     #0 0x4c9b69 in pop_arguments .../glulxe/glulxe/vm.c:310:17
  16     #0 0x4c9d5f in pop_arguments .../glulxe/glulxe/vm.c:310:17
   1     #0 0x4d2dee in execute_loop .../glulxe/glulxe/exec.c:524:19
   1     #0 0x4d3b00 in enter_function .../glulxe/glulxe/funcs.c:64:5
   6     #0 0x4d588f in enter_function .../glulxe/glulxe/funcs.c:63:5
   9     #0 0x4d5c82 in pop_callstub .../glulxe/glulxe/funcs.c:231:17
  17     #0 0x4d5d31 in pop_callstub .../glulxe/glulxe/funcs.c:240:29
   2     #0 0x4d8065  (.../glulxe/glulxe/glulxe+0x4d8065)
 398     #0 0x4d8065 in parse_operands .../glulxe/glulxe/operand.c:427:19
   1     #0 0x4d8ed8 in parse_operands .../glulxe/glulxe/operand.c:433:19
 207     #0 0x4d939c in parse_operands .../glulxe/glulxe/operand.c:427:19
   1     #0 0x4d93c7 in parse_operands .../glulxe/glulxe/operand.c:430:19
 120     #0 0x4d95b0 in store_operand .../glulxe/glulxe/operand.c:555:5
  94     #0 0x4d9769 in store_operand .../glulxe/glulxe/operand.c:555:5
   2     #0 0x4d9c12 in store_operand_b .../glulxe/glulxe/operand.c:619:5
   1     #0 0x5099e7  (.../glulxe/glulxe/glulxe+0x5099e7)
  64     #0 0x5099e7 in glk_stream_open_file_uni .../glulxe/cheapglk/cgstream.c:317:18
   1     #0 0x50b15d in glk_stream_set_position .../glulxe/cheapglk/cgstream.c:520:18
   1     #0 0x516cde in gli_buffer_change_case .../glulxe/cheapglk/cgunicod.c:234:21
  10     #0 0x517c69 in gli_buffer_change_case .../glulxe/cheapglk/cgunicod.c:234:21
  79     #0 0x519dac in gli_buffer_canon_decompose_uni .../glulxe/cheapglk/cgunicod.c:368:21
   2     #0 0x52e30d in giblorb_initialize_map .../glulxe/cheapglk/gi_blorb.c:291:38
   1     #0 0x52e382 in giblorb_initialize_map .../glulxe/cheapglk/gi_blorb.c:264:26

glulxe_054_cheapglk_106_crashes_output.zip
Full stack traces for each crash are listed in this file (compressed).
The game files that generated these crashes are a large collection (55Mb compressed); I'll keep them on hand until I've looked at the errors.

After poking through that a bit, all the crashes in glulxe code fall into two categories:

The StkN()  / StkWN() macros;
Infinite recursion in buildcache() in string.c

The Stk macros can be tricked up with verify code (at the cost of some performance).
The buildcache code can have a depth limit. I'll have to see what the typical depth is in "normal" games, but the reported crashes are at about 240.
There are a few more crashes in cheapglk that I have not yet looked at. I suspect they result from passing a block of VM memory through the dispatch layer without checking its bounds. (I.e., passing VM memory through to gli_buffer_change_case().) This should be handleable by calling verify_address() in glkop somewhere.

Fixed a bunch of holes. Remaining in group 1:
1/crashes/id:000296,sig:11,src:004679+003734,time:513078710,op:splice,rep:4 -- glk_buffer_to_title_case_uni() gets ptr=null, len=0, numchars=1. Is this a glkop error? Whose job is it to check numchars<len?

Group 2:
2/crashes/id:000358,sig:06,src:004409,time:395055860,op:havoc,rep:8 -- gli_buffer_canon_decompose_uni() -- this is not a null pointer, it's something else.
2/crashes/id:000376,sig:06,src:004753,time:442584451,op:havoc,rep:2 -- gli_buffer_canon_decompose_uni()
2/crashes/id:000399,sig:06,src:002594,time:506480881,op:havoc,rep:4 -- glk_stream_set_position() in giblorb_load_chunk_by_number()

Group 3:
3/crashes/id:000262,sig:06,src:002830+000794,time:56824584,op:splice,rep:2 -- gli_buffer_canon_decompose_uni()
3/crashes/id:000289,sig:06,src:003088,time:69244735,op:havoc,rep:64 -- giblorb_initialize_map()
By the way, I'm retesting these crashes with libgmalloc.dylib, which is not necessarily going to pick up the same failures as Lionel found. Hopefully they're on the same page, though, no pun intended.

Would it be worth uploading the test files somewhere so that Git and Quixe could be tested too?

Ah, that is a good point. Hadn't thought of that.
It's 55MB and Github doesn't like attachments over 10MB. Let me see...

I guess what I should do is boil it down to one test case per crash point. That will only be about thirty rather than 1150 of them.

crash-gamefiles.zip
Here's a selection. This is a subset of the crashes listed in glulxe_054_cheapglk_106_crashes_output.zip (uploaded above).

Years ago, I had bad experiences with the crash minimizers, which is why I usually provide unfiltered sets of samples to maintainers, even if they can be 95+% redundant. If needed, I can privately provide the link to the full tarball, and/or upload the queue of samples produced by afl-fuzz (should be 10K+ files), so that you don't have to restart from scratch :)
With AFL (nowadays, AFL++), different implementations which consume the same input file formats can be fuzzed cooperatively, which can help increase the coverage faster in some cases. I used that approach when fuzzing the module / track loaders several years ago ( https://www.openwall.com/lists/oss-security/2017/11/02/8 ).
Fuzzing detects more issues with AddressSanitizer implementation (AFL_USE_ASAN=1 when building using CC=afl-clang-fast / CXX=afl-clang-fast++).
Honggfuzz is another good fuzzer, traditionally less oriented towards cooperative fuzzing. In my runs, it found several issues AFL didn't.
The input corpus I used was fairly small: it consisted of several dozen .ulx, .blb, .glblorb, .z5 files which do not exercise every possible language feature supported by glulxe. Fuzzing speed is higher on Linux - fast fork()+exec() and optimizations of that sequence - and higher with smaller input files, which would mean short texts and commands, tiny media files, etc. The games exercising the various file formats and language features don't have to make any sense to humans, they just need to provide good initial test coverage in order to reduce CPU time waste, and they need not to crash the interpreter.
Fuzzing an Inform compiler would probably be best done using a dictionary: flat plain text file of keyword_name="keyword" lines.

authors: curiousdannii debrouxl erkyrath

repo: erkyrath/glulxe


text:
A Pull Request on JavaScript Capstone Project.

In this Pull Request, we did the following:

Created the basic shared code on the home page.
Started individual interfaces.
Gave code reviews to your teammates.
Completed the work on individual interfaces.
Recorded a video for your project.
Created a good README and PR description.
Asked for the external review - using your Student Dashboard.

Thank you @binhussen
We will surely implement all the changes

Thank you so much @topeogunleye.
We were patiently waiting for some good news and this is the best news of the day for us.
Thank you.

Thank you so much @topeogunleye. We were patiently waiting for some good news and this is the best news of the day for us. Thank you.

@ernestmusong you're welcome

repo: ernestmusong/javascript-group-capstone


text:
Consider to delete MDBX_BUILD_TIMESTAMP

There is no logic based on this constant.
But it breaks reproducibility of app builds: shasum -a256 mybinary is different from build to build only because of MDBX_BUILD_TIMESTAMP.
Reproducibility checksum useful for security reasons - to check that no malware code was embedded into app sources during "release binary artifacts" process.

It was assumed that the ability to predefine MDBX_BUILD_TIMESTAMP for builds reproducibility would be added.
Looks like it's time to do it.

It works:
MDBX_BUILD_TIMESTAMP=unknown make config.h
make mdbx-static.o

authors: AskAlexSharov erthink

repo: erthink/libmdbx


text:
feat(esdoc-publish-html-plugin): Add directory matching for SingleDocBuilder

Currently ESDoc is putting all non-member functions, variables, and typedefs into the same "KIND/index.html" folder. This can lead to conflicts when module A exports the same function as module B.
This fix allows ESDoc to build non-member single pages based on the file paths for better documentation separation.
Example:
./moduleA.js -> exports async function configure();
./pluginB/moduleB.js -> exports async function configure();
Before:
This would put both configure() functions in "docs/function/index.html"
Now:
Two files are created, each now containing the correct configure() function:
./docs/function/index.html: Lists moduleA configure()
./docs/pluginB/function/index.html: Lists moduleB configure()

Currently this only supports variables, functions, and typedefs.
If two classes were to contain the same name, conflicts could occur as well even though they could be contained in different directories.
Example Conflict:
./classA.js -> export class A {}
./pluginB/classA.js -> export class A {}
Would we want to add support to break apart all definitions by directories?

Added "organizePaths" plugin option which defaults to true. False results in the original behavior. Tests support both options.

For now, I don't have the plan to changing directory structure.

repo: esdoc/esdoc-plugins


text:
Make plugin assignable to ESLint.Plugin

Linked Issues
Closes #398
Description
See the linked issue for a description of the problem.
Since the issue hasn't received any attention in a month, I decide to go ahead and try the solution I suggested there.
Again, you may know of a better solution to this problem, or perhaps you don't like this solution. If so, feel free to close this PR and we can try something else instead. I'm not familiar with this repository so I'm eager to accept correction.

Whoops, forgot to format the PR title as "fix:", so I guess it won't be included in the automatic changelog next release :(

repo: eslint-stylistic/eslint-stylistic


text:
Asking for help

This is great work, thank you.
Do you think it would be possible to do for the 15ITL05 BIOS as well?

Hi, thanks
unfortunately I can't help you out here.
I don't have any knowledge about that device nor do I have time right now to dig into it.
Sorry

authors: FreekHub esno

repo: esno/yoga-bios-unlock


text:
Feature/usb stream support

PTAL

+8,131 lines of code, PR comment :
"Please Take A Look"
Excellent !👌😁


text:
rmt::Transmit::start unsound?

It seems to me that once rmt::Transmit::start has been called, since the signal ownership was passed and rmt_write_items is called without block, the signal actually might (or probably will?) be dropped before actually writing out the items. I tested a bit and was able to get everything from memory access violation errors to watchdog errors. I suppose that start would have to return a handle that holds a reference to the signal and can't be dropped until the signal has been fully written. Having drop for the "signal transmit handle" block is controversial i suppose?

My only concern about keeping only the blocking API would be using multiple channels. It would be nice to be able to block on writing out n different signals on different channels simultaneously with a single thread.
The blocking API could be extended to make that possible, and then the nonblocking one could be dropped.
The nonblocking API could be kept if it can be ensured that signals can only be passed by value which is dropped on completion. Or by reference, but the data must live long enough, so that mandates a "block-on-drop-until-done handle" or marking the start function unsafe.
I dont know enough about idf to know if the above proposals can be implemented. What do you think?

Or by reference, but the data must live long enough, so that mandates a "block-on-drop-until-done handle"

Yes! I came here for this. I find it very limiting that I need to give away ownership of my signal iterators to the write methods. It would be really nice if there was a non-blocking write method that could just borrow the data to be written. With lifetimes like the following I think we can do this:
fn start_write<'a, T>(&mut self, signal_iter: &'a T) -> Result<WriteOperation<'a>, EspError>
where
    T: Iterator<Item = rmt_item32_t> + Send + 'a
{ ... }

And the Drop impl for WriteOperation cancels the current write and stops using the iterator.

@ivmarkov only glancing here at the old issue is this still a problem since start_iter is 'static ?

I think we should keep this open. RMT was contributed, so I haven't looked I to it too carefully, but I would not be surprised if we have sound ess errors there, as the posters say.

authors: Vollbrecht faern ivmarkov karlri

repo: esp-rs/esp-idf-hal


text:
Esp8266 baud rate ignored with Flasher::connect

I am trying to flash an esp8266 board with a speed of 921600
but the flasher baud is ignored in the connect function
// Now that we have established a connection and detected the chip and flash
        // size, we can set the baud rate of the connection to the configured value.
        if let Some(baud) = speed {
            match flasher.chip {
                Chip::Esp8266 => (), // Not available
                _ => {
                    if baud > 115_200 {
                        warn!("Setting baud rate higher than 115,200 can cause issues");
                        flasher.change_baud(baud)?;
                    }
                }
            }
        }

this does not seem right as I am in fact able to call the function after using connect and the flashing does complete without issue.
   let mut flasher = Flasher::connect(interface, info.clone(), Some(921600), true).expect("unable to connect");
   flasher.change_baud(921600).unwrap();

is there a particular reason on why the esp8266 is ignored and not simply prompting the warning like the others?

I don't know that there's any specific reason for this. Seems to have been this way since 2020 when it was added.
Looking at esptool it doesn't look like they support setting the baud rate for the ESP8266 either, unless I've missed something. It's been so long since I've used that chip I frankly don't remember much about it, sorry.

from esptool code
https://github.com/espressif/esptool/blob/master/esptool/loader.py#L1084-L1085
could it be that the STUB loader allows for the baud rate to be changed ?

Ok so after investigating a bit more on this, it looks like you can set the baudrate higher than 115200 after loading the stub.
So initially you shoud:

Open the connection at 115200
Upload the stub if supported
after the stub is loaded you can set the baudrate higher like 921600

We've decided to drop support for the ESP8266 (see #576), so closing this issue.

repo: esp-rs/espflash


text:
Tag results combine as AND rather than OR

Expected behaviour:
When I

Click "Jokes" tag (there is 1 package with this tag)
Click "Turkish" tag (there is 1 package with this tag)
Then
I see 2 results
Currently
I see 0 results

Given that there's not too many packages, I think OR is more helpful to help people find more packages to try out.
I'd suggest sorting the results by the most tag matches.
Feel free to close the issue if you think it behaves as expected too - that's fair :)
If it sounds good, I could give it a go and learn some React :)

Hi! Thank you for reporting this. I would say that the current behaviour is not the expected one: it is a bug.
The root problem is here:
export const tagsSearch: (
  packages: Array<Package>
) => (tags: NonEmptyArray<string>) => Array<Package> = (packages) => (tags) =>
  pipe(
    tags,
    array.reduce(packages, (acc, tag) =>
      acc.filter((p) => p.tags.includes(tag))
    )
  );

which is actually filtering the packages per each tag sequentially. It should be converted to an AND logic equivalent.
Feel free to give it a try if you would like to! Otherwise I'll be happy to fix it.

@arabello Thanks for the intro. I will have a try at this with TDD 😺

@arabello I had a go and learnt a bit about fp-ts, and managed to learn I can do Package.Decode{packageJson}) to get an Either (fortunately, a right - by following semver to make that decoder happy!). I'm a bit stuck trying to collect these and extract the values from the Either, so I can make the array and pass it to the tagsSearch function you linked.
I might need a little help to make the PR. I've emailed you my contact details in case you prefer to talk over Discord or so.

Hi @IdiosApps, that's great! Thanks!
I'm not sure to understand your approach as decoding the packages JSON shouldn't be required. I think I wasn't clear on my initial analysis (sorry about that): tagsSearch filters the packages based on the given tags argument. The problem is its implementation because it is sequentially filtering per each tag (AND logic).  It should be sufficient to edit the tagsSearch's internal logic, no need to invoke it with different values. How were you planning to address it?
By the way, I added you on Discord. Feel free to DM me and have a talk!

PR raised https://github.com/espanso/hub-frontend/pull/21
Thanks for all your help @arabello !

authors: IdiosApps arabello

repo: espanso/hub-frontend


text:
fix: clean up broken links

Description

Running lychee link checker on main returns a number of invalid links that should be cleaned up. Hopefully, some links can be updated during the PR review. Others can be left in /.lycheeignore permanently.
There is also an attempt to add a link to product selector. It was formerly committed or rendered with unsafe characters unencoded, such as {, [, :. For details on unsafe characters, see RFC 1738 > 2.2. URL Character Encoding Issues.

Related

Testing

Checklist
Before submitting a Pull Request, please ensure the following:

[x] 🚨 This PR does not introduce breaking changes.
[x] All CI checks (GH Actions) pass.
[ ] Documentation is updated as needed.
[ ] Tests are updated or added as necessary.
[ ] Code is well-commented, especially in complex areas.
[x] Git history is clean — commits are squashed to the minimum necessary.

@alisitszn I know that you maintain ESP-Modbus repo. I have a link to it that returns 404.
Can you please propose what to replace this link with?

@f-hollow,
The documentation for the esp-modbus project is the same for all targets. the component has the dependencies to standard components such as UART driver, LWIP, MDNS, esp-timer. The correct link to this documentation for esp-modbus v1.0.x.

authors: alisitsyn f-hollow

repo: espressif/developer-portal


text:
AT+BLESCAN result doesn't have scan response data.

Hi all,
In AT+BLESCAN spec , it says the result will comes up with scan response data. But we can't find it in our result.
AT+BLESCAN=1,1

OK
+BLESCAN:c0:45:ff:00:11:3f,-67,0201020302f0ff1106f2c3f0aea9fa158c9d49ae73710a81e7020a04,,0
+BLESCAN:9c:ff:ff:cd:7e:ff,-89,1aff4c00021550765cb7d9ea4e2199a4fa879613a492a3e7c88bce,,0
+BLESCAN:9c:ff:ff:cd:7e:ff,-87,1dff2d010200011076cd75ebd467426aa66a0eaa127b8d71f3a73afe2e03,,0

One of our test device has its name in scan response. So if we can't get the package, there is no way to know the name of the device.
We did test on AT Firmware V1.1.3 and V1.2.0, both have same result.
Please support. Thank you all.
Best regards,
Dat Le.

Do you set the scan params? If you set the passive scan mode, you will don't get scan RSP data.

Do you set the scan params? If you set the passive scan mode, you will don't get scan RSP data.

Thank you. It's very helpful. We can get the scan response after set it to active scan.

authors: boyhuesd xiewenxiang

repo: espressif/esp-at


text:
OTA Bug using two OTA_0 and OTA_1 custom partitions - ERROR (IDFGH-2835)

Latest idf master version as of march 5 2020
Running a native ota demo with custom partitions
I (28004) OTA OTA: Writing to partition subtype 17 at offset 0x1c0000
I (28004) OTA OTA: New firmware version: 77700004
I (28014) OTA OTA: Running firmware version: 77700003
W (28024) OTA OTA: Will start to update now.
I (31134) OTA OTA: esp_ota_begin succeeded
I (53314) OTA OTA: Connection closed
I (53314) OTA OTA: Total Write binary data length : 1385008
I (53334) esp_image: segment 0: paddr=0x001c0020 vaddr=0x3f400020 size=0x32c00 (207872) map
I (53434) esp_image: segment 1: paddr=0x001f2c28 vaddr=0x3ffbdb60 size=0x0481c ( 18460)
I (53464) esp_image: segment 2: paddr=0x001f744c vaddr=0x40080000 size=0x00404 (  1028)
0x40080000: _WindowOverflow4 at D:/esp-idf/components/freertos/xtensa/xtensa_vectors.S:1817
I (53484) esp_image: segment 3: paddr=0x001f7858 vaddr=0x40080404 size=0x087c0 ( 34752)
I (53524) esp_image: segment 4: paddr=0x00200020 vaddr=0x400d0020 size=0xfd040 (1036352) map
0x400d0020: _stext at ??:?
I (53934) esp_image: segment 5: paddr=0x002fd068 vaddr=0x40088bc4 size=0x15198 ( 86424)
0x40088bc4: r_lld_evt_schedule at ??:?
I (54034) esp_image: segment 0: paddr=0x001c0020 vaddr=0x3f400020 size=0x32c00 (207872) map
I (54134) esp_image: segment 1: paddr=0x001f2c28 vaddr=0x3ffbdb60 size=0x0481c ( 18460)
I (54154) esp_image: segment 2: paddr=0x001f744c vaddr=0x40080000 size=0x00404 (  1028)
0x40080000: _WindowOverflow4 at D:/esp-idf/components/freertos/xtensa/xtensa_vectors.S:1817
I (54184) esp_image: segment 3: paddr=0x001f7858 vaddr=0x40080404 size=0x087c0 ( 34752)
I (54214) esp_image: segment 4: paddr=0x00200020 vaddr=0x400d0020 size=0xfd040 (1036352) map
0x400d0020: _stext at ??:?
I (54624) esp_image: segment 5: paddr=0x002fd068 vaddr=0x40088bc4 size=0x15198 ( 86424)
0x40088bc4: r_lld_evt_schedule at ??:?
E (54714) WiseHome: esp_ota_set_boot_partition failed (ESP_ERR_INVALID_ARG)!
So, err = esp_ota_set_boot_partition(update_partition);  is resulting and error in the writing OTA partition to boot.
Please advise ASAP;

even with advanced demo same problem:
E (210363) esp_https_ota: esp_ota_set_boot_partition failed! err=0x258

We found out that the OTADATA must be within an alignment to the partition, based on offset 0x1000 or it will not read correct, and cannot use any where from 0x1xxx  so, must by an increment of 0x1000 also.

repo: espressif/esp-idf


text:
ESP32S3: When TWAI start transmit data, SPI W5500 Ethernet slowdown and stop responding (IDFGH-8269)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report
ESP-IDF: v5.0-beta1-dirty
CPU:  ESP32S3
Board: Custom
After TWAI start transmitting data between ESP32S3 with SPI Ethernet w5500 adapter and ESP32, Ethernet slowdown, and stop responding (TWAI works OK).
After disable by software TWAI (twai_stop(); twai_driver_uninstall();) in remote board, Ethernet start working in seconds.

@MacWyznawca Could be something to do with task scheduling and/or interrupts.
Could you check:

The priorities of the tasks calling the TWAI and Ethernet driver APIs
On what core the TWAI/Ethernet interrupts are installed (usually on what cores the driver install() functions are called on).

I was not able to put the TWAI process on the APP-CPU. The attempt produced an error on interrupt allocation.
I left TWAI on CPU 0, and moved all other processes I had control over to CPU 1.
Unfortunately, this did not change anything.
I am now basically sure that not only the SPI/Ethernet process is slowing down dramatically, but all other processes as well.


text:
esp_partition_write (erase), esp_partition_read  serious issue when working from different tasks (IDFGH-8302)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.
esp-idf-v5.0-beta1
Operating System used.
Windows
How did you build your project?
Eclipse IDE
If you are using Windows, please specify command line type.
No response
Development Kit.
proprietary
Power Supply used.
External 3.3V
What is the expected behavior?
esp_partition_write, esp_partition_erase, esp_partition_read need to work from different tasks simultaneously (thread safety)
What is the actual behavior?
One of the task randomly freezes on flash erase or flash write.
It is happens only if CONFIG_SPI_FLASH_SHARE_SPI1_BUS=y (additionally setting CONFIG_SPI_FLASH_YIELD_DURING_ERASE=y make  freezes more frequent)
Steps to reproduce.

Start test project (only main flash and no any other devices  (psram, etc) connected to SPI1)
if CONFIG_SPI_FLASH_SHARE_SPI1_BUS=y - after few seconds from start, will see only reads from main task, or only writes from second
if CONFIG_SPI_FLASH_SHARE_SPI1_BUS is not set - in rotation flash reads and flash writes (works as as expected)

Test code (test project in attachment):
/* Finding Partitions Example
This example code is in the Public Domain (or CC0 licensed, at your option.)
Unless required by applicable law or agreed to in writing, this
software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
CONDITIONS OF ANY KIND, either express or implied.
*/
#include <string.h>
#include <assert.h>
#include "esp_partition.h"
#include "esp_log.h"
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
static const char *TAG = "example";
const esp_partition_t *partition=NULL;
TaskHandle_t logAddThreadHandle;
static void logAdd_thread(void arg)
{
static char write_data[50];
while(true)
{
ESP_ERROR_CHECK(esp_partition_erase_range(partition, 0, 4096));
ESP_ERROR_CHECK(esp_partition_write(partition, 0, write_data, sizeof(write_data)));
ESP_LOGW("esp_partition_write","write");
vTaskDelay(1);
}
}
void app_main(void)
{
/
* This example uses the partition table from ../partitions_example.csv. For reference, its contents are as follows:
*
*  nvs,        data, nvs,      0x9000,  0x6000,
*  phy_init,   data, phy,      0xf000,  0x1000,
*  factory,    app,  factory,  0x10000, 1M,
*  storage,    data, ,             , 0x40000,
*/
// Find the partition map in the partition table
partition = esp_partition_find_first(ESP_PARTITION_TYPE_DATA, ESP_PARTITION_SUBTYPE_ANY, "storage");
assert(partition != NULL);
static char read_data[50];

if (xTaskCreatePinnedToCore(logAdd_thread, "lodAdd", 3072, NULL, 4, &logAddThreadHandle, 1) != pdPASS)
{
	/* Failed to launch task */
	ESP_LOGE(TAG,"Failed to launch Log task");
	abort();
}

while(1)
{
	ESP_ERROR_CHECK(esp_partition_read(partition, 0, read_data, sizeof(read_data)));
	ESP_LOGW("esp_partition_read","read");
}

}
Log output when CONFIG_SPI_FLASH_SHARE_SPI1_BUS=y

when CONFIG_SPI_FLASH_SHARE_SPI1_BUS is not set  (works as expected)

I insert debugging messages in spi/flash/cache_utils.c
void IRAM_ATTR spi_flash_disable_interrupts_caches_and_other_cpu(void)
{
assert(esp_task_stack_is_sane_cache_disabled());
ESP_DRAM_LOGD("cache_utils","spi_flash_disable_interrupts_caches_and_other_cpu");
spi_flash_op_lock();

...
and got output:

Looks like cache corrupted. And after that works only one thread.
Seems, than some error in the SPI1 driver (I assume that in the file spi_bus_lock.c)
Test project (a bit modified from examples):
partition_ops.zip
Debug Logs.
No response
More Information.
No response

Looks like this might be related to https://github.com/espressif/esp-idf/issues/7580. This was fixed on master in https://github.com/espressif/esp-idf/commit/aea2fe08162e1ba86ad0189178c1f1cf29238bbd, and was backported to release/v5.0 a few hours ago. The fix on release/v5.0 branch is not on Github yet, should be available there soon.

Looks like this might be related to #7580. This was fixed on master in aea2fe0, and was backported to release/v5.0 a few hours ago. The fix on release/v5.0 branch is not on Github yet, should be available there soon.

tested. No, patch did'nt helps at all. Issue not in spi_flash_disable_interrupts_caches_and_other_cpu, because if CONFIG_SPI_FLASH_SHARE_SPI1_BUS is not set, then spi_flash_disable_interrupts_caches_and_other_cpu still calls from spi_flash_os_func_app.c
static IRAM_ATTR esp_err_t spi1_start(void *arg) { #if CONFIG_SPI_FLASH_SHARE_SPI1_BUS     //use the lock to disable the cache and interrupts before using the SPI bus     return spi_start(arg); #else     //directly disable the cache and interrupts when lock is not used     **cache_disable**(NULL);     on_spi1_acquired((spi1_app_func_arg_t*)arg);     return ESP_OK; #endif }
but spi_start(arg) (spi_bus_lock_acquire_start) not called in this case. And all wokrs fine.
So, my opinion is that the error is somewhere inside spi_bus_lock.c

is there any updates from anyone about this issue?

Okay, thanks for checking! I'll mark that this issue is related to SPI driver, then.

A few month passed..
Is there any solution to the bug?

Checked at esp-idf v5.0-rc1

Same issue after 15-30 seconds of work.
test project:
partition_ops.zip

Hi @ifedotov1984 ,
Your example is very good, it helped me to reproduced the issue effectively! I have also reproduced this on latest release/v4.3 branch. I think the issue has been there since IDF v4.0.
Actually I'm very curious about your use case - I haven't seen this feature being used in real products. May I know your use case? In other words, what device do you connect to the SPI0/1 bus? How do you feel about the performance of the system when accessing the other SPI device?
Cause of the issue:
The lock is implemented in a way how other drivers are implemented - assume one device will only be used by one user. If the caller violates the rule, they need to add their own lock. This is to avoid unnecessary overhead caused by the lock when the user doesn't need to access the device concurrently (in several tasks/ISR).
In previous flash driver implementation (or when the bus lock is not used), the cache disabling utils happen to ensure the atomicity of flash access. But when the bus lock is used, the lock code get executed first, and it doesn't take concurrent access into consideration. To workaround this issue, if you don't need the bus lock, you may directly disable it. Otherwise, you may wrap all API calls to the main flash with a semaphore.

Hello!
The issue was found while researching esp-idf. I'm new to esp32 and creating my first project on it. When checking the functionality of the controller, i found some issues (these one and for example https://github.com/espressif/esp-idf/issues/9908)
During tests,  I set the spi bus sharing flag ( I thought that it was needed for psram to work... ) In addition, I want additionally use fram memory to periodically write a small amount of data (about 100bytes, but many many times), and there is no need to use a separate spi port (to save pins) for this. And since the amount of data is small and writing to fram very fast, this will not critically affect to performance

authors: ginkgm ifedotov1984 igrr


text:
new app : Pushups

hi, so i have a new app for exercising with the accelerometer.
i didn't test it with someone else but it works for me.

Nice idea! i notice the screen is initially black and i have to tap to get the images, do you see that? I don't seem to be able to trigger the numbers to change, perhaps I'm doing it wrong?

hi, i never had a black screen. is it pure black or do you see the image ?
sometimes the widgets can interfere with the colors. maybe i should set the color before clearing.
for the number changing you can test by pivoting your wrist left and right while seated.
i'm not actually sure the accelerometer will always give the same numbers on every watch.
could you do a few pushups under the "acceleration recorder" app and send me the file ?
do the other activities work ?
(you can swipe to skip)

Yes - pure black, could it be because I'm using the dark theme? I'll have another go with the exercise and see about sending you the record

So I've confirmed - if a user has a dark theme they can't see the app, some colour values would need altering for it to work (e.g. using g.theme.fg, etc). With light theme though, I can see what's happening and can use the app

repo: espruino/BangleApps


text:
New app: File manager

A small file manager app to inspect (and manipulate) files in storage on the watch.

Great - thanks!

authors: berkenbu gfwilliams


text:
Sessions: Cancel other tasks on operation errors

This PR makes sure that cancel call will be invoked on the cancellation token instance if running producer returns with an operation error to avoid having the app stuck in join!() calls since some tasks like tail::track() won't return until cancel is called.
For Example the current Implementation won't show any error message in indexer_cli tool if run_source() call returns an error because it will be waiting for tail::track() to finish, which won't finish in that case until the user closes the session manually, and then at that point the error message will be printed.

Thanks @AmmarAbouZor . That's a very good find, @marcmo. Actually if our observation method is stuck for some reason we are losing a way to report it back because of tailing. This issue is relevant for file cases, and other use cases not affected.

Linting issues from the updated has been fixed by suppressing the unused warning since the value can be used in the futures

authors: AmmarAbouZor DmitryAstafyev

repo: esrlabs/chipmunk


text:
No way to open file if all sessions are closed

Prerequisites
affected version: 1.7.6
make sure to check this before filing an issue:

[x] I am running the latest version
[x] I checked the documentation and found no answer
[x] I checked to make sure that this issue has not already been filed

Expected Behavior
Even all sessions are closed, should be a way to open file without creating new session before.
Current Behavior
No way to open file if all sessions are closed
Failure Information (for bugs)
Please help provide information about the failure if this is a bug. If it is not a bug, please remove the rest of this template.

solved 1.8.0

repo: esrlabs/logviewer


text:
Install - deprecated packages?

Hello,
I noticed in doc / install:
https://github.com/essenciary/Genie.jl/blame/master/docs/src/index.md#L14
https://github.com/JuliaDB/DBI.jl doesn't seem to be very active and doesn't seem to support Julia 0.7.
julia> using DBI
[ Info: Precompiling DBI [1a78104a-c441-5896-88f2-79e5ca307c3b]
ERROR: LoadError: syntax: extra token "DatabaseSystem" after end of expression
Stacktrace:
 [1] include at ./boot.jl:317 [inlined]
 [2] include_relative(::Module, ::String) at ./loading.jl:1038
 [3] include(::Module, ::String) at ./sysimg.jl:29
 [4] top-level scope at none:2
 [5] eval at ./boot.jl:319 [inlined]
 [6] eval(::Expr) at ./client.jl:399
 [7] top-level scope at ./none:3
in expression starting at /Users/scls/.julia/dev/DBI/src/DBI.jl:25
ERROR: Failed to precompile DBI [1a78104a-c441-5896-88f2-79e5ca307c3b] to /Users/scls/.julia/compiled/v0.7/DBI/tyy23.ji.
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] macro expansion at ./logging.jl:313 [inlined]
 [3] compilecache(::Base.PkgId, ::String) at ./loading.jl:1185
 [4] _require(::Base.PkgId) at ./logging.jl:311
 [5] require(::Base.PkgId) at ./loading.jl:852
 [6] macro expansion at ./logging.jl:311 [inlined]
 [7] require(::Module, ::Symbol) at ./loading.jl:834

and
https://github.com/essenciary/Genie.jl/blame/master/docs/src/index.md#L16
https://github.com/JuliaDatabases/PostgreSQL.jl is marked as DEPRECATED
maybe using https://github.com/invenia/LibPQ.jl should be considered.
Kind regards

That's very old - use the README:
https://github.com/essenciary/Genie.jl
Genie is no longer dependent on any DB package. It's been abstracted away into SearchLight.jl a dedicated ORM. Which indeed, uses LibPQ.

Why not moving most of README content to doc and remove old doc?

Lack of time


text:
いいところ診断の結果に優しさを追加したい

以下の結果を追加したい
'{userName}のいいところは優しさです。あなたの優しい雰囲気や立ち振る舞いに多くの人が癒やされています。'

これから対応します。

${65a08f8} で対応されました。

repo: estack-itoh-manaka/assessment


text:
SAM/BAM alignment support

More general SAM/BAM format for alignment input

I was running into a difference in reference alignment positions between standard PAF alignment output and the SAM output from minimap2. This appears due to not performing base-level alignment in the standard PAF output. Equivalence is:
minimap2 -a ref.fa reads.fq
minimap2 -c ref.fa reads.fq

but these are different
minimap2 -a ref.fa reads.fq
minimap2 ref.fa reads.fq

see also: https://github.com/lh3/minimap2/issues/158

repo: esteinig/vircov


text:
feat: Add support for forcing stdout ansi

Add support for forcing stdout ansi. For example, the test in intellij not detect the stdout:

FIXED with force stdout

Resolve #307

I'm not sure it makes sense to make a new configuration value to do this when there are already long supported environment variables that do the same thing. @Miuler is there a reason you preferred a configuration based approach instead of using a Linux standard alternative?

@Miuler Please review the MR #335. If you're satisfied with the new capabilities, please close this PR.

Closing since no response

authors: Miuler bconn98 estk


text:
PK tag doesnt display until hovered over

not sure if this is an issue on my end or what
this plugin modifies the exact thing that you modify but it works instantly so i'd have a look at that
i'll try to learn bdapi and implement some of these myself but for now ill just give it to you lol

The major limitation here is that PC needs to wait for data from the PK server to modify messages, which happens asynchronously. But as far as I know, once that data arrives it should be able to patch messages instantly, including the PK tags.
Does the problem persist if you switch back and forth between channels?

Hmmm it stopped happening, I'll have to look into this more to find a way to reliably reproduce it

doesn't sound like a bug, just intended (if admittedly kind of unintuitive) behaviour. PChum caches member data, so proxy patching gets more consistent over time. there's a Clear Cache button in the plugin settings if you want to reproduce the behaviour, but with my current (read: bad) understanding of React, i don't think there's much i can do about it. i'll take another stab at it for 1.1, though.

Fixed by #32

authors: HexCodeFFF ariagivens estroBiologist transdisaster

repo: estroBiologist/pluralchum


text:
feat: display model help in help

Following first discussions regarding issue https://github.com/etalab-ia/albert-tchapbot/issues/13, this PR is to test how it would work in terms of UX to dynamically inform all users about the model currently being used in the help.

Tested, looks like this:

Deployed

repo: etalab-ia/albert-tchapbot


text:
blocks not showing up with low block count (ex: new ganache network)

Describe the bug
blocks not showing up with low block count (ex: new ganache network)
To Reproduce
Steps to reproduce the behavior:

Boot ganache-cli
Deploy a contract
go to https://expedition.dev/?rpcUrl=http://localhost:8545/
See screenshots below (hitting pagination does work)

Expected behavior
I should see the blocks in the dashboard
Screenshots

Desktop (please complete the following information):

OS: Mac
Browser: Chrome

Additional context
rel #265

:tada: This issue has been resolved in version 1.8.4 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

repo: etclabscore/expedition


text:
🛑 bvh is down

In 03bcf24, bvh (https://www.buenavistahomes.eu/en/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: bvh is back up in 4c11b32 after 9 minutes.


text:
SPLA hangs on a 6x6 grid

For this test case https://github.com/electronic-structure/SIRIUS/blob/develop/apps/tests/test_wf_inner.cpp spla will hang with the following submission
#!/bin/bash -l
#SBATCH --job-name="test_scf"
#SBATCH --nodes=36
#SBATCH --time=00:04:00
#SBATCH --account=csstaff
#SBATCH -C gpu

export MPICH_MAX_THREAD_SAFETY=multiple
export CRAY_CUDA_MPS=0
export MKL_NUM_THREADS=1
export OMP_NUM_THREADS=1

srun -N 36 -n 36 --hint=nomultithread --unbuffered -c 1 ./test_wf_inner  --M=2248 --N=2248 --BS=128 --mpi_grid=6:6

Number of OMP threads does not play a role. With 12 threads it also hangs.

Thanks for providing the example. I managed to reproduce the problem and I think I've identified the issue.
Internally, SPLA tries to find an optimal block size for processing, which depends on the input size, input location and number of MPI ranks. When a nulltptr is passed as input only on some ranks, while device memory is passed in on others, the internal block sizes can differ. Since the number of MPI ranks and input size also plays a role, this only happens in specific configurations.
I've pushed a fix and I'll create a new release shortly.

New release is out and spack pull request depending. Hopefully this resolves this issue.

repo: eth-cscs/spla


text:
Add support for GPTQ quantization

This PR addresses the need to use GPTQ-quantized models, which can't currently be loaded with the transformers library.
It introduces an optional --loader flag with support for the auto-gptq option. When this option is specified, the (quantized) model will be loaded using the auto_gptq library.
To serve the model, run the following command:
lmql serve-model TheBloke/WizardCoder-15B-1.0-GPTQ --cuda --loader auto-gptq --use_safetensors true

or use the in-process invocation with:
from lmql.model("local:TheBloke/WizardCoder-15B-1.0-GPTQ", cuda=True, loader="auto-gptq", use_safetensors=True)

Looks great, thanks for handling auto_gptq  as an optional dependency.
When I run with either of of the provided commands I am getting:
...
File "<PROJECT_DIR>/src/lmql/models/lmtp/backends/transformers_model.py", line 14, in __init__
    self.model = AutoGPTQForCausalLM.from_quantized(self.model_identifier, **self.model_args)
  File "<ENV>/lib/python3.10/site-packages/auto_gptq/modeling/auto.py", line 94, in from_quantized
    return quant_func(
  File "<ENV>/lib/python3.10/site-packages/auto_gptq/modeling/_base.py", line 714, in from_quantized
    raise FileNotFoundError(f"Could not find model in {model_name_or_path}")
FileNotFoundError: Could not find model in TheBloke/WizardCoder-15B-1.0-GPTQ

Maybe I did not setup auto_gptq correctly? (running without GPU on this machine)

Nevermind, on a proper GPU-enabled machine everything works as expected. Thanks a lot for the contribution.

authors: lbeurerkellner meditans

repo: eth-sri/lmql


text:
Feature Request: Get a list of upgradable packages

Running winget upgrade lists all the upgradable packages.
An -Upgradable switch for Get-WinGetPackage could make this available via Cobalt.
Is this something you can add?

Would also love to see this feature. It would allow me to simply update all packages except some specific ones I can filter out.

Can someone help me understand the use case for getting a list of 'upgradable' packages you feel comfortable having WinGet upgrade?
I was thinking that any package you feel comfortable having WinGet upgrade would have been a package originally installed by WinGet (as opposed to a package WinGet 'found'), and if the goal is to automate everything, that you'd already have that comprehensive list of packages stored somewhere.
@('package1','package2','etc...') | ForEach-Object { Update-WinGetPackage -ID $_ }

My specific need is based on what winget does natively, compared to what I can achieve with Cobalt.
The following code is what I came up with for identifying what might be upgradable, the logic is simple:

get a list of package from winget (using Get-WinGetPackage)
Check the available version for each package, and if different list it.

Get-WinGetPackage | Where Source -eq winget | ForEach-Object {
         $local:i = Get-WinGetPackageInfo $_.Id;
         $i.ID = $_.Id;
         $i.VersionInstalled = $_.Version;
         $i.PSTypeName = "WinGetPackageszInfo"
         [PSCustomObject]$i
     } |
         Tee-Object -Variable InstalledPackagesCache |
         Where-Object { Write-Host -NoNewline '.'; $_.VersionInstalled -ne $_.Version } |
         Format-Table -Property ID,Type,Moniker,Version,VersionInstalled,Description -Wrap -AutoSize

The problem with the code above:

On my system right now, it runs for 1m 11s - that's a long time.
More importantly: it produces a completely bogus output, this is what I have right now:

ID                            Type     Moniker         Version         VersionInstalled Description

--                            ----     -------         -------         ---------------- -----------
Canonical.Ubuntu              msix     ubuntu          2004.2021.825.0 2004.2022.1.0    Ubuntu on Windows allows you to use Ubuntu Terminal and run Ubuntu command line utilities including bash, ssh, git, apt and many more. This is the latest
                                                                                LTS release.
Microsoft.Edge                wix      microsoft-edge  101.0.1210.32   101.0.1210.39    World-class performance with more privacy, more productivity, and more value while you browse.
Microsoft.EdgeWebView2Runtime exe      webview2        101.0.1210.32   101.0.1210.39    Embed web content (HTML, CSS, and JavaScript) in your native applications with Microsoft Edge WebView2.
NoMachine.NoMachine           inno     nomachine       7.7.4           7.9.2            Free remote desktop for everybody. This version contains both the server and the client side parts of the application.
RandomEngy.VidCoder           inno                     6.46            7.14.0           VidCoder is an open-source DVD/Blu-ray ripping and video transcoding application for Windows. It uses HandBrake as its encoding engine.
Waterfox.Waterfox             nullsoft waterfox        G4.1.2          4.1.2            Waterfox is free and open source browser, based on Mozilla Firefox.
voidtools.Everything.Lite     msi      everything-lite 1.4.1.1015      1.4.1015         Everything is search engine that locates files and folders by filename instantly for Windows. Unlike Windows search Everything initially displays every file
                                                                                and folder on your computer (hence the name Everything). You type in a search filter to limit what files and folders are displayed.
gerardog.gsudo                wix      gsudo           1.3.0           1.3.0.0          A Sudo for Windows - run elevated without spawning a new Console Host Window
AnyDeskSoftwareGmbH.AnyDesk   wix      anydesk         ad 7.0.7        7.0.7            Connect to a computer remotely, be it from the other end of the office or halfway around the world.
VideoLAN.VLC                  wix      vlc             3.0.17.4        3.0.17.0         VLC is a free and open source cross-platform multimedia player and framework that plays most multimedia files as well as DVDs, Audio CDs, VCDs, and various
                                                                                streaming protocols.
AmineMouafik.Ferdi            wix                      5.8.1           5.8.1.0          Ferdi is a desktop app that helps you organize how you use your favourite apps by combining them into one application. It is based on Franz - a software
                                                                                already used by thousands of people - with the difference that Ferdi gives you many additional features and doesn't restrict its usage! Ferdi is compatible
                                                                                with your existing Franz account so you can continue right where you left off. Find out more about Ferdi and its features on getferdi.com.

Why do I say it's bogus?
This is the output of winget upgrade which return after 2 seconds:
Name             Id           Version  Available Source
-------------------------------------------------------
VLC media player VideoLAN.VLC 3.0.17.0 3.0.17.4  winget
1 upgrades available.

While VLC should be excluded as well, the result came back after 2 seconds, which is over 1m faster then querying the packages one at a time.
As for what I plan to do with it?

Getting a scheduled task periodically checking for upgradable packages for a prompt status.
A simple Upgrade-All command line script that would be fast to start and to complete.

I'm guessing it is hanging because it is waiting for input from the standard input.
What would happen if you send "n`n" into stdin ?
Or maybe this might provide some help with the hanging issue?
https://github.com/microsoft/winget-cli/discussions/1536#discussioncomment-1414887

Tested, and it works as expected. Again, thank you so much for adding this feature.

authors: Lockszmith-GH ethanbergstrom sibbl

repo: ethanbergstrom/Cobalt


text:
Error message " You are not authorized to perform the requested operation"

I add user code on the lock manager with setting the calendar. I set start date/time and end date/time.
After I complete the process, I tried to go inside this user to take a look the setting. I got a error message that "You are not authorized to perform the requested operation".  I can not edit or delete this user code.
What Can I do to reset this issue ?

I ran into this issue as well.
This error is logged:
groovy.lang.MissingMethodException: No signature of method: script149192238287034945879.yyyy-MM-dd() is applicable for argument types: (null) values: [null] @ line 723

duplicate #24

authors: amytai168 ethayer philidem

repo: ethayer/lock-manager


text:
Use an optional parameter to clean up setAlarmMode() method.

As promised, a little clean up by making the setAlarmMode take an optional parameter.

Awesome!  Thank you.

authors: ethayer kurtzmarc


text:
add executable

Am I missing something or does the plist lack the path to the executable?
Without this line brew services start parity aborts with Invalid or missing Program/ProgramArguments in 10.12 sierra.

You are right! Thank you! :)

authors: debris niklasbuschmann

repo: ethcore/homebrew-ethcore


text:
[Feature Request] Option to hide title bar

It would be cool to add an option to hide the title bar.
Nevertheless a useful plugin! Thankyou!

Done

authors: JohnMcLear Oremountainflorian


text:
Subscript/Superscript not available in FileMenu

Superscript is not available in FileMenu and subscript is listed in the wrong group, it would belong to the first group together below Strikethrough

See https://github.com/ether/ep_headings2/issues/52

authors: JohnMcLear lisandi


text:
Minimal SSV API

Suggested API for VC to communicated with SSV node (SSV node will emulate BN API to VC, to keep things simple)

Closing as very stale, we can revisit if it comes back around...

authors: dankrad rolfyone

repo: ethereum/beacon-APIs


text:
Include visual feedback (turning cogs) when code is being compiled

The right hand side (where the contract deployment details are) should be cleared at the start of compilation and some visual feedback should be provided while compiling.

The same icon could be used to disable auto-compiling, just as it was in good old cosmo.

authors: axic chriseth

repo: ethereum/browser-solidity


text:
More FC test cases

[Notes for myself]

should_update_justified_checkpoint:

compute_slots_since_epoch_start(get_current_slot(store)) == SAFE_SLOTS_TO_UPDATE_JUSTIFIED

and get_ancestor(store, new_justified_checkpoint.root, justified_slot) == store.justified_checkpoint.root
and get_ancestor(store, new_justified_checkpoint.root, justified_slot) != store.justified_checkpoint.root

do we want to get this into the test suite prior to the Bellatrix spec release coming soon?

I'm good with anything and everything that's best for everyone, doesn't harm anyone is critical.   I was hurt by an error that i tried to report 1000 times to no avail... it also denied me any and all credit for everything I have ever done and had bots spamming every account I made further widening the gap to help, oh and I am technically a noob to all this so I didn't know what to do as I literally was blown off by everyone... I lost hope and really believe in doing the next right thing.  It messed my already suffering self up really bad.. I'm still in disbelief the bots are finally connecting all my work... slowly but it's done this before and I was cut out again when I asked for help... I think on purpose but it was certainly mean and not cool.  I straight up tried to disclose the naming variables as the vAriable name itself issue when making first project and idk the dude didn't respond to my email telling him I emailed him exactly what blew up the project.  I feel like he knew and tried to cut me out but I don't know if my perception was correct.  I also specifically requested reasonable assistance for a disability that has been hard and is part of ADA law.... no response.  I also told him not to feel bad and I think I need someone else to review correspondence to figure out if it was criminal or not cuz it was def really messed up morally speaking. Probably legally as well being as I used language from ADA law in my request for help after being blocked from all my credits and they were systematically taken and used in a project I did not sign SLA for then he tried to cut all my work out... but my work is better and I think it's kinda taking care of that on its own... how do I get help when every account I make is instantly labeled spammy because of misbehaving GitHub bots? I only ever reached one sales guy and he didn't care to even look into it or help me get a human who could help.  I have so much more work out there and I documented my work, saved all my hard drives, backed up multiple places and ways. I have my proof of my innovations with Linux dev, networking breakthroughs and more.  I clocked my moms old iMac as the fastest computer on the planet but didn't believe it until I found out all my work really was pretty cool.. the insane compression also... whomever reads this please help me get in tough with someone who can help me understand all the stuff I did.. I was just doing what I thought could build cool stuff from antiquated hardware and there's more... a lot more.... my name is Todd Gifford and I'm a dog dad to my amazing blue heeler Chiefy. Chiefkoda121@gmail.com and chiefy01@outlook and tgifford37@gmail and tgifford37@outlook please send any messages to all of them I have hard time getting my emails sometimes being as I have multiple iterations of the same emails on diff devices and services and all my devices are prototypes by default... thank you

authors: ChiefGhostZero0x1 djrtwo hwwhww

repo: ethereum/consensus-specs


text:
Validators are able to censor new validators

Problem
In process_operations, we have the following assertion to prevent validators to censor new validators, but it is not sufficient.
# Verify that outstanding deposits are processed up to the maximum number of deposits
assert len(body.deposits) == min(MAX_DEPOSITS, state.eth1_data.deposit_count - state.eth1_deposit_index)

Here is a way to censor new validators by colluding validators.

Suppose the majority of existing validators decide to collude and selectively allow new validators to join.
Then, they make the MAX_DEPOSITS (= 16) number of invalid deposits to the deposit contract, at the cost of "only" 16 Ether. For example, deposit(0x00..,0x00..,0x00..) will simply go through and add an invalid deposit item in the Merkle tree.
Now, they can simply put the 16 invalid deposits in new blocks, passing the above assertion, and process_deposit() will simply skip all of them as follows:

if not bls_verify(pubkey, signing_root(deposit.data), deposit.data.signature, domain):
    return

In this way, the colluding validators can selectively allow new validators to join, or no new validators at all.

How to fix?
Keep track of the number of invalid deposits, say state.eth1_invalid_deposit_index, whenever process_deposit() skip them, e.g.,
if not bls_verify(pubkey, signing_root(deposit.data), deposit.data.signature, domain):
    state.eth1_invalid_deposit_index += 1
    return

And then, consider it in the assertion of process_operations(), e.g.,
assert len(body.deposits) == min(MAX_DEPOSITS,
    state.eth1_data.deposit_count - state.eth1_deposit_index
                                  - state.eth1_invalid_deposit_index)

Even in the non-colluding case, the above assertion has the usability issue that benign validators have to keep including all the invalid deposits whenever they propose a new block, which could be quite annoying and may lead to unintended blocking new validators join properly.
BTW, I do not have a good idea how to prevent invalid deposits from being added in the (eth1) tree at the first place, without incorporating bls_verify in the deposit contract.

In this way, the colluding validators can selectively allow new validators to join

How does this follows from the invalid deposits? All deposits (valid or not) need to pass assert is_valid_merkle_branch and modify the state with state.eth1_deposit_index += 1.

@JustinDrake Sorry I was wrong. I somehow misunderstood that state .eth1_deposit_index does not increase when bls_verify fails. Sorry for bothering.

authors: JustinDrake daejunpark


text:
Implement GitHubContributors

Description

Adds a client-side fetch for GitHub commit authors
Updates FileContributors and FileContributorsGitHub components

This utilized the NEXT_PUBLIC_ env var prefix to allow client-side usage. The token used here is strictly read-only as always. This approach prevents the need to fetch contributors in rapid succession during build time, and instead will only fetch the information when a user loads the page.
Preview link
https://deploy-preview-66--ethereum-org-fork.netlify.app/en/bridges
Note, the GitHubContributors component is only used in the docs and tutorial layouts which are not yet in dev branch. As such, it was added to the Static layout for demonstration purposes only, which should be reverted before merging.
TODO:

[ ] Revert demonstration component usage in Static layout before merging

Related Issue
https://www.notion.so/efdn/Implement-GitHub-API-c3e9fdb0f7e34dcf9ad4570a292de85a?pvs=4

Note Crowdin contributors for non-English pages will be handled in a separate PR.

@pettinarip Hm, not sure why this is firing twice. It's in a useEffect hook with no refresh dependencies. I'll play around and see what I can find out.

@pettinarip
yarn dev

I believe this is related to useEffect firing twice for development modes with reactStrictMode: true... I don't get this repetition in a production environment:
netlify serve

(Also, I tried this with an without anything in the dependency array and same effect. I ended up leaving the relativePath variable in this array... shouldn't make too much of a difference here.)

@wackerow aha! thanks for digging into that. TIL

authors: pettinarip wackerow

repo: ethereum/ethereum-org-fork


text:
[website/docs]: add open auction tutorial

Adds new tutorial, borrowing from the example contracts in the Fe Github.
Implements an open auction contract and uses it as a vehicle to explain some foundational Fe concepts.
Also includes brief build & deploy instructions.

Just wanted to add that I love to see this guide coming together! :heart: Just needs a bit of tuning but it's very nice!

Ah, one more thing: For substantial changes to the docs like this one you should also add a news fragment so that it gets mentioned in the next release notes (which are automated). Basically create a new file here: https://github.com/ethereum/fe/tree/master/newsfragments
It should be named 930.doc.md with the content being roughly something like this:
Added a new tutorial: Open Auction

repo: ethereum/fe


text:
Suggest how to minimize the impact of cpu & i/o demands (#1286)

This took me a few hours to figure out. It's definitely worth a comment.

This can indeed work but it will degrade service you're giving out to other peers. We've made (and are still making) significant changes to the bee codebase so that such changes should not be necessary. All in all, slow peer behavior should be discouraged for the sake of network reliability and performance, and should be sanctioned in the medium term by just disconnecting or de-prioritizing peers for retrievals or syncing.

authors: acud jpritikin

repo: ethersphere/bee


text:
Connection failing with default installation

I tried installing gcspypi to be able to do some easy repo handling of my code.
I user python3.7 as its the required version for my project and just used python3.7 -m pip install --user gcspypi.
I created a bucket in the cloud for the default project registered in gcloud init, when I try type gcspypi -v list I get:
using repo ***
failed connecting
repository error:

bucket works like a charm with gsutil so any tips on what to do to get this working would be great.

I am also getting same issue ? Do we have any solutoin or way to debug it further ?

authors: klausmyrseth vbalaut

repo: ethronsoft/gcspypi


text:
EthStorage Devs Meeting #46 Agenda

Meeting Info

Aug 29, 2023, 10:00 UTC+8
Duration: 60 minutes
Meeting link
Anyone can comment on the agenda where they would like this to be discussed.

Agenda

Protocol/App/Research progress
TBA

W3Box uses SessionKey to upload eip-4844 transactions.   60% Pause
Integrated AA Wallet Service Particle into W3Box.  85%
1）Particle is being developed to support sessionKey, W3box will change to use SessionKey later.
2）Particle currently does not support eip-4844.

Fixes comments of https://github.com/ethstorage/go-ethstorage/pull/48
Ready to review: https://github.com/ethstorage/go-ethstorage/pull/87
TODO: migrate to devnet-8

https://github.com/ethstorage/storage-contracts-v1/issues/19
test cases

Try to run op-client-wasm (https://github.com/ethereum-optimism/optimism/commit/8af3d861659a25abf2d57c821fa42872a34a0b2e) with nodejs runtime and op-host

EthStorage -- sync

implementation: done
unit test (done)
Smoke Test and fix issues (investigating issue: Multiple peer connection requests from the same remote server  go-ethstorage#72 )
Performance test (collected benchmark data, implement multi-machine perf test with mock l1 source and running test)

Give a sharing about the folding scheme and hypernova: https://docs.google.com/presentation/d/1oBkYL27VtCQxgg4BxNa5CZtrPczYSpo6wfFIFiBF4GU/edit?usp=sharing

Fraud Proof Research:

An attempt to eliminate "import" in wasm, by slightly modifying tinygo (https://github.com/ethstorage/tinygo/tree/stub_hack), on case https://github.com/LiuJiazheng/go-to-wasm-example/blob/main/mem.go
A full run on zkWASM
Studied on zkWASM

SNARK general things:

ProtoStar paper read

Recording: https://drive.google.com/file/d/1pMPa7d2Mp_RzGJ1-WPi1EKgE8xbIrvm1/view?usp=drive_link

authors: LiuJiazheng cyl19970726 dajuguan iteyelmp ping-ke qzhodl syntrust

repo: ethstorage/pm


text:
Do not allow modifying fides keys from the UI

Is your feature request related to a specific problem?
As a user, I want to be prevented from updating the fides_key of any existing taxonomy element.
Users should only be able to modify taxonomy fields that they added.
Describe the solution you'd like
If a user is trying to edit a field that is part of the default taxonomy, throw a Forbidden error.
Describe alternatives you've considered, if any
A description of any alternative solutions or features you've considered.
Additional context
Blocked by https://github.com/ethyca/fides/issues/854

I think this will naturally shake out of https://github.com/ethyca/fides/pull/977 where the form field for fides_key will be read only

Reassigned!

authors: LKCSmith allisonking

repo: ethyca/fides


text:
Laser SLAM build error

Hi,
I was trying to build in a workspace with laser_slam, segmatch and segmatch_ros .
For building I took the following approach:  https://github.com/vkee/segmatch/blob/master/README.md
Although, I am obtaining the following error:
In file included from /home/bruno/segmatch_ws/src/laser_slam/laser_slam/include/laser_slam/laser_track.hpp:10:0,
                 from /home/bruno/segmatch_ws/src/laser_slam/laser_slam/src/laser_track.cpp:1:
/home/bruno/segmatch_ws/src/laser_slam/laser_slam/include/laser_slam/common.hpp: In function ‘void laser_slam::correctTransformationMatrix(PointMatcher<float>::TransformationParameters*)’:
/home/bruno/segmatch_ws/src/laser_slam/laser_slam/include/laser_slam/common.hpp:141:75: error: cannot convert ‘std::shared_ptr<PointMatcher<float>::Transformation>’ to ‘PointMatcher<float>::Transformation*’ in initialization
       PointMatcher::get().REG(Transformation).create("RigidTransformation");
                                                                           ^
/home/bruno/segmatch_ws/src/laser_slam/laser_slam/src/laser_track.cpp: In constructor ‘laser_slam::LaserTrack::LaserTrack(const laser_slam::LaserTrackParams&, unsigned int)’:
/home/bruno/segmatch_ws/src/laser_slam/laser_slam/src/laser_track.cpp:33:25: error: cannot convert ‘std::shared_ptr<PointMatcher<float>::Transformation>’ to ‘PointMatcher<float>::Transformation*’ in assignment
   rigid_transformation_ = PointMatcher::get().REG(Transformation).create("RigidTransformation");
                         ^
In file included from /home/bruno/segmatch_ws/src/laser_slam/laser_slam/include/laser_slam/incremental_estimator.hpp:10:0,
                 from /home/bruno/segmatch_ws/src/laser_slam/laser_slam/src/incremental_estimator.cpp:1:
/home/bruno/segmatch_ws/src/laser_slam/laser_slam/include/laser_slam/common.hpp: In function ‘void laser_slam::correctTransformationMatrix(PointMatcher<float>::TransformationParameters*)’:
/home/bruno/segmatch_ws/src/laser_slam/laser_slam/include/laser_slam/common.hpp:141:75: error: cannot convert ‘std::shared_ptr<PointMatcher<float>::Transformation>’ to ‘PointMatcher<float>::Transformation*’ in initialization
       PointMatcher::get().REG(Transformation).create("RigidTransformation");
                                                                           ^
make[2]: *** [CMakeFiles/laser_slam.dir/src/laser_track.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [CMakeFiles/laser_slam.dir/src/incremental_estimator.cpp.o] Error 1

Any help would be appreciated.
Regards,
Bruno

I found the solution. How can I make a pull request to this repository?
Thanks,
Bruno
@rdube

I found the solution. How can I make a pull request to this repository?
Thanks,
Bruno
@rdube

Hi! I'm facing the same issue. Could you please post the fix over here. Thanks!

Hi. I am also facing the same issue.

im facing the same problem,could you please tell me how to solve it thx

Hi. I am also facing the same issue.
[EDIT] is being fixed in branch fix/pointers2 @dhananjaisharma10

Have you solved the problem?plz tell me

Hi. I am also facing the same issue.
[EDIT] is being fixed in branch fix/pointers2 @dhananjaisharma10

Have you solved the problem?plz tell me

Just switch your repo to the branch fix/pointers2

Hi. I am also facing the same issue.
[EDIT] is being fixed in branch fix/pointers2 @dhananjaisharma10

There are three branches,is post-fixes the branch which you mean

You mean the post-fixes branch?
| |
皮新成
|
|
邮箱：18813127865@163.com
|
签名由 网易邮箱大师 定制
On 05/20/2020 19:31, Giorgos Patsiaouras wrote:
Hi. I am also facing the same issue.
[EDIT] is being fixed in branch fix/pointers2 @dhananjaisharma10
Have you solved the problem?plz tell me
Just switch your repo to the branch fix/pointers2
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

Sorry guys, I havent used this repo for so long. I dont remember the fix. Cant help you.


text:
Using libpointmatcher for 2D lidars extrinsic calibration

I'm actually using ROS matcher_service from ethzasl_icp_mapper package, get PointClouds matched and receive a transformation.
Here's my client code: https://gist.github.com/artemiialessandrini/e06a6c0d7f7d0bea93169f3a9fe197de
My icp.yaml looks like this:

referenceDataPointsFilters:
 - MaxDistDataPointsFilter:
    maxDist: 5.0
 - RandomSamplingDataPointsFilter:
    prob: 0.5

readingDataPointsFilters:
  - RandomSamplingDataPointsFilter:
     prob: 0.8

matcher:
  KDTreeMatcher:
    knn: 3
    epsilon: 0
    maxDist: 8.25

outlierFilters:
  - TrimmedDistOutlierFilter:
     ratio: 0.85

errorMinimizer:
  IdentityErrorMinimizer

transformationCheckers:
  - DifferentialTransformationChecker:
      minDiffRotErr: 0.001
      minDiffTransErr: 0.01
      smoothLength: 4
  - CounterTransformationChecker:
      maxIterationCount: 40
  - BoundTransformationChecker:
      maxRotationNorm: 0.80
      maxTranslationNorm: 8.00

inspector:
 NullInspector

logger:
  FileLogger

But I'm only getting 0 0 0 0 0 0 1.
Could someone reproduce an issue or give any tips for 2D?
I cannot use    force2D: 1

I am not sure to understand what the problem is, do you get an output translation of 0 ([0, 0, 0]^T)? If you add a VTKFileInspector inspector to your yaml configuration file, libpointmatcher will save the reading point cloud at each iteration. Then, you will be able to see what is happening when the clouds are matched. The inspector configuration looks like this :
VTKFileInspector:
    baseFileName: SOME_OUTPUT_PATH
    dumpReading: 1
    dumpReference: 1
    writeBinary: 1

If you cannot find the issue with the inspector, it would help if you could provide an example cloud to help us reproduce the issue on our side.

Thank you, @simonpierredeschenes , for quick response, I'll toggle an inspector on to visualize.
I expect matcher_service from ethzasl_icp_mapper to provide a geometry_msgs/Transform between two coordinate frames of PointClouds.
Here's my bag file, to reproduce the issue, please run:
rosbag play non_linear.bag
rosrun ethzasl_icp_mapper matcher_service  _config:=<path>/<to>/icp.yaml
rosrun ethzasl_icp_mapper wrapper
Wrapper client could be found here,
That's where the matcher_service is,
.yaml file configuration is attached on the top.

repo: ethz-asl/libpointmatcher


text:
!ban fails to save ban to database

Errors with ERROR: failed to execute add ban operation. database disk image is malformed.

Nvm it works fine, there's just something wrong with the user db on 999.

repo: etjump/etjump


text:
Installation guide markup is broken a bit

Can you please look through my after-merge comments in #8

Sorry for commit bombing )
Fixed

repo: ets-labs/vimrc


text:
🛑 fs1.demo.staging (IPv4, 5070/TCP) is down

In 9ea84a8, fs1.demo.staging (IPv4, 5070/TCP) (fs1.demo.staging.dashphone.app) was down:

HTTP code: 0
Response time: 0 ms

Resolved: fs1.demo.staging (IPv4, 5070/TCP) is back up in 6a9dea3 after 4 minutes.

repo: ettelabsinc/ette-uptimejs


text:
Add and implement hitsound option

Add feature https://github.com/etternagame/etterna/issues/759 which will be disabled by default.
This option is located under the Graphics/Sound options and when enabled will play the sound file (if available) "Player hitsound.ogg" when hitting a note successfully (no cb). The sound must be located in the Sounds folder of whatever theme is being used, or fallback.
I have not provided a sound in this pr to be the default etterna hitsound, if this is implemented someone would have to make one, or players will just need to add one themselves.

Works out pretty well, if it could be somehow moved into noteskins and the judgement (or lack of one) that allows it to play could be adjust it, I think it'd work out perfectly.

Works out pretty well, if it could be somehow moved into noteskins and the judgement (or lack of one) that allows it to play could be adjusted, I think it'd work out perfectly.

I might rewrite this to make it work that way. I WAS going to add CB sounds but had some issues with it

authors: CreoSm StarbotArc

repo: etternagame/etterna


text:
FR add new vac & test dcc files

Hello, could you merge this PR Thanks

Android 1.0.7.-acc : both certs (TEST,VAC) are valid

iOS 1.0.5: both new codes are valid


text:
Support for check boxes in the tree

Nice directive. But for my project I need to have check boxes in the tree structure because of this I am unable to use this. Could you please let us know by when you are planning to  release check boxes feature to your module?

same question .

authors: madasuk woodynet