As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
Does any body know what powers Google Charts? I have been using it for a while but not sure what Google used to build it.
They bought the Gapminder library for doing charts. It's a Java library as far as I know, but they don't seem very anxious to release the code as open-source.
Everything at google is done in C++, Java, or Python. I'm guessing the internals is probably done in one of the latter two.
Mathplotlib was my guess too - ( thanks "davidg" ).
SVG - got my own doubts because you don't have to go the length of server side SVG just to produce a static image. No panning or scaling required so not sure if they used SVG
I feel the touch of SVG there..
Maybe Internal engine to generate and work with SVG and export images as PNG images.
Any other thoughts?
Just guessing here: they must be using Python with some charting library and then returning the produced files. There are a few tools to do charts in Python. Matplotlib and ReportLab come to mind.
What is sure is that you can do it with a Java servlet.
Eastwood is an open source implementation of the Google Chart API.
(powered by JFreeChart)
Probably just libraries they have written themselves, it's pretty easy to throw together a chart drawing library, but hard to do it right. So someone hacked together a custom java/C++/python library using already available stuff to be able to update the graphics of his charts easily, and then it extended.
That's the great thing about it, that you can make your own version without much effort, just change the URL and design your own flash animation of the chart. And that the data available in the graphs is easily webscraped..
Just theory, but something like this is perfect small project to do in 20% of your time.
Related
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I installed django-imagekit, which works well for me, but would like to implement user custom image-cropping (https://github.com/jonasundderwolf/django-image-cropping) which has integration with easy_thumbnails.
Which one is better to use for Django project to show images in different sizes? What are benefits and disadvantages of each?
All of these apps serve (slightly) different purposes so you can't really compare them. And if one is better than the other depends on your use case and is quite subjective which is not a good fit for SO.
easy_thumbnails helps you to quickly generate thumbnails. And of course you can specify the dimensions, scale images and even use PIL to do all kinds of processing (via Processors). If you "only" need thumbnails i'd say this is the way to go.
django-image-cropping lets you select a part of your image (crop) in the admin and helps you to display the cropped selection (using an easy_thumbnail thumbnail processor) across your page.
I haven't use ImageKit but it is advertised as follows:
ImageKit is a Django app that helps you to add variations of uploaded
images to your models. These variations are called “specs” and can
include things like different sizes.
So it seems to be similiar to easy_thumbnails as it also comes with Processors and the ability for thumbnail generation.
To me ImageKit seems to be the more powerful option if you need lots of image processing in the backend while the focus of easy_thumbnails seems to be quick generation of thumbnails.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Is there some flowchart diagram tool that would (or could be made to) integrate with a self-hosted wiki?
Requirements:
basic functionality (e.g., drawing some boxes and some arrows)
would strongly prefer it to be visual (i.e., not written out in text that then gets converted)
allows for dynamic editing
it is important that the tool can be integrated into the wiki (e.g., as an extra panel somewhere)
can be run from a personal server
free
I've looked around at other threads here concerning a diagram tool, but they are either desktop applications, online ones which reside on third-party servers, or cost money.
[Edit] Thanks for the responses, but I would like them to be dynamically editable (I've added this to the requirements). What I mean is that I would like to integrate (or run it from a private server) some online collaborative diagramming tool. While I could create a JPG of something made in Graphviz and upload it, this is not easily editable. I would have to upload the source file somewhere, which someone would have to download and edit, then upload the new JPG.
Graphviz dot diagrams can be embedded in some wikis. Unfortunately for your requirements, it's text that gets converted. It's fairly simple to learn and use though.
http://www.graphviz.org/
EDIT: It's free / open source.
I've been looking for something similar - collaborative flowcharts in a wiki. The most interesting so far is this Mediawiki extension: http://www.flowchartwiki.org/wiki/index.php/Main_Page
Balsamiq Mockups for XWiki is the closest thing I've seen. It's more of a previsualization tool however for application mockups, though I'm not sure if this is the kind of tool you're looking for.
It is free if you qualify under their licensing.
Another option would be using Mediawiki with the Dia extension.
I like using the svgedit plugin in dokuwiki for quick diagramming on the run. It produces standard SVG text files and has an always up to the date javascript wysiwyg editor. And, I submitted a bug/feature request on github and the requested functionality was added post haste.
Edit: FOSS!
i understand this question is old enough. but you could try Origramy. it's a Flash-based visual tool. and XML as the result can be get from the component. alas integration to wiki must be made separately
Not sure of the technology you have on your server, but Open Diagram can create a jpg image file on the server which can then be referenced as a normal image in your wiki. Its open source.
I've enjoyed the simplicity of UMLet for a while as a desktop app. Don't let the name fool you! There is more than just UML - it has a lot of basic charting elements in it. It's not pretty, and it can be awkward sometimes, but it works. Has basic visual items in a template/toolbox that you double-click on to reproduce on your canvas. You can then move it about, resize it, or edit the item and modify it via text.
There isn't an existing online integration method (that I've seen), but being that it's good old fashioned java, you might be able to make it happen.
It's free and distributed under the GNU General Public Licence.
honestly i think you are going to have to use Java and code an applet. there are wondrous advancements in javascript libraries (AJAX, JQuery) that also might assist in this...
cheers my friend.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
What kind of software do you use to draw diagram for your presentation and report?
Suppose you want to draw a diagram to illustrate the TCP hand shake.
I use visio, but the outcome is too plain.
Is there any free software out there can draw diagrams better? Which can also have some 3D shapes or shadows?
Dia for Windows
gadwin
Gliffy
DiaCze
SmartDraw
All the best man.
Inkscape is a free vector drawing program that will make drawings as elaborate as you want them to be. And while it's probably not what you're looking for, I can't recommend TiKZ (www.texample.net) highly enough. It's what I use for everything nowadays.
If you want beautiful diagrams, be prepared to work for them. Recently, I've been using Illustrator, but that isn't exactly free. I have used Inkscape in the past and it can work very well.
I've filched the company tablet PC for this single reason - so that I can hand-draw diagrams directly in my (OneNote) documents. All the advantages of quick sketches which can be rapidly changed/printed and still have typed text (written text is not a legible option in my case)
A whiteboard and a digital camera (maybe in your phone) works really great!
It's PowerPoint 2007, but you have to using basic shapes (with 3D and shadow) to create diagrams. It's possible, but it's hard work, if you want nice looking.
And same nice background for slides. Different for section head and for other slides.
I think you should save yourself a lot of time and look for images on the web, rather than drawing them yourself. Try searching http://images.google.com for what you need (shapes or whatever) and piece them together with a simple paint program or The GIMP.
If you are not publishing the document, and only attempting to explain information to coworkers, you can find (steal) plenty of well-designed images intended to explain networking concepts.
Otherwise your presentation should probably be in PowerPoint or OpenOffice Impress, or some such presentation tool.
Good old Microsoft Paint. Or, Paintbrush on my Mac.
Keeping it simple works for me. As many colors and shapes as I want, with easy canvas features, and nothing over the top like shadows etc.
I've found the best of the "free" apps to be Paint.NET. Does everything I've ever need an image creation and editing app to do, well supported by the developers and the community and has a huge userbase that has created a bunch of plugins to expand it's features. As a Photoshop/Illustrator lite, it's as good as they come.
You can use Creatly. It's a web based tool simular to Visio. They have a free trial, so you can just check it out.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
Where can I find a Qt tutorial in PDF format. I have looked all over google but can't find one. I need to be able to read it offline as I can't always be on the internet. Thanks!
If you're looking for a tutorial or a book, rather than QT docs have a look at this free ebook :
C++ GUI Programming with Qt 4
The author has released the first edition with an open license. If you like it You can still buy the printed second edition in amazon.
There is no PDF directly from trolltech that I know of, but all of the docs are under
Qt\200x.xx\qt\doc\html
where 200x.xx represents the version of the Qt SDK. Mine is 2009.01 for example.
You could use one of many HTML to PDF converters to achieve what you're looking for.
You can actually use an html to pdf converter created with QT... http://code.google.com/p/wkhtmltopdf/
am i too late?
you can also use an html spider that downloads an entire website.
The second edition is also freely available (but only in HTML format):
C++ GUI Programming with Qt 4, second edition. Click the Sample Content tab to access them. The chapters are all there (but in the wrong order---however, the table of contents is listed at the bottom of the page so you can see the correct order). All the examples are available from the Downloads tab.
A more advanced book is also available (but it is not free): Advanced Qt Programming
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Does anyone know of any existing packages or libraries that can be used to build a calendar in a django app?
A quick google search reveals django-gencal, which looks like exactly what you need. It would also be worth looking at the snippets under the calendar tag on Django Snippets at http://www.djangosnippets.org/tags/calendar/.
It seems that django-calendar has become django-agenda: http://github.com/dokterbob/django-agenda
Great Tipps
django-swingtime lives on
http://github.com/dakrauth/django-swingtime
The django-schedule code originally from thauber (thauber/django-schedule) has been forked and worked into the glamkit/glamkit-eventtools code for Galleries, Libraries, Museums and Archives. It has also been forked and updated by a variety of other folks, e.g. boskee/django-schedule, and my guess is that that might have fewer dependencies and be easier to integrate into another project. It says:
Django-schedule: A calendaring/scheduling application, featuring:
one-time and recurring events
calendar exceptions (occurrences changed or cancelled)
occurrences accessible through Event API and Period API
relations of events to generic objects
ready to use, nice user interface
view day, week, month, three months and year
project sample which can be launched immediately and reused in your project
See the github "network" tab for a graphical navigation from the point of view of a given branch to see how other branches relate to it (i.e. what is available for merging).
svn checkout http://django-calendar.googlecode.com/svn/trunk/ django-calendar-read-only
svn: URL 'http://django-calendar.googlecode.com/svn/trunk' doesn't exist
so google search may reveal, but it's no longer exists.
There is another calendar alternative here, Django Event Calendar from 3captus, that offers something a bit simpler. I'm trying it out now, but it looks like a better fit for me.
From the features list:
Full feature calendar display using python calendar class
Support month scrolling (forward or backward)
AJAX add, modify, delete GUI
Require mimimum knowledge of Django, should be a good compliment after you are done with django tutorial
(http://www.djangoproject.com/documentation/tutorial01/)
Calendar and Event class can be used in any python project
Full unit test included
There are also some calendar functions built into Python itself, you can see a simple implementation here.
Today I ran into django-swingtime. Worth checking out.