App will not quit in Fullscreen

On OSX 10.12.3. When I open the app in Fullscreen, I can't quit it at all. Command-Q does nothing, and there is no red X circle at the top left corner (it's grayed out), like there is in other fullscreen apps. Not sure what happened, please help.

Definitely a bug, fix is on the way!

Great! Thanks for all your work, the app is fantastic!

Fixed in 1.2.0


RuntimeError: dout tensor must have contiguous last dimension

Hi! Congratulations on the Flash Attention 2 release!
I'm trying it out but it seems to fail on backward:
import torch
from flash_attn import flash_attn_func

torch.set_default_dtype(torch.bfloat16)
seq_length = 5
with torch.device("cuda"):
    q = torch.randn(1, seq_length, 2, 8, requires_grad=True)
    k = torch.randn(1, seq_length, 2, 8, requires_grad=True)
    v = torch.randn(1, seq_length, 2, 8, requires_grad=True)

y = flash_attn_func(q, k, v, causal=True)
print(y)
y.sum().backward()

Traceback (most recent call last):
  File "/home/carlos/lit-parrot/kk2.py", line 13, in <module>
    y.sum().backward()
  File "/home/carlos/venv/lib/python3.10/site-packages/torch/_tensor.py", line 491, in backward
    torch.autograd.backward(
  File "/home/carlos/venv/lib/python3.10/site-packages/torch/autograd/__init__.py", line 204, in backward
    Variable._execution_engine.run_backward(  # Calls into the C++ engine to run the backward pass
  File "/home/carlos/venv/lib/python3.10/site-packages/torch/autograd/function.py", line 274, in apply
    return user_fn(self, *args)
  File "/home/carlos/venv/lib/python3.10/site-packages/flash_attn/flash_attn_interface.py", line 269, in backward
    _flash_attn_backward(
  File "/home/carlos/venv/lib/python3.10/site-packages/flash_attn/flash_attn_interface.py", line 71, in _flash_attn_backward
    dq, dk, dv, softmax_d, = flash_attn_cuda.bwd(
RuntimeError: dout tensor must have contiguous last dimension

This error is from a simple reproduction script. What prompted me to reduce it is this error that I got when running actual training:
  File "/home/carlos/lightning/src/lightning/fabric/plugins/precision/precision.py", line 89, in backward
    tensor.backward(*args, **kwargs)
  File "/home/carlos/venv/lib/python3.10/site-packages/torch/_tensor.py", line 491, in backward
    torch.autograd.backward(
  File "/home/carlos/venv/lib/python3.10/site-packages/torch/autograd/__init__.py", line 204, in backward
    Variable._execution_engine.run_backward(  # Calls into the C++ engine to run the backward pass
  File "/home/carlos/venv/lib/python3.10/site-packages/torch/autograd/function.py", line 274, in apply
    return user_fn(self, *args)
  File "/home/carlos/venv/lib/python3.10/site-packages/flash_attn/flash_attn_interface.py", line 269, in backward
    _flash_attn_backward(
  File "/home/carlos/venv/lib/python3.10/site-packages/flash_attn/flash_attn_interface.py", line 71, in _flash_attn_backward
    dq, dk, dv, softmax_d, = flash_attn_cuda.bwd(
RuntimeError: CUDA error: an illegal memory access was encountered
Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.

I'm not sure if fixing the former will fix the later, but it's a start
Here's my environment
python -m torch.utils.collect_env
Collecting environment information...
PyTorch version: 2.1.0.dev20230620+cu121
Is debug build: False
CUDA used to build PyTorch: 12.1
ROCM used to build PyTorch: N/A

OS: Ubuntu 22.04.2 LTS (x86_64)
GCC version: (Ubuntu 11.3.0-1ubuntu1~22.04.1) 11.3.0
Clang version: Could not collect
CMake version: version 3.22.1
Libc version: glibc-2.35

Python version: 3.10.6 (main, May 29 2023, 11:10:38) [GCC 11.3.0] (64-bit runtime)
Python platform: Linux-5.15.0-75-generic-x86_64-with-glibc2.35
Is CUDA available: True
CUDA runtime version: 12.1.105
CUDA_MODULE_LOADING set to: LAZY
GPU models and configuration:
GPU 0: NVIDIA A100-SXM4-40GB
GPU 1: NVIDIA A100-SXM4-40GB
GPU 2: NVIDIA A100-SXM4-40GB
GPU 3: NVIDIA A100-SXM4-40GB
GPU 4: NVIDIA A100-SXM4-40GB
GPU 5: NVIDIA A100-SXM4-40GB
GPU 6: NVIDIA A100-SXM4-40GB
GPU 7: NVIDIA A100-SXM4-40GB

Nvidia driver version: 525.105.17
cuDNN version: Could not collect
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True

CPU:
Architecture:                    x86_64
CPU op-mode(s):                  32-bit, 64-bit
Address sizes:                   43 bits physical, 48 bits virtual
Byte Order:                      Little Endian
CPU(s):                          256
On-line CPU(s) list:             0-254
Off-line CPU(s) list:            255
Vendor ID:                       AuthenticAMD
Model name:                      AMD EPYC 7742 64-Core Processor
CPU family:                      23
Model:                           49
Thread(s) per core:              2
Core(s) per socket:              64
Socket(s):                       2
Stepping:                        0
Frequency boost:                 enabled
CPU max MHz:                     2250.0000
CPU min MHz:                     0.0000
BogoMIPS:                        4499.99
Flags:                           fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate ssbd mba ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 cqm rdt_a rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local clzero irperf xsaveerptr rdpru wbnoinvd amd_ppin arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif v_spec_ctrl umip rdpid overflow_recov succor smca sme sev sev_es
Virtualization:                  AMD-V
L1d cache:                       4 MiB (128 instances)
L1i cache:                       4 MiB (128 instances)
L2 cache:                        64 MiB (128 instances)
L3 cache:                        512 MiB (32 instances)
NUMA node(s):                    2
NUMA node0 CPU(s):               0-63,128-191
NUMA node1 CPU(s):               64-127,192-254
Vulnerability Itlb multihit:     Not affected
Vulnerability L1tf:              Not affected
Vulnerability Mds:               Not affected
Vulnerability Meltdown:          Not affected
Vulnerability Mmio stale data:   Not affected
Vulnerability Retbleed:          Mitigation; untrained return thunk; SMT enabled with STIBP protection
Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp
Vulnerability Spectre v1:        Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:        Mitigation; Retpolines, IBPB conditional, STIBP always-on, RSB filling, PBRSB-eIBRS Not affected
Vulnerability Srbds:             Not affected
Vulnerability Tsx async abort:   Not affected

Versions of relevant libraries:
[pip3] numpy==1.25.0
[pip3] pytorch-triton==2.1.0+440fd1bf20
[pip3] torch==2.1.0.dev20230620+cu121
flash-attn           2.0.0.post1

Thank you for your help!

Thanks for the bug report, I think it's because we didn't have a check in Python to make sure dout is contiguous.
I've just pushed a commit to fix that, can you try?

Hi! Got the same issue, I see that it's already fixed not, but how do I get the verison with the fix? Should I compile from source with python setup.py install or just reinstalling flash-attn==2.0.0.post1 will be enough?


Rename types for consistency

Renames several types to be more aligned with the Rust reference, as well as internally consistent.
Also adds links to the reference page for individiual items, which makes it easier for people to look up a concrete grammar.

Nothing to say, it's a pretty good change.


[BUG] double or triple messages

Good morning everyone, has it ever happened to you that you send double or triple messages? What could it be due to?
I currently use node 18 version

Happened with me as well for text and media messages

I found that the problem is Baileys , in the database I only have one message, in the log of node 2

check your code

@Appteamit Did you resolve it, please help me also, i am facing this issue severly

I have the same problem

Consider updating Baileys to the latest version (current is 6.7.9), as well as updating WhatsApp on your mobile!!


data-pool push/update do not work

I checked data-pool command using content-cli latest version 0.1.3.
Pull command is working correctly, then I tried to upload this downloaded json file to another team.
First I tried push command with file and profile option, then I got server error error:   {"reference":"df400d88-4a21-44bc-b6a4-e42ccd7092b4","message":"Something went wrong while handling the request. Please contact Celonis customer support. Celonis Support ID: df400d88-4a21-44bc-b6a4-e42ccd7092b4","shortMessage":"Celonis Support ID: df400d88-4a21-44bc-b6a4-e42ccd7092b4"}. I found that just data-pool is created to target team but components in the pool (datajobs and data models etc.) are not uploaded.
Second I tried update command with file, profile, and pool id that is created by first trial, then I got server error error:   {"errors":[{"attribute":"name","error":"Name must be unique","errorCode":"name.unique","additionalInfo":"Planio v1"}]}. And pool components are not uploaded too.
Is it different from your expected behavior ? I did not find documentation regarding data pool.

Dear @promeris,
May I ask you regarding this topic ?

hey @kaztakata, hope you are doing well. For the first error message, it is advisable in this case to contact Celonis Customer Support and include the Celonis Support id from the error message because it's not something to do with the cli. As for the second message, it seems that a data pool is already existing in the team with that name, so you would need to change the name in the file.
I'm sorry I can't be of more help here, but opening a ticket with Celonis' Customer Support should be the way to go.

@promeris
Thanks I will go to Service desk.


docs: Supplementary for containerd configuration required by snapshotter

Supplementary for containerd configuration required by nydus snapshotter: disable_snapshot_annotations and
discard_unpacked_layers.

LGTM


error message coming from skbio in alpha/beta_phylogenetic refers to "otu ids"

We should update this to reference feature ids for clarity:
MissingNodeError: All ``otu_ids`` must be present as tip names in ``tree``.

A long these same lines one of the metrics in diversity.methods.alpha is "observed_otus" it may make sense to rename this "feature_counts" or something similar

@johnchase, we decided not to change the method name, see my comment here for details. I created a separate issue to track this: #77

👍  That sounds good!


Lint failure: ktlintTestSourceSetCheck

I couldn't find a clue yet why it is occasionally broken.
https://github.com/line/armeria/pull/3525/checks?check_run_id=2514514367#step:7:498
* What went wrong:
Execution failed for task ':it:grpc:kotlin:ktlintTestSourceSetCheck'.
> A failure occurred while executing org.jlleitschuh.gradle.ktlint.worker.ConsoleReportWorkAction
   > Could not deserialize unit of work.
      > Current state = FLUSHED, new state = CODING_END

I encountered this problem as well. Maybe some build cache problem? I wonder if it's possible to clear the build cache partially, only for a specific plugin like this.


Python install

Did not get to install grpcio
Runned, pip install grpcio, and got following back
Traceback (most recent call last):
  File "C:\Users\johan\AppData\Local\Temp\pip-install-za6mhjg6\grpcio\src\python\grpcio\commands.py", line 292, in build_extensions
    build_ext.build_ext.build_extensions(self)
  File "c:\python37\lib\distutils\command\build_ext.py", line 448, in build_extensions
    self._build_extensions_serial()
  File "c:\python37\lib\distutils\command\build_ext.py", line 473, in _build_extensions_serial
    self.build_extension(ext)
  File "c:\python37\lib\site-packages\setuptools\command\build_ext.py", line 199, in build_extension
    _build_ext.build_extension(self, ext)
  File "c:\python37\lib\distutils\command\build_ext.py", line 533, in build_extension
    depends=ext.depends)
  File "c:\python37\lib\distutils\_msvccompiler.py", line 345, in compile
    self.initialize()
  File "c:\python37\lib\distutils\_msvccompiler.py", line 238, in initialize
    vc_env = _get_vc_env(plat_spec)
  File "c:\python37\lib\site-packages\setuptools\msvc.py", line 185, in msvc14_get_vc_env
    return EnvironmentInfo(plat_spec, vc_min_ver=14.0).return_env()
  File "c:\python37\lib\site-packages\setuptools\msvc.py", line 844, in __init__
    self.si = SystemInfo(self.ri, vc_ver)
  File "c:\python37\lib\site-packages\setuptools\msvc.py", line 486, in __init__
    self.vc_ver = vc_ver or self._find_latest_available_vc_ver()
  File "c:\python37\lib\site-packages\setuptools\msvc.py", line 493, in _find_latest_available_vc_ver
    raise distutils.errors.DistutilsPlatformError(err)
distutils.errors.DistutilsPlatformError: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Users\johan\AppData\Local\Temp\pip-install-za6mhjg6\grpcio\setup.py", line 347, in <module>
    cmdclass=COMMAND_CLASS,
  File "c:\python37\lib\site-packages\setuptools\__init__.py", line 129, in setup
    return distutils.core.setup(**attrs)
  File "c:\python37\lib\distutils\core.py", line 148, in setup
    dist.run_commands()
  File "c:\python37\lib\distutils\dist.py", line 966, in run_commands
    self.run_command(cmd)
  File "c:\python37\lib\distutils\dist.py", line 985, in run_command
    cmd_obj.run()
  File "c:\python37\lib\site-packages\setuptools\command\install.py", line 61, in run
    return orig.install.run(self)
  File "c:\python37\lib\distutils\command\install.py", line 545, in run
    self.run_command('build')
  File "c:\python37\lib\distutils\cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "c:\python37\lib\distutils\dist.py", line 985, in run_command
    cmd_obj.run()
  File "c:\python37\lib\distutils\command\build.py", line 135, in run
    self.run_command(cmd_name)
  File "c:\python37\lib\distutils\cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "c:\python37\lib\distutils\dist.py", line 985, in run_command
    cmd_obj.run()
  File "c:\python37\lib\site-packages\setuptools\command\build_ext.py", line 78, in run
    _build_ext.run(self)
  File "c:\python37\lib\distutils\command\build_ext.py", line 339, in run
    self.build_extensions()
  File "C:\Users\johan\AppData\Local\Temp\pip-install-za6mhjg6\grpcio\src\python\grpcio\commands.py", line 295, in build_extensions
    support.diagnose_build_ext_error(self, error, formatted_exception)
  File "C:\Users\johan\AppData\Local\Temp\pip-install-za6mhjg6\grpcio\src\python\grpcio\support.py", line 109, in diagnose_build_ext_error
    "backtrace).\n\n{}".format(formatted))
commands.CommandError:

What version of gRPC and what language are you using?
What operating system (Linux, Windows, …) and version?
What runtime / compiler are you using (e.g. python version or version of gcc)
What did you do?
If possible, provide a recipe for reproducing the error. Try being specific and include code snippets if helpful.
What did you expect to see?
What did you see instead?
Make sure you include information that can help us debug (full error message, exception listing, stack trace, logs).
Anything else we should know about your project / environment?

Have you tried upgrading pip version?

We do not yet have Python 3.7 binary packages for Windows and Mac built and uploaded. It likely takes a week or two for us to get them integrated in our build pipeline. In the meantime, if you want to install grpcio on Windows using Python 3.7, you need a C compiler and Python development headers installed for pip install to work and compile the source package.

64-bit Windows binaries for Python3.7 are uploaded to PyPI.

Failure on Windows 10, with Python v 3.7 , PIP 18.0 while installing grpcio with the "pip install grpcio" command. Requirement already satisfied: six>=1.5.2 in c:\users\sraman24\appdata\local\programs\python\python37-32\lib\site-packages (from grpcio) (1.11.0)
Installing collected packages: grpcio
Running setup.py install for grpcio ... error
Complete output from command c:\users\sraman24\appdata\local\programs\python\python37-32\python.exe -u -c "import setuptools, tokenize;file='C:\Users\SRAMAN24\AppData\Local\Temp\pip-install-xmnokwqt\grpcio\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record C:\Users\SRAMAN24\AppData\Local\Temp\pip-record-g0tcscm0\install-record.txt --single-version-externally-managed --compile:

@sraman24 This PR only adds 64 bit Windows binaries for Python3.7. There's an open issue for 32-bit here:  https://github.com/grpc/grpc/issues/15968. Please use 64-bit Python or downgrade to 3.6 in the meantime.

@mehrdada - thanks and downgrade to 64-bit python version 3.6 and pip v 18.0 worked  - thanks for quick reply mehrDADA

32-bit Python 3.7 binary wheels for Windows are now uploaded on PyPI.


Flutter web - stuck on hot restart.

Steps to Reproduce

Run flutter channel beta.
Run flutter upgrade
Run flutter conifg --enable-web
Run flutter create app
Run flutter run -d chrome or F5 from vscode.
Make a small change like adding/remove space to trigger hot restart and it got stuck on there.

Dart version: Dart SDK version: 2.10.0 (stable) (Mon Sep 28 09:21:23 2020 +0200) on "linux_x64"

Flutter version
Flutter 1.22.0 • channel beta • https://github.com/flutter/flutter.git
Framework • revision d408d302e2 (3 days ago) • 2020-09-29 11:49:17 -0700
Engine • revision 5babba6c4d
Tools • Dart 2.10.0

VSCode version
1.49.2
e5e9e69aed6e1984f7499b7af85b3d05f9a6883a
x64

OS
Distributor ID:	Ubuntu
Description:	Ubuntu 20.04.1 LTS
Release:	20.04
Codename:	focal

Logs

[9:35:04 am]: Spawning /home/yogaraj/flutter/bin/flutter with args ["run","--machine","--target","lib/main.dart","-d","chrome","--track-widget-creation","--dart-define=flutter.inspector.structuredErrors=true","--start-paused","--web-server-debug-protocol","ws","--web-server-debug-backend-protocol","ws","--web-allow-expose-url"]
[9:35:04 am]: ..  in /home/yogaraj/personal/portfolio
[9:35:04 am]: ..  with {"toolEnv":{"FLUTTER_HOST":"VSCode","PUB_ENVIRONMENT":"vscode.dart-code"}}
[9:35:04 am]: PID: 886948
[9:35:05 am]: <== [{"event":"daemon.connected","params":{"version":"0.6.0","pid":886978}}]
[9:35:06 am]: <== [{"event":"app.start","params":{"appId":"6873d7d2-7fbb-4c48-9384-eb0bcdde869e","deviceId":"chrome","directory":"/home/yogaraj/personal/portfolio","supportsRestart":true,"launchMode":"run"}}]
[9:35:06 am]: <== Launching lib/main.dart on Chrome in debug mode...
[9:35:06 am]: <== [{"method":"app.exposeUrl","params":{"url":"ws://<IP_ADDRESS>:43561/$debug"},"id":"1"}]
[9:35:06 am]: ==> [{"id":"1","result":{"url":"ws://<IP_ADDRESS>:43561/$debug"}}]
[9:35:06 am]: <== [{"event":"app.progress","params":{"appId":"6873d7d2-7fbb-4c48-9384-eb0bcdde869e","id":"0","progressId":null,"message":"Syncing files to device Chrome..."}}]
[9:35:28 am]: <== [{"event":"app.progress","params":{"appId":"6873d7d2-7fbb-4c48-9384-eb0bcdde869e","id":"0","progressId":null,"finished":true}}]
[9:35:29 am]: <== [{"event":"app.webLaunchUrl","params":{"url":"http://localhost:38315","launched":true}}]
[9:35:32 am]: <== Debug service listening on ws://<IP_ADDRESS>:34295/JK2DcUtpdFs=
[9:35:32 am]: <== [{"event":"app.started","params":{"appId":"6873d7d2-7fbb-4c48-9384-eb0bcdde869e"}}]
[9:35:32 am]: <== [{"event":"app.debugPort","params":{"appId":"6873d7d2-7fbb-4c48-9384-eb0bcdde869e","port":34295,"wsUri":"ws://<IP_ADDRESS>:34295/JK2DcUtpdFs="}}]
[9:35:32 am]: ==> [{"id":"1","method":"app.callServiceExtension","params":{"appId":"6873d7d2-7fbb-4c48-9384-eb0bcdde869e","methodName":"ext.flutter.platformOverride"}}]
[9:35:32 am]: ==> [{"id":"2","method":"app.callServiceExtension","params":{"appId":"6873d7d2-7fbb-4c48-9384-eb0bcdde869e","methodName":"ext.flutter.brightnessOverride"}}]
[9:35:32 am]: ==> [{"id":"3","method":"app.callServiceExtension","params":{"appId":"6873d7d2-7fbb-4c48-9384-eb0bcdde869e","methodName":"ext.flutter.inspector.structuredErrors","params":{"enabled":true}}}]
[9:35:32 am]: ==> [{"id":"4","method":"app.callServiceExtension","params":{"appId":"6873d7d2-7fbb-4c48-9384-eb0bcdde869e","methodName":"ext.flutter.inspector.setPubRootDirectories","params":{"arg0":"/home/yogaraj/personal/portfolio","arg1":"/home/yogaraj/personal/portfolio","isolateId":"1"}}}]
[9:35:32 am]: ==> [{"id":"5","method":"app.callServiceExtension","params":{"appId":"6873d7d2-7fbb-4c48-9384-eb0bcdde869e","methodName":"ext.flutter.inspector.isWidgetCreationTracked"}}]
[9:35:33 am]: <== [{"id":"1","result":{"value":"linux","type":"","method":"ext.flutter.platformOverride"}}]
[9:35:33 am]: <== [{"id":"2","result":{"value":"Brightness.light","type":"","method":"ext.flutter.brightnessOverride"}}]
[9:35:33 am]: <== [{"id":"3","result":{"enabled":"true","type":"","method":"ext.flutter.inspector.structuredErrors"}}]
[9:35:33 am]: <== [{"id":"4","result":{"result":null,"type":"","method":"ext.flutter.inspector.setPubRootDirectories"}}]
[9:35:33 am]: <== [{"id":"5","result":{"result":true,"type":"","method":"ext.flutter.inspector.isWidgetCreationTracked"}}]
[9:35:43 am]: ==> [{"id":"6","method":"app.restart","params":{"appId":"6873d7d2-7fbb-4c48-9384-eb0bcdde869e","fullRestart":false,"pause":true,"reason":"save","debounce":true}}]
[9:35:43 am]: <== [{"event":"app.progress","params":{"appId":"6873d7d2-7fbb-4c48-9384-eb0bcdde869e","id":"1","progressId":"hot.restart","message":"Performing hot restart..."}}]
[9:35:43 am]: <== [{"event":"app.progress","params":{"appId":"6873d7d2-7fbb-4c48-9384-eb0bcdde869e","id":"2","progressId":null,"message":"Syncing files to device Chrome..."}}]
[9:35:43 am]: <== [{"event":"app.progress","params":{"appId":"6873d7d2-7fbb-4c48-9384-eb0bcdde869e","id":"2","progressId":null,"finished":true}}]
[9:35:45 am]: ==> [{"id":"7","method":"app.restart","params":{"appId":"6873d7d2-7fbb-4c48-9384-eb0bcdde869e","fullRestart":false,"pause":true,"reason":"save","debounce":true}}]
[9:35:52 am]: ==> [{"id":"8","method":"app.restart","params":{"appId":"6873d7d2-7fbb-4c48-9384-eb0bcdde869e","fullRestart":false,"pause":true,"reason":"save","debounce":true}}]
[9:38:40 am]: ==> [{"id":"9","method":"app.stop","params":{"appId":"6873d7d2-7fbb-4c48-9384-eb0bcdde869e"}}]
[9:38:41 am]: <== [{"event":"app.progress","params":{"appId":"6873d7d2-7fbb-4c48-9384-eb0bcdde869e","id":"1","progressId":"hot.restart","finished":true}}]
[9:38:41 am]: <== [{"event":"app.progress","params":{"appId":"6873d7d2-7fbb-4c48-9384-eb0bcdde869e","id":"3","progressId":"hot.restart","message":"Performing hot restart..."}}]
[9:38:41 am]: <== [{"id":"6","result":{"code":1,"message":"hotRestart: (-32000) Service connection disposed"}}]
[9:38:41 am]: <== [{"event":"app.progress","params":{"appId":"6873d7d2-7fbb-4c48-9384-eb0bcdde869e","id":"4","progressId":null,"message":"Syncing files to device Chrome..."}}]
[9:38:41 am]: <== Application finished.
[9:38:41 am]: <== [{"id":"9","result":true}]
[9:38:41 am]: <== [{"event":"app.stop","params":{"appId":"6873d7d2-7fbb-4c48-9384-eb0bcdde869e"}}]

Analyzing portfolio...
No issues found! (ran in 2.2s)

[✓] Flutter (Channel beta, 1.22.0, on Linux, locale en_IN)
    • Flutter version 1.22.0 at /home/yogaraj/flutter
    • Framework revision d408d302e2 (3 days ago), 2020-09-29 11:49:17 -0700
    • Engine revision 5babba6c4d
    • Dart version 2.10.0

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /home/yogaraj/Android/Sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: /home/yogaraj/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[!] Android Studio (version 4.0)
    • Android Studio at /home/yogaraj/android-studio
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    • Dart plugin version 193.7547
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[!] IntelliJ IDEA Community Edition (version 2019.3)
    • IntelliJ at /home/yogaraj/IntellijIdea
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • For information about installing plugins, see
      https://flutter.dev/intellij-setup/#installing-the-plugins

[!] IntelliJ IDEA Ultimate Edition (version 2017.1)
    • IntelliJ at /home/yogaraj/Downloads/IntellijIdea
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • For information about installing plugins, see
      https://flutter.dev/intellij-setup/#installing-the-plugins

[✓] VS Code (version 1.49.2)
    • VS Code at /usr/share/code
    • Flutter extension version 3.15.0

[✓] Connected device (3 available)
    • sdk gphone x86 arm (mobile) • emulator-5554 • android-x86    • Android 11 (API 30) (emulator)
    • Web Server (web)            • web-server    • web-javascript • Flutter Tools
    • Chrome (web)                • chrome        • web-javascript • Google Chrome 85.0.4183.121

! Doctor found issues in 3 categories.

In the log file, you can see that the hot restart was started on 9:35 and the above image was taken at 9:38.
The same issue occurs when run via terminal.

Flutter terminal logs
portfolio flutter run -d chrome
Launching lib/main.dart on Chrome in debug mode...
Syncing files to device Chrome...
18,995ms (!)
Debug service listening on ws://<IP_ADDRESS>:34021/GMe9YGJIMqQ=

Warning: Flutter's support for web development is not stable yet and hasn't
been thoroughly tested in production environments.
For more information see https://flutter.dev/web

🔥  To hot restart changes while running, press "r" or "R".
For a more detailed help message, press "h". To quit, press "q".

Performing hot restart...
(This is taking an unexpectedly long time.)       ⣷
13,432,617ms (!)
hotRestart: (-32000) Service connection disposed
Application finished.

this has anything to do with SDK version ref?
When I switch to beta channel i upgrade and it shows 1.22.0
Stable
Version              | Ref |
1.22.0                | d408d30
Beta
Version              | Ref |
1.22.0-12.3.pre | d408d30 |
ref numbers are the samae

I'm experiencing the issue as well
it occurs only occasionally and across different projects
[✓] Flutter (Channel master, 1.23.0-8.0.pre.124, on Linux, locale en_US.UTF-8)
    • Flutter version 1.23.0-8.0.pre.124 at /home/francesco/development/flutter_master
    • Framework revision cbf1e135c4 (27 hours ago), 2020-10-02 21:57:04 -0700
    • Engine revision 87a10f240f
    • Dart version 2.11.0 (build 2.11.0-181.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /usr/lib/Android
    • Platform android-29, build-tools 29.0.2
    • ANDROID_HOME = /usr/lib/Android
    • ANDROID_SDK_ROOT = /usr/lib/Android
    • Java binary at: /usr/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_265-8u265-b01-0ubuntu2~18.04-b01)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✓] Linux toolchain - develop for Linux desktop
    • clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
    • cmake version 3.10.2
    • ninja version 1.8.2
    • pkg-config version 0.29.1

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions).

[✓] Connected device (3 available)
    • Linux (desktop)  • linux      • linux-x64      • Linux
    • Web Server (web) • web-server • web-javascript • Flutter Tools
    • Chrome (web)     • chrome     • web-javascript • Google Chrome 85.0.4183.121

! Doctor found issues in 1 category.

Hi @syogaraj  @iapicca
I'm unable to reproduce this from either VSC or terminal
I've changed the text in the Text Widget and commented text style  no issues

code sample
import 'package:flutter/material.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        // This is the theme of your application.
        //
        // Try running your application with "flutter run". You'll see the
        // application has a blue toolbar. Then, without quitting the app, try
        // changing the primarySwatch below to Colors.green and then invoke
        // "hot reload" (press "r" in the console where you ran "flutter run",
        // or simply save your changes to "hot reload" in a Flutter IDE).
        // Notice that the counter didn't reset back to zero; the application
        // is not restarted.
        primarySwatch: Colors.blue,
      ),
      home: MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  MyHomePage({Key key, this.title}) : super(key: key);

  // This widget is the home page of your application. It is stateful, meaning
  // that it has a State object (defined below) that contains fields that affect
  // how it looks.

  // This class is the configuration for the state. It holds the values (in this
  // case the title) provided by the parent (in this case the App widget) and
  // used by the build method of the State. Fields in a Widget subclass are
  // always marked "final".

  final String title;

  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  int _counter = 0;

  void _incrementCounter() {
    setState(() {
      // This call to setState tells the Flutter framework that something has
      // changed in this State, which causes it to rerun the build method below
      // so that the display can reflect the updated values. If we changed
      // _counter without calling setState(), then the build method would not be
      // called again, and so nothing would appear to happen.
      _counter++;
    });
  }

  @override
  Widget build(BuildContext context) {
    // This method is rerun every time setState is called, for instance as done
    // by the _incrementCounter method above.
    //
    // The Flutter framework has been optimized to make rerunning build methods
    // fast, so that you can just rebuild anything that needs updating rather
    // than having to individually change instances of widgets.
    return Scaffold(
      appBar: AppBar(
        // Here we take the value from the MyHomePage object that was created by
        // the App.build method, and use it to set our appbar title.
        title: Text(widget.title),
      ),
      body: Center(
        // Center is a layout widget. It takes a single child and positions it
        // in the middle of the parent.
        child: Column(
          // Column is also a layout widget. It takes a list of children and
          // arranges them vertically. By default, it sizes itself to fit its
          // children horizontally, and tries to be as tall as its parent.
          //
          // Invoke "debug painting" (press "p" in the console, choose the
          // "Toggle Debug Paint" action from the Flutter Inspector in Android
          // Studio, or the "Toggle Debug Paint" command in Visual Studio Code)
          // to see the wireframe for each widget.
          //
          // Column has various properties to control how it sizes itself and
          // how it positions its children. Here we use mainAxisAlignment to
          // center the children vertically; the main axis here is the vertical
          // axis because Columns are vertical (the cross axis would be
          // horizontal).
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            Text(
              'You have pushed the button this many timezzzzzzzzzzs:',
            ),
            Text(
              '$_counter',
              style: Theme.of(context).textTheme.headline4,
            ),
          ],
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: _incrementCounter,
        tooltip: 'Increment',
        child: Icon(Icons.add),
      ), // This trailing comma makes auto-formatting nicer for build methods.
    );
  }
}

tahatesser@pop-os:~/AndroidStudioProjects/master_flutter$ flutterm run -d chrome
Launching lib/main.dart on Chrome in debug mode...
Syncing files to device Chrome...
13,170ms (!)
Debug service listening on ws://<IP_ADDRESS>:35915/JcS2w1R9wSU=

Warning: Flutter's support for web development is not stable yet and hasn't
been thoroughly tested in production environments.
For more information see https://flutter.dev/web

🔥  To hot restart changes while running, press "r" or "R".
For a more detailed help message, press "h". To quit, press "q".

Performing hot restart...                                          168ms
Restarted application in 168ms.

Performing hot restart...                                           97ms
Restarted application in 97ms.

Performing hot restart...                                          105ms
Restarted application in 105ms.

Performing hot restart...                                           96ms
Restarted application in 96ms.

Performing hot restart...                                           80ms
Restarted application in 80ms.

Performing hot restart...                                          116ms
Restarted application in 116ms.

flutter doctor -v
[✓] Flutter (Channel beta, 1.22.0, on Linux, locale en_US.UTF-8)
    • Flutter version 1.22.0 at /home/tahatesser/Code/flutter_beta
    • Framework revision d408d302e2 (6 days ago), 2020-09-29 11:49:17 -0700
    • Engine revision 5babba6c4d
    • Dart version 2.10.0

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /home/tahatesser/Code/sdk
    • Platform android-30, build-tools 30.0.2
    • ANDROID_HOME = /home/tahatesser/Code/sdk
    • Java binary at: /home/tahatesser/Code/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✓] Android Studio (version 4.0)
    • Android Studio at /home/tahatesser/Code/android-studio
    • Flutter plugin version 50.0.1
    • Dart plugin version 193.7547
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.49.3)
    • VS Code at /usr/share/code
    • Flutter extension version 3.15.0

[✓] Connected device (3 available)
    • Android SDK built for x86 (mobile) • emulator-5554 • android-x86    •
      Android 10 (API 29) (emulator)
    • Web Server (web)                   • web-server    • web-javascript •
      Flutter Tools
    • Chrome (web)                       • chrome        • web-javascript •
      Google Chrome 85.0.4183.121

• No issues found!

flutter doctor -v
[✓] Flutter (Channel master, 1.23.0-8.0.pre.130, on Linux, locale en_US.UTF-8)
    • Flutter version 1.23.0-8.0.pre.130 at /home/tahatesser/Code/flutter_master
    • Framework revision f4bad5b422 (18 hours ago), 2020-10-04 12:37:03 -0400
    • Engine revision 04a46cc656
    • Dart version 2.11.0 (build 2.11.0-185.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /home/tahatesser/Code/sdk
    • Platform android-30, build-tools 30.0.2
    • ANDROID_HOME = /home/tahatesser/Code/sdk
    • Java binary at: /home/tahatesser/Code/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✓] Android Studio (version 4.0)
    • Android Studio at /home/tahatesser/Code/android-studio
    • Flutter plugin version 50.0.1
    • Dart plugin version 193.7547
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.49.3)
    • VS Code at /usr/share/code
    • Flutter extension version 3.15.0

[✓] Connected device (3 available)
    • Android SDK built for x86 (mobile) • emulator-5554 • android-x86    •
      Android 10 (API 29) (emulator)
    • Web Server (web)                   • web-server    • web-javascript •
      Flutter Tools
    • Chrome (web)                       • chrome        • web-javascript •
      Google Chrome 85.0.4183.121

• No issues found!

@TahaTesser ,Can this be a platform/Chrome issue? Not sure though. I've already shared my OS details at the time of raising the issue. Sharing my chrome version details below if it may help.

Hi @syogaraj
I noticed that I reproduced the issue on PopOS 20.04 based on Ubuntu 20.04 LTS and I have the chrome version if you see my logs
@iapicca
Are you able to reproduce it again?
Thank you

@TahaTesser honestly I have no idea how to reproduce this behavior,
I've encounter it running "complex" code and some days hot-restart w/o issues
other times it just stuck, I have the feeling that it depends from the resources in use.
As soon as I figure out what triggers the issue I'll provide the steps to reproduce it.

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.

Same issue
`[✓] Flutter (Channel beta, 1.24.0-10.2.pre, on Mac OS X 10.15.7 19H2 darwin-x64, locale ru-RU)
• Flutter version 1.24.0-10.2.pre at /Users/falko/Library/flutter
• Framework revision 022b333a08 (10 days ago), 2020-11-18 11:35:09 -0800
• Engine revision 07c1eed46b
• Dart version 2.12.0 (build 2.12.0-29.10.beta)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.1)
• Android SDK at /Users/falko/Library/Android/sdk
• Platform android-30, build-tools 30.0.1
• ANDROID_HOME = /Users/falko/Library/Android/sdk
• ANDROID_SDK_ROOT = /Users/falko/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 12.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 12.2, Build version 12B45b
• CocoaPods version 1.10.0
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 4.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
[✓] IntelliJ IDEA Community Edition (version 2020.2.3)
• IntelliJ at /Applications/IntelliJ IDEA CE.app
• Flutter plugin version 51.0.3
• Dart plugin version 202.8070
[✓] VS Code
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension can be installed from:
🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[✓] Connected device (3 available)
• iPhone 12 Pro Max (mobile) • FF5ED572-18C7-495F-B579-45CC70453A09 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-2 (simulator)
• Web Server (web)           • web-server                           • web-javascript • Flutter Tools
• Chrome (web)               • chrome                               • web-javascript • Google Chrome 86.0.4240.198
• No issues found!`

@falkolab
please note the comment above

Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.

@falkolab
please note the comment above

Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.

Sorry I'm new in flutter. Can you point me where I can find logs?

I've had this happen from time to time. I have fixed it by fully deleting the app running on the simulator and then running the app again.

I've had this happen from time to time. I have fixed it by fully deleting the app running on the simulator and then running the app again.

I haven't pinned it down yet, but it seems to be related to having set a breakpoint. Certainly if I try restart whilst paused on a breakpoint, it will hang. It also seems that when I remove the breakpoint, and then subsequently make some edit, it will hang.

I haven't pinned it down yet, but it seems to be related to having set a breakpoint. Certainly if I try restart whilst paused on a breakpoint, it will hang. It also seems that when I remove the breakpoint, and then subsequently make some edit, it will hang.

M1 running latest; building for web; vsc.
Was running fast and flawlessly for me for a month.
Developed the stuck restart after I updated Xcode, BigSur, VSC and Flutter.
Lots of streams in play. Vanilla providers with IW.
RxDart, Firebase db, storage, auth, Google auth, Location and not much else for packages.
Hanging hot restart both in vsc and via command line.
DwdsVmClient: Issuing $dartHotRestart request.
[  +77 ms] DwdsVmClient: $dartHotRestart request complete.
[        ] DwdsVmClient: Waiting for Isolate Start event.
Yesterday, I managed to fix - after I recreated the project (medium confidence that was what did it), now it's back - somewhat randomly but after I broke something code-wise. No fun - under deadline.
Flutter 1.26.0-17.1.pre • channel dev • https://github.com/flutter/flutter.git
Framework • revision c40e5294dd (31 hours ago) • 2021-01-29 08:44:18 -0800
Engine • revision 5d3477eab4
Tools • Dart 2.12.0 (build 2.12.0-259.0.dev)
doctor all green.
Happy to spend time tracking this down with some guidance.

M1 running latest; building for web; vsc.
Was running fast and flawlessly for me for a month.
Developed the stuck restart after I updated Xcode, BigSur, VSC and Flutter.
Lots of streams in play. Vanilla providers with IW.
RxDart, Firebase db, storage, auth, Google auth, Location and not much else for packages.
Hanging hot restart both in vsc and via command line.
DwdsVmClient: Issuing $dartHotRestart request.
[  +77 ms] DwdsVmClient: $dartHotRestart request complete.
[        ] DwdsVmClient: Waiting for Isolate Start event.
Yesterday, I managed to fix - after I recreated the project (medium confidence that was what did it), now it's back - somewhat randomly but after I broke something code-wise. No fun - under deadline.
Flutter 1.26.0-17.1.pre • channel dev • https://github.com/flutter/flutter.git
Framework • revision c40e5294dd (31 hours ago) • 2021-01-29 08:44:18 -0800
Engine • revision 5d3477eab4
Tools • Dart 2.12.0 (build 2.12.0-259.0.dev)
doctor all green.
Happy to spend time tracking this down with some guidance.

Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.

Fixed by reverting to older version 3.18.1 of both the Dart and Flutter extensions in VSC.  Note: hot restart stuck only if I edited my providers.

Hi guys,
I ran into this error when I put a Gridview with shrinkwrap and NeverScrollableScrollPhysics inside a listView. I know it does not make sense but everything starts working normally if I comment out the Gridview builder, and no more Hot restart errors. I checked this at 3 to 4 times just to be sure that flutter isn't kidding with me.

Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.

I am having this issue. It started today, for no discernible reason.
Here's my flutter doctor -v output:
[✓] Flutter (Channel stable, 2.0.4, on Mac OS X 10.15.6 19G2021 darwin-x64, locale en-GB)
• Flutter version 2.0.4 at /Users/sarah/dev/flutter
• Framework revision b1395592de (13 days ago), 2021-04-01 14:25:01 -0700
• Engine revision 2dce47073a
• Dart version 2.12.2
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
• Android SDK at /Users/sarah/Library/Android/sdk
• Platform android-30, build-tools 30.0.2
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 12.2, Build version 12B45b
• CocoaPods version 1.10.1
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 4.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
[✓] IntelliJ IDEA Community Edition (version 2020.3)
• IntelliJ at /Applications/IntelliJ IDEA CE.app
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin version 203.6912
[✓] Connected device (2 available)
• macOS (desktop) • macos  • darwin-x64     • Mac OS X 10.15.6 19G2021 darwin-x64
• Chrome (web)    • chrome • web-javascript • Google Chrome 89.0.4389.128
• No issues found!

@TahaTesser,
I have observed a problem which seems to be related to the problem described in this ticket. As you requested I have created a minimal reproducible code sample.
See https://github.com/flutter/flutter/issues/82555

FYI: I was having this problem on the latest Stable, but it went away when I switched to the Beta channel.

I am also having this issue on stable but it is on mobile (specifically Android). I took your approach and switched to the Beta channel and Hot Reload is working again. Stable has been working for a few days, then suddenly stopped working. Very weird. Anyway, thanks for the suggestion.

@TahaTesser honestamente não tenho ideia de como reproduzir esse comportamento,
eu o encontrei executando um código "complexo" e alguns dias hot-restart sem problemas,
outras vezes ele simplesmente travou, tenho a sensação de que depende dos recursos em usar.
Assim que eu descobrir o que desencadeia o problema, fornecerei as etapas para reproduzi-lo.

Conseguiu? Mesmo problema ainda, será alguma library?

I use Android Studio to build and someday come into this issue. (Stable version 2.2.2)  And I check my state:

Futter Inspector: not connected

Then I found I used flutter build web --profile to build my app.
With the parameter, the hot reload stuck forever without any clue.


Re-add servant-swagger (GHC 8)

Release 1.1 is now compatible with GHC 8

People are a bit too hasty. Just uploaded servant-swagger-1.1 :)

Oops, sorry :)


Remove the docker-multinode guide as it's not working anymore

ref: https://goo.gl/VxSaKx
cc @jbeda @brendandburns @bgrant0607 @justinsb @mikedanese

This change is

@luxas Looks like there are some merge conflicts.

tech lgtm

/lgtm

@luxas BTW, some of this was moved to the Setup section, so you will need to modify the /_data/setup.yml file as well (i.e. line 97: - docs/getting-started-guides/docker-multinode.md).

/lgtm

@chenopis Updated. Please merge if you think all docs issues are resolved.

@luxas Thanks! One more thing: you'll also need to add the following two lines to /skip_toc_check.txt to clear the Travis CI check:
docs/getting-started-guides/docker.md
docs/getting-started-guides/docker-multinode.md

@chenopis Could you do that for me please? I'm only mobile for the next four days. I have the "Allow maintainers to edit" checkbox checked.
It would be good to get this in ASAP

@luxas Sure, no problem. Will do!


RuntimeError: Quantization not yet supported for op: FAKE_QUANT

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 18.04
TensorFlow installed from (source or binary): Docker image latest-gpu-py3
TensorFlow version (use command below): 1.14
Python version: 3.6
GPU model and memory: RTX 2080 Ti

Describe the current behavior
I have trained an autoencoder and want to convert it to a tflite model. I successfully froze the graph and was able to convert the non-quantized 32-bit-float version. When trying to convert the very same frozen graph file with the uint8 option, I get an error:
RuntimeError: Quantization not yet supported for op: FAKE_QUANT
Describe the expected behavior
The frozen model does not seem to be corrupted because I was able to deploy the other version successfully. FAKE_QUANT should inherently be supported.
Code to reproduce the issue
Conversion was attempted with:
converter = tf.lite.TFLiteConverter.from_frozen_graph(graph_def_file, inputs, outputs)
converter.representative_dataset = representative_dataset_gen
converter.target_ops = [tf.lite.OpsSet.TFLITE_BUILTINS_INT8]
converter.inference_input_type = tf.uint8
converter.inference_output_type = tf.uint8
converter.optimizations = [tf.lite.Optimize.DEFAULT]

tflite_model = converter.convert()

Other info / logs
The error traceback:

INFO: Initialized TensorFlow Lite runtime.
Traceback (most recent call last):
  File "train_and_save.py", line 289, in <module>
    vae.create_tflite_model()
  File "train_and_save.py", line 249, in create_tflite_model
    tflite_model = converter.convert()
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/lite/python/lite.py", line 908, in convert
    inference_output_type)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/lite/python/lite.py", line 200, in _calibrate_quantize_model
    inference_output_type, allow_float)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/lite/python/optimize/calibrator.py", line 78, in calibrate_and_quantize
    np.dtype(output_type.as_numpy_dtype()).num, allow_float)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/lite/python/optimize/tensorflow_lite_wrap_calibration_wrapper.py", line 115, in QuantizeModel
    return _tensorflow_lite_wrap_calibration_wrapper.CalibrationWrapper_QuantizeModel(self, input_py_type, output_py_type, allow_float)
RuntimeError: Quantization not yet supported for op: FAKE_QUANT

If it helped, I could provide the frozen graph file.

For clarification, I am not using some fancy layers, just simple dense layers:
def build_model(inputs):

    fc_layer = tf.compat.v1.layers.dense
    dims = [90, 40, 10]

    with tf.name_scope('model'):
        x = tf.identity(inputs, name='x')
	outputs = x

	# encoder
	for i, size in enumerate(dims[1:]):
		outputs = fc_layer(outputs, size, name=str(i + 1), activation=tf.nn.leaky_relu)

	# decoder
	for i, size in enumerate(dims[-2:0:-1], len(dims)):
		outputs = fc_layer(outputs, size, name=str(i), activation=tf.nn.leaky_relu)

	# prediction
	outputs = fc_layer(outputs, dims[0], name=str(2*(len(dims) - 1)), activation=None)
	y = tf.identity(outputs, name='y')

    with tf.name_scope('loss'):
	recon_err = tf.reduce_sum(tf.abs(x - y), axis=1)
	total_loss = tf.reduce_mean(recon_err)

@liyunlu0618
I have tried this with different activation functions, as a similar keras model does seem to have problems with the leaky_relu activation function. Unfortunately, this is not the case here and I get the same error.
I have attached the frozen graph protocol buffer, so that you can try out the conversion yourself.
frozen.tar.gz

It's weird that you have FAKE_QUANT in your original graph. Did you use the quantization rewriter when you train you model? It's not supposed to be used together with post-training integer quantization.
Maybe try to figure out where the fake quant op comes from first and get rid of it.

Hi DocDriven, liyunlu0618, and Everyone..  Is there a solution for this issue? I have the same issue... For my experiment, I took the Keras model from the @fchollet reference model train on mnist.. During training I apply quantization aware model for all layer (image attached), then I did Post Quantization 8bit Integer only I show the error unsupport fake quantize (attached second image)
Anyone could help for solve this issue really appreciate ??
1 image

2 image

Since your entire model is trained with QAT, you don't need post-training quantization. Try remove all optimization related options and re-convert your model.

@liyunlu0618 Thank you a lot for your answers !!

Hi There,
We are checking to see if you still need help on this, as you are using an older version of tensorflow which is officially considered end of life . We recommend that you upgrade to the latest 2.x version and let us know if the issue still persists in newer versions. Please open a new issue for any help you need against 2.x, and we will get you the right help.
This issue will be closed automatically 7 days from now. If you still need help with this issue, please provide us with more information.


Revert PR 2336 and upgrade to google-gax>=0.14.1

FYI @geigerj and @bjwatson

Is GrcpRendezvous used somewhere else that would prevent the removal of that class from exceptions.py? (there are some pylint overrides around it's definition.)

@daspecster I'm not sure what you're asking. You want the alias removed? Or you'd like the alias in another location? Are you up to speed on the discussion in #2156?

LGTM

@dhermes, yeah I was asking if the alias could be removed.

Hmmm, we are still using the alias:
$ git grep GrpcRendezvous
oogle/cloud/bigtable/row_data.py:    :type response_iterator: :class:`~google.cloud.exceptions.GrpcRendezvous`
google/cloud/bigtable/table.py:        :rtype: :class:`~google.cloud.exceptions.GrpcRendezvous`
google/cloud/datastore/connection.py:from google.cloud.exceptions import GrpcRendezvous
google/cloud/datastore/connection.py:        except GrpcRendezvous as exc:
google/cloud/exceptions.py:GrpcRendezvous = _Rendezvous
system_tests/bigtable.py:    from google.cloud.exceptions import GrpcRendezvous
system_tests/bigtable.py:        retry = RetryErrors(GrpcRendezvous,
unit_tests/_testing.py:        from google.cloud.exceptions import GrpcRendezvous
unit_tests/_testing.py:        return GrpcRendezvous(exc_state, None, None, None)
unit_tests/datastore/test_connection.py:        from google.cloud.exceptions import GrpcRendezvous
unit_tests/datastore/test_connection.py:        exc = GrpcRendezvous(exc_state, None, None, None)
unit_tests/datastore/test_connection.py:        from google.cloud.exceptions import GrpcRendezvous
unit_tests/datastore/test_connection.py:        exc = GrpcRendezvous(exc_state, None, None, None)
unit_tests/datastore/test_connection.py:        self._commit_failure_helper(exc, GrpcRendezvous)

Thanks @tseaver I should have grepped that.
Those would be candidates for this change as well right?

datastore and bigtable don't use GAX.

What @tseaver said. The alias is still "required" in the sense that we still need to catch a _Rendezvous in the Bigtable and Datastore implementations.


make coverage failing on master

This appears to be failing both on Travis and on local make coverage runs.
$ make coverage
./node_modules/.bin/jshint lib test tools examples
./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha --report lcovonly -- --recursive -t 30000 --ui tdd ./test/unit ./test/integration/qpid ./test/integration/servicebus
=============================================================================
Writing coverage object [/home/travis/build/noodlefrenzy/node-amqp10/coverage/coverage.json]
Writing coverage reports at [/home/travis/build/noodlefrenzy/node-amqp10/coverage]
=============================================================================

=============================== Coverage summary ===============================
Statements   : 24.99% ( 597/2389 )
Branches     : 3.19% ( 36/1128 )
Functions    : 8.73% ( 37/424 )
Lines        : 26.15% ( 591/2260 )
================================================================================

/home/travis/build/noodlefrenzy/node-amqp10/node_modules/chai/lib/chai/assertion.js:107
      throw new AssertionError(msg, {
      ^
AssertionError: Missing env serviceBusHost: expected undefined to exist
    at Assertion.<anonymous> (/home/travis/build/noodlefrenzy/node-amqp10/node_modules/chai/lib/chai/core/assertions.js:389:10)
    at Assertion.addProperty (/home/travis/build/noodlefrenzy/node-amqp10/node_modules/chai/lib/chai/utils/addProperty.js:43:29)
    at /home/travis/build/noodlefrenzy/node-amqp10/test/testing_utils.js:13:64
    at Array.forEach (native)
    at Object.populateConfig (/home/travis/build/noodlefrenzy/node-amqp10/test/testing_utils.js:12:29)
    at Object.<anonymous> (/home/travis/build/noodlefrenzy/node-amqp10/test/integration/servicebus/queues/config.js:4:21)
    at Module._compile (module.js:409:26)
    at Object.Module._extensions..js (module.js:416:10)
    at Object.Module._extensions.(anonymous function) [as .js] (/home/travis/build/noodlefrenzy/node-amqp10/node_modules/istanbul/lib/hook.js:109:37)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Module.require (module.js:353:17)
    at require (internal/module.js:12:17)
    at Object.<anonymous> (/home/travis/build/noodlefrenzy/node-amqp10/test/integration/servicebus/queues/client.test.js:5:12)
    at Module._compile (module.js:409:26)
    at Object.Module._extensions..js (module.js:416:10)
    at Object.Module._extensions.(anonymous function) [as .js] (/home/travis/build/noodlefrenzy/node-amqp10/node_modules/istanbul/lib/hook.js:109:37)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Module.require (module.js:353:17)
    at require (internal/module.js:12:17)
    at /home/travis/build/noodlefrenzy/node-amqp10/node_modules/mocha/lib/mocha.js:220:27
    at Array.forEach (native)
    at Mocha.loadFiles (/home/travis/build/noodlefrenzy/node-amqp10/node_modules/mocha/lib/mocha.js:217:14)
    at Mocha.run (/home/travis/build/noodlefrenzy/node-amqp10/node_modules/mocha/lib/mocha.js:485:10)
    at Object.<anonymous> (/home/travis/build/noodlefrenzy/node-amqp10/node_modules/mocha/bin/_mocha:457:18)
    at Module._compile (module.js:409:26)
    at Object.Module._extensions..js (module.js:416:10)
    at Object.Module._extensions.(anonymous function) [as .js] (/home/travis/build/noodlefrenzy/node-amqp10/node_modules/istanbul/lib/hook.js:109:37)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Function.Module.runMain (module.js:441:10)
    at runFn (/home/travis/build/noodlefrenzy/node-amqp10/node_modules/istanbul/lib/command/common/run-with-cover.js:122:16)
    at /home/travis/build/noodlefrenzy/node-amqp10/node_modules/istanbul/lib/command/common/run-with-cover.js:251:17
    at /home/travis/build/noodlefrenzy/node-amqp10/node_modules/istanbul/lib/util/file-matcher.js:68:16
    at /home/travis/build/noodlefrenzy/node-amqp10/node_modules/istanbul/node_modules/async/lib/async.js:52:16
    at /home/travis/build/noodlefrenzy/node-amqp10/node_modules/istanbul/node_modules/async/lib/async.js:361:13
    at /home/travis/build/noodlefrenzy/node-amqp10/node_modules/istanbul/node_modules/async/lib/async.js:52:16
    at done (/home/travis/build/noodlefrenzy/node-amqp10/node_modules/istanbul/node_modules/async/lib/async.js:246:17)
    at /home/travis/build/noodlefrenzy/node-amqp10/node_modules/istanbul/node_modules/async/lib/async.js:44:16
    at /home/travis/build/noodlefrenzy/node-amqp10/node_modules/istanbul/node_modules/async/lib/async.js:358:17
    at LOOP (fs.js:1530:14)
    at nextTickCallbackWith0Args (node.js:420:9)
    at process._tickCallback (node.js:349:13)
make: *** [coverage] Error 1

The command "make coverage" exited with 2.

(actually the local ones I'm guessing its just because I haven't set serviceBusHost env, but I assume Travis is meant to be able to run these?)

Ah yes, I see from the main master travis build log:
Setting environment variables from repository settings:
$ export ServiceBusNamespace=[secure]
$ export EventHubName=[secure]
$ export EventHubPartitionCount=[secure]
$ export EventHubKeyName=[secure]
$ export EventHubKey=[secure]
$ export ServiceBusQueueKeyName=[secure]
$ export ServiceBusQueueName=[secure]
$ export ServiceBusQueueKey=[secure]
$ export CODECLIMATE_REPO_TOKEN=[secure]
$ export ServiceBusQueueKeys=[secure]
$ export ServiceBusQueueNames=[secure]
$ export ServiceBusQueueKeyNames=[secure]
$ export ValidProcessVersions="v0.1.?0*|v0.1.?2*|v4*|v5*|v6*"

However, this does mean that the status checks on pull requests will always fail?

@dnwe yes, to conserve resource usage on the ServiceBus/EventHub servers that @noodlefrenzy set up, these values are only injected on the main repo. As a consequence, PRs that aren't from us will fail, which generally wasn't a problem since we were the only ones committing to the repo.
If you don't mind, a very simply solution could be implemented to simply skip those tests instead of throwing an error. In cases like these: https://github.com/noodlefrenzy/node-amqp10/blob/master/test/integration/servicebus/eventhubs/client.test.js#L31, there is an expectation set for the required variables, which could be replaced with a call to this.skip() (I believe), or an approach I've taken previously has been to set up an alias for it at the top of the script similar to: let maybeTest = (!!process.env.VARIABLE) ? it : it.skip;  maybeTest('some suite', () => {});

@mbroadst out of interest is there any automation for standing up the resources in azure needed to run the suite, or is it just default config?

You'd have to speak to @noodlefrenzy about that, but I believe it can be set up somewhat easily with the basic credits provided with a developer account. I'll let him chime in, but he might be out of town for a bit here.

Happy to close this one off now that the servicebus tests are just being skipped if the env vars aren't available. Thanks @mbroadst


Calculate texture in python

Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):

Consider checking out SDK examples.
Have you looked in our documentations?
Is you question a frequently asked one?
Try searching our GitHub Issues (open and closed) for a similar issue.

All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)

Required Info

Camera Model
{ D235 }

Firmware Version
(Open RealSense Viewer --> Click info)

Operating System & Version
{Win10

Kernel Version (Linux Only)
(-)

Platform
PC

SDK Version
{ <IP_ADDRESS>0 }

Language
{python }

Segment
{Robot }

Issue Description
<Describe your issue / question / feature request / etc..>
I'm doing an application in python in multiprocessing to manipulate information from point cloud.
I have a process that acquire frames and other separate that elaborate them in parallel.
Actually I'm using rs.pointcloud() to obtain points coords and texture coords and it works well:
calculate the cloud points
pc.map_to(mapped_frame)
points = pc.calculate(depth_frame)
Pointcloud data to arrays
v, t = points.get_vertices(), points.get_texture_coordinates()
verts = np.asanyarray(v).view(np.float32).reshape(-1, 3)  # xyz
texcoords = np.asanyarray(t).view(np.float32).reshape(-1, 2)  #
but I can't use this approach in multiprocessing (is not possible to pass composite frame to different process: only arrays o base types). Is it possible to calculate explicity the uv map without rs.pointcloud() but only using color/depth map arrays and intrinsic? Using the box_dimensioner_multicam_demo I found how calculate the vertex easly, but I don't understand how calculate the uv map/ texture

Hi @EnricoBeltramo   Before looking at creating a UV map, it may be worth making sure whether the multi-processing approach is going to be possible at all or not.
I had considered the Python multi-processing method called pickling but others have found that they were unable to use it for composite frames, as you suggested.
I did find a past case though where a RealSense Python user took the approach of storing intrinsics in a dictionary.
https://forums.intel.com/s/question/0D70P000006Yr5OSAS

I done the calculation. I convert the deepth point in xyz coords --> convert to RGB camera coords (using extrinsinc transformation) --> convert xyz to pixel coords. In this way I can pass only numpy arrays and all works fine.

Great news - thanks so much for the update and for sharing your method with the community!

Case closed due to solution being achieved.


data

hi，
I want to know the theory of converting cloud data into two-dimensional images.
Thanks in advance!

Hi @xiayizhan2017, you can refer to the pinhole camera model in 3D vision, which is described in detail.

Hi,
Do you know how to download the dataset and unzip it from the link below?
https://drive.google.com/open?id=131dH36qXCabym1JjSmEpSQZg4dmZVQid


fix: chrome router hijack rug

Description
Actually fixes the router rug on clicking trade preview.
tl;dr, chrome thinks the form submission is a GET request if the onSubmit isn't swapped in it's special helper.
Pull Request Type

[x] :bug: Bug fix (Non-breaking Change: Fixes an issue)
[ ] :hammer_and_wrench: Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
[ ] :nail_care: New Feature (Breaking/Non-breaking Change)

Issue (if applicable)
N/A, but fixes what https://github.com/shapeshift/web/pull/4947 tried to fix.
Risk
Small.
Testing
With the multi-hop flag on, select a non-fee EVM asset, get a quote, and click "Preview Trade". It should no lnoger change routes and re-render.
Engineering
☝
Operations
☝
Screenshots (if applicable)
N/A

Current dependencies on/for this PR:

develop

PR #4950   👈

This comment was auto-generated by Graphite.


GKE Autopilot

kubectl create ns normal-parent
Error from server (InternalError): Internal error occurred: failed calling webhook "namespaces.hnc.x-k8s.io": failed to call webhook: Post "https://hnc-webhook-service.hnc-system.svc:443/validate-v1-namespace?timeout=10s": context deadline exceeded

kubectl hns create sub-child -n default
Could not create subnamespace anchor.
Reason: Post "https://xxx/apis/hnc.x-k8s.io/v1alpha2/namespaces/default/subnamespaceanchors/sub-child": context deadline exceeded

Sorry, I never tested on Autopilot because at least at first, it didn't support mutating admission webhooks. I don't think that's your current problem though.
Does the same problem occur on Standard GKE with the same other system components?


Protecting RegExp builtin errors

http://discourse.codecombat.com/t/play-button-not-responsive-on-lvl-1/1592/5
Latest spec says that RegExp.prototype is an ordinary object, which makes this error in bleeding edges of Chrome:
Uncaught TypeError: RegExp.prototype.global getter called on non-RegExp object

@basicer can you fix this? I guess something needs to change here.

Fixed in 68d10c6


Assets not loading correctly

Running the latest cesium with my angular application. Was working, then suddenly assets started breaking.
Angular.json file
"assets": [                             {                                 "glob": "**/*",                                 "input": "node_modules/cesium/Build/Cesium",                                 "output": "./assets/cesium"                             }                         ],                         "styles": [                             "client/styles.scss",                             "node_modules/animate.css/animate.min.css"                         ],                         "scripts": [                             "node_modules/cesium/Build/Cesium/Cesium.js"                         ],

Could it be chrome version

I believe you need to set the CESIUM_BASE_URL global variable, see https://github.com/AnalyticalGraphicsInc/cesium/issues/8327


Linking error for iOS with SQLitePCLRaw 1.0 - MTOUCH error MT5214

Attempting to upgrade from v0.9.3 to 1.0.0. Android is working fine, but I'm getting a ton of errors like the following at compile time when I build iOS (unified):
MTOUCH: error MT5214: Native linking failed, undefined symbol: _sqlite3_aggregate_context. This symbol was referenced by the managed member SQLitePCL.SQLite3Provider_internal/NativeMethods.sqlite3_aggregate_context. Please verify that all the necessary frameworks have been referenced and native libraries linked.
etc
MTOUCH: error MT5214: Native linking failed, undefined symbol: _sqlite3_table_column_metadata. This symbol was referenced by the managed member SQLitePCL.SQLite3Provider_internal/NativeMethods.sqlite3_table_column_metadata. Please verify that all the necessary frameworks have been referenced and native libraries linked.
MTOUCH: error MT5214: Native linking failed, undefined symbol: _sqlite3_threadsafe. This symbol was referenced by the managed member SQLitePCL.SQLite3Provider_internal/NativeMethods.sqlite3_threadsafe. Please verify that all the necessary frameworks have been referenced and native libraries linked.
MTOUCH: error MT5214: Native linking failed, undefined symbol: _sqlite3_total_changes. This symbol was referenced by the managed member
etc

Looks like there are about 130 of them. It's as if the actual SQLite binary has not been included at all. I'm trying to bundle a version of SQLite on iOS rather than use the built-in SQLite. It was working fine with 0.9.3.
Here are the Nuget packages I'm using:
  <package id="SQLitePCLRaw.core" version="1.0.0" targetFramework="xamarinios10" />
  <package id="SQLitePCLRaw.lib.e_sqlite3.ios_unified.static" version="1.0.0" targetFramework="xamarinios10" />
  <package id="SQLitePCLRaw.provider.internal.ios_unified" version="1.0.0" targetFramework="xamarinios10" />

I tried adding package <package id="SQLitePCLRaw.bundle_e_sqlite3" version="1.0.0" targetFramework="xamarinios10" /> and using SQLitePCL.Batteries.Init() instead of SQLitePCL.raw.SetProvider(new SQLitePCL.SQLite3Provider_internal()) but that didn't help. Same results. (It's probably worth mentioning that if I don't set any provider or call Batteries.Init then the project compiles successfully, but then as expected I get a runtime error saying I didn't set any provider. Also bundle_green works fine.)
So I feel like I might be doing something wrong, so let me ask a couple of questions that might clear up my understanding:

Why is the provider for iOS included with bundle_e_sqlite3 called SQLite3Provider_internal instead of SQLite3Provider_e_sqlite3? (I don't see anything in the documentation explaining what internal means.)
Is there an e_sqlite3 provider for iOS? I can't find one on Nuget.
Out of curiosity why does the lib package for ios have .static in the name?

I'm guessing you are actually not doing anything wrong.  This is very likely a bug that slipped through.  But I'll test and verify that.
For now, responding to your questions:
iOS is a special case.  Bundling a SQLite library on iOS is done with static linking, instead of the dynamic linking that is used everywhere else.
At the pinvoke level, the way this mechanism works is to DllImport("__Internal"), which tells Xamarin.iOS to look for the symbol as it came from a statically linked library.
If instead it said DllImport("e_sqlite3"), then it would look for the symbol in a dynamic library by that name.  Which, in theory, can work.  In some cases.  After iOS 8.  But I haven't sorted out all the somewhat-newfangled support for dynamic libs on iOS.
So, no, there currently is no e_sqlite3 provider for iOS, at least not one which does dynamic loading.  On iOS, e_sqlite3 is provided only as a static lib (and that's why the word static is in the name of that package) for now, which means that provider.internal is needed.
In other words, for the purpose of bundle_e_sqlite3, provider.internal (with that lib) is the e_sqlite3 provider.
And it looks like it might be broken.

Confirmed. I can reproduce this. Apologies. Fix pending.

I've confirmed that the "attempted fix" in dc98825 was successful.  I will mark this closed when I have pushed 1.0.1 to nuget, which should happen a few days from now unless somebody tells me it's more urgent than that.

Thanks for looking into this so quickly! We can wait a few days.

Fixed in 1.0.1, which has been pushed to nuget.org. I'll leave this open for now so you can close it after verifying that 1.0.1 works as expected for you.

Hey Eric - Not seeing any new packages on NuGet (using Visual Studio 2015 to check update on packages).  Here is what I see when checking for updates - all still v0.9.4.-pre1:

The package IDs have changed.  And I have not yet marked all the old ones with "deprecated" (or some other way of referring people to the new ones).  But I need to do that very soon.
All the pkgs now have an id that begins with "SQLitePCLRaw."
So in your screen shot, change to SQLitePCLRaw.bundle_green

OK, and it looks like before we can do that Frank Krueger (praeclarum/sqlite-net) needs to update to support the new names in his package.  Have you pinged him re name changes?

praeclarum/sqlite-net#449

Interesting. It works for me now but only if I reference bundle_e_sqlite3 and call Batteries.Init();.  Very strange.

Yeah, that won't work.  :-)
The problem is the Xamarin linker doesn't think you need the assembly, so it removes it.
So for this case, in addition to raw.SetProvider(), you have to call:
SQLitePCL.lib.embedded.Init();

which is a do-nothing method in the assembly where the native lib is embedded.  This tricks the Xamarin linker.  (FWIW, I've seen this trick used in a lot of other places.  MvvmCross uses it quite a bit.)
bundle_e_sqlite3 does this call for you.  That's why it works with the bundle.

Ah, I saw that in batteries.cs file but didn't think to try it. Great will go ahead and close this. I recommend that we include some of the iOS information here (about the meaning of static/internal, and that SetProvider alone won't work) in the readme. Thank you


Chapter3/homework/2

PR for Chapter 3 Homework 2.
Implementation of a Credentials Manager which encodes the users password with Unicode.
Note: Test Cases "Equals_On_Credentials_With_Matching_Fields_Returns_True()" and "Register_Given_Valid_FilledFile_Appends_Comma_Separated_Credentials()" were modified as it was seen that there were mistakes causing unintended failures. Rationale for the changes has been provided through comments in the test cases.

 Here is an overview of what got changed by this pull request:

Issues
======
- Added 22

Complexity increasing per file
==============================
- Src/BootCamp.Chapter/UserExistsException.cs  1
- Src/BootCamp.Chapter/CredentialsManager.cs  5
- Src/BootCamp.Chapter/Credentials.cs  6
- Tests/BootCamp.Chapter.Tests/CredentialsManagerTests.cs  2
- Tests/BootCamp.Chapter.Tests/CredentialsTests.cs  2
- Src/BootCamp.Chapter/SiteRegisterAndLoginSim.cs  1
- Tests/BootCamp.Chapter.Tests/Input/ClassData/UnequalCredentialPairs.cs  4

See the complete overview on Codacy

Please change target branch to Homework/2 and not /master

Please change target branch to Homework/2 and not /master

Change has been made - unsure why this happened but thanks for pointing it out


wip(constraints): add deferrable support

This would be great; as a workaround until this is merged I am doing the following as SQLite doesn't support the ADD CONSTRAINT variant of the ALTER TABLE, so columns + references have to be added at the same time
await sql`ALTER TABLE mytable ADD COLUMN goalId INTEGER REFERENCES goals(id) DEFERRABLE INITIALLY DEFERRED;`.execute(db);

Why was this closed?

Why was this closed?

Because https://github.com/kysely-org/kysely/issues/224#issuecomment-1485937688


explicit model names in typescript

seems the TS is generated, but can't find from where, so closing this for now.


gene / cellular component relation in human-goa

According to automat/predicates, this is a related_to edge.  Shouldn't it be a part_of or something else more specific?

i believe this is what edge norm falls back to when it doesnt mormalize.

this was corrected in the latest refactor.
the code had specified "has_part" to be associated to "RO:0000051". this was changed to "RO:0001019"
note the latest parse output does not have any "related_to" predicates.


Feature Request: Adding command to call Wakie Wakie whenever?

Currently is called at 5pm everyday, but what are peoples thoughts on also adding a command so that it can be called in a channel whenever to promote interaction? Or would this take away the specialness of it? Maybe we can set a limit of once per hour or something?
Looking for people's thoughts :^) I reckon it'd be c00l

I think this'd be good. Agree with it needing some sort of limit though, otherwise it's just random ping spam

I'm tempted to say leave it at once per day in general. People ignore it enough as it is. I suppose calling on demand ($(MAX) times per day) could work in #projects though?

This idea is for adding a command, not adding any new cron jobs. This means a user can call "!wakie" whenever they want if they want to spark some conversation in a channel (not just general)
However now that you mention it, a random wakie in a channel might also be cool?


Fix #6462 Backend: Add support for filter by 'teamType' in teams API

Describe your changes :
See #6462

Now parentTeam filter is added to List Teams API. So, we can get a list of all the teams under an organization with /api/v1/teams?parentTeam=organization&fields=userCount,childrenCount

Type of change :

[x] Improvement

Frontend Preview (Screenshots) :

Checklist:

[x] I have read the CONTRIBUTING document.
[x] I have commented on my code, particularly in hard-to-understand areas.
[x] I have added tests that prove my fix is effective or that my feature works.
[x] All new and existing tests passed.

Reviewers

@sureshms @harshach I have taken care of backward compatibility as well. Please review.


Cannot find module './tedious'     at require

I tried node-mssql on meteor js.
but it show
Cannot find module './tedious' at require

Should I install tedious via npm or not?

I feel like this belongs on StackOverflow

Thanks now it work fine.

Hi @thearabbit, I'm struggling with the same issue. Would you mind sharing how you fixed this?

OK, the reason for the error is that the code has to be run on the server. It will throw this error when run on the client.


pantheon.elementary-code: 6.1.0 -> 6.2.0

Description of changes
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

pantheon.elementary-code: 6.1.0 → 6.2.0

[ ] 863: Set window title to title of currently focused document. (#1139)
[ ] Show hidden folders by default (#1154)
[ ] 1092 - Add location and count functionality  to Search and Replace (#1118)
[ ] Rewrite word completion to play nice with other completion providers. (#1125)
[ ] MonitoredRepository: allow changing branch with untracked files (#1161)
[ ] Use tilde (#1153)
[ ] Meson: remove positional arguments from i18n.merge_file (#1165)
[ ] Search-bar enhancements (Regex Support) (#1170)
[ ] Fix occasional crash in SearchBar (#1174)
[ ] Only focus the current document on open (#1177)
[ ] Update appdata with recent changes (#1178)
[ ] Check fully for null doc in document change handler (#1146)
[ ] Fix logic for duplicating unselected line. (#1137)
[ ] replace_home_with_tilde: use substring() to remove home directory (#1180)
[ ] Include hyphen and underscore in word to match (#1160)
[ ] Check commandline files, do not allow docs with null file (#1129)
[ ] SearchBar: Make the search count translatable (#1182)
[ ] Release 6.2.0 (#1181) Tagged: 6.2.0

@ofborg test pantheon

Result of nixpkgs-review pr 167265 run on x86_64-linux 1

1 package built:

pantheon.elementary-code


Review Brian Paper to Methods

We need to review the paper.
┆Issue is synchronized with this Jira Story
┆Fix Versions: Dockstore 1.6
┆Issue Number: DOCK-223
┆Epic: Outreach

➤ Brian O'Connor commented:
[~denis.yuen] and [~casloan] see this outline, please leave feedback: https://docs.google.com/document/d/15dcdMr3sJCFj92PWOGQKU78WEenyVcYE0ARMlF4VN9Q/edit#heading=h.bja4ts9reejm

Moved to SEAB-79


Line 95: This number 0.25 for the relative variance of the gain seemsrather small. It would correspond to a first stage gain of 16. A much morereasonable gain variance is ∼ 0.4 which corresponds to first stage gain of∼ 6. However this creates a problem for the model if the gain is assumed tofluctuate as a Gaussian. A much more reasonable assumption is a gammadistribution as is well known in the literature.

Addressed in e9383d5613168161f9746ac2dbdc1d76c12bbb3a


Question about the NotificationData table

In the NotificationData table the image link is truncated like this "data:image/jpeg;base64," Instead of the full url.
Is the full url in this field or am I looking in the wrong place?

Hi @LycheeYum ,
Thanks for raising the query. We will look into this and get back to you with proper response soon.


losslesscut: Update to version 2.6.2 (manually)

#2308 (Outstanding Excavator issues)
Lossless Cut now use installers instead of ZIP archives.
Also modified description to make it more brief.

@issaclin32 Please keep an eye on release page. They have latest file for mac and linux, but not for windows. Maybe they will add it in future.


EnvironmentMap modulation

What problem does this solve or what need does it fill?
I'd like to be able to simulate day / night cycles in my game. Unfortunately this is hard to do when using environment maps because the intensity of the map is fixed, so the daytime sky is at full brightness even in the middle of the night.
What solution would you like?
I'd like to be able to set a modulation intensity for an environment map. Note that three.js has this feature (but only on a per-material basis - I want it to be global).
Ideally, I would use two environment maps, one representing the daytime sky and one representing the nighttime. At noon, the intensity of the daytime env map would be one, and the intensity of the night time map would be 0. The opposite would be true at midnight. The intensity of each map would be interpolated based on the diurnal cycle.
Alternatively, if it is only possible to have a single env map, then I would just have one map for the daytime, and no map for the nighttime.
What alternative(s) have you considered?
Well, one solution is to use ambient light (which can be modulated) instead of environment maps, but you lose a lot in scene quality especially for reflective materials. Alternatively, one could have a whole bunch of environment maps and switch between them, but this would consume a lot of memory.
Additional context
There's been a discussion on the three.js issue tracker about adding global backround intensity for environment maps. Although the idea is generally favorable, the discussion is stalled because of concerns about backwards incompatibility with the existing per-material intensity setting. Since Bevy doesn't have this feature, backwards compatibility is not a concern.

Seems like a sensible request: feel free to make a PR!

I'm in favor of adding this. The only part that needs discussion is how are we going to specify the "strength"?
DirectionalLights use lux, and Point/Spot Lights use lumens (although the docs suck, that's a different issue).
We could specify the EnvironmentMapLight as a simple multiplier, or in one of these units, or as an Ev100 exposure, or something else.
The recent God of War: Ragnarok presentation has some info on how they manage physical lighting values https://sms.playstation.com/media/documents/GOWR_Stephen_Mcauley_RenderingGOWR_GDC23.pdf.
CC @superdump

The main constraint is that the default value should preserve the existing behavior. Other than that I don't care.


Use the cache directly without a decorator

I've a need to get/set values from an LFU cache directly, rather than as a function decorator. The need is as such:
def slow_function(*args, **kwargs)
    cache = choose_cache_out_of_many(*args)
    found = cache.get(*args, **kwags)
    if found: return found

    result = slow_code()

    cache.set(result, *args, **kwargs)

This pattern of having multiple caches and only knowing which one to leverage inside the function that is to be cached means I cannot use a decorator.
How can I access memoization caches directly?

I have 16 different caches and I need to keep them separate so that overflowing cache 3 does not pop out values from cache 1.

I was able to come up with a hacky way of handling this, but a natural implementation would still be welcome:
def get_next_state(self, arg1, arg2, arg3, use_cache=True):
  if use_cache:
    cache_idx = get_cache_id(arg1)
    cache = self.caches[cache_idx]
    return cache(self.get_next_state)(arg1, arg2, arg3, use_cache=False)

This creates a once-recursive call that utilizes a cache from a list of caches

Yes, upvote for sure.  Any sophisticated caching usage quickly escape the boundaries imposed by decorators.


Document byte / character-based protocol in byte order using range description

You described a workaround for representing bytes using a wavedrom bitfield in #10.
I would like to document the following byte/character based protocol command structure:
Command structure:
* DT: this specific command uses 0x00

00   01 02 03 04   05 06 07 08   09   10   11   12 13 14 15   16 17   18 19   20 21 22 23   24 25   26   27 28 29 30 31
-----------------------------------------------------------------------------------------------------------------------
                                      |<------------------- CRC16 --------------------->|
15   01 23 45 67   98 76 54 32   80   00   00   65 72 06 B8   00 00   00 00   00 00 00 00   00 00   00   -- -- -- -- --
^^   ^^^^^^^^^^^   ^^^^^^^^^^^   ^^   ^^   ^^   ^^^^^^^^^^^   ^^^^^           ^^^^^^^^^^^   ^^^^^   ^^
ID   TargetAddr#   SourceAddr#   Idx  DT   ?    TimeStamp     Gap             Password      CRC16   CRC8

However the main difficulty here is that the legend of the bytes is ordered ascending,
while a common bitfield is ordered from most significant to least significant bits, ie. descending.
Are there options to reverse the order, e.g. bytes 00 .. 31 for a byte based protocol instead of bit 31 .. 00 for bitfields.
Side note: for bitfields it also might be interesting to specify big- vs little-endianness for display of a register block ?
Also note: Are the range annotation |<-- CRC16 -->| available in a wavedrom signal also available in a wavedrom byte / bitfield ?
I could workaround it by using a wavedrom signal, but I would prefer something like the register view with byte order.

{signal: [
  {name:'Clock',     wave: 'p...........' },
  {name:'Data',      wave: 'x3<IP_ADDRESS>x', data: '7E 07 00000000 00000000 00 07 7F' },
  {name:'Description', wave: 'x3<IP_ADDRESS>x', data: 'SOF ID TargetAddr# SourceAddr# 0x00 CRC8 EOF' },
  {name:'Request',   wave: '01.........0' }
],
 head:{
   text:'Messages: DTU to INV: "Init" (0x07)',
   tick:0,
   every:2
 },
 foot:{
   text:'Messages 0x07',
   tock:9
 },
}

Vertical flip vflip changes the order of bits inside the lane.


Update Grape instrumentation to support Ruby 3.0

Grape's CI now runs on Ruby 3.0. When running the Grape multiverse suite using Ruby 3.0.2 on version 8.1.0 of the agent, lots of failures were raised.
Tasks

[ ]  Remove Grape limitation from Multiverse Test Runner

[ ] Update Grape instrumentation for tests to pass on Ruby 3.0.2

[ ] BONUS: Review new features on the Grape gem and add instrumentation for them

Hey team! Please add your planning poker estimate with Zenhub @fallwith @hannahramadan @tannalynn

Looks like this is no longer an issue. Tested on ruby 3.0, 3.1, and 3.2. Our CI actually has already been running grape, the env files has so upper ruby limits on grape versions that support 3.0+, so this hasn't been an issue for a while.
Also, I checked the changelog for grape and the releases don't appear to have any new functionality we would want to instrument, mostly bugfixes and enhancements/adjustments to existing instrumentation.


Fixing marker's callout display on ios after clicking on a cluster

On iOS when tapping first on a cluster and then on a marker causes callout to show then to disappear. I reported the issue : https://github.com/react-native-community/react-native-maps/issues/2725.
A quick fix is possible by adding an empty callout in the cluster's marker : <Callout tooltip :>.
I realize the issue is not in react-native-map-clustering, but this quick fix would help would probably help a few users who would otherwise have to wait for react-native-maps' fix (if it ever comes).

New version of module is released 🎉 Code is rewritten almost from scratch so this pull request will not work.


cannot build TERefiner

I find TERefiner cannot work, so I build that manually.
cd TERefiner  &&  make  &&  cd ..
Then it uses bamtools-master in the process, so I download bamtools, rename it, build it and put it in the REPdenovo folder.
Then another issues happen:
g++ -O3 -Wall -static -I../bamtools-master/include -L../bamtools-master/lib -Wl,-rpath,../bamtools-master/lib -o TERefiner_1 public_func.o StrOperation.o local_alignment.o Alignment.o bam_parse.o fai_parser.o contigs.o Coverage.o scaffolding.o RepeatsClassifier.o refiner.o main.o
-lbamtools -lz -lm
/usr/bin/ld: cannot find -lstdc++
/usr/bin/ld: cannot find -lm
/usr/bin/ld: cannot find -lc
how to solve that?

@bzvew
Have you change the path of include and lib foder in Makefile?
BAMTOOLS=../bamtools-master/include
BAMTOOLS_LD=../bamtools-master/lib

No, it is
BAMTOOLS=../bamtools-master/include
BAMTOOLS_LD=../bamtools-master/lib
And I don't change it.

Would you please change to the path on your computer, and try again?

At the beginning I put the bamtools-master folder under REPdenovo folder, is that correct?

That should work, can you run ls and show the detailed info of the two folders? Perhaps need to compile bamtools first.
ls -l ../bamtools-master/include
ls -l ../bamtools-master/lib

[user@localhost include]$ ls -R
.:
api  shared
./api:
algorithms       BamConstants.h    IBamIODevice.h     SamReadGroupDictionary.h
api_global.h     BamIndex.h        SamConstants.h     SamReadGroup.h
BamAlgorithms.h  BamMultiReader.h  SamHeader.h        SamSequenceDictionary.h
BamAlignment.h   BamReader.h       SamProgramChain.h  SamSequence.h
BamAux.h         BamWriter.h       SamProgram.h
./api/algorithms:
Sort.h
./shared:
bamtools_global.h
[user@localhost lib]$ ls -R
.:
libbamtools.a  libbamtools.so  libbamtools.so.2.4.1  libbamtools-utils.a  libjsoncpp.a

This should work. Weird for me.

Yes, I'm also confused. Another issue is can REPdenovo deal with Pacbio long reads? If ok, can I set content of the reads.txt like readfilename, -1, -1, -1?

If you change the path "../bamtools-master/" to absolute path, will report the same error?
No, REPdenovo mainly designed for short reads. The error rates for long reads is high.

It doesn't work either.
If I use the corrected long reads, can it work?

I didn't try that before. I think corrected long reads can be better used than break to pieces and assemble again, which will lose lots of information.

Would you please compile bamtools first, and then compile TERefiner again? I never meet this kind of error before. For compiler, it seems cannot find the lib.

I actually compile bamtools first, then move that folder inside REPdenovo.

I find the original program can work if I change the permissions of current user. Because at the beginning the current user doesn't have execution permission for TERefiner and ContigsMerger . However there are still some errors when running the program. Can you have a look at the log?
output.txt

@bzvew
Can you send me your configuration file?

I change the readlength to 4000, because I want to test the REPdenovo on long reads.
sample_configuration_10X.txt

Please change these and try again:
BWA_PATH /usr/local/bin/bwa
SAMTOOLS_PATH /usr/local/bin/samtools

Good, it works now. Thank you!


Don't link if authority is only "end" characters

This change stops these and other examples from being linked:
http://.
http://"
http://<space>

Note that http:// and http://. are valid URLs according to RFC 3986,
because authority can be zero or more unreserved characters. But we
don't link http:// on its own or the trailing . of
http://example.org.
(See https://github.com/robinst/autolink-java/issues/15)

Codecov Report

Merging #2 into master will increase coverage by 0.02%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master      #2      +/-   ##
=========================================
+ Coverage   96.58%   96.6%   +0.02%
=========================================
  Files           7       7
  Lines         468     471       +3
=========================================
+ Hits          452     455       +3
  Misses         16      16

Impacted Files
Coverage Δ

src/url.rs
100% <100%> (ø)
:arrow_up:

tests/url.rs
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Standardise the use of boost::filesystem, add alternative covg to score function, and reimplement kmer coverage function

#68

This PR accidentally grew bigger than I had intended. It does four main things:

Adds some changes to move the project towards standardised use of boost::filepath for all paths - rather than using std::string. #68
Adds an alternative coverage to score conversion function on the fastaq class. This new function maps a coverage (plus 33) to it's ASCII value. If the coverage is over the max value (93) then it just maps to the max ASCII value of ~. This function is intended for getting coverage information on the consensus to assess coverage around the slices we cut out for local assembly.
Re-adds some function parameter defaults for local assembly. After we had refactored the code I forgot to re-add them.
Reimplement the expected kmer coverage function which was originally on the fastaq class. As we no longer use this class for capturing reads overlapping a slice for local assembly it has been rewritten as a standalone function.