[AWS][CoreOS] Issues with minions initializations

I have issues with minions initialization. I'm trying to run the following command:
aws ec2 run-instances --count 3 --image-id ami-323b195a --region us-east-1 --security-groups kubernetes --key-name venezia-k8s-keypair --instance-type m3.medium --user-data file://node.yml

It creates 3 instances but fails to apply node.yml config.
The content of config is https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/getting-started-guides/aws/cloud-configs/node.yaml (i changed  to the master ip)

So i have 2 issues with this config. The first one is that it tries to use "eth1" interface for flannel and it fails, because all machines have only eth0 interface defined. I changed it to "eth0" and looks like it solved the issue.

Next issue is that etcd is marked as "masked"  in minion config:

name: etcd.service
mask: true

For this reason flannel fails to start. The out of systemctl status flanneld is:
● flanneld.service - Network fabric for containers
   Loaded: loaded (/usr/lib64/systemd/system/flanneld.service; static; vendor preset: disabled)
  Drop-In: /etc/systemd/system/flanneld.service.d
           └─50-network-config.conf
   Active: activating (auto-restart) (Result: exit-code) since Wed 2015-04-08 22:24:07 UTC; 18ms ago
     Docs: https://github.com/coreos/flannel
  Process: 5594 ExecStartPre=/usr/bin/etcdctl set /coreos.com/network/config {"Network":"<IP_ADDRESS>/16", "Backend": {"Type": "vxlan"}} (code=exited, status=2)
  Process: 5586 ExecStartPre=/bin/bash -c until curl http://<IP_ADDRESS>:4001/v2/machines; do sleep 2; done (code=exited, status=0/SUCCESS)
  Process: 5585 ExecStartPre=/usr/bin/touch /run/flannel/options.env (code=exited, status=0/SUCCESS)
  Process: 5584 ExecStartPre=/usr/bin/mkdir -p /run/flannel (code=exited, status=0/SUCCESS)
  Process: 5582 ExecStartPre=/sbin/modprobe ip_tables (code=exited, status=0/SUCCESS)

I can fix this issue by changing etcd to :
    - name: etcd.service
      command: start

and looks like flannel starts after that, but i'm pretty sure that's a wrong fix, and, moreover, i'm getting more network issues after that. You can see them at http://stackoverflow.com/questions/29401765/kubernetes-unable-connect-to-any-pod-from-master

cc @jmreicha

flanneld logs - https://gist.github.com/roman-shuhov/9b028a48968ee1bea1ca

The second issue can be resolved by pointing the node at etcd on the master as raised in https://github.com/GoogleCloudPlatform/kubernetes/issues/6555 and PR https://github.com/GoogleCloudPlatform/kubernetes/pull/6611

+1 to remove eth1
Also asked here:
https://github.com/GoogleCloudPlatform/kubernetes/commit/7bc7f47c3e21b4368a69fbfadcece9591a7cca7a#commitcomment-10643593

I'm still getting an error using the #6611 change. Flanneld fails to execute
/usr/bin/etcdctl -C <IP_ADDRESS> set /coreos.com/network/config {"Network":"<IP_ADDRESS>/16", "Backend": {"Type": "vxlan"}}

/usr/bin/etcdctl -C <IP_ADDRESS> set /coreos.com/network/config {"Network":"<IP_ADDRESS>/16", "Backend": {"Type": "vxlan"}}

Error:  Cannot sync with the cluster using peers <IP_ADDRESS>
Where <IP_ADDRESS> is my master IP

I had this issue too until I added the port: /usr/bin/etcdctl -C <IP_ADDRESS>:4001...

Yeah, nice catch, it helped me. But now i have another issue, flanneld is working on master and minions, but kubernetes master doesn't see minions...

as i see master shows error for all minions:
error health checking <IP_ADDRESS>: Get http://<IP_ADDRESS>:10250/healthz: dial tcp <IP_ADDRESS>:10250: connection refused

where 162.78 is a minion ip

So, i believe my current issue is described here https://github.com/kelseyhightower/setup-network-environment/issues/1. Not sure how to fight it

now i have kubernetes up and running, thanks!


unrealistic bias in Z velocities.

Uncertainty analysis is showing an exceptionally strong bias in the Z velocity measurements, which gets better as the interrogation plane moves down stream.
This bias can be checked for by examining the mean axial velocity measured in each vortex compared to the free stream velocity. In every single case, the mean axial velocity is slightly elevated from the free stream velocity measured with dynamic pressure, precisely as we would expect. This seems to indicate that in reality, Z measurements are not significantly biased.
One attempted fix is to remove the meshgrid recalculation for a small z displacement in the ArtificialPIV instance which generates the image pairs. We will see how it goes, but must wait yet many more hours for it to finish computing.

After extensive review, no flaws can be found in the classes responsible for the creation of artificial particle images. Perhaps the simulation criteria is a little bit too drastically worse case, but no more time can be dedicated to discovering the issue. The results of the uncertainty analysis have proven useful and consistent in all maters pertaining to the X and Y velocity fluctuations. This issue will not be fixed by the graduation release.


Error while Loading in my sandbox

Hi, i did different an Extract operations for my SObjects and i obtained different (Sobject.csv) file(In a sequential way). But i was trying to Load all the Sobjects  the same way i did with the extraction process. But during the Load, i had this kind of error.

How do i solve this problem?
Thx!

Looks like Amaxa is causing an exception while trying to report errors from an API call. Can you inspect the Bulk Job status in your org's Setup page? You should be able to see whether jobs were actually created and if so what the specific errors were there. I'll try to track down this bug in error reporting.


angularjs-multiselect-dropdown-makes-page-heavy-due-to-documents-click-event

Hello, I have posted one issue related to droddown closing event on github.
http://stackoverflow.com/questions/31891118/angularjs-multiselect-dropdown-makes-page-heavy-due-to-documents-click-event
I have also found that AngularJS keeps watching your DOM and thus slows down application's performance.
What can be done as an alternative ?
Thanks.

I've added an optimization to the template generation so that the dropdown is lazy-generated, reducing the number of watches significantly.
This should speed up your page loading and behavior on clicks events.
I submitted a pull-request, but the repository doesn't seem to be frequently maintained.
You can check-out from here: https://github.com/odedfos/angularjs-dropdown-multiselect

Works great for big/many drop-downs

This pull request has been merged into my fork (which i'm actively maintaining).
You can find the fork here
and documentation here
Feel free to create issues in that repository.


maxpoll rdkafka application maximum poll interval exceeded

Description
run a consumer app as a long-running service,by a few days after,it was a error like:
maxpoll rdkafka application maximum poll interval <300000ms>exceeded by 755614245ms adjust max.poll.interval.ms for long-running message processing:leaving group
How to reproduce
run a consumer app as a long-running service by a few days.
Checklist
Confluent.Kafka nuget version:  1.3.0
Apache Kafka version: 2.11-2.1.1
Client configuration: default
Operating system: cent os 7 (server), windows server 2012 (consumer client)
Please provide the following information:

[ ] A complete (i.e. we can run it), minimal program demonstrating the problem. No need to supply a project file.
[ ] Confluent.Kafka nuget version.
[ ] Apache Kafka version.
[ ] Client configuration.
[ ] Operating system.
[ ] Provide logs (with "debug" : "..." as necessary in configuration).
[ ] Provide broker log excerpts.
[ ] Critical issue.

are you using subscribe or assigning to the partitions to read from directly? (i.e. this might be #1220 )?

i try to another way to make a long-running consumer.when it's EOF then resubscribe the topic. may be corrected,now let it run a few days.

corrected


[IPv6] getamp.sh missing AAAA entry

Bug Report
System Information

Operating System (Including distribution name and version number)
Debian 11
AMP version and build date (Always use the version number, 'latest' is not valid!)
N/A
Which AMP release stream you're using (Mainline, Nightly or FastTrack)
N/A

I confirm:

[x] that I have searched for an existing bug report for this issue.
[x] that I am using the latest available version of AMP.
[x] that my operating system is up-to-date.

Symptoms

What are you trying to do?
Install AMP with the One-Line Install command on a IPv6 only host
What are you expecting to happen?
AMP magic is done
What is actually happening? ('Nothing' is not an acceptable answer!)
The script can't be downloaded as there is no AAAA entry for getamp.sh

Reproduction

Setup a IPv6 only host
Execute bash <(wget -qO- getamp.sh)
'Nothing' happens

Hey, you should check your Checkboxes again ;)

[x] that my checkboxes above look exactly like the one on the left with no extra spaces. Remove this line to confirm you can follow instructions - if this line shows up in the bug report, then the whole report will be ignored

Hey, you should check your Checkboxes again ;)

[x]  that my checkboxes above look exactly like the one on the left with no extra spaces. Remove this line to confirm you can follow instructions - if this line shows up in the bug report, then the whole report will be ignored

damn it xD I read it and forgot about it :D

Downloading the script manually and uploading it to the server works. The script installs amp, but I needed to rebind ADS01 to '::' instead of '<IP_ADDRESS>'. Activation of ADS01 doesn't work as described in #190

Downloading the script manually and uploading it to the server works. The script installs amp, but I needed to rebind ADS01 to '::' instead of '<IP_ADDRESS>'. Activation of ADS01 doesn't work as described in #190

On my second install, I don't had to rebind the instance. Don't know what was wrong with the first install.


We will likely use this code in our upcoming experiments (Aug 1st - Aug 4th), regardless if the PR is accepted, unless a major issue is discovered.

@JGoodrichBNL could you please make this PR into my working branch, genematx/toa-issue, instead of main? In case you can't (maybe some missing permissions), I'll just merge it myself.

Merged these changes into PR #10. This PR can be closed.


Change implicit check in getResponse to explicit

Related to issue
Changed check for null to explicit comparison to avoid zero number being checked as null.

@kuleshovilya should we bump package version also?

@anatolybolshakov that's the question we are thinking of, whether it's needed or not? Functionality itself doesn't change, its only a minor change for mock module. So I'm thinking no?


Deploy on Scroll Alpha / Goerli Testnet

https://scroll.io/alpha

RPC provider: https://alpha-rpc.scroll.io/l2
Chain id: 534353
Symbol: goETH
Block explorer: https://blockscout.scroll.io

No faucets at L2 level :/

L1 faucets:

https://goerlifaucet.com/
https://goerlinator.xyz/
https://goerli-faucet.pk910.de/

L1/L2 Bridge:

https://scroll.io/alpha/bridge

Provider is returning no value upon eth_estimateGas calls. A patch in the web3-jsonrpc-gateway is required as to return default gas limit if none if resolved by the provider.

Transferring 0.1 goETH/L2 to wallet #7 to be used as deployer of Create2Factory:

https://blockscout.scroll.io/tx/0x8ff66cbd9accfa9796b924fb6cadd3bc367399a6fc565a11f9fea08ae022fc76

Gas price in Scroll/L2 testnet being 10^6

Create2Factory deployed as 0xDe312a6f7fA35320E8DD109c8ea42e82806DC45b from wallet/7.

Seeking salts for proxy contracts:

WitnetBytecodes:
WitnetPriceRouter:
WitnetRandomness:
WitnetRequestBoard:
WitnetRequestFactory:

Transferring 0.2 goETH/Scroll to deployer address:

https://blockscout.scroll.io/tx/0x714fde33b2df9ec958a1b1112bff34d13dc4cfb99831d7c35161422c36602dc4

Got 1.245 goETH from https://goerli-faucet.pk910.de/:

https://goerli.etherscan.io/tx/0x6a746763d2a0206e16c448ed680689e612b8f35b6867d2a17bfc0164528f1386

WSB v0.7.0 deployed:

Libs:

WitnetEncodingLib: 0xf6d52770453166de85B6B6260Cf22196bC460E88
WitnetLib: 0x1b91eAB33362f10A5F803Fe3f0d181F42caFaac3

Proxies:

Create2Factory: 0xDe312a6f7fA35320E8DD109c8ea42e82806DC45b
WitnetBytecodes: 0x000000b3B867AEF034469bBA55cAD342A4E1A305
WitnetPriceRouter: 0xfeeeed88838b4fa4EE46D05c2148e645058f3C28
WitnetRandomness: 0x123456f4De47e1947210CD62e2f8CF9c2FeD9d4d
WitnetRequestBoard: 0x0000007F26760C151AC86695D5846D21e7828B67
WitnetRequestFactory: 0xFaCADE177178C6E0C6914CAe220F2824fF5587B8

Implementations:

WitnetBytecodesImplementation: 0x364E2b91a4C7563288C3ccF7256BA172935CC550
WitnetPriceRouterImplementation: 0xBfFA2ec6225390C517A1bEB83b27a171C6734294
WitnetProxy: 0x840bafDC40D88F54Db41327fe1C85241f9151243
WitnetRandomnessImplementation: 0x65772461641A4A6E8B10c81bae1a132E04e77262
WitnetRequestBoardImplementation: 0x6bF6F65Ad0859e9Ee869DAD252a29c9daAa27449
WitnetRequestFactoryImplementation: 0xb5F3c9Dc6Ca7C1078cE5c51c1cE030D6BEEd57E2

https://blockscout.scroll.io/ doesn't support yet the verification of contracts created by other contracts, not even if their codehash get verified on EOA-created instances.

Deployed and verified pfs:

Price-BTC/USD-6: 0xA8f0487eaf3640e30F472b815A45a7d4e96f18CB
Price-ETH/USD-6: 0x8D20457d968c937b7cb65be6B8cC766613fBcF28
Price-UNI/USD-6: 0x7de5fE2458b198A0Fe9B557bC485825A10978cf9
Price-USDC/USD-6: 0xB1Ee13a85B2593D5191f3a2A08f175b1c918B9bb

Seeking salts for proxy contracts

Singleton man :rocket:

Related PRs:

https://github.com/witnet/web3-jsonrpc-gateway/pull/49
https://github.com/witnet/data-feeds-explorer/pull/304
https://github.com/witnet/witnet-price-feeds/pull/186

Wow, proxy contracts were finally verified. Either by intervention of Scroll support team, and/or trying w/ truffle-plugin-verify:
$ truffle run WitnetRequestBoardTrustableDefault --custom-proxy WitnetProxy --network scroll --debug

Created change request on https://docs.witnet.io.

Created new docker image for witnet/web3-jsonrpc-gateway:1.6.9

Had to redeploy pfs:

Price-BTC/USD-6: 0x0b75886DeB58F80A75E5cAF10702C5d15FA54437
Price-ETH/USD-6: 0x685528FA605c31aE076e1ee1707041B7Cb356573
Price-UNI/USD-6: 0x57Eeea3E88E052C872db220B53fcAa6a5caA3d96
Price-USDC/USD-6: 0xd6d4B24219751A7725ce972E68B1067Ee57CC85a

Feeds are now up and running:

https://feeds.witnet.io/en/scroll


virtcontainers: Make qdisc of hotplug nics mq

In order to avoid performance drop caused by qdisc. And align with
cold plug codes.
Fixes #650

Why not update govmm to latest 1a16b5f98f133796f9c5e9b6ae3aa6d786cff9b1 ?
I think this PR can merge with https://github.com/kata-containers/runtime/pull/649 , we don't need to update govmm twice

That will be fine. @woshijpf Will you take this change as part of your PR?

@caoruidong Ok,I will merge your change in kata-runtime into my PR #649

@woshijpf Thanks. Close this.


{type: number, format: int32} should be a validation error

Is your feature request related to a problem? Please describe.
{type: number, format: int32} is not ideal OAS 3.0.3, as it defines a format which should be an integer, but uses type: number when the type: integer should be used.
As it is ambiguous, the validator should emit an error of some sort, as openapi tools are very likely to either ignore either type or format, or fail when trying to combined the two.
An example of a tool which silently ignores the format is https://github.com/oxidecomputer/progenitor/issues/266
Describe the solution you'd like
Detect type: number and a integer format, and type: integer and a float format.
https://github.com/zalando/zally (Kotlin) does detect this as rule MUST define a format for number and integer types
Describe alternatives you've considered
Additional context

Hey @jayvdb
Thanks for the feature suggestion!
We're thinking about adding a new passive check that will check for integrity of types, is that what you had in mind?

Yes

Great then!
We're adding this to our future development plans, thanks for the suggestion :)

Hey @jayvdb
Just wanted to let you know we're adding the new passive check to Cherrybomb, this is the link to the PR: https://github.com/blst-security/cherrybomb/pull/97
Thanks again for the suggestion :)

Hii @jayvdb
Just wanted to let you know that there is a new passive check that responds to your feature suggestion:
https://github.com/blst-security/cherrybomb/blob/b2eb8b421cd4a78a107fe41f3921275a516986be/cherrybomb-engine/src/scan/passive/additions_checks.rs#L39
I close this issue


UPDATE: modifying 'for ... of' to 'for ... in' and array destructurin…

…g syntaxes to prevent using Symbol in final build

The reason for this pull request is because we are using this library with Typescript.
When using in Internet Explorer, even with Symbol polyfills, runtime errors occur when trying to evaluate System.iterator that is generated with random method names.
This fix solves the problem and removes dependency on Symbol usage.
I wish there were tests to prove nothing is broken.

I'm sorry but that's really not the way to fix your issue. The src are in standard ES6, if there is any issue with the dist files, the fix should be around the babel project or an update of babel version here and a rebuild or maybe a transcript from ES6 to TypeScript.

Hi thanks for your answer.
I was expecting this outcome.
Please just keep in mind that by using es6 syntax no matter what you force
final users to download polyfills that at the end consume a lot of bandwith.
On Tue, Nov 15, 2016 at 3:11 PM, Jérôme Steunou<EMAIL_ADDRESS>wrote:

I'm sorry but that's really not the way to fix your issue. The src are in
standard ES6, if there is any issue with the dist files, the fix should be
around the babel project or an update of babel version here and a rebuild
or maybe a transcript from ES6 to TypeScript.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/JSteunou/webstomp-client/pull/29#issuecomment-260667254,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ARdIgwPNVjcxfrcTR-ei6kyRYx3y_o_vks5q-cu6gaJpZM4KvsNH
.

You are not forced to use the ES6 files on the client side. dist files are compatible with most of people browsers and by adding babel-polyfill for others it works. It is quite a small price to be ready for using ES6 and more.
In my apps I just add this webpack style loc
// Check on polyfill
function checkES2015(callback) {
    if ('Symbol' in window) {
        callback();
    } else {
        require.ensure(['babel-polyfill'], function(require) {
            require('babel-polyfill');
            callback();
        }, 'babel-polyfill');
    }
}

So polyfills are built a part and only load on old browsers.


Package installation error

Hi,
Thank you for creating this package. However, when I am trying to install the package on my windows pc, I am getting compilation error:
collect2.exe: error: ld returned 1 exit status no DLL was created ERROR: compilation failed for package 'scibet' Warning message: In i.p(...) :   installation of package ‘C:/Users/AppData/Local/Temp/RtmpCmm7o9/file59c23cf6104/scibet_1.0.tar.gz’ had non-zero exit status

Upvote from me, same problem.  That message is preceded by many messages like the following, mentioning undefined OpenMP references.

May I see your code? Cause I have encountered the same problem, but I solve it by installing another version of SciBet, which is SciBetR. This is the code.
if (!requireNamespace("devtools", quietly = TRUE)) install.packages("devtools") devtools::install_github("zwj-tina/scibetR")
You can see the instructions on "http://scibet.cancer-pku.cn/installation.html".

May I see your code? Cause I have encountered the same problem, but I solve it by installing another version of SciBet, which is SciBetR. This is the code.
if (!requireNamespace("devtools", quietly = TRUE)) install.packages("devtools")  devtools::install_github("zwj-tina/scibetR")
You can see the instructions on "http://scibet.cancer-pku.cn/installation.html".

May I see your code? I have encountered the same problem before, but I solved it by installing another version of SciBet, which is SciBetR. This is the code:
if (!requireNamespace("devtools", quietly = TRUE)) install.packages("devtools")
devtools::install_github("zwj-tina/scibetR")
You can find more instructions on "http://scibet.cancer-pku.cn/installation.html".

Hello,
Thank you for developing your new package. I followed "http://scibet.cancer-pku.cn/installation.html" link to use scbetR package in windows system and successfully installed.
However, when I am running scMAGIC function under the scMAGIC package, it's showing the following error "Error in library(scibet) : there is no package called ‘scibet’". That means, inside of scMAGIC function still calling the scibet package that's why it's not working. Thanks in advance to deal with this problem.

@amanzju I am having the same issue, were you able to fix this?

@amanzju I am having the same issue, were you able to fix this?

I am still unable to fix this problem on Windows, however, I am working on Linux and it works here.

@amanzju I don't know if you are still looking to run scMAGIC on windows, but I submitted an issue on the scMAGIC page and he fixed the package to also work with the scibetR version. Originally it was only calling the scibet (Linux version), it should hopefully work now for Windows.
scMAGIC issue #13

Hello, I also meet the same problem of installation on Windows. If anyone could help me?
C:/RBuildTools/4.0/mingw32/bin/../lib/gcc/i686-w64-mingw32/8.3.0/../../../../i686-w64-mingw32/bin/ld.exe: SciBet.o:SciBet.cpp:(.text$_ZN5Eigen8internal16parallelize_gemmILb1ENS0_12gemm_functorIdiNS0_29general_matrix_matrix_productIidLi0ELb0EdLi0ELb0ELi0ELi1EEENS_3MapINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEELi0ENS_6StrideILi0ELi0EEEEESA_S7_NS0_19gemm_blocking_spaceILi0EddLin1ELin1ELin1ELi1ELb0EEEEEiEEvRKT0_T1_SH_SH_b[__ZN5Eigen8internal16parallelize_gemmILb1ENS0_12gemm_functorIdiNS0_29general_matrix_matrix_productIidLi0ELb0EdLi0ELb0ELi0ELi1EEENS_3MapINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEELi0ENS_6StrideILi0ELi0EEEEESA_S7_NS0_19gemm_blocking_spaceILi0EddLin1ELin1ELin1ELi1ELb0EEEEEiEEvRKT0_T1_SH_SH_b]+0x4c5): undefined reference to `GOMP_parallel'
collect2.exe: error: ld returned 1 exit status
no DLL was created
ERROR: compilation failed for package 'scibet'

removing 'F:/R-4.1.2/library/scibet'
Warning message:
In i.p(...) : installation of package ‘C:/Users/Windows/AppData/Local/Temp/Rtmp44eXIQ/file570132426b8/scibet_1.0.tar.gz’ had non-zero exit status

Hello, I also meet the same problem of installation on Windows. If anyone could help me?
C:/RBuildTools/4.0/mingw32/bin/../lib/gcc/i686-w64-mingw32/8.3.0/../../../../i686-w64-mingw32/bin/ld.exe: SciBet.o:SciBet.cpp:(.text$_ZN5Eigen8internal16parallelize_gemmILb1ENS0_12gemm_functorIdiNS0_29general_matrix_matrix_productIidLi0ELb0EdLi0ELb0ELi0ELi1EEENS_3MapINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEELi0ENS_6StrideILi0ELi0EEEEESA_S7_NS0_19gemm_blocking_spaceILi0EddLin1ELin1ELin1ELi1ELb0EEEEEiEEvRKT0_T1_SH_SH_b[__ZN5Eigen8internal16parallelize_gemmILb1ENS0_12gemm_functorIdiNS0_29general_matrix_matrix_productIidLi0ELb0EdLi0ELb0ELi0ELi1EEENS_3MapINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEELi0ENS_6StrideILi0ELi0EEEEESA_S7_NS0_19gemm_blocking_spaceILi0EddLin1ELin1ELin1ELi1ELb0EEEEEiEEvRKT0_T1_SH_SH_b]+0x4c5): undefined reference to `GOMP_parallel'
collect2.exe: error: ld returned 1 exit status
no DLL was created
ERROR: compilation failed for package 'scibet'
removing 'F:/R-4.1.2/library/scibet'
Warning message:
In i.p(...) : installation of package ‘C:/Users/Windows/AppData/Local/Temp/Rtmp44eXIQ/file570132426b8/scibet_1.0.tar.gz’ had non-zero exit status


Hello

Hello, How are you doing today?
I want to connect with you. Could you let me know if you are available?
My discord name is risesphoenix.
Looking forward to hearing from you.
Regards

Hello @jtran309. I am fine thank you. I hope you are as well.
Which topic do you want to connect with me?

I am looking for account manager who can help my agency working.

Could you please send LinkedIn address of your organization or your LinkedIn profile address? @jtran309
Regards...

it is startup company, so I haven't company linkedin profile, but we have organization in github.
@RisesInc


Fix getContainerStats error

new variable for closure
wg.Add before go func()

copied from https://github.com/OleksiiKhanin/cri-dockerd/pull/1

Merging with test failures because they require bumping to Go 1.18, and I can't rebase the PR because it comes from an external repo. Tests should run on master after the merge.


Implement V4 Domestic VRPs

Commons converters and FR data model
RCS consent store controllers consent store client
RS controllers and validators

duplicate with https://github.com/SecureApiGateway/SecureApiGateway/issues/1573


Draw to back buffer directly instead of drawing to an intermediate bitmap

This was the change I made to test it, unfortunately there are many other occurrences when a bitmap is drawn to back buffer which are all affected. Making this change all proves the issue it doesn't solve the problem.
I'm wondering whether it's a issue when creating the bitmaps, which the docs would suggest may cause performance issues.
https://www.allegro.cc/manual/5/al_create_bitmap
I'm going to look at the settings related to the bitmap creation http://liballeg.org/a5docs/5.0.5/graphics.html#al_set_new_bitmap_flags


tips to improve flow training

Hi,
I am training flow from the scratch using higher number of mel bins,
it works, but the sound quality is not as good as the pretrained model, any tips to train flow model for improved quality of sound?
Also, I found out that after a certain number of epochs, the loss explodes.
Thanks.

use more data, reduce lr if the loss explodes


SSL not working

Good evening,
We can't put a domain on lavalink, I already tried to change the host to put a local configuration etc... it's just not working.
Screen application.yml

Screen NGINX

I already tried to change the host to lavalink.polario.xyz


Progress report call - 5th March

Date: 5th March, 16:00 GMT+0
Notes: https://cryptpad.fr/code/#/2/code/edit/NoHdHXNOYEWyvX4L38-JSePP/
Call: https://zoom.us/j/134161591
Usually, progress report calls are on Monday. But because there are some members returning from RWOT8, we will be having it one day later.

Thanks all for participating!
Notes were saved in the repo: https://github.com/ipfs-shipyard/pm-idm/blob/master/meetings/2018-03-05_progress-report.md
Video: https://www.youtube.com/watch?v=Z59SM7hN_Ic


[5.1] Throw JsonException if json_encode fails inside Model::toJson method

Addresses one of the problems described in  #11100.
When json_encode fails, it returns false or "null" (depending on the PHP version), and this failure may propagate to other parts of the code without giving any detailed error message, leaving the programmer with no clues why the code is failing.
Since no one expects a false returning from Model::toJson(), I think this can be integrated right into 5.1 without breaking anyone else's code.

:+1: But I think, this should be done in support package as helper

Going to hold off on this, see my comment here: https://github.com/laravel/framework/pull/11148


feat(api-client): input select for enum and boolean

this pr makes the previous data table input enum select more generic, add it to the code input component to bring back the enum support while bringing it to boolean type in the meantime:

Looks good!
Might be nice to push focus to the text input when you click "Add Value" but only if it's not a lot of work.

great call! added!


ISPN-8839 ClusterTopologyManagerImplTest failures

https://issues.jboss.org/browse/ISPN-8839
I missed the fact that testCoordinatorLostDuringRebalance needs 2 threads in the transport thread pool in the initial fix.

Scheduling another build as the previous failed


Reduce code duplication

This PR removes IO from attributes and uses a separate table to store topology.
It also enables the use of CommName for some attributes (i.e. contributes to #27)

CI currently fails on Demo 5, but it should pass once the demos are updated.

The new summary (#45) is really useful @siddharth-krishna! 😃

Added a more general way of filling out CommName

@siddharth-krishna it seems that the CI stopped saying where the regression is.

At last this one has passed the checks! 🥳 The remaining issues were due to a Timeslices column, an alias for TimeSlice, in FI_T tables. Had to print out intermediate outputs to detect what was going on; depending on the column width it is so easy for Excel to hide an "s". 😆 @siddharth-krishna the normalisation you are thinking of will definitely make things much more robust!


Improve queue management

Inconsistent between internal comm::SyncQueue (std::queue) and comm::SyncQueue::dequeue() output (std::vector)
comm::SyncQueue::dequeue() might block calling thread up to comm::SyncQueue::mTimeoutMs
Undefined behavior when comm::SyncQueue is full

Resolved by PR#12


helpText not shown

Not sure why, but helpText is not shown for <LinkField>.  It only works for <SwitchField>.
 <Form ref='logInForm' label="Information" onChange={this._handleFormChange.bind(this)}>
    <Separator label='Please read'/>
    <LinkField label='Terms and Conditions'
                               onPress={this._openTermsAndConditions.bind(this)}
                               helpText='By signing up, I agree to the terms and conditions.'/>
</Form>

I'll check this tonight ... very strange
On Thu, Mar 24, 2016 at 12:06 PM Sam Fung<EMAIL_ADDRESS>wrote:

Not sure why, but helpText is not shown for . It only works
for .
            <Form ref='logInForm' label="Information" onChange={this._handleFormChange.bind(this)}>
                <Separator label='Please read'/>
                <LinkField label='Terms and Conditions'
                           onPress={this._openTermsAndConditions.bind(this)}
                           helpText='By signing up, I agree to the terms and conditions.'/>
            </Form>

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/MichaelCereda/react-native-form-generator/issues/9

I'm going to release a new version with the fix (that will include also https://github.com/MichaelCereda/react-native-form-generator/issues/6) .
Thanks for your efforts, i really appreciate.

@5amfung please check the new version, i have been very busy in these days ...


Bump core library to 3.7.1, add support for cellArea, exactEdgeLength, pointDist

Bumps core H3 library to 3.7.1
Adds support and tests for cellArea, exactEdgeLength, and pointDist functions

Pull Request Test Coverage Report for Build 187

30 of 30 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 184:
0.0%

Covered Lines:
393

Relevant Lines:
393

💛  - Coveralls

Pull Request Test Coverage Report for Build 187

30 of 30 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 184:
0.0%

Covered Lines:
393

Relevant Lines:
393

💛  - Coveralls


How to define a key to quit output window.

This floating window is a non-editable window, so I think we can set q as a quit key instead of :q, just like lspsaga, definition and finder can be quit with q.

You can define an autocmd to do this
  local group = vim.api.nvim_create_augroup("NeotestConfig", {})
  vim.api.nvim_create_autocmd("FileType", {
    pattern = "neotest-output",
    group = group,
    callback = function(opts)
      vim.keymap.set("n", "q", function()
        pcall(vim.api.nvim_win_close, 0, true)
      end, {
        buffer = opts.buf,
      })
    end,
  })

Thank you, it works, and this plugin is really cool.

except for the attach window, which is editable, and apparently it cannot be exited unless I click outside of it...?

Apologies for not following up on this earlier, but afaict this doesn't work for the attach window. For instance, if I use pdb inside a test that I run with neotest, then attach the test, then continue through the test ("c" in the pdb shell in the attached window), everything freezes. I can't run any commands, navigate, nothing at all. The only option is to click outside the attach window, whereupon the attach window closes and everything is fine.

The attach window is a terminal window, so when you enter insert mode you're actually in terminal mode. You're getting stuck because all keys except <C-\><C-n> are sent to PDB. See :h Terminal-mode. You can set keymappings for terminal mode with tnoremap


Decoding doesn't error on long inputs for static datatypes

When I try to decode a static datatype, I expect the library to throw an error if my input is too long.
Test:
func TestDecoding(t *testing.T) {
	data, _ := hex.DecodeString("00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000")
	err := ssz.DecodeFromBytes(data, new(Withdrawal))
	if err == nil {
		t.Fail()
	}
}

Thanks, fixed.


Added new page explaining how to a question form on registration

https://trello.com/c/BsxB26r4

Could you please update this branch with the latest version available in master, re-read your whole page with your new knowledge and check that everything is fine on the deployed preview?
I'll review when this is done. :slightly_smiling_face:

Closing as part of a cleanup. The content could be referred to if the question arises, and this kind of content would need more work in the future to be part of the documentation.
Sorry for not merging, after all this time and thanks again everyone for your work on this.
It'll definitely be useful when time will come!


Deploy with Netlify

Reticketed from https://github.com/gratipay/inside.gratipay.com/issues/1042.

Netlify is a platform for deploying static sites. It is free for open-source projects.


fix: update to eye v10.1.2

fix: update to eye v10.1.2

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

npm package (@latest dist-tag)
GitHub release
v15.1.1

Your semantic-release bot :package::rocket:


OOM despite using A100-80GB GPU and 128GB CPU memory (+16 CPUs per task)

Hi,
I am experiencing out-of-memory issues with this codebase even at the start of epoch 0.0, despite using an A100 with 80GB VRAM and 128GB RAM :/
I am using the following changes in the config file:
config.sample.batch_size = 1
config.sample.num_batches_per_epoch = 256
config.train.batch_size = 1
config.train.gradient_accumulation_steps = 128

That should be plenty of memory, even without LoRA. Can you paste the full error?

Hi! Figured it out... Was an issue with my base container and CUDA 😅


Respect LS_COLORS

https://github.com/trapd00r/LS_COLORS

https://github.com/gokcehan/lf/blob/master/colors.go

We may need help from  https://github.com/gdamore/tcell


Article contents feature

I've just installed this on my home server and connected to my local deals aggregator on Inoreader. I'm not using filters in the config file, as I already have all my filters managed centrally in Inoreader, and I can apply to Ebay/Gumtree/Shpock/FB-MP simultaneously and with regex.
These Facebook listing titles are too short and brief. It would be helpful if the RSS feed could include the listing descriptions as article contents.

@wheat4714  I looked at adding the ad description, but it looks like there are no unique elements in the page except random span class name. Which is not a very reliable way to determine the correct section for description. If you have any suggestions, I'm open to it.


Pipe from stdin so InstanceVariables lints correctly

Fix #14 by using the somewhat recent addition of the --stdin flag to haml-lint

Let's try that in the wild.


The omnisette server is now private

Your omnisette server seem to be changed to private usage only. Don't you mind to share the backend code for that server?
Thanks

https://github.com/SideStore/omnisette-server


code-snippet.hbs no such file

I have been using this addon to help document a large internal addon. Everything has been working however after a recent nombom I started having issues. When the server first starts up, ember s, the dummy app loads fine. However if I open ANY file (dummy app template, controller, addon component, etc) and save the file (even without making any changes...just open and click save), broccoli yells at me with the following error:
ENOENT: no such file or directory, stat '/.../tmp/broccoli_merge_trees-input_base_path-zfR4zjtM.tmp/1/dummy/templates/components/code-snippet.hbs'

In order to continue development and get around this issue, I have to restart my server on every file change.
Any thoughts on how to track this issue down?

Also seeing this


multi tenancy app

Multi-tenancy is the ability to provide your service to multiple users (tenants) from a single hosted instance of the application. This is contrasted with deploying the application separately for each user.
i got this error Breadcrumbs have already been defined for route [admin.dashboard]. while integrating the package to my multi tenancy app. there seems to be a compatibility issue with multi tenancy package. can you take a look at it

Hey @netwrkx . There are several points that can help me.
This message appears when breadcrumbs are declared twice for the same route name.
Does this show up when you announce them on routes or through a facade? In both cases, is this a message?

this is the message i got when i log into the dashboard
Exception
Breadcrumbs have already been defined for route [admin.dashboard].
http://saas.test/admin/dashboard

this is how my RouteServiceProvider.php looks like

<?php

namespace App\Providers;

use App\Domains\Backup\Models\Backup;
use App\Domains\Auth\Models\User;
use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider;
use Illuminate\Routing\Router;
use Illuminate\Support\Facades\Route;

/**
 * Class RouteServiceProvider.
 */
class RouteServiceProvider extends ServiceProvider
{
    /**
     * This namespace is applied to your controller routes.
     *
     * In addition, it is set as the URL generator's root namespace.
     *
     * @var string
     */
    protected $namespace = 'App\Http\Controllers';

    /**
     * The path to the "home" route for your application.
     *
     * @var string
     */
    public const HOME = '/';

    /**
     * Define your route model bindings, pattern filters, etc.
     *
     * @return void
     */
    public function boot()
    {
        // To be able to restore a user, since the default binding is a find and would result in a 404
        Route::bind('deletedUser', function ($id) {
            return User::onlyTrashed()->find($id);
        });

        Route::bind('deletedBackup', function ($id) {
            return Backup::onlyTrashed()->find($id);
        });

        parent::boot();
    }

    /**
     * Define the routes for the application.
     *
     * @return void
     */
    public function map()
    {
        $this->mapApiRoutes();

        $this->mapWebRoutes();

        //
    }

    /**
     * Define the "web" routes for the application.
     *
     * These routes all receive session state, CSRF protection, etc.
     *
     * @return void
     */
    protected function mapWebRoutes()
    {
        foreach ($this->centralDomains() as $domain) {
            Route::middleware('web')
                ->domain($domain)
                ->namespace($this->namespace)
                ->group(base_path('routes/web.php'));
        }
    }

    /**
     * Define the "api" routes for the application.
     *
     * These routes are typically stateless.
     *
     * @return void
     */
    protected function mapApiRoutes()
    {
        foreach ($this->centralDomains() as $domain) {
            Route::prefix('api')
                ->domain($domain)
                ->middleware('api')
                ->namespace($this->namespace)
                ->group(base_path('routes/api.php'));
        }
    }

    protected function centralDomains(): array
    {
        return config('tenancy.central_domains');
    }
}

It turned out to be obvious. It's all about this part of the code.
    protected function mapApiRoutes()
    {
        foreach ($this->centralDomains() as $domain) {
            Route::prefix('api')
                ->domain($domain)
                ->middleware('api')
                ->namespace($this->namespace)
                ->group(base_path('routes/api.php'));
        }
    }

The same name was declared for each domain.
Now you can get around this using the following approach: https://github.com/tabuna/breadcrumbs#define-your-breadcrumbs
This will register the name with the service provider only once.
In general, I think we should add domain support so that this does not happen in the future.

@netwrkx  Just released a new release where this message has been removed.
I also added a test to be sure that this will not happen in the future.
You can add bread crumbs without any problems. Let me know if this is not the case.

it works, thanks


maybe  state_shape and eval_mode should be pull up in DQNAgent

I want use DQNAgent to train my network with state shape [1, 14, 14, 5], state_shape is not the parameter of DQNAgent， I need  to modify the code in dqn_agent.py before to use it. so state shape as the parameter of DQNAgent maybe better.
ofter I train my network, I cannot change the eval mode of DQNAgent, so eval_mode as the parameter of DQNAgent maybe better.

thanks for your feedback!
we will be collecting feature requests from users and incorporating them into our codebase as we move forward. this is a pretty common request, so stay tuned!


File chunks issue

I scaned 3 targets input with 3 boxes then i got error err=scp: /tmp/fleex-1625591403254096294-chunk-out-vmp-1: No such file or directory
Provider linode

Hi there,
you've missed the -c flag before "cat ....
Your final command should be:
fleex scan -n vmp -i targets.txt -o gau_results.txt -c "cat {{INPUT}} | sudo /usr/bin/gau | tee {{OUTPUT}}"

Note that if you're using a standard build gau's path is /home/op/go/bin/gau.
I've just pushed a commit so now fleex detects that and warns the user before proceeding.
Thank you

Hi,Now working. thanks


auto-TOC for README

picturing this as a script that runs as a github action

script runs for any commit that isn't just a change to certain specific files
script walks through files in the project, collecting metadata from files that are tagged appropriately (e.g. *.md file that starts with an H1 annotation)
reformat metadata into links to files and write to a new file
insert this file contents into the README and commit (...in a fashion that won't trigger the gh action that launches this process)

most of the way there:
from pathlib import Path
import subprocess

def get_last_modified_date(fpath, verbose=False):
    cmd = "git log -n 1 --pretty=format:%as --".split( )
    cmd += [str(fpath)]
    if verbose:
        print(cmd)
    response = subprocess.run(cmd, capture_output=True)
    return response.stdout.decode()

md_files = Path('.').glob('*.md')
TOC = []
for fpath in list(md_files):
    with open(fpath) as f:
        header = f.readline()
        if header.startswith('# '):
            d_ = {}
            d_['title'] = header[2:].strip()
            d_['last_modified'] = get_last_modified_date(fpath)
            TOC.append(d_)
print(TOC)
# last modified date isn't really what we want, we want the date the file was last committed on

https://github.community/t/can-github-actions-directly-edit-files-in-a-repository/17884/7


WIP: add Windows support

This is WIP.
In particular it requires unpinning of sqlite, since the current pinned version of sqlite (3.9.*) does not supply the import library necessary for linking to sqlite. I'm not sure if this is a known problem.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@ocefpaf my appveyor.yaml doesn't seem to have the right build matrix... Am I missing something obvious?
I'm getting make check failures with check_virtualtable1 and check_virtualtable1 on Linux and OSX. Should I ignore these, or patch to ignore them?

@gillins did you rerender the feedstock with conda smithy rerender? If so we may be seeing a bug in conda smithy, if not welcome to the club! I always forget it too :smile_cat:

Yeah I did but that didn't seem to do anything. I was wondering if I had something wrong in meta.yaml...

Good spotting! Thanks @ocefpaf

Success on Windows :tada:

I'm getting make check failures with check_virtualtable1 and check_virtualtable1 on Linux and OS X. Should I ignore these, or patch to ignore them?

I guess so. I don'k know enough about this library to dig into those test and figure out what is wrong. I will report the failing tests upstream and check the next release candidate version to see if there is something about them there.

@gillins ready to merge?

Yes. As long as you are happy with the sqlite pinning...

Yes. As long as you are happy with the sqlite pinning...

That is probably the reason for the failures, but let's see what happens. I tested my workflow here and nothing got affected. I guess we need to put this out in the wild to figure it out.

Maybe we need to update the pinning on gdal next to match?


Change availability for animation modifier #patch

Codecov Report

Merging #225 (d984c4e) into master (1086365) will decrease coverage by 0.63%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master     #225      +/-   ##
==========================================
- Coverage   86.24%   85.60%   -0.64%
==========================================
  Files          16       16
  Lines         669      674       +5
==========================================
  Hits          577      577
- Misses         92       97       +5

Flag
Coverage Δ

unittests
85.60% <0.00%> (-0.64%)
:arrow_down:

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

Impacted Files
Coverage Δ

...UIPager/Helpers/OnAnimationCompletedModifier.swift
42.85% <ø> (ø)

Sources/SwiftUIPager/Helpers/View+Helper.swift
50.00% <0.00%> (-50.00%)
:arrow_down:

Sources/SwiftUIPager/PagerContent.swift
55.03% <0.00%> (-1.14%)
:arrow_down:

Continue to review full report at Codecov.

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


Uniq filename for xml file

Hi there,
I encountered issue with reports file names. As far as junit report create a xml file with the name of a suite it makes difficulties to manage those files if we run tests in parallel
So far we solved it with separate folder for each report file
Now we are adding another xml reporter and managing files became complicated
Any suggestion for a filename?
Thanks

hi, @everzet @stof
are you guys available to give a feedback on the above?
Thanks :1st_place_medal:

Any updates?

It is a BC break to change that filename. Have you seen #915?

hi @pamil, thanks for the reference
I've just had a quick look at that feature request and I don't think it will solve all the cases
example where it won't work is
feature file has 5 scenarios (it also might include scenario outline)
and that scenarios are executed in parallel
that will still provide 5 reports file with same file name overriding each other
while that feature request has a value - I'm still sure that provided unique file name is a more general solution that will work in most of the cases.

@ciaranmcnulty

I'd be ok with the behat instance getting in ID at the CLI though? like --runner-id= maybe?
it still doesn't resolve the issue when you have run Behat in parallel
By this time we used another workaround ...
I don't it's actually since such a long time :)


Use compression on vote extensions

https://github.com/astriaorg/astria/pull/1236 introduced vote extension but hitherto without using compression. For efficiency we should look into compressing commit extension info.
Link to the comments on the commit: https://github.com/astriaorg/astria/pull/1236/files#r1681228642
┆Issue Number: ENG-794

This issue is stale because it has been open 45 days with no activity. Remove stale label or this issue
be closed in 7 days.

This issue was closed because it was stale


Migrate Symfony 3.2- trusted header configuration to Symfony 3.3+

Since #7466 got merged, concrete5 requires at least symfony/http-foundation version 3.4.17.
Before that PR got merged, we could use an older version of that library (for example, in concrete5 8.0.3 we were using version 3.1.4).
Since version 3.2, the definition of the trusted headers changed from a list of header names (eg 'forwarded', 'client_ip', ...) to an integer (whose bits represents the trusted headers).
This PR converts the former configuration to the new configuration.

I like this approach, unfortunately I don't think it's enough. Imagine a project that has application/config/concrete.php set to have a value of "forwarded". The migration would absolutely convert to int, but only in generated overrides, leaving the site broken.
Also I would argue against using int flag values in config since it's really hard to tell at a glance what 8 means in the context of trusted proxy headers. Better to just have strings that map to values when not using constants.

For the values of the config files you are right.
For the readability of the flags, see https://github.com/concrete5/concrete5/pull/7862

I like this approach, unfortunately I don't think it's enough. Imagine a project that has application/config/concrete.php set to have a value of "forwarded". The migration would absolutely convert to int, but only in generated overrides, leaving the site broken.

Ok, let's keep the support for those deprecated values.


Callback controller

Used to retrieve initial access and refresh tokens. The token_acquirement_hook is to be configured in the host application.
Documentation will follow in a later PR.

:cake: for you, @timkurvers!

LOL.


bug(COMPONENT): Sort Header

Is this a regression?

[x] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
v18
Description
When focusing on sort header using "tab" key previously on version 18 the sort headers were visible with less opacity but on version 19 the header icons are not visible
old;:

new:

as you can see on new one the header icons not visible on focus
Reproduction
https://material.angular.io/components/sort/overview
check over here and compare with
https://v18.material.angular.io/components/sort/overview
Expected Behavior
expected behavior should be sort icon should be visible with some opacity on focus and on click or enter press it should be visible with full opacity
Actual Behavior
sort icon is not at all visible on focus
Environment

Angular: 19
CDK/Material: 19
Browser(s): chrome
Operating System (e.g. Windows, macOS, Ubuntu): windows

@amysorto sorry for pinging, if want to look into this problem how can is test it locally, like i cloned the repo, installed packages through yarn install, but was not able to run something to test it locally, can you guide me or share some docs for runinng and testing material components locally and fixing problems

If you are interested in looking into contributing a fix, here are instructions for our repo to set up your dev environment: https://github.com/angular/components/blob/main/DEV_ENVIRONMENT.md. The dev app has examples for table once it's run locally which you can test with.


Fix string resource values with '%s'

It looks like the values with '%s' in https://github.com/commons-app/apps-android-commons/commit/28a6a3b71d73bdd14c93d27689d171e871420e69 caused compilation errors in https://github.com/commons-app/apps-android-commons/commit/72cddbf684ace2e5681a2404bbcfdba7eeaae95b . The problem is that apparently translatewiki.net cannot preserve the 'formatted="false"' attribute.
However, even if translatewiki.net supports it, should they be replaced with positional arguments anyway? I think sometimes translation may break the ordering of arguments. (I mean argument_index in https://developer.android.com/reference/java/util/Formatter.html by 'positional arguments'.)

I thought it was fixed but apparently it wasn't. https://travis-ci.org/commons-app/apps-android-commons/builds/336021170
It looks like the recent translation update brought new entries with the same problem.

I think the problem was that I forgot to clean and rebuild before merging. Because I don't see any of these complaints in the XML files.

In fact there were new entries made after you sent your PR: https://github.com/commons-app/apps-android-commons/commit/f8527e6b4f9bc99983a3da3aae20f81414985939#diff-ab4db9feb3f7075f514c574b1c7410a4R211

Is someone working on this issue? This task fails while trying to build.
./gradlew :app:processBetaDebugResources

Am not sure if anyone is fixing it currently. Am taking this up.


Removed sub-experiment info from composite analysis result

Summary
Closes #590
Details and comments

CI is failing because of #592 (not related to this PR)


Fix hyperdiffusion of u_h

Purpose

Fix the hyperdiffusion of u_h for topography. cc @akshaysridhar
To-do

Content

[ ] I have read and checked the items on the review checklist.

Okay, so there are a couple of questions we need clarification on.
The problem is that we're trying to approximate the vector Laplacian of the horizontal velocity:
\nabla^2(u_h) = \nabla(\nabla \cdot u_h) - \nabla \times (\nabla \times u_h)

We do this as:
wgrad(div(u_h) - wcurl(curl(u_h))

where wgrad is the WeakGradient, div is Divergence, curl is Curl and wcurl is WeakCurl.
There are some caveats in the presence of topography:
a. $u_h$ is a Covariant12Vector, so $\omega = \nabla \times u_h$ will naturally be a Contravariant3Vector. However the wcurl term requires a Covariant3Vector: we do this conversion by just multiplying by defining $\omega_3 = g_{33} \omega^3$ term (i.e. we ignore the other terms).
b. if $\omega$ is a Covariant3Vector, then $\phi = \nabla \times \omega$ is naturally a Contravariant12Vector. However we need it to be a Covariant12Vector. This time we ignore the vertical terms, i.e. $\phi_i = g_{ij} \phi^j$ for $i,j=1,2$.
This roughly looks to match what Tempest does, but its not 100% clear. In particular, we're using the full 3D metric terms: maybe we should be using only the horizontal terms? This would give a slightly different result based on two changes:

the first curl term in a. wouldn't be scaled by the $\Delta z$ contribution to the Jacobian (and unscaled after the wcurl), and
the $g_{ij}$ in b. should be the horizontal-only metric terms (instead of the horizontal metric terms taking into account $\Delta z$)

@simonbyrne Is there a reason (other than some computational savings) not to do the full contravariant -> covariant and covariant -> contravariant transformations where they would be needed?

I think all the relevant information is on slack. I'll close this PR.


some regexps do not work with .use() but do with .all()

It seems there is a bug with using (at least some) regexps with .use() since using the same exact regexp with .all() works as expected.
Example:
var app = require('express')();

// works:
//app.all(/\/lang$/, function(req, res) {
// doesn't work:
app.use(/\/lang$/, function(req, res) {
  res.send('caught by middleware');
});

app.listen(8000);

// now try hitting `http://localhost:8000/foo/lang` in your browser

I tested this with Express 4.11.2.
Update: It seems http://localhost:8000/lang does with app.use(), not other paths (e.g. /foo/lang)...

The reason is because of the different between "routes" and "middleware"--the routes (which you can declare with .all, for example) and for matching a whole path, while the "middleware" (declared with .use) are only meant to patch on a path prefix. Currently the above does not work because the match does not anchor on the left-hand side, so the logic is completely thrown off.
I'm not sure how easy this will be to fix yet (and if we even want to fix it? discussion is open right now on this point).

Yikes.... :-)

I believe you should be able to work-around this right now by adding a wildcard to left-anchor the regexp: app.use(/^.*?\/lang$/, fn)--but I'm' not saying this is the only solution, just noting it for now :)


upgrade Flink version to 1.13.1

现在flink 1.14已经发布，master分支依赖的flink还是1.12.5， 有必要升级master分支依赖的flink版本到1.13.1

Thank you for your contribute, but we will update in the future, and rewrite all connector.

Thank you for this pr, but it has been too long to merge this. You can offer this pr base on the branch of 'master'.


1.17

Do you plan to update this mod for 1.17?
I see the PR, but no comment from the mod author.

Updated 👌


Add CLI flag to be able to disable smooth scroll in webviews

Fixes #65398

@usernamehw @mjbvz I am a bit confused about this change, isn't it that command line arguments are being passed to Chrome/Electron anyway? Why is this needed?

Yep. This code should be nuked.


Unable to add background image -

I copied the example for adding background image as the manual suggested below:
A refined landing page
Our journey begins here
@(layout=content, background-image='url("https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/f/c74c7b38-1836-46fb-a163-ebf5451be1dd/d6819u8-6893c092-8268-46d5-b03c-874dbff5c2bd.png/v1/fill/w_999,h_800,q_70,strp/moffee_wallpaper_by_steveart718_d6819u8-pre.jpg?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1cm46YXBwOjdlMGQxODg5ODIyNjQzNzNhNWYwZDQxNWVhMGQyNmUwIiwiaXNzIjoidXJuOmFwcDo3ZTBkMTg4OTgyMjY0MzczYTVmMGQ0MTVlYTBkMjZlMCIsIm9iaiI6W1t7ImhlaWdodCI6Ijw9ODIwIiwicGF0aCI6IlwvZlwvYzc0YzdiMzgtMTgzNi00NmZiLWExNjMtZWJmNTQ1MWJlMWRkXC9kNjgxOXU4LTY4OTNjMDkyLTgyNjgtNDZkNS1iMDNjLTg3NGRiZmY1YzJiZC5wbmciLCJ3aWR0aCI6Ijw9MTAyNCJ9XV0sImF1ZCI6WyJ1cm46c2VydmljZTppbWFnZS5vcGVyYXRpb25zIl19.MU0qRdrNSUT4Ug_BTEcG36ulwVYA3khPq0dM1s81Trk")')
however here is what I get as result:

only words appeared

Thank you, I’ll look into it.

Thank you, I’ll look into it.

By the way I edit the builder.py file to add UTF-8 encoding as following... not sure if this cause the problem
def read_options(document_path) -> PageOption:
"""Read frontmatter options from the document path"""
with open(document_path, "r", encoding='utf-8') as f: # Added encoding='utf-8'
document = f.read()
_, options = parse_frontmatter(document)
return options

I pushed a commit to fix this issue. This happens because parse_deco function cannot recognize commas in quotes. You can see the fix in the next version release or install from git repo.

I tried again in the new version with the following syntax:

I tried again in the new version with the following syntax:
A refined landing page
Our journey begins here
@(layout=content, background-image='url("https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/f/c74c7b38-1836-46fb-a163-ebf5451be1dd/d6819u8-6893c092-8268-46d5-b03c-874dbff5c2bd.png/v1/fill/w_999,h_800,q_70,strp/moffee_wallpaper_by_steveart718_d6819u8-pre.jpg?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1cm46YXBwOjdlMGQxODg5ODIyNjQzNzNhNWYwZDQxNWVhMGQyNmUwIiwiaXNzIjoidXJuOmFwcDo3ZTBkMTg4OTgyMjY0MzczYTVmMGQ0MTVlYTBkMjZlMCIsIm9iaiI6W1t7ImhlaWdodCI6Ijw9ODIwIiwicGF0aCI6IlwvZlwvYzc0YzdiMzgtMTgzNi00NmZiLWExNjMtZWJmNTQ1MWJlMWRkXC9kNjgxOXU4LTY4OTNjMDkyLTgyNjgtNDZkNS1iMDNjLTg3NGRiZmY1YzJiZC5wbmciLCJ3aWR0aCI6Ijw9MTAyNCJ9XV0sImF1ZCI6WyJ1cm46c2VydmljZTppbWFnZS5vcGVyYXRpb25zIl19.MU0qRdrNSUT4Ug_BTEcG36ulwVYA3khPq0dM1s81Trk)")')
However there is still no background image shown:

Seems like there is an extra ")" in your url. Remove the ")" and it's working. And you may need install moffee directly from the git repo to apply latest changes.
Our journey begins here
@(layout=content, background-image='url("https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/f/c74c7b38-1836-46fb-a163-ebf5451be1dd/d6819u8-6893c092-8268-46d5-b03c-874dbff5c2bd.png/v1/fill/w_999,h_800,q_70,strp/moffee_wallpaper_by_steveart718_d6819u8-pre.jpg?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1cm46YXBwOjdlMGQxODg5ODIyNjQzNzNhNWYwZDQxNWVhMGQyNmUwIiwiaXNzIjoidXJuOmFwcDo3ZTBkMTg4OTgyMjY0MzczYTVmMGQ0MTVlYTBkMjZlMCIsIm9iaiI6W1t7ImhlaWdodCI6Ijw9ODIwIiwicGF0aCI6IlwvZlwvYzc0YzdiMzgtMTgzNi00NmZiLWExNjMtZWJmNTQ1MWJlMWRkXC9kNjgxOXU4LTY4OTNjMDkyLTgyNjgtNDZkNS1iMDNjLTg3NGRiZmY1YzJiZC5wbmciLCJ3aWR0aCI6Ijw9MTAyNCJ9XV0sImF1ZCI6WyJ1cm46c2VydmljZTppbWFnZS5vcGVyYXRpb25zIl19.MU0qRdrNSUT4Ug_BTEcG36ulwVYA3khPq0dM1s81Trk")')

Seems like there is an extra ")" in your url. Remove the ")" and it's working. And you may need install moffee directly from the git repo to apply latest changes.
Our journey begins here
@(layout=content, background-image='url("https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/f/c74c7b38-1836-46fb-a163-ebf5451be1dd/d6819u8-6893c092-8268-46d5-b03c-874dbff5c2bd.png/v1/fill/w_999,h_800,q_70,strp/moffee_wallpaper_by_steveart718_d6819u8-pre.jpg?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1cm46YXBwOjdlMGQxODg5ODIyNjQzNzNhNWYwZDQxNWVhMGQyNmUwIiwiaXNzIjoidXJuOmFwcDo3ZTBkMTg4OTgyMjY0MzczYTVmMGQ0MTVlYTBkMjZlMCIsIm9iaiI6W1t7ImhlaWdodCI6Ijw9ODIwIiwicGF0aCI6IlwvZlwvYzc0YzdiMzgtMTgzNi00NmZiLWExNjMtZWJmNTQ1MWJlMWRkXC9kNjgxOXU4LTY4OTNjMDkyLTgyNjgtNDZkNS1iMDNjLTg3NGRiZmY1YzJiZC5wbmciLCJ3aWR0aCI6Ijw9MTAyNCJ9XV0sImF1ZCI6WyJ1cm46c2VydmljZTppbWFnZS5vcGVyYXRpb25zIl19.MU0qRdrNSUT4Ug_BTEcG36ulwVYA3khPq0dM1s81Trk")')

I tried without the extra ")" but it is still the same... could it be caused by that I changed to UTF-8 encoding in the builder.py myself? I had to do this as there were Chinese in my folder path or in the content

I see. I don't think that encoding will cause this problem. Is it possible for you to give me the content of the generated html? You can find the html file in the output of the cli command. It looks like Generated html written to [path].

MS - AI Supply Chain – Measuring the AI Capex Sustainability - 20240819.zip
Thanks for your effort and here is the generated HTML file for my test.md

Thank you for your information. Looks like the fix is not working in your environment. Maybe reinstall moffee to make sure you are using the latest version from repo:
pipx install git+https://github.com/BMPixel/moffee.git

pip install moffee will not work as the released version has not included latest updates.

Thank you for your information. Looks like the fix is not working in your environment. Maybe reinstall moffee to make sure you are using the latest version from repo:
pipx install git+https://github.com/BMPixel/moffee.git

pip install moffee will not work as the released version has not included latest updates.

It worked! Thanks for your patience and sorry for being a newbie in coding/python lol

You're welcome! If you like, this repo may serve as a good start point for you to familiarize python development as it's still new and simple.


Fixed 'Imported' label not showing up for imported Google GKE clusters

Summary
Additional condition to cover imported Google GKE clusters for showing "Imported" label.
Fixes #9253

Screenshot/Video

@momesgin if you can coordinate with @mantis-toboggan-md on GKE, she can review.


Should we remove the hybrid mode from database parsing?

The database parse method takes a file name, and a file name/content association.  You can parse data in memory by passing an association list, or you can parse a file on disk by not passing the association.
Currently, if you pass an association but there are $[ $] references to names that don't hit, it will fall back to fetching those files from disk, so you can parse data from a combination of disk and program memory.  This feature was not implemented on purpose and I'm not sure it's useful.
@digama0 it occurs to me that, deliberate or not, this might be useful for IDE integration and should be kept on that account?

I don't get it. How does it know what files to populate the association with before it has read the $[ $] command?
By IDE integration, do you mean that the user has added a new $[ $] reference to an unknown file in incremental mode? Ideally there should be no difference between the success of one-shot verification vs incremental mode, which means anticipating the addition of new files as well. Unless I'm misunderstanding your question...

The idea is that you'd pass the association if you 1. already known what files will be needed, and 2. don't want it to hit disk.  That's a feature copied from SMM2, where it basically existed to make the test suite work.  So we'll need some version of it for #1.  Now consider what will happen when I try to write a test for "what error is generated when an included file can't be found"…

I would suggest keeping this hybrid behavior, but add a flag to disable the disk read fallback for test mode. That should cover your bases.


Added shu file

University Url

@Muhammad-Jamali First stage of verification passed, official domain is shu.edu.pk as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@Muhammad-Jamali Thank you for your patience while waiting for a review and processing your request. Pull request merged.


Getting Exception with an error code: 0xe (SPXERR_MIC_NOT_AVAILABLE)

Hi,
I have used Microsoft cognitive speech service in my C# code and accessing the input from microphone. It worked fine when the code is in my local system. When I published the code to a azure app service and run the code then I am getting the exception "Exception with an error code: 0xe (SPXERR_MIC_NOT_AVAILABLE)". Below is the code snippet.
I have a angular front end application with backend .Net core API in which I used the Speech service and I am deploying the API to azure app service.
Can Someone help me how to proceed on this ?
var config = SpeechConfig.FromSubscription("------------------------", "---------");
        using (var recognizer = new SpeechRecognizer(config))
        {
            var result = await recognizer.RecognizeOnceAsync();

            if (result.Reason == ResultReason.RecognizedSpeech)
            {
                Console.WriteLine($"We recognized: {result.Text}");
            }
            else if (result.Reason == ResultReason.NoMatch)
            {
                Console.WriteLine($"NOMATCH: Speech could not be recognized.");
            }
            else if (result.Reason == ResultReason.Canceled)
            {
                var cancellation = CancellationDetails.FromResult(result);
                Console.WriteLine($"CANCELED: Reason={cancellation.Reason}");

                if (cancellation.Reason == CancellationReason.Error)
                {
                    Console.WriteLine($"CANCELED: ErrorCode={cancellation.ErrorCode}");
                    Console.WriteLine($"CANCELED: ErrorDetails={cancellation.ErrorDetails}");
                    Console.WriteLine($"CANCELED: Did you update the subscription info?");
                }
            }
            return await Task.FromResult<string>(result.Text);
        }

Azure App Service runs on servers in the cloud.  Those servers don't have microphones (since the microphones would be somewhere in the datacetner were customers can't physically go).  If you wish to create a web app for your customers to use the microphone from the browser/web, you should use the javascript version of the SDK, and embedd that js code into your web page.

@chrisbasoglu Thank you. Actual I am having a front end angular application. Can I use the Javascript SDK in angular application ? Is there any docs related to that ??

I tried to use Javascript SDK in angular using npm install  npm install microsoft-cognitiveservices-speech-sdk and I am getting the error  "Runtime error: Unable to contact server. StatusCode: 500, undefined Reason: ReferenceError: process is not defined"  when recognizer.RecognizeOnceAsync is called.
const speechConfig = SpeechConfig.fromSubscription('---------', '--------');
speechConfig.speechRecognitionLanguage = 'en-US';
const audioConfig  = AudioConfig.fromDefaultMicrophoneInput();
let recognizer = new SpeechRecognizer(speechConfig, audioConfig);
recognizer.recognizeOnceAsync(
(result: SpeechRecognitionResult) => {
window.console.log(result.text);
recognizer.close();
recognizer = undefined;
},
err => {
window.console.log(err);
recognizer.close();
recognizer = undefined;
});

This is the same error as https://github.com/microsoft/cognitive-services-speech-sdk-js/issues/131, I'll see if I can get a fix out soon.

V1.10.0 has the fix and released. Closing.

How can I do this in a Blazor server side?

@kouroshsalahshoor I have the same issue. Did you get a resolution?

Hi Simon,
Sorry for late answer. I was busy.
Unfortunately I didn't have time to solve it, but I believe the problem is that there is just one instance of Blazor server side. So i think the speech file must be saved on the server for each user and then be given to each user seperately.
I hope i helped
kourosh

From: Simon Ziegler @.>
Sent: Sunday, February 5, 2023 10:27 AM
To: Azure-Samples/cognitive-services-speech-sdk @.>
Cc: Kourosh Salahshoor @.>; Mention @.>
Subject: Re: [Azure-Samples/cognitive-services-speech-sdk] Getting Exception with an error code: 0xe (SPXERR_MIC_NOT_AVAILABLE) (#517)
@kouroshsalahshoorhttps://github.com/kouroshsalahshoor I have the same issue. Did you get a resolution?
—
Reply to this email directly, view it on GitHubhttps://github.com/Azure-Samples/cognitive-services-speech-sdk/issues/517#issuecomment-1417206716, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AB6RZ5WZGZOE7IUZKXFVCMLWV5XBVANCNFSM4K2GI7KA.
You are receiving this because you were mentioned.Message ID: @.***>


How to use my own dataset for model training??

hello jouch,
I'd like to know how to make a dataset that conforms to the yolov5 model?
And how to use my own dataset for training?
For example,
I saw that there are data sets stored in paper_data folder, how can I generate the txt files of the original image and labels?

您好，您的邮件已经收到。

split_train_val.py, the detail refers https://blog.csdn.net/qq_36756866/article/details/109111065


Value for field changing without any cause

Values for a field are randomly changing in the background. Though it refers to a UserID from my User class, the field itself is being stored as a String. The issue arises that sometimes the field changes from a String to an array of objects that stores as:
[object object]
It appears to be fairly random as to when it stores one way vs. the other...and I do not know how or why it changes. When my app calls for that field and the array is returned, my app breaks.
Is this a bug or shortcoming of Parse?

Hey @jaredMermey, this sounds very strange.
Can you attach a small repro piece of code or a repro project to help diagnose the problem?
It would help tremendously to discover and address the issue faster.

Sure.
Class Creation:

The second class that holds this fields is called "Relationship."
I both created the Relationship class and populated it manually. The class store relationships and their types.
The two fields that hold the two people involved in the relationship are called "doer" and "recipient." Each stores a User ObjectID as a String (not using pointers or relationships).

I've written codes to get the recipientId in two ways -- once as a map function and once as a for loop. Either way, I grab all the recipientIds from the objects where the currentUser is the "doer." I wrote it a second time because at first I thought it was a client side issue. I then noticed the following returns:
FOR SUCCESS (70% of time...just a string): recipient = KE2ceJkZgQ;
FOR FAILURE (an array): recipient = "<pfuser: 0x7fc612df77b0,="" objectid:="" ke2cejkzgq="">";
I then went to the Core interface and noticed the String in the cell which caused the error turned into [object object]. I refreshed the page and it returned back to the alphanumeric String. Whenever I checked the core after a FAILURE, there was a higher frequency of seeing [object object].

This looks like a backend or data browser issue to me, since after refreshing the page you can see the proper result.
Since we are still using FB Bug Tool for those - could you file a bug under https://parse.com/help

Feel free to reopen and or provide more details here if you think it's related to the client.

Do I do that on the developer forum? That seems to be public. Sorry but I
am new to this.

The file a bug piece is on https://parse.com/help


Update requirements.txt to match current MNE

Codecov Report

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

@@           Coverage Diff           @@
##           master     #142   +/-   ##
=======================================
  Coverage   98.47%   98.47%
=======================================
  Files          30       30
  Lines         722      722
=======================================
  Hits          711      711
  Misses         11       11

Continue to review full report at Codecov.

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


Decimal Points in Perks Config

Requesting the addition of decimal points in the Perks config menu as a valid input for further perk configuration freedom. Added here as per request of Potatoe.

Added in 148


Back button in track order

Fixed an bug of back button in Track Order Section !

change the main to UI-Improvement

@c4coderandcreator Done

Thanks @prashh-k for contributing here !! Please Leave a star to the repo for us 🫂


How to use "link_names"?

Hello,
I've successfully posted to a channel, but would like to 'tag' a user in the message.
I tried to added "link_names: true" as part of the payload hoping it would help (as per the slack instructions), but no cigar, any ideas how I can tag a user in a message?
Thanks in advance :)

Try this:
payload = '<!channel> shhh, everyone be quiet, <@' + msg.payload.userObject.name + '> has something important to say..';

The above is variable and linked to a user user_typing event so it's variable but should work with hard-coded values as well.

Hi,
Apologies, I tried the above but it returned undefined... Would this be used with the slack-web-out node? I was hoping there's something I could add to:
var topic = "chat.postMessage";

var payload = {
    "channel": "#dev-integration-updates",
    "text": "<@Mark> Hi from our custom slack bot built on Node Red :muscle:"
}

msg = {
  topic: topic,
  payload: payload
}

return msg

Which would enable username linking, the Slack API refers to adding link_names, but this doesn't seem to work in my case.

Can you send over the first few characters of the token you’re using? You may not have a token with all the needed permissions..


Set MATLAB Python version

When running rosinit in MATLAB get an error that the Python version is not set.  See last section of https://wiki.nps.edu/display/MRC/Matlab+on+Cloudsim
Could we set this as a MATLAB global setting or startup command so that users do not have to remember to set this each time.

Perhaps a global startup.m script: https://www.mathworks.com/help/matlab/matlab_env/startup-options.html

Can pass the command on startup with the command
matlab -licmode online -r "pyenv('Version','/usr/bin/python2')"

Added this to the wiki.  https://wiki.nps.edu/display/MRC/Matlab+on+Cloudsim
Re-assigning to @M1chaelM in case he would like to establish a global alias

This is fixed in the image now, and I updated the Wiki.


Disable cameras that have been cloned

The Unity application window still renders the view of the (main) camera that has been cloned for streaming. This is a waste of resources, so it should be disabled.
Stretch goal: blit a multi-view of all streams' camera views so the window isn't empty?

Due to the way that we get cameras (Camera.allCameras) disabling the object would prevent them being found if we need to recreate streams, so I've opted to set the culling mask of all "template" cameras so that they render nothing, meanwhile the "instance" cameras are set to render everything
Imperfect fix since the concept of a "template camera" doesn't exist in code beyond just "an enabled camera that we didn't instantiate ourselves" this will need to be addressed in future
Fixed with commit: https://github.com/disguise-one/RenderStream-Unity/commit/d15181cf7460601b61931cddacfb54ab6ce4b9cb


WIP: Issue503 library prep options

Addressing issue #503
Currently, most refactoring for the front-end code has been done, but this does not give the value of the kit type to the database yet.
@charles-cowart @fedarko

Closed in favor of #584


kmeans of scikit-learn crash when using julia MKL first on AMD archlinux

we create a julia-wrapped python package kmeans as in https://github.com/Suzhou-Tongyuan/jnumpy/tree/main/demo/kmeans, and a segfault occurs when testing on a 64-bit archlinux using the AMD architecture:
The following code does not work:
import jnumpy as np
np.init_jl()
data = np.random.rand(100, 8)
from kmeans import jl_kmeans
jl_kmeans(data, 3)

from sklearn.cluster import KMeans
clf = KMeans(n_clusters=3)
clf.fit(data)

While the following code works:
from sklearn.cluster._kmeans import k_means

import jnumpy as np
np.init_jl()
data = np.random.rand(100, 8)
from kmeans import jl_kmeans
jl_kmeans(data, 3)

from sklearn.cluster import KMeans
clf = KMeans(n_clusters=3)
clf.fit(data)

We have addressed the issue. Removing using MKL from fast_kmeans.jl works the code, or importing the cython extension sklearn.cluster._kmeans_common at first in Python also works.

error message:
  signal (11): Segmentation fault
  in expression starting at none:0
  __kmp_env_blk_init at /home/songjhaha/.julia/artifacts/947793e42b663bacd09f00d96aa96a47095f3b1c/lib/libiomp5.so (unknown line)
  _Z20__kmp_env_initializePKc at /home/songjhaha/.julia/artifacts/947793e42b663bacd09f00d96aa96a47095f3b1c/lib/libiomp5.so (unknown line)
  __kmp_middle_initialize at /home/songjhaha/.julia/artifacts/947793e42b663bacd09f00d96aa96a47095f3b1c/lib/libiomp5.so (unknown line)
  omp_get_max_threads at /home/songjhaha/.julia/artifacts/947793e42b663bacd09f00d96aa96a47095f3b1c/lib/libiomp5.so (unknown line)
  __pyx_f_7sklearn_5utils_15_openmp_helpers__openmp_effective_n_threads at /project/sklearn/utils/_openmp_helpers.c:1482 [inlined]
  __pyx_pf_7sklearn_5utils_15_openmp_helpers_2_openmp_effective_n_threads at /project/sklearn/utils/_openmp_helpers.c:1702 [inlined]
...

versions of julia, scikit-learn and MKL.jl:
julia: 1.7.3
scikit-learn: 1.0.2
MKL.jl: 0.5.0


Typo in the githubachievements.com HTML at the How to get Galaxy Brain section.

Hi Maciej Pulikowski,
I noticed a small typo and some grammatical errors in the githubachievements website HTML at the How to get Galaxy Brain section.
The current text is:
1. Find an unanswered question and answer the question, remember to answer correctly! Also your answet must be selected as the submitted answer by owner of the question
2. Reach 2 submitted answers in any categories

While it should be:
1. Find an unanswered question and answer the question, remember to answer correctly! Also your answer must be selected as the accepted answer by owner of the question
2. Reach 2 accepted answers in any category

Please allow me access to the file so that I can contribute those changes.

Hi @fka-kafka,
Thanks for the report. I just fixed it and pushed it to production.
I am planning to open-source the whole website and publish it here, but I don't have time right now :(
Thanks again! :)

Should you want an extra pair of hands during the process, I would be more than happy to contribute in any way


Update alias method in strict guide

As of 12.7.0 we ship a package.json with strict mode, so you can alias it directly. I totally forgot to update the docs.

Codecov Report

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

@@          Coverage Diff          @@
##           master   #308   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          23     23
  Lines         806    806
=====================================
  Hits          806    806

Continue to review full report at Codecov.

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


Escaping special characters

It seems that AEXML's xmlstring property does not escape characters like "greater than", "less than" and "ampersand". This in turn leads to invalid XML being returned if an element's value contains such a character. Alternatively escaping could also be done when adding an element. Nor sure which is the better way...

I thought about this and I still think escaping shouldn't be handled by AEXML.
Reason: if you get XML data which is already escaped (which it should be in order to be valid XML)
then you would only make it worse by escaping it again (ex. & would become &amp;).
My opinion is that you should only get valid XML (or make it valid if it's not) before parsing it with AEXML,
and if you're creating XML data with AEXML you should escape it while doing that.
Eventually, there could be some helper method on AEXMLElement that would escape it's value property (or maybe even more generic that would take any string and return it escaped), which should be called manually when needed, but not automatically because of the previous example.
I would like to here more opinions on this matter, so I'll leave this open for now.

I feel just the opposite: a library should be escape-agnostic.  Likewise you pass an object to the library or use data to create an AEXML object and xmlString should output valid XML (escaped). It would be very odd when creating XML to get an object from a database, then encode it first before passing the data on to library and then convert it to XML.

Also what came to mind today: Imagine you want to enable rendering the AEXML tree to different formats like JSON or a serialzed PHP object (i.e. by extending AEXML). Escaping values before adding them to the tree would break this functionality.

@ghowen - did you solved this escape characters like "greater than", "less than" issue ? I face same problem now a days.

Yes, I patched it and posted a pull request with the patch here. @tadija currently sees things a bit different from me so this thread would be the right place to voice your opinion to integrate the pull request if you feel this is the best solution for the problem.

I would appreciate if anyone could post some simple example (or even project) describing this issue in the real world.
The main thing I did not understand and for which I did not get answer, is how to prevent double escaping if you just enable escaping by default in AEXML, and it happens that you parse valid (already escaped) XML?

@tadija What do you mean with "enable escaping by default"?
The use case I frequently run into is this:
AEXMLElement.addChild("password", value: "verySecretWithSpecialChars&&<<>>!!!")
When I then look at the return value of AEXMLDocument.xmlString. I get invalid XML.
You propose to use AEXML like this:
AEXMLElement.addChild("password", value: "verySecretWithSpecialChars&&<<>>!!!") which IMHO is not very intuitive.

@ghowen Ok, now I see where is the problem, we had a missunderstanding apparently.
For the whole time, I was looking at this from the other side which is parsing some XML from the external source instead of generating XML 'internally' via AEXML.
If you look from my perspective, after merging your pull request, we would have situation when parsing XML from external source which is 'double escaping' if that XML was already escaped (which it should be in order to be valid XML).
That's why at first I suggested that this escaping should be something 'optional' to use when you need it (helper method), so we wouldn't broke existing parsing functionality.
There can of course be some better way too, I'll think about solution for this hopefully soon.

@tadija Very good that we are clearer now.
What I still do not understand is how my patch should interfere with the parsing of XML from an external source. If you get valid XML from an external source, it will be escaped and the parser from iOS will convert it back to the special character value. So when you then access the xmlString property, it will then again correctly escape the special characters to valid XML.

@ghowen Have you tested that? If you did, maybe you could post some Xcode playground on this subject or something similar that proves the point, if not, I'll do it when I have a little time for that.

@tadija I did not test it with your code specifically but this is the way all XML parsers worked that I have used so far. Also I do not see your parser code using the xmlString property which could cause a double encoding.
I am also very busy at the moment so a playground would have to wait a bit.

@tadija, thanks for your great work on AEXML. I agree with @ghowen. An XML library should handle the escaping transparently, that means it should automatically escape all special characters when creating an XML document and of course do the opposite when parsing the document.

I finally had some time to test this in playgrounds, and I'm glad to announce that in latest AEXML version (2.0.0) escaping is included. Thanks for the feedback!

Special character "&" is not Parsing in your AEXML . . .I was used in my Project.
When i am trying to Parse Special Character "&" than error is occurrence. . . .
can any one help me ? What is the Solution of this Special Character ?
ptional(System.ArgumentException: Unterminated string passed in. (67): [{"app_List":[{"server_id":"33536","reason":"Pull","note":"Dodo did
at System.Web.Script.Serialization.JavaScriptObjectDeserializer.DeserializeString()
at System.Web.Script.Serialization.JavaScriptObjectDeserializer.DeserializeInternal(Int32 depth)
at System.Web.Script.Serialization.JavaScriptObjectDeserializer.DeserializeDictionary(Int32 depth)
at System.Web.Script.Serialization.JavaScriptObjectDeserializer.DeserializeInternal(Int32 depth)
at System.Web.Script.Serialization.JavaScriptObjectDeserializer.DeserializeList(Int32 depth)
at System.Web.Script.Serialization.JavaScriptObjectDeserializer.DeserializeInternal(Int32 depth)
at System.Web.Script.Serialization.JavaScriptObjectDeserializer.DeserializeDictionary(Int32 depth)
at System.Web.Script.Serialization.JavaScriptObjectDeserializer.DeserializeInternal(Int32 depth)
at System.Web.Script.Serialization.JavaScriptObjectDeserializer.DeserializeList(Int32 depth)
at System.Web.Script.Serialization.JavaScriptObjectDeserializer.DeserializeInternal(Int32 depth)
at System.Web.Script.Serialization.JavaScriptObjectDeserializer.BasicDeserialize(String input, Int32 depthLimit, JavaScriptSerializer serializer)


ergo commands installed

Ergo installation section of the documentation refers to 2 installed ergo commands: ergoc and ergo.
According to the docs, ergo needs to be tested as such:
ergo execute --help
There is no such command installed, however. The installed commands seem to be:
ergoc
ergorun
ergotop

Thanks for raising an issue @adriaan-pelzer, it seems that we haven't released the latest version of the documentation yet. The next build includes the changes (https://docs.accordproject.org/docs/next/accordproject-tools.html). I'll get a release out shortly.
Sorry for any inconvenience.

No worries - thanks for your quick reply!

Shouldn't that be
ergorun execute --help

@jeromesimeon can you review the docs again, please? It seems like there are a few issues remaining

Thanks @mttrbrts and @adriaan-pelzer. I thought it was done, let me look at it again.
@adriaan-pelzer
It should just be ergorun [options] files and ergoc [options] files, no need for execute.

Should be fixed in the latest version of the documentation, which is now online: https://docs.accordproject.org


[Event Request] Codeunit 925 - Assembly Header-Reserve - OnBeforeCreateReservation

Dear Support,
We would like to add a new event OnBeforeCreateReservation in the following function using the IsHandled pattern. This would allow us to further customize the code and migrate existing customizations.
procedure CreateReservation(var AssemblyHeader: Record "Assembly Header"; Description: Text[100]; ExpectedReceiptDate: Date; Quantity: Decimal; QuantityBase: Decimal; ForReservEntry: Record "Reservation Entry")
var
    ShipmentDate: Date;
    IsHandled: Boolean; //New Code --++
begin
    //New Code --
    IsHandled := false;
    OnBeforeCreateReservation(AssemblyHeader, Description, ExpectedReceiptDate, Quantity, QuantityBase, ForReservEntry, FromTrackingSpecification, IsHandled);
    if IsHandled then
       exit;
    //New Code ++
    if FromTrackingSpecification."Source Type" = 0 then
        Error(Text001);

    AssemblyHeader.TestField("Item No.");
    AssemblyHeader.TestField("Due Date");

    AssemblyHeader.CalcFields("Reserved Qty. (Base)");
    if Abs(AssemblyHeader."Remaining Quantity (Base)") < Abs(AssemblyHeader."Reserved Qty. (Base)") + QuantityBase then
        Error(
          Text000,
          Abs(AssemblyHeader."Remaining Quantity (Base)") - Abs(AssemblyHeader."Reserved Qty. (Base)"));

    AssemblyHeader.TestField("Variant Code", FromTrackingSpecification."Variant Code");
    AssemblyHeader.TestField("Location Code", FromTrackingSpecification."Location Code");

    if QuantityBase * SignFactor(AssemblyHeader) < 0 then
        ShipmentDate := AssemblyHeader."Due Date"
    else begin
        ShipmentDate := ExpectedReceiptDate;
        ExpectedReceiptDate := AssemblyHeader."Due Date";
    end;

    if AssemblyHeader."Planning Flexibility" <> AssemblyHeader."Planning Flexibility"::Unlimited then
        CreateReservEntry.SetPlanningFlexibility(AssemblyHeader."Planning Flexibility");

    CreateReservEntry.CreateReservEntryFor(
      DATABASE::"Assembly Header", AssemblyHeader."Document Type".AsInteger(),
      AssemblyHeader."No.", '', 0, 0, AssemblyHeader."Qty. per Unit of Measure",
      Quantity, QuantityBase, ForReservEntry);
    CreateReservEntry.CreateReservEntryFrom(FromTrackingSpecification);
    CreateReservEntry.CreateReservEntry(
      AssemblyHeader."Item No.", AssemblyHeader."Variant Code", AssemblyHeader."Location Code",
      Description, ExpectedReceiptDate, ShipmentDate, 0);

    FromTrackingSpecification."Source Type" := 0;
end;

Event signature:
    [IntegrationEvent(false, false)]
    local procedure OnBeforeCreateReservation(var AssemblyHeader: Record "Assembly Header"; Description: Text[100]; ExpectedReceiptDate: Date; Quantity: Decimal; QuantityBase: Decimal; ForReservEntry: Record "Reservation Entry"; FromTrackingSpecification: Record "Tracking Specification"; var IsHandled: Boolean)
    begin
    end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 10846.


Please check if CHEBI:90381 and CHEBI:144577 represent the same entity

Hi Adnan,
As I continue checking the glycosphingolipids, I find more structures that resemble each other. Can you please double check if CHEBI:90381 and CHEBI:144577 represent the same entity? Sorry once again for the duplications.

The entries have now been merged. We unfortunately don't have validations in place to detect duplicate residues. When you submit these gylcan residues to ChEBI, can you do a quick structure search in ChEBI beforehand to see if the same structure already exists. Thanks.


Some minor bug fixes (Sora)

PR Introduction: https://github.com/Gakuto1112/SenkoSan/pull/15
This PR is the third PR to fix some problems with Sora branching.

Thanks for your pull request! I will review this later. However, I'm busy for another project that has a deadline, so it may takes long time to deal with it. I will do it as soon as possible.
Some codes in Sora are same as Senko's codes. I will resolve this pull request by merging Senko's codes if I can do it.
Thanks for your corporation!

See here: https://github.com/Gakuto1112/SenkoSan/pull/15#issuecomment-2441573578


Unexpected command:  41 on blynk

I get the error Unexpected command:  41 every time I run the below python script ...
Can anyone help?
import BlynkLib
import network
import machine
WIFI_SSID = 'HamzaJraiwi'
WIFI_PASS = 'pass'
BLYNK_AUTH = 'auth'
print("Connecting to WiFi...")
wifi = network.WLAN(network.STA_IF)
wifi.active(True)
wifi.connect(WIFI_SSID, WIFI_PASS)
while not wifi.isconnected():
pass
print('IP:', wifi.ifconfig()[0])
print("Connecting to Blynk...")
blynk = BlynkLib.Blynk(BLYNK_AUTH)
@blynk.on("connected")
def blynk_connected(ping):
print('Blynk ready. Ping:', ping, 'ms')
def runLoop():
while True:
blynk.run()
machine.idle()
Run blynk in the main thread:
runLoop()

I have the same issue. It has something to do with the DNS not properly being translated in an ip adress.
Use:
blynk = BlynkLib.Blynk(BLYNK_AUTH,                        server='<IP_ADDRESS>', # set server address                        port=80,              # set server port                        heartbeat=30,           # set heartbeat to 30 secs                        log=print               # use print function for debug logging                        )
instead of
blynk = BlynkLib.Blynk(BLYNK_AUTH)

This will be fixed with the next update


Revise doc comments for API reference style (Swift 5.7-04182022)

Cherry pick of #350

@milseman Thanks for reviewing the main PR.  I've confirmed locally that this PR has the same set of changes.  Is there anything else I should do before merging this one?
opendiff \
=(git diff origin/main...amartini/docs_91301229) \
=(git diff origin/swift/release/5.7-04182022...amartini/docs_91301229_5.7-04182022)

We need high-level sign off on this if it's even possible to land at this point

Do we have this on 5.7 as well?

I don't think so, no

Let's please get a clone for 5.7 up so that this at least gets into a later beta.

Re-cherry-picked for the Swift 5.7 branch in #378.  Looks like it's too late in the release process to do anything with this PR, so closing it.


add dependency on dbus-python

When installing via pip, I need to also install dbus-python or I cannot import pyconnman.  It would be convenient to just add that dependency in setup.py.  I can make a pull request if you like.
>>> import pyconnman
Traceback (most recent call last):
  File "<console>", line 1, in <module>
  File "/home/jbronder/st/cmtui/.venv-3.9.2/lib/python3.9/site-packages/pyconnman/__init__.py", line 5, in <module>
    from pyconnman.exceptions import *                      # noqa
  File "/home/jbronder/st/cmtui/.venv-3.9.2/lib/python3.9/site-packages/pyconnman/exceptions.py", line 4, in <module>
    import dbus
ModuleNotFoundError: No module named 'dbus'
>>>

Feel free to submit a PR and I'll merge it