« first day (3353 days earlier)      last day (764 days later) » 

09:11
0
Q: Bash: How does one read multiple columns from one file to write to another with concatenated text?

khalid.aboelmagdI need to read multiple columns from a file and print those columns with added text to them. An example, file.txt, contains: c0t60060E8007E439000030E43900001677d0 au1433_rpool A4AC527718EA42AB000114B8 c0t60060E8007E439000030E4390000162Cd0 au1433_cpspd_arclog_01 A4AC527718EA42AB000114B9 c0t60060E8...

0
Q: How to passing varable to subprocess?

majid khatib shahidiI have a bash script which do some action and a file with a list of servers(+3000) which formatted like: server1 location dc osversion prod/nonprod server2 location dc osversion prod/nonprod I just need a server name and my bash script only can process one at a ti...

 
1 hour later…
11:20
-2
Q: Training Variational Autoencoder (VAE) on custom dataset

Ovation55I am training a VAE on a custom dataset for anomaly detection. The data consists of around 500 images of empty white boxes (at different positions) such as below: Original Image of empty box I am using this tutorial as a starting point, implementing a VAE based on resnet50. There was some success...

12:18
0
Q: Background is not staying at full 100%

Erica LevineHow is that fixed. https://jsfiddle.net/3cgqpkrf/ Background no-repeat; is causing the background not to stay at 100% I think it may be able to be seen in the snippet I provided. body { background: linear-gradient(45deg, #102eff, #d2379b); background-repeat: no-repeat; } Snippet Full Screen...

12:58
function groupBy(list, keyGetter) {
    const map = new Map();
    list.forEach((item) => {
         const key = keyGetter(item);
         const collection = map.get(key);
         if (!collection) {
             map.set(key, [item]);
         } else {
             collection.push(item);
         }
    });
    return map;
}

// example usage

const pets = [
    {type:"Dog", name:"Spot"},
    {type:"Cat", name:"Tiger"},
    {type:"Dog", name:"Rover"},
    {type:"Cat", name:"Leo"}
];

const grouped = groupBy(pets, pet => pet.type);
1 message moved from JavaScript
 
2 hours later…
 
2 hours later…
 
5 hours later…

« first day (3353 days earlier)      last day (764 days later) »