[GTALUG] GameShell: The Hackable Handheld Retro Gaming System

2017-11-14 Thread Scott Elcomb via talk
Thought this might be of interest to some on the list.

"GameShell is the world's first modular, portable game console with a
GNU/LINUX embedded operating system. It allows you to play thousands
of classic games from Atari, GB, GBA, NES, SNES and many of history’s
greatest consoles."

It has a modular gameboy-like form factor based on Clockwork Pi (Quad
Core A7), 512MB RAM and a 2.7in RGB display.  The expected delivery
date is in April 2018.  The Super Early Bird price is $89.00 (+ $10.00
for shipping to Canada) which is about $50 less than the expected
retail price.



-- 
  Scott Elcomb @psema4
 http://www.pirateparty.ca/
---
Talk Mailing List
talk@gtalug.org
https://gtalug.org/mailman/listinfo/talk


Re: [GTALUG] BASH on Android OS

2017-10-30 Thread Scott Elcomb via talk
Consider this another vote for Termux.  I have not tried starting
anything on boot but termux-boot looks like what you'll want

 via



"When developing (or packaging), note that this app needs to be signed
with the same key as the main Termux app in order to have the
permission to execute scripts."

I'm not sure about how to handle the signing (perhaps you'll need to
build your own copy of Termux) - may be worth asking via


On Sun, Oct 29, 2017 at 4:37 PM, William Porquet via talk
 wrote:
> You may want to look into Termux for Android. Free download, gives you a
> full Debian bash shell with capacity to use apt-get for installing extra
> packages.
>
> https://termux.com
>
> I'm not sure how to get Termux to load on login (that's more of an Android
> expert question), but once Termux does launch, you could easily add a
> startup script to Termux's bash (.login I think?).
>
> Anyone know how to make Android start a program automatically?
>
> Hope this helps,
> William
> --
> William Porquet, porq...@gmail.com
> "Tout choses sont dites dèja, mais comme personne n'écoute, il faut toujours
> récommencer." - André Gide
>
> On 28 Oct 2017 11:42 p.m., "R360 Design INC via talk" 
> wrote:
>
> Hello everybody,
>
> Where can we find Bash scripting guide specifically for Android devices?
> Ideally we will create Bash scripts that automatically execute when we turn
> on the Android device.
>
>
> --
> r360design.ca
>
> ---
> Talk Mailing List
> talk@gtalug.org
> https://gtalug.org/mailman/listinfo/talk
>
>
>
> ---
> Talk Mailing List
> talk@gtalug.org
> https://gtalug.org/mailman/listinfo/talk
>



-- 
  Scott Elcomb @psema4
 http://www.pirateparty.ca/
---
Talk Mailing List
talk@gtalug.org
https://gtalug.org/mailman/listinfo/talk


Re: [GTALUG] Programming Atmel Microprocessor from Linux

2017-09-29 Thread Scott Elcomb via talk
On Fri, Sep 29, 2017 at 1:47 PM, Peter Hiscocks via talk
 wrote:
> Thanks, Kevin. Noted.
>
> If you give me a URL, I'll have a look at it.

Going out on a limb I'm going to guess it's this one... First result
in my search for "Raspberry Atmel" turned up this project (by "Kevin"
from Canada): 

-- 
  Scott Elcomb @psema4
 http://www.pirateparty.ca/
---
Talk Mailing List
talk@gtalug.org
https://gtalug.org/mailman/listinfo/talk


Re: [GTALUG] Hashbang syntax in bash script [was: Watching a network folder: is there a smart way of doing this?\

2017-03-02 Thread Scott Elcomb via talk
On Thu, Mar 2, 2017 at 8:39 AM, Jamon Camisso via talk <talk@gtalug.org> wrote:
> On 01/03/17 20:53, Scott Elcomb via talk wrote:
>> On Wed, Mar 1, 2017 at 5:41 AM, William Park via talk <talk@gtalug.org> 
>> wrote:
>>> If you know /bin/bash is the right location, then use /bin/bash.  If
>>> not, let 'env' find it.
>>
>> Basically this; I've been bitten a couple times with a missing
>> /bin/bash (though never /bin/sh)
>>
>> Picked the trick up a few years ago (not sure where) and never looked back.  
>> :-)
>
> Question: if /bin/bash doesn't exist, but it is defined via an env
> variable, what kind of system sets things up such that /bin/bash doesn't
> exist?
>
> I use /usr/bin/env for most things, but not for bash. Just
> curious/looking for a compelling reason to adopt it in future scripts.

It may have been a Cygwin instance, but tbh I just don't recall in
which environment I first encountered the issue.

In my day-to-day tasks, I spend lots of time in mixed environments,
managing systems with components that run across Linux, OSX and
Windows.  Additionally, there's a fair amount of time playing &
learning in other operating systems (BSD's, Plan 9, hobbyist OS's,
etc) as well.

-- 
  Scott Elcomb @psema4
 http://www.pirateparty.ca/
---
Talk Mailing List
talk@gtalug.org
https://gtalug.org/mailman/listinfo/talk


Re: [GTALUG] Hashbang syntax in bash script [was: Watching a network folder: is there a smart way of doing this?\

2017-03-01 Thread Scott Elcomb via talk
> On Wed, Mar 01, 2017 at 04:09:11AM -0500, Bob Jonkman via talk wrote:
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA1
>>
>> Hi Scott: Why do this:
>>
>> #!/usr/bin/env bash
>>
>> and not the usual
>>
>> #! /bin/bash
>>
>> ???

On Wed, Mar 1, 2017 at 5:41 AM, William Park via talk  wrote:
> If you know /bin/bash is the right location, then use /bin/bash.  If
> not, let 'env' find it.

Basically this; I've been bitten a couple times with a missing
/bin/bash (though never /bin/sh)

Picked the trick up a few years ago (not sure where) and never looked back.  :-)

-- 
  Scott Elcomb @psema4
 http://www.pirateparty.ca/
---
Talk Mailing List
talk@gtalug.org
https://gtalug.org/mailman/listinfo/talk


Re: [GTALUG] Watching a network folder: is there a smart way of doing this?

2017-02-24 Thread Scott Elcomb via talk
On Fri, Feb 24, 2017 at 9:24 PM, Stewart C. Russell via talk
 wrote:
> On 2017-02-20 12:47 AM, Aruna Hewapathirane wrote:
>>
>> Hi Stewart, you could just |watch| the file listing (adjusting n seconds
>> to whatever is suitable)
>>
>> |watch --differences -n 10 ls -l |
>
> I hadn't heard of watch before, so thanks! watch *started* to work
> really well, but then went into a terminal sulk after the FS disappeared
> during a scan, and refused to show any updates. It's also an interactive
> program, so doesn't pipe or notify changes in any useful way.
>
> I suspect I'll just have to go with William Park's suggestion of using
> rsync to a local folder that I have more control over. I still have to
> correct for the scanner FS's wandering clock, but that's less important.

Here's a quick and dirty bash script similar to the watch command;
adjust to taste. :-)

[- watchdir.sh snippet starts -]

#!/usr/bin/env bash
#
# USAGE
# watchdir.sh  
#


# Determine our sampling rate
WATCHRATE=${1}

if [[ "" = "${WATCHRATE}" ]]; then
WATCHRATE=10
fi

# Determine our watch directory
WATCHDIR=${2}

if [[ "" = "${WATCHDIR}" ]]; then
WATCHDIR="."
fi

# Describe what we're doing
echo "Watching ${WATCHDIR} every ${WATCHRATE}s:"

# Render a side-by-side comparison with last snapshot of our directory
# note: assumes at least one snapshot already exists
function sample_watchdir {
cp .current .previous
date > .current
ls -l ${WATCHDIR} >> .current
echo ""
diff -y .current .previous
}

# Begin watching
date > .current
ls -l ${WATCHDIR} >> .current
sample_watchdir

# Every WATCHRATE seconds, make the current file listing our previous
#   listing, take a fresh look at WATCHDIR and compare the changes
while sleep ${WATCHRATE}; do
sample_watchdir
done

[- watchdir.sh snippet ends -]

-- 
  Scott Elcomb @psema4
 http://www.pirateparty.ca/
---
Talk Mailing List
talk@gtalug.org
https://gtalug.org/mailman/listinfo/talk


Re: [GTALUG] OT - the heuristics of privacy

2016-10-09 Thread Scott Elcomb via talk
On Thu, Sep 22, 2016 at 11:47 AM, Russell Reiter via talk
 wrote:
> Interesting tech news about Stingray surveillance. I wonder if there is some
> way to detect that an intruder has captured your signal. You can test for
> capture and cause them to power down by having someone near you call 911.
> Apparently authorities have to let EMS calls access the real network. I
> think black hats umm not so much.
>
> http://www.cbc.ca/beta/news/technology/government-surveillance-rules-rcmp-csis-1.3769014

It'd be interesting to see what an open monitoring network might
reveal.  Here's a Raspberry Pi - Stingray Detector that uses a
Raspberry Pi along with a SIM 900 module to monitor local cell towers:



-- 
  Scott Elcomb @psema4
 http://www.pirateparty.ca/
---
Talk Mailing List
talk@gtalug.org
https://gtalug.org/mailman/listinfo/talk


Re: [GTALUG] [GTALUG-Announce] Meeting Tonight at 7:30pm

2016-08-09 Thread Scott Elcomb via talk
On Aug 9, 2016 2:33 PM, "hi--- via talk"  wrote:
>
> 
>
> # On Disruption & Killer Apps with Scott Elcomb

My apologies all, I'm running about 15-20 minutes late - will be there
shortly!

Best,
- Scott
---
Talk Mailing List
talk@gtalug.org
https://gtalug.org/mailman/listinfo/talk


Re: [GTALUG] cheap Raspberry Pi, today only

2016-08-05 Thread Scott Elcomb via talk
> The case that comes part of the kit is wonderfully straightforward and
> simple (though I will always have a soft spot for the hand-done ones Scott
> made some years back.

Scott's cases were the best when I picked up my first pi's, still
using a couple around the house.  Here's one playing dev server:


I've not grabbed any Pi 3's yet but do have a 2 - and successfully ran
some WebGL test scenes exported from Unity 3D. Great little machines.
=D

-- 
  Scott Elcomb @psema4
 http://www.pirateparty.ca/
---
Talk Mailing List
talk@gtalug.org
https://gtalug.org/mailman/listinfo/talk