<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.extremist.software/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=191.96.249.110</id>
	<title>Noisebridge - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.extremist.software/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=191.96.249.110"/>
	<link rel="alternate" type="text/html" href="https://wiki.extremist.software/wiki/Special:Contributions/191.96.249.110"/>
	<updated>2026-04-07T20:12:33Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.13</generator>
	<entry>
		<id>https://wiki.extremist.software/index.php?title=Talk:Circuit_Hacking_Monday&amp;diff=54506</id>
		<title>Talk:Circuit Hacking Monday</title>
		<link rel="alternate" type="text/html" href="https://wiki.extremist.software/index.php?title=Talk:Circuit_Hacking_Monday&amp;diff=54506"/>
		<updated>2016-10-13T05:53:48Z</updated>

		<summary type="html">&lt;p&gt;191.96.249.110: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I&#039;ll start off by saying this, Dr. Erica Ruiz seemed really caring at first. She noticed allergies were a problem for me and wrote me scripts for allergy medication and referred me to the right specialist for my chronic UTIs and stomach problems...but, that&#039;s where it stopped....&lt;br /&gt;
&lt;br /&gt;
1. I came in to be seen for a cyst-looking lump on my left breast. She said it was MRSA caused by nail treatment. What?? First of all, she did not test me for MRSA, nor did she fully examine the cyst. She looked at it, looked at my nails and told me I had MRSA. I&#039;m not a medical expert, but I do have some medical knowledge from working as a nursing assistant a couple years ago and I know the procedure for diagnosing MRSA. My brother is a Dermatologist in DC and told me to get a second opinion because it was highly unlikely I could have contracted MRSA. I made an appointment at Contour Dermatology in Rancho Mirage. Dr. Jochen lanced the cyst, and took a small sample to test for any infection. No infection. It was just caused by hormones. &lt;br /&gt;
&lt;br /&gt;
2. Saw her after being treated in the ER for a monstrous migraine. She prescribed me Topamax, which I had been on before, but her selling point was that &amp;quot;women like it because it keeps them slim&amp;quot;. Ruiz knew of my history of eating disorders, yet still gave me a medication that would aide me in losing weight. Luckily, I&#039;ve maintained pretty well on it. But, what the hell, lady?! Have some tact.&lt;br /&gt;
&lt;br /&gt;
3. After years of battling with horrible stomach pains and bowel issues I received the diagnosis of Ulcerative Colitis....but, she didn&#039;t tell me that. She didn&#039;t even tell me I had colitis. She handed me a bunch of papers and told me I was fine, and basically, to stop complaining. When I went to the Gastroenterologist, she told me I had UC and briefed me on how my life is going to be affected by this here on out, but there are ways of battling it. Nasty, nasty, nasty bowel disease. &lt;br /&gt;
&lt;br /&gt;
4. I went in to ask it I could get a recommendation for medical marijuana since it has been proven to help with UC. The nurse informed she Ruiz doesn&#039;t give out those kind of recommendations...nor Plan B,  nor referrals for abortions because of her religion. Are you kidding? A doctor letting her religion cloud her better judgement?! Ruiz came in and berated me for asking for a referral. As the educated know, there are absolutely no side effects to medical marijuana (except for dry mouth and  &#039;the munchies&amp;quot;). I&#039;m sure she knew that, so instead, she decided to attack my vanity. &#039;Oh, you don&#039;t want to get into that. The smoke...it, uh, it ages you. That&#039;s very bad.&amp;quot; Really? That&#039;s the worst it could do? I would prefer to live pain-free and without nausea than to be constantly doubled over and refusing to eat, you Quack! (Finally got my MM card 11/22/14 after deciding there&#039;s no way I&#039;m going to continue living like this and I&#039;m already feeling a lot better! Oh, and my doctor completely condones it!!!)&lt;br /&gt;
&lt;br /&gt;
5. The staff lied about calling my insurance to get my UC medications covered. They lied multiple times to the point where I had to call my insurance speak to the higher-ups and have them call them to tell them they knew they were lying. The lying and laziness happened every single time I tried to get my new prescription filled for my UC medication (which is extremely important to have in my system, obviously.) &lt;br /&gt;
&lt;br /&gt;
6. They fired my mother as a patient. She was extremely ill with a kidney infection and tried to get in touch with the husband, Dr. Ruiz. He didn&#039;t take her calls and flat-out refused to help her when she was his patient. We as a family have a history of chronic bladder and kidney infections that have to be monitored. Dr. Ruiz was completely negligent to my mother&#039;s needs.  &lt;br /&gt;
&lt;br /&gt;
7. The staff NEVER pronounces your name correctly. I get it the first two times, but the tenth time is just rude. My name is spelled correctly on the chart. Stop calling me a different name, there&#039;s no &#039;i&amp;quot; or &amp;quot;e&amp;quot; in there.&lt;/div&gt;</summary>
		<author><name>191.96.249.110</name></author>
	</entry>
	<entry>
		<id>https://wiki.extremist.software/index.php?title=Bytebeat&amp;diff=54457</id>
		<title>Bytebeat</title>
		<link rel="alternate" type="text/html" href="https://wiki.extremist.software/index.php?title=Bytebeat&amp;diff=54457"/>
		<updated>2016-10-11T09:20:33Z</updated>

		<summary type="html">&lt;p&gt;191.96.249.110: Undo revision 47231 by Patrickod (talk)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== bytebeat in x86 assembler ===&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 ; noise.asm -- just fooling around :-)&lt;br /&gt;
 ; mct and leif, ; Sun Feb 19 19:08:13 PST 2012&lt;br /&gt;
 ; &lt;br /&gt;
 ; Build with:&lt;br /&gt;
 ;&lt;br /&gt;
 ;       nasm -felf32 noise.asm&lt;br /&gt;
 ;       ld -melf_i386 -o noise noise.o&lt;br /&gt;
 ;&lt;br /&gt;
 ; Run with:&lt;br /&gt;
 ;&lt;br /&gt;
 ;       ./noise | aplay&lt;br /&gt;
 ;&lt;br /&gt;
 ; Equivalent to:&lt;br /&gt;
 ;        python -c&#039;import sys;[sys.stdout.write(chr((t&amp;gt;&amp;gt;10^t&amp;gt;&amp;gt;(t&amp;gt;&amp;gt;13)%4)%256)) for t in xrange(2**20)]&#039; |aplay&lt;br /&gt;
&lt;br /&gt;
 global _start&lt;br /&gt;
&lt;br /&gt;
 section .data&lt;br /&gt;
&lt;br /&gt;
 section .bss&lt;br /&gt;
&lt;br /&gt;
         var:    resb 1  ; one bye variable&lt;br /&gt;
&lt;br /&gt;
 section .text&lt;br /&gt;
&lt;br /&gt;
         ; f(x) = (x &amp;gt;&amp;gt; 10 ^ x&amp;gt;&amp;gt;((x&amp;gt;&amp;gt;13)%4)) % 256&lt;br /&gt;
&lt;br /&gt;
         _start: mov esi, 0&lt;br /&gt;
&lt;br /&gt;
                 ;int 3&lt;br /&gt;
&lt;br /&gt;
         .loop: &lt;br /&gt;
&lt;br /&gt;
                 mov edi, esi&lt;br /&gt;
                 shr edi, 13 ; edi := x &amp;gt;&amp;gt; 13&lt;br /&gt;
&lt;br /&gt;
                 mov eax, edi&lt;br /&gt;
                 cwd&lt;br /&gt;
                 mov bx, 4&lt;br /&gt;
                 div bx  ; dx := (x &amp;gt;&amp;gt; 13) % 4&lt;br /&gt;
&lt;br /&gt;
                 mov eax, esi&lt;br /&gt;
                 mov cx, dx&lt;br /&gt;
                 shr eax, cl   ; eax := x &amp;gt;&amp;gt; ((x &amp;gt;&amp;gt; 13) % 4)&lt;br /&gt;
&lt;br /&gt;
                 mov edi, esi&lt;br /&gt;
                 shr edi, 10   ; edi := x &amp;gt;&amp;gt; 10&lt;br /&gt;
&lt;br /&gt;
                 xor eax, edi&lt;br /&gt;
                 mov [var], al&lt;br /&gt;
&lt;br /&gt;
                 mov eax, 4      ; sys_write&lt;br /&gt;
                 mov ebx, 1      ; stdout&lt;br /&gt;
                 mov ecx, var    ; buffer&lt;br /&gt;
                 mov edx, 1      ; length&lt;br /&gt;
                 int 80h         ; syscall&lt;br /&gt;
&lt;br /&gt;
                 inc esi&lt;br /&gt;
                 jmp .loop&lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 ### Basic Sierpinski harmony bytebeat t &amp;amp; t &amp;gt;&amp;gt; 8 in as few bytes as possible:&lt;br /&gt;
         .globl _start&lt;br /&gt;
 _start: inc %ebx             # output fd 1 in %ebx for write()&lt;br /&gt;
         inc %edx             # byte count of 1 in %edx for write()&lt;br /&gt;
 loop:   inc %eax             # increment t each time through the loop&lt;br /&gt;
         push %eax            # save it on the stack&lt;br /&gt;
         and %ah, %al         # compute t &amp;amp; t &amp;gt;&amp;gt; 8, our output sample&lt;br /&gt;
         push %eax            # store it on the stack for write()&lt;br /&gt;
         lea 3(%ebx), %eax    # a three-byte way to set %eax to 4 (__NR_write)&lt;br /&gt;
         mov %esp, %ecx       # pass sample pointer to write() (little-endian!)&lt;br /&gt;
         int $0x80            # invoke system call&lt;br /&gt;
         pop %eax             # discard sample&lt;br /&gt;
         pop %eax             # restore t into %eax&lt;br /&gt;
         jmp loop             # and repeat&lt;br /&gt;
 ### Kragen Javier Sitaker&lt;br /&gt;
 ### 2012-01-10&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Compile with gcc -m32 -nostdlib and pipe the output to aplay.  After stripping, the ELF is 240 bytes; size(1) says it has 18 bytes of code.&lt;br /&gt;
&lt;br /&gt;
=== bytebeat in &amp;amp;lt;140-character command lines with python ===&lt;br /&gt;
&lt;br /&gt;
From @wiretapped:&lt;br /&gt;
 python -c&#039;import sys;[sys.stdout.write(chr(( t^t&amp;gt;&amp;gt;(t&amp;gt;&amp;gt;11)%3^t&amp;gt;&amp;gt;(t&amp;gt;&amp;gt;12)%4                    )%256)) for t in xrange(2**19)]&#039;|aplay&lt;br /&gt;
 python -c&#039;import sys;[sys.stdout.write(chr(( t&amp;gt;&amp;gt;(t&amp;gt;&amp;gt;11)%4^(t&amp;gt;&amp;gt;10)*(t&amp;gt;&amp;gt;15)                   )%256)) for t in xrange(2**19)]&#039;|aplay&lt;br /&gt;
 python -c&#039;import sys;[sys.stdout.write(chr(( t&amp;lt;&amp;lt;3+(t&amp;gt;&amp;gt;10)%3^t&amp;gt;&amp;gt;4+(t&amp;gt;&amp;gt;12)%4^t**(2+(t&amp;gt;&amp;gt;13)%8) )%256)) for t in xrange(2**18)]&#039;|aplay&lt;br /&gt;
 python -c&#039;import sys;[sys.stdout.write(chr(( t^t&amp;gt;&amp;gt;4^(t*((t&amp;gt;&amp;gt;(11+(t&amp;gt;&amp;gt;16)%3))%16))^t*3        )%256)) for t in xrange(2**20)]&#039;|aplay&lt;br /&gt;
 python -c&#039;import sys;[sys.stdout.write(chr(( t+(t&amp;gt;&amp;gt;(5+(t&amp;gt;&amp;gt;10)%4)^t)                         )%256)) for t in xrange(2**21)]&#039;|aplay&lt;br /&gt;
 python -c&#039;import sys;[sys.stdout.write(chr(( t+(t&amp;gt;&amp;gt;(5+(t&amp;gt;&amp;gt;10)%8))^t|t&amp;gt;&amp;gt;12                   )%256)) for t in xrange(2**21)]&#039;|aplay&lt;br /&gt;
 python -c&#039;import sys;[sys.stdout.write(chr(( t|(((t&amp;gt;&amp;gt;1)%(8+(t&amp;gt;&amp;gt;14)%4))+(t&amp;gt;&amp;gt;6))              )%256)) for t in xrange(2**18)]&#039;|aplay&lt;br /&gt;
 python -c&#039;import sys;[sys.stdout.write(chr(( t*(3+(t&amp;gt;&amp;gt;10)%(4+(t&amp;gt;&amp;gt;11)%8))|(t&amp;gt;&amp;gt;5)             )%256)) for t in xrange(2**20)]&#039;|aplay&lt;br /&gt;
 python -c&#039;import sys;[sys.stdout.write(chr(( t^(t+(t&amp;gt;&amp;gt;7))|t*((t&amp;gt;&amp;gt;(16-((t&amp;gt;&amp;gt;19)*4)))%8)       )%256)) for t in xrange(2**21)]&#039;|aplay&lt;br /&gt;
 python -c&#039;import sys;[sys.stdout.write(chr(( t*(((t&amp;gt;&amp;gt;10)*(1+(t&amp;gt;&amp;gt;13)%7)*((t&amp;gt;&amp;gt;11)+(t&amp;gt;&amp;gt;12)+(t&amp;gt;&amp;gt;13)))%8) )%256)) for t in xrange(2**21)]&#039;|aplay&lt;br /&gt;
 python -c&#039;import sys;[sys.stdout.write(chr(( (1+(t&amp;gt;&amp;gt;10)%7)*((t*(1+(t&amp;gt;&amp;gt;13)%4))%(24+(t&amp;gt;&amp;gt;14)*9%8)&amp;amp;16)*10 )%256))for t in xrange(2**20)]&#039;|aplay&lt;br /&gt;
 python -c&#039;import sys;[sys.stdout.write(chr(( (((t&amp;gt;&amp;gt;((t&amp;gt;&amp;gt;16)%4))+t)&amp;amp;(t&amp;gt;&amp;gt;8))&amp;amp;(t&amp;gt;&amp;gt;6) )%256)) for t in xrange(2**19+2**18+2**16+2**12)]&#039;|aplay&lt;br /&gt;
&lt;br /&gt;
From @isislovecruft (#FYB):&lt;br /&gt;
 python -c&#039;import sys;[sys.stdout.write(chr(((~t&amp;gt;&amp;gt;2)*(2+(42&amp;amp;t*((7&amp;amp;t&amp;gt;&amp;gt;10)*2))&amp;lt;(24&amp;amp;t*((3&amp;amp;t&amp;gt;&amp;gt;14)+2))))%256))for t in xrange(2**19)]&#039;|aplay&lt;br /&gt;
 python -c&#039;import sys;[sys.stdout.write(chr((((t*5&amp;amp;t&amp;gt;&amp;gt;7|t*9&amp;amp;t&amp;gt;&amp;gt;4|t*18&amp;amp;t/1024)|((t|7)&amp;gt;&amp;gt;5|(t|4)&amp;gt;&amp;gt;9))) %256))for t in xrange(2**18)]&#039;|aplay&lt;br /&gt;
 python -c&#039;import sys;[sys.stdout.write(chr((((t*(t&amp;gt;&amp;gt;13|t&amp;gt;&amp;gt;8))|(t&amp;gt;&amp;gt;16)^t)-64)%256)) for t in xrange(2**18)]&#039;|aplay&lt;br /&gt;
&lt;br /&gt;
=== in &amp;amp;gt;140-character command lines ===&lt;br /&gt;
 python -c&#039;import sys;[sys.stdout.write(chr(( t*(1+((t&amp;gt;&amp;gt;10)*(43+(2*(t&amp;gt;&amp;gt;(15-((t&amp;gt;&amp;gt;16)%13)))%8)))%8)*(1+(t&amp;gt;&amp;gt;14)%4) )%256))for t in xrange(2**21)]&#039;|aplay&lt;br /&gt;
 python -c&#039;import sys;[sys.stdout.write(chr( ((t*(1|(t&amp;gt;&amp;gt;10-((t&amp;gt;&amp;gt;17)%4))%8))&amp;amp;(8&amp;lt;&amp;lt;((t&amp;gt;&amp;gt;13)%4))*((1|(t&amp;gt;&amp;gt;15)%8))) *11*(t&amp;gt;&amp;gt;10) %256))for t in xrange(2**22)]&#039;|aplay&lt;br /&gt;
&lt;br /&gt;
for OSX&lt;br /&gt;
&lt;br /&gt;
  brew install sox&lt;br /&gt;
  python -c&#039;import sys; [sys.stdout.write(chr(((t*5&amp;amp;t&amp;gt;&amp;gt;7|t*9&amp;amp;t&amp;gt;&amp;gt;4|t*18&amp;amp;t/1024)|((t|7)&amp;gt;&amp;gt;5|(t|4)&amp;gt;&amp;gt;9))%256))for t in xrange(2**18)]&#039; &amp;gt; out.raw; &lt;br /&gt;
  sox -r 8000 -c 1 -t u8 out.raw out.wav;&lt;br /&gt;
  open out.wav&lt;br /&gt;
&lt;br /&gt;
=== an attempt with luajit ===&lt;br /&gt;
&lt;br /&gt;
  local bit = require&#039;bit&#039;&lt;br /&gt;
  local ffi = require&#039;ffi&#039;&lt;br /&gt;
  &lt;br /&gt;
  ffi.cdef[[&lt;br /&gt;
    int putchar(int c);&lt;br /&gt;
  ]]&lt;br /&gt;
  &lt;br /&gt;
  local putc = ffi.C.putchar&lt;br /&gt;
  local rsh  = bit.rshift&lt;br /&gt;
  local lsh  = bit.lshift&lt;br /&gt;
  local band = bit.band&lt;br /&gt;
  local bor  = bit.bor&lt;br /&gt;
  local bxor = bit.bxor&lt;br /&gt;
  &lt;br /&gt;
  for t=0, math.huge do&lt;br /&gt;
    putc( band(t, rsh(t, 8)) )&lt;br /&gt;
  end&lt;br /&gt;
&lt;br /&gt;
run it on osx:&lt;br /&gt;
&lt;br /&gt;
  luajit 8bit.lua | sox -r 8000 -c 1 -t u8 - -d&lt;br /&gt;
&lt;br /&gt;
=== busybox awk ===&lt;br /&gt;
gawk might also work.&lt;br /&gt;
other awks lack bitshift operations.&lt;br /&gt;
please add below if you test it.  &lt;br /&gt;
&lt;br /&gt;
put this into your /dev/dsp pipe and smoke it. &lt;br /&gt;
&lt;br /&gt;
    #!/bin/busybox awk -f &lt;br /&gt;
    BEGIN{&lt;br /&gt;
       for (;;t++){&lt;br /&gt;
          printf(&amp;quot;%c&amp;quot;,and(t, rshift(t, 8)));&lt;br /&gt;
       }&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
or @ your shell prompt&lt;br /&gt;
&lt;br /&gt;
    seq 11111111 | busybox awk &#039;{printf(&amp;quot;%c&amp;quot;,and($1,rshift($1,8)))}&#039; &amp;gt; /dev/dsp&lt;br /&gt;
&lt;br /&gt;
=== With Haskell! === &lt;br /&gt;
http://yaxu.org/haskell-hack/&lt;br /&gt;
&lt;br /&gt;
=== links ===&lt;br /&gt;
* [http://www.metafilter.com/111959/Todays-formulaic-music Today&#039;s formulaic music.] - Metafilter post about bytebeat with many links&lt;br /&gt;
* Recordings made at Noisebridge: [http://www.youtube.com/watch?v=89Dm7yiYoXM] [http://www.youtube.com/watch?v=1tqgzMqk0jM] [http://www.youtube.com/watch?v=S14UknY8qtc] [http://www.youtube.com/watch?v=C87qr2sDu4s]&lt;br /&gt;
* https://github.com/kragen/pytebeat - Python Bytebeat livecoding software in SDL&lt;br /&gt;
* http://music.columbia.edu/~douglas/strange_things/?p=78 - Algorithmic beat rotation with the EchoNest API&lt;br /&gt;
&lt;br /&gt;
[[Category:Python]]&lt;br /&gt;
[[Category:Lua]]&lt;br /&gt;
[[Category:Assembler]]&lt;/div&gt;</summary>
		<author><name>191.96.249.110</name></author>
	</entry>
</feed>