/dpt/ - Daily Programming Thread

What are you working on, Jow Forums?

Last thread:

Attached: 155907705415711.png (917x1105, 332K)

Other urls found in this thread:

vocaroo.com/i/s0EkDdSP8xuN
drive.google.com/drive/folders/1JNjTFSMYfLJoKOWRPFAkyaMod95imSwg?usp=sharing
lolcode.org/
github.com/justinmeza/lolcode-spec/blob/master/v1.2/lolcode-spec-v1.2.md
twitter.com/AnonBabble

>try to learn how to program
>distracted by normalfags playing outside becuase summer

Attached: 1919238418293.jpg (1280x720, 96K)

tried doing FFT of an audio stream using numpy. My calculated peak frequency of any pure tone is about 10% lower than what the tone actually is generated/played at originally.

What could cause this?

finally, a good OP

s-sorry about the previous threads, i guess?

Attached: 1560106741006.png (1920x1080, 1.39M)

You are given the following function to write in LISP in a job interview
defun SPLIT-LIST (L)

That takes in a List L and returns 2 sublists of L
(1 2 3) --> ((1 2) (3))


You should be able to do this, I can help you write it if you need some

>LISP
>job interview
lol

does it need to split it in a particular place?

in Haskell this is just
spltList l = ([], [])
-- 2 sub lists of l

I only know scheme
(define (f l) `((,(car l)) ,(cdr l)))

does it matter which sublists?