last build term3 don't work

term3 don't work
i've this error in the console:
"Failed to require the main module of 'term3' because it requires an incompatible native module.
Run apm rebuild in the package directory to resolve. /usr/share/atom/resources/app.asar/src/package.js:655"

How did you install the package?

Using apm

Installing term3 to /Users/mac/.atom/packages ✗

><EMAIL_ADDRESS>install /private/var/folders/fr/m5rfl21519b1vy0rdt39qqv40000gp/T/apm-install-dir-1151025-34462-1kxvba4/node_modules/term3/node_modules/pty.js
> node-gyp rebuild

npm WARN deprecated<EMAIL_ADDRESS>react-tools is deprecated. For more information, visit https://fb.me/react-tools-deprecated
make: *** No rule to make target `../../../../../../../../../../../../Applications/Atom', needed by `Makefile'.  Stop.
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/Applications/Atom Beta.app/Contents/Resources/app/apm/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)
gyp ERR! stack     at ChildProcess.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:820:12)
gyp ERR! System Darwin 15.2.0
gyp ERR! command "node" "/Applications/Atom Beta.app/Contents/Resources/app/apm/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /private/var/folders/fr/m5rfl21519b1vy0rdt39qqv40000gp/T/apm-install-dir-1151025-34462-1kxvba4/node_modules/term3/node_modules/pty.js
gyp ERR! node -v v0.10.40
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok
npm ERR! Darwin 15.2.0
npm ERR! argv "/Applications/Atom Beta.app/Contents/Resources/app/apm/bin/node" "/Applications/Atom Beta.app/Contents/Resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/Users/mac/.atom/.apm/.apmrc" "--userconfig" "/Users/mac/.atom/.apmrc" "install" "/private/var/folders/fr/m5rfl21519b1vy0rdt39qqv40000gp/T/d-1151025-34462-agbddv/package.tgz" "--target=0.34.3" "--arch=x64"
npm ERR! node v0.10.40
npm ERR! npm  v2.13.3
npm ERR! code ELIFECYCLE

npm ERR<EMAIL_ADDRESS>install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the pty.js package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls pty.js
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /private/var/folders/fr/m5rfl21519b1vy0rdt39qqv40000gp/T/apm-install-dir-1151025-34462-1kxvba4/npm-debug.log```

Can you repeat that with apm install --verbose? The exact error should be in the last couple hundred lines of that command.
Oh, and are you running the latest version of OS X and Atom?

verbose got really big, but this is the end:
REQUEST emitting complete https://registry.npmjs.org/lru-cache
REQUEST onRequestResponse https://registry.npmjs.org/depd 304 { date: 'Wed, 25 Nov 2015 16:37:46 GMT',
  via: '1.1 varnish',
  'cache-control': 'max-age=60',
  etag: '"D51XQ8IB2NO2EXAU1UFAY1A1L"',
  age: '44',
  connection: 'keep-alive',
  'x-served-by': 'cache-jfk1032-JFK',
  'x-cache': 'HIT',
  'x-cache-hits': '4',
  'x-timer': 'S1448469466.114623,VS0,VE0',
  vary: 'Accept' }
REQUEST finish init function https://registry.npmjs.org/depd
REQUEST response end https://registry.npmjs.org/depd 304 { date: 'Wed, 25 Nov 2015 16:37:46 GMT',
  via: '1.1 varnish',
  'cache-control': 'max-age=60',
  etag: '"D51XQ8IB2NO2EXAU1UFAY1A1L"',
  age: '44',
  connection: 'keep-alive',
  'x-served-by': 'cache-jfk1032-JFK',
  'x-cache': 'HIT',
  'x-cache-hits': '4',
  'x-timer': 'S1448469466.114623,VS0,VE0',
  vary: 'Accept' }
REQUEST end event https://registry.npmjs.org/depd
REQUEST emitting complete https://registry.npmjs.org/depd
npm ERR! Darwin 15.2.0
npm ERR! argv "/Applications/Atom Beta.app/Contents/Resources/app/apm/bin/node" "/Applications/Atom Beta.app/Contents/Resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/Users/mac/.atom/.apm/.apmrc" "--userconfig" "/Users/mac/.atom/.apmrc" "install" "/private/var/folders/fr/m5rfl21519b1vy0rdt39qqv40000gp/T/d-1151025-35418-3v0i72/package.tgz" "--target=0.34.3" "--arch=x64"
npm ERR! node v0.10.40
npm ERR! npm  v2.13.3
npm ERR! code ELIFECYCLE

npm ERR<EMAIL_ADDRESS>install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the pty.js package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls pty.js
npm ERR! There is likely additional logging output above

Versions:
atom 1.3.0-beta0
apm  1.4.1
npm  2.13.3
node 0.10.40
python 2.7.10
git 2.6.3

This is actually a duplicate of #11.


XLIFF issues questions.

I've already been browsing previous issue with XLIFF, translations and so forth. Without finding an answer to my questions. It's a two part.

I would like to start using translations files rather than the soon-to-be-deprecated ML properties. I've
included the Translation file feature in the app.json files and so forth. My question is first and foremost,
is there no way to convert the ML properties to a translation file. I'd really like to be able to reuse the translations that have already been done. Is there no way to do that?

As i did not find any answer to my first question by asking google a lot of times in many different ways, i started investigating making my own solution. I'm a bit puzzled with the XLIFF format. I did some tests using the web tool CrowdIn, uploading the translation file and doing some translations. The attributes in the translated file differs from the XLIFF file VS Code Produces however the translation works.

<trans-unit id="Table<PHONE_NUMBER> - Field 201111778 - Property<PHONE_NUMBER>" size-unit="char" translate="yes" xml:space="preserve">
  <source>Test Field</source>
  <note from="Developer" annotates="general" priority="2" />
  <note from="Xliff Generator" annotates="general" priority="3">Table:My Test Table - Field:Test Field</note>
</trans-unit>

Becomes
<trans-unit id="140994" identifier="d1127d244b3f399fa4ad41c98645ce21">
  <source>Test Field</source>
  <target>Test Felt</target>
  <note from="Developer" annotates="general" priority="2" />
  <note from="Xliff Generator" annotates="general" priority="3">Table:My Test Table - Field:Test Field</note>
</trans-unit>

I would expect the id to be a one to one correspondence uniquely identifying where the caption should be used, however i see no link between the two and yet it works? Unless the identifier attribute is som kind hashvalue of ""Table<PHONE_NUMBER> - Field 201111778 - Property<PHONE_NUMBER>". So my question is what is the identifier? How is the translation mapped to a field action or what ever?

@NicolaiEsbensen are you sure the "Becomes" file work? I don't think it whould. The ID in the translated file has to match the original ID.
If you are using Developer Preview, when doing txt2al you will now have xliff files generated alongside your extension with your translations extracted into them.
If you are asking about converting a v2 extension which uses ML syntax into label syntax I'm afraid we do not have that feature yet.

@DominikDitoIvosevic. I did not do much testing myself, but reports from my colleague is that it is in fact working. Are there any system in the ID's generated?
I am using devpreview (just pulled microsoft/bcsandbox:latest), from docker but txt2al does not generate any translation files, only al. Is there a hidden parameter I'm missing.?

@DominikDitoIvosevic bump.

@NicolaiEsbensen so what is the question now? As I understand, now you saw that the IDs are the same.
The IDs in translation items are hashed names of same symbols because we can't have the IDs be too long.

@DominikDitoIvosevic my question was now that i can not make txt2al create the xliff files along with the al files. Please read my comment again.

Hi @NicolaiEsbensen,
Apologies for a late reply. Did you manage to get txt2al to generate the xliff files?
It requires no additional commandline options for txt2al.
I haven't tested yet if this functionality is available in microsoft/bcsandbox images, but it definitely should work in bcinsider.azurecr.io/bcsandbox


Standard Setup with Conda fails (on macOS)

conda create -n bw -c cmutel brightway25 jupyterlab

leads to
UnsatisfiableError: The following specifications were found to be incompatible with each other:

Output in format: Requested package -> Available versions

Package python conflicts for:
brightway25 -> bw2analyzer[version='>=0.11.4'] -> python[version='>=3.10,<3.11.0a0|>=3.10,<3.11.0a0|>=3.11,<3.12.0a0|>=3.11,<3.12.0a0|>=3.4|>=3.7|>=3.5|>=3.6|>=3.9,<3.10.0a0|>=3.9,<3.10.0a0|>=3.8,<3.9.0a0|>=3.8,<3.9.0a0',build=*_cpython]
brightway25 -> python[version='>=3.9']

Package sqlite conflicts for:
brightway25 -> python[version='>=3.9'] -> sqlite[version='>=3.33.0,<4.0a0|>=3.34.0,<4.0a0|>=3.35.5,<4.0a0|>=3.36.0,<4.0a0|>=3.37.0,<4.0a0|>=3.37.1,<4.0a0|>=3.38.5,<4.0a0|>=3.41.2,<4.0a0|>=3.41.1,<4.0a0|>=3.40.1,<4.0a0|>=3.40.0,<4.0a0|>=3.39.3,<4.0a0|>=3.38.0,<4.0a0|>=3.37.2,<4.0a0|>=3.39.2,<4.0a0|>=3.38.3,<4.0a0|>=3.38.2,<4.0a0|>=3.35.4,<4.0a0']
jupyterlab -> python[version='>=3.8'] -> sqlite[version='>=3.33.0,<4.0a0|>=3.34.0,<4.0a0|>=3.35.5,<4.0a0|>=3.36.0,<4.0a0|>=3.37.0,<4.0a0|>=3.37.1,<4.0a0|>=3.38.5,<4.0a0|>=3.41.2,<4.0a0|>=3.41.1,<4.0a0|>=3.40.1,<4.0a0|>=3.40.0,<4.0a0|>=3.39.3,<4.0a0|>=3.38.0,<4.0a0|>=3.37.2,<4.0a0|>=3.39.2,<4.0a0|>=3.38.3,<4.0a0|>=3.38.2,<4.0a0|>=3.35.4,<4.0a0']The following specifications were found to be incompatible with your system:

  - feature:/osx-arm64::__osx==13.5.2=0
  - feature:|@/osx-arm64::__osx==13.5.2=0
  - jupyterlab -> ipykernel -> __linux
  - jupyterlab -> ipykernel -> __osx

Your installed version is: 13.5.2

conda create -n bw -c conda-forge -c cmutel brightway25_nosolver scikit-umfpack jupyterlab for MacOS ARM64

Did we not remove the platform specific setup information from the documentation because the nosolver was no longer required? I don't have the paper trail on this - but I don't think I removed this without consulting one of the big shots first 🤔

Only for brightway2, not for brightway25.
On Thu, 14 Sept 2023 at 14:31, Michael Weinold @.***>
wrote:

Did we not remove the platform specific setup information from the
documentation because the nosolver was no longer required? I don't have
the paper trail on this - but I don't think I removed this without
consulting one of the big shots first 🤔
—
Reply to this email directly, view it on GitHub
https://github.com/brightway-lca/meta/issues/1#issuecomment-1719359172,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAE5QYMFPNYFDYY4JH6CL33X2L2JZANCNFSM6AAAAAA4WXIS6U
.
You are receiving this because you commented.Message ID:
@.***>


Release 0.2.1

Releasing Kanadi 0.2.1 which contains the fix for subscriptions

Codecov Report

Merging #14 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #14   +/-   ##
=======================================
  Coverage   70.31%   70.31%
=======================================
  Files          20       20
  Lines         438      438
  Branches       10       10
=======================================
  Hits          308      308
  Misses        130      130

Continue to review full report at Codecov.

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


StateCharts platformer demo animation bug

I am not sure if it is due to my version of GoDot used. I am using GoDot 4.1.1.
When I open the platformer demo that comes with the tool and try to run it, everything seems to work fine except when you do a double jump. The character is stuck in the spinning animation but the state in the debug box seems to be correctly displaying the states.

It would seem that the animation is set to loop endlessly, which would explain why the character is spinning forever. Interestingly this doesn't seem to be an issue in 4.0, but I can reproduce it in 4.1. I have changed the animation to not loop and that seems to do the trick in 4.1 as well.

Hmm no it's still not right , the animation is not aborted when the frog lands. Got to dig a bit deeper on this one.

Now I can't reproduce it anymore, this animation stuff is really finicky. In any case the main problem should be fixed now, if you find a way of reproducing a roll after a double jump I'd be interested. Thanks a lot!


Windows 10 Audio Devics not detected.

OS:
Win10Pro Build 14393
Issue Descriptions:
No sound device is detected

I've read some of the issues on Github, so I'll anticipate that don't use Chrome at all, Firefox is my workhorse.
Steps to Reproduce:
Just opening the application

I should add that I did see https://github.com/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/issues/2069 but that my firewall is completely disabled while debugging this so that can't be the issues.

The audio devices not being detected appears to be due to your GPM not actually loading, if you are using a VPN / proxy please disable it.
This is a non-issue as we require the GPM page to load before the audio devices can be read in.

I don't use either VPN or Proxy

I have no explanation as to why it started working but it just did after I restarted the app for the 5th or 6th time.  I didn't restart my machine or change any other configuration.
And thank you for this...it looks absolutely awesome!


Add support for loading .anim files.

Low priority sequences (like emotes) are not embedded in M2 files but located in separate files with .anim extensions. There is such a file for each low priority sequence and it can be identified via the sequence id.
Each sequence that does not hold the 0x20 value in its flag is a called external sequence and must be processed in a separate code path.
I think it's best to introduce an option (loadExternalSequences) that can be passed to the load() method. It's default value would be false. When set to true, the loader automatically loads all external .anim files. Their content is stored as array buffers internally and used when parsing tracks.

I have changed my mind. I think we can support lazy loading when playSequence() is called. But we must ensure to avoid duplicate track parsing logic if possible.
Such an approach should better match to developer's expectations than a loadExternalSequences flag.

const filename = this.filename;
const sequenceId = id.toString().padStart( 4, '0' );
const subSequenceId = variationIndex.toString().padStart( 2, '0' );

const path = this.path + filename + sequenceId + '-' + subSequenceId + '.anim';

fetch( path ).then( ( response ) => {

	if ( response.ok === false ) {

		throw new Error( `Unable to load animation file. HTTP error, response status = ${response.status}` );

	}

	return response.arrayBuffer();

} ).then( ( buffer ) => {

	console.log( buffer );

} );

The above code shows how the path for an external animation file is build and how the loading process looks like. However, I'm not sure yet how to update the existing keyframes with these new track data.

Fixed via 53749a395a6c61bea4700e422af1c8a436557a9a.


config.json

Can you tell the path where I should edit the variables cause I cannot find the files in the repository. Hoping you would help soon

The config.json should be placed in the directory where the executable file is located, that is, the two should belong to the same root directory


Bibtex entry fix

The Bibtex did not have a name, so it showed as commented in Latex

Thanks! I will update it properly (accordingly to Google Scholar).

Thanks! I will update it properly (accordingly to Google Scholar).


Anonymous S3 access

I would like to have anonymous access to S3. In my scenario access is authorized through VPC policies and doesn't require signed requests. However the software will automatically sign the AWS request even if I don't specify access keys.
Would it be possible to support anonymous S3 calls (ie. without the AWS signature)

is there a link documentation describing this sort of access? I've never tried.

The briefly mention it here:
https://docs.aws.amazon.com/AmazonS3/latest/API/Welcome.html
The basically state: Requests to Amazon S3 can be authenticated or anonymous.
Then go on that authenticated requests require signing.
If you don't place any headers and no request signing, then it is anonymous.
There is also some information about S3 being accessed this way.
https://repost.aws/knowledge-center/s3-private-connection-no-authentication
We have a container that needs access to a S3 bucket and we don't want anybody to know about access keys and secrets when deploying the container.
The container is deployed in K8S on a certain VPC and we then setup policies that allow access to these buckets from that VPC.
I can try to find more information on this if need be.

You should be able to turn off authentication, just don't sign the outgoing request.

Correct, but the S3AuthHandler will always sign the request. So how do I "just don't sign the request" with the current API?
Would it be possible for the S3AuthHandler to check whether a null/empty access id/secret is provided and then omit signing the request?

Unfortunately I can't get a service that accepts no auth to test this. If you can provide this or raise a pr it would be great.

Closing as there seems to be no interest in this. The only use case I found that does not require authentication is downloading files via http(s), which does not need any library.


feat: mute collectors based on exception count

Is your feature request related to a problem? Please provide an existing Issue # , or describe.
As discussed at https://github.com/opensearch-project/performance-analyzer/issues/549
Describe the solution you are proposing
We use the exception counts maintained by StatsCollector to dynamically mute collectors based on the number of exceptions they throw in the last minute of sampling.
Additional context
Currently in the proof of concept stage. If this is successful, further avenues of investigation may be:

tracking the number of bytes written by each collector and using that data to dynamically control collectors
collecting more nuanced performance information about collectors such as their CPU consumption

Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

What sort of configuration setting do you think would be appropriate for exceptionMuteLimit? Would this have a default value (like 5) or be off by default? I imagine having it off by default will be sensible.

summary of changes so far:

added exception counting mechanism to mute collectors
changed invokePrivileged to not catch errors, since exception counting relies on the exceptions not being caught and logged earlier in the chain. invokePrivilegedAndLogError is more appropriate for when exceptions being caught is desired.

migrated some uses of invokePrivileged to invokePrivilegedAndLogError

added testing for muting behavior

this required adding a flag to allow Mockito access to certain parts of java.base (see commit)
test passes


⭐ April monthly maintenance release

Q2-0424-1.0.02 includes:

Broken link fix to Plain language checklist

Closed due to incorrect branch naming.


Twitter Service question

Hi. I wonder why there is only GetUserTimeLineAsync() but nothing for 'GET statuses / home_timeline'. Is this something missing on purpose?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: fa39a055-5496-019f-e9cf-7ceaaaeb2407
Version Independent ID: c0ecb96a-1d93-69d3-1393-74f2d306821c
Content: Twitter Service - UWP Community Toolkit
Content Source: docs/services/Twitter.md
Service: unspecified
GitHub Login: @nmetulev
Microsoft Alias: nikolame

Hi @omarato, have you tried using the RequestAsync methods from the TwitterService?

Closing issue, feel free to comment if this did not answer your question


⚠ Catalog API Endpoint has degraded performance

In 6836c44, Catalog API Endpoint (https://catalog.roblox.com/v1/bundles/details?bundleIds=192) experienced degraded performance:

HTTP code: 200
Response time: 1241 ms

Resolved: Catalog API Endpoint performance has improved in 2676e0b.


Doc: explain macro invocation more prominently

We had a user on IRC who read the macro docs and missed the fact that
one has to press a comma to invoke the macro. I rewrote that section to
mention the comma in multiple places, and also structure it such that
the user is more likely to actually read the text :)
Will merge in three days if there are no objections, or right after Lyse's review.

Coverage remained the same at 59.034% when pulling fc7a3e2a1582c95a6b994272a35d55860af9c2bb on feature/docs-mention-macro-prefix-prominently into 152ca7305bc02579c38991e104f600a0fa036b92 on master.

Thanks for the reviews! ^_^


Remove Catches of Throwable

There is one left in std.net.curl, which cannot be fixed as it's a legitimate bug workaround.
Once either https://github.com/Hackerpilot/Dscanner/issues/362 is fixed or Bugzilla 7018 is fixed, the check in dscanner can be enabled.

LGTM.

We need comments from the authors of the modules before merging this

We need comments from the authors of the modules before merging this

The are not currently around. std.socket and std.stream are very old, dating from D1 (I think that their authors were gone before I even got involved), and while David Simcha (the author of std.parallelism) was quite involved a few years ago (he gave a talk at dconf 2013), he seems to have pretty much disappeared since (I think due to changes that came from his transition from student to full time employee).
std.stream is deprecated and scheduled to be completely removed in October, so it doesn't matter much, whereas I think that the situation with std.socket is fairly clear. I do think that someone with a fairly good understanding of std.parallelism is going to have to chime in on that one though, since I do think that there's a good chance that this change is wrong with regards to it.

I do have to wonder what the purpose of those "soft" tests are in std.socket though. This change clearly makes it so that they're not soft, and that seems to have broke the FreeBSD 32-bit build, but that implies that a previous change broke FreeBSD 32-bit and wasn't caught because the tests were "soft." My initial reaction is that it was a mistake to make them that way, but we'd probably need to find the PR that introduced them to be sure.

Closing due to lack of time available to maintain this

have broke the FreeBSD 32-bit build, but that implies that a previous change broke FreeBSD 32-bit and wasn't caught because the tests were "soft." My initial reaction is that it was a mistake to make them that way, but we'd probably need to find the PR that introduced them to be sure.

But you have discovered a real bug here, maybe you have at least time to report it on Bugzilla?


feat: add dev preview capability

Creating as separate PR to review but this PR targets srs-cli branch that has SDK and initial commands.
Usage:

rhoas help (see no commands)
rhoas --devpreview=true
rhoas help
Check if commands are there

Update from call. We will refactor this command post POC like in the #346 , however for the moment, I will keep flags this way.
Pushing changes to feature branch.

This is still printing help when dev preview is enabled.


Update @gisce/ooui to v1.0.0-alpha.11

Automated changes by create-pull-request GitHub action

:tada: This PR is included in version 2.0.0-alpha.36 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Document upgrade procedure to Antrea v2

We are removing some Alpha APIs in Antrea v2. All changes are in line with our versioning policy: https://github.com/antrea-io/antrea/blob/main/docs/versioning.md
An example the v1alpha1/Tier CRD: https://github.com/antrea-io/antrea/pull/6162. One concern would be a user upgrading from an older Antrea version (e.g. 1.11) to Antrea v2.0. In this case, the v1beta1 version of API didn't exist in v1.11, so antctl upgrade api-storage cannot be used. My assumption would be that direct upgrade to v2.0 would not be possible in this case, and that users would need to upgrade to an intermediate version (1.13, 1.14, or 1.15) first. The fact that the 2 API resources are technically the "same" (conversion strategy is None) should be irrelevant here.
We should make sure that this is well-documented, and include a pointer to the relevant documentation in the Antrea v2.0 release notes.
See also https://github.com/antrea-io/antrea/pull/6162#discussion_r1543378240

@luolanzone I should be able to submit a PR for this tomorrow. It should be a short document but I think it's important to have it for the v2 release.


Clone not found in the source code.

As my think, the singleton is default with container, because the equal("=") operator of the object in PHP is by reference, and if the resolved object is not shared, it must be returned by clone operator, because when we use with the operator clone is fast than with the operator new.

No, the object is rebuilt when not shared


Firmware update not possible

Describe the bug
Firmware update is not possible. UI shows Loading Screen even for hours. Restarted and updated System a couple of times - doesn't change the behavior.
To Reproduce
Steps to reproduce the behavior:

Go to 'Settings'
Click on 'Device firmware - overview'
Click on 'Device firmware' (at the bottom)
See error (never ending loading screen - you need to forcely reload the web page to become responsive again)

Expected behavior
Upload new firmware for devices and not "freezing" the web page.
Screenshots

System information (please complete the following information):

Version <IP_ADDRESS>00621 (but happend also in earlier versions)
Hardware: rpi3 - ELV Charly

Additional context
UI shows me some new device firmware versions, but I can't upload them and I can't find another way.

Can you please have a look if there is any error/crash message in the local /usr/local/tmp directory when this happens. In addition, please open the debug console of your web browser to have a look for potential issues/errors being displayed.

Sadly, either way there is no error or any other message:

root@neptunium:/usr/local/tmp# ll
total 8
drwxr-xr-x    2 root     root          4096 Aug  1 16:16 ./
drwxr-xr-x    7 root     root          4096 Jul 29 11:09 ../
-rw-r--r--    1 root     root             0 Jul 29 11:09 .nobackup
-rw-r--r--    1 root     root             0 Jan  1  1970 .watchdog
root@neptunium:/usr/local/tmp#

Nope, sorry. Currently I am out of ideas since all these firmware update routines, etc. are an integrated feature of HMIPServer which in fact is closed source.

Nope, sorry. Currently I am out of ideas since all these firmware update routines, etc. are an integrated feature of HMIPServer which in fact is closed source.

Is there any other way to update the devices firmwares?

I am seeing the exact same issue (running <IP_ADDRESS>01121).
I suspect a faulty SD-Card because whenever I click that link I get this in dmesg:
[Thu Nov 26 12:18:52 2020] EXT4-fs error (device mmcblk0p3): __ext4_find_entry:1541: inode #260284: comm vert.x-worker-t: checksumming directory block 0
[Thu Nov 26 12:29:52 2020] EXT4-fs warning (device mmcblk0p3): ext4_dirblock_csum_verify:370: inode #260347: comm vert.x-worker-t: No space for directory leaf checksum. Please run e2fsck -D.

I am going to try replacing the SD-Card and report back here if that fixed it.

I am seeing the exact same issue (running <IP_ADDRESS>01121).
I suspect a faulty SD-Card because whenever I click that link I get this in dmesg:
[Thu Nov 26 12:18:52 2020] EXT4-fs error (device mmcblk0p3): __ext4_find_entry:1541: inode #260284: comm vert.x-worker-t: checksumming directory block 0
[Thu Nov 26 12:29:52 2020] EXT4-fs warning (device mmcblk0p3): ext4_dirblock_csum_verify:370: inode #260347: comm vert.x-worker-t: No space for directory leaf checksum. Please run e2fsck -D.

I am going to try replacing the SD-Card and report back here if that fixed it.

That was a good idea. But I don't see this messages in dmesg. Maybe I should try it with another SD Card anyway. Please keep me updated, if this fixed it for you.
Also to mention that: I checked again every (for me) known log file. There is not one error message anywhere. Even with the newest firmware.
Thank you.
Regards,
Jens

Replacing the sd card did indeed fix this issue for me. Now the firmware update functionality is back.
The backup / flash new sd card / restore backup was painless and it took me less than 30 minutes to get back to a working installation.

Replacing the sd card did indeed fix this issue for me. Now the firmware update functionality is back.
The backup / flash new sd card / restore backup was painless and it took me less than 30 minutes to get back to a working installation.

Thank you for sharing. Maybe I should try it, too. But besides the Firmware-Update Problems, everything is working fine since a year or so. I will let you know, if changing the SD Card worked for me, too.

Replacing the sd card did indeed fix this issue for me. Now the firmware update functionality is back.
The backup / flash new sd card / restore backup was painless and it took me less than 30 minutes to get back to a working installation.

Sadly, this didn't work for me.
I installed Raspberrymatic on a new SD Card. On first (empty) boot, I could access the Firmware Update Menu. After I imported a Backup, it again didn't work.
Is there any other help for this? I would appreciate any support, without reconfiguring EVERYTHING.

Exact same issue here regarding the firmware upload.
I did have a faulty SD card, too.
Realized this as the UI was not loading at all sometimes and only way to recover was to restart the Raspberry.
However flashing a new SD card and importing the backup did not solve my issue.
So I suspect the problem is imported again with the backup.
Here is how i worked around the problem:

Connect to the Raspberry via FTP
Navigate to /usr/local/etc/config/firmware
Upload newer firmware versions to their respective folders (delete old files first)
In case it is a firmware of a device without an existing folder just create one with a random number and upload (number does not seem to matter)
Execute firmware update via UI

Hope this helps to update your firmware and maybe find a solution to the problem.

Exact same issue here regarding the firmware upload.
I did have a faulty SD card, too.
Realized this as the UI was not loading at all sometimes and only way to recover was to restart the Raspberry.
However flashing a new SD card and importing the backup did not solve my issue.
So I suspect the problem is imported again with the backup.
Here is how i worked around the problem:

Connect to the Raspberry via FTP
Navigate to /usr/local/etc/config/firmware
Upload newer firmware versions to their respective folders (delete old files first)
In case it is a firmware of a device without an existing folder just create one with a random number and upload (number does not seem to matter)
Execute firmware update via UI

Hope this helps to update your firmware and maybe find a solution to the problem.

Exact same issue here regarding the firmware upload.
I did have a faulty SD card, too.
Realized this as the UI was not loading at all sometimes and only way to recover was to restart the Raspberry.
However flashing a new SD card and importing the backup did not solve my issue.
So I suspect the problem is imported again with the backup.
Here is how i worked around the problem:

Connect to the Raspberry via FTP
Navigate to /usr/local/etc/config/firmware
Upload newer firmware versions to their respective folders (delete old files first)
In case it is a firmware of a device without an existing folder just create one with a random number and upload (number does not seem to matter)
Execute firmware update via UI

Hope this helps to update your firmware and maybe find a solution to the problem.
Thanks @slankes for redirecting me here!

This didn't work for me either.
BUT... There was an empty folder at that location (/usr/local/etc/config/firmware/288). As I played around, I just deleted everything. After clearing everything inside the folder firmware, the "Upload Firmware" at the UI worked again. THANK YOU SO MUCH!
And by the way... Why is that a) closed source and b) that buggy?

Exact same issue here regarding the firmware upload.
I did have a faulty SD card, too.
Realized this as the UI was not loading at all sometimes and only way to recover was to restart the Raspberry.
However flashing a new SD card and importing the backup did not solve my issue.
So I suspect the problem is imported again with the backup.
Here is how i worked around the problem:

Connect to the Raspberry via FTP
Navigate to /usr/local/etc/config/firmware
Upload newer firmware versions to their respective folders (delete old files first)
In case it is a firmware of a device without an existing folder just create one with a random number and upload (number does not seem to matter)
Execute firmware update via UI

Hope this helps to update your firmware and maybe find a solution to the problem.
Thanks @slankes for redirecting me here!

This didn't work for me either.
BUT... There was an empty folder at that location (/usr/local/etc/config/firmware/288). As I played around, I just deleted everything. After clearing everything inside the folder firmware, the "Upload Firmware" at the UI worked again. THANK YOU SO MUCH!
And by the way... Why is that a) closed source and b) that buggy?

@Havoc85 DO you have an older backup with the broken /usr/local/etc/config/firmware before you deleted it? This would give us potentially the chance to investigate and create a fix/workaround here.

@Havoc85 DO you have an older backup with the broken /usr/local/etc/config/firmware before you deleted it? This would give us potentially the chance to investigate and create a fix/workaround here.

@Havoc85 DO you have an older backup with the broken /usr/local/etc/config/firmware before you deleted it? This would give us potentially the chance to investigate and create a fix/workaround here.

Yes. I have. Every Backup had that problem.
Is there any way to anonymize the backup?

@Havoc85 DO you have an older backup with the broken /usr/local/etc/config/firmware before you deleted it? This would give us potentially the chance to investigate and create a fix/workaround here.

Yes. I have. Every Backup had that problem.
Is there any way to anonymize the backup?

If you know how, you can also simply archive the whole /usr/local/etc/config/firmware content and send it over here. This should not contain any sensible / private information. Are you send me your whole backup in a private email, if you trust me.

If you know how, you can also simply archive the whole /usr/local/etc/config/firmware content and send it over here. This should not contain any sensible / private information. Are you send me your whole backup in a private email, if you trust me.


Langchain::Prompt.load_from_path fails when loading yaml

This is my first project using lanchain-rb and I am so glad to leave python on the shelf for now!
Anyway,
prompt = Langchain::Prompt.load_from_path(file_path: 'prompts/foo.yaml')
is failing with error
/gems/psych-<IP_ADDRESS>/lib/psych/class_loader.rb:99:in find': Tried to load unspecified class: Symbol (Psych::DisallowedClass)
The failure is caused by a security fix in psych gem (prohibiting symbols) so you may want to do something with your gemspec or whatever. (By the way, adding psych to my Gemfile backdated to 4.0.1 and requiring it didn't solve my langchain-rb issue. (that's what psych issues for this error recommend))
I'll need to use json for now but would prefer to use yaml.
The trace is below.
prompt = Langchain::Prompt.load_from_path(file_path: 'prompts/foo.yaml')
/Users/jk/.rvm/gems/ruby-3.2.2@foo/gems/psych-<IP_ADDRESS>/lib/psych/class_loader.rb:99:in `find': Tried to load unspecified class: Symbol (Psych::DisallowedClass)
	from /Users/jk/.rvm/gems/ruby-3.2.2@dcidr/gems/psych-<IP_ADDRESS>/lib/psych/class_loader.rb:28:in `load'
	from /Users/jk/.rvm/gems/ruby-3.2.2@dcidr/gems/psych-<IP_ADDRESS>/lib/psych/class_loader.rb:40:in `symbol'
	from /Users/jk/.rvm/gems/ruby-3.2.2@dcidr/gems/psych-<IP_ADDRESS>/lib/psych/class_loader.rb:32:in `symbolize'
	from /Users/jk/.rvm/gems/ruby-3.2.2@dcidr/gems/psych-<IP_ADDRESS>/lib/psych/class_loader.rb:84:in `symbolize'
	from /Users/jk/.rvm/gems/ruby-3.2.2@dcidr/gems/psych-<IP_ADDRESS>/lib/psych/scalar_scanner.rb:80:in `tokenize'
	from /Users/jk/.rvm/gems/ruby-3.2.2@dcidr/gems/psych-<IP_ADDRESS>/lib/psych/visitors/to_ruby.rb:65:in `deserialize'
	from /Users/jk/.rvm/gems/ruby-3.2.2@dcidr/gems/psych-<IP_ADDRESS>/lib/psych/visitors/to_ruby.rb:130:in `visit_Psych_Nodes_Scalar'
	from /Users/jk/.rvm/gems/ruby-3.2.2@dcidr/gems/psych-<IP_ADDRESS>/lib/psych/visitors/visitor.rb:30:in `visit'
	from /Users/jk/.rvm/gems/ruby-3.2.2@dcidr/gems/psych-<IP_ADDRESS>/lib/psych/visitors/visitor.rb:6:in `accept'
	from /Users/jk/.rvm/gems/ruby-3.2.2@dcidr/gems/psych-<IP_ADDRESS>/lib/psych/visitors/to_ruby.rb:35:in `accept'
	from /Users/jk/.rvm/gems/ruby-3.2.2@dcidr/gems/psych-<IP_ADDRESS>/lib/psych/visitors/to_ruby.rb:346:in `block in revive_hash'
	from /Users/jk/.rvm/gems/ruby-3.2.2@dcidr/gems/psych-<IP_ADDRESS>/lib/psych/visitors/to_ruby.rb:345:in `each'
	from /Users/jk/.rvm/gems/ruby-3.2.2@dcidr/gems/psych-<IP_ADDRESS>/lib/psych/visitors/to_ruby.rb:345:in `each_slice'
	from /Users/jk/.rvm/gems/ruby-3.2.2@dcidr/gems/psych-<IP_ADDRESS>/lib/psych/visitors/to_ruby.rb:345:in `revive_hash'
	from /Users/jk/.rvm/gems/ruby-3.2.2@dcidr/gems/psych-<IP_ADDRESS>/lib/psych/visitors/to_ruby.rb:169:in `visit_Psych_Nodes_Mapping'
	from /Users/jk/.rvm/gems/ruby-3.2.2@dcidr/gems/psych-<IP_ADDRESS>/lib/psych/visitors/visitor.rb:30:in `visit'
	... 14 levels...

@johnknapp Are you able to share the yaml file you're trying to load? I've never seen this issue before!

Here you go @andreibondarev, the yaml is attached (inside a zip because I couldn't attach the yaml :-/). As an FYI, I'm also attaching the json version which loaded fine.
Working from code samples on the main README, running these three commands produced the error trace as seen above.
prompt = Langchain::Prompt::PromptTemplate.new(template: "Tell me a {adjective} joke about {content}.", input_variables: ["adjective", "content"])
prompt.save(file_path: "prompt_template.yaml")
prompt = Langchain::Prompt.load_from_path(file_path: "prompt_template.yaml")

Note that I generated the yaml file by changing the file extension from json (as shown in the readme) to yaml. Also note this isn't rails/activerecord. I'm using the roda framework and sequel db toolkit. I ran these commands from within the sequel CLI (essentially an IRB)
prompt_template.json
prompt_template.yaml.zip

By the way, I just tried with an irb shell and got the same error.

@johnknapp I had noticed that your prompt looks like the following:
---
:_type: prompt
:input_variables:
- adjective
- content
:template: Tell me a {adjective} joke about {content}.

I was able to get it running if I modified the keys:
---
_type: prompt
input_variables:
- adjective
- content
template: Tell me a {adjective} joke about {content}.

That's interesting @andreibondarev, and it makes sense considering the psych error. This sounds like a problem with the prompt.save method eh?

Well, lib/langchain/prompt/base.rb has this:

    #
    # Save the object to a file in JSON or YAML format.
    #
    # @param file_path [String, Pathname] The path to the file to save the object to
    #
    # @raise [ArgumentError] If file_path doesn't end with .json or .yaml or .yml
    #
    # @return [void]
    #
    def save(file_path:)
      save_path = file_path.is_a?(String) ? Pathname.new(file_path) : file_path
      directory_path = save_path.dirname
      FileUtils.mkdir_p(directory_path) unless directory_path.directory?

      case save_path.extname
      when ".json"
        File.write(file_path, to_h.to_json)
      when ".yaml", ".yml"
        File.write(file_path, to_h.to_yaml)
      else
        raise ArgumentError, "#{file_path} must be json or yaml file"
      end
    end

But I don't know why / how that code is symbolizing the keys.


laradock_apache2_1 exited with code 2 on Mac M1

Description:
For the first time when I install laradock on Mac M1 (OS mac Big Sur); rest all container are running well. and status is Up.
Only "Apache2" is not getting started with this error:
"laradock_apache2_1 exited with code 2"
Expected Behavior:
No local apache is running. So docker apache should be in working state.
Context information:
Output of git rev-parse HEAD
c7cb79efeea17896975595f6f87f12b8ba30e2ac
{paste here}

Output of docker version
Client:
 Cloud integration: 1.0.17
 Version:           20.10.7
 API version:       1.41
 Go version:        go1.16.4
 Git commit:        f0df350
 Built:             Wed Jun  2 11:56:23 2021
 OS/Arch:           darwin/arm64
 Context:           default
 Experimental:      true

Server: Docker Engine - Community
 Engine:
  Version:          20.10.7
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.13.15
  Git commit:       b0f5bc3
  Built:            Wed Jun  2 11:55:36 2021
  OS/Arch:          linux/arm64
  Experimental:     false
 containerd:
  Version:          1.4.6
  GitCommit:        d71fcd7d8303cbf684402823e425e9dd2e99285d
 runc:
  Version:          1.0.0-rc95
  GitCommit:        b9ee9c6314599f1b4a7f497e1f1f856fe433d3b7
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

Output of docker-compose version
docker-compose version 1.29.2, build 5becea4c
docker-py version: 5.0.0
CPython version: 3.9.0
OpenSSL version: OpenSSL 1.1.1h  22 Sep 2020

System info: Mac, Windows or Linux. Include which disto/version
Mac M1 chip (OS : Big Sur)

Steps to reproduce the issue:

Stacktrace & Additional info:
laradock % docker-compose ps
           Name                          Command               State                          Ports
--------------------------------------------------------------------------------------------------------------------------
laradock_apache2_1            /opt/docker/bin/entrypoint ...   Exit 2
laradock_docker-in-docker_1   dockerd-entrypoint.sh            Up       2375/tcp, 2376/tcp
laradock_mysql_1              docker-entrypoint.sh mysqld      Exit 0
laradock_php-fpm_1            docker-php-entrypoint php-fpm    Up       9000/tcp, <IP_ADDRESS>:9003->9003/tcp,:::9003->9003/tcp
laradock_phpmyadmin_1         /docker-entrypoint.sh apac ...   Exit 0
laradock_redis_1              docker-entrypoint.sh redis ...   Exit 0
laradock_workspace_1          /sbin/my_init                    Exit 2
tanveemoghe@Tanvees-MacBook-Pro laradock % sudo docker-compose up apache2 mysql phpmyadmin redis workspace
laradock_docker-in-docker_1 is up-to-date
Starting laradock_redis_1       ... done
Recreating laradock_mysql_1     ... done
Recreating laradock_workspace_1  ... done
Recreating laradock_phpmyadmin_1 ... done
Recreating laradock_php-fpm_1    ... done
Recreating laradock_apache2_1    ... done
Attaching to laradock_redis_1, laradock_mysql_1, laradock_phpmyadmin_1, laradock_workspace_1, laradock_apache2_1
mysql_1                | 2021-11-01 13:12:40+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.27-1debian10 started.
mysql_1                | 2021-11-01 13:12:42+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
phpmyadmin_1           | AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using <IP_ADDRESS>. Set the 'ServerName' directive globally to suppress this message
mysql_1                | 2021-11-01 13:12:43+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.27-1debian10 started.
workspace_1            | *** Running /etc/my_init.d/00_regen_ssh_host_keys.sh...
workspace_1            | *** Running /etc/my_init.d/10_syslog-ng.init...
workspace_1            | [2021-11-01T13:12:45.231751] WARNING: Configuration file format is too old, syslog-ng is running in compatibility mode. Please update it to use the syslog-ng 3.25 format at your time of convenience. To upgrade the configuration, please review the warnings about incompatible changes printed by syslog-ng, and once completed change the @version header at the top of the configuration file; config-version='3.13'
workspace_1            | [2021-11-01T13:12:45.437121] WARNING: With use-dns(no), dns-cache() will be forced to 'no' too!;
workspace_1            | Nov  1 13:12:45 0795290de36f syslog-ng[15]: syslog-ng starting up; version='3.25.1'
workspace_1            | Nov  1 13:12:45 0795290de36f syslog-ng[15]: WARNING: log-fifo-size() works differently starting with syslog-ng 3.22 to avoid dropping flow-controlled messages when log-fifo-size() is misconfigured. From now on, log-fifo-size() only affects messages that are not flow-controlled. (Flow-controlled log paths have the flags(flow-control) option set.) To enable the new behaviour, update the @version string in your configuration and consider lowering the value of log-fifo-size().;
workspace_1            | *** Booting runit daemon...
workspace_1            | *** Runit started as PID 23
workspace_1            | Nov  1 13:12:46 0795290de36f cron[26]: (CRON) INFO (pidfile fd = 3)
workspace_1            | Nov  1 13:12:46 0795290de36f cron[26]: (CRON) INFO (Running @reboot jobs)
redis_1                | 1:C 01 Nov 2021 13:12:40.001 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
redis_1                | 1:C 01 Nov 2021 13:12:40.001 # Redis version=6.2.6, bits=64, commit=00000000, modified=0, pid=1, just started
redis_1                | 1:C 01 Nov 2021 13:12:40.001 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
redis_1                | 1:M 01 Nov 2021 13:12:40.002 * monotonic clock: POSIX clock_gettime
redis_1                | 1:M 01 Nov 2021 13:12:40.008 * Running mode=standalone, port=6379.
redis_1                | 1:M 01 Nov 2021 13:12:40.008 # Server initialized
phpmyadmin_1           | AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using <IP_ADDRESS>. Set the 'ServerName' directive globally to suppress this message
mysql_1                | 2021-11-01T13:12:44.697041Z 0 [Warning] [MY-010915] [Server] 'NO_ZERO_DATE', 'NO_ZERO_IN_DATE' and 'ERROR_FOR_DIVISION_BY_ZERO' sql modes should be used with strict mode. They will be merged with strict mode in a future release.
mysql_1                | 2021-11-01T13:12:44.699046Z 0 [Warning] [MY-010918] [Server] 'default_authentication_plugin' is deprecated and will be removed in a future release. Please use authentication_policy instead.
mysql_1                | 2021-11-01T13:12:44.699262Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.27) starting as process 1
mysql_1                | 2021-11-01T13:12:44.718292Z 0 [Warning] [MY-013242] [Server] --character-set-server: 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
mysql_1                | 2021-11-01T13:12:44.747468Z 0 [Warning] [MY-010159] [Server] Setting lower_case_table_names=2 because file system for /var/lib/mysql/ is case insensitive
phpmyadmin_1           | [Mon Nov 01 13:12:43.522198 2021] [mpm_prefork:notice] [pid 1] AH00163: Apache/2.4.38 (Debian) PHP/7.4.20 configured -- resuming normal operations
phpmyadmin_1           | [Mon Nov 01 13:12:43.529873 2021] [core:notice] [pid 1] AH00094: Command line: '/usr/sbin/apache2 -D FOREGROUND'
mysql_1                | 2021-11-01T13:12:44.984180Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
redis_1                | 1:M 01 Nov 2021 13:12:40.016 * Loading RDB produced by version 6.2.6
redis_1                | 1:M 01 Nov 2021 13:12:40.016 * RDB age 356 seconds
redis_1                | 1:M 01 Nov 2021 13:12:40.016 * RDB memory usage when created 0.80 Mb
redis_1                | 1:M 01 Nov 2021 13:12:40.016 # Done loading RDB, keys loaded: 0, keys expired: 0.
mysql_1                | 2021-11-01T13:12:45.660533Z 1 [ERROR] [MY-012585] [InnoDB] Linux Native AIO interface is not supported on this platform. Please check your OS documentation and install appropriate binary of InnoDB.
mysql_1                | 2021-11-01T13:12:45.661033Z 1 [Warning] [MY-012654] [InnoDB] Linux Native AIO disabled.
redis_1                | 1:M 01 Nov 2021 13:12:40.016 * DB loaded from disk: 0.004 seconds
redis_1                | 1:M 01 Nov 2021 13:12:40.016 * Ready to accept connections
mysql_1                | 2021-11-01T13:12:49.972786Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
apache2_1              | Log stdout redirected to /var/log/apache2/access.log
apache2_1              | Log stderr redirected to /var/log/apache2/error.log
apache2_1              | runtime: failed to create new OS thread (have 2 already; errno=22)
apache2_1              | fatal error: newosproc
apache2_1              |
apache2_1              | runtime stack:
apache2_1              | runtime.throw(0x6430dc, 0x9)
apache2_1              | 	/usr/local/Cellar/go/1.8.1/libexec/src/runtime/panic.go:596 +0x95
apache2_1              | runtime.newosproc(0xc420026000, 0xc420036000)
apache2_1              | 	/usr/local/Cellar/go/1.8.1/libexec/src/runtime/os_linux.go:163 +0x18c
apache2_1              | runtime.newm(0x650dd0, 0x0)
apache2_1              | 	/usr/local/Cellar/go/1.8.1/libexec/src/runtime/proc.go:1628 +0x137
apache2_1              | runtime.main.func1()
apache2_1              | 	/usr/local/Cellar/go/1.8.1/libexec/src/runtime/proc.go:126 +0x36
apache2_1              | runtime.systemstack(0x75bb00)
apache2_1              | 	/usr/local/Cellar/go/1.8.1/libexec/src/runtime/asm_amd64.s:327 +0x79
apache2_1              | runtime.mstart()
apache2_1              | 	/usr/local/Cellar/go/1.8.1/libexec/src/runtime/proc.go:1132
apache2_1              |
apache2_1              | goroutine 1 [running]:
apache2_1              | runtime.systemstack_switch()
apache2_1              | 	/usr/local/Cellar/go/1.8.1/libexec/src/runtime/asm_amd64.s:281 fp=0xc420022788 sp=0xc420022780
apache2_1              | runtime.main()
apache2_1              | 	/usr/local/Cellar/go/1.8.1/libexec/src/runtime/proc.go:127 +0x6c fp=0xc4200227e0 sp=0xc420022788
apache2_1              | runtime.goexit()
apache2_1              | 	/usr/local/Cellar/go/1.8.1/libexec/src/runtime/asm_amd64.s:2197 +0x1 fp=0xc4200227e8 sp=0xc4200227e0
mysql_1                | 2021-11-01T13:12:52.340609Z 0 [Warning] [MY-013746] [Server] A deprecated TLS version TLSv1 is enabled for channel mysql_main
mysql_1                | 2021-11-01T13:12:52.340906Z 0 [Warning] [MY-013746] [Server] A deprecated TLS version TLSv1.1 is enabled for channel mysql_main
mysql_1                | 2021-11-01T13:12:52.428384Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
mysql_1                | 2021-11-01T13:12:52.430378Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
laradock_apache2_1 exited with code 2
mysql_1                | 2021-11-01T13:12:52.478475Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory.
mysql_1                | 2021-11-01T13:12:52.928415Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Bind-address: '::' port: 33060, socket: /var/run/mysqld/mysqlx.sock
mysql_1                | 2021-11-01T13:12:52.931588Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.27'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  MySQL Community Server - GPL.
workspace_1            | Nov  1 13:13:01 0795290de36f CRON[32]: (laradock) CMD (/usr/bin/php /var/www/artisan schedule:run >> /dev/null 2>&1)
workspace_1            | Nov  1 13:14:01 0795290de36f CRON[36]: (laradock) CMD (/usr/bin/php /var/www/artisan schedule:run >> /dev/null 2>&1)
workspace_1            | Nov  1 13:15:01 0795290de36f CRON[41]: (laradock) CMD (/usr/bin/php /var/www/artisan schedule:run >> /dev/null 2>&1)
workspace_1            | Nov  1 13:16:01 0795290de36f CRON[46]: (laradock) CMD (/usr/bin/php /var/www/artisan schedule:run >> /dev/null 2>&1)
workspace_1            | Nov  1 13:17:01 0795290de36f CRON[51]: (laradock) CMD (/usr/bin/php /var/www/artisan schedule:run >> /dev/null 2>&1)
workspace_1            | Nov  1 13:17:01 0795290de36f CRON[50]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
workspace_1            | Nov  1 13:18:01 0795290de36f CRON[57]: (laradock) CMD (/usr/bin/php /var/www/artisan schedule:run >> /dev/null 2>&1)
workspace_1            | Nov  1 13:19:01 0795290de36f CRON[61]: (laradock) CMD (/usr/bin/php /var/www/artisan schedule:run >> /dev/null 2>&1)
workspace_1            | Nov  1 13:20:01 0795290de36f CRON[65]: (laradock) CMD (/usr/bin/php /var/www/artisan schedule:run >> /dev/null 2>&1)
workspace_1            | Nov  1 13:21:01 0795290de36f CRON[69]: (laradock) CMD (/usr/bin/php /var/www/artisan schedule:run >> /dev/null 2>&1)
workspace_1            | Nov  1 13:22:01 0795290de36f CRON[75]: (laradock) CMD (/usr/bin/php /var/www/artisan schedule:run >> /dev/null 2>&1)
^CGracefully stopping... (press Ctrl+C again to force)
Stopping laradock_phpmyadmin_1   ... done
Stopping laradock_workspace_1    ... done
Stopping laradock_mysql_1        ... done
Stopping laradock_redis_1        ... done

Had this issue also, fixed it with info from https://github.com/webdevops/Dockerfile/issues/395.
That said, now my docker file is not usable on non M1 architectures, so I am definitely interested in a proper Laradock solution.

To save some debug time of others: on M1 I added the following in the apache2/Dockerfile
RUN wget -O "/usr/local/bin/go-replace" "https://github.com/webdevops/goreplace/releases/download/1.1.2/gr-arm64-linux"
RUN chmod +x "/usr/local/bin/go-replace"
RUN "/usr/local/bin/go-replace" --version

Add on .env FOR_M1=true
And in your apache2/Dockerfile:
RUN if [ ${FOR_M1} = true ]; then wget -O "/usr/local/bin/go-replace" "https://github.com/webdevops/goreplace/releases/download/1.1.2/gr-arm64-linux"; fi RUN if [ ${FOR_M1} = true ]; then chmod +x "/usr/local/bin/go-replace"; fi RUN if [ ${FOR_M1} = true ]; then "/usr/local/bin/go-replace" --version; fi

Same problem her! On a Mac Silicon computer:

git clone git@github.com:laradock/laradock.git
cd laradock
cp .env.example .env
docker-compose build workspace
docker-compose build apache2 ------> Apache2_1 exited with code 2

Running Docker Desktop for Apple M1 (v.4.3.0)

The solution, after much investigation:

Open /apache2/Dockerfile
Edit the first line in the file to look like this:
FROM --platform=linux/x86_64 webdevops/apache:ubuntu-18.04
At the end of the file, add this:
RUN wget -O "/usr/local/bin/go-replace" "https://github.com/webdevops/goreplace/releases/download/1.1.2/gr-arm64-linux"
&& chmod +x "/usr/local/bin/go-replace"
&& "/usr/local/bin/go-replace" --version
Do this:
docker-compose build apache2
docker-compose up apache2

Should work fine now!

Thank you!

https://github.com/laradock/laradock/pull/3279
I sent a PR to solve this topic

I still wasn't able to run it today on my M2. Had to manually add:
services:
apache2:
platform: linux/amd64
Only then it started properly.


Build errors with Mac OS X

When I run make after cmake  succeeded, it complains that
[  5%] Built target gen_proto_py
[  9%] Built target paddle_proto
[ 11%] Built target paddle_cuda
[ 11%] Building CXX object paddle/utils/CMakeFiles/paddle_utils.dir/Util.cpp.o
In file included from /Users/yi/work/paddle/paddle/utils/Util.cpp:16:
In file included from /Users/yi/work/paddle/paddle/utils/Util.h:31:
In file included from /Users/yi/work/paddle/paddle/utils/Logging.h:183:
/usr/local/include/glog/logging.h:695:32: error: comparison of integers of different signs:
      'const unsigned long long' and 'const int' [-Werror,-Wsign-compare]
DEFINE_CHECK_OP_IMPL(Check_NE, !=)  // Use CHECK(x == NULL) instead.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/usr/local/include/glog/logging.h:683:32: note: expanded from macro 'DEFINE_CHECK_OP_IMPL'
    if (GOOGLE_PREDICT_TRUE(v1 op v2)) return NULL; \
                               ^
/usr/local/include/glog/logging.h:133:53: note: expanded from macro 'GOOGLE_PREDICT_TRUE'
#define GOOGLE_PREDICT_TRUE(x) (__builtin_expect(!!(x), 1))
                                                    ^
/Users/yi/work/paddle/paddle/utils/Util.cpp:109:3: note: in instantiation of function template specialization
      'google::Check_NEImpl<unsigned long long, int>' requested here
  CHECK_NE(tid, -1);
  ^
/usr/local/include/glog/logging.h:766:30: note: expanded from macro 'CHECK_NE'
#define CHECK_NE(val1, val2) CHECK_OP(_NE, !=, val1, val2)
                             ^
/usr/local/include/glog/logging.h:741:3: note: expanded from macro 'CHECK_OP'
  CHECK_OP_LOG(name, op, val1, val2, google::LogMessageFatal)
  ^
/usr/local/include/glog/logging.h:732:18: note: expanded from macro 'CHECK_OP_LOG'
         google::Check##name##Impl(                      \
                 ^
<scratch space>:165:1: note: expanded from here
Check_NEImpl
^
1 error generated.
make[2]: *** [paddle/utils/CMakeFiles/paddle_utils.dir/Util.cpp.o] Error 1
make[1]: *** [paddle/utils/CMakeFiles/paddle_utils.dir/all] Error 2
make: *** [all] Error 2

I am running Mac OS X 10.10.5 and Xcode 7.2.1.
$ clang --version
Apple LLVM version 7.0.2 (clang-700.1.81)
Target: x86_64-apple-darwin14.5.0
Thread model: posix

We need to address installation issues before next milestone. @gangliao

@wangkuiyi  This bug might be triggered when the different version of compiler is used. I have met same problem many times across different source files in Paddle. I guess the similar problem still exists somewhere.  @reyoung


CHANGELOG: Prepare v0.4.0

In response to https://github.com/libp2p/test-plans/pull/45#discussion_r981064460
//CC @elenaf9 and @laurentsenta

Tagged and published.


bpf: avoid race when selecting the RevSNAT port

The logic to allocate SNAT mapping contains a race condition. At a high level it does the following:
if (!revsnat_exists(port)) {
    if (!create_revsnat(port)
        return error;

    ...
}

Two concurrent executions of the datapath may succeed the revsnat_exists check, which then leads to one of them bailing out since create_revsnat fails.
Instead simply try to create the RevSNAT entry. If that fails we retry with another port.
Updates: #33074
Avoid race during RevSNAT mapping creation, resulting in packet drop with "No mapping for NAT masquerade".

/test

/test

but imho this is even a release-note/bug, and we should queue up a backport?

I had a look, this is present even in the first version 0e785f9 which appeared in 1.5.0. There were a couple of changes in between, so the backport would have to be manual.
I'll leave it up to you to decide - maybe it makes sense to see whether this helps the user with their symptoms?

I'll leave it up to you to decide - maybe it makes sense to see whether this helps the user with their symptoms?

Ack, sounds good. Let's release-note it as bug, but hold off on backports until we see if it helps.


Implement search and category filter within the blog widget

Problem
Currently, the blog widget lacks search functionality and the ability to filter content by categories. Since we plan to add more content in the coming weeks, it will become increasingly difficult for users to find and filter specific content.
User Story
As a blog reader, I want to have the ability to search and filter for blog posts (if enabled by the admin in https://github.com/NEAR-DevHub/neardevhub-bos/issues/599) so that I can easily search for specific content.
Acceptance Criteria
Search functionality

[x] When search is enabled by the admin in the settings, a search bar should appear at the top of the blog widget
[x] Users can enter key words to search for content within the specific blog post for that widget
[x] Search results should dynamically filter displayed posts based on the entered keywords in the search bar

Category Filtering

[x] If category functionality is enabled by the admin in the settings, a category filter dropdown should appear next to eh search bar.
[x] The dropdown should list all the available categories for the blog.
[x] If a user selects a category, that should dynamically filter the post list to only show posts with that category
[x] Users can combine search key words and category filters to refine their search results.

Scope: Search results should be limited to posts within the specific blog widget. We can explore expanding search to all communities blog posts in another ticket later.

@Tguntenaar As you can see in #772 I've implemented search functionality, but I think the posts does not have a category yet, so unable to proceed with category filtering. Is it so that there will be a category field in the metadata?

Closing this issue, since it is already merged.


Migrate to AZure Cosmos DB

Decide to remove CI/CD

Performance issue of Cosmos DB Emulator Linux Docker Image
Not able to make service container on Windows GitHub-hosted action worker
Can perform CI/CD by making a separated subscription on Azure for test purpose (Not using emulator), but it costs a lot(?)


Which is low, medium, high?

Your new articles no longer provide which sign-in events fall under low, medium, and high making it difficult to know how to design CA and ID Protect risk-based policies.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 81a1385f-b90a-e7b4-8cbd-f25aeb8b3c49
Version Independent ID: d468eb75-88a9-b1aa-7fb3-19ebb4faa179
Content: What is risk? Azure AD Identity Protection
Content Source: articles/active-directory/identity-protection/concept-identity-protection-risks.md
Service: active-directory
Sub-service: identity-protection
GitHub Login: @MicrosoftGuyJFlo
Microsoft Alias: joflore

@Mark7even Thank you for the feedback.We will work on it and will keep you updated on the thread

Working with the product group to better explain this as it is an aggregate calculation. Putting this in my backlog with another request for the same information.

#please-close


SERVICE: Language

First step in implementing LanguageService

@nesadkadric we implement one foundation service function at a time. with tests first then implementation with every commit. shutting this PR.


Improve docs for Object#dup

@straight-shoota This is very helpful, thank you!

@straight-shoota This is very helpful, thank you!


postinstallation (and thus DevTools) broken by Brotli compression of omni.ja contents

https://bugzilla.mozilla.org/show_bug.cgi?id=1352595 broke postinstallation, which expands Firefox's omni.ja file in order to reuse its devtools.
I don't know of an easy fix; presumably we'd need to find (or build) a ZIP archive expander that knows how to decompress files compressed with the Brotli algorithm.
Probably the better solution is to integrate devtools via https://github.com/devtools-html/devtools, once that becomes available.

Still no way around this issue?

Brotli compression has been backed out of Firefox, so this should now work in theory, but it still doesn't work after I reverted the change that disabled devtools over in https://github.com/mykmelez/qbrt/tree/reenable-devtools.
So I'm unsure what else is broken. Nevertheless, I still think that the better solution is to integrate devtools via https://github.com/devtools-html/devtools, once that becomes available (assuming it does become available), rather than hackily using the devtools instance built into Firefox.

@mykmelez  A fix for this would be welcome. This limitation (and other regressions) forced me to switch to Electron :(

I took another look tonight and resolved the regressions, so DevTools will be back once #153 lands.
That being said, the integration remains brittle and prone to bustage. We'll really need something better. Unfortunately, I don't think #101 is going to be that thing, as the DevTools Go Faster project doesn't seem to have happened.

I can confirm this is working again, thank you! Now I can debug some other problems...


refactor(blind_spot): devide scene into Categories and act accordingly

Description
categorize the scene into

InternalError
OverPassJudge
Unsafe
Safe
and act according to RTC and that scene respectively.

Related links

Tests performed
https://evaluation.tier4.jp/evaluation/reports/089988e0-7552-5c60-9fdc-a6dc6a157377?project_id=prd_jt

Notes for reviewers

Interface changes
none
ROS Topic Changes

ROS Parameter Changes

Effects on system behavior
none
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[X] I've confirmed the contribution guidelines.
[X] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[X] The PR follows the pull request guidelines.
[X] The PR has been properly tested.
[X] The PR has been reviewed by the code owners.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[X] There are no open discussions or they are tracked via tickets.
[X] The PR is ready for merge.

After all checkboxes are checked, anyone who has write access can merge the PR.

LGTM!


Remove CancelExecutionStep

This used to be a special thing for tasks where we could cancel execution between task actions. We stopped doing that a long time ago, and now we are back to cancelling only between tasks, so this step has been unnecessary.

Looks like this is still neeLooks like this is still needed as ExecCancellationIntegrationTest fails without it.

Looks like the tests failing in ExecCancellationIntegrationTest assume that the task history is not written when the build is cancelled. I wonder if it is fine to finish up the current task and write the task history and the task can be up-to-date in the next run. If the task action itself reacts to cancelling the build, then it should throw the corresponding action on its own, right?
IOW, I think we can remove the step adjusting the test. WDYT?

I see some benefit in not keeping the task history if the task is cancelled. If I hit Ctrl+C during the build, I'd probably want to have the interrupted task to be re-executed next. Let's leave everything as it is.


aursync inspects static pkgver, ignores dynamic pkgver()

Install vpnfailsafe-git using `makepkg -sri', then try installing it again the same way and you'll get a warning:
Warning: vpnfailsafe-git-r13.2b92d33-1 is up to date -- reinstalling

The version compared with the one already installed is the dynamically generated r13.2b92d33. This is expected behavior.
Compare to aursync, which says:
==> WARNING: vpnfailsafe-git r12.e304584-1 is newer than r1.054da69-1
    there is nothing to do

Notice that the version appearing in the comparison - r1.054da69 - is the static pkgver, which should be overridden by pkgver() instead. r1.054da69 should never appear in version comparisons for this package.
Another example - openvpn-update-resolv-conf-git - the package has a static pkgver=r24.994574f, but pkgver() will currently produce r26.09cb5ab. Install the package (r26.09cb5ab-1) and then run aursync again and it will say:
==> WARNING: openvpn-update-resolv-conf-git r26.09cb5ab-1 is newer than r24.994574f-2
    there is nothing to do

Incorrectly comparing the static pkgver with the version installed.
Maybe I'm misunderstanding how this should all work, but it seems like a bug to me.
I've noticed some package maintainers manually bump the static pkgver for -git packages, but that defeats the whole point of pkgver() (and even -git packages themselves for people like me, who don't want the added maintenance and would rather just publish the -git package once and forget about it).

You can specify --nover to aursync for git packages. Related issue: #65

Thanks for the quick response. Using --nover does resolve the problem. I have two issues with this though: 1) it's not obvious that this option should be used and that seems to be the only way to handle -git packages without issue; 2) it turns off version checking entirely, which seems like throwing the baby out with the bathwater... This gets rid of valuable sanity checks.
The discussion in issue #65 is not clear to me. I don't really know the aurutils codebase and to be honest, I'm quite fine with that.
Anyway, what's the long-term plan ? Will -git packages eventually be handled correctly without custom options and turning version checks off ?

For 1), I could add something to the man page on git packages; for 2), I've thought on some flag that disables version checks for packages on the command line only, e.g. --nover=1.
The longer term plan would be to handle VCS packages specifically: check if new commits are available, possibly display them to the user, and then allow to build the new version. This would probably be implemented in a separate script.
I personally don't use -git packages enough to spend time on #65, but patches welcome.

My suggestion would be to treat VCS packages identically to non-VCS ones from the user interface perspective. Principle of least astonishment and all that. But I get that it's not so straightforwad.
Thanks again for the quick responses :) Feel free to close this issue if this is being tracked elsewhere.

All right, thanks for the feedback.


turso-cli: 0.96.0 -> 0.96.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for turso-cli is: This is the command line interface (CLI) to Turso
meta.homepage for turso-cli is: https://turso.tech
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.96.2 with grep in /nix/store/ahdb4s2zv0wl4vavgs07f2qvz0ddncys-turso-cli-0.96.2
found 0.96.2 in filename of file in /nix/store/ahdb4s2zv0wl4vavgs07f2qvz0ddncys-turso-cli-0.96.2

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

turso-cli

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/ahdb4s2zv0wl4vavgs07f2qvz0ddncys-turso-cli-0.96.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A turso-cli https://github.com/r-ryantm/nixpkgs/archive/dceec6d7e6c6b75f86be20221e138edc0e9e0ce7.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/dceec6d7e6c6b75f86be20221e138edc0e9e0ce7#turso-cli

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/ahdb4s2zv0wl4vavgs07f2qvz0ddncys-turso-cli-0.96.2
ls -la /nix/store/ahdb4s2zv0wl4vavgs07f2qvz0ddncys-turso-cli-0.96.2/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

turso-cli

Maintainer pings
cc @zestsystem @kashw2 @Fryuni for testing.

Result of nixpkgs-review pr 328104 run on x86_64-linux 1

1 package built:

turso-cli


Customise Sorry, there is a problem with the service error page

User Story
As a user of the catalogue
I expect to have appropriately worded error screens
So that i'm not confused
Value / Purpose
Currently when the service is unavailable we are using the standard CP template and message for this error screen

However the wording is not appropriate for the find-moj-data service
Useful Contacts
No response
User Types
No response
Hypothesis
If we... [do a thing]
Then... [this will happen]
Proposal
Follow the instructions here to create a custom error page for this https://runbooks.cloud-platform.service.justice.gov.uk/custom-default-backend.html#custom-default-backend
Additional Information
No response
Definition of Done
Example - [ ] Documentation has been written / updated

[ ] README has been updated
[ ] User docs have been updated
[ ] Another team member has reviewed
[ ] Tests are green

Hi @LavMatt . Is this the 404 for https://find-moj-data.service.justice.gov.uk/ or something else?

Hi Mark, its for something else.
We control and have custom error pages for 400 bad request, 404 not found, and 500 internal server errors on https://find-moj-data.service.justice.gov.uk/. This ticket is to implement custom error pages for other errors to do with not being able to reach our app eg 502 Bad Gateway, 503 Service Unavailable, and 504 Gateway Timeout.

@murdo-moj Thanks Murdo.
I would typically expect all the server error pages to look the same - assuming the implications for the user are the same. e.g:
[H1] Sorry, there is a problem with the service
Try again later.
If the problem persists, contact us... etc.
What does the 500 error look like?

500

500 datahub unavailable (as devs it's useful for us to know if it's datahub or the app giving us problems)

https://mojdt.slack.com/archives/C57UPMZLY/p1724752941516249 I have asked CP to change the default. They got it from the formbuilder service which explains the copy about answers being saved

I raised an issue with CP, they'll pick it up at some point https://github.com/ministryofjustice/cloud-platform/issues/6084

#726 I have made those copy changes for you


Use Makefile.COMMON for building statsd_bridge.

@grobie

We should add a prominent banner to the Makefile.COMMON files explaining that they should not be touched and that the original file is in prometheus/utils.

@grobie Like this? https://github.com/prometheus/utils/pull/4
It's also a bit annoying that one needs to manually update the app repos after any chances there... would be great to get some automated propagation going (but yeah, so many other things to do)...

Updated the Makefile.COMMON here too.

I can haz :+1:?

Merging for now...

:+1: sry


[Shows] Replace ‘Fair show’ with ‘Fair booth’

From https://github.com/artsy/eigen/issues/1138#issuecomment-217852442

Fixed by #36.


Create a starknet id js sdk

Describe the solution you'd like
A typescript sdk built on top of starknetjs allowing to resolve domains and easily manipulate StarknetID data for a website
Specs
You need to be able to create a StarknetIDNavigator (or whatever you want to call it) which takes as input the network (testnet, mainnet) and optionally the contract to query (should be deduced from testnet and mainnet). This object would give multiple methods:
Encoding (should be accessible outside of the Navigator object)
encode(word : string) -> felt : BN
decode(felt : BN) -> word : string
/!\ domain should end in .stark
encode_domain(domain : string) -> encoded_domain : BN[]
decode_domain(encoded_domain : BN[]) -> domain : string
Resolving domains
domain_to_address(domain : string) -> address : BN
address_to_domain(address : BN) -> domain : string
domain_to_starknetid(domain : string) -> starknetid : uint128 // I'm not sure it fits in a number, if it is not the case, let's keep a BN
Resolving data

See https://github.com/starknet-id/contract#starknetid-contract

starknetid_to_data(starknetid, field) -> BN
starknetid_to_extended_data(starknetid, field, length) -> BN[]
starknetid_to_unbounded_data(starknetid, field) -> BN[]
starknetid_to_verifier_data(starknetid, field, verifier) -> BN
starknetid_to_extended_verifier_data(starknetid, field, length, verifier) -> BN[]
starknetid_to_unbounded_verifier_data(starknetid, field, verifier) -> BN[]
It would be nice to add the same methods but taking a domain as input, it would automatically resolve it to a starknet_id e.g.:
domain_to_data(domain, field) -> BN
You can use https://github.com/starknet-id/sbt.starknet.id/blob/main/src/hooks/naming.ts and https://docs.starknet.id/for-devs/encoding-algorithm for reference.

Interested to work on this issue !


Change number of runs for benchmarks to reduce variance

Need to specify number of runs. Strawman counts in Special Topics WG minutes.

SWG:
This has been discussed in Special Topics WG. Briefly, we will increase the number of runs for benchmarks to reduce the variance in the score. The details behind this discussion are covered in the Special Topics WG.
For closed, we defer to the special topics WG to set the number of runs per benchmark. The present Special Topics proposal will be written into the rules, subject to further discussion in WGs.
For open, we stay with the five runs per benchmark.


Add type for Enum.Case.AssociatedValue

Hi @krzysztofzablocki !
I want to examine what protocol is used in Enum.Case.AssociatedValue's type,
but currently typeName is only supported, and I think we need type accessor too,
just as Variable has.
Stencil example
{% for inherited in case.associatedValues.0.type.inheritedTypes %}
{% if inherited == "SomeProtocol" %}
// do something
{% endif %}
{% endfor %}

          1 Error

:no_entry_sign:
Any changes to library code need a summary in the Changelog.

  Generated by :no_entry_sign: danger

ps. once this type is merged you can improve your stencil:
{% if case.associatedValues.0.type.implements.SomeProtocol %}
// do something
{% endif %}

0d82f3c Tests are added!

I can tweak this when I'll be merging this pr (either later today or tomorrow). Thanks for contributing! ;-)

Yeah, please! 🙏

ok, your changes are in master and will be available in next release :) thank you!

Thanks for merge!
By the way, here's my (tricky!) project that now uses Sourcery if you are interested.
https://github.com/inamiy/VTree/pull/3
So far, Sourcery works like a charm even in my edge case!
Thanks for the library, and please keep up this great work 💪

That's cool, reminds me of Redux approach;)
BTW my general recommendation for type markup is using empty protocol since its harder to make a mistake and you can use types.implementing.AutoVType, annotations are better for tweaking particular variables etc

Right, I will note that :)


Running ‘demo.py'  can't get good results

Hello, I use the smplx template for training and only train the graphcnn module. In the process of training, I get good output results, but when I load checkpoint to run demo, I can't get good results most of the time. Do you have any suggestions
In addition, will the parameters of resnet50 network be updated? Even if the pretrained model is used, will it affect the output of demo
Thank you!

Hello, I have problem on training the network, I can't get good results even in the process of training. I only use Human3.6M, COCO and LSP dataset for training. Would you mind helping me?My email address is<EMAIL_ADDRESS>

Hello, I tried to communicate with you through email, but did not receive a reply. I hope we can communicate our problems to solve them.

Hello, @LSY1111 .
I tried to contact you by email, but did not receive a reply. I hope we can communicate our problems to solve them.


allow ignore values at the individual workspace level

{
  "workspaces": {
    "packages/*": {
      "ignore": [
        "**/*.d.ts"
      ],
      "entry": [
        "src/index.ts!"
      ],
      "project": [
        "src/**/*.ts!"
      ]
    },
    "packages/eslint-config-contra": {
      "ignoreDependencies": ["eslint-config-canonical"],
      "entry": [
        ".eslintrc.js!"
      ],
      "project": [
        ".eslintrc.js!"
      ]
    }
  }
}

Would expect eslint-config-canonical to be ignored.
However, still getting error:
at 14:24:28 ❯ knip --production
Unused dependencies (1)
eslint-config-canonical  packages/eslint-config-contra/package.json

Few related issues:

adding non-existent workspace, does not throw an error, i.e. I accidentally added packages/eslint-config-foo, not noticing that I typed wrong name, and knip did not warn me about it.
not clear why knip thinks that eslint-config-canonical is not found, despite it being used in .eslintrc.js.

module.exports = {
  ignorePatterns: ['/dist', '**/__generated__'],
  overrides: [
    {
      extends: ['canonical/json'],
      files: '*.json',
    },
    {
      extends: ['canonical/yaml'],
      files: '*.yaml',
    },
  ],
};

Few small hiccups aside, what an AMAZING software. Thank you

not clear why knip thinks that eslint-config-canonical is not found, despite it being used in .eslintrc.js.

The irony is that if I install eslint in that workspace, it stops reporting  eslint-config-canonical as not found, but that workspace does not use eslint. But I am guessing the plugin system is checking if package.json references eslint.

Thanks for all the feedback! Very much appreciated. If possible, next time, please report them separately.

ignoreDependencies

This works only globally indeed. But your expectation makes sense, so I'll see what I can do :)

adding non-existent workspace, does not throw an error

Good idea, I'll add that.

not clear why knip thinks that eslint-config-canonical is not found, despite it being used in .eslintrc.js.

Maybe there's a bug with the form of canonical/json, will look into it!

But then it fails with --production again.

This might be an odd issue, since what happens here is a mix-up of eslint as a plugin (not part of --production) and providing .eslintrc.js as a production entry file. My idea/advice would be to simply not consider this file as a production file (unless the project is an eslint plugin or something).

But I am guessing the plugin system is checking if package.json references eslint.

Indeed. Each plugin has some minimal docs for this, e.g. https://github.com/webpro/knip/blob/main/src/plugins/eslint/README.md


Import module duplicately

某經.wy
吾有一數。曰負一名之曰「負一」。

甲經.wy
吾嘗觀「「某經」」之書。

乙經.wy
吾嘗觀「「某經」」之書。

主程式.wy
吾嘗觀「「某經」」之書。
吾嘗觀「「甲經」」之書。
吾嘗觀「「乙經」」之書。

See the compile result of 主程式.wy. You can see the whole content of 某經.wy was inserted 3 times.
The module system can be improved to avoid the duplication.

Hi @cuixiping ,
I agree, and better import is indeed planned: #412
Although another problem with sharing modules just came to my mind: if one of those files modified things from imported module, the other files who imported the same module should not suffer from these (unexpected) modifications. So we'll have to "fork" a new version for it as soon as a file tries to modify its imported module. Lots of implementation details to think about :)
Thanks!

No need to consider the effects of modifying modules content. JS/ES/node modules also allow modifying sharing modules.


Adding support to Matterport3D

[x] Add Matterport3D preprocessing
[x] Add MatterPort3D datasets
[x] Add semseg-spunet-v1m1-0-base configs for MatterPort3D
[ ] Update Data Preparation Docs

Thanks for your contribution. I will process your PR this weekend.

@Gofinge As part of my research, I have remapped Matterport3D's semantic labels to ScanNet 20 semantic labels with the addition of a ceiling label. This was done as a means of assessing the impact of pretraining with Matterport3D on ScanNet performance.  If necessary, I will create new class_id labels specifically for the original Matterport3D semantic labels.

Thanks. I need some time to review the code (I need to download the dataset first and follow your code). By the way, I am going to publicize one work related to multi-dataset pre-training on arXiv tonight, code is ready, but I won't release it recently. If you find the paper interesting and need the code, feel free to contact me.

That's great!  I am excited to see how your experiments turn out and how these datasets contribute to the performance.
By the way, I am adding more realistic and synthetic datasets to this repo. This will include realistic datasets such as RIO, Taskonomy, and some synthetic datasets like 3D-FRONT, and hypersim. Looking forward to seeing how these expanded datasets will contribute to the field of multi-dataset pre-training research

That's great! I am excited to see how your experiments turn out and how these datasets contribute to the performance.
By the way, I am adding more realistic and synthetic datasets to this repo. This will include realistic datasets such as RIO, Taskonomy, and some synthetic datasets like 3D-FRONT, and hypersim. Looking forward to seeing how these expanded datasets will contribute to the field of multi-dataset pre-training research

Great! Let's build one uniform codebase for 3D perception!

The preprocessed data have been added to the README, and the training log can be found at this link.
The evaluation results are summarized in the table below

Metric
Value

mIoU
0.4562

mAcc
0.5694

allAcc
0.8024

Class
IoU
Accuracy

Class_0-wall
0.7206
0.8614

Class_1-floor
0.9131
0.9659

Class_2-cabinet
0.3793
0.6247

Class_3-bed
0.7327
0.9079

Class_4-chair
0.6730
0.8395

Class_5-sofa
0.6643
0.8214

Class_6-table
0.3614
0.5018

Class_7-door
0.5121
0.6742

Class_8-window
0.4629
0.5893

Class_9-bookshelf
0.3752
0.4968

Class_10-picture
0.3629
0.4473

Class_11-counter
0.2205
0.3260

Class_12-desk
0.0002
0.0002

Class_13-curtain
0.5768
0.7084

Class_14-refrigerator
0.0173
0.0178

Class_15-shower curtain
0.0000
0.0000

Class_16-toilet
0.5070
0.6327

Class_17-sink
0.3662
0.5553

Class_18-bathtub
0.7189
0.8641

Class_19-other
0.1502
0.1835

Class_20-ceiling
0.8648
0.9396

I am sorry for the long wait. I just finished downloading the raw Matterport3D dataset and will review your code this weekend! Thanks again for your contribution.

Hi, @hugoycj , would you mind contacting me with my email (xiaoyang.wu.cs@gmail)? As we recently introduced the Black formatter, we need to format, rebase, and force-push your code before merging. Can we open a Zoom meeting and I can guide you on how to smoothly achieve that?

@hugoycj Sorry for the super super long wait. I finally got some time to handle this PR as I am working on scaling up self-supervised pre-training with more data.
I like your code, it's helpful! Thanks for contributing to Pointcept. I made a few modifications with this commit: https://github.com/Pointcept/Pointcept/pull/69/commits/5258aa668990b18f364f31b515ef9a18924e362f


Add option to open files at specific line/column

[ ] Added an entry to CHANGELOG.md if this change could be valuable to users

@dzhou121 this is ready for review/merge

TODO: modify proxy code to accept line/columns


version 5.0 needs babel retranspilation

Hi,
up to version 4.0 of escape-string-regexp, the function was exported with
module.exports = string => {
   if (typeof string !== 'string') {

In 5.0, it's exported with
 export default function escapeStringRegexp(string)

This causes several issue:
With jest
2021-04-28T14:35:50.2003261Z   ● Test suite failed to run
2021-04-28T14:35:50.2003929Z
2021-04-28T14:35:50.2004617Z     Jest encountered an unexpected token
2021-04-28T14:35:50.2005114Z
2021-04-28T14:35:50.2006246Z     This usually means that you are trying to import a file which Jest cannot parse, e.g. it's not plain JavaScript.
2021-04-28T14:35:50.2006967Z
2021-04-28T14:35:50.2007817Z     By default, if Jest sees a Babel config, it will use that to transform your files, ignoring "node_modules".
2021-04-28T14:35:50.2008852Z
2021-04-28T14:35:50.2009817Z     Here's what you can do:
2021-04-28T14:35:50.2011521Z      • If you are trying to use ECMAScript Modules, see https://jestjs.io/docs/en/ecmascript-modules for how to enable it.
2021-04-28T14:35:50.2014213Z      • To have some of your "node_modules" files transformed, you can specify a custom "transformIgnorePatterns" in your config.
2021-04-28T14:35:50.2015793Z      • If you need a custom transformation specify a "transform" option in your config.
2021-04-28T14:35:50.2017491Z      • If you simply want to mock your non-JS modules (e.g. binary assets) you can stub them out with the "moduleNameMapper" config option.
2021-04-28T14:35:50.2018285Z
2021-04-28T14:35:50.2019231Z     You'll find more details and examples of these config options in the docs:
2021-04-28T14:35:50.2020170Z     https://jestjs.io/docs/en/configuration.html
2021-04-28T14:35:50.2020730Z
2021-04-28T14:35:50.2021241Z     Details:
2021-04-28T14:35:50.2021631Z

/node_modules/escape-string-regexp/index.js:1
2021-04-28T14:35:50.2026390Z     ({"Object.<anonymous>":function(module,exports,require,__dirname,__filename,global,jest){export default function escapeStringRegexp(string) {

With ts-node:
Error [ERR_REQUIRE_ESM]: Must use import to load ES Module: .../node_modules/escape-string-regexp/index.js
require() of ES modules is not supported.
require() of .../node_modules/escape-string-regexp/index.js from .../src/cms/callback.ts is an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which defines all .js files in that package scope as ES modules.
Instead rename index.js to end in .cjs, change the requiring code to use import(), or remove "type": "module" from /home/dani/hubtype/botonic/packages/botonic-plugin-contentful/node_modules/escape-string-regexp/package.json.

    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1080:13)
    at Module.load (internal/modules/cjs/loader.js:928:32)
    at Function.Module._load (internal/modules/cjs/loader.js:769:14)
    at Module.require (internal/modules/cjs/loader.js:952:19)
    at require (internal/modules/cjs/helpers.js:88:18)

With jest I managed to fix the error forcing the retranspilation in jest.config.js
transformIgnorePatterns: [
    'node_modules/(?!escape-string-regexp).+\\.(js|jsx)$',
  ]

with webpack I do something similar.
But with ts-node I'm not sure how to fix it.
Would you consider publishing the package with the previous export method to simplify the import process?
thanks

Please read the release notes.

Duplicate of #32

I believe pure ESM module is not ready yet. As someone who uses ts-node, the support doesn't seem to be mature enough..


Add Keccak syscall support.

This change is

crates/blockifier/feature_contracts/cairo1/test_contract.cairo line 21 at r1 (raw file):

    #[constructor]
    fn constructor(ref self: ContractState, arg1: felt252, arg2: felt252) -> felt252 {

I guess this should be done in a separate PR.
Should I do a PR to 0.12? or directly to main?

crates/blockifier/feature_contracts/cairo1/test_contract.cairo line 21 at r1 (raw file):
Previously, ilyalesokhin-starkware wrote…
I guess this should be done in a separate PR.
Should I do a PR to 0.12? or directly to main?

Done in 0.12.
I will rebase once this is merged.

crates/blockifier/src/execution/syscalls/hint_processor.rs line 215 at r2 (raw file):
Previously, noaov1 (Noa Oved) wrote…
Do we support keccak also for cairo 0 contracts?

no

crates/blockifier/src/execution/syscalls/mod.rs line 587 at r2 (raw file):
Previously, noaov1 (Noa Oved) wrote…
Actually, 1 is valid but in that case we don't need to call increment_syscall_count_by, right?

We still need to handle the case of 0 rounds.

crates/blockifier/src/execution/syscalls/mod.rs line 574 at r5 (raw file):

// Keccak syscall.
#[derive(Debug, Eq, PartialEq)]

what? why do we have that convention?

crates/blockifier/src/execution/syscalls/mod.rs line 574 at r5 (raw file):
Previously, ilyalesokhin-starkware wrote…
what? why do we have that convention?

Ok, I guess its because it described the next section and not just the struct.

crates/blockifier/src/execution/syscalls/mod.rs line 587 at r2 (raw file):
Previously, noaov1 (Noa Oved) wrote…
You are absolutely right. It will be as the keccak builtin was never called when n_round = 0?

yes, the builtin is not used when n_round = 0.

crates/blockifier/src/execution/syscalls/mod.rs line 642 at r6 (raw file):
Previously, noaov1 (Noa Oved) wrote…
Do we know that the input will contain numbers < 2^64 -1? Do we want to panic if that is not the case?

Yes, it shouldn't happen. Do you think we shouldn't panic here? What should we do?

crates/blockifier/src/execution/syscalls/mod.rs line 642 at r6 (raw file):
Previously, ilyalesokhin-starkware wrote…
What error should I return?
Note that the syscall does not fail in the case.

I guess I could use
SyscallExecutionError::InvalidSyscallInput

crates/blockifier/src/abi/constants.rs line 60 at r9 (raw file):
Previously, elintul (Elin) wrote…
Keep alphabetized?

done.

crates/blockifier/src/execution/syscalls/hint_processor.rs line 294 at r9 (raw file):
Previously, elintul (Elin) wrote…
Why is thispublic?

reverted


[BUG] Verse of the day is not appearing on home screen

🙁 Actual behavior
Verse of the day is not appearing for some reason.
🙂 Expected behavior
Verse of the day should be queried from the GraphQL API and if it exists, the given verse should be shown on the "Verse of the day" card on home screen.
Like this: https://play-lh.googleusercontent.com/VOOZ99xi2I6XiGJVMWmtuPtU3EYk_P3BVW_PggLoepkXUZUZ5E83Ww098bIHjCtAHM4=w1440-h620-rw
🔢 Steps to Reproduce the Problem

Open the app.
Check the home screen.

The backend gives verse number for verse of the day,
it would be better to have one-to-one relation with this verse_number and verse table to do the job in single query
whereas right now a quick fix would be to fetch the verse from a separate query at front end
will fix backend soon, and try hands on flutter :smile:

Issue solved


Display a warning "\filesharename · Unable resolve workspace folder..." in file Explorer after opening a file share in new window

OS: Win 10
Azure Storage Build Version: 20230531.1
Azure Resource Build Version: 0.7.5
Regression: Previous release (0.15.2)
Repro Steps:

Create a storage account -> Create a file share.
Right click the file share -> Click "Open in Explorer..." -> Select "Open in new window".
Check whether the file share shows in file Explorer without any error.

Expect:
The file share shows in file Explorer without any error.
Actual:
It displays a warning "\filesharename · Unable resolve workspace folder..." in file Explorer.

More Info:

This issue doesn't reproduce for blob container.
This issue also reproduces after opening in current window or adding to workspace.
This issue doesn't reproduce for the attached account.

Verified on the latest build 20240611.1, this issue still reproduces.


Fix frontend layout

The current layout doesn't look like right.
Some dependency updates broke it.
Before:

After:

Thanks a lot @stasadev !


Enable & verify support for Raspberry Pi Zero W

In theory this should work out of the box based on Particles RasPi implementation. Let's check that.

Yes this is working via Particle Raspi BETA launcher; SPISettings not support yet. Need to document wiring next.

Wiring documented in hookup guide. Close that for now.


Load trainability status of layers when importing them from JSON configuration

Similar to #107, the trainability status of a layer is not taken into account when importing it from JSON configuration, e.g. if a layer is freezed in the saved JSON configuration it might be loaded as trainable (depending on the default value of isTrainable property for that layer).
To fix this, either each of the layer creator functions in ModelLoader.kt should be modified to set the isTrainable property of the created layer with value of config.trainable; or alternatively, this could be done in a single place like convertToLayer function for all layers. Further, one should take into account this issue when implementing a fix.

I agree that it could be implemented now, but in reality, we need to add more check/IllegalStateExceptions if the layer implementing the NoGradients layer has an isTrainable == true  status.
The idea is the following: layers with NoGradient marker interface should have this status as false.

I can do this one

How about something like this:
        LAYER_SOFTMAX -> createSoftmaxLayer(kerasLayer.config!!, kerasLayer.config.name!!)
        else -> throw IllegalStateException("${kerasLayer.class_name} is not supported yet!")
    }.apply {
        isTrainable = if (kerasLayer.config.trainable == true) {
            require(this is NoGradients) {
                "layer config contains `trainable` as `true` but layer is NoGradients which can not be trainable."
            }
            true
        } else
            false
    }

in
https://github.com/JetBrains/KotlinDL/blob/2a5d580920a80e94f706562413f00ecf6c20dce9/api/src/main/kotlin/org/jetbrains/kotlinx/dl/api/inference/keras/ModelLoader.kt#L112
And then I remove all the manual assignments of isTrainable for the NoGradients implementations.

I agree that it could be implemented now, but in reality, we need to add more check/IllegalStateExceptions if the layer implementing the NoGradients layer has an isTrainable == true  status.
The idea is the following: layers with NoGradient marker interface should have this status as false.

Should these checks u mention for NoGradients layers be applied only to these, or to other layers as well. Because some layers do set isTrainable to false but do not implement NoGradients. So should these other layers implement NoGradients, or should we make another interface that every non trainable layers extends?

Yo @zaleslaw or @mkaze what do ya think about something like this:
https://github.com/dosier/KotlinDL/commit/8e414181137945557d3a8802985869a93e1f15e8
I don't really like how the default value is true but can't nicely change it to something like:
    public var isTrainable: Boolean = this is NoGradients

without leaking this  in the constructor.
I see three options:

keep it like in the commit I made
leak this in constructor of Layer class
add isTrainable as constructor param

But maybe one of your has a better idea (or anyone else!!)