Merken

A pragmatic toolchain

Zitierlink des Filmsegments
Embed Code

Automatisierte Medienanalyse

Beta
Erkannte Entitäten
Sprachtranskript
but I should get more in with the Vita this slices of this morning representing pragmatic programmers not technically unemployed but an independent consultant on that term you want to use which has all the joys that you might think that I like 2 minutes before I left the airport come here I had all kinds of questions to from authors to answer and
said not going away for weeks I folks so more the right of this of at the beginning of Mythbusters here pragmatic programmers came about when to programmers and in the past was not founder of Wendy's usually comes but both of them were programmers working out in industry for years and years and the work that agency they work for making it 1 the different groups I For they got together and started comparing notes and realize that every time they get a to a consulting job they were solving the same problem over and over again and they decided that they would try to put their knowledge into a book which they did they called Pragmatic Programmer they so that all they do the same thing over and over again because people were reading the book involving finds out but if you haven't read the book you do programming and you recommend is the book of the part about it and I highlight best when I 1st read it was they talk about documenting work and if you're a document might as well make it look good and there's a is another call you should use it when I read the that I like these cats a couple years after the road the programmer they both discovered the Ruby programming language and we follow along with it and said that it reflected exactly the way they thought about problems that there was no need to conceptualize how they might solid and then translate that into some programming language and then implemented that you sort of fun directly in grooming and they can do it the so they don't really was created by a Japanese programmer at time all the documentation was in japanese so the 2 of them sat down and went through all the source code and wrote the book called programming ruling which is now in the 3rd edition that details the language of program we use a lot of earlier the pragmatic programs as you might expect I can't say that my mind works exactly like Ruby I'm forced to after I think about it what realize that that's way my my work is actually more like to sort of this mishmash and it works great at 1 point then you go back to figure out what you did 6 months later we can figure it out and forces that is the way my mind works but I I'm not a linguist by training and variables a linguist cell after these 2 books came out and they were very popular books and in danger of being pragmatic I decided to buy back the rights to the book the books and start their own publishing enterprise that they call the pragmatic culture and if you haven't read any of pragmatic books I urge you at least 1 of our website I would show it to you know I had at the end of and I showed you pictures of some of these if I had when I was writing this last nite didn't so just have to go to the ground brown and black and white but don't look at the website we got some of our books I don't get any extra money of all these books sell well and the I do enjoy types a number of years after they started working on this enterprise edition that one's a Pragmatic Programmer they typeset themselves it started out as both of them have been at AT and T at least and he was at the time of the original Pragmatic Programmer was really year of as it grew a little bit larger they started having some issues with then the publisher and the publishers that and we don't really like the way the slots have you considered using this thing called Tech are designer knows stack and come up with something and created a layout for them intact and they then use and when he started the Pragmatic Bookshelf they took that with them and started enhancing that toolchain that's part of my problem these days is that I inherited that toolchain that started years and years and years ago and we heard in the 1st talk about legacy call it what you do with the legacy formats that's something that I face all the time the but anyway a couple years after they started this I got an e-mail said from and saying hey we need somebody with some tech experience and XSLT can help us out so I got my partner at the bookstore model an XSLT look good and without going into this God and by adventure with them that they continues to this day and when it like toolchain
reads we use a bunch of things all of our source code that authors rights using XML it's in our own DTD of pragmatic Markup Language PML the we use Unix tools like me we use lots of Ruby although we do have a few scripts and other languages we've got a couple Perl scripts said couple Python scripts and no-load gets I will probably be adding that it's some use XSLT which I have now come to know and I don't know and love I do it we use and use pdf that we get her a couple different routs all of the books that we sell we sell and either print versions or as PDF versions and they to different rounds to PDF depending on which 1 we use our print versions ultimately go through acrobat because of the requirements of our our of a term is he it's every time we try to do something different so we generally take the last step through acrobats but the ones that resellers PDF online those go through the normal DVI context to the the normal and more the the ITS and then the PSP and the books that resellers PDFs arts digitally rights managed we do have certain information that's encoded the that's why we do the last automated step in but there's no no the impression that goes on but that's 1 reason why we have to stick somewhat a tool chain that we have
now let me show you a demo I and
what we have and right here is a
typical file and all my hand the analysis and to which and but the the but you can see here what a
typical PML file looks like which like fairly stock XML I mean you can see the why I have been writing any books on the onslaught of doing this plot here this has been occupied by recently but we take the
XML and the nice thing about this
with using these mainly open-source tools is that all of the authors down that's this build system works brilliantly on any unique spaces so it works wonderfully on Linux on Mac OS 10 it can work on Windows but you really have to bend over backwards still feels much better if you're using some sort of a new Sigmund type environment which is essentially the running you know what you should but works well on on Unix-based systems and so when I'm getting ready to build the book all they do is they make all
the others this through processes with a bunch of scripts and then runs check
Wednesday attack in the months that another 2 times to solve everything and to
the last and yes the PDF and they will we get out which the which
looks something like this
the
our preprocessing we use for coloring code you choose I
on anything exciting but you can see here that the keywords the color release colors we can also by 3
different which process
and
I
think by adding in a switch to the main
process we can make screen version
and
this image has this is the
moment Spanish it's
the of the of the
of the seduction that but here's what our PDF versions look like so their color for they got hyper links here to go directly to the section you are also the if
we're online and you can see down here the
here part code is color little the they can the In our
sources generally organized into
2 different directories on book directly in pp stuff Pragmatic Programmer stuff directory the authors generally work with the directory I do
most of my stuff in 2 directories In the PP staff we
have attacked directory and has a lower cost of an most of the stuff that i modifying comes out of our style sheets and all right product side but it so that's worse than most my time making tech changes I will show you anything there it's it's fairly standard we use memoir as our classifier but it's fairly standard text is nothing earthshaking their or XML comes out of it on the TV and then we've got different formats that we can create from that XML so we we can go to an HTML that's useful for some of the books that are coming out that require HTML as the input file we got a lot said that's 1 that I do most of my maintenance on and then we have a couple of different e-book formats the e-book space right now is the is the influx but it's becoming much more important to us all go in a little bit presented 1 of our problems that has to do with the books the but generally we're trying to keep 1 of the 2 principles of the pragmatic programmers is very keen in keeping are XML as the canonical source of all of our books that we can use then do the conversion on with tech being the main routing using right now but we don't have to keep them future at
the the the
for what are some of the issues that we have using these tools I like can say 1 thing to remember before presenting issues because there are solutions that you can immediately see some of these issues if we abandon the axonal as the canonical source but at my hands are tied in this I can't really I the 1st problem we're having is with hyperechogenic and until recently argue were also been paid I think not of simulated wood-grain finish that I solved that problem of but it does keep popping up the URL breaking properly that sometimes but in the sidebars you you people read the book in that the sidebars enough with tackled enough that the display they say what is this on the box stuff that's sitting here magnified like it is something but it's hard to get rid of the but right now our biggest problem is with the books and reflowable pedia refill PDF means that you can change the size of your margins in the PDF will flow useful automatically as opposed to that had have at work at this point we're getting at least to e-mail a day asking us when we're going to support all these different people from the candle and various other more but it's increasing in frequency and I'm getting a lot of pressure to be able to produce we fall in the US the I can't do that right now with stop tacked an ideal solution and I'm hoping that the collective brilliance in this room will provide you with the solution by the time I get on the plane the not the time I walk out the door this morning so let me use is low attacked and provide a solution the end this is easy to get a provided some of that this 0 attack and provide and how we view of it of the day but yet still I was in love it without solution this is where it is you just you know people who change you always right so so this is you know it's so it's going to change the so that should over to the rest of the world so you will you know this but but a lot of people formats market allow me to you several different like if I and it's a handle it won't allow me to put in multiple influence the world were what user yeah it's a useful but if it if we do that operates on solving these are added and engine problems then there is a question of what format we can then use and that kind of ties and it's it's 4th bottle but it's related we can use basically anything and yet even the players final because I really the only 1 who has to deal with attack aspect of until very recently gave out a lot with the taxes but they spent most of his time these days writing Ruby on Rails and then I'd rather him do that then we have to do that I think that the text and do you some new format it's not any of these that that incorporates this not the character took place in front of this group that's in front of me there things different formats and different engines but we can provide some funding to do something but it would be in dollars which I realize it's funny money these days that I got if maybe we can come up with euros a ruler or a rod model that that the monopoly money works well to and but if we hear about get satisfaction of this room we may have to switch away from Tech we do know that XSL-FO as much as it pains me doesn't work and does produce reflowable PDF and since we've already got part of x amount of our chain it can be done it doesn't look as good as 10 if I was if we can get the books out of it we may have to use text for all our friends and on-screen pdf and then use XSL-FO to do the reflowable e-book formats I prefer not to do that Armed so maybe that might be an additional inducement now please help us keep that in this the the that's basically what we presented you the questions and hopefully
are the solutions we get another solution so that both of of the people who use of work do you work with people who were were to use some of so that you could even say who rule is the right we don't actually beyond we got a few things that we offer for you match users and or text made uses the that's Macra's in there to help them out but we generally that we often use whatever they want to type in the x amount but will you I use I go back and forth between the max and text me when I'm off that 1 and the will move from the works of all the ones who were you know that XSLT so you get each you so I think it's the succeeds with the tools I think that you I rarely get into like this sort of I'd I do my XSL format and then just run it through but I think we're using there's the pants who are the wife you the what do you do that you know I of think to find but because some of the e-book formats require some take HTML as input nodes were final yeah but some pdf and some don't yeah there's no there's no aspect ratio depends on what the user sets so that has to be re and but you can't use the you the say in your right I just want the result of some of the local last year's usually a hole in the roof of this that is it still a part of the problem is 1 of the things you use this is what the you do might say and I would the anytime recommend that that that's the best to the general you will probably you know that that I can't really solve as a book design but that and I can't through this strictly to to the support department because they're going to get tons of e-mails every day saying hey I spent 30 dollars on this is the book and it looks like crap on my rear so I think the In the end the because you can find have it all yet but I this is done and the more energy the the that you get the few months that at the moment so that all of the religion that I'm not so what as you know the rest of it was what we do it you do that and what is this kind of you know that some the of the kind of the we have have no this so you know that used in all of the factories and that some of the use of some of of the the so this problem that we are going to you know the the the fact that that the use the In this shows that the problem of using this program because of you think it is on top of a question which is this this is not in this and you will be a fresh use of coming from the opportunities and that company will not hold a session and the of this the the and the the way that the right yes but the reason why as of right now we're still doing it this way is because the original Pragmatic Programmer and the original programming in Ruby rely heavily on S fixed for certain things and the i and every time I suggest that we get away from that the strong interest in it and then the very next book surmises 11 and you that and I really haven't had the time yes to reimplement all the the stuff that we're currently do using with the asterix into something that I can use the PDF but yes I would like to get away from In this work well and the set right yeah I agree on something the In the I've been yes we have some kind of yes the you say you have a set of solutions you know of you yesterday the state of course what about you and that to you the study about well there there's there's esthetic brief excess xsl and will produce is wonderful reflowable media it just doesn't look at the fact that I coming from all the world but the 2nd item is I can't I can I can tell you that as of 0 and produce and non refill the books similar but not quite as good as the tech out we use the same sort of thing and having people in the world from the mass of of the people you you you love there a so right of this tenant and part of it too is is pure laziness on my part in that you saw that the number of of XSLT file and have already and I would much rather be able to just maintained the BPD to lots of files and get everything in there and and actually unfortunate that's what I spend most of us do it over here know and in that now if I have to maintain and each you now because the the Kindle stuff comes off of HTML but he has anybody you scandal here this is utterly unusable for programming books kinda provided with 2 fast a sense happens there there's no fixed with fonts so you can't do code listings the and it converts everything into a black and white so any screenshot you show get pixelated beyond belief I can show you some horrible shots of we tried to produce 1 walk through this that is the way look like Canada I mean it practically turned my stomach all but 1 of our other non-technical members of the team said and you guys are too picky it looks fine to to me so that maybe the case that I'm I'm too too much of a nasty to to be able to do that there is if you look at Texas the the all sure I don't know how you do that you could do the and of the it was going to ask you was in I don't know I would have to try and see what was with the mouse yes yes doesn't have this was hidden that I was this to the German you the the the uh and the yes yes and I I In the last the reason why so that last year's tech conference was that I was in Moscow for several months and I brought a bunch of books with me on my computer to read so I spent a lot of time reading on my computer and I guess maybe I'm just too old but I agree with you I don't find it enjoyable experience I much prefer having you know what the this the yeah earlier you yeah why that with with my eyes I was happy haven't blown up extremely big yeah I could but I don't right that but the the young folks seem to enjoy doing that I don't like people red book your tons of books on the cellphone I I can't do it I mean I read when I had my my older what was it was a common against time but I read same rayon that's only thing I've ever been able to do is you something like like that I could handle anything more technical justice denied necessity that of Programming book or something like that in Photoshop what were you gonna have screenshots in I want you to these little streams and it's possible I am a folding aggressively yeah the the
Inklusion <Mathematik>
Autorisierung
Programmiergerät
Program Slicing
EDV-Beratung
Term
Subtraktion
Bit
Programmiergerät
Web Site
Wellenpaket
Punkt
Hochdruck
Formale Sprache
Versionsverwaltung
Gruppenkeim
DTD
Zellularer Automat
EDV-Beratung
Zahlenbereich
Unrundheit
Term
Abenteuerspiel
Eins
Informationsmodellierung
Variable
Prozess <Informatik>
Datentyp
Skript <Programm>
Optimierung
E-Mail
Programm
Autorisierung
Programmiersprache
Dichte <Stochastik>
Systemaufruf
Dichte <Stochastik>
Routing
Schlussregel
Quellcode
Kontextbezogenes System
Systemaufruf
Quick-Sort
Verkettung <Informatik>
Forcing
Rechter Winkel
Mereologie
Grundsätze ordnungsmäßiger Datenverarbeitung
Dateiformat
Information
Normalvektor
Computerunterstützte Übersetzung
Unternehmensarchitektur
Demo <Programm>
Elektronische Publikation
Winkel
Bildschirmsymbol
Elektronische Publikation
Rippen <Informatik>
Bitrate
Computeranimation
Demo <Programm>
Analysis
Physikalisches System
Unicode
Plot <Graphische Darstellung>
Elektronische Publikation
Visuelles System
Computeranimation
Autorisierung
Stellenring
Prozess <Physik>
Physikalisches System
Raum-Zeit
Quick-Sort
Computeranimation
Reynolds-Zahl
Bildschirmfenster
Datentyp
Skript <Programm>
Programmierumgebung
Data Mining
Schnittstelle
Tabusuche
Lokales Netz
Elektronische Publikation
Modul <Datentyp>
Verschlingung
Extrempunkt
Computeranimation
Gammafunktion
Tabusuche
Präprozessor
Prozess <Physik>
Datentyp
Zeiger <Informatik>
Code
Computeranimation
Spezialrechner
Verschlingung
Typentheorie
Code
Kantenfärbung
Polstelle
Rippen <Informatik>
Gammafunktion
Inklusion <Mathematik>
Dualitätstheorie
Prozess <Physik>
Versionsverwaltung
Indexberechnung
Winkel
Bildschirmtext
E-Mail
Extrempunkt
Information
Computeranimation
Betafunktion
Total <Mathematik>
Booten
Bildschirmsymbol
Rippen <Informatik>
Bildgebendes Verfahren
Gammafunktion
Touchscreen
Sinusfunktion
Stellenring
Momentenproblem
Hyperlink
Versionsverwaltung
Indexberechnung
Garbentheorie
Dichte <Stochastik>
Kantenfärbung
Computeranimation
Inklusion <Mathematik>
Metropolitan area network
Gruppenkeim
Code
Analogieschluss
Mereologie
Indexberechnung
Kantenfärbung
Term
Code
Computeranimation
Inklusion <Mathematik>
Autorisierung
Bit
Programmiergerät
Subtraktion
Umsetzung <Informatik>
Stab
Mathematisierung
Quellcode
Biprodukt
Elektronische Publikation
Ein-Ausgabe
Raum-Zeit
Computeranimation
Elektronisches Buch
Rechter Winkel
Code
Dateiformat
Booten
Bildschirmsymbol
Verzeichnisdienst
Gammafunktion
Ebene
Randverteilung
Subtraktion
Punkt
Quader
Datensichtgerät
Wort <Informatik>
Gruppenkeim
Service provider
Computeranimation
Open Source
Elektronisches Buch
Informationsmodellierung
Vier
URL
Demo <Programm>
Dichte <Stochastik>
sinc-Funktion
Güte der Anpassung
Indexberechnung
Dichte <Stochastik>
Ideal <Mathematik>
Schlussregel
Frequenz
Druckverlauf
Verkettung <Informatik>
Rechter Winkel
Gibbs-Verteilung
Mereologie
Dateiformat
Prozessautomation
Resultante
Programmiergerät
Extrempunkt
Zahlenbereich
Computer
Eins
Elektronisches Buch
Streaming <Kommunikationstechnik>
Knotenmenge
Font
Datentyp
Optimierung
E-Mail
Beobachtungsstudie
Ähnlichkeitsgeometrie
Mailing-Liste
Dichte <Stochastik>
Schlussregel
Elektronische Publikation
Ein-Ausgabe
Quick-Sort
Modallogik
Energiedichte
Menge
Rechter Winkel
Hypermedia
Mereologie
Ablöseblase
Dateiformat
Aggregatzustand

Metadaten

Formale Metadaten

Titel A pragmatic toolchain
Untertitel TeX and friends and friends of friends
Serientitel The annual conference of the TeX Users Group (TUG 2008)
Teil 02
Anzahl der Teile 33
Autor Peter, Steve
Lizenz CC-Namensnennung 3.0 Unported:
Sie dürfen das Werk bzw. den Inhalt zu jedem legalen Zweck nutzen, verändern und in unveränderter oder veränderter Form vervielfältigen, verbreiten und öffentlich zugänglich machen, sofern Sie den Namen des Autors/Rechteinhabers in der von ihm festgelegten Weise nennen.
DOI 10.5446/30775
Herausgeber River Valley TV
Erscheinungsjahr 2012
Sprache Englisch
Produktionsort Cork, Ireland

Inhaltliche Metadaten

Fachgebiet Informatik
Abstract In this talk, we present the toolchain used to produce the award-winning Pragmatic Bookshelf titles and examine some of the pleasures and pitfalls encountered using TeX, XML, XSLT, Ruby and other open technologies.

Ähnliche Filme

Loading...