All posts by Pete Soper

Where some CPU CYCLES COULD BE USEFUL

Years ago at one point I had maybe 200 cores of Sun Microsystems servers searching for gravity waves several days at a time through out the year as part of the “LIGO at home” project. Our Java release tests ran in waves and I could borrow the machines to use the troughs to crunch on this project.

Now there’s “Folding @ Home” that is for doing the very hard work of figuring out protein details or other life science computing, and apparently there is some work going on relevant to the virus pandemic. The link below is to an article about this and it contains a link for taking part in the last sentence. If this works the way the LIGO one did, the app automagically gets out of the way of you using your PC, such as running when the screen saver is active. I suspect it’s even more flexible now. So consider donating a bit of energy with your PCs to pitch in and make this go faster.

https://decrypt.co/23064/folding-at-home-now-has-400000-users-fighting-coronavirus

Direct link to Folding @ Home: https://foldingathome.org/

Key CAD Developer Interviews

Image result for tomato

(OK, I say tomatoe; my wife says tomahto.  But out of respect, we don’t say we use Lienix, or Pythone, right? Although it took from  1991 to the late 90s, we did eventually stop saying Lienix, Leenix and Linooks.)

Chris Gammell, the expert interviewer half of The Amp Hour and long time KiCad supporter, organized a fantastic first KiCon conference in Chicago. Chris conducted some execellent interviews, including one of some of the KiCad developers, including project lead Wayne Stambaugh.  Wayne is now employed full time to develop KiCad, a new milestone for this tool that seems to be on track to become the gcc of PCB CAD in coming years.

 

Shop Talk

1.54

I’ve been listening to The Amp Hour podcast for some time and want to point out one episode that was particularly pleasant to listen to.  This is episode #412 titled “3 Cent Micros and 1000s of LEDs”. It’s Dave Jones of EEVBlog and Mike Harrison of Mike’s Electric Stuff talking shop, sharing interesting news items, and just yacking about a very wide variety of topics. I found it just the thing while standing in line to vote, rummaging through my old ham radio gear hoping my LMR400 cable was still there (wasn’t) and struggling with the failing Digikey web site (first time every: could not do a parametric search for a SMD cap without getting a weird “page not found” web server error).  Dave is free and easy this time around and the only problem folks will have is that when a Brit and an Aussie talk rapidly American ears can struggle to recognize all the words in real time, so have your “replay the last 10 seconds” button ready. Still, well worth it, and good on you Dave, for an excellent interview!

Arrows for your Quiver

Image result for quiver

Two events reminded me recently that you can’t have too many choices for solving a sourcing problem.

A client and I had finished a simple PCB design, got it off to OSH Park and OSH Stencils, and turned attention to the BOM. All passives but one: in my shop already, so check. The remaining one and some connectors: Digikey has them, so check mark. The central IC that is the point of the board:  Digikey, zero. Mouser, zero. Other suppliers we’d heard of, zero. Anyplace in the USA, zero. China, only on breakouts. Ouch.  Europe: “Rutronik”. Who? After a day of thrashing I noticed this is the chip manufacturer’s favorite distributor in Europe, and I should be able to trust them. I had to establish a business account but all was well until we got to shipping: Big ouch. And this huge minimum shipping wasn’t for  Startrek teleportation beaming from their warehouse to my bench, as the fee implied. They predicted 72 hours, but later we found that was if you’re in the EU. Oh, right. When it wasn’t at my door in 72 hours I dug up an Excel spreadsheet  via a well disguised link on my account page and on one row was a red “warning dot”. More digging and I decoded this warning to translate to English as ” six days estimated delivery from order date”. But the chips should be here in time for the reflow oven and all is well even if the client’s wallet is thinner than desired.

Just days later another client and I were deciding what parts of a new board really needed breadboarding to give us confidence in a major respin and this forced an immediate order of a few piddly parts (note to self: as soon as the part is on the short list for a design, order three of them.) I was inhaling to commiserate about shipping when the client reminded me that Arrow isn’t charging anything for shipping. Period. Zero, no matter what size the order is. I  was startled, as this has been going on for months and I just assumed it was a one shot, short time thing and had let it fade from my memory. Instead I was able to throw the part number and quantity  for a special FET I want to try out into the client’s order, smiling at the idea and my share of the shipping will be zero. Nice.

Meanwhile, the US rep for the big Euro distributor contacted me and we’ve agreed I will call her before risking another big wad on shipping that isn’t even fast in relation to the cost.

So, one arrow moved to the front of the quiver and a new one added for Euro parts that the US hasn’t discovered or that got too popular for supply here to keep up with.

All git repo hosting sites are not created equal

GitHub, GitLab, and Atlassian BitBucket are all sites that offer git repository hosting. But if you create a repo named “Test” with BitBucket, then you copy/paste the slug URL  and feed it to “git clone” as usual,  the URL is forced to all lower case  “test” and you end up with a clone of your repo in directory(folder) “test”. This stinks, for example, with common library directory naming conventions.

After thrashing around in the team settings, thinking I’d just missed the way to override the default URL, it occurred to me this might be a feature, not a bug. Sure enough:

https://jira.atlassian.com/browse/BSERV-3148

(“Stash” is simply Atlassian’s downloadable repo hosting system, effectively giving a customer a “Bitbucket” system within their enterprise)

This is just a classic bug report pattern. Who knows what caused the Bitbucket architect to decide not to honor the name spelling when creating the slug (the text box holding the URL you copy from to do a clone). But, the fact that one can simply modify the URL and end up with a target directory with any pattern of upper/lowercase makes it clear that they COULD offer an “honor name capitalization” radio button to override their sacred cow default, but they choose not to, with the lamest of lame excuses:

“Given that it is possible to modify the clone URL to include a camel-cased repository name (which creates a camel-cased repository directory when cloning), this is unlikely to be a priority in the near future.”

But this latest submission was started in 2013 and “resolved” in 2015, two years ago. Maybe it’s time to submit it again.

 

ESP-32 Developer Interview

A recent edition of “The Amp Hour” podcast had Chris and Dave interviewing “Sprite_tm” (aka Jeroen Domburg) of Espressif. Amongst all the other things this interesting Dutchman has accomplished, he added symmetric multiprocessing support to FreeRTOS on the ESP-32 (which has two identical 32 bit processors). I came completely unstitched hearing this toward the end of tantalizing news about the software tool chain available for this ESP8266 follow-on. Transparent multithreading with complete control over processor affinity (i.e. either bound or freely scheduled) was the final brush stroke painting a picture of superior infrastructure, open source accessibility and the usual unbeatable price point of the Espressif hardware. Wow.

SMD Soldering Demo @ Triangle DIYBio Popup


Today until 2pm is the second day of an open house of the area Triangle DIY Biology organization near Scrap Exchange in Durham. I was button-holed to “do something” at this event and decided the easiest thing to demonstrate would be how to hand solder fine pitch SMDs. TriEmbed info sheets are on hand and we’re also plugging SplatSpace. I’m using a little space at the popup to coordinate curation of Fred Ebeling’s Collection of electronic parts at SplatSpace.

New from Maniacal Labs: Affordable smart LED support for Raspberry Pi

Adam Haile and Dan Ternes of Maniacal Labs have been busy. By accident I came across their site on Tindie and see they have a new product. PiPixel is oriented toward Raspberry Pi enthusiasts who would like to work with smart RGB LED strips. It’s described in detail on their web site. This is a super low cost kit that would make an excellent beginning soldering project with a big payoff.  Find all the details on the ‘Labs web site.