These are chat archives for learnclang/general

13th
Jan 2015
Sebastian Thiel
@Byron
Jan 13 2015 07:47

Episode 5 of the RPS screencast series airs tonight at 8pm GMT+0

@/all Read more about its contents on github
Sebastian Thiel
@Byron
Jan 13 2015 14:21

First beginners git commandline guide now available for consumption on youtube

Marcus Ottosson
@mottosso
Jan 13 2015 14:33
Sweet! This should help out anyone who'd like to take part in current and future projects :) Having a look now!
Sebastian Thiel
@Byron
Jan 13 2015 14:35
Unfortunately, I don't quite hit the quality that I'd like to, but it is what is: A continuously recorded roughly authored video about something I pretend to know :)
Marcus Ottosson
@mottosso
Jan 13 2015 14:55
Looks good to me :)
Would it be easier to make smaller, say 1 minute segments with a feature per clip, as opposed to a, as you call it, continous recording?
Sebastian Thiel
@Byron
Jan 13 2015 18:01
Maybe, I haven't tried it yet - after all, it feels more natural to just keep talking. Something I'd certainly do is to re-record parts that are totally messed up.
This video about external remotes on github I have re-recorded 3 times, just because I forgot to switch scenes in OBS :).
Marcus Ottosson
@mottosso
Jan 13 2015 18:01
:)
Sebastian Thiel
@Byron
Jan 13 2015 19:29

Episode 5 of the RPS screencast series airs in 30 minutes

@/all Tune in on Twitch
Cesar Saez
@csaez
Jan 13 2015 20:43
Thanks @Byron :)
Sebastian Thiel
@Byron
Jan 13 2015 20:47
You are welcome :) ! How is the stream quality btw ? I am recording in 720p@10fps, 1Mb max bandwidth
elpie89
@elpie89
Jan 13 2015 20:47
i losted the screencast tonight...i will watch it later on youtube
have someone started to work on the current project?
Marcus Ottosson
@mottosso
Jan 13 2015 20:51
The stream looks good, but does have some framerate issues, especially when switching screens.
I noticed you were also viewing the stream from your user-account, could that have an impact on the bandwidth?
@elpie89 Not sure, I haven't yet at least but am planning on getting something up within the next few days. You are very welcome to give it a try first! :)
Basically, see what you can come up with, in a single .c file, and post it here so we can dissect and make it better together.
Sebastian Thiel
@Byron
Jan 13 2015 20:54
@mottosso I shouldn't have been watching it, but my phone was in the twitch chat. Maybe that was what you saw ?
Also I will have a look at the recorded stream on twitch myself, just to see where the framerate goes down. Even though I wouldn't to fix it, I tried plenty of options compression options already :(
Marcus Ottosson
@mottosso
Jan 13 2015 20:58
It isn't much of a problem, the audio has been solid for me so far, and that's more important.
Cesar Saez
@csaez
Jan 13 2015 20:58
Quality is fine! there's a little bit of lag (framedrops) but it's totally ok.
elpie89
@elpie89
Jan 13 2015 20:59
i searched something this morning on train,i was thinking to use libcurl...what do you think about this solution
Sebastian Thiel
@Byron
Jan 13 2015 20:59
Alright, I take it it's acceptable for you, which shall be acceptable for me as well. Else there is always the option not to live-stream.
Marcus Ottosson
@mottosso
Jan 13 2015 21:01
@Byron Yeah, fine by me, and the YouTube upload is 60fps isn't it?
Sebastian Thiel
@Byron
Jan 13 2015 21:02
@mottosso Yes it is ! And soon in stereoscopic 3D ;)
Marcus Ottosson
@mottosso
Jan 13 2015 21:02
@elpie89 Libcurl, I'll have a quick look!
@elpie89 This one? http://curl.haxx.se/libcurl/ Looks spot on!
It's great that it's a third-party library too, so we can get some experience in that and what it involves.
elpie89
@elpie89
Jan 13 2015 21:03
yes
Sebastian Thiel
@Byron
Jan 13 2015 21:03

Find the most recent RPS episode's code on github

@/all This includes youtube links which will work in two hours
Marcus Ottosson
@mottosso
Jan 13 2015 21:03
If it's anything like Python, it should involve merely placing it in the folder we're compiling in, and #includeing it.

Do you want to give it a try? You can always post code here directly, using the triple-`, like this:

```c
#include "libcurl.h"

int main()
{
}
```

Which becomes:

#include "libcurl.h"

int main()
{
}
Then we could keep spawning ideas "live" in a sense. :)
elpie89
@elpie89
Jan 13 2015 21:04
thanks @Byron, @mottosso i think yes,something like that
Marcus Ottosson
@mottosso
Jan 13 2015 21:05
@davidmartinezanim Are you in on this too?
elpie89
@elpie89
Jan 13 2015 21:06
but i'm having some problem reading api,a bit for English and a little because I think they are poorly written
Marcus Ottosson
@mottosso
Jan 13 2015 21:07

That's allright, there's always StackOverflow and also examples, this might be a good starting point:

http://curl.haxx.se/libcurl/c/simple.html

David Martinez
@davidmartinezanim
Jan 13 2015 21:07
Sorry, I'm here now
elpie89
@elpie89
Jan 13 2015 21:07
and much because I am the worst here
Marcus Ottosson
@mottosso
Jan 13 2015 21:07
I think not! :D
We're all beginners here
In a few months time, we won't be. :)
David Martinez
@davidmartinezanim
Jan 13 2015 21:08
I'm living proof of that
Marcus Ottosson
@mottosso
Jan 13 2015 21:08
Haha
elpie89
@elpie89
Jan 13 2015 21:09
:smile:
Marcus Ottosson
@mottosso
Jan 13 2015 21:09
All we need is something that works like this:
$ lc_download
Please enter a URL
$ lc_download https://raw.githubusercontent.com/learnclang/current/master/img/c.png
$ ./c.png
The program we compile should be called "lc_download.exe" (on Windows)
And should take a single argument, and output a file, using the name from the downloaded file.
The most important thing being that everything we code, is well commented and understood.
elpie89
@elpie89
Jan 13 2015 21:12
yes,i can't find in the site,the explaination of CURL and CURLcode type
Marcus Ottosson
@mottosso
Jan 13 2015 21:14
That's a good point!
Those must be typedefs
like when you do
typedef int myint
myint MyInteger = 5;
You're re-assigned int to be called myint and then use it.
I think we could inspect the source file for that :)
elpie89
@elpie89
Jan 13 2015 21:16
oh,what I feared
Marcus Ottosson
@mottosso
Jan 13 2015 21:16
Noooo, you shouldn't :)
Whenever you encounter anything you don't know, find out and try summarising it
That's how we'll learn
We'll put that in the Wiki, this is exactly what this project is all about
"What to do when you don't know what to do"
elpie89
@elpie89
Jan 13 2015 21:21
perfect i will try it tomorrow,i don't want today,I scripted all day on the gui of the game I'm working on
Marcus Ottosson
@mottosso
Jan 13 2015 21:22
I had a quick look, if you download the source from here: http://curl.haxx.se/download.html
and then do a search for CURLcode through all the files.. do you a text-editor that can do that? Like Sublime?
That way, you can discover where they define it, and find out what it is made out of.
elpie89
@elpie89
Jan 13 2015 21:23
yeah, i will
Marcus Ottosson
@mottosso
Jan 13 2015 21:24
Cool, I'll be around tomorrow for when you get started, just give me a shout in the chat if you want.
elpie89
@elpie89
Jan 13 2015 21:26
cool, we work together tomorrow
Marcus Ottosson
@mottosso
Jan 13 2015 23:11
@Byron Did you add the Git video to Resources? Might also be a good idea to add it to the introduction text, so users can get to it quickly.