tag:blogger.com,1999:blog-76855132024-03-13T03:29:51.633+00:00Muddle-Headed Memes and MusingsTá Wombat ina cónaí in Iardheisceart Thír Chonaill, le cúpla alpaca. Thósaigh sí <a href="http://www.nualeargais.ie">Nualéargais</a> cláranna Ghaeilge a fhorbairt. Is linux geek í, agus is fearr lei Gentoo. Nuair a bhíonn an t-am aici, déanann sí taighde ag plé le AI agus cognition.Muddle-headed Wombathttp://www.blogger.com/profile/03615793782263571255noreply@blogger.comBlogger183125tag:blogger.com,1999:blog-7685513.post-8419253362809294682012-07-03T13:20:00.003+01:002012-07-03T13:22:04.308+01:00Raspberry Pi<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-0C3HO2GSv4U/T_Lji1zLOuI/AAAAAAAAAEI/O2iiin1RJ6M/s1600/RaspberryPi__mms_img12771.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="315" src="http://4.bp.blogspot.com/-0C3HO2GSv4U/T_Lji1zLOuI/AAAAAAAAAEI/O2iiin1RJ6M/s320/RaspberryPi__mms_img12771.png" width="320" /></a></div>
<br />
Fuair mé Raspberry Pi cúpla lá ó shin.<br />
<br />
<i>I got a Raspberry Pi a few days ago.</i>Muddle-headed Wombathttp://www.blogger.com/profile/03615793782263571255noreply@blogger.com0tag:blogger.com,1999:blog-7685513.post-64404998905278715352011-07-28T09:59:00.000+01:002011-07-28T09:59:15.501+01:00gan trácht<div class="separator" style="clear: both; text-align: center;"><a href="http://4.bp.blogspot.com/-2RCOIZb3Aek/TjEjirFHu0I/AAAAAAAAAC0/PEMHnAO3uBQ/s1600/wombatCoatOfArms.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="http://4.bp.blogspot.com/-2RCOIZb3Aek/TjEjirFHu0I/AAAAAAAAAC0/PEMHnAO3uBQ/s320/wombatCoatOfArms.png" width="284" /></a></div>Muddle-headed Wombathttp://www.blogger.com/profile/03615793782263571255noreply@blogger.com0tag:blogger.com,1999:blog-7685513.post-1768042148844000642011-03-14T00:11:00.000+00:002011-03-14T00:11:02.624+00:00créatúir saorgaTá rath ar mo chuid créatúir saorga. Tá siad ag ithe, ag cúpláil, agus ag fuascailt fadhbanna. Beidh muid réidh smacht a chur ar an domhain gan mhoill. Mwah ha ha ha!<br />
<br />
Ach ar dtús, caithfidh mé scríobh mo thráchtas agus cúpla páipéar.<br />
<br />
<br />
<i>My little a-life creatures are thriving. They're eating, mating, and solving puzzles. We'll be ready to take over the world soon. Mwah ha ha ha!</i><br />
<i><br />
</i> <br />
<i>But first, I've a thesis and a couple of papers to write.</i>Muddle-headed Wombathttp://www.blogger.com/profile/03615793782263571255noreply@blogger.com0tag:blogger.com,1999:blog-7685513.post-16154673170555909532010-12-10T19:17:00.000+00:002010-12-10T19:17:43.132+00:00Taipéis Deas<div class="separator" style="clear: both; text-align: center;"><a href="http://1.bp.blogspot.com/_TWWvxo6TOv4/TQJ7ZxtWTMI/AAAAAAAAACo/8_MfWhMKY8A/s1600/spongebob_tapestry.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="http://1.bp.blogspot.com/_TWWvxo6TOv4/TQJ7ZxtWTMI/AAAAAAAAACo/8_MfWhMKY8A/s1600/spongebob_tapestry.png" /></a></div>Muddle-headed Wombathttp://www.blogger.com/profile/03615793782263571255noreply@blogger.com2tag:blogger.com,1999:blog-7685513.post-77442475872891266622010-11-14T13:02:00.002+00:002010-11-14T15:17:56.149+00:00OpenDNS - Treoir Gearr do Usáideorí Debian<table><col style="border-right: 20px none;" valign="top" width="50%"></col> <col style="border-left: 20px none;" valign="top" width="50%"></col> <tbody>
<tr> <td valign="top"><br />
<b>OpenDNS - Treoir Gearr do Usáideorí Debian</b></td> <td valign="top"><br />
<b>OpenDNS - Quick Start for Debian Users</b></td> </tr>
<tr> <td valign="top"><br />
Tá na treoracha seo níos giorra ná <a href="http://mhwombat.blogspot.com/2008/11/opendns-treoir-gearr-do-usideor-gentoo.html">na cinn Gentoo</a>.De gnáth, caithfidh tú /etc/resolv.conf a chur in eagar, agus deimhnigh ní athróidh rud ar bith é. Ach tá muid ábalta an stuif sin a fhágáil ar lar mar bheidh muid ag suiteáil <b>pdnsd</b> mar taisc DNS. Nuair a shuiteálann Debian <b>pdnsd</b>, déanann sé an stuif eile sin.</td> <td valign="top"><br />
These instructions are a lot shorter than <a href="http://mhwombat.blogspot.com/2008/11/opendns-treoir-gearr-do-usideor-gentoo.html">the ones for Gentoo users</a>. Normally you would have to edit /etc/resolv.conf, and make sure that nothing will overwrite your changes. However, we can skip all that because if you're using OpenDNS, you'll probably want a local DNS cache so your computer doesn't have to go back to OpenDNS for subsequent queries. I used <b>pdnsd</b>. When Debian installs <b>pdnsd</b>, it does that other stuff for us.</td> </tr>
<tr> <td valign="top"><br />
<b>1. Suiteáil pdnsd.</b></td> <td valign="top"><br />
<b>1. Install pdnsd.</b></td> </tr>
<tr> <td colspan="2" style="padding-left: 40px;" valign="top"><br />
<pre>aptitude install pdnsd</pre></td> </tr>
<tr> <td valign="top"><br />
Roghnaigh "manual" mar "pdnsd configuration method".</td> <td valign="top"><br />
When asked to select the pdnsd configuration method, choose "manual".</td> </tr>
<tr> <td valign="top"><br />
<b>2. Cumraigh pdnsd.</b></td> <td valign="top"><br />
<b>2. Configure pdnsd.</b></td> </tr>
<tr> <td valign="top"><br />
Cuir an roinn "server" in eagair mar an sampla seo a leanas. Scrios an /* roimhe sin agus an */ ina dhiaidh sin.</td> <td valign="top"><br />
Edit the "server" section in /etc/pdnsd.conf, following the example below. Be sure to uncomment it by removing the /* before and the */ after it.</td> </tr>
<tr> <td colspan="2" style="padding-left: 40px;" valign="top"><br />
<pre>server {
label = "root-servers";
root_server=on;
ip = 208.67.222.222
, 208.67.220.220
;
timeout = 5;
uptest = query;
interval = 30m; // Test every half hour.
ping_timeout = 300; // 30 seconds.
purge_cache = off;
exclude = .localdomain;
policy = included;
preset = off;
}</pre></td> </tr>
<tr> <td valign="top"><br />
<b>3. Tosaigh pdnsd.</b></td> <td valign="top"><br />
<b>3. Start pdnsd.</b></td> </tr>
<tr> <td colspan="2" style="padding-left: 40px;" valign="top"><br />
<pre>/etc/init.d/pdnsd start</pre></td> </tr>
<tr> <td valign="top"><br />
Má bhfaigheann tú teachtaireacht mar "Could not bind tcp socket: Address already in use", b'fheidir go bhfuil named ag rith. Stop é le <tt>killall named</tt>.</td> <td valign="top"><br />
If you get messages such as "Could not bind tcp socket: Address already in use", you might have named running. Stop it with <tt>killall named</tt>.</td> </tr>
<tr> <td valign="top"><br />
<b>4. Deimhnigh go feidhmíonn sé le ceist úr.</b></td> <td valign="top"><br />
<b>4. Verify that it works for fresh queries.</b></td> </tr>
<tr> <td colspan="2" style="padding-left: 40px;" valign="top"><br />
<pre>dig www.opendns.com</pre></td> </tr>
<tr> <td valign="top"><br />
Seo toradh ceart:</td> <td valign="top"><br />
The result should look like this:</td> </tr>
<tr> <td colspan="2" style="padding-left: 40px;" valign="top"><br />
<pre>; <<>> DiG 9.4.2-P2 <<>> www.opendns.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 7419
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;www.opendns.com. IN A
;; ANSWER SECTION:
www.opendns.com. 30 IN A 208.67.219.101
;; Query time: 927 msec
;; SERVER: 208.67.220.220#53(208.67.220.220) <-- OpenDNS server
;; WHEN: Sat Nov 15 18:46:44 2008
;; MSG SIZE rcvd: 49 </pre></td> </tr>
<tr> <td valign="top"><br />
<b>5. Deimhnigh go úsáidtear sonraí thaiscthe le hathceist.</b></td> <td valign="top"><br />
<b>5. Verify that it uses cached data for repeated queries.</b></td> </tr>
<tr> <td valign="top"><br />
Eisigh an ceist céanna dig (dig www.opendns.com) faoi dhó, agus breathnaigh ar an líne <tt>;; Query time:</tt>. An darna uair ba cheart do beagnach ar an toirt mar tá an eolas sa taisc cheana féin.</td> <td valign="top"><br />
Run the same dig query (dig www.opendns.com) again, and look for the <tt>;; Query time:</tt> line. The second time it should be nearly instantaneous because the information is already in the cache.</td> </tr>
</tbody></table>Muddle-headed Wombathttp://www.blogger.com/profile/03615793782263571255noreply@blogger.com0tag:blogger.com,1999:blog-7685513.post-37292651030447062562010-11-13T22:32:00.003+00:002010-11-13T23:47:42.650+00:00Blúire Téacs ar Linux, le feidhmchlár ar bithSeo cúpla script a dhéanamh blúire téacs ar Linux, le feidhmchlár ar bith. Ní gá leat ach ceann amháin acu. Léigh na nótaí tráchta le roghnaigh.<br />
<i>Here are a couple of scripts that implement text snippets in Linux, in any application. You only need one of them. Read the comments to decide which is best for you.</i><br />
<br />
<b>snippy</b><br />
<pre>#!/bin/bash
#
# Based on "snippy" by "sessy"
# (https://bbs.archlinux.org/viewtopic.php?id=71938)
#
# You will also need "dmenu", "xsel" and "xdotool". Get them from your linux
# distro in the usual way.
#
# To use:
# 1. Create the directory ~/.snippy
#
# 2. Create a file in that directory for each snippet that you want.
# The filename will be used as a menu item, so you might want to
# omit the file extension when you name the file.
#
# TIP: If you have a lot of snippets, you can organise them into
# subdirectories under ~/.snippy.
#
# TIP: The contents of the file will be pasted asis, so if you
# don't want a newline at the end when the text is pasted, don't
# put one in the file.
#
# 3. Bind a convenient key combination to this script.
#
# TIP: If you're using XMonad, add something like this to xmonad.hs
# ((mod4Mask, xK_s), spawn "/path/to/snippy")
#
DIR=${HOME}/.snippy
DMENU_ARGS="-b -nf green -nb black -sf yellow -sb black"
XSEL_ARGS="--clipboard --input"
cd ${DIR}
# Use the filenames in the snippy directory as menu entries.
# Get the menu selection from the user.
FILE=`find . -type f | grep -v '^\.$' | sed 's!\.\/!!' | /usr/bin/dmenu ${DMENU_ARGS}`
if [ -f ${DIR}/${FILE} ]; then
# Put the contents of the selected file into the paste buffer.
xsel ${XSEL_ARGS} < ${DIR}/${FILE}
# Paste into the current application.
xdotool key ctrl+v
fi
</pre>
<hr><b>snippy1line</b>
<pre>#!/bin/bash
#
# Based on "snippy" by "sessy"
# (https://bbs.archlinux.org/viewtopic.php?id=71938)
#
# This version may be more convenient for people who only need
# one-line snippets, because all your snippets can go in one file.
#
# You will also need "dmenu", "xsel" and "xdotool". Get them from your linux
# distro in the usual way.
#
# To use:
# 1. Create a file in your home directory called ".snippyrc".
#
# 2. The format of the file is shown below:
#
# [tag] text_to_paste
#
# Where "[tag]" starts in column 1. For example:
#
# [hw] Hello, world!
# [wombatSmilie] [img]http://nualeargais.ie/pictiuir/emoticons/wombatSmilie.gif[/img]
#
# 3. Bind a convenient key combination to this script.
#
# TIP: If you're using XMonad, add something like this to xmonad.hs
# ((mod4Mask, xK_s), spawn "/path/to/snippy")
#
CONFIG=${HOME}/.snippyrc
DMENU_ARGS="-b"
XSEL_ARGS="--clipboard"
# Display the menu and get the selection
SELECTION=`sed 's/\].*/]/' ${CONFIG} | /usr/bin/dmenu ${DMENU_ARGS}`
# Strip out the square brackets...
PATTERN=`echo ${SELECTION} | tr -d "[]"`
# ...and put them back in, escaped with a backslash.
# Get the text associated with the selection.
TEXT=`grep "\[${PATTERN}\]" ~/.snippets | sed "s/\[${PATTERN}\] //"`
if [ "${TEXT}" ]; then
# Put the selected string (without the trailing newline) into the paste buffer.
echo -n ${TEXT} | xsel ${XSEL_ARGS}
# Paste into the current application.
xdotool key ctrl+v
fi
</pre>Muddle-headed Wombathttp://www.blogger.com/profile/03615793782263571255noreply@blogger.com0tag:blogger.com,1999:blog-7685513.post-6151298689503490272010-11-13T17:03:00.004+00:002010-11-16T01:09:41.918+00:00Haskell daemon, cuid a dóD'athfhachtóirigh (<i>refactored</i>) mé an cód:<br />
<br />
<span style="font-weight: bold;">Daemon.hs</span><br />
<br />
<pre>module Daemon where
import System.Exit
import System.IO.Unsafe
import System.Posix.Signals
import Control.Concurrent
class DaemonState a where
initialise :: IO a
work :: a -> IO a
finalise :: a -> IO ()
termReceived = unsafePerformIO (newMVar False)
handleTERM :: IO ()
handleTERM = swapMVar termReceived True >> return ()
loop :: (DaemonState a) => a -> IO (Maybe a)
loop d = do
timeToStop <- readMVar termReceived
if timeToStop
then finalise d >> return Nothing
else work d >>= loop
start :: (DaemonState a) => IO (Maybe a)
start = installHandler sigTERM (Catch handleTERM) Nothing >> initialise >>= loop
</pre><br />
<hr /><br />
Seo úsáid samplach: <br />
<span style="font-weight: bold;">Main.hs</span><br />
<pre>module Main where
import Daemon
instance DaemonState Int where
initialise = do
putStrLn "Starting up"
return 0
work i = do
putStrLn (show i)
return (i+1)
finalise i = do
putStrLn "Shutting down"
return ()
main = start :: IO (Maybe Int)
</pre>Muddle-headed Wombathttp://www.blogger.com/profile/03615793782263571255noreply@blogger.com0tag:blogger.com,1999:blog-7685513.post-15000558465774808852010-11-12T20:12:00.004+00:002010-11-12T23:47:55.071+00:00Haskell daemonSeo sampla daemon Haskell:<br /><br /><pre><br /><span style="font-family: courier new;">import System.Exit</span><br /><span style="font-family: courier new;">import System.IO.Unsafe</span><br /><span style="font-family: courier new;">import System.Posix.Signals</span><br /><span style="font-family: courier new;">import Control.Concurrent</span><br /><br /><span style="font-family: courier new;">termReceived = unsafePerformIO (newMVar False)</span><br /><br /><span style="font-family: courier new;">handleTERM :: IO ()</span><br /><span style="font-family: courier new;">handleTERM = do</span><br /><span style="font-family: courier new;"> swapMVar termReceived True</span><br /><span style="font-family: courier new;"> return ()</span><br /><br /><span style="font-family: courier new;">wrapup :: IO ()</span><br /><span style="font-family: courier new;">wrapup = do</span><br /><span style="font-family: courier new;"> -- Shut down cleanly</span><br /><span style="font-family: courier new;"> putStrLn "shutting down"</span><br /><span style="font-family: courier new;"> return ()</span><br /><br /><span style="font-family: courier new;">doWork :: IO ()</span><br /><span style="font-family: courier new;">doWork = do</span><br /><span style="font-family: courier new;"> -- For now, just pretend we're doing something</span><br /><span style="font-family: courier new;"> putStrLn "working"</span><br /><span style="font-family: courier new;"> threadDelay 20000</span><br /><br /><span style="font-family: courier new;">loop :: IO ()</span><br /><span style="font-family: courier new;">loop = do</span><br /><span style="font-family: courier new;"> timeToStop <- readMVar termReceived</span><br /><span style="font-family: courier new;"> if timeToStop</span><br /><span style="font-family: courier new;"> then wrapup</span><br /><span style="font-family: courier new;"> else do </span><br /><span style="font-family: courier new;"> doWork</span><br /><span style="font-family: courier new;"> loop</span><br /><br /><br /><span style="font-family: courier new;">main = do</span><br /><span style="font-family: courier new;"> installHandler sigTERM (Catch handleTERM) Nothing</span><br /><span style="font-family: courier new;"> loop</span><br /></pre>Muddle-headed Wombathttp://www.blogger.com/profile/03615793782263571255noreply@blogger.com3tag:blogger.com,1999:blog-7685513.post-81954585588109091262010-11-12T18:10:00.003+00:002010-11-12T18:16:33.298+00:00Údaraigh cabal pacáistí a shuiteáil go huilíoch mar réamhshocrú(Turn on --global by default in <span style="font-weight:bold;">cabal</span>)<br /><br />Cuir ~/.cabal/config in eagar<br /><br /> user-install: False<br /> root-cmd: sudoMuddle-headed Wombathttp://www.blogger.com/profile/03615793782263571255noreply@blogger.com0tag:blogger.com,1999:blog-7685513.post-9338273910910439832010-11-12T18:03:00.004+00:002010-11-12T18:10:02.045+00:00Cuir úsáideoir le liosta "sudoers"Mar root, clóscríobh <span style="font-weight:bold;">visudo</span><br /><br />Scrollaigh go:<br /><br /><span style="font-weight:bold;">root ALL=(ALL) ALL<br /><span style="font-style:italic;">user</span> ALL=(ALL) ALL</span> <-- Clóscríobh an líne seoMuddle-headed Wombathttp://www.blogger.com/profile/03615793782263571255noreply@blogger.com0tag:blogger.com,1999:blog-7685513.post-69348263583835916292010-11-12T16:28:00.004+00:002010-11-15T01:43:03.878+00:00aptitude install git doesn't!Nach sílfeá gurb é an rud a dhéanfadh an t-ordú <span style="font-weight:bold;">aptitude install git</span> ná <span style="font-weight:bold;">git</span> a shuiteáil? Bhuel, ní bheadh an ceart agat. Ina áit sin, cuir an líne seo le <span style="font-weight:bold;">/etc/apt/sources.list</span>:<br />
<br />
<span style="font-weight:bold;">deb http://backports.debian.org/debian-backports lenny-backports main contrib non-free</span><br />
<br />
Agus ansin, clóscríobh an t-ordú seo:<br />
<br />
<span style="font-weight:bold;">aptitude -t lenny-backports install git</span><br />
<br />
<hr/><br />
<span style="font-style:italic;">Running <span style="font-weight:bold;">aptitude install git</span> on Lenny doesn't actually install git! Instead, put the following in <span style="font-weight:bold;">/etc/apt/sources.list</span>:<br />
<br />
<span style="font-weight:bold;">deb http://backports.debian.org/debian-backports lenny-backports main contrib non-free</span><br />
<br />
And then do:<br />
<br />
<span style="font-weight:bold;">aptitude -t lenny-backports install git</span></span>Muddle-headed Wombathttp://www.blogger.com/profile/03615793782263571255noreply@blogger.com0tag:blogger.com,1999:blog-7685513.post-21748081593997700122010-10-31T00:34:00.000+01:002010-10-31T00:51:47.552+01:00DebianTar éis seacht mbliana le Gentoo, tá sé in am distro nua a thriall. Gach cúpla mí, bhriseadh an shuiteáil le uasghrádú éigin, agus tá mé tinn tuirseach dé. Is maith liom an smacht atá agam le Gentoo, ach silim nach bhfuil an QA ro-mhaith le déanaí.<br /><br />Tá mé ag baint triall as Debian anois. Ba choir domh cúpla cleas Haskell Platform na linne a shuiteáil, agus XMonad na linne freisin, ach tá sé ceart go leor anois. Tá cúpla breiseáin nach bhfuil ar fáil le IceWeasel (an Firefox fork atá ar fáil le Debian de thairbe licensing issues).<br /><br />An mbeidh Debian níos fearr domh? Is maith an scéalaí an aimsir.Muddle-headed Wombathttp://www.blogger.com/profile/03615793782263571255noreply@blogger.com0tag:blogger.com,1999:blog-7685513.post-25325448764690995422010-08-17T01:36:00.003+01:002010-08-17T01:49:08.376+01:00Mwah ha ha ha!Tá mé ag dearadh scéim cóid DNA agus rialacha ceannais (dlíthe Mhendel) do mo chuid créatúir saorga. An-chraic ar fad!<br /><br /><span style="font-style:italic;">I'm designing a DNA encoding scheme and Mendellian dominance rules for my alife critters, and having a blast.</span>Muddle-headed Wombathttp://www.blogger.com/profile/03615793782263571255noreply@blogger.com0tag:blogger.com,1999:blog-7685513.post-7903189335837581872010-08-14T23:49:00.002+01:002010-08-14T23:56:05.220+01:00ceist matamaiticeAn dtugtar ainm éigin (i mBéarla) faoi uimhríocht (snámhphointe) sa raon ó náid go haon? Ba cheart dó. Bím go minic ag plé le huimhreacha mar sin.<br /><br />Is maith liom an frása "uimhríocht snámhphointe". Tá na pointí ag snámh in aigéan <br /><br /><span style="font-style:italic;">Is there a special name for (floating-point) numbers in the range 0..1?<br /></span>Muddle-headed Wombathttp://www.blogger.com/profile/03615793782263571255noreply@blogger.com0tag:blogger.com,1999:blog-7685513.post-54755672450769338402010-06-11T14:23:00.005+01:002010-06-11T14:43:14.802+01:00Peann nua, agus うFuair mé peann nua inniu. In ndáiríre, is sean-pheann é, Mabie Todd Blackbird óna tríochaidí. Tá beagán fleisc ar an gob, ina cosúil le cleiteán bídeach. Is foirfe é don scríobh Hiragana. Inniu, tá mé ag cleachtadh an tríú litir: う.<br /><br />Níl plean agam Seapáinis a foghlaim; níl suim agam ach sa chóras scríofa faoi láthair. Ansin, cén fáth go bhfuil mé ag foghlaim an aibítir gan an teanga? Tá suim agam sa chórais scríofa go ginearálta. Agus ní maith liom nach bhfuil mé ábalta na focail is logainmneacha Seapáinise a aithint a bhfuil eolas agam orthu: kawaii, kimono, Kyoto, agus mar sin de.Muddle-headed Wombathttp://www.blogger.com/profile/03615793782263571255noreply@blogger.com0tag:blogger.com,1999:blog-7685513.post-41776470653339547472010-06-11T00:10:00.006+01:002010-06-11T00:35:28.536+01:00An darna litir HiraganaD'fhoghlaim mé an darna litir Hiragana: い. Bhú hú! Tá dhá litir agam anois. Agus thart fá céad eile le fhoghlaim. Agus ansin, Katakana agus Kanji.<br /><br />Tá mé ag léamh a lán manga faoi láthair (ach i mBéarla -- ní thuigim Seapáinis). Scríobhtar iad ó dheis go clé (agus ó bhun go barr). Nuair a théim ar ais go greannán Béarla, is minic go léim iad ar an treo mí-cheart, agus ní bhím ábalta an greann a thuigbheáil!Muddle-headed Wombathttp://www.blogger.com/profile/03615793782263571255noreply@blogger.com0tag:blogger.com,1999:blog-7685513.post-64147013976154805252010-06-10T15:57:00.005+01:002010-06-11T00:16:21.003+01:00Páipéir agus PinnTá mé ar saoire an tseachtain seo. Níl mé ach chillin' sa bhaile, ach is iontach mo scíth a ligeann.<br /><br />Scríobh mé an chéad dréacht do mo chéad pháipéar an tseachtain seo chaite, agus bhí mo chomhairleoirí an-sásta leis. Is dócha go mbeidh mé ábalta é chríochnú an tseachtain seo chugainn. Ansin, caithfidh muid iris mheasúnaithe atá sásta é a chur i gcló. Tá sé ag plé le ríomhaire cláraitheoir do líonra néarach, agus tá mé ag úsáid Haskell mar shampla.<br /><br />Tá caitheadh aimsire nua agam: pinn tobair. Inniu fuair mé Sailor Sapporo, dubh le cóiriú "Rhodium", le gob 14K "F". Scríobhann sé go séimh agus go mín. Iontach deas. Tá Sailor Industrial Revolution agam freisin. Tá sé beagnach chomh deas leis an Sapporo, ach tá gob cruach aige.<br /><br />Thosaigh mé aibítir Hiragana a fhoghlaim inné. Seo an chéad litir: あ. Scríobh mé an litir thart fá caoga am, agus dá bhrí sin, tá an-aithne agam air.Muddle-headed Wombathttp://www.blogger.com/profile/03615793782263571255noreply@blogger.com0tag:blogger.com,1999:blog-7685513.post-24825810667091678982010-03-04T22:54:00.003+00:002010-04-25T17:13:59.213+01:00PeigTá "Peig" i bhfad níos fearr i mbunfhoinse na Klingon.Muddle-headed Wombathttp://www.blogger.com/profile/03615793782263571255noreply@blogger.com0tag:blogger.com,1999:blog-7685513.post-80565292484472518032010-01-08T17:03:00.009+00:002010-01-09T05:19:54.684+00:00Cúpla catagoa<p><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_TWWvxo6TOv4/S0gBYEs6QKI/AAAAAAAAACU/QmRcW92OpCY/s1600-h/DeCathairn.jpg"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 320px; height: 301px;" src="http://1.bp.blogspot.com/_TWWvxo6TOv4/S0gBYEs6QKI/AAAAAAAAACU/QmRcW92OpCY/s320/DeCathairn.jpg" alt="" id="BLOGGER_PHOTO_ID_5424587264258359458" border="0" /></a><br />Origin of photo unknown. Lolcatified by mhwombat.<br /></p><br /><br /><p><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_TWWvxo6TOv4/S0dl6RmjHiI/AAAAAAAAAB8/6pdioHCBKo4/s1600-h/dreoil%C3%ADn.jpg"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 320px; height: 226px;" src="http://2.bp.blogspot.com/_TWWvxo6TOv4/S0dl6RmjHiI/AAAAAAAAAB8/6pdioHCBKo4/s320/dreoil%C3%ADn.jpg" alt="" id="BLOGGER_PHOTO_ID_5424416328022957602" border="0" /></a><br /><br />"Mo dhreolín" photo posted on Flikr by ColKorn1982, and subsequently lolcatified by mhwombat. License: CC Attribution-Share Alike<br /></p><br /><br /><p><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_TWWvxo6TOv4/S0dmsZt3UVI/AAAAAAAAACE/0MaKD0ubKdU/s1600-h/lolcat__HPIM0017.JPG"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 320px; height: 240px;" src="http://2.bp.blogspot.com/_TWWvxo6TOv4/S0dmsZt3UVI/AAAAAAAAACE/0MaKD0ubKdU/s320/lolcat__HPIM0017.JPG" alt="" id="BLOGGER_PHOTO_ID_5424417189194584402" border="0" /></a><br />"Cat & alpaca" photo by mhwombat. License: CC Attribution-Share Alike<br /></p>Muddle-headed Wombathttp://www.blogger.com/profile/03615793782263571255noreply@blogger.com0tag:blogger.com,1999:blog-7685513.post-52419968377660697752010-01-07T23:02:00.005+00:002010-04-25T17:22:13.975+01:00tástáil bogearraí agus mo chatTá Wombat beagán cantalach anois mar tá sí díreach i ndiaidh a cuid páipéar a grádú (rang tástála do ríomhchláir), agus ní dhearna a mic léinn go maith. Yeesh! Scríobhann mo chat cód níos fearr nuair a shiúlann sí trasna an mhéarchláir!Muddle-headed Wombathttp://www.blogger.com/profile/03615793782263571255noreply@blogger.com0tag:blogger.com,1999:blog-7685513.post-76518033421709776232010-01-04T11:23:00.006+00:002010-01-04T17:05:57.203+00:00gás cócaireachta, cuid a dóDe bhrí go mbíonn na siopaí dúnta Lá Caille, d'fhán mé go foighideach go dtí an céad lá eile gás cócaireachta a cheannach. Ach níor thosaigh an charr. Níor mhaith liom cuir trioblóid ar mo comharsana, agus dá bhrí sin d'fhán mé cúpla lá eile, go dí De Luain, nuair a bheadh an garáiste oscailte. <br /><br />D'éirigh mé go luath maidin inniu, agus thosaigh mé an cithfholcadán. Ach bhí sé as feidhm freisin! Bhí mo chuid gruaige ró-shalach, agus dá bhrí sin, nigh mé mo chuid gruaige sa doirteal agus rinne mé "folctha spúinse". Ní raibh sé ró-dheas i mí Eanáir. <br /><br />Chuir mé glaoch ar an gharáiste tar éis sin, ach ní raibh siad ábalta teacht mar tá an iomarca oighir ar na bóithre. Agus ar aon chaoi, dá dheiseoidís mo charr, níor mhaith liom tiománt díreach anois. B'fhéidir go leáfaidh an oighir i gceann cúpla huaire.<br /><br />Ní raibh bia té agam le ceithre lá anuas!Muddle-headed Wombathttp://www.blogger.com/profile/03615793782263571255noreply@blogger.com0tag:blogger.com,1999:blog-7685513.post-82336993397818616172010-01-01T06:51:00.004+00:002010-01-04T17:06:38.890+00:00gás cócaireachta, cuid a haonChuaigh mé chun an siopa inné. Cheannaigh mé gach rud a bheith de dhíth orm ar feadh seachtaine, mar tá drochaimsir ann agus níor mhaith liom bheith ag tiomáint arís go luath. Chuir mé mo dinnéar sa oigheann, agus ansin... fuair mé amach go raibh an gás cócaireachta rite. Conas a déarfá arrrrrrgh!!! sa Ghaeilg?Muddle-headed Wombathttp://www.blogger.com/profile/03615793782263571255noreply@blogger.com0tag:blogger.com,1999:blog-7685513.post-12368118738711344142009-12-12T10:29:00.004+00:002009-12-12T14:50:06.370+00:00e-readerDá mbeadh níos mó airgead agam, nó dá mbeadh níos mó leabhartha teicniúla le fáil mar e-books, cheannóinn e-reader. Osna... lá amháin.Muddle-headed Wombathttp://www.blogger.com/profile/03615793782263571255noreply@blogger.com0tag:blogger.com,1999:blog-7685513.post-9250802274556000092009-12-08T04:06:00.004+00:002009-12-08T04:37:51.111+00:00Sean-nós nó seanscoil?Dia dhaoibh, agus fáilte chuig an cluiche is nua, Sean-nós nó seanscoil? Is éasca é a imirt: Abair liom gur amhrán sean-nós, nó amhrán "seanscoil" aistrithe ón Béarla. Bhuel, is amhráin Béarla iad go léir, aistrithe go maolscríobach. Mar sin de, abair liom an teidil bunaidh nó an cainteoir.<br /><br /><span style="font-weight: bold;">Amhrán #1<br /></span>Ag rolláil síos an sráid, ag caitheamh indo, ag baint súimín as jin agus sú<br />Ligthe ar ais [le m'intinn ar mo chuid airgid agus mo chuid airgid ar m'intinn]<br /><span style="font-weight: bold;"><br />Amhrán #2</span><br />Ta mé thuas sa chlub le mo 'bhalies, ag iarraidh beagán VI a fháil<br />Coinnigh síos ar an eochair íochtar é, mar tá an fhios agat caidé mar a móthann sé<br />Is ansin a chonaic mé Shorty, bhí sí ag seicéal suas orm<br />Ón an cluiche a bhí sí ag cur i mo chluas, shílfeá go raibh aithne aici orm<br />Dá bhrí sin, réitigh muid fuaraigh<br /><br />D'éirigh an caint trom. Bhí cuma uirthi go raibh sí réidh pléasc<br />Coimhéad! Coimhéad!<br />Bhí sí ag rá "goitse, goitse"<br />Mar sin de, d'éirigh mé suas agus léan mé chuig an urlár í<br />Dúirt sí "A phaiste, gabhaigí"<br />Nuair a inis mé dí, dúirt mé<br /><br />Sea (sea) Tháinig Shorty síos mé a fháil<br />Sea (sea) Bhí mé chomh beirthe, rinn mé dearmad gur inis sí domh<br />Sea (sea) Mar gheall ar go raibh an fhios ag mo chailín, ba choir duit cuir srian orm<br />Sea (sea) An céad rud eile a raibh an fhios agam faoi, bhí sí thuas ar fad orm, ag scairtú:<br /><br />Sea, sea, sea, sea, sea, sea<br />Sea, sea, sea, sea, sea, sea<br /><br />* Shorty = canúint ar "sí"<br /><br /><span style="font-weight: bold;">Amhrán #3</span><br />Seo an fáth go bhfuil mé té<br />Seo an fáth go bhfuil mé té<br />Seo an fáth<br />Seo an fáth<br />Seo an fáth go bhfuil mé té<br /><br />Tá mé té mar is cuil mé<br />Níl tú mar nach bhfuil tú<br />Seo an fáth<br />Seo an fáth<br />Seo an fáth go bhfuil mé té<br /><br /><span style="font-weight: bold;">Amhrán #4</span><br />D'iarraidh siad tabhairt orm dul chuig aonaid athshlánúcháin<br />Ach dúirt mé ní rachaidh mé, ní rachaidh, ní rachaidh<br />Bhí, bhí dubh orm, ach nuair a thiocfaidh mé ar ais<br />Ní bheith an fhios agaibh, ní bheith, ní bheith<br /><br /><span style="font-weight: bold;">Amhrán #5</span><br />glaonn sí "an tUasal Boombastach"<br />dúirt go bhfuil mé go hiontach<br />teagmhaigh le mo dhroim<br />dúirt sí go mise an tUasal Ró... ró... rómánsach<br />dúirt go bhfuil mé go hiontach<br />teagmhaigh le mo dhroim<br />slíoctha mar síoda<br /><br /><span style="font-style: italic;">Hello, and welcome to the newest game, Sean-nós nó seanscoil? It's easy to play: Tell me whether it's a sean-nós song, or an "Old Skool" style rap translated from English. Okay, they're all songs in English, roughly translated. So just tell me the title or artist.</span>Muddle-headed Wombathttp://www.blogger.com/profile/03615793782263571255noreply@blogger.com0tag:blogger.com,1999:blog-7685513.post-39447369363260340962009-12-06T00:26:00.005+00:002009-12-08T04:38:42.136+00:00Monatóir nuaCheannaigh mé monatóir níos mó (24") cúpla mí ó shin.<br /><br />Is fearr liom gach feidhmchlár a úsáid i modh lánscáileáin, agus téim eatarthu ag ALT-TABáil. Ní bhainim úsáid as leagain amach tílithe ar chor ar bith. Tá an chuid is mó de na feidhmchláir ábalta deá-úsáid a bhaint as an spás breise (tar éis giota cumraíochta). Ach fágann suíomhanna idirlíne sraith mhór spáis fholaimh, go hiondúil. (Tabhair faoi deara go mbaineann an blog seo úsáid as an spás uilig!)<br /><br />Níl sé éasca leathanaigh idirlíne a dhearadh ionas go bhfuil siad oiriúnach don gach cineál monatóra. Ba mhaith liom tacaíocht do cholúin téacs lúfair a fheiceáil i HTML, agus rudaí mar sin.<br /><br /><span style="font-style:italic;">I bought a new monitor a few months ago.<br /><br />I use all apps full-screen, and ALT-TAB between them. I almost never use tiling at all. Most apps can make good use of the extra space (after a bit of re-configuration), but most websites leave huge swaths of space unused. (Notice that this blog uses all the space!)<br /><br />It's not easy to design web pages that work well on all monitor sizes. I would like for HTML to provide support for flowing columns of text, and stuff like that.</span>Muddle-headed Wombathttp://www.blogger.com/profile/03615793782263571255noreply@blogger.com0