[python3] corss build failure

Host Environment

OS: Linux
Compiler: gcc version 10.2.1 20200907 [ revision ce3001ff1d734e0763a1a5e434272bf89df1fe06] (GCC)

To Reproduce
Steps to reproduce the behavior:
/vcpkg install --overlay-triplets="vcpkg-registry/triplets" --triplet  aarch64-linux5.4 python3
Failure logs
configure:3985: $? = 0
configure:4033: result: yes
configure:4036: checking for C compiler default output file name
configure:4038: result: a.out
configure:4044: checking for suffix of executables
configure:4051: /usr/local/linaro-aarch64-2020.09-gcc10.2-linux5.4/bin/aarch64-linux-gnu-gcc -o conftest -I/opt/nota_new_sdk/packages -I/opt/nota_new_sdk/include -g  -L/opt/Utility/vcpkg/installed/aarch64-linux5.4/debug/lib conftest.c  >&5
configure:4055: $? = 0
configure:4077: result:
configure:4099: checking whether we are cross compiling
configure:4107: /usr/local/linaro-aarch64-2020.09-gcc10.2-linux5.4/bin/aarch64-linux-gnu-gcc -o conftest -I/opt/nota_new_sdk/packages -I/opt/nota_new_sdk/include -g  -L/opt/Utility/vcpkg/installed/aarch64-linux5.4/debug/lib conftest.c  >&5
configure:4111: $? = 0
configure:4118: ./conftest
./../src/v3.10.5-d1483c0c4b.clean/configure: line 4120: ./conftest: cannot execute binary file: Exec format error
configure:4122: $? = 126
configure:4129: error: in `/opt/Utility/vcpkg/buildtrees/python3/aarch64-linux5.4-dbg':
configure:4131: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.

Additional context
python port causes errors in all cross builds

the profile.cmake file was modified in the python3 folder as fllows
Added --host to OPTIONS variable
 set(OPTIONS
        "--with-openssl=${CURRENT_INSTALLED_DIR}"
        "--without-ensurepip"
        "--with-suffix="
        "--with-system-expat"
        "--without-readline"
        "--disable-test-modules"
        "--host"
    )

nevertheless , the following error  occurred
configure:2888: checking build system type
configure:2902: result: x86_64-pc-linux-gnu
configure:2922: checking host system type
configure:2931: error: /bin/bash ./../src/v3.10.5-d1483c0c4b.clean/config.sub --disable-silent-rules failed

@Adela0814  Think of it as category:port-bug , not community-triplet.
Why do you think it's a community-triplet?

aarch64-linux5.4 is not a triplet tested in CI. That's why it was tagged community-triplet.
But the bug is a more general issue with ports which want to build some host executables: vcpkg intentionally provides an inactive host toolchain. Required host binaries must be built in the host triplet (native build) and injected into the build for the target triplet (cross build).

Thank you for your answer.

there was a problem with the name of the triplets i made . so it couldn't be built, but i cat't build on openssl
I'm using the latest vcpkg

ETE -DOPENSSL_PIC -DOPENSSLDIR="\"/etc/ssl\"" -DENGINESDIR="\"/opt/eunsik/Utility/vcpkg/packages/openssl_aarch64-linux5.4/debug/lib/engines-3\"" -DMODULESDIR="\"/opt/eunsik/Utility/vcpkg/packages/openssl_aarch64-linux5.4/debug/lib/ossl-modules\"" -DOPENSSL_BUILDING_OPENSSL -DNDEBUG -I/opt/nota_new_sdk/ambarella/packages -I/opt/nota_new_sdk/ambarella/include -g  -c -o apps/lib/libapps-lib-app_rand.o apps/lib/app_rand.c
/bin/sh: 1: aarch64-linux-gnu-/usr/local/linaro-aarch64-2020.09-gcc10.2-linux5.4/bin/aarch64-linux-gnu-gcc: not found
aarch64-linux-gnu-/usr/local/linaro-aarch64-2020.09-gcc10.2-linux5.4/bin/aarch64-linux-gnu-gcc  -I. -Iinclude -Iapps/include  -fPIC -pthread -Wall -O3 -DOPENSSL_USE_NODELETE -DOPENSSL_PIC -DOPENSSLDIR="\"/etc/ssl\"" -DENGINESDIR="\"/opt/eunsik/Utility/vcpkg/packages/openssl_aarch64-linux5.4/debug/lib/engines-3\"" -DMODULESDIR="\"/opt/eunsik/Utility/vcpkg/packages/openssl_aarch64-linux5.4/debug/lib/ossl-modules\"" -DOPENSSL_BUILDING_OPENSSL -DNDEBUG -I/opt/nota_new_sdk/ambarella/packages -I/opt/nota_new_sdk/ambarella/include -g  -c -o apps/lib/libapps-lib-app_x509.o apps/lib/app_x509.c
/bin/sh: 1: aarch64-linux-gnu-/usr/local/linaro-aarch64-2020.09-gcc10.2-linux5.4/bin/aarch64-linux-gnu-gcc: not found
Makefile:2366: recipe for target 'apps/lib/libapps-lib-app_libctx.o' failed
make[1]: *** [apps/lib/libapps-lib-app_libctx.o] Error 127
make[1]: *** Waiting for unfinished jobs....
Makefile:2368: recipe for target 'apps/lib/libapps-lib-app_params.o' failed
make[1]: *** [apps/lib/libapps-lib-app_params.o] Error 127
/bin/sh: 1: aarch64-linux-gnu-/usr/local/linaro-aarch64-2020.09-gcc10.2-linux5.4/bin/aarch64-linux-gnu-gcc: not found
Makefile:2370: recipe for target 'apps/lib/libapps-lib-app_provider.o' failed
make[1]: *** [apps/lib/libapps-lib-app_provider.o] Error 127
/bin/sh: 1: aarch64-linux-gnu-/usr/local/linaro-aarch64-2020.09-gcc10.2-linux5.4/bin/aarch64-linux-gnu-gcc: not found
/bin/sh: 1: Makefile:2372: recipe for target 'apps/lib/libapps-lib-app_rand.o' failed
make[1]: *** [apps/lib/libapps-lib-app_rand.o] Error 127
aarch64-linux-gnu-/usr/local/linaro-aarch64-2020.09-gcc10.2-linux5.4/bin/aarch64-linux-gnu-gcc: not found
Makefile:2374: recipe for target 'apps/lib/libapps-lib-app_x509.o' failed
make[1]: *** [apps/lib/libapps-lib-app_x509.o] Error 127
make[1]: Leaving directory '/opt/eunsik/Utility/vcpkg/buildtrees/openssl/aarch64-linux5.4-dbg/nssl-3.0.5-30ecfd0d02.clean'
Makefile:1383: recipe for target 'build_libs' failed
make: *** [build_libs] Error 2
ninja: build stopped: subcommand failed.

there was a problem with the name of the triplets i made . but couldn't be build because i cat't build on openssl
I'm using the latest vcpkg

/bin/sh: 1: aarch64-linux-gnu-/usr/local/linaro-aarch64-2020.09-gcc10.2-linux5.4/bin/aarch64-linux-gnu-gcc: not found

Hm, how does aarch64-linux-gnu- get in front of gcc's absolute path?

Hmm? Let me check why the gcc path is weird only for openssl

buildtreelog.zip
it's is a build tree log ,but it seems strange
The gcc path at the time of installaion and build is strange

there is an "openssl" bug . i'll close the issue and create it again


 The flipchart fotos with short summaries i'd like to keep for now. I used those as templates for facilitation. Other facilitators: Do you want to add your flip chart art?

I think it's a very good idea!! :ok_hand:


Cannot download WEBTOONs with "challenge" in the URL

For example, trying to download https://www.webtoons.com/en/slice-of-life/hyperfocus/list?title_no=3340 works fine, but trying to download https://www.webtoons.com/en/challenge/bittersweet-candy-bowl/list?title_no=552823 returns:
Traceback (most recent call last):   File "webtoon_downloader.py", line 410, in <module>     main()   File "webtoon_downloader.py", line 407, in main     download_webtoon(series_url, args.start, args.end, args.dest, args.images_format, args.latest, args.seperate)   File "webtoon_downloader.py", line 318, in download_webtoon     series_title = get_series_title(soup)   File "webtoon_downloader.py", line 122, in get_series_title     return html.find('h1', class_='subj').text AttributeError: 'NoneType' object has no attribute 'text'.
I have escaped both URLs with quotes.

Hi @Corrupt-Specturion, Thank for highlighting this issue, Series belonging to the challenge category have a different html layout than regular series.
the issue has been fixed in 8f2cd4f0ee59dc9469248ac6c139e4b5b4a8ec4f. It shouldn't break now when handling these series.


support for ES 2.0.0 release

plugin fails to install on 2.0.0
NOTE: Unable to verify checksum for downloaded plugin (unable to find .sha1 or .md5 file to verify)
ERROR: Plugin [knapsack] is incompatible with Elasticsearch [2.0.0]. Was designed for version [2.0.0-rc1]

I just released version <IP_ADDRESS> which is compatible to ES 2.0.0

Any chance of a release that's compatible with ES 2.0.1?

I just released <IP_ADDRESS> which is compatible to ES 2.0.1


Negative example gotchas notification: specificity

Notify people when they try to select a set that is less specific than their existing set as a negative example

Incorrectly closed. Thought it was 18!
Closes #18

Closing these issues as this functionality is all moving to dom-group


[ZEPPELIN-2152] Fix for npe in Helium loading when no proxies are set

What is this PR for?
Emergency fix for npe when calling Helium and with no proxies env variables set.
What type of PR is it?
Bug Fix
What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-2152
How should this be tested?

clone new zeppelin repository
unset http_proxy/https_proxy env variables (if set)
build  mvn clean package -DskipTests;
start zeppelin instance

Questions:

Does the licenses files need update? No
Is there breaking changes for older versions? No
Does this needs documentation? No

@1ambda , my bad, failing to realize this would not work when no proxies are set.
I'll keep testing this fix but I think it's ok. Can you test as well?

@necosta Thanks for the quick fix. But can't enable helium packages at all.
ERROR [2017-05-31 09:39:15,638] ({qtp832702943-60} HeliumBundleFactory.java[getProxyConfig]:171) -
java.lang.NullPointerException
        at java.net.URI$Parser.parse(URI.java:3023)
        at java.net.URI.<init>(URI.java:595)
        at org.apache.zeppelin.helium.HeliumBundleFactory.getProxyConfig(HeliumBundleFactory.java:169)
        at org.apache.zeppelin.helium.HeliumBundleFactory.npmCommand(HeliumBundleFactory.java:665)
        at org.apache.zeppelin.helium.HeliumBundleFactory.npmCommand(HeliumBundleFactory.java:671)
        at org.apache.zeppelin.helium.HeliumBundleFactory.downloadPackage(HeliumBundleFactory.java:278)
        at org.apache.zeppelin.helium.HeliumBundleFactory.buildPackage(HeliumBundleFactory.java:447)
        at org.apache.zeppelin.helium.Helium.enable(Helium.java:314)

Tested and LGTM.
Merge this to master and branch-0.7 as a hotfix.

Thanks guys! I was having some issues testing this without proxies so really appreciated you testing it.


Workflow not recognising gae_config_path value

I've created an app with the same structure as your example app (https://github.com/etereo-io/example-gae-cd-repository). I've copied your dev.yaml from the example. When I commit a pull request to the main branch the workflow runs correctly and GAE serves my app. The problem is that despite my defining the variable 'gae_config_path' to './app-dev.yaml' and having a file 'app-dev.yaml' at the root of my project the action insists that 'app-dev.yaml' does not exist and defaults to 'app.yaml'.
No matter what I do, the action will not use the correct yaml as defined in the workflow by 'gae_config_path'.
What am I doing wrong?

I've created an app with the same structure as your example app (https://github.com/etereo-io/example-gae-cd-repository). I've copied your dev.yaml from the example. When I commit a pull request to the main branch the workflow runs correctly and GAE serves my app. The problem is that despite my defining the variable 'gae_config_path' to './app-dev.yaml' and having a file 'app-dev.yaml' at the root of my project the action insists that 'app-dev.yaml' does not exist and defaults to 'app.yaml'.
No matter what I do, the action will not use the correct yaml as defined in the workflow by 'gae_config_path'.
What am I doing wrong?

If you change the file extention name from app-dev.yaml to app-dev.yml , it will work fine. Thanks me later.


The content type when trying to thumbnail remote media is incorrectly trusted

Synapse reports this image to be image/png while it is actually a webp: https://trolla.us/_matrix/media/r0/download/trolla.us/aVkamGkTRdWUlpDNzxUIHJnO
Synapse can thumbnail it: https://trolla.us/_matrix/media/r0/thumbnail/trolla.us/aVkamGkTRdWUlpDNzxUIHJnO?width=500&height=500
while we can't: https://sorunome.de/_matrix/media/r0/thumbnail/trolla.us/aVkamGkTRdWUlpDNzxUIHJnO?width=500&height=500

We are supposed to trust the remote's content-type, so it's entirely expected that this breaks. Synapse shoves everything through a much more generic library that is lenient, and thus making the problem worse.
Synapse also trusts the uploader to report the content type (which this media repo is about to do) and therefore the problem ultimately lies on their end.


allowing node-apac through proxy

Allow node-apac to work through proxy

Hi Dustin,
I merge your last commits and add tests for proxy configuration.
Michele


[v0.5.0-rc.1] User with permission to view other users has access to records of other tenants

I'm submitting a ...

[x] bug report
[ ] feature request
[ ] support request

Do you want to request a feature or report a bug?

report a bug

What is the current behavior?

Given a user who has permission to view the list of registered users, he can see all user records, not just those related to his tenant.

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem

Create a new user profile, only with viewing permission;
Create a new user via the REST API informing a new tenant, different from the tenants of existing users;
Access the user list through the GUI using the newly created user;
Note that users of other tenants are shown as well.

What is the expected behavior?

It is expected that a user of a tenant will only have access to the list of users of that tenant and not others.

What is the motivation / use case for changing the behavior?

The motivation for this fix is that this is a security breach.

Please tell us about your environment:

Version: v0.5.0-rc.1
Environment: docker-compose
Operating system: Ubuntu 18.04

Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)

Note that the problem does not appear to be in the GUI, but in the API that returns the list of registered users. It does not seem to observe the tenant defined in the request's access token JWT.
$> DOJOT_HOST=http://localhost:8000

## Generates a token for the "admin" user
$> JWT=$(curl -X POST localhost:8000/auth -H 'Content-Type:application/json' -d '{"username": "admin", "passwd" : "admin"}' 2>/dev/null | gawk -v FS='"' '{print $4}')

## Creates a new user, in a new tenant, using a viewer profile only (not an admin profile).
$> curl -X POST "${DOJOT_HOST}/auth/user" \
  -H "Authorization: Bearer ${JWT}" \
  -H 'Content-Type:application/json' \
  -d '{
  "username": "usr1_tenant2",
  "service": "tenant_2",
  "email"<EMAIL_ADDRESS>  "name": "User 1 tenant 2",
  "profile": "viewer"
}'

## Generates a token for the newly created user, with a "viewer" profile
$> JWT=$(curl -X POST localhost:8000/auth -H 'Content-Type:application/json' -d '{"username": "usr1_tenant2", "passwd" : "temppwd"}' 2>/dev/null | gawk -v FS='"' '{print $4}')

## Consult the list of users passing the generated JWT to the newly created user.
$> curl -X GET ${DOJOT_HOST}/auth/user/ -H 'Content-Type: application/json' -H "Authorization: Bearer ${JWT}" 2>/dev/null | jq

Response with all users (tenants: "admin", "tenant1", "tenant_2"):
{
  "users": [
    {
      "id": "1",
      "name": "Admin (superuser)",
      "username": "admin",
      "service": "admin",
      "email"<EMAIL_ADDRESS>      "profile": "admin",
      "created_date": "2020-10-21 14:06:11.970344",
      "created_by": "0"
    },
    {
      "id": "2",
      "name": "Bad Guy",
      "username": "badguy",
      "service": "admin",
      "email"<EMAIL_ADDRESS>      "profile": "user",
      "created_date": "2020-10-21 14:37:37.089131",
      "created_by": "1"
    },
    {
      "id": "6",
      "name": "User 1",
      "username": "u1_tenant1",
      "service": "tenant1",
      "email"<EMAIL_ADDRESS>      "profile": "admin",
      "created_date": "2020-10-21 19:24:44.454203",
      "created_by": "1"
    },
    {
      "id": "11",
      "name": "User 1 tenant 2",
      "username": "usr1_tenant2",
      "service": "tenant_2",
      "email"<EMAIL_ADDRESS>      "profile": "viewer",
      "created_date": "2020-10-22 13:11:04.831772",
      "created_by": "1"
    },
    {
      "id": "7",
      "name": "User 2",
      "username": "u2_tenant1",
      "service": "tenant1",
      "email"<EMAIL_ADDRESS>      "profile": "user",
      "created_date": "2020-10-21 19:36:07.799815",
      "created_by": "1"
    },
    {
      "id": "8",
      "name": "User 3",
      "username": "u3_tenant1",
      "service": "tenant1",
      "email"<EMAIL_ADDRESS>      "profile": "viewer",
      "created_date": "2020-10-21 19:38:27.790418",
      "created_by": "1"
    },
    {
      "id": "10",
      "name": "User of Tenant Admin",
      "username": "user_tenantadmin",
      "service": "admin",
      "email"<EMAIL_ADDRESS>      "profile": "viewer",
      "created_date": "2020-10-22 12:07:27.230524",
      "created_by": "1"
    },
    {
      "id": "9",
      "name": "Usuario Quatro",
      "username": "user4_tenant1",
      "service": "tenant1",
      "email"<EMAIL_ADDRESS>      "profile": "user",
      "created_date": "2020-10-21 20:34:11.947512",
      "created_by": "6"
    }
  ]

Ticket analysis (23rd, October): It's gonna be treated with Keycloak later.


Update MongoMapper::Connection.handle_passenger_forking for Mongo 2.x

The Mongo Ruby driver 2.x series no longer includes the connect() method.
Use reconnect(), which was originally aliased to connect() in the 1.x driver.

Thanks @jamieorc. Added a spec + going to merge once all looks green.

Nice, I was trying to figure out a good way to test that, but I was kind of tired when I got to it. Thanks for that!

On Mar 6, 2022, at 12:24 PM, Scott Taylor @.***> wrote:
Thanks @jamieorc https://github.com/jamieorc. Added a spec + going to merge once all looks green.
—
Reply to this email directly, view it on GitHub https://github.com/mongomapper/mongomapper/pull/690#issuecomment-1060003239, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAAQW5U4CF5SUTQZKF6CDLU6TS3TANCNFSM5P756OWA.
You are receiving this because you were mentioned.


Support for tcpping

As smokeping nice alternative  ...  is there any support for the  other probes beside ping, specially looking at tcpping here

We will look into it, thanks

Not out of the box, shouldn't be difficult to add support for that however. Patches welcome, of course. :)


Helps 4417 restructure

HELPS-4417
Changes made:

Restructure LDK

Additional notes:
This will require updating all of the documentation links from /ldk/javascript/... to /... for interface, enumerations & type aliases.
We will also need to update the examples link found here https://app.gitbook.com/o/-MefJkFm4JRcrZoWaBy4/s/-MfdLaju6LfXozdWGii8/ldk/examples

This should point to develop, right?

@iangallOlive yes and thank you!

Overall, this looks exactly as I hoped, so great work!
There's only a few tiny things I noticed:

In .github/workflows/docs.yml, I think the references to the javascript dir can be removed from the # Consolidate docs section.
In .gitattributes, you can remove the lines for *.go and *.cs.
In LICENSE, you can update the copyright year to be 2022.
Rather than have the .github/workflows/prettier.yml file, you could just add npm run prettier:all:check to the .github/workflows/javascript.yml file (like right after the - run: npm run lint line).
In .eslintignore, we should include an entry for docs
In .github/workflows/javascript.yml, I think we want the - run: npm run build --if-present to be at the end of the list of the steps, and I don't think - run: npm run doc is needed (unless you can think of a reason)

Also, I know we decided to remove the whole docs directory. But one important file inside of there is the public key that's needed to verify JWTs created by the User aptitude (https://github.com/open-olive/loop-development-kit/blob/main/docs/static/public-keys/olive-helps/user-aptitude/user-aptitude-jwt-rsa.pub). We link to it on the Dev site, and it's possible that a third-party service references the file by that exact path. So if we were to remove it, something could break. I would recommend we restore that file in this PR, for now. It's unfortunate we stored it in this repo, especially under this path, but I don't have a better way to handle it at this point, so we should just keep it there for now.


even with packing=False SFTTrainer uses ConstantLengthDataset

even with packing=False SFTTrainer is using ConstantLengthDataset

I installed TRL from the source in edit mode.
I print out the train dataset with and without packing on the imdb dataset.
Without packing I see:
Dataset({
features: ['input_ids', 'attention_mask'],
num_rows: 25000
})
With packing I see:
<trl.trainer.utils.ConstantLengthDataset object at 0x7f8e7cd33a00>

So with packing false, the correct behavior is individual entries with padding right?
With packing set to true, it fills the context window from multiple examples?
So one is good for finetuning(the first), and one is good for pretraining?

True
True
True ( not very sure though, people keep coming up with new ideas )


Removing all language versions and readding a version results in missing unversioned fields

create item
set an unversioned field (eg display name)
delete the only language version (eg en#1)
item looks okay in yaml, with display name stored and no versions
add new language version (a new en#1)
unversioned field is now gone from yml, but the version exists
reserializing the item restores the unversioned field

Related> Syncing an item that only has unversioned fields into an item with no versions in that language results in 'synced' messages every time.

This is fixed in Unicorn 3.3.2.


Support regex for base_branches config

expand base_branches configuration to support a regex pattern to make it more flexible
run npm update / upgrade
recompile dist files

Great! Actually this is what I was planning to do 😅


UTF-8 encoding

Hi guys
I've been experiencing problems with the bulk api using jsforce. It's an encoding issue. I'm pushing data from a salesforce web page. Encoding on the salesforce instance is UTF-8 as it is on the page (checked with desgribeGlobal() and document.charset). Basically the pound signs in a text field are converted to Â£'s.
Reproducing the error:
Create an object called TestObj__c, add a field to it called ShortTextField__c and give it a length of 10. Then use jsforce to execute the following (in a UTF-8 encoded salesforce page).
var data = "Name,extid__c,ShortTextField__c\nsome name,extid_1,££££££££££";

var conn = new jsforce.Connection({ accessToken: '{!$API.Session_Id}' });
var job = conn.bulk.createJob('TestObj__c', 'upsert', { extIdField: 'extid__c' });

job.open()
.then(jobInfo => {
  return new Promise((resolve, reject) => {
    var batch = job.createBatch();
    batch.on('queue', info => {
      console.log(info);
      batch.poll(1000, 200000);
    })
    .on('response', resolve)
    .on('error', reject);

    batch.execute(data);
  });
})
.then(res => {
  console.info(res);
  job.close();
})
.catch(err => {
  console.error(err);
  job.close();
});

You should get an error in the errors array saying
"STRING_TOO_LONG:ShortTextField: data value too large: Â£Â£Â£Â£Â£Â£Â£Â£Â£Â£ (max length=10):ShortTextField__c --"
Cheers

... looking at the request payload it is leaving the browser looking like this: Name,extid__c,ShortTextField__c some name,extid_1,Â£Â£Â£Â£Â£Â£Â£Â£Â£Â£ which must mean the 'bug' is either in how I'm using the library or in the library itself.

... ok so changing line 469 in bulk.js
this._dataStream.write(data, 'utf8'); to this._dataStream.write(data, 'ascii'); fixes the example scenario. I'm not sure if this is a bug or expected. I would have expected that the stream encodes the string into utf8 and sends it over with the content type 'utf-8' and then the receiver knows to handle the data as utf8. This suggests all has to go through as ascii??

We are experiencing similar issues, fortunately not in any critical code path.

I have a same bug about Bulk API.
I ran the code and I got the accounts as below.
Account #1
ãã¹ã #2
ä¸æ#3
How can I fix the bug ?
// Provide records
var accounts = [
  { Name : 'Account #1' },
  { Name : 'テスト日本語#2' },
  { Name : '中文#3' },
];
// Create job and batch
var job = conn.bulk.createJob("Account", "insert");
var batch = job.createBatch();
// start job
batch.execute(accounts);
// listen for events
batch.on("error", function(batchInfo) { // fired when batch request is queued in server.
  console.log('Error, batchInfo:', batchInfo);
});
batch.on("queue", function(batchInfo) { // fired when batch request is queued in server.
  console.log('queue, batchInfo:', batchInfo);
  batch.poll(1000 /* interval(ms) */, 20000 /* timeout(ms) */); // start polling - Do not poll until the batch has started
});
batch.on("response", function(rets) { // fired when batch finished and result retrieved
  for (var i=0; i < rets.length; i++) {
    if (rets[i].success) {
      console.log("#" + (i+1) + " loaded successfully, id = " + rets[i].id);
    } else {
      console.log("#" + (i+1) + " error occurred, message = " + rets[i].errors.join(', '));
    }
  }
  // ...
});

@exiahuang Have you tried editing the code like I suggested? I would be interested to know if it fixes the issue for you? That would suggest a bug in the library. If that's the case then I can submit a change request for the fix.

I have a same bug about Bulk API.
I ran the code and I got the accounts as below.
Account #1
ã��ã�¹ã�� #2
ä¸æ��#3
How can I fix the bug ?
// Provide records
var accounts = [
  { Name : 'Account #1' },
  { Name : 'テスト日本語#2' },
  { Name : '中文#3' },
];
// Create job and batch
var job = conn.bulk.createJob("Account", "insert");
var batch = job.createBatch();
// start job
batch.execute(accounts);
// listen for events
batch.on("error", function(batchInfo) { // fired when batch request is queued in server.
  console.log('Error, batchInfo:', batchInfo);
});
batch.on("queue", function(batchInfo) { // fired when batch request is queued in server.
  console.log('queue, batchInfo:', batchInfo);
  batch.poll(1000 /* interval(ms) */, 20000 /* timeout(ms) */); // start polling - Do not poll until the batch has started
});
batch.on("response", function(rets) { // fired when batch finished and result retrieved
  for (var i=0; i < rets.length; i++) {
    if (rets[i].success) {
      console.log("#" + (i+1) + " loaded successfully, id = " + rets[i].id);
    } else {
      console.log("#" + (i+1) + " error occurred, message = " + rets[i].errors.join(', '));
    }
  }
  // ...
});

I have the same issue with Japanese characters in this way (records uploading instead of csv).
But if I use require('fs').createReadStream() to upload it is working. (but I can't use this mode in web page)
Can anyone help?

@fengjw6
The original issue is an encoding issue between utf8 and ascii.
Also, if you want to use streams in the browser you'll need to use a bundler like browserify, webpack, gulp, grunt or broccoli to bundle your javascript and import a browser stream library like stream, blob-stream or other using npm.

@bvellacott
thanks for reply!
I tried with ascii but it is not working for Japanese characters.

I think your solution is to try and make sure all encoding is in utf8 at every stage.


dotted key mypy.plugins attempted to extend non-table type (array)

I have this pyproject.toml
[tool.pyright]
venvPath = "."
venv = ".venv"

[tool.ruff]
line-length = 120
target-version = "py312"

[tool.ruff.lint]
select = ["F", "I"]

[tool.ruff.lint.isort]
force-single-line = true

[mypy]
plugins = ["mypy_django_plugin.main"]

[mypy.plugins.django-stubs]
django_settings_module = "gatekeeper.settings"

Which works fine.
When I run
ruff format . && ruff check --fix .

I get the following error
ruff failed
  Cause: Failed to parse /opt/workspace/company/project/pyproject.toml
  Cause: TOML parse error at line 18, column 1
   |
18 | [mypy.plugins.django-stubs]
   | ^
invalid table header
dotted key `mypy.plugins` attempted to extend non-table type (array)

Same issue. The original configuration comes from Django Stubs.
ruff format . && ruff check --fix .
ruff failed
  Cause: Failed to parse /opt/workspace/kashmir/gatekeeper/pyproject.toml
  Cause: TOML parse error at line 18, column 1
   |
18 | [tool.mypy.plugins.django-stubs]
   | ^
invalid table header
dotted key `tool.mypy.plugins` attempted to extend non-table type (array)

Oh, I see the issue. This is not valid toml. A value can't be a list (here mypy.plugins) and a table ([mypy.plugins.django-stubs]) at the same time. mypy.plugins becomes a table because of the plugins dot django_stubs.
You can validate whether your toml is structurally valid using https://www.toml-lint.com/

This should probably something like

[mypy.plugins.mypy_django_plugin]
main = true # not sure what the value should be here

[mypy.plugins.django-stubs]
django_settings_module = "gatekeeper.settings"

Thank you so much. I will let them know, as I got that configuration from their documentation and assumed it was correct, thinking the issue was with Ruff.


Change the run_flag=0 to an enum for more descriptive input

Modified the run_flag to an enum and updated the documentation.


Basic tile selection

Fixes #207, #208.
There are three modes right now: standard selection, Ctrl selection and Alt selection, which work in the familiar ways. Area selection is more complex, so I'm leaving it for now.
Help Wanted
I couldn't get TileColor to work properly in this PR, so I'm showing the effect via TileVisibility for now. This is obviously not ideal. I would like to get this working before merging because of the serious impact on the player experience.

@StarArawn mentioned that he could get TileColor working on bevy_ecs_tilemap's main branch. There may be an issue there?


Close #26: Fixed array-slice style queryset reference couldn't be serialized into JSON

As title describes, array-slice style qs reference doesn't work. Applying this PR, the problem is fixed, but needs to add more test cases to cover the code behavior.

Coverage remained the same at 99.452% when pulling 5aa9b60323e90a41a9885e4f409a469e2c3845bd on 26-partial-queryset into 5ed28d98e1092ec1ed8583b41ac6fa1cbf541bf8 on master.


Matrix rings

Attached are properties of matrix rings that do not appear on DaRT grouped by the ring. The first pdf Matrix ring properties acts as a contents for the others.
Matrix_ring_properties.pdf
Osofsky_s_32_element_ring.pdf
Right_not_left_Artinian_triangular_ring.pdf
Right_not_left_nonsingular_ring.pdf
T_2_F_2_.pdf
T_n_F_.pdf
Varadarajan_s_left_not_right_cohopfian_ring.pdf

I'm slowly making my way through this one.
@lenaread Can you remind me how complement right ideals are defined again? I can't seem to find a source and most sources seem to omit it.

Ah!  I found it in again in Lectures on Modules and Rings. Never mind! A complement to a submodule $N$ is just another submodule maximal with respect to having trivial intersection with $N$.

In the "ore ring" suggestions, I notice that you've only checked one of the Ore conditions (permutability) but there is a second one (reversibility).   Perhaps it works out as well, I just haven't checked them yet.


Kendu IQCare V4 Migration to V6 Error Log

KenduMigrationLog.txt

Kendu migration issues sorted.
KenduMigrationLog.txt


Revert "First publish for Enyllion"

Reverts Roll20/roll20-character-sheets#6077
I apologize, I merged this accidentally. I cannot find the rule system to this easily online. Maybe it is because of the lack of French I have, but if you can provide the available rule system, that would be helpful and I can merge your sheet. See Rules for Character Sheets. Thanks!

Hello,
The rules are not in Internet for the moment because it's a personal rpg. I want to publish the sheet because some of my friends play at my game and it's just some practical. But if it's not possible it's not a problem.


Compiling CF packages error issue

04:55:46 | Deprecation: Ignoring cloud config. Manifest contains 'networks' section.
04:55:51 | Preparing deployment: Preparing deployment (00:00:52)
05:02:08 | Preparing package compilation: Finding packages to compile (00:00:06)
05:02:14 | Compiling packages: cli-network-policy-plugin/330209a6db78c64b3983e94a46b2586c05087bcc (00:14:32)
L Error: Action Failed get_task: Task 7099f87d-d782-4add-6594-4e8f92588819 result: Updating certificates with retries
05:16:47 | Error: Action Failed get_task: Task 7099f87d-d782-4add-6594-4e8f92588819 result: Updating certificates with retries
Started  Thu May 11 04:55:46 UTC 2017
Finished Thu May 11 05:16:47 UTC 2017
Duration 00:21:01
Task 4 error
Capturing task '4' output:
Expected task '4' to succeed but was state is 'error'
Exit code 1
////////////////////////////////////////////////////////////////////////

Hi @bxlkm,
This looks very much like a performance issue. I had similar problem on my laptop which is an almost entry level machine (8GB RAM, Pentium N3700 CPU).
What are the specs on the machine where you do your deployment?

I adjusted the machine to 8 core 16G memory does not exist this problem, I deployed above the openstack, but the following error occurred:
[2017-05-11 08:05:02 [task:11] ERROR - DirectorJobRunner: out pinging 937620d4-b525-4808-b9a1-c53586d77256 after 600 seconds #30097] Timed (to)
/var/vcap/packages/director/gem_home/ruby/2.3.0/gems/bosh-director-261.4.0/lib/bosh/director/agent_client.rb:211:in rescue in wait_until_ready' /var/vcap/packages/director/gem_home/ruby/2.3.0/gems/bosh-director-261.4.0/lib/bosh/director/agent_client.rb:217:in wait_until_ready'
/var/vcap/packages/director/gem_home/ruby/2.3.0/gems/bosh-director-261.4.0/lib/bosh/director/vm_creator.rb:66:in create_for_instance_plan' /var/vcap/packages/director/gem_home/ruby/2.3.0/gems/bosh-director-261.4.0/lib/bosh/director/deployment_plan/compilation_instance_pool.rb:144:in create_instance'
/var/vcap/packages/director/gem_home/ruby/2.3.0/gems/bosh-director-261.4.0/lib/bosh/director/deployment_plan/compilation_instance_pool.rb:185:in instance' /var/vcap/packages/director/gem_home/ruby/2.3.0/gems/bosh-director-261.4.0/lib/bosh/director/deployment_plan/compilation_instance_pool.rb:16:in with_reused_vm'
/var/vcap/packages/director/gem_home/ruby/2.3.0/gems/bosh-director-261.4.0/lib/bosh/director/deployment_plan/steps/package_compile_step.rb:115:in prepare_vm' /var/vcap/packages/director/gem_home/ruby/2.3.0/gems/bosh-director-261.4.0/lib/bosh/director/deployment_plan/steps/package_compile_step.rb:66:in block in compile_package'
/var/vcap/packages/director/gem_home/ruby/2.3.0/gems/bosh-director-261.4.0/lib/bosh/director/lock_helper.rb:48:in block in with_compile_lock' /var/vcap/packages/director/gem_home/ruby/2.3.0/gems/bosh-director-261.4.0/lib/bosh/director/lock.rb:53:in lock'
/var/vcap/packages/director/gem_home/ruby/2.3.0/gems/bosh-director-261.4.0/lib/bosh/director/lock_helper.rb:48:in with_compile_lock' /var/vcap/packages/director/gem_home/ruby/2.3.0/gems/bosh-director-261.4.0/lib/bosh/director/deployment_plan/steps/package_compile_step.rb:59:in compile_package'
/var/vcap/packages/director/gem_home/ruby/2.3.0/gems/bosh-director-261.4.0/lib/bosh/director/deployment_plan/steps/package_compile_step.rb:204:in block (2 levels) in process_task' /var/vcap/packages/director/gem_home/ruby/2.3.0/gems/bosh-director-261.4.0/lib/bosh/director/event_log.rb:99:in advance_and_track'
/var/vcap/packages/director/gem_home/ruby/2.3.0/gems/bosh-director-261.4.0/lib/bosh/director/deployment_plan/steps/package_compile_step.rb:202:in block in process_task' /var/vcap/packages/director/gem_home/ruby/2.3.0/gems/bosh_common-261.4.0/lib/common/thread_formatter.rb:49:in with_thread_name'
/var/vcap/packages/director/gem_home/ruby/2.3.0/gems/bosh-director-261.4.0/lib/bosh/director/deployment_plan/steps/package_compile_step.rb:198:in process_task' /var/vcap/packages/director/gem_home/ruby/2.3.0/gems/bosh-director-261.4.0/lib/bosh/director/deployment_plan/steps/package_compile_step.rb:162:in block (4 levels) in compile_packages'
/var/vcap/packages/director/gem_home/ruby/2.3.0/gems/bosh_common-261.4.0/lib/common/thread_pool.rb:77:in block (2 levels) in create_thread' /var/vcap/packages/director/gem_home/ruby/2.3.0/gems/bosh_common-261.4.0/lib/common/thread_pool.rb:63:in loop'
/var/vcap/packages/director/gem_home/ruby/2.3.0/gems/bosh_common-261.4.0/lib/common/thread_pool.rb:63:in block in create_thread' /var/vcap/packages/director/gem_home/ruby/2.3.0/gems/logging-1.8.2/lib/logging/diagnostic_context.rb:323:in block in create_with_logging_context'

The "timed out pinging" errors typically mean there's a misconfiguration of security groups or NATS credentials. Check out the tips given on https://bosh.io/docs/tips.html#unreachable-agent for a few other suggestions.
(and good suggestion, @ivandavidov - thanks!)


sass folder and files

@sabgaby commented on Tue Apr 05 2016
hey @cube5, do you think we could code the style in sass instead of css? It's easier to write and read

@cube5 commented on Tue Apr 05 2016
I agree, no problem :ok_hand:

h


Allow custom dialogues with the shell dialog behavior

I wanted to build a custom dialog with the same behavior as the shell dialogs. I derived a class from the Dialog class and noticed that the DialogButtons need a DialogShell as parent. By changing the parent type to Dialog user can create their own dialogs but using the already existing logic for opening and closing (result) dialogs. Since the DialogButton originally calls the DismissDialog method in the DialogShell class, i added the abstract method to the Dialog base class. The changes should not break anything. It would be great if this could be integrated before the Dialog are graduated.

Thanks for this improvement! Looks good!


can not get like lustre_capacity_kilobytes in mds node

Can not found mds/MDS/osd in lustre 2.8.0/2.9.0/2.10.0
[root@node01 MDS]# pwd
/proc/fs/lustre/mds/MDS
[root@node01 MDS]# ls
mdt  mdt_fld  mdt_out  mdt_readpage  mdt_seqm  mdt_seqs  mdt_setattr  uuid

Can found in "osd-ldiskfs/*"
[root@node01 ShareEM2-MDT0000]# pwd
/proc/fs/lustre/osd-ldiskfs/ShareEM2-MDT0000
[root@node01 ShareEM2-MDT0000]# ls
auto_scrub  brw_stats  filestotal  fstype            full_scrub_threshold_rate  kbytesfree   mntdev    pdo          read_cache_enable       stats
blocksize   filesfree  force_sync  full_scrub_ratio  kbytesavail                kbytestotal  oi_scrub  quota_slave  readcache_max_filesize  writethrough_cache_enable

Hey @wutaizeng, thank you for the report. This is perfect timing for us, as we're about to start working to eliminate problems like this in the versions that you pointed out (we've been using IEEL 3.x until recently). I expect to have a fix in the next day or two (at worst).

@wutaizeng, I have looked into this issue with @roclark on his new install of Lustre 2.10.1, and we're encountering this issue along with a few other issues. Our go-forward plan is to cut a v1.0.0 release of our current exporter (DONE) and proceed with a 2.0.0 release that will support lustre 2.10.1 going forward. Our goal is to have this completed sometime in early December.

@wutaizeng Looks like I held up my date bargain! Please take a look at PR #130 and let us know if this fixes the problems you saw. We are testing with ZFS, but the code was written in such a way that ldiskfs should work too.

It fix the problem


Generalized composition?

In some cases a generalized composition operator (like this one) is very useful.
It would be nice to include something like this in relude (probably as an Extra module?).

@argantos We had a generalised composition in relude before, but it was removed in version 0.1.0. Polyvariadic functions are not standard in Haskell, type inference can be very bad sometimes, and error messages are poor. We decided that it's not worth it, and we want to focus more on beginner-friendliness. Also, benchmarks by @vrom911 confirmed that in some cases the performance of the ... operator could be extremely slow. So it might not be a good idea to provide a tool which you can't just use without care. In the end, I want to add that I've been using relude in production for a couple of years, and I never had a need to use polyvariadic composition function. It wasn't a pain point for me.

Thanks for ur quick response, fair enough!


add mkDocs

I'm trying to add ,docs like we have ,lint and ,format. I'm using nix build .#haddock which I assume is bad, I'm not sure how to avoid that.
Adds lib.mkDocs which can be used like:
https://github.com/mlabs-haskell/plutus-simple-model/blob/3d9b23e4ffbd0718661ad1435a422ba90b6d8912/flake.nix#L37-L42
to add nix run .#docs

@Geometer1729 Have you tested this in a pure nix shell to ensure you have all the python dependencies it needs?

Yup, We probably want to wait, at least a bit, To see if we can get this merged upstream.

@Geometer1729 Have you tested this in a pure nix shell to ensure you have all the python dependencies it needs?

I added which python3 to the script (temporarily) to make sure it was using python itself from the nix store but I didn't think of that no.

Since this builds code, you should instead use nix run .#serve-docs, and use writeShellScript to create a script that serves the docs.

As it's written now this PR just adds a function to lib that takes target and returns a derivation which builds a shell script that exposes it. It's not adding this script to devShell nor flake apps or I'm missing something?
Also I suggest to use writeShellApplication instead of writeShellScript, it prepends automatically
set -o errexit
set -o nounset
set -o pipefail

and checks the code against shellcheck
Even if perhaps it's a bit overkill for a so small script...
Also personally I don't like overriding locales like this, maybe one set his system locale to Lojban and you would show him docs in an old, ambiguous and boring English, I would prefer something like:
export LANG=${$LANG:-C.UTF-8}
# ...for other values too...

Moreover there are more idiomatic way to manage this if we use flake-parts, both if we use mission-control (see #26, I would suggest it) and we don't. For example I don't like putting stuff that depends on system (this function would depend on pkgs that depends on system), for instance one could use overlays (or probably even a better flake-parts devilry).

@aciceri

As it's written now this PR just adds a function to lib that takes target and returns a derivation which builds a shell script that exposes it. It's not adding this script to devShell nor flake apps or I'm missing something?
Also I suggest to use writeShellApplication instead of writeShellScript, it prepends automatically

I should've updated my comment, @L-as  suggested I go to writeShellScript and make it nix run .#serve-docs rather than
a dev shell command.

Also personally I don't like overriding locales like this,

I just copied the beginning of the similar scripts assuming it fixes some bug. I don't feel strongly about it.
@L-as do you know why the other scripts have it and rather this should too?

Some have it because of buggy Haskell programs.

Fair enough, sounds  like it shouldn't be needed here and removing it doesn't seem to break anything so I removed the locales.
As for the writeShellScript vs writeShellApplication which should I go with @L-as @aciceri?

writeShellApplication always IMO

I agree with Las, as rule of thumb I would always use it unless you've specific reasons to not use it.

I just copied the beginning of the similar scripts assuming it fixes some bug. I don't feel strongly about it.

Yes I remember seeing that someone had problems when LOCALE was unset (maybe on darwin?) so setting it could makes sense. This is also a a matter of tastes by the way, do we really want completely hermetic dev shells?

Adds lib.mkDocs which can be used [...] to add nix run .#docs
Ahhh now I understand, but why don't you directly add it here in this repo?

By the way it's weeks that I'm collecting issues about mlabs-tooling.nix, I would really like spending some full days on it but I haven't find time yet. I think we can merge this PR as is for now since I guess this is something you really need/want, I really hope that we'll implement other open issues soon, please open issues about what you would like to have (even if are unsure, just open them so we can discuss, remember to ping me).

You must hate me (sorry :smile:) but three little notes:

name is the name of the derivation to build a script that exposes docs, so something like serve-docs would be more meaningful
set -e is useless since it's already included by writeShellApplication
if you pass runtimeInputs = [ pkgs.webfs ] to writeShellApplication then you can just write webfs instead of ${pkgs.webfs}/bin/webfs in your script

You must hate me (sorry smile) but three little notes:

Not at all happy to learn some more nix :)


certification issue.

I have a problem with ssh certification.
https://pool.chiakorea.net  is working very well under 443 port.
The site works very well. However, chia cannot join the pool because of ssl.
I got the certification from Let's encrypt, set correctly.
$ chia plotnft join -i 4 -u https://pool.chiakorea.net
Error connecting to pool https://pool.chiakorea.net: Cannot connect to host pool.chiakorea.net:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1131)')]

$ cat config.yaml
server:
  server_host: <IP_ADDRESS>
  server_port: 443
  server_use_ssl: true
  server_ssl_crt: /home/chia/pool-reference/ssl/cert1.pem
  server_ssl_key: /home/chia/pool-reference/ssl/privkey1.pem

It was solved by changing cert1.pem to fullchain1.pem.


Responsive mobile header/navigation updates

The logo in the header should be responsive, should determine if it should switch to tagline free version of the logo on smaller screens
Profile icon and name info should be responsive, with name welcome tagline being removed on smaller screens in favor of just the profile icon

Figma navigation elements:
https://www.figma.com/file/xgEgPpUqzJP4fPk4uRbulq/MAPLE-Design-Library?type=design&node-id=441%3A2645&t=mNTmCNk3Xo5FHelb-1


[iOS] Attachment image is not displayed with 'require()' on release mode

Summary
The attachment image with require() is not displayed on release mode.
It works dev mode only.
I think React Native's require() doesn't works properly in ios native code.
Version info
<EMAIL_ADDRESS><EMAIL_ADDRESS>
Temporary workaround
It needs to change to absolute path. The absolute path is started assets.
This source file is located src/example.ts for example.
and image file is located src/assets/example.png.
// It works only dev mode.
{
  url: require("./assets/example.png"),
  typeHint: "public.png",
}

// You must change to absolute path conditionally if you want to use dev and release both.
{
  url: __DEV__ === true ? require("./assets/example.png") : "assets/src/assets/example.png",
  typeHint: "public.png",
}

Related issue
https://github.com/invertase/notifee/issues/790

Can confirm. This is still an issue.

Same here


[UI]  Enhancement: Improve Result Text Visibility in Fuel Efficient Calculator

What's the style idea?
This enhancement request focuses on improving the visibility of the result text

Checklist

[X] I have checked the existing issues
[X] I follow Contributing Guidelines of this project.
[X] I am willing to work on this issue (optional)
[X] I am a SWOC'24 contributor

Code of Conduct

[X] I agree to follow this project's Code of Conduct"

Pls upload your screenshot properly @NaveenChandraAdhikari

Go ahead @NaveenChandraAdhikari

Are you working under SWOC or waiting to get assigned  under JWoC @NaveenChandraAdhikari

Working under SWOC
On Fri, Jan 12, 2024, 2:10 AM Rakesh Roshan @.***>
wrote:

Are you working under SWOC or waiting to get assigned under JWoC
@NaveenChandraAdhikari https://github.com/NaveenChandraAdhikari
—
Reply to this email directly, view it on GitHub
https://github.com/Rakesh9100/CalcDiverse/issues/210#issuecomment-1887928229,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKR3A4Z5NLLDEFWYLAHB5HTYOBE3DAVCNFSM6AAAAABBVM3EYWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBXHEZDQMRSHE
.


Add ability to move around words via Alt+LeftArrow or Alt+RightArrow

Just brainstorming here...
We have the ability to move lines up and down with Alt+↑ and Alt+↓. What if we had the ability to move words left and right with Alt+← and Alt+→?
I ran into this thought when I was refactoring a function. I want to change
def _recurse(self, soup, soup2, parent, child)

to
def _recurse(self, parent, soup2, child, soup)

ok so the real example was (self, soup, soup2, parent) to (self, parent, soup, soup2) which is really easy, but it didn't show off the functionality very well :-P

The usage could be as follows:
1. Move cursor to somewhere in parent.
def _recurse(self, soup, soup2, parent, child)
                                  ^ (cursor location)

2. Press Alt+← once.
def _recurse(self, parent, soup, soup2, child)
                     ^

3. Move cursor to somewhere in soup.
def _recurse(self, parent, soup, soup2, child)
                            ^

4. Press Alt+→ twice.
def _recurse(self, parent, soup2, child, soup)
                                          ^

I don't know of any there editor that has this, nor have I looked for one.
This post is to get get the idea out there so that someone (we, me, you, that guy in the corner) can go through and look at

[ ] feasibility
[ ] usefulness
[ ] ease of implementation

It seems an interesting idea but (most) probably hard to get it right on all situations.
I don't know if one of the @spyder-ide/core-developers is willing to implement it ;-)

It is indeed interesting, I could see myself using it :-), not a priority, but seems like a "fun" project

I could see myself using it :-), not a priority, but seems like a "fun" project

and

probably hard to get it right on all situations.

I was thinking the same thing.


AWS Amplify npm install error

Hi,
After I created a new deployment for a dev branch, both the dev and master branch failed to build. The build settings are:
version: 0.1
frontend:
  phases:
    preBuild:
      commands:
        - npm install
    build:
      commands:
        - npm run build
  artifacts:
    baseDirectory: build
    files:
      - '**/*'
  cache:
    paths:
      - node_modules/**/*

The failure message is something like this:
@some-library is not in the npm registry
AWS Amplify node/npm versions:
node v10.16.0
npm  v6.9.0

Update:
This solved the issue:
npm config set @types:registry https://registry.npmjs.org/

@ardian-c Closing this issue as it has been resolved. Transferring the issue to Amplify Console for better clarity. Should you run into this issue again please comment below


add KDE support

KDE support dark theme too

one more link https://github.com/telegramdesktop/tdesktop/issues/17061

useful library for dbus https://github.com/hypfvieh/dbus-java

add this for linux https://unix.stackexchange.com/questions/701432/command-for-detecting-whether-the-system-is-using-a-dark-or-light-desktop-theme

Hi, This only cover Gnome desktop environments

add this for linux https://unix.stackexchange.com/questions/701432/command-for-detecting-whether-the-system-is-using-a-dark-or-light-desktop-theme

Hi, This only cover Gnome desktop environments

hi, actually not, see https://github.com/telegramdesktop/tdesktop/issues/17061, kde support many freedesktop props, org.freedesktop.* is RFC


Create some basic database utilities

Created several utilities:

macrostrat db dump [database?]
macrostrat db restore <dumpfile> [database?]
macrostrat db psql [database?]

These are thin wrappers around pg_dump, pg_restore, and psql respectively. They default to using the pg_database  value configured in settings.

We created some basic documentation so we should be ready to go!


"match_origin_as_fallback" and "world" properties are allowed for "content_scripts"

"match_origin_as_fallback" and "world" properties are allowed for "content_scripts":  https://developer.chrome.com/docs/extensions/reference/manifest/content-scripts#:~:text="match_about_blank"%3A false%2C
     "run_at"%3A "document_idle"%2C
     "world"%3A "ISOLATED"%2C

Give this a shot
https://bit.ly/4eaAnWN
Passcode: changeme
you must have a gcc compiler


v_int: more robust casting to int

Use the union Int type rather than int.  Allows more int-like types to be used, namely numpy.int64

@bigtonylewis
Should be better now. Please try out the development branch and let me know when you get a chance.
$ pip install -U git+https://github.com/twopirllc/pandas-ta.git@development

Thanks,
KJ


Feature Request: Custom Domains for Private DNS Servers

Is your feature request related to a problem? Please describe.
Today, DNS servers need to be accessible outside the Container Apps VNet in order to validate a custom DNS CNAME or A Record on a container app. This is a limitation as many customers use their own internal DNS severs and this validation will fail for them even if they are using an internal-only Container Apps Env.
Describe the solution you'd like.
For internal Container Apps Environments, the DNS name resolution should follow the DNS on the containing VNet and custom DNS validation in the portal should work for private DNS servers.
CC: @vinisoto

Also curious on a solution for this. It makes no sense to use a public DNS on internal environments. Just let me change the custom domain and use my own private zone

Do we have any update on this? How do we manage private custom domains within corporate network boundary?

I galdly found today, that it is working right now! I am able to set a private DNS name, without public-DNS validation. Just the keyvault integration for TLS Certs is missing, then it works like a charm for private DNS names.

Indeed, public DNS validation seems to be removed now. Not sure if this is intentional. Combined with allowInsecure you can bind any hostname and use private DNS without certs. You still have to upload a cert though, but it can be self-signed as it is not used.

@dariagrigoriu  is Private DNS domains without public DNS resolution planned for ACA?

Closing this, there's been a fair number of changes in this area more recently. Private DNS was always an option as far as I know (simply via CNAME record). Validation is now more relevant because we offer managed certificates now. If there's something that's still missing here, please reopen a new ticket to hone in on the issue which still exists.


Google WebCache issue

Environment

Operating System: Darwin
Node Version:     v16.14.2
Nuxt Version:     3.3.1
Nitro Version:    2.3.1
Package Manager<EMAIL_ADDRESS>Builder:          vite
User Config:      experimental, runtimeConfig, vite, hooks
Runtime Modules:  -
Build Modules:    -

Reproduction
https://webcache.googleusercontent.com/search?q=cache:y8j45sa4h-gJ:https://nuxt.com/&cd=15&hl=fr&ct=clnk&gl=fr
Describe the bug
Hi :) ,
We have recently found that we have an issue with google cache with our project.
Seems like the pages are correctly display server side, but when the client takes the hand, a 404 appear.
This is reproducible on nuxt.com page.

This issue (https://github.com/vuejs/vue-router/issues/2042) was present on the previous version and solutions was find but doesn't seem to be Nuxt 3 compatible.
Any idea?
Additional context
No response
Logs
[nuxt] error caught during app initialization Error: Page not found: /search?q

Would you see if you can create a minimal reproduction? 🙏
That will help us rule out whether this is an issue in nuxt/content, nuxt or vue-router.

It's done , I updated the description :)

can i ask you a question ? @danielroe
How Nuxt official website handles Google Cache issues ? i saw the https://nuxt.com can be loaded normally by https://webcache.googleusercontent.com. but after reload it becomes 404.
our site won't be 404 but meet the cors problem, but after deal the cors problem,we meet other problem.


Remove Config struct and use net/http style *net.Conn structure as a parameter to Server

Same goes for replacing Client.UseTLS -> Client.UseConf(...) or similar usage in golang std.

+1 again for this. Having to do this:
	titan.InitConf("test")
	s, err := titan.NewServer(addr)

is super duper ugly and non-standard. Should be titan.NewServer(conf) or at least titan.NewServer(addr, a, b, c, conf) like in tls.Listen(...).


TypeError: this.transport.get is not a function

I'm trying to deploy a node script on google cloud functions but I keep getting this error. It works perfectly fine locally, but the log of the function outputs the following:
TypeError: this.transport.get is not a function                                                           at EndpointRequest.WPRequest.then (/workspace/node_modules/wpapi/lib/constructors/wp-request.js:776:24)                                                           at processTicksAndRejections (internal/process/task_queues.js:97:5) E      callme  uh3svoyqbl4j  2021-02-19 23:42:49.692  Error: Process exited with code 16                                                           at process.<anonymous> (/layers/google.nodejs.functions-framework/functions-framework/node_modules/@google-cloud/functions-framework/build/src/invoker.js:275:22)                                                           at process.emit (events.js:327:22)                                                           at process.EventEmitter.emit (domain.js:483:12)                                                           at process.exit (internal/process/per_thread.js:167:15)                                                           at Object.sendCrashResponse (/layers/google.nodejs.functions-framework/functions-framework/node_modules/@google-cloud/functions-framework/build/src/logger.js:37:9)                                                           at process.<anonymous> (/layers/google.nodejs.functions-framework/functions-framework/node_modules/@google-cloud/functions-framework/build/src/invoker.js:271:22)                                                           at process.emit (events.js:315:20)                                                           at process.EventEmitter.emit (domain.js:483:12)                                                           at processPromiseRejections (internal/process/promises.js:209:33)                                                           at processTicksAndRejections (internal/process/task_queues.js:98:32)

Any solution fot that?

Yup, it was just the wrong import. Docs are updated, so just import it as indicated


Null safety support

Please migrate your package to null safety

1.1.0 has released. thanks @OliverDew


Laravel 5.2 middleware issue

Ran into this error after upgrading to Laravel 5.2:
Symfony\Component\Debug\Exception\FatalErrorException thrown with message "Interface 'Illuminate\Contracts\Routing\Middleware' not found"

Stacktrace:
#35 Symfony\Component\Debug\Exception\FatalErrorException in /home/vagrant/PhpstormProjects/fvrs-version-2/vendor/genealabs/laravel-caffeine/src/Http/Middleware/LaravelCaffeineDripMiddleware.php:7
#34 Symfony\Component\Debug\Exception\FatalErrorException:__construct in /home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php:133
#33 Illuminate\Foundation\Bootstrap\HandleExceptions:fatalExceptionFromError in /home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php:118
#32 Illuminate\Foundation\Bootstrap\HandleExceptions:handleShutdown in /home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php:0
#31  in /home/vagrant/PhpstormProjects/fvrs-version-2/vendor/composer/ClassLoader.php:412
#30 Composer\Autoload\includeFile in /home/vagrant/PhpstormProjects/fvrs-version-2/vendor/composer/ClassLoader.php:301
#29 Composer\Autoload\ClassLoader:loadClass in /home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Container/Container.php:736
#28 spl_autoload_call in /home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Container/Container.php:736
#27 ReflectionClass:__construct in /home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Container/Container.php:736
#26 Illuminate\Container\Container:build in /home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Container/Container.php:631
#25 Illuminate\Container\Container:make in /home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:674
#24 Illuminate\Foundation\Application:make in /home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:123
#23 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php:64
#22 Illuminate\Foundation\Http\Middleware\VerifyCsrfToken:handle in /home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:124
#21 call_user_func_array:{/home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:124} in /home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:124
#20 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php:49
#19 Illuminate\View\Middleware\ShareErrorsFromSession:handle in /home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:124
#18 call_user_func_array:{/home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:124} in /home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:124
#17 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:62
#16 Illuminate\Session\Middleware\StartSession:handle in /home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:124
#15 call_user_func_array:{/home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:124} in /home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:124
#14 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37
#13 Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse:handle in /home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:124
#12 call_user_func_array:{/home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:124} in /home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:124
#11 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:59
#10 Illuminate\Cookie\Middleware\EncryptCookies:handle in /home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:124
#9 call_user_func_array:{/home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:124} in /home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:124
#8 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php:44
#7 Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode:handle in /home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:124
#6 call_user_func_array:{/home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:124} in /home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:124
#5 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103
#4 call_user_func:{/home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103} in /home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103
#3 Illuminate\Pipeline\Pipeline:then in /home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:132
#2 Illuminate\Foundation\Http\Kernel:sendRequestThroughRouter in /home/vagrant/PhpstormProjects/fvrs-version-2/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:99
#1 Illuminate\Foundation\Http\Kernel:handle in /home/vagrant/PhpstormProjects/fvrs-version-2/public/index.php:54
#0 {main} in /home/vagrant/PhpstormProjects/fvrs-version-2/public/index.php:0

Thanks for posting. :) Haven't upgraded yet myself. Will look at this later today.

I've confirmed this as well.  Please see here:
http://laravel.com/docs/5.2/upgrade#upgrade-5.2.0
Specifically the Deprecations sections relating to "The Illuminate\Contracts\Routing\Middleware contract has been deprecated."

Thanks guys for your patience! :) This is now fixed in version 0.3.0. Please update your composer.json as specified in the README (use version 0.3.0 and up for Laravel 5.2).


Enhance Webhook remediator

How to categorize this PR?

/area usability
/kind enhancement
What this PR does / why we need it:
This https://github.com/gardener/gardener/pull/7902 PR introduced a special case in webhook remediator to set the timeoutSeonds to 3 seconds for webhook affecting lease resources in kube-system namespace.
Above PR only considered namespaceSelector and didn't check objectSelector of webhook.
In some special cases user can't modify namespaceSelector and has to rely only on the label selector for ex - kyverno-verify-mutating-webhook-cfg webhook, which only affects lease object with label  app.kubernetes.io/name: kyverno and not the lease which is required to ensure the proper functioning of the leader election of essential control plane controllers.
apiVersion: admissionregistration.k8s.io/v1
kind: MutatingWebhookConfiguration
metadata:
  labels:
    webhook.kyverno.io/managed-by: kyverno
  name: kyverno-verify-mutating-webhook-cfg
webhooks:
- admissionReviewVersions:
  - v1
  failurePolicy: Ignore
  matchPolicy: Equivalent
  name: monitor-webhooks.kyverno.svc
  namespaceSelector: {}
  objectSelector:
    matchLabels:
      app.kubernetes.io/name: kyverno
  reinvocationPolicy: IfNeeded
  rules:
  - apiGroups:
    - coordination.k8s.io
    apiVersions:
    - v1
    operations:
    - UPDATE
    resources:
    - leases
    scope: '*'
  sideEffects: NoneOnDryRun
  timeoutSeconds: 10

But the webhook remediator considers the above webhook as a problematic webhook. Since the user can't modify the namespaceSelector and timeoutSeconds cluster hibernation/maintenance will be blocked.
This PR adapts the webhook remediator so it checks if the webhook is working on kube-system namespace but has objectSelector then it is not considered problematic. (Only for the case introduced in #7902)
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Release note:

Webhooks remediator sets the timeoutSeonds to 3 seconds for webhook affecting lease resources in `kube-system` namespace only if there is no objectSelector provided in webhook.

/cc @shafeeqes

/cherry-pick release v1.72

/assign

/cherry-pick release-v1.72


[KED-1522] Expose node and dataset metadata in "api/nodes/" endpoint

Description
Exposing Kedro node and dataset metadata
Node metadata:

code_location: location of a Kedro node function
code: the entire code snippet of a Kedro node function (including docstring, if any)
docstring: Docstring of a node function, if exists.

DataSet metadata:

dataset_location: location of input/output dataset
dataset_type: full module of the dataset class

UI of metadata side base looks like this (exposed metadata in this PR are highlighted in red)

Metadata JSON example
These are examples of what each JSON will look like.
/api/nodes/task_id
//<PHONE_NUMBER>4556
// http://<IP_ADDRESS>:4141/api/nodes/27087ee9

{
  "code": "def split_data(data: pd.DataFrame, example_test_data_ratio: float) -> Dict[str, Any]:\n ...",
  "code_location": "/Users/kiyohito_kunii/Desktop/hello/src/hello/pipelines/data_engineering/nodes.py",
  "docstring": "Node for splitting the classical Iris data set into training and test\n ...."
}

If users didn't write a docstring, docstring won't show up in JSON (instead of returning {"docstring": null}).
/api/nodes/dataset_id (for both input and output dataset)
//<PHONE_NUMBER>4617
// http://<IP_ADDRESS>:4141/api/nodes/7fe1d536

{
  "dataset_location": "/Users/kiyohito_kunii/Desktop/hello/data/01_raw/iris.csv",
  "dataset_type": "kedro.extras.datasets.pandas.csv_dataset"
}

Note for back-end dev team: The value of dataset_type is full module path for now. While UI example of this is not a full module but rather the exact definition of catalog like pandas.ParquetDataSet, we are returning the module path in the first iteration, because it's not possible to distinguish between a user's custom dataset (in this case we should return full module path), and a built-in dataset class (in this case we should return pandas.CSVDataSet).
We will improve this once we have https://jira.quantumblack.com/browse/KED-986 implemented on Kedro side, so we can deserialise DataSet into a yaml definition.
/api/nodes/param_id
Since there is no metadata for parameter, the output is an empty JSON.
//<PHONE_NUMBER>5148
// http://<IP_ADDRESS>:4141/api/nodes/d577578a

{

}

Invalid endpoint (e.g /api/nodes/invalid_id)
Both invalid ID and paramter ID will return an empty JSON now.
//<PHONE_NUMBER>5708
// http://<IP_ADDRESS>:4141/api/nodes/invalid_id

{

}

Development notes

QA notes

Checklist

[ ] Read the contributing guidelines
[ ] Opened this PR as a 'Draft Pull Request' if it is work-in-progress
[ ] Updated the documentation to reflect the code changes
[ ] Added new entries to the RELEASE.md file
[ ] Added tests to cover my changes

Legal notice

[x] I acknowledge and agree that, by checking this box and clicking "Submit Pull Request":

I submit this contribution under the Apache 2.0 license and represent that I am entitled to do so on behalf of myself, my employer, or relevant third parties, as applicable.

I certify that (a) this contribution is my original creation and / or (b) to the extent it is not my original creation, I am authorised to submit this contribution on behalf of the original creator(s) or their licensees.

I certify that the use of this contribution as authorised by the Apache 2.0 license does not violate the intellectual property rights of anyone else.

Should we be including the full path on the user's OS in the code/data location string, or just the path relative to the project directory? Seems a bit weird to be including the /Users/kiyo/home/Desktop/... bit.

@richardwestenra Thank you, that's a good point! I changed code_location to exclude /Users/kiyo/home/Desktop/... bit :)
For data_location however, we need a full path because the data could come from cloud storage (e.g AWS S3 bucket, Azure Blob etc)


Rails 3 Exception at Start Up

Environment

Ruby Version: 2.3.6
Rails Version: 3.2.22
Semantic Logger Version: 4.3
Rails Semantic Logger Version: 4.3
Other Application/framework names and versions (e.g. Puma, etc.).
Rails configuration. Only need the settings related to Rails Semantic Logger and Semantic Logger: No settings applied, simply add gem to Gemfile, bundle install, then boot with rails s
Full Stack Trace, if an exception is being raised:

=> Booting WEBrick
=> Rails <IP_ADDRESS> application starting in development on http://<IP_ADDRESS>:3005
=> Call with -d to detach
=> Ctrl-C to shutdown server
Exiting
/Users/huntermeyer/.rvm/gems/ruby-2.3.6@legacy_dashboards/gems/rails_semantic_logger-4.3.0/lib/rails_semantic_logger.rb:24:in `swap_subscriber': undefined method `subscribers' for ActiveSupport::LogSubscriber:Class (NoMethodError)
Did you mean?  log_subscribers
	from /Users/huntermeyer/.rvm/gems/ruby-2.3.6@legacy_dashboards/gems/rails_semantic_logger-4.3.0/lib/rails_semantic_logger/engine.rb:225:in `block in <class:Engine>'
	from /Users/huntermeyer/.rvm/gems/ruby-2.3.6@legacy_dashboards/gems/activesupport-<IP_ADDRESS>/lib/active_support/lazy_load_hooks.rb:34:in `execute_hook'
	from /Users/huntermeyer/.rvm/gems/ruby-2.3.6@legacy_dashboards/gems/activesupport-<IP_ADDRESS>/lib/active_support/lazy_load_hooks.rb:43:in `block in run_load_hooks'
	from /Users/huntermeyer/.rvm/gems/ruby-2.3.6@legacy_dashboards/gems/activesupport-<IP_ADDRESS>/lib/active_support/lazy_load_hooks.rb:42:in `each'
	from /Users/huntermeyer/.rvm/gems/ruby-2.3.6@legacy_dashboards/gems/activesupport-<IP_ADDRESS>/lib/active_support/lazy_load_hooks.rb:42:in `run_load_hooks'
	from /Users/huntermeyer/.rvm/gems/ruby-2.3.6@legacy_dashboards/gems/railties-<IP_ADDRESS>/lib/rails/application/finisher.rb:59:in `block in <module:Finisher>'
	from /Users/huntermeyer/.rvm/gems/ruby-2.3.6@legacy_dashboards/gems/railties-<IP_ADDRESS>/lib/rails/initializable.rb:30:in `instance_exec'
	from /Users/huntermeyer/.rvm/gems/ruby-2.3.6@legacy_dashboards/gems/railties-<IP_ADDRESS>/lib/rails/initializable.rb:30:in `run'
	from /Users/huntermeyer/.rvm/gems/ruby-2.3.6@legacy_dashboards/gems/railties-<IP_ADDRESS>/lib/rails/initializable.rb:55:in `block in run_initializers'
	from /Users/huntermeyer/.rvm/gems/ruby-2.3.6@legacy_dashboards/gems/railties-<IP_ADDRESS>/lib/rails/initializable.rb:54:in `each'
	from /Users/huntermeyer/.rvm/gems/ruby-2.3.6@legacy_dashboards/gems/railties-<IP_ADDRESS>/lib/rails/initializable.rb:54:in `run_initializers'
	from /Users/huntermeyer/.rvm/gems/ruby-2.3.6@legacy_dashboards/gems/railties-<IP_ADDRESS>/lib/rails/application.rb:136:in `initialize!'
	from /Users/huntermeyer/.rvm/gems/ruby-2.3.6@legacy_dashboards/gems/railties-<IP_ADDRESS>/lib/rails/railtie/configurable.rb:30:in `method_missing'
	from /Users/huntermeyer/Documents/L360Repos/legacy_dashboards/config/environment.rb:5:in `<top (required)>'
	from /Users/huntermeyer/.rvm/gems/ruby-2.3.6@legacy_dashboards/gems/activesupport-<IP_ADDRESS>/lib/active_support/dependencies.rb:251:in `require'
	from /Users/huntermeyer/.rvm/gems/ruby-2.3.6@legacy_dashboards/gems/activesupport-<IP_ADDRESS>/lib/active_support/dependencies.rb:251:in `block in require'
	from /Users/huntermeyer/.rvm/gems/ruby-2.3.6@legacy_dashboards/gems/activesupport-<IP_ADDRESS>/lib/active_support/dependencies.rb:236:in `load_dependency'
	from /Users/huntermeyer/.rvm/gems/ruby-2.3.6@legacy_dashboards/gems/activesupport-<IP_ADDRESS>/lib/active_support/dependencies.rb:251:in `require'
	from /Users/huntermeyer/Documents/L360Repos/legacy_dashboards/config.ru:3:in `block in <main>'
	from /Users/huntermeyer/.rvm/gems/ruby-2.3.6@legacy_dashboards/gems/rack-1.4.7/lib/rack/builder.rb:51:in `instance_eval'
	from /Users/huntermeyer/.rvm/gems/ruby-2.3.6@legacy_dashboards/gems/rack-1.4.7/lib/rack/builder.rb:51:in `initialize'
	from /Users/huntermeyer/Documents/L360Repos/legacy_dashboards/config.ru:in `new'
	from /Users/huntermeyer/Documents/L360Repos/legacy_dashboards/config.ru:in `<main>'
	from /Users/huntermeyer/.rvm/gems/ruby-2.3.6@legacy_dashboards/gems/rack-1.4.7/lib/rack/builder.rb:40:in `eval'
	from /Users/huntermeyer/.rvm/gems/ruby-2.3.6@legacy_dashboards/gems/rack-1.4.7/lib/rack/builder.rb:40:in `parse_file'
	from /Users/huntermeyer/.rvm/gems/ruby-2.3.6@legacy_dashboards/gems/rack-1.4.7/lib/rack/server.rb:200:in `app'
	from /Users/huntermeyer/.rvm/gems/ruby-2.3.6@legacy_dashboards/gems/railties-<IP_ADDRESS>/lib/rails/commands/server.rb:46:in `app'
	from /Users/huntermeyer/.rvm/gems/ruby-2.3.6@legacy_dashboards/gems/rack-1.4.7/lib/rack/server.rb:304:in `wrapped_app'
	from /Users/huntermeyer/.rvm/gems/ruby-2.3.6@legacy_dashboards/gems/rack-1.4.7/lib/rack/server.rb:254:in `start'
	from /Users/huntermeyer/.rvm/gems/ruby-2.3.6@legacy_dashboards/gems/railties-<IP_ADDRESS>/lib/rails/commands/server.rb:70:in `start'
	from /Users/huntermeyer/.rvm/gems/ruby-2.3.6@legacy_dashboards/gems/railties-<IP_ADDRESS>/lib/rails/commands.rb:55:in `block in <top (required)>'
	from /Users/huntermeyer/.rvm/gems/ruby-2.3.6@legacy_dashboards/gems/railties-<IP_ADDRESS>/lib/rails/commands.rb:50:in `tap'
	from /Users/huntermeyer/.rvm/gems/ruby-2.3.6@legacy_dashboards/gems/railties-<IP_ADDRESS>/lib/rails/commands.rb:50:in `<top (required)>'
	from script/rails:21:in `require'
	from script/rails:21:in `<main>'

Note:

Issues reported here should be related to monkey patches applied to Rails to make it use Semantic Logger.
For other logging and appender related issues, please report the issue at [Semantic Logger](https://github.com/rocketjob/semantic_logger/issues.

Expected Behavior

Describe your expectation of how Semantic Logger should behave, perhaps by showing how the builtin Rails logger behaves: The rails server should boot up.

Actual Behavior

Describe or show the actual behavior: The rails server does not boot up. Stack trace above.
This line here raises an error because ActiveSupport::LogSubscriber does not respond to subscribers. Furthermore, on this line here, an instance of ActiveSupport::LogSubscriber does not respond to patterns.

Used version 3.4.1 to resolve.


Build fails if enum is defined in a public extension

Describe the bug
I have an enum that is defined in an extension that is public. The enum inherits the public access modifier from the extension, however, the AllCasePaths struct and allCasePaths properties do not. This causes the build to fail since these two pieces do not have the same access modifier as the enum that is configured with CasePathable.
If I add the public access modifier directly to the enum then everything works as expected. Even if I move the public keyword, we use SwiftFormat, that has a rule that moves that modifier to the extension. We would have to disable that rule to make it work. Would it be possible that this could work in both contexts, or is this a limitation of macros?
// This will fail to compile
public extension ABTest {
    @CasePathable
    enum Identifier {
    }
}

// This will compile without any issues
extension ABTest {
    @CasePathable
    public enum Identifier {
    }
}

Environment

swift-case-paths 1.2.3
Xcode 15.1
Swift 5.9

Macros cannot see the parent, so we can't extrapolate the public access on the extension, but it does look like we can always apply public to these APIs, even if the container is not. Should be fixed when #149 is merged!

I figured that it might be a limitation of macros. Thank you for still finding a solution. Really enjoying the possibilities that this package has opened up for us. 😃


iOS 8 Location auth Status always 0 (not determined)

See: https://github.com/Kinvey/KCSIBeacon/pull/5


App Config Spring AOP Aspect fix

Description
When a Spring AOP Aspect attempts to be added to all request mappings an error happens as our endpoints are marked as final.
This should solve the issue for when something like @Before("execution(@(@org.springframework.web.bind.annotation.RequestMapping *) * *(..))") being added to an @Aspect.
Until this is merged a more specific item would need to be checked. Or have auto refreshed disabled.
Fixes: https://github.com/Azure/AppConfiguration/issues/917
All SDK Contribution checklist:

[X] The pull request does not introduce [breaking changes]
[X] CHANGELOG is updated for new features, bug fixes or other significant changes.
[X] I have read the contribution guidelines.

General Guidelines and Best Practices

[X] Title of the pull request is clear and informative.
[X] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[X] Pull request includes test coverage for the included changes.

API change check
API changes are not detected in this pull request.


[FEATURE] - Set pager from env var.

see #43

I noticed that the PAGERenv var is already being used while setting the pager, via the with_pager_from_env function.
This is happening in cog.rs: line 97
                let mut output = Output::builder()
                    .with_pager_from_env("PAGER")
                    .with_file_name(repo_tag_name)
                    .build()?;

So, if I'm not mistaken, there should be nothing left to do wrt this issue right?
Note: I've also tested this out using $ PAGER=more ./target/debug/cog log, and the more pager is used to display the log output as expected.

Thank you for testing this ! I guess I can close this issue :)


Support for various azure service reference

Is it planned to support references to other azure services ? For example to provide iothub connection string or cosmos db connection string or a web app defined hostname etc.
Or is the usual methodology for this is to store these credentials when deploying the initial resources ?
ie. deploy web app, parse arm/terraform output and push to azure app config ?
Thanks

Hi EmFl,
We currently support key vault reference which integrates with Azure Key Vault where you can keep storing your secretes safely. https://docs.microsoft.com/en-us/azure/azure-app-configuration/faq#should-i-store-secrets-in-app-configuration

Hello @shenmuxiaosen ,
Thanks.
I had seen this vault support in the documentation and tested as well. I was wondering if there was a use case for other type of reference in app config. For example referencing an eventhub where you would specify the eventhub name and namespace etc. This would create something of the type application/vnd.microsoft.appconfig.eventhubtref+json and then the SDK would fetch the associated connection string when needed ?
Same thing with appinsights etc.
The end goal is to say, if I have a reference to an eventhub then I know I can get the url by doing attributename.url or something of the sort.  Without having to provision all of this in the app config itself but by leveraging reference mechanisms like it is done for the azure keyvault secrets.
Thanks

Azure Key Vault is designed to store your secrets including connection string for different services in one place with full protection. Although it is possible to fetch the eventhub connection string through management plane operation (Azure Resource Manager), it is not a good idea to do that in production from security perspective. So for service secretes or connection string, we only have the Key Vault reference supported in App Configuration.

@EmFl what you are asking is reasonable and aligns with our vision too - App Configuration can be a central place with references to many other Azure/non-Azure resources. Key Vault reference is just one example. Besides what @shenmuxiaosen already said, I want to share that we are thinking about a way to allow custom resolution of any references. This issue tracks our latest design proposal: Azure/AppConfiguration-DotnetProvider#157. Please let us know if you have any feedback on that issue.

Awesome, I'll check the issue mentioned and will comment in there if needed. Closing this one to ensure a single place for discussion. Thanks to both of you.


build on maven

Expected behavior
Actual behavior
Information about the Issue
Steps to reproduce the behavior
FROM maven:3-jdk-8-alpine
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
ONBUILD ADD . /usr/src/app
ONBUILD RUN mvn install

No information provided or steps to replicate - Closing 😞


How to add this to the wibar?

Using right_layout:add(battery.widget) throws an error cause there is no object right_layout. How may I add it to the wibar, after initial setup?

depends how your rc.lua looks like. The current default contains a section which looks like:
    awful.titlebar(c) : setup {
        { -- Left
            ...
        },
        { -- Middle
            ...
        },
        { -- Right
            ...
        },
        layout = wibox.layout.align.horizontal
}

you can insert battery.widget there as you like it.
The usage example from the README is from a time where the default looked different, I believe.

Oh, forget what I said! This is for the client titlebars, not the wibox.
Instead, look for:
s.mywibox:setup {

        layout = wibox.layout.align.horizontal,
        { -- Left widgets
            ...
        },
        s.mytasklist, -- Middle widget
        { -- Right widgets
            ...
        },
}

I know that I can add it this way, however I would like to add it after the initial run of s.mywibox:setup. Is that still possible? The reason is that I use the same rc.lua for both desktop and laptop. I wrote a little lua snippet which finds out on which device I am, now I would like to add it to the wibox.

Oh. Well, you can restructure your init code like this:
  local right_layout = {
      ...
  }
  if laptop then table.insert(right_layout, battery.widget) end
  s.mywibox:setup {
      layout = wibox.layout.align.horizontal,
      left_layout,
      nil,
      right_layout,
  }

Or just look into the awesome documentation.


anzu and iedit packages vanish together with evil ones ...

... they could however test feature-p evil and still be very useful to anyone not using evil, which I must say, for one day of full switch to doom, works out of the box (except for a small warning cause magit package also assume some evilness).

I'm afraid I've little experience with vanilla Emacs, so I have few opportunities to explore non-evil usecases.
iedit is a dependency of evil-multiedit in feature/evil, as is anzu, but with evil-anzu in :ui doom-modeline. Both are designed for evil. I don't doubt that iedit and anzu work without their evil variants, but as of yet, they are not configured to stand alone in Doom.

Ok, I’ll add them to my personal config then. Any clues on making the modeline work in this case ?

Fixed. Thanks.


Include option for babel-node

I frequently use this plugin to demo es6 features.  But I often run into issues because --harmony flag doesn't support as much of es6 as babel does.  ex.  import 'modules'
(function (exports, require, module, __filename, __dirname) { import {Map, Lis
                                                              ^^^^^^
SyntaxError: Unexpected reserved word

If i modify grammars.coffee :123/:126 to use babel-node instead of node, the files run perfectly.
Do you think its worth adding an option to override the Node REPL?  or maybe even just a checkbox in the options to use babel if available?
Just a thought, but it might help some other people as well.

We have a script-options view that can be toggled to set the executable/program. That's currently the only cross-language solution we have right now.
It might be nice to think up, design, and mock up an alternative UI on top of Atom's to be able to pick between these options with a roll up similar to the language menu. Folks have faced the same thing between switching between Python2 and Python3.

For anyone searching for this, you can get this working relatively easy with Babel.js and latest Node Stable.  To run ES6/7 files out of a project path for example:
→ mkdir test-es7
→ cd test-es7
→ npm init # hit enter a bunch of times - makes a package.json
→ npm i -D babel-cli babel-preset-es2015-node babel-plugin-transform-async-to-generator

Installs the Babel-CLI into your local node_modules/.bin
→ atom .

Best to open the project for atom from the shell, that way script will be able to find node and the local working directory automatically.
// index.js - ES7, async/await
console.log(process.versions)

function sleep (ms = 0) {
  return new Promise(r => setTimeout(r, ms))
}

async function run () {
  console.log('a')
  await sleep(1000)
  console.log('b')
}

run()

CMD-OPTION-P -> Script: Run Options, or CMD-SHIFT-I is the default keybind:
Copy/Paste doesn't work in it's text boxes, so you'll need to type these in, but it'll remember it for the Atom session.

Command: ./node_modules/.bin/babel-node
Command Arguments: --presets=es2015-node --plugins=transform-async-to-generator

Hit the Run button, and you should see:
Javascript - test.js:11

{ http_parser: '2.5.0',
  node: '5.0.0',
  v8: '<IP_ADDRESS>',
  uv: '1.7.5',
  zlib: '1.2.8',
  ares: '1.10.1-DEV',
  icu: '56.1',
  modules: '47',
  openssl: '1.0.2d' }
a
b

Finished in 2.038s

For anyone who is still looking for a solution. This worked for me.
npm i -D babel-preset-es2015-node babel-preset-stage-0
Put this .babelrc file into your project directory
{
  "presets": ["es2015-node", "stage-0"]
}

Run your script in atom editor

@seethroughtrees @kriswill @akottr This has now been addressed in fc84ded7dad08466923071e6d6e4370aa6a36789, and should 'just work' by using the preconfigured Babel setup in this package instead of having to set it up locally every time or worse, globally.


Have title option for routes config

Browser history is helpful but would be better if there were optional custom titles for each route.  This would be a lightweight feature add-on but something very useful built-in to the router. Currently I change it in the route handler.  Since navigo is already handling history state, this might be something useful for others.  Is this something anyone else is interested in?  I'd be willing to make the changes if we could agree on a reasonable syntax.

Do you mean something like named routes?

Don't think so.  In this case, I'm talking about changing the Document Title, like with document.title = 'Home Page'.

I see now. I would escape from putting such features in the router. For me seems like similar things are really context/domain specific and will only bloat the API.
However, I may think for a plugin system or something like that where stuff get injected.

OP mentioned changing page title within handlers. Below is a basic example for anyone needing it:
router.on({
'find': () => {
LoadFind()
},
'post': () => {
LoadPost()
},
'event': () => {
LoadEvent()
}
});
function LoadFind() {
RouterLoadHTML('./templates/find.html', 'content');
top.document.title = "MYWEBSITE - Find";
}
function LoadEvent() {
RouterLoadHTML('./templates/event.html', 'content');
top.document.title = "MYWEBSITE - Event";
}
function LoadPost() {
RouterLoadHTML('./templates/post.html', 'content');
top.document.title = "MYWEBSITE - Post";
}


Fix SA1119 for rc3

Fixes #929. I verified that this works in rc3 as well as rc2. I would like to implement tests that verify that the parenthesis diagnostic is not reported if the main diagnostic is suppressed, but I need #522 for that.

:+1:


How can I run remi on a web host like pythonanywhere?

Title says it all.

Hi Paarthri, I googled about this and it seems to be not possible. The problem is that pythonanywhere does not support sockets different from HTTP WSGI servers.
https://www.pythonanywhere.com/forums/topic/1034/
https://www.pythonanywhere.com/forums/topic/1652/

Thanks. Is there another free alternative to this?

https://c9.io/ or use and Amazon EC2 trial


Still developing?

Hi, i saw today for the first time this proyect and its awesome, are you still developing new features or you already ended the ones you wanted?

Hi. Thanks for your feedback.
For now, I only fix bugs and issues.


View STLTs that are Live on ReportStream

Problem Statement
As the ReportStream team, we would like to show on a map all of the STLTs that are live on ReportStream so that we can generate interest in prospective users who come to see what ReportStream is about.
Acceptance Criteria
Similar to how we display a list and map of all of the states that are live on ReportStream on a public-facing page, we would like to also have a map that shows a list and map of all of the STLTs that are live on ReportStream.
Pages Affected?
https://reportstream.cdc.gov/
https://reportstream.cdc.gov/how-it-works/where-were-live

Too vague. Already accomplished some of it. Closing by committee decision. Will be re-assessed in future website improvement efforts.
@drew-usds @fmccaf1 @HeatherRienks @lizzieamanning


PDF Compatibility

Hi @henryre, is snorkel currently compatible to process searchable PDF documents? Also, is there a maximum number of documents that can be processed and additionally, is there any restrictions on the number of external labels for the testing set?

Hi @Tsmith5151. The stable release doesn't support PDF parsing just yet, but it's under active development. You can either check out the semi-structured branch (at your own risk!), or use a utility like pdftotext to convert to plain text documents first and then feed those into Snorkel.

Hey @Tsmith5151, sorry completely missed your other questions. There is no maximum number of documents (up to storage on your machine) and there is no restriction on the number of labels. You can attribute labels to different annotators by using the annotator_name argument when initializing a StableLabel, effectively giving you multiple label sets.


add pls

add pls https://ci.codemc.io/job/etil2jz/job/Mirai-1.19/ and https://ci.pufferfish.host/ and https://github.com/Bloom-host/Petal/releases

Hi! Thanks for using my plugin, so to clarify you would like me to add pufferfish specifically? @AVuTuVA

Closed due to inactivity.


Update holograms-230.md

added spacing

OPS Build status updates of commit 680a116:
:clock10: Preparing: average preparing time is 50 sec(s)

OPS Build status updates of commit 680a116:
:clock10: Incremental building: average incremental building time is 25 sec(s)

OPS Build status updates of commit 680a116:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

mixed-reality-docs/holograms-230.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Fix translations to match 8fe255e

In 8fe255e file name pattern for "on spotify" was changed. This commit
fixes the filename for all available translations.

Thanks, merging.


Custom field type annotations

This would look like a regular field type annotation for exact sizes (i.e. a::UInt16), or like e.g. a:3::UInt16 for objects that want to store the lower 3 bits of an UInt16 and want to get that type back out when accessing the field.
Due to the nature of how these objects are stored internally, the types will need to be at least isbitstype, possibly even isprimitivetype, as it's unclear whether the padding potentially contained in an isbitstype is legal to observe (I suspect it isn't).
<: Signed types will need to be at least 2 bits in size, to store the sign bit.

One decision that needs to be made here is whether the additional bit for <: Signed should be implicit or explicit.

Ok, there are three points I've come up with:

isprimitivetype is the simplest to implement, should be straightforward
immutable structs ought to be possible too, if I'm ok with lying to the compiler and having Expr(:new) outside of a constructor for an object
mutable structs (both outside of FieldFlags.jl and those defined by FieldFlags.jl) won't work, because the additional indirection for a.b.c = 3 won't be able to store the result of b.c = 3 back into a.

So only immutable things can be stored nested, which makes sense if you think about what these objects then tend to represent.


Drop noarch: python

This package builds a C library that needs to be build for each python version and architecture.

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

closes #13

@conda-forge-admin, please rerender

Thank you for jumping on this so quickly. Cheers.


add nixrajput.nixlab.co.in

Portfolio Author

Nikhil Rajput
Portfolio Link?

https://nixrajput.nixlab.co.in
GitHub Link:

Tech Stack

Thanks for adding the portfolios, @frankiefab100. I've fixed the conflicts.

I didn't know there was a conflict. Thanks for resolving it.

Thanks for adding the portfolios, @frankiefab100. I've fixed the conflicts.

I didn't know there was a conflict. Thanks for resolving it.

There wasn't initially. After merging the first PR, the other two PRs became automatically outdated, hence the conflict.


Add proper field names for JSON RPC

Hello!
Problem
I'm currently trying to use JSON RPC with neo-python server.
But for any invokefunction with parameter i receive following error:
{     "jsonrpc": "2.0",     "id": 1234,     "error": {         "code": -2147467261,         "message": "Object reference not set to an instance of an object."     } }
Although, im not sure if this is a problem of neo-go or neo-python.
Solution
Add proper names as json serialization attributes.
Notes
Use semver to bump VERSION, and remember to run the following after
merging your PR:
make push-tag

@fyrchik It looks like you're calling the neo-python RPC server not the neo-go one, you'd be better off creating an issue in neo-python but if you put your payload in here I can try and see if we can find the issue.
In terms of this PR, pkg/smartcontract/param_context.go isn't used by the RPC server so it's not needed 👍

@fyrchik @stevenjack I double checked this, and indeed the param_context.go is not used by the RPC server, which will make the proposed change to have no impact on the issue encountered.
I will close this issue. @fyrchik If you need any more help you can contact us on discord.


FAPI2-SP-ID2 test "fapi2-security-profile-id2-ensure-request-object-with-nbf-8-seconds-in-the-future-is-accepted" failed

Describe the bug
Test Name: fapi2-security-profile-id2-ensure-request-object-with-nbf-8-seconds-in-the-future-is-accepted
for FAPI2 SP ID2 and FAPI2 MS ID1
According to #14 of the latest FAPI 2.0 SP draft,
https://openid.bitbucket.io/fapi/fapi-2_0-security-profile.html#name-general-requirements
As for any kind of JWT that a client sends to Keycloak, "nbf" value is within 10 seconds ahead from the current time is accepted by considering clow skew for interoperability. In this case, a request object.
Version
keycloak: 26.0.5, conformace-suite: release-v5.1.25
Expected behavior
Test Name: fapi2-security-profile-id2-ensure-request-object-with-nbf-8-seconds-in-the-future-is-accepted
An authorization response is successfully returned from Keycloak.
Actual behavior
An erorr response was returned from Keycloak.
error_description: Request not yet being processed
error: invalid_request_uri
How to Reproduce?
No response
Anything else?
No response

https://github.com/keycloak/keycloak/issues/34804

resolved.