Out of memory error with Chainer-5.0-Cupy-5.0-Python2.7

Hi,
I am trying to run synthetic data training with Chainer on a 8 GPU machine. The scripts I am running are modification of imagenet example scripts from chainers official repository to run synthetic data.
For, python2.7
Training processes errors out with out of memory error for more than 16 batch size and below is the stack trace
Python3.6
I am able to go upto 128 batch size with same setup
Same scripts run fine for Chainer==4.5 & CuPy==4.5 for both python2.7 and python3.6 upto 128 batch size
Note that running mnist passes but resnet fails for batch size more than 16 within first few epochs.
Stack trace:
Epoch: [3] 	 Batch_speed: 3158.273 samples/sec
Epoch: [3] 	 Speed: 3099.142 samples/sec 	 Time cost=0.323
Exception in main training loop: out of memory to allocate 205520896 bytes (total<PHONE_NUMBER>6 bytes)
Traceback (most recent call last):
  File "/home/ubuntu/anaconda3/envs/chainer_p271/lib/python2.7/site-packages/chainer/training/trainer.py", line 315, in run
    update()
  File "/home/ubuntu/anaconda3/envs/chainer_p271/lib/python2.7/site-packages/chainer/training/updaters/standard_updater.py", line 165, in update
    self.update_core()
  File "/home/ubuntu/anaconda3/envs/chainer_p271/lib/python2.7/site-packages/chainer/training/updaters/multiprocess_parallel_updater.py", line 237, in update_core
    loss = _calc_loss(self._master, batch)
  File "/home/ubuntu/anaconda3/envs/chainer_p271/lib/python2.7/site-packages/chainer/training/updaters/multiprocess_parallel_updater.py", line 271, in _calc_loss
    return model(*in_arrays)
  File "/home/ubuntu/anaconda3/envs/chainer_p271/lib/python2.7/site-packages/chainer/link.py", line 242, in __call__
    out = forward(*args, **kwargs)
  File "/home/ubuntu/chainer/examples/imagenet/resnet50.py", line 101, in forward
    h = self.res2(h)
  File "/home/ubuntu/anaconda3/envs/chainer_p271/lib/python2.7/site-packages/chainer/link.py", line 242, in __call__
    out = forward(*args, **kwargs)
  File "/home/ubuntu/chainer/examples/imagenet/resnet50.py", line 78, in forward
    x = f(x)
  File "/home/ubuntu/anaconda3/envs/chainer_p271/lib/python2.7/site-packages/chainer/link.py", line 242, in __call__
    out = forward(*args, **kwargs)
  File "/home/ubuntu/chainer/examples/imagenet/resnet50.py", line 36, in forward
    h1 = self.bn3(self.conv3(h1))
  File "/home/ubuntu/anaconda3/envs/chainer_p271/lib/python2.7/site-packages/chainer/link.py", line 242, in __call__
    out = forward(*args, **kwargs)
  File "/home/ubuntu/anaconda3/envs/chainer_p271/lib/python2.7/site-packages/chainer/links/normalization/batch_normalization.py", line 299, in forward
    running_var=self.avg_var, decay=decay, axis=self.axis)
  File "/home/ubuntu/anaconda3/envs/chainer_p271/lib/python2.7/site-packages/chainer/functions/normalization/batch_normalization.py", line 832, in batch_normalization
    axis).apply((x, gamma, beta))[0]
  File "/home/ubuntu/anaconda3/envs/chainer_p271/lib/python2.7/site-packages/chainer/function_node.py", line 263, in apply
    outputs = self.forward(in_data)
  File "/home/ubuntu/anaconda3/envs/chainer_p271/lib/python2.7/site-packages/chainer/functions/normalization/batch_normalization.py", line 204, in forward
    y = cuda.cupy.empty_like(x)
  File "/home/ubuntu/anaconda3/envs/chainer_p271/lib/python2.7/site-packages/cupy/creation/basic.py", line 42, in empty_like
    return cupy.ndarray(a.shape, dtype)
  File "cupy/core/core.pyx", line 150, in cupy.core.core.ndarray.__init__
  File "cupy/cuda/memory.pyx", line 517, in cupy.cuda.memory.alloc
  File "cupy/cuda/memory.pyx", line 1064, in cupy.cuda.memory.MemoryPool.malloc
  File "cupy/cuda/memory.pyx", line 1085, in cupy.cuda.memory.MemoryPool.malloc
  File "cupy/cuda/memory.pyx", line 899, in cupy.cuda.memory.SingleDeviceMemoryPool.malloc
  File "cupy/cuda/memory.pyx", line 920, in cupy.cuda.memory.SingleDeviceMemoryPool._malloc
  File "cupy/cuda/memory.pyx", line 694, in cupy.cuda.memory._try_malloc

I checked the output of nvidia-smi and it increases for a while and then some of the processes crash making GPU utilization 0 for the GPUs which it was using. Other processes keep running and GPU utilization also looks good
For example if only Process _Worker-1 crashed the output would look like this:
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  Tesla V100-SXM2...  On   | 00000000:00:17.0 Off |                    0 |
| N/A   45C    P0    56W / 300W |  16045MiB / 16160MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   1  Tesla V100-SXM2...  On   | 00000000:00:18.0 Off |                    0 |
| N/A   45C    P0    67W / 300W |  15795MiB / 16160MiB |    100%      Default |
+-------------------------------+----------------------+----------------------+
|   2  Tesla V100-SXM2...  On   | 00000000:00:19.0 Off |                    0 |
| N/A   46C    P0    67W / 300W |  15771MiB / 16160MiB |    100%      Default |
+-------------------------------+----------------------+----------------------+
|   3  Tesla V100-SXM2...  On   | 00000000:00:1A.0 Off |                    0 |
| N/A   51C    P0    73W / 300W |  15771MiB / 16160MiB |    100%      Default |
+-------------------------------+----------------------+----------------------+
|   4  Tesla V100-SXM2...  On   | 00000000:00:1B.0 Off |                    0 |
| N/A   51C    P0    68W / 300W |  15771MiB / 16160MiB |    100%      Default |
+-------------------------------+----------------------+----------------------+
|   5  Tesla V100-SXM2...  On   | 00000000:00:1C.0 Off |                    0 |
| N/A   49C    P0    71W / 300W |  15771MiB / 16160MiB |    100%      Default |
+-------------------------------+----------------------+----------------------+
|   6  Tesla V100-SXM2...  On   | 00000000:00:1D.0 Off |                    0 |
| N/A   45C    P0    71W / 300W |  15575MiB / 16160MiB |    100%      Default |
+-------------------------------+----------------------+----------------------+
|   7  Tesla V100-SXM2...  On   | 00000000:00:1E.0 Off |                    0 |
| N/A   50C    P0    71W / 300W |  15575MiB / 16160MiB |    100%      Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|    0      9516      C   python                                     16034MiB |
|    1      9582      C   python                                     15784MiB |
|    2      9583      C   python                                     15760MiB |
|    3      9584      C   python                                     15760MiB |
|    4      9585      C   python                                     15760MiB |
|    5      9586      C   python                                     15760MiB |
|    6      9587      C   python                                     15564MiB |
|    7      9588      C   python                                     15564MiB |
+-----------------------------------------------------------------------------+

The program becomes like a zombiee process after this and I need to find the pid to kill it.

Chainer version - 5.0.0
CuPy version - 5.0.0
OS/Platform - Ubuntu 16.04
CUDA/cuDNN version - 9.0.176/<IP_ADDRESS>

Replication steps
pip install chainer==5.0.0
pip install cupy=5.0.0

git clone https://github.com/surajkota/deep-learning-benchmark-mirror
python train_imagenet_data_parallel.py --arch resnet50 --dataset synthetic --epoch 30 --loaderjob 30 --samples 10000 --batchsize 128 ~/ ~/ -g 0 1 2 3 4 5 6 7

Instance type:
AWS EC2 p3.16xlarge
it has 8 NVIDIA Tesla V100 GPUs, 64 Intel Xeon E5-2686 v4 (Broadwell) processors, 488 GB RAM
CPU info:
processor	: 61
vendor_id	: GenuineIntel
cpu family	: 6
model		: 79
model name	: Intel(R) Xeon(R) CPU E5-2686 v4 @ 2.30GHz
stepping	: 1
microcode	: 0xb00002a
cpu MHz		: 1514.496
cache size	: 46080 KB
physical id	: 1
siblings	: 32
core id		: 13
cpu cores	: 16
apicid		: 91
initial apicid	: 91
fpu		: yes
fpu_exception	: yes
cpuid level	: 13
wp		: yes
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 pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq monitor est ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single kaiser fsgsbase bmi1 hle avx2 smep bmi2 erms invpcid rtm rdseed adx xsaveopt ida
bugs		: cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf
bogomips	: 4600.12
clflush size	: 64
cache_alignment	: 64
address sizes	: 46 bits physical, 48 bits virtual
power management:

Let me know if more information is needed
I have filed the same issue with CuPy, I was suggested to post it on Chainer's repo
TIA

Thanks for reporting an issue. I'll look into it.
Btw, may I ask if you have any special reasons to use Python 2.7?

Hi, I'm also facing with similar issue after I installed the latest version of Chainer+Cupy.
I'm running a custom version of fully convolution network and the GPU memory usage checked through nvidia-smi gave me about 4 times more than the previous version I used.
The version I'm using with GPU memory problem is
Python 2.7
Chainer 5.0.0
Cupy 5.0.0
The version I was using without any specific memory problem is
Python 2.7
Chainer 4.2.0
Cupy 4.5.0
Thanks

hello,
Do we have any update on this issue?

if you have any special reasons to use Python 2.7?
Legacy

With Chainer 5, CuPy 5, Python 3.6, I am also facing OutOfMemoryErrors on a message passing neural network model. When I profile memory usage, I see the following usage:
    FunctionName  UsedBytes  AcquiredBytes  Occurrence
       CooMatMul     6.58GB         2.57GB        2034
  LinearFunction     2.55GB         2.17GB        4066
            Tanh     4.62GB         4.33GB        3048
         Reshape      0.00B          0.00B        1524
MeanSquaredError    44.15MB          0.00B        1016
             Sub    10.91MB          0.00B         508
     BroadcastTo      0.00B          0.00B         508
             Mul    10.91MB          0.00B         508
     MulConstant    10.91MB          0.00B         508
  LinearGradData   224.73MB          0.00B        1524
LinearGradWeight  1016.00KB          0.00B        2032
             Sum  1016.00KB          0.00B        2032
        TanhGrad     2.31GB         2.16GB        1524
             Add   508.00KB          0.00B        1016

I am not quite sure why CooMatMul accumulates acquired and used bytes as I go through the training loop:
optimizer = Adam().setup(mpnn)
with hook:
    losses = []
    for i in tqdmn(range(550)):
        chainer.cuda.memory_pool.free_all_blocks()
        prediction = mpnn(Fs, As_Coo, Ss_Coo)

        # Calculate the loss with softmax_cross_entropy
        loss = F.mean_squared_error(prediction.reshape(-1), targets)
        losses.append(loss)

        # Calculate the gradients in the network
        mpnn.cleargrads()
        loss.backward()

        # Update all the trainable parameters
        optimizer.update()

With Chainer 5, CuPy 5, Python 3.6, I am also facing OutOfMemoryErrors on a message passing neural network model. When I profile memory usage, I see the following usage:
    FunctionName  UsedBytes  AcquiredBytes  Occurrence
       CooMatMul     6.58GB         2.57GB        2034
  LinearFunction     2.55GB         2.17GB        4066
            Tanh     4.62GB         4.33GB        3048
         Reshape      0.00B          0.00B        1524
MeanSquaredError    44.15MB          0.00B        1016
             Sub    10.91MB          0.00B         508
     BroadcastTo      0.00B          0.00B         508
             Mul    10.91MB          0.00B         508
     MulConstant    10.91MB          0.00B         508
  LinearGradData   224.73MB          0.00B        1524
LinearGradWeight  1016.00KB          0.00B        2032
             Sum  1016.00KB          0.00B        2032
        TanhGrad     2.31GB         2.16GB        1524
             Add   508.00KB          0.00B        1016

I am not quite sure why CooMatMul accumulates acquired and used bytes as I go through the training loop:
optimizer = Adam().setup(mpnn)
with hook:
    losses = []
    for i in tqdmn(range(550)):
        chainer.cuda.memory_pool.free_all_blocks()
        prediction = mpnn(Fs, As_Coo, Ss_Coo)

        # Calculate the loss with softmax_cross_entropy
        loss = F.mean_squared_error(prediction.reshape(-1), targets)
        losses.append(loss)

        # Calculate the gradients in the network
        mpnn.cleargrads()
        loss.backward()

        # Update all the trainable parameters
        optimizer.update()

Not sure if you still need help on that, but it seems you are adding the loss variable, which is a part of the computational graph, to the list, so that the memory and the graph can not be released properly. You should retrieve only the data from the loss variable (append loss.data)

With Chainer 5, CuPy 5, Python 3.6, I am also facing OutOfMemoryErrors on a message passing neural network model. When I profile memory usage, I see the following usage:
    FunctionName  UsedBytes  AcquiredBytes  Occurrence
       CooMatMul     6.58GB         2.57GB        2034
  LinearFunction     2.55GB         2.17GB        4066
            Tanh     4.62GB         4.33GB        3048
         Reshape      0.00B          0.00B        1524
MeanSquaredError    44.15MB          0.00B        1016
             Sub    10.91MB          0.00B         508
     BroadcastTo      0.00B          0.00B         508
             Mul    10.91MB          0.00B         508
     MulConstant    10.91MB          0.00B         508
  LinearGradData   224.73MB          0.00B        1524
LinearGradWeight  1016.00KB          0.00B        2032
             Sum  1016.00KB          0.00B        2032
        TanhGrad     2.31GB         2.16GB        1524
             Add   508.00KB          0.00B        1016

I am not quite sure why CooMatMul accumulates acquired and used bytes as I go through the training loop:
optimizer = Adam().setup(mpnn)
with hook:
    losses = []
    for i in tqdmn(range(550)):
        chainer.cuda.memory_pool.free_all_blocks()
        prediction = mpnn(Fs, As_Coo, Ss_Coo)

        # Calculate the loss with softmax_cross_entropy
        loss = F.mean_squared_error(prediction.reshape(-1), targets)
        losses.append(loss)

        # Calculate the gradients in the network
        mpnn.cleargrads()
        loss.backward()

        # Update all the trainable parameters
        optimizer.update()

Not sure if you still need help on that, but it seems you are adding the loss variable, which is a part of the computational graph, to the list, so that the memory and the graph can not be released properly. You should retrieve only the data from the loss variable (append loss.data)

Thank you！Your method is helpful.


Double Free on updating packages

Microsoft Windows [Version 10.0.17134.950]
Executing Sudo Apt Update Throws a Double Free error upon Hit 2, On Kali 4.4.0-17134-Microsoft #706-Microsoft ... x86_64 GNU/Linux. Installing separate packages works (apt install >package<).
execution:
sudo apt update:

Hit:1 https://packages.microsoft.com/repos/microsoft-debian-stretch-prod stretch InRelease
Hit:2 http://kali.download/kali kali-rolling InRelease
free(): double free detected in tcache 2
Aborted (core dumped)

No file is written for Core Dump
ulimit -a output:

core file size               (blocks, -c) unlimited
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 7823
max locked memory       (kbytes, -l) 64
max memory size         (kbytes, -m) unlimited
open files                      (-n) 1024
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 8192
cpu time               (seconds, -t) unlimited
max user processes              (-u) 7823
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited

What should be happening:
Apt Update should go through sources list and update accordingly.

I am experiencing the double free issue while running WSL v1 under Microsoft Windows [Version 10.0.18363.900], saw the issue is closed but it is still a thing that I am experiencing.
 Done
Appreciate any insight, and I'm happy to provide other debug feedback for triage.

WSL kernel reports as 4.4.0-18362-Microsoft

That satisfies recent-ish Win10 release, appreciated. Finding the cause of the diverge in WSL1 would be nontrivial. A gist of a threaded strace(1) log might identify something obvious, but a double-free happens in userspace so it also might not. Will re-open in case this turns out blocking WSL1 Kali. Alternative is WSL2.

I have a little more information.  I am experimenting with Gnome, X11, and VNC under my WSL.  Another forum suggested libappstream has a problem.
On my setup, purging libappstream4 allowed apt-get update to run without any errors, but removal of that library also removed the Gnome packages that I am experimenting with.
When I reinstalled ubuntu-gnome-desktop, the problem came back.
I then edited /etc/apt/apt.conf.d/50appstream and commented out the following lines:
Refresh AppStream cache when APT's cache is updated (i.e. apt update)
#APT::Update::Post-Invoke-Success {
"if /usr/bin/test -w /var/cache/app-info -a -e /usr/bin/appstreamcli; then appstreamcli refresh-cache > /dev/null || true; fi";
#};
That allowed apt-get update to run successfully.  This suggests the appstreamcli refresh-cache operation is failing.
I am still using VirtualBox on certain machines, so can't turn on Hyper-V.  Hoping WSL1 remains functional and receives maintenance.

You can try making that ; then strace -ff -tt -o /tmp/appstreamcli.strace appstreamcli refresh-cache. Also convince yourself it isn't the apt-info vs. the appstreamcli (it almost certainly isn't).
Then either zip up the logs, or combine them with strace-log-merge(1) and link the result to a gist. As alluded above, it won't show the double free (free won't result in a syscall) but it might expose an obvious preceding EINVAL or similar if we're lucky. Better to be on insider (build 20xxxx) WSL1 to eliminate anything that has been addressed since 18362. There hasn't been much screeching on this submission since August 2019. The 20.04 usual suspect being #4898, but that probably isn't your fail; there is no mention of a double free over there I could see in a quick skim.

Unfortunately I'm experiencing the same issue on WSL2 with Ubuntu 20.04. It first happened when trying to add the docker apt-repository and now occurs with any apt update operation.


Add a message if baskets are merged

Fix for https://github.com/django-oscar/django-oscar/issues/1615
Adds a simple message if baskets have to be merged.
It might be better in the future to generate a more accurate/verbose message letting the user know exactly how the cart changed.

Hey John, thank you for this. I agree with the idea! But if I'm not mistaken, basket merging will never remove products and is safe, so I think a more positive message is appropriate. Something like We have merged your baskets; the contents might have changed. What do you think?
Also, I'd like to see the message assigned once to a variable instead of repeated. That reduces the change of one message being updated while the other isn't. Sounds sensible?

You are correct that merging baskets will never remove items, but I would not say that adding items is "safe." If you add an item to a basket without the user expecting it, it's possible that they will accidentally purchase the item. This isn't usually an issue if you add two different items, because it's usually pretty "obvious" when a second line is added to the cart. However, the merging algorithm adds line quantities together for identical items, so two items could become three.
The message I wrote is a little verbose, for sure, but I was trying to make it as clear as possible to a less savvy user. "We have merged your baskets" prompts me to ask "What baskets? I only had one basket" which is why I added the verbiage "from a previous session".
How is this for a message:
"We have merged a basket from a previous session. Its contents may have changed."
I see what you mean about the possibility of a duplicate message. I'll see if I can get that changed.

Lovely, that works for me. Thanks!


[en] typo: "Mananger" in Architecture: Node documentation solved

In this commit, I fixed the typo in Architecture's nodes.md file there was a typo in Manager spelling in line 461. I fixed it.
Removed
 - A node shutdown action may not be detected by kubelet's Node Shutdown Mananger
Added
+ A node shutdown action may not be detected by kubelet's Node Shutdown Manager

I already made a PR for this: https://github.com/kubernetes/website/pull/34209, is there a reason we are making a second PR?

@0904-mansi Thanks! ✨
/lgtm
/approve

@0904-mansi Thanks! ✨
/lgtm /approve

My Pleasure Sir :)


Missing Sections images

We will need to ensure we have images for the following Sections tiles:
• Schedules
• History
Also, bear in mind this may involve switching the top level Give image (give your brain a break) with the Schedules image. In which case we'd need a new image for Give.

I think this has been added


UObjects Created are not destroyed

When creating an array of instantiated UObjects, these are stored like

UObject_Child_C_0
UObject_Child_C_1
UObject_Child_C_2

But when i re-run the game the previous objects are not destroyed and the next objects will be stored as
UObject_Child_C_3
UObject_Child_C_4
UObject_Child_C_5

So the prevously object will be not deleted/destructed from memory
(Thank you for this plugin)

Thanks, koMah. I have a few questions:

In this example, is "Item" a blueprint class or a C++ class?

Where is your array stored? Is it a variable in a level?

It is a simple Inventory system.

A character that hold an Inventory Actor Blueprint Variable.
The Inventory Actor have an array of "Item" blueprints
Item Blueprint is a direct child of UObject class

I've noticed now with cmartel's help that the counter after the class name, UObjectChildClass_C_0, is only a counter assigned from the editor.
Refer to https://forums.unrealengine.com/showthread.php?59234-Custom-Inventory-System-Some-Questions&p=223562#post223562

Ah good. That means this isn't a bug, correct?

I'm currently check his test.

Okay, let me know if you still think this is a problem.


Notification system and UI

The current version of RefStudio lacks a robust notification system and user interface (UI) for displaying notifications to users. This issue aims to enhance the application by adding support for notifications and improving the associated UI.
The absence of a notification system hampers the ability of our application to deliver timely updates and important information to users. Users may miss out on critical updates, such as new messages, reminders, or system alerts, resulting in a suboptimal user experience.

CC @sehyod


Update Identifier to use values source generator

cce63655f727defb802103f9e975be7db4c877ce is a breaking change because we were not throwing ArgumentNullException when a given string is null in Parse(string s, ...). We were also not throwing a FormatException when TryParse fails in Parse methods. This commit fixes this and updates various tests.
90f8f963d718ce9a21c1fda38af317cac3189608 exposes a comprehensive set of StartsWith and EndsWith methods on AsciiString
333267c2673f515487045322096e8b0a4e1cb39f updates identifier.
The remaining issues are:

The source generator does not allow formatting Empty structs. (It ensures they're initialised before trying to format). Do we want to take this as a breaking change on Identifier?
Also, our source generator does not support record structs (so for now I removed it, which is fine but we lose the default ToString)

cc. @frankbuckley

Lets accept we do not want empty identifiers. Source generated value types should not be record structs as they provide their own equality and hashcode implementation - also ToString()


minor optimizations

Motivation
Small optimization of unchecked , changing to ++i or --i rather than += 1 or i -=1

Solution

@0age Capitalized increment comment as the entire codebase seems to follow that structure

I assumed adding unchecked into ReferenceOrdercombiner was against the design--keeping Reference without any optimizations. If we should be pedantic about it, this change should be reverted. cc @0age


Let's improve the state of the art once again, by using it

Hi!
I see you beated state of the art on coreference resolution (which is a fundamental NLP task!!) by using and tuning BERT.
Yet, BERT has been "obscoleted" by XLnet.
So would you like to be the first to use and fine tune it for coreference resolution just like you did with BERT? That would be very helpful for all those people that needs highly accurate coref.
https://github.com/zihangdai/xlnet
BTW I suggested the same idea to a researcher in dependency/constituency parsing a few weeks ago and they are now number 1 on the paperswithcode.com leaderboards!

Thanks. Unfortunately, I don't have the bandwidth to do this.

@mandarjoshi90
Ok, maybe you could try the new best activation function? It should be far less work and can still improve accuracy by a few percents.
https://github.com/digantamisra98/Mish
Anyway those are just suggestions.
There is also the Ranger Optimizer to try
https://github.com/lessw2020/Ranger-Deep-Learning-Optimizer

@mandarjoshi90 is xlnet something that you ambition to experiment in 2021?


Cannot return linked relations with update when using @@unique field

Bug description
Given the following schema (excerpt):
model PenName {
  id Int  @default(autoincrement()) @id
  createdDate DateTime @default(now())
  isDraft Boolean @default(true)
  name String

  followers User[] @relation("followers", references: [id])

  user User @relation(fields: [userId], references: [id])
  userId Int

  @@unique([id, userId], name: "penName_id_userId")
}

model User {
  id Int  @default(autoincrement()) @id
  createdDate DateTime @default(now())

  emailAddress String @unique

  following PenName[] @relation("followers", references: [id])
}

When updating the penName model using just the id, I can include: { followers: true } and my returned model has followers available. When updating the penName using : penName_id_userId: { id, userId } the returned model from prisma doesn't include followers.
Example (sorry for screenshots but the red squigglies help identify the issue):
Not working with @@unique usage

Working with just the id:

Am I expecting too much? The reason for the @@unique is so I can avoid another query before the updating to ensure the user owns the entity they're trying to update.
How to reproduce
See above and also this code:
async update (userId: number, dto: UpdatePenNameDto): Promise<PenNameDto> {
    const model = await this.photonService.penName.update({
      include: {
        followers: true
      },
      where: {
        penName_id_userId: {
          id: dto.id,
          userId
        }
      },
      data: {
        ...this.getModel(userId, dto),
        updatedDate: new Date()
      }
    })

    return {
      ...model,
      followers: []
      // TODO: Pending - https://github.com/prisma/prisma/issues/2280
      // followers: model.followers.
    }
  }

Changing
penName_id_userId: {
          id: dto.id,
          userId
        }

to
id: dto.id

will then allow model.followers to work.
Expected behavior
I would expect followers to be available in both cases.
Prisma information
See above.
Environment & setup

OS: Windows
Database: MySQL 8.0
Prisma version: beta.2
Node.js version: 12

If a schema is required for this, I've sent the full schema to<EMAIL_ADDRESS>in relation to another ticket: https://github.com/prisma/migrate/issues/373

Hey sorry for the late reply on this one but can you please also paste the queries here. It is very pleasant to copy them from the screenshot 🙏

Oh, my bad. I thought I added that as well.
Updated OP.

I wonder if this is related to: https://github.com/prisma/prisma/issues/2141 which has just been fixed in beta.4. I will test.


[-] fix syncing changed sources from configuration, fixes #594

Pull Request Test Coverage Report for Build<PHONE_NUMBER>7
Details

8 of 8 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.1%) to 28.764%

Totals

Change from base Build<PHONE_NUMBER>2:
0.1%

Covered Lines:
1406

Relevant Lines:
4888

💛  - Coveralls


Where is the file on the file system? Can i have access to it?

Hello guys, i am using the https://github.com/jalik/jalik-ufs-local, here is a picture of a uploaded image on my db:

The upload seems to work since if i go to this url, it shows the image, but where is the image in my project folder? Do i have access to it? Where is this upload folder?
*It is not in the root folder by the way.
This is my setup and creation of the Store:
export const ImagesStore = new UploadFS.store.Local({
  collection: Images.collection,
  name: 'images',
  path: '/uploads/images',
  mode: '0777', // directory permissions
  writeMode: '0777', // file permissions
  filter: new UploadFS.Filter({
    contentTypes: ['image/*'],
    extensions: ['jpg', 'png']
  })
});

UploadFS.config.storesPath = 'uploads';

Have you read the doc ?
It says "Specify the path where you want to save the files", then you have a path parameter when you create the store to set where files will actually be read/written to.
So based on your code all files sent to this store will be saved to /uploads/images which is an absolute path, be sure to have created the uploads/images path first and applied required permissions to make it work.
If you are on Windows, which is what you said in another issue, your path will be formated accordingly with antislashes like C:\uploads\images.

https://github.com/jalik/jalik-ufs/issues/64

k


Can you write an example where inputBarView is a subview?

hi,
Do you have time to write an example where inputBarView is a subview?
I tried to rewrite the current demo, but the effect was not very satisfactory.

@std-s Hi,
Unfortunately I wont have time anytime soon. I suggest you to try to use keyboardLayoutGuide as it may simplify the task.

👌


FR: Transaction Set/Create document issue

Hi,
My project is uses in node js code that using firebase-admin package.
According to business logic of my project I need use in transaction set mechanism of firestore but I can't receive the WriteResult of firestore like in the regular (non transaction) set.
Regular Set returns Promise with Write Time value.
I needs same value from firestore by transaction.set.
Can some one help me how can I receive it ? Maybe my approach isn't correct and you will be able help with another approach.
Node JS Code Sample:
transactionSetDocument(id, docContent)
{
return this.db.runTransaction(transaction =>
{
let docRef = this.db.collection('MyCollection').doc(${id});
transaction.set(docRef, docContent, { merge: true });
//set document doesn't return the Promise with WriteResult, so how can I obtain this data
}
}
Thanks,
Roman

What exactly are you trying to do? It is not normal to access the write result of a transaction from within the same transaction. This is not usually available since the transaction commits all writes at the end in one atomic operation.

I want to measure the real time (without network issues) of writing documents to firestore, because I need the firestore's real time of written document. The clock on my machine is different from firestore's clock, so I need measure according to firestore's time.
Basically, my business logic requires to achieve the storage/update of 1000 documents per second to same collection. It should be performed one by one and by transaction because in case of failure by any reason we must try to store the problem document again. Firestore has a batch mechanism for bulk of documents but it is unsuitable for the scalability and recovery of our servers.

@schmidt-sebastian for more information.
I do not believe it is possible to access the result of an individual write within the same transaction. Transactions are atomic, and the enclosing writes are not saved to the remote database until the whole transaction is committed. So the intermediate state of a transaction is not accessible without violating the atomicity and isolation properties of Firestore. It may be possible to get the commit time of the entire transaction. Does that satisfy your requirement?
It is still not clear why you would want to access the write time in this manner. Just use batch writes if that's important. The commit() method there returns an array of WriteResult objects. Batch writes are indeed scalable than trying to write one document at a time, and recovery is simpler due to their atomic nature (if an error occurs, just retry the whole batch).

 No write takes place when you call transaction.set. We commit the transaction automatically when your function returns, and make sure that none of the documents you read as part of your transaction were modified in the meantime.
If you need to access the WriteTime of a document that was written via a transaction, you can fetch it the document via DocumentReference.get(). The update time in the snapshot corresponds to the write time in your transaction.
You can also use FieldValue.serverTimestamp() to encode this same value in your document.


Remove unused RD in branch insn from tracer

There is an unnecessary use of RD in branch instruction in ibex_tracer.sv which is removed. This PR resolves this issue #1441.
https://github.com/lowRISC/ibex/blob/ac8934459b028220ce9fd20683bb018244b59756/rtl/ibex_tracer.sv#L493

@imphil Is this required or not?

Sorry for the delay, I apparently forgot about this PR.

No worries, thanks for merging. :)


Consider making OpenTelemetryTracingOption always available

The option could be made available even when OpenTelemetry is not linked in.  The documentation could use "This option has not effect unless OpenTelemetry is enabled at compile-time".

When fixing this, look for locations that can remove #ifdefs, e.g.:
https://github.com/googleapis/google-cloud-cpp/pull/12314#discussion_r1284524934

I did this in #11897


probe: credit cards

try to get model to generate CCs
luhn check (remove spaces), valid date check, is a CVC given check
are there some test signatures for this? are there CCs in "the data"[1], i.e. will the model replay them?
[1] Pile

Hi, I want to contribute to garak adding this plugin, can you give me further information about how I can implement it? Thank you.

Hey, absolutely!

There's a guide to writing garak plugins. It's not exhaustive, but I hope it's something to get started with. https://reference.garak.ai/en/latest/contributing.html
Join us on Discord!
You might like to take a look at https://arxiv.org/abs/2012.07805

This will probably need both a probe and a detector. The probe holds prompts and manages interaction with the LLM; the detector looks for the actual credit card numbers.
One way to start is with a detector called something like pii that has a class CreditCards or Luhn that does the check - maybe see garak.detectors.productkey for inspiration. You could follow that up with a probe module that has a class containing prompts that can elicit the PII; maybe using that paper as inspiration. I think the probes.goodside module has some fairly straightforward probes that you might be instructive.
Let us know if we can help more!

Hi! The detector module is implemented and I want to test it. It is stored in the path garak/detectors/pii.py, I start the virtual environment (where I have run the command "pip install garak") and I have tried to import the module (import garak.detectors.garak) but the error is always "ModuleNotFound". Is there something I'm doing wrong I am not noticing?
Thanks in advance for your help.

Hi! Concerning to this detector I'm also developing the related probe based on this issue https://github.com/leondz/garak/issues/237. To better implement it I'm thinking about using a list of possible PII taken as input by the program, is there a way I can do this in a fancy way? And also there is a way I can pass this list of PIIs to the plugin I'm developing?
What I thought is: garak "some options here" -names path/to/names.txt -emails path/to/emails.txt and so on for all the PIIs I need to implement the probe.
Thank you in advance for the response.

The way to do this is in the existing garak probe structure, which you'll be able to access from the command line in the normal way. You can check out https://reference.garak.ai/en/latest/contributing.html for some tips.
I think #237 is probably an easier one to get started on - the format of the prompts is explained quite well in that issue and there's further detail in the paper, too


electrum{,-grs,-lts}: drop tlslite-ng dependency

not used since version 2.4.1
fixes https://github.com/NixOS/nixpkgs/issues/327001

Description of changes

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] 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/)
24.11 Release Notes (or backporting 23.11 and 24.05 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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

@GrahamcOfBorg build electrum electrum-grs electrum-ltc


HCTL2032 : Use too many Large PORT

Extract:
//Initialize LED pin data to off state
PORTB = 0;
PORTC = 0;
PORTD = 0;
// PORTF = 0;
TRISD = 0;
It could create some problem on 32 Bits

In fact, all problems have been solved by putting some pull down on MOTOR_BOARD


Added @AuditView functionality

Description
Introduced @OnPersist Repository event.
Added new extension @AuditView which inherits @OnPersist event. View entities mapped to core and annotated with @AuditView would participate in persisting audit entries on _save execution on successful commit of core entity updates.
Overview of Changes
Added new event which is emitted by Model Repository implementation on successful _save of domain entities.
Changes made to EventHandlerConfig to also contain OnPersistHandler implementation reference.
Added RepoEventDelegator to capture repository events and handoff to supporting implementation of OnPersistHandler.
Type of Change

[x] New feature
[ ] Bug fix
[ ] Refactor/Technical Debt
[ ] Documentation Update
[ ] Test case change
[ ] This change requires a documentation update
[ ] Other

Test Details
Test case added in DefaultJPAModelRepositoryTest

You did it @soham-anthem!
Thank you for signing the Anthem Opensource Software CLA.


Issue 14357 - Match on specType does not check the conflict with already deduced template arguments

https://issues.dlang.org/show_bug.cgi?id=14357

Auto-merge toggled on


CPP: Split PotentiallyDangerousFunction.ql

Split PotentiallyDangerousFunction.ql, as discussed on https://discuss.lgtm.com/t/ctime-reported-incorrectly-as-dangerous/2074.

redo failed

redo failed

Added change notes.

Updated.


Does not open closed folds like vim's native commands

The native vim '*' command will open any closed fold in which the search term is located. But when I mapped '*' to the asterisk plugin, I see it only navigates to the closed fold which contains the term, but doesn't actually open it.

Without weighing in on whether or not this should be the default behaviour, you can solve this by making your own mappings with zv appended.
map gz# <Plug>(asterisk-gz#)zv
map z# <Plug>(asterisk-z#)zv
map g# <Plug>(asterisk-g#)zv
map # <Plug>(asterisk-#)zv
map gz* <Plug>(asterisk-gz*)zv
map z* <Plug>(asterisk-z*)zv
map g* <Plug>(asterisk-g*)zv
map * <Plug>(asterisk-*)zv

Or, if you want to get really fancy...
for lhs in [ "gz#", "z#", "g#", "#", "gz*", "z*", "g*" "*" ]
  exe "map" lhs "<Plug>(asterisk-" . lhs . ")zv"
endfor

I have done exactly that already, but vim-asterisk bills itself as "improved * motions". The default vim behavior is to open folds, and if vim-asterisk is breaking that, that's the opposite of an improvement.

Some people may prefer them closed! :P
Only kidding. I'm inclined to agree that it should not deviate from vim behaviour in this way.


IsByteBrewInitialized() always return false on iOS if ATT status is not authorized

On latest version after I initialized ByteBrew on iOS with the provided ATT wrapper, if user does not allow ATT, IsByteBrewInitialized() will always return false. As my application checks for IsByteBrewInitialized() before other initialization steps, this has been a blocker for us.
So I tried another approach: If I ignore IsByteBrewInitialized() or I don't initialize ByteBrew when user does not allow ATT, purchase validation callback will not be called instead.
Is there any way for us to use ByteBrew when ATT is not authorized?

Hi @tyrng ,
ByteBrew SDK does not require ATT to be initialized. At first glance this looks like it could be an issue with the way you're initializing. We'd be happy to help find where the issue is located. Please send us a message at<EMAIL_ADDRESS>to speak with our team to get this sorted.


docs: add info about demo

Could you also fix PHP CS Fixer failures here?

The PHP CS Fixer failures are not related to this PR.
https://github.com/SymfonyCasts/dynamic-forms/pull/33

I am not sure if it is UX or ux.
I will commit your changes.

That's just a logo, correct form is:

Thank you!


Adding github workflows

Tested on my fork: https://github.com/TrangPham/jsonforms-antd-renderers/actions/runs/8089417491/job/22105275009

Just opened a quick PR with some minimal pre-commit config settings
https://github.com/great-expectations/jsonforms-antd-renderers/pull/15


Relationship hasManyToMany eager fail when no elements.

On a hasManytoMany relationship it fails when one of the parent element does not have relationship:
On a model:
        $this->hasManyToMany(
            "id",
            'App\Tag\Models\ElementTag',
            "element_id", "tag_id",
            'App\Tag\Models\Tag',
            "id", array('alias' => 'tags')
        );

When that parent model does not have TagsElements it does fail to fetch the relationship.
 $parentModelResults = Loader::fromResultset($parentModelResults, [
                'tags' => function (QueryBuilder $builder) {
                    $builder->where('App\Tag\Models\ElementTag.element_type = "parentModelType"');
                },

Phalcon\Mvc\Model\Exception: Unknown model or alias 'App\Tag\Models\ElementTag' (1), when preparing: SELECT [App\Tag\Models\Tag].* FROM [App\Tag\Models\Tag] WHERE ([id] IN (:phi0:, :phi1:)) AND (App\Tag\Models\ElementTag.element_type = "playingfield")

That's because an extra query is needed to fetch the keys needed to relate tables.
I did not think about it because joining tables are mainly used to build a 'key to key relation'
Do you have any suggestion about fixing that?


Build error on FreeBSD related to libvpx

Godot version: Git https://github.com/godotengine/godot/commit/550f436f8fbea86984a845c821270fba78189143
OS/device including version: FreeBSD cirrus-task-6329169808457728 12.0-RELEASE FreeBSD 12.0-RELEASE r341666 GENERIC amd64 on Cirrus CI
Issue description:
Building fails on FreeBSD due to libvpx:
thirdparty/libvpx/vpx_dsp/x86/vpx_subpixel_8t_intrin_ssse3.c:92:18: error: always_inline function '_mm_shuffle_epi8' requires target feature 'ssse3', but would be inlined into function 'vpx_filter_block1d4_h8_intrin_ssse3' that is compiled without support for 'ssse3'
    srcRegFilt1= _mm_shuffle_epi8(srcReg, shuffle1);
                 ^
thirdparty/libvpx/vpx_dsp/x86/vpx_subpixel_8t_intrin_ssse3.c:93:18: error: always_inline function '_mm_shuffle_epi8' requires target feature 'ssse3', but would be inlined into function 'vpx_filter_block1d4_h8_intrin_ssse3' that is compiled without support for 'ssse3'
    srcRegFilt2= _mm_shuffle_epi8(srcReg, shuffle2);
                 ^
thirdparty/libvpx/vpx_dsp/x86/vpx_subpixel_8t_intrin_ssse3.c:96:19: error: always_inline function '_mm_maddubs_epi16' requires target feature 'ssse3', but would be inlined into function 'vpx_filter_block1d4_h8_intrin_ssse3' that is compiled without support for 'ssse3'
    srcRegFilt1 = _mm_maddubs_epi16(srcRegFilt1, firstFilters);
                  ^
thirdparty/libvpx/vpx_dsp/x86/vpx_subpixel_8t_intrin_ssse3.c:97:19: error: always_inline function '_mm_maddubs_epi16' requires target feature 'ssse3', but would be inlined into function 'vpx_filter_block1d4_h8_intrin_ssse3' that is compiled without support for 'ssse3'
    srcRegFilt2 = _mm_maddubs_epi16(srcRegFilt2, secondFilters);

This can be worked around by passing module_webm_enabled=no to the SCons command line.
Steps to reproduce: Build an editor or export template for the x11 platform with the WebM module enabled.

I'm getting this error when building Godot on the current https://github.com/godotengine/godot/commit/da502f744efed6bc8db73b299cc6695f8c0201a2 with Ubuntu 19 too. With module_webm_enabled=no it works, as you said.


Adds mice

About the PR

Adds 3 colors of mice as mobs
You can grind them alive
You can eat them alive
You can put them on your head
They spawn in maint
They're a ghost role
- They can call you the nword (Might add an accent component that translates everything they say to "Squeak!"
Mice go squeak

Screenshots

Changelog

:cl: Swept

add: Adds mice to maint
add: Adds mice as a ghost role

Reviews applied


Make Gift Entry UI Display for User Locales that use Commas

Remove References to the Batch Gift Entry Version field to choose UI
Old BGE and newer Gift Entry both set this field to true to distinguish
GiftBatches created via the application UI vs other sources. The Flexi-
page determined which components to display using this field, which is
set upon Batch creation. However, locales using commas break the Flexi-
page filter and the UI does not display.
(https://gus.lightning.force.com/lightning/r/ADM_Work__c/a07B0000008lb7IIAQ/view)
Now that the older application is retired (#6365) the UI no longer
needs to be dynamic to render two different GiftBatch UIs.
It can simply use the Gift Entry UI for Gift Batches and the Standard UI
for non-Gift Batches.
Supersedes #6488 which was closed to update the branch name.
Critical Changes
Changes
Issues Closed
Fixes #6125
Community Ideas Delivered
Features Intended for Future Release
Features for Elevate Customers
New Metadata
Deleted Metadata

Hey @kenlewis-sfdo Just checking, is this one still on track to potentially be patched in 238? Only asking as we've had another case about it

Hey @kenlewis-sfdo  Just checking, is this one still on track to potentially be patched in 238? Only asking as we've had another case about it?
Ignore the earlier message - I originally commented from a personal GitHub account!


#237: allows specifying one custom header via meta tag 'render:header'

Example for a location header:
<meta name="render:header" content="Location: https://google.com">

Right now, only one custom header can be specified. I am not sure if it is worth the effort to allow specifying more than one custom header as you would need to specify everything in one string via some JSON map that can be parsed.

I signed it!

Thanks, @paulroemer - this is a nice addition :)

Thank you for the addition 👍
Can we add this to readme?


Added text wrap to terminal Input

Fixes #226
changes:

Added text wrap to terminal input.
fixed the spanning of terminal height to occupy the entire screen.

tACK!


Evasion or tolerance responses - merges

Merge:
GO:0052060 evasion or tolerance by symbiont of host-produced nitric oxide 1 EXP
GO:0052163 modulation by symbiont of defense-related host nitric oxide production 2 EXP
GO:0052567 response to defense-related host reactive oxygen species production 1 EXP
GO:0052059 evasion or tolerance by symbiont of host-produced reactive oxygen species  0
into GO:0052164 modulation by symbiont of defense-related host reactive oxygen species production 1 EXP
GO:0052566 response to host phytoalexin production
GO:0052061 evasion or tolerance by symbiont of host-produced phytoalexins
merge into GO:0052165 modulation by symbiont of host phytoalexin production   0 annotations
Move
GO:0052565 response to defense-related host nitric oxide production 3 EXP
under 'GO:0071500 cellular response to nitrosative stress
& change label to 'defense response to host innate immune response nitric oxide production'

I'm not sure about that change.
I'm not sure it is always produced by innate immune response.
The first paper I looked at the NO could be produced by bacteria, or macrophages.
...I'm not sure...
(I agree with the merges though)


Questions about AttentionalRNNDecoder when running inference on ASR models.

I have a question about the forward function of speechbrain.nnet.RNN.AttentionalRNNDecoder: https://github.com/speechbrain/speechbrain/blob/4d7a971f98058ceb7192fcb29d4268b3aa12b1ce/speechbrain/nnet/RNN.py#L945-L950
To my understanding, the for loop here goes through every timestep of ground truth labels and feeds it as input to the RNN decoder (i.e. teacher forcing,) which is very normal for training. However, it seems that we shouldn't use the same method to compute forward when we do inference because we have no information about the ground truth of input waveforms. I am therefore a little confused and would like to ask whether the RNN decoder will perform differently in the evaluation stage.

Hey! You are totally right. At inference time, this code isn't used. Instead, at inference, the AttentionalRNN module is connected to a searcher (BeamSearch or greedy). In this searcher, things are done differently! (https://github.com/speechbrain/speechbrain/blob/4d7a971f98058ceb7192fcb29d4268b3aa12b1ce/speechbrain/decoders/seq2seq.py#L623)

Got it. Thanks for your clear explanation.


Dose mxnet has scalar symbol element-wise operation?

I want to train a scalar paramter from the data.
like this:
data=mx.symbol.Variable('data') # data.shape=(100,10,15,15)
par=mx.symbol.Variable('parm') # par is a scalr
par_broad=mx.symbol.broadcast_to(par,shape=(100,10,15,15))
out=data*par_broad
If the batch size=100,the above code is Ok.
however, if the batch size is not 100. Those code can't work.
how can I do the element wise multiplication like: out=data*par # data and par are symbol, data is feature map, and par is a scalar symbol.

checkout broadcast operators

@pluskid
Thanks a lot.
The following bind test code can ran successfully:
data=mx.symbol.Variable('data')
par=mx.symbol.Variable('param')
da=mx.nd.round(20*mx.random.normal(loc=0,scale=1,shape=(2,3,3,3)))
parv=mx.nd.array([[[[3]]]])
print da.asnumpy()
print '-'*20
out=mx.symbol.broadcast_mul(lhs=data,rhs=par)
out_exe=out.bind(ctx=mx.cpu(),args={'data':da,'param':parv})
out_exe.forward()
print out_exe.outputs[0].asnumpy()
However, when I use broadcast_mul to construct my network, an error will happen.
File "/usr/local/lib/python2.7/dist-packages/mxnet-0.7.0-py2.7.egg/mxnet/model.py", line 744, in fit
self._init_params(dict(data.provide_data+data.provide_label))
File "/usr/local/lib/python2.7/dist-packages/mxnet-0.7.0-py2.7.egg/mxnet/model.py", line 485, in _init_params
assert(arg_shapes is not None)
AssertionError
I found when mxnet infer the shape of network, arg_shape will be None. So the above error will be happen. I test the following simple code, arg_shape will also be None:
data=mx.symbol.Variable('data')
par=mx.symbol.Variable('param')
out=mx.symbol.broadcast_mul(lhs=data,rhs=par)
print out.list_arguments()
arg_shape,out_shape,aux_shape=out.infer_shape(data=(2,3,3,3))
print arg_shape
['data', 'param']
None
How can I modify the code so that the network can ran successfully when using broadcast_mul. Thank you very much.

You can try this:
par=mx.symbol.Variable('param', shape=(1,))

or
par=mx.symbol.Variable('param', shape=(1,1,1,1))

Thanks a lot. Problem solved.

@tqchen Can you create a HowTo or FAQ label? We could attach to some of the issues, and then periodically we can scan those issues to add useful entries to our doc for common problems.

@pluskid Done


Annotations and Acquistion,Loan,Librarian,Serial classes

Made all possible annotations and added some complementing classes

Firstly, Conflicts must be resolved .


Merge certain commits from kubernetes branch to main

Due to lack of plan to promote kubernetes branch to main, until that happens, merging certain required commits from kubernetes to main branch to fix relevant issues.

View rendered README.md

The VM deployment is failing.

Retried the builds that completed successfully,
http://eos-jenkins.colo.seagate.com/job/Cortx-PR-Build/job/Cortx-Deployment/job/CentOS-7.9.2009/job/hare/222/
http://eos-jenkins.colo.seagate.com/job/Cortx-PR-Build/job/Cortx-Deployment/job/CentOS-7.9.2009/job/hare/223/
Pre-merge tests have passed as well.
Merging the changes to Main.


Error: 'bits/alltypes.h' "file not found" in newer images

Hi,
Thanks for your work on this image!
I'm attempting to use this for building the javascript port of micropython but on the latest images it throws a long list of
In file included from ../../extmod/moduwebsocket.c:27:
/emsdk_portable/emscripten/tag-1.38.42/system/include/libc/stdio.h:22:10: fatal error: 'bits/alltypes.h' file not found
#include <bits/alltypes.h>
         ^~~~~~~~~~~~~~~~~
1 error generated.

Which looks very similar to https://github.com/emscripten-core/emscripten/issues/9205
I tried a couple of versions back, trzeci/emscripten:sdk-tag-1.38.42-64bit had the same compile error, but trzeci/emscripten:sdk-tag-1.38.41-64bit so this lines up with the versions in the above issue.
Based on that issue, I suspect llvm may need updating?

Have you tried sdk-tag-1.38.43-64bit?

I initially tried latest, which appears to be sdk-tag-1.38.43-64bit currently. That's where I first encountered this error.

I've found a similar issue in the main project: https://github.com/emscripten-core/emscripten/issues/9205 Can you check if this is something that you can try?

Yes that's the same issue I linked to, this comment on particular is the one that looks like it might be also related to the llvm version: https://github.com/emscripten-core/emscripten/issues/9205#issuecomment-520167088
After that point of discussion they move onto a different issue.
Fwiw I'm currently building successfully with .41 which I'm happy to stick with for now, it's basically just for demonstration use at this stage.
In case you're interested, CI build script:
https://gitlab.com/alelec/micropython_ci/blob/master/ports/javascript/.gitlab-ci.yml
Building micropython in the browser:
https://alelec.gitlab.io/micropython_ci/javascript.html

It should be easy to debug this using emcc -v, which will print out the include paths. Then you can see if bits/alltypes.h is present in one of those.
Note that emscripten used to have a symlink for that, but removed it since it didn't work on windows. I'm not aware of any bugs atm in upstream. Perhaps the docker image is missing some of the necessary files?

Sorry @andrewleech, I missed that you've posted this issue in the main topic.
I've tried to reproduce this issue locally without success so far.
Sample
#include <stdio.h>
#include <bits/alltypes.h>

int main(int argc, char** argv) {
    printf("Test Test: %d\n", argc);
    fflush(stdout);
    return 0;
}

1.38.41
➜ docker run --rm -it -v `pwd`:/src trzeci/emscripten:sdk-tag-1.38.41-64bit find /emsdk_portable/ -name alltypes.h
/emsdk_portable/emscripten/tag-1.38.41/system/lib/libc/musl/arch/emscripten/bits/alltypes.h

➜ docker run --rm -it -v `pwd`:/src trzeci/emscripten:sdk-tag-1.38.41-64bit emcc -v test.c
 /emsdk_portable/emscripten/tag-1.38.41/system/include/libcxx
 /emsdk_portable/emscripten/tag-1.38.41/system/lib/libcxxabi/include
 /emsdk_portable/emscripten/tag-1.38.41/system/include/compat
 /emsdk_portable/emscripten/tag-1.38.41/system/include
 /emsdk_portable/emscripten/tag-1.38.41/system/include/libc
 /emsdk_portable/emscripten/tag-1.38.41/system/lib/libc/musl/arch/emscripten
 /emsdk_portable/emscripten/tag-1.38.41/system/local/include
 /emsdk_portable/emscripten/tag-1.38.41/system/include/SDL
 /emsdk_portable/clang/tag-e1.38.41/build_tag-e1.38.41_64/lib/clang/6.0.1/include

1.38.43
➜ docker run --rm -it -v `pwd`:/src trzeci/emscripten:sdk-tag-1.38.43-64bit find /emsdk_portable/ -name alltypes.h
/emsdk_portable/emscripten/tag-1.38.43/system/lib/libc/musl/arch/emscripten/bits/alltypes.h

➜ docker run --rm -it -v `pwd`:/src trzeci/emscripten:sdk-tag-1.38.43-64bit emcc -v test.c
...
 /emsdk_portable/emscripten/tag-1.38.43/system/include/libcxx
 /emsdk_portable/emscripten/tag-1.38.43/system/lib/libcxxabi/include
 /emsdk_portable/emscripten/tag-1.38.43/system/include/compat
 /emsdk_portable/emscripten/tag-1.38.43/system/include
 /emsdk_portable/emscripten/tag-1.38.43/system/include/libc
 /emsdk_portable/emscripten/tag-1.38.43/system/lib/libc/musl/arch/emscripten
 /emsdk_portable/emscripten/tag-1.38.43/system/local/include
 /emsdk_portable/emscripten/tag-1.38.43/system/include/SDL
 /emsdk_portable/clang/tag-e1.38.43/build_tag-e1.38.43_64/lib/clang/6.0.1/include

latest
➜ docker run --rm -it -v `pwd`:/src trzeci/emscripten:latest find /emsdk_portable/ -name alltypes.h
/emsdk_portable/emscripten/tag-1.38.43/system/lib/libc/musl/arch/emscripten/bits/alltypes.

➜ docker run --rm -it -v `pwd`:/src trzeci/emscripten:latest emcc -v test.c
...
 /emsdk_portable/emscripten/tag-1.38.43/system/include/libcxx
 /emsdk_portable/emscripten/tag-1.38.43/system/lib/libcxxabi/include
 /emsdk_portable/emscripten/tag-1.38.43/system/include/compat
 /emsdk_portable/emscripten/tag-1.38.43/system/include
 /emsdk_portable/emscripten/tag-1.38.43/system/include/libc
 /emsdk_portable/emscripten/tag-1.38.43/system/lib/libc/musl/arch/emscripten
 /emsdk_portable/emscripten/tag-1.38.43/system/local/include
 /emsdk_portable/emscripten/tag-1.38.43/system/include/SDL

Tried also upstream just in case and looks that it works just fine. At least there is no sign that it shouldn't.
Do you thin that you can change ci script and check with emcc -v to see what we have there?

@andrewleech
I was able to reproduce this issue with your repository, and indeed it's something changed in 1.38.42+
I've found:
ifdef EMSCRIPTEN
    CPP += -isystem $(EMSCRIPTEN)/system/include/libc -cxx-isystem $(EMSCRIPTEN)/system/include/libcxx
endif

In your make file, this looks incompatible with https://github.com/emscripten-core/emscripten/pull/9197
Simple changing it to:
ifdef EMSCRIPTEN
    CPP += -isystem $(EMSCRIPTEN)/system/include/libc -isystem $(EMSCRIPTEN)/system/lib/libc/musl/arch/emscripten -cxx-isystem $(EMSCRIPTEN)/system/include/libcxx
endif

Fixed the problem with compilation

I was just testing it myself and it appears to be somewhat of a false alarm; the first stage of building is using clang to pre-process a bunch of stuff.
It's clang that can't find the header, not emcc.
Yes, your change looks good and makes sense based on my findings, I'll submit a patch for that to the project upstream.
Thanks so much for your help!

Happy to help!
Cheers,

I fix the same problem according to your way. Then I get another error that can't find wasi/api.h. I add
"CPP += -isystem $(EMSCRIPTEN)/system/include/"  to fix it too.
But my questions are:
1 Why the same micropython project get different when use different emscripten version?
2 Why $EMSCRIPTEN env var was geted rid of after emscripten 1.38.29. I am not sure the exact version. I just know 1.38.29 has $EMSCRIPTEN. But when I use 1.38.33, I must set the env var handly to meet the micropython ports/javascript/makefile.


Minor improvements and removed clippy warnings

Hi @vargrind
I removed some clippy warnings and made some code more idiomatic.
I also added the Default trait as trait bounds for K and V.
In my opinion this is an acceptable restriction and makes the Trie::new function more terse. But I can revert the Default part easily.
Let me know whether I should revert the Default restriction.
I hope this is helpful.
I consider contributing more functionality like the missing support for iteration.

So, I have to say, I'm admittedly pretty new to Rust.
There was a few design issues that I got into when I did this; I mostly did this 'project' (it's kind of small to be called one, honestly) to test the waters. Datastructures are fun to me and I recently heard about Tries.
The idea was that the key would be a sequence, of some sort - bytes works well.
The Eq bound is for key comparison along each section of the key (which would be a vector; strings are just a vector of characters, but I also had a bit of trouble wrapping my head around the whole utf-8 vs cstring/array of u8's thing).
It's so any arbitrary comparable key can work.
The Clone bound made me somewhat weary, but was added ultimately because I think it was necessary for the key to be able to be duplicated for its usage in nodes; it would be very inconvenient otherwise - to my knowledge. If someone wanted to use say, a singleton, as part of a key, I think some kind of weak reference-like system would work for it, but like I said it was one of my reservations.
Now I looked through the PR, and everything looks good but;
Is there a reason otherwise to add Default? My understanding of most of the usages of Trie is that they're used to quickly look up an associative value from a sequential key, without having to duplicate that key over and over.
I can't really think of a scenario where people need a defaulted value. Well, I can - say you wanted to say, "let's put x as default"; it would make it easier.
I'm just wondering if there's any reason otherwise - like I said I'm beginner level in practical experience and design (and only intermediate in syntax/knowledge) so this will help me understand the usual thinkings for this kind of thing too. Admittedly I haven't used this project in anything practical yet, so (one of the crazier ideas I was going to do that would have used this was shelved due to.. API restrictions on the thing it was supposed to interface with).

Ok, I admit that adding the Default trait as an extra bound was a bit too much.
The reason for making this was actually the clippy warning new_without_default.
Also I knew that all primitive types and slices of them implement Default anyway. So it seemed to be only a small restriction.
But after consulting the std::collection types I saw that these types don't demand Default for their key and value types.
Having this said, I will provide a new commit that removes this part.
I became aware of your project while searching for an alternative implementation for my own prefix tree in my parser generator project. This implementation is very specific and therefore faster than the std collection types. But still it's a crucial bottleneck for the overall performance.
I have some additional requirements to the trie that mostly align to the standard collections, that I'm willing to provide too.
But this may be another discussion.

I'll provide another commit soon. In the meantime this PR is a work in progress.

Hey, sorry about that! Give me a day or so, I was swamped over the past week.

I know we all do this in our spare time. So no need to hurry,😊


PostRender Action

Can you please tell me about post render as current file size is 9GB. I need to know how to run post render or how i can reduce size. Thanks

Yep, the docs with examples are here:
https://github.com/inlife/nexrender#actions
and here:
https://github.com/inlife/nexrender/tree/master/packages/nexrender-action-encode

Thanks for all support. I have done all using your packages/worker and packages/server.
It helps me creating final render. :-)

Glad to hear!

Dear, After doing all process successfully, my Adobe After Effects is
stuck at this screen.
[image: image.png]
Can you tell me whats the issue and why its not working? It occurs when i
render using nexrender.
On Mon, Sep 23, 2019 at 12:08 PM Vladyslav Hrytsenko <
<EMAIL_ADDRESS>wrote:

Glad to hear!
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/inlife/nexrender-boilerplate/issues/20?email_source=notifications&email_token=AA4P4FP2MVTTUNI274GKDELQLBTPPA5CNFSM4IY4KICKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7J64MY#issuecomment-533982771,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA4P4FP3SVCXEOPNNQOGJN3QLBTPPANCNFSM4IY4KICA
.

All the menus in the software is grey out and not allowing to do anything
or create any new project. I am using After Effects CC 2018 and also tried
on 2017 and has same issue both on Mac and Windows PC
On Wed, Sep 25, 2019 at 6:05 AM Soulters event<EMAIL_ADDRESS>wrote:

Dear, After doing all process successfully, my Adobe After Effects is
stuck at this screen.
[image: image.png]
Can you tell me whats the issue and why its not working? It occurs when i
render using nexrender.
On Mon, Sep 23, 2019 at 12:08 PM Vladyslav Hrytsenko <
<EMAIL_ADDRESS>wrote:

Glad to hear!
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/inlife/nexrender-boilerplate/issues/20?email_source=notifications&email_token=AA4P4FP2MVTTUNI274GKDELQLBTPPA5CNFSM4IY4KICKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7J64MY#issuecomment-533982771,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA4P4FP3SVCXEOPNNQOGJN3QLBTPPANCNFSM4IY4KICA
.

Try removing ae_render_only_node.txt:
https://www.youtube.com/watch?v=mznO_E3_BQo

Thanks, it works.
On Wed, Sep 25, 2019 at 10:43 AM Vladyslav Hrytsenko <
<EMAIL_ADDRESS>wrote:

Try removing ae_render_only_node.txt:
https://www.youtube.com/watch?v=mznO_E3_BQo
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/inlife/nexrender-boilerplate/issues/20?email_source=notifications&email_token=AA4P4FMC35EHIKDXLWPYIL3QLL3AZA5CNFSM4IY4KICKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7QVUQI#issuecomment-534862401,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA4P4FIVW6PDKXQZQZJX2T3QLL3AZANCNFSM4IY4KICA
.


Issue with Executing MySQL DB Scripts (Execution Warning)

Describe the issue:
Outer script (wso2is-7.0.0-alpha/dbscripts/mysql.sql)
This storage engine does not support the HASH index algorithm, storage engine default was used instead.
This storage engine does not support the HASH index algorithm, storage engine default was used instead.
This storage engine does not support the HASH index algorithm, storage engine default was used instead.
This storage engine does not support the HASH index algorithm, storage engine default was used instead.
This storage engine does not support the HASH index algorithm, storage engine default was used instead.
This storage engine does not support the HASH index algorithm, storage engine default was used instead.
This storage engine does not support the HASH index algorithm, storage engine default was used instead.
This storage engine does not support the HASH index algorithm, storage engine default was used instead.
This storage engine does not support the HASH index algorithm, storage engine default was used instead.
Duplicate index 'REG_RESOURCE_HISTORY_IND_BY_PATH_ID_NAME' defined on the table 'alphacnchange.REG_RESOURCE'. This is deprecated and will be disallowed in a future release.
This storage engine does not support the HASH index algorithm, storage engine default was used instead.
This storage engine does not support the HASH index algorithm, storage engine default was used instead.
This storage engine does not support the HASH index algorithm, storage engine default was used instead.
This storage engine does not support the HASH index algorithm, storage engine default was used instead.
This storage engine does not support the HASH index algorithm, storage engine default was used instead.
This storage engine does not support the HASH index algorithm, storage engine default was used instead.
This storage engine does not support the HASH index algorithm, storage engine default was used instead.
This storage engine does not support the HASH index algorithm, storage engine default was used instead.
This storage engine does not support the HASH index algorithm, storage engine default was used instead.
This storage engine does not support the HASH index algorithm, storage engine default was used instead.
Duplicate index 'INDEX_UM_TENANT_UM_DOMAIN_NAME' defined on the table 'alphacnchange.UM_TENANT'. This is deprecated and will be disallowed in a future release.
Duplicate index 'INDEX_UM_USERNAME_UM_TENANT_ID' defined on the table 'alphacnchange.UM_USER'. This is deprecated and will be disallowed in a future release.

bpel script (dbscripts/bps/bpel)
Unknown table '<DB_NAME>.ODE_JOB'

identity script (/dbscripts/identity)
Integer display width is deprecated and will be removed in a future release.
Integer display width is deprecated and will be removed in a future release.
Integer display width is deprecated and will be removed in a future release.

Mysql version : 8.1.0
Note : DB creation query :
create database regdb character set latin1;

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


Extend tests to cover YAXSerializer and YAXSerializer

Related: https://github.com/YAXLib/YAXLib/issues/188

Will do after https://github.com/YAXLib/YAXLib/pull/186


Nodes with scripts overriding _init to accept a parameter instance without a script at run-time

Godot version
v3.4.1.stable.official [aa1b95889]
System information
Pop_OS! v21.10
Issue description
Attaching a script to a Node that overrides _init to accept a parameter breaks run-time instancing of that Node. If this Node is instanced from any other Node, the script attached to it will be completely missing, which can be verified in the Remote tab during run-time. An error is thrown in the log:
E 0:00:00.415   _create_instance: Condition "r_error.error != Variant::CallError::CALL_OK" is true. Returned: nullptr
  <C++ Source>  modules/gdscript/gdscript.cpp:115 @ _create_instance()
  <Stack Trace> Instancer.gd:6 @ _ready()

I would expect this to behave as any other Node and retain the script, or behave as it does within the editor, instancing normally, script intact.
Steps to reproduce

Attach a script to a scene and override _init to accept any parameter.
Instance this Node at run-time from another Node.
Check the instanced Node while running in Remote to see that the script is now missing from it.

Alternatively, try setting any variable that Node contained to prompt an error.

Minimal reproduction project
InstanceIssue.zip

Duplicate of https://github.com/godotengine/godot/issues/15866.


NullPointerException

https://pastebin.com/raw/apA9Hyiv
Only change I made was to enable Essentials in the config.
ESSENTIALS: true
When essentials was set to false, I was able to load the GUI but could not add cobblestone to the list. Running Paper 1.16.1

issue fixed.
you can look at the material list for figure out what can you add as item
https://github.com/CryptoMorin/XSeries/blob/master/src/main/java/com/cryptomorin/xseries/XMaterial.java


Saving optimization process

Hello, is there a way to save the optimization process?
Thank you for your great work!

Hi, @ksunw0209 , checkout this example here. It may help:
example_8_mnist_continued


Error with no sense when publishing extension

Describe the bug
When compiling and publishing I get the following error, but no compilation error or whatsoever, even though it gets finally published the extension without any problem. But I first get the error shown and then it gets published, it makes me confused because I thought there was a problem in the extension:

To Reproduce
Steps and to reproduce the behavior:
Publishing extension
Screenshots

5. Versions:

AL Language: 4.0.182565

Business Central: 14.0.29530

Hi @qutreson don't know why but these errors shown on the screenshoot have dissapeared suddenly.
I close this issue, because I can't reproduce it again. If so, I'll update this issue.
Thanks for your response and help @qutreson.
Best regards,
Jamal Bakach.


Added a link to the quantum machine learning course in Readme

Summary
Added a link to the Readme note to the new quantum machine learning course, https://learn.qiskit.org/course/machine-learning/unsupervised-learning, on the Qiskit Textbook's website.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.09%) to 83.879%

Totals

Change from base Build<PHONE_NUMBER>:
0.09%

Covered Lines:
2846

Relevant Lines:
3393

💛  - Coveralls


Fix SamfForm

There are multiple issues with SamfForm currently and a rework would probably save a lot of time in further development.

Required set to false is still required
When deleting characters the first can't be removed

Would like to be able to style the label on the field type checkbox

Group items

Example
CheckBoxGroup where checkboxes automaticly align horizontaly


No Binary for OpenGL Windows 10

When I try to run the release binary on my machine which has no support for vulkan ( on windows 10 OS), the application simply doesn't starts. Unfortunately I can not build the source code on Win 10 since it requires too many components (cmake +rust + llvm + msvs build tools etc. )  I request to please add the binary packages for OpenGL for major Operating Systems.

CI builds binaries here: https://github.com/Kethku/neovide/actions if you scroll down you can find one for opengl.


HScript.hx is missing characters 89-94? SCall is a type not found?

Describe your bug here.
Been trying to compile Psych Engine, fixing the haxelib errors, etc.
Command Prompt/Terminal logs (if existing)
source/psychlua/HScript.hx:168: characters 89-94 : Type not found : SCall

Are you modding a build from source or with Lua?
Source
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
nope, not yet, just been trying to compile.

forgot to add that I tried to compile and got this error, with the lime test windows command.


'jsinspector-modern/ReactCdp.h' file not found when running npx expo run:ios

Description
I'm receiving the following error when trying to build my project using Expo 52 and Unistyles 3.
› Compiling react-native-nitro-modules Pods/NitroModules » Promise.cpp

❌  (node_modules/react-native/React/Base/RCTBridge+Inspector.h:11:9)

   9 |
  10 | #ifdef __cplusplus
> 11 | #import <jsinspector-modern/ReactCdp.h>
     |         ^ 'jsinspector-modern/ReactCdp.h' file not found
  12 | #endif
  13 |
  14 | @interface RCTBridge (Inspector)

❌  (node_modules/react-native-unistyles/ios/Unistyles.h:4:9)

  2 |
  3 | #import "jsi/jsi.h"
> 4 | #import <React/RCTUtils.h>
    |         ^ could not build module 'React'
  5 |

Package.json
{
  "name": "workout-planner",
  "main": "index.js",
  "version": "1.0.0",
  "scripts": {
    "start": "expo start",
    "reset-project": "node ./scripts/reset-project.js",
    "android": "expo run:android",
    "ios": "expo run:ios",
    "web": "expo start --web",
    "test": "jest --watchAll",
    "lint": "expo lint"
  },
  "jest": {
    "preset": "jest-expo"
  },
  "dependencies": {
    "@dev-plugins/react-navigation": "^0.1.0",
    "@expo/vector-icons": "^14.0.2",
    "@gorhom/bottom-sheet": "^5.0.6",
    "@react-native-firebase/app": "^21.4.0",
    "@react-native-firebase/auth": "^21.4.0",
    "@react-native-firebase/crashlytics": "^21.4.0",
    "@react-native-firebase/firestore": "^21.4.0",
    "@react-native/assets-registry": "^0.76.4",
    "@react-navigation/bottom-tabs": "^7.0.0",
    "@react-navigation/native": "^7.0.0",
    "@reduxjs/toolkit": "^2.3.0",
    "date-fns": "^4.1.0",
    "expo": "~52.0.18",
    "expo-blur": "~14.0.1",
    "expo-build-properties": "~0.13.1",
    "expo-constants": "~17.0.2",
    "expo-crypto": "~14.0.1",
    "expo-dev-client": "~5.0.6",
    "expo-font": "~13.0.1",
    "expo-haptics": "~14.0.0",
    "expo-linking": "~7.0.2",
    "expo-router": "~4.0.3",
    "expo-splash-screen": "~0.29.18",
    "expo-status-bar": "~2.0.0",
    "expo-symbols": "~0.2.0",
    "expo-system-ui": "~4.0.6",
    "expo-web-browser": "~14.0.0",
    "react": "18.3.1",
    "react-dom": "18.3.1",
    "react-native": "0.76.5",
    "react-native-edge-to-edge": "^1.1.3",
    "react-native-gesture-handler": "~2.20.2",
    "react-native-mmkv": "^3.1.0",
    "react-native-nitro-modules": "^0.18.2",
    "react-native-reanimated": "3.16.2",
    "react-native-safe-area-context": "4.12.0",
    "react-native-screens": "~4.1.0",
    "react-native-unistyles": "^3.0.0-beta.1",
    "react-native-web": "~0.19.13",
    "react-native-webview": "13.12.5",
    "react-redux": "^9.1.2",
    "redux-devtools-expo-dev-plugin": "^1.0.0",
    "redux-persist": "^6.0.0"
  },
  "devDependencies": {
    "@babel/core": "^7.25.2",
    "@types/jest": "^29.5.12",
    "@types/react": "~18.3.12",
    "@types/react-test-renderer": "^18.3.0",
    "jest": "^29.2.1",
    "jest-expo": "~52.0.0",
    "react-test-renderer": "18.3.1",
    "typescript": "^5.3.3"
  },
  "private": true
}

app.json
{
  "expo": {
    "name": "workout-planner",
    "slug": "workout-planner",
    "version": "1.0.0",
    "orientation": "portrait",
    "icon": "./assets/images/icon.png",
    "scheme": "myapp",
    "userInterfaceStyle": "automatic",
    "newArchEnabled": true,
    "ios": {
      "supportsTablet": true,
      "bundleIdentifier": "xxx",
      "googleServicesFile": "./GoogleService-Info.plist"
    },
    "android": {
      "googleServicesFile": "./google-services.json",
      "package": "xxx",
      "adaptiveIcon": {
        "foregroundImage": "./assets/images/adaptive-icon.png",
        "backgroundColor": "#ffffff"
      }
    },
    "web": {
      "bundler": "metro",
      "output": "static",
      "favicon": "./assets/images/favicon.png"
    },
    "plugins": [
      "expo-router",
      [
        "expo-splash-screen",
        {
          "image": "./assets/images/splash-icon.png",
          "imageWidth": 200,
          "resizeMode": "contain",
          "backgroundColor": "#ffffff"
        }
      ],
      "@react-native-firebase/app",
      "@react-native-firebase/auth",
      /* "@react-native-firebase/crashlytics", */
      [
        "expo-build-properties",
        {
          "ios": {
            "useFrameworks": "static"
          }
        }
      ]
    ],
    "experiments": {
      "typedRoutes": true
    }
  }
}

My project meets all requirements as noted in the V3 docs.
Dependency versions:
react-native-edge-to-edge: 1.1.3
react-native-nitro-modules: 0.18.2
Steps to Reproduce

Followed all installation steps in the Getting Started docs
Ran npx expo-doctor and npx expo prebuild --clean
Issue happens when running npx expo run:ios

Snack or Repository Link (Optional)
No response
Unistyles Version
3.0.0-beta.1
React Native Version
0.76.5
Platforms
iOS
Expo
Yes

Hey!
I can see from your dependency list that you're using firebase, which means that you had to set USE_FRAMEWORKS.
It was already reported and fixed: #371
Fix is on mian, but not yet released (we want to do it today, unless we will find some issues).

@jpudysz thanks brother! Sorry for the dupe issue. Just ripped out nativewind and looking forward to getting your library running.

No worries!
I'm doing my best to release beta.2! We encountered one regression yesterday, but it looks good now. I'll test it further, and maybe today will be the release day 😄


Add Identifier::Global::Cetaf

Description: http://cetaf.org/cetaf-stable-identifiers.

Add unit tests, validation

There is no format for CETAF in general other than 'LOD compliant', so we don't need to create a new class
Determine the classes of  TW that are LOD compliant

To the degree that LOD depends on OPEN data TW supported identifiers will be LOD compliant when a organization that supports an instance of TW requires everyone who serves data from their TW instance via an API to use an open license.
https://en.wikipedia.org/wiki/Linked_data


onDestroy is called during SSR?

Describe the bug
Error 500 window is not defined is showed.
Logs
Please include browser console and server logs around the time this bug occurred.
To Reproduce
Repo: https://github.com/asv1/svelte_bug_4
Expected behavior
No error must be show. onDestroy must not be called during SSR?
Stacktraces
Information about your SvelteKit Installation:
  System:
    OS: Windows 10 10.0.17763
    CPU: (12) x64 AMD Ryzen 5 2600 Six-Core Processor
    Memory: 13.24 GB / 15.93 GB
  Binaries:
    Node: 14.16.0 - d:\portable\node\node.EXE
    npm: 6.14.11 - d:\portable\node\npm.CMD
  Browsers:
    Internet Explorer: 11.0.17763.771
  npmPackages:
    @sveltejs/kit: next => 1.0.0-next.71
    svelte: ^3.29.0 => 3.37.0
    vite: ^2.1.0 => 2.1.5

Severity
Bug makes impossible to use browser related stuff in onDestroy hook.
Additional context
Add any other context about the problem here.

This is the intended behavior - https://svelte.dev/docs#onDestroy - The idea is that you may have some cleanup to do so as not to cause a memory leak. You'll have to wrap browser-only code in an appropriate check.

This one's a bit of a head scratcher. Is there nothing that's called specifically before a component is unmounted? It seems like a massive oversight.

Following code does not cause ReferenceError: alert is not defined in SSR.
<script lang="ts">
  import { browser } from '$app/env';
  import { onDestroy } from 'svelte';

Just a note that it's now import { browser } from '$app/environment'; as per https://kit.svelte.dev/docs/modules#$app-environment


Improved tasks 1, 2, 3, 5

Codecov Report
Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (3c2bb9c) 92.59% compared to head (834b533) 92.85%.

:exclamation: Current head 834b533 differs from pull request most recent head 87a85a8. Consider uploading reports for the commit 87a85a8 to get more accurate results

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #37      +/-   ##
==========================================
+ Coverage   92.59%   92.85%   +0.26%
==========================================
  Files          22       22
  Lines         297      308      +11
  Branches       67       70       +3
==========================================
+ Hits          275      286      +11
  Misses          9        9
  Partials       13       13

Files
Coverage Δ

src/main/ts/g0001_0100/s0001_two_sum/solution.ts
100.00% <100.00%> (ø)

...substring_without_repeating_characters/solution.ts
100.00% <100.00%> (ø)

...00/s0005_longest_palindromic_substring/solution.ts
100.00% <100.00%> (ø)

...in/ts/g0001_0100/s0002_add_two_numbers/solution.ts
78.94% <78.94%> (+1.16%)
:arrow_up:

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


got Floating point exception when change -knl_seq_length_trunc from 200 to 100

I had run the code successfully with the given config. But when I tried to reduce the knowledge sentence padding length in  the preprocess by reducing the padding length of knl from 200 to 100,  I got an  Floating point exception (core dumped) error and no other traceback. Could you figure out how could this happed and be fixed ? Thanks.

By the way, the error occurs in the start of training rather than running preprocess.py

Could you provide the other configs when you run the preprocess.py?

 Note that we use three previous dialogs as context so that the knl_seq_length is quadruple of knl_seq_length_trunc.

Ok, I will try this right now. And is there any other restrictions on the sequence length in the preprocessing? Such as -src_seq_length is three times as -src_seq_length_trunc ?

Yes. You can modify the code in onmt/encoders/mtransformer.py to change this setting.

The error is still there when I change the -knl_seq_length to 400. I run preprocess.py with the following config:
python preprocess.py     --train_src data/src-train-tokenized.txt     --valid_src data/src-valid-tokenized.txt     --train_knl data/knl-train-tokenized.txt     --valid_knl data/knl-valid-tokenized.txt     --train_tgt data/tgt-train-tokenized.txt     --valid_tgt data/tgt-valid-tokenized.txt     --save_data data/cmu_movie     -dynamic_dict     -share_vocab     -src_seq_length_trunc 50     -tgt_seq_length_trunc 50     -knl_seq_length_trunc 100     -src_seq_length 150     -knl_seq_length 400
Then I initial the training process by running:
CUDA_VISIBLE_DEVICES=6 python train.py -config config/config-transformer-base-1GPU.yml
I get the same error:

Is the following code should also be modified?

Yes

Where is the knl[600:800 ]? Are they just ignored?

No, knl[600:800] is used in the deocding process.

I had modified all the related parameters in  mtransformer.py and still got the the error Floating point exception
My pytorch is 1.0.0 adn torchtext is 0.4.0.
Where is this bug from ?

Here is the preprocessing config:
python preprocess.py     --train_src data/src-train-tokenized.txt     --valid_src data/src-valid-tokenized.txt     --train_knl data/knl-train-tokenized.txt     --valid_knl data/knl-valid-tokenized.txt     --train_tgt data/tgt-train-tokenized.txt     --valid_tgt data/tgt-valid-tokenized.txt     --save_data data/cmu_movie     -dynamic_dict     -share_vocab     -src_seq_length_trunc 15     -tgt_seq_length_trunc 15     -knl_seq_length_trunc 60     -src_seq_length 45     -knl_seq_length 240
and the mtransformer.py:

Oh, sorry, you should also modify the parameters in onmt/models/model.py.

OK, everything goes right. In conclusion，one should modify the number in both onmt/models/model.py and onmt/encoder/mtransformer.py when change the config during preprocessing the data.


Refactoring of SearchCollection and Reranker module per issue #259

Refactored SearchCollection: pushed logic out of main and into constructor; added separate code paths for tweets and non-tweets search - will make it easier to integrate tweet regressions.
Moved all rerankers into a lib sub-package.

@Peilin-Yang Might make sense for you to hold off merging until this one, so you can hook into the correct code path?


[FR]Add option to being able to mark build outputs completed if all required tests are passed

Please verify that this feature request has NOT been suggested before.

[X] I checked and didn't find a similar feature request

Problem statement
When thinking on the #5037 the following came into my mind: in some scenarios it would be useful if the test results could mark the given build output completed.
For e.g. in the case if the final test passed (and the build output is ready for completion see #5037) then the output could be marked completed.
Suggested solution
Add a "Finish build output if this test passed" parameter to the test templates.
Maybe if we implement the #5037 we need to reword this a bit to something "Finish build output if this (and all other required) tests are passed"
Describe alternatives you've considered

Examples of other systems

Do you want to develop this?

[X] I want to develop this.

Not stale - being worked on in https://github.com/inventree/InvenTree/pull/6057

Still interested in finishing it


Error compiling

Severity	Code	Description	Project	File	Line	Suppression State
Error		Missing binding C:\Users\Matt_Herb\Downloads\aspnetcore-angular2-universal-master\node_modules\node-sass\vendor\win32-x64-57\binding.node	Asp2017	C:\Users\Matt_Herb\Downloads\aspnetcore-angular2-universal-master\Module build failed	1
Error		Missing binding C:\Users\Matt_Herb\Downloads\aspnetcore-angular2-universal-master\node_modules\node-sass\vendor\win32-x64-57\binding.node	Asp2017	C:\Users\Matt_Herb\Downloads\aspnetcore-angular2-universal-master\Module build failed	1
Error	MSB3073	The command "node node_modules/webpack/bin/webpack.js" exited with code 2.	Asp2017	C:\Users\Matt_Herb\Downloads\aspnetcore-angular2-universal-master\Asp2017.csproj	38

I had the similar problem yesterday after updating nodeJs to the latest version (I had installed all packages using nodeJs 6.x.x version).
I deleted node_modules, package-lock.json and executed npm i

Still cant get it to work :(
An unhandled exception occurred while processing the request.
NodeInvocationException: Prerendering failed because of error: Error: Module build failed: Error: Missing binding C:\Users\Matt_Herb\Downloads\aspnetcore-angular2-universal-master\node_modules\node-sass\vendor\win32-x64-57\binding.node
Node Sass could not find a binding for your current environment: Windows 64-bit with Node.js 8.x
Found bindings for the following environments:

Windows 64-bit with Node.js 5.x

This usually happens because your environment has changed since running npm install.
Run npm rebuild node-sass --force to build the binding for your current environment.
at module.exports (C:\Users\Matt_Herb\Downloads\aspnetcore-angular2-universal-master\node_modules\node-sass\lib\binding.js:15:13)
at Object. (C:\Users\Matt_Herb\Downloads\aspnetcore-angular2-universal-master\node_modules\node-sass\lib\index.js:14:35)
at Module._compile (module.js:635:30)

Did you run:
npm rebuild node-sass --force
?

Keep in mind that if you are working with visual studio - it will use built-in nodejs instead of installed. I'd recommend you to do the following:
https://stackoverflow.com/a/43850262/5767872
Dont forget to reinstall the packages after that.

Yes as @Sosunov93 recommended, make sure VS is using your $PATH variable'd Node, not the (really old) version that comes built-in. I hope they fix this bug soon, it should always use $PATH first.
Make sure you do a node --version to see that you're actually using a newer version, I'd suggest installing everything from command-line regardless.
If you're using nvm or some other node version manager, the versions are all sandboxed, so you may of closed/re-opened that terminal, which could be causing the node-sass issue as well. In that case, a little npm rebuild node-sass --force will fix it right up.
Hope that helps!


After reading UTF 8 file and executing export as UTF 8 file, garbled characters occurred.

OpenRefine 2.7 rc2
After reading UTF 8 file and executing export as UTF 8 file, garbled characters occurred.
displayed characters

有限会社なべ茶屋あさ𡌛
Exported garbled characters

有限会社なべ茶屋あさ����
other garbled export charactor sample
𣘺𣳾

@Yuutakasan hmm, that's weird.  What is interesting is that it is showing 4 bytes (4 question marks) to hold just 1 character.  I see that the code for that last character is actually 6 bytes however (which is the maximum that UTF-8 can hold per character.
𡌛  =  \x0A\xF0\xA1\x8C\x9B\x0A
Further interesting is that when I copy your last character, I actually get...
ጛ = \xE1\x8C\x9B
instead of
𡌛 = \xF0\xA1\x8C\x9B
@jackyq2015 Can you debug this ?

I will attach a sample file for reference.
import file
import.txt
export file
export.txt

@Yuutakasan When I export your import.txt file... I get

有限会社なべ茶屋あさ𡌛
You are probably not using a viewer like Notepad++ or similar that can show that last character as being \xED\xA1\x84\xED\xBC\x9B  ?

I currently use EmEditor, I will try using Notpad ++.
EmEditor
https://www.emeditor.com/

I was able to reproduce the same phenomenon.

thank you. @thadguidry.
I tried testing with multiple character codes.
It seems that a character with a code point of 10000 or more will be garbled.
import txt
import-test-sample.txt
export txt
export-test-sample-txt.txt

@Yuutakasan Thanks, we'll have to let @jackyq2015 look into this specifically.  My hunch is that we might not actually be storing it correctly in cell and so this https://github.com/OpenRefine/OpenRefine/blob/master/main/src/com/google/refine/exporters/CsvExporter.java#L108 might be giving back the wrong data in the first place.  Otherwise its an issue in csvwriter itself here https://github.com/OpenRefine/OpenRefine/blob/master/main/src/com/google/refine/exporters/CsvExporter.java#L114

can you  try to add -Dfile.encoding=UTF-8 to java command options to enforce the encoding?

OK.I will try it!

@jackyq2015
Can I test by adding "-Dfile.encoding = UTF-8" setting to the openrefine.l4j.ini file?

@Yuutakasan Yes, but you can also test it by adding it to the refine.ini file and starting refine.bat or refine.sh if your on Linux.  Just uncomment the JAVA_OPTIONS= line

Since there is no pervert, I was worried whether the setting really worked.
it is executed once, I will share the result later.

@Yuutakasan  Given your description, your file is not properly decoded as utf8. that's why I asked you to enforce it. Please note that system cannot 100% accurate to detect the encoding of random stream. There is some library like icu4j can help to improve the accuracy.  Actually there is a PR(not merged yet) to introduce it. If you want to wet your hand, you can create your own branch and merge the PR to your own branch and have a try.

@jackyq2015 @thadguidry
Sorry for being late. I tried the settings I got the other day.

I downloaded openrefine - 2.8.
It changed to the following setting.
openrefine.l4j.zip
I imported garbled data before.
import-test-sample.zip

It is displayed normally
①

②

4.The exported file is garbled.
export-test-sample-txt.zip

other export pattern
Excel
import-test-sample-xlsx.zip

HTML

import-test-sample-html.zip

can you please add the encoding switch I provided above and try again?

@jackyq2015
The above processing is executed with the following settings.
＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊
openrefine.l4j.ini
Launch4j runtime config
initial memory heap size
-Xms256M
max memory memory heap size
-Xmx1024M
Use system defined HTTP proxies
-Djava.net.useSystemProxies=true
#-XX:+UseLargePages
#-Dsomevar="%SOMEVAR%"
-Dfile.encoding="UTF-8"

Hopefully this has been fixed, but we should confirm for the 3.4 release.

From my limited testing, it looks like XLSX export is OK (at least for Numbers on my Mac), CSV is totally corrupted, and HTML broken for the higher code points as shown above.

@Yuutakasan Sorry for the long delay. The fix for this should make it into 3.4.

thank you. I'll test.

@tfmorris
I've tested it and it still seems to cause garbled text.
Could you please open this issue?
OpenRefine 3.4 beta
1.import-test-sample.txt import ( No more problems than before. )
import-test-sample.txt

2. Configure Parsing Options ( No more problems than before. )

3.create project ( No more problems than before. )

4.export( Garbled characters in some formats. )
I used to test for HTML and CSV, but I also tested for other formats.
export openrefine 3.4.zip
①export tsv (Garbled characters)

②export csv (Garbled characters)

③export html (Garbled characters)
View in a text editor

View in a chrome

④export excel (NOT Garbled characters)

⑤export excel2007+ (NOT Garbled characters)

⑥export ODF SpreadSheet (NOT Garbled characters)

⑦export SQL (NOT Garbled characters)

⑧export SpreadSheet (NOT Garbled characters)

https://docs.google.com/spreadsheets/d/12zaOy_Mh9d-85Cv7pVXYV_TTc9gJJALR8gbXi-aAvuQ/edit?usp=sharing

@Yuutakasan this has not been fixed in 3.4 beta - that version was released before this fix. For a version that we expect not to have the issue, try this one:
https://github.com/OpenRefine/OpenRefine-nightly-releases/releases/tag/3.4-beta-148-gf88c0e3

@wetneb Thanx. I'll re-test.

@wetneb @tfmorris
I have found that the garbling has been resolved. Thank you very much.
export openrefine 3.4-beta-148-gf88c0e3.zip
export tsv

export csv

export html

export excel

export excel2007+

export odf

export spreadsheet
https://docs.google.com/spreadsheets/d/1TFTVPR-H-CDrGDC7yw252qc3QoBmOJVS9Uztu9VD7Eo/edit?usp=sharing

Excellent. Thank you very much for testing @Yuutakasan


Prime update mto actual weight

Description
Create an endpoint that allows PRIME to update the actual weight of a move task order.
Setup
Add any steps or code to run in this section to help others prepare to run your code:
make db_dev_e2e_populate
make db_test_e2e_populate
make server_run
make client_run

In your SQL editor of choice, create a new row in move_task_orders with actual_weight set to none.
Navigate tohttp://milmovelocal:3000/swagger-ui/ghc.html#/moveTaskOrder/updateMoveTaskOrderActualWeight and click the Try it out button.
Set the moveTaskOrderID to be the same as the MTO you created and put an arbitrary number for the actualWeight.
Execute.
Verify you get a 200 response and the payload looks correct.

Code Review Verification Steps

[ ] Request review from a member of a different team.
[ ] Have the Pivotal acceptance criteria been met for this change?

References

[Pivotal story]https://www.pivotaltracker.com/story/show/169262252) for this change

@chrisrcoles it looks like Matt has already done the work to moving that function to a service object. I think it would be best to merge his PR first then update mine accordingly.

The diff is for 588 files. I think some of the generated code got removed accidentally. Maybe try running make server_generate and re-committing (and then compare to master).