« first day (420 days earlier)      last day (4532 days later) » 

1:00 PM
Proudly powered by python
 
It says that your OS should take the file with that name in this current directory.
 
you need a webcam that shows the display ;)
 
@StefanoPalazzo Uhm
How do i set that one up?
Now it shows "OMFG PYTHON"
 
@WilliamHilsum Because / is the root, so you're not going from the current directory, but rather the top of the file system, it's like typing C:\Folder\Folder\File.exe only it's /Folder/Folder/File
Now, to blow your mind a little: You don't need /etc/init.d - try just service ssh stop
 
@AmithKK if you've got one lying around, that should be pretty easy
 
1:01 PM
@StefanoPalazzo I have one
 
just have a script that saves pictures to the web-server
with the same filename, then put an <img> tag on the page
 
@MarcoCeppi You're mean. :D
 
@StefanoPalazzo It will replace the image every 1 second?
 
how ever often you like
 
@MarcoCeppi and @OctavianDamiean Sorry, I get that / is root folder, but, in Windows, if I was in the directory, a local .exe file would take preference over the path - so, I just don't get why the /usr/bin/ssh is taking preference over the local ssh file
ahh... I just need to learn this, if that is how it works, that is how it works! I can't change anything - just got to adapt to it! ... need to shut up and get on!!!
 
1:04 PM
sudo apt-get install streamer
streamer -f jpeg -o ~/image.jpeg
 
@WilliamHilsum Because of ambiguity, Windows says local trumps environment. On linux, path trumps local :)
 
and have the second command run every second (or however often), either via a bash script or a cron job (I recommend the bash script)
 
@StefanoPalazzo Heh, I can haz script?
And how do i make it refrest the pic every 1 sec?
 
@WilliamHilsum Also, /usr/bin/ssh is a binary which is executed and what is inside of /etc/init.d/ is a shell script which just controls the ssh daemon. :)
 
while true; do streamer -f jpeg -o ~/image.jpeg ; sleep 2; done
 
1:07 PM
meh, beat me to it.
 
and then you can hit Ctrl+Z to put it in the background, type "bg" to make it start again, then type "disown -a" before you close the terminal, so that it will keep running
 
Could run bg too
But I don't think that disowns it
 
whoopsie, yes
corrected. Ctrl+Z will stop the process
 
O.o
Im gettting my tvtuner output
 
hehe
You just created a streaming tv service. Congratulations.
 
1:10 PM
Really, how can i do it
 
looks like streamer will just grab /dev/video0
 
I'm sure you can tell streamer which input device it should take.
 
streamer -c /dev/video1 -f jpeg -o ~/image.jpeg
this could work
 
\o/ works.
 
1:13 PM
The problem now is it turns off and turns on the webcam every second
Therefore the webcam has no time to init
 
Maybe you should increase the rate at which it takes a snapshot
 
it can turn off?
 
yes
still I get black
@MarcoCeppi Its taking one as soon as the webcam turns on(which it cant do)
 
cloning the vm seems to work, I wish there was an option to make 8 clones at once
it takes a couple of minutes
 
@MarcoCeppi Now you said that, that makes a lot of sense!
@OctavianDamiean Thanks
 
1:17 PM
@AmithKK I'm in your webcam watching you!
 
yeah.. right
 
@AmithKK try adding this to the streamer command: -s 640x480
at the very end will work, after "image.jpeg"
there you go, that works
nice!
 
Now mount the cam to be in a fixed position.
 
no unicode? :P
 
How can i increase the brightness?
 
1:24 PM
Ah, interesting
 
@StefanoPalazzo No, I cant fit all of the chars onto the SUPER small memory
 
Hmm. :(
:O Gnome-Shell!
 
@OctavianDamiean ??
 
Isn't that Gnome-Shell?
 
No, its XFCE
lol
 
1:27 PM
Oh.
 
FORTRAN time?
 
Stopped output
send
BBT
 
1:48 PM
I know i'm in AskUbuntu but is anyone here a FreeBSD junkie??
 
Oli
Anybody have any experience forwarding incoming email to one server onto an external mailbox? I've been playing around with postfix's virtual_alias_domains but this just bounces the emails (so if there's a SPF record, GMail et al drops it as spam). I'm looking for a way to forward each message as if it were sent by the server, rather than bouncing.
 
@rlemon You may want to visit Unix and Linux.
 
ahh, was looking for that site - must have scrolled right past it (I was also searching for that BSD keyword)
ok, now anyone wanna join the chat and help me out :P lol
 
i kid... well not really but kinda
 
2:10 PM
@rlemon what does one of these cost?
 
2:22 PM
Right... I have changed the IP on one machine, and done "service ssh stop" then "service ssh start" and I still can't connect in... What have I done wrong? I am pretty sure the IP is working as I can now ping it, but, I can't work out what I need to do to bind SSH to it? :/
 
2:35 PM
@WilliamHilsum Is the port open?
 
Bounty offered: How do I set my bluetooth keyboard's layout setting? http://askubuntu.com/questions/69671/how-do-i-set-my-bluetooth-keyboards-layout-setting #keyboardlayout
 
2:48 PM
Public Service Announcement: Ask Mark starts in 10 minutes, in #ubuntu-classroom and #ubuntu-classroom-chat on Freenode IRC. That's 15:00 UTC.
 
@MarcoCeppi Yes, certain it is open, I just changed the IP on three machines, and, it dropped me off of SSH instantly (of course), but, I can't seem to work out how to restart SSH on the new IP.. I am certain it is unblocked
 
3:26 PM
... I just tried changing the IP via ifconfig, but, it resets upon the machine rebooting... I thought ifconfig would do something similar and make it permanent, but, is it via /etc/network/interfaces then?
 
@WilliamHilsum I believe so
It's been a while since I've needed to hard-code ip addresses on Ubuntu servers
 
the server guide is absolutely excellent
you can just change the URL, swap out 10.04 for 11.10, as well
if you're not at Ask Mark, you're missing out :D
> <sabdfl> vala is ok. Go is the future.
 
Hehe
Where he is right he is right.
 
3:43 PM
this was in response to a question saying that people are moving from python to vala
keeps calm
people might take it seriously (:
 
@StefanoPalazzo Not sure I can get on to IRC from work :( I just need to get HAProxy working! (This is what the whole project is about!) ... but, been meaning to learn Ubuntu/Linux for years, ... so... doing it all at once!
 
don't worry about the IRC then. you're not going to care about most of the questions if you're not pretty well invested in the ubuntu community
he said boldy
but you should definitely have a look at the Server Guide, it's the best place to start.
 
@StefanoPalazzo ... Well, I want to be! If you don't know me, look at my SE profile - I happily help people/get involved, but, I have just never known enough about Linux to be here! If I had the knowledge, I would be here every day!... just... I don't have it yet!
 
don't worry about that. you'll be fluent in a couple of weeks if you keep going like that ;)
 
hey all,
 
3:55 PM
@StefanoPalazzo Is there any way to tell if a hash is a sha1 or md5sum ?
 
how do i get a list of connected serial devices, is this possible with a console command?
 
@rlemon Do they show up in lsusb ?
 
@MarcoCeppi yes, a sha1 hash is 40 hex characters, an md5 hash is 32 (20 bytes / 16 bytes)
 
What other types of hashes are out there that are used for file checks?
 
I'd use sha256 (a variant of the "sha2" suite, also includes sha224, sha384 and sha512)
 
3:58 PM
So, how can I tell, from a hash, what algo was used? or can I?
 
only by their length,
 
@MarcoCeppi nope, but I didn't expect it too. I have a motherboard setup, I want to see If I can write to the CF on it from my linux box via serial / terminal
 
the sha2 hashes are 56, 64, 96 or 128 characters long
 
each has a unique length?
 
don't even know if thats possible.
 
3:59 PM
Ok... I screwed up file permissions! I modified /etc/network/interfaces on one machine perfectly, I typed it up on another then forgot to sudo first, so, I saved it to a temp file then sudo replaced the real one with it... but... I think I mixed up permissions
 
there are also other types of hashes, like RIPEMD160, Whirlpool, Skein, ...
you never really know
but md5, sha1 and sha256 are like 90% of what you'll find in the wild
 
I don't mind fixing it myself, but, what do I need to type on the real one to see what I need to make it to? I tried CHMOD, but, I can only set, not see what they currently are (unless I missed that switch?)
 
I'm just going to use the 90%
 
@StefanoPalazzo you know that setup I sent you?
 
@MarcoCeppi if you develop something new, and you have a choice, always use sha256. it'll be secure for quite a while. whereas sha1 is on the brink of being broken (a couple of years perhaps)
 
4:00 PM
@StefanoPalazzo I'm not, I'm trying to write a bash function
 
@rlemon first time I've seen one. and I want one now! :)
 
Is it possible to connect something like that to my Linux box via serial port and write to the CF on the system?
I don't want to have to take out my CF, re-write it from my pc, then plug er back in.
 
phew, no idea. maybe the manufacturer will sell you an expensive piece of cable for that
 
Or do I need some underlying code to communicate back with linux... yea, nevermind. stupid question.
 
you can get these USB flash cables for some serious enterprise mainboards,
 
4:03 PM
Hey all
 
they're pretty pricey. maybe the manufacturer of this thing sells something similar
and they typically come with software (the idea is: you plug in the cable, hit one button, and it does the rest automatically. so that you can deploy 20 boards quickly)
or so I heard
 
CompactFlash?
 
<sabdfl> yes, i agree, we need a new icon theme
 we have agreed to do a proper study on iconography, with the university of reading
hooray
 
@StefanoPalazzo on which channel?
 
@AmithKK you're in the right place, but you've just missed it
it ended a minute ago :)
 
4:08 PM
@StefanoPalazzo Thanks
 
type_hash()
{
        local DIRTY="$1"

        case $DIRTY in
                *[![:xdigit:]]* | "" )
                        echo false
                        return 1
                ;;
                * )
                        case ${#DIRTY} in
                                ( 32 )
                                        echo md5
                                ;;
                                ( 40 )
                                        echo sha1
                                ;;
                                ( 64 )
 
if it's calling "sha1sum", won't that give you the filename on the same line?
~:$ sha1sum test.py
0d1f0b2262d8d852c5662f90047d5a9579851f40  test.py
 
4:25 PM
Its Online!
 
@StefanoPalazzo This assumes you're just passing it a hash
 
Hey @RolandTaylor
 
@StefanoPalazzo when you finish victory chat's release, we need a charm for it
also, someone made a generic django charm
 
@AmithKK hi
 
@JorgeCastro Agree!
 
4:28 PM
looks good. it might not be right every time, but that's fine as long as you know about it. the other types of hashes are really rare at the moment
 
@MarcoCeppi JuJu doesent work here
 
@JorgeCastro You might have seen me and Octavian trying to install VictoryChat. it was seriously complicated
 
@JorgeCastro Tell @Oli he uses Django all the time
@AmithKK What doesn't work?
 
@StefanoPalazzo it's ok, we only have to figure it out ONCE.
:)
@MarcoCeppi let's get Oli writin' some charms
 
absolutely :)
 
4:29 PM
charm school next friday!
6
 
@MarcoCeppi George pinged you a few days ago
 
be there!
or be square!
 
Alright, let's learn Go. :)
 
Hopefully +Ask Ubuntu will remind everyone before it starts :)
 
@AmithKK I've talked to him since, it seems to be resolved
 
4:33 PM
All those job offers to develop Windows applications ... STOP BUGGING ME WITH THAT STUFF!! I don't care!
 
Nov 20 at 4:39, by Amith KK
JuJu error:
  error: Failed to start network default
 error: internal error Child process (dnsmasq --strict-order --bind-interfaces --pid-file=/var/run/libvirt/network/default.pid --conf-file= --except-interface lo --listen-address 192.168.122.1 --dhcp-range 192.168.122.2,192.168.122.254 --dhcp-leasefile=/var/lib/libvirt/dnsmasq/default.leases --dhcp-lease-max=253 --dhcp-no-override) status unexpected: exit status 2

    Command '['virsh', 'net-start', 'default']' returned non-zero exit status 1
 
Yup, that is a known problem.
 
Fix?
@JorgeCastro Want a logo?
 
> This tutorial gets you started with juju. A prerequisite is the access credentials to a dedicated computing environment such as what is offered by a virtualized cloud hosting environment.
is that so?
I don't have any of that, nor the requirements that follow
 
:( Am I the only one without an EC2
I NEED
CREDIT CARD!
 
4:40 PM
I suppose you could set up a private cloud made of VMs
 
@AmithKK Why would you be the only one without, I don't use EC2.
 
but it also says "For the moment, though, the only environment supported is EC2."
 
@StefanoPalazzo Not too much power here?
 
Could use local
 
Indeed!
 
4:41 PM
@OctavianDamiean You can
 
Oli
Yeah another non-EC2er here. Linode FTW.
 
Icanhaz free linode plz?
 
so is there a JuJu tutorial that doesn't require me to buy a bunch of servers?
apologies for my ignorance, I'm looking into it for the first time (:
 
@StefanoPalazzo You have a credit card?
 
I have a card, it's the other part of that which might be a bit problematic. "credit". :D
 
4:43 PM
Follow up : chat.stackexchange.com/transcript/message/2513955#2513955 : ^^ I have done both chgrp and chown on the file, and it still isn't working :/ Not sure what I have done wrong :/ Anyone know? (or worthy of a proper question?)
 
@StefanoPalazzo Get the EC2 Free for one year
 
@AmithKK Yea free one year if you choose a contract for at least two, right?
 
well I also have access to an ec2 machine, and I have a VPS, but I'd really rather do everything locally at first. all of these machines are busy and mustn't be disturbed. they might get angry.
 
I just got to say that @OctavianDamiean is one of the most awesome names ever! it sounds like a vampire! :D
 
@OctavianDamiean No, I dont think so
 
4:46 PM
You mean this? aws.amazon.com/free
 
@OctavianDamiean Yes
 
@OctavianDamiean Still need to put a credit card on the account
 
For charm development ou can simply setup a local provider
 
Which is what I tried. If only there wouldn't be that bug.
 
cool, I think that's what I want
 
Yea. I was trying to do that but apt-get suddenly decided to break.
Now I have to fix apt-get.
 
I'll remember to make a snapshot of the clean VM.
 
I wish I would've done that.
 
4:51 PM
amith@amith-desktop:~$ juju bootstrap
2011-11-23 22:20:44,501 INFO Bootstrapping environment 'local' (type: local)...
2011-11-23 22:20:44,502 INFO Checking for required packages...
2011-11-23 22:20:45,179 INFO Starting networking...
error: Failed to start network default
error: internal error Child process (dnsmasq --strict-order --bind-interfaces --pid-file=/var/run/libvirt/network/default.pid --conf-file= --except-interface lo --listen-address 192.168.122.1 --dhcp-range 192.168.122.2,192.168.122.254 --dhcp-leasefile=/var/lib/libvirt/dnsmasq/default.leases --dhcp-lease-max=253 --dhcp-no-ov
 
hi! can anyone please run "sudo dpkg -S /usr/bin/ftp"?
 
@AmithKK I said this is a known issue.
 
How can I fix it
dpkg-query: no path found matching pattern /usr/bin/ftp.
 
Follow the steps in the Necessary Software - For attendees section.
 
@AmithKK thanks
 
4:52 PM
@OctavianDamiean Did that Before
 
Trolol! The apt-get problem is gone.
Without me doing something!
 

« first day (420 days earlier)      last day (4532 days later) »