- Compressed vs. Uncompressed
- JPEG and Raw
- Compression - Minimizing the size of the file without degrading image quality
- Lossy vs. Lossless
- Lossy = losing data
- Lossless = retaining data, in different format
- Lossy vs. Lossless
- How it looks in ruby
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
one-to-one: Username and password | |
one-to-many: People and mailing address | |
People and pets | |
User and instagram photo | |
many-to-many: Teachers and mod_2 students | |
Hashtags and tweets | |
A test environment database can be set up to flush after every run, making it easier to keep track of what's in your db and what you are testing on. | |
A development environment database usually holds enough data to make sure your app is working as it should. It's usually fake data in the correct format. | |
-These can be dropped/deleted |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function setup() { | |
noStroke(); | |
width = 1400 | |
height = 780 | |
createCanvas(width, 780); | |
background(0); | |
size = 10 | |
} | |
function draw() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'minitest/autorun' | |
require 'minitest/emoji' | |
require './lib/list' | |
require './lib/node' | |
class ListTests < Minitest::Test | |
def test_you_can_create_new_nodes | |
assert Node.new("a") | |
end |
NewerOlder