[Event Report] TDD, BDD with Ruby, Rails, Cucumber, Diaspora at PICT, Pune, India
by Shakthi Kannan
Hi,
I had conducted a session on test driven, behaviour driven development
on Saturday, August 20, 2011 at Pune Institute of Computer Technology
[1], Pune, Maharashtra, India using Ruby, Cucumber, and Rails with
examples from Diaspora [2].
Thanks to Praveen Arimbrathodiyil [3] for initiating this workshop
and Shreyank Gupta [4] for helping the students during the hands-on
session.
Participants were new to Ruby, and we started off with Ruby in Twenty
Minutes [5]. Using interactive ruby (irb) students were able to
understand the language syntax and its usage. We then moved on to
writing tests in Ruby, and writing them first before writing code.
User stories were introduced with explanation on understanding how
features, and step definitions are written. Cucumber [6] was used to
run through the features with simple examples. We then moved on to
using cucumber with Rails illustrating an example of a Rails blog
application [7]. I had setup Diaspora on my laptop, and had then given
them a visual demo of how cucumber runs feature tests with selenium
webdriver.
Photos take from Shreyank's camera are available at:
http://www.flickr.com/photos/shreyankg/sets/72157627481625374/
Regards,
SK
[1] Pune Institute of Computer Technology. http://www.pict.edu/
[2] Diaspora. https://joindiaspora.com/
[3] Praveen A. http://www.j4v4m4n.in/
[4] Shreyank Gupta. http://fedoraproject.org/wiki/User:Shreyankg
[5] Ruby in Twenty Minutes.
http://www.ruby-lang.org/en/documentation/quickstart/
[6] Cucumber. http://cukes.info/
[7] Episode 155. Beginning with Cucumber.
http://asciicasts.com/episodes/155-beginning-with-cucumber
--
Shakthi Kannan
http://www.shakthimaan.com
12 years, 8 months
fedora 15 didn.t detected my Wifi card.
by Navdeep Singh Sidhu
Hello,
I have installed fedora 15 on my portable hardisk. Recently i had updated my
fedora kernel to 2.6.40 nd now it is working fine but it didn't detected my
wifi card(Intel Centrino Advanced-N 6230 ). Need some help. Plz.
Regards
Navdeep Singh
12 years, 8 months
FUDCon India Aug 12th 2011 meeting minutes
by Rahul Sundaram
Hi
http://meetbot.fedoraproject.org/fudcon-planning/2011-08-12/fudcon_pune.2...
Meeting started by jsmith at 13:01:31 UTC
Meeting summary
Roll Call! (jsmith, 13:02:00)
Status updates: FUDCon Venue (jsmith, 13:07:26)
Details from this week's meeting at the venue at
https://mether.wordpress.com/2011/08/12/fudcon-india-aug-9th-2011-face-to...
(jsmith, 13:09:51)
Status updates: Hotel (jsmith, 13:11:03)
Status updates: Catering/lunches/etc (jsmith, 13:12:32)
Status update: FUDPub (jsmith, 13:17:30)
Status update: Travel subsidies (jsmith, 13:18:36)
List of tickets is at
https://fedorahosted.org/fudcon-planning/query?status=new&status=assigned...
(jsmith, 13:20:06)
Subsidy spreadsheet is at
https://docs.google.com/spreadsheet/ccc?key=0AmzMMPA67hiGdHRJNFpGZlhlVWZw...
(jsmith, 13:20:22)
Ticket #194: Heherson Pagcaliwagan (azneita) (jsmith, 13:23:21)
AGREED: to fund ticket 194 ($910 for airfare, plus a hotel room)
(jsmith, 13:29:12)
AGREED: to hold off until next week for any other subsidy
requests, to get a better handle on budget (jsmith, 13:32:56)
Status updates: website (jsmith, 13:33:06)
Status update: Artwork (jsmith, 13:43:01)
Any other business? (jsmith, 13:55:51)
http://www.kktravels.com/ (Shrink, 13:59:33)
Meeting ended at 14:07:16 UTC (full logs).
People present (lines said)
mether (69)
jsmith (54)
tatica (27)
bckurera (24)
Shrink (17)
zodbot (4)
gomix (1)
Rahul
12 years, 8 months
Moving Ask Fedora from devel to staging
by Rahul Sundaram
Hi
We have been running a devel instance at
http://ask01.dev.fedoraproject.org:8888/ for a while now and upstream
has fixed a number of issues that we reported and I had a discussion
with the Fedora Infrastructure team on moving it from devel to staging.
I hope to get this done within say a couple of weeks max. For that we
have to do a few things more. If anyone wants to help out, let me know
* Configure Apache with mod_wsgi and make Askbot use that.
Documentation at http://askbot.org/doc/deployment.html
* Configure Askbot to work with Postfix and setup cron jobs and ensure
that mail notifications are working as expected
* Document the steps required and any customizations we have done as
pert http://fedoraproject.org/wiki/Infrastructure_SOP_SOP to
https://fedoraproject.org/wiki/Askbot
Ask Fedora would depend on
* RHEL 6 + EPEL 6
* Apache httpd
* Memcached
* Postfix
* Postgres
We are not going to use Nginx or ha-proxy/varnish for now. Once we
move it into staging, infrastructure team will help us figure out
whether we have to run our memcached, postfix and postgres or reuse the
existing infrastructure for these. Fedora infrastructure team has
staging instances with RHEL 6 but not production instances for us yet.
One item is probably something that is needed for production but nice to
have for staging
* Better CSS. I have talked to Suchakra and he has done some changes
already and I have also added Hiemashu to sysadmin-ask and he has agreed
to help with this. In particular the fonts needs to be fixed to use the
Fedora defaults and styling needs to be be more appealing.
Any questions? Let me know.
Rahul
12 years, 8 months
Fwd: SELinux is preventing /usr/bin/skype from mmap_zero access on the memprotect Unknown.
by anjaz ahmed
Dear friends,
Recently upgraded to Fedora 15, the skype application gets crashed
frequently.....The error details are as mentioned below. Would be great if
someone get it fixed.
Thanks
=====================================================================
SELinux is preventing /usr/bin/skype from mmap_zero access on the memprotect
Unknown.
***** Plugin mmap_zero (53.1 confidence) suggests **************************
If you do not think /usr/bin/skype should need to mmap low memory in the
kernel.
Then you may be under attack by a hacker, this is a very dangerous access.
Do
contact your security administrator and report this issue.
***** Plugin catchall_boolean (42.6 confidence) suggests *******************
If you want to control the ability to mmap a low area of the address space,
as configured by /proc/sys/kernel/mmap_min_addr.
Then you must tell SELinux about this by enabling the 'mmap_low_allowed'
boolean.
Do
setsebool -P mmap_low_allowed 1
***** Plugin catchall (5.76 confidence) suggests ***************************
If you believe that skype should be allowed mmap_zero access on the Unknown
memprotect by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# grep threaded-ml /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp
Additional Information:
Source Context unconfined_u:unconfined_r:unconfined_execmem_t:s0-
s0:c0.c1023
Target Context unconfined_u:unconfined_r:unconfined_execmem_t:s0-
s0:c0.c1023
Target Objects Unknown [ memprotect ]
Source threaded-ml
Source Path /usr/bin/skype
Port <Unknown>
Host anjaz.intelvision.sc
Source RPM Packages skype-2.2.0.35-fc10
Target RPM Packages
Policy RPM selinux-policy-3.9.16-35.fc15
Selinux Enabled True
Policy Type targeted
Enforcing Mode Enforcing
Host Name anjaz.intelvision.sc
Platform Linux anjaz.intelvision.sc 2.6.38.8-35.fc15.x86_64
#1 SMP Wed Jul 6 13:58:54 UTC 2011 x86_64 x86_64
Alert Count 125
First Seen Tue 09 Aug 2011 03:49:24 PM SCT
Last Seen Tue 09 Aug 2011 03:49:27 PM SCT
Local ID 943f7e9f-e074-437d-9ad1-cf76ac9f7615
Raw Audit Messages
type=AVC msg=audit(1312890567.697:245): avc: denied { mmap_zero } for
pid=4405 comm="skype"
scontext=unconfined_u:unconfined_r:unconfined_execmem_t:s0-s0:c0.c1023
tcontext=unconfined_u:unconfined_r:unconfined_execmem_t:s0-s0:c0.c1023
tclass=memprotect
type=SYSCALL msg=audit(1312890567.697:245): arch=i386 syscall=lgetxattr
per=400000 success=no exit=EACCES a0=0 a1=1000 a2=3 a3=22 items=0 ppid=1769
pid=4405 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500
sgid=500 fsgid=500 tty=(none) ses=1 comm=skype exe=/usr/bin/skype
subj=unconfined_u:unconfined_r:unconfined_execmem_t:s0-s0:c0.c1023
key=(null)
Hash:
threaded-ml,unconfined_execmem_t,unconfined_execmem_t,memprotect,mmap_zero
audit2allow
#============= unconfined_execmem_t ==============
#!!!! This avc can be allowed using the boolean 'mmap_low_allowed'
allow unconfined_execmem_t self:memprotect mmap_zero;
audit2allow -R
#============= unconfined_execmem_t ==============
#!!!! This avc can be allowed using the boolean 'mmap_low_allowed'
allow unconfined_execmem_t self:memprotect mmap_zero;
12 years, 8 months