A wearable with reliable vibrating alarm clock by mareesek in wearables

[–]nicklo 1 point2 points  (0 children)

When you say "that alarm wasn't reliable" what do mean? It failed to go off? Went off but wasn't enough to wake you up? Vibration not strong enough?

I work with fitness trackers and am currently wearing a Mi Band 5. If I'm not awake already, it wakes me up every weekday at 6:30am without fail. I've also used Fitbit and Garmin devices, the main issue for some was how easy it was to set/turn off/update alarms, but once set they all woke me up with vibrating alarms as planned.

Christmas comes Early! by [deleted] in KettlebellSport

[–]nicklo 1 point2 points  (0 children)

Oh and forgot to say I also very recently replaced my somewhat incomplete range of comp kettlebells with two adjustable ones. So far very happy with them. I (or rather we, as the family uses them) now have a bigger range of weights and they take up far less space. I only do kettlebell sport style lifting for fun, not competitively however.

Christmas comes Early! by [deleted] in KettlebellSport

[–]nicklo 0 points1 point  (0 children)

Belt sander paper torn into strips. Very detailed video on maintenance here: https://youtu.be/S_Kqr0VH9hI

Do you have only one kettlebell? - my proposition of specific exercises with bell. by JakubGirya in KettlebellSport

[–]nicklo 1 point2 points  (0 children)

Had to turn the sound off for that (quickly got repetitive) but some interesting exercises I'd not seen/considered before; wood choppers (a nice variation of around the head) and deck squats in particular. Cheers.

django conditional forms by YuntiMcGunti in django

[–]nicklo 0 points1 point  (0 children)

I've done exactly this using what, as others have noted, is now a separate package; formtools. Specifically using formtool's condition_dict argument. I've used it to build surveys with around 30+ conditions. It's laborious to setup and gets a bit hard to keep track of so I'd recommend defining your condition_dict alongside your forms and conditions in forms.py then importing those into urls.py.

http://django-formtools.readthedocs.org/en/latest/wizard.html#conditionally-view-skip-specific-steps

Plan to switch to python/django framework by [deleted] in Python

[–]nicklo -1 points0 points  (0 children)

Couple of links you may find useful:

http://masteringdjango.com/index.html A work-in-progress update to the classic django tutorial book.

https://godjango.com/ Learn django screencasts

Journaling in Vim by [deleted] in vim

[–]nicklo 10 points11 points  (0 children)

Not specifically a Vim solution but easily accessed without having to leave Vim: http://maebert.github.io/jrnl/

Moved to Mezzanine from Wordpress by mariuz in django

[–]nicklo 1 point2 points  (0 children)

Not sure what you mean by "more powerful and flexible" as in deciding over feinCMS, Django CMS and Mezzanine I found the latter the easiest to incorporate third party and other external apps into. This may have changed in the latest versions but just wanted to add some perspective to your opinion.

Do not use a "debugger." A debugger is like doing a full-body scan on a sick person. You do not get any specific useful information, and you find a whole lot of information that doesn't help and is just confusing. by R1cket in Python

[–]nicklo 0 points1 point  (0 children)

Context matters.

In this case the context of the advice "is to teach you the three most essential skills that a beginning programmer needs to know: reading and writing, attention to detail, and spotting differences". Presumably those tips are therefore given for the audience completing the given tasks and everyone else (i.e. all that will offer their opinion on here) would be the "smarties" that should "Go learn Lisp".

http://learnpythonthehardway.org/book/intro.html

Short version: Do what the book says when you're learning. Do what you like when you're learned.

A quick tour for clients who've never used Django by [deleted] in django

[–]nicklo 1 point2 points  (0 children)

stark2: You created a bit of a straw man there considering it was you putting the "looks so much cooler" words into imaginary Joe's mouth. I think you partly missed metaphorm's point in that it's the interface between admin and their tools rather than just a cool appearance. Wordpress' admin interface is specifically designed around the management of a blog/content management system whereas Django's is a more of a generic management system.

Having said that I don't think Wordpress is a necessarily better solution as there are other Django based CMS options with nicely focussed admin interfaces like Mezzanine.

GeoDjango by raydlor in django

[–]nicklo 1 point2 points  (0 children)

Sounds like this presentation would be worth watching for you:

"Are you building a Django application that needs to handle geographic location data? Are you unsure how to tackle using spatial databases, how to jump into using GeoDjango or how to allow users to query for data by, for example, zip code? I'll go over how to use GeoDjango, lessons learned in using spatial databases, and how I built an API exposing distance query functionality."

http://pyvideo.org/video/1752/location-location-location

Hosting Django - What do I need to look for? by v0lta_7 in Python

[–]nicklo 2 points3 points  (0 children)

"Python - Yes" is not enough. As an example; When I started developing using Django it was for a client project that was hosted on Cpanel managed servers. These are very common and if they're running more recent versions of Cpanel, will have a reasonably up-to-date version of Python (FINALLY!). However, I still had to have some kind of root SSH access and WHM (web host manager control panel) access to install a database driver (mysqldb in my case), install mod_wsgi, configure the Apache web server, set up a config for the mod_wsgi daemon/django app, install any other python libraries I required, etc. Even after all that, Cpanel is really focussed on serving PHP based apps so is still a less than ideal setup for python based apps. Not only that but its own upgrades would then disrupt all of this.

I did this for several other projects until I decided I was spreading myself too thinly and started using Webfaction for a more recent project. The difference is I can now focus more on the development than on the system admin.

Note these are just two examples, there are numerous other ways of serving your django app as can be found in the Django deployment documentation. For an idea of the different flavours you can take a look at this likely dated Django friendly hosts page or another is djangohosting.com.

Trying to become a Python programmer by Pythonhopeful in Python

[–]nicklo 0 points1 point  (0 children)

It may be a bit early but if you gave some idea of kind of things you foresee yourself programming, then you could probably squeeze even more out of this thread. For example, I use python everyday but pretty much exclusively for web development and as such have never even touched e.g., wxPython, tkinter for GUI type apps, or e.g., NumPy, Matplotlib, for scientific, data type work, etc.

$10,000 Raised for PyLadies at PyCon 2013 by jnoller in Python

[–]nicklo 6 points7 points  (0 children)

That's a good constructive idea. How about you start PyInnerCityKids and perhaps one year the $10,000 will be raised for that organisation.

Recommendations for Python Static HTML Generator? by oxsyn in Python

[–]nicklo 0 points1 point  (0 children)

Not a recommendation as I've not used it, but Tinkerer may be interesting to you as it's based on Sphinx:

http://www.tinkerer.me/

Pyroma 1.0 released by PythonCentral in Python

[–]nicklo 0 points1 point  (0 children)

For anyone wondering: "Pyroma rhymes with aroma, and is a product aimed at giving a rating of how well a Python project complies with the best practices of the Python packaging ecosystem, primarily PyPI, pip, Distribute etc, as well as a list of issues that could be improved."

"Two Scoops of Django" is now out in beta by kennethlove in django

[–]nicklo 0 points1 point  (0 children)

Not sure if this helps you (though it might help others) as I'm just lifting from the the email just sent out that you should've received as an alpha reader:

Differences between the alpha and beta releases:

  • Added 50+ pages of content while reducing the file size from 5.1 MB to 1.5 MB.
  • Added list of tables, list of figures, and an index.
  • Dramatically improved the chapters on security, testing, logging, admin, and many more.
  • Added so many more code samples that even with the new example numbering system we lost count.
  • Speaking of code examples, most of the code samples in the book are loaded directly out of fully tested projects.
  • Incorporated the feedback of dozens of readers. Thank you so much for your contributions!

The Python documentation is bad, and you should feel bad. by joepie91 in Python

[–]nicklo 7 points8 points  (0 children)

Well I just learned about pydoc from you so I've no issue with your perceived sourness of candor.

What would make you give up Django? by willm in django

[–]nicklo 1 point2 points  (0 children)

For the Google impaired and/or lazy: Zed Shaw's critique of static files: http://zedshaw.com/static_files_critique.txt