Skip to content

Instantly share code, notes, and snippets.

View hatsunearu's full-sized avatar

hatsunearu hatsunearu

  • Sunnyvale, CA
View GitHub Profile
https://realtimeusers.bycontrast.co/
https://news.ycombinator.com/item?id=11859165
>4chan API
https://github.com/4chan/4chan-API
>Interesting projects, or other ML stuff, or ?
https://www.jukedeck.com
http://cs229.stanford.edu/projects2
http://imgur.com/a/K4RWn - challenge images
http://vizdoom.cs.put.edu.pl/compet
https://www.kaggle.com/ - ML competitions with rewards
https://github.com/alexjc/neural-do
https://github.com/awentzonline/ima
----------------------------------------------------------------------------------
-- Company:
-- Engineer:
--
-- Create Date: 01:58:01 02/06/2016
-- Design Name:
-- Module Name: clk_divider - Behavioral
-- Project Name:
-- Target Devices:
-- Tool versions:
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v2
mQENBFYn/zcBCACbGvf2k2j1kXgKWzJcqEAt04BrZuSC6m9UQbv7UpQP6Cd1lvzd
yONlotJay/CloJXcYKiNaAGElpqeTQN9uKlAj1VxtNalsVm44nMff2ge+dmUWKhR
KWfeE2HM0boKx2D00x9VnYlnaUxTnPm51nBErktBy1BjrK0Er5vRQogG5u4qkmL8
uaaUM8KKCbCrb34cMkEDtYM7EiieXMJcDveLPdyydBoafq5NWDLs26iAO+AVKHrL
J4ZB/mkXZEdIrLhvXo7cE3eg3lMrZwhuJ4zxC+/lcYVi/TFnEwVR4vGhwsuraquq
YRHvG/g9daM31cSJ6lv/eXrjkVscdM6d+J51ABEBAAG0IERvbiBHaSBNaW4gPGRv
bmdpbWluMkBnbWFpbC5jb20+iQE7BBMBAgAlAhsDBgsJCAcDAgYVCAIJCgsEFgID

Keybase proof

I hereby claim:

  • I am hatsunearu on github.
  • I am hatsunearu (https://keybase.io/hatsunearu) on keybase.
  • I have a public key whose fingerprint is B316 F2FA C66C EDA5 CD51 2597 DCD5 9195 A56D 5091

To claim this, I am signing this object:

import time
def init_leds():
for i in range(0, 4):
f = open("/sys/class/leds/beaglebone:green:usr"+str(i)+"/trigger", "w")
f.write("none")
f.close()
def change_led(ledid, state):
f = open("/sys/class/leds/beaglebone:green:usr"+str(ledid)+"/brightness", "w")
#/usr/bin/python
from flask import Flask, jsonify, request
import leds
app = Flask(__name__)
@app.route('/leds/status', methods=['GET'])
def get_led_status():
return jsonify({'led_status': leds.get_led_status()})
You appear to be advocating a new:
[ ] functional [ ] imperative [x] object-oriented [ ] procedural [ ] stack-based
[x] "multi-paradigm" [x] lazy [ ] eager [x] statically-typed [ ] dynamically-typed
[ ] pure [x] impure [ ] non-hygienic [ ] visual [x] beginner-friendly
[x] non-programmer-friendly [x] completely incomprehensible
programming language. Your language will not work. Here is why it will not work.
You appear to believe that:
[x] Syntax is what makes programming difficult
[ ] Garbage collection is free [x] Computers have infinite memory