HNHacker News
TopNewBestAskShowJobs

watchdogtimer

4,115 karma · joined June 13, 2010

Jim Gregory, founder/co-owner, Bikes At Work (www.bikesatwork.com)
submissionscomments
watchdogtimer··on Syntax Highlighting Off
Thanks for the list hint!
watchdogtimer··on Syntax Highlighting Off
A step up from ed but a step below vim is nvi.

I've always preferred nvi over vim because:

1) there's no lag when I scroll up or down through a file line-by-line,

2) it shows a list of matching files by default when using tab completion in command mode (same as bash), vs picking the first matching filename, and

3) it uses fewer resources when you screw up (http://galexander.org/vim_sucks.html)

I used to think that the lack of syntax highlighting was its biggest weakness, but now that's apparently a virtue :-) .

watchdogtimer··on A technical guide to SEO
Thanks for the correct URL.

FWIW, I find the original article easier to read than this SEO guide from Google. Google's guide has so many different methods of highlighting important body text (different combinations of bold, blue/dark blue/red, underlined, and yellow background!), it's difficult to read. Reminds me of amateur desktop publishing back in the 90's.

watchdogtimer··on The Untold History of Arduino
The JAL programming language mentioned in the article (now called JALv2) is still actively developed. The latest version of the compiler was released less than 3 months ago.

It's no longer a Windows-only compiler. The standard compiler package includes binaries for OSX and Linux, too. It will even run on ARM if you compile it from source using the appropriate modifiers.

JALv2 is has a PASCAL-like syntax that is easy to learn and allows you to write some very elegant code.

The JAL libraries (jallib) are incredibly extensive, covering virtually every 8-bit PIC made and every possible peripheral function.

Vim supports syntax highlighting for JAL, making it a good text editor to use for writing code. I use Vim on a Raspberry Pi 2 to write and compile my code, then upload it to the PIC using the Pi's GPIO port and Pickle (http://wiki.kewl.org/dokuwiki/projects:pickle). No external programmer is necessary.

I prefer using JAL and one of the USB-capable PICs for my projects instead of an Arduino since I can build the entire project on a breadboard using one chip. I don't need to add a second serial-to-USB converter that's not available in a DIP package, nor require my users to install special serial driver from some unknown third party just to make it work.

watchdogtimer··on Millions of Children at Risk as War on Lead Paint Stalls
We tried one of those when we repainted the original lap siding of our 1920 house a few years ago.

It did not work well. Everything had to be just right for it to work properly. If the paint was not a uniform thickness, if there were any old paint drips hanging over the edge of the siding, or if the siding was not laid straight the same width across the wall, it wouldn't shave off the paint evenly.

We found the best tool for the job was a radiant heat gun made from an old toaster oven and a paint scraper. You'd heat the paint until it started to soften, then scrape it off with a putty knife.

Like the parent said, it was difficult work requiring at a minimum a ventilator and gloves, and try the best we could, it was impossible to contain all the paint chips. But I think a few paint dust chips left behind is probably trivial compared to the amount of lead in the soil around our house from decades of cars and trucks going by our home burning leaded gasoline.

watchdogtimer··on Fairphone 2: world's first modular phone goes on sale
Have you considered the pi-top (http://www.pi-top.com)? It sounds like it has many of the features you are looking for.
watchdogtimer··on Ask HN: New attempt at mobile markup – keep or bail?
Keep. Looks much better than before using Firefox on my cheap 5" Android phone
watchdogtimer··on Improving your code readability with namedtuples
It's easier and cleaner to write me.age instead of me['age'], especially when you have an expression with a lot of brackets.
watchdogtimer··on Can You Get Smarter?
The primary skill required to be a good auto mechanic is the same one required to be a good software developer: the ability to logically diagnose and solve a problem. The only difference is the tools you use to fix the problem.
watchdogtimer··on Candy Japan hit with credit card fraud
Braintree offers "advanced fraud protection" if you pass device information along with the transaction request [1]. Has anyone tried using this, and if so, is it effective at stopping this problem?

[1] https://articles.braintreepayments.com/guides/fraud-tools/ov...

watchdogtimer··on GEOS For the Commodore 64
I loved Geoworks--it was how I got introduced to GEOS and how powerful a good GUI desktop could be. I was so disappointed when AOL dropped support of it. :(
watchdogtimer··on SES: Simple Emacs Spreadsheet
Thank you! I have been using sc for years, but really, REALLY wished it had the option to undo. Glad to see it's been forked and that feature was added.
watchdogtimer··on How Cheap Can Solar Get?
Yes, it's definitely better to power everything using DC if possible. The best, reasonably-priced inverter I've found still draws 2 W whether it's powering anything or not. But it's difficult to get the right voltage and connector for every electronic device you might want to power.
watchdogtimer··on How Cheap Can Solar Get?
Most people seem to be able to comfortably produce 30 W over a sustained period of time.

If you're used to bicycling, dress appropriately, and work in a cool environment with a fan, you can produce 50-60 W.

Above that, it becomes difficult to maintain your concentration on your work while trying to pedal hard at the same time.

On most days, I maintain about 35-50 W, depending on the load.

So far this morning, I've ridden for 2 hrs, 5 minutes and produced 74 W-hr. The computer I'm using this morning is a Raspberry Pi2 with a 19" monitor. I'm also powering our DSL modem/router and a 12 V fan while recharging two tablets, four AA batteries, and my phone at the same time.

watchdogtimer··on How Cheap Can Solar Get?
Do you always use your MBP connected to a power outlet? If so, try running it until its battery is drained about 50%, then plug it into your inverter and see how much power it draws. My guess is it will draw about 50-60 W.

I've been using a pedal-powered generator to power my computer, phone, tablet, and LED lights for the last 5 years and have tested several laptops and other devices using it. I've found that most laptops draw from 12 W (11" Chromebook) to 25 W (older 15" Dell) when their battery is charged, but 40-60 W when charging. The power supplies of most devices seem to have about a 50% safety factor, so a device that has a normal max power consumption of 50 W will use a 75 W power supply.

watchdogtimer··on Airless Tires Roll Towards Consumer Vehicles
We were given some airless tires a few years ago by two different manufacturers to test on some bicycle trailers. Our experience was the tires performed find when the trailers were empty, but the rolling resistance was noticeably higher than a pneumatic tire when the trailer was loaded--so much more, in fact, that we discarded them immediately after the test.

I think the best solution is to use pneumatic tires with a Kevlar liner built into the tire casting.

watchdogtimer··on Ask HN: Do you use a Chromebook for dev? What is your toolchain?
I had been using a C720 with crouton up until a week ago. I usually just close the lid to hibernate it, but that particular day I turned it off. When I turned it back on, I couldn't restart crouton ("Cannot open /dev/tty0 (No such file or directory")

I suspect that's the result of an update in the underlying ChromeOS, but I can't say for sure. Regardless, I think I'll wipe ChrOS off anyway and just put Debian Jessie on it. I don't like to think my setup can be broken by an underlying OS update.

I mostly like the hardware. My biggest gripe is the lack of a delete key on the keyboard, and the placement of the power button just above the backspace key makes it easy to hit inadvertently,

watchdogtimer··on FTDI driver kills fake FTDI FT232s
They're not in the OPL, but Microchip makes several chips that support full-speed USB, and they provide a CDC driver, too. I prefer them to using an Arduino because almost all of them are available in a DIP form factor, making them great for prototyping projects; available with different number of pins and features (10 vs 12-bit ADC, etc); and cost less than an ATMEGA328 +FTDI. Some of the chips are fully USB compliant without a crystal.

I've never used it, but Microchip's IDE for their C compiler and debugger is cross-platform and will work on Linux/Mac/Windows. I prefer to program them in JAL, a Pascal-like language that is easy to learn that has a large library of functions available. There's syntax highlighting available for it in Vim :-) .

If you're committed to Arduino, there's an open-source project (http:www.pinguino.cc) that has its own Python-based IDE that will take Arduino code, convert it to SDCC C code, compile it to assembly, then flash a Microchip chip.

watchdogtimer··on Death by Inches: The battle over the metric system in America
I work in manufacturing, and one thing I've noticed here in the U.S. is that metric hardware (nuts, bolts, etc.) is consistently more expensive than comparable-sized imperial hardware. I've never received a satisfactory explanation why.
watchdogtimer··on Tracking two years of laptop battery use, sampled every minute
Maybe I'm just missing it, but one statistic I would like to see is how long it takes your battery to fully recharge, and how that statistic has changed over time.
watchdogtimer··on What's New in Mercurial 3.0
There's also Trac:

http://trac.edgewall.org

watchdogtimer··on T-Mobile CEO hints at family plan disruption in 2014
The real disruption is occurring in the MVNO space. The things the major telcos are doing pale in comparison.

For instance, our family and parents share 5 phone on 1 plan on Ting. There is a flat $6 monthly fee per device, and our charges are based simply on the amount of minutes and data we use. The rates are cheap (about $0.02 per minute for voice calls). You can use almost whatever Sprint-compatible device you want (we use some cheap Nexus S phones we bought used from a reseller) and can add, remove, or swap devices at anytime through their online interface. If your outside of Sprint's network, voice calls will roam over Verizon's network at no extra cost. You are free to do whatever you want on Wi-Fi at no cost, and there if no charge for tethering, either.

Their customer support has been superb. We've called them a couple of times when we had some issues activating a new device (mostly my mistakes) and someone knowledgeable picked up the phone immediately. No waiting, no transferring between CSRs.

Similar innovations are occurring with other MVNOs like Republic Wireless. Why people are sticking with the majors I don't understand.

watchdogtimer··on Python module that makes working with XML feel like working with JSON
I used this to parse some XML when creating a shipping calculator. It was a huge time-saver.
watchdogtimer··on BufferBox: We're Joining Google
We manufacture products that we ship to our customers via fedex ground, and they require a signature for anything valued at > $500, regardless of what we or the customer wants.
watchdogtimer··on pyMCU - The Python Controlled Microcontroller
You can also program 8+bit PICs in JAL, a Pascal-like language.
watchdogtimer··on Divshot – Interface Builder for Web Apps
This of how the top of the home page looks on my phone: http://i.imgur.com/yJjXT.png Hope this isn't indicative of how mobile-friendly their output is in general.
watchdogtimer··on Instacart (YC S12) aims to be the Amazon Prime of grocery delivery
We started and operated a grocery delivery service like this for some 15 years as a sideline to our normal delivery business.

It was an operational nightmare.

Picking one order for a customer at a grocery store quickly is hard enough. Two orders requires using two carts and care that you don't mix up the orders. Picking more than two orders at a time is almost impossible, which limits your productivity.

We routinely had customers who would order more than a cart worth of groceries at a time. Offices would order 20 cases of soda pop and several boxes of munchies. Picking, transporting, and delivering these orders often took well over an hours' worth of time each.

If the average customer is ordering once a week, the $2 they receive won't be enough to cover their costs, and they'll have to charge significantly more than shelf price for the groceries if they are to be profitable. But this will discourage customers who believe they are paying an annual fee in return for "free" delivery.

watchdogtimer··on The Dark Art of Pricing
I've been in business making products for almost 18 years, and I still have problems estimating how long it will take to complete a custom job for a client.

Whenever I am asked to bid on a project, I try to remember the "3X" rule: estimate the amount of time it will take, then multiply by 3. This usually turns out to be a good estimate of how long a project will really take.

watchdogtimer··on We urge Microchip to give something significant back to the Arduino community
I think Microchip has made more of an effort to be hobbyist- and open-source-friendly than Atmel in several ways:

1) Microchip's IDE is cross-platform (Linux, OSX, and Windows), while Atmel's IDE is Windows-only.

2) Microchip has a company-sponsored bulletin board on their web site for hobbyists (and professionals) to answer and respond questions. Atmel doesn't (avrfreaks.net is not associated with Atmel).

3) Microchip makes more microcontrollers in DIP architecture, which is useful for hobbyists; e.g., there are at least six Microchip microcontrollers with USB ports in DIP layouts, while Atmel has none.

4) At least Microchip is making claims about being open-source-friendly. I have yet to see Atmel mention open-source in their marketing materials.

watchdogtimer··on Ask HN: Where to find good icon sets?
http://icons.mysitemyway.com/ has several nice icon sets.
← PreviousPage 5 of 6Next →