Skip to content

Instantly share code, notes, and snippets.

View JoeFurfaro's full-sized avatar

Joe Furfaro JoeFurfaro

View GitHub Profile
@JoeFurfaro
JoeFurfaro / RPSLS.java
Created September 26, 2016 23:33
A mini expandable project of the game Rock Paper Scissors Lizard Spock
/*
* Expandable Rock Paper Scissors Lizard Spock
* By Joe Furfaro
*/
import java.util.Random;
import java.util.Scanner;
public class RPSLS
{
@JoeFurfaro
JoeFurfaro / BubbleSort.java
Created September 26, 2016 23:44
Random Array Bubble Sorting Practice
public class BubbleSort
{
public static void main(String[] args)
{
int[] list = new int[10];
for(int i = 0; i < list.length; i++)
{
list[i] = (int) (Math.random() * 100) + 1;
}
public class LinkedList {
private Node head;
public LinkedList() {
head = null;
}
public void append(int n) {

2023 Fall FE Backend Interview

Architecture Task

You are tasked with developing a server-side application that accepts image uploads every 1.5 seconds. Your application is responsible for compressing and saving the images on disk, and storing each image's name in a database. Without writing any code, briefly describe a possible software schema you could use to solve this task. You should be sure to mention and describe the advantages and disadvantages of:

  • The web framework you will use to process and save the image
  • What application protocol you will use to receive the image
  • The database engine you will use to store files

Programming Task

import requests
import time
import json
# Get the cell meta
resp1 = requests.post("http://10.99.12.100:8000/api/addons/atom/services/GetCells")
print(resp1.json())
time = int(time.time())