SIGABRT

How frequently does the bug occur?
Sometimes
Description
Hi there,
We have some crashes on various devices and OSes (seems to be mainly on Android 9 - 10 - 12). Is that a known issue? We don't know exactly why and how to reproduce this issue.
Thanks!
Stacktrace & log output
OS Version: Android 10 (DOOGEE-S59-Android10-20220125)
Report Version: 104

Exception Type: Unknown (SIGABRT)

Application Specific Information:
Abort

Thread 0 Crashed:
0   libc.so                         0x78e992d1a0        abort
1   libart.so                       0x7866cc864c        art::Runtime::Abort
2   libbase.so                      0x78e9e9e650        android::base::LogMessage::~LogMessage
3   libart.so                       0x7866aaed64        art::IndirectReferenceTable::AbortIfNoCheckJNI
4   libart.so                       0x7866b8d730        <unknown> +<PHONE_NUMBER>64
5   libart.so                       0x7866d0e078        art::Thread::DecodeJObject
6   libart.so                       0x7866bee924        <unknown> +<PHONE_NUMBER>76
7   libart.so                       0x7866b991b0        <unknown> +<PHONE_NUMBER>08
8   split_config.arm64_v8a.apk      0x77fbc1e1b4        register_results_notification_cb
9   split_config.arm64_v8a.apk      0x77fbc1b928        Java_io_realm_kotlin_internal_interop_realmcJNI_register_1results_1notification_1cb
10  base.odex                       0x7800597dfc        <unknown> +<PHONE_NUMBER>76

Can you reproduce the bug?
No
Reproduction Steps
No response
Version
1.14.1
What Atlas App Services are you using?
Local Database only
Are you using encryption?
No
Platform OS and version(s)
Seems to be mostly on Android 9, 10 and 12
Build environment
No response

This seems to be a duplicate of #1487. I guess it wasn't fix by caching the notification callback references 🤔
@tevincent Can you by any chance derive some additional details about when the crash is happening?
We are not able to reproduce this, so any information that could help narrowing it would be appreciated.
Maybe on updates or on restarts of the app?
Or maybe some details about when your app register for notifications and potential operations triggering these?

We're from the same company as the author of #1487. As for the details, it's the same as #1487. Sorry for the duplicate! Maybe we can close this one and keep #1487.


Increase client timeout for config requests

We have seen that loaded config servers sometimes have short periods where requests time out. Increase client timeout.

👍


ThaliCore: dedicated BrowserRelay per generation id

This issue is related to https://github.com/thaliproject/Thali_CordovaPlugin/issues/1912
BrowserRelays are stored per PeerID ignoring the generation ID. When connecting to a peer, if a relay for a previous generation is still active, it's used to connect to the remote peer.
That behavior is not working and is causing several problems including not properly cleaning up things as mentioned in the issue #1912.
The fix consist in storing each relay based on the PeerID + the generation ID and never try to use an older relay to connect to a peer that has advertised a newer generation.
The first tests show that the performance of creating multiple new sessions in a short amount of time are really good, the replication happens almost instantaneously.

Fixed in https://github.com/thaliproject/thali-ios/commits/master-enrico-error-handling-tmp


Feature Request - Support NoMAD/Custom Data for password expiry

A lot of organisations use NoMAD and it would be great to support it for Password Expiry notifications. Currently you pull in either Local Password Expiry or AD, I propose you also support NoMAD which has the following field to pull data from:
defaults read com.trusourcelabs.NoMAD LastPasswordExpireDate
This results in the response 2021-07-24 23:02:04 +0000. In terms of resetting the password, you can run the following command nomad://passwordchange which will open the NoMAD Change Password window as documented here 👉 https://nomad.menu/2017/03/09/apple-events/.
You might ask why I would deploy Support App and have it show me the dates till password expiry if I already have NoMAD? Well in this case I would still have NoMAD launched at login, but run it with the preference LightsOutIKnowWhatImDoing so that the icon is no longer displayed
If it is too complex to add native support for this. Allow admins to configure a button with the ability to display a number pulled from the local disk.

Upvote this feature, including support for Jamf Connect password expiration from com.jamf.connect.state.plist (defaults read com.jamf.connect.state ComputedPasswordExpireDate)

I would like to see that feature as well.

This feature would be very helpful working for Jamf Connect.

This would be a great feature.

Other sources for password expiration is planned for the next release: Jamf Connect, Kerberos SSO Extension and NoMAD. We'll release a beta soon!

Thanks for the update!

@jordywitteman Any word when we'll see this beta?

Jamf Connect, Kerberos SSO Extension and NoMAD are now available in v2.4


how to carry out multi-GPU with lightning-pose?

Hi, lighting pose team
I am very interested in this super cool tool.
How to do multi-GPU with lighting pose?
I can't find multi-GPU information in the tutorial.

We do not currently support multi-GPU training but it should not be difficult to implement with our current setup (at least for the supervised models). We'll be happy to look into this but it might take us a week or so, we'll keep you updated.

I'm also interested in multi-GPU training and would like to follow this. Thank you!

Hi @ksikka ,
Thank you for following up! I'm encountering memory limitations with a single GPU, so I'd like to explore running Lightning Pose with multiple GPUs.
To give you more context on my current setup: as I add more features—such as unsupervised losses and temporal context networks—the memory demands increase. I've had to significantly resize images and reduce batch sizes to fit within the memory constraints. Currently, I’m running Lightning Pose on a cluster with one GPU that has 40 GB of memory. Allocating more GPUs shouldn't be an issue if Lightning Pose can support multi-GPU functionality.

@ksikka yes, I need to handle more GPU memory as well as faster training if possible.

Hi @YitingChang and @Wulin-Tan support for multi-GPU was just added for supervised training. This works for both heatmap and heatmap_mchrnn as long as losses_to_use: []. Support for multi-gpu when using unsupervised losses is in the works.

Without multi-gpu on unsupervised, you might have success with gradient accumulation (see accumulate_grad_batches in the configuration file docs. Say you want an effective batch size of 8 but can only fit batch size 2 in memory. then you could set train_batch_size: 2 and accumulate_grad_batches: 4. This is an experimental feature so if you do try it, report back with your feedback. Thanks!

Hi @YitingChang and @Wulin-Tan support for multi-GPU was just added for unsupervised training and is now ready for you to try out! We've tested it and been pleased with the results. Please see the guide here, and report back if it has helped you.
https://lightning-pose.readthedocs.io/en/latest/source/user_guide_advanced/multi_gpu_training.html

Awesome! I'll try it next week and report back.

Hi @ksikka I was trying to run multi-GPU training on a cluster node with 4 NVIDIA a100 GPUs and 48 CPUs. However, I got the following error. It seems that Lightning didn't recognize the 4 GPUs correctly. Is there any parameters in the configuration file that I can change? Thank you!
[/opt/dali/dali/operators/image/crop/new_crop_mirror_normalize.cu:249] using CropMirrorNormalize legacy implementation
GPU available: True (cuda), used: True
TPU available: False, using: 0 TPU cores
HPU available: False, using: 0 HPUs
Error executing job with overrides: []
Traceback (most recent call last):
File "/vast/doconn15/projects/hand_tracking/lightning-pose-gpu/scripts/train_hydra.py", line 35, in train_model
train(cfg)
File "/home/ychang73/.conda/envs/litpose-gpu/lib/python3.10/site-packages/typeguard/init.py", line 1033, in wrapper
retval = func(*args, **kwargs)
File "/vast/doconn15/projects/hand_tracking/lightning-pose-gpu/lightning_pose/train.py", line 131, in train
trainer.fit(model=model, datamodule=data_module)
File "/home/ychang73/.conda/envs/litpose-gpu/lib/python3.10/site-packages/lightning/pytorch/trainer/trainer.py", line 538, in fit
call._call_and_handle_interrupt(
File "/home/ychang73/.conda/envs/litpose-gpu/lib/python3.10/site-packages/lightning/pytorch/trainer/call.py", line 46, in _call_and_handle_interrupt
return trainer.strategy.launcher.launch(trainer_fn, *args, trainer=trainer, **kwargs)
File "/home/ychang73/.conda/envs/litpose-gpu/lib/python3.10/site-packages/lightning/pytorch/strategies/launchers/subprocess_script.py", line 99, in launch
self.cluster_environment.validate_settings(num_devices=self.num_processes, num_nodes=self.num_nodes)
File "/home/ychang73/.conda/envs/litpose-gpu/lib/python3.10/site-packages/lightning/fabric/plugins/environments/slurm.py", line 163, in validate_settings
raise ValueError(
ValueError: You set devices=4 in Lightning, but the number of tasks per node configured in SLURM --ntasks-per-node=48 does not match. HINT: Set devices=48.

The lightning framework we use is auto-detecting SLURM, we haven't tested with SLURM before.
The first to try is to unset some SLURM environment variables when running train hydra (got this idea from here)
# Creates a subshell using parentheses () to isolate the environment modifications.
(unset SLURM_NTASKS SLURM_JOB_NAME; python scripts/train_hydra.py)

Can you also share how you enqueued the job? Maybe there is a way to change --ntasks-per-node=48 to --ntasks-per-node=4? Will help me understand what's going on here.

My SLURM script:
#!/bin/bash -l
#SBATCH --job-name=hand-1cam_namd4gpu
#SBATCH --time=2:00:00
#SBATCH --partition=a100
#SBATCH --nodes=1
#SBATCH --ntasks-per-node=48
#SBATCH --gres=gpu:4
#SBATCH -A xxx ### Slurm-account
#SBATCH --error=err.txt
#SBATCH --output=myLog-file.txt
#SBATCH --export=ALL
###Load modules and check
source /data/apps/helpers/Lmod
ml restore
module load namd/2.14-cuda-smp
module load anaconda
ml
Set GPUs to be visible
available_devs=""
for devidx in $(seq 0 15);
do
    if [[ -z $(nvidia-smi -i $devidx --query-compute-apps=pid --format=csv,noheader) ]] ; then

         if [[ -z "$available_devs" ]] ; then

              available_devs=$devidx

         else

             available_devs=$available_devs,$devidx

         fi

     fi

done
export CUDA_VISIBLE_DEVICES=$available_devs
export CONV_RSH=ssh
###Activate the virtual environment
conda activate /home/ychang73/.conda/envs/litpose-gpu
###Run the python script
python scripts/train_hydra.py --config-path=/vast/doconn15/projects/hand_tracking/lightning-pose-gpu/data/LP_240726 --config-name=config_hand-1cam-4gpu.yaml
###Deactivate the virtual environment
conda deactivate

Thanks,
I would try changing --ntasks-per-node to 4.
Feel free to message on discord where we can go back and forth more quickly.

And run the python command with srun. I'm using https://lightning.ai/docs/pytorch/stable/clouds/cluster_advanced.html#run-on-a-slurm-managed-cluster for inspiration.


Quite expected error

$ ls foo.fst
ls: cannot access foo.fst: No such file or directory
$ fstar.exe foo.fst
Unexpected error; please file a bug report, ideally with a minimized version of the source program that triggered the error.
Could not find file 'C:\cygwin\home\santiago\FStar\foo.fst'.

$ ls foo.fst
ls: foo.fst: No such file or directory
$ fstar.exe foo.fst
Error: Unable to open file: foo.fst

I still have this error with the F# build. The OCaml build behaves as expected (as in your post).

Fixed by d60bd4c


spawn host function should return program address

Spawn host function was implemented (#75) without a return value. The assumption was that the spawn would either fail, in which case the call would revert, or it would succeed, in which case the newly-created program address would be returned in ExecutionResult.create_address.
However, it's possible for a single execution thread to call spawn multiple times, and in this case, the address of the programs created by all but the final spawn would be lost. I'm pretty sure we instead need the spawn call to return the newly-created program address. This also simplifies a few things.
Look into the EVM dynamics to understand how it's done there:

https://www.evm.codes/#f0?fork=cancun
https://www.evm.codes/#f5?fork=cancun
https://docs.openzeppelin.com/cli/2.8/deploying-with-create2

This may depend on #81.

In EVM, the spawn opcodes simply put the newly-created contract address onto the stack. We should probably have the spawn host call return it in like fashion.


PHP variable name is not being automatically generated, into the docblock, after type placeholder

I noticed a pretty glaring bug here, there is no varName after [type] when you create a docblock annotation. I am using SublimeText3 on OSX Yosemite
Current Behavior
<?php

    /**
     * [addWhere description]
     * @param [type]
     * @param [type]
     * @param [type]
     * @param array
     */
    public function addWhere($column, $operator, $value, $args = array()) {
        // ...
    }

Desired Behavior
The correct format should be
@param [argument type] [argument name] [argument description]
So the corrected code after typing /** should be
<?php

    /**
     * [addWhere description]
     * @param [type] $column   [description]
     * @param [type] $operator [description]
     * @param [type] $value    [description]
     * @param array  $args     [description]
     */
    public function addWhere($column, $operator, $value, $args = array()) {
        // ...
    }

Same issue for me. Just installed DocBlocker and it does NOT contain param names in a generated docblock:
/**
 * Gets the
 * @param  {[type]}
 * @param  {[type]}
 * @param  {[type]}
 * @param  {[type]}
 * @return {[type]}
 */
var getConfig = function(practice, workflow, role, view) {

}

I had the same issue, and I had to add the two settings mentioned by @spadgos to my Settings - User file for it to work, even though they were set to true in the Settings - Default file.

+1. After adding these lines to Settings => User (despite the fact they was explicitly set to true in Settings => Default), it worked.

Even though PSR5 is currently in the "Proposed" status, it is evident that this is how the annotation should look.
https://github.com/phpDocumentor/fig-standards/blob/master/proposed/phpdoc.md#55-examples

Same here, it doesn't work when its packaged in a sublime-package-file but it works when you unpack it.

+1
Installed the DocBlockr plugin via Package Control inside of ST2.
Javascript function block did not generate param names.
Neither Settings-Default nor Settings-User contained any reference to DocBlockr or jsdocs.
Adding the two options specified by @spadgos above
"jsdocs_param_description": true,
"jsdocs_param_name": true,
into Settings-User fixed the issue

+1

I'm having this very same issue in Sublime 3.

Just had the same issue, tried the user settings and while it works I also checked something else. Uninstalled, installed again - same issue. I have restarted sublime (without adding any user settings) and it all works fine. So just restart sublime after install and you should be fine.
it worked. thanks

Just had the same issue, tried the user settings and while it works I also checked something else. Uninstalled, installed again - same issue. I have restarted sublime (without adding any user settings) and it all works fine. So just restart sublime after install and you should be fine.

it worked. thanks


Refactoring for hashValue in DateInRegion, fixed compiler error on watchOS target

I'm getting this error message when I compile on watch extension target.
iPhone7 + Apple Watch Series 2(WatchOs: 5.0 (16R364))
Pods->SwiftDate->Commons.swift->combineHashValues(_:_:)

I'm getting this error too.

I had removed old hashValue generator function since it was now managed automatically by Swift 4.2.


Error "body.data.baseData.ver cannot be null or undefined."

I just migrated to version 3 and I get this error message:
Envelopes could not be exported and are not retriable. Error message: [
'Error "body.data.baseData.ver cannot be null or undefined." occurred in serializing the payload - "body".'
]
{"stack":"Error: Error "body.data.baseData.ver cannot be null or undefined." occurred in serializing the payload - "body".\n    at serializeRequestBody (/home//source//node_modules/@azure/core-client/dist/commonjs/serializationPolicy.js:119:19)\n    at Object.sendRequest (/home//source//node_modules/@azure/core-client/dist/commonjs/serializationPolicy.js:28:17)\n    at /home//source//node_modules/@azure/core-rest-pipeline/dist/index.js:96:31\n    at HttpPipeline.sendRequest (/home//source//node_modules/@azure/core-rest-pipeline/dist/index.js:99:16)\n    at ApplicationInsightsClient.sendRequest (/home//source//node_modules/@azure/core-client/dist/commonjs/serviceClient.js:48:30)\n    at ApplicationInsightsClient.sendOperationRequest (/home//source//node_modules/@azure/core-client/dist/commonjs/serviceClient.js:110:44)\n    at ApplicationInsightsClient.track (/home//source//node_modules/@azure/monitor-opentelemetry-exporter/dist/index.js:1834:21)\n    at HttpSender.send (/home//source//node_modules/@azure/monitor-opentelemetry-exporter/dist/index.js:2800:38)\n    at HttpSender.exportEnvelopes (/home//source//node_modules/@azure/monitor-opentelemetry-exporter/dist/index.js:2589:55)\n    at /home//source//node_modules/@azure/monitor-opentelemetry-exporter/dist/index.js:3864:47\n    at AsyncLocalStorage.run (node:async_hooks:338:14)\n    at AsyncLocalStorageContextManager.with (/home//source//node_modules/@opentelemetry/context-async-hooks/build/src/AsyncLocalStorageContextManager.js:33:40)\n    at ContextAPI.with (/home//source//node_modules/@opentelemetry/api/build/src/api/context.js:60:46)\n    at AzureMonitorLogExporter.export (/home//source//node_modules/@azure/monitor-opentelemetry-exporter/dist/index.js:3863:31)\n    at /home//source//node_modules/@opentelemetry/core/build/src/internal/exporter.js:29:28\n    at AsyncLocalStorage.run (node:async_hooks:338:14)\n    at AsyncLocalStorageContextManager.with (/home//source//node_modules/@opentelemetry/context-async-hooks/build/src/AsyncLocalStorageContextManager.js:33:40)\n    at ContextAPI.with (/home//source//node_modules/@opentelemetry/api/build/src/api/context.js:60:46)\n    at /home//source//node_modules/@opentelemetry/core/build/src/internal/exporter.js:28:27\n    at new Promise ()\n    at Object._export (/home//source//node_modules/@opentelemetry/core/build/src/internal/exporter.js:26:12)\n    at doExport (/home//source//node_modules/@azure/monitor-opentelemetry/node_modules/@opentelemetry/sdk-logs/build/src/export/BatchLogRecordProcessorBase.js:124:14)","message":"Error "body.data.baseData.ver cannot be null or undefined." occurred in serializing the payload - "body".","name":"Error"} []

@jcbit Can I take a look at your package.json file and your code you use to initialize Application Insights?

Seeing the same issue when using trackException()
Envelopes could not be exported and are not retriable. Error message: [
   'Error "body.data.baseData.ver cannot be null or undefined." occurred in serializing the payload - "body".'
]

My code is a simple:
try {
 // Running code...
} catch (e) {
  appInsights.defaultClient.trackException({ exception: e, severity: appInsights.KnownSeverityLevel.Error });
}

Even if I manually override - exception: new Error('Test'), I still see the same error.

@prateekkathal @jcbit Thank you for raising this issue. A fix PR has already been merged and will be available in the next release: https://github.com/microsoft/ApplicationInsights-node.js/pull/1312.

@JacksonWeber Thank you for the fix. I tested v3.0.1 and it works as expected.
However, I finding these warning logs being emitted as well:
@azure/opentelemetry-instrumentation-azure-sdk [
  'Module @azure/core-tracing has been loaded before @azure/opentelemetry-instrumentation-azure-sdk so it might not work, please initialize it before requiring @azure/core-tracing'
]
Accessing resource attributes before async attributes settled []

My code looks like this:
appInsights
  .setup(connectionString)
  .setAutoCollectRequests(false)
  .setAutoCollectPerformance(false, false)
  .setAutoCollectExceptions(false)
  .setAutoCollectDependencies(false)
  .setAutoCollectConsole(false)
  .setUseDiskRetryCaching(false)
  .setSendLiveMetrics(false)
  .start();

this.client = appInsights.defaultClient;
this.client.setAutoPopulateAzureProperties();

Also, if I don't use the set config functions above after setup, I see even more warnings like these:
Invalid metric name: "\ASP.NET Applications(??APP_W3SVC_PROC??)\Request Execution Time". The metric name should be a ASCII string with a length no greater than 255 characters. []
Invalid metric name: "\ASP.NET Applications(??APP_W3SVC_PROC??)\Requests/Sec". The metric name should be a ASCII string with a length no greater than 255 characters. []
Invalid metric name: "\Process(??APP_WIN32_PROC??)\Private Bytes". The metric name should be a ASCII string with a length no greater than 255 characters. []
Invalid metric name: "\Memory\Available Bytes". The metric name should be a ASCII string with a length no greater than 255 characters. []
Invalid metric name: "\Processor(_Total)\% Processor Time". The metric name should be a ASCII string with a length no greater than 255 characters. []
Invalid metric name: "\Process(??APP_WIN32_PROC??)\% Processor Time". The metric name should be a ASCII string with a length no greater than 255 characters. []
Accessing resource attributes before async attributes settled []
Accessing resource attributes before async attributes settled []

Not sure if this requires a fix? Will be great if you can confirm though. Maybe something I am doing wrong?

@prateekkathal To address each of these:

Regarding the warning about @azure/core-tracing being logged. The discussion here goes into detail about how you can ignore it if you wish, and it won't impact functionality for  you.
The invalid metric names are the performance counters in Application Insights. OpenTelemetry complains about their metric names as they have spaces, but performance counter functionality is not impacted.

@JacksonWeber Thanks, that makes sense. I wish there was a way to just stop the package from emitting out these logs until a "DEBUG" flag was turned on for example.
These extra logs are not useful for many developers directly using this SDK. Maybe something you can add in the release pipeline?
As far as this issue is concerned though, you can mark it as resolved. Have a good one!

I'm still facing this issue.  I've audited my code for .track and only see these methods used:

trackEvent
trackException
trackTrace
trackNodeHttpRequest

And I appear to be using the app insights version with the patch (v3.0.1):

I have also modified my config to match https://github.com/microsoft/ApplicationInsights-node.js/issues/1310#issuecomment-2075437745.
Yet I'm still getting the errors below... did I miss anything?
Envelopes could not be exported and are not retriable. Error message: [
  'Error "body.data.baseData.ver cannot be null or undefined." occurred in serializing the payload - "body".'
]
{"stack":"Error: Error \"body.data.baseData.ver cannot be null or undefined.\" occurred in serializing the payload - \"body\".\n    at serializeRequestBody (/Users/kuech/Repositories/monorepo/api/node_modules/@azure/core-client/src/serializationPolicy.ts:200:13)\n    at Object.sendRequest (/Users/kuech/Repositories/monorepo/api/node_modules/@azure/core-client/src/serializationPolicy.ts:58:9)\n    at /Users/kuech/Repositories/monorepo/api/node_modules/@azure/core-rest-pipeline/src/pipeline.ts:170:25\n    at HttpPipeline.sendRequest (/Users/kuech/Repositories/monorepo/api/node_modules/@azure/core-rest-pipeline/src/pipeline.ts:176:12)\n    at ApplicationInsightsClient.sendRequest (/Users/kuech/Repositories/monorepo/api/node_modules/@azure/core-client/src/serviceClient.ts:125:26)\n    at ApplicationInsightsClient.sendOperationRequest (/Users/kuech/Repositories/monorepo/api/node_modules/@azure/core-client/src/serviceClient.ts:207:38)\n    at ApplicationInsightsClient.track (/Users/kuech/Repositories/monorepo/api/node_modules/@azure/monitor-opentelemetry-exporter/dist/index.js:1834:21)\n    at HttpSender.send (/Users/kuech/Repositories/monorepo/api/node_modules/@azure/monitor-opentelemetry-exporter/dist/index.js:2800:38)\n    at HttpSender.exportEnvelopes (/Users/kuech/Repositories/monorepo/api/node_modules/@azure/monitor-opentelemetry-exporter/dist/index.js:2589:55)\n    at /Users/kuech/Repositories/monorepo/api/node_modules/@azure/monitor-opentelemetry-exporter/dist/index.js:3864:47\n    at AsyncLocalStorage.run (node:async_hooks:346:14)\n    at AsyncLocalStorageContextManager.with (/Users/kuech/Repositories/monorepo/api/node_modules/@opentelemetry/context-async-hooks/src/AsyncLocalStorageContextManager.ts:40:36)\n    at ContextAPI.with (/Users/kuech/Repositories/monorepo/api/node_modules/@opentelemetry/api/src/api/context.ts:77:42)\n    at AzureMonitorLogExporter.export (/Users/kuech/Repositories/monorepo/api/node_modules/@azure/monitor-opentelemetry-exporter/dist/index.js:3863:31)\n    at /Users/kuech/Repositories/monorepo/api/node_modules/@opentelemetry/core/src/internal/exporter.ts:36:22\n    at AsyncLocalStorage.run (node:async_hooks:346:14)","message":"Error \"body.data.baseData.ver cannot be null or undefined.\" occurred in serializing the payload - \"body\".","name":"Error"} []

@chriskuech Please make sure to use version 3.0.1 of the Application Insights SDK as 3.0.0 has an issue with the manual track methods from incorrect serialization of the log body. Let me know if that version works for you.

@JacksonWeber yes that package.json screenshot is from within my node_modules folder to confirm I'm running v3.0.1.

@chriskuech Not seeing any similar errors on my end with trackEvent, trackException or trackTrace. However, trackNodeHttpRequest isn't supported in versions 3.0.0 or higher. Can I take a look at one of your example track methods that's throwing that error for you?

Interesting. I restarted the upgrade fresh and removed the trackNodeHttpRequest and no longer have an issue. Sorry for the churn--feel free to close.

@chriskuech No worries! Always appreciate folks reporting issues, thanks for taking the time to report!


fix buffer size

Change fname buffer size from 128 to 512 to avoid reading 512 bytes from a region of size 128.

This change seems safe enough, but how would formatting two integers ever cause the string to be that large?

This change seems safe enough, but how would formatting two integers ever cause the string to be that large?

You're right, I didn't pay attention to the details of fname.

Close this PR and add this commit in #195


User guide for importing non Angular based libraries into the project

This is the first version of the user guide for importing non Angular based libraries into the project.
It is written with using FullCalendar as a case study, and documents all the steps and pitfalls to watch out for.

@kktam — Thank you for your efforts, your guide has been added! 👍


I can't use mixin if not requiring React. Please fix it

When i run my website with using masonry, it throws errors: "REACT IS UNDEFINDED" . I even try import React before import masonry, but no things happens :( Please check it :(

fixed in 2.0.0


Corrected reads as good as Hifi reads?

Hi,
Thanks for the nice tool. I currently correcting ONT and Pacbio raw reads using illumina short reads and HiFi reads. Do you know whether I can use the corrected reads as input for hifi assemblers like Hicanu and Hifiasm?
Thanks
André

Hi @dabitz,
I never tried myself to assemble Ratatosk corrected reads using HiCanu or Hifiasm. However, someone has been assembling Ratatosk corrected PacBio reads using Flye in the --pacbio-hifi mode and he was very satisfied of the assembly. So I would say that it is probably worth a shot.
Guillaume

Hi @GuillaumeHolley
Thanks a lot. I will try and see how it performs. I will get back to this post later on...
Cheers
André

Hi GuillaumeHolley,
In your paper, which option you used for flye for the Ratatosk corrected reads, --pacbio-raw or --pacbio-corr?
I have assembled the pacbio raw reads with flye --pacbio-raw and the Ratatosk corrected reads with flye --pacbio-corr. But I found the latter was not better than the former. For the raw reads with flye --pacbio-raw, I got N50 of 4.5 Mb and max contig length of 23.0 Mb. But for the Ratatosk corrected reads with flye --pacbio-corr, I only got N50 of 4.0 Mb and max contig length of 16.5 Mb. I am assembling a plant genome with genome size of more than 300 Mb.
Leiting

Hi @lileiting,
In the preprint we assembled our Ratatosk corrected reads with --pacbio-corr but as said previously, some people reported on Twitter they had been using --pacbio-hifi for their genome assembly of Ratatosk reads and they were very satisfied with it.
Now, I have never tried Ratatosk on plant genome reads so there is a possibility that Ratatosk does not perform well on those, although it would come as a surprise to me it performs worst than the raw reads. It is also possible that Flye created more misassemblies for the raw reads assembly compared to the corrected assembly because of the erroneous nature of the raw reads and the nature of the plant genome (aren't plant genomes very heterozygous?). Misassemblies will artificially increase the N50 and give you a false impression of better contiguity. Finally, you only reported the N50 of your assembly, which is always useful, but can be a misleading metrics. Is it the contig N50 or the scaffold N50 (contig linked together with gaps, i.e, stretches of N)? By default, Flye reports the scaffold N50 I think but in your case, it makes a lot of sense to have a look at the contig N50 too. As far as I recall, you don't have a reference genome so evaluating your assembly with QUAST is out of the picture. However, since you have the short reads, you can evaluate your assembly with Merqury and report here the k-mer completeness and quality value of your assembly, without and without correction. These metrics, in combination with the contig/scaffold N50, will allow us to better compare your assemblies.


Working version of example_encode on Mac M1

Hi,
Your code has multiple issues preventing it from running on the Mac M1 on Big Sur with Julia 1.8.2 . Below is a version that runs correctly:
Issues:

PyPlot cannot be installed. Use Plots.heatmap to plot an array.
I added "../src" to LOAD_PATH to make the example work.
In case you have a dark background, change the line and text color of YaoPlots.plot:

CircuitStyles.textcolor[]="yellow"
CircuitStyles.linecolor[]="yellow"

Cheers,

  Gordon

Working code
using Flux
using Yao, Zygote, YaoPlots #, CuYao, Yao.EasyBuild
using Yao.EasyBuild
using LinearAlgebra, Statistics, Random, StatsBase, ArgParse, Distributions
# Issue with Mac M1. I might need the M1 version of Anaconda
#using PyPlot
using Printf, BenchmarkTools, MAT, Plots
#using Flux: batch   # Does not work because batch does not exist?
using Flux: batch

using YaoPlots: plot  # For some reason plot is not loaded.

push!(LOAD_PATH, "../src")
using Quantum_Neural_Network_Classifiers: ent_cx, params_layer, acc_loss_evaluation

# import the FashionMNIST data
vars = matread("../dataset/FashionMNIST_1_2_wk.mat")
x_train = vars["x_train"]
y_train = vars["y_train"]
x_test = vars["x_test"]
y_test = vars["y_test"]

num_train = 1000
num_test = 200
x_train = x_train[:,1:num_train]
y_train = y_train[1:num_train,:]
x_test = x_test[:,1:num_test]
y_test = y_test[1:num_test,:];

i = 13
a = real(vars["x_train"][1:256,i])
c1 = reshape(a,(16,16))
i = 6
a = real(vars["x_train"][1:256,i])
c2 = reshape(a,(16,16))
# matshow(hcat(c1,c2)) # T-shirt and ankle boot
heatmap(hcat(c1,c2))

num_qubit = 8    # number of qubits
depth = 10       # number of parameterized composite_blocks
batch_size = 100 # batch size
lr = 0.01        # learning rate
niters = 100;     # number of iterations
optim = Flux.ADAM(lr); # Adam optimizer

# index of qubit that will be measured
pos_ = 8;
op0 = put(num_qubit, pos_=>0.5*(I2+Z))
op1 = put(num_qubit, pos_=>0.5*(I2-Z));

# if GPU resources are available, you can make modifications including
# replacing  "|> cpu" by "|> cu"
x_train_yao = zero_state(num_qubit,nbatch=num_train)
x_train_yao.state = x_train;
cu_x_train_yao = copy(x_train_yao) |> cpu;

x_test_yao = zero_state(num_qubit,nbatch=num_test)
x_test_yao.state  = x_test;
cu_x_test_yao = copy(x_test_yao) |> cpu;

# define the QNN circuit, some functions have been defined before
ent_layer(nbit::Int64) = ent_cx(nbit)
parameterized_layer(nbit::Int64) = params_layer(nbit)
composite_block(nbit::Int64) = chain(nbit, parameterized_layer(nbit::Int64), ent_layer(nbit::Int64))
circuit = chain(composite_block(num_qubit) for _ in 1:depth)
# assign random initial parameters to the circuit

CircuitStyles.textcolor[]="yellow"
CircuitStyles.linecolor[]="yellow"

dispatch!(circuit, :random)
params = parameters(circuit);
YaoPlots.plot(circuit) # for a long circuit, the plot will cost much time

# record the training history
loss_train_history = Float64[]
acc_train_history = Float64[]
loss_test_history = Float64[]
acc_test_history = Float64[];

for k in 0:niters
    # calculate the accuracy & loss for the training & test set
    train_acc, train_loss = acc_loss_evaluation(circuit,cu_x_train_yao,y_train,num_train, pos_)
    test_acc, test_loss = acc_loss_evaluation(circuit,cu_x_test_yao,y_test,num_test, pos_)
    push!(loss_train_history, train_loss)
    push!(loss_test_history, test_loss)
    push!(acc_train_history, train_acc)
    push!(acc_test_history, test_acc)
    if k % 5 == 0
        @printf("\nStep=%d, loss=%.3f, acc=%.3f, test_loss=%.3f,test_acc=%.3f\n",k,train_loss,train_acc,test_loss,test_acc)
    end

    # at each training epoch, randomly choose a batch of samples from the training set
    batch_index = randperm(size(x_train)[2])[1:batch_size]
    x_batch = x_train[:,batch_index]
    y_batch = y_train[batch_index,:];
    # prepare these samples into quantum states
    x_batch_1 = copy(x_batch)
    x_batch_yao = zero_state(num_qubit,nbatch=batch_size)
    x_batch_yao.state = x_batch_1;
    cu_x_batch_yao = copy(x_batch_yao) |> cpu;
    batc = [zero_state(num_qubit) for i in 1:batch_size]
    for i in 1:batch_size
        batc[i].state = x_batch_1[:,i:i]
    end

    # for all samples in the batch, repeatly measure their qubits at position pos_
    # on the computational basis
    q_ = zeros(batch_size,2);
    res = copy(cu_x_train_yao) |> circuit
    for i=1:batch_size
        rdm = density_matrix(viewbatch(res, i), (pos_,))
        q_[i,:] = Yao.probs(rdm)
    end

    # calculate the gradients w.r.t. the cross-entropy loss function
    Arr = Array{Float64}(zeros(batch_size,nparameters(circuit)))
    for i in 1:batch_size
        Arr[i,:] = expect'(op0, copy(batc[i])=>circuit)[2]
    end
    C = [Arr, -Arr]
    grads = collect(mean([-sum([y_batch[i,j]*((1 ./ q_)[i,j])*batch(C)[i,:,j] for j in 1:2]) for i=1:batch_size]))

    # update the parameters
    updates = Flux.Optimise.update!(optim, params, grads);
    dispatch!(circuit, updates)
end

Plots.plot(acc_train_history,label="accuracy_train",legend = :bottomright)
Plots.plot!(acc_test_history,label="accuracy_test",legend = :bottomright)
# Plots.savefig("acc.pdf")

Plots.plot(loss_train_history,label="loss_train")
Plots.plot!(loss_test_history,label="loss_test")
# Plots.savefig("loss.pdf")

res = copy(cu_x_train_yao) |> circuit
q_ = zeros(num_train,2);
for i=1:num_train
    q_[i,:] = Yao.probs(density_matrix(viewbatch(res, i), (pos_,)))
end
class1x = Int64[]
class2x = Int64[]
class1y = Float64[]
class2y = Float64[]
for i in 1:num_train
    if y_train[i,1] == 1.0
        push!(class1x,i)
        push!(class1y,q_[i,1])
    else
        push!(class2x,i)
        push!(class2y,q_[i,1])
    end
end
# predicted value (expectation value)
# lower loss leads to larger separation between the two classes of data points
Plots.plot(class1x, class1y, seriestype = :scatter)
Plots.plot!(class2x, class2y, seriestype = :scatter)

Hi Prof. Erlebacher:
Thank you very much for your comment! Here is my point-by-point reply:
PyPlot cannot be installed. Use Plots.heatmap to plot an array:
Reply: Yes, we need to have the python package Matplotlib installed before installing PyPlot and I forgot to mention this. In the revised Readme.md, I will point this out.
I added "../src" to LOAD_PATH to make the example work:
Reply: I tried the code on three devices: Linux, Mac intel, and Mac M1. It seems that they all work well.
First, I use these four command lines to build the working env:
$ git clone https://github.com/LWKJJONAK/Quantum_Neural_Network_Classifiers
$ cd Quantum_Neural_Network_Classifiers
$ julia --project=amplitude_encode -e "using Pkg; Pkg.instantiate()"
$ julia --project=block_encode -e "using Pkg; Pkg.instantiate()"

Then I can run all the tutorial codes in the .ipynb files (e.g. https://github.com/LWKJJONAK/Quantum_Neural_Network_Classifiers/blob/main/amplitude_encode/an_example_code_for_the_whole_training_procedure.ipynb). I don't know what exactly the problem is (did you follow the four command lines to install the packages? On our Mac M1 device, we made it work without adding "../src" to LOAD_PATH). We also write "using Quantum_Neural_Network_Classifiers: ent_cx, params_layer, acc_loss_evaluation" into a .jl file and use the command line "julia --project=amplitude_encode a.jl" to successfully run it.
In case you have a dark background, change the line and text color of YaoPlots.plot:
CircuitStyles.textcolor[]="yellow"
CircuitStyles.linecolor[]="yellow"

Reply: Thank you for this suggestion, and I will put these codes in the revised Readme.md.

Thanks for the detailed reply. I admit I did not read the README.md file carefully. I am at fault.  Sorry about that.
Gordon.


Buffer is not defined with some URIs

Sorry, I don't know how to replicate it. Could it be ssl=true?

Closing as outdated, please add steps-to-reproduce if it's still causing problems


Updating the logic for reflecting description onto the form for any of the fields for customer future use

Please always provide the GitHub issue(s) your PR is for, as well as test URLs where your change can be observed (before and after):
Fixes #98
Test URLs:

Original: https://www.sunstar-foundation.org/en/awards/perio-link/submit-your-video

Before: https://main--sunstar-foundation--hlxsites.hlx.live/en/awards/perio-link/submit-your-video

After: https://issue98-forms-captcha--sunstar-foundation--hlxsites.hlx.live/en/awards/perio-link/submit-your-video

[ ] New Blocks introduced in this PR
If yes, please provide details below

Block Name
Documentation

For e.g. cards
doc-link

[ ] New variations introduced in this PR

Variation Name
Documentation

For e.g. cards (grid)
doc-link

trivial: Maybe the font size of the text can be made similar to that of original site.


Rkoe release notes 20.03 acme

Motivation for this change
Failures during 20.03 upgrade.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

cc @NixOS/acme for the content.

Content is fine LGTM!

@rkoe can you address the proposed changes?


Error when copying from client to backend: websocket: close 1006 (abnormal closure)

Do you want to request a feature or report a bug?
Bug (I think)
What did you do?
Set up Plex, Ombi, Tautulli & Traefik in Linux docker containers using the following guide.

What did you expect to see?
I expected those apps to route via 443 with LetsEncrypt issuing SSL certificates.
What did you see instead?
Everything appears to be working fine but concerned with the output from my logs
linux@linux-vm:~/docker/traefik$ docker-compose logs -tf --tail="50" traefik
Attaching to traefik
traefik       | 2018-07-01T21:12:29.037077368Z time="2018-07-01T21:12:29Z" level=error msg="vulcand/oxy/forward/websocket: Error when copying from client to backend: websocket: close 1006 (abnormal closure): unexpected EOF"
traefik       | 2018-07-01T21:14:09.319608223Z time="2018-07-01T21:14:09Z" level=error msg="vulcand/oxy/forward/websocket: Error when copying from client to backend: websocket: close 1006 (abnormal closure): unexpected EOF"
traefik       | 2018-07-01T21:15:16.447025109Z time="2018-07-01T21:15:16Z" level=error msg="vulcand/oxy/forward/websocket: Error when copying from client to backend: websocket: close 1006 (abnormal closure): unexpected EOF"
traefik       | 2018-07-01T21:35:06.036194596Z time="2018-07-01T21:35:06Z" level=error msg="vulcand/oxy/forward/websocket: Error when copying from client to backend: websocket: close 1006 (abnormal closure): unexpected EOF"
traefik       | 2018-07-02T06:08:47.879688323Z time="2018-07-02T06:08:47Z" level=error msg="vulcand/oxy/forward/websocket: Error when copying from client to backend: websocket: close 1006 (abnormal closure): unexpected EOF"
traefik       | 2018-07-02T06:09:43.385245707Z time="2018-07-02T06:09:43Z" level=error msg="vulcand/oxy/forward/websocket: Error when copying from client to backend: websocket: close 1006 (abnormal closure): unexpected EOF"
traefik       | 2018-07-03T08:26:03.630111665Z time="2018-07-03T08:26:03Z" level=error msg="vulcand/oxy/forward/websocket: Error when copying from client to backend: websocket: close 1006 (abnormal closure): unexpected EOF"
traefik       | 2018-07-03T20:06:08.140735477Z 2018/07/03 20:06:08 transport.go:1748: Unsolicited response received on idle HTTP channel starting with "HTTP/1.1 408 Request Timeout\r\nContent-Length: 0\r\nContent-Type: text/plain\r\n\r\n"; err=<nil>
traefik       | 2018-07-03T20:06:08.667464904Z 2018/07/03 20:06:08 transport.go:1748: Unsolicited response received on idle HTTP channel starting with "HTTP/1.1 408 Request Timeout\r\nContent-Length: 0\r\nContent-Type: text/plain\r\n\r\n"; err=<nil>
traefik       | 2018-07-03T20:06:14.101996117Z 2018/07/03 20:06:14 transport.go:1748: Unsolicited response received on idle HTTP channel starting with "HTTP/1.1 408 Request Timeout\r\nContent-Length: 0\r\nContent-Type: text/plain\r\n\r\n"; err=<nil>
traefik       | 2018-07-03T20:06:14.102318518Z 2018/07/03 20:06:14 transport.go:1748: Unsolicited response received on idle HTTP channel starting with "HTTP/1.1 408 Request Timeout\r\nContent-Length: 0\r\nContent-Type: text/plain\r\n\r\n"; err=<nil>
traefik       | 2018-07-03T20:06:14.751698787Z 2018/07/03 20:06:14 transport.go:1748: Unsolicited response received on idle HTTP channel starting with "HTTP/1.1 408 Request Timeout\r\nContent-Length: 0\r\nContent-Type: text/plain\r\n\r\n"; err=<nil>
traefik       | 2018-07-03T20:06:14.931341781Z 2018/07/03 20:06:14 transport.go:1748: Unsolicited response received on idle HTTP channel starting with "HTTP/1.1 408 Request Timeout\r\nContent-Length: 0\r\nContent-Type: text/plain\r\n\r\n"; err=<nil>
traefik       | 2018-07-04T05:57:14.091694724Z time="2018-07-04T05:57:14Z" level=error msg="vulcand/oxy/forward/websocket: Error when copying from client to backend: websocket: close 1006 (abnormal closure): unexpected EOF"
traefik       | 2018-07-04T07:54:48.041719000Z time="2018-07-04T07:54:48Z" level=error msg="vulcand/oxy/forward/websocket: Error when copying from client to backend: websocket: close 1006 (abnormal closure): unexpected EOF"
traefik       | 2018-07-04T08:08:59.281762228Z time="2018-07-04T08:08:59Z" level=error msg="vulcand/oxy/forward/websocket: Error when copying from client to backend: websocket: close 1006 (abnormal closure): unexpected EOF"
traefik       | 2018-07-04T18:18:55.000879693Z time="2018-07-04T18:18:55Z" level=error msg="vulcand/oxy/forward/websocket: Error when copying from client to backend: websocket: close 1006 (abnormal closure): unexpected EOF"
traefik       | 2018-07-04T21:12:01.547831305Z time="2018-07-04T21:12:01Z" level=error msg="vulcand/oxy/forward/websocket: Error when copying from client to backend: websocket: close 1006 (abnormal closure): unexpected EOF"
traefik       | 2018-07-04T21:13:42.738688138Z time="2018-07-04T21:13:42Z" level=error msg="vulcand/oxy/forward/websocket: Error when copying from client to backend: websocket: close 1006 (abnormal closure): unexpected EOF"
traefik       | 2018-07-04T21:15:23.893754916Z time="2018-07-04T21:15:23Z" level=error msg="vulcand/oxy/forward/websocket: Error when copying from client to backend: websocket: close 1006 (abnormal closure): unexpected EOF"
traefik       | 2018-07-04T21:17:05.087976534Z time="2018-07-04T21:17:05Z" level=error msg="vulcand/oxy/forward/websocket: Error when copying from client to backend: websocket: close 1006 (abnormal closure): unexpected EOF"
traefik       | 2018-07-04T21:18:46.246551421Z time="2018-07-04T21:18:46Z" level=error msg="vulcand/oxy/forward/websocket: Error when copying from client to backend: websocket: close 1006 (abnormal closure): unexpected EOF"
traefik       | 2018-07-04T21:20:27.407767075Z time="2018-07-04T21:20:27Z" level=error msg="vulcand/oxy/forward/websocket: Error when copying from client to backend: websocket: close 1006 (abnormal closure): unexpected EOF"
traefik       | 2018-07-05T05:49:59.746991480Z 2018/07/05 05:49:59 transport.go:1748: Unsolicited response received on idle HTTP channel starting with "HTTP/1.1 408 Request Timeout\r\nContent-Length: 0\r\nContent-Type: text/plain\r\n\r\n"; err=<nil>
traefik       | 2018-07-05T07:29:33.354355381Z time="2018-07-05T07:29:33Z" level=error msg="vulcand/oxy/forward/websocket: Error when copying from client to backend: websocket: close 1006 (abnormal closure): unexpected EOF"
traefik       | 2018-07-05T11:45:02.126349279Z time="2018-07-05T11:45:02Z" level=error msg="vulcand/oxy/forward/websocket: Error when copying from client to backend: websocket: close 1006 (abnormal closure): unexpected EOF"
traefik       | 2018-07-05T16:05:53.892075214Z time="2018-07-05T16:05:53Z" level=error msg="vulcand/oxy/forward/websocket: Error when copying from client to backend: websocket: close 1006 (abnormal closure): unexpected EOF"
traefik       | 2018-07-05T19:02:15.144420819Z time="2018-07-05T19:02:15Z" level=error msg="vulcand/oxy/forward/websocket: Error when copying from client to backend: websocket: close 1006 (abnormal closure): unexpected EOF"
traefik       | 2018-07-05T22:21:54.572498374Z time="2018-07-05T22:21:54Z" level=error msg="vulcand/oxy/forward/websocket: Error when copying from client to backend: websocket: close 1006 (abnormal closure): unexpected EOF"
traefik       | 2018-07-07T23:20:29.959977082Z time="2018-07-07T23:20:29Z" level=error msg="vulcand/oxy/forward/websocket: Error when copying from client to backend: websocket: close 1006 (abnormal closure): unexpected EOF"
traefik       | 2018-07-07T23:22:10.524656785Z time="2018-07-07T23:22:10Z" level=error msg="vulcand/oxy/forward/websocket: Error when copying from client to backend: websocket: close 1006 (abnormal closure): unexpected EOF"
traefik       | 2018-07-07T23:23:38.343968770Z time="2018-07-07T23:23:38Z" level=error msg="vulcand/oxy/forward/websocket: Error when copying from client to backend: websocket: close 1006 (abnormal closure): unexpected EOF"
traefik       | 2018-07-10T12:55:57.791124735Z time="2018-07-10T12:55:57Z" level=error msg="vulcand/oxy/forward/websocket: Error when copying from client to backend: websocket: close 1006 (abnormal closure): unexpected EOF"
traefik       | 2018-07-10T12:55:58.783027257Z time="2018-07-10T12:55:58Z" level=error msg="vulcand/oxy/forward/websocket: Error when copying from client to backend: websocket: close 1006 (abnormal closure): unexpected EOF"
traefik       | 2018-07-10T12:56:00.822528148Z time="2018-07-10T12:56:00Z" level=error msg="vulcand/oxy/forward/websocket: Error when copying from client to backend: websocket: close 1006 (abnormal closure): unexpected EOF"
traefik       | 2018-07-10T12:56:03.784028049Z time="2018-07-10T12:56:03Z" level=error msg="vulcand/oxy/forward/websocket: Error when copying from client to backend: websocket: close 1006 (abnormal closure): unexpected EOF"
traefik       | 2018-07-10T12:56:07.784998083Z time="2018-07-10T12:56:07Z" level=error msg="vulcand/oxy/forward/websocket: Error when copying from client to backend: websocket: close 1006 (abnormal closure): unexpected EOF"
traefik       | 2018-07-10T12:56:12.785850875Z time="2018-07-10T12:56:12Z" level=error msg="vulcand/oxy/forward/websocket: Error when copying from client to backend: websocket: close 1006 (abnormal closure): unexpected EOF"
traefik       | 2018-07-10T12:56:17.785889462Z time="2018-07-10T12:56:17Z" level=error msg="vulcand/oxy/forward/websocket: Error when copying from client to backend: websocket: close 1006 (abnormal closure): unexpected EOF"
traefik       | 2018-07-10T12:56:18.786032221Z time="2018-07-10T12:56:18Z" level=error msg="vulcand/oxy/forward/websocket: Error when copying from client to backend: websocket: close 1006 (abnormal closure): unexpected EOF"
traefik       | 2018-07-10T12:56:20.786360737Z time="2018-07-10T12:56:20Z" level=error msg="vulcand/oxy/forward/websocket: Error when copying from client to backend: websocket: close 1006 (abnormal closure): unexpected EOF"
traefik       | 2018-07-10T12:56:23.787280114Z time="2018-07-10T12:56:23Z" level=error msg="vulcand/oxy/forward/websocket: Error when copying from client to backend: websocket: close 1006 (abnormal closure): unexpected EOF"
traefik       | 2018-07-10T12:56:27.788035048Z time="2018-07-10T12:56:27Z" level=error msg="vulcand/oxy/forward/websocket: Error when copying from client to backend: websocket: close 1006 (abnormal closure): unexpected EOF"
traefik       | 2018-07-10T12:58:08.803009066Z time="2018-07-10T12:58:08Z" level=error msg="vulcand/oxy/forward/websocket: Error when copying from client to backend: websocket: close 1006 (abnormal closure): unexpected EOF"
traefik       | 2018-07-10T12:58:08.803496969Z time="2018-07-10T12:58:08Z" level=error msg="vulcand/oxy/forward/websocket: Error when copying from client to backend: websocket: close 1006 (abnormal closure): unexpected EOF"
traefik       | 2018-07-10T12:58:08.804040673Z time="2018-07-10T12:58:08Z" level=error msg="vulcand/oxy/forward/websocket: Error when copying from client to backend: websocket: close 1006 (abnormal closure): unexpected EOF"
traefik       | 2018-07-10T12:58:08.804490976Z time="2018-07-10T12:58:08Z" level=error msg="vulcand/oxy/forward/websocket: Error when copying from client to backend: websocket: close 1006 (abnormal closure): unexpected EOF"
traefik       | 2018-07-10T12:58:08.804920979Z time="2018-07-10T12:58:08Z" level=error msg="vulcand/oxy/forward/websocket: Error when copying from client to backend: websocket: close 1006 (abnormal closure): unexpected EOF"
traefik       | 2018-07-10T12:58:08.809846112Z time="2018-07-10T12:58:08Z" level=error msg="vulcand/oxy/forward/websocket: Error when copying from client to backend: websocket: close 1006 (abnormal closure): unexpected EOF"
traefik       | 2018-07-10T12:58:18.804229911Z time="2018-07-10T12:58:18Z" level=error msg="vulcand/oxy/forward/websocket: Error when copying from client to backend: websocket: close 1006 (abnormal closure): unexpected `EOF"

Output of traefik version: (What version of Traefik are you using?)

Version:      v1.6.4
Codename:     tetedemoine
Go version:   go1.10.3
Built:        2018-06-15_03:12:50PM
OS/Arch:      linux/amd64

What is your environment & configuration (arguments, toml, provider, platform, ...)?
# #debug = true

logLevel = "ERROR" #DEBUG, INFO, WARN, ERROR, FATAL, PANIC
InsecureSkipVerify = true
defaultEntryPoints = ["https", "http"]

# WEB interface of Traefik - it will show web page with overview of frontend and backend configurations
[web]
address = ":8080"
  [web.auth.basic]
  usersFile = "/shared/.htpasswd"

# Force HTTPS
[entryPoints]
  [entryPoints.http]
  address = ":80"
    [entryPoints.http.redirect]
    entryPoint = "https"
  [entryPoints.https]
  address = ":443"
    [entryPoints.https.tls]

[file]
  watch = true
  filename = "/etc/traefik/rules.toml"

# Let's encrypt configuration
[acme]
email = "my email" #any email id will work
storage="/etc/traefik/acme/acme.json"
entryPoint = "https"
acmeLogging=true
onDemand = false #create certificate when container is created
[acme.dnsChallenge]
  provider = "cloudflare"
  delayBeforeCheck = 0
[[acme.domains]]
   main = "my domain"
[[acme.domains]]
   main = "sub domain"
[[acme.domains]]
   main = "sub domain"
[[acme.domains]]
   main = "sub domain"

# Connection to docker host system (docker.sock)
[docker]
endpoint = "unix:///var/run/docker.sock"
domain = "EXAMPLE.COM"
watch = true
# This will hide all docker containers that don't have explicitly
# set label to "enable"
exposedbydefault = false

Disclaimer
I am new to this so my understanding of how Traefik/Docker works might not be that great.

Your problem seems not really linked to Traefik, the only thing the error message says, is that your client just close the connection in an unexpected way. (abnormal closure)
I will close this issue. Please feel free to reach out to us on our Slack workspace if you have any further question or concerns about this issue.

@juliens I'm having this issue when using traefik as a reverse proxy for couchbase sync-gateway. Talking directly with the server does not cause the connection to close. I'm trying to find what's happening. Using the latest v1.7.12 doesn't solve the problem.
There is a similar problem of the websocket breaking with Azure Application Gateway:
https://github.com/couchbase/couchbase-lite-core/issues/503
Have you heard about any other similar problem since last year?


Correct clip rectangle instructions

See
https://github.com/vbauer/manet/blob/8471076fb89b967ef06c1bb22c05f3719b2d9756/src/options.js#L62

Thank you


Hover from the React testing library in the Tooltip component is not working

Discussed in https://github.com/chakra-ui/zag/discussions/2133

Originally posted by elbrante December 23, 2024
Hello everyone. I'm trying to write a test using the React Testing Library to view a hint on hover. When using hover from UserEvent zag.js does not change the state of the Tooltip in any way, that is, the tooltip does not open. I also tried to use fireEvent using the MouseEvent('mouseover') event and used fireEvent.focus(), but the situation persists. What to do?

Let's keep this as a discussion. Will have a look


fix #579 Auto-merge between branches

Signed-off-by: Peixin Li<EMAIL_ADDRESS>ref: #579

build

build

How do we know if auto merge failed? Does it send to slack or anything?

How do we know if auto merge failed?

The auto-merge PR remains open instead of being closed, and a comment is posted to the PR stating it needs manual intervention to be merged.

I took a look at the script that does the merge, and there's an important part missing.  The PR posted to do the automatic merge does not have CI run on it.  Even if there are no merge conflicts, the PR should not be automatically merged unless CI passes on the merged result.

How do we know if auto merge failed? Does it send to slack or anything?

There will be an email sent to maintainers.
sth like,
Run failed for branch-0.2 (5e0d70b)
Repository: pxLi/spark-rapids
Workflow: auto-merge
Duration: 30.0 seconds
Finished: 2020-08-19 05:08:32 UTC

View results

Jobs:
automerge failed (0 annotations)

I took a look at the script that does the merge, and there's an important part missing. The PR posted to do the automatic merge does not have CI run on it. Even if there are no merge conflicts, the PR should not be automatically merged unless CI passes on the merged result.

I think we add the auto-merge here is because we haven't set branch-0.3 as out default branch here. So I am assuming we won't do active development on that branch until we switch that as default, and we can terminate this auto-merge workflow at that moment
FYI cuDf does the same thing w/o CI pipeline https://github.com/rapidsai/cudf/pull/6047
Let me know if you have any other concern :)

build

I think we add the auto-merge here is because we haven't set branch-0.3 as out default branch.

Which branch is default is not relevant.  The point of the auto-merge is to cover the time when we are moving from one development branch to another as part of making a release.  That migration is not an instantaneous, hard cutover.  Bug fixes continue to pour into the older branch, while new features need to go into the new branch to avoid destabilizing the older branch just before the release.  It will often be days or even weeks where we will need CI on both branches.  The point of the auto-merge is to automatically pull in bugfixes checked in on the older branch into the newer branch so they aren't lost when moving to the later releases.
I'd really like pre-merge CI to run on the auto-merge branch if possible, but a nightly CI on the newer branch is the next best thing.  We need something to detect in a timely manner when the auto-merge breaks an existing test (or even the build!).

I think we add the auto-merge here is because we haven't set branch-0.3 as out default branch.

Which branch is default is not relevant. The point of the auto-merge is to cover the time when we are moving from one development branch to another as part of making a release. That migration is not an instantaneous, hard cutover. Bug fixes continue to pour into the older branch, while new features need to go into the new branch to avoid destabilizing the older branch just before the release. It will often be days or even weeks where we will need CI on both branches. The point of the auto-merge is to automatically pull in bugfixes checked in on the older branch into the newer branch so they aren't lost when moving to the later releases.
I'd really like pre-merge CI to run on the auto-merge branch if possible, but a nightly CI on the newer branch is the next best thing. We need something to detect in a timely manner when the auto-merge breaks an existing test (or even the build!).

yep, I totally agree that we should have some detection for auto-merge stuff on the newer branch.
pre-merge checks will make the process less 'auto', since the commits on older branch could get merged at the same time.  Then it could cost multiple pre-merge CI runs to get that auto-merge PR passed checks, which could block forever in the worst case 🤦  (we could checkout a tmp branch for older PR every time to avoid that, but could bring more problems, sounds janky though)
I can set up a nightly pipeline for branch-03 later, and people will get notifications from slack just like our other CI jobs. Let me know if that sound reasonable to you 😸

build

build

build

build

build

build

build


To use local menu (right click) to choose predefined fieds

Hi,
It would be more effective to choose predefined fields from local menu (right click).
The note menu is very long, packed and harder to click on it.
Thanks
Füles

I would like that feature too.
I think an option in the settings of the field like myField:: {"type":"type","options":{"Options"},"showInContextMenu":"true"} would make easy to manage this.

Great, waiting for it.
Füles

I just was suggesting how that feature could be done, I don't think feature is included already. Please, reopen this issue and wait until it gets included into the plugin to close it.


BUG: dark theme and styling

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
I have seen that in forget password page there is need of some styling and also dark theme not applied on that page.
Add ScreenShots

What browser are you seeing the problem on?
Chrome
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'23 contributor
[X] I want to work on this issue

Hey, similar issue is already been assigned!


Class not registered?

I receive the following error after trying to run resnet50 using winML.
Loading model (path = resnet50\resnet50\model.onnx)...
Load Model: resnet50\resnet50\model.onnx [FAILED]
Class not registered
Class not registered
Systems
Processor:	Intel(R) Core(TM) i5-8350U CPU @ 1.70GHz, 1896 Mhz, 4 Core(s), 8 Logical Processor(s)
OS:  Microsoft Windows 10 Enterprise

Hi @donaparker01 , thanks for reaching out! May I ask what OS Build number you are running? Did you download resnet50 from ONNX model zoo?

Hi @ryanlai2 my OS Build # is 10.0.16299 Build 16299, and yes, I downloaded it from the onnx model zoo.

Hi @donaparker01 , if you update your OS Build # to 10.0.17763 or higher then it should work :) You can find our release notes here: https://docs.microsoft.com/en-us/windows/ai/windows-ml/release-notes

closing, feel free to reopen if the issue is not fixed


chore(main): release 0.2.0

:robot: I have created a release beep boop
0.2.0 (2024-06-02)
Features

npm publish (b75431f)
release-please integration (a835a6d)
ssm getSecret function, basic project setup (da4c534)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/smartstream-tv/pulumi-aws-toolbox/releases/tag/v0.2.0 :sunflower:


Create a script to generate data for development purposes

Currently, we only have a few dummy stories and points set up in the seeds.rb file, whereas the community use cases have hundreds of different Stories, Places, and Speakers and hours of video footage. It would be great if we could have a similar amount of data in the app for development purposes. For this issue, let’s write a script that can generate a hundred or so different pieces of data including Stories, Places, and Speakers, with media fields and relationships. Bonus points for a script that can take arguments about how much to create!
We would like this script to be able to be run with a docker command and it would create records into the Rails database. Please also include some updates to the SETUP guide with instructions on how to use the script.

I'd like to work on this!


feat(carousel): add shidoka swiper config, styles, examples

Summary
Added Shidoka default configuration and stylesheet for Swiper, with example Stories and usage documentation.
ADO Story Link
https://dev.azure.com/Kyndryl/Shidoka - Bridge Design System/_workitems/edit/1904441/
Figma Link
https://www.figma.com/design/CQuDZEeLiuGiALvCWjAKlu/Applications---Component-Library?node-id=16511-29991&node-type=frame&m=dev
Note: Some things have been tweaked slightly and are not reflected in Figma yet. Notably:

Fractional paging
Tab styles
Off-screen slide de-saturation

Boarder padding around the View all button is missing.
Mini cards - There is some empty space at the beginning of the slides, is this expected?

@srpriyankashetty

Added 1px padding so outlines don't get cut off by the carousel overflow.
Yes, the designer wanted the "centered slides" option as the default.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


levdopa incorrectly split

There are 2 identifiers for levdopa in NN:
PUBCHEM.COMPOUND:6047 (A small molecule)
UMLS:C0023579 (A Protein)
Levdopa is not a protein, but it is an amino acid.  I suspect that this is an over-zealous assignment of a class to a UMLS branch that is probably something like "proteins, polypeptides, and amino acids"

Which NN are you looking at? They are merged in 2022dec2-2 on ITRB Prod: https://nodenorm.transltr.io/1.3/get_normalized_nodes?curie=PUBCHEM.COMPOUND%3A6047&conflate=true

Right, sort of -  I hadn't noticed that the UMLS is part of the PUBCHEM clique.  But, the UMLS also has its own:
https://nodenorm.transltr.io/1.3/get_normalized_nodes?curie=UMLS%3AC0023570&conflate=true
That should bring back the pubchem document above, but doesn't

Hmm. Let me check the actual JSON output and let you know what I find.

This is related to https://github.com/TranslatorSRI/Babel/issues/110 in that they both have the same identifier in different cliques, which I didn't think was something the Redis graph supported.

Just an update: PUBCHEM.COMPOUND:6047 in NodeNorm Dev is now classified as a SmallMolecule rather than a protein/amino acid. I don't see an entry for UMLS:C0023579 in UMLS at all, but PUBCHEM.COMPOUND:6047 is cliqued with UMLS:C0023570 "levodopa". So I think everything in this ticket is resolved?

Oh wait, no, the problem is actually that UMLS:C0023570 is showing up in both clique UMLS:C0023570 and in clique PUBCHEM.COMPOUND:6047. Weird.

The 9 was probably a typo...  I agree that it's resolved

ah ok


feat: Add ability to cache Properties in metadata

copilot:all

Current dependencies on/for this PR:

main

PR #3188   👈

This comment was auto-generated by Graphite.


feat(api): POST /ms-trophy-challenge-completed

Checklist:

[x] I have read and followed the contribution guidelines.
[x] I have read and followed the how to open a pull request guide.
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes https://github.com/freeCodeCamp/freeCodeCamp/issues/51430
I didn't have chance to finish this 100% before my vacation (sorry!), but the functionality is done. The only changes I have left to do are to finish the changes to the tests. I separated out the calls to Microsoft's api into some helper functions, which I could then mock instead of fetch... but I haven't finished.
I'll do that when I get back, but if people want to merge before then feel free to make any changes you want.

The linked PR above made some changes to this endpoint. They should probably be added here.

@moT01 I've incorporated the response for when the user has no/private achievements.


boards: arm: Author Gregory Nutt: update licenses to Apache

Summary
Gregory Nutt has submitted the SGA and we can migrate the licenses
to Apache.
Impact
NONE
Testing
NONE

@xiaoxiang781216
I am out of ideas except refactoring for
boards/arm/stm32l4/nucleo-l496zg/src/stm32_dfsdm.c

@xiaoxiang781216
I am out of ideas except refactoring for
boards/arm/stm32l4/nucleo-l496zg/src/stm32_dfsdm.c

let's merge this hube PR first. I will try to create a new PR address this issue.

@xiaoxiang781216 I was hoping to have time to clear the mixed case issues but now I have no idea which files were affected

@xiaoxiang781216  I will look into the mixed case errors

You can try this command:
./tools/checkpatch.sh -g commit-id~...commit-id

@xiaoxiang781216
I am out of ideas except refactoring for
boards/arm/stm32l4/nucleo-l496zg/src/stm32_dfsdm.c

@jerpelea here is the fix: https://github.com/apache/incubator-nuttx/pull/3120


Config updates

I agree with pick.toml -> config.toml, but why the .in extension?

Usually example config files have the .in file extension.


Add git.io cli tool

This tool allows you to generate custom shortened URL for GitHub links

Can you please make sure the script is marked as an executable.

Ohh. That's what you meant!
I thought I have to add something to script.

Marked it as executable.

@aashutoshrathi Did you forget to push?

@aviaryan There are no changes after marking it as executable.

Weird. Executable files show as executable here.

Nevermind, I will merge and see. Thanks for the PR.


Core || Indexing || Develop the routines to create, store and query a SPANN index on the vector data

Description
The systems shall build a SPANN index on the vectored information, based on the user specified similarity metric, in an automated manner in order to provide accurate results with reasonable latency in a relatively cost-effective manner.
Acceptance criteria
Context
The primary reason to store vectored information is to perform semantic search on unstructured data sets. The semantic search has to be performed accurately (with a reasonably high recall) and with reasonable latency (usually u second to milli-seconds). In-memory algorithms for approximate nearest neighbor search (ANNS) provide accurate results with low latency. However, these are memory intensive and hence, expensive to operate.
Certain users will prefer an approach that has reasonably low latency and is cost-effective. The SPANN index is designed to be able to provide accurate results while optimizing the memory requirements by using SSD disks to store them.
The system will need to be able to automatically build the SPANN index on the vectored information. This should be done in parallel to the data ingestion. Users shall be able to re-index the vectored information as and when required.
Links

Title
Link

SPANN: Highly-efficient Billion-scale Approximate Nearest Neighbor Search
https://arxiv.org/abs/2111.08566

SPANN: A Highly-Efficient Billion-Scale Approximate Nearest Neighbour Search That’s 2× Faster Than the SOTA Method
https://medium.com/syncedreview/spann-a-highly-efficient-billion-scale-approximate-nearest-neighbour-search-thats-2-faster-than-e3aa3711cfc0

Checkpoing 28-Aug-2024
This is deferred to a later release. This has been scoped out of the MVP.


How to log bot reply to user message?

Hi, I tried the above sample however it's only show user message to bot information in the context below:
{ type: 'message',
text: 'Robot begins.',
from: { id: 'd75e5365-43e9-4a3b-ac31-7ed81890a3b1', name: 'User' },
locale: '',
textFormat: 'plain',
timestamp: '2018-11-21T18:36:18.772Z',
channelData: { clientActivityId: '1542825376552.5753502099783043.0' },
entities:
[ { type: 'ClientCapabilities',
requiresBotState: true,
supportsTts: true,
supportsListening: true } ],
channelId: 'emulator',
conversation: { id: '54b3bc60-edbc-11e8-ac4c-eb4fd75fe5ff|livechat' },
id: '5606c940-edbc-11e8-9437-ff0e7af78dc6',
localTimestamp: '2018-11-22T02:36:18+08:00',
recipient:
{ id: '8b995130-c487-11e8-ac6c-83c26c0aab90',
name: 'Bot',
role: 'bot' },
serviceUrl: 'http://localhost:57244' }
How can I get the bot reply as well for logging?

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

ID: cf8f39f5-1a91-6fdb-3cc0-124b282e9806
Version Independent ID: 701f9b3c-a893-dee1-d012-760e6f870ec4
Content: Write directly to storage - Bot Service
Content Source: articles/v4sdk/bot-builder-howto-v4-storage.md
Service: bot-service
Product: bot-framework
GitHub Login: @DeniseMak
Microsoft Alias: v-demak

do you have the nodejs version for this?

Here is the corresponding JS code.

Thank you.


arm64 compatible docker

Hi,
it would be most welcome to get a docker image that is arm64 compatible.

Arm build now available, as i don't have a pi flying around rn could you verify it working? Build times went from 9min to 45 though 😆🙈

Hi,
thanks for that, appreciate it.
I just pulled it with
docker pull cupcakearmy/cryptgeon:latest
works fine
but when firing up the container, it says "standard_init_linux.go:219: exec user process caused: no such file or directory"
that usually happens with wrong architecture.
would mind having a look at that?

Mhh I see, could you clone the repo and build the container locally and see what happens?
git clone https://github.com/cupcakearmy/cryptgeon.git
docker-compose up
# Go to http://localhost

after some minutes, it stops wit this:
OK: 211 MiB in 53 packages Removing intermediate container 799af584ab77  ---> c94b0fa4aef3 Step 9/17 : COPY ./Cargo* . ERROR: Service 'app' failed to build: When using COPY with more than one source file, the destination must be a directory and end with a /

I see
FROM node:16-alpine as CLIENT

WORKDIR /tmp
COPY ./client ./

RUN npm ci
RUN npm run build

FROM rust:1.51-alpine as RUST

WORKDIR /tmp
RUN apk add libc-dev openssl-dev alpine-sdk
COPY ./Cargo* ./
COPY ./src ./src

RUN cargo build --release

FROM scratch

WORKDIR /app
COPY --from=RUST /tmp/target/release/cryptgeon .
COPY --from=CLIENT /tmp/build ./client/build

ENV MEMCACHE=memcached:11211

ENTRYPOINT [ "/app/cryptgeon" ]

can you try with this Dockerfile?

Proably have to run docker-compose build before running docker-compose up

What I've done now:

I deleted the directory locally
git clone https://github.com/cupcakearmy/cryptgeon.git
changed your Dockerfile accordingly
docker-compose build
docker-compose up

Took quite a while, but... error:
Successfully built c623acf1a101 Successfully tagged cryptgeon_app:latest ubuntu@ubuntu:~/cryptgeon/cryptgeon$ docker-compose up Creating cryptgeon_memcached_1 ... done Creating cryptgeon_app_1       ... done Attaching to cryptgeon_memcached_1, cryptgeon_app_1 app_1        | standard_init_linux.go:219: exec user process caused: no such file or directory cryptgeon_app_1 exited with code 1

Uff, thats some trial and error xD
FROM node:16-alpine as CLIENT

WORKDIR /tmp
COPY ./client ./

RUN npm ci
RUN npm run build

FROM rust:1.51-alpine as RUST

WORKDIR /tmp
RUN apk add libc-dev openssl-dev alpine-sdk
COPY ./Cargo* ./
COPY ./src ./src

RUN cargo build --release

FROM alpine

WORKDIR /app
COPY --from=RUST /tmp/target/release/cryptgeon .
COPY --from=CLIENT /tmp/build ./client/build

ENV MEMCACHE=memcached:11211

ENTRYPOINT [ "/app/cryptgeon" ]

Could you try this file? (don't neet to delete the local copy)

Can't blame you if you want to stop ;)
Starting cryptgeon_memcached_1 ... done Recreating cryptgeon_app_1     ... done Attaching to cryptgeon_memcached_1, cryptgeon_app_1 app_1        | standard_init_linux.go:219: exec user process caused: no such file or directory cryptgeon_app_1 exited with code 1

Mhhh thats weird, maybe I'll dust out some old pi and do some debugging. Can't promise anything

You are arm64 right?

uname -a
Linux ubuntu 5.4.0-1034-raspi #37-Ubuntu SMP PREEMPT Mon Apr 12 23:14:49 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux
That's Ubuntu 64Bit on my Rpi4

Yeah aarch64 ist arm64. Thanks for the info

never mind if it's too much work, appreciate your help but it is maybe not worth wasting your hours on that topic.
But again -thanks!

I'll remove the arm images for now

Hi, this is how i build a multi arch Image with GitHub Workflows:
https://github.com/ThisIsBenny/n8n/blob/main/.github/workflows/build_images.yml
Result:

We had arm builds (https://github.com/cupcakearmy/cryptgeon/blob/cfe525f274b6e364f3d9b2a953434bd1cad18bbe/.github/workflows/docker.yml), but they did have some runtime errors, have not found the time yet to check on a raspi xD

We had arm builds (https://github.com/cupcakearmy/cryptgeon/blob/cfe525f274b6e364f3d9b2a953434bd1cad18bbe/.github/workflows/docker.yml), but they did have some runtime errors, have not found the time yet to check on a raspi xD

I think the issue is that you are not referencing to the buildx builder which you create in the step before the build command. Try:
      - name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v1
        id: buildx
…
      - name: Build and push
        id: docker_build
        uses: docker/build-push-action@v2
        with:
          builder: ${{ steps.buildx.outputs.name }}
          platforms: linux/amd64,linux/arm64
          push: true
          tags: ${{ steps.meta.outputs.tags }}

Without the reference, the build will be happen with the normal builder which doesn‘t support multi arch build until now.
You can also add some logging, for example for the Rust and the alpine image:
FROM <image-name>
ARG TARGETPLATFORM
ARG BUILDPLATFORM
RUN echo "I am running on $BUILDPLATFORM, building for $TARGETPLATFORM"

I followed the official docs, but they might be outdated
https://github.com/docker/build-push-action/blob/master/docs/advanced/multi-platform.md
Will try with default install https://github.com/docker/setup-buildx-action#install-by-default

@cyrrelsneer can you try 1.1.1 version?

Hi, is aarch64 suported now? I'm getting this error on Ubuntu aarch64 VPS server.
app_1        | standard_init_linux.go:228: exec user process caused: no such file or directory

Very good question. I have to arm machine to verify it unfortunately :/ Maybe I could rent some VMs and test it out if I find time.
I know the error message, it's when building go with c bindings and then running it on FROM:scratch. However the question is:

Why is there go code running?
And why does this only happen on arm....

TBH, I'm quite confused

@vladosam could you try building and running the docker file with CGO_ENABLED=0?
FROM node:16-alpine as CLIENT

ENV CGO_ENABLED=0
WORKDIR /tmp
COPY ./client ./

RUN npm install -g pnpm
RUN pnpm install
RUN pnpm run build

FROM rust:1.51-alpine as RUST

ENV CGO_ENABLED=0
WORKDIR /tmp
RUN apk add libc-dev openssl-dev alpine-sdk
COPY ./Cargo* ./
COPY ./src ./src

RUN cargo build --release

FROM scratch

WORKDIR /app
COPY --from=RUST /tmp/target/release/cryptgeon .
COPY --from=CLIENT /tmp/build ./client/build

ENV MEMCACHE=memcached:11211

EXPOSE 5000

ENTRYPOINT [ "/app/cryptgeon" ]

I created Dockerfile but i can't build it.
docker build -t cryptgeon .
Step 1/21 : FROM node:16-alpine as CLIENT
 ---> 8074a83d0ba9
Step 2/21 : ENV CGO_ENABLED=0
 ---> Using cache
 ---> 2b6a1ef23e2a
Step 3/21 : WORKDIR /tmp
 ---> Using cache
 ---> dee5505ad804
Step 4/21 : COPY ./client ./
COPY failed: file not found in build context or excluded by .dockerignore: stat client: file does not exist

Are you sure you are in the right context? step 4 cannot fail really

Otherwise try the following steps:

Clone a fresh instance of the repo
Change FROM scratch to FROM alpine in the Dockerfile and try to build

You where right. I was in wrong directory. But issue is still there.
docker run -it cryptgeon
standard_init_linux.go:228: exec user process caused: no such file or directory

Can you try with the comment before? https://github.com/cupcakearmy/cryptgeon/issues/4#issuecomment-1000215238

You mean docker-compose up? I'll try it later.

Yeah with alpine instead of from scratch in the dockerfile

Nope.
Attaching to cryptgeon_memcached_1, cryptgeon_app_1
app_1        | standard_init_linux.go:228: exec user process caused: no such file or directory

Is there any update on this? I would like to have this arm64 support as well.

Is there any update on this? I would like to have this arm64 support as well.

Unfortunately I'm kind of powerless. I need you guys with arm to test it.

Just say what to try.

Is there any update on this? I would like to have this arm64 support as well.

Unfortunately I'm kind of powerless. I need you guys with arm to test it.

Let me know what to try. I would try as well. Thanks

@vladosam @0xSh1v4 apparently the docker image does not work on arm.
If you could get it to work I could commit the changes and release docker images for everyone.
Some things that I would try is running form alpine and not from scracth in the Dockerfile.
To build it you can just use docker-compoe up --build

I tried that before and it didn't work.

Could you try the latest release?

Could you try the latest release?
I got the following error:
No log line matching the '' filter


Sigma2 TDEP in forconstants

Sigma2 for a TDEP only is added to the forceconstants class. I am not as familiar with class structure so let me know if it needs to be redon.

commits all look fine, just need to pull main first.


console: uart: cleanup device runtime PM checks

pm_device_runtime_get and pm_device_runtime_put have returned 0 when device runtime PM is not enabled since #56222. Manually checking the state is no longer required.
Additionally, the functions have been able to run in an ISR context since #60785, which removed the need to special case k_is_in_isr().

Hm... would there be a situation where CONFIG_PM_DEVICE_RUNTIME is enabled, but the UART's PM is not?

The function calls handle all of the cases appropriately.
https://github.com/zephyrproject-rtos/zephyr/blob/9521371157c23e70cfb58b6a76aa9b65c93868a9/subsys/pm/device_runtime.c#L129-L145


Update main.yml

Setup Github actions

don't use Github actions for the present. Because we use bitrise.


Feature/device storage

Closes #15
Closes #232
Closes #233
The pull request closes the above tasks/stories. The main features of this pull request is to integrate the storage service in with the device endpoints so that files can be stored/accessed along side a device object. It also updated the add and update device endpoints to accept a mime request as the frontend will be sending a multipart form request in-order to send device json and files in one request.
Two other side changes were made to make this integration cleaner and to make the backend easier to work with. The first was a change to the device object. Instead of having the properties be a bson type (bson_element, bson_document, ect), the properties were changed to be represented by a c# object. For example device.Location would be a DeviceLocation object instead of a BsonDocument. The second change was the creation of c# objects to represent the incoming add device and update requests. This allows us to use a c# object instead of a dynamic one.

Closes #TBDTaskIDorBugID
TBDAdditionalPRDetails

Please add the story/task number so we can link this PR correctly.

Closes #TBDTaskIDorBugID
TBDAdditionalPRDetails

Please add the story/task number so we can link this PR correctly.

And a description so reviewers get a context for the changes.

This branch has been abandoned. It has been split up into smaller pr's instead


Make the blog switcher hideable.

The blog switcher is present all the time at the moment with is quite a waste of space, especially if you only have one enabled.
Make it hideable.

Seems super reasonable. We'll get that into the next release.


Yahoo Branding

Updated Yahoo Brand from VerizonMedia
Thanks for improving the documentation 😃
Please give a short description and check the matching checkboxes to help us review this as quick as possible.
🏷 Type of documentation

[ ] new bid adapter
[ ] update bid adapter
[ ] new feature
[x] text edit only (wording, typos)
[ ] bugfix (code examples)
[ ] new examples

📋 Checklist

[x] Related pull requests in prebid.js or server are linked
[x] For new adapters check submitting your adapter docs

Updated old brand of Verizon Media to Yahoo.  @slimkrazy please review

LGTM!

I guess this is some small cleanup after #7519


ValueError: num_samples should be a positive integer value, but got num_samples=0

Hello!
I am trying to train RP-R-CNN, but I encounter a problem when runing the training command following the Readme.md. When running
CUDA_VISIBLE_DEVICES=0 python tools/train_net.py --cfg cfgs/CIHP/e2e_rp_rcnn_R-50-FPN_3x_ms.yaml

I am getting the following message:
Traceback (most recent call last):
  File "tools/train_net.py", line 147, in <module>
    main()
  File "tools/train_net.py", line 127, in main
    train_loader = make_train_data_loader(datasets, is_distributed=args.distributed, start_iter=scheduler.iteration)
  File "/data/home/v_julhugoye/human_parsing/RP-R-CNN/rcnn/datasets/dataset.py", line 121, in make_train_data_loader
    sampler = make_data_sampler(datasets, shuffle, is_distributed)
  File "/data/home/v_julhugoye/human_parsing/RP-R-CNN/rcnn/datasets/dataset.py", line 66, in make_data_sampler
    sampler = torch.utils.data.sampler.RandomSampler(dataset)
  File "/data/home/v_julhugoye/.conda/envs/ParsingRCNN/lib/python3.6/site-packages/torch/utils/data/sampler.py", line 94, in __init__
    "value, but got num_samples={}".format(self.num_samples))
ValueError: num_samples should be a positive integer value, but got num_samples=0
Segmentation fault

So thanks for your help

Hello, I found that the reason for this error is that the "semseg" tag was not found when reading the dataset. Do you have any solutions now

我发现这段代码会一直返回False,导致过滤后的数据集是0
def has_valid_annotation(anno, ann_types, filter_crowd=True):
# if it's empty, there is no annotation
if len(anno) == 0:
return False
if filter_crowd:
# if image only has crowd annotation, it should be filtered
if 'iscrowd' in anno[0]:
anno = [obj for obj in anno if obj["iscrowd"] == 0]
if len(anno) == 0:
return False
# if all boxes have close to zero area, there is no annotation
if _has_only_empty_bbox(anno):
return False
return False


update liblinear code

possibly with https://www.csie.ntu.edu.tw/~cjlin/libsvmtools/multicore-liblinear/

Hey! I would like to work on this. Can you elaborate a little bit more?

there's liblinear in shogun and it's outdated
it needs updating
it'd be better to be updated by the multicore version


Error: The terraform-provider-azurerm_v2.94.0_x5 plugin crashed!

Error: Request cancelled
│
│ with module.log_analytics_workspace.azurerm_log_analytics_workspace.this,
│ on .terraform/modules/log_analytics_workspace/main.tf line 1, in resource "azurerm_log_analytics_workspace" "this":
│ 1: resource "azurerm_log_analytics_workspace" "this" {
│
│ *The plugin.(GRPCProvider).ApplyResourceChange request was cancelled.
Error: The terraform-provider-azurerm_v2.94.0_x5 plugin crashed!
This is always indicative of a bug within the plugin. It would be immensely
helpful if you could report the crash with the plugin's maintainers so that it
can be fixed. The output above should help diagnose the issue.
##[error]Bash exited with code '1'.
Finishing: Terraform Apply
i am facing this issue while executing terraform apply , i tried this terraform-provider-azurerm_v2.98.0_x5 and 2.94 also , means i tried upgrading version also but didnt help
since the error clearly says to reach out plugin's maintainers so i am reaching out
need your input and fix on this

Seems like this is posted to the wrong repo. Closing.


Add /add_job endpoint which takes a POST containing just a audio url

r @sandlerben

expects a json string which looks like this
{   "audioURL": "https://sound.com/random.mp3" }
responds with a 200 OK for now
added audioData struct that unmarshalls json; added json package

Run with command:
curl -X POST -d "{\"audioURL\": \"https://sound.com/random.mp3\"}"  http://localhost:8080/add_job

@anoshaminai (test)

Besides my comments, lgtm


Correct the spelling of CocoaPods in README

This pull requests corrects the spelling of CocoaPods 🤓
https://github.com/CocoaPods/shared_resources/tree/master/media
One day I’ll make a bot that looks through the READMEs of all Pods, looks to see if it uses “Cocoapods” and PRs “CocoaPods” :D— Ørta (@orta) February 10, 2016

lol :)

@petester42 do you have an idea why the tests are failing in Travis? They do not fail in Xcode

They do fail in Xcode. Maybe you reran the record on your machine so you don't see these errors.

Seems like once in a while tehy do not go in the commit


chore: rm @simp from factorial

see discussion here:
https://github.com/leanprover-community/mathlib4/pull/6806#discussion_r1320720808

Thanks :tada:
bors merge


Remove oal for events

[x] If this pull request closes/resolves/fixes an existing issue, replace the issue number. Closes #9108.
[x] Update the CHANGES log.

test
------------------ 原始邮件 ------------------
发件人:                                                                                "apache/skywalking"                                                                                @.>;
发送时间: 2022年5月27日(星期五) 中午1:59
@.>;
@.***>;
主题: Re: [apache/skywalking] Remove oal for events (PR #9139)
@wu-sheng approved this pull request.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>


Try re-encrypting the PyPi password

I may not have properly specified the mhctools repo the last time I ran travis encrypt, which may be the problem with the current deploy not working

LCTM (looks cryptic to me) :+1:

:8ball:


Client with multiple servers only sees first connection state change from disconnecting to disconnected

My central/client adapter connects to three servers simultaneously.  After successful connections, if the three server applications initiate disconnection, the client binc_device_set_connection_state_change_cb gets triggered for all three as "disconnecting". However, the state change to "disconnected" subsequently only occurs for the first application to disconnect.
Until the servers reconnect. Then the client state changes to "disconnect" are triggered for the 2nd and 3rd servers.  All is fine then, but for that intermediate period my client does not properly hold the actual connection state, although the servers know they are disconnected.
It looks like the connection state cache(?) is getting flushed when it reconnects? Is there an fflush for the `inc_device_set_connection_state_change_cb' ? Thanks.

I had an printf error--you are correct. The peripherals are initiating disconnect and the client does not see a "disconnecting" state. (The client does see a "connecting state")
But the buffering issue on the "disconnected state" persists.  Here's  debug trace to illustrate:
`Client side is a pi5 with bluez 5.78 with onboard adapter.
[bt_adapter_init]: Configured adapter '/org/bluez/hci0'
[client_agent_init_all]: Started agent '/org/bluez/BincAgent_bZQm'
[on_bt_adapter_discovery_state_changed]: Adapter '/org/bluez/hci0' discovery state is 'starting'
[client_adapter_start_discovery]: Started discovery on adapter '/org/bluez/hci0', UUIDs [NULL], adv_pattern 'NULL')
[on_bt_adapter_discovery_state_changed]: Adapter '/org/bluez/hci0' discovery state is 'started'

At this point I start the server code on a pi4 with bluez 5.78 that spins up 3 services on 3 different adapters
with advertised names pi4dev-CPS, pi4dev-CSCS, pi4dev-RSCS. The discovery state changes are triggered in the "disconnected" state of the on_client_connection_state_changed--I need to keep it discovering for other connections and also for a separate set of beacons not shown here.

[on_client_connection_state_changed]: Adapter [D8:3A:DD:C9:B3:B4] and server pi4dev-CPS [08:BE:AC:32:75:24] connecting
[on_client_connection_state_changed]: Adapter [D8:3A:DD:C9:B3:B4] and server pi4dev-RSCS [D8:3A:DD:47:F5:57] connecting
[on_client_connection_state_changed]: Adapter [D8:3A:DD:C9:B3:B4] and server pi4dev-CSCS [08:BE:AC:32:78:B3] connecting
[on_client_connection_state_changed]: Adapter [D8:3A:DD:C9:B3:B4] and server pi4dev-CSCS [08:BE:AC:32:78:B3] connected
[on_bt_adapter_discovery_state_changed]: Adapter '/org/bluez/hci0' discovery state is 'stopping'
[on_bt_adapter_discovery_state_changed]: Adapter '/org/bluez/hci0' discovery state is 'stopped'
[on_client_connection_state_changed]: Adapter [D8:3A:DD:C9:B3:B4] and server pi4dev-CPS [08:BE:AC:32:75:24] connected
[on_bt_adapter_discovery_state_changed]: Adapter '/org/bluez/hci0' discovery state is 'starting'
[on_bt_adapter_discovery_state_changed]: Adapter '/org/bluez/hci0' discovery state is 'started'
[on_client_connection_state_changed]: Adapter [D8:3A:DD:C9:B3:B4] and server pi4dev-RSCS [D8:3A:DD:47:F5:57] connected
[on_bt_adapter_discovery_state_changed]: Adapter '/org/bluez/hci0' discovery state is 'stopping'
[on_bt_adapter_discovery_state_changed]: Adapter '/org/bluez/hci0' discovery state is 'stopped'
[on_bt_adapter_discovery_state_changed]: Adapter '/org/bluez/hci0' discovery state is 'starting'
[on_bt_adapter_discovery_state_changed]: Adapter '/org/bluez/hci0' discovery state is 'started'

Notifications continue here (deleted) until I stop the server side which disconnects all 3 servers, then immediately get

[on_client_connection_state_changed]: Adapter [D8:3A:DD:C9:B3:B4] and server pi4dev #1 [08:BE:AC:32:75:24] disconnected

But the other two disconnect messages do not appear here, until restart the server program, then
**********I
[on_client_connection_state_changed]: Adapter [D8:3A:DD:C9:B3:B4] and server pi4dev-RSCS [D8:3A:DD:47:F5:57] disconnected
[on_client_connection_state_changed]: Adapter [D8:3A:DD:C9:B3:B4] and server pi4dev #2 [08:BE:AC:32:78:B3] disconnected

as if we are flushing some buffer? Then software reconnects and runs as before

[on_client_connection_state_changed]: Adapter [D8:3A:DD:C9:B3:B4] and server pi4dev-CPS [08:BE:AC:32:75:24] connecting
[on_client_connection_state_changed]: Adapter [D8:3A:DD:C9:B3:B4] and server pi4dev-RSCS [D8:3A:DD:47:F5:57] connecting
[on_client_connection_state_changed]: Adapter [D8:3A:DD:C9:B3:B4] and server pi4dev-CPS [08:BE:AC:32:75:24] connected
[on_bt_adapter_discovery_state_changed]: Adapter '/org/bluez/hci0' discovery state is 'stopping'
[on_bt_adapter_discovery_state_changed]: Adapter '/org/bluez/hci0' discovery state is 'stopped'
[on_bt_adapter_discovery_state_changed]: Adapter '/org/bluez/hci0' discovery state is 'starting'
[on_client_connection_state_changed]: Adapter [D8:3A:DD:C9:B3:B4] and server pi4dev-RSCS [D8:3A:DD:47:F5:57] connected
[on_bt_adapter_discovery_state_changed]: Adapter '/org/bluez/hci0' discovery state is 'started'
[on_client_connection_state_changed]: Adapter [D8:3A:DD:C9:B3:B4] and server pi4dev-CPS [08:BE:AC:32:75:24] connecting
[on_client_connection_state_changed]: Adapter [D8:3A:DD:C9:B3:B4] and server pi4dev-CSCS [08:BE:AC:32:78:B3] connecting
[on_client_connection_state_changed]: Adapter [D8:3A:DD:C9:B3:B4] and server pi4dev-CPS [08:BE:AC:32:75:24] connected
[on_bt_adapter_discovery_state_changed]: Adapter '/org/bluez/hci0' discovery state is 'stopping'
[on_bt_adapter_discovery_state_changed]: Adapter '/org/bluez/hci0' discovery state is 'stopped'
[on_client_connection_state_changed]: Adapter [D8:3A:DD:C9:B3:B4] and server pi4dev-CSCS [08:BE:AC:32:78:B3] connected`

ok i get it now, but I don't know yet why this happens. The library simply reacts to events coming from Bluez...and at first sight it seems Bluez is not sending them. Need to think about this more...

It does seem it is bluez that is not sending. Discovered I don't need to restart the server code.
If I start or restart bluetooth on the server side (systemctl stop/restart bluetoohctl, the client gets the remaining two binc disconnect messages (and the follow-on discovery restarts happen. I'll formulate a question for the bluez team. Thanks.


[ownership] update temp-rvalue-opt to support ossa

This patch is almost entirely test updates. I didn't have to modify the pass itself at all to update it to handle ossa (except removing the "skip functions with ownership" part).
Also, we shouldn't have to do any extra testing because this pass should now almost always receive ossa.

Looks like @gottesmm beat me to this :P How are we tracking the ossa status of passes?

@gottesmm (and others listening in) even though I closed this PR, the question in the last comment still stands; I think we need a better way of tracking who's working on what. I'm not sure what that way is-- maybe Jira? I've been staying away from the passes in addPerfEarlyModulePassPipeline in case someone else is working on them. I'll start working on SROA and Mem2Reg next.


[Bug] Napture is not theme friendly

If support for theming is not planned, then you should remove theme support. If it is a planned feature, it needs some work. I am using Gradience for theming, which just replaces the default Adwaita color variables. You should update your GTK CSS to be in line with Adwaita for better support.

Quoting from https://stopthemingmy.app/:

If you like to tinker with your own system, that’s fine with us. However, if you change things like stylesheets and icons, you should be aware that you’re in unsupported territory. Any issues you encounter should be reported to the theme developer, not the app developer.

Just to add on to this, all I have done is change the adwaita colors, it's using the exact same variables and everything as before. The only problem is that the wrong named colors are being used in some places. Other than that, everything is expected behavior.


SITL + X-Plane

I don't currently have a full understanding of how SITL works vs HIL, but I'd like to use X-Plane for testing with SITL.
Could/shoud SITL connect directly to xplane?

https://github.com/PX4/Firmware/pull/3497 might be relevant

This works via QGC. A mavlink to xplane bridge would be nice to have if someone is interested.


fix: don't fail for missing configuration file

Shield already supports taking configs from env but the cli fails if it didn't find a config file locally. It should either add validation to check if configs are present or continue the execution.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 50.851%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
4333

Relevant Lines:
8521

💛  - Coveralls


Add support for viewing gerrit panel in JIRA Agile Details Panel

Not a real "complete" pull request but a quick implementation of JIRA Agile support which can be used as a base from someone who have the time to implement this with "production quality" or if you want to benefit from this feature AS IS.

Cool, thanks!


Refine sed command to work on osx and linux

osx need sed -i 'backup_file_extension' while linux doesn't need.
The way-out here is always to create a backup file then delete it after patching cache-mgr-sw.js

Thanks for the review!

Thanks for the review!

Thanks for the fix!