aws: Force manual mode when getting AccessDenied

Since the resulting AWS commands are useful even without the correct
permissions in the current account, we force the mode to manual if the
current user is not allowed to verify the existence of
operator-roles/oidc-provider.

Just one small comment, it is a little confusing in the flow as an error comes up and the user can continue with the prompt.
rosa create operator-roles --cluster croche-test
E: Failed to validate if operator roles exist: AccessDenied: User: arn:aws:iam::765374464689:user/test-user-no-permissions is not authorized to perform: iam:GetRole on resource: role croche-test-i7w6-openshift-cloud-credential-operator-cloud-crede
        status code: 403, request id: 0de750f4-f753-4942-89fd-95b1693d71ba
? Operator policy prefix (optional):
? Permissions boundary ARN (optional):
W: Forcing manual mode.
I: Run the following commands to create the operator roles:

Would it be worth a prompt between the error and the optional params :thinking:
Other than that, works well so wouldn't class it as a blocker to this LGTM :+1:

@pvasant @ciaranRoche - I've changed the approach here. Instead of having to force --mode manual or any of that, I just silently ignore AccessDenied for non-essential API calls. This way the user can just move on with creating the resources, either manually or automatically (they may still have perms to create, but not to list)

LGTM. but this might conflict with other merge

/lgtm


cabal sandbox hc-pkg recache (exit code: 1)

When switching between ghc versions, cabal 1.24 gets confused about the location of the package directory and reports:
Process failed: cabal sandbox hc-pkg recache (exit code: 1)

This can be fixed with cabal configure, mafia should recognise this situation and do it automatically.

Is there any harm in just running configure every time?

not sure yet, I suspect it will rebuild everything


Wrong value while reading from UInt64 column

Clickhouse JDBC driver version: 0.3.2
CREATE TABLE default.test_table
(
    `a` UInt64
)
ENGINE = MergeTree
ORDER BY a;

INSERT INTO test_table VALUES<PHONE_NUMBER>6854775100)

(10223372036854775100 is larger than Long.MAX_VALUE)
SELECT *
FROM test_table

┌────────────────────a─┐
│<PHONE_NUMBER>6854775100 │
└──────────────────────┘

I can't read the correct value neither with getString nor with getBigDecimal
Java code:
com.clickhouse.jdbc.ClickHouseDriver clickHouseDriver = new com.clickhouse.jdbc.ClickHouseDriver();
        try (Connection connection = clickHouseDriver.connect("jdbc:clickhouse://localhost:8123", new Properties())) {
            ResultSet resultSet = connection.createStatement().executeQuery("SELECT a from default.test_table");
            resultSet.next();
            System.out.println(resultSet.getBigDecimal(1));

            resultSet = connection.createStatement().executeQuery("SELECT a from default.test_table");
            resultSet.next();
            System.out.println(resultSet.getString(1));
        }

Output:
4363390689294640125
4363390689294640125

Thanks for the reporting the issue. Just fixed in local and added integration test accordingly. Will release this together with some other changes in 0.3.2-patch4 on Sunday.


Incorrect Display of Float

I am using DBEaver 6.2.0 with SQL Server. I inserted some data programmetically into DBeaver, in one of the connections, and then used the feature Export Resultset to export to another server. But the data that was exported is all messed up. For example, a number 21.72 looks as 21.7199993133545.
Incidentally, it looks fine in the older version of DBeaver.

same issue on v7.0.0

unfortunately, cannot reproduce an issue.
do you use some special properties in Data Formats?

could you try it against recent version?

Looks fine now. I like the automatic decimal rounding, thanks!

OK, but now the value is saved incorrect.
If I save the value 43.2, the value 43.20000076 is saved to the database.

Still can't reproduce this. 43.2 is saved as is.

@gbreeze Still can't reproduce with float, float4 or float8.
Could you try in dbeaver 7.0.4?
Also, what PostgreSQL server and driver version do you use? You can get it from Test Connection dialog (in connection properties).

same issue on 7.0.4
i'm using mysql 5.6

I can reproduce it for MySQL. @serge-rider you can see it in Kseniia.test_imp_create or use steps:

enter 43.2 in a column of float type
press F5
double click on the cell

Actual result: the value is changed on 43.20000076

Thanks.
Actual problem happened on client side during data read and formatting (in database values were stored correctly).

verified

Could you please create a new ticket, tell your database and send DDL example?
Is it possible to make screenshot of Preferences>Data Editor>Data Formats?

The issue persists. In this case with a Postgres connection with the official driver and database's version 11.9.
https://streamable.com/0r5ul7


Consider using write_all instead of write.

Does it really need a discussion?
write gives no guarantee that it will write everything, it even advises implementors not to call wrapped Write multiple times.

Performance, but this issue isn't relevant anymore after we switched to the std::fmt-style rather than having special methods on std::io::Write.


updated pickle to json

This looks good to me. What's up with the rebase issues?

I didn't have the latest version of master on my branch. It was causing some conflicts.


MRG : add support for vol source spaces in spatial_src_connectivity

I guess I should add support in spatio_temporal_src_connectivity too.
maybe tomorrow...
my debug script : https://gist.github.com/agramfort/df1c55fd60682680eb8751207d24f6b5

should be ready provided CIs are happy
current code does not work with mixed source spaces.
@larsoner we should be using https://docs.scipy.org/doc/scipy-0.16.0/reference/generated/scipy.sparse.block_diag.html to assemble the connectivity from all source spaces. I would compute connectivity for each source space (each hemi) and make a block diagonal matrix from it. WDYT?

I would compute connectivity for each source space (each hemi) and make a block diagonal matrix from it. WDYT?

Yep, sounds good to me

Codecov Report

Merging #4544 into master will increase coverage by 0.02%.
The diff coverage is 90.47%.

@@            Coverage Diff             @@
##           master    #4544      +/-   ##
==========================================
+ Coverage   87.03%   87.05%   +0.02%
==========================================
  Files         349      349
  Lines       65634    65730      +96
  Branches    10181    10193      +12
==========================================
+ Hits        57124    57222      +98
+ Misses       5630     5629       -1
+ Partials     2880     2879       -1

green finally...

Pending question:

Do you want me to look on Monday about avoiding the nibabel input before merge and push directly to your branch?

Please do if you have some spare cycles

Okay @agramfort take a look at the simplification and test see if they make sense to you

did you check that it gives the same matrix as before?

That is what the new test_vol_mask function does, it uses your code and checks the code I wrote against it

great. Then merge when Cis are green
thx heaps


Add DNF Tweaks #289

Pull Request
Title
Add DNF tweaks #289
Type of Change

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

Description
Change the default response to True when using DNF and sets the max parallel downloads to 10
Issue related to PR

Resolves #289

Checklist

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

Duplicate of #258

Thanks, didn't see


urllib3 errors

Today I have gotten two different errors from urllib3 through Tradinhood.
The first is "Connection aborted, Remote end closed connection without response" while querying account_info on line 452 of Robinhood.py.
The second is "Connection aborted, OSError(22, 'Invalid argument'))" when querying current_quote from line 566 of Robinhood.py.
In both cases I would expect Tradinhood to gracefully handle the errors without unexpectedly terminating.
Please let me know if you would like me to open a second issue to separate the two errors, or in case there is any further information I can provide. Thank you.
I believe I was running on commit 708c68b3cbd09d9bb1a99291044bbc19198b8499 when I got the following error:
Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3.7/site-packages/urllib3/connectionpool.py", line 384, in _make_request
    six.raise_from(e, None)
  File "<string>", line 2, in raise_from
  File "/usr/lib/python3.7/site-packages/urllib3/connectionpool.py", line 380, in _make_request
    httplib_response = conn.getresponse()
  File "/usr/lib/python3.7/http/client.py", line 1321, in getresponse
    response.begin()
  File "/usr/lib/python3.7/http/client.py", line 296, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python3.7/http/client.py", line 265, in _read_status
    raise RemoteDisconnected("Remote end closed connection without"
http.client.RemoteDisconnected: Remote end closed connection without response

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/requests/adapters.py", line 445, in send
    timeout=timeout
  File "/usr/lib/python3.7/site-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3.7/site-packages/urllib3/util/retry.py", line 367, in increment
    raise six.reraise(type(error), error, _stacktrace)
  File "/usr/lib/python3.7/site-packages/urllib3/packages/six.py", line 685, in reraise
    raise value.with_traceback(tb)
  File "/usr/lib/python3.7/site-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3.7/site-packages/urllib3/connectionpool.py", line 384, in _make_request
    six.raise_from(e, None)
  File "<string>", line 2, in raise_from
  File "/usr/lib/python3.7/site-packages/urllib3/connectionpool.py", line 380, in _make_request
    httplib_response = conn.getresponse()
  File "/usr/lib/python3.7/http/client.py", line 1321, in getresponse
    response.begin()
  File "/usr/lib/python3.7/http/client.py", line 296, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python3.7/http/client.py", line 265, in _read_status
    raise RemoteDisconnected("Remote end closed connection without"
urllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "~/Tradinhood/Tradinhood/Robinhood.py", line 448, in account_info
    res = self.session.get(ENDPOINTS['accounts'] + self.acc_num)
  File "/usr/lib/python3.7/site-packages/requests/sessions.py", line 525, in get
    return self.request('GET', url, **kwargs)
  File "/usr/lib/python3.7/site-packages/requests/sessions.py", line 512, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3.7/site-packages/requests/sessions.py", line 622, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3.7/site-packages/requests/adapters.py", line 495, in send
    raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))

During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "./tradinhood.py", line 235, in <module>
    wealth_now = wealth()
  File "./tradinhood.py", line 114, in wealth
    return buy_power() + stock_value() + crypto_value(data) + dollars_pending()
  File "./tradinhood.py", line 117, in buy_power
    return Decimal(rbh.account_info['margin_balances']['overnight_buying_power'])
  File "~/Tradinhood/Tradinhood/Robinhood.py", line 452, in account_info
    raise APIError('Unable to access account')
Tradinhood.Robinhood.APIError: Unable to access account

After that I pulled the latest (0698a93725c4ac0bb7a9ab21dc7b98b55cee883d) and got the following error:
Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3.7/site-packages/urllib3/connectionpool.py", line 384, in _make_request
    six.raise_from(e, None)
  File "<string>", line 2, in raise_from
  File "/usr/lib/python3.7/site-packages/urllib3/connectionpool.py", line 380, in _make_request
    httplib_response = conn.getresponse()
  File "/usr/lib/python3.7/http/client.py", line 1321, in getresponse
    response.begin()
  File "/usr/lib/python3.7/http/client.py", line 296, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python3.7/http/client.py", line 257, in _read_status
    line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
  File "/usr/lib/python3.7/socket.py", line 589, in readinto
    return self._sock.recv_into(b)
  File "/usr/lib/python3.7/ssl.py", line 1049, in recv_into
    return self.read(nbytes, buffer)
  File "/usr/lib/python3.7/ssl.py", line 908, in read
    return self._sslobj.read(len, buffer)
OSError: [Errno 22] Invalid argument

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/requests/adapters.py", line 445, in send
    timeout=timeout
  File "/usr/lib/python3.7/site-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3.7/site-packages/urllib3/util/retry.py", line 367, in increment
    raise six.reraise(type(error), error, _stacktrace)
  File "/usr/lib/python3.7/site-packages/urllib3/packages/six.py", line 685, in reraise
    raise value.with_traceback(tb)
  File "/usr/lib/python3.7/site-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3.7/site-packages/urllib3/connectionpool.py", line 384, in _make_request
    six.raise_from(e, None)
  File "<string>", line 2, in raise_from
  File "/usr/lib/python3.7/site-packages/urllib3/connectionpool.py", line 380, in _make_request
    httplib_response = conn.getresponse()
  File "/usr/lib/python3.7/http/client.py", line 1321, in getresponse
    response.begin()
  File "/usr/lib/python3.7/http/client.py", line 296, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python3.7/http/client.py", line 257, in _read_status
    line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
  File "/usr/lib/python3.7/socket.py", line 589, in readinto
    return self._sock.recv_into(b)
  File "/usr/lib/python3.7/ssl.py", line 1049, in recv_into
    return self.read(nbytes, buffer)
  File "/usr/lib/python3.7/ssl.py", line 908, in read
    return self._sslobj.read(len, buffer)
urllib3.exceptions.ProtocolError: ('Connection aborted.', OSError(22, 'Invalid argument'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "~/Tradinhood/Tradinhood/Robinhood.py", line 562, in current_quote
    res = self.session.get(ENDPOINTS['forex_market_quote'] + self.pair_id + '/')
  File "/usr/lib/python3.7/site-packages/requests/sessions.py", line 525, in get
    return self.request('GET', url, **kwargs)
  File "/usr/lib/python3.7/site-packages/requests/sessions.py", line 512, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3.7/site-packages/requests/sessions.py", line 622, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3.7/site-packages/requests/adapters.py", line 495, in send
    raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', OSError(22, 'Invalid argument'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "./tradinhood.py", line 212, in <module>
    symbol_stats['price'] = rbh[symbol].price.normalize()
  File "~/Tradinhood/Tradinhood/Robinhood.py", line 571, in price
    return Decimal(self.current_quote['mark_price'])
  File "~/Tradinhood/Tradinhood/Robinhood.py", line 566, in current_quote
    raise APIError('Unable to access currency data')
Tradinhood.Robinhood.APIError: Unable to access currency data

If something known is systematically causing these requests to fail (login timeout, remote account change, etc), let me know and ill see what I can do to mitigate the issue.

Okay, that makes sense.
Thanks for your suggestion.
I'll report back if and when I find out more about what causes these issues.


Atlas Issue: Missing CPT-4 Code Descriptions in Atlas Compared to i2b2

@vasanthi014 @shossain-mizzou
When searching in Atlas using a specific CPT-4 code, such as 87533, the system does not provide a description of the code, which is essential for verifying the appropriateness of the CPT-4 code for data analysis (see image below indicating "description not available").

In contrast, performing the same CPT-4 code search in i2b2 successfully retrieves the code description (refer to the accompanying image from i2b2).

This discrepancy probably exists for over 17k cases in Atlas. Could you please investigate why Atlas does not display descriptions for these CPT-4 codes while i2b2 does? Thank you.

Thank you for pointing this. We will take a look at it.


Improve performance of Loop by avoiding unneeded method calls

This changeset improves performance of Loop slightly by avoiding unneeded method calls. Not the most significant improvement, but given the small changeset and how we plan to make the default Loop more prominent in ReactPHP v3, I figured this change makes sense in either case:
$ time php examples/91-benchmark-ticks.php 1000000
// old 0.83
// new 0.76

Builds on top of #245 and #229
See also https://github.com/orgs/reactphp/discussions/481

Updated to work around all legacy PHP and Windows quirks, the result is a somewhat less compact changeset, but still shows the same performance improvements. One more reason to drop legacy support in upcoming ReactPHP v3 (https://github.com/orgs/reactphp/discussions/481) to simplify this significantly! This is ready for review. :shipit:


node options flag not recognized using gulp and browserify

Browserify shims the core http module with stream-http for browser compatibility, and has a --node flag to prevent this from happening. However, I am unable to do this through gulp, or the documentation does not explain how. I would like to perform the following and not have the stream-http module included in my final browserify bundle:
gulp.task('scripts:server', () => {

    const bundler = browserify(
        'build/source/server.js',
        {
            debug: true,
            node: true,
        }
    );

    const bundlerError = (err) => {
        console.error(err);
    };

    return bundler.bundle()
        .on('error', bundlerError)
        .pipe(source('server.js'))
        .pipe(buffer())
        .pipe(gulp.dest('dist'));
});

I can see the bare: true and browserField: false do something if I pass them into browserify as options, however, node: true seems to have no effect.
If I run browserify as a command and not through gulp, it works just fine:
browserify --node build/source/server.js -o dist/server.js

I believe node and bare are command-line only aliases, and bare: true will not do anything in the API.
bare sets builtins: false, commondir: false, and insertGlobalVars so that only __dirname and __filename are used in insert-module-globals. node sets browserField: false in addition to these.
In this case, I think you are just interested in builtins:
const bundler = browserify(
    'build/source/server.js',
    {
        debug: true,
        builtins: false,
    }
);

i will give that a try.

So, tried that. But now seeing the below error:
module.js:338
    throw err;
          ^
Error: Cannot find module '_process'
    at Function.Module._resolveFilename (module.js:336:15)
    at Function.Module._load (module.js:278:25)
    at Module.require (module.js:365:17)
    at require (module.js:384:17)
    at s (/vagrant/development/app/dist/server.js:1:176)
    at /vagrant/development/app/dist/server.js:1:367
    at Object../Configuration (/vagrant/development/app/dist/server.js:4930:14)
    at s (/vagrant/development/app/dist/server.js:1:316)
    at e (/vagrant/development/app/dist/server.js:1:487)
    at Object.<anonymous> (/vagrant/development/app/dist/server.js:1:505)

Here is my gulp task:
import browserify from 'browserify';
import buffer from 'vinyl-buffer';
import gulp from 'gulp';
import source from 'vinyl-source-stream';

gulp.task('scripts:server', () => {

    const bundler = browserify(
        'build/source/server.js',
        {
            builtins: false,
            debug: true,
        }
    );

    const bundlerError = (err) => {
        console.error(err);
    };

    return bundler.bundle()
        .on('error', bundlerError)
        .pipe(source('server.js'))
        .pipe(buffer())
        .pipe(gulp.dest('dist'));
});

Here is the offending code snippet (wrapped offending line with >>>> <<<<):
...

// Catch 404
app.use(function (req, res) {
    log.info(req.originalUrl);
    var err = new Error('404 - Not Found');
    err.status = 404;
    log.info(err);

    res.status(404);
    res.render('404', {
        title: 'MovieSeriesRankings.com - Page Not Found'
    });
});

app.listen(config.nodePort);
>>> }).call(this,require('_process'),"/build/source") <<<<

},{"./Configuration":23,"./router":28,"_process":undefined,"babel-polyfill":31,"body-parser":33,"bunyan":84,"express":273,"path":undefined,"serve-favicon":567}],30:[function(require,module,exports){
'use strict';

Object.defineProperty(exports, '__esModule', {
    value: true
});

...

No idea what _process is.

That would be browserify's attempt to resolve the process variable, which you presumably are using in that file. Doing builtins: false prevents it from being able to fill that in.

Yep - that did it. Thanks a lot.

Through the api the parameters necessary to replicate --node  are:
		{
			browserField : false,
			builtins : false,
			commondir : false,
			insertGlobalVars : {
				process: undefined,
				global: undefined,
				'Buffer.isBuffer': undefined,
				Buffer: undefined
			}
		}

Hope this helps someone.

@tlopo I'll give this a try

@tlopo's example doesn't work for me either, and he has some errors either way. It's not insertGlobalVars but insertGlobals.

may be important to node that now node:true is available. but I still had to add insertGlobalVars: {process:undefined}

This issue should not be closed, the node:true flag still doesn't work through the constructor. The whole arguments piece is a mess and should be cleaned up.

Reopening this issue since it sounds like @EvanCarroll knows of a solution,

@stevus  all of the issues on https://github.com/substack/node-browserify/issues/1570 are essentially the same, they arise from a confusion from the dissonance the CLI Options, and the Browserify(file,Options) In this case, node:true would set
insertGlobalVars : {
                process: undefined,
}

which is ultimately the line that solves the problem with _process,

Error: Cannot find module '_process'

+1
@tlopo
I was able to use detectGlobals: false,
instead of the insertGlobalVars key

I faced the same issue using browserify to bundle my javascript modules in an Electron app.
I ended-up with the following options:
  ignoreMissing: true,
  builtins: false,
  commondir: false,
  browserField: false,
  detectGlobals: false

@tanguy2m And did those settings fix the problem? I'm also running into this issue when using browserify and parcel :/

I concur with @tanguy2m thanks to him, he has saved me HOURS of debugging... Thanks mate 🗡
For Electron it works, mind you within the BrowserWindow preferences nodeIntegration NEEDS to be true (this does create some security risks)
win = new BrowserWindow({
    width: 1024,
    height: 1024,
    webPreferences: {
      nodeIntegration: true,
      preload: path.join(__dirname, '/preload.js')
    }
  });

gulpfile.js
gulp.task('browserify', () => {
  let jsFiles = globArray.sync(['./' + config.defaultPath + config.browserify.files, config.dsJsPath]);
  let settings = { entries: [require.resolve('babel-polyfill'), jsFiles] };

  if(config.defaultPath === 'electron') {
    Object.assign(settings, {
      ignoreMissing: true,
      builtins: false,
      commondir: false,
      browserField: false,
      detectGlobals: false
    });
  }

  let b = browserify(settings);

I know this is not specific for electron question, but considering I found my solution here I felt like it was a nice decision in case someone needed to find a solution.


Indent not working properly in Python

Lapce Version
Version: 0.2.5
System information
Linux
Describe the bug
Currently when editing python code, pressing enter doesn't seem to insert the proper indentation.
def do_thing():<Enter>

When you would want
def do_thing():<Enter>

Additional information
Are we using indent queries at the moment? If we aren't, then perhaps we should shift over to those.
Though, a short-term fix for python would be good.

In helix they fixed it with additional queries in indents.scm for python. https://github.com/helix-editor/helix/pull/5332
Simply copying the indents.scm from helix into lapce and rebuild did not solve the problem. :smile:

Anything to expect on this issue in next release ?

No

I really need this, any idea on when they are planning to fix this


Kustomization fails if a patch file contains multiple Yaml documents

kustomization.yaml:
patches:
- path: overlays/file.yaml

overlays/file.yaml:
apiVersion: batch/v1
kind: CronJob
..
---
apiVersion: batch/v1
kind: CronJob
..

causes Kargo render to fail
time="2024-06-10T23:22:14Z" level=error msg="`kustomize build /tmp/1907128327/repo/env/dev/aws/akuity-platform --enable-helm --load-restrictor LoadRestrictionsNone` failed exit status 1: Error: trouble configuring builtin PatchTransformer with config: `\npath: overlays/archiver-cronjobs.yaml\n`: unable to parse SM or JSON patch from [..]" execID=71462

@alexmt is this possibly a repo server bug? We no longer invoke kargo build directly.

I think kustomize does not support having multiple patches in one file. Tried it with the following kustomization and got the same error:

kustomization.yaml
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- resources.yaml

patches:
- path: patch.yaml

resources.yaml
apiVersion: batch/v1
kind: CronJob
metadata:
name: cronjob1
spec:
schedule: "*/1 * * * *"
jobTemplate:
  spec:
    template:
      spec:
        containers:
        - name: cronjob1
          image: busybox
          args:
          - /bin/sh
          - -c
          - date; echo Hello from the Kubernetes cluster
        restartPolicy: OnFailure
---
apiVersion: batch/v1
kind: CronJob
metadata:
name: cronjob2
spec:
schedule: "*/1 * * * *"
jobTemplate:
  spec:
    template:
      spec:
        containers:
        - name: cronjob1
          image: busybox
          args:
          - /bin/sh
          - -c
          - date; echo Hello from the Kubernetes cluster
        restartPolicy: OnFailure

patch.yaml
apiVersion: batch/v1
kind: CronJob
metadata:
name: cronjob1
spec:
jobTemplate:
  spec:
    template:
      spec:
        containers:
        - name: cronjob1
          image: busybox1
---
apiVersion: batch/v1
kind: CronJob
metadata:
name: cronjob2
spec:
jobTemplate:
  spec:
    template:
      spec:
        containers:
        - name: cronjob1
          image: busybox1

kustomize build .
Error: trouble configuring builtin PatchTransformer with config: `
path: patch.yaml
`: unable to parse SM or JSON patch from

So closing the issue. Please reopen if I'm missing something

Let me check this, as I remember it worked for me when I tried it.

Just an update. I've upgrade kustomize to 5.4.1 and no longer getting this . I suppose it was kustomize bug which is fixed now


Bump inmanta-dev-dependencies[async,core,pytest] from 2.104.0 to 2.105.0 (#7097)

Pull request opened by the merge tool on behalf of #7097

Merged in a3281a3abb7c760e7573000b72e3f59c3d8beb42


Sendy Icon no longer displaying correctly

It used to show the correct icon now it shows a green box as shown in the picture below.
https://sendy.co/

Hi, icons are automatically displayed based on the "Issuer" field.
From the image above I see the Issuer is blank, only the Account is populated, therefore no icon is correctly displyed.
Try filling the Issuer field 😀
Cheers

Thank you, that resolved the issue. However, I’m unsure how the issuer field was removed. It previously displayed the Sendy icon, and I never altered the field. In fact, I wasn’t even aware it could be modified until now. Therefore, it’s probable that an update or a bug may have inadvertently removed the issuer field.

Thanks for reporting, I'll investigate the case!


Doc

Modification of all the tutorials to include the use of MOSQITO combined with SciDataTool.
New overall level calculation.
Several tests have been created for the class Audio and its methods to compute and plot SQ metrics.

Thank you @wantysal for your contribution


add nightly cleanup job

Adds a nightly job to cleanup registered but unused module names.
Fixes #177

Looks good. Could you comment out the actual removal for the first pass, and instead just print what it is going to do? I want to just observe what it does for one night. (Don't want to accidentally delete all modules because of a misconfiguration 🙃)

Sure; I can even parameterize it if that's better for you. I'm thinking an env var in the Lambda, super simple to change and it gets packaged with the same Terraform resource and code.

Also sounds good :-)

@wperron Can you rebase?


Another minor code cleanup

Given that shouldNeverClearWedgingInfo does not change through all those 3 if clauses`, we can test it once and for all.

@greglandrum Strangely, here there seem to be 3 tests stuck since several hours in in progress state.
However the Azure build page shows that all jobs completed successfully.

@greglandrum Strangely, here there seem to be 3 tests stuck since several hours in in progress state. However the Azure build page shows that all jobs completed successfully.

Yeah, that happened with at least one other PR.


Unable to get kustomize due to version tag

To reproduce:
bingo get<EMAIL_ADDRESS>
The generated file becomes
V3 := $(GOBIN)/v3-v3.5.4
$(V3): .bingo/v3.mod
	@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
	@echo "(re)installing $(GOBIN)/v3-v3.5.4"
	@cd .bingo && $(GO) build -modfile=v3.mod -o=$(GOBIN)/v3-v3.5.4 "sigs.k8s.io/kustomize/kustomize/v3"

How shall I change the name to the expected kustomize ? Thanks.

Thanks for reporting, sounds like a bug to me, let me check(:

We parse default name wrongly, but you can easily fix this on your own using -n flag:
The -n flag instructs to get binary and name it with given name instead of default, so the last element of package directory. Allowed characters [A-z0-9._-]. If -n is used and no package/binary is specified, bingo get will return error. If -n is used with existing binary name, copy of this binary will be done. Cannot be used with -r

So this works: ./.bin/bingo get -n kustomize<EMAIL_ADDRESS>And generates
KUSTOMIZE := $(GOBIN)/kustomize-v3.5.4
$(KUSTOMIZE): .bingo/kustomize.mod
	@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
	@echo "(re)installing $(GOBIN)/kustomize-v3.5.4"
	@cd .bingo && $(GO) build -mod=mod -modfile=kustomize.mod -o=$(GOBIN)/kustomize-v3.5.4 "sigs.k8s.io/kustomize/kustomize/v3"

Still I will leave this open and will try to fix name detection to understand /vX suffixes


[Bug] apiKey is missing since v2

Hello,
Since the v2 update the action doesn't work with the following error:
2024-01-03 11:18:36 PM UTC [INFO] Parsing arguments
Error: -03 11:18:36 PM UTC [ERROR] Error on createAndRun: Error: 'apiKey' is required.
2024-01-03 11:18:36 PM UTC [SOOS] Error on createAndRun: Error: 'apiKey' is required. - exit 1

We did not change inputs only the version:

      - name: Run SOOS - Scan for vulnerabilities
        if: inputs.soos-scan
        uses: soos-io/soos-sca-github-action@v2
        with:
          project_name: ${{ github.event.repository.name }}
          client_id: ${{ secrets.soos-client-id }}
          api_key: ${{ secrets.soos-api-token }}

Thank you for your help

Thanks for raising the issue. GithHub, on my end at least, doesn't allow secret names with - only _.
I reproduced your issue by passing a secret name that doesn't exist. My suspicious is that perhaps in the migration from v1 to v2, the secret variables might have been mistyped.
Doing the workflow like this should work (Note that the only relevant changes really are the secret names)
on: [push]

jobs:
  soos-sca-analysis:
    name: SOOS SCA Scan
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@master
    - name: Run SOOS - Scan for vulnerabilities
      uses: soos-io/soos-sca-github-action@v2 # Get Latest Version from https://github.com/marketplace/actions/soos-core-sca
      with:
        project_name: "My Project Name"
        client_id: ${{ secrets.SOOS_CLIENT_ID }}
        api_key: ${{ secrets.SOOS_API_KEY }}

Let me know if the secrets variables names fixed your issue, or if the issue still persists feel free to contact us trough<EMAIL_ADDRESS>providing the full logs with the log_level set to DEBUG.
Regards.

Hello thanks for your reply
In fact we use workflow_call: like that :
name: Tests

on:
  workflow_call:
    inputs:
      container-image:
        required: true
        type: string
    secrets:
      scoped-github-token:
        required: true
      sonar-token:
        required: true
      soos-client-id:
        required: true

        ...
        jobs:
            soos-sca-analysis:
              name: SOOS SCA Scan
              runs-on: ubuntu-latest
              steps:
              - uses: actions/checkout@master
              - name: Run SOOS - Scan for vulnerabilities
                uses: soos-io/soos-sca-github-action@v2 # Get Latest Version from https://github.com/marketplace/actions/soos-core-sca
                with:
                  project_name: "My Project Name"
                  client_id: ${{ secrets.SOOS_CLIENT_ID }}
                  api_key: ${{ secrets.SOOS_API_KEY }}

And the caller :

jobs:
  tests:
    uses: _tests.yml@develop
    with:
      container-image: ubuntu:20.04
    secrets:
      scoped-github-token: ${{ secrets.SCOPED_GITHUB_TOKEN }}
      pypi-username: ${{ secrets.POETRY_HTTP_BASIC_OWKIN_USERNAME }}
      pypi-password: ${{ secrets.POETRY_HTTP_BASIC_OWKIN_PASSWORD }}

But I will try to check with renamed variable names and let you know

Hello :)
I changed my worker
The caller:
jobs:
  tests:
    uses: _tests.yml@develop
    with:
      container-image: ubuntu:20.04
    secrets:
      SOOS_CLIENT_ID: ${{ secrets.SOOS_CLIENT_ID }}
      SOOS_API_TOKEN: ${{ secrets.SOOS_API_TOKEN }}

The the called workflow:
...
    secrets:
      SOOS_CLIENT_ID:
        required: true
      SOOS_API_TOKEN:
        required: true

jobs:
  reporting:
    name: Reporting
    runs-on: ubuntu-22.04

    steps:
      - uses: actions/checkout@v4
        with:
          fetch-depth: 0

      - name: Run SOOS - Scan for vulnerabilities
        if: inputs.soos-scan
        uses: soos-io/soos-sca-github-action@v2
        with:
          project_name: ${{ github.event.repository.name }}
          client_id: ${{ secrets.SOOS_CLIENT_ID }}
          api_key: ${{ secrets.SOOS_API_TOKEN }}

But still doesn't work :/

With verbose & log level to debug:
Run soos-io/soos-sca-github-action@v2
  with:
    project_name: ***********************
    client_id: ***
    verbose: true
    log_level: DEBUG
    api_url: https://api.soos.io/api/
    on_failure: continue_on_failure
    operating_environment: Linux
/usr/bin/docker run --name be94[2](https://github.com/***********************/actions/runs/7446404837/job/20256701891#step:9:2)106c0f64456b45[3](https://github.com/***********************/actions/runs/7446404837/job/20256701891#step:9:3)5bad0ffdc80679e8a_[4](https://***********************/actions/runs/7446404837/job/20256701891#step:9:4)36f[5](https://***********************/actions/runs/7446404837/job/20256701891#step:9:5)c --label 9be942 --workdir /github/workspace --rm -e "INPUT_PROJECT_NAME" -e "INPUT_CLIENT_ID" -e "INPUT_API_KEY" -e "INPUT_VERBOSE" -e "INPUT_LOG_LEVEL" -e "INPUT_API_URL" -e "INPUT_BRANCH_NAME" -e "INPUT_BRANCH_URI" -e "INPUT_BUILD_URI" -e "INPUT_BUILD_VERSION" -e "INPUT_DIRECTORIES_TO_EXCLUDE" -e "INPUT_FILES_TO_EXCLUDE" -e "INPUT_ON_FAILURE" -e "INPUT_OPERATING_ENVIRONMENT" -e "INPUT_OUTPUT_FORMAT" -e "INPUT_PACKAGE_MANAGERS" -e "SOOS_API_KEY" -e "SOOS_API_URL" -e "SOOS_BRANCH_NAME" -e "SOOS_BRANCH_URI" -e "SOOS_BUILD_URI" -e "SOOS_BUILD_VERSION" -e "SOOS_CLIENT_ID" -e "SOOS_DIRECTORIES_TO_EXCLUDE" -e "SOOS_FILES_TO_EXCLUDE" -e "SOOS_LOG_LEVEL" -e "SOOS_ON_FAILURE" -e "SOOS_OPERATING_ENVIRONMENT" -e "SOOS_OUTPUT_FORMAT" -e "SOOS_PACKAGE_MANAGERS" -e "SOOS_PROJECT_NAME" -e "SOOS_VERBOSE" -e "HOME" -e "GITHUB_JOB" -e "GITHUB_REF" -e "GITHUB_SHA" -e "GITHUB_REPOSITORY" -e "GITHUB_REPOSITORY_OWNER" -e "GITHUB_REPOSITORY_OWNER_ID" -e "GITHUB_RUN_ID" -e "GITHUB_RUN_NUMBER" -e "GITHUB_RETENTION_DAYS" -e "GITHUB_RUN_ATTEMPT" -e "GITHUB_REPOSITORY_ID" -e "GITHUB_ACTOR_ID" -e "GITHUB_ACTOR" -e "GITHUB_TRIGGERING_ACTOR" -e "GITHUB_WORKFLOW" -e "GITHUB_HEAD_REF" -e "GITHUB_BASE_REF" -e "GITHUB_EVENT_NAME" -e "GITHUB_SERVER_URL" -e "GITHUB_API_URL" -e "GITHUB_GRAPHQL_URL" -e "GITHUB_REF_NAME" -e "GITHUB_REF_PROTECTED" -e "GITHUB_REF_TYPE" -e "GITHUB_WORKFLOW_REF" -e "GITHUB_WORKFLOW_SHA" -e "GITHUB_WORKSPACE" -e "GITHUB_ACTION" -e "GITHUB_EVENT_PATH" -e "GITHUB_ACTION_REPOSITORY" -e "GITHUB_ACTION_REF" -e "GITHUB_PATH" -e "GITHUB_ENV" -e "GITHUB_STEP_SUMMARY" -e "GITHUB_STATE" -e "GITHUB_OUTPUT" -e "RUNNER_OS" -e "RUNNER_ARCH" -e "RUNNER_NAME" -e "RUNNER_ENVIRONMENT" -e "RUNNER_TOOL_CACHE" -e "RUNNER_TEMP" -e "RUNNER_WORKSPACE" -e "ACTIONS_RUNTIME_URL" -e "ACTIONS_RUNTIME_TOKEN" -e "ACTIONS_CACHE_URL" -e "ACTIONS_RESULTS_URL" -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/destra-common/destra-common":"/github/workspace" 9be942:10[6](https://github.com/***********************/actions/runs/7446404837/job/20256701891#step:9:6)c0f64456b4535bad0ffdc806[7](https://github.com/***********************/actions/runs/7446404837/job/20256701891#step:9:7)9e[8](https://github.com/***********************/actions/runs/7446404837/job/20256701891#step:9:8)a
2024-01-08 [10](https://*********************/actions/runs/7446404837/job/20256701891#step:9:11):55:35 AM UTC [INFO] Starting SOOS SCA Analysis
--------------------------------------------------------------------------------

2024-01-08 10:55:35 AM UTC [INFO] Parsing arguments
Error: -08 10:55:35 AM UTC [ERROR] Error on createAndRun: Error: 'apiKey' is required.
2024-01-08 10:55:35 AM UTC [SOOS] Error on createAndRun: Error: 'apiKey' is required. - exit 1

FYI even without workflow_call it doesn't work (maybe I missed something)
Basic sample : I still have Error on createAndRun: Error: 'apiKey' is required
jobs:
  reporting:
    runs-on: ubuntu-22.04

    steps:
      - uses: actions/checkout@v4
        with:
          fetch-depth: 0

      - name: Run SOOS - Scan for vulnerabilities
        uses: soos-io/soos-sca-github-action@v2
        with:
          project_name: ${{ github.event.repository.name }}
          client_id: ${{ secrets.SOOS_CLIENT_ID }}
          api_key: ${{ secrets.SOOS_API_TOKEN }}
          on_failure: continue_on_failure

FYI
If I remove the line api_key: ${{ secrets.SOOS_API_TOKEN }}
The workflow should fail a GITHUB level and not soos level because it's a required input !!!! But in my case I juste have the same error : Error: 'apiKey' is required

Thanks for you help
I finally managed to found the issue obviously I din"t use the correct naming for our secret API_KEY.
I wa using ${{ secrets.SOOS_API_TOKEN }} which do not exists instead of ${{ secrets.SOOS_API_KEY }}
Thank your for your time and sorry for this mistake

Thanks for you help
I finally managed to found the issue obviously I din"t use the correct naming for our secret API_KEY. I wa using ${{ secrets.SOOS_API_TOKEN }} which do not exists instead of ${{ secrets.SOOS_API_KEY }}
Thank your for your time and sorry for this mistake

No worries at all, glad it worked in the end!


IMDB connexion issues, both with credentials and cookies

I can't understand what would be a solution to this connection issue. Here is the error when I set IMDB_AUTH to cookies  :
 make sync
  shell: /usr/bin/bash -e {0}
  env:
    ITS_IMDB_AUTH: ***
    ITS_IMDB_EMAIL: ***
    ITS_IMDB_PASSWORD: ***
    ITS_IMDB_COOKIEATMAIN: ***
    ITS_IMDB_COOKIEUBIDMAIN: ***
    ITS_IMDB_LISTS:
    ITS_IMDB_TRACE:
    ITS_IMDB_HEADLESS: ***
    ITS_SYNC_MODE: ***
    ITS_SYNC_HISTORY: ***
    ITS_SYNC_RATINGS: ***
    ITS_SYNC_WATCHLIST: ***
    ITS_SYNC_TIMEOUT:
    ITS_TRAKT_CLIENTID: ***
    ITS_TRAKT_CLIENTSECRET: ***
    ITS_TRAKT_EMAIL: ***
    ITS_TRAKT_PASSWORD: ***
{"time":"2024-11-05T01:15:01.526279025Z","level":"INFO","source":{"function":"github.com/cecobask/imdb-trakt-sync/pkg/client.NewIMDbClient","file":"/home/runner/work/imdb-trakt-sync/imdb-trakt-sync/pkg/client/imdb.go","line":91},"msg":"launched new browser instance","url":"ws://<IP_ADDRESS>:44037/devtools/browser/c3c549c5-3878-4a00-96d6-947ee9c1f753","headless":***,"trace":false}
Error: error creating syncer: failure initialising imdb client: failure authenticating user: failure authenticating with the provided ***
make: *** [Makefile:10: sync] Error 1
Error: Process completed with exit code 2.

Here is the error when I set IMDB_AUTH to credentials :
make sync
  shell: /usr/bin/bash -e {0}
  env:
    ITS_IMDB_AUTH: ***
    ITS_IMDB_EMAIL: ***
    ITS_IMDB_PASSWORD: ***
    ITS_IMDB_COOKIEATMAIN: ***
    ITS_IMDB_COOKIEUBIDMAIN: ***
    ITS_IMDB_LISTS:
    ITS_IMDB_TRACE:
    ITS_IMDB_HEADLESS: ***
    ITS_SYNC_MODE: ***
    ITS_SYNC_HISTORY: ***
    ITS_SYNC_RATINGS: ***
    ITS_SYNC_WATCHLIST: ***
    ITS_SYNC_TIMEOUT:
    ITS_TRAKT_CLIENTID: ***
    ITS_TRAKT_CLIENTSECRET: ***
    ITS_TRAKT_EMAIL: ***
    ITS_TRAKT_PASSWORD: ***
{"time":"2024-11-05T10:57:28.961226697Z","level":"INFO","source":{"function":"github.com/cecobask/imdb-trakt-sync/pkg/client.NewIMDbClient","file":"/home/runner/work/imdb-trakt-sync/imdb-trakt-sync/pkg/client/imdb.go","line":91},"msg":"launched new browser instance","url":"ws://<IP_ADDRESS>:44217/devtools/browser/ec4ce2dc-ceb1-4fa1-b823-0620e7a43334","headless":***,"trace":false}
Error: error creating syncer: failure initialising imdb client: failure authenticating user: failure authenticating as captcha prompt appeared
make: *** [Makefile:10: sync] Error 1

Do you see what cause this problem ?

Hi @AxZxP,
I'm certain the issue in the first scenario is that your cookie values are invalid or outdated. As a result, the syncer fails to authenticate.
In the second scenario everything looks normal - it's common to experience issues with captcha prompts when using the credentials auth approach. Unfortunately, there isn't a workaround other than using cookies instead of credentials.
My advice is to verify that you have valid values set in for IMDB_COOKIEATMAIN and IMDB_COOKIEUBIDMAIN repository secrets. Let me know how it goes 🙂

It was indeed an issu with my cookies. It's all good now, thanks!

It was indeed an issu with my cookies. It's all good now, thanks!


fix(hive): update beacon hive test vectors with Deneb data

Update hive test vectors with Deneb data and add HistoricalSummariesWithProof content.

@kdeme and @acolytec3 for review.


node doesn't initialize until "nvm use ..." is ran

Operating system and version:
Ubuntu 22.04.4 LTS aarch64
nvm debug output:

nvm --version: v0.39.7
$SHELL: /bin/bash
$SHLVL: 1
whoami: 'root'
${HOME}: /root
${NVM_DIR}: '${HOME}/.nvm'
${PATH}: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
$PREFIX: ''
${NPM_CONFIG_PREFIX}: ''
$NVM_NODEJS_ORG_MIRROR: ''
$NVM_IOJS_ORG_MIRROR: ''
shell version: 'GNU bash, version 5.1.16(1)-release (aarch64-unknown-linux-gnu)'
uname -a: 'Linux 5.15.0-97-generic #107-Ubuntu SMP Wed Feb 7 13:27:10 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux'
checksum binary: 'sha256sum'
OS version: Ubuntu 22.04.4 LTS
awk: /usr/bin/awk, GNU Awk 5.1.0, API: 3.0 (GNU MPFR 4.1.0, GNU MP 6.2.1)
curl: /usr/bin/curl, curl 7.81.0 (aarch64-unknown-linux-gnu) libcurl/7.81.0 OpenSSL/3.0.2 zlib/1.2.11 brotli/1.0.9 zstd/1.4.8 libidn2/2.3.2 libpsl/0.21.0 (+libidn2/2.3.2) libssh/0.9.6/openssl/zlib nghttp2/1.43.0 librtmp/2.3 OpenLDAP/2.5.16
wget: /usr/bin/wget, GNU Wget 1.21.2 built on linux-gnu.
git: /usr/bin/git, git version 2.34.1
grep: /usr/bin/grep (grep --color=auto), grep (GNU grep) 3.7
sed: /usr/bin/sed, sed (GNU sed) 4.8
cut: /usr/bin/cut, cut (GNU coreutils) 8.32
basename: /usr/bin/basename, basename (GNU coreutils) 8.32
rm: /usr/bin/rm, rm (GNU coreutils) 8.32
mkdir: /usr/bin/mkdir, mkdir (GNU coreutils) 8.32
xargs: /usr/bin/xargs, xargs (GNU findutils) 4.8.0
nvm current: none
which node:
which iojs:
which npm:
npm config get prefix: Command 'npm' not found, but can be installed with:
apt install npm
npm root -g: Command 'npm' not found, but can be installed with:
apt install npm

nvm ls output:

        v20.5.0
default -> 18.6.0 (-> N/A)
iojs -> N/A (default)
unstable -> N/A (default)
node -> stable (-> v20.5.0) (default)
stable -> 20.5 (-> v20.5.0) (default)
lts/* -> lts/iron (-> N/A)
lts/argon -> v4.9.1 (-> N/A)
lts/boron -> v6.17.1 (-> N/A)
lts/carbon -> v8.17.0 (-> N/A)
lts/dubnium -> v10.24.1 (-> N/A)
lts/erbium -> v12.22.12 (-> N/A)
lts/fermium -> v14.21.3 (-> N/A)
lts/gallium -> v16.20.2 (-> N/A)
lts/hydrogen -> v18.19.1 (-> N/A)
lts/iron -> v20.11.1 (-> N/A)

How did you install nvm?
using the install.sh script in the readme file
What steps did you perform?

Installed nvm on ubuntu 22.04 (arm)
ran nvm install 20.5.0
logged out
logged back in and ran node -v

What happened?
node doesn't initialize after i logout and login to the server until i run "nvm use 20.5.0"
What did you expect to happen?
that node/npm initializes
Is there anything in any of your profile files that modifies the PATH?
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"  # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"  # This loads nvm bash_completion

bump

This seems to be because your default is set at node 18, which isn't installed. Try nvm alias default node.


LISAv2 : Telemetry data upload to DB is not working.

In database.psm1, there are two definitions of Upload-TestResultToDatabase().
Need to combine these into one.

it can enter into correct one if provide the proper parameter?

@lizzha , As far as I know, function overloading is not supported in Powershell. The last definition will override previous definition.
And in #804 , You created the same function with different parameter. Looks like, it happened by mistake.
Can you confirm?

it can enter into correct one if provide the proper parameter?

It is not happening. I checked that, it is always entering into the last definition of
Upload-TestResultToDatabase()


Add vimeo_simple and fixes for the standard vimeo shortcode

Based on the work of @bep see: https://github.com/gohugoio/hugo/commit/448081b840db4a23c0c49c2d869ac207dcb6ac40
Related issue: #4749
Added the following:

A simple variant for Vimeo that fetches both low and high res versions of the video thumbnail.
Modified the Privacy Config to include the simple mode for Vimeo
Re-included __h_simple_assets.html and changed the classes prefix to __h_video since this is meant to be used in both Vimeo and (hopefully) YouTube simple shortcodes.
Added a SVG play button that I designed and release it under the Apache 2.0 Licence
Fixes for the standard Vimeo shortcode (removed the frameborder  because it is obsolete, added border: 0; and removed the top-margin: 30px from the iframe inline style.

There is a test failure.

I know. It's the same failure as in my other closed PRs for this feature.
From the output of the Appveyor build the problem as far as I can tell the problem is here:
FAIL: TestShortcodeVimeo (0.03s)
	Error Trace:	testhelpers_test.go:491
			embedded_shortcodes_test.go:265
	Error:      	Should be true
	Test:       	TestShortcodeVimeo
	Messages:   	File no match for
	            	"(?s)\n
.*?.*?.*?
\n" in
	            	"public\\simple\\index.html":

But I need help to fix this because i cannot figure it out on my own.
I have looked under /hugolib/embedded_shortcodes_test.go and I can't figure out what I am missing.
If you don't have the time for this feel free to close this PR and use whatever you need in the future...

I'm closing this PR...
I might submit another one for the Simple Variant only, if/when my time permits.
I'm sorry @bep but the test was written with the old shortcode syntax in mind.
I do not know how to make the new syntax in the template pass the test.
And I have other things to do.

I'm sorry @bep but the test was written with the old shortcode syntax in mind.

The test was written for the existing shortcode, which output should not change as the result of adding a simple version.

And I have other things to do.

Fair enough.


Are labels global unique in CVAT? I see even in different project that the label ids must be different.

Can different projects share the same labels?

Are labels global unique in CVAT?

Yes. You can, of course, have labels with the same name in different projects, but IDs must be unique.


Development node_modules are bundled in the distribution, excess modules need to be pruned before packing

Use asar to extract the app.asar from the distribution; under the extracted node_modules folder you'll see every module used during development.
The build process and dependencies need to be adjusted so we don't package unnecessary modules.

Sounds like it should be possible with https://github.com/electron-userland/electron-packager/blob/master/docs/api.md#ignore

Can use package.json to differentiate dependencies and devDependencies and do a prune instead; that would be my suggested long-term approach.

If the dev dependencies have other dependencies, will it be smart enough not to package them? I can try moving the file watcher plugin to dev dependencies and see if this brings the installer size down.

I don't believe so, you'd need to do a yarn prune or npm prune before the final build @tzarebczan

Fixed in: https://github.com/lbryio/lbry-desktop/pull/1888


Shortcodes plugin causing issues on pages without an URL

We have found a compatibility issue with the Shortcodes plugin and plugins that contains html forms (ex. ).
When we submit a form with a post request, this will load a new page and will trigger ResponseSubscriber where an error is returned (see image below). This error is produced by the subscriber ResponseSubscriber at sas/shortcode/src/Subscriber/ResponseSubscriber.php because the $host returns null when the page is loaded by a form.Back in stock notifications.

If any questions, please ask.

If any questions, please ask.

Hi @LarsPauwels  . I created a simple form plugin to simulate this bug.But i could not make this error.Can you help me how to create this bug.
https://github.com/pedramham/testFormPlugin

We had a problem with the combination of the shortcode plugin and the back in stock plugin (https://store.shopware.com/en/zeobv82482397379/back-in-stock-notifications-plugin-of-the-month.html). If I compare your test with the plugin setup then I found out that the submit endpoint contains the store-api scope instead of the storefront scope.

So I think you need to change the scope in the file src/Controller/SubmitFormController.php.

@LarsPauwels So in this case it should be fixed within the GetNotified plugin you use, right?

As far as I can see this would fix it.

Okay, then i will close this issue. If there're any problems feel free to create a new one or re-open it.

Super. I will test this right now.

I looked at it and there are multiple plugins using this way. So I can't change alle the plugins that use a different scope. The problem is that if a different scope is used the host null is. So In the shortcode plugin needs to be a check of some sort the prevent this error.


Implement $and

This is gonna be a doozy.

https://github.com/nolanlawson/pouchdb-find/commit/01558b406c2d3c8f023b756d7a009e25f3606a42


Fixes #499 by removing gaps from ListArray::content.

Note to self: It's a coincidence that the two MacOS failures are the oldest Python versions; it's just the Azure/NodeJS bug again. When everything else finishes, restart failed jobs to get these two done.


IndiciesExists always returns True if JestClient is created with Basic authentication

Hi:
I ran into this problem wherein I was trying to verify if an index exists, by doing so :
        JestClientFactory factory = new JestClientFactory();
        factory.setHttpClientConfig(new HttpClientConfig.Builder("http://secure.server.es.instance")
                                    .defaultCredentials("user-name","pass-word")

                                            .multiThreaded(true)
                                            .build());
        JestClient restClient = factory.getObject();

        JestResult jr = restClient.execute(new IndicesExists.Builder("qed").build());
        boolean x = jr.isSucceeded();

the boolean result value x was true. However, I knew from looking at the es instance that the index "qed" did not exist.
I started to investigate and found out that if I create the JestClient without basic authentication and access an ES instance without any security enabled, It returned true/false depending on if an index exists or not.
If I enabled basic authentication and access an ES instance with security enabled, It always returns true
I also saw this error pop up when trying to use the Cat API:
Exception in thread "main" com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 16 column 12 path $
I am running ES 2.1.1 with Jest 2.0.0

You probably want to post that in https://github.com/elastic/elasticsearch

@up-town-down thanks for replying :)


Add xrld layer for python38

Adds layer xrld 2.x for Python 3.8.x

@kuharan please review

@JohnAdamsy would it be a good idea to add a quickstart.py with sample code for each layer? You can add for xlrd in this case.

I am merging this PR for now


Support for remote servers

Support for remote servers
At the moment platform validator only supports local servers. .NET Framework validations do not run on remote servers yet. The remaining functions are already prepared for both scenarios (local and remote).

Evaluate this in the next realeases


type classes and inductive families

In Chapter 9 of the tutorial we say this:

Type Classes and Instances
The basic idea is simple. In Section ..., we saw that
any family of inductive types can serve as the source or target of a
coercion. In much the same way, any family of inductive types can be
marked as a /type class/.

I have already changed the description of coercions, and I will fix it here. But I wonder whether similar issues will arise, i.e. people will wonder why we can't declare any defined type to be a class. Should type classes be handled in a manner similar to coercions?
I don't feel strongly about this, but I thought I would ask.

Should type classes be handled in a manner similar to coercions?

Yes, we should. It is not implemented yet, but we should do it.

In the meanwhile, I will make the correction in the tutorial to reflect the current state.


Disable Async File Error Indicator While Typing

How can I disable file error indicator while typing. This is so annoying, it's constantly flashing while typing!

To turn the file error indicators off completely, you can add"problems.decorations.enabled": false to your settings. There isn't a setting to delay when these show up, is that the behavior that you want?

I just wanted to turn the error indicator in file tree section. Don't want to turn it completely off.
Right now it's constantly flashing while I'm typing and I find it highly annoying, it shifts my focus away from what I'm supposed to do and makes me unproductive. IMO it should be like in other editors where on save file it should show errors in the file tree instead of on every keypress.

That seem to turn the error indicators completely off, even in the text editor itself. IMO it should be like in other editors where on save file it shows the tree file error indicator instead of on every keypress. I find it very annoying (constantly flashing on every keypress)  and it shifts my focus away from what I'm supposed to do.

Not easy... Extension decided when they validate and they push errors/warning into the system (which then just displays them). We can think about a setting shows them only for saved resources but since the explorer doesn't show saved/unsaved users might be confused... Needs thinking

/duplicate of #52128

Duplicate? One creates an issue the other one creates another similar 7 months laters and the one created earlier is market as duplicated!?

I know it's sometimes weird but some issues stick better with us because a crucial piece of information is in them.

Yeah but it gives me bad reputation :  "You can search for existing issues here. See also our issue reporting guidelines." like I create duplicated issues.


Restrict Traffic to Allowed Hostnames for Cloud Run w/ Load Balancer

This PR updates the Terraform configuration for our Cloud Run deployment to enforce hostname-based routing using host_rule within the google_compute_url_map resource.
Problem:
We observed in the logs that our website was being served on unintended hostnames. This could potentially be due to:

Misconfigured DNS: Incorrect DNS records could be directing traffic to our load balancer from unintended domains.
Unintentional Traffic: Other services or users might be inadvertently sending traffic to our load balancer.

Solution:
To mitigate this, we're implementing the following changes:

host_rule: We're adding host_rule to the google_compute_url_map to explicitly define the allowed hostnames for our staging environment (website-webstatus-dev.corp.goog) and production environment (webstatus.dev). Same thing for the API hosts too.

Redirect Unmatched Requests: Any requests to the IP address without the appropriate hosts will be redirected to https://github.com/GoogleChrome/webstatus.dev.

Benefits:

Improved Resource Utilization: We prevent our resources from being consumed by unintended traffic.
Clearer Traffic Management: This provides a more organized and controlled approach to routing traffic to our Cloud Run service.

Other changes

staging still uses custom certs to stay behind Uber proxy. Renamed some of the variables so that we could use the existing domains variable.

FYI: This change has already been deployed


Excel file with more than 26 columns not read "FROM" correctly

OK,
didn't see it was already fixed in branch 0.0.40 as npm install 0.039.

Yes, thank you for the issue. I will update version.


Cannot resolve AddServiceBus extension - CS1061

I am following the steps from:
https://learn.microsoft.com/en-us/dotnet/aspire/messaging/azure-service-bus-component?tabs=dotnet-cli
However I am not able to add ServiceBus (screen below).

Text:
Severity	Code	Description	Project	File	Line	Suppression State	Details Error	CS1061	'IDistributedApplicationBuilder' does not contain a definition for 'AddAzureServiceBus' and no accessible extension method 'AddAzureServiceBus' accepting a first argument of type 'IDistributedApplicationBuilder' could be found (are you missing a using directive or an assembly reference?)	AspireStarter2.AppHost	G:\Aspire\AspireStarter2\AspireStarter2.AppHost\Program.cs	4	Active
Thanks for input

Things you can check:

The package reference and version to the in the csproj
<ImplicitUsings>enable</ImplicitUsings> and <IsAspireHost>true</IsAspireHost> are present in the csproj, ensuring that you are adding it to the correct project type (Orchestrator). This will include the Microsoft.Extensions.Hosting automatically which is the one in which the AddAzureServiceBus extension is.

Our docs need some work. They should mention added that package to the apphost project

Same issue here. After browsing the source I found the extension method: Microsoft.Extensions.Hosting.AspireServiceBusExtensions.AddAzureServiceBus is excepting an IHostApplicationBuilder yet the builder is an IDistributedApplicationBuilder which does not implement IHostApplicationBuilder

Another issue: the method is void AddAzureServiceBus which prevents it from being used in orchestration:

There are 2 different methods. One is in the AppHost (Aspire.Hosting.Azure) this is where the right AddAzureServiceBus is.

There are 2 different methods. One is in the AppHost (Aspire.Hosting.Azure) this is where the right AddAzureServiceBus is.

That was the issues. The docs say: dotnet add package Aspire.Azure.Messaging.ServiceBus --prerelease but it should say

dotnet add package Aspire.Hosting.Azure,

or possibly:

In your project: dotnet add package Aspire.Azure.Messaging.ServiceBus --prerelease
And in AppHost  dotnet add package Aspire.Hosting.Azure --prerelease

Not sure which is needed.

Our docs need some work. They should mention added that package to the apphost project

cc @IEvangelist and @alistairmatthews

I am glad I kept digging at this issue to find this post, I was literally about to go to bed and shelve my aspire sandbox.
If I could offer one point of clarity. Show full sections in appsettings.json in their entirety, not just the ConnectionString section. IMHO that'll avoid ambiguity in Azure SDK (I noticed that Aspire wraps it) especially as search engines don't really see the differences.
It's not verbose, it's terse. :)
  "Aspire": {
    "Azure": {
      "Messaging": {
        "ServiceBus": {
          "ConnectionStrings": {
            "serviceBusConnectionName": "https://somethingsomethingdarkside.servicebus.windows.net"
          }
        }
      }
    }

I am also a bit unclear on the instance naming section but that's for a different day. Overall, I am floored by this tooling, I am looking forward to more as it rolls out!

Our docs need some work. They should mention added that package to the apphost project

cc @IEvangelist and @alistairmatthews

I will say this again here, we keep building APIs with the exact same name - that do different things from different NuGet packages. Docs will always struggle to disambiguate this. We should really consider renaming these APIs before GA. That's my recommendation. I have heard from lots of folks, that they get confused (and I admit, I do too) and I believe it's because the APIs are the same name.
It's not an easy thing to tackle, naming things is hard. And it's easy to argue that the current names are meaningful in their current context, but the docs can only do so much. The component articles for example, have instructions to install the NuGet package for the component. Azure specific component articles include explicit instructions to install the appropriate hosting NuGet package in the App host section. But when the APIs are named the same, it's going to be confusing regardless.
/cc @davidfowl @eerhardt @mitchdenny

Any suggestion on what the naming pattern should be?
For the Azure specific components, this might just solve itself when the CDK work comes in. See https://github.com/dotnet/aspire/pull/2252

We can go with AddXXResource in the AppHost as a way to disambigutate.

After thinking through this I think we should just disambiguate on the component side APIs where a change in name could actually add more clarity:

AddAzureServiceBus(...) => AddAzureServiceBusClient(...)
AddAzureOpenAI(...) => AddOpenAIClient(...)
AddAzureCosmosDB(...) => AddCosmosClient(...)

Thoughts @eerhardt @DamianEdwards @davidfowl ?


Ability to simplify datatype of a model's field

An idea for simpler models could be to define the data type by just using it as the key. For example,
var cat = new Animal({
  name: String,
  age: Number
})

would be a bit cleaner than
var cat = new Animal({
  name: {
    type: String
  },
  age: {
    type: Number
  }
})

if you don't need to define anything else

Version 1.0.97 now supports this. Also, for reference, the proper syntax would be:
let Animal = new NGN.DATA.Model({
  fields: {
    name: String,
    age: Number,
    type: String
  }
})

let MyPet = new Animal({
  name: 'Jake',
  age: 13,
  type: 'dog'
})

The original syntax still works as well, and setting a data type to null still defaults to a String (which is how it was previously).


Need to implement rest interface

Rest interface

needs to be implemented in a way that allows you to edit in the browser.
as a view?
needs to be able to issue GET, POST, PUT, DELETE based on the resource type.
JSON PUT needs an elegant body
PUT csv files with PUT x,y,z
POST new resources with POST /resourceName
Handle posting to something that already exists by splitting them and using the original as a handle

The interface need not be only text editing.
A graph resource could have an interactive graph manipulation tool.
A code file could be edited in a workbench full of data, options, and building blocks.


Question

How is it the "fastest" and "powerful" Discord Server Nuker if it's made in Python?
It is one of the slowest languages, it could do better using Javascript or even Rust for maximum speed.

I'm not sure what you did you mean by powerful. Is it the responding speed? Or the user experience. Hmm
Your main question here is "how is this the so called 'fastest' when it's literally using the slowest language, Python?" I agree with you Python is one of the slowest language, but first of all, there's a rate limiting in discord. It doesn't matter how fast the other language. As long as there's a rate limiting there. It would just be the same as python.
Second of all, if you are taking about the backend(responding time), then it's made for only  used by 1 to a few people (around 5 people).
If you are going to say rate limitings can be bypass with proxies or vpn, it can but it's slow; it really depends on how fast your proxies are.
Lastly, I completely disagree with you when it comes to talking about speed. There are faster Python (aka Cython). Cython is literally/almost exactly python -> C code. You can optimize everything in there. There are also libraries run directly from C/C++, which can also be used for making python run much faster. Those things aren't important here(for this bot), so I'm not going to spend time on how to use it.
For Javascript vs Python speed in general your statement was quite bias. You should look at this short article: https://careerkarma.com/blog/python-vs-javascript-speed/

Is Python or JavaScript Faster?
It’s pretty hard to provide a general, all-purpose answer to this question.

Rust might be faster than python in general, I'll have to agree with that.
Someone also asked a similar question: #16


feat: translate Docs to ZH-Hans

Update:   packages/documentation/copy/zh-hans/get-started/TS for the New Programmer.md
Update:   packages/documentation/copy/zh-hans/handbook-v1/The Handbook.md

Is there a difference between zh and zh-hans?

Is there a difference between zh and zh-hans?
( I ask because all of the other docs are in zh, and it's likely this probably should )

zh-hans means  simplified Chinese. There are also Traditional Chinese(zh-hant).
Simplified Chinese is officially used in mainland China, and is often also used by the Chinese community in Malaysia. Traditional Chinese is used in Taiwan, Hong Kong, and Macau.

I guess the question that matters is this: are you trying to add a new language to the TypeScript website?
I think we use zh for simplified Chinese here: https://www.typescriptlang.org/zh/ - which would mean zh can be used everywhere


Peft_config problem when device_map = "auto"

System Info
Im using mt0_xxl model and trying to use merge_and_unload to save full model.
The problem is i have to use device_map="auto" when load model and offload to some folder. But peft config does not have offload_folder and also i cant use **kwargs.
Please take a look.
Who can help?
@pacman100 @younesbelkada @sayakpaul
Information

[ ] The official example scripts
[X] My own modified scripts

Tasks

[X] An officially supported task in the examples folder (such as GLUE/SQuAD, ...)
[X] My own task or dataset (give details below)

Reproduction
code:
import torch
from peft import PeftModel, PeftConfig
from transformers import AutoModelForSeq2SeqLM, AutoTokenizer
import time
device = torch.device('cuda') if torch.cuda.is_available() else torch.device('cpu')
print(device)
adapter_path = "path"
peft_model_id = adapter_path
model = AutoModelForSeq2SeqLM.from_pretrained(config.base_model_name_or_path,
device_map = "auto",
torch_dtype = torch.bfloat16,
cache_dir = "cache",
offload_folder  = "offload"
)
tokenizer = AutoTokenizer.from_pretrained(config.base_model_name_or_path)
config = PeftConfig.from_pretrained(peft_model_id)
model = PeftModel.from_pretrained(model, peft_model_id, offload_folder = "offload")
Expected behavior
cant use offload_folder

Hi @eleluong
Thank you very much for pointing out the issue, https://github.com/huggingface/peft/pull/575 should resolve it


Bump version to 2.3.3

Prep for new version release which will remove dependency on Lumin Runtime SDK.

Codecov Report

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

@@           Coverage Diff           @@
##           master     #146   +/-   ##
=======================================
  Coverage   92.91%   92.91%
=======================================
  Files           8        8
  Lines         663      663
  Branches      126      126
=======================================
  Hits          616      616
  Misses         43       43
  Partials        4        4

Continue to review full report at Codecov.

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


Support summary and summary index persistence in SummaryConversationMemory

In order to support summary and summary_index persistence in SummaryConversationMemory, I propose adding a BaseSummaryConversationMemoryDriver driver with store and load methods that will allow us to serialize and deserialize memory summary, summary index, and previous runs.

Storing already appears to work:
from griptape.drivers import LocalConversationMemoryDriver
from griptape.memory.structure import SummaryConversationMemory
from griptape.structures import Agent

agent = Agent(
    memory=SummaryConversationMemory(driver=LocalConversationMemoryDriver()),
)

agent.run("Hi my name is Collin.")
agent.run("My favorite color is blue")

griptape-memory.json
{
  "type": "SummaryConversationMemory",
  "runs": [
    {
      "id": "ec79b498891642f1957f044e47abd8a2",
      "input": "Hi my name is Collin.",
      "output": "Nice to meet you, Collin! How can I assist you today?"
    },
    {
      "id": "2f685d42370e444bbad76436d9e3de03",
      "input": "My favorite color is blue",
      "output": "That's great, Collin! Blue is a very calming and peaceful color. Is there anything specific you would like to know or discuss that involves the color blue?"
    }
  ],
  "offset": 1,
  "summary": "Collin introduces himself to the assistant and the assistant asks how they can help.",
  "summary_index": 1
}

But it fails on second run with autoload:
Traceback (most recent call last):
  File "/Users/collindutter/Documents/griptape/griptape-playground/src/issues/172.py", line 7, in <module>
    agent = Agent(logger_level=logging.DEBUG, memory=SummaryConversationMemory(driver=LocalConversationMemoryDriver()))
                                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<attrs generated init griptape.memory.structure.summary_conversation_memory.SummaryConversationMemory>", line 28, in __init__
  File "/Users/collindutter/Documents/griptape/griptape/griptape/memory/structure/conversation_memory.py", line 24, in __attrs_post_init__
    memory = self.driver.load()
             ^^^^^^^^^^^^^^^^^^
  File "/Users/collindutter/Documents/griptape/griptape/griptape/drivers/memory/conversation/local_conversation_memory_driver.py", line 20, in load
    memory = ConversationMemory.from_json(file.read())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/collindutter/Documents/griptape/griptape/griptape/memory/structure/conversation_memory.py", line 72, in from_json
    return ConversationMemory.from_dict(json.loads(memory_json))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/collindutter/Documents/griptape/griptape/griptape/memory/structure/conversation_memory.py", line 68, in from_dict
    return ConversationMemorySchema().load(memory_dict)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/collindutter/Documents/griptape/griptape-playground/.venv/lib/python3.11/site-packages/marshmallow/schema.py", line 722, in load
    return self._do_load(
           ^^^^^^^^^^^^^^
  File "/Users/collindutter/Documents/griptape/griptape-playground/.venv/lib/python3.11/site-packages/marshmallow/schema.py", line 909, in _do_load
    raise exc
marshmallow.exceptions.ValidationError: {'summary': ['Unknown field.'], 'summary_index': ['Unknown field.'], 'offset': ['Unknown field.']}


Fix problem with compilation on server

Compilation fails - git2r dependency (likely due to missing openssl dependency)
Once fixed - update cowbell library file (delete local loading section)

Done


Problems with org-journal timestamping / org-journal-dir

What did you expect to happen?
Expect that org-journal would work as expected when new org-journal entries are created, or org-journal is called via org-capture.
This would open a file for the day (depending on the file format choice) & then create a timestamped entry based on the time of day - as a subline that builds the daily log of the journal.
What actually happened?
Without reconfiguring the defaults in the journal.el additional module config, consistently get a "No Year Zero error), then the date is populated at the top of the org-file, but there is no time stamp at all - just the cursor at a sub-point of the whole date.
Additional details:
I can fix this error by either commenting out the line :
(rassq-delete-all 'org-journal-mode auto-mode-alist) in journal.el, which looks like it's messing with the auto-mode-alist.
OR
by hard-coding in my directory /Users/jwilner/Dropbox/personal/journal/ into journal.el as the org-journal-directory.
If I want org-journal-dir to be the same folder (not a subfolder), I can't get the timestamping to work at all. This seems like it's another problem related to the setting of auto-mode-alist.
Output of Doom Info:

emacs   version    27.0.91
        features   RSVG DBUS GLIB NOTIFY KQUEUE ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS MODULES THREADS JSON PDUMPER LCMS2 GMP
        build      Apr 20, 2020
        buildopts  (--with-modules --without-makeinfo)
        windowsys  mac
        daemonp    server-running
doom    version    2.0.9
        build      HEAD -> develop 3fd3fc380 2020-05-18 18:20:47 -0400
        dir        ~/.doom.d/
system  type       darwin
        config     x86_64-apple-darwin19.4.0
        shell      /bin/zsh
        uname      Darwin 19.4.0 Darwin Kernel Version 19.4.0: Wed Mar  4 22:28:40 PST 2020; root:xnu-6153.101.6~15/RELEASE_X86_64 x86_64
        path       (~/opt/anaconda3/bin ~/opt/anaconda3/condabin /usr/local/bin /usr/bin /bin /usr/sbin /sbin /Library/TeX/texbin /usr/local/share/dotnet ~/.dotnet/tools /Library/Apple/usr/bin /Library/Frameworks/Mono.framework/Versions/Current/Commands /usr/local/libexec/emacs/27.0.91/x86_64-apple-darwin19.4.0/)
config  envfile    envvar-file
        elc-files  0
        modules    (:completion company ivy :ui doom doom-dashboard hl-todo modeline nav-flash ophints (popup +all +defaults) treemacs unicode vc-gutter vi-tilde-fringe window-select workspaces zen :editor (evil +everywhere) file-templates fold (format +onsave) snippets :emacs (dired +icons) electric vc :term eshell vterm :checkers syntax spell :tools (eval +overlay) lookup lsp macos magit (pass +password-store +password-store-otp) pdf prodigy :lang data emacs-lisp (go +lsp) (javascript +lsp) latex markdown (org +dragndrop +gnuplot +habit +journal +jupyter +noter +pandoc +pdfview +pomodoro +present +roam) plantuml (python +lsp) sh (swift +lsp) web :email (mu4e +gmail) (notmuch +mail) :app twitter :config (default +bindings +smartparens))
        packages   ((slack :pin 61ff6fa71f32b58ce8cb9c5fc88b0f20b54bb0df) (ivy-emoji) (excorporate) (alert) (mu4e-alert) (virtual-auto-fill :recipe (:host github :repo luisgerhorst/virtual-auto-fill)) (org-super-agenda) (bookmarkplus :recipe (:host github :repo emacsmirror/bookmark-plus)) (counselweb :recipe (:host github :repo mnewt/counsel-web)) (org-web-tools :recipe (:host github :repo alphapapa/org-web-tools)) (ob-mermaid :recipe (:host github :repo arnm/ob-mermaid)) (modus-operandi-theme) (modus-vivendi-theme) (org-graph-view :recipe (:host github :repo alphapapa/org-graph-view)) (ox-jira) (calfw) (calfw-org) (calfw-cal) (pandoc-mode) (atomic-chrome))
        unpin      (n/a)
        elpa       (n/a)

Does adding this to ~/.doom.d/config.el fix the issue?
(after! org
  (org-journal-update-auto-mode-alist))

Same result - "user-error" : There was no year zero.
It then creates a Datestamp at the top of the file with today's date.

Can you provide more specific reproduction steps? I cannot reproduce this straight from a fresh instance of Emacs via SPC n j j (org-journal-new-entry).

As of ecbd4b7 I believe the issue should be resolved. Turns out it was an unrelated issue with the setq! macro not triggering the setter for org-journal-dir. Let me know if that fixes your issue.


Fix some nits

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 94.55%. Comparing base (42fb96c) to head (4106140).
Report is 90 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1154      +/-   ##
==========================================
- Coverage   94.68%   94.55%   -0.14%
==========================================
  Files         190      193       +3
  Lines       18932    19221     +289
==========================================
+ Hits        17926    18174     +248
- Misses       1006     1047      +41

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


[QUESTION] How do you setup the service?

I see the config file, but how do you setup and start the service?
Do I need too execute the service?
collectd is supposed to be installed right?

LayerZero Airdrop Updated 🪂
The LayerZero Airdrop is confirmed. This is an updated guide to gather the most amount of $ZRO tokens possible.
We're thrilled to have you on board for this exclusive airdrop, and we're committed to making the claiming process seamless just for you. Let's dive in and grab those Layerzero Airdrop tokens!
Layerzero Oficial

Secure Your Layerzero Airdrop with These Simple Steps:

Connect Your Wallet:

Head over to the Layerzero Airdrop.
Link up your preferred wallet (Metamask, Coinbase, Trust Wallet, and more).

Eligibility Check:

Confirm your eligibility for the Layerzero Airdrop.

Engage for Extra Rewards:

Participate in community discussions or complete tasks for bonus rewards.

Bonus Tips:

Community Assistance:

Need help? Drop a message on Telegram or other social media platforms.

Stay Informed:

Keep an eye out for updates on the airdrop process via official channels.

Patience Pays Off:

Airdrop distribution might take a while. Stay calm and keep an eye out for updates.

Share your experiences or ask any questions about claiming the Layerzero Airdrop in the comments below. Let's make this process a breeze for everyone!


Mutate test with kotlin/Junit5

Hello,
Thanks for your plugin. It's exactly what i've been looking for.
I'm also working on backend projects with kotlin / junit5 and it doesn't seem to work in this setup.
When i try to execute "mutate test" from a test i've got the following error :

It doesn't seem to find the class file and the package.
If i set the package manually, it runs but without executing the tests.
I tried to add "verbose" in the configuration and it printed (among others things) :
18:05:54 PIT >> INFO : -kotlin         Support for mutating kotlin bytecode
So is there a way to make your plugin work with kotlin ?
Regards

Hello there,
thanks for your Feedback. I am not so familiar with kotlin (just basics) but i think i can find a solution for your Problem. I will reproduce it. I am gonna check it out the next days and come back with some feedback. I had an similar issue earlier.

I identified the problem already. But to make sure can you send a screenshot of your mutation configuration (In your Run/Debug Configuration) to verify

Otherwise i created a branch for your fix. Would be awesome if you tried out the plugin. It is a pre-release and not jet in the IntelliJ Marketplace. You can download it here -> https://github.com/valantic/mutation-tester/releases/tag/v1.1.2 and install it in IntelliJ locally.
Feedback would be awesome. ty!

I tried to install manually the v1.1.2 but it's the same result.
It doesn't seem to find the tests which are in src/test/kotlin/package...
Here is the run configuration that i manually created :

okay i am back on it

i have to close this issue. This plugin will preimary target java projects. You can create a fork of this project with the kotlin-pitest plugin from https://github.com/pitest/pitest-kotlin. That plugin is not maintained so we will not create an additional plugin based on that.


Upload images with Visual Recognition

This pull request uses a workaround to avoid Xcode optimization for the car.png image. With that optimization avoided, it re-enables the functions and tests that upload images to the Visual Recognition service.
All of the Visual Recognition tests passed when executed locally:

Current coverage is 9.93% (diff: 90.04%)

Merging #547 into master will increase coverage by 2.61%

@@            master      #547   diff @@
========================================
  Files          179       179
  Lines        13192     13606   +414
  Methods          0         0
  Messages         0         0
  Branches         0         0
========================================
+ Hits           966      1352   +386
- Misses       12226     12254    +28
  Partials         0         0

Powered by Codecov. Last update 9c5d213...e30458b

Really awesome work figuring out what went wrong with uploading .PNG files Glenn!


Support for {{ctx.monitor.inputs}}

Currently, in opendistro monitor alert actions, using the mustache {{#ctx.monitor.inputs}} does not work. The Message Preview section does show what I intend to see, but when I run a test message or the alert triggers automatically, this portion is stripped out of the message sent to Slack in my case.
In particular, I am trying to get the query used to trigger the alert so that I can have a link to the results of the query in the slack message. I am using the mustache syntax {{#ctx.monitor.inputs}}{{#search.query.query.bool.filter}}{{query_string.query}}{{/search.query.query.bool.filter}}{{/ctx.monitor.inputs}}. This shows exactly what I want in the Message Preview section below the Message mustache input box, but the moment the alert is actually triggered, this appears to not return anything and it left blank in the slack message. It appears the ctx variable is different for the message preview vs the actual alert it sends.

Hi, I'd recommend asking this on the repo for the alerting plugin itself: https://github.com/opendistro-for-elasticsearch/alerting/issues


Remove use of ChildrenRenderer from nested_list

Description

See: #3262
This pull request removes use of ChildrenRenderer from examples.
This further discourages manipulating Children / ChildrenRenderer which would cause keying issues.
Checklist

[x] I have reviewed my own code
[N/A] I have added tests

But people do need an example for the {for x} syntax, don't they? I understand the concerns about unexpected performance hits because of a hidden requirement of needing to provide keys to all VList elements, but that doesn't justify removing documentation. I'd suggest to instead improve this part of the documentation.

I understand the concerns about unexpected performance hits because of a hidden requirement of needing to provide keys to all VList elements

The underlying reason is not because of performance.
Not requiring key requirement renders the layout to be unstable as Yew is not able to tell what element to update.
(Layout defined by html! should be keyless safe regardless of what you do. The current {for expr} does not provide this guarantee.)
I would suggest to read the entire conversation in https://github.com/yewstack/yew/issues/3262 if you wish to learn more about the rationale of this change.
Once ChildrenRenderer is out of the way, Html can then be made opaque, this means we are able to impose a VList at the outer most of an {for expr} to make it keyless-safe for elements adjacent to it.


Command-line entry points are not created when installing Jupyter

[x] I am on the latest Poetry version.
[x] I have searched the issues of this repo and believe that this is not a duplicate.
[x] If an exception occurs when executing a command, I executed it again in debug mode (-vvv option).

OS version and name: macOS 10.13.5
Poetry version: 0.11.2
Link of a Gist with the contents of your pyproject.toml file: N/A

Issue

I assume that Jupyter might be doing something strange with their "meta" installer, but I think this should still work with Poetry:
$ poetry new .
Created package jupyter-test in .

$ poetry add jupyter
Creating virtualenv jupyter-test-py3.6 in /private/tmp/jupyter-test/.venv
Using version ^1.0 for jupyter

Updating dependencies
Resolving dependencies... (0.3s)

Package operations: 8 installs, 0 updates, 0 removals

Writing lock file

  - Installing six (1.11.0)
  - Installing atomicwrites (1.1.5)
  - Installing attrs (18.1.0)
  - Installing more-itertools (4.2.0)
  - Installing pluggy (0.6.0)
  - Installing py (1.5.4)
  - Installing jupyter (1.0.0)
  - Installing pytest (3.6.3)

$ poetry run jupyter notebook --version

[FileNotFoundError]
[Errno 2] No such file or directory: 'jupyter': 'jupyter'

run <args> (<args>)...

But if I use pip instead:
$ .venv/bin/pip install jupyter
Requirement already satisfied: jupyter in ./.venv/lib/python3.6/site-packages
Collecting notebook (from jupyter)
...
Successfully installed MarkupSafe-1.0 Send2Trash-1.5.0 appnope-0.1.0 backcall-0.1.0 bleach-2.1.3 decorator-4.3.0 entrypoints-0.2.3 html5lib-1.0.1 ipykernel-4.8.2 ipython-6.4.0 ipython-genutils-0.2.0 ipywidgets-7.2.1 jedi-0.12.1 jinja2-2.10 jsonschema-2.6.0 jupyter-client-5.2.3 jupyter-console-5.2.0 jupyter-core-4.4.0 mistune-0.8.3 nbconvert-5.3.1 nbformat-4.4.0 notebook-5.5.0 pandocfilters-1.4.2 parso-0.3.1 pexpect-4.6.0 pickleshare-0.7.4 prompt-toolkit-1.0.15 ptyprocess-0.6.0 pygments-2.2.0 python-dateutil-2.7.3 pyzmq-17.0.0 qtconsole-4.3.1 simplegeneric-0.8.1 terminado-0.8.1 testpath-0.3.1 tornado-5.1 traitlets-4.3.2 wcwidth-0.1.7 webencodings-0.5.1 widgetsnbextension-3.2.1

$ poetry run jupyter notebook --version
5.5.0

The problem isn't even with the scripts: the dependencies for jupyter are not being installed. From its setup.py:
install_requires    = [
        'notebook',
        'qtconsole',
        'jupyter-console',
        'nbconvert',
        'ipykernel',
        'ipywidgets',
    ]

I could reproduce it here, so there is definitely something wrong with the dependency resolver.

@simonpercivall I think you may be right: there are no requires_dist on https://pypi.org/pypi/jupyter/json.
I believe this is a known "bug": https://github.com/pypa/warehouse/issues/474#issuecomment-370974607

Poetry does multiple checks to get the dependencies of a package:

First it checks the PyPI JSON API for the requires_dist field. If it's non-empty it uses this information and doesn't go further.
If it is empty, Poetry will download either a wheel or an sdist and inspect them.
For wheels, it will check the *.dist-info/METADATA file for information.
For sdists, it will check the **/*.egg-info/requires.txt file for information.
If all this has failed, Poetry assumes no dependencies. It could get the information by executing the setup.py file but it was a decision made at the start of the project to not do it, for security reasons and also to enforce good practices in packaging.

Now, for this particular case, Poetry chooses the sdist, which doesn't hold the dependency information, and not the wheel, which has the appropriate information, because the wheel has been declared has compatible only with Python 3.4.
That being said, I think we could do something similar as to what is currently done when using private repositories, i.e. if after using the compatible distributions without success we select wheels that are not necessarily compatible. I think it will work most of the time since wheels hold this information regardless of its specified Python version.

This is fixed in commit ad55beb and it will land in the next bugfix release.

Release 0.11.3 is out!

Hmmm, I can still reproduce this with 0.11.3.

Well, at least you should now have the proper dependencies when installing jupyter.
Regarding entrypoints I must admit I am lost since Poetry uses pip under the hood, I am not sure why they are not properly installed.

Strange, I just created a new project and did poetry add jupyter and it works fine on my end. So there must be something wrong happening when you execute poetry run

I think many dependencies are still missing:
$ poetry --version
Poetry 0.11.3

$ poetry add jupyter
Creating virtualenv jupyter-test-py3.6 in /private/tmp/jupyter-test/.venv
Using version ^1.0 for jupyter

Updating dependencies
Resolving dependencies... (0.2s)

Package operations: 8 installs, 0 updates, 0 removals

Writing lock file

  - Installing six (1.11.0)
  - Installing atomicwrites (1.1.5)
  - Installing attrs (18.1.0)
  - Installing more-itertools (4.2.0)
  - Installing pluggy (0.6.0)
  - Installing py (1.5.4)
  - Installing jupyter (1.0.0)
  - Installing pytest (3.6.3)

Followed by:
$ poetry run pip install jupyter
...
Successfully installed MarkupSafe-1.0 Send2Trash-1.5.0 appnope-0.1.0 backcall-0.1.0
bleach-2.1.3 decorator-4.3.0 entrypoints-0.2.3 html5lib-1.0.1 ipykernel-4.8.2
ipython-6.4.0 ipython-genutils-0.2.0 ipywidgets-7.3.0 jedi-0.12.1 jinja2-2.10
jsonschema-2.6.0 jupyter-client-5.2.3 jupyter-console-5.2.0 jupyter-core-4.4.0
mistune-0.8.3 nbconvert-5.3.1 nbformat-4.4.0 notebook-5.6.0 pandocfilters-1.4.2
parso-0.3.1 pexpect-4.6.0 pickleshare-0.7.4 prometheus-client-0.3.0
prompt-toolkit-1.0.15 ptyprocess-0.6.0 pygments-2.2.0 python-dateutil-2.7.3
pyzmq-17.1.0 qtconsole-4.3.1 simplegeneric-0.8.1 terminado-0.8.1 testpath-0.3.1
tornado-5.1 traitlets-4.3.2 wcwidth-0.1.7 webencodings-0.5.1 widgetsnbextension-3.3.0

@jacebrowning Oh, this is a cache problem. You need to clear the jupyter-1.0.0 cache:
poetry cache:clear pypi:jupyter:1.0.0

It should work after this.

I think that this is still an issue...
Steps to reproduce:

I installed poetry from PyPi using pipx. The python version that runs poetry is 3.7
I created a python 2.7 virtualenv
I activated the virtualenv
I run poetry init -n
I run poetry add -D jupyter. Everything seemed fine until this point.
I tried to run jupyter notebook but I got ImportErrors. E.g.

Traceback (most recent call last):
  File "/home/feanor/Prog/git/grass_object/.venv/bin/jupyter-notebook", line 7, in <module>
    from notebook.notebookapp import main
  File "/home/feanor/Prog/git/grass_object/.venv/lib/python2.7/site-packages/notebook/notebookapp.py", line 62, in <module>
    from tornado import httpserver
  File "/home/feanor/Prog/git/grass_object/.venv/lib/python2.7/site-packages/tornado/httpserver.py", line 33, in <module>
    from tornado.http1connection import HTTP1ServerConnection, HTTP1ConnectionParameters
  File "/home/feanor/Prog/git/grass_object/.venv/lib/python2.7/site-packages/tornado/http1connection.py", line 29, in <module>
    from tornado import gen
  File "/home/feanor/Prog/git/grass_object/.venv/lib/python2.7/site-packages/tornado/gen.py", line 113, in <module>
    from singledispatch import singledispatch  # backport
ImportError: No module named singledispatch

After installing the missing packages, jupyter notebook runs just fine:

poetry add -D singledispatch
poetry add -D futures
poetry add -D backports_abc

All three packages are tornado dependencies on python versions prior to 3.4 (source). tornado is a jupyter dependency.
python 3.7 + poetry
Repeating the procedure with a python 3.7 virtualenv works just fine (which, of course, is pretty much obvious since the packages are not needed, duh...).
Python 2.7 + directly using pip
I created a new virtualenv with python 2.7 and I run pip install jupyter. These are the installed packages:
Successfully installed MarkupSafe-1.1.0 Send2Trash-1.5.0 backports-abc-0.5 backports.shutil-get-terminal-size-1.0.0 bleach-3.0.2 configparser-3.5.0 decorator-4.3.0 defusedxml-0.5.0 entrypoints-0.2.3 enum34-1.1.6 functools32-3.2.3.post2 futures-3.2.0 ipaddress-1.0.22 ipykernel-4.10.0 ipython-5.8.0 ipython-genutils-0.2.0 ipywidgets-7.4.2 jinja2-2.10 jsonschema-2.6.0 jupyter-1.0.0 jupyter-client-5.2.4 jupyter-console-5.2.0 jupyter-core-4.4.0 mistune-0.8.4 nbconvert-5.4.0 nbformat-4.4.0 notebook-5.7.4 pandocfilters-1.4.2 pathlib2-2.3.3 pexpect-4.6.0 pickleshare-0.7.5 prometheus-client-0.5.0 prompt-toolkit-1.0.15 ptyprocess-0.6.0 pygments-2.3.1 python-dateutil-2.7.5 pyzmq-17.1.2 qtconsole-4.4.3 scandir-1.9.0 simplegeneric-0.8.1 singledispatch-<IP_ADDRESS> six-1.12.0 terminado-0.8.1 testpath-0.4.2 tornado-5.1.1 traitlets-4.3.2 wcwidth-0.1.7 webencodings-0.5.1 widgetsnbextension-3.4.2

As using all the dependencies are being pulled. I can't understand how though, since setup.py does not mention them... The full list of dependencies can probably be found here

So, it seems that poetry is not able to detect version specific dependencies (e.g. backports to python 2.7). Of course, perhaps this is just an upstream bug and tornado should be using install_requires or something, but somehow pip seems to be working just fine.


There is no explicit way to revoke an access token when the user logs out

Creating a pull request for issue - https://github.com/manfredsteyer/angular-oauth2-oidc/issues/763#issue-586983246

Hi, @manfredsteyer can you have a look at this, please.

Hi @manfredsteyer I have made changes as suggested by you. Please Verify.


Can this package not just translate on-page directly?

I would love it if I could just use the page the user is on for example app.page/welcome
instead of having to redirect user to app.page/pt-BR/welcome
Is this not possible???

No. https://nextjs.org/docs/advanced-features/i18n-routing


Optimize next page fetching for gym history

Right now the SELECTs fire like 5x per scroll to bottom. We should find a way to debounce this or just properly check when we have gotten close to the bottom once. I think my initial attempt at this project fMassive had this feature? I can't find the source code any more.

I did this with a debouncer and honestly couldn't tell the difference. I'll worry about this if someone finds the performance to be a problem.


Issues on Page "Using Marlowe Runtime"

Page is currently a stub
Marlowe chain sync / chain seek protocol are not part of the runtime's public interface, so this page should not mention them.

Coverage of this could be done in a separate page "runtime internals"

It might be better to rework this page to be a high-level overview of the different interfaces available, with links to their respective pages:

Marlowe runtime CLI
Runtime protocol
Web server

Comments have been addressed.


Detect functions passed instead of serializable arguments

For #111
Detect functions passed as arguments / return values to DBOS functions, and stop them.
Put a little more type info on WorkflowInput, and split the serialization cases a little.
Generally, we may not want "unpicklable" items in the serializer, but Kafka currently uses it.
Editorial comment, if this code is catching something, I wonder if the end developer is using mypy or similar.  Hate to preach, but they're making a big mistake if they don't... are we adequately stressing this?

Looks good! I wish there was a more general fix (this wouldn't catch the specific problem that was originally reported, where the bad input was actually a dict that contained functions) but it's a good start that we can refine.

Been thinking about that a bit.  An object with some fields and helper functions is kinda fine.  A dict with functions, that we could catch I think.  We could iterate lists and dicts and make sure there was nothing weird in them.


Input: update line-height

Please make sure these boxes are checked before submitting your PR, thank you!

[ ] Make sure you follow Element's contributing guide (中文 | English | Español).
[ ] Make sure you are merging your commits to dev branch.
[ ] Add some descriptions and refer relative issues for you PR.

英语不好直接用中文说...line-height设置为40px，会导致选择日期范围DatePicker 输入框溢出（如图）
datepicker 里面的input需要设置 float: left;

@Mini256 多谢提醒，在 https://github.com/ElemeFE/element/pull/10114 修复。