Time |
S |
Nick |
Message |
02:56 |
|
pdurbin |
"modeling entire systems (not just interfaces) as data" http://www.lispcast.com/pre-conj-interview-paul-degrandis |
02:58 |
|
pdurbin |
"If code is data, why can't data be code? Clojure makes data-driven solutions easy with its variety of literal data structures." http://www.lispcast.com/pre-conj-paul-degrandis |
02:58 |
|
sivoais |
hah, I was just thinking of that Guy Steele quote the other day |
03:01 |
|
sivoais |
^^ that reminds me of this <http://www.modernperlbooks.com/mt/2013/09/why-you-should-write-programs-to-write-programs-to-write-programs-for-you.html> |
03:01 |
|
sivoais |
"Sometimes the better solution is to describe your problem in terms of the data you have and the data you need and let the computer figure out how to do it, even if that means writing a program to write a program to write yet another program for you." |
03:02 |
|
sivoais |
I've been doing more of that lately. It has helped me write the equivalent of a Python module in Perl in 1/10 the code. And I'm not even trying to golf it. |
03:04 |
|
pdurbin |
:) |
03:04 |
|
pdurbin |
sivoais: have you looked at stuff like prolog? |
03:04 |
|
sivoais |
I *LOVE* Prolog |
03:05 |
|
pdurbin |
cool. I've only read about it |
03:05 |
|
sivoais |
The only problem I have had with Prolog is that the code can be too tied to the data representation. |
03:06 |
|
sivoais |
My next step with Prolog is to learn LogTalk. It's a message-based OO language that sits on Prolog. |
03:09 |
|
sivoais |
What I mean by being tied to the data representation is that when you use Prolog to do "pattern matching" (called unification), you often want to match things that are inside a structure |
03:10 |
|
sivoais |
but if you change your data structure as you evolve the code, you have to change things everywhere |
03:22 |
|
pdurbin |
"miniKanren is an embedded Domain Specific Language for logic programming" http://minikanren.org ... I heard about this recently |
03:25 |
|
sivoais |
ah, I did not realise that core.logic is based on that |
03:28 |
|
sivoais |
I'm sitting here with a big smile on my face :-D I want to delve more into this... |
03:30 |
|
pdurbin |
sivoais: I bet you'd like that podcast |
03:32 |
|
pdurbin |
westmaas: speaking of podcasts, CrowdTilt was mentioned in this one: #133: All Things Perl With Curtis "Ovid" Poe - The Changelog - http://thechangelog.com/133/ |
03:33 |
|
sivoais |
ah, I'll download this one <http://www.functionalgeekery.com/episode-9-william-e-byrd/> |
03:34 |
|
sivoais |
sometimes I feel like I could go deep into CS theory, but I'm afraid of getting too much into it lest I stray too far from my biomedical focus, hahah. |
03:35 |
|
sivoais |
then I see something like: "Rhys Price Jones: DNA Analysis (Dan Friedman's 60th Birthday)" <https://www.youtube.com/watch?v=EPwcNo3xSNw> |
03:38 |
|
sivoais |
where a researcher uses Scheme to evolve a simulation |
03:38 |
|
sivoais |
funnily enough... this is from the same Scheme community that made miniKanren :-) |
07:07 |
|
|
philbot joined #sourcefu |
07:07 |
|
|
Topic for #sourcefu is now http://sourcefu.com | logs at http://irclog.greptilian.com/sourcefu/today |
07:07 |
|
|
searchbot` joined #sourcefu |
08:20 |
|
sivoais |
<http://www.atlefren.net/post/2014/09/falsehoods-programmers-believe-about-maps/> |
11:55 |
|
|
philbot joined #sourcefu |
11:55 |
|
|
Topic for #sourcefu is now http://sourcefu.com | logs at http://irclog.greptilian.com/sourcefu/today |
14:32 |
|
|
pdurbin joined #sourcefu |
18:10 |
|
|
aditsu joined #sourcefu |
18:21 |
|
westmaas |
pdurbin: nice! |
18:31 |
|
pdurbin |
:) |
20:52 |
|
|
aditsu joined #sourcefu |