LUG Community Blogs

Steve Kemp: This blog has moved

Planet HantsLUG - Fri, 29/07/2016 - 19:30
This blog has moved to https://blog.steve.fi/. Please update to use the new feed location.
Categories: LUG Community Blogs

Debian Bits: Looking for the artwork for the next Debian release

Planet HantsLUG - Fri, 29/07/2016 - 18:15

Each release of Debian has a shiny new theme, which is visible on the boot screen, the login screen and, most prominently, on the desktop wallpaper.

Debian plans to release Stretch next year. As ever, we need your help in creating its theme! You have the opportunity to design a theme that will inspire thousands of people while working in their Debian systems.

They might be people working in exciting NASA missions:

Or DYI users who decided to make a matching keyboard:

If you're interested, please take a look at https://wiki.debian.org/DebianDesktop/Artwork/Stretch

Categories: LUG Community Blogs

Steve Kemp: This blog has moved

Planet HantsLUG - Thu, 28/07/2016 - 19:30
This blog has moved to https://blog.steve.fi/. Please update to use the new feed location.
Categories: LUG Community Blogs

Steve Kemp: This blog has moved

Planet HantsLUG - Wed, 27/07/2016 - 19:30
This blog has moved to https://blog.steve.fi/. Please update to use the new feed location.
Categories: LUG Community Blogs

4:30am. What’s not to like!

Planet SurreyLUG - Wed, 27/07/2016 - 05:30

You can drink tea, work in peace and quiet … and feel your eyes burn!  What’s not to like about 4:30am!

#work #coding #php

The post 4:30am. What’s not to like! appeared first on dowe.io.

Categories: LUG Community Blogs

Steve Kemp: This blog has moved

Planet HantsLUG - Tue, 26/07/2016 - 19:30
This blog has moved to https://blog.steve.fi/. Please update to use the new feed location.
Categories: LUG Community Blogs

Nintendo-Sony SNES-CD Hybrid

Planet SurreyLUG - Tue, 26/07/2016 - 09:24

http://arstechnica.co.uk/gaming/2016/07/nintendo-playstation-hands-on/

The internet’s been alive with this story for a few days, so I’m late to the party.  But it finally reveals what we suspected existed for so long.

The post Nintendo-Sony SNES-CD Hybrid appeared first on dowe.io.

Categories: LUG Community Blogs

Steve Kemp: This blog has moved

Planet HantsLUG - Mon, 25/07/2016 - 19:30
This blog has moved to https://blog.steve.fi/. Please update to use the new feed location.
Categories: LUG Community Blogs

Steve Kemp: This blog has moved

Planet HantsLUG - Sun, 24/07/2016 - 19:30
This blog has moved to https://blog.steve.fi/. Please update to use the new feed location.
Categories: LUG Community Blogs

Steve Kemp: This blog has moved

Planet HantsLUG - Sat, 23/07/2016 - 19:30
This blog has moved to https://blog.steve.fi/. Please update to use the new feed location.
Categories: LUG Community Blogs

Steve Kemp: This blog has moved

Planet HantsLUG - Fri, 22/07/2016 - 19:30
This blog has moved to https://blog.steve.fi/. Please update to use the new feed location.
Categories: LUG Community Blogs

Steve Kemp: This blog has moved

Planet HantsLUG - Thu, 21/07/2016 - 19:30
This blog has moved to https://blog.steve.fi/. Please update to use the new feed location.
Categories: LUG Community Blogs

Chris Lamb: Python quirk: Signatures are evaluated at import time

Planet ALUG - Thu, 21/07/2016 - 12:07

Every Python programmer knows to avoid mutable default arguments:

def fn(mutable=[]): mutable.append('elem') print mutable fn() fn() $ python test.py ['elem'] ['elem', 'elem']

However, many are not clear that this is due to arguments being evaluated at import time, rather than the first time the function is evaluated.

This results in related quirks such as:

def never_called(error=1/0): pass $ python test.py Traceback (most recent call last): File "test.py", line 1, in <module> ZeroDivisionError: integer division or modulo by zero

... and an—implementation-specific—quirk caused by naive constant folding:

def never_called(): 99999999 ** 9999999 $ python test.py [hangs]

I suspect that this can be used as denial-of-service vector.

Categories: LUG Community Blogs

Steve Kemp: This blog has moved

Planet HantsLUG - Wed, 20/07/2016 - 19:30
This blog has moved to https://blog.steve.fi/. Please update to use the new feed location.
Categories: LUG Community Blogs

Steve Kemp: This blog has moved

Planet HantsLUG - Tue, 19/07/2016 - 19:30
This blog has moved to https://blog.steve.fi/. Please update to use the new feed location.
Categories: LUG Community Blogs

Chris Lamb: Python quirk: os.stat's return type

Planet ALUG - Tue, 19/07/2016 - 11:20
import os import stat st = os.stat('/etc/fstab') # __getitem__ x = st[stat.ST_MTIME] print((x, type(x))) # __getattr__ x = st.st_mtime print((x, type(x))) (1441565864, <class 'int'>) (1441565864.3485234, <class 'float'>)
Categories: LUG Community Blogs

Hey (Google) Drive, what is it good for?

Planet SurreyLUG - Tue, 19/07/2016 - 09:51

Absolutely nothing.  Say it again!  Nothing apart from pegging the CPU on #macOS, anyway.  Gotta love #GoogleDrive !

 

The post Hey (Google) Drive, what is it good for? appeared first on dowe.io.

Categories: LUG Community Blogs

Steve Kemp: This blog has moved

Planet HantsLUG - Mon, 18/07/2016 - 19:30
This blog has moved to https://blog.steve.fi/. Please update to use the new feed location.
Categories: LUG Community Blogs

Steve Kemp: This blog has moved

Planet HantsLUG - Sun, 17/07/2016 - 19:30
This blog has moved to https://blog.steve.fi/. Please update to use the new feed location.
Categories: LUG Community Blogs
Syndicate content