Graphviz and Dot
Hi folks I have a Sinatra application that uses Graphviz and Dot. I'm guessing that it won't be possible to host this on Heroku? If not, does anyone know of a good home where I could host it? I'd like something with the simlicity and scalability and general awesomeness that Heroku gives us. T --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to heroku@googlegroups.com To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/heroku?hl=en -~--~~~~--~~--~--~---
Re: Graphviz and Dot
Hi, Can you provide some links to the libraries you're seeking to use, and perhaps some info on binary dependencies? It's possible we can add support for these to our Dyno environment, but I'd have to know a bit more first. Thanks, Morten On Apr 17, 2009, at 10:10 AM, Tobes wrote: Hi folks I have a Sinatra application that uses Graphviz and Dot. I'm guessing that it won't be possible to host this on Heroku? If not, does anyone know of a good home where I could host it? I'd like something with the simlicity and scalability and general awesomeness that Heroku gives us. T --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to heroku@googlegroups.com To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/heroku?hl=en -~--~~~~--~~--~--~---
Re: Graphviz and Dot
dot (and nice)is a command line app. Graphviz is the package/library name. It is in macports and basically all distributions. Most (all) ruby libraries are wrappers for the command line. The downside is it produces graphics. So it needs all the libraries to produce text in png, jpg, svg, pdf, bmp, ps, ... Think it requires X, truetype, and *lots* of others. May be possible to reduce the number of outputs by only supporting jpg, png, and svg. Do all browsers (iPhone, phones) support svg? Never really used it but looks cool. Seems to have the least number of dependencies. And with css would be easy to make output good looking. Windows outlook on coworkers computers don't do well with png so I used jpg for them. Thoughts about format support Tobes? What formats do you use? --Keenan On Apr 17, 2009, at 1:40 PM, Morten Bagai mor...@heroku.com wrote: Hi, Can you provide some links to the libraries you're seeking to use, and perhaps some info on binary dependencies? It's possible we can add support for these to our Dyno environment, but I'd have to know a bit more first. Thanks, Morten On Apr 17, 2009, at 10:10 AM, Tobes wrote: Hi folks I have a Sinatra application that uses Graphviz and Dot. I'm guessing that it won't be possible to host this on Heroku? If not, does anyone know of a good home where I could host it? I'd like something with the simlicity and scalability and general awesomeness that Heroku gives us. T --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to heroku@googlegroups.com To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/heroku?hl=en -~--~~~~--~~--~--~---
Re: Graphviz and Dot
Well, the whole thing already sounds like a no-go because heroku doesn't allow writing to the fs On Apr 17, 2009 2:27 PM, Keenan Brock kee...@thebrocks.net wrote: dot (and nice)is a command line app. Graphviz is the package/library name. It is in macports and basically all distributions. Most (all) ruby libraries are wrappers for the command line. The downside is it produces graphics. So it needs all the libraries to produce text in png, jpg, svg, pdf, bmp, ps, ... Think it requires X, truetype, and *lots* of others. May be possible to reduce the number of outputs by only supporting jpg, png, and svg. Do all browsers (iPhone, phones) support svg? Never really used it but looks cool. Seems to have the least number of dependencies. And with css would be easy to make output good looking. Windows outlook on coworkers computers don't do well with png so I used jpg for them. Thoughts about format support Tobes? What formats do you use? --Keenan On Apr 17, 2009, at 1:40 PM, Morten Bagai mor...@heroku.com wrote: Hi, Can you provide ... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to heroku@googlegroups.com To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/heroku?hl=en -~--~~~~--~~--~--~---
Re: Graphviz and Dot
Hi Morten Thanks for the fast reply :) I'm no linux build-master, so not sure about determining the dependencies. Installing Graphviz on a linux server of mine (using apt- get install graphviz) yeilded quite a large result (see end of this message). I fear it's a chunky beast :-( But maybe I've misread the facts. I only use a part of GraphViz (http://www.graphviz.org) called dot -- an single binary. This page suggests that this comes with the minimal core: http://www.graphviz.org/Download_linux_rhel.php Thanks again Tobin - INSTALL OUTPUT (edited) Preconfiguring packages ... Selecting previously deselected package x11-common. Selecting previously deselected package libxau6. Selecting previously deselected package libxdmcp6. Setting up x11-common (7.1.0-19) ... Selecting previously deselected package libx11-6. Selecting previously deselected package libice6. Selecting previously deselected package libsm6. Selecting previously deselected package libxt6. Selecting previously deselected package defoma. Selecting previously deselected package ucf. Selecting previously deselected package ttf-dejavu. Selecting previously deselected package fontconfig-config. Selecting previously deselected package libfontconfig1. Selecting previously deselected package libxext6. Selecting previously deselected package libxmu6. Selecting previously deselected package libxpm4. Selecting previously deselected package libxaw7. Selecting previously deselected package tcl8.4. Selecting previously deselected package tk8.4. Selecting previously deselected package graphviz. Setting up libxau6 (1.0.1-2) ... Setting up libxdmcp6 (1.0.1-2) ... Setting up libx11-data (1.0.3-7) ... Setting up libx11-6 (1.0.3-7) ... Setting up libice6 (1.0.1-2) ... Setting up libsm6 (1.0.1-3) ... Setting up libxt6 (1.0.2-2) ... Setting up defoma (0.11.10-0.1) ... Setting up ucf (2.0020) ... Setting up ttf-dejavu (2.15-1) ... Setting up fontconfig-config (2.4.2-1.2) ... Setting up libfontconfig1 (2.4.2-1.2) ... Setting up libxext6 (1.0.1-2) ... Setting up libxmu6 (1.0.2-2) ... Setting up libxpm4 (3.5.5-2) ... Setting up libxaw7 (1.0.2-4) ... Setting up tcl8.4 (8.4.12-1.1) ... Setting up tk8.4 (8.4.12-1etch2) ... Setting up graphviz (2.8-3+etch1) ... On Apr 17, 6:40 pm, Morten Bagai mor...@heroku.com wrote: Hi, Can you provide some links to the libraries you're seeking to use, and perhaps some info on binary dependencies? It's possible we can add support for these to our Dyno environment, but I'd have to know a bit more first. Thanks, Morten On Apr 17, 2009, at 10:10 AM, Tobes wrote: Hi folks I have a Sinatra application that uses Graphviz and Dot. I'm guessing that it won't be possible to host this on Heroku? If not, does anyone know of a good home where I could host it? I'd like something with the simlicity and scalability and general awesomeness that Heroku gives us. T --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to heroku@googlegroups.com To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/heroku?hl=en -~--~~~~--~~--~--~---
Re: Graphviz and Dot
Tobes. I too would love to see graphviz on heroku. Basically it is a program that writes text and lines to a png. So it needs to have good text support. I think this is the part that has so many libraries. It also supports so many formats that it needs libraries for all of them. These are icing on the cake. Sure seems there are 2 parts to the library. 1. Determine what the thing looks like 2. create the graphics. Funny thing, most people want #1 The part that is such a bear is #2. (Wonder if you could extract #1 and just use imagemagic to do #2 or something) --K On Apr 17, 2009, at 3:05 PM, Tobes wrote: Keenan, thanks for the heads up. I also noticed that all Ruby libs I've found (Railroad, rDoc etc) delegate to the command line. B :( I'd live with JPG or PNG (Windows problem noted). SVG is desirable too as it's open to transformations, but not mandatory. SVG will be the way to go once the world puts IE6 and IE7 in the trashcan! Thanks again Tobes On Apr 17, 7:27 pm, Keenan Brock kee...@thebrocks.net wrote: dot (and nice)is a command line app. Graphviz is the package/library name. It is in macports and basically all distributions. Most (all) ruby libraries are wrappers for the command line. The downside is it produces graphics. So it needs all the libraries to produce text in png, jpg, svg, pdf, bmp, ps, ... Think it requires X, truetype, and *lots* of others. May be possible to reduce the number of outputs by only supporting jpg, png, and svg. Do all browsers (iPhone, phones) support svg? Never really used it but looks cool. Seems to have the least number of dependencies. And with css would be easy to make output good looking. Windows outlook on coworkers computers don't do well with png so I used jpg for them. Thoughts about format support Tobes? What formats do you use? --Keenan On Apr 17, 2009, at 1:40 PM, Morten Bagai mor...@heroku.com wrote: Hi, Can you provide some links to the libraries you're seeking to use, and perhaps some info on binary dependencies? It's possible we can add support for these to our Dyno environment, but I'd have to know a bit more first. Thanks, Morten On Apr 17, 2009, at 10:10 AM, Tobes wrote: Hi folks I have a Sinatra application that uses Graphviz and Dot. I'm guessing that it won't be possible to host this on Heroku? If not, does anyone know of a good home where I could host it? I'd like something with the simlicity and scalability and general awesomeness that Heroku gives us. T --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to heroku@googlegroups.com To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/heroku?hl=en -~--~~~~--~~--~--~---
Re: Graphviz and Dot
Again, thanks for considering all this. Keenan, I'll keep searching, and if I can delegate #2 (create graphics) to something like imagemagic then that would be awesome. I actually started out playing with ImageMagick, knowing you guys supported it, but couldn't find a way of handling the layout (#1) neatly. Another scenario that I could run with would be: putting the Graphviz services on another cluster/machine, and then having a queue or bus to distribute that work out from Heroku. Cheers again folks, Tobin On Apr 17, 8:30 pm, Keenan Brock kee...@thebrocks.net wrote: Tobes. I too would love to see graphviz on heroku. Basically it is a program that writes text and lines to a png. So it needs to have good text support. I think this is the part that has so many libraries. It also supports so many formats that it needs libraries for all of them. These are icing on the cake. Sure seems there are 2 parts to the library. 1. Determine what the thing looks like 2. create the graphics. Funny thing, most people want #1 The part that is such a bear is #2. (Wonder if you could extract #1 and just use imagemagic to do #2 or something) --K On Apr 17, 2009, at 3:05 PM, Tobes wrote: Keenan, thanks for the heads up. I also noticed that all Ruby libs I've found (Railroad, rDoc etc) delegate to the command line. B :( I'd live with JPG or PNG (Windows problem noted). SVG is desirable too as it's open to transformations, but not mandatory. SVG will be the way to go once the world puts IE6 and IE7 in the trashcan! Thanks again Tobes On Apr 17, 7:27 pm, Keenan Brock kee...@thebrocks.net wrote: dot (and nice)is a command line app. Graphviz is the package/library name. It is in macports and basically all distributions. Most (all) ruby libraries are wrappers for the command line. The downside is it produces graphics. So it needs all the libraries to produce text in png, jpg, svg, pdf, bmp, ps, ... Think it requires X, truetype, and *lots* of others. May be possible to reduce the number of outputs by only supporting jpg, png, and svg. Do all browsers (iPhone, phones) support svg? Never really used it but looks cool. Seems to have the least number of dependencies. And with css would be easy to make output good looking. Windows outlook on coworkers computers don't do well with png so I used jpg for them. Thoughts about format support Tobes? What formats do you use? --Keenan On Apr 17, 2009, at 1:40 PM, Morten Bagai mor...@heroku.com wrote: Hi, Can you provide some links to the libraries you're seeking to use, and perhaps some info on binary dependencies? It's possible we can add support for these to our Dyno environment, but I'd have to know a bit more first. Thanks, Morten On Apr 17, 2009, at 10:10 AM, Tobes wrote: Hi folks I have a Sinatra application that uses Graphviz and Dot. I'm guessing that it won't be possible to host this on Heroku? If not, does anyone know of a good home where I could host it? I'd like something with the simlicity and scalability and general awesomeness that Heroku gives us. T --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to heroku@googlegroups.com To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/heroku?hl=en -~--~~~~--~~--~--~---
Re: GIT push trouble
Heroku or herokugarden? You should post the transcript of your git push command. On Apr 18, 7:41 am, Heroku SA babychee...@lolcatbible.com wrote: Hi everyone I might be understanding this wrong. After quite a bit of local editing I push my code to the server with git. However - it doesn't seem to update the controllers on the server. I've also tried restarting the server. Any help here would be much appreciated. It might be that I'm missing something in the git process that I need to add. Bay --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to heroku@googlegroups.com To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/heroku?hl=en -~--~~~~--~~--~--~---
Re: File uploads timeout?
I've learned that there is definitely a 10MB upload limit through heroku, and the expectation is that if you're uploading big files to S3 you use a direct upload method. If anyone has had success with easy clean integration of a direct upload method please do share! Thanks, Martin. On Apr 15, 8:51 am, GreenAsJade martin.jg.greg...@gmail.com wrote: 413 Entity too large ... that's a response from Heroku, right? So we have to conclude heroku is imposing this limit? On Apr 14, 4:53 pm, Robert Sköld slas...@gmail.com wrote: I got it while trying to do an upload of a 20M file using WebKit (the 413 Request Entity Too Large error that is) and the Connection Interrupted error i got while using firefox. On Apr 14, 5:17 am, GreenAsJade martin.jg.greg...@gmail.com wrote: Dang, I've got this sort of problem now too. Users reporting timeouts on uploads to S3 via heroku of files larger than 10M 9M : OK 10M: not OK. Where did you get the error message: I haven't even got as far as finding anything telling me what's behind this. Martin --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to heroku@googlegroups.com To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/heroku?hl=en -~--~~~~--~~--~--~---
Re: Database layer autoscaling?
Hi Marc, Unlike the web tier, we don't believe it's possibly to do horizontal +infinite auto-scaling of SQL databases. That is reserved for distributable document databases like CouchDb, MongoDb etc that will undoubtedly become an important part of the web application space in the near future. For now, Heroku provides seamless vertical scaling of our SQL database layer. It'll go from a shared db environment - like you see in our free beta - up to a dedicated server based on the largest high-cpu instance EC2 has to offer. Throughout all our tiers redundancy and failover is fully managed by our infrastructure, and you don't have to worry about it. Upgrading between the tiers is seamless and invisible as well. Hope this answers your question. We should be releasing more public info on this within a week or two. Best, Morten On Apr 13, 2009, at 3:36 PM, marcdmarc wrote: Hello, I am intrigued by the heroku value proposition. From the online information regarding heroku and it's capabilities, it is a little unclear if heroku solves the problem of auto scaling the database layer. I notice there is an option for providing database replication. I assume this would be in a master slave type setup? What is to be done if there needs to be more than one slave? Or is this totally handled by heroku's infrastructure wherein heroku can scale the database layer infinitely without the developer ever having to worry about setup and optimizing the databases themselves. If there is anyone who can shed light into the topic about how heroku handles db scaling and if this is left to the developer to handle or if heroku is capable of handling 100% of this process, I would really appreciate it. Best, Marc --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to heroku@googlegroups.com To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/heroku?hl=en -~--~~~~--~~--~--~---
Warning while installing 0.7.1 heroku gem
No definition for cState_configure is this bad? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to heroku@googlegroups.com To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/heroku?hl=en -~--~~~~--~~--~--~---
Re: Graphviz and Dot
Hi Tobin, Just a fellow heroku user like you. GraphViz does such great stuff. The layout is just great. Display is not as nice as something like OmniGraffle, but the layout is superior. (I think OmniGraffle hired the guy from ATT, and is doing great stuff merging the concepts between the two products. But it still has a little way to go. e.g.: it doesn't support different layouts for different subgraphs which is something that GraphViz does wonderfully) But I do wonder what it would be like to separate the layout from the generation. Of course if that layout would be best done in ruby. :) Looking at the dependencies, wonder if they use TCL to do that work. --Keenan On Apr 17, 2009, at 6:31 PM, Tobes wrote: Again, thanks for considering all this. Keenan, I'll keep searching, and if I can delegate #2 (create graphics) to something like imagemagic then that would be awesome. I actually started out playing with ImageMagick, knowing you guys supported it, but couldn't find a way of handling the layout (#1) neatly. Another scenario that I could run with would be: putting the Graphviz services on another cluster/machine, and then having a queue or bus to distribute that work out from Heroku. Cheers again folks, Tobin On Apr 17, 8:30 pm, Keenan Brock kee...@thebrocks.net wrote: Tobes. I too would love to see graphviz on heroku. Basically it is a program that writes text and lines to a png. So it needs to have good text support. I think this is the part that has so many libraries. It also supports so many formats that it needs libraries for all of them. These are icing on the cake. Sure seems there are 2 parts to the library. 1. Determine what the thing looks like 2. create the graphics. Funny thing, most people want #1 The part that is such a bear is #2. (Wonder if you could extract #1 and just use imagemagic to do #2 or something) --K On Apr 17, 2009, at 3:05 PM, Tobes wrote: Keenan, thanks for the heads up. I also noticed that all Ruby libs I've found (Railroad, rDoc etc) delegate to the command line. B :( I'd live with JPG or PNG (Windows problem noted). SVG is desirable too as it's open to transformations, but not mandatory. SVG will be the way to go once the world puts IE6 and IE7 in the trashcan! Thanks again Tobes On Apr 17, 7:27 pm, Keenan Brock kee...@thebrocks.net wrote: dot (and nice)is a command line app. Graphviz is the package/library name. It is in macports and basically all distributions. Most (all) ruby libraries are wrappers for the command line. The downside is it produces graphics. So it needs all the libraries to produce text in png, jpg, svg, pdf, bmp, ps, ... Think it requires X, truetype, and *lots* of others. May be possible to reduce the number of outputs by only supporting jpg, png, and svg. Do all browsers (iPhone, phones) support svg? Never really used it but looks cool. Seems to have the least number of dependencies. And with css would be easy to make output good looking. Windows outlook on coworkers computers don't do well with png so I used jpg for them. Thoughts about format support Tobes? What formats do you use? --Keenan On Apr 17, 2009, at 1:40 PM, Morten Bagai mor...@heroku.com wrote: Hi, Can you provide some links to the libraries you're seeking to use, and perhaps some info on binary dependencies? It's possible we can add support for these to our Dyno environment, but I'd have to know a bit more first. Thanks, Morten On Apr 17, 2009, at 10:10 AM, Tobes wrote: Hi folks I have a Sinatra application that uses Graphviz and Dot. I'm guessing that it won't be possible to host this on Heroku? If not, does anyone know of a good home where I could host it? I'd like something with the simlicity and scalability and general awesomeness that Heroku gives us. T --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to heroku@googlegroups.com To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/heroku?hl=en -~--~~~~--~~--~--~---
Re: Graphviz and Dot
Good call Ryan, Never thought imagemagick. That probably includes most of the dependencies that GraphViz would need. Also pruning down the supported formats to those 3 would probably prune down the additional libraries needed much further. Also, thanks Tobes for asking the question. I had wondered a few times but never came out and asked. Even if this ends up with a no, it is better for us to ask than wonder. --K On Apr 17, 2009, at 7:17 PM, Ryan Tomayko wrote: On Fri, Apr 17, 2009 at 11:33 AM, Yuri Niyazov yuri.niya...@gmail.com wrote: Well, the whole thing already sounds like a no-go because heroku doesn't allow writing to the fs Yeah, but I believe you can pipe in and out of graphviz. That combined with the Varnish HTTP cache could make for a workable solution. We'll see what we can do here. Graphviz would be really cool. The X dependencies would probably be the biggest barrier, although I believe most are already installed in support of other graphics related packages. Thanks, Ryan On Apr 17, 2009 2:27 PM, Keenan Brock kee...@thebrocks.net wrote: dot (and nice)is a command line app. Graphviz is the package/library name. It is in macports and basically all distributions. Most (all) ruby libraries are wrappers for the command line. The downside is it produces graphics. So it needs all the libraries to produce text in png, jpg, svg, pdf, bmp, ps, ... Think it requires X, truetype, and *lots* of others. May be possible to reduce the number of outputs by only supporting jpg, png, and svg. Do all browsers (iPhone, phones) support svg? Never really used it but looks cool. Seems to have the least number of dependencies. And with css would be easy to make output good looking. Windows outlook on coworkers computers don't do well with png so I used jpg for them. Thoughts about format support Tobes? What formats do you use? --Keenan On Apr 17, 2009, at 1:40 PM, Morten Bagai mor...@heroku.com wrote: Hi, Can you provide ... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to heroku@googlegroups.com To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/heroku?hl=en -~--~~~~--~~--~--~---