« first day (1501 days earlier)      last day (365 days later) » 

04:31
Another Saturday for Haskell. :)
 
7 hours later…
11:46
@RakeshKumar what's up?
12:06
@AaronHall , nothing much, these days giving only interviews and interviews
How about you?
May 24 at 15:04, by Aaron Hall
@RakeshKumar you like haskell right? we should make a haskell project, if only to demonstrate we can navigate it...
@RakeshKumar yeah, what do you think of that?
Have you used Nix?
Have you started work on it?
not really, I've wanted to though
May 26 at 14:54, by Rakesh Kumar
@AaronHall , Yes, can do. But I never worked on any project for haskell and don't actually aware of the language
Well, what kind of project it will be?
Anything, but I like the idea of a music generator using Hudak's Haskell School of Music:
Haven't found a tutorial that puts it all together, but here's the dots I can connect:
- Nix to provision the Haskell
- Your OS to provision Midi interpreter (is that the word for it?)
- A build system with makefiles
- The entry points for the program
Are you on Linux?
12:15
Are you on Linux? No, and don't have that system
Using window system
ah... let me look into how we would make that work.
Do you also have experience on AI or machine learning?
Yes, um... we could do that instead
But I never worked on it too, but can work on it
So anyways, I could ensure that Nix and Haskell Stack work together so that I could use Nix and you could use Stack or plain Cabal. Maybe plain Cabal is the way to go.
12:28
you could use Stack or plain Cabal you have to bit explain about it then :)
ok, have you installed Haskell yet?
GHC? ghci? any of that?
I guess install stack this way: haskell.org/platform/windows.html
None of them and I heard Haskell from here and rest of others not heard
@AaronHall Before it need to install Chocolatey!
That's a general package manager for Windows.
It's been around a long time
13:07
We could use an AI to automatically generate the music...
13:48
@AaronHall , that's good and what exactly AI gonna do with the music?
AI could generate the music, given some kind of inputs. - We get to listen to it. :)
The first 10 seconds are the original song
the rest are the AI generating more.
Not exactly what I'm talking about.
Here's the lib being used: youtube.com/watch?v=Q0tPYbniPzw
The idea would be to use Haskell and Euterpea to create a project that generates music in some kind of style (to be determined) - in a way similar to how games that generate random levels do it.
It could generate symphonic music, easy listening jazz, video game music... whatever we want.
@AnnZen hi!
Is this not the place to talk about python?
14:04
You can because Python has functional features. if you have a question, especially about using Python functionally, just ask it, and we'll make recommendations as it makes sense.
Do you know that you can compose music with a built in module from python?
14:51
@AaronHall , nice
By installing you accept licenses for the packages. It stuck somewhere here!
I thought it stuck and it was not doing anything then after a few times. It's downloading all the dependencies
15:19
Installed:
- ghc v8.10.1
- chocolatey-core.extension v1.3.5.1
- haskell-dev v0.0.1
- msys2 v20200602.0.0
- cabal v3.2.0.0
that makes sense
Yeah man, you're officially a haskell developer. You just need to write your first code. :)
From where need to start?
:)
ok, let me look
It looks like you're using powershell or something like that?
Yes, using PowerShell and here Chocolatey recommend to use PowerShell
ok, so nix just provides non-haskell stuff when using stack...
that's my concern, not yours, I guess.
That's right, and look, it's 8.10, bleeding edge!
bleeding edge?? Latest dependencies could be I guess?
it's pretty modern, that's a good thing, they've had a lot of improvements lately.
that's great and when did they release this version?
15:52
Looks like March: haskell.org/ghc
@RakeshKumar ok, I'm going to try to put together a package we can work on together and you can fork it and send me pull requests and we can work on it together, what do you say?.
Yes, but I am not sure what we are going to develop and what kind of application that would be
Euterpea is a midi generating library
so I think it would be used something like this:
It's a general-purpose programming language. It's currently mostly used to write things such as compilers and web servers.
It has lots of interesting ideas from mathematics and theoretical computer science. Some folks use haskell to learn these ideas. They don't really care about 'developing' in it.
$ echo "seed" | music_generator | midi_interpreter
the package we work on would be the music_generator part.
and that would play music until you stop it.
We could give it flags like --jazz, --techno etc...
$ echo "seed" | music_generator --jazz | midi_interpreter
One idea is to have it take a screen shot of your monitor and generate music from that as a seed.
16:08
Okay, that is just an example that you giving
right?
One idea is to have it take a screen shot of your monitor and generate music from that as a seed. That will be so cool
What's important for me is to wire it up and publish it so people can parameterize to their own custom tastes and use it.
Nice idea
So here's some light reading: cs.yale.edu/homes/hudak/Papers/HSoM.pdf - luckily Hudak wrote it for people new to Haskell.
16:44
Here's the quick start guide for stack: docs.haskellstack.org/en/stable/README/#quick-start-guide
I will sure check. Thank you.:)

« first day (1501 days earlier)      last day (365 days later) »