Re: How to use Django forms for surveys

2016-10-19 Thread Petite Abeille

> On Oct 17, 2016, at 4:37 AM, Diego De La Vega  wrote:
> 
> The main problem is how to do for showing the relevant fields and not the 
> unwanted.

Use TypeForm and call it a day :D

https://www.typeform.com/help/what-is-logic-jump/



-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CDC696B2-7560-4EE3-8A73-C4E639BCFE79%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Analysis of csv data

2014-04-10 Thread Petite Abeille

On Apr 10, 2014, at 8:20 PM, Saransh Mehta  wrote:

> What should i use to interpret the data from the csv and do the best analysis 
> possible from such a data(marks of the students in this example).

Sometime/most of the time/all the time... what's most important is the data 
itself.

Try naked data, it's simple and healthy:

http://darkhorseanalytics.com/blog/data-looks-better-naked/
http://darkhorseanalytics.com/blog/clear-off-the-table/

If you would like something more, hmmm, interactive, leading to exploration and 
discovery, nothing quite beat a well constructed PivotTable:

http://en.wikipedia.org/wiki/Pivot_table

Quite a few very popular off-the-shelf softwares handle all of the above rather 
seamlessly.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/3C6ACCCB-9116-4B01-A14F-E4314EA1A6FA%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Analysis of csv data

2014-04-10 Thread Petite Abeille

On Apr 10, 2014, at 12:54 PM, Jay Parikh  wrote:

> you could use d3.js for drawing data driven graphs

Totally. 

JSON'ize your CSV appropriately and create, say, a cool Radial Reingold-Tilford 
Tree:

http://bl.ocks.org/mbostock/4063550

Don't forget to add some uber-cool animations:

http://mbostock.github.io/d3/talk/2016/force-collapsible.html

Everybody likes animated Radial Reingold-Tilford Tree. Everybody.

And presto, you got yourself a winner.


-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/B8DF3B8B-1272-4075-BFD6-D406E820949C%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: django/Data Base Advice

2012-01-05 Thread Petite Abeille

On Jan 6, 2012, at 12:13 AM, Chris Kavanagh wrote:

> I believe, thanks to your (previous) post, I was confused as to the
> difference between SQL and Database in general. I had thought learning
> SQL was learning database design. When in actuality, it's just the
> language used to access databases. I need to study database concepts
> and design.

There are two main aspects to SQL:  Data Definition Language (DDL [1]) and Data 
Manipulation Language (DML [2]).

DDL is was you design database with (create table, etc). DML is what you 
interact database with (select, update, etc).

In the same way as it's rather helpful to understand HTTP itself to build a web 
application, it's rather essential to understand database design if you build a 
database, irrespectively of sugar coating (ORM [3], MVC, and other TLA).

Learn about normalization [3].

Take a look at SQLite to get started [4][5].

In the meantime:

Double-thinking in SQL
http://explainextended.com/2009/07/12/double-thinking-in-sql/

Also:
http://browsertoolkit.com/fault-tolerance.png

[1] http://en.wikipedia.org/wiki/Data_Definition_Language
[2] http://en.wikipedia.org/wiki/Data_Manipulation_Language
[3] http://en.wikipedia.org/wiki/Database_normalization
[4] http://www.sqlite.org/
[5] http://www.sqlite.org/lang.html

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Second coming of Java?

2011-10-13 Thread Petite Abeille

On Oct 13, 2011, at 5:06 PM, Maksymus007 wrote:

> ... do not like SOAP, and it's DJango problem, not SOAP,

The S stands for Simple
http://wanderingbarque.com/nonintersecting/2006/11/15/the-s-stands-for-simple/

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Second coming of Java?

2011-10-13 Thread Petite Abeille

On Oct 13, 2011, at 7:12 PM, Marc Aymerich wrote:

> I'm not sure if SSDs can speed up a DB server so much.

It does. .

http://www.fusionio.com/

> Now a days the
> 'normal' enterprise server has 24GB of memory, so at least that your
> database is a huge one, you don't need to constantly query your disks
> anymore.

Just in case 24GB is not good enough:

http://www.ramsan.com/

And, lets face it, 24GB is, like, nothing these days.

Plus, one cannot keep everything in volatile memory all the time.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Second coming of Java?

2011-10-13 Thread Petite Abeille

On Oct 13, 2011, at 11:11 AM, Bastian Ballmann wrote:

> Why should I code the same functionality in 2 years if I can have it in
> 2 months in a simpler and more readable code?

Job security?

How To Write Unmaintainable Code. 
http://thc.org/root/phun/unmaintain.html

Tangentially related:

Big Ball of Mud
http://www.laputan.org/mud/

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: How to use the django-users mailing list properly and doing your homework..

2011-07-06 Thread Petite Abeille

On Jul 7, 2011, at 1:10 AM, Cal Leeming [Simplicity Media Ltd] wrote:

> I'm going to ask a really stupid question...
> 
> What's "SO"?

WIld guess... stack overflow?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Questions on markdown

2011-07-04 Thread Petite Abeille

On Jul 4, 2011, at 8:08 PM, leo wrote:

> what i want is

To quote the friendly manual:

"When you do want to insert a  break tag using Markdown, you end a line 
with two or more spaces, then type return."

http://daringfireball.net/projects/markdown/syntax#p

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: OT: Django broke my Dropbox

2011-03-28 Thread Petite Abeille

On Mar 28, 2011, at 11:33 PM, Xavier Ordoquy wrote:

> I'm just tired of grepping code when subversion is the VC used ;)

ack!

http://betterthangrep.com/

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: UnicodeEncodeError

2010-09-29 Thread Petite Abeille

On Sep 29, 2010, at 8:01 PM, jean polo wrote:

> I have a basic 'Bien' class and a *very basic* 'Image' class (with a
> ForeignKey to Bien).
> BienAdmin has a ImageInline and that's all.

Not even tangentially related, but...

"Do people in non-English-speaking countries code in English?"
http://programmers.stackexchange.com/questions/1483/do-people-in-non-english-speaking-countries-code-in-english
http://www.reddit.com/r/programming/comments/dg5jo/do_people_in_nonenglishspeaking_countries_code_in/

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Please criticise this storage architecture...

2010-03-04 Thread Petite Abeille

On Mar 4, 2010, at 12:12 AM, Andy Robinson wrote:

> So, why don't I hear about architectures like this?

Perhaps because it just work.

>  Why would I want to use more complex things (CouchDB, ZODB, 
> blobs-in-RDBMS-tables)?

Perhaps you would not want to.

> Has anyone built a nontrivial system this way, and what happened?

Nothing happened. It just worked.

Tangentially related:

The Spirit of the Tool
http://www.pragprog.com/articles/the-spirit-of-the-tool

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: oracle with us7ascii encode character lost

2009-05-25 Thread Petite Abeille


On May 25, 2009, at 9:07 PM, Andrási László (g) wrote:

> US7ASCII
> How could we convert the data without loosing letters?

Hmmm... you can't. Your database is set to store US-ASCII characters  
only.

Read on about Oracle "globalization":

http://www.oracle.com/technology/pub/columns/trute_unicode.html
http://www.oracle.com/technology/tech/globalization/index.html
http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14225/toc.htm

--
PA.
http://alt.textdrive.com/nanoki/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Fulltext searching

2009-03-28 Thread Petite Abeille


On Mar 26, 2009, at 10:37 PM, TheIvIaxx wrote:

> Is there a major benefit to go with one of these other
> packages or write something else beyond mysql-fulltext?

As always, it all depends on your requirements. For basic full text  
search, what comes bundled with most databases is Good Enough (SM).

Even SQLite comes packaged with a very handy full text search module:

http://www.sqlite.org/cvstrac/wiki?p=FtsTwo

You can see it in action bellow:

http://svr225.stepx.com:3388/search?q=django

HTH.

Cheers,

--
PA.
http://alt.textdrive.com/nanoki/


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Postgresql v MySQL

2009-02-08 Thread Petite Abeille


On Feb 8, 2009, at 5:17 PM, Peter2108 wrote:

> Thanks. Between posting and your response I found out that MySQL
> has built in support for full-text searchs but PostgreSQL does not.

Hmmm...

http://www.postgresql.org/docs/8.3/static/textsearch.html

--
PA.
http://alt.textdrive.com/nanoki/


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: [slightly offtopic] Which Python are people using on OSX?

2009-02-05 Thread Petite Abeille


On Feb 5, 2009, at 10:07 PM, cjl wrote:

> 2. Compile Python myself from source.

Easy peasy :)

Cheers,

--
PA.
http://alt.textdrive.com/nanoki/


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Blueprint css versus YUI grids versus ?

2009-01-17 Thread Petite Abeille


On Jan 17, 2009, at 10:03 PM, ydjango wrote:

> has anyone used Blue Print css?

Yes, Blueprint is a breeze to use as long as one enjoy grid based  
layouts.

For example, Nanoki, a wiki engine implemented in Lua, uses Blueprint  
for its minimalist layout design.

Online demo:

http://svr225.stepx.com:3388/search?q=django

Cheers,

--
PA.
http://alt.textdrive.com/nanoki/


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Definitive Captcha?

2009-01-17 Thread Petite Abeille


On Jan 17, 2009, at 5:47 PM, Tim wrote:

> Captcha

Alternatively...

"Stopping spambots with hashes and honeypots"
-- Ned Batchelder, 2007
http://nedbatchelder.com/text/stopbots.html

Cheers,

--
PA.
http://alt.textdrive.com/nanoki/



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Django vs. WObject...

2009-01-06 Thread Petite Abeille


On Jan 6, 2009, at 8:55 PM, MA wrote:

> Django vs. WObject(s).

WObject? Do you mean NeXT/Apple's WebObjects?

http://en.wikipedia.org/wiki/WebObjects

Cheers,

--
PA.
http://alt.textdrive.com/nanoki/

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Ten reasons why couchdb is better than (off topic)

2009-01-03 Thread Petite Abeille


On Jan 3, 2009, at 11:47 PM, Masklinn wrote:

> It's worse than comparing apples and oranges, it's comparing apples  
> and potatoes.

Except if you are French... as potatoes are named "pomme de terre"...  
literally "ground apple"... :P

http://en.wikipedia.org/wiki/Potato#Etymology

Cheers,

--
PA.
http://alt.textdrive.com/nanoki/

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



[OT][ANN] Nanoki

2008-02-13 Thread Petite Abeille

[Not even remotely related to Django, Python or anything]

Nanoki, a sweet little wiki engine implemented in Lua [1].

http://alt.textdrive.com/nanoki/

Online demo:

http://svr225.stepx.com:3388/nanoki

Kind regards,

PA.

[1] http://www.lua.org/about.html

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Which markup language to choose?

2008-02-06 Thread Petite Abeille


On Feb 6, 2008, at 10:55 PM, Florian Lindner wrote:

> I'm writing my own blogging application for Django (yes, I want to
> reinvent the wheel, for learning and fun) ;-)

More power to you! :P

> According to documentation django.contrib.markup provides an interface
> to markdown, textile and restructered text. Now I wonder which one to
> choose for a) blog entries b) comments
>
> For a) it's important for me to have the possibility to embed raw
> HTML. AFAIK markdown provides hat possiblity, is it also possible with
> textile and reST?
>
> For b) it's important the output is more or less pretty also if the
> writer is not aware of using a markup language. Or should I just stick
> with {{ comment.content | escape | urlizetrunc:40 | linebreaks }}?
>
> What are your experiences?

Personally, I would favor Markdown as it would address (a) and (b) out  
of the box, i.e. you can get fancy stuff in raw HTML if needed and  
people not aware of the syntax will get decent result out-of-the-box...

As an example, here is a, hmm, homemade wiki engine which uses Markdown:

http://svr225.stepx.com:3388/main
http://svr225.stepx.com:3388/main.txt
http://svr225.stepx.com:3388/main/editor

Tangentially related... Once you have your blogging app up and  
running... read a bit about spambots :))

http://nedbatchelder.com/text/stopbots.html

Cheers,

PA.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---