Profile

Cover photo
Bruce Lowther
Works at Micron Technology
Attended University of Idaho
Lives in Bristow, Va
465,520 views
AboutPostsPhotosYouTube+1'sReviews

Stream

 
Let's see if I can learn how to use these.  Neat little minimalist synths.  PO-12 is sold out at the moment, but PO-14 and PO-16 are available. The design work on these is amazing.  There are JTAG programming port pads on the back.  All the logic circuits are under the LCD display.

Some you tube videos on this, it's impressive to watch someone who knows how to use it make it work.
teenage engineering · products · wireless audio · synthesizers · store · now · projects · social · guides · support · downloads · contact · press. a teenage engineering cheap monday joint. making. electronic. music. has never. been this. much fun. only $$$ visit store. PO-16 factory ...
1
Add a comment...

Bruce Lowther

Programming & Coding  - 
 
Problem: How to parse out a column by a delimiter into rows?

Solution:

Here is my solution to this problem.  
I would appreciate any suggestions on making it faster, less ugly or removing the warning related to rbind_list.

rbind_list is MUCH faster than rbind.



##Generate data set demonstrating the challenge:
##
##
require(dplyr)
n=200
keys <- paste('Key', 1:n)
sublist <- paste('Part', LETTERS[1:5])

resample <- function() {return(paste(sublist[1:sample.int(n=length(sublist),size=1)], 
                               collapse=";"))}
testset <- as.tbl(data.frame(src=keys, sub.str=replicate(n,resample())))

testset
# Source: local data frame [200 x 2]

# src                            sub.str
# 1   Key 1 Part A;Part B;Part C;Part D;Part E
# 2   Key 2 Part A;Part B;Part C;Part D;Part E
# 3   Key 3                      Part A;Part B
# 4   Key 4 Part A;Part B;Part C;Part D;Part E
# 5   Key 5        Part A;Part B;Part C;Part D
# ...

##function: splode
## passing:
##      x.tbl: a tbl type from dplyr
##     keyrow: string identifying the name of the row containing a key that 
##             will be duplicated for each split.
##   splitrow: string identifying the name of the row containing the string 
##             with an embedded delimiter.
##  splitchar: the delimiter that is contained in splitrow.
##
##  Both keyrow and splitrow columns can be either string or factor.
##
##  returning: two column table where keyrow is duplicated for each item delimited
##             in splitrow.
##
splode.2 <- function(x.tbl, keyrow, splitrow, splitchar)
{
  splod.df <- NULL
  
  key.list <- x.tbl[,c(keyrow)]
  split.list <- strsplit(as.character(x.tbl[,c(splitrow)]), splitchar, fixed=TRUE)
  
  for(rowidx in 1:length(split.list))
  {
    split.item.a <- as.factor(unlist(split.list[rowidx]))
    splod.df <- rbind_list(splod.df, data.frame(key = rep(key.list[rowidx],
                                                     length.out=length(split.item.a)),
                                                split = split.item.a))
  }
  splod.df$split <- as.factor(splod.df$split)
  return(as.tbl(splod.df))
}

rslt <- testset %>% splode.2('src','sub.str',';')
# str(rslt)
# Classes ‘tbl_df’, ‘tbl’ and 'data.frame':  617 obs. of  2 variables:
#   $ key  : Factor w/ 200 levels "Key 1","Key 10",..: 1 1 1 1 1 112 112 112 112 112 ...
# $ split: Factor w/ 5 levels "Part A","Part B",..: 1 2 3 4 5 1 2 3 4 5 ...

rslt
# Source: local data frame [617 x 2]

# key  split
# 1  Key 1 Part A
# 2  Key 1 Part B
# 3  Key 1 Part C
# 4  Key 1 Part D
# 5  Key 1 Part E
# 6  Key 2 Part A
# 7  Key 2 Part B
# ...
2
Jarosław Nirski's profile photoLaurynas Stašys's profile photoForrest Stevens's profile photoBill Venables's profile photo
11 comments
 
+Forrest Stevens Yes, I think we are in more-or-less furious agreement.  :-)

Many thanks for your generous comments on my contributions.  It's very satisfying for me and I am grateful when it happens.
Add a comment...

Bruce Lowther

Shared publicly  - 
 
Frogs and blue bells
1
Add a comment...

Bruce Lowther

Shared publicly  - 
 

I just backed De La Soul's NEW ALBUM on @Kickstarter http://kck.st/19pCoNV

These guys hold a special place in my heart.  Witty music with a little bit of philosophy thrown in.  They gave away digital copies of most of their work last year and I was able to catch up on their work since my favorite album 'Three feet high and rising'.  

http://www.slate.com/articles/arts/culturebox/2014/02/de_la_soul_s_free_downloads_the_band_s_long_complicated_copyright_tangle.html

#delasoul
 
 
De La Soul is raising funds for De La Soul's NEW ALBUM on Kickstarter! Welcome 2 making magic. The time has finally come: De La Soul is ready to record a new studio LP.
1
Greg Kelley's profile photo
 
looks like their fans are dishing out the Love. I backed exploding kittens a while back. A game collaboration between The Oatmeal (dude) and some game designers. That was fun to watch. Waiting for the (NSFW) deck of cards to arrive.
Add a comment...
 
Playing around with #Processing tonight...  Thinking of making a two arm plotter and thought I would simulate it in a language I'm learning.  One thing lead to another and I'm building a rudimentary etch-o-sketch.

Fun digression:
https://github.com/osunderdog/TwoSegmentPlotter.git


some old horse caught another horse taking oats away!
2
Add a comment...

Bruce Lowther

Shared publicly  - 
 
Check for service before buying the house. Houses without access to Internet will drop in value.
Only months after moving into his new home in Washington state, Consumerist reader Seth is already looking to sell his house. He didn't lose his job or discover that the property is haunted. No, Se...
1
Greg Kelley's profile photo
 
dude! sell it as "Off the grid". There are lots of conspiracy theorists who would want this place. 

lesson learned, if in doubt, get it hooked up before you move in/close.
Add a comment...

Bruce Lowther

Programming & Coding  - 
 #R
 
in #R.
Do you need to build a few data sets quickly with alpha components?I These two arrays are very helpful, but difficult to find in R documentation: 

LETTERS[1:10]
letters[1:10]

For example

paste('Part', LETTERS[1:5])
sample(LETTERS, 10)
6
1
Bill Venables's profile photoSerge Ribalchenko's profile photoDee Leggett's profile photo
2 comments
 
I heard about mentioned arrays from coursera's course on R programming. There were another useful discoveries like month.abb and month.name =)
Add a comment...
 
Argh!  My best Mac Book Pro (#macbookpro, #apple) is in the shop.  I've been having video problems -- occasionally the display will shift right and the mouse pointer will explode.  I have to hard reboot to reset.

There is a repair extension out for this kind of thing, but unfortunately,  their diagnostic indicates that I don't have the problem.

I'm having them run a second more thorough test (for a fee) and we'll see if they can pick it up. 

While i'm sitting at the bar wondering if these folks are in fact geniuses, I'm listening in to two sets of conversations between customers and geniuses.  In both of those conversations, the customers had never backed up their computer and were very alarmed to find out that data recovery services are not part of the apple service model.

#backup   #timemachine  

For apple systems, time machine is very easy to use and can save so much pain and anguish.  Please.  Back your system up.  Think of it as a computer oil change.  A little inconvenient, but far better than the alternative.
1
Add a comment...
 
Good language coverage.  Pretty accurate summary of why to learn one over another.  I would have included IOT and BigData as motivations to learn programming. 

Some of my favorites are missing -- probably because they are further down the popularity pareto.  (R, Perl)

#programming  
#software  
#python  
Infographic: Pick the best computer programming language for beginners and first-time learners with this flowchart. Start coding now!
3
James Lowther's profile photo
 
Why isn't basic in the list?  :)
Add a comment...

Bruce Lowther

Shared publicly  - 
 
Who can't appreciate a cat in a box?
1
Greg Kelley's profile photo
 
Cat ownz the interwebz. You, human, are under my control.
Add a comment...
 
Good article to show to upper management in the value of learning #R.

Thanks to one company, the same code that is revolutionizing the scientific community is now moving up the ranks of the business world.
11
2
Dainius Happy's profile photoGEOTECH INGENIERÍA Y DESARROLLO S.R.L.'s profile photo
Add a comment...

Bruce Lowther

➥ How-tos & learning  - 
 
Problem: how to affix twenty #leds to a heat sink? Well maybe epoxy with thermal heat transfer properties! Does such a substance exist?

Yes!


Arctic Alumina Thermal Adhesive 5g https://www.amazon.com/dp/B0009IQ1BU/ref=cm_sw_r_awd_YfFevb0NECW5C
5
Linden Darling's profile photoMichael Horn's profile photoBruce Lowther's profile photo
4 comments
 
+Michael Horn 
Excellent!  I'll check this out.  Thank you for your comments
Add a comment...
People
Education
  • University of Idaho
    Masters Computer Science, 1991 - 1993
  • University of Idaho
    BS Computer Science, 1986 - 1991
Basic Information
Gender
Male
Story
Tagline
Software Engineer turned Industrial Engineer
Introduction
Software Engineer.  Aspirations for becoming a good Industrial Engineer.  Want to use statistics to make things normal.
Bragging rights
Ran my first Half Marathon, Ran the Ragnar Relay, Logged almost 500 Miles running in 2011.
Work
Occupation
Industrial Engineer/Software Engineer
Employment
  • Micron Technology
    Industrial Engineer/Software Engineer, 2010 - present
  • Micron Technology
    Software Engineer (Fellow), 1993 - 2005
  • Computer Sciences Corporation
    Software Engineer, 2005 - 2006
  • Micron Technology
    Software Engineer, 2006 - 2010
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
Bristow, Va
Previously
Richmond Hill, Ga - Boise, Idaho
Links
Contributor to
Bruce Lowther's +1's are the things they like, agree with, or want to recommend.
Beer with Strangers Episode 50
beerwithstrangers.blogspot.com

Welcome to Beer with Strangers. This week's guests are Tin Cannon Brewing owners John Hilkert and Aaron Ludwig. Scroll down for the week's s

LinkedIn Status
downrightnow.com

See if LinkedIn is down for other users. downrightnow monitors user reports and official announcements to detect LinkedIn outages automatica

RDataMining.com: R and Data Mining
www.rdatamining.com

Examples, documents and resources on Data Mining with R, incl. decision trees, clustering, outlier detection, time series analysis, associat

Setting USB Permissions for USBtinyISP in Fedora
www.micahcarrick.com

How to create a udev rule for the USBtinyISP AVR programmer in Fedora Linux.

A mighty contest
www.economist.com

“OUR ROBOTS PUT people to work,” says the rejected slogan still on the whiteboard in Rodney Brooks’s office. It was meant to convey the beli

Cities in motion: how slime mould can redraw our rail and road maps
www.theguardian.com

Researchers use organism's search for food to work out efficient transport routes, divert around floods and even imitate rush hour

Arduino Bluetooth Temperature &amp; Humidity Sensor - Open Home Automation
www.openhomeautomation.net

Bluetooth devices are widely used in many consumers products, and many Arduino-compatible projects that were funded on Kickstarter are using

How I Hacked My Husband's Programming Addiction
www.huffingtonpost.ca

There are worse things he could be addicted to. It could have been drugs, sex, porn, or the Candy Crush Saga. With my husband, who is a stra

California regulator seeks to shut down ‘learn to code’ bootcamps
www.datasciencecentral.com

If you provide online training, it's very easy to move your business out of California. None of these regulators are qualified to assess whe

This Guy Needs To Be Fired
www.forbes.com

It is dusk on a Friday evening. Liz is sitting in an office, staring intently at a computer screen. She is reading recipes online. RRRRRRRRR

As Google Shoots For The Moon, Microsoft Praises The Virtues Of Open Res...
techcrunch.com

A few days ago, Google unveiled its latest moon shot: a contact lens with a built-in glucose sensor. As far as Google[x] projects go, the le

Six categories of Data Scientists
www.datasciencecentral.com

We are now at 8 categories after a few updates. Just like there are a few categories of statisticians (biostatisticians, statisticians, econ

Table Variables In T-SQL
odetocode.com

Microsoft introduced table variables with SQL Server 2000 as an alternative to using temporary tables. In many cases a table variable can ou

507 Mechanical Movements
507movements.com

Five Hundred and Seven Mechanical Movements, now Animated for the Internet.

Eagle Ground Plane Design - Build Electronic Circuits
www.build-electronic-circuits.com

Designing an Eagle ground plane is very simple. It is done by using the Polygon tool. Here I will show you the 3 simple steps needed.

The burger pager
www.windytan.com

A multinational burger chain has a restaurant nearby. One day I (exceptionally) went there and ordered a take-away burger that was not readi

Burn Arduino bootloader using Pocket AVR programmer - SEO, SEM, Web, eCo...
sree.cc

You can burn the Arduino bootloader into your new atmega chip simply by using your Arduino board and Pocket AVR programmer . Steps to burn A

Second floor of a nondescript building. Very nice little restaurant with a nice atmosphere. I saw others visiting this place while in the area and I followed my nose to find it. The wait staff found a hand translated english menu for us. The food was very good. Beef fillet was nicely done and presentation was good. Spiced with some garlic and pepper. Will probably return back there before I leave.
Public - 4 months ago
reviewed 4 months ago
Very authentic Japanese sushi restaurant. We sat at the counter. The food was very good and very fresh. We made a reservation.
Public - 4 months ago
reviewed 4 months ago
Excellent food. Very well prepared with wonderful wait staff. I found the food very flavorful but not overly salty.. Much better food that what you will find in the chain restaurants that surround this place. The crab cake appetizer was delicious. Made with large chunks of crab and gently seasoned. It was light enough that you could really taste the crab. I had the halibut broiled and my wife had a small steak. We finished off with the chocolate pecan pie and apple pie ala mode. This was an excellent break for us.
• • •
Public - 4 years ago
reviewed 4 years ago
4 reviews
Map
Map
Map
Yikes. Air fresheners every 2 feet on the wall and still a musty wet dog smell permeates.
Public - a year ago
reviewed a year ago