Foss aueb events 2012-2013

Εδώ μπορείτε να ενημερώνετε ή να ενημερώνεστε για τη διοργάνωση διαφόρων σεμιναρίων από φοιτητές.
Post Reply
User avatar
moody
Gbyte level
Gbyte level
Posts: 1082
Joined: Sun Oct 16, 2011 11:38 am
Gender:

Foss aueb events 2012-2013

Post by moody » Tue Dec 04, 2012 8:44 am

Παρασκευή 5-7 , Δ22

Αυτή την Παρασκευή 7/12 , θα είναι εισαγωγή στο open source και μάλλον και σε χριστουγεννιάτικα pancakes .

Ποιοί είμαστε ;
Τι είναι το ελ/λακ;
Εισαγωγική συζήτηση για τις Διανομές GNU/Linux και τί διαφορές έχουν.
Live interaction με συστήματα GNU/Linux μέσω διαφόρων διανομών σε δικά μας laptop.
InstallFest! ~ φέρτε το laptop σας, να εγκαταστήσουμε τη διανομή της προτίμησής σας επιτόπου.

Pancakes - irc bot ,γραμμένο σε bash από τον ~~Wind~~(aka. c00kiemon5ter )
modie is balanced ¯\_(ツ)_/¯
User avatar
ja_the_invincible
Wow! Terabyte level
Wow! Terabyte level
Posts: 2414
Joined: Tue Dec 01, 2009 12:33 am
Academic status: N>4
Gender:
Location: Κάπου στο matrix...

Re: Foss aueb events 2012-2013

Post by ja_the_invincible » Tue Dec 04, 2012 10:30 am

Nice :-D
f**k robin and batman i'm robbin with a bat man
User avatar
AmmarkoV
Wow! Terabyte level
Wow! Terabyte level
Posts: 2838
Joined: Thu Nov 04, 2004 2:55 pm
Gender:
Location: Reloaded @ Santa Friday
Contact:

Re: Foss aueb events 2012-2013

Post by AmmarkoV » Mon Dec 17, 2012 4:25 pm

Την Παρασκευή 21/12/2012 ( την τελευταία μέρα του κόσμου :ugeek: )
Θα κάνουμε μια παρουσίαση στην αίθουσα Δ22 17:00 - 19:00 σχετικά με την γλώσσα C και τον AmmarServer..

Λόγω των διαφορετικών γνώσεων ανάλογα με το έτος κτλ το content θα είναι interactive οπότε θα επικεντρωθούμε ανάλογα με το τι θέλει το κοινό έτσι ώστε να αποκομίσουν όσο το δυνατόν περισσότερα περισσότεροι άνθρωποι..

Πτυχές του θέματος θα είναι
σχετικά με την C
  • Procedural προγραμματισμός
    Πώς να ξεκινήσει κανείς να γράφει σε C ( από κονσόλα , από IDE κτλ )
    Low Level / High Performance code , gprof
    Τι γίνεται σε χαμηλότερο επίπεδο ( assembly , stack , heap )
    Πως κάνουμε static link binay libraries μεταξύ τους..
    Πώς κάνουμε debugging ( valgrind )
    Πώς είναι οργανωμένο το stdout , streams κτλ κτλ

σχετικά με τoν AmmarServer
  • Τι είναι ένας WebServer
    Πώς περίπου setάρεται και λειτουργεί ο Apache
    Πώς setάρεται και λειτουργεί ο AmmarServer
    Γιατί υπάρχει ο AmmarServer
    που μπορεί να χρησιμοποιηθεί κτλ κτλ

http://foss.aueb.gr/viewtopic.php?f=25& ... 8de5#p2686
Spoiler: εμφάνιση/απόκρυψη
I would love to change the world, but they won't give me the source code. Οι καθηγητές πληρώνονται από το δημόσιο αρα από όλους τους Έλληνες για να κάνουν τα μαθήματα. Όλοι οι Έλληνες θα έπρεπε να μπορούν να δουν τα μαθήματα τα οποία πληρώνουν! Tο πνευματικό έργο που επιτελείται με τα χρήματα του δημοσίου ΔΕΝ είναι μόνο δικό σας Όποιος δεν δίνει πανελλήνιες έχει δικαίωμα στην γνώση που πληρώνει [url=http://ammar.gr/gddg]gddg blog[/url]
Image
User avatar
MpoMp
Venus Former Team Member
Posts: 6620
Joined: Mon Oct 04, 2010 9:31 pm
Gender:
Contact:

Re: Foss aueb events 2012-2013

Post by MpoMp » Mon Dec 17, 2012 6:54 pm

AmmarkoV wrote:Την Παρασκευή 21/12/2012 ( την τελευταία μέρα του κόσμου :ugeek: )
Θα κάνουμε μια παρουσίαση στην αίθουσα Δ22 17:00 - 19:00 σχετικά με την γλώσσα C και τον AmmarServer..

Λόγω των διαφορετικών γνώσεων ανάλογα με το έτος κτλ το content θα είναι interactive οπότε θα επικεντρωθούμε ανάλογα με το τι θέλει το κοινό έτσι ώστε να αποκομίσουν όσο το δυνατόν περισσότερα περισσότεροι άνθρωποι..

Πτυχές του θέματος θα είναι
σχετικά με την C
  • Procedural προγραμματισμός
    Πώς να ξεκινήσει κανείς να γράφει σε C ( από κονσόλα , από IDE κτλ )
    Low Level / High Performance code , gprof
    Τι γίνεται σε χαμηλότερο επίπεδο ( assembly , stack , heap )
    Πως κάνουμε static link binay libraries μεταξύ τους..
    Πώς κάνουμε debugging ( valgrind )
    Πώς είναι οργανωμένο το stdout , streams κτλ κτλ

σχετικά με τoν AmmarServer
  • Τι είναι ένας WebServer
    Πώς περίπου setάρεται και λειτουργεί ο Apache
    Πώς setάρεται και λειτουργεί ο AmmarServer
    Γιατί υπάρχει ο AmmarServer
    που μπορεί να χρησιμοποιηθεί κτλ κτλ

http://foss.aueb.gr/viewtopic.php?f=25& ... 8de5#p2686
Θα είμαι τάβλα και δε θα μπορέσω να 'ρθω. :-( Παίζουν διαφάνειες/βίντεο?
Any fool can make something complicated. It takes a genius to make it simple.
MpoMp @ Discord
User avatar
bstrds
Kilobyte level
Kilobyte level
Posts: 247
Joined: Sat Dec 11, 2010 1:48 pm
Academic status: 4th year

Re: Foss aueb events 2012-2013

Post by bstrds » Wed Dec 19, 2012 1:17 pm

le shameless bump


Link
Spoiler: εμφάνιση/απόκρυψη
[code] _____________________________________ / You're a card which will have to be \ \ dealt with. / ------------------------------------- \ ,-^-. \ !oYo! \ /./=\.\______ ## )\/\ ||-----w|| || || Cowth Vader [/code]
User avatar
moody
Gbyte level
Gbyte level
Posts: 1082
Joined: Sun Oct 16, 2011 11:38 am
Gender:

Re: Foss aueb events 2012-2013

Post by moody » Thu Dec 20, 2012 3:35 pm

Its History
AmmarServer began as a small sockets project back on 2004 , its main use back then was serving as a portable executable that I could take with me to share static files between different machines without having administrator privilages , setting up shares , on different Operating Systems and network topologies..

Needless to say despite beeing "my own brainchild" , it wasn`t a webserver particularly useful on anything but static content and I always used Apache , MySQL and PHP as infrastructure for serious web-development work which served me well .. until I started working on embedded systems..

The Apache web server is a wonderful piece of software with a very large collection of plugins and modules and a huge percentage of the internet gets served by it every day, it is robust , mature , well documented and it is secure.. But all these positive qualities also mean that it is big and it is complex requiring a relatively large deployment and configuration payload ( for a LAMP installation ).

Using PHP ( or any other interpreted high-level language ) felt right at home from the first time I used it. With its C-like language structure but more goodies like multi line strings and loose variable declaration rules . It proved to be an invaluable tool but gradually also proved a heavy task for computer hosts lacking many computing resources or serving a very large number of requests. The picture got even worse when services like Wordpress ( which is also great ) that have many thousands lines of code generate dynamic content.. The delays , wether they where Disk , CPU or Memory based summed up and this lead to a very bad user experience while accessing and browsing various site configurations. Of course I am not the only one that has observed this and there are many projects to improve the situation and combat performance overheads such as the Hip-Hop library developed by facebook that translated php to a C++ generating a compiled binary and reduced their loads by a respectable 50%.. Other "home-made" solutions I tried was operating on memfs or ramfs partitions and many other hacks which optimized things more and more..

At some point I thought..
All this is good but is it the best that can be done ?
What would be the best way to do it ?
The least overhead possible can only be achieved by closely coupling the webserver with the dynamic content it serves. Compiled php binaries offer a faster way to generate the content but this content is loosely tied with the server that actually sends it.
Instead of having seperate "entities" for the webserver the architecture of AmmarServer statically links the webserver library with the dynamic content which is compiled into the same executable..
modie is balanced ¯\_(ツ)_/¯
User avatar
ja_the_invincible
Wow! Terabyte level
Wow! Terabyte level
Posts: 2414
Joined: Tue Dec 01, 2009 12:33 am
Academic status: N>4
Gender:
Location: Κάπου στο matrix...

Re: Foss aueb events 2012-2013

Post by ja_the_invincible » Thu Dec 20, 2012 4:24 pm

Niceee :) .τούμπανη παρουσίαση
f**k robin and batman i'm robbin with a bat man
User avatar
moody
Gbyte level
Gbyte level
Posts: 1082
Joined: Sun Oct 16, 2011 11:38 am
Gender:

Re: Foss aueb events 2012-2013

Post by moody » Fri Dec 21, 2012 11:47 am

+ ότι σήμερα θα γίνει ανάδειξη του καινούριου leader της tboa(The boys of Ammar),καθώς ο προηγούμενος leader,θα βρίσκεται κρήτη από 1 ιανουαρίου
modie is balanced ¯\_(ツ)_/¯
User avatar
AmmarkoV
Wow! Terabyte level
Wow! Terabyte level
Posts: 2838
Joined: Thu Nov 04, 2004 2:55 pm
Gender:
Location: Reloaded @ Santa Friday
Contact:

Re: Foss aueb events 2012-2013

Post by AmmarkoV » Fri Dec 21, 2012 8:26 pm

Yo :D
Thank you all for coming!

Παρά τις τεχνικές δυσκολίες και το δανεικό laptop ( sorry 'bout that ) :smt033 .. Ελπίζω να σας φάνηκε ενδιαφέρον το θέμα και να πείρατε μια πρώτη γεύση απο την C , να καταλάβατε οτι δεν είναι και το πιο "δύσκολο" πράγμα στον κόσμο.. :) καθώς και το οτι είναι αρκετά extendable για πολλές και διάφορες χρήσεις και κατα την γνώμη μου πολύ βασική γνώση για έναν προγραμματιστή..

Αντίστοιχα έχοντας καταλάβει σε γενικές γραμμές έστω και στο περίπου τι συμβαίνει στο παρασκήνιο , για ποιό λόγο μπήκα στον κόπο να φτιάξω τον AmmarServer και πρακτικές εφαρμογές στις οποίες με λίγες μόνο extra γραμμές κώδικα έχουμε πολύ παραπάνω functionality..!

Λόγω του laptop fail ούτε μαγνητοφωνήθηκε ούτε καταγράφηκε τίποτα ( ήταν όλα off the record ) και επίσης τα μικρά samples που έγραφα κατα την διάρκεια με το reboot χάθηκαν καθώς ήμασταν σε live-cd περιβάλλον! Γιαυτό τον λόγο θα αλλάξω λίγο το αρχικό μου υλικό και θα ανεβάσω κάποια βασικά αρχειάκια σύντομα και εδώ και στο foss-aueb..!


:smt023
Spoiler: εμφάνιση/απόκρυψη
I would love to change the world, but they won't give me the source code. Οι καθηγητές πληρώνονται από το δημόσιο αρα από όλους τους Έλληνες για να κάνουν τα μαθήματα. Όλοι οι Έλληνες θα έπρεπε να μπορούν να δουν τα μαθήματα τα οποία πληρώνουν! Tο πνευματικό έργο που επιτελείται με τα χρήματα του δημοσίου ΔΕΝ είναι μόνο δικό σας Όποιος δεν δίνει πανελλήνιες έχει δικαίωμα στην γνώση που πληρώνει [url=http://ammar.gr/gddg]gddg blog[/url]
Image
User avatar
AmmarkoV
Wow! Terabyte level
Wow! Terabyte level
Posts: 2838
Joined: Thu Nov 04, 2004 2:55 pm
Gender:
Location: Reloaded @ Santa Friday
Contact:

Re: Foss aueb events 2012-2013

Post by AmmarkoV » Sun Dec 23, 2012 3:37 am

Όπως υποσχέθηκα here you go folks!

Σχετικά με C μπορείτε να κατεβάσετε το attachment
Σχετικά με τον AmmarServer μπορείτε να τον κατεβάσετε δίνοντας

sudo apt-get install git build-essential
Έτσι ώστε να κατεβάσετε το git τον GNU C compiler ( GCC ) κτλ κτλ κτλ

git clone --depth 1 git://github.com/AmmarkoV/AmmarServer
Έτσι ώστε να δημιουργήσετε ένα αντίγραφο του repo στο σκληρό σας δίσκο

cd AmmarServer
( για να μπείτε μέσα στο directory που δημιουργήθηκε )

./make
για να εκτελέσετε το script το οποιό καλεί διαδοχικά gcc μπλαμπλα.c -o κάτι

και με δεδομένο οτι όλα έγιναν σωστά
./run_ammarserver για ένα απλό instance του AmmarServer
./run_myurl για ένα url shortner instance του AmmarServer

Ο κώδικας του project βρίσκεται εδώ ( https://github.com/AmmarkoV/AmmarServer )
για ερωτήσεις και απορίες feel free to drop by #foss-aueb @ irc.freenode.net!
You do not have the required permissions to view the files attached to this post.
Spoiler: εμφάνιση/απόκρυψη
I would love to change the world, but they won't give me the source code. Οι καθηγητές πληρώνονται από το δημόσιο αρα από όλους τους Έλληνες για να κάνουν τα μαθήματα. Όλοι οι Έλληνες θα έπρεπε να μπορούν να δουν τα μαθήματα τα οποία πληρώνουν! Tο πνευματικό έργο που επιτελείται με τα χρήματα του δημοσίου ΔΕΝ είναι μόνο δικό σας Όποιος δεν δίνει πανελλήνιες έχει δικαίωμα στην γνώση που πληρώνει [url=http://ammar.gr/gddg]gddg blog[/url]
Image
User avatar
MpoMp
Venus Former Team Member
Posts: 6620
Joined: Mon Oct 04, 2010 9:31 pm
Gender:
Contact:

Re: Foss aueb events 2012-2013

Post by MpoMp » Sun Dec 23, 2012 10:33 am

Thanks! :smt023
Any fool can make something complicated. It takes a genius to make it simple.
MpoMp @ Discord
Post Reply

Return to “Διαλέξεις φοιτητών”