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
;; Hey Michi! Hope you're doing well | |
;; First of all, nice "homework" you sent! I like the idea :) | |
;; Now, I'm aware my comments might seem lengthy. Honestly, in a real world scenario I'd be more brief. As this | |
;; is part of the interview process, I intentionally chose to be more thorough, so you can also judge my thought | |
;; process. | |
;; The approach I'll be taking in this exercise is highlighting specific parts of the code | |
;; acknowledging the intention behind it and explaining if it falls short, trying to explain what are the |
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
{ | |
"cells": [ | |
{ | |
"cell_type": "markdown", | |
"metadata": {}, | |
"source": [ | |
"# Retomando o Polimorfismo no Polígono\n", | |
"\n", | |
"Reveja a seguir o exemplo de polimorfismo e amarração dinâmica em C++. Estude este exemplo e tente escrevê-lo em Java na célula abaixo.\n", | |
"\n", |
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
class SickZombie { | |
private boolean paralysis, yellow_tong, member_loss, chest_pain, trembling_finger, severe_anger, history_bacteria; | |
public SickZombie(boolean paralysis, boolean yellow_tong, boolean member_loss, boolean chest_pain, boolean trembling_finger, boolean severe_anger, boolean history_bacteria){ | |
this.paralysis = paralysis; | |
this.yellow_tong = yeallow_tong; | |
this.member_loss = member_loss; | |
this.chest_pain = chest_pain; | |
this.trembling_finger = trembling_finger; | |
this.severe_anger = trembling_finger; |
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
Exception in thread "ADSI prefetch thread" | |
java.lang.RuntimeException: java.lang.NumberFormatException: empty String | |
at org.deeplearning4j.datasets.iterator.AsyncDataSetIterator$AsyncPrefetchThread.run(AsyncDataSetIterator.java:442) | |
Caused by: java.lang.NumberFormatException: empty String | |
at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1842) | |
at sun.misc.FloatingDecimal.parseDouble(FloatingDecimal.java:110) | |
at java.lang.Double.parseDouble(Double.java:538) | |
at org.datavec.api.writable.Text.toDouble(Text.java:593) | |
at org.deeplearning4j.datasets.datavec.RecordReaderMultiDataSetIterator.convertWritables(RecordReaderMultiDataSetIterator.java:419) | |
at org.deeplearning4j.datasets.datavec.RecordReaderMultiDataSetIterator.convertFeaturesOrLabels(RecordReaderMultiDataSetIterator.java:271) |
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
#include <stdio.h> | |
#include <ctype.h> | |
#include <errno.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <sys/wait.h> | |
#include <sys/types.h> | |
#include <arpa/inet.h> | |
#include <netinet/in.h> | |
#include <sys/socket.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
import RPi.GPIO as gpio | |
import time | |
gpio.setmode(gpio.BCM) | |
gpio.setup(17, gpio.OUT) | |
gpio.setup(18, gpio.OUT) | |
gpio.setup(22, gpio.OUT) | |
gpio.setup(23, gpio.OUT) | |
gpio.setup(24, gpio.OUT) |
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
section .text | |
global _start | |
_start: | |
mov edx, msg_len | |
mov ecx, msg | |
mov ebx, 1 | |
mov eax, 4 | |
int 0x80 | |
mov eax,3 ;instrucao para ler |
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
section .text | |
global _start | |
_start: | |
; mov edx, msg_len | |
; mov ecx, msg | |
; mov ebx, 1 | |
; mov eax, 4 | |
; int 0x80 | |
; mov eax,3 ;instrucao para ler |
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
# Your init script | |
# | |
# Atom will evaluate this file each time a new window is opened. It is run | |
# after packages are loaded/activated and after the previous editor state | |
# has been restored. | |
# | |
# An example hack to log to the console when each text editor is saved. | |
# | |
# atom.workspace.observeTextEditors (editor) -> | |
# editor.onDidSave -> |