Blog

  • Adding a Power LED to the Weller WE1010 NA Soldering Iron

    Adding a Power LED to the Weller WE1010 NA Soldering Iron

    A few years ago I got this Weller WE1010 NA desktop soldering iron for around $100 CAD. The iron has worked well for me, and fits great on my hobby desk, but it has a major flaw: it does not auto power-off.

    The iron does reduce temperature if left idle for a period of time — e.g. I typically run the iron at 330º Celsius, and it will lower the temperature to about 180º when idle — but it will never turn itself off, no matter how many hours you’ve left it sitting on your desk untouched. Huge waste of power and a potential fire/burn hazard.

    Official product image for Weller 1010 NA soldering iron.
    Weller 1010 NA soldering iron official product image. No power LED or backlight display. Booo!

    The base station of the iron does have a LCD to display the current temperature, but it does not have a backlight so you can’t see it from across the room.

    Because of this, I am constantly forgetting to turn it off when I’m done with a project.

    Well, not any more!

    I added a red LED power indicator light to my WE1010 after watching videos from Adapting Camera and Tek Tech on YouTube. If you want to try this mod, I suggest watching their videos!

    Weller WE 1010NA Soldering Station with added LED power light
    Weller WE 1010NA Soldering Station with added LED power light

    Looking inside, it is evident that the WE1010 is definitely built on a budget. I added the kapton tape and clear heat shrink tube to the plugs so there is some basic short-circuit protection. Honestly, I can’t believe none of the connections were protected!

    Unfortunately I didn’t get a good photo of the LED installed on the front-plate, but you can see the newly soldered wires running from the PCB to the LED.

    My method of installing the LED was very similar to the approach shown in the video from Tek Tech.

    I’ve had the LED installed for a few months now and it has been working great. The LED is bright enough that I cannot possibly overlook it, especially at night when I turn off the lights in the room.

    Would I do this LED mod again? Absolutely! Honestly, a power indicator LED or LCD backlight is sorely missing from this unit.

    That said, would I buy a WE 1010 again? Absolutely not!

    This iron cost me something like $100 CAD a few years ago, but it’s going for $170 CAD now. It is definitely not worth $170. Maybe you can find it on sale for half-price, otherwise I would look into better alternatives on the market.

    Here are a couple of alternative soldering irons:

    • Pinecil from Pine64 for $25USD – These are fantastic USB-C powered soldering irons which use TS100/ST/PTS200 tips. There are mixed reviews online since newer alternatives have become available, but I’ve has a Pinecil for a few years and it works great for me!
    • FNIRSI HS-02 and Alientek T80 for around $20-30 USD – Both use C245 tips which are bigger and more robust than the Pinecil. They also seem to accept the Pinecil tips, so these might be a viable replacement or second iron! Shop for these on AliExpress for the best prices.

    I hope you found this interesting or helpful! Thanks for reading.

  • The case of the 500-mile email

    The case of the 500-mile email

    I first read this email back in the early 2000s and it often comes to mind when I’m troubleshooting particularly strange issues with websites reported by customers. The story provides a fantastic example of the types of obscure issues one can encounter while troubleshooting computer systems in the real world.

    From trey@sage.org Fri Nov 29 18:00:49 2002
    Date: Sun, 24 Nov 2002 21:03:02 -0500 (EST)
    From: Trey Harris <trey@sage.org>
    To: sage-members@sage.org
    Subject: The case of the 500-mile email (was RE: [SAGE] Favorite impossible task?)
    
    Here's a problem that *sounded* impossible...  I almost regret posting the story to a wide audience, because it makes a great tale over drinks at a
    conference. :-)  The story is slightly altered in order to protect the guilty, elide over irrelevant and boring details, and generally make the whole thing more entertaining.
    
    I was working in a job running the campus email system some years ago when I got a call from the chairman of the statistics department.
    
    "We're having a problem sending email out of the department."
    
    "What's the problem?" I asked.
    
    "We can't send mail more than 500 miles," the chairman explained.
    
    I choked on my latte.  "Come again?"
    
    "We can't send mail farther than 500 miles from here," he repeated.  "A little bit more, actually.  Call it 520 miles.  But no farther."
    
    "Um... Email really doesn't work that way, generally," I said, trying to keep panic out of my voice.  One doesn't display panic when speaking to a department chairman, even of a relatively impoverished department like statistics.  "What makes you think you can't send mail more than 500 miles?"
    
    "It's not what I *think*," the chairman replied testily.  "You see, when we first noticed this happening, a few days ago--"
    
    "You waited a few DAYS?" I interrupted, a tremor tinging my voice.  "And you couldn't send email this whole time?"
    
    "We could send email.  Just not more than--"
    
    "--500 miles, yes," I finished for him, "I got that.  But why didn't you call earlier?"
    
    "Well, we hadn't collected enough data to be sure of what was going on until just now."  Right.  This is the chairman of *statistics*. "Anyway, I asked one of the geostatisticians to look into it--"
    
    "Geostatisticians..."
    
    "--yes, and she's produced a map showing the radius within which we can send email to be slightly more than 500 miles.  There are a number of destinations within that radius that we can't reach, either, or reach sporadically, but we can never email farther than this radius."
    
    "I see," I said, and put my head in my hands.  "When did this start?  A few days ago, you said, but did anything change in your systems at that time?"
    
    "Well, the consultant came in and patched our server and rebooted it. But I called him, and he said he didn't touch the mail system."
    
    "Okay, let me take a look, and I'll call you back," I said, scarcely believing that I was playing along.  It wasn't April Fool's Day.  I tried to remember if someone owed me a practical joke.
    
    I logged into their department's server, and sent a few test mails.  This was in the Research Triangle of North Carolina, and a test mail to my own account was delivered without a hitch.  Ditto for one sent to Richmond, and Atlanta, and Washington.  Another to Princeton (400 miles) worked.
    
    But then I tried to send an email to Memphis (600 miles).  It failed. Boston, failed.  Detroit, failed.  I got out my address book and started trying to narrow this down.  New York (420 miles) worked, but Providence (580 miles) failed.
    
    I was beginning to wonder if I had lost my sanity.  I tried emailing a friend who lived in North Carolina, but whose ISP was in Seattle. Thankfully, it failed.  If the problem had had to do with the geography of
    the human recipient and not his mail server, I think I would have broken down in tears.
    
    Having established that--unbelievably--the problem as reported was true, and repeatable, I took a look at the sendmail.cf file.  It looked fairly normal.  In fact, it looked familiar.
    
    I diffed it against the sendmail.cf in my home directory.  It hadn't been altered--it was a sendmail.cf I had written.  And I was fairly certain I
    hadn't enabled the "FAIL_MAIL_OVER_500_MILES" option.  At a loss, I telnetted into the SMTP port.  The server happily responded with a SunOS sendmail banner.
    
    Wait a minute... a SunOS sendmail banner?  At the time, Sun was still shipping Sendmail 5 with its operating system, even though Sendmail 8 was
    fairly mature.  Being a good system administrator, I had standardized on Sendmail 8.  And also being a good system administrator, I had written a sendmail.cf that used the nice long self-documenting option and variable names available in Sendmail 8 rather than the cryptic punctuation-mark codes that had been used in Sendmail 5.
    
    The pieces fell into place, all at once, and I again choked on the dregs of my now-cold latte.  When the consultant had "patched the server," he had apparently upgraded the version of SunOS, and in so doing
    *downgraded* Sendmail.  The upgrade helpfully left the sendmail.cf alone, even though it was now the wrong version.
    
    It so happens that Sendmail 5--at least, the version that Sun shipped, which had some tweaks--could deal with the Sendmail 8 sendmail.cf, as most of the rules had at that point remained unaltered.  But the new long configuration options--those it saw as junk, and skipped.  And the sendmail binary had no defaults compiled in for most of these, so, finding no suitable settings in the sendmail.cf file, they were set to zero.
    
    One of the settings that was set to zero was the timeout to connect to the remote SMTP server.  Some experimentation established that on this particular machine with its typical load, a zero timeout would abort a connect call in slightly over three milliseconds.
    
    An odd feature of our campus network at the time was that it was 100% switched.  An outgoing packet wouldn't incur a router delay until hitting the POP and reaching a router on the far side.  So time to connect to a lightly-loaded remote host on a nearby network would actually largely be governed by the speed of light distance to the destination rather than by incidental router delays.
    
    Feeling slightly giddy, I typed into my shell:
    
    $ units
    1311 units, 63 prefixes
    
    You have: 3 millilightseconds
    You want: miles
            * 558.84719
            / 0.0017893979
    
    "500 miles, or a little bit more."
    
    Trey Harris
    --
    I'm looking for work.  If you need a SAGE Level IV with 10 years Perl, tool development, training, and architecture experience, please email me at trey@sage.org.  I'm willing to relocate for the right opportunity.

    Original source: https://www.ibiblio.org/harris/500milemail.html

  • Exploring “The Cookie Law” for the web

    What is the “The Cookie Law”?

    In May 2011, a European Union (EU) Directive was adopted by all EU member countries to protect consumer privacy online. This piece of privacy legislation requires that covered websites:

    • Let users know if they are using cookies
    • Explain what data is gathered through the use of cookies and how that data is used, and
    • Gather user consent to the use of cookies

    The law applies to any person or organization that is physically located in the EU and has a website. It also applies to any website that targets consumers in the EU.

    The legislation applies whether a user is on a computer, smartphone, tablet, or any other device. (source)

    Does my WordPress site use cookies?

    Yes. All WordPress sites use cookies for user authentication, commenting (if applicable), and some plugins use cookies to provide extra functionality.

    Examples of some types of cookies used on your site:

    • Google Analytics tracking
    • World Pantry cart Information
    • World Pantry logged-in status tracking
    • Hubspot tracking
    • WordPress preferred user language tracking

    How does my business comply with The Cookie Law?

    To comply with the law you need to do three things:

    1. Let users know that you’re using cookies
    2. Provide a link where they can learn more about how you use the data you gather
    3. Provide a way for users to consent to the use of cookies

    What does it mean for my website?

    Cookie Notice Banner

    To satisfy the above requirements, your site should implement a small banner that will appear on top of all EU-centric pages.

    The banner will contain:

    • A “cookie notice” that ends with a statement like: “By continuing to use this site you agree to the use of cookies.”
    • A link to your privacy policy (or Cookies Policy)
    • A button to expressly consent to the use of cookies, and to hide the banner for any subsequent page views.

    The intent of the “cookie notice” statement is to provide a clear notice to the user that a specific action will be understood as “implied consent” for use of the site (until the express consent button is clicked).

    Privacy Policy and/or Cookies Policy Page(s)

    The Cookie Notice Banner will link to a page expanding on your usage of cookies. You may have a separate page dedicated to outlining your cookie policy, or you may just add a section to your general Privacy Policy page.

    Typically US-based businesses will implement the latter, opting to add a cookie section to their Privacy Policy page.

    What do I need to do?

    The above “cookie notice” copy will be written by iamota for proof only and should be reviewed by the client and the client legal team before the site is launched. Iamota is not an expert in matters of EU law, and urges clients to seek professional legal advice with regards to The Cookie Law.

    The Privacy Policy and/or Cookie Policy page content must be provided by the client; no drop-in content will be provided by iamota for these pages.

    Where can I learn more about The Cookie Law?

    Here are a few resources available online for further reading about The Cookie Law:

    Disclaimer

    Please remember, this article is not a substitute for professional legal advice. This article does not create an attorney-client relationship, nor is it a solicitation to offer legal advice.