Slashdot Mirror


User: plzdontspamme

plzdontspamme's activity in the archive.

Stories
0
Comments
7
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 7

  1. web2py on Ask Slashdot: One Framework To Rule Them All? · · Score: 1

    I've been using web2py lately and like it a lot. It is a Python-based framework with a Rails-like MVC structure with JQuery and Ajax functions built in. I find it much easier to learn and use than Django. It has functions like SQLForm.smartgrid() that create a table-based interface to a database table with built-in search, sort, pagination, CRUD, and buttons to linked tables--all with a single line of code. Functions like this and more make it trivially easy to create easy-to-use front- and back-end user interfaces.

  2. Re:"Better" is relative... on Mozilla Donates $100K To the Ogg Project · · Score: 2, Informative

    By the way, if you are a geek, you should consider one of these before you buy an iPod Shuffle; more features for less money, and it works as a USB storage device so it works perfectly well on Linux.

    If you want to play Ogg audio files, I've found cheap, unbranded 2GB MP3 player/FM radio/USB stick S1MP3 combos available on Ebay will also play them. It's usually not documented in the instructions nor in the seller's online listings, but they play Ogg just fine. I've bought three of these units so far and they all did Ogg. In Linux you just mount them like any generic thumbdrive and transfer audio files to them.

  3. highlighted comment lines on (Useful) Stupid Vim Tricks? · · Score: 1

    A useful way to quickly start or end a major comment block when coding is:

    i#<space><Esc>70i-<Esc>

    This will create a line beginning with a '#' followed by 70 hyphens.

    "ayy

    will copy the current line to the 'a' buffer

    "aP

    will paste the line stored in buffer 'a'. Of course, you can use any letter or number to save to a buffer, which is one of the great things about vi--36 buffers!

    P.S. Is there a way to change the settings in Firefox so vi commands will work when editing text in text boxes?

  4. Conversion efficiency needs improvement on Students Power Supercomputer with Bicycles · · Score: 2, Interesting

    I once took part in a nutrition study that required each participant to ride a stationary bicycle for 20 min or so. I asked the lead researcher how much power a typical college student could produce. He said a healthy college student could produce about 180W for the duration of a test session.

    The test itself was uncomfortable. There was no breeze to keep you cool (and, since the human body is only about 25% efficient, that meant you were dissipating > 500 W as heat), and you had to wear a mouthpiece to measure your oxygen uptake.

    For that reason, I'm a little surprised that 10 cyclists without mouthpieces could only produce 1.2 kW for 20 min. Either their generators, drive mechanisms, and converters are not very efficient (most likely) or the MIT students need to do more exercise to get in better shape.

  5. Re:unsurprising on Have Spammers Overcome the CAPTCHA? · · Score: 1

    Another simple method is to mix up the names used for form fields (e.g. name the field that applies to the subject of a message "email", and name field used for the email address "subject"). Bots will fill in the forms based on the form element names, while users will make their entries based on the descriptive HTML tied to those elements. Then discard any submissions where the email address is not properly formatted.

  6. usefully applying human power on Using Gym Rats' Body Power to Generate Electricity · · Score: 5, Interesting

    I've been riding a bike for a living for the past 16 years, frequently hauling loads of 600 lbs or more. IMHO, human power has not been given the serious consideration it deserves. There are plenty of applications where human power could be usefully applied. For instance, there are lots of little devices, like LED task lights, digital cameras, etc., powered by 2-4 AAA batteries. A person riding on a stationary bike could easily charge four 1000 mAh batteries like these in a half-hour workout. As electronic appliances get smaller and more efficient, the number of devices that can be practically powered by human power is only going to increase. Inkjet printers, scanners, and laptops are already within the capability of being powered by a fit person. While the human body can't practically generate enough energy to do tasks that require significant amounts of heat (e.g., cooking), it is very effective at producing enough heat to keep itself warm. People often wonder how I can stand doing my job outside when the temperature is well below zero and I'm only wearing a few light layers of clothing. They forget that the human body is only about 25% efficient at converting energy to work, so hauling a heavy load produces sufficient heat to keep me comfortable.

  7. Wind strongest at day, not night on Storing Wind Power In Cold Stores · · Score: 1

    Here in the US midwest, the daily time of peak winds coincide closely with that of peak demand. The summer winds are usually strongest during the hottest part of the day, due (IIRC) to differential heating of the surface of the earth. At night, the winds are much lower (often calm).