OSError: libgomp.so.1 No such file or directory

Follow your Azure MLOps - DevOps for Machine Learning (Part 7)  in Youtube. I have the same code in  Training Model step:
az ml run submit-script -g $(azureml.resourceGroup) -w $(azureml.workspaceName) -e $(experiment.name) --ct $(amlcompute.clusterName) -d conda_dependencies.yml -c train_insurance -t ../metadata/run.json train_aml.py

But when run the pipeline, the error shows in Training Model step:
{
    "error": {
        "code": "UserError",
        "message": "User program failed with OSError: libgomp.so.1: cannot open shared object file: No such file or directory",
        "messageParameters": {},
        "detailsUri": "[https://aka.ms/azureml-run-troubleshooting",](https://aka.ms/azureml-run-troubleshooting%22,)
        "details": []
    },
    "time": "0001-01-01T00:00:00.000Z"
}

The base image that chosen automatically by pipeline: mcr.microsoft.com/azureml/o16n-sample-user-base/ubuntu-miniconda
How could I fix that ? I search google, they show that the image need to install libgomp1 by running apt-get install libgomp1.
How could I do that ?

I found the solution by changing the following work:

Change the training/train_insurance.runconfig file:

Change baseImage to: baseImage: mcr.microsoft.com/azureml/lightgbm-3.2-ubuntu18.04-py37-cpu-inference:latest

I also found that your training/conda_dependencies.yml still missing pandas packag, so I add pandas in that file:

Adding: pandas==1.1.3

Thank you for raising this up! The pull request is merged now.


Finger size for canvas touching detect

https://github.com/mit-cml/appinventor-sources/blob/408f3ed1bb54c332d5e5e08598fbc58c81bd16e8/appinventor/components/src/com/google/appinventor/components/runtime/Canvas.java#L183
https://github.com/mit-cml/appinventor-sources/blob/408f3ed1bb54c332d5e5e08598fbc58c81bd16e8/appinventor/components/src/com/google/appinventor/components/runtime/Canvas.java#L191
https://github.com/mit-cml/appinventor-sources/blob/408f3ed1bb54c332d5e5e08598fbc58c81bd16e8/appinventor/components/src/com/google/appinventor/components/runtime/Canvas.java#L199
This should be allowed to be customized (maybe by properties) if someone need a different value

@ColinTree What would be the benefit of having this feature in App Inventor?

This will be a user-configurable property in the next release.


Use sort based merge for CompactedRecordScanner & MergeHandle

MergeHandle and CompactedRecordScanner classes today handle merging of an input iterator of records against a base file.. This is accomplished via a hash merge (with spillable external diskmap for handling large merge)..
However, if we could sort the data that is in base files and log blocks, we can implement a neat N-way sort merge that will reduce memory usage and arguably also allow for parallel IO on log blocks and parquet files, improving query performance on RT view as well.

Moved to https://issues.apache.org/jira/browse/HUDI-50


[Bugfix] Create Gitlab/Jenkins accounts after activation

Checklist

[ ] I tested all changes and all related features with different users (student, tutor, editor, instructor, admin) on the test server https://artemistest.ase.in.tum.de.
[x] Server: I followed the coding and design guidelines.
[x] Server: I added multiple integration tests (Spring) related to the features (with a high test coverage)
[x] Server: I implemented the changes with a good performance and prevented too many database calls
[x] Server: I documented the Java code using JavaDoc style.

Motivation and Context

Resolves #2354
For some reasons, Gitlab accounts do not get created when students attempt to register multiple times.
Description

This PR implementes @snowball77's suggestion: the Gitlab account should only be created when the registered account is actually created. This PR therefore applies this suggestion for both Jenkins and Gitlab.
Steps for Testing

This PR should be tested on TS2 since it doesn't affect Jira/Bitbucket/Bamboo.

Register multiple times
Check that you cannot log into Gitlab with the credentials of the registered account
Activate the account and make sure you can also log into Gitlab
This issue has steps on how to reproduce the error but I couldn't reproduce it

Test Coverage

@krusche You are correct, this does seem a bit as a hack.
I looked into the GitLab API and it's possible to activate and deactivate accounts. I can therefore simply create the account and deactivate it when the user registers. When the user activates the account, I would then also activate the GitLab account.
Jenkins doesn't support account activation/deactivation. I think in this case the only way would be to just create the account?


I suggest using GV$ view instead V$ becasuse to make it more RAC compatible, this is the description of the views on 9i:
Connected to:
Oracle9i Release <IP_ADDRESS>.0 - Production
JServer Release <IP_ADDRESS>.0 - Production
SQL> desc gv$session
Name                                      Null?        Type

INST_ID                                            NUMBER
ADDR                                               RAW(4)
PID                                                NUMBER
SPID                                               VARCHAR2(12)
USERNAME                                           VARCHAR2(15)
SERIAL#                                            NUMBER
TERMINAL                                           VARCHAR2(16)
PROGRAM                                            VARCHAR2(64)
TRACEID                                            VARCHAR2(255)
BACKGROUND                                         VARCHAR2(1)
LATCHWAIT                                          VARCHAR2(8)
LATCHSPIN                                          VARCHAR2(8)
PGA_USED_MEM                                       NUMBER
PGA_ALLOC_MEM                                      NUMBER
PGA_FREEABLE_MEM                                   NUMBER
PGA_MAX_MEM                                        NUMBER
Working with RAC the GV$ view are more useful than  with V$ ones. I hope it helps!

https://www.oraclerecipes.com/monitoring/find-blocking-sessions
Hope it helps, in 9i cant use bloquing_session, must use v$lock view instead.

This is an idea, its not perfect but maybe with a little work will work well:
    select wlsession.sid waiting_session,
           wsession.serial# serial,
           wsession.logon_time,
           wlsession.lmode,
           wlsession.type,
           wsession.username waiting_user,
           wprocess.pid wait_pid,
           nvl(obj.object_name, '-') oname,
           nvl(obj.owner, '-') owner,
           wsession.row_wait_block# row_lock,
           hlsession.sid holding_session,
           hprocess.pid hold_pid,
           hsession.username holding_user
      from v$session wsession, v$lock hlsession, v$lock wlsession
      join v$session hsession
        on wlsession.sid = hsession.sid
      join v$process wprocess
        on wprocess.addr = wlsession.addr
      join v$process hprocess
        on hprocess.addr = hsession.paddr
      left join dba_objects obj
        on obj.object_id = wlsession.id2
     where
          wlsession.block = 1
     	AND wlsession.request > 0
      AND hlsession.id1 = wlsession.id1
      AND hlsession.id2 = wlsession.id2
    union
    select wlsession.sid waiting_session,
           wsession.serial# serial,
           wsession.logon_time,
           wlsession.lmode,
           wlsession.type,
           wsession.username waiting_user,
           wprocess.pid wait_pid,
           nvl(obj.object_name, '-') oname,
           nvl(obj.owner, '-') owner,
           wsession.row_wait_block# row_lock,
           nvl(hlsession.sid, 0) holding_session,
           nvl(hprocess.pid, 0) hold_pid,
           nvl(hsession.username, '-') holding_user
      from v$session wsession, v$lock hlsession, v$lock wlsession
      left join v$session hsession
        on wlsession.sid = hsession.sid
      join v$process wprocess
        on wprocess.addr = wlsession.addr
      left join v$process hprocess
        on hprocess.addr = hsession.paddr
      left join dba_objects obj
        on obj.object_id = wlsession.id2
     where wsession.sid IN (SELECT

(
SELECT
username
FROM
v$session
WHERE
sid = hlsession.sid) blocking_session
FROM
v$lock hlsession,
v$lock wlsession
WHERE
wlsession.block = 1
AND wlsession.request > 0
AND hlsession.id1 = wlsession.id1
AND hlsession.id2 = wlsession.id2
)

Based on your work and somo of this code:
https://www.arunsankar.in/2013/03/locking-blocking-sessions-in-oracle.html

This code works finding BLOCKING and BLOCKED objects/session in the database: I failed misserably trying to adapt it to your code, Sorry, I know you will succed, my mistake. There is the working piece of code who works on 9i. Best regards, hope it helps!
SELECT
(
SELECT
username
FROM
v$session
WHERE
sid = hlsession.sid) blocker,
hlsession.sid,
' is blocking ',
(
SELECT
username
FROM
v$session
WHERE
sid = wlsession.sid) blockee,
wlsession.sid
FROM
v$lock hlsession,
v$lock wlsession
WHERE
hlsession.block > 0
AND wlsession.request > 0
AND hlsession.id1 = wlsession.id1
AND hlsession.id2 = wlsession.id2

Hmm...
@luiscarlosbolanhos Unfortunately, I also cannot make a worthy replacement for our current script. The BLOCKING_SESSION column is important in it.
How about this script? Does it return the result you want? Could you test it, please.
SELECT
	wsession.sid waiting_session,
	wsession.serial# serial,
	wsession.logon_time,
	wsession.username waiting_user,
	wprocess.pid wait_pid,
	nvl(obj.object_name, '-') oname,
	nvl(obj.owner, '-') owner,
	wsession.row_wait_block# row_lock,
	hprocess.pid hold_pid,
	hsession.username holding_user
FROM
	v$session wsession, v$session hsession, v$process wprocess, v$process hprocess, dba_objects obj
WHERE wprocess.addr = wsession.paddr
	AND hprocess.addr = hsession.paddr
	AND obj.object_id(+) = wsession.row_wait_obj#
UNION
SELECT
	wsession.sid waiting_session,
	wsession.serial# serial,
	wsession.logon_time,
	wsession.username waiting_user,
	wprocess.pid wait_pid,
	nvl(obj.object_name, '-') oname,
	nvl(obj.owner, '-') owner,
	wsession.row_wait_block# row_lock,
	nvl(hprocess.pid, 0) hold_pid,
	nvl(hsession.username, '-') holding_user
FROM
	v$session wsession, v$session hsession, v$process wprocess, v$process hprocess, dba_objects obj
WHERE wprocess.addr = wsession.paddr
AND hprocess.addr(+) = hsession.paddr
AND obj.object_id(+) = wsession.row_wait_obj#;

20201223-104441.xlsx
Hi, the new script dont crash or anything, looks good for me, please check the file attached, it is the result for the query! I hope is ok for you too!
Thanks a lot and Merry Xmas!

Nope.
@luiscarlosbolanhos We do not need all sessions, but only blocking sessions. Now i see the error. Let's try to change your version:
SELECT
	(
	SELECT
		username
	FROM
		v$session
	WHERE
		sid = hlsession.sid) blocker,
	(
	SELECT
		SERIAL#
	FROM
		v$session
	WHERE
		sid = hlsession.sid) serial,
	hlsession.sid waiting_session,
	' is blocking ',
	(
	SELECT
		username
	FROM
		v$session
	WHERE
		sid = wlsession.sid) blockee,
	wlsession.sid holding_session
FROM
	v$lock hlsession,
	v$lock wlsession
WHERE
	hlsession.block > 0
	AND wlsession.request > 0
	AND hlsession.id1 = wlsession.id1
	AND hlsession.id2 = wlsession.id2;

It works wonderful! GREAT WORK!

@luiscarlosbolanhos Thanks for help!

You are really welcome!

arr. very difficult without a test environment.
@luiscarlosbolanhos Please check this query too. It contains more helpful columns, but I'm afraid I might be missing something.
SELECT (SELECT username
FROM v$session
WHERE
sid = hlsession.sid) waiting_user,
(SELECT SERIAL#
FROM v$session
WHERE
sid = hlsession.sid) serial,
hlsession.sid waiting_session,
(SELECT username
FROM v$session
WHERE
sid = wlsession.sid) holding_user,
wlsession.sid holding_session,
wsession.row_wait_block# row_lock,
nvl(obj.object_name, '-') oname,
nvl(obj.owner, '-') owner,
wsession.logon_time
FROM v$lock hlsession,
v$lock wlsession,
dba_objects obj,
v$session wsession
WHERE
hlsession.block > 0
AND wlsession.request > 0
AND hlsession.id1 = wlsession.id1
AND hlsession.id2 = wlsession.id2
AND obj.object_id(+) = wsession.row_wait_obj#

20201223-155710.xlsx

There is the output ... There are only one blocked session and one bloquing session, the same enviroment as the first Query you posted, the new one have a lot of more rows and duplicated information. It takes longer to run to!
Sorry If I dont have a enviroment to provide you, just my help!

@luiscarlosbolanhos I understood. We will work with previous query that is above. Thank you again!

You are really welcome!

Maybe, there is a way of join both, and create a new one that works and have very useful information!

@luiscarlosbolanhos Again, I want to ask you for a favour. I test on 8 oracle, and in 8 oracle, it seems, there is no DBA_LOCK. Does this request work correctly on Oracle 9? It is in the documentation, but suddenly not all columns have the correct name. This query helps resolve the blocking issue.
select lock_type,mode_held,mode_requested,lock_id1,lock_id2,last_convert,blocking_others from DBA_LOCK

20201224-080527.xlsx
Hi there, Whatever you need, If I can help, count with me. There is the output of the requested query!
Best regards

Hi there, I just installed the 7.3.2 EA verssion, tested the Blocking Session feature too, found it is very basic and simple, so I have a NEW one version, it is much better and very useful, I guess, already test it on my database and looks good for me, please update it in the next EA version. There is the code and the output too in the attached file. Thanks
SELECT
/*+ RULE */
s.inst_id "DB Instance",
s.sid,
s.serial#,
p.spid "OS Pid",
s.sql_hash_value "HASH VALUE",
s.username "ORACLE User",
s.lockwait,
s.row_wait_block#,
s.status,
s.osuser "OS User",
s.machine,
s.terminal,
s.type,
s.program,
s.logon_time,
s.last_call_et,
s.module,
l.id1,
l.id2,
decode(l.block, 0, 'WAITING', 1, 'BLOCKING') block,
decode( l.LMODE, 1, 'No Lock', 2, 'Row Share', 3, 'Row Exclusive', 4, 'Share', 5, 'Share Row Exclusive', 6, 'Exclusive', NULL) lmode,
decode( l.REQUEST, 1, 'No Lock', 2, 'Row Share', 3, 'Row Exclusive', 4, 'Share', 5, 'Share Row Exclusive', 6, 'Exclusive', NULL) request ,
round(l.ctime / 60, 2) "MIN WAITING",
l.type
FROM
v$process p,
gv$session s,
v$Lock l
WHERE
p.addr = s.paddr
AND s.sid = l.sid
AND (l.id1,
l.id2,
l.type) IN (
SELECT
l2.id1,
l2.id2,
l2.type
FROM
V$LOCK l2
WHERE
l2.request <> 0)
ORDER BY
l.id1,
l.id2,
l.block DESC;
20201229-084309.xlsx


KAFKA-17031: Make RLM thread pool configurations public

According to KIP-950, remote.log.manager.thread.pool.size should be marked as deprecated and replaced by two new configurations: remote.log.manager.copier.thread.pool.size and remote.log.manager.expiration.thread.pool.size.

The default value of -1 means that this will be set to the configured value of remote.log.manager.thread.pool.size, if available; otherwise, it defaults to 10

This is a bit confusing IMO. What if the user sets -2? I think that we can use -1 as default, and fallback when value is <=0. Wdyt?

This is a bit confusing IMO. What if the user sets -2? I think that we can use -1 as default, and fallback when value is <=0. Wdyt? I also have a test to fix.

-2 is invalid value and it will fail. The valid values are -1 and value >0. -1 indicates to be  remote.log.manager.thread.pool.size's value if exists else it's default(which is 10)

@satishd thanks for the feedback. Latest commit should address your request.

Test failures are unrelated. They work locally and are reported as flaky.

Since this changes the behavior of the new tiered storage configurations, we will need to get it into 3.9 if it is to get in at all. I will commit it now.


Fix homepage a11y

Fixes

Fixes #652 by @dhruvkb
Description

Moves the animated text from the input placeholder to an aria-hidden span positioned absolutely above the search input, which is hidden on focus and blur of the input.
Testing Instructions

Checklist

[ ] My pull request has a descriptive title (not a vague title like Update index.md).
[ ] My pull request targets the default branch of the repository (main) or a parent feature branch.
[ ] My commit messages follow best practices.
[ ] My code follows the established code style of the repository.
[ ] I added or updated tests for the changes I made (if applicable).
[ ] I added or updated documentation (if applicable).
[ ] I tried running the project locally and verified that there are no visible errors.

Developer Certificate of Origin

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

The animation seems to be jittering as if the browser is clamping it. Text doesn't update for several seconds and then the entire word appears.

Closing in favor of switching to a static homepage that shows a randomized featured search.


Failed at the<EMAIL_ADDRESS>start script

After successful running the npm install, when I am trying to run by npm start.
getting the below error.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>start: gulp serve.dev --color
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>start script.
Can you please give the solution to run successfully?
Thanks
Mohd Tanzeel

Seems like environment issue from your end.
Please post your environment configuration.
Node version, Operating system, IDE, package manager, HTTP server,

I am using the below environment.
node -v = v10.4.1
npm -v  = 6.1.0
Operating system = Ubuntu 16.04
IDE =  netbean
HTTP server =  Apache


proposal for a bit more context/details

i realized I ran out of time but here is some of the thoughts I planned to put in blog about quarkiverse.

/cc @gastaldi @aloubyansky

LGTM

@maxandersen it would be nice to have this PR merged before we blog about it

@gastaldi I think i managed to rebase properly ...damn non-code :)


add unit test for ValidateLayout function

Signed-off-by: xiekeyang<EMAIL_ADDRESS>

cc @wking @stevvooe @jonboulle @runcom

@wking
fixed, PTAL.
cc @runcom @jonboulle @stevvooe

LGTM

are we merging this here? or does this need to be moved (and possibly merged) in image-tools?

On Thu, Sep 15, 2016 at 07:07:52AM -0700, Antonio Murdaca wrote:

are we merging this here? or does this need to be moved (and
possibly merged) in image-tools?

It can be merged on the command line, just add an image-spec remote.
Or we can move it over if folks want a green button ;).

It can be merged on the command line, just add an image-spec remote.

and that's is awful to me given we have another repo and the code here is just for image-tools, do we want to cherry-pick/merge every outstanding PR from image-spec once merged here - anyway whatever

On Thu, Sep 15, 2016 at 07:24:40AM -0700, Antonio Murdaca wrote:

It can be merged on the command line, just add an image-spec remote.

and that's is awful to me given we have another repo and the code
here is just for image-tools, do we want to cherry-pick/merge every
outstanding PR from image-spec once merged here - anyway whatever

You have to migrate them over somehow.  image-tools has preserved the
full image-spec history, so there's no need to cherry-pick or rebase
(unless subsequent image-tools development leads to a conflict you
need to rebase around).  Merging from the command line seems easier
than asking OPs to re-open new PRs, assuming you've already collected
the LGTMs (and the maintainer sets are currently the same, so
PullApprove will flag those appropriately).

Are these sources just for image-tools though?

Are these sources just for image-tools though?

they're seem to be just used in cmd/ which has moved to image-tools (according to my ability with grep which may be bad - that's basically the reason I left image/ in image-tools)

On Thu, Sep 15, 2016 at 07:35:12AM -0700, Antonio Murdaca wrote:

Are these sources just for image-tools though?

they're seem to be just used in cmd/ which has moved to
image-tools (according to my ability with grep which may be bad -
that's basically the reason I left image/ in image-tools)

And I expect image-tools to eventually expose this sort of thing in Go
libraries like runtime-tools has been doing (starting with
opencontainers/runtime-tools#130).

i guess i meant, like runtime-spec has ./specs-go/ that are used by the runtime-tools and runc, I figured there would be a similar relationship here. I could likely be wrong though.

i guess i meant, like runtime-spec has ./specs-go/ that are used by the runtime-tools and runc, I figured there would be a similar relationship here. I could likely be wrong though.

@vbatts I left ./specs-go/ which contains the types here in image-spec indeed. image/ is just a set of functions used only in image-tools

ah. my bad. you're right.
On Thu, Sep 15, 2016 at 10:47 AM, Antonio Murdaca<EMAIL_ADDRESS>wrote:

i guess i meant, like runtime-spec has ./specs-go/ that are used by the
runtime-tools and runc, I figured there would be a similar relationship
here. I could likely be wrong though.
@vbatts https://github.com/vbatts I left ./specs-go/ which contains the
types here in image-spec indeed. image/ is just a set of functions used
only in image-tools
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/opencontainers/image-spec/pull/310#issuecomment-247349986,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAEF6bRxzKDJ-R2GaFIoDMB2yJyma2Upks5qqVqHgaJpZM4J8dfx
.

On Thu, Sep 15, 2016 at 07:47:35AM -0700, Antonio Murdaca wrote:

i guess i meant, like runtime-spec has ./specs-go/ that are used
by the runtime-tools and runc, I figured there would be a similar
relationship here. I could likely be wrong though.

@vbatts I left ./specs-go/ which contains the types here in
image-spec indeed. image/ is just a set of functions used only in
image-tools

Yeah.  +1 for leaving dead stuff (JSON Schema, Go types) in image-spec
but putting the moving parts (image/, cmd/) in image-tools.


Remove SyntaxProtocol.syntaxNodeType requirement

Instead, provide it in extension SyntaxProtocol.
Also, avoid creating existential or checking dynamic type for it. It can be statically determined by the SyntaxKind.

@swift-ci Please test

@akyrtzi You introduced this in https://github.com/apple/swift-syntax/pull/214. Do you have any concern with this change?

No, seems good 👍


Disable mergify

We don't use it anymore.

Codecov Report

Merging #1464 (7fba1ec) into main (784bf3f) will decrease coverage by 0.00%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1464      +/-   ##
==========================================
- Coverage   65.76%   65.75%   -0.01%
==========================================
  Files         155      155
  Lines       30398    30398
==========================================
- Hits        19991    19988       -3
- Misses      10407    10410       +3

I think we need to also uninstall mergify from the repo project settings.

@bh2smith I thought so, but I can't find any place where I could disable it. I guess I'll merge and see if it breaks or not 🤷🏻♀

I think we need to get devops to disable it.


browser tries to download extension html instead of displaying it

I tried installing the https://github.com/Microsoft/vsts-extension-samples/tree/master/calendar-public-events  on top of the https://github.com/Microsoft/vsts-team-calendar
The team calendar works fine before installing the public-events sample, but after installing the sample, when I visit the calendar, the browser asks me to download main.html, and then it doesn't show any US holidays.
Similar symptoms occur if I try to make a simple change to the vsts-team-calendar itself.  I changed the "Submit a bug or request" string in calendar.html and regenerated the vsix, removed previous team calendar, uploaded/installed the new one, and the browser asks for permission to download calendar.html instead of just showing it.
Not sure if this is related to #65.  I tried publishing to my own marketplace account and changing the publisher field in vss-extensions.json accordingly, but that didn't help.
I'm working on-premises with TFS 2017 Update 1.

I think what fixes this is adding "contentType":"text/html" to the file properties.

This issue could probably be closed after this gets merged and released, and then this repo gets upgraded accordingly.


librecast: package librecast

Towards #3.
Package main librecast library.

I noted : https://github.com/NixOS/nixpkgs/pull/248437/checks?check_run_id=15928186769
FYI:  lcrq is now at 0.1.1 with some bug fixes.
https://git.sr.ht/~librecast/lcrq/commit/357dda3f5c34b244e6ad705c99b275e3b7e812a7
Currently librecast is now at 0.7 RC 6, and the version will be released in a few days.
https://git.sr.ht/~librecast/librecast/refs/v0.7-RC6
https://git.sr.ht/~librecast/librecast/log
Apologies if I have put this in the wrong spot.

@onepict no problem, thanks for the update. I'm moving the conversation to our issue thread https://github.com/ngi-nix/ngipkgs/issues/3#issuecomment-1683211881


[BUG] addBackgroundImage not working

🐛 Bug Report
addBackgroundImage not working. addImage and eachSheet are working fine. even ws.addImage works fine.
But addBackgroundImage is not working ...
Lib version: X.Y.Z
Steps To Reproduce

    const imageId = workbook.addImage({
      buffer: image as Buffer,
      extension: "png",
    });
    workbook.eachSheet((ws, _sheetId) => {

      ws.addBackgroundImage(imageId);

   })

The expected behaviour:

Image to be added to background successfully
"exceljs": "^4.4.0"
node 18.17.1

+1
Unable to see background image when adding with the following code:
    worksheet.columns = rows[0].map(header => {
      return { header, key: `column${header}`, width: columnWidthMap[header] || columnWidthMap.default }
    })

    worksheet.insertRows(2, rows.slice(1))

    const imageId1 = workbook.addImage({
      filename: 'src/modules/survey/mail_logo.png',
      extension: 'png',
    })

    worksheet.addBackgroundImage(imageId1) // does not work
    return workbook```


GSAGH-153-1d-local-axis-component-gives-

Codecov Report

Merging #217 (296bd13) into main (07a8cde) will decrease coverage by 0.06%.
The diff coverage is 5.74%.

@@            Coverage Diff             @@
##             main     #217      +/-   ##
==========================================
- Coverage   19.24%   19.17%   -0.07%
==========================================
  Files         207      208       +1
  Lines       27005    27044      +39
==========================================
- Hits         5197     5187      -10
- Misses      21808    21857      +49

Flag
Coverage Δ

gsagh
19.17% <5.74%> (-0.07%)
:arrow_down:

integration
∅ <ø> (∅)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

GsaGH/Components/0_Model/GetGeometry.cs
0.00% <0.00%> (ø)

GsaGH/Components/2_Geometry/EditElement1d.cs
0.00% <0.00%> (ø)

GsaGH/Components/2_Geometry/ElemFromMem.cs
0.00% <0.00%> (ø)

GsaGH/Components/2_Geometry/LocalAxes.cs
0.00% <0.00%> (ø)

GsaGH/Helpers/Export/_GsaExport.cs
0.00% <0.00%> (ø)

GsaGH/Helpers/_Display.cs
90.04% <ø> (-0.11%)
:arrow_down:

GsaGH/Helpers/_GsaImport.cs
0.00% <0.00%> (ø)

GsaGH/Helpers/_RhinoConversions.cs
29.91% <0.00%> (-0.34%)
:arrow_down:

GsaGH/Parameters/2_Geometry/GsaElement1dGoo.cs
9.33% <0.00%> (+1.37%)
:arrow_up:

GsaGH/Parameters/2_Geometry/GsaElement2d.cs
49.75% <ø> (ø)

... and 6 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Jenkins vm unable to access in browser

Hi Sir/Team,
I have installed jenkins server on aws ec2 and unable to access it with public ip. Allowed ports 80, 22, 443. Bit getting error as this site can't be reached.
I have tried - Chrome is added in "allow app or feature in windows defender firewall"
firewalls kept off (public, private).

But still issue remains. pls let me know suggestions.

added custom port 8080 and issue has been fixed


registry_key_exists? mocked but registry_value_exists? is not

I have the following guard which ChefSpec tries to evaluate without mocking out the registry_value_exists? method. registry_key_exists? is mocked when I have used it as a guard. Can I mock this somehow?
registry_value_exists?(
			'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\InetStp',
			{ :name => 'VersionString', :type => :string, :data => '.'},
			:machine)}

I am having the same issue.but not sure how to resovle.
can you give a more detailed sample,  i.e. without the (...)    ?


Different Behavior of tf.raw_ops.AdjustSaturation with jit_compile=True

Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
No
Source
source
TensorFlow version
2.14.0
Custom code
Yes
OS platform and distribution
Ubuntu 22.04.3 LTS (x86_64)
Mobile device
No response
Python version
No response
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
11.8
GPU model and memory
GPU 0: NVIDIA GeForce RTX 2070 GPU 1: NVIDIA GeForce RTX 2070 GPU 2: NVIDIA GeForce RTX 2070 GPU 3: NVIDIA GeForce RTX 2070
Current behavior?
When the tf.raw_ops.AdjustSaturation operation is invoked within a tf.function with JIT compilation enabled (jit_compile=True), it produces different results compared to the same operation called without JIT compilation. This inconsistency is observed when the code is executed on a GPU device.
Standalone code to reproduce the issue
import tensorflow as tf
import traceback

def replace_special_values(tensor):
    # Convert tensor to tf.float32 if it's not a supported dtype
    supported_dtypes = [tf.float16, tf.float32, tf.float64, tf.bfloat16]
    if tensor.dtype not in supported_dtypes:
        original_dtype = tensor.dtype
        tensor = tf.cast(tensor, tf.float32)
    else :
        original_dtype = None

    # Replace NaNs with zeros
    tensor = tf.where(tf.math.is_nan(tensor), tf.zeros_like(tensor), tensor)

    # Replace positive infinities with a large number (e.g., 1e30)
    tensor = tf.where(tf.math.is_inf(tensor), 100, tensor)

    # Replace negative infinities with a small number (e.g., -1e30)
    tensor = tf.where(tf.math.is_inf(tensor) & tf.math.less(tensor, 0), -100, tensor)

    # Convert tensor back to its original dtype
    if original_dtype is not None :
        tensor = tf.cast(tensor, original_dtype)
    return tensor

class Network(tf.Module):
    def __init__(self):
        super().__init__()

    @tf.function(jit_compile=True)
    def __call__(self, x):

      x = tf.raw_ops.AdjustSaturation(scale=x, images=tf.random.normal([9, 10, 3], dtype=tf.float32))
      return x

m = Network()
inp = {
    "x": tf.random.normal([], dtype=tf.float32),
}

with tf.device('/GPU:0'):
    tf.config.run_functions_eagerly(True)
    no_op_res = m(**inp)
    tf.config.run_functions_eagerly(False)
    with tf.device('/GPU:0'):
        op_res = m(**inp)
    no_op_res = replace_special_values(no_op_res)
    op_res = replace_special_values(op_res)
    tf.debugging.assert_near(tf.cast(no_op_res, tf.float64), tf.cast(op_res, tf.float64), atol=0.001, rtol=0.001)

Relevant log output
File "/home/guihuan/LLM/results/tf-2/2023-10-22-20-21/test.py", line 50, in <module>
    tf.debugging.assert_near(tf.cast(no_op_res, tf.float64), tf.cast(op_res, tf.float64), atol=0.001, rtol=0.001)
  File "/home/guihuan/.conda/envs/night/lib/python3.9/site-packages/tensorflow/python/util/traceback_utils.py", line 153, in error_handler
    raise e.with_traceback(filtered_tb) from None
  File "/home/guihuan/.conda/envs/night/lib/python3.9/site-packages/tensorflow/python/ops/control_flow_assert.py", line 102, in Assert
    raise errors.InvalidArgumentError(
tensorflow.python.framework.errors_impl.InvalidArgumentError: Expected 'tf.Tensor(False, shape=(), dtype=bool)' to be true. Summarized data: b''
b'x and y not equal to tolerance rtol = tf.Tensor(0.001, shape=(), dtype=float64), atol = tf.Tensor(0.001, shape=(), dtype=float64)'
b'x (shape=(9, 10, 3) dtype=float64) = '
0.0, 0.653150737285614, 0.7379282116889954, ...
b'y (shape=(9, 10, 3) dtype=float64) = '
0.0, 0.05600351840257645, 0.007689270656555891, ...

Hi @zoux1a ,
I have replicated the reported behaviour with jit_compile=True and with jit_compile = False as well. It seems not related to jit_compile issue.  Attached gist for reference.

Hi @zoux1a ,
I noticed an issue here.
Inside the call function you are generating the value for images, which in each calls generates different random values( because seed gets changed every call)  which makes the output different for obvious reason.
I have done the changes to shift images to outside the call function to ensure same inputs. I ran 10 experiments with different inputs of x & images and printed the reduce_sum results of no_op_res and op_res which outputs almost same results with minor precision differences which is expected with XLA compilation.
Please refer attached gist for the experiments.


multiSensor Window with settings F, title is F , graph is C

WIth the settings set to F
The screen showing multiple sensors
The title shows 38,17F but the graph is in C

This seems to be a duplicate of the #76. Closing.

Actually somewhat different.
Issue#76 shows incorrect current reading ( 7,65F) as well incorrect graph (scale 6-9).
The current reading is now correct (38,17) but the graph is still wrong.
I suggest reopening this issue and closing issue #76 as this is more recent.

The both issues have been fixed on devstation.ruuvi.com and will be deployed soon to production.

Yeah :clap: V0.2.3 ?

The devstation version seems to be currently 0.2.2, not 0.2.3, and so is
the production. I assume that the version number is updated only when
pushing changes to the production.
On Wed, 8 Dec 2021, 19:37 Dennis German, @.***> wrote:

Yeah 👏 V0.2.3 ?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/ruuvi/com.ruuvi.station.webui/issues/82#issuecomment-989135732,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKAJKBSGXHPQ625E7JCNV3UP6XX5ANCNFSM5JRJ6FZQ
.

Maybe it's just me,
but at the present time devastation is not the same as webui wo I would expect them to be different versions.
Just saying

That is true, it would probably make sense to bump the version in dev after updating production instead. Then dev would show newer version that production until it's updated.


1000 stars! Need celebrate?

Mosaic for privacy! :joy:

Celebrate by translating all docs/issues/code-comments/pull-requests to english!
Also fixing broken links!


[Bug] Error 500 if you don't have the PRO license in 5.x and try to use enableExportButtons()

Bug report
What I did
I upgraded Backpack to 5.x from 3 and 4. I had enableExportButtons() in some of my admin controllers and got a 500 error without any error message.
What I expected to happen
I would have expected that it would have written something along the lines of you have to buy a license to use this feature.
What happened
It gave a 500 error without any sort of error message. This cost some time to figure out and given that we are an agency, some money as well.
Is it a bug in the latest version of Backpack?
Yes
After I run composer update backpack/crud the bug... is it still there?
Yes
The bug was solved after purchasing a valid PRO license and installing the package.

@pxpm I did not see that message at all. We do overwrite errors on prod environments. But I'm on a local environment with debug enabled where errors normally get shown.
And even if they did not get shown, they should be logged in the error log.


Feature/clear search text callback

The PR looks good. I will merge it into develop when I have a chance, and it will be part of next release (2.0.4).
Thanks!

Glad to help. Thanks for the great library!

Thanks!


updated pagerank docs for PPR, minor formating and such

minor formatting improvements
added reference for PPR and changed PR reference to paper and not wikipedia

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/madlib-pr-build/456/


Quickly draw on screen

Description of the new feature / enhancement
Powertoys could have a quick draw (mark-up) feature. Basically, whenever I press a shortcut I can draw on screen (transparent overlay) and when I press ESC it disappears. There could be a basic toolbar for colors and line drawing and so on.
Scenario when this would be used?
I would use it every time when in a Teams meeting with my teacher.
And we are using similar solution at work to illustrate on a CAD modelling screen. But the current solution is an app that does bunch of things but all the rest is turned off. An additional powertoys feature would be much more elegant.
Supporting information
I know there are options to do this after taking a "snip" of the screen, but when I'm sharing my screen and want to quickly illustrate something, I don't want to take a screenshot.
This way I have the ability to take the screenshot at the end but also I can just press ESC to discard the drawing.
Also it makes it much quicker to annotate multiple things in row. Draw -> ESC -> change page -> draw again...

@TooresRaev have you looked at ZoomIt?  https://docs.microsoft.com/en-us/sysinternals/downloads/zoomit
/needinfo

I know there are other solutions out there.
But it would be nice to have this feature baked into windows.
On Fri, Apr 29, 2022, 07:26 Clint Rutkas @.***> wrote:

@TooresRaev https://github.com/TooresRaev have you looked at ZoomIt?
https://docs.microsoft.com/en-us/sysinternals/downloads/zoomit
/needinfo
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/PowerToys/issues/17947#issuecomment-1112864441,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AY5V3UMKCE5TXMS6HWIYG7DVHNQGDANCNFSM5URNFJOQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

ref: #149

If you want it in windows, feedback hub is the way to go. We would recommend zoom it


#27 add IntelliJ IDEA configuration

You don’t want proper IntelliJ configuration that does not interfere with anything in your repository?

You can import these projects via the Gradle or Maven build files. Just
install the RoboVM for IDEA plugin.
On Apr 16, 2015 10:24 PM, "Alexander Orlov"<EMAIL_ADDRESS>wrote:

You don’t want proper IntelliJ configuration that does not interfere with
anything in your repository?
—
Reply to this email directly or view it on GitHub
https://github.com/robovm/robovm-samples/pull/28#issuecomment-93831437.


Does not support springboot templates

I want to use springboot to develop serverless functions with openfaas，but  Does not support springboot templates。

Hi,
There's nothing stopping you from creating your own Springboot template or using a simple Dockerfile approach. If you would like consulting or professional services, feel free to reach out via https://openfaas.com/support/
We also need everyone to fill out the issue template, could you do that please?
https://raw.githubusercontent.com/openfaas/templates/master/.github/ISSUE_TEMPLATE.md
Alex


Add concept of a Delta to UpdateComplexType

The current UpdateComplexType supports the recording of the before and after states of an audited entity.  Systems may not always have access to both states.  E.g. if they are adding an extra permission to a user but do not have access to all the before or after states.
In these cases it may be preferable to be able to record a delta instead, i.e. just the information about what has changed, i.e. the addition of permission X.
The proposal is to add a choice to the existing UpdateComplexType like so

where DeltaType would be enumerated to Add|Remove.
If we add the Delta element then we could consider making Before mandatory, but that would introduce a breaking change.

I do like the idea of an Add/Remove enumeration given the concept of 'Update' would be solved by using just Update/After one assumes.
And yes, the earth shook at the concept of making Before mandatory :-)

I don't think we want to expand the meaning of the existing Update/(Before|After).  The idea of those is to provide the complete before and after states so you can see what is different.
For clarity, here is an example we a list of fruits is stored and modified.
The before/after way:
Before = banana, apple, pear
After = banana, apple, pear, orange
The delta way:
Delta = orange (ADD)
Which way is used will depend on the system and how it is doing the update.  If it has easy access to the before and after states then it can use those.  If it is just say inserting an orange record into a table then it may not have any before/after state without performing extra queries so a delta is more suited.
Maybe the Delta element needs something extra to capture details of what the delta is being applied to, e.g. in this case list of fruits though without the full detail of what it contains.
If we are modelling a simple string value change, e.g. someone changing their email address then there is no need for the Delta.  We can just use After and optionally Before if we know what it used to be.

Maybe rather than having the choice between Before+After and Delta, if Delta is just an optional element it can describe the object being added/removed (i.e. a fruit in the above example) and After can be used to describe the object being added to (or having something removed from it) but without necessarily providing the full picture of that object.
e.g.
<After>
  <Name>Fruit basket</Name>
  <!-- No detail on what is in it -->
</After>
<Delta>
  <DeltaType>ADD</DeltaType>
  <Name>Orange</Name>
<Delta>

Why not put the subject of the action within Delta ...
e.g.
<Delta>
  <Object>
    <Name>Fruit Basket</Name>
  </Object>
  <DeltaType>ADD</DeltaType>
  <Name>Orange</Name>
<Delta>

Fixed in v4.1.0


Are you running tests on other packages?

I've tried to start meteor on port 8080, and that fails because a test in less tries to access port 8081 (https://github.com/less/less.js/blob/master/test/browser/less/urls.less#L2-L3)
That is not happening without this package. So:

are you using 8081 and it was not used before? If so how can I change that?
are you running tests that would not get run else? If so how to disable that?

Actually, it might come from the fact that I upgraded Meteor at the same time. Removing the package doesn't solve the issue, but reverting the commit (that includes Meteor upgrade does)

I know there was a lot of work regarding CSS imports in the last Meteor release.. my suspicion is maybe that Meteor was ignoring these lines before but respecting them now, but it still doesn't explain why removing the package didn't help.
The bigger question however is why those less tests are running for you at all?  How did you install the less package?  (Also, doesn't Meteor provide it's own less packages?  I'm less familiar with it.)
The answer your question though, if you run Meteor on port 8080, Meteor will run mongo on port 8081 and we'll use port 8082 for the accelerator.
Those less tests will always fail unless you run the code in less's test environment.

Hey @gsabran I'm pretty sure this is unrelated to meteor-hmr but feel free to re-open if you have any more input.


[WIP] feat(format): improve err.message DX

 ⚠ Do not merge ⚠

@michael-ciniawsky I wanted to start with https://github.com/webpack-contrib/schema-utils/issues/18 but found that you are already working on it 😸 If you need any help at all with this, I'll be happy to assist you!

@gribnoysup Sure I will get this ready 'implementation' wise and push it to a next branch later today so you can freely develop, any help is much appreciated 👍 😛


Update _stats_py.py

Add a comment in the zscore definition that we have to use zmap for the standardization as if we go directly for score there is a difference between the value that we are getting from zscore=(x-mean)/std.

Reference issue

This issue is for the values of zscore. If we use the mathematical formula that is z=(x-mean)/std then sometimes we get a different value when we use zscore function
What does this implement/fix?

There is no a such exact solution but we can notify users why this issue may be there and so we can use zmap separately and then go for zscore
Additional information

Or what else can be done is by notifying the user that there should not be null values and we make a function return (x-mean)/std directly.

I have added only the comment but have not updated the code function.

If we use the mathematical formula that is z=(x-mean)/std then sometimes we get a different value when we use zscore function

Can you give an example? (Not in the code but in a comment below.)

what I am trying to convey is if we have an original dataset which has nan values and we don't want to change the original dataset so we have another dataset which is a copy of the original and we updated the nan values in that using a certain techniques. If a person directly applies zscore on the original data values will be different as zscore is not updating the nan values by replacement techniques like mean, median or some other technique so the values will be different from (x-mean)/std so if they check the reason in the code there is no such definition for that situation. Now if a person doesn't want to update the real set he can get zscore by zmap(original, updated)

There should be an explanation regarding that for the beginners who doesn't understand the zscore calculation that well or the zscore function should update the nan values by mean, median or mode or other techniques.

newdf is the old data frame and newdf1 is updated.

@Mitraansh please provide a minimal reproducible example: simple code we can run to see the issue you're describing.
For example, suppose I wanted to report the issue that:

BUG: stats.tsem: ignores axis argument

I would provide the minimum reproducible example:
import numpy as np
from scipy import stats
rng = np.random.default_rng(21165541256537398)
a = rng.random(size=(4, 5))
stats.tsem(a)  # 0.06862956713881908
stats.tsem(a, axis=0)  # 0.06862956713881908, but should be 1d array of size 5
stats.tsem(a, axis=1)  # 0.06862956713881908, but should be 1d array of size 4

and note that:

stats.tsem accepts argument axis but ignores it, always behaving as though axis=None.


fix line ending after merge

:shipit:

@dotnet-bot test Ubuntu ubuntu_linux_debug please

Interesting error on CI
12:32:03
[1m/mnt/j/workspace/Microsoft_ChakraCore/release_2.0/ubuntu_linux_debug_prtest/lib/Runtime/./Library/ArrayBuffer.h:87:9: error: Unbarriered field, see https://github.com/microsoft/ChakraCore/wiki/Software-Write-Barrier#coding-rules
12:32:03         bool isDetached;

/cc @jianchun

Started to get the same memory barrier issue on somewhere else. -> https://github.com/Microsoft/ChakraCore/pull/2874

@dilijev yes, the barrier annotation is in 2.0 only, there's new field which should be annotated but the merge tool cant find this, the build checker is designed to find it out


Prepare for v2 support

The oldest current version supported is from 8 months ago. I'd like to support at least v2(2.0.0 released in 2017, latest 2.x in 2021). However, the initialization is a bit different for that. This PR prepares a few of the things without actually adding support for v2 or changing any of the behaviour to make the next PR more concise and easier to follow.
Check the commits for details, but:

supports initialization in the way v2 does it - version checking is a bit hacky TBH, I'm open to a better way if you have any preferences;
catches async errors in tests(stumbled upon those implementing v2 support);
renames events "ping" and "pong" in tests since those are internally used for heartbeats in v2.

Look out for any linting/formatting inconsistencies, because I didn't find a way to automatically apply those(I see GHA job for prettier but running default prettier gave me tons of markdown changes as well - just isolate to ts files?).

Thanks @Rauno56 ,
@mottibec  wrote this instrumentation, can you please take a look?
Regarding the prettier, I usually run yarn prettier from the root of the monorepo and it works.
Can you share how exactly you run prettier in your setup?

Problem solved with linting! Thanks, @blumamir!

Problem solved with linting! Thanks, @blumamir!

Great :)
we used to have husky hook running the prettier automatically on git push, but unfortunately husky doesn't work well with monorepos:
https://github.com/typicode/husky/issues/677
I see now in the issue that it might be fixed in version 6 of husky, which we can test and verify one day

Problem solved with linting! Thanks, @blumamir!

Great :)
we used to have husky hook running the prettier automatically on git push, but unfortunately husky doesn't work well with monorepos:
typicode/husky#677
I see now in the issue that it might be fixed in version 6 of husky, which we can test and verify one day

opened an issue for that: https://github.com/aspecto-io/opentelemetry-ext-js/issues/152

LGTM
@mottibec - do you want to take a look as well?

LGTM
Thanks @Rauno56


Support @material-ui/core v1.0.0-rc.1

Fix errors shown before touch/submit and add tests for mapError function
Update material-ui to v1.0.0 final
Fix broken package.json
Fix styling issues

@mihirsoni Are you going to polish this PR and merge it?


[BUG]

🔵 Describe the bug:
A clear and concise description of what the bug is.
after looking at Raw Edit (and making no changes), I then attempt to look at Compiles Template and I get an error.
🔵 To reproduce: (Steps to reproduce the behavior)

Go to '...'
Click on '....'
Scroll down to '....'
See error

🔵 The error:
Paste the error message in this blockquote.
5x GSE_GUI\MacroPreview.lua:43: attempt to call method 'GetWidth' (a nil value)
[string "@GSE_GUI\MacroPreview.lua"]:43: in function `GUIShowCompiledMacroGui'
[string "@GSE_GUI\Editor.lua"]:1188: in function <GSE_GUI\Editor.lua:1186>
[string "=[C]"]: ?
[string "@Atlas\Libs\AceGUI-3.0\AceGUI-3.0-41.lua"]:72: in function <Atlas\Libs\AceGUI-3.0\AceGUI-3.0.lua:70>
[string "@Atlas\Libs\AceGUI-3.0\AceGUI-3.0-41.lua"]:306: in function `Fire'
[string "@Altoholic\libs\AceGUI-3.0-41\widgets\AceGUIWidget-Button.lua"]:22: in function <...olic\libs\AceGUI-3.0\widgets\AceGUIWidget-Button.lua:19>
[GSE.lua.txt](https://github.com/TimothyLuke/GSE-Advanced-Macro-Compiler/files/6904864/GSE.lua.txt)

🔵 Screenshots:
If applicable, add screenshots to help explain your problem.
🔵 Expected behavior:
A clear and concise description of what you expected to happen.
🔵 GSE.lua file:
Please provide your GSE.lua file or the export string for the specific macro that is causing an issue.

To find the GSE.lua file:

First, make sure you have enabled the "File Name Extensions" checkbox in Explorer (View tab)
Browse to C:\path\to\wow\_retail_\WTF\Account\YourAccountName\SavedVariables\ or /path/to/WoW/_retail_/WTF/Account/YourAccountName/SavedVariables
Copy the GSE.lua file to your Desktop
Rename this copy to GSA.lua.txt
Then just drag it here in your message
GSE.lua.txt

Note: If you do not include your GSE.lua file you are wasting your time and mine. 90% of the time, the first thing I will ask for is "Can you please upload your GSE.lua file?".  This file is needed with the error to work out Why that error occured for you.

🔵 Desktop (please complete the following information):

OS: Windows 10 64bit
Game Version BCC

🔵 GSE Version:

Version: 3.0.39
Downloaded From https://www.curseforge.com

🔵 Additional context:
Add any other context about the problem here.

Which macro/class - and are you able to make it happen repeatedly?  and if so does it still ahpopen with 3.0.30?
If i perform the steps you are describing ("after looking at Raw Edit (and making no changes), I then attempt to look at Compiles Template and I get an error.") I do not get the same error.

Also which GSE windows are open when this happens?

I tried it without Atlas and no change same error, I then tried it without Altoholic and the error did not occur.
I did notice when I looked at Edit Raw the page generated would show up and also the Sequence Menu would open at same time.
I think I can create the error every time if I do a save after opening and closing the Raw Edit then attempting to open Compiled Template...

Cheers - I think I found it - it's the Menu that's causing it.  Fixing now
On Fri, 30 Jul 2021 at 16:32, Comicus @.***> wrote:

I tried it without Atlas and no change same error, I then tried it without
Altoholic and the error did not occur.
I did notice when I looked at Edit Raw the page generated would show up
and also the Sequence Menu would open at same time.
I think I can create the error every time if I do a save after opening and
closing the Raw Edit then attempting to open Compiled Template...
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/TimothyLuke/GSE-Advanced-Macro-Compiler/issues/1008#issuecomment-889677041,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEMCFMFDYKZ2ZTPIBBOHLTT2JFARANCNFSM5BHVGGZQ
.

--
Timothy Minahan**M 0406 413 680  |  E @.**

AWESOME

Seems not quite right...

I started getting same error again with 3.0.42.
I think it has something to do with Altoholic, I disabled Atlas and Altoholic and got no errors.  When I enabled Altoholic is when I started getting errors again.

I will look at this but if it’s a problem with Altoholic it’s a problem with Altoholic.

Setting it to force initialise GSEOptions.menuWidth in case it hasn't been initialised


The Flowee backend never seems to unsubscribe from an address

Now that we are generating new addresses for transactions, we need to consider unsubscribing from addresses when we no longer need to look at them.

This should be pretty easy to do. I'll take a look at it when I add more recovery logic if a process crashes somewhere.
As long as there's an "unsubscribe message" we've implemented?

Yup, it is there waiting to be used :)

To clarify, I don't feel this is pressing, but I wrote it down here to not forget.

To clarify, I don't feel this is pressing, but I wrote it down here to not forget.

Totally, and I think that's the way to go with these issues.

Flowee is no longer up-to-date with BCH consensus rules, so closing this for now.


aria-current

This aria property is not currently supported. It would be useful to have ARIA properties listed to know how good the accessibility support is in each browser.

Subfeature of http://caniuse.com/#feat=wai-aria


This is amazing, is there a repository with example projects?

I decided to give this a try and within 5 minutes I got it working with my isomorphic feature flag library (which happened to have an es module!). I'm actually amazed at how simple and fast it is, going to be learning a lot more about this.
Do you plan on hosting a repository or section within the documentation where there are examples? I'd be happy to flesh out and offer up mine https://github.com/Flagsmith/flagsmith-js-client/tree/main/examples/deno-fresh.
One of the reasons I ask is that the example around data fetching in the docs wasn't super clear about where Handlers / PageProps come from and I instinctively went looking for examples.

There is a chat platform template which uses fresh and supabase

There are currently not too many good examples. We're working on a "Showcase" section on the website with a bunch of real websites using Fresh. For now, a curated list:
The deno.land website uses most features of Fresh: https://github.com/denoland/dotland
The fresh website also uses fresh, but is not as advanced: https://github.com/denoland/fresh/tree/main/www
My personal website is much simpler, and does no dynamic data fetching: https://github.com/lucacasonato/luca
This repo for a workshop about fresh that I gave uses middleware, data fetching, and islands:  https://github.com/lucacasonato/freshworkshop


"Error > "Issue", Heading adjustments

Proposing "Error Message" > "Issue Message"

Per the design principles, it should be impossible for users to cause "errors" in Mattermost. The UI is not reflecting this (https://mattermost.atlassian.net/browse/PLT-3983).
Propose we make a DISTINCTION between Error Messages (i.e. JavaScript errors and things that are bugs in our system) vs. Issue Messages, which is feedback to the user on how to adjust their input to get the outcome they want.
We have a UX Defect right now that if you click into an email notification of a DM someone deleted you get this giant word "Error" that makes it seem like the system has failed.

That giant "Error" word should only be used when the system is actually failing, not when it's operating as intended.

Adjusting headings to make it easier to group similar guidelines.

Hopefully in another PR we can update the ordering to make grouping easier--input guidelines with other input guidelines, etc.

+1

I thought about this some more, and I disagree.
I think it's fixing the wrong issue. The guideline should be to show a helpful title describing the problem instead of showing the word "Error".
Changing "error message" to "issue message" in our documentation just seems confusing, where else has anyone heard of an "issue message"? It's not clear what that is. And it really doesn't tell you how to solve the problem of having the "Error" title.

I think I agree with points brought up by Ian and Lindsay.
I do think that having a giant "Error" misrepresents somewhat that it's the system's fault, but on Lindsay's point, the purpose of the message is to be descriptive and letting the user know what's going on, and this doesn't follow the guidelines.
I see where you are coming from, Ian - "Issue message" could be used to distinguish user slips/mistakes from actual system errors. But from the POV of people reading the document, "issue message" can be confusing, as Lindsay pointed out. I think what we could do instead to distinguish it for the purpose of this PR/docs is maybe say "System Error Messages" or something, and say "Error Messages" for user ones. And definitely mentioning in the docs that instead of actually saying "Error" in the platform, saying some helpful title such as "User does not exist" or something in your example should be the norm. :)

@lfbrock, @yangchen1 agree with your feedback--I think what I'm trying to say is we should never show the word "Error" to a user unless something unexpected happened with the System.
In my mind there are:

Bad error messages (the ones that say "Error" when the user reaches an unsurprising state (clicking on a link to a message that was deleted).
Mediocre error messages (not embarrassing to the design team, but room for improvement).
Good error messages (concise, informative, high quality error messages).

This is the "voice of the product" and we need to come across as a professional product.
Here are some examples of giving user feedback in error messages from Microsoft and Google:

Windows UI Error Guidelines
Google UI Error Guidelines

We need to knock out something similar.
Could I ask PM's help to:

Open a Jira ticket for UX/PM to figure this out?
Review this ticket again for the other minor changes and let me know feedback?

There's a bunch of minor reformatting I did to help make UX guidelines easier to navigate. Also, I've proposed minimum resolution in another PR but it's going to conflict with this one so I added it here.

It's been a month, feedback shared seems addressed so merging and we can make additional PRs to fix anything missed,
UX Guidelines probably low risk...


libnetwork/overlay:fix join sandbox deadlock

v20.10 backport of https://github.com/moby/moby/pull/43379

Operations performed on overlay network sandboxes are handled by dispatching operations send through a channel. This allows for asynchronous operations to be performed which, since they are not called from within another function, are able to operate in an idempotent manner with a known/measurable starting state from which an identical series of iterative actions can be performed.
However, it was possible in some cases for an operation dispatched from this channel to write a message back to the channel in the case of joining a network when a sufficient volume of sandboxes were operated on.
A goroutine which is simultaneously reading and writing to an unbuffered channel can deadlock if it sends a message to a channel then waits for it to be consumed and completed, since the only available goroutine is more or less "talking to itself". In order to break this deadlock, in the observed race, a goroutine is now created to send the message to the channel.
(cherry picked from commit moby/moby@feab0cca9f9bb852df3372c7458b0d6d7b64d515)

Oh! All green now; merging


Remove numba from the default test env and allow failures on Travis

There are too many headaches with Numba.  I think it makes sense to isolate the test with Numba for now.

This PR "works" in the sense that it caught another error...


Setting vm.max_map_count inside LXD container fails

Required information

Distribution: Ubuntu
Distribution version: 16.04
The output of "lxc info" or if that fails:

Kernel version: 4.4.0-28-generic
LXC version: 2.0.3
LXD version: 2.0.3
Storage backend in use: ZFS

Issue description
Setting the vm.max_map_count value inside the container fails. This report is solely on the failure of setting the vm.max_map_count value.
The origin for trying to set the vm.max_map_count value is, because Elasticsearch 5.0.0alpha4 recommends setting vm.max_map_count to at least 262144, however this is not an issue with Elasticsearch 2.3.4
5.0.0alpha4 startup log:
max virtual memory areas vm.max_map_count [65530] likely too low, increase to at least [262144]

I've opened a bug report with Elasticsearch as well https://github.com/elastic/elasticsearch/issues/19458
Steps to reproduce

Launch LXD container
Install Java + Elasticsearch 5.0.0alpha4
Run Elasticsearch

Information to attach

[ ] any relevant kernel output (dmesg)
[x] container log (lxc info NAME --show-log)
base-elasticsearch-5-0-0-alpha4.log.txt
[x] main daemon log (/var/log/lxd.log)
lxd.log.txt
[ ] output of the client with --debug
[ ] output of the daemon with --debug

Following the instructions from the Elasticsearch docs to set the vm.max_map_count value, writing the new value fails in the container.
root@base-elasticsearch-5-0-0-alpha4:~# sysctl -w vm.max_map_count=262144
sysctl: permission denied on key 'vm.max_map_count'

root@base-elasticsearch-5-0-0-alpha4:~# sysctl -a | grep vm.max_map_count
sysctl: permission denied on key 'fs.protected_hardlinks'
sysctl: permission denied on key 'fs.protected_symlinks'
sysctl: permission denied on key 'kernel.cad_pid'
sysctl: permission denied on key 'kernel.unprivileged_userns_apparmor_policy'
sysctl: permission denied on key 'kernel.usermodehelper.bset'
sysctl: permission denied on key 'kernel.usermodehelper.inheritable'
sysctl: reading key "net.ipv6.conf.all.stable_secret"
sysctl: reading key "net.ipv6.conf.default.stable_secret"
sysctl: reading key "net.ipv6.conf.eth0.stable_secret"
sysctl: reading key "net.ipv6.conf.lo.stable_secret"
vm.max_map_count = 65530

Can you do "lxc config set base-elasticsearch raw.lxc lxc.aa_profile=unconfined", then restart the container with "lxc restart base-elasticsearch" and see if it's still a problem?
If it is, it's because that particular key isn't namespaced and/or allowed for unprivileged user use by the kernel.

@stgraber it still is
eric@bigma:~$ lxc config show base-elasticsearch-5-0-0-alpha4
name: base-elasticsearch-5-0-0-alpha4
profiles:
- default
config:
  boot.autostart: "true"
  raw.lxc: lxc.aa_profile=unconfined
  volatile.base_image: f452cda3bccb2903e56d53e402b9d35334b4276783d098a879be5d74b04e62e2
  volatile.eth0.hwaddr: 00:16:3e:b1:d9:31
  volatile.last_state.idmap: '[{"Isuid":true,"Isgid":false,"Hostid":100000,"Nsid":0,"Maprange":65536},{"Isuid":false,"Isgid":true,"Hostid":100000,"Nsid":0,"Maprange":65536}]'
devices:
  root:
    path: /
    type: disk
ephemeral: false

eric@bigma:~$ lxc exec base-elasticsearch-5-0-0-alpha4  bash

root@base-elasticsearch-5-0-0-alpha4:~# sysctl -w vm.max_map_count=262144
sysctl: permission denied on key 'vm.max_map_count'

Ok, so it's a kernel limitation, nothing that LXD can do about this unfortunately.

You could use a privileged container (security.privileged=true) to workaround it but then security would suffer quite a lot.

@naisanza think you can run that command on the host and have it applied on all containers, i'm not sure about that, but i think its global value, try it by setting on the host and retrieving on the container.

@pcdummy perfect! setting it on the host is retrieved on the container. The performance issues that this may have, I have no idea.
root@base-elasticsearch-5-0-0-alpha4:~# sysctl -a | grep  vm.max_map_count
sysctl: permission denied on key 'fs.protected_hardlinks'
sysctl: permission denied on key 'fs.protected_symlinks'
sysctl: permission denied on key 'kernel.cad_pid'
sysctl: permission denied on key 'kernel.unprivileged_userns_apparmor_policy'
sysctl: permission denied on key 'kernel.usermodehelper.bset'
sysctl: permission denied on key 'kernel.usermodehelper.inheritable'
sysctl: reading key "net.ipv6.conf.all.stable_secret"
sysctl: reading key "net.ipv6.conf.default.stable_secret"
sysctl: reading key "net.ipv6.conf.eth0.stable_secret"
sysctl: reading key "net.ipv6.conf.lo.stable_secret"
vm.max_map_count = 262144

Ok, so there's nothing we can do about this in LXD itself. If bumping the limit on the host is fine with you, then you can do that. If there is a good reason for the container to be able to do it on its own and it can be demonstrated that allowing unprivileged users (and containers) to change this setting won't cause a security issue, then we may be able to convince someone to write a Linux kernel patch to allow this.
I personally don't expect this to become a user accessible knob. What may be doable is to allow containers to define a value lower than the host though, so similar to what's done in the cgroup subsystem (this may even be tied to the memory cgroup).
In any case, as I said, there's nothing we can do about this in LXD itself as it's purely a kernel limitation, so closing this issue. If you do end up filing a kernel bug/feature request somewhere about this, feel free to leave a comment here so others can find it!

has anything been done about this? I do not want to set this on the host, but need it for one container.


GetBounds() is null.

I'm trying to get the bounding box for each of my custom components so that I can dynamically adjust their positions at runtime.  Here's my latest attempt.
private NodeModel myCustomNode;

protected override void OnInitialized()
{
    base.OnInitialized();
    diagram.RegisterModelComponent<myCustomModel, myCustomComponent>();

    myCustomNode = new myCustomModel(new Point(0, 0), name);
    ...
}

protected override void OnAfterRender(bool firstRender)
{
    base.OnAfterRender(firstRender);
    var boundingBox = myCustomNode.GetBounds();
    ...
}

Everything renders as I expect, but it's not laid out properly.  Unfortunately, boundingBox is always null so I can't adjust positions the way I'd like.  Any thoughts?

Hello,
I think the reason boundingBox is null is because the bounds of a node are calculated asynchronously via JavaScript, so when you call GetBounds() directly in OnAfterRender these values haven't been calculated yet.
You can test this if you add a button to your page and try to read the bounding box in the button event handler, there you will get the correct values.
Another way to get the bounds is to listen to the OnChanged or OnSizeChanged events of a node. These are called after the node was rendered and the size calculations are finished.

Hello,
Indeed, @314159265meow is right. Since dimensions and positions are calculated after the elements are rendered, they won't be available to you right away.

Thanks for the feedback, guys.  Unfortunately, I had to get something working so I've taken a different approach and am not using Blazor.Diagrams anymore.  I may switch back sometime later in the project.
Chuck

I only need the ability to create static flowcharts, so CSS for placement of nodes, and LeaderLine for the connecting lines and arrows.

Okay! Good luck on your project.


Update release-notes.md

Use "Mar" (the abbreviation form of "March") to keep style consistency.

Proposed changes

Unreleased project version (optional)

Related issues (optional)

Thanks, @scjane :)


[FLINK-18189][runtime] Incorrect size check for sum of heap/non-heap memory

What is the purpose of the change
Log of method deriveFromRequiredFineGrainedOptions in JobManagerFlinkMemoryUtils isn't consistent with the condtion which is derivedTotalFlinkMemorySize.getBytes() != totalFlinkMemorySize.getBytes(). This condition should be derivedTotalFlinkMemorySize.getBytes() > totalFlinkMemorySize.getBytes().
Brief change log

Modify the log condition of deriveFromRequiredFineGrainedOptions to derivedTotalFlinkMemorySize.getBytes() > totalFlinkMemorySize.getBytes().

Verifying this change
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

@zentol Could you please help to review this minor changes?


Admin API should check that beer and establishment IDs are valid

Add code to the admin API to validate beer and establishment IDs

Fixed - added this code to /admin/statuses for POST and PUT. Its probably not really needed for PUT, but it adds a layer of extra protection. Its not needed for /admin/establishments or /admin/beers as those already check for valid ids...


Semaphore support

I have a project that implements both semaphores and mutexes.
Looking very quickly over the code, adding semapore support does not seem too difficult and I am happy to do the work when I get to the point I need them.
Is there any existing work in this area or things that can prevent this from working with the current lib that you are aware of?

I also need this. As it supports locks shoudl not be too bad to add, BUT also need a semaphore wait with a timeout


Syntax Error when installing

Hi, thanks for sharing this!
So, I tried to follow your setup instructions and when to I ran python convert2web.py, it gave me the following error
File "convert2web.py", line 60
SyntaxError: Non-ASCII character '\xc3' in file convert2web.py on line 60, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details

I tried searching through the python script and search for \xn3 but it didn't find any occurence?

Hi. Thanks for using pubsidian.
As mentioned here, I think just putting  # coding=utf-8  on the top of convert2web.py can resolve this issue.
I've updated the script. You can either manually download the script again, or simply add the aforementioned line at the top of convert2web.py to resolve the issue.


How should I use Readme and theming together?

I'm opening a new issue as I do not have rights to re-open the previous one.
I'm trying to add Readmes to my Storybook. But it uses theming, and the addon give error
Expecting a valid React element from the story: "test" of "Button".
Seems like you are not returning a correct React element from the story.
Could you double check that?

This is how I write the story:
import React from 'react'
import { withTheme } from 'utils'
import { storiesOf } from '@storybook/react'
import ButtonReadme from './README.md'
import { withReadme, withDocs }  from 'storybook-readme';

storiesOf('Button', module)
  .add('test', withReadme(ButtonReadme, () => {
    return withTheme(() =>
Hello world
)
  }))

You can reproduce the error in this branch: https://github.com/SC5/ds-workshop-storybook-boilerplate/tree/storybook-readme
If you run npm start, and when it's ready navigate to http://localhost:6005/?selectedKind=Button&selectedStory=test&full=0&down=1&left=1&panelRight=0&downPanel=REACT_STORYBOOK%2Freadme%2Fpanel you can see the error.
The withTheme is a function which is needed for wrapping with ThemeProvider https://github.com/SC5/ds-workshop-storybook-boilerplate/blob/storybook-readme/src/utils.js
The same approach is used in some other libraries, for example in Coderbox https://github.com/coderboxapp/coderbox-atoms/blob/master/src/utils.js
Prrevious issue: https://github.com/tuchk4/storybook-readme/issues/44

withTheme returns function instead of component.
At Button.test story you pass function that returns withTheme result.  In this case this is not valid story.
.add('test', withReadme(ButtonReadme, () => {
  return withTheme(() =>
Hello world
)
}))

At all other cases you pass withTheme result. In this case this is valid story.
.add('with different size', withTheme(() => {
  return (
    <Box>
      <Button color='primary' size='tiny'>Tiny</Button>
      <Button color='success' size='small'>Small</Button>
    </Box>
  )
}))

Just update the first story and everything will work correctly.


Refactoring UI stuff

Simplified InfoDetailViewController
Refactored auto layout constraints for the NowPlayingViewController to make it adaptable for all iPhone sizes

+1

Just ran this in simulator.... looks like with the Album Art much bigger the Track Info is getting slightly squished on smaller screens (iPhone SE)

Will fix now and post PR with screenshot
On Tue, Nov 14, 2017 at 5:09 PM, dvd<EMAIL_ADDRESS>wrote:

Just ran this in simulator.... looks like with the Album Art much bigger
the Track Info is getting slightly squished on smaller screens (iPhone SE)
[image: screen shot 2017-11-14 at 8 07 45 pm]
https://user-images.githubusercontent.com/1800276/32813346-abd297d8-c977-11e7-8e9b-c0d5f5d07f26.png
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/WXYC/wxyc-ios-64/pull/8#issuecomment-344453060, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAbNVkgwhDF8RxUf9YA3wYhmh5ZzkQMMks5s2jm2gaJpZM4Qc2Ls
.

Sorry for the delay on fixing this. I'm making sure that the layout looks
better than garbage on all devices (that aren't iPads)
On Tue, Nov 14, 2017 at 8:15 PM, Jake Bromberg<EMAIL_ADDRESS>wrote:

Will fix now and post PR with screenshot
On Tue, Nov 14, 2017 at 5:09 PM, dvd<EMAIL_ADDRESS>wrote:

Just ran this in simulator.... looks like with the Album Art much bigger
the Track Info is getting slightly squished on smaller screens (iPhone SE)
[image: screen shot 2017-11-14 at 8 07 45 pm]
https://user-images.githubusercontent.com/1800276/32813346-abd297d8-c977-11e7-8e9b-c0d5f5d07f26.png
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/WXYC/wxyc-ios-64/pull/8#issuecomment-344453060, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAbNVkgwhDF8RxUf9YA3wYhmh5ZzkQMMks5s2jm2gaJpZM4Qc2Ls
.


Alpha values not being respected in scenes

Hello thanks for this backport! I have however found an issue where it isn't not playing nicely with another widget library.
I have a sample project here demonstrating the issue. If you compile and run the project and click the add payment method button the Transition will kick in displaying a new scene. If android:ids are shared between scenes then it looks as if the alpha values are not honored.  Switching the Transition package names back to the framework will resolve the issue.
Here is the sample project
https://drive.google.com/file/d/0B9BQRk_YVoNrdDVqVVduY3dnY0k/view?usp=sharing
And here is a link to the issue originally opened on the widget library.
https://github.com/IanGClifton/AndroidFloatLabel/issues/20

Hello. Thanks for information. I will fix it soon.
Strange, but this issue does not reproduced on 4.4/

I'm seeing this on GS5 running Lollipop. Haven't tested on other devices/versions.

on nexus 5 with 5.0 its work incorrectly too

Okay good so you are able to see the issue then? Looks like its a 5.0 only issue?

yes, i think so. i will try to debug)

you found a really major bug, thanks!
i fixed it and will upload new version on maven soon

@andkulikov Please update soon :)

@andkulikov Not sure if the same issue, but TransitionManager.beginDelayedTransition() messes with the alpha values as well. I used both the maven version and the one with the issue fix #12
It works with the native api. Also, tried in android 4.4.4 & 5.0
Made a simple example that demonstrates the issue https://github.com/c0nnector/TransitionsIssue

c0nnector, thanks!
both of these bugs already fixed in new version 1.3.0

@andkulikov Awesome! Great lib :+1:


fix rust-version compilation issue

What
Trying to regenerate the test wasms results in the following error.
error: failed to parse manifest at `/Users/siddharthsuresh/dev/rs-soroban-env/soroban-test-wasms/wasm-workspace/write_upgrade_bytes/Cargo.toml`

Caused by:
  error inheriting `rust_version` from workspace root manifest's `workspace.package.rust_version`

Caused by:
  `workspace.package.rust-version` was not defined

I think the issue has something to do with the limitations with workspace inheritance, but I'm not really sure. @leighmcculloch please let me know if you know of a better solution than just setting the version again explicitly in each test wasm.

Trying to regenerate the test wasms results in the following error.

I just wanted to remind that we should not regenerate Wasms for protocol 20 anymore (unless it's necessary to modify them) - I suppose these are necessary to generate p21 Wasms, right?

Trying to regenerate the test wasms results in the following error.

I just wanted to remind that we should not regenerate Wasms for protocol 20 anymore (unless it's necessary to modify them) - I suppose these are necessary to generate p21 Wasms, right?

Yeah that's why I didn't commit the regenerated wasm files. If we want to regenerate for v21, we'll run into the issue mentioned here.

I think the issue has something to do with the limitations with workspace inheritance, but I'm not really sure. @leighmcculloch please let me know if you know of a better solution than just setting the version again explicitly in each test wasm.

I don't think there's anyway to pull this from the top-level workspace, but you could add it as a property of the wasm-workspace and have the projects reference it. At least then it would only be in two places.


Output format cyclonedxjson incorrectly puts license id into license name property

When generating an CDX SBOM, tern finds and emits the SPDX license IDs correctly, but puts them into the "name" property instead of the "id" property.
OWASP Dependency Track is not able to parse the license based on the name property (yet)
Example output
    {
      "name": "ncurses-libs",
      "version": "6.2_p20210612-r0",
      "type": "application",
      "purl"<EMAIL_ADDRESS>      "licenses": [
        {
          "license": {
            "name": "MIT"
          }
        }
      ]
    }

Expected behavior
Should be:
[...]
"license": {
            "id": "MIT"
          }
[...]

Environment you are running Tern on
Docker on Ubuntu 20.04

Output of 'tern --version'

Tern version 2.9.1
   python version = 3.9.11 (main, Mar 17 2022, 06:08:17)

Operating System (Linux Distro and version or Mac or Windows)
Docker image was build using the supplied docker-file in ./docker

cc @coderpatros for another cdx bug :)
@MarkusGeigerITD what is the expected license name?

@ivanayov, once we get more clarity on what the "name" field should be, you can work on this :)

Ah, this might have been something I had meant to check with you @rnjudge. I think I put it in the name property meaning to check if they are always a valid SPDX license ID or if what I was observing was a happy coincidence.
@ivanayov it should be enough to just change this method https://github.com/tern-tools/tern/blob/ba56a93963419f90d2bab2fc9fb819a13cffad0d/tern/formats/cyclonedx/cyclonedx_common.py#L74-L75
Change the 'name' property name to 'id'.

(@rnjudge:)

cc @coderpatros for another cdx bug :)
@MarkusGeigerITD what is the expected license name?

Hi Rose, thanks for getting back to me so quickly!
When I came across this issue, I was investigating ways to minimize the threat of supply chain attacks via docker base images using only FOSS solutions (and not commercial services like snyk). We are already using OWASP DependencyTrack in our company and when I was made aware of tern, I was excited to see that it supports OWASP's own SBOM format as well. Seems like a perfect match to build a snyk-linke toolchain with only FOSS! I am writing this because I know that it is sometimes difficult to figure out who's to "blame", if two pieces of independent software won't play nicely together.
The CycloneDX json-schema states only that the license object should have either an id or a name.
The documentation here  seems to be more useful. It suggests that the id property should be used if the license-id is one of the enumeration values listed there and only if not, the license should be treated as a "name" of a license not defined by SPDX (see the remark here)
I have tried to manually replace the property name "name" with "id" before uploading to DependencyTrack and, lo and behold, it works! DT is able to parse the licenses and applied the license policies accordingly - at least for all packages that have exactly one license listed. DT doesn't seem to be able to process multi-licensed packages and I am not sure if that is due to an error in the SBOM format emitted by tern or due a limitation in DT. Maybe @stevespringett could comment on that?
Thank you all for your work!

Thanks @MarkusGeigerITD

CycloneDX supports a enumerated list of SPDX license IDs (strict validation)
Unresolved license names
SPDX license expressions (not validated)

When importing BOMs into Dependency-Track, components with SPDX license IDs are tracked back to the SPDX license. License names are currently just displayed as is. Support for SPDX expressions is on the roadmap, but given that DT is a security tool, improvements to security use cases take priority.

Thanks for the clarification, @stevespringett!
[slightly off-topic remark]

... but given that DT is a security tool, improvements to security use cases take priority.

I fully understand and agree - my main focus is on security as well. But in my experience, when it comes to convincing managers to invest time and money into introducing something like DT, the fear of unintentionally depending on a copyleft-licensed component is much stronger than the fear of having an undiscovered vuln..
That legal stuff is a powerful door-opener.
[/slightly off-topic remark]

I'd like to address it :)


Docs: Description of nnz attribute of sparse.csc_matrix misleading

Hello
On the docs page for the sparse.csc_matrix, the nnz attribute is described as:
"Number of stored values, including explicit zeros."
However, the source describes it as:
"Number of nonzero elements"
These are clearly contradictory. The behaviour seems to be in line with the source description, indicating that the documentation is misleading. Perhaps the docs description meant "excluding" instead of "including"?

I can fix this to better reflect the source, however I am not sure how to go about actually editing the document.

It is the documentation, not the source, that is correct, e.g.:
>>> from scipy import sparse
>>> matrix = sparse.csc_matrix(([0.0, 0.0], ([1, 2], [3, 4])), shape=(5, 5))
>>> matrix.nnz
2
>>> matrix.toarray()
array([[ 0.,  0.,  0.,  0.,  0.],
       [ 0.,  0.,  0.,  0.,  0.],
       [ 0.,  0.,  0.,  0.,  0.],
       [ 0.,  0.,  0.,  0.,  0.],
       [ 0.,  0.,  0.,  0.,  0.]])

Fixed by gh-10141


Add -force argument for ungraceful disconnect

I found it useful to test a less graceful disconnection than what shutdown() produces.
This PR adds a -force argument which calls close() instead. This results in a Bad file descriptor (9) error, although ideally I'd like to it produce a Connection reset by peer (104) error.
Builds on top of Python 3 support in #1.

@googlebot I signed it!

@caruccio looks like the Google bot is confused because I'm building on top of your PR, even you did consent.

So what can we do now? Maybe a fresh new pr will do the job? Fell free to handle at your will.

@caruccio the bot says you just need to say @googlebot I consent.. Alternatively if the maintainer merges your PR, I can rebase on master.

Hi guys, thank you for your contributions! FYI, I'm no longer at Google and am no longer maintaining this codebase.


Use inventory or linkme to register scripts automatically

While using the bindings, one might create a new script type but forget to register it in init. It's a minor annoyance, but one that often leads to confusing errors when the new type is used, and is not handled by the compiler. Implementing automatic script registration improves usability and reduces the chances of runtime bugs.
Provisions for automatic script registration seem to exist in the bindings for D, Kotlin, and Nim.
Currently, there are two crates in the Rust ecosystem that enable relatively easy automatic registration: inventory and linkme. The former is implemented through module initialization/teardown functions. The latter is based on link_section attributes. Both allow us to collect a list of fn(&mut InitHandle) -> () pointers before nativescript_init and use them to automatically register all script types that derived NativeClass. The expected user-facing API is the same regardless of the implementation detail:
// The derive macro will automatically insert the relevant code.
#[derive(NativeClass)]
struct Foo;

// A separate attribute can be used for types with manual `NativeClass` impls.
#[gdnative::register]
struct Bar;

impl NativeClass for Bar {
    /* - snip - */
}

// No callbacks necessary. It just works!
godot_gdnative_init!();
godot_nativescript_init!();
godot_gdnative_terminate!();

Manual registration should still be possible for types with manual NativeClass impls:
struct ILikeBoilerplateCode;

impl NativeClass for ILikeBoilerplateCode {
    /* - snip - */
}

fn init(handle: gdnative::init::InitHandle) {
    handle.add_class::<ILikeBoilerplateCode>();
}

godot_gdnative_init!();
godot_nativescript_init!(init);
godot_gdnative_terminate!();

Implementation options
As mentioned before, there are two crates that can be used. They have slightly different pros/cons from each other, that are given here. In any case, this will be an implementation detail, and we should be able to swap implementations freely at a later time.
Both crates need some support with platform compatibility before they can be used in godot-rust.
inventory
Pros:

Supports Android and iOS out of the box.

Cons:

inventory currently uses ctor under the hood, which is life-before-main.
ctor lacks support for iOS (https://github.com/mmastrac/rust-ctor/issues/10). Implementation is supposedly very easy, but they need help testing.

linkme
Pros:

Works at link time. No life-before-main or runtime cost.

Cons:

No official support for both Android and iOS (no issues in repo). Implementation difficulty unknown.

Considerations
Compatibility
It's possible to maintain compatibility with current manually registering code by making InitHandle track registered types, and ignore types that are already registered.
Tool scripts
A #[gdnative::tool] attribute may be added for tool scripts, alongside gdnative::register.

Added the "help wanted" tag for inventory / linkme platform support.

Update: iOS is now supported by inventory.

In my game that uses godot-rust I've tried using the inventory crate, and it seems to work pretty well.
This is what I came up with so far...
For every NativeClass I only need this bit of code to register it...  (which could be turned into a derive macro)
inventory::submit! {
    AutoRegisterInfo::new("MyClass", 0, |handle| {
        handle.add_class::<MyClass>();
    })
}

Using a simple struct AutoRegisterInfo, that holds a closure for automatic class registration, and a priority for ordering purposes (the order of registrations seem to matter sometimes? I've had it crash on me before when the order was wrong)...

pub struct AutoRegisterInfo {
    pub name: String,  //Only used for debugging
    pub priority: i32, //Use this to put registrations in the right order (higher = first)
    pub register: fn(InitHandle),
}

impl AutoRegisterInfo {
    pub fn new(name: &str, priority: i32, register: fn(InitHandle)) -> Self {
        Self {
            name: name.to_owned(),
            priority,
            register,
        }
    }
}
inventory::collect!(AutoRegisterInfo);

Then, in lib.rs, I loop over all registrations and call them, ordered by priority...
godot_init!(init);

fn init(handle: InitHandle) {
    for info in inventory::iter::<AutoRegisterInfo>
        .into_iter()
        .sorted_by_key(|info| -info.priority)
    {
        println!("Registering class {}", info.name);
        (info.register)(handle);
    }

}

By the way, as a con for inventory, you mention "inventory currently uses ctor under the hood, which is life-before-main." I wonder, what does "life-before-main" mean exactly? And why is it a bad thing?

Both linkme and inventory have been archived, leaving room for speculation:

https://redd.it/sm0m4z
https://redd.it/sjrt8f

Hello, does this improvement also applies to godot_test! / godot_itest!?
They also need to be declared and invoked manually.

I'm planning to do something like that for GDExtension. Not sure about GDNative -- the added value at this point is relatively little, as so many tests already exist, and this would burden the library with more dependencies.


Date module breaks padding-right of 2 or less

When setting padding-right = 2 or less, no effect:

Padding of 3 or higher works as expected:

All padding works as expected when removing the date module from the right-most position.
Current config:
[module/date]
type = internal/date
interval = 5

date = %a %-e %b
time = %H:%M

label = %{T3}%{T-} %date% %{T3}%{T-} %time%
label-foreground = ${colors.blue}

Setting time = "%H: %M " (trailing space) results in space + padding to work.
Setting padding-right = 0 with trailing space above, results in no space (like the first screenshot)

It seems this one has slipped through the cracks. Is this still happening? I am not able to reproduce this on my end


Search bar overlaps an blocks the star counter on mobile devices

Describe the bug
On mobile screen devices the newly added search bar now overlaps and covers the GitHub star counter component right beside it.
To Reproduce
Steps to reproduce the behavior:
Open https://glasskube.dev on a mobile device (screenshot also added below)
Expected behavior
No overlap, usable search component as well as a visible star counter.
Screenshots

@jakepage91  this issue can be closed since when i visit the website now it seems to be fixed


Focus trap & dialog component

add dialog component for use in appSettings, aboutDialog, & conversationsSettingsDialog
add focus trap on dialog
some styling fixes so that focus is visible on elements within dialog
changed standard blue to constrast compliant one

About Dialog: When opened, the aka.ms link is focused. Was that intentional? I'd prefer the [x] button be focused.

Could you please add: Escape key should close the dialog. Thanks.

@eanders-MS Woops, I somehow forgot to do the escape, thanks for catching.
For the Dialog auto-focus: the link being focused was intentional, but I'm happy to change it. Does this mean that all three dialogs should start focus on the [x]button?

Let's focus the first editable UI component if one exists (edit box, checkbox, etc... something the user can modify).

sounds good.

@eanders-MS @compulim not sure if you get updates when I fix PRs, but I just added escape & fixed the focus. 👍

Getting closer! Something knocked the copyright notice off-center:

@eanders woopsies here you go

Looks good. Thank you @corinagum !


Biomes O' Plenty Compat

When Biomes O' Plenty is installed the glowstone canyon doesn't generate.
Load the game with Infernal Expansion and Biomes O' Plenty installed, travel to the nether and look around or use /locatebiome.
For the glowstone canyon to generate regardless of what other biome mods are present

Mod Version: 2.0.0
Minecraft Version: 1.16.5
Forge Version: 36.1.25
Biomes O' Plenty: <IP_ADDRESS>7

Go into your installation wherever it is. Find the config folder and go into that.
Go into the biomesoplenty folder. Go into the generation.toml file. Find the line that is called "use_bop_nether" and change the value to false.
Save, exit, potentially reload the game. Start a new world using the Biomes O' Plenty World Type.


Infer appropriate Kong route snis value from Ingress contents automatically

As a user I'd like KIC to fill in the snis field of a created route from the context of the ingress resource, so that the user does not need to specify the SNIs manually.
Historical context (the root cause for this not having been implemented back then seems to be resolved now):

Draft feature request to restore the automatic route snis population removed from https://github.com/Kong/kubernetes-ingress-controller/pull/863.
We should revisit this once https://github.com/Kong/kong/issues/6425 is fixed. However, the exact shape of this feature will depend on that fix, so for now this is a stub feature request with the original automation code for reference. That code "works" in the Kong <=2.2 world, but the effects of it working are bad. As such, we shouldn't actually develop any such automation for those versions.
Once we have new Kong router SNI behavior to work against, we should also add an E2E test, as testing this sort of automation effectively with Go tests alone probably isn't possible: it's very dependent on interactions with the Kong proxy vis a vis user expectations, and unit tests can't express either of those things.

Acceptance criteria

[ ] for an HTTPS ingress configuration, KIC fills in the snis of a created route.
[ ] integration tests for the SNI case are implemented (verifying that the SNI parameter of the created routes is functional)

git-show of the old commented code: auto-sni.diff.txt
It's a diff, but Github has asinine rules about allowed file extensions because MIME-sniffing is impossible, so it's a .txt.

Recent versions of core are capable of supporting these inferred values.
The implementation would need to be a no-op for older versions of Kong (@rainest says 2.2.1 is the first version that can support this).

Closing as stale since the last comments are almost a year old. If there's still interest in following up on this however lets re-open/re-assess.


add accountHealth

add an endpoint for a subaccount's accountHealth (same as health modal on UI).
Should show for both initial and maintenance margin types:

Total collateral
Margin requirement
Free collateral

should be simple, can extract this: https://github.com/drift-labs/drift-rs/blob/a443eaf060b2fb54d373a82b5f040a10d3c58099/src/liquidation.rs#L260-L278


tiscamera: fix build, binaries and udev rules

Patche the source code so that it builds with gcc11.
This avoid runtime issues loading C++ gstreamer plugins
requiring more recent libc++std.
Patch udev rules
Add our own out as GST plugin path and GI plugin path
Fix 'tcam-capture' qt gui
Add a withGui flag to opt out of gui build / support.
Add missing libzstd which resulted in build time warnings.

Description of changes
Was no longer working. Currently have an opportunity to experiment with a actual tis camera again, so made sure this package still was functional.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Closing as Superseded by #178139 (update to v1).


Add jq/helm on Developing.md

Description
jq & helm is a required dependency
Refrence Pictures

List related issues.

[X] I updated DEVELOPING.md with any any special dev tricks I had to use to work on this code efficiently.

[ ] The changes in this PR have been reviewed for security concerns and adherence to security best practices.

@hrittikhere - Thanks for bringing this up! We can get this and your other PR reviewed and merged this week!

@hrittikhere I opened https://github.com/emissary-ingress/emissary/pull/4775 to pull in your changes to run CI

@hrittikhere merged https://github.com/emissary-ingress/emissary/pull/4775 for your commits so going to close this now.
Thanks again for your contributions!