Erich Schubert: Privacy in the public opinion
Here's the fourth tutorial from Guus on Scientific OpenGL, this time going 3D, plotting the "Mexican Hat" function, and covering various line drawing methods as well as Index Buffer Objects.
http://en.wikibooks.org/wiki/OpenGL_Programming/Scientific_OpenGL_Tutorial_04
Session reuse is one of the most important mechanism to
improve SSL performance: by submitting an appropriate blob to the
server, a client is able to trigger an abbreviated handshake,
improving latency and computation time. There exists two distinct ways
to achieve session reuse: session identifiers as described in
RFC 5246 and session tickets as depicted in
RFC 5077.
To avoid a full SSL handshake each time a client request a resource,
it is possible for the client to request an abbreviated handshake,
saving a complete round-trip (100 ms) and avoiding the costliest part
of the full SSL handshake.
Two mechanisms can be used to accomplish an abbreviated handshake:
It is difficult to get extensive results this way since you need to
install a lot of browsers to get something valuable. Surprisingly,
Android 2.3.4 browser (as shipped by Cyanogen Mod) does not support
any session resume.
Another way to check if a browser supports session resume is to use a
sniffer and to spot Client Hello messages. If a client tries to
resume a session, it will use an appropriate session identifier or
send a ticket. A simple program parsing PCAP files
allows to automate this task and get some interesting statistics. Here
are random facts from more than 300 000 requests (38 000 clients) to
a customer care service of an important French telco:
SSLSessionCache but the
memcached-enabled session cache is
available only in the development branch. You can
also get one by switching to mod_gnutls backend. The
cache is enabled with GnuTLSCache. In this case, do not enable
tickets because they cannot be shared.
With nginx, you need to enable the shared session cache with
ssl_session_cache. Currently, it lacks a memcached-enabled session
cache but Matt Palmer has some patches to add it to
the 0.8 branch. However, those patches can have a serious impact on
nginx performance since retrieving a session from memcached is done
synchronously (mostly because a limitation in OpenSSL design who does
not allow to register asynchronous callbacks with
SSL_CTX_sess_set_get_cb()).
As a proof of concept, I have also added a similar feature to
stud, the scalable TLS unwrapping daemon, a very efficient
network proxy terminating SSL connections. The same limitation as for
nginx applies: performances will suffer. Look at the
pull request for more details.
ssl/ssl_lib.c:
/* Setup RFC4507 ticket keys */ if ((RAND_pseudo_bytes(ret->tlsext_tick_key_name, 16) <= 0) (RAND_bytes(ret->tlsext_tick_hmac_key, 16) <= 0) (RAND_bytes(ret->tlsext_tick_aes_key, 16) <= 0)) ret->options = SSL_OP_NO_TICKET;
unsigned char keys[48]; EVP_PKEY *pkey = grab_private_key(); /* To get our key, we sign the seed with the private key */ unsigned int siglen; unsigned char sign[LARGE_ENOUGH]; EVP_MD_CTX mdctx; EVP_MD_CTX_init(&mdctx); EVP_SignInit(&mdctx, EVP_sha256()); EVP_SignUpdate(&mdctx, some_secret, strlen(some_secret)); EVP_SignFinal(&mdctx, sign, &siglen, pkey); /* And we keep only the first bytes. */ memcpy(keys, sign, sizeof(keys)); /* Tell OpenSSL to use those keys */ SSL_CTX_set_tlsext_ticket_keys(ctx, keys, sizeof(keys));
openssl s_client and openssl
sess_id, testing all aspects can take a lot of time. For this
purpose, I have written a
client testing session resume with and without tickets. Here
is a typical result:
The program will try to establish five consecutive SSL connections for
each IP without and with tickets. For each IP, the last four SSL
connections should always reuse the first SSL session. Here, Twitter
web servers seem properly configured: for each IP, session resume is
successful. Their web servers do not support tickets or they may have
disabled it because they share the session cache between servers
inside the same pool.
Hope a few of my readers got it from the title of this blog post.
And maybe many others didn't. So let's talk about "Stop Making Sense".
You're warned: nothing to do with free software...or running, this
time. This is all about music.
Music from the 80's.
"Stop Making Sense" is indeed, in my opinion, one of the best achieved
musical movie. It is simple: it features a gig by the Talking Heads,
back in 1983, when this band was among the most innovative ones that
ever appeared in the late 70's.
And I finally managed to take time to actually buy the DVD and see it
again as I didn't see it since 1985.
For many people, Talking Heads is the incredible person that's David
Byrne. That's certainly true for some parts (and this is what lead to
their split in 1991), but the movie really gives credit to all members
of the band, either the "regular" ones (Tina Weymouth, Chris Frantz,
Jerry Harrison) or the tour musicians (Bernie Worrell, Alex Weir,
Steven Scales, Lynn Mabry, Edna Holt).
The construction of the movie is simple: it just starts with Byrne
bringing a music box on an empty stage, with his acoustic guitar and
playing an incredible tense "Psycho Killer" (there are so many
different version of that mythical piece but this one is among the
best). Then Tina joins for a not-so-often played "Heaven" and brings
her so inimitable bass line (I count Tina among my very favourite bass
player, immediately after Tony Levin). At the end of the piece, the
crew quietly brings a full drum set, then Chris Frantz joins, smiling
as ever, and the rhythm increases with "Thank you for sending me an
angel".
Then Jerry Harrison joins, to make the original Heads line-up for a
really funky "Found a Job", where Jerry shows that he was THE Heads
lead guitar (and Tina is still keeping the foundations so strong).
Continuing the increasing tension, the rest of the musicians join for
Slippery People, then Burning Down the House ("Who's got a
match?"). All this culmminates in a crazy joggin on stage during "Life
During Wartime" and Byrne performing incredible and stellar movements
on stage. THis one surely makes the band entirely exhausted. How can
they survive this?
The few next songs are a little bit less stunning (oh, well, "Making
Flippy Floppy" still features a dream bass line)...until
a really special "Once in a Lifetime" that...has just to be seen (SAME
AS IT EVER WAS), then
a break
where....the Tom Tom Club (namely Chris, Tina and the rest of the
band) perform a giant "Genius of Love", so funky.
All this is indeed meant for Byrne to prepare for his top appearance,
in "Girlfriend is Better", in a giant suit, that makes his head over
his long neck yet more...strange. This leads to a crazy "Take me to
the River" which has always been the top of the Heads shows during the
80's and a tireless encore on "Crosseyed and Painless".
The movie ends up and you nearly never had a breath. So, yes, if you
think you enjoy the Heads music and have never seen that movie, just
try doing it once. That's how music was in the 80's..and, doh, these
folks were so good! By the way, all parts of the movie can be seen on
YouTube in case you just want to see what *I* enjoy.
Ah, and yes I share the love of the Heads with Danese "we never meet
often enough" Cooper, by the
way. We once made a promise ourselves to sing Psycho Killer in karaoke
if we're happy (and drunk) enough to meet again before we're too old for
this..:-).
Continuing on my Hackweek project, I've polished GePeS a bit today.
I started with better display of GPS coordinates and added some more GPS details to separate page. Adding images for moon phase was also part of the plan, though it force me to learn how to switch application to black theme, which looks much better with moon image.
Rest of time was spent on cleaning up the code and adding preferences (for now only refresh rate).
Updated screenshots:
PS: Some numbers look weird (altitude and speed), though I'm pretty sure this is what phone reports me.
Filed under: English Meego Suse 4 comments Flattr this!
We just announced the launch of the fundraising campaign for the Debian Administrator s Handbook.
We wanted to use this opportunity to let people contribute money both to our project but also to Debian itself. That s why we have setup a special link that you can use to participate. 15% of any donation made through this link (after VAT has been subtracted) will be given back to the Debian Project.
Here s the link: http://debian-handbook.info/go/ulule-debian/
Feel free to use this link when promoting the project to your friends, so that even more money goes back to Debian.
You can also embed a special widget on your website where any visitor that ends up becoming a supporter will also contribute 15% to the Debian project.
Help us spread the word about the project, and help raise money for Debian!
5 comments Liked this article? Click here. My blog is Flattr-enabled.
A bit more than a year elapsed since we announced our plans to translate our Debian book into English and to try to get it published under a license compatible with the Debian Free Software Guidelines. But we re now ready to go to the next step.
Completing the translation of 450 pages book is a huge work, we estimate it s going to take roughly 3 full time months for both Roland and me. Since we re freelancers, we can take the required time provided that we have a minimum income during that period. That s where you come into play: we have setup a crowdfunding campaign on Ulule.com and we need your support to raise 15000 (this is the absolute minimum for us to be able to commit the required time).
Even if a good and up-to-date book on Debian is a great perspective, we want to go further than that by adding the perspective of getting a DFSG-free Debian book. That s why we have transformed the crowfunding campaign in a liberation campaign. When you support the project, you can pledge money towards a liberation fund and if this fund reaches 25000 then the book will be published under the GPL-2+ and CC-BY-SA 3.0 licenses.
On top of this, when you support this project you can select a reward that goes from a copy of the ebook to a dinner with the authors (only 10 places for the latter)! Among the other rewards, there s obviously a paperback version of the book, but also an individual one-hour mentoring session with me a nice way to get you hooked as a new Debian contributor (limited to 40 persons, don t miss the opportunity!).
Wait no longer, click here and pledge some money to bring this reference book to Debian and the rest of the world.
Click here to go to the fundraising page and to learn more about this project.
10 comments Liked this article? Click here. My blog is Flattr-enabled.
There's something brewing, moving in Jalisco (a state in Mexico's West, where our second largest city, Guadalajara, is located). And it seems we have an opportunity to participate, hopefully to be taken into account for the future.
Ten days ago, I was contacted by phone by the staff of UDG Noticias, for an interview on the Universidad de Guadalajara radio station. The topic? Electronic voting. If you are interested in what I said there, you can get the interview from my webpage.
I held some e-mail contact with the interviewer, and during the past few days, he sent me some links to notes in the La Jornada de Jalisco newspaper, and asked for my opinion on them: On September 23, a fellow UNAM researcher, C sar Astudillo, claims the experience in three municipalities in Jalisco prove that e-voting is viable in the state, and today (September 26), third generation of an electronic booth is appearingly invulnerable.
Of course, I don't agree with the arguments presented (and I'll reproduce the mails I sent to UDG Noticias about it before my second interview just below They are in Spanish, though). However, what I liked here is that it does feel like a dialogue. Their successive texts seem to answer to my questioning.
So, even though I cannot yet claim this is a real dialogue (it would be much better to be able to sit down face to face and have a fluid conversation), it feels very nice to actually be listened to from the other side!
My answer to the first note:
And to September 26th:El tema de las urnas electr nicas sigue dando de qu hablar por ac en Jalisco... nosotros en Medios UDG hemos presentado distintas voces como la del Dr. Gabriel Corona Armenta, que est a favor del voto electr nico, del Dr. Luis Antonio Sobrado, magistrado presidente del tribunal supremo de elecciones de Costa Rica, quien nos habl sobre los 20 MDD que les cuesta implementar el sistema por lo que no lo han logrado hasta el momento, pudimos hablar hasta argentina con Federico Heinz y su rotunda oposici n al voto electr nico y por supuesto la entrevista que le realizamos a usted. Sin embargo este d a La Jornada Jalisco publica la siguiente nota http://www.lajornadajalisco.com.mx/2011/09/23/index.php?section=politica... nos gustar a saber cu l es su punto de vista al respecto, quedo a la espera de su respuestaHola, Pues... Bueno, s que el IFE hizo un desarrollo muy interesante y bien hecho hace un par de a os, dise ando desde cero las urnas que propon an emplear, pero no se instrumentaron fuera de pilotos (por cuesti n de costos, hasta donde entiendo). Se me hace triste y peligroso que el IEPC de Jalisco est proponiendo, teniendo ese antecedente, la compra de tecnolog a prefabricada, y confiando en lo que les ofrece un proveedor. Se me hace bastante iluso, directamente, lo que propone el t tulo: comicios en tres municipios prueban la viabilidad del voto electr nico en todo el estado . Pong moslo en estos t rminos: El que no se caiga una choza de l mina con estructura de madera demuestra que podemos construir rascacielos de l mina con estructura de madera? Ahora, un par de p rrafos que me llaman la atenci n de lo que publica esta nota de La Jornada:la propuesta de realizar la elecci n en todo el estado con urnas electr nicas que desea llevar a cabo el Instituto Electoral y de Participaci n Ciudadana (IEPC) es viable, pues los comicios realizados en tres municipios son pruebas suficientes para demostrar que la urna es fiabley algunos p rrafos m s adelante,Cu ntas experiencias m s se necesitan para saber si es confiable, 20, 30, no lo s (...) Pero cuando se tiene un diagn stico real, efectivo y serio de cu ndo t cnicamente procede, se puede tomar la decisi nComo lo menciono en mi art culo... No podemos confundir a la ausencia de evidencia con la evidencia de ausencia. Esto es, que en un despliegue menor no haya habido irregulares no significa que no pueda haberlas. Que haya pa ses que operan 100% con urnas electr nicas no significa que sea el camino a seguir. Hay algunas -y no pocas- experiencias de fallas en diversos sentidos de urnas electr nicas, y eso demuestra que no puede haber confianza en las implementaciones. Aunque el equipo nos saliera gratis (que no es el caso), hay que invertir recursos en su resguardo y mantenimiento. Aunque se generara un rastro impreso verificado por el votante (que s lo ha sido el caso en una peque a fracci n de las estacione de votaci n), nada asegura que los resultados reportados por el equipo sean siempre consistentes con la realidad. El potencial para mal uso que ofrecen es demasiado. Saludos,
Disculpe que lo molestemos otra vez, pero este d a fue publicada otra nota m s sobre el tema de las Urnas electr nicas en Jalisco donde se asegura que la urna es invulnerable. http://www.lajornadajalisco.com.mx/2011/09/26/index.php?section=politica... nos podr a conceder unos minutos para hablar con usted, como la vez pasada, v a telef nica sobre el caso espec fico de Jalisco, en referencia a estas notas publicadas recientemente? si es posible podr a llamarle este d a a las 2 pm? Quedo a la espera de su respuesta agradeci ndole su ayuda, apreciamos mucho esta colaboraci n que est haciendo con nosotrosHola, ( ) Respecto a esta nota: Nuevamente, ausencia de evidencia no es evidencia de ausencia. Se le permite a un peque o segmento de personas jugar con una m quina. Significa eso que fue una prueba completa, exhaustiva? No, s lo que ante un jugueteo casual no pudieron encontrar fallos obvios y graves. Un verdadero proceso que brindara confianza consistir a en (como lo hicieron en Brasil - Y resultaron vulnerables) convocar a la comunidad de expertos en seguridad en c mputo a hacer las pruebas que juzguen necesarias teniendo un nivel razonable de acceso al equipo. Adem s, la seguridad va m s all de modificar los resultados guardados. Un par de ejemplos que se me ocurren sin darle muchas vueltas:La negaci n de servicio es otro tipo de ataque con el cual tenemos que estar familiarizados. No s lo es posible modificar el sentido de la votaci n, sino que es muy f cil impedir que la poblaci n ejerza su derecho. Qu har an en este caso? Bueno, podr an caer de vuelta a votaci n sobre papel - Sobre hojas de un block, probablemente firmadas por cada uno de los funcionarios, por ejemplo. Pero si un atacante bloque la lectura de la tarjeta magn tica, que es necesaria para que el presidente de casilla la marque como cerrada, despoj de su voto a los usuarios. S , se tienen los votos impresos (que, francamente, me da mucho gusto ver que esta urna los maneja de esta manera). El conteo es posible, aunque un poco m s inc modo que en una votaci n tradicional (porque hay que revisar cu les son los que est n marcados como invalidados - no me queda muy claro c mo es el escenario del elector que vot por una opci n, se imprimi otra, y el resultado fue corregido y marcado como tal)... Pero es posible. Sin embargo, y para cerrar con esta respuesta: Si hacemos una corrida de prueba, en circunstancias controladas, obviamente no se notar n los much simos fallos que una urna electr nica puede introducir cuando los "chicos malos" son sus programadores. Podemos estar seguro que este marcador Atlas-Chivas-Cruz Azul tenga el mismo ndice de fiabilidad como una elecci n de candidatos reales, uno de los cuales puede haberle pagado a la empresa desarrolladora para manipular la elecci n? Y a n si el proceso fuera perfecto, indican aqu que est n _intentando_ licitar estas urnas (y nuevamente, si lo que menciona esta nota es cierto, son de las mejores urnas disponibles, y han atendido a muchos de los se alamientos - Qu bueno!)... Para qu ? Qu nos van a dar estas urnas, qu va a ganar la sociedad? Mayor rapidez? Despreciable - Media hora de ganancia. A cambio de cu nto dinero? Mayor confiabilidad? Me queda claro que no, siendo que no s lo somos cuatro trasnochados los que ponemos su sistema en duda, sino que sus mismos proponentes apuntan a la duda generalizada. La frase con la que cierra la nota se me hace digna para colgar un ep logo: "en ese futuro quiz no tan distante la corrupci n tambi n ocurre y sta se debe siempre al factor humano". Y el factor humano sigue ah . Las urnas electr nicas son programadas por personas, por personas falibles. Sin importar del lado que est n, recordar n la pol mica cuando se hizo p blico que la agregaci n de votos en el 2006 fue supervisada por la empresa Hildebrando, propiedad del cu ado del entonces candidato a la presidencia Felipe Calder n. Qu evita que caigamos en un escenario similar, pero ampliamente distribu do? Y aqu hay que referirnos a la sentencia de la Suprema Corte de Alemania: En dicho pa s, las votaciones electr nicas fueron declaradas anticonstitucionales porque s lo un grupo de especialistas podr an auditarlas. Una caja llena de papeles con la evidencia clara del sentido del voto de cada participante puede ser comprendida por cualquier ciudadano. El c digo que controla a las urnas electr nicas, s lo por un peque o porcentaje de la poblaci n.
- Qu pasa si meto un chicle a la ranura lectora de tarjeta magn tica?
- Qu pasa si golpeo alguna de las teclas lo suficiente para hacerla un poquito menos sensible sin destruirla por completo? (o, ya entrados en gastos, si la destruyo)
Dad, will you and mom stay up all night decorating the house for me?That was Jacob s question to me at bedtime the evening before his fifth birthday. Jacob had already had his birthday party a few weeks ago. When scheduling means that parties happen that far away from the boys real birthdays, they get a smaller celebration with just Terah and me where we open their presents from us. A low-key thing, so we weren t planning to decorate the house. I said, Well, I don t think we ll be doing all that since you already had your birthday party. And the look of eager anticipation on his face turned to a very sad and disappointed look, and made me feel really bad. Uhoh. So while Jacob was sleeping, I mentioned it to Terah. We decided we should improvise something simple, so she found some old streamers and we taped them up, running them through several rooms in the house and across his door. It took a few minutes using supplies we already had, but the joy the next morning was priceless. Oh dad, you said you wouldn t stay up all night, BUT YOU DID! Oh I am SO HAPPY! YAY YAY YAY! And he ran through the house to discover what else was set up. Then he ran to find Oliver and gave him a tour of everything. Then we sat down to open his presents. Here he is, holding a present from Terah and me:
The following selected bibliography showcases only a small portion of
the academics who have demonstrated that while it may take two to
tango, it only takes one to give a scholarly paper a silly cliche
title:
With no clear plans for Hackweek this year, I decided to play even more with N950. As I quite lack some GPS application I decided to write it :-). The feature set will be based on things I would use, though I still think it will be useful for others:
Filed under: English Meego Suse 0 comments Flattr this!
So one my favorite fieldwork photos is the one above and I would love to include it in my book but I have no idea where I got it from much less who took it. The photo was taken during a San Francisco protest against the DMCA, and more urgently at the time, also calling for the release of Dimitry Sklyrov (and we were all listening to Richard Stallman who was giving a small speech and I am on the right hand side of the photo, furiously scribbling notes)
I am looking for a high quality photo from one of the many Dmitry Sklyarov protests that were held in San Francisco or San Jose a photo that is either under CC license or given to me with formal permission to publish (I have forms to get official permissions). As I mentioned in my previous post, the book will be published with Princeton University Press with a CC license.
I finally finished a thing I was really missing: accessing my Google Contacts from Emacs. That's now possible, thanks to my new google-contacts.el package.
<video controls="controls">
<source src="http://julien.danjou.info/images/emacs-google-contacts.ogv" type="video/ogg">
</video>
It includes searching for any contact and displaying the result in a window.
You can also jump to a contact from Gnus by pressing a key, and complete
e-mail addresses while composing a mail.
Flattr me!
As Clint writes on his blog, we have now Yesod, a Haskell web framework, packaged in Debian. Despite his humble choice of words, it was mostly his work, and it is quite some work, given that Yesod has a huge number of dependencies that were not yet packaged.
So if you want to use Yesod on Debian, and prefer pre-built libraries without dependency problems and clean installation/deinstallation with dpkg over having always latest and greatest, this should provide you with a solid base.
quick overview over my RC bug activities during the last week:
...but I didn't break it myself. Still, Patrick Makau broke today
Haile Gebresselassie's world record by 21 seconds, lowering it down to
2h03'38". This is an impressive performance, considering the quite
"high" temporature today in Berlain (about 23 C).
My own race was quite good, though not perfect. My goal was targeting
3h36', to break my own record (3h40'24"). However, my preparation was
complicated by an hurted ankle in early August, then a very shaky
September month at work with a lot of stress and work days up to 12
hours. Not the best way to prepare a marathon.
Last two weeks were fairly good wrt running, with an half-marathon run
in 1h43' two weeks ago.
Still, we complicated this by speding a few days to do sightseeing in
Berlin (you can't really be in such a nice city and not try to see
it!). So, that means a lot of walking here or there, with museum
visits and quite long days. Again, not the best way to prepare a
marathon..:-)
Still, my watch was set on a 5'07"/km pace. My goal was starting like
this, work to avoid going faster over the first 20K ad see what
happens.
At the beginning, it worked fairly well. Contrary to Paris marathon,
Berlin's start in Strasse des 17. Juni is very cool for the first 3
kilometers with an incredibly wide avenue, whilst Paris marathon
shrinks in Rue de Rivoli after km 1.5, making it fairly complicated
to pass. Also, runners in Germany are much more respectful of running
principles and very few register for starting blocks that are nont
their real performance (like registering for 3h30 while your best time
if 4h). So less passing and a much more costant pace.
Up to km15 in Kreuzbeg, everything went well, though the heat was
growing, which already made me suspect that I would not make it (0-5K in
25'31", 5-10K in 25'54", 10-15K in 25'55") . From
this point, I had to "fight" a bit more to keep the pace...and a few
streets without shade had their effect. Moreover, I already had to
refill my belt bottle after drinking 0,8l for the first 17KM.
The pace thus went down to about 5'10-5'15" and I reached
half-marathon in 1h50'28", already not really on time for less than
3h40). 15-20K in 26'41", including a bottle refill. Then 20-25 in
25'44", so small drop after all.
However, the wall hit me on km28. For the first time in my marathon
life, I think I considered abandoning because I was feeling without
any energy and still 1/3 of a marathon to run. Well, that was only the
30K wall which they apparently moved 2K earlier..:-)
After calming myself down, I decided to do what has to be done in such
case: refill with energy. So long for the gels I had and particularly
the hyper-glucidic "Coup de Fouet". Finally, around KM30, I found more
motivation to complete the race. Anyway, we were then very very far
away, at the end of Hohenzollendamm, so the only option was to come
back anyway!
Despite all this, I kept a very decent pace, after all: 26'45" for
25-30K. Each kilometer, my watch was beeping to remind me that I was
not crawling on the street but more keeping about 5'20".
Still, the last kilometers on these giants avenues (oh, endless
Leipziger Strasse after Postdamer Platz!) needed a lot of motivation
to be completed. It's indeed only at Gendarmenmarkt that I finally
could be reliefed and know that I would not only finish, but also do
it in a very decent time. 30-35K in 27'43", 35-40K in 27'38".
Then we turned in Unter den Linden and, even better, at KM41, my
beloved Elizabeth was there yelling. This, plus Brandenburder Tor not
so far away....I could then "sprint" at 5'08" for the last kilometer.
Finally, this marathon (my 6th official) was completed in 3h44'50",
which is my second best.
I'm really happy with this result, finally. OK, I didn't break my
record as I was intending to (I think I can go down to 3h35 with a
normal preparation and good conditions), but the way I managed the
difficulty was finally good.
So, now, let's prepare the next goal, a 67km night race in November, the
longest distance I have ever run. Yet another different thing to
prepare.
And what about Berlin in all this? Well, in short, that city is
*great*. What could I tell more?
Shell prompts are often designed to provide a reminder of useful context
information such user name, host and current directory:
PS1="\u@\h:\w\$" tanguy@muscat:~/public_html$Such a prompt is sufficient to serve its original purpose, but it can be enhances in at least one useful way. Sometimes you have to copy the path of the current directory: with this prompt, it means selecting it by precisely dragging the mouse over it. Well, by adding spaces around the current directory you can become able to select it with a simple double click:
PS1="\u@\h: \w \$" tanguy@muscat: ~/public_html $Indeed, with such a prompt, you can now roughly point to the path, double click, and let your terminal emulator's word detection feature select the whole path for you. This simple modification may save you several tenths of seconds!
After some restless hours of debugging, here's Phong lighting
http://en.wikibooks.org/wiki/GLSL_Programming/GLUT/Smooth_Specular_HighlightsThe code can be optimized, but should give you a clear understanding on how to make smooth OpenGL lighting. And you can admire the stunning results with a mere basic material and one lamp!
Next.