Running the iOS example project fails

Description
Running the example project does not work. It seems like the new docs on how to get it running are incomplete, so I am following older instructions from here.
Steps to Reproduce

Clone the project fresh
Run npm install. This fails due to a syntax error and a lack of .babelrc. We can get around this by adding a .babelrc of {"presets": ["react-native", "airbnb"]}
Run npm run build:pods. This will fail due to the Gemile pinning an old version of cocoapods. To get passed this:

Update the gemfile and bundle install to use a newer version of cocoapods (The version that created the Gemfile.lock is 1.6.1 and this will work.

Run npm start
Run npm run:ios
2. There are a few imports in React that fail, I've hacked around them for now:

fishhook/fishhook.h not found - Replace with <React/fishhook.h>
RCTAnimation/RCTValueAnimatedNode.h file not found - Replace with <React/RCTValueAnimatedNode.h

The app will run, not load the bundle and close a few seconds after

Expected behavior: [What you expected to happen]
I should be able to run the scripts error free, the example app should run, load the bundle, and let me see examples.
Actual behavior: [What actually happened]
After a decent amount of hacking around, the example app will run, but never loads the bundle and closes/crashes shortly after.
Versions
Master

I just run into the same problem today, i solved it by building the project straight from xcode it sent an error about some pid then i cleaned the project and restarted the simulator/xcode, after i rebuild, and it worked, hope this helps meanwhile.

I'm closing this as a version update should solve this issue.


Rules fail in check mode

Certain rules fail when run in check mode when they depend on output for previous steps.  For example:

Rule_1.4.1 produces the following error:

msg": "The conditional check 'grub_cfg.stat.exists and grub_cfg.stat.islnk' failed. The error was: error while evaluating conditional (grub_cfg.stat.exists and grub_cfg.stat.islnk): 'dict object' has no attribute 'stat'\n\n ... line 613, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: "SCORED | 1.4.1 | PATCH | Ensure permissions on bootloader config are configured"\n  ^ here\n"
This could be fixed by changing the when statement from:
  - grub_cfg.stat.exists and grub_cfg.stat.islnk

to:
- grub_config is defined and (grub_cfg.stat.exists and grub_cfg.stat.islnk)

Rule 5.4.2 receives the following error:

"msg": "'dict object' has no attribute 'stdout_lines'"
This can be fixed adding the following item to the when statement from:

system_account is defined

Would you be open to a pull request for this?

Thanks for the report! Yes we welcome PRs :) It is kind of strange that stat doesn't actually return data in check mode. These both can be fixed by setting check_mode: no on the register task that will force them to run even in check mode and is the general direction we have taken in the other roles.

Hello,
I wanted to reach out and let you know that this issue is being closed. We have re-worked the role and want to start with a fresh issues list with this latest version. There was a post in the Ansible-Lockdown google group (https://groups.google.com/g/ansible-lockdown) with the details of the changes that are coming. Please checkout the thread titled RHEL 7 CIS and STIG Changes for all of the details, I also have the message pasted at below.
Please as you use the latest version and open issue tickets as you find them, it is the best way for us to improve the role for everyone. Thank you for being part of the community and providing awareness of problems or advice on improvement. Reporting is a huge part of improving this project.

Hello,
Thank you to everyone in the Ansible-Lockdown community who has contributed to RHEL7 STIG/CIS. Our team at MindPoint Group has been working with the entirety of the Ansible-Lockdown project, and we have some significant updates for both RHEL 7 STIG and CIS. With these updates, some larger changes have been made. I have these changes/updates outlined below.
Testing:

CI/CD - We have implemented some automated testing pipelines to test pull requests into the devel and main branches. With the current workflow, the community will PR into the devel branch (never the main branch) for review by the administrators. When your PR is created, the first check will remain the DCO check. The second check is a functional testing pipeline that will automatically perform a functional test of the branch the PR is initiated from. Once both tests pass, someone from the Administrator Team will review the changes and merge them into the devel branch. From there, an additional review is completed before the devel branch is merged into the main branch. Only the Admin Team will perform PRs/merges into the main branch. There is also an automated pipeline for PRs from devel to main. Please do not edit the .github/workflows files since those are used as part of the pipeline.
Compliance Checking – MindPoint Group has been working to create our own compliance audit scan tool. The tool uses a goss framework executable to run custom checks that we have created. The goal is to provide a more thorough check for control compliance and decrease the number of false positives/negatives. For example, it will check the configuration file related to the control and as well as checking if that configuration is active. With a smarter scan, we can hopefully identify attempts to trick scanners as well (for example stacking a parameter in a config file where the first instance is enabled and second disabled. Most audit tools search for the first instance but the application might look for the last instance of the parameter, thus making the scanning tool think it's enabled). In testing, we have found that our audit scan runs significantly faster than other audit tools, reducing audit times. Our audit tool and profiles will have their own repositories in the Ansible-Lockdown org, but within the remediation role there will be an integrated way to incorporate the audit. Keep an eye out for the audit tools as they are released. We plan on developing a goss audit profile for each current remediation role. Going forward, we plan to release a remediation role and goss audit tool profile simultaneously.
Role Updates:
RHEL 7 STIG/CIS – We have re-written much of the RHEL 7 STIG and CIS roles to increase clarity and readability and address some functionality items. We performed these updates while creating our goss testing framework for each of these roles. We plan on pushing our update to the devel and main branches. We will move the current devel and master branches to a devel_stable_ and master_stable_ branch in the respective repositories. Accordingly, community members who rely on the current version can still use that version going forward; this process will not remove what is currently there. The latest versions of the roles have also been updated to comply with the latest benchmarks.
Role Architecture – All roles will change with regard to the structure in the tasks folder. Taking CIS as an example, there will be a folder per section and yaml files for each sub-section. For example control 1.2.1 in CIS will be located in RHEL7-CIS/tasks/section_1/cis_1.2.x.yml. The cis_1.2.x.yml file will contain all controls related to section 1.2.x. This will hopefully make updates to roles a bit easier with less risk. This matches the architecture of our audit tool, creating consistency across remediation and audit platforms. The end goal is to repeat this architecture (the best we can) on STIG roles, but we are starting with CIS.
Existing PRs and Issues – With all of these changes comes the task of cleaning up existing PR’s and issues. Our plan is to close all of the existing PR’s and issues because of the re-work. Our team is growing and should be able to stay on top of the new issues and PRs as they come in.
Again, I would like to thank the community for your involvement in this project. The input and work from the community has contributed significantly to the success of this project. Please keep an eye out for these changes, which will be rolling out in the coming weeks.


Argument 2 missing or nil | CoreGui.RobloxGui.CoreScripts/PurchasePromptScript2, line 694 - upvalue onPromptEnded CoreGui.RobloxGui.CoreScripts/PurchasePromptScript2, line 1238

Event captured by Tradelands' error monitoring. Corescript error.

Can we get some updated line numbers if possible?

I believe this should fix it:
https://github.com/ROBLOX/Core-Scripts/pull/305

@Superburke Is this still a problem?

This issue was moved to GitBlox/Core-Scripts#15

hey. I Like a Big DooDoo...


Support Bottlerocket – Open Source OS for Container Hosting

Hi,
Do you have any plan to support Bottlerocket – Open Source OS for Container Hosting.
https://aws.amazon.com/blogs/aws/bottlerocket-open-source-os-for-container-hosting/

No on the immediate roadmap, we've just switched to Flatcar. If you'd like to see Bottlerocket we're open for contributions.


converting this cURL call with request

Hi,
I went into a silly issue and I'm seeking help with this one. I try to translate this curl command:
curl --digest --user dba:dba --url "http://<IP_ADDRESS>:32772/sparql-graph-crud-auth?graph-uri=http://graph.org" -X POST -T file.txt

This will stream a file into a server via a POST request using a digest authentification. I try the following:
const request = require('request');
const graphUri = encodeURIComponent('http://graph.org');
const url = `http://<IP_ADDRESS>:32772/sparql-graph-crud-auth?graph-uri=${graphUri}`;

let server = request.post(url).auth('dba', 'dba', false);
let infile = fs.createReadStream('./file.txt');

server.on('error', (error) => {
    console.error(error);
});

infile.pipe(server);

but the console.error display this error:
{ [Error: write EPIPE] code: 'EPIPE', errno: 'EPIPE', syscall: 'write' }

What is wrong ? Any ideas ?
Thanks a lot.

Can you log error.stack instead?

Not much, error.stack is giving me:
Error: write EPIPE
    at Object.exports._errnoException (util.js:856:11)
    at exports._exceptionWithHostPort (util.js:879:20)
    at WriteWrap.afterWrite (net.js:763:14)

here he the full display with node 5.5:
{ [Error: write EPIPE]
  code: 'EPIPE',
  errno: 'EPIPE',
  syscall: 'write',
  address: undefined }
Error: write EPIPE
    at Object.exports._errnoException (util.js:856:11)
    at exports._exceptionWithHostPort (util.js:879:20)
    at WriteWrap.afterWrite (net.js:763:14)
{ [Error: write EPIPE]
  code: 'EPIPE',
  errno: 'EPIPE',
  syscall: 'write',
  address: undefined }
Error: write EPIPE
    at Object.exports._errnoException (util.js:856:11)
    at exports._exceptionWithHostPort (util.js:879:20)
    at WriteWrap.afterWrite (net.js:763:14)

I just added console.log(error.stack) under the line console.log(error);


Provide IdentityServiceCollectionExtensions.AddIdentity

Currently, there is an AddIdentity<TUser, TRole> extension on IServiceCollection which registers bunch of stuff including Role related things. This is not convenient for implementations which don't support IRoleStore<TRole>. Providing AddIdentity<TUser> and only registering TUser related stuff would be nice.
Also, the sample application should use this extension rather than the other one.

Happy to PR for this if this sounds reasonable.

This also effects IdentityBuilder.

This is what I had to do now to get around this: https://github.com/tugberkugurlu/Identity/blob/9ba9408e62d7d72446cbf4fc15cf30966ac26557/samples/IdentitySample.Mvc/Startup.cs#L39-L72

Yeah this is the same issue as https://github.com/aspnet/Identity/issues/581.  We are considering it for RC2.  cc @divega

@HaoK awesome, thx!


change django install_requires version

Fix the django install)requires version in setup.py so that it allows versions of django 1.11.x
fixes #97

Coverage remained the same at 91.354% when pulling afc8a00b7bc4bcf2fb89c1ef2eda06dca01f6d53 on django-requires-fix into 7c6a7d2b93a78a3ce35af29ef45568333bf981da on master.


error:03000086:digital envelope routines::initialization error

Describe the bug
Going through the tutorial on a fresh install of Ubuntu 22.04 LTS. When I got to the Serving Locally section, I ran npm run start and got the following error:
><EMAIL_ADDRESS>start
> webpack-dev-server

ℹ ｢wds｣: Project is running at http://localhost:8080/
ℹ ｢wds｣: webpack output is served from /
ℹ ｢wds｣: Content not from webpack is served from /home/rick/_source/wasm/wasm-game-of-life/www
node:internal/crypto/hash:67
  this[kHandle] = new _Hash(algorithm, xofLen);
                  ^

Error: error:0308010C:digital envelope routines::unsupported
    at new Hash (node:internal/crypto/hash:67:19)
    at Object.createHash (node:crypto:133:10)
    at module.exports (/home/rick/_source/wasm/wasm-game-of-life/www/node_modules/webpack/lib/util/createHash.js:135:53)
    at NormalModule._initBuildHash (/home/rick/_source/wasm/wasm-game-of-life/www/node_modules/webpack/lib/NormalModule.js:417:16)
    at handleParseError (/home/rick/_source/wasm/wasm-game-of-life/www/node_modules/webpack/lib/NormalModule.js:471:10)
    at /home/rick/_source/wasm/wasm-game-of-life/www/node_modules/webpack/lib/NormalModule.js:503:5
    at /home/rick/_source/wasm/wasm-game-of-life/www/node_modules/webpack/lib/NormalModule.js:358:12
    at /home/rick/_source/wasm/wasm-game-of-life/www/node_modules/loader-runner/lib/LoaderRunner.js:373:3
    at iterateNormalLoaders (/home/rick/_source/wasm/wasm-game-of-life/www/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
    at Array.<anonymous> (/home/rick/_source/wasm/wasm-game-of-life/www/node_modules/loader-runner/lib/LoaderRunner.js:205:4)
    at Storage.finished (/home/rick/_source/wasm/wasm-game-of-life/www/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:43:16)
    at /home/rick/_source/wasm/wasm-game-of-life/www/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:79:9
    at /home/rick/_source/wasm/wasm-game-of-life/www/node_modules/graceful-fs/graceful-fs.js:78:16
    at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3) {
  opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
  library: 'digital envelope routines',
  reason: 'unsupported',
  code: 'ERR_OSSL_EVP_UNSUPPORTED'
}

Node.js v18.2.0

To Reproduce
Steps to reproduce the behavior:

Start at the beginning of the tutorial. Note: I already had the latest Rust tools installed, but I didn't have npm or Node.js.  So, I followed the instructions to install those without any issues.
Proceed through the tutorial until you get to the Serving Locally section.
Run the command npm run start.
See error mentioned above.

Expected behavior
Expected it be served locally so I could browse to it.
Additional context
I found this stackoverflow answer and was able to resolve my issue using this suggested workaround:
export NODE_OPTIONS=--openssl-legacy-provider

Just wanted to confirm that the solution @rickrain posted worked for me


Potential infinite recursion when executing schema:dump

Laravel Version
11.20.0
PHP Version
8.2.12
Database Driver & Version
MariaDB 10.6.16
Description
I noticed that the execution of
php artisan schema:dump

can potentially run into two infinite recursive loop here:
https://github.com/laravel/framework/blob/e1a9c5dcabb8cd49838648ddc34c5e5272e1a52c/src/Illuminate/Database/Schema/MySqlSchemaState.php#L155-L165
There's even a comment on StackOverflow, where a user ran into exactly this issue:
https://stackoverflow.com/questions/59410746/getting-mysqldump-error-unknown-variable-column-statistics-0-when-exporting#comment136792230_59442494
I am fine with recursion in general, but there needs to be some kind of fail-safe to catch infinit loops here, e.g. a max retry count. We can't rely on consistent output of mysqldump here.
Steps To Reproduce
TLDR:

Run composer create-project laravel/laravel column-statistics
Setup MySQL/MariaDB database connection
Set DB_USERNAME to a user that does not have the LOCK TABLES permission
Run php artisan schema:dump

Output:
> php artisan schema:dump
mysqldump: unknown variable 'column-statistics=0'
mysqldump: Got error: 1044: "Access denied for user 'test'@'%' to database 'test_database'" when using LOCK TABLES
mysqldump: Got error: 1044: "Access denied for user 'test'@'%' to database 'test_database'" when using LOCK TABLES
mysqldump: Got error: 1044: "Access denied for user 'test'@'%' to database 'test_database'" when using LOCK TABLES
mysqldump: Got error: 1044: "Access denied for user 'test'@'%' to database 'test_database'" when using LOCK TABLES
mysqldump: Got error: 1044: "Access denied for user 'test'@'%' to database 'test_database'" when using LOCK TABLES
# ...

Detailed Explanation:
There are for sure multiple ways of triggering an infinite recursion here, but the simplest way, that I have found, is to have the word column-statistics somewhere in the path of your working directory. Now, if any error is reported by mysqldump, it will result in an infinite loop, since the working directory is part of the error output that is being parsed here:
https://github.com/laravel/framework/blob/e1a9c5dcabb8cd49838648ddc34c5e5272e1a52c/src/Illuminate/Database/Schema/MySqlSchemaState.php#L155
In my case $e->getMessage() looked like this:
The command "mysqldump  --user="${:LARAVEL_LOAD_USER}" --password="${:LARAVEL_LOAD_PASSWORD}" --host="${:LARAVEL_LOAD_HOST}" --port="${:LARAVEL_LOAD_PORT}" --no-tablespaces --skip-add-locks --skip-comments --skip-set-charset --tz-utc "${:LARAVEL_LOAD_DATABASE}" --routines --result-file="${:LARAVEL_LOAD_PATH}" --no-data" failed.

Exit Code: 2(Misuse of shell builtins)

Working directory: C:\xampp\htdocs\column-statistics

Output:
================

Error Output:
================
mysqldump: Got error: 1044: "Access denied for user 'test'@'%' to database 'test_database'" when using LOCK TABLES

You're on a very old v11 version. Can you try updating all your dependencies with composer update -W and try again?

Version 11.1.4 is apparently the version number of laravel/laravel. For laravel/framework the version number is 11.20.0. I will adjust the version number above.
P.S.: I still ran composer update -W, just to be sure, nothing to update.

Hi, @FeBe95 I followed the steps, try to replicate the issue but was unsuccessful. My database version is MySQL 5.7, and the MySQL user has the following permissions:
GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, RELOAD, SHUTDOWN, PROCESS, FILE, REFERENCES, INDEX, ALTER, SHOW DATABASES, SUPER, CREATE TEMPORARY TABLES, EXECUTE, REPLICATION SLAVE, REPLICATION CLIENT, CREATE VIEW, SHOW VIEW, CREATE ROUTINE, ALTER ROUTINE, CREATE USER, EVENT, TRIGGER, CREATE TABLESPACE ON . TO ‘new_circle’@‘%’ WITH GRANT OPTION

When running php artisan schema:dump, I received the following messages:
mysqldump: [Warning] Using a password on the command line interface can be insecure.
mysqldump: [ERROR] unknown variable 'column-statistics=0'
mysqldump: [Warning] Using a password on the command line interface can be insecure.

   INFO  Database schema dumped successfully.

It's there anything I missed?

1. Replication
@rust17 I recreated a user with exactly the same grants as yours again (all except LOCK TABLES):
> SHOW GRANTS FOR 'test';

+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Grants for test@%                                                                                |
+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, RELOAD, SHUTDOWN, PROCESS, FILE, REFERENCES, INDEX, ALTER, SHOW DATABASES, SUPER, CREATE TEMPORARY TABLES, EXECUTE, REPLICATION SLAVE, REPLICATION CLIENT, CREATE VIEW, SHOW VIEW, CREATE ROUTINE, ALTER ROUTINE, CREATE USER, EVENT, TRIGGER, CREATE TABLESPACE ON *.* TO 'test'@'%' WITH GRANT OPTION |
+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+

and re-run php artisan schema:dump with the same results:
mysqldump: unknown variable 'column-statistics=0'
mysqldump: Got error: 1044: "Access denied for user 'test'@'%' to database 'test_database'" when using LOCK TABLES

Just to make sure, have you set DB_USERNAME=new_circle in your .env file?
2. Versions
Also, I can see that my output looks a bit different from yours. I suppose we are using different MySQL/MariaDB versions?
> mysql --version
mysql.exe Ver 15.1 Distrib 10.4.32-MariaDB, for Win64 (AMD64), source revision c4143f909528e3fab0677a28631d10389354c491

> mysqldump --version
mysqldump.exe  Ver 10.19 Distrib 10.4.32-MariaDB, for Win64 (AMD64)

3. Error Trigger
Regardless of that, LOCK TABLES is not really the issue here. I just used it to trigger an error in mysqldump during execution. This would then cause the infinite loop, if the directory itself contains column-statistics.
Basically any error, that is not caught by Laravel beforehand, will do - e.g. an incorrect password is always caught during initial setup of the PDO connection.
In Connector.php line 65:

  SQLSTATE[HY000] [1045] Access denied for user 'test'@'localhost' (using password: YES)

That's why I came up with removing the LOCK_TABLES grant for my user. Laravel wouldn't check this beforehand, but mysqldump would fail (at least on my machine).

Just to make sure, have you set DB_USERNAME=new_circle in your .env file?

Yes. The .env file is as bellow:
DB_CONNECTION=mysql
DB_HOST=<IP_ADDRESS>
DB_PORT=3306
DB_DATABASE=laravel
DB_USERNAME=new_circle
DB_PASSWORD=password

My MySQL version, I think is basically same as yours according to this:

> mysql --version
mysql  Ver 14.14 Distrib 5.7.42, for Linux (x86_64) using  EditLine wrapper

> mysqldump --version
mysqldump  Ver 10.13 Distrib 5.7.42, for Linux (x86_64)

On my machine, mysqldump report error as bellow, but will not result in an infinite loop:

mysqldump: [ERROR] unknown variable 'column-statistics=0'

May it's due to the Windows platform? Unfortunately, I don’t have a Windows environment right now, can’t replicate the issue.

Hm, that's odd...
Regardless, the potential infinite recursion should also be noticeable by looking at the code directly, without any execution at all:
https://github.com/laravel/framework/blob/e1a9c5dcabb8cd49838648ddc34c5e5272e1a52c/src/Illuminate/Database/Schema/MySqlSchemaState.php#L155-L159
Let's convert these lines to pseudo code. For context: This code is executed, whenever mysqldump exists unexpectedly.
Pseudo Code:
IF error message contains either "column-statistics" or "column_statistics" THEN
    remove " --column-statistics=0" from the command line and recursively execute the dump command again
END IF

This code could potentially result in an infinite recursion, whenever the removal of the flag does not fix the actual error.
In my forced example the error message contains
'column-statistics'

but not exactly
' --column-statistics=0'

Here the actual error does not complain about an unknown flag, but is completely unrelated, while the error output happens to contain the searched string (as a working directory).

Same goes for the second check further below:
https://github.com/laravel/framework/blob/e1a9c5dcabb8cd49838648ddc34c5e5272e1a52c/src/Illuminate/Database/Schema/MySqlSchemaState.php#L161-L165
mysqldump might report something completely unrelated about set-gtid-purged. Re-running the command without the  --set-gtid-purged=OFF flag might not fix the problem - again resulting in an infinite loop.
In my case I forced this by naming my directory column-statistics, because the error message of mysqldump will also contain the working directory in its output (see "Detailed Explanation" in the issue's description above).

Yes! That is exactly what I meant. 😊
Regarding your solution: The working directory is only one possible cause, that I came up with for the sake of this issue. There are other possible causes for an infinite loop besides the working directory though.
For example, mentioned here on StackOverflow, one can create a config file for mysqldump located in the user folder. If this file contains column-statistics=0, the execution would then again fail with the same error, regardless of Laravel using or omitting the flag.
I know, these issues might be somewhat unlikely to happen, but I think having even the sightliest possibility to run in an infinite loop somewhere in the code is "bad design".
So excluding the working directory from the error message is a step in the right direction, but I would advocate preventing any infinite loop here, by e.g. introducing a MAX_RETRIES constant or something similar.

Thanks. To make this code more robust, it's better to add some logic to ensure that the recursion has a clear stopping point. I’ll try to submit a pull request for this.

Thanks @rust17


[Feature]Add MultiTaskHead to support multi-task training

Motivation :
To support using a single backbone to perform multiple classification tasks.
Actual :
the heads in mmcls used for a single task, we cannot group different heads for different tasks
Expected :
Create a unit test :
create a unit test to verify that the head can take the following format as an argument and use the head corresponds to each task with the same backbone :
    head=dict(
        type='MultiTaskHead',                                    # <- Head config, depends on #675
        sub_heads={
            'task1': dict(type='LinearClsHead', num_classes=3),
            'task2': dict(type='LinearClsHead', num_classes=6),
        },
        common_cfg=dict(
        in_channels=1280,
            loss=dict(type='CrossEntropyLoss', loss_weight=1.0),
        ),
    )

once the test is created, implement the code for multi_task_head

@marouaneamz I feel you could call it 'MultiTaskHead'

@marouaneamz I feel you could call it 'MultiTaskHead'

you are right, i corrected it


Devtools integration?

This is mentioned once in Readme ("Wrapping functions with action() can track who changed the store in the log and DevTools.") but no further info is given. What devtools is this?

I added a link. 43653c2
Thanks


Connecting To a Kerberos Secured Hadoop

I have Exasol version 7 installed and I'm through DBVisualizer I'm trying to make a virtual shema and connect to Impala.
I've been following this instructions:
https://github.com/exasol/virtual-schemas/blob/master/doc/dialects/impala.md
I have all the data needed:
Kerberos principal for Hadoop (i.e., Hadoop user)
Kerberos configuration file path (e.g., krb5.conf) - stored locally on my laptop
Kerberos keytab file path, which contains keys for the Kerberos principal - stored locally on my laptop
JDBC connection string
This is the syntax I used:
CREATE SCHEMA BD_IMP_ADAPTER;
--/
CREATE OR REPLACE JAVA ADAPTER SCRIPT BD_IMP_ADAPTER.BD_ADAPTER AS
%scriptclass com.exasol.adapter.RequestDispatcher;
%jar /buckets/bfsdefault/jars/virtual-schema-dist-7.0.0-bundle-4.0.4.jar;
%jar /buckets/bfsdefault/jars/ImpalaJDBC41.jar;
/
;
CREATE OR REPLACE CONNECTION IMPALA_CONNECTION TO 'jdbc:impala://:;AuthMech=1;KrbRealm=EXAMPLE.COM;KrbHostFQDN=host.example.com;KrbServiceName=impala'
USER<EMAIL_ADDRESS>IDENTIFIED BY 'ExaAuthType=Kerberos;long string of letters and numbers';
Is there any difference if I use IP adress instead of server name?
I get an error message while creating virtual shema:
[Code: 0, SQL State: 22002]  VM error: F-UDF-CL-LIB-1126: F-UDF-CL-SL-JAVA-1006: F-UDF-CL-SL-JAVA-1026:
com.exasol.ExaUDFException: F-UDF-CL-SL-JAVA-1068: Exception during singleCall adapterCall
com.exasol.adapter.jdbc.RemoteMetadataReaderException: Unable to create Impala remote metadata reader. Caused by: [Cloudera]ImpalaJDBCDriver Error creating login context using ticket cache: Unable to obtain Principal Name for authentication .
com.exasol.adapter.dialects.impala.ImpalaSqlDialect.createRemoteMetadataReader(ImpalaSqlDialect.java:127)
com.exasol.adapter.dialects.AbstractSqlDialect.readSchemaMetadata(AbstractSqlDialect.java:138)
com.exasol.adapter.jdbc.JdbcAdapter.readMetadata(JdbcAdapter.java:56)
com.exasol.adapter.jdbc.JdbcAdapter.createVirtualSchema(JdbcAdapter.java:33)
com.exasol.adapter.RequestDispatcher.dispatchCreateVirtualSchemaRequestToAdapter(RequestDispatcher.java:110)
com.exasol.adapter.RequestDispatcher.processRequest(RequestDispatcher.java:70)
com.exasol.adapter.RequestDispatcher.executeAdapterCall(RequestDispatcher.java:52)
com.exasol.adapter.RequestDispatcher.adapterCall(RequestDispatcher.java:41)
com.exasol.ExaWrapper.runSingleCall(ExaWrapper.java:100)
Caused by: java.sql.SQLException: [Cloudera]ImpalaJDBCDriver Error creating login context using ticket cache: Unable to obtain Principal Name for authentication .
I have read that I need to use the JAAS Java API.
After the JDK installation is there anything else i need to configure?
Thank you in advance!
Goran

Hello @gcekol,
Thanks for the feedback!
From your scripts, you are using our Virtual Schema adapter to connect to Hadoop.
Could you please open the issue in Virtual Schema project? Me or one of my colleagues will try to help there :)
This is for importing data from Hadoop/Hive clusters.

Yes, of course.
Thank you!
Goran
On Wed, Nov 25, 2020, 11:33 Muhammet Orazov<EMAIL_ADDRESS>wrote:

Hello @gcekol https://github.com/gcekol,
Thanks for the feedback!
From your scripts, you are using our Virtual Schema adapter to connect to
Hadoop.
Could you please open the issue in Virtual Schema
https://github.com/exasol/virtual-schemas project? Me or one of my
colleagues will try to help there :)
This is for importing data from Hadoop/Hive clusters.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/exasol/hadoop-etl-udfs/issues/54#issuecomment-733620778,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIQ2YIISJBXDTFQ5XAPSJHDSRTMPHANCNFSM4UCGD7PA
.

Moved to https://github.com/exasol/virtual-schemas/issues/415


Devicelab bot Mac17 in staging env fails tasks frequently

For example:
https://luci-milo.appspot.com/p/flutter/builders/prod/Mac_android_staging platform_interaction_test/3?
Details:
[platform_interaction_test] [STDOUT] stderr: [+5036 ms] VMServiceFlutterDriver: get_text message is taking a long time to complete...
[platform_interaction_test] [STDOUT] stdout: [+24598 ms] 00:34 +0 -1: channel suite step through [E]
[platform_interaction_test] [STDOUT] stdout: [   +1 ms]   TimeoutException after 0:00:30.000000: Test timed out after 30 seconds. See https://pub.dev/packages/test#timeouts
[platform_interaction_test] [STDOUT] stdout: [  +21 ms]   package:test_api/src/backend/invoker.dart 318:28  Invoker._handleError.<fn>
[platform_interaction_test] [STDOUT] stdout: [        ]   dart:async/zone.dart 1346:47                      _rootRun
[platform_interaction_test] [STDOUT] stdout: [        ]   dart:async/zone.dart 1258:19                      _CustomZone.run
[platform_interaction_test] [STDOUT] stdout: [        ]   package:test_api/src/backend/invoker.dart 316:10  Invoker._handleError
[platform_interaction_test] [STDOUT] stdout: [        ]   package:test_api/src/backend/invoker.dart 272:9   Invoker.heartbeat.<fn>.<fn>
[platform_interaction_test] [STDOUT] stdout: [        ]   dart:async/zone.dart 1354:13                      _rootRun
[platform_interaction_test] [STDOUT] stdout: [        ]   dart:async/zone.dart 1258:19                      _CustomZone.run
[platform_interaction_test] [STDOUT] stdout: [        ]   package:test_api/src/backend/invoker.dart 271:38  Invoker.heartbeat.<fn>
[platform_interaction_test] [STDOUT] stdout: [        ]   dart:async-patch/timer_patch.dart 18:15           Timer._createTimer.<fn>
[platform_interaction_test] [STDOUT] stdout: [        ]   dart:isolate-patch/timer_impl.dart 395:19         _Timer._runTimers
[platform_interaction_test] [STDOUT] stdout: [        ]   dart:isolate-patch/timer_impl.dart 426:5          _Timer._handleMessage
[platform_interaction_test] [STDOUT] stdout: [        ]   dart:isolate-patch/isolate_patch.dart 184:12      _RawReceivePortImpl._handleMessage

Manually did:
adb shell pm list packages -f | awk '{split($0,a,"="); print a[2]}' | xargs -I % adb shell pm clear %
adb shell pm list packages -f | grep '/data/app/com.example\|/data/app/com.yourcompany\|flutter' | awk '{split($0,a,"="); print a[2]}' | xargs -I % adb shell pm uninstall %
adb reboot
A rerun of flutter_view__start_up on Mac17 got stuck at Waiting for application to render first frame...:
https://luci-milo.appspot.com/ui/p/flutter/builders/prod/Mac_android_staging flutter_view__start_up/5/steps?succeeded=true&debug=false

Manually did:
adb shell pm list packages -f | awk '{split($0,a,"="); print a[2]}' | xargs -I % adb shell pm clear %
adb shell pm list packages -f | grep '/data/app/com.example\|/data/app/com.yourcompany\|flutter' | awk '{split($0,a,"="); print a[2]}' | xargs -I % adb shell pm uninstall %
adb reboot
A rerun of flutter_view__start_up on Mac17 got stuck at Waiting for application to render first frame...:
https://luci-milo.appspot.com/ui/p/flutter/builders/prod/Mac_android_staging flutter_view__start_up/5/steps?succeeded=true&debug=false

We need to disable sleep mode and potentially add it to the salt states.

We need to disable sleep mode and potentially add it to the salt states.

Seems like the real issue was the phone screen sleep mode as now all the tasks are passing. @keyonghan can you please document the commands you run for that and add them to the salt states for mac_android?

Seems like the real issue was the phone screen sleep mode as now all the tasks are passing. @keyonghan can you please document the commands you run for that and add them to the salt states for mac_android?

Documented the command to internal doc, and also added to salt.

Documented the command to internal doc, and also added to salt.


Leaving the game while waiting for best play causes another play list

I left two games while they were waiting for the Tsar to choose the best play, and in both cases PAH sent the play list again, suggesting that I'd been holding up the game.

154832 <@Dominic> AgainstHumanity: dealmeout
154833 <+AgainstHumanity> Dominic: Okay, you've been dealt out of the game.
154833 <+AgainstHumanity> Dominic: If you want to join in again later then type "AgainstHumanity: deal me in"
154833 <+AgainstHumanity> Now that Dominic was dealt out, all the plays are in. No more changes!
154833 <+AgainstHumanity> moggers87: Which is the best play?

Ideally, the bot would defer resignations until the end of the round anyway (#91).

The wording could stand some change but as @zuzak points out:

well it had to take your card out of the running, I guess

the issue being that if it doesn't list off the plays again, the sequence number of the plays will change without anyone being aware.
At the moment the sequence number is completely randomised, but even if the pre-resignation numbers were retained they would still all shift down by one, and so a new list would still need to be displayed.
Clearly #91 is the better fix, though rather harder…
So it's just a matter of whether it's worth tweaking the text, before #91 can be done.


Pin APIparser required packages to known working versions

Workaround to unblock JS pipeline failure when installing APIView parser.

/azp run

/azp run js - core - ci

/azp run js - template - ci


Detect unhandled promise rejections

When working with promises, one important aspect of them is that an unhandled rejected promise is an error. However, V8 will drop notifications by default.
I think that mini_racer should consider this an error and raise an exception, though possibly it should be configurable how these are handled (e.g. via a callback where the user can decide to re-raise?).
To do so, it's necessary to register for unhandled promise rejections via SetPromiseRejectCallback.
The callback will receive a PromiseRejectMessage that should probably (by default) raise a exception in ruby, although I suppose it could be configurable.

Comparisons for reference:
Running this code:
var x = async () => { throw "failure"; };
var y = async () => { x() /* ignore the rejected result */ };
y().then(() => console.log("done")).catch(e => console.log(e));

In node:
> var x = async () => { throw "failure"; }; var y = async () => { x() /* ignore the rejected result */ }; y().then(() => console.log("done")).catch(e => console.log(e));
Promise {
  <pending>,
  domain:
   Domain {
     domain: null,
     _events:
      { removeListener: [Function: updateExceptionCapture],
        newListener: [Function: updateExceptionCapture],
        error: [Function: debugDomainError] },
     _eventsCount: 3,
     _maxListeners: undefined,
     members: [] } }
> done
(node:83056) UnhandledPromiseRejectionWarning: failure
(node:83056) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 3)

In chrome:
var x = async () => { throw "failure"; }; var y = async () => { x() /* ignore the rejected result */ }; y().then(() => console.log("done")).catch(e => console.log(e));
VM131:1 done
Promise {<resolved>: undefined}
VM131:1 Uncaught (in promise) failure

In mini_racer:
irb(main):001:0> require 'mini_racer'
=> true
irb(main):002:0> vm = MiniRacer::Context.new
=> #<MiniRacer::Context:0x00007ff4350f1438 @functions={}, @timeout=nil, @max_memory=nil, @current_exception=nil, @isolate=#<MiniRacer::Isolate:0x00007ff4350f12f8 @lock=#<Thread::Mutex:0x00007ff4350f12a8>>, @disposed=false, @callback_mutex=#<Thread::Mutex:0x00007ff4350f1280>, @callback_running=false, @thread_raise_called=false, @eval_thread=nil>
irb(main):003:0> vm.attach('console.log', proc{ |*args| puts('LOG> ' + args.map(&:to_s).join(' ')) })
=> #<MiniRacer::Context::ExternalFunction:0x00007ff43602b1b0 @name="log", @callback=#<Proc:0x00007ff43602b200@/usr/local/lib/ruby/gems/2.5.0/gems/mini_racer-0.1.15/lib/mini_racer.rb:201 (lambda)>, @parent=#<MiniRacer::Context:0x00007ff4350f1438 @functions={"console.log"=>#<MiniRacer::Context::ExternalFunction:0x00007ff43602b1b0 ...>}, @timeout=nil, @max_memory=nil, @current_exception=nil, @isolate=#<MiniRacer::Isolate:0x00007ff4350f12f8 @lock=#<Thread::Mutex:0x00007ff4350f12a8>>, @disposed=false, @callback_mutex=#<Thread::Mutex:0x00007ff4350f1280>, @callback_running=false, @thread_raise_called=false, @eval_thread=nil>, @parent_object_eval="if (typeof console === 'undefined') { console = {} };\nconsole;", @parent_object="console">
irb(main):004:0> vm.eval('var x = async () => { throw "failure"; }; var y = async () => { x() /* ignore the rejected result */ }; y().then(() => console.log("done")).catch(e => console.log(e));')
LOG> done
=> {}
irb(main):005:0>

Perhaps an option on Context.new?
MiniRacer::Context.new(raise_on_async: true)

I am mixed on default on or off here. can you start with a PR for default off (plus readme update) and then we can decide on behavior change later on?

I can work on that, but I'm not at all familiar with building ruby gems and only somewhat familiar with the v8 API, so it will be a while before I can get around to providing a PR.  I don't have a strong opinion on whether it's an option and what the default the default should be.

I think if we go default off, its very easy to make the change without touching any c code, we just attach a function and eval in the handling.
I am also very mixed on what the best default is, a minimum here though is having the option


[Azure Search] Remove InternalsVisibleTo

FYI @arv100kri @ishansrivastava90 @updixit @shmed @natinimni @chidozieononiwu @shahabhijeet
Based on feedback from @weshaggard, I decided to bite the bullet and get rid of InternalsVisibleTo in the Azure Search data plane SDK (also, at one point InternalsVisibleTo had broken the build due to signing issues, but that has since been resolved).
Here's a summary of the changes:

Made constructors for facets public (seemed good for customers anyway, since it makes unit testing easier).
Added test hooks for SearchContinuationToken tests. This seemed better than making its members and constructor public, since its whole reason for being is encapsulation.
Removed the test coverage for SearchParameters.ToRequest, SuggestParameters.ToRequest, and AutocompleteParameters.ToRequest (the latter I also changed from an extension method to an instance method). This test coverage was redundant and unnecessary, given how simple those methods are. It was a better option than making their return types public.
Added test hooks for creating the SDK's custom JsonConverters.
Factored out $select=* and Geo-JSON handling into public methods to make them testable.
This is incidental to the InternalsVisibleTo change, but I renamed the custom JsonConverter classes to make them more self-describing.
Bumped patch version to 9.0.2. I don't think any of these changes are breaking, but if folks spot problems, please let me know. It's probably moot anyway since we have SDK changes pending that will bump our major version number (just not in this PR).

@brjohnstmsft perhaps I missed it but I don't see where you removed the InternalsVisibleTo attribute from the project.

@weshaggard It was in AssemblyInfo.cs, which I deleted.

@weshaggard It was in AssemblyInfo.cs, which I deleted.

I missed it. github search isn't the greatest :)


Allow configuration of Camunda Webapp base path

It should be allowed to configure/change the base path. Currently the Webapp is automatically always bound to /app/*.

I actually tried to change this behavior hard coded in the camunda-bpm-spring-boot-starter-webapp - but failed. Whenever I change the mappings there - nothing is working any more.
Either there is still some hard coded piece anywhere I haven't found yet (or some weird code expecting to have the same mapping than path in the webjar?).
Or somehow Spring needs the mapping to be the path in the webjar.
Or?
Anybody can shed some light on this?

I will close this, because its a duplicate of #150.
I think what you are looking for is https://github.com/camunda/camunda-bpm-spring-boot-starter/blob/master/extension/starter-webapp/src/main/java/org/camunda/bpm/spring/boot/starter/webapp/CamundaBpmWebappAutoConfiguration.java
@Override
  public void addResourceHandlers(ResourceHandlerRegistry registry) {
    registry.addResourceHandler("/lib/**").addResourceLocations("classpath:/lib/");
    registry.addResourceHandler("/api/**").addResourceLocations("classpath:/api/");
    registry.addResourceHandler("/app/**").addResourceLocations("classpath:/app/");
    super.addResourceHandlers(registry);
  }

  @Override
  public void addViewControllers(ViewControllerRegistry registry) {
    if (isIndexRedirectEnabled) {
      registry.addRedirectViewController("/", "/app/");
    }
    super.addViewControllers(registry);
  }

Agreed on the duplicate. Not agreed on the code snippet - that's exactly what I tried and it does not work


With HA 2023.4 Failed to validate CalendarEvent: Expected all values to have a timezone

Describe the bug
Version installed currently is V12.3.1
Pre 2023.4 the calendar entries were working as described with upto 2 High tides and 2 low tides being added to the calendar,
all other functions of the worldtidesinfocustom are working as stated and as configured from the UI only. (no yaml configurations made).
Settings -> Systems -> Logs has an error of:
Logger: homeassistant.helpers.entity
Source: components/calendar/init.py:353
First occurred: April 16, 2023 at 2:41:16 PM (356 occurrences)
Last logged: 12:41:26 PM
Update for calendar.stoney_point_tides fails
Update for calendar.stony_point_pier fails
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/voluptuous/schema_builder.py", line 272, in __call__
    return self._compiled([], data)
  File "/usr/local/lib/python3.10/site-packages/voluptuous/validators.py", line 229, in _run
    return self._exec(self._compiled, value, path)
  File "/usr/local/lib/python3.10/site-packages/voluptuous/validators.py", line 355, in _exec
    raise e if self.msg is None else AllInvalid(self.msg, path=path)
  File "/usr/local/lib/python3.10/site-packages/voluptuous/validators.py", line 353, in _exec
    v = func(path, v)
  File "/usr/local/lib/python3.10/site-packages/voluptuous/schema_builder.py", line 818, in validate_callable
    return schema(data)
  File "/usr/src/homeassistant/homeassistant/components/calendar/__init__.py", line 89, in validate
    raise vol.Invalid("Expected all values to have a timezone")
voluptuous.error.Invalid: Expected all values to have a timezone

During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/calendar/__init__.py", line 351, in __post_init__
    CALENDAR_EVENT_SCHEMA(dataclasses.asdict(self, dict_factory=skip_none))
  File "/usr/local/lib/python3.10/site-packages/voluptuous/schema_builder.py", line 276, in __call__
    raise er.MultipleInvalid([e])
voluptuous.error.MultipleInvalid: Expected all values to have a timezone

The above exception was the direct cause of the following exception:
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 550, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 755, in async_device_update
    raise exc
  File "/config/custom_components/worldtidesinfocustom/calendar.py", line 272, in async_update
    event = CalendarEvent(
  File "<string>", line 11, in __init__
  File "/usr/src/homeassistant/homeassistant/components/calendar/__init__.py", line 353, in __post_init__
    raise HomeAssistantError(
homeassistant.exceptions.HomeAssistantError: Failed to validate CalendarEvent: Expected all values to have a timezone

To Reproduce

Add a HA Calendar and confirm you can add event to this calendar.
Install from HACS worldtidesinfocustom.
reboot HA
Obtain a pre-paid API key.
Goto Settings -> Devices & Services.  Add worldtidesinfocustom
Configure using the UI
Determine that data is being returned from the Tides service and the API is working.
Attempt to see events in the HA Calendar for the Tide entity you have configured.
Error is displayed in the calendar. "Could not retrieve events for calendars: Stoney Point Tides".

Expected behavior
As it was described on Github page.
Screenshots
Error message on HA Calendar screen:

Image of Entity screen and sensors.

Desktop (please complete the following information):

OS: [e.g. iOS]. macOS 13.2.1 (22D68)
Browser: Safari
Version [e.g. 22]. Version 16.3 (186<IP_ADDRESS>.6)

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.
I am in the Southern Hemisphere, and worldtidesinfocustom was installed when we were in (AEDT) UTC+11 timezone, were are now in (AEST) UTC+10.
Reloaded the V12.3.1 with HA 2023.4.4 and rebooted.
Did not remove image only reloaded it so none of the .storage configs would have been altered.
Added a second instance of worldtidesinfocustom with a different tidal point but still same error with calendar.
Running on:
Home Assistant 2023.4.4
Supervisor 2023.04.0
Operating System 9.5
Frontend 20230411.1 - latest
Running on a  Raspberry Pi 3
Anythings I can add, I am happy to provide.
See also Github:  https://github.com/Antoni-Czaplicki/vulcan-for-hassio/issues/42  as it would seem to similar problem for HA calendar.

Thanks a lot for your well described issue.
I will see if on my side , I got the same thing in order to see how to solve it.

Updated only,  world tide info custom : 12.3.2 on Home Assistant 2023.4.4
Settings -> Systems -> Logs  reported No errors for 12.3.2
Enabled calendar entries for 12.3.2 tides: Information is now being reported in calendar with out error.
Confirmed Tide times aligned in Calendar and in information reported in cameras _plot_picture and _long_plot_picture
example of calendar attached

I would say this issue is resolved with my thanks for the great work.
Please close unless there is more that you would like me to test, report, provide feedback on.
Cheers & G'day to you.

Thanks a lot @Canonfodda
Have good week end


Security fix: defend against zip bombs.

websockets 4.0 was vulnerable to denial of service by memory exhaustion because it didn't enforce max_size when decompressing compressed messages.

I'm requesting a CVE for this issue.

Same fix in Tornado: https://github.com/tornadoweb/tornado/pull/2391


smaller track_batch_size might be needed

kept getting
rdioapi.RdioProtocolException: RdioProtocolException 408: "timeout from forwarder"

until I changed track_batch_size to 100.

Done! See commit 2e5166. Thanks for the suggestion!


fix: supports multiple rename-commands

This close #1040

https://github.com/apache/incubator-kvrocks/blob/debd8988d6f6978593ad35b7e06d0c3e773ee825/src/config/config.cc#L767-L771
Since ALL MultiStringField cannot be rewritten, so I think you need to change it to something like
if (iter->second.IsMulti())

in case of someone use MultiStringField but forget to include the config key in this check.

https://github.com/apache/incubator-kvrocks/blob/debd8988d6f6978593ad35b7e06d0c3e773ee825/src/config/config.cc#L767-L771
Since ALL MultiStringField cannot be rewritten, so I think you need to change it to something like
if (iter->second.IsMulti())

in case of someone use MultiStringField but forget to include the config key in this check.

Yes, that's right.

Thanks @tanruixiang @PragmaTwice, merging...


use any rather than {} for property $data and $options

the case is:
vue.$data.something = 1;

And I want to change class Vue to Vue<Tdata>,so data's type can be set , something like:
export class Vue <Tdata>{
    data: Tdata;
    $data: Tdata;
}

Is that OK?

thanks mate!


Kubernetes Receiver is missing the Observability Access Token

Description
When deploying the chart, the Kubernetes receiver is stuck on CrashBackOffLoop because of the chart not initializing the access token.
What fixed this issue was to copy the platform token and add a new section to the deployment file:
        - name: SPLUNK_OBSERVABILITY_ACCESS_TOKEN **added**
          valueFrom:
            secretKeyRef:
              name: splunk-otel-collector
              key: splunk_platform_hec_token
        - name: SPLUNK_PLATFORM_HEC_TOKEN **original**
          valueFrom:
            secretKeyRef:
              name: splunk-otel-collector
              key: splunk_platform_hec_token

Steps to Reproduce
Add the following values in the values.yaml
Expected Result
2023/05/04 19:12:09 settings.go:332: Set config to [/conf/relay.yaml]
2023/05/04 19:12:09 settings.go:385: Set ballast to 165 MiB
2023/05/04 19:12:09 settings.go:401: Set memory limit to 450 MiB
2023-05-04T19:12:10.193Z	info	service/telemetry.go:92	Setting up own telemetry...
2023-05-04T19:12:10.193Z	info	service/telemetry.go:149	Serving Prometheus metrics	{"address": "<IP_ADDRESS>:8889", "level": "Basic"}
2023-05-04T19:12:10.194Z	info	memorylimiterprocessor@v0.76.1/memorylimiter.go:113	Memory limiter configured	{"kind": "processor", "name": "memory_limiter", "pipeline": "logs/events", "limit_mib": 450, "spike_limit_mib": 90, "check_interval": 2}
2023-05-04T19:12:10.197Z	info	service/service.go:129	Starting otelcol...	{"Version": "v0.76.0", "NumCPU": 16}

Actual Result
2023/05/04 19:12:09 settings.go:332: Set config to [/conf/relay.yaml]
2023/05/04 19:12:09 settings.go:385: Set ballast to 165 MiB
2023/05/04 19:12:09 settings.go:401: Set memory limit to 450 MiB
error: invalid configuration: exporters::signalfx: requires a non-empty "access_token"

SPLUNK_OBSERVABILITY_ACCESS_TOKEN
Chart version
0.75.0
Environment information
Environment
k8s version: v1.23.12
Chart configuration
splunkPlatform:
  accessToken: "token-here"
  logsEnabled: true

splunkObservability:
  logsEnabled: true
  infrastructureMonitoringEventsEnabled: true
  accessToken: "token-here"

clusterReceiver:
  k8sObjects:
    - name: pods
      mode: pull
      field_selector: status.phase=Running
      interval: 15m
    - name: events
      mode: watch
      group: events.k8s.io
      namespaces: [default]

Log output
No response
Additional context
No response

Hey @alex-g-tejada,
Can you verify you are setting the required value splunkObservability.realm?

Hey @jvoravong is this required if I'm using splunk cloud or a on-prem enterprise instance?

Closing this issue for now. If needed, feel free to reopen it.


feat: Use remote-debugging-address in devtools

Description of Change
Devtools only allows a port to be set using remote-debugging-port and the address defaults to localhost.
A setting exists to specify an address, which allows <IP_ADDRESS> to be used for remote debugging. This switch
"remote-debugging-address" is only available in headless mode.
This PR contains changes to allow devtools to use remote-debugging-address and modifies
TCPServerSocketFactory to use it.
An extra test case has been added to chromium-spec.ts to test the new functionality.
Checklist

[ ] PR description included and stakeholders cc'd
[ ] npm test passes
[ ] tests are changed or added
[ ] relevant documentation, tutorials, templates and examples are changed or added
[ ] PR release notes describe the change in a way relevant to app developers, and are capitalized, punctuated, and past tense.

Release Notes
Notes:

If you move the kRemoteDebuggingAddress into ./shell/common/options_switches.h and update ./docs/api/command-line-switches.md to include this, this can be accepted on upstream.

Command line switch kRemoteDebuggingAddress is an existing Chromium flag in headless_shell_switches.h. In our builds we don't compile headless, so I duplicated it in content_switches.h & content_switches.cc. Therefore, potentially it maybe accepted upstream if we patched headless_shell_switches.h & headless_shell_switches.cc, removed the duplicate flag and instead add a reference to it under the "// Switches which are replicated from content." section.
However, putting the flag in the Electron options_switches.h, seems like it would not be accepted as it isn't an Electron only switch.


Update syntax to support Swift 3 & Xcode 8 GM

As Xcode 8 GM still tells you about build errors only when it feels like it, I've discovered a few more changes necessary. Closing this pull request, and will re-open another soon.


Last table in each control family not displaying in fedramp-moderate

http://fedramp-ssp.netlify.com/fedramp_moderate/
Last control in each family is not displaying as a table. For example, AC-22, AT-4, AU-12, etc. Control implementation table ends up looking like this:
|AU-12 What is the solution and how is it implemented?| |—| |Part a| |Part b| |Part c| — title: Security Assessment and Authorization (CA) —
It's previewing properly in my md previewer locally, so it might be a problem with the renderer where it's hosted which I'm less familiar with.

I realized there's a presentation difference between my reader (Atom w/ MarkdownPreview) and GitHub's Markdown flavor.
I pushed an update resolving some tags that weren't properly closed. Have a look.


Release Google.Cloud.CloudControlsPartner.V1 version 1.1.0

Changes in this release:
New features

Field behavior for field customer_onboarding_state in message .google.cloud.cloudcontrolspartner.v1.Customer is changed (commit e63d70b)
Field behavior for field is_onboarded in message .google.cloud.cloudcontrolspartner.v1.Customer is changed (commit e63d70b)
A new value ACCESS_TRANSPARENCY_LOGS_SUPPORT_CASE_VIEWER is added to enum .google.cloud.cloudcontrolspartner.v1.PartnerPermissions.Permission (commit e63d70b)

Documentation improvements

A comment for field display_name in message .google.cloud.cloudcontrolspartner.v1.Customer is changed (commit e63d70b)
Mark the accessApprovalRequests.list method as deprecated (commit 74dcad9)

Created release for Google.Cloud.CloudControlsPartner.V1-1.1.0


docker-compose build 报错

Step 1/7 : FROM java:8
manifest for java:8 not found: manifest unknown: manifest unknown
ERROR: Service 'campus-server' failed to build : Build failed

Step 1/7 : FROM java:8
manifest for java:8 not found: manifest unknown: manifest unknown
ERROR: Service 'campus-server' failed to build


typo in variable substitutions

for some reason this typo prevented both substitutions in the final string...
hotfix, please delete source branch once merged

merged and deleted source branch


Pausing named queues

This is more of an enterprise feature, but i think it might be nice to be able to pause individual named queues. Like, if a piece of faulty code enqueues a million bad jobs, you could just pause the named queue, remove all bad jobs, fix the code, and resume normal operation afterwards.

It is now possible to pause individual workers. https://github.com/kraih/minion/commit/4018ff73734764f695afed3925eb83dc3afccef2

Think this is covered pretty well by worker remote control commands now. https://github.com/kraih/minion/commit/4054eac5823fd8bdf6b6c0bf4735af3d1d28ee85


Image transform scale property

Setting the transform scale property in<EMAIL_ADDRESS>does not appear to have any effect.
`           Note that the following Image component is imported from react-native-svg (not react):
      <Image
          x="20"
          y="20"
          width="50%"
          height="50%"
          href={require('./image.png')}
          transform="scale(0.5, 0.5)"
      />

Did you try
transform={{scale:'0.5, 0.5'}}

Agreed, testing with drawing circles of radius 10 at random positions with transform matrix [1,0,0,1,rand.x,rand.y] yields circles of radius 10 but at origin (0,0), and using transform matrix [4,0,0,4,rand.x,rand.y] yields exactly the same, circles of radius 10 at origin.  Neither matrix translated or scaled the graphics objects.  Shame really.  I dug through the code to see if I could pass it through to the underlying device libs, but I'm new to RN and have never coded for Android or iOS before a month ago.

Try my fork/pull request: https://github.com/react-native-community/react-native-svg/pull/430

@dk0r @0mkara @awreese I've now ported almost all the fixes from android to ios here: #430
npm i -s react-native-svg@https://github.com/msand/react-native-svg.git#13d5157

New version published with support for this.


omni_listtransactions method returns empty array

Hi!

I've installed the Omnicore daemon.

Started the testnet. Got synced blockchain.

Genereated new addresses using getnewaddress method. Got 10 addresses.

For one of them (miYN8oirbN3QAUcpD3MkKuwDyJ78f6DRu5) asked bitcoin test coins(here https://testnet.coinfaucet.eu/en/). Got coins:
{    "account": "",    "address": "miYN8oirbN3QAUcpD3MkKuwDyJ78f6DRu5",    "category": "receive",    "amount": 0.92676139,    "label": "",    "vout": 0,    "confirmations": 18,    "blockhash": "00000000000eb69816dc17ec0952c88a6031d96afe6e13f8818332b873c90cba",    "blockindex": 88,    "blocktime":<PHONE_NUMBER>,    "txid": "1018a84dde70a757b3aab4a0b0ea7c294ddaa872310211f235386a3e45e10777",    "walletconflicts": [],    "time":<PHONE_NUMBER>,    "timereceived":<PHONE_NUMBER>,    "bip125-replaceable": "no"  },
{    "account": "",    "address": "miYN8oirbN3QAUcpD3MkKuwDyJ78f6DRu5",    "category": "receive",    "amount": 1.16903461,    "label": "",    "vout": 0,    "confirmations": 16,    "blockhash": "00000000000001db0860899e7e00a167a5734689b058f40cd85979691bdadc64",    "blockindex": 104,    "blocktime":<PHONE_NUMBER>,    "txid": "ed40097c75f5aedf7595c4cafddaaf4f4e1a0ce4aac62970f9fd442aa9962fb2",    "walletconflicts": [],    "time":<PHONE_NUMBER>,    "timereceived":<PHONE_NUMBER>,    "bip125-replaceable": "no"  },

According to the Documentation asked for OMNI and TOMNI (https://github.com/OmniLayer/omnicore#testnet)
{    "account": "",    "address": "moneyqMan7uh8FqdCA2BV5yZ8qVrc9ikLP",    "category": "send",    "amount": -1.00000000,    "vout": 1,    "fee": -0.00114303,    "confirmations": 14,    "blockhash": "0000000025c1bf9c4fd2d384bf9d124df30cf39f8af16749e0ef1b0d6d4ed1d9",    "blockindex": 51,    "blocktime":<PHONE_NUMBER>,    "txid": "69f2e40e3490995b9ab1c7251904399336b05bbd54cc0c6e093e62e736a62266",    "walletconflicts": [],    "time":<PHONE_NUMBER>,    "timereceived":<PHONE_NUMBER>,    "bip125-replaceable": "no",    "comment": "wanna get omni",    "to": "omni owner",    "abandoned": false  }

Got 100 Test OMNI:
request:
 curl -H 'Content-Type: application/json' --user '<user>:<userpass>' -X POST --data-binary '{"jsonrpc": "2.0", "id":"omni_test", "method": "omni_getbalance", "params": ["miYN8oirbN3QAUcpD3MkKuwDyJ78f6DRu5", 2]}' http://<IP_ADDRESS>:18332
response:
{"result":{"balance":"100.00000000","reserved":"0.00000000"},"error":null,"id":"omni_test"}
and 100 OMNI:
request:
 curl -H 'Content-Type: application/json' --user '<user>:<userpass>' -X POST --data-binary '{"jsonrpc": "2.0", "id":"omni_test", "method": "omni_getbalance", "params": ["miYN8oirbN3QAUcpD3MkKuwDyJ78f6DRu5", 1]}' http://<IP_ADDRESS>:18332
response:
{"result":{"balance":"100.00000000","reserved":"0.00000000"},"error":null,"id":"omni_test"}

And now I cannot find these incoming transactions for OMNI and TOMNI using omni_listtransactions.
Request:
curl -H 'Content-Type: application/json' --user '<user>:<userpass>' -X POST --data-binary '{"jsonrpc": "2.0", "id":"omni_test", "method": "omni_listtransactions", "params": []}' http://<IP_ADDRESS>:18332
Response:
{"result":[],"error":null,"id":"omni_test"}

Guys, what am I doing wrong?
Thanks a LOT!
P.S. Omnicoreversion: 0.3.0, Bitcoincoreversion: 0.13.2, OS: Debian 8

curl --data-binary '{"jsonrpc":"1.0","id":"curltext","method":"omni_listtransactions","params":[]}' -H 'content-type:text/plain;' http://xxx:yyy@<IP_ADDRESS>:8332
This command works for me. Please try.

Hi @timka-zhm,
the generation of Test Omni via this route doesn't show up when using omni_gettransaction, but all other transaction types are.

congnghiakhiem, I'm using Testnet. You gave me the example with Mainnet port(8332)

I'm sorry. You need change user, pass, ip, port to your own information.

This is my request:
curl --data-binary '{"jsonrpc":"1.0","id":"curltext","method":"omni_listtransactions","params":[]}' -H 'content-type:text/plain;' http://myrpcusername:rpcuserpassword@<IP_ADDRESS>:14873
This is response:
{"result":[],"error":null,"id":"curltext"}
As you can see I got empty result.
dexX7,
"doesn't show up when using omni_gettransaction" - using this method and transaction hash I got the answer. So, as I see it works for me.
Request:
curl -H 'Content-Type: application/json' --user 'login:password' -X POST --data-binary '{"jsonrpc": "2.0", "id":"omni_test", "method": "omni_gettransaction", "params": ["cb4df6918cb911aa3f8a6fc7fde5801982c651c2c65c21eb6a4712b26a4e0064"] }' http://<IP_ADDRESS>:14873
Response:
{"result":{"txid":"cb4df6918cb911aa3f8a6fc7fde5801982c651c2c65c21eb6a4712b26a4e0064","fee":"0.00060000","sendingaddress":"mhf2ibPWMoeyibR2jS3jPLZQYTJsFSoG5r","referenceaddress":"mhf2ibPWMoeyibR2jS3jPLZQYTJsFSoG5r","ismine":false,"version":0,"type_int":0,"type":"Simple Send","propertyid":31,"divisible":false,"amount":"4","valid":false,"invalidreason":"Sender has insufficient balance","blockhash":"00000000004bd5d9292c87550fce80e30fe9dc1a1b0ae359fa7e38593fccdc8c","blocktime":1522049257,"positioninblock":134,"block":1289210,"confirmations":7},"error":null,"id":"omni_test"}

@timka-zhm did you manage to solve this? Cause I have the same issue, omni_listtransactions method returns an empty array for me

Hey guys, omni_listtransactions only works with wallet transactions, but not external ones. For external ones, you could use omni_listblocktransactions.

@skinderis try to use parameters those are mentioned as optional. It works for me
https://github.com/OmniLayer/omnicore/blob/master/src/omnicore/doc/rpc-api.md#omni_listtransactions


Discrepancies between sequential and numerical order in Folio sorting

It seems that the sorting algorithm might treat the folio identifiers as strings, leading to lexicographic rather than numeric sorting. This creates discrepancies when there are leading/trailing zeros or differences in the number of digits used. Treating the identifiers as numerical values, rather than strings, will ensure that the sorting adheres to the expected numerical order.

I think this might have been solved already at some point? I can't find an instance of this happening on production and just tried to construct one on staging to no avail. Closing for now...if we find it again, we can re-open.


Adds /doc/rest to GeoPol exclude list

Description
Adds /doc/rest to GeoPol exclude list
Related issues
Addresses [issue #].
Testing
Describe how this change was tested.
FHIR Team Checklist

[ ] Update the title of the PR to be succinct and less than 50 characters
[ ] Add a milestone to the PR for the sprint that it is merged (i.e. add S47)
[ ] Tag the PR with the type of update: Bug, Dependencies, Enhancement, or New-Feature
[ ] Tag the PR with Azure API for FHIR if this will release to the managed service
Review squash-merge requirements

Semver Change (docs)
Patch|Skip|Feature|Breaking (reason)

/azp run

@brendankowitz - Can we merge this?

/azp run


[lakFSFS, GC, Spark] Wrap API client to report common misconfigurations more clearly

The generated API client generates many exceptions that are technically correct but nearly impossible for users to parse.  Wrap the generated Java API client to detect some of these and wrap them with exceptions that give a better explanation of what went wrong.
The most common breakage is when receiving a non-JSON response.  The API client merely raises an ApiException about the content type.  It drops the actual status code and response message.  We see many user reports who are at a loss when receiving a message
io.lakefs.hadoop.shade.api.ApiException: Content type "text/html; charset=utf-8" is not supported for type: class io.lakefs...

Worse, this actually occurs somewhere in the middle of several hundred lines of stack trace -- the next comment will have an example.
This cannot be solved on the server: One common occurrence is an incorrect API endpoint.  The failure might not be generated by the actual lakeFS server, it might be by any gateway or reverse proxy on path.  More than that, a poor error report on the client is a client-side bug.

Example stacktrace (this one is short, if it fails inside a worker it gets even more horrible!):
23/02/06 12:13:28 WARN FileStreamSink: Assume no metadata directory. Error while looking for metadata directory in the path: lakefs://repo/main//path/to/my.csv.
java.io.IOException: statObject
	at io.lakefs.LakeFSFileSystem.getFileStatus(LakeFSFileSystem.java:779)
	at io.lakefs.LakeFSFileSystem.getFileStatus(LakeFSFileSystem.java:46)
	at org.apache.hadoop.fs.FileSystem.isDirectory(FileSystem.java:1777)
	at org.apache.spark.sql.execution.streaming.FileStreamSink$.hasMetadata(FileStreamSink.scala:54)
	at org.apache.spark.sql.execution.datasources.DataSource.resolveRelation(DataSource.scala:370)
	at org.apache.spark.sql.DataFrameReader.loadV1Source(DataFrameReader.scala:274)
	at org.apache.spark.sql.DataFrameReader.$anonfun$load$3(DataFrameReader.scala:245)
	at scala.Option.getOrElse(Option.scala:189)
	at org.apache.spark.sql.DataFrameReader.load(DataFrameReader.scala:245)
	at org.apache.spark.sql.DataFrameReader.csv(DataFrameReader.scala:571)
	at jdk.internal.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at py4j.reflection.MethodInvoker.invoke(MethodInvoker.java:244)
	at py4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:357)
	at py4j.Gateway.invoke(Gateway.java:282)
	at py4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132)
	at py4j.commands.CallCommand.execute(CallCommand.java:79)
	at py4j.ClientServerConnection.waitForCommands(ClientServerConnection.java:182)
	at py4j.ClientServerConnection.run(ClientServerConnection.java:106)
	at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: io.lakefs.hadoop.shade.api.ApiException: Content type "text/html; charset=utf-8" is not supported for type: class io.lakefs.hadoop.shade.api.model.ObjectStats
	at io.lakefs.hadoop.shade.api.ApiClient.deserialize(ApiClient.java:822)
	at io.lakefs.hadoop.shade.api.ApiClient.handleResponse(ApiClient.java:1020)
	at io.lakefs.hadoop.shade.api.ApiClient.execute(ApiClient.java:944)
	at io.lakefs.hadoop.shade.api.ObjectsApi.statObjectWithHttpInfo(ObjectsApi.java:1478)
	at io.lakefs.hadoop.shade.api.ObjectsApi.statObject(ObjectsApi.java:1451)
	at io.lakefs.LakeFSFileSystem.getFileStatus(LakeFSFileSystem.java:775)

Related: #3054, that one shows about a different type of error.  Ideally the same solution would work for both.

Related to #2801, which could/might help here too.


GetQueryPoolResults validation corner-cases

Internal app development uncovered a couple of false-positives related to 'unavailable' timestamp queries (having WITH_AVAILABILITY set, or having a single query).  Also added a semi-related VUID check and test.

This causes VkLayerTest.QueryPoolInUseDestroyedSignaled to fail.
Cloud based LVL test run paying dividends.


Create an influxDB connector for OceanSense

Add a new connector to fetch data from an influxDatabase from OceanSense.
We would like to link Aqualink Sites to Ocean Sense sensors. Similar to what we are doing with Sofar, given a SensorID, we would like to fetch data every 10min or so to ingest into our database. The data includes new metrics such as pH.
@drewjgray could you share a bit more details on the data structure? Or some code you already have maybe?
Note - The influxDB connector should be generic enough to be re-used for other sensors in the future.

@drewjgray is this still useful or should we simply rely on the firebase functions you created?


Set package.json author and license according to npm/git

The author section of package.json should be added like npm does with Joe<EMAIL_ADDRESS>or author: { 'name': 'Joe', email<EMAIL_ADDRESS>} instead of just adding an empty object. Yeoman does support this.
The same goes for the license it should be either prompted or check the git/npm settings.
I'd also be nice to have indentation and testing library as prompts.

I think that makes sense. Is there any documentation on how this is used?
As for the other point, I wouldn't want to add too many more prompts especially for style questions. For indentation you can just change it after in the .eslintrc.json and run with --fix.
For any other differing ideas about code styles the best course of action is probably to fork this repository and change it to your likings.

The author info should be all here in the Yeoman docs.
With the indentation could you not just ask, 2 spaces, 4 spaces or tabs as they're the options most people use.

The fewer the prompts, the better.  Especially when it's something like tabs/spaces and I can just run semistandard --fix and be done.  Testing framework makes more sense because it can be a pain to get a working setup for first-time users.


Add better error message when running out of shared memory in CUDA Hal

Request description
It is easy to have kernels running out of shared memory either when the compiler allocates more than it should (should also be checked at compile time) or when the target used to compile doesn't match what is being run.
Even though there are many more fundamental ways to look at this having a clear error message for this case would be very useful. At driver compile time we know the shared memory size used and can query the driver for the amount available so we can add an explicit check there.
What component(s) does this issue relate to?
No response
Additional context
No response

@KoolJBlack @okkwon feel free to pick it up if you get some spare cycles at some point.

Fixed by https://github.com/openxla/iree/pull/12597


First workflow run always returns true

First workflow run always returns true in our project MET-347. @fkuehnSAG
Maybe the listWorkflowRuns action is not working properly?
https://docs.github.com/en/rest/reference/actions#workflow-runs
https://docs.github.com/en/rest/reference/actions#list-workflow-runs
I remember that we had a similar issue in another action and it was fixed with some workaround, by filter the runs afterwards manually and not on the api request.
https://github.com/SamhammerAG/last-successful-build-action/blob/master/src/main.ts#L55

related bug?
https://github.community/t/bug-github-api-list-workflow-runs-returns-0-runs-even-though-there-are-runs/165080

the problem was wrong branchname as parameter. of course we cant find any workflow runs then 👍


[Feature]: Set max_pixels using LLM.generate with Qwen2-VL for offline-inference

Your current environment
The output of `python collect_env.py`

PyTorch version: 2.4.0+cu121
Is debug build: False
CUDA used to build PyTorch: 12.1
ROCM used to build PyTorch: N/A
OS: Alibaba Cloud Linux release 3 (OpenAnolis Edition)  (x86_64)
GCC version: (GCC) 10.2.1 20200825 (Alibaba 10.2.1-3.8 2.32)
Clang version: Could not collect
CMake version: Could not collect
Libc version: glibc-2.32
Python version: 3.11.8 (main, Feb 26 2024, 21:39:34) [GCC 11.2.0] (64-bit runtime)
Python platform: Linux-5.10.134-17.2.al8.x86_64-x86_64-with-glibc2.32
Is CUDA available: True
CUDA runtime version: Could not collect
CUDA_MODULE_LOADING set to: LAZY
GPU models and configuration: GPU 0: NVIDIA A10
Nvidia driver version: 555.42.06
cuDNN version: Could not collect
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True
CPU:
Architecture:        x86_64
CPU op-mode(s):      32-bit, 64-bit
Byte Order:          Little Endian
CPU(s):              32
On-line CPU(s) list: 0-31
Thread(s) per core:  2
Core(s) per socket:  16
Socket(s):           1
NUMA node(s):        1
Vendor ID:           GenuineIntel
CPU family:          6
Model:               106
Model name:          Intel(R) Xeon(R) Platinum 8369B CPU @ 2.90GHz
Stepping:            6
CPU MHz:             2899.998
BogoMIPS:            5799.99
Hypervisor vendor:   KVM
Virtualization type: full
L1d cache:           48K
L1i cache:           32K
L2 cache:            1280K
L3 cache:            49152K
NUMA node0 CPU(s):   0-31
Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology nonstop_tsc cpuid tsc_known_freq pni pclmulqdq monitor ssse3 fma cx16 pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single ssbd ibrs ibpb stibp ibrs_enhanced fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves wbnoinvd arat avx512vbmi avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq rdpid fsrm arch_capabilities
Versions of relevant libraries:
[pip3] numpy==1.26.4
[pip3] nvidia-cublas-cu12==<IP_ADDRESS>
[pip3] nvidia-cuda-cupti-cu12==12.1.105
[pip3] nvidia-cuda-nvrtc-cu12==12.1.105
[pip3] nvidia-cuda-runtime-cu11==2022.4.25
[pip3] nvidia-cuda-runtime-cu117==11.7.60
[pip3] nvidia-cuda-runtime-cu12==12.1.105
[pip3] nvidia-cudnn-cu12==<IP_ADDRESS>
[pip3] nvidia-cufft-cu12==<IP_ADDRESS>
[pip3] nvidia-curand-cu12==<IP_ADDRESS>
[pip3] nvidia-cusolver-cu12==<IP_ADDRESS>
[pip3] nvidia-cusparse-cu12==<IP_ADDRESS>
[pip3] nvidia-ml-py==12.560.30
[pip3] nvidia-nccl-cu12==2.20.5
[pip3] nvidia-nvjitlink-cu12==12.5.40
[pip3] nvidia-nvtx-cu12==12.1.105
[pip3] nvidia-pyindex==1.0.9
[pip3] pyzmq==26.2.0
[pip3] torch==2.4.0
[pip3] torchaudio==2.4.1
[pip3] torchvision==0.19.0
[pip3] transformers==4.46.0.dev0
[pip3] transformers-stream-generator==0.0.5
[pip3] triton==3.0.0
[conda] Could not collect
ROCM Version: Could not collect
Neuron SDK Version: N/A
vLLM Version: N/A (dev)
vLLM Build Flags:
CUDA Archs: Not Set; ROCm: Disabled; Neuron: Disabled
GPU Topology:
GPU0    CPU Affinity    NUMA Affinity   GPU NUMA ID
GPU0     X      0-31    0               N/A
Legend:
X    = Self
SYS  = Connection traversing PCIe as well as the SMP interconnect between NUMA nodes (e.g., QPI/UPI)
NODE = Connection traversing PCIe as well as the interconnect between PCIe Host Bridges within a NUMA node
PHB  = Connection traversing PCIe as well as a PCIe Host Bridge (typically the CPU)
PXB  = Connection traversing multiple PCIe bridges (without traversing the PCIe Host Bridge)
PIX  = Connection traversing at most a single PCIe bridge
NV#  = Connection traversing a bonded set of # NVLinks
How would you like to use vllm
https://docs.vllm.ai/en/latest/models/vlm.html#offline-inference
https://docs.vllm.ai/en/latest/getting_started/examples/offline_inference_vision_language.html
How to set max_pixels when using LLM.generate
I tried to set llm.llm_engine.model_config.hf_image_processor_config['max_pixels'] = max_pixels, but it won't work.
from PIL import Image
from vllm import LLM
import requests

llm = LLM(model="Qwen/Qwen2-VL-2B-Instruct")
# max_pixels = 224 * 224 * 3
# llm.llm_engine.model_config.hf_image_processor_config['max_pixels'] = max_pixels

prompt = (f"<|im_start|>system\nYou're a helpful assistant<|im_end|>\n"
          "<|im_start|>user\n<|vision_start|><|image_pad|><|vision_end|>"
          "{}<|im_end|>\n"
          "<|im_start|>assistant\n")

# Load the image using PIL.Image
image = Image.open(requests.get("https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen-VL/assets/demo.jpeg", stream=True).raw)
outputs = llm.generate({
    "prompt": prompt.format("Describe this image."),
    "multi_modal_data": {
        "image": image},
})

sum(1 for token_id in outputs[0].prompt_token_ids if token_id == llm.llm_engine.model_config.hf_text_config.image_token_id)
# 3577 # too much image_token_id

### Before submitting a new issue...

- [X] Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the [documentation page](https://docs.vllm.ai/en/latest/), which can answer lots of frequently asked questions.

I believe this isn't implemented yet. @alex-jw-brooks do you have time to take this on?

Yup, I'll take a look! 😄

Hi, does the OAI endpoint also support min/max_pixels?

@DarkLight1337 Thank you! This seems to resolve https://github.com/vllm-project/vllm/issues/9732
When setting max_pixels to 16384*28*28 as recommended by Qwen2VL repo, I no longer have coherency issues with big images! (although the processor is still unoptimized)
Could it be that v0.6.1 had the max_pixels hardcoded and v0.6.3 didn't specify it?

@DarkLight1337
It works great but now I can't set the mm limit higher than 1 when wanting to dynamically support multiple smaller and larger images (https://github.com/vllm-project/vllm/issues/9805)


mlcroissant is very slow when a dataset has too many fields

Do you have an intuition as to how many fields actually start to be a burden?

@ccl-core That's a good question! From a rough estimate, it seems the average is ~2000 fields:

Distribution: x-axis is the number of field and y-axis is the number of datasets impacted:


allow Quicksilver Selection to refer to other proxy objects

Not sure why this would have been prevented. The line above already protects against a circular reference.
I see that I’m the one that wrote it, but I was just rewriting a test that was already there.

@lgarron confirms that this is working as intended.


This page is for who?

Hi,
Network bandwidth mentioned in the given page is for who?

The end-user?
or the Virtual desktop host?

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

ID: 91116801-9136-ee05-969e-6f90d6a48c79
Version Independent ID: d63869fe-cbb6-4517-4a56-e0bc85746682
Content: Network guidelines
Content Source: WindowsServerDocs/remote/remote-desktop-services/network-guidance.md
Product: windows-server
Technology: remote-desktop-services
GitHub Login: @Heidilohr
Microsoft Alias: helohr

Both (or neither, depending on how you view the question versus the answer).
The Recommended bandwidth values is meant to be the average speed over the entire distance between the endpoints. It is up to each end user to verify the end-to-end total bandwidth and compare with the minimum requirements.

We hugely appreciate your contribution, feedback, and support to our technical documentation.
We’ve phased out GitHub Issues on this repository as the feedback mechanism for content and have replaced it with a new feedback system. For more information see, Content User Feedback. As part of this rollout, we are migrating your issue where our team will use your comments to improve the documentation experience. Unfortunately, this does mean you won't be able to access this issue after the migration is complete.
All issues will be migrated by Thursday 29th August 2024.
Once again, thank you for your valuable feedback, we hope you’ll continue to contribute using our new feedback system.


Clear Button for Filter

It would be great if the Filter had a button to clear the current selection.

Hi @haesleinhuepf, did you think we needed this or not?
e.g. on website: https://dl.acm.org/action/doSearch?AllField=machine&SeriesKey=cacm&startPage=&ContribId=10.1145%2Fcontrib-81100607098

Low priority, but it would be cool to have it, yes.

Good, then I'll think about adding it later


Garmin IQ app compatibility for adding and editing ab routines

It is possible to take advantage of the app settings feature of the Garmin IQ mobile app to let users customize the abs routines. I will implement this when I have the time to add it to the Garmin IQ Store.

https://developer.garmin.com/connect-iq/submit-an-app

Update: I uploaded the app to the Connect IQ Store. If it is accepted, it will be available for Garmin users worldwide soon.

Done


When the lead car creeped ahead, OP failed to stop

Describe the bug
I was behind a lead car. OP stopped as expected for the lead but as soon the lead car creeped a head, it almost tried to crash in to the lead car.

I was driving on the stock OP. Usually OP never has a problem in stopping for a lead car. But this one time, OP stopped for the lead car and then as soon as the lead car creeped ahead, OP tried to accelerate abruptly and was about to crash in to the car. I had to manually take over and put the brakes on the car. If I were to not do anything this would have definitely resulted in a bad accident.
How to reproduce or log data
I have only seen this bug happen once. So I can't reproduce it.

N/A
Expected behavior
When the lead car creeps ahead, OP shouldn't accelerate abruptly and should stop for the lead car.

Device/Version information (please complete the following information):

Device: [e.g. EON/EON Gold/comma two] (Comma2)
Dongle ID: [e.g. 77611a1fac303767, can be found in Settings -> Device -> Dongle ID or my.comma.ai/useradmin] (d2ef5aa690e849d0)
Route: [e.g. 77611a1fac303767|2020-05-11--16-37-07, can be found in my.comma.ai/useradmin] (d2ef5aa690e849d0|2021-03-23--21-57-27)
Timestamp: [When in the route the bug occurs (e.g. 4min 30s into the drive)] (12 - 13 min)
Version: [commit hash when on a non-release branch, or version number when on devel or release2 (e.g. 0.7.6)] (release2)
Car make/model: [e.g. Toyota Prius 2016] (Toyota Rav4 2020)

Additional context
https://www.youtube.com/watch?v=UT53QdPZEyU&ab_channel=Adi
This is the video of stitch segment from 12 - 13 mins.  Notice the video from 0.30secs to 0.50secs for the behavior I experienced.

Looks similar to https://github.com/commaai/openpilot/issues/2731. Openpilot was commanding quite a bit of deceleration, but the car/PCM was very slow to respond. We have to understand why this happens, and maybe add some alerts if we can detect this.

Closing this issue since we already have another one to track this specific problem and no more feedback was provided.

You can close this issue if we have another bug tracking the same issue. I have not seen this issue happen again since I first reported. However, when it did happen it's quite dangerous so I think it's something to keep an eye on.


Incorrect Number of Packages Shown

The packages page says they're are 258 packages when there are only 240 packages listed.

My main suspicion is that the reserved packages list is throwing things off. The query used to retrive the number of packages there are seems to account for deprecated packages but not the hidden packages.

Thank you.


Adding BDF and BDF+ to the acceptable data formats for eeg/ieeg data

BDF is a "24-bits version" of the currently preferred 16-bit EDF format. Should this be added to the currently accepted file formats?
A more detailed description of the new format can be found on this website

Thanks for raising this point @Aaronearlerichardson.
I think it's a shortcoming of the EEG spec to mention EDF and BDF, but being unclear about whether their "natural" extensions are permitted (EDF+ and BDF+, which share the same extension: .edf .bdf).

Link to source
Link to docs

In my mind, EDF+ and BDF+ are supported, especially because virtually all software that supports EDF/BDF also supports EDF+/BDF+.
I suggest that we clarify this in the specification, but we at least the BEP leads of EEG/iEEG and preferably a couple more community members to chime in on this.
I focused these points on EEG. But in iEEG we have a similar problem: "EDF" is advertised, but no point is being made about "EDF+". In accordance with EEG, I suggest that we clarify that EDF+ is also permitted.
In contrast to EEG, BDF/BDF+ are not permitted in iEEG and that'll probably stay this way.
cc @dorahermes @choldgraf  @robertoostenveld @CPernet

I suppose the advantage is that the time stamp allows better synch or separate modalities - so I'm ok with that.  Otherwise, other 'stuff' should be stored as separate files anyway.
as for precision the brain vision format works fine - why would we need BDF+ for that (allowed anyway, although not officially supported) ; but anyway EEG multimodal is really important so the + is good for that

I am not aware of any formal specification of a BDF+ file format, hence I would not consider it supported per see. There is this https://www.biosemi.com/faq/file_format.htm, and there is this https://www.edfplus.info/specs/edfplus.html, but not the combination of the two.
I also don't know if it is supported by any BIDS-compatible analysis software, although...  A file that is in EDF+ format can AFAIK also be read by EDF-only compatible software (except that the annotations channel will not be interpreted and appear as gibberish). If the same is the case for the BDF+ format, then I don't see a problem having a BDF+ file in a BIDS dataset, since it would also be a BDF file, and the annotations must be in the events.tsv file anyway.

I am not aware of any formal specification of a BDF+ file format, hence I would not consider it supported per see. There is this https://www.biosemi.com/faq/file_format.htm, and there is this https://www.edfplus.info/specs/edfplus.html, but not the combination of the two.

see: https://www.teuniz.net/edfbrowser/bdfplus format description.html

A file that is in EDF+ format can AFAIK also be read by EDF-only compatible software (except that the annotations channel will not be interpreted and appear as gibberish). If the same is the case for the BDF+ format, then I don't see a problem having a BDF+ file in a BIDS dataset, since it would also be a BDF file, and the annotations must be in the events.tsv file anyway.

Teuniz says:

BDF+ is compatibel with BDF. BDF+ files can be read and processed by older BDF software.

Sorry, I did not read the original https://github.com/bids-standard/bids-specification/issues/821#issue-919197778, only the reply in which I was mentioned. It points to a specification, and lists one software package in which it is supported (EDFbrowser). My other arguments remain as they are.

A related question to consider with the BIDS specification w.r.t. file formats that evolve into new versions: is NIFTI-2 supported?

A related question to consider with the BIDS specification w.r.t. file formats that evolve into new versions: is NIFTI-2 supported?

I would expect NIFTI-2 to be valid BIDS, since it has pretty much universal support among neuroimaging tools, but I don't know if the validator supports it.


[dev-tools] pin .net version to 5.0.301

Motivation
Install .net only if the local version doesn't match the expected.  This should reduce the outbound curl requests in CI.
Test Plan
Tested on local container.

not sure if it's work due to the run of lint since it's stricter than prior installs used to be.

also: jinx:  https://github.com/diem/diem/pull/8728

didn't know you already have #8728 up. i m going to fold this one.


Add optional runtime checks for preconditions

Functions in Agda2Hs can use @0 arguments to express preconditions, but these arguments are erased in the translation to Haskell. For functions that are only used "internally" this is not a problem, but for functions that are meant to be used from Haskell code it would be nice to provide an option to generate run-time checks for these properties. Obviously this would need to be restricted to decidable properties (I'm thinking of IsTrue and equalities on types with decidable equality).

One way to support this with the current architecture would be to add the assert operator from Haskell to the agda2hs prelude with the following Agda definition:
assert : (b : Bool) → (@0 {{IsTrue b}} → a) → a
assert True  x = x
assert False x = oops
  where postulate oops : _

Even better would be if we could do this for an arbitrary decidable type rather than just booleans:
Reflects : (P : Set ℓ) → Bool → Set ℓ
Reflects P True  = P
Reflects P False = P → ⊥

Dec : Set ℓ → Set ℓ
Dec P = ∃ Bool (Reflects P)

assert : Dec b → (@0 {{b}} → a) → a
assert [ True  ] x = x
assert [ False ] x = oops
  where postulate oops : _

Even better, gather all decidable types in a typeclass so users can simply write the property and have instance inference do the work for you?

Well yes that would be nice, but I am not sure what type signature such a function should have: to compile to assert in Haskell it needs to have an explicit argument of type Bool (or a type that erases to it such as Dec b), but for instance search to kick in you need to have an instance argument on the Agda side. It doesn't make sense to have a typeclass of decidable types on the Haskell side since this will mostly be used for propositions that don't have a Haskell counterpart.
The best I can come up with is to have a typeclass of decidable types on the Agda side and then use the it function as an argument to the assert function I defined above. We can then have a tiny bit of special handling for the it function so agda2hs compiles it to the actual boolean check that's been found by Agda's instance search.

Ah we could make assert itself into a macro that takes a type and runs instance search to find a proof of decidability. Then we could write something like assert (x ≡ 42) ... in the Agda code and have it be compiled to the corresponding boolean assertion in Haskell.

Now that we have dropped the requirement that compiled arguments should be visible or vice versa, it should be easy to add an assert statement that takes the type as an erased explicit argument and its decidability proof as an instance argument.


Add constructors with custom message

System.ComponentModel.Win32Exception can get custom message as arugment.
This patch enables to use custom message while using BetterWin32Errors.Win32Exception.
Property string CustomMessage has added to Win32Exception.
Ex)
if (!OpenProcessToken(GetCurrentProcess(), TOKEN_ADJUST_PRIVILEGES | TOKEN_QUERY, out hToken))
{
    throw new BetterWin32Errors.Win32Exception("OpenProcessToken failed");
}

Seems like useful functionality. Thanks for the PR! I'll merge it and try to get a new version of the package released.

Updated nuget package works well, thanks!


soc: arm: ti_simplelink: Fix number of interrupt lines on CC3220SF

There are only 178 interrupt lines on CC3220SF. Hence we should not set
NUM_IRQS to a value exceeding that value. We are changing it to 178.
Fixes #18593
Signed-off-by: Vincent Wan<EMAIL_ADDRESS>

This also fixes an issue with running ' tests/kernel/gen_isr_table/arch.interrupt ' on the board.


[SOLVED] Syntax highlighter plugin?

Hi,
First, thank you for this awesome app, it's really helpful... :)
How I can enable Syntax/Code Highlighter plugin?
Thank you,
Regards

I came here to ask the same question but got it working. You can add configuration for the plugin in settings.py. The 'full' toolbar isn't needed, it's just an example:
CKEDITOR_CONFIGS = {
'default': {
'toolbar': 'full',
'extraPlugins': ','.join(
[
'codesnippet',
]),
},
}
Further work is needed for the code to be properly highlighted on the front end ofc.
You can get more info for the plugin at http://docs.ckeditor.com/#!/guide/dev_codesnippet

Hi,
Thanks for reply, unfortunately it's not working on mine :(
The RichTextField become blank... The editor is gone somehow. Do you have another solution?
Thanks in advance,
Please excuse my English

@alzearafat full working sample config
CKEDITOR_CONFIGS = {
    'default': {
        'skin': 'moono',
        'toolbar_MyCustomToolbar': [
            {'name': 'basic', 'items': [
                'Source',
                '-',
                'Bold',
                'Italic',
                'CodeSnippet'  # add the codesnippet button name
            ]}
        ],
        # https://github.com/django-ckeditor/django-ckeditor/tree/master/ckeditor/static/ckeditor/ckeditor/plugins/codesnippet/lib/highlight/styles
        # https://github.com/isagalaev/highlight.js/tree/master/src/styles
        'codeSnippet_theme': 'railscasts',
        # uncomment to restrict only those languages
        # 'codeSnippet_languages': {
        #     'python': 'Python Guru',
        #     'javascript': 'JavaScript Fu',
        #     'php': 'PHP Ninja',
        #     'c': 'You custom language name'
        # },
        'toolbar': 'MyCustomToolbar',
        'extraPlugins': ','.join(
            [
                # add the follow plugins
                'codesnippet',
                'widget',
                'dialog',
            ]),
    }
}

If there is no editor then you got a JavaScript error - check your browser JS console for it.

I hope I include all the necessary steps here. Ofc you've already did a few of the steps since you got the editor working but I include everything just in case.
In settings.py:
Include 'ckeditor', under INSTALLED_APPS
Add the line CKEDITOR_JQUERY_URL = '//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js'
In your template file:
Add:
<link rel="stylesheet" href="{% static 'ckeditor/ckeditor/plugins/codesnippet/lib/highlight/styles/default.css' %}" />
<script src="{% static 'ckeditor/ckeditor/plugins/codesnippet/lib/highlight/highlight.pack.js' %}"></script>

Also include this script tag just before the </body> tag to get script fired up on the "frontend":
<script>hljs.initHighlightingOnLoad();</script>

DISCLAIMER: I'm also new to Django so I don't know if it's kosher to add script tags like this. But at least you get to see if it's working.

@luzfcb & @riklaunim : Ok, I found this error
uncaught exception: [CKEDITOR.resourceManager.load] Resource name "codesnippet" was not found at "http://localhost:8000/static/ckeditor/ckeditor/plugins/codesnippet/plugin.js?t=F62B".

Acctually, there's no ckeditor inside static folder... :/
Thanks in advance

After you've installed the editor per the instructions you have to collect the static files by running ./manage.py collectstatic. Do that and if it's still not working I would go through the installation instructions again, twice.

[SOLVED]
Hi,
I already solved this issue. Simply by run collectstatic command... Thank you! :D

@alzearafat if is solved, please, close this issue.

Hi, how do I make the code block copyable ?

I want to highlight the code in the frontend??