Adding a new file tells me the file name is invalid but not why

Issue Type: Bug
open a folder
add a new file
call the file "git-hub-comments.ps1"
Expected: Either the file is created (since its a legitimate file), or VSC tells me what is not legitimate about the file.
Actual: VSC tells me the file name is invalid.
Note: If I change the filename to ghcomments.ps1 I'm able to save it. Subsequent attempts to create the file with the original name work as well.
VS Code version: Code 1.51.1 (e5a624b788d92b8d34d1392e4c4d9789406efe8f, 2020-11-10T23:34:32.027Z)
OS version: Windows_NT x64 10.0.18363

This works fine for me.
Can you reproduce using vscode insiders https://code.visualstudio.com/insiders/


feat(icons): added laptop-minimal-check icon

closes #2562
What is the purpose of this pull request?

[x] New Icon

Description
Added new laptop-minimal-check icon.
Icon use case

Something happened successfully.
Alternative icon designs

Icon Design Checklist
Concept

[x] I have provided valid use cases for each icon.
[x] I have not added any a brand or logo icon.
[x] I have not used any hate symbols.
[x] I have not included any religious or political imagery.

Author, credits & license

[ ] The icons are solely my own creation.
[x] The icons were originally created in # by @ericfennis
[x] I've based them on the following Lucide icons: laptop-minimal
[ ] I've based them on the following design:

Naming

[x] I've read and followed the naming conventions
[x] I've named icons by what they are rather than their use case.
[x] I've provided meta JSON files in icons/[iconName].json.

Design

[ ] I've read and followed the icon design guidelines
[ ] I've made sure that the icons look sharp on low DPI displays.
[ ] I've made sure that the icons look consistent with the icon set in size, optical volume and density.
[ ] I've made sure that the icons are visually centered.
[ ] I've correctly optimized all icons to three points of precision.

Before Submitting

[x] I've read the Contribution Guidelines.
[ ] I've checked if there was an existing PR that solves the same issue.

That was crazy fast, thank you!


Integrate RabbitMQ

Description
Integrated RabbitMQ to queue messages on user check-in and on joining the team. Also fixed issue with Team counter as it was incrementing on each member rather than the team.
Type of change
Please delete options that are not relevant.

[x] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)

How Has This Been Tested?

[x] Tested on Discord and using message consumer.

Screenshot

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

@dev-zaid Please use prettier formatter from the next time. I have done it this time.


Substringing might fail in certain scenarios

I identified a scenario, where the existing logic crops too much of the string. It would be preferred to use the information from the scanner.
https://github.com/IBM/dbb-zappbuild/blob/35adba0136c4f5c9730b847d3e59d5dfea9107a7/languages/ZunitConfig.groovy#L45

Delivered as part of #34


Improve server performances by using byte buffers

When putting values, the http server should read them by using byte buffers.
Be aware: byte buffers shouldn't waste too much memory.

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 23 Dec 2009 at 4:25

See terrastore.server.io.ThreadLocalByteBuffer and how it's used.

Original comment by<EMAIL_ADDRESS>on 28 Dec 2009 at 1:46

Changed state: Fixed


[Bug]: Client not in sync with torii grpc

Dojo.js Version
1.0.0-alpha.0
What happened?
Components in the react examples are not being updated from torii.
I'using the code below on my setup, as documented.
const sync = await getSyncEntities(
    toriiClient,
    contractComponents as any,
    []
);

What is the expected behavior?
Components / game state should always be in sync with torii.
Steps to reproduce
The react-phaser-example example seems to be the only one not using overrides.
It relies on getSyncEntities() as exemplified above.

Deploy dojo starter locally
Run torii locally
run the phaser client
try to move the rock (WASD keys).
Look at torii logs, it is being indexed!
Game state is not updated.

As a side note, I understand overrides are useful sometimes, but we have to replicate game logic off-chain.
Moving a square on the screen is a good override example, but should not be THE Dojo example.
Newcomers will think we have to override every call, otherwise it will not be updated. That's a mistake I made when I started with Dojo, and it gave me a lot of headaches and fud on Torii.
It is my opinion there should be one specific example explaining how to do overrides, all the others should rely on Torii as the norm.
Trace
No response
Is there an existing issue for this?

[ ] I have searched the existing issues and verified no issue exits for this problem.

@ponderingdemocritus can I be assigned ?


Upload GameCell icon

In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:

[ ] Filename in the lowercase format
[ ] Image format: png
[ ] Image size: 256 by 256 px

lowercase file name


TableStorage provider should add gzip option

I'm assuming that our TableStorage provider only supports storing objects in a single text column which limits us to 64k.  We should add a gzip option as lots of people will want to store more data then that in conversation state.
We can also up the limit by spanning objects across multiple text columns.

Hello, @Stevenic, I would like to work on this

We have depricated the Table Storage Provider, and this Issue is no longer relevant.


Removed 'unit test' code from MessageListener. Cleaned up MetadataReader

Not a lot, but moved code that was UnitTest only, into the unit test. Also, moved handles() checks to happen once, instead of 3x times.

@dorkbox
Looks like you have spent quite some work on your version of mbassador. I am happy to see that. Your pull request contains about twenty commits with a lot of code. I can not merge that reight now as it seems that you have removed some configuration functionality and also other parts of the public interface. But your code looks interesting. What kind of benefits do you get from using disruptor in this particular case? Do you have such a huge amount of messages to process? And what about asm reflection? Is that really so much faster?
Maybe you can take a look at my repo eventbus-performance and benchmark your version with the default mbassador?

Oh WHOOPS !
Originally, the pull request was going to be for just adding
multi-parameter methods/messages and the lock upgrade -- but I ran into
problems with "Enveloped" methods, and the pull request was not supposed to
include what it did just some unit-test cleanup - and when I made the PR,
I thought the pull request was for a specific commit -- not HEAD ! My
apologies.
Yes, I have HUGE numbers of messages (the goal is to replace a library I
use for networking)

lock-upgrades (from a readLock -> writeLock, safer DCL)  (
https://code.google.com/p/concurrent-locks/)
using the disruptor
https://github.com/LMAX-Exchange/disruptor/wiki/Performance-Results  is
significantly faster, also no need for extra objects to get created, more
specifically when calling publishAsync().
using reflectASM https://github.com/EsotericSoftware/reflectasm is
significantly faster

ReflectASM generates (and injects) bytecode that calls the method directly,
so (minus the bytecode generation part), it is almost as fast as direct
invocation (and significantly faster than reflection, even considering
inflation). Additionally, stack traces with reflectASM look a lot better.
I'll run some benchmarks VS the default mbassador, and let you know -- I
haven't run any performance benchmarks yet, as I've just been working on
just merging the features of the two projects.
On Mon, Feb 9, 2015 at 12:57 PM, Benjamin Diedrichsen <
<EMAIL_ADDRESS>wrote:

@dorkbox https://github.com/dorkbox
Looks like you have spent quite some work on your version of mbassador. I
am happy to see that. Your pull request contains about twenty commits with
a lot of code. I can not merge that reight now as it seems that you have
removed some configuration functionality and also other parts of the public
interface. But your code looks interesting. What kind of benefits do you
get from using disruptor in this particular case? Do you have such a huge
amount of messages to process? And what about asm reflection? Is that
really so much faster?
Maybe you can take a look at my repo eventbus-performance and benchmark
your version with the default mbassador?
—
Reply to this email directly or view it on GitHub
https://github.com/bennidi/mbassador/pull/97#issuecomment-73497386.

I understand that disruptor would reduce the synchronization overhead of the synchronized queues. Are you using it to replace the async message publication part only?
Regarding reflection, I am not so sure about the performance increase. JIT optimization is pretty efficient and I once benchmarked reflection (ReflectiveHandlerInvocation) with direct method invocation using a custom InvocationHandler implementation. Reflection was actually faster (suprisingly). I have not been able to fully make sense of it because there is a lot of contradicting talk out there about reflection performance and JIT optimizations. Another question is: Would reflectASM work on Dalvik?
And can you explain your ideas about the concurrent-locks implementation, regarding upgrade and all? Sounds interesting.

Yes, I'm using the disruptor exclusively for async message publication.
RE: reflection, JIT optimization is pretty good, and you're right, there is
a lot of contradicting talk about it, and given that I've worked a lot with
EsotericSoftware (really smart guy), I'm trusting his info. However, to
answer your question: ReflectASM doesn't work on Dalvik. Fortunately, it's
easy to take it out.
I'll test reflectASM/reflection, and compare the two -- and get back to
you. Your benchmark suite is nice. One question though -- does it spin-up
the JVM so it can settle?
Concurrent-locks isn't my impl, however, from what I understand, it
introduces a new lock, upgradeLock, which is permits readLocks, but blocks
writeLocks. If the lock is upgraded to a writeLock, it will block readLocks
and writeLocks. The idea is to remove the need for double-checked-locking.
Basically, it does what one would initially expect with locks, to go from a
readLock -> writeLock -> readLock.
On Mon, Feb 9, 2015 at 3:39 PM, Benjamin Diedrichsen <
<EMAIL_ADDRESS>wrote:

I understand that disruptor would reduce the synchronization overhead of
the synchronized queues. Are you using it to replace the async message
publication part only?
Regarding reflection, I am not so sure about the performance increase. JIT
optimization is pretty efficient and I once benchmarked reflection
(ReflectiveHandlerInvocation) with direct method invocation using a custom
InvocationHandler implementation. Reflection was actually faster
(suprisingly). I have not been able to fully make sense of it because there
is a lot of contradicting talk out there about reflection performance and
JIT optimizations. Another question is: Would reflectASM work on Dalvik?
And can you explain your ideas about the concurrent-locks implementation,
regarding upgrade and all? Sounds interesting.
—
Reply to this email directly or view it on GitHub
https://github.com/bennidi/mbassador/pull/97#issuecomment-73518684.

The benchmarking library does not yet include a ramp-up phase - actually I
wonder why. Should be very easy to build it in terms of a workload that is
run before everything else.  I will try to have a look into it tomorrow and
see whether I can find a quick solution. Unfortunately I am quite busy with
my work on OpenMed so I cannot put in much effort.
I think it will be very interesting to see the differences between your and
the my version.
After a quick look into the concurrent-locking library it seems to have the
same semantics as the lock handling in the SubscriptionManager. I was
trying to keep out external dependencies (which is why I built all this
ReflectionUtils crap instead of using a good library for it). Maybe its
time to give up this no dependency philosophy?!
I will tell you tomorrow how far I got regarding the benchmark suite.
2015-02-09 16:00 GMT+01:00 dorkbox<EMAIL_ADDRESS>
Yes, I'm using the disruptor exclusively for async message publication.
RE: reflection, JIT optimization is pretty good, and you're right, there is
a lot of contradicting talk about it, and given that I've worked a lot with
EsotericSoftware (really smart guy), I'm trusting his info. However, to
answer your question: ReflectASM doesn't work on Dalvik. Fortunately, it's
easy to take it out.
I'll test reflectASM/reflection, and compare the two -- and get back to
you. Your benchmark suite is nice. One question though -- does it spin-up
the JVM so it can settle?
Concurrent-locks isn't my impl, however, from what I understand, it
introduces a new lock, upgradeLock, which is permits readLocks, but blocks
writeLocks. If the lock is upgraded to a writeLock, it will block readLocks
and writeLocks. The idea is to remove the need for double-checked-locking.
Basically, it does what one would initially expect with locks, to go from a
readLock -> writeLock -> readLock.
On Mon, Feb 9, 2015 at 3:39 PM, Benjamin Diedrichsen <
<EMAIL_ADDRESS>wrote:

I understand that disruptor would reduce the synchronization overhead of
the synchronized queues. Are you using it to replace the async message
publication part only?
Regarding reflection, I am not so sure about the performance increase.
JIT
optimization is pretty efficient and I once benchmarked reflection
(ReflectiveHandlerInvocation) with direct method invocation using a
custom
InvocationHandler implementation. Reflection was actually faster
(suprisingly). I have not been able to fully make sense of it because
there
is a lot of contradicting talk out there about reflection performance and
JIT optimizations. Another question is: Would reflectASM work on Dalvik?
And can you explain your ideas about the concurrent-locks implementation,
regarding upgrade and all? Sounds interesting.
—
Reply to this email directly or view it on GitHub
https://github.com/bennidi/mbassador/pull/97#issuecomment-73518684.

—
Reply to this email directly or view it on GitHub
https://github.com/bennidi/mbassador/pull/97#issuecomment-73522235.

Hm. I think that a "no dependency" solution, as much as possible, is a good
thing.
I'll visit locking in the benchmarks as well, to see what impact they have.
I didn't investigate the similarities between it and what you did though.
On Mon, Feb 9, 2015 at 8:17 PM, Benjamin Diedrichsen <
<EMAIL_ADDRESS>wrote:

The benchmarking library does not yet include a ramp-up phase - actually I
wonder why. Should be very easy to build it in terms of a workload that is
run before everything else. I will try to have a look into it tomorrow and
see whether I can find a quick solution. Unfortunately I am quite busy with
my work on OpenMed so I cannot put in much effort.
I think it will be very interesting to see the differences between your and
the my version.
After a quick look into the concurrent-locking library it seems to have the
same semantics as the lock handling in the SubscriptionManager. I was
trying to keep out external dependencies (which is why I built all this
ReflectionUtils crap instead of using a good library for it). Maybe its
time to give up this no dependency philosophy?!
I will tell you tomorrow how far I got regarding the benchmark suite.
2015-02-09 16:00 GMT+01:00 dorkbox<EMAIL_ADDRESS>
Yes, I'm using the disruptor exclusively for async message publication.
RE: reflection, JIT optimization is pretty good, and you're right, there
is
a lot of contradicting talk about it, and given that I've worked a lot
with
EsotericSoftware (really smart guy), I'm trusting his info. However, to
answer your question: ReflectASM doesn't work on Dalvik. Fortunately,
it's
easy to take it out.
I'll test reflectASM/reflection, and compare the two -- and get back to
you. Your benchmark suite is nice. One question though -- does it spin-up
the JVM so it can settle?
Concurrent-locks isn't my impl, however, from what I understand, it
introduces a new lock, upgradeLock, which is permits readLocks, but
blocks
writeLocks. If the lock is upgraded to a writeLock, it will block
readLocks
and writeLocks. The idea is to remove the need for
double-checked-locking.
Basically, it does what one would initially expect with locks, to go
from a
readLock -> writeLock -> readLock.
On Mon, Feb 9, 2015 at 3:39 PM, Benjamin Diedrichsen <
<EMAIL_ADDRESS>wrote:

I understand that disruptor would reduce the synchronization overhead
of
the synchronized queues. Are you using it to replace the async message
publication part only?
Regarding reflection, I am not so sure about the performance increase.
JIT
optimization is pretty efficient and I once benchmarked reflection
(ReflectiveHandlerInvocation) with direct method invocation using a
custom
InvocationHandler implementation. Reflection was actually faster
(suprisingly). I have not been able to fully make sense of it because
there
is a lot of contradicting talk out there about reflection performance
and
JIT optimizations. Another question is: Would reflectASM work on
Dalvik?
And can you explain your ideas about the concurrent-locks
implementation,
regarding upgrade and all? Sounds interesting.
—
Reply to this email directly or view it on GitHub
https://github.com/bennidi/mbassador/pull/97#issuecomment-73518684.

—
Reply to this email directly or view it on GitHub
https://github.com/bennidi/mbassador/pull/97#issuecomment-73522235.

—
Reply to this email directly or view it on GitHub
https://github.com/bennidi/mbassador/pull/97#issuecomment-73570904.

@dorkbox
I thought about a configurable ramp up period and I remember why I did not include it. Firstly, benchmarks are intended to run for a longer time (it's not a micro benchmarking library) such that JIT will run and the JVM settles in the beginning of the run. This will be plotted in the graph as well such that you can actually see execution times dropping while the JIT compiler is doing its work. I think this is actually quite nice. Secondly, ramp up requirements might vary a lot between different scenarios. I think it is fairly easy to setup a workload as "ramp-up" work and make all the others start when it finished. This way warming up of the JVM does not need an extra concept in the library but is configurable with the basic mechanisms it provides. I think that is a better solution. But there might some sugar missing to do that elegantly. I would be happy to hear your opinion about it after you tried it yourself. Happy coding!

Good point on the ramp-up, and that this is not a micro benchmark library.
I agree and don't think it's necessary. Extra options to run a warmup
session would likely be good.
Here's some initial tests. I also included JVM memory usage, to help
understand the data. I don't think I have the disruptor completely worked
out, as it seems really, really slow. One thing I did notice is that the
default LBQ setting on MBassador used up to 1 GB of ram! Changing it to
have an LBQ of size 16 dropped it to about 512 MB without affecting too
much. The disruptor with a ring buffer of size 16 uses ~62 MB.
On Tue, Feb 10, 2015 at 10:02 AM, Benjamin Diedrichsen <
<EMAIL_ADDRESS>wrote:

@dorkbox https://github.com/dorkbox
I thought about a configurable ramp up period and I remember why I did not
include it. Firstly, benchmarks are intended to run for a longer time (it's
not a micro benchmarking library) such that JIT will run and the JVM
settles in the beginning of the run. This will be plotted in the graph as
well such that you can actually see execution times dropping while the JIT
compiler is doing its work. I think this is actually quite nice. Secondly,
ramp up requirements might vary a lot between different scenarios. I think
it is fairly easy to setup a workload as "ramp-up" work and make all the
others start when it finished. This way warming up of the JVM does not need
an extra concept in the library but is configurable with the basic
mechanisms it provides. I think that is a better solution. But there might
some sugar missing to do that elegantly. I would be happy to hear your
opinion about it after you tried it yourself. Happy coding!
—
Reply to this email directly or view it on GitHub
https://github.com/bennidi/mbassador/pull/97#issuecomment-73665437.

You say "here are some initial tests". I ask, where ?! :)
There is no attachment or anything. Did you plot some graphs? Can you maybe post them in a new issue in the eventbus-performance repo? And reference it here?

It was attached - but I did this over email, which might explain why you
didn't see it.
I'll post them as an issue in the eventbus-performance repo.
On Wed, Feb 11, 2015 at 3:48 PM, Benjamin Diedrichsen <
<EMAIL_ADDRESS>wrote:

You say "here are some initial tests". I ask, where ?! :)
There is no attachment or anything. Did you plot some graphs? Can you
maybe post them in a new issue in the eventbus-performance repo? And
reference it here?
—
Reply to this email directly or view it on GitHub
https://github.com/bennidi/mbassador/pull/97#issuecomment-73892429.


Reproducing Table 2 from Orion Paper

I am trying to reproduce the numbers from the conv/bnorm toy benchmark from the Orion paper . I saw some code provided here but did not see a script to run bnorm and conv in parallel on different streams. I rewrote this benchmark in the following script and reran on H100. I got the following results and didn't see any significant speedup from running in parallel. Any advise?
(.venv) ubuntu@209-20-159-95:~/conv_bnorm$ python3 main.py
------------------------------
solo_conv: 0.42575 +- 0.00234 ms
solo_bnorm: 0.14967 +- 0.00172 ms
------------------------------
conv_conv_seq 0.80283 +- 0.00713 ms
conv_conv_par 0.77428 +- 0.01028 ms
speedup: 1.04x
------------------------------
bnorm_bnorm_seq 0.25994 +- 0.00549 ms
bnorm_bnorm_par 0.25029 +- 0.00464 ms
speedup: 1.04x
------------------------------
conv_bnorm_seq 0.53533 +- 0.00751 ms
conv_bnorm_par 0.51155 +- 0.01055 ms
speedup: 1.05x
------------------------------
bnorm_conv_seq 0.53632 +- 0.00601 ms
bnorm_conv_par 0.52873 +- 0.00558 ms
speedup: 1.01x
------------------------------

Source:
import os
from platform import node
import sched
import sys
import torch
import torch.distributed as dist
import torch.multiprocessing as mp
from torchvision import models, datasets, transforms
from torch.nn.parallel import DistributedDataParallel as DDP
import torch.nn.functional as F
from torch.multiprocessing import Pool, Process, set_start_method, Manager, Value, Lock
from datetime import timedelta
import random
import numpy as np
import time
import os
import argparse
import threading

class Conv(torch.nn.Module):
    def __init__(self):
        super().__init__()
        self.conv = torch.nn.Conv2d(3, 64, kernel_size=7, stride=2, padding=3, bias=False)

    def forward(self, x):
        y = self.conv(x)

class Bnorm(torch.nn.Module):
    def __init__(self):
        super().__init__()
        self.bn = torch.nn.BatchNorm2d(64)

    def forward(self, x):
        x = self.bn(x)

bs = 32
conv_model = Conv().cuda().eval()
bnorm_model = Bnorm().cuda().eval()
conv_data = torch.rand([bs,3,224,224]).cuda().contiguous()
bnorm_data = torch.rand([bs,64,122,122]).cuda().contiguous()
conv_datas = [conv_data.clone() for _ in range(2)]
bnorm_datas = [bnorm_data.clone() for _ in range(2)]

def run_conv(curr_stream, data_idx=0):
    with torch.no_grad():
        with torch.cuda.stream(curr_stream):
            output = conv_model(conv_datas[data_idx])

def run_bnorm(curr_stream, data_idx=0):
    with torch.no_grad():
        with torch.cuda.stream(curr_stream):
            output = bnorm_model(bnorm_datas[data_idx])

stream = torch.cuda.Stream()
streamA = torch.cuda.Stream()
streamB = torch.cuda.Stream()

event1 = torch.cuda.Event(enable_timing=True)
event2 = torch.cuda.Event(enable_timing=True)
event3 = torch.cuda.Event(enable_timing=True)
event4 = torch.cuda.Event(enable_timing=True)

def solo(fun):
    torch.cuda.synchronize()

    fun(streamA)
    event2.record(streamA)

    event1.record(stream)
    event2.wait(stream=stream)
    event4.record(stream)

    torch.cuda.synchronize()
    return event1.elapsed_time(event4)

def seq(funA, funB):
    torch.cuda.synchronize()

    funA(streamA)
    funB(streamA, data_idx=1)
    event2.record(streamA)

    event1.record(stream)
    event2.wait(stream=stream)
    event4.record(stream)

    torch.cuda.synchronize()
    return event1.elapsed_time(event4)

def par(funA, funB):
    torch.cuda.synchronize()

    funA(streamA)
    funB(streamB, data_idx=1)
    event2.record(streamA)
    event3.record(streamB)

    event1.record(stream)
    event2.wait(stream=stream)
    event3.wait(stream=stream)
    event4.record(stream)

    torch.cuda.synchronize()
    return event1.elapsed_time(event4)

def timeit(fun):
    times = []
    for i in range(100):
        times.append(fun())
    times = times[10:]
    avg = np.mean(times)
    std = np.std(times)
    print(f'{avg:.5f} +- {std:.5f} ms')
    return avg

def speedup(seq_time, par_time):
    print(f'speedup: {seq_time/par_time:.2f}x')

print('------------------------------')
print(f'solo_conv: ', end='')
timeit(lambda: solo(run_conv))
print(f'solo_bnorm: ', end='')
timeit(lambda: solo(run_bnorm))
print('------------------------------')
print(f'conv_conv_seq ', end='')
seq_time = timeit(lambda: seq(run_conv, run_conv))
print(f'conv_conv_par ', end='')
par_time = timeit(lambda: par(run_conv, run_conv))
speedup(seq_time, par_time)
print('------------------------------')
print(f'bnorm_bnorm_seq ', end='')
seq_time = timeit(lambda: seq(run_bnorm, run_bnorm))
print(f'bnorm_bnorm_par ', end='')
par_time = timeit(lambda: par(run_bnorm, run_bnorm))
speedup(seq_time, par_time)
print('------------------------------')
print(f'conv_bnorm_seq ', end='')
seq_time = timeit(lambda: seq(run_conv, run_bnorm))
print(f'conv_bnorm_par ', end='')
par_time = timeit(lambda: par(run_conv, run_bnorm))
speedup(seq_time, par_time)
print('------------------------------')
print(f'bnorm_conv_seq ', end='')
seq_time = timeit(lambda: seq(run_bnorm, run_conv))
print(f'bnorm_conv_par ', end='')
par_time = timeit(lambda: par(run_bnorm, run_conv))
speedup(seq_time, par_time)
print('------------------------------')

Hello!
I have not tried this example on an H100 GPU, only on a V100.
The problem with the code snippet (i think), is that there are a lot of torch.cuda.synchronize calls which  add overhead in kernel launching, and my guess is that the  kernels will never end up executing in parallel.
Now, they way that i recommend getting the timings is by removing the torch.cuda.synchronize , and use the NVIDIA Nsight Systems tool to see what actually is happening in the GPU.
For example, i adapted your snippet to:
import os
from platform import node
import sched
import sys
import torch
import torch.distributed as dist
import torch.multiprocessing as mp
from torchvision import models, datasets, transforms
from torch.nn.parallel import DistributedDataParallel as DDP
import torch.nn.functional as F
from torch.multiprocessing import Pool, Process, set_start_method, Manager, Value, Lock
from datetime import timedelta
import random
import numpy as np
import time
import os
import argparse
import threading

class Conv(torch.nn.Module):
    def __init__(self):
        super().__init__()
        self.conv = torch.nn.Conv2d(3, 64, kernel_size=7, stride=2, padding=3, bias=False)

    def forward(self, x):
        y = self.conv(x)
        return y

class Bnorm(torch.nn.Module):
    def __init__(self):
        super().__init__()
        self.bn = torch.nn.BatchNorm2d(64)

    def forward(self, x):
        x = self.bn(x)
        return x

conv_model = Conv().cuda()
bnorm_model = Bnorm().cuda()
conv_data = torch.rand([64,3,224,224]).cuda().contiguous()
bnorm_data = torch.rand([32,64,112,112]).cuda().contiguous()
conv_datas = [conv_data.clone() for _ in range(2)]
bnorm_datas = [bnorm_data.clone() for _ in range(2)]

stream = torch.cuda.Stream()
streamA = torch.cuda.Stream()
streamB = torch.cuda.Stream()

def my_test(s1, s2):
    torch.cuda.synchronize()
    for i in range(100):
        if i==10:
            torch.cuda.synchronize()
            start = time.time()

        with torch.cuda.stream(s1):
            output_b1 = bnorm_model(bnorm_data) # bn

        with torch.cuda.stream(s1):
            output_c1 = conv_model(conv_data) # conv
            #print(output_c1.shape)

    torch.cuda.synchronize()
    end = time.time()
    print(f"It took {(end-start)*1000} ms")

torch.cuda.profiler.cudart().cudaProfilerStart()
my_test(streamA, streamB)
torch.cuda.profiler.cudart().cudaProfilerStop()

and run it on a V100 GPU (with cuda 11.6) and got 1.2-1.3x overall speedup compared to using the same stream for the two kernels.
To verify that the kernels, indeed, run together, i profiled with the Nvidia NSight Systems tool, running:
nsys profile -w true -t cuda,nvtx,osrt,cudnn,cublas -s none -o output_nsys --cudabacktrace=true --capture-range=cudaProfilerApi --stop-on-range-end=true  -f true -x true python3 test1.py
and then checked the trace, and saw:

which means the kernels actually are scheduled together.
Now, if i try to schedule the two convolution kernels together (using the same script, but both streams run conv) i see the following trace:

meaning that the kernels are serialized
So i would recommend using the nsys tool to see what happens. Unfortunately, i do not have access to an H100 GPU, to see exactly what happens.
I hope this helped, and please let me know if anything else is needed!


Generic schema mapping

This PR makes the schema mapping process generic and included in the common lib.

lgtm :shipit:


Push only failed container logs

Hi team,
I was looking for configuration that helps me to push only logs for the failed containers. But i am not finding the best configuration fo this. Can someone help me on this.
When i was checking with bot on grafana website . It showed me something like mentioned below. But that Promtail  configuration i am not seeing in values.yaml of k8s-monitoring chart.  So can some one help me on this.

To push logs only for failed containers in Grafana, you can use Promtail's label filtering feature. Promtail is the agent responsible for scraping logs and sending them to Loki.
You can configure Promtail to filter logs based on specific labels, such as the container status. Here's an example of how you can achieve this:
Edit the values.yaml file of your Grafana Helm chart.
Locate the promtail section and add the following configuration under extraScrapeConfigs:
extraScrapeConfigs:

job_name: kubernetes-pods
kubernetes_sd_configs:

role: pod
relabel_configs:
source_labels: [__meta_kubernetes_pod_container_status]
regex: Failed
action: keep
source_labels: [__meta_kubernetes_pod_container_status]
regex: .*
action: drop
This configuration will filter logs only for containers with a status of "Failed" and drop logs for containers with any other status.

Save the changes and redeploy the Grafana Helm chart.
After applying this configuration, Promtail will only push logs for failed containers to Loki, providing you with the desired visibility into the failed containers' logs.

This should definitely be doable with a few rules in the discovery portion of the pod logs pipeline. We just need to translate them into Alloy rules.
logs:
  pod_logs:
    extraRelabelingRules: |
      rule {
        source_labels = ["__meta_kubernetes_pod_container_status"]
        regex = "Failed"
        action = "keep"
      }

I don't think we need the other rule because the first keep rule should implicitly drop anything that doesn't match the regex.

@petewall thanks a lot for configuration, it is working fine.
Can you please share what all values will be there for __meta_kubernetes_pod_container_status?

You may need to adjust as necessary. here are the list of phases:
https://github.com/kubernetes/kubernetes/blob/v1.27.2/pkg/apis/core/types.go#L2514-L2532


MSID: 99545 Version: 1 DOI: 10.1101/2<IP_ADDRESS>0955

MSID: 99545
Version: 1
Preprint DOI: https://doi.org/10.1101/2<IP_ADDRESS>0955
Step 1. Awaiting reviews
Editorial to post reviews via hypothesis
Useful links:

DocMap: https://data-hub-api.elifesciences.org/enhanced-preprints/docmaps/v2/by-publisher/elife/get-by-manuscript-id?manuscript_id=99545
New model tracking: https://docs.google.com/spreadsheets/d/1_fHaoOy7hjyocptKtVJRijeNpUY4hBS7Ck_aVmx6ZJk/
Reviews on sciety: https://sciety.org/articles/activity/10.1101/2<IP_ADDRESS>0955

For trouble shooting (e.g. no Docmaps available):

DocMap issue addressing: https://miro.com/app/board/uXjVNCwK6EI=/
Explore DataHub DocMaps API: https://lookerstudio.google.com/reporting/4c2f0368-babb-4beb-b5b3-497e7e7b0f08/page/ejphD
Unmatched submissions and preprints: https://lookerstudio.google.com/u/0/reporting/9f86204f-3bf7-477c-9b18-5c5ef141bf69/page/p_gxi57ha93c
Unmatched manuscripts spreadsheet: https://docs.google.com/spreadsheets/d/15QcK8w-ssB7109RQEDtFpJPZ0J5HTGxoHa_2TtpMBbg/edit#gid=1336081641

Step 2. Preview reviewed preprint
Production QC content ahead of publication
Instructions:

QC preview: https://prod--epp.elifesciences.org/previews/99545v1
Update ticket with any problems (add blocked label)
When QC OK, add QC OK label to ticket and add publication date and time to https://docs.google.com/spreadsheets/d/1amAlKvdLcaDp5W8Z8g77NmkwbMF5n_u89ArSqPMO8jg
Move card to next column
(At end of the day post link in #enhanced-preprint and ask for PDF to be generated)

Useful links:

Preprint DOI :  https://doi.org/10.1101/2<IP_ADDRESS>0955
Confirm reviews returned by EPP: https://prod--epp.elifesciences.org/api/reviewed-preprints/99545/v1/reviews
To update the MECA path in the docmap: https://docs.google.com/spreadsheets/d/1mctCQuNFBjSn97Lihy7_vBO6z7-N-oqyLv4clyi6zHg

Step 3: Awaiting search reindex
This step adds the reviewed preprint to the homepage: https://elifesciences.org
The search reindex is triggered once an hour. We need the reviewed preprint to be indexed as the search application serves the journal homepage.
Useful links:

Jenkins pipeline to reindex search can be triggered sooner or monitored here: https://alfred.elifesciences.org/job/process/job/process-reindex-reviewed-preprints/

Step 4: Published! PDF requested
Waiting for PDF to be generated
Useful links:

PDF tracking: https://docs.google.com/spreadsheets/d/106_XeDjmuBae7gexOTNzg60lapeqjl2aRn9DzupGyS8/

Step 5: Introduce PDF to data folder and git repo
Upload PDF to relevent folder in git repo https://github.com/elifesciences/enhanced-preprints-data/
Step 6: Done!

[ ] Kettle is on!


LL-1552 Show transaction status instead of asset icon in portfolio

We keep the use of the account name instead of "sent/receive" but lose the currency icon.
Type
UI Polish
Context
https://ledgerhq.atlassian.net/browse/LL-1552
Parts of the app affected / Test plan
On the portfolio history, the list rows should no longer display the currency icon but rather the transaction status indicator.

@KhalilBellakrid  is this what we want or do we also want to have the account name text be replaced by Received/Sent ?

@khalilbenihoud is this what we want or do we also want to have the account name text be replaced by Received/Sent ?

If we show received sent here too then theres no way of knowing from which account it comes, this is the balance, we get the direction and the source 🤷♂


[Docs] Update safeAreaLayoutGuide usage - now a property of UIView

First, thanks for the great project! :)
Just a minor update to the docs given that safeAreaLayoutGuide is no longer a property of UIViewController, but instead UIView.
References

https://github.com/SnapKit/SnapKit/issues/448#issuecomment-330114911
UIView - safeAreaLayoutGuide

Thanks!


Module not found: Error: Cannot resolve module 'sass-loader'

Versions

nuxt: ^2.15.4
node: v12.22.0
Sass: ^1.32.8
sass loader: ^10.1.1

Reproduction
1 - deploy to Digital Ocean App Platform which runs the npm run build and npm run start commands at build.
2 - see the following error on all components and global app.js during the build which results in a Build Error: Non-Zero Exit:
Module not found: Error: Can't resolve 'sass-loader' in '/workspace'

Working in npm run dev works fine and site compiles as expected.

View package.json

{
  "name": "nuxtjs-test",
  "version": "1.0.0",
  "private": true,
  "scripts": {
    "dev": "nuxt",
    "build": "nuxt build",
    "start": "nuxt start",
    "generate": "nuxt generate"
  },
  "dependencies": {
    "@nuxtjs/apollo": "^4.0.1-rc.5",
    "@nuxtjs/dotenv": "^1.4.1",
    "@vuejs-community/vue-filter-date-format": "^1.6.3",
    "@vuejs-community/vue-filter-truncate": "^1.0.4",
    "core-js": "^3.10.0",
    "dotenv": "^8.2.0",
    "fitty": "^2.3.3",
    "flickity": "^2.2.2",
    "fs": "0.0.1-security",
    "headroom.js": "^0.12.0",
    "node-fetch": "^2.3.0",
    "nuxt": "^2.15.4",
    "nuxt-i18n": "^6.22.3",
    "nuxt-seomatic-meta": "^0.2.2",
    "reading-time": "^1.3.0",
    "vue-check-view": "^0.3.0",
    "vue-lazyload": "^1.3.3",
    "vue-rellax": "^0.2.0",
    "@nuxtjs/style-resources": "^1.0.0"
  },
  "devDependencies": {
    "fibers": "^5.0.0",
    "node-sass": "^5.0.0",
    "sass": "^1.32.8",
    "sass-loader": "^10.1.1"
  }
}

I have installed sass loader as per the suggestion in this wepback issue - npm install sass-loader --save-dev
but this made no difference.

View code from one example component

<template>
	<svg class="logo" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
	  viewBox="0 0 66 66" enable-background="new 0 0 66 66" xml:space="preserve">
		<g>
			<polygon class="logo__f" points="33,66 19.5,66 19.5,49.5 33,49.5 46.5,49.5 46.5,33 33,33 19.5,33 19.5,16.5 33,16.5 46.5,16.5
				46.5,0 66,0 66,16.5 66,33 66,41.25 41.25,66"/>
			<polygon class="logo_corner" points="19.5,0 24.75,0 0,24.75 0,16.5 0,0"/>
		</g>
	</svg>
</template>

<script>
    export default {

    }
</script>

<style lang="scss">
	.logo {
		display:block;
		&__f {
			fill:$red;
		}
		&__corner {
			fill:$black;
		}
	}

</style>

View nuxt.config.js

require('dotenv').config();

export default {
  // Global page headers (https://go.nuxtjs.dev/config-head)
  head: {
    title: 'Boilerplate',
    meta: [
      { charset: 'utf-8' },
      { name: 'viewport', content: 'width=device-width, initial-scale=1' },
      { hid: 'description', name: 'description', content: '' },
      { name:'application-name', content:' '},
      { name:'msapplication-TileColor', content:'#FFFFFF' },
      { name:'msapplication-TileImage', content:'/favicon/mstile-144x144.png' },
      { name:'msapplication-square70x70logo', content:'/favicon/mstile-70x70.png' },
      { name:'msapplication-square150x150logo', content:'/favicon/mstile-150x150.png' },
      { name:'msapplication-wide310x150logo', content:'/favicon/mstile-310x150.png' },
      { name:'msapplication-square310x310logo', content:'/favicon/mstile-310x310.png' }
    ],
    link: [
      { rel: 'icon', type: 'image/x-icon', href: '/favicon/favicon.ico' },
      { rel:'apple-touch-icon-precomposed', sizes:'57x57', href:'/favicon/apple-touch-icon-57x57.png'},
        { rel:'apple-touch-icon-precomposed', sizes:'114x114', href:'/favicon/apple-touch-icon-114x114.png'},
        { rel:'apple-touch-icon-precomposed', sizes:'72x72', href:'/favicon/apple-touch-icon-72x72.png'},
        { rel:'apple-touch-icon-precomposed', sizes:'144x144', href:'/favicon/apple-touch-icon-144x144.png'},
        { rel:'apple-touch-icon-precomposed', sizes:'60x60', href:'/favicon/apple-touch-icon-60x60.png'},
        { rel:'apple-touch-icon-precomposed', sizes:'120x120', href:'/favicon/apple-touch-icon-120x120.png'},
        { rel:'apple-touch-icon-precomposed', sizes:'76x76', href:'/favicon/apple-touch-icon-76x76.png'},
        { rel:'apple-touch-icon-precomposed', sizes:'152x152', href:'/favicon/apple-touch-icon-152x152.png'},
        { rel:'icon', type:'image/png', href:'/favicon/favicon-196x196.png', sizes:'196x196'},
        { rel:'icon', type:'image/png', href:'/favicon/favicon-96x96.png', sizes:'96x96'},
        { rel:'icon', type:'image/png', href:'/favicon/favicon-32x32.png', sizes:'32x32'},
        { rel:'icon', type:'image/png', href:'/favicon/favicon-16x16.png', sizes:'16x16'},
        { rel:'icon', type:'image/png', href:'/favicon/favicon-128.png', sizes:'128x128'},

      // Adobe fonts
      { rel:"stylesheet", href:"https://use.typekit.net/nys4ixd.css" }
    ]
  },
  // Public config variables
  publicRuntimeConfig: {
    nodeEnv:process.env.NODE_ENV,
    graphqlPath:process.env.GRAPHQL_PATH,
    serverHost:process.env.SERVER_HOST,
    serverPort:process.env.SERVER_PORT,
    apiBaseUrl:process.env.API_BASE_URL,
    baseUrl:process.env.BASE_URL,
    graphqlToken:process.env.GRAPHQL_TOKEN
  },
  // private config variables
  privateRuntimeConfig: {
    //graphqlToken:process.env.GRAPHQL_TOKEN
  },

  // auto import components
  components: true,

  // Plugins to run before rendering page (https://go.nuxtjs.dev/config-plugins)
  plugins: [
    '~/plugins/flexboxgrid/index',
    '~/plugins/vue-lazyload.client',
    '~/plugins/flickity.client.js',
    '~/plugins/headroom.client.js',
    '~/plugins/rellax.client.js',
    '~/plugins/vue-check-view.client.js',
    '~/plugins/vue-filter-date-format.js',
    '~/plugins/global-mixins.js',
    '~/plugins/vue-filter-truncate.js',
    '~/plugins/vue-filter-slug-to-title.js',
    '~/plugins/vue-filter-tidy-url.js'
  ],

  // dev mode
  dev: process.env.DEV_MODE,

  // Auto import components (https://go.nuxtjs.dev/config-components)
  components: true,

  // Modules for dev and build (recommended) (https://go.nuxtjs.dev/config-modules)
  buildModules: [
    '@nuxtjs/dotenv',
  ],

  // server settngs for host and port
  server: {
    port: process.env.SERVER_PORT, // default: 3000
    host: process.env.SERVER_HOST // default: localhost
  },

// Customize the progress-bar color
  loading: { color: '#FBE4D3', height: '4px' },

  // Modules (https://go.nuxtjs.dev/config-modules)
  modules: [
    '@nuxtjs/apollo',
    '@nuxtjs/style-resources',
    '@nuxtjs/axios', // needed for nuxt seomatic meta
  ],

  // Apollo config and endpoint for graph ql
  apollo: {
    includeNodeModules: true,
    clientConfigs: {
      default<EMAIL_ADDRESS>    }
  },

  // CSS style resources for sass compiling - variables only - no actual css.
  styleResources: {
    scss: [
      '~/assets/scss/_variables/colors.scss',
      '~/assets/scss/_variables/borders.scss',
      '~/assets/scss/_variables/max-widths.scss',
      '~/assets/scss/_variables/multiples.scss',
      '~/assets/scss/_variables/breakpoints.scss',
      '~/assets/scss/_variables/easings.scss',
      '~/assets/scss/_variables/fonts.scss',
      '~/assets/scss/_variables/shadows.scss',
      '~/assets/scss/_mixins/*.scss',

    ]
  },

  // Global CSS (https://go.nuxtjs.dev/config-css)
  css: [
    '~/assets/scss/global'
  ],

  // Build Configuration (https://go.nuxtjs.dev/config-build)
  build: {
    // extend webpack here
    extend (config, ctx) {
      config.node = {
        fs: 'empty'
      },
      config.resolve = config.resolve || {}
      config.resolve.symlinks = false
    }
  }
}

View full build logs

[2021-04-06T10:29:40.856087250Z] => Initializing build
[2021-04-06T10:29:40.877571213Z] => Retrieving source code to /workspace
[2021-04-06T10:29:40.895432852Z] => Selecting branch "master"
[2021-04-06T10:29:42.178532626Z] => Checking out commit "8ab23d8bc1291d040a3dca005614bff1597402ce"
[2021-04-06T10:29:42.526146434Z] => Validating environment
[2021-04-06T10:29:42.566589634Z]
[2021-04-06T10:29:42.566652742Z] => Building app using buildpacks
[2021-04-06T10:29:42.567664255Z] => Injecting app environment variables:
[2021-04-06T10:29:42.567689750Z]      GRAPHQL_PATH NODE_ENV SERVER_HOST SERVER_PORT GRAPHQL_TOKEN API_BASE_URL BASE_URL
[2021-04-06T10:29:42.572463641Z] => Configuring custom build command to be run at the end of the build:
[2021-04-06T10:29:42.588724793Z]      npm run build
[2021-04-06T10:29:42.758606985Z] => Running buildpack detection
[2021-04-06T10:29:42.758627944Z]
[2021-04-06T10:29:43.237661697Z] heroku/nodejs-engine  0.5.0
[2021-04-06T10:29:43.237691317Z] digitalocean/node     0.2.1
[2021-04-06T10:29:43.237707274Z] digitalocean/procfile 0.0.3
[2021-04-06T10:29:43.237768014Z] digitalocean/custom   0.1.0
[2021-04-06T10:29:43.295772438Z]
[2021-04-06T10:29:43.295793175Z] For documentation on the buildpacks used to build your app, please see:
[2021-04-06T10:29:43.295803809Z]    Node.js: https://do.co/apps-buildpack-node
[2021-04-06T10:29:43.297519140Z]
[2021-04-06T10:29:43.297699614Z] => Building app
[2021-04-06T10:29:43.297708517Z]
[2021-04-06T10:29:43.432977129Z] ---> Node.js Buildpack
[2021-04-06T10:29:43.442160359Z] ---> Installing toolbox
[2021-04-06T10:29:43.455192889Z] ---> - jq
[2021-04-06T10:29:43.761268262Z] ---> - yj
[2021-04-06T10:29:44.350162008Z] ---> Getting Node version
[2021-04-06T10:29:44.377100099Z] ---> Resolving Node version
[2021-04-06T10:29:46.614939605Z] ---> Downloading and extracting Node v12.22.0
[2021-04-06T10:30:00.300334614Z] ---> Parsing package.json
[2021-04-06T10:30:01.132708204Z] ---> No file to start server
[2021-04-06T10:30:01.132746281Z] ---> either use 'docker run' to start container or add index.js or server.js
[2021-04-06T10:30:01.159902028Z] Installing node_modules using npm (from package-lock.json)
[2021-04-06T10:30:28.989643630Z]
[2021-04-06T10:30:28.989695900Z] ><EMAIL_ADDRESS>postinstall /workspace/node_modules/@nuxt/babel-preset-app/node_modules/core-js
[2021-04-06T10:30:28.989706517Z] > node -e "try{require('./postinstall')}catch(e){}"
[2021-04-06T10:30:28.989712434Z]
[2021-04-06T10:30:29.193535228Z] Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!
[2021-04-06T10:30:29.193566415Z]
[2021-04-06T10:30:29.193573988Z] The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:
[2021-04-06T10:30:29.193579683Z] > https://opencollective.com/core-js
[2021-04-06T10:30:29.193586450Z] > https://www.patreon.com/zloirock
[2021-04-06T10:30:29.193589406Z]
[2021-04-06T10:30:29.193610977Z] Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)
[2021-04-06T10:30:29.193617411Z]
[2021-04-06T10:30:29.962475013Z]
[2021-04-06T10:30:29.962515658Z] ><EMAIL_ADDRESS>install /workspace/node_modules/watchpack-chokidar2/node_modules/fsevents
[2021-04-06T10:30:29.962524733Z] > node install.js
[2021-04-06T10:30:29.962530264Z]
[2021-04-06T10:30:30.122398103Z]
[2021-04-06T10:30:30.123034655Z] Skipping 'fsevents' build as platform linux is not supported
[2021-04-06T10:30:31.564158999Z]
[2021-04-06T10:30:31.564200076Z] ><EMAIL_ADDRESS>postinstall /workspace/node_modules/nuxt
[2021-04-06T10:30:31.564213667Z] > opencollective || exit 0
[2021-04-06T10:30:31.564229652Z]
[2021-04-06T10:30:31.835883826Z]
[2021-04-06T10:30:31.835923616Z] ><EMAIL_ADDRESS>postinstall /workspace/node_modules/core-js
[2021-04-06T10:30:31.835931708Z] > node -e "try{require('./postinstall')}catch(e){}"
[2021-04-06T10:30:31.835940629Z]
[2021-04-06T10:30:32.323132281Z]
[2021-04-06T10:30:32.323168942Z] ><EMAIL_ADDRESS>preinstall /workspace/node_modules/yarn
[2021-04-06T10:30:32.323177689Z] > :; (node ./preinstall.js > /dev/null 2>&1 || true)
[2021-04-06T10:30:32.323184272Z]
[2021-04-06T10:30:32.787376331Z]
[2021-04-06T10:30:32.787411905Z] ><EMAIL_ADDRESS>postinstall /workspace/node_modules/nodemon
[2021-04-06T10:30:32.787419454Z] > node bin/postinstall || exit 0
[2021-04-06T10:30:32.787424425Z]
[2021-04-06T10:30:33.021441164Z] Love nodemon?  Exit status 1
[2021-04-06T10:31:12.512219969Z] npm ERR!
[2021-04-06T10:31:12.512224458Z] npm ERR! Failed at the<EMAIL_ADDRESS>build script.
[2021-04-06T10:31:12.512229156Z] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
[2021-04-06T10:31:12.520463386Z]
[2021-04-06T10:31:12.520836694Z] npm ERR! A complete log of this run can be found in:
[2021-04-06T10:31:12.521221010Z] npm ERR!     /home/apps/.npm/_logs/2021-04-06T10_31_12_512Z-debug.log
[2021-04-06T10:31:12.532973711Z] building: exit status 1
[2021-04-06T10:31:12.537118498Z] ERROR: failed to build: exit status 1
[2021-04-06T10:31:12.607368101Z]
[2021-04-06T10:31:12.607394576Z] For documentation on the buildpacks used to build your app, please see:
[2021-04-06T10:31:12.607434598Z]    Node.js: https://do.co/apps-buildpack-node
[2021-04-06T10:31:12.609054662Z]
[2021-04-06T10:31:12.609496399Z]  ! Build failed (145)
[]

Hi @danielroe  thanks for getting back to me.
Ah I see, yes I think I am. Should NODE_ENV not be set as an environment variable? How should I set this differently? In the set up I have, NODE_ENV is currently setting whether dev mode is on or not. so if I don't set it to production, it will build in dev mode which I presume is not right?
Forgive my ignorance here, I'm still new to Nuxt.


Make Children constructor pub(crate).

#4197 intended to remove all pub constructors of Children and Parent and it seems like this one was missed.

bors r+


[Renderer] Full entity being rendered in reflections instead of only the part that is "visible" to the reflective area

https://user-images.githubusercontent.com/3608544/174451465-77853a23-6470-4134-ad98-6936cae6eba2.mp4

Should be fixed : d1f35f878ac3c3bbb1132748d154494336d063e8

Tested. Looks like it's fixed now. Thank you <3


discord

smh you did it way too fast. that email isn't ready. switch to your original email and i'll tell you when to switch.


Kermit Koin 1.1.3 is incompatible with Kotlin Test 1.7.0

Gradle is unable to resolve dependencies when kotlin-test:1.7.0  with kermit-koin:1.1.3.
'co.touchlab:kermit-koin:1.1.3' (debugRuntimeElements-published) --> 'co.touchlab:kermit-koin-android-debug:1.1.3' (debugRuntimeElements-published) --> 'org.jetbrains.kotlin:kotlin-test:1.6.20'

'org.jetbrains.kotlin:kotlin-test:{strictly 1.6.20}' because of the following reason: debugRuntimeClasspath uses version 1.6.20

Do you have some config you could post?

@kpgalligan Here's the gradle config with sample project
https://github.com/thipokch/kmm-demo/blob/fde6a79a76cb0cc8612fac60f4dab4bc21cc445f/shared/build.gradle.kts

@kpgalligan should I do a PR?

Hi @thipokch, I was able to recreate the error in your demo project and updating to the newest version of kermit (1.2.2) seems to fix it. Does that fix things for you?

@mrf7 It's fixed now. Thanks!


⚠ ClamAV has degraded performance

In e8aa5ae, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 160 ms

Resolved: ClamAV performance has improved in b60afba.


TP: remove Restangular dependency

At one point, I added Restangular (https://github.com/mgonto/restangular) to help simplify the TP services (traffic_portal/app/src/common/api), however, many of the services use Restangular and others do not. It might make sense to just remove the dependency on Restangular altogether so the service code can be consistent and one less dependency.

I could roll this into a branch I was working on where I was stripping out underscore.js - turns out restangular needs underscore.js (actually lodash, but apparently they're nearly the same thing) so that'd be perfect.


Issue with Center & Lower value

Hi
how is possible to center and be sure to see all values in drawing:
My Result:

My JS:
                var performance2 = new Chartist.Line('#performance2', {
                labels: [@foreach($performance_for_1['labels'] as $label)
                            '{{ $label }}',
                         @endforeach
                        ],
                series: [
                    {
                        "name": "second", "data":
                        [
                            @foreach($performance_for_2['values'] as $value)
                            {{ $value }},
                        @endforeach
                        ]
                    }
                ]}, {
                showLabel: false,
                axisX: {
                    showGrid: false,
                    showLabel: false,
                    offset: 0
                },
                axisY: {
                    showGrid: false,
                    showLabel: false,
                    offset: 0
                },
                low: 0,
                showArea: false,
                showPoint: true,
                fullWidth: true,
                chartPadding: {
                    right: 10,
                    left: 10,
                    bottom: 10,
                    top: 10
                },
                plugins: [
                    Chartist.plugins.ctPointLabels({
                        textAnchor: 'middle',
                        labelInterpolationFnc: function(value) {return value.toFixed(2) + 's'}
                    })
                ],
                lineSmooth: Chartist.Interpolation.cardinal({
                        fillHoles: true,
                    }),
                });

                performance2.on('draw', function(data) {
                if(data.type === 'line' || data.type === 'area') {
                    data.element.animate({
                    d: {
                        begin: 2000 * data.index,
                        dur: 2000,
                        from: data.path.clone().scale(1, 0).translate(0, data.chartRect.height()).stringify(),
                        to: data.path.clone().stringify(),
                        easing: Chartist.Svg.Easing.easeOutQuint
                    }
                    });
                }
                });

Hello @meandus 👋
Chartist has recently been updated to version 1.0 with some new exciting changes like ESM and TypeScript support. The migration guide can be found right here.
Please let me know if the issue is still relevant to you so we can further investigate it!


Prepare the 0.4.0 release.

Feels like we'd want to include #98 in this release as well..?

If you'd like, sure. I'll hold off merge but keep the PR open.
In my accounting that issue adds a new feature not supported by ./pants today at all; so it needs not block this feature. You're, presumably, anticipating a bug report by a fellow Pants dev who guesses this new feature works already.

If you don't mind frequent releases, no need to hold this (might even give us an opportunity to try out the brew tap release integration)

Exactly. I'm both a fan of frequent releases from main with no branching (~never break people, ~never advance the major version) and it would be great to try out the brew integration again.
Ok, I'll proceed.

And the tap-integration worked @kaos. Thanks again for that.


commas break the update values

update myTable set String = "7,9"

will update all values to "7" instead of "7,9"

This was fixed in the process of fixing Issue #1


[Varzesh3] Unable to extract OpenGraph title

$ youtube-dl --verbose http://video.varzesh3.com/video/112785/%D8%AF%D9%84%D9%87-%D8%B9%D9%84%DB%8C%D8%9B-%D8%B3%D8%AA%D8%A7%D8%B1%D9%87-%D9%86%D9%88%D8%B8%D9%87%D9%88%D8%B1-%D9%84%DB%8C%DA%AF-%D8%A8%D8%B1%D8%AA%D8%B1-%D8%AC%D8%B2%DB%8C%D8%B1%D9%87
[debug] System config: []
[debug] User config: ['-4', '--prefer-free-formats', '--no-cache-dir', '--no-mtime', '--youtube-skip-dash-manifest']
[debug] Command-line args: ['--verbose', 'http://video.varzesh3.com/video/112785/%D8%AF%D9%84%D9%87-%D8%B9%D9%84%DB%8C%D8%9B-%D8%B3%D8%AA%D8%A7%D8%B1%D9%87-%D9%86%D9%88%D8%B8%D9%87%D9%88%D8%B1-%D9%84%DB%8C%DA%AF-%D8%A8%D8%B1%D8%AA%D8%B1-%D8%AC%D8%B2%DB%8C%D8%B1%D9%87']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.04.13
[debug] Python version 3.5.1+ - Linux-4.5.1-gnu.nonpae-i686-with-debian-stretch-sid
[debug] exe versions: ffmpeg 3.0.1, ffprobe 3.0.1, rtmpdump 2.4
[debug] Proxy map: {}
[Varzesh3] %D8%AF%D9%84%D9%87-%D8%B9%D9%84%DB%8C%D8%9B-%D8%B3%D8%AA%D8%A7%D8%B1%D9%87-%D9%86%D9%88%D8%B8%D9%87%D9%88%D8%B1-%D9%84%DB%8C%DA%AF-%D8%A8%D8%B1%D8%AA%D8%B1-%D8%AC%D8%B2%DB%8C%D8%B1%D9%87: Downloading webpage
ERROR: Unable to extract OpenGraph title; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/youtube_dl/YoutubeDL.py", line 671, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/lib/python3.5/dist-packages/youtube_dl/extractor/common.py", line 341, in extract
    return self._real_extract(url)
  File "/usr/local/lib/python3.5/dist-packages/youtube_dl/extractor/varzesh3.py", line 29, in _real_extract
    title = self._og_search_title(webpage)
  File "/usr/local/lib/python3.5/dist-packages/youtube_dl/extractor/common.py", line 738, in _og_search_title
    return self._og_search_property('title', html, **kargs)
  File "/usr/local/lib/python3.5/dist-packages/youtube_dl/extractor/common.py", line 726, in _og_search_property
    escaped = self._search_regex(self._og_regexes(prop), html, name, flags=re.DOTALL, **kargs)
  File "/usr/local/lib/python3.5/dist-packages/youtube_dl/extractor/common.py", line 644, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract OpenGraph title; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Thanks for the report. Varzesh3 will be fixed in the next version.


Pressing Return / 13 should not submit the form

I have an input, working with amsifySuggestags within a <form>, however when I press return (13) the form is being submitted. Instead the Tag should be added.

A jsfiddle can be found here:
https://jsfiddle.net/mnLv517y/5/
Any idea what's causing this?

1

This is the default behavior of form with input in it.
You can also press key 188 that is Comma or do this
<form onkeypress="return event.keyCode != 13;">

or control it using jquery
$("form").keypress(function(event){
	return event.keyCode != 13;
});

Actually I think this should be fixed in Plugin itself.
Pressing Return is the expected way to add tag. Also, Comma won't work with many languages, f.e. on my Cyrillic keyboard if English I have letter 'Б' on Comma button too. And in Cyrillic mode Comma is Shift + Question Mark Button (and it doesn't add tag).
So Comma solution is not a solution for many languages. And it's not the expected way anyway.
Quick fix is adding to script
$('.amsify-suggestags-input').keypress(function(e) {
            if (e.keyCode == 13) {
                return false;
            }
});

Author can surely this event handler to Plugin code as it is Plugin-specific handler.

Thanks for providing the fix. I have added this, pushed and published.


Issues with RBAC

On a Kubernetes cluster with RBAC enabled, deployed using Juju, Calico does not finish installation and blocks forever. I assume this is because Calico cannot access the API to retrieve Kubernetes extension.
In my particular case, these are the relevant bits from the Juju bundle I'm using to deploy Kubernetes:
  kubernetes-master:
    charm: cs:~containers/kubernetes-master-79
    num_units: 1
    options:
      authorization-mode: "RBAC,Node"
      channel: 1.9/stable

And:
  calico:
    charm: cs:~containers/calico-21

I've found the following manifest which claims to allow Calico access to the Kubernetes API required for RBAC deployments: https://docs.projectcalico.org/v2.5/getting-started/kubernetes/installation/rbac.yaml (from https://docs.projectcalico.org/v2.5/getting-started/kubernetes/installation/integration)

Issue moved to https://bugs.launchpad.net/bugs/1809357.


[AppMesh] Routing

Implements the following methods for AppMesh

describe_virtual_router
create_virtual_router
update_virtual_router
delete_virtual_router
list_virtual_routers
describe_route
create_route
update_route
delete_route
list_routes

@bblommers this is ready for review. It doesn't completely close out https://github.com/getmoto/moto/issues/8001, but this was already fairly long so I thought I'd submit it as is and open a separate PR for the virtual_node APIs.


用于测试的demo后续会更新吗？

我试着将mmdetection的demo中的video_demo.py拼接到您的网络中，显示如下问题：
Traceback (most recent call last):
File "demo/video_demo.py", line 60, in
main()
File "demo/video_demo.py", line 35, in main
model = init_detector(args.config, args.checkpoint, device=args.device)
File "/home/zhy/anaconda3/envs/pcan/lib/python3.7/site-packages/mmdet/apis/inference.py", line 39, in init_detector
model = build_detector(config.model, test_cfg=config.get('test_cfg'))
File "/home/zhy/anaconda3/envs/pcan/lib/python3.7/site-packages/mmdet/models/builder.py", line 77, in build_detector
return build(cfg, DETECTORS, dict(train_cfg=train_cfg, test_cfg=test_cfg))
File "/home/zhy/anaconda3/envs/pcan/lib/python3.7/site-packages/mmdet/models/builder.py", line 34, in build
return build_from_cfg(cfg, registry, default_args)
File "/home/zhy/anaconda3/envs/pcan/lib/python3.7/site-packages/mmcv/utils/registry.py", line 172, in build_from_cfg
f'{obj_type} is not in the {registry.name} registry')
KeyError: 'QuasiDenseMaskRCNN is not in the detector registry'
(pcan) zhy@king:~/pcan$ python test_video.py demo/demo.mp4 configs/segtrack-frcnn_r50_fpn_12e_bdd10k.py checkpoints/pcan_pretrained_model.pth --show
configs/segtrack-frcnn_r50_fpn_12e_bdd10k.py
Traceback (most recent call last):
File "test_video.py", line 61, in
main()
File "test_video.py", line 36, in main
model = init_detector(args.config, args.checkpoint, device=args.device)
File "/home/zhy/anaconda3/envs/pcan/lib/python3.7/site-packages/mmdet/apis/inference.py", line 39, in init_detector
model = build_detector(config.model, test_cfg=config.get('test_cfg'))
File "/home/zhy/anaconda3/envs/pcan/lib/python3.7/site-packages/mmdet/models/builder.py", line 77, in build_detector
return build(cfg, DETECTORS, dict(train_cfg=train_cfg, test_cfg=test_cfg))
File "/home/zhy/anaconda3/envs/pcan/lib/python3.7/site-packages/mmdet/models/builder.py", line 34, in build
return build_from_cfg(cfg, registry, default_args)
File "/home/zhy/anaconda3/envs/pcan/lib/python3.7/site-packages/mmcv/utils/registry.py", line 172, in build_from_cfg
f'{obj_type} is not in the {registry.name} registry')
KeyError: 'QuasiDenseMaskRCNN is not in the detector registry'
查找相关问题应该是处在setup.py那个文件。
希望您对我的疑惑进行解答谢谢

Hi, we provided our visual demo script here. Also, please follow the installing document to set up the required environment.

You could also find more demo videos in our projects website

thanks，hope u can get higher achievement

Your visual script can only run annotated information, how do I run unannotated videos to get results


Designing HOMO-OLIGOMER error

@dauparas Thanks for you hard work. I think I found a bug. My command is:
python run.py \
--fixed_residues "A51 A52 A53 B154 B155 B156 C257 C258 C259 D360 D361 D362 E463 E464 E465 F566 F567 F568" `
--pdb_path "./design_4.pdb" `
--out_folder "./outputs/test" `
--batch_size 3 `
--number_of_batches 5 `
--temperature 0.1 `
--homo_oligomer 1`
The error is:
Designing HOMO-OLIGOMER
Traceback (most recent call last):
  File "DL_biosoft/LigandMPNN/run.py", line 794, in <module>
    main(args)
  File "DL_biosoft/LigandMPNN/run.py", line 315, in main
    tmp_list.append(encoded_residue_dict[name])
                    ~~~~~~~~~~~~~~~~~~~~^^^^^^
KeyError: 'A310'
`
Could you please help me solve this error? The PDB file is attached。
design_4.zip
Thank you.

I've solved this issue by renumbering the PDB files using the "pdb_renumber.py" script in rosetta.
Could you please tell me if there are any other possible ways to solve this issue?
Thanks you.


Switching symbooglix to MIT license (instead of BSD-2)

So I am a member of a team what has been working on automatic testing of Dafny programs. We are really interested in potentially rebooting symbooglix to use it in this context. Given that the team involves Amazon employees, to be able to contribute to symbooglix, it would be really helpful if its license would be the same as other Boogie-related projects such as Boogie, Corral, Dafny, which are all under MIT license.
Could we place switch symbooglix to MIT license to make it totally in sync with other related projects?
Please let me know. Thanks!

Tagging @delcypher, @afd, @ccadar. Thanks!

@zvonimir I am glad to hear that.  I personally don't mind switching licenses, but just curious, which part of the BSD-2 license is problematic for Amazon?  Both are liberal licenses, and they look quite similar to me.

I am not sure if "problematic" is the right term here. It will likely raise questions though since all other Boogie-related tools are under MIT license, and this one is an outlier in that sense.
Even if we put Amazon aside, it would be really nice if all these tools were under the same license and uniform in that sense. And as your wrote, given that they are really similar, to me it seems that switching maybe (hopefully?) wouldn't be a big deal.
I am not a license expert though.

OK, I understand.  And as I said, I don't mind the switch.  @delcypher , @afd ?

I am OK with the switch.


🐛 Dynamic updating of the timeline appears sporadic

Input data (markdown source)
Loving using day planner to be more intentional with my time!
Expected Behavior
When adding entries to the "Day planner" section in a note, that the day planner timeline view would be updated in a reasonable time to reflect the changes.
Current behaviour
Time entries seem to be added pretty dynamically but the text is incorrect, sometimes reflecting the last entry, or a part of the last entry, or sometimes part of the entry it is bumping down. If I exit Obsidian and go back in, it is correct, and doesn't break during the day, just when entries are being edited.
Screenshot "Means justify the ends" displays this
Steps to reproduce
I have an automation that builds the day planner from my calendar, but I see the same issue if I use the "Add a template" command frrom the command pallette.
Insert timeline items between the beginning and the end entry for the day planner with the day planner visible. Observe the contents.
I also use "Task collector" to keep my todos etc. clean and this also seems to stuff up the timeline.  See screenshot "Day Planner 2" where task collector has remove some earlier entries, the timeline shows the correct times, but old content.
Which Operating Systems are you using?

[ ] Android
[ ] iPhone/iPad
[ ] Linux
[ ] macOS
[X] Windows

Obsidian Version
1.7.0
Tasks Plugin Version
0.5.23
Checks

[X] I have tried it in the sandbox vault with only this plugin enabled

Possible solution
Updating the content dynamically would be ideal.
Failing that, a command we could add a hot key for, to rebuild the timeline from scratch would prevent having to exit and restart Obsidian.

I have a feeling this changed when I tried to update this to use links... I'll have to back that out and think of a different way.

Ahh, sorry!

Not your fault... my bad choice. ;)

It's now converting the [[]] internal links in the original note to internet href links which then don't work correctly, e.g. I entered
[[Weekly Kanban]] using the Obsidian completion to finish it, which was then updated to:
17:00 Weekly Kanban
This displays OK in the original note but doesn't work as a link, and still looks ugly in the timeline.
I'm happy to help test before a release, since I seem to be the cause of most of the problems :-)

All is well.  :-P

If that were true I'd definitely be the world's humblest person 😁
All looking good now, will continue playing but the original note is unmolested and the display, at least for internal links looks good. It is a much cleaner look than I remember from the James Lynch version.
Many thanks for being so responsive to the changes!


routes.js doesn't belong in /client

routes.js belongs in /lib. That code needs to be seen by both server and client.

It's client-side only routes

That's fine, and that works, but if someone surfs directly to, say, http://site/some/route, it will throw a 404 error. Not sure if that's intentional or not, just thought I'd point it out!


Update installation.rst

I don't think this is necessary. gpt-engineer requires 3.8<=python<4.0 which is pretty inclusive and not the latest.

That's honest! I suggest you make a real contribution :)


Replacing Result class with stdlib Kotlin.Result.

Replacing our own sealed class with what is provided by the standard library.

Coverage: 43.848% (-0.3%) from 44.107% when pulling 8e93726715dacbd8b775a1441bab92a510d01028 on replace_result_class into f5c556b73fe0b5c53222bb8c6468871560b7400b on development.


UITextInput improvements

Currently, the UITextInput implementation is using an out-of-band Character buffer, plus positions and ranges that are based on indexes into this out-of-band buffer.
This works for dictation, and input methods and I finally got it to work.
That said, it has a few problems:

It does not do a "live" preview of the input with foreign inputs (like Chinese showing the intermediate results of the guesses).
Dictation only works when the dictation is complete, and is not live.
Holding the spacebar does not do much in terms of moving the cursor

How other terminals work

Shelly
iSSH
Termius
Secure Term
Shell Fish
LibTerm

Input Method
Busted, enters both the initial sequence and additional ones
Filters out Chinese
Works sometimes, and shows selection during marking, but struggled with vi and cat
Works
Works
Works+shows selection during marking

Dictation
Live, works
Does not work
Live, works
Live, works
Works, but is buggy (sends text, then cursor backs to the origin, makes it useless)
Works

SpaceMove.
no-op
no-op
Tracks+Funky
no-op
Tracks+Funky
Goes through the motions, but does not do anything.

Tracks+Funky in SpaceMove means that the application does track the cursor with the space bar, and then attempts to send enough cursor key movements to the target to track the location.   But also means that in the wrong context (say, "cat"), it just sends the sequences and just looks odd.

Have you find any solution on Chinese input? It doesn’t work and the insertText isn’t getting called. :(
Having no idea where to follow up next…

Hello!
Can you describe what you are trying to do, and how it fails?
I would need to know what keyboard you are using, how you are activating it, and which keystrokes you are using, so I can reproduce locally.
It works as far as I can tell with the main branch

Let me answer the question first.

what you are trying to do

I am trying to fix an issue that the terminalView insertText won't get called when typing with Chinese keyboard.

how it fails?

No respond or future action created.

what keyboard you are using

The system one with Chinese Pinyin Input Method.

how you are activating it

.onAppear {
    terminal.terminalView.becomeFirstResponder()
}

which keystrokes

I don't get it.......... :(

For some more detail, I can provide you a demo project that I am currently using. Let me explain a little bit more.
Changes:

We changed the define marco so we can use it under tvOS, just reversed if macOS to iOS || tvOS.
Other sources are identical to the main branch.

Terminal Setup Block:
terminalView.backgroundColor = .clear
terminalView.isOpaque = true
terminalView.backgroundColor = UIColor.clear
terminalView.nativeBackgroundColor = UIColor.clear

It is because, if we set the background, Chinese character will be clipped. This issue also exists in your demo project SwiftTermApp. Simply type curl https://www.baidu.com, you will notice those Chinese clipped with only half left displayed.

Demo Project Here

Interesting finding: this happens with the SwiftUI wrapper, but not with the view without SwiftUI.
If you open the SwiftTerm sample project for iOS (iOSTerminal), and configure the host in UIKitSshTerminal.View and add manually the password there, you can see that the Chinese text input works.
But when I tried it on my own app, that wraps the SwiftTerm into a SwiftUI, the auxiliary keyboard is not shown either.
This is what SwiftTerm shows:

Sadly, this is what SwiftTermApp (my SwiftUI-based app that uses the exact same code) shows.   In this case, I have already entered a few keys, and the keyboard is never shown:

So at this point, I suspect something is going on with SwiftUI.   Reveal shows that the keyboard is being activated on the regular version, and the size of the keyboard is larger:

While on the SwiftUI version, the keyboard starts up smaller, and does not get the region with the additional data:

(Ignore the yellow color, that is just a different style that I am using there).


Feature request: loading custom fonts

I've got a custom font in an OTF file that I would really like to use in my gitpitch presentation. Normally in a CSS file I would load it like this:
@font-face {
  font-family: 'My-Custom-Font';
  src: url('/some/local/path/to/fonts/My-Custom-Font.otf?raw=true');
  font-weight: bold;
}

or
@font-face {
  font-family: 'My-Custom-Font';
  src: url('https://some/url/to/fonts/My-Custom-Font.otf?raw=true');
  font-weight: bold;
}

for a local file and a file from a url respectively.
Now unfortunately neither of these option is currently possible. For the local option the reason is probably that the gitpitch bundle that is compiled does not look for fonts (but I might be wrong, my under-the-hood-understanding is limited) and the remote option the reason is (1) a cross-origin error and (2) a reliance on remote resources that is undesirable for local presentations. As the latter reason is rather fundamental, the way forward is probably to scan for local files and compile them with the rest.

First class support for custom fonts within GitPitch slide decks is coming soon. You can check out the GitPitch Custom Fonts announcement which includes a link to a sample slide deck. I'll share more details here over the coming days. Cheers, David.

Support for custom fonts is now live. Full details in the Custom Fonts Guide.

Very nice, looks great :D


Password Manager will not save new password since Chromium 80

Describe the bug
Password manager will not save new detected password in login fields, auto filling of loaded password will still work.
To Reproduce
Steps to reproduce the behavior:

Go to any website login
Fill in any in/valid credentials
Try save password to password manager
Open password manager for current site
"No password saved for this site"

Expected behavior
Password manager should save new passwords.
Environment (please complete the following information):

OS/Platform and version:
ungoogled-chromium version:

Additional context
Flags
--flag-switches-begin --user-data-dir=..\profile --no-default-browser-check --allow-outdated-plugins --disable-logging --disable-breakpad --disable-machine-id --disable-encryption --extension-mime-request-handling=always-prompt-for-install --fingerprinting-canvas-image-data-noise --fingerprinting-canvas-measuretext-noise --fingerprinting-client-rects-noise --max-connections-per-host=15 --profile-directory=Default --enable-logging --v=1 --disable-extensions --flag-switches-end
chrome_debug.log

Duplicate of #1182, closing.


Missing USB file write events

I have been using the below query (with some lens commented out) to try and capture files being written to USB.
However knowing that some people wrote to USB they didn't show up with this query.
I did some searching and it seems the action type "UsbDriveMount" is the problem.  I find that it doesn't pick up everything and sometimes I have to use ActionType == "PnpDeviceConnected".  Problem is PnpDeviceConnected picks up a whole lot of pnp devices.  How can I ensure that this query is getting all USB storage devices.  Right now i am not confident it is.
// THIS IS THE FIRST QUERY
DeviceEvents
| where Timestamp > ago(90d)
| where ActionType == "UsbDriveMount"
| project USBMountTime = Timestamp, DeviceId, AdditionalFields
| extend DriveLetter = tostring(todynamic(AdditionalFields).DriveLetter)
| join (
DeviceFileEvents
| where Timestamp > ago(90d)
| where ActionType == "FileCreated"
// | where FileName endswith ".docx" or FileName endswith ".pptx"
| parse FolderPath with DriveLetter '\' *
| extend DriveLetter = tostring(DriveLetter)
)
on DeviceId, DriveLetter
// | where (Timestamp - USBMountTime) between (0min .. 15min)
| summarize DistinctFilesCopied = dcount(SHA1), Events=makeset(pack("AccountName", InitiatingProcessAccountName, "Timestamp", Timestamp, "ReportId", ReportId, "FileName", FileName, "AdditionalDriveProperties", AdditionalFields)) by DeviceId, bin(Timestamp, 15m)
// | where DistinctFilesCopied > 10
| mv-expand Events
| extend Timestamp = todatetime(Events.Timestamp), FileName = Events.FileName, AccountName = Events.AccountName, ReportId = tolong(Events.ReportId), AdditionalDriveProperties = Events.AdditionalDriveProperties

@gunnahafta
Here's an example that could filter on USB storage when using PnpDeviceConnected.
DeviceEvents
| project Timestamp, DeviceName, ActionType, AdditionalFields
| where ActionType == 'PnpDeviceConnected'
| extend PNP = parsejson(AdditionalFields)
| extend ClassName = PNP.ClassName
| extend DeviceId = PNP.DeviceId
| extend DeviceDescription = PNP.DeviceDescription
| extend VendorId = PNP.VendorIds
| where DeviceId startswith @'USBSTOR'
| project-away ActionType, AdditionalFields, PNP
| sort by Timestamp desc

Thanks.  Question about detecting USB drives in general, if I had a USB stick in a dock and I was regularly taking my laptop on and off the dock would this show up as a USB stick detected each time i reconnect to the dock which has the USB stick connected?

@gunnahafta Hard to say. Probably varies based on manufacturer. The dock might have a USB hub in it.


react-tests.ts

If state is static in line 327 (react-tests.ts) it cannot be accessed in React.
At least state is null unless I remove the static modifer - perhaps I'm doing it wrong,
can you verify the example runs?
Line 338 can be omitted as this is handled by the compiler.
-- Cheers

Thanks, will fix.


#158423840 Update  driver profile

What does this PR do?

Updates driver profile page
Adds User Account  information

Description of Task to be completed?

Building (without functionality), the UI elements with HTML&CSS.

How the app should be tested
On a web browser:

Download the repo
Extract and navigate into the Ride-My-Way folder
in the UI folder, open driver_profile.html on a browser

On a  terminal (Linux):

Install and set up git sudo apt install git

Clone the repository git clone https://github.com/artorious/Ride-My-Way.git

Run git checkout ft-driver-profile-upd8-158423840

Run cd Ride-My-Way/UI/

Open driver_profile.html on a browser

Any background context you want to provide?
The UI has no functionality.
Developed using HTML and CSS
What are the relevant pivotal tracker stories?
#158423840
Screenshots

Questions:

Nice ui.

Font-size for the bio too small if am not wrong.Am struggling to read.

Looks good to me but you have to check on your fonts and also my LFA told me its not a lorem ipsum is used for templating you should write something readable

Great UI and nice flow of thought. All necessary features incorporated, awesome.

I like how  you have displayed the icons for the likes and messages

I am curious about the D.O.B and Email details, are they really important to the user?

Can be merged.

@LWanjiru I've removed the unnecessary DOB and email information


ML Model Backend Implementation

Is your feature request related to a problem? Please describe.
N/A
Describe the solution you'd like
This feature will include the implementation for ML Models including resources, search document & builders for ElasticSearch, graph builders for Neo4J, and other necessary additions to fully enable ML Models.
Describe alternatives you've considered
N/A
Additional context
This is a follow-up feature to @arunvasudevan 's ML Model design for entity schema.

Created this as a placeholder so others don't take up the work, I don't have the ability to assign it to myself.

Thanks @RyanHolstien for taking this up. Looking forward to your work on this.

Thanks Jyoti!


Adding all info in a row?

Is your feature request related to a problem? Please describe.

Describe the solution you'd like

Currently, I need to press a for adding a task, p for changing priority, P for changing project, T for changing tags....
Is there a way to add everything in a row, by pressing a and asking for the info one by one?
Empty input will make the entry empty by default.
Additional context

So... vit is not supposed to be built as a complete taskwarrior UI?
(I also find that there's no way to add dependency to the project inside VIT. )


can not login , Help me

Hallo sir,
My device just reset the data, and everything is lost including the paper key that I saved.
data like email, github, twitter are still memorized, is there no other way to log in without using a paper key?

Emm i am too


The term "undo" is used twice

Great plugin - undo is exactly what I want to use it for (the ^_ version).
However I see from the instructions that hist u is also an "undo". I have now finally got it but I did find it confusing. Maybe change that one to be "rollback" (with letter b) or "revert" (with letter v)?

Hm, good point. Thanks for the feedback. I’ll have to think about it.

I have considered the options, but I still think undo is the most clear in this context. You wouldn't expect delete, edit, fix and get to mean the same thing in different contexts either, would you?
Although, I do like rollback and revert for this, but if I use those, I don't want those to be b or v. That is too hard to remember. Then I would just like it to be r, but that then leaves the question: What would then be the new name for reload?
One other option could be to rename undo to abort and use a for it. 🤔

Note, by the way, that just as with other Undo features, you can execute hist u multiple times to go further and further back. So, in that sense, too, undo feels more appropriate to me than revert or roll back.

Yes, I see what you mean. I'll leave it with you... I am only using the hist d and ^_ functionality (a lot!), so you choose. I just thought you'd like to hear a newcomer's perspective :+1:.


pretrained=None,but the map is so low

I set pretrained=None and norm_eval=False in Faster_rcnn_r50_fpn_1x_voc0712, but after i train about 4 epoch, the 0.5 voc map is 0.08. I don't know why this is. Can you help me? Thanks!

Did you read the paper "Rethinking ImageNet Pre-training"?
https://arxiv.org/abs/1811.08883

@hero-y  Set 5x lr & 8x epoch and replace BN to GN.

@hero-y Set 5x lr & 8x epoch and replace BN to GN.
sorry，can you help me？
How to replace BN to GN?
i do not find the corresponding profile about BN and GN.
thank  @KimSoybean


Use SyntaxHighlighter on dynamically created elements - live()

Is it possible to use SyntaxHighlighter on dynamically created elements?
I created a basic SQL query generator and would like the resultant query to be parsed using SyntaxHighlighter.
How would I amend the code? Thanks!

How does one do this in v4.0? I'm seeing SyntaxHighlighter is undefined.


Support push + reset cfg from topology manager grpc service

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 60 (0.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.9%) to 52.679%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

topo/topo.go
0
10
0.0%

controller/server/main.go
0
50
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.9%

Covered Lines:
1888

Relevant Lines:
3584

💛  - Coveralls