Errors appear when updating Mendel OS (Ubuntu) on the Google Coral Dev Board

I have got a problem with updating my Google Coral Dev Board. With the command:

sudo apt-get update 

it won’t work. => have a look at the attached output from the console Because of this it isn’t working to install the edgetpu compiler. :/ Is there something i missed to do, because in the getting started guide from Google Coral it seems that it would easily work after flashing the board.

I already tried to update the certificates. (doesn’t change something)

Output:

Get:1 file:/var/cache/mdt/packages ./ InRelease Ign:1 file:/var/cache/mdt/packages ./ InRelease Get:2 file:/var/cache/mdt/packages ./ Release Ign:2 file:/var/cache/mdt/packages ./ Release Get:3 file:/var/cache/mdt/packages ./ Packages Ign:3 file:/var/cache/mdt/packages ./ Packages Get:4 file:/var/cache/mdt/packages ./ Translation-en_US Ign:4 file:/var/cache/mdt/packages ./ Translation-en_US Get:5 file:/var/cache/mdt/packages ./ Translation-en Ign:5 file:/var/cache/mdt/packages ./ Translation-en Get:3 file:/var/cache/mdt/packages ./ Packages Ign:3 file:/var/cache/mdt/packages ./ Packages Get:4 file:/var/cache/mdt/packages ./ Translation-en_US Ign:4 file:/var/cache/mdt/packages ./ Translation-en_US Get:5 file:/var/cache/mdt/packages ./ Translation-en Ign:5 file:/var/cache/mdt/packages ./ Translation-en Get:3 file:/var/cache/mdt/packages ./ Packages Ign:3 file:/var/cache/mdt/packages ./ Packages Get:4 file:/var/cache/mdt/packages ./ Translation-en_US Ign:4 file:/var/cache/mdt/packages ./ Translation-en_US Get:5 file:/var/cache/mdt/packages ./ Translation-en Ign:5 file:/var/cache/mdt/packages ./ Translation-en Get:3 file:/var/cache/mdt/packages ./ Packages Ign:3 file:/var/cache/mdt/packages ./ Packages Get:4 file:/var/cache/mdt/packages ./ Translation-en_US Ign:4 file:/var/cache/mdt/packages ./ Translation-en_US Get:5 file:/var/cache/mdt/packages ./ Translation-en Ign:5 file:/var/cache/mdt/packages ./ Translation-en Get:3 file:/var/cache/mdt/packages ./ Packages Ign:3 file:/var/cache/mdt/packages ./ Packages Get:4 file:/var/cache/mdt/packages ./ Translation-en_US Ign:4 file:/var/cache/mdt/packages ./ Translation-en_US Get:5 file:/var/cache/mdt/packages ./ Translation-en Ign:5 file:/var/cache/mdt/packages ./ Translation-en Get:3 file:/var/cache/mdt/packages ./ Packages Get:4 file:/var/cache/mdt/packages ./ Translation-en_US Ign:4 file:/var/cache/mdt/packages ./ Translation-en_US Get:5 file:/var/cache/mdt/packages ./ Translation-en Ign:5 file:/var/cache/mdt/packages ./ Translation-en Ign:6 https://packages.cloud.google.com/apt coral-edgetpu-stable InRelease Ign:7 https://packages.cloud.google.com/apt mendel-bsp-enterprise-chef InRelease Ign:8 https://packages.cloud.google.com/apt mendel-chef InRelease Ign:9 https://packages.cloud.google.com/apt coral-edgetpu-stable Release Ign:10 https://packages.cloud.google.com/apt mendel-bsp-enterprise-chef Release Ign:11 https://packages.cloud.google.com/apt mendel-chef Release Ign:12 https://packages.cloud.google.com/apt coral-edgetpu-stable/main all Packages Ign:13 https://packages.cloud.google.com/apt coral-edgetpu-stable/main arm64 Packages Ign:14 https://packages.cloud.google.com/apt coral-edgetpu-stable/main Translation-en Ign:15 https://packages.cloud.google.com/apt coral-edgetpu-stable/main Translation-en_US Ign:16 https://packages.cloud.google.com/apt mendel-bsp-enterprise-chef/main Sources Ign:17 https://packages.cloud.google.com/apt mendel-bsp-enterprise-chef/main all Packages Ign:18 https://packages.cloud.google.com/apt mendel-bsp-enterprise-chef/main arm64 Packages Ign:19 https://packages.cloud.google.com/apt mendel-bsp-enterprise-chef/main Translation-en Ign:20 https://packages.cloud.google.com/apt mendel-bsp-enterprise-chef/main Translation-en_US Ign:21 https://packages.cloud.google.com/apt mendel-chef/main Sources Ign:22 https://packages.cloud.google.com/apt mendel-chef/main arm64 Packages Ign:23 https://packages.cloud.google.com/apt mendel-chef/main all Packages Ign:24 https://packages.cloud.google.com/apt mendel-chef/main Translation-en_US Ign:25 https://packages.cloud.google.com/apt mendel-chef/main Translation-en Ign:12 https://packages.cloud.google.com/apt coral-edgetpu-stable/main all Packages Ign:13 https://packages.cloud.google.com/apt coral-edgetpu-stable/main arm64 Packages Ign:14 https://packages.cloud.google.com/apt coral-edgetpu-stable/main Translation-en Ign:15 https://packages.cloud.google.com/apt coral-edgetpu-stable/main Translation-en_US Ign:16 https://packages.cloud.google.com/apt mendel-bsp-enterprise-chef/main Sources Ign:17 https://packages.cloud.google.com/apt mendel-bsp-enterprise-chef/main all Packages Ign:18 https://packages.cloud.google.com/apt mendel-bsp-enterprise-chef/main arm64 Packages Ign:19 https://packages.cloud.google.com/apt mendel-bsp-enterprise-chef/main Translation-en Ign:20 https://packages.cloud.google.com/apt mendel-bsp-enterprise-chef/main Translation-en_US Ign:21 https://packages.cloud.google.com/apt mendel-chef/main Sources Ign:22 https://packages.cloud.google.com/apt mendel-chef/main arm64 Packages Ign:23 https://packages.cloud.google.com/apt mendel-chef/main all Packages Ign:24 https://packages.cloud.google.com/apt mendel-chef/main Translation-en_US Ign:25 https://packages.cloud.google.com/apt mendel-chef/main Translation-en Ign:12 https://packages.cloud.google.com/apt coral-edgetpu-stable/main all Packages Ign:13 https://packages.cloud.google.com/apt coral-edgetpu-stable/main arm64 Packages Ign:14 https://packages.cloud.google.com/apt coral-edgetpu-stable/main Translation-en Ign:15 https://packages.cloud.google.com/apt coral-edgetpu-stable/main Translation-en_US Ign:16 https://packages.cloud.google.com/apt mendel-bsp-enterprise-chef/main Sources Ign:17 https://packages.cloud.google.com/apt mendel-bsp-enterprise-chef/main all Packages Ign:18 https://packages.cloud.google.com/apt mendel-bsp-enterprise-chef/main arm64 Packages Ign:19 https://packages.cloud.google.com/apt mendel-bsp-enterprise-chef/main Translation-en Ign:20 https://packages.cloud.google.com/apt mendel-bsp-enterprise-chef/main Translation-en_US Ign:21 https://packages.cloud.google.com/apt mendel-chef/main Sources Ign:22 https://packages.cloud.google.com/apt mendel-chef/main arm64 Packages Ign:23 https://packages.cloud.google.com/apt mendel-chef/main all Packages Ign:24 https://packages.cloud.google.com/apt mendel-chef/main Translation-en_US Ign:25 https://packages.cloud.google.com/apt mendel-chef/main Translation-en Ign:12 https://packages.cloud.google.com/apt coral-edgetpu-stable/main all Packages Ign:13 https://packages.cloud.google.com/apt coral-edgetpu-stable/main arm64 Packages Ign:14 https://packages.cloud.google.com/apt coral-edgetpu-stable/main Translation-en Ign:15 https://packages.cloud.google.com/apt coral-edgetpu-stable/main Translation-en_US Ign:16 https://packages.cloud.google.com/apt mendel-bsp-enterprise-chef/main Sources Ign:17 https://packages.cloud.google.com/apt mendel-bsp-enterprise-chef/main all Packages Ign:18 https://packages.cloud.google.com/apt mendel-bsp-enterprise-chef/main arm64 Packages Ign:19 https://packages.cloud.google.com/apt mendel-bsp-enterprise-chef/main Translation-en Ign:20 https://packages.cloud.google.com/apt mendel-bsp-enterprise-chef/main Translation-en_US Ign:21 https://packages.cloud.google.com/apt mendel-chef/main Sources Ign:22 https://packages.cloud.google.com/apt mendel-chef/main arm64 Packages Ign:23 https://packages.cloud.google.com/apt mendel-chef/main all Packages Ign:24 https://packages.cloud.google.com/apt mendel-chef/main Translation-en_US Ign:25 https://packages.cloud.google.com/apt mendel-chef/main Translation-en Ign:12 https://packages.cloud.google.com/apt coral-edgetpu-stable/main all Packages Ign:13 https://packages.cloud.google.com/apt coral-edgetpu-stable/main arm64 Packages Ign:14 https://packages.cloud.google.com/apt coral-edgetpu-stable/main Translation-en Ign:15 https://packages.cloud.google.com/apt coral-edgetpu-stable/main Translation-en_US Ign:16 https://packages.cloud.google.com/apt mendel-bsp-enterprise-chef/main Sources Ign:17 https://packages.cloud.google.com/apt mendel-bsp-enterprise-chef/main all Packages Ign:18 https://packages.cloud.google.com/apt mendel-bsp-enterprise-chef/main arm64 Packages Ign:19 https://packages.cloud.google.com/apt mendel-bsp-enterprise-chef/main Translation-en Ign:20 https://packages.cloud.google.com/apt mendel-bsp-enterprise-chef/main Translation-en_US Ign:21 https://packages.cloud.google.com/apt mendel-chef/main Sources Ign:22 https://packages.cloud.google.com/apt mendel-chef/main arm64 Packages Ign:23 https://packages.cloud.google.com/apt mendel-chef/main all Packages Ign:24 https://packages.cloud.google.com/apt mendel-chef/main Translation-en_US Ign:25 https://packages.cloud.google.com/apt mendel-chef/main Translation-en Ign:12 https://packages.cloud.google.com/apt coral-edgetpu-stable/main all Packages Err:13 https://packages.cloud.google.com/apt coral-edgetpu-stable/main arm64 Packages   server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none Ign:14 https://packages.cloud.google.com/apt coral-edgetpu-stable/main Translation-en Ign:15 https://packages.cloud.google.com/apt coral-edgetpu-stable/main Translation-en_US Err:16 https://packages.cloud.google.com/apt mendel-bsp-enterprise-chef/main Sources   server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none Ign:17 https://packages.cloud.google.com/apt mendel-bsp-enterprise-chef/main all Packages Ign:18 https://packages.cloud.google.com/apt mendel-bsp-enterprise-chef/main arm64 Packages Ign:19 https://packages.cloud.google.com/apt mendel-bsp-enterprise-chef/main Translation-en Ign:20 https://packages.cloud.google.com/apt mendel-bsp-enterprise-chef/main Translation-en_US Err:21 https://packages.cloud.google.com/apt mendel-chef/main Sources   server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none Ign:22 https://packages.cloud.google.com/apt mendel-chef/main arm64 Packages Ign:23 https://packages.cloud.google.com/apt mendel-chef/main all Packages Ign:24 https://packages.cloud.google.com/apt mendel-chef/main Translation-en_US Ign:25 https://packages.cloud.google.com/apt mendel-chef/main Translation-en Reading package lists... W: The repository 'https://packages.cloud.google.com/apt coral-edgetpu-stable Release' does not have a Release file. W: The repository 'https://packages.cloud.google.com/apt mendel-bsp-enterprise-chef Release' does not have a Release file. W: The repository 'https://packages.cloud.google.com/apt mendel-chef Release' does not have a Release file. E: Failed to fetch https://packages.cloud.google.com/apt/dists/coral-edgetpu-stable/main/binary-arm64/Packages  server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none E: Failed to fetch https://packages.cloud.google.com/apt/dists/mendel-bsp-enterprise-chef/main/source/Sources  server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none E: Failed to fetch https://packages.cloud.google.com/apt/dists/mendel-chef/main/source/Sources  server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none E: Some index files failed to download. They have been ignored, or old ones used instead. 

Patch Advisory Board – feasibility of implementation

I’m working for a public sector organisation (around 6000 staff) with a mixed IT skill set. We’re looking at setting up a patch advisory board to assist in server patching.

The plan is to have a team from different areas of the business (Apps, DBs, infrastructure, etc) to review each patch and then approve whether they’re installed on any of our 1100 servers. Typically the patches reviewed will be from below.

https://portal.msrc.microsoft.com/en-us/security-guidance

My questions are:

  1. How feasible is this approach given the work, effort and time involved to regularly understand dozens of patches and then decide whether to apply them?

  2. Given that we don’t fully understand our own servers and the patches, reviewing each patch doesn’t guarantee success.

  3. How many of you use a patch advisory board in your current work place?

As opposed to just applying critical and security patches on dev and test before moving to production

Thanks

Dex-Paladin – Should I get war caster as a sword & board user?

We are starting at level 3, 5th edition, and this are my current stats:

Str-8 Dex-16 Con-14 Int-11 Wis-10 Charisma-16

I’m currently considering it simply for the ability to be able to cast spells while still having my shield on me, but I am unsure how wise that decision would be (New to the 5e system).

So my question is, should I go for war-caster feat so that I’ll be able to cast spells at better ease, or should I instead opt for more ability points, or even a different feat?

The role this character will focus on: Front-liner/support, with more emphasis on front-liner. (I suspect the lore bard will be a good enough support on his own).

I am aware I can always sheath my weapon before casting a spell, but that also means I will only have my fist in order to land an attack of opportunity.

P.S: I am unsure exactly what role I would play at my current group, but if it helps:

Rogue-Thief

Warlock Hexblade

Lore Bard.

Eldritch Knight.

And a gloomstalker Ranger.

Additional information that was requested in the comments to better focus the question:

  1. Race: High Elf
  2. My goal for optimization: Front-liner/Support, with emphasis on front-liner as the game progresses
  3. Str VS Int: Personal choice, honestly. Had a few spare points left, and I didn’t want to have my character be a bit too dim for my taste, so Strength became the dump stat. That, and I have proficiency in medicine + religion.

Design Contest – FB Ad and Poster Board – $50 for each – 24 hr Contest

Hi Contestants! We would like to submit a design contest for a Facebook ad, as well as a Poster Board/Sandwich board design. Hopefully it can be all in one, but we know that's a far reach. The winner will get $ 50 for each of the separate contests or $ 75 if we think its good enough for both. We may even pick a couple designs if we like a few of them.

Sandwich Board Sign dimensions are 36" x 24"

We would like to include the following information/pic/logos on the design.

New Hours…

Design Contest – FB Ad and Poster Board – $ 50 for each – 24 hr Contest

Cable driver for xilinx board in ubuntu

In Xilinx document ug973, on page 36-37, it describe how to install and remove cable driver in linux.

“Run these commands as root. Note replace $ {vivado_install_dir} with the location of your vivado install location.$ {vivado_install_dir}/data/xicom/cable_drivers/lin64/install_script/install_drivers/install_drivers”

https://www.xilinx.com/support/documentation/sw_manuals/xilinx2018_3/ug973-vivado-release-notes-install-license.pdf

I am wondering which command I need to run the script, see the screenshot in attachment.

screenshot

Boggle (Find all possible words in a board of characters) C#

This questions has 2 possible solutions, I am trying to implement the DFS solution. I will upload the TRIE based later on

Please review for performance.

https://www.geeksforgeeks.org/boggle-find-possible-words-board-characters/

Given a dictionary, a method to do lookup in dictionary and a M x N board where every cell has one character. Find all possible words that can be formed by a sequence of adjacent characters. Note that we can move to any of 8 adjacent characters, but a word should not have multiple instances of same cell.

Example:  Input: dictionary[] = {"GEEKS", "FOR", "QUIZ", "GO"};        boggle[][]   = {{'G', 'I', 'Z'},                        {'U', 'E', 'K'},                        {'Q', 'S', 'E'}};       isWord(str): returns true if str is present in dictionary                    else false.  Output:  Following words of dictionary are present          GEEKS          QUIZ 
using System; using System.Collections.Generic; using System.Text; using Microsoft.VisualStudio.TestTools.UnitTesting;  namespace GraphsQuestions {     /// <summary>     /// https://www.geeksforgeeks.org/boggle-find-possible-words-board-characters/     /// </summary>     [TestClass]     public class BoggleDfs     {         private List<string> _list = new List<string>();         [TestMethod]         public void GeeksForGeeksTest()         {             string[] dictionary = { "GEEKS", "FOR", "QUIZ", "GO" };             char[,] boggle = {{'G', 'I', 'Z'},                               {'U', 'E', 'K'},                               {'Q', 'S', 'E'}};              FindWords(boggle, dictionary);             string[] expected = { "GEEKS", "QUIZ" };             CollectionAssert.AreEqual(expected,_list.ToArray());         }          private void FindWords(char[,] boggle, string[] dictionary)         {             bool[,] visited = new bool[boggle.GetLength(0), boggle.GetLength(1)];             StringBuilder str = new StringBuilder();             //run DFS for all the options and compare with the dictionary             for (int i = 0; i < boggle.GetLength(0); i++)             {                 for (int j = 0; j < boggle.GetLength(1); j++)                 {                     DFS(i, j, boggle, dictionary, str, visited);                 }             }         }          private void DFS(int i, int j, char[,] boggle, string[] dictionary, StringBuilder str, bool[,] visited)         {             //mark we already visited this vertex             visited[i, j] = true;              str.Append(boggle[i, j]);             if (IsWord(str.ToString(), dictionary))             {                 _list.Add(str.ToString());             }              for (int row = i - 1; row <= i + 1 && row < boggle.GetLength(0); row++)             {                 for (int col = j - 1; col <= j + 1 && col < boggle.GetLength(1); col++)                 {                     if (col >= 0 && row >= 0 && !visited[row, col])                     {                         DFS(row, col, boggle, dictionary, str, visited);                     }                 }             }              visited[i, j] = false;             str.Remove(str.Length - 1, 1);         }          private bool IsWord(string str, string[] dictionary)         {             for (int i = 0; i < dictionary.Length; i++)             {                 if (string.CompareOrdinal(str, dictionary[i]) == 0)                 {                     return true;                 }             }             return false;         }     } } 

Implementing a tic tac toe board in python

This is my attempt at making a class to represent a game board for tic tac toe. Hopefully its not too bad! BTW I normally hate while loops but i used one because I cant seem to make the for loop look nice for the display.

import numpy as np  class TicTacToeBoard():     """Class to represent a board for a game of tic tac toe"""      def __init__(self):         """Initialize the board data"""         self.dimension = 3,3         self.board_data = np.array(range(1,10), dtype=object).reshape(self.dimension)         self.space_to_coordinate = {}         self.last_marked_coordinate = None          for coord in np.ndindex(self.board_data.shape):             space = self.board_data[coord]             self.space_to_coordinate[space] = coord      def display(self):         """Displays the game board to console          Example:                 1 | 2 | 3                 ----------                 4 | 5 | 6                 ----------                 7 | 8 | 9         """         count = 1         while count < 10:             coordinate = self.space_to_coordinate[count]             space_data = self.board_data[coordinate]             print(str(space_data)) if not count % 3 else print(str(space_data) + " |", end=' ')             print('----------') if not count % 3 and count != 9 else None             count += 1         print()      def is_marked(self, space):         """Checks if space is marked returns false if not marked"""         coordinate = self.space_to_coordinate[space]         space_data = self.board_data[coordinate]         if space_data == "X" or space_data == "O":             return True         return False      def add_mark(self, space, mark):         """If space is not marked, then add player mark and return true else return false"""         if not self.is_marked(space):             coordinate = self.space_to_coordinate[space]             self.board_data[coordinate] = mark             self.last_marked_coordinate = coordinate             return True         return False      def is_winner(self, mark):         """Checks to see if mark has won the board by getting '3 in a row' """         if self.last_marked_coordinate == None:             return False          row_win, column_win, diag1_win, diag2_win = [True] * 4         fixed_row, fixed_column = self.last_marked_coordinate         for i in range(3):              #check row             if self.board_data[fixed_row, i] != mark:                 row_win = False              #check column             if self.board_data[i, fixed_column] != mark:                 column_win = False              #check diagnol 1             if self.board_data[i,i] != mark:                 diag1_win = False              #check diagnol 2             if self.board_data[i, 2-i] != mark:                 diag2_win = False          return any([row_win, column_win, diag1_win, diag2_win]) 

How to copy all board task headers within column to clipboard in Trello?

I want to copy a single column of Trello cards to my clipboard (just the card titles).

If, for example, I have the following three columns:

TODO       DOING      DONE  Task3      Task2      Task1  Task4 

and I want to copy only the “TODO” column, so the output will be:

Task3 Task4 

Is this possible with some shortcut/action in Trello?