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
The radius of the base of a cylinder is decreasing at a rate of 121212 kilometers per second. | |
The height of the cylinder is fixed at 2.52.52, point, 5 kilometers. | |
At a certain instant, the radius is 404040 kilometers. | |
What is the rate of change of the volume of the cylinder at that instant (in cubic kilometers per second)? | |
Please choose from one of the following options. | |
The volume of a cylinder with radius rrr and height hhh is \pi r^2hπr | |
2 * pi * r^2 * h. |
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
The radius of a sphere is increasing at a rate of 7.5 meters per minute. | |
At a certain instant, the radius is 5 meters. | |
What is the rate of change of the surface area of the sphere at that instant (in square meters per minute)? |
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
BEFORE | |
1 237 4 | 2357 9 257 | 27 6 8 | |
9 5 6 | 27 1 8 | 27 3 4 | |
23 237 8 | 4 37 6 | 9 5 1 | |
---------------+---------------+--------------- | |
5 1 2379| 237 347 279 | 34 8 6 | |
8 37 379 | 6 347 579 | 345 1 2 | |
6 4 23 | 1235 8 125 | 35 9 7 | |
---------------+---------------+--------------- |
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
FROM ubuntu:16.04 | |
LABEL maintainer "Charlie" | |
LABEL com.nvidia.volumes.needed="nvidia_driver" | |
ENV DEBIAN_FRONTEND noninteractive | |
RUN NVIDIA_GPGKEY_SUM=d1be581509378368edeec8c1eb2958702feedf3bc3d17011adbf24efacce4ab5 && \ | |
NVIDIA_GPGKEY_FPR=ae09fe4bbd223a84b2ccfce3f60f4b3d7fa2af80 && \ | |
apt-key adv --fetch-keys http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/7fa2af80.pub && \ | |
apt-key adv --export --no-emit-version -a $NVIDIA_GPGKEY_FPR | tail -n +5 > cudasign.pub && \ |
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
(defun dashboard-insert-reddit-list (title list) | |
"Render REDDIT-LIST title and items of LIST." | |
(when (car list) | |
(insert title ) | |
(mapc (lambda (el) | |
(setq url (nth 1 (split-string el "__")) ) | |
(setq title (nth 0 (split-string el "__")) ) | |
(insert "\n ") | |
(widget-create 'push-button | |
:action `(lambda (&rest ignore) |
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
(defun dashboard-insert-reddit-list (title list) | |
"Render REDDIT-LIST title and items of LIST." | |
(when (car list) | |
(insert title ) | |
(mapc (lambda (el) | |
(setq url (nth 1 (split-string el "__")) ) | |
(setq title (nth 0 (split-string el "__")) ) | |
(insert "\n ") | |
(widget-create 'push-button | |
:action `(lambda (&rest ignore) |
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
(condition-case nil | |
(delete-file "/tmp/scratch.json") | |
(error nil)) | |
;; I'm trying to collect .data.title, .data.score, and .data.url so I can access them in another function | |
(require 'json) | |
(url-copy-file "https://www.reddit.com/r/emacs/.json" "~/scratch.json") | |
(mapcar (lambda (entry) | |
(let-alist entry .data.url )) |
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 'json) | |
(url-copy-file "https://www.reddit.com/r/emacs/.json" "~/scratch.json") | |
(mapcar (lambda (entry) | |
(let-alist entry .data.score)) | |
(let-alist (json-read-file "~/scratch.json") .data.children)) | |
; Trying to do something like | |
(mapcar (lambda (entry) | |
(let-alist entry .data.score + " " + .data.title )) |
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
public static void main(String[] args) throws IOException, InterruptedException { | |
int numLinesToSkip = 0; | |
String delimiter = ","; | |
RecordReader recordReader = new CSVRecordReader(numLinesToSkip, delimiter); | |
recordReader.initialize(new FileSplit(new org.springframework.core.io.ClassPathResource("g.csv").getFile())); | |
int labelIndex = 5; // 1 based | |
int batchSize = 50; | |
DataSetIterator iterator = new RecordReaderDataSetIterator(recordReader, batchSize, labelIndex); | |
org.nd4j.linalg.dataset.api.DataSet next = iterator.next(); |
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
name := "Yes" | |
version := "1.0" | |
libraryDependencies += "org.deeplearning4j" % "deeplearning4j-core" % "0.4-rc3.8" | |
libraryDependencies += "org.nd4j" % "nd4j-x86" % "0.4-rc3.8" | |
libraryDependencies += "org.nd4j" % "canova-api" % "0.0.0.16" |