01/13/2012. From a lecture by Professor John Ousterhout at Stanford, class CS140
Here's today's thought for the weekend. A little bit of slope makes up for a lot of Y-intercept.
[Laughter]
# test_camera.py | |
# | |
# Open an RTSP stream and feed image frames to 'openalpr' | |
# for real-time license plate recognition. | |
import numpy as np | |
import cv2 | |
from openalpr import Alpr |
/** | |
* @license | |
* Copyright 2020 Google | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* |
<?xml version="1.0" encoding="utf-8"?> | |
<colorTheme id="9999" name="One Dark Like" modified="2015-09-01 19:55:49" author="Adam Gent" website="http://snaphop.com"> | |
<searchResultIndication color="#E5C07B" /> | |
<filteredSearchResultIndication color="#E5C07B" /> | |
<occurrenceIndication color="#4B4E55" /> | |
<writeOccurrenceIndication color="#4B4E55" /> | |
<findScope color="#4B4E55" /> | |
<deletionIndication color="#DF5F5F" /> | |
<sourceHoverBackground color="#4B4E55" /> | |
<singleLineComment color="#969896" italic="false" /> |
In this task, you're going to implement a REST API for a interacting with a menu of a restaurant. The menu is given to you as a JSON file which you will parse and perform operations on. The required features will be listed below.
In this restaurant, honesty is extremely promoted. So extreme, that the restaurant declares that differing quality of ingredients are used in their meals. Like that's not enough, it also allows the customers to choose the ingredients of each meal in different qualities. Each ingredient has the following quality levels:
low
: the cheapestmedium
: moderate# run in the terminal, then set as ssl_dhparam in nginx.conf | |
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 4096 |
Nethermind as of January 2024 takes about 1.1 TiB of space on a snap sync, and then grows by ~ 27 GiB/week.
When it starts to fill its disk, it can be online pruned (no downtime) to free up space again, to around the size of a fresh sync.