Malaysian Open Source Community / Komuniti Perisian Sumber Terbuka Malaysia
See all
Members (200)

Stream

Khairil Yusof
owner

Discussion  - 
 
 
Next step is removing tablet, desktop-environment, and do ASCII art
from terminal prompt  :-P
3
Izhar Firdaus's profile photo
 
just use a mac already :P
Add a comment...

Khairil Yusof
owner

Discussion  - 
 
 
Well... I KNEW that inkscape should be useful at some point. Jajaj.
My first meme XDDDD.
#gnome #yosemite #macosx #linux  
2
Ang Chin Han's profile photo
 
Epiphany of the gnome: "Snakes have no hands." RIP.
Add a comment...
 
I finally purchased my first smartphone, the ZTE Open C running FirefoxOS. So far everything looks promising, and I intend to get down to playing with the latest FFOS builds after I prepare my build environment, including placing an order for a MicroSD card.
1
Add a comment...

Khairil Yusof
owner

Discussion  - 
 
 
Over the last year I've worked with some awesome folks (+Kester Tong  +Mark Sandler, +Corinna Cortes , +Matthew Turk,  +Gideon Mann  +Arnaud Sahuguet, +Adam Berenzweig) to understand how people collaborate on data analysis and to build better tools to support them. Yesterday, with the help of +Fernando Perez and +Wes McKinney we revealed this work at PyCon APAC.

We've created an interactive, collaborative analytics tool by integrating Google Docs, Chrome, and IPython. You can open a notebook from Drive. You can share notebooks like you would share a Google Doc. You can comment and edit collaboratively, in realtime. There is zero setup, because all the computation happens in Chrome. You can even quickly and easily package your analytics pipeline into a GUI for folks that don't want to program. In effect, you can go from zero to analytics with little impedance.  

What's even better is that you can build on our work. It will all be open source on top of public Google APIs. We'll have a larger Google Research blog post about this work when we release the code and the Chrome application.
5
Salocin Dot TEN's profile photo
 
This is just insanely great!!
Add a comment...

Khairil Yusof
owner

Discussion  - 
 
Existing client setups are still on various flavours of Linux. LXC is speeding up my development and testing a lot as I can run a few distribution environments at a time at full speed on laptop with only 8GB ram.

I also like to keep my desktop and dev environment neat and separate, ie I never install database or web server packages on my laptop or desktop.

https://help.ubuntu.com/lts/serverguide/lxc.html
1
Paul Ooi's profile photo
 
Even though it said lightweight, it seems can be grown to kvm like.
Add a comment...
 
 
OSS Meetup in Kuala Lumpur
Those who are keen to meet fellow OSS in Kuala Lumpur should register for the  Malaysia Open Source Community Meetup Q2 2014 . Date: 31 May 2014 Time: 9Am to 2PM Registration: Required Please go to the above link for further details.
1
Add a comment...

Khairil Yusof
owner

Discussion  - 
1
Add a comment...

Khairil Yusof
owner

Discussion  - 
 
I got IPv6 on Unifi on FreeBSD working thanks to tip on #myoss  irc.

ppp.conf  just these two options are needed:

enable ipv6cp
add! default HISADDR6

Install net/ndisc6

To get your IPv6 address you run rdisc6 tun0 (your ppp tun dev) and you will see the ip assigned to you.

ifconfig re0 inet6 (the ip you get from prev commmand) and you're good to go.

rtadvd (something like dhcp for ipv6) works and is easy to set up, and my Ubuntu desktop picked it up automatically.

Problems

Quick changes to my ipv4 rules to add some inet6 options didn't work. On IPv4, your extif is ppp0 or tun0 with an ip. The rules are straight forward and familiar.

On IPv6, your assigned ip/block is on your network interface not tun0/ppp0.  there is no int/ext if now. I have a secondary network device that I could use to simplify separation of rules.

In any case  a dual stack IPv4 with NAT and IPv6 firewall will need some more thought and research. On my home server with variety of devices including my TV, Android phone supporting IPv6 there are bound to be other problems too such as DLNA, Miracast and more. 
1
Add a comment...

Khairil Yusof
owner

Discussion  - 
 
Anybody experiencing bad Unifi Home connection? It looks like they're oversubscribed or have faulty equipment in Subang Jaya. UnifBiz is working fine.

I'm getting MaxSessions constantly when reconnecting, sometimes takes up to 10mins or more to be able to reconnect:

Apr  6 11:19:09 xavier ppp[61669]: tun0: Phase: Pap Input: FAILURE (MaxSessions exceeded)

Regardless of traffic, traffic stops every 20mins for up to a minute or two before resuming.

Apr  6 12:11:59 xavier ppp[61669]: tun0: Phase: Clearing choked output queue
Apr  6 12:31:09 xavier ppp[61669]: tun0: Phase: Clearing choked output queue
Apr  6 12:49:15 xavier ppp[61669]: tun0: Phase: Clearing choked output queue
Apr  6 13:06:03 xavier ppp[61669]: tun0: Phase: Clearing choked output queue
1
Shawn Tan's profile photo
 
Biz has an SLA. That's why you pay a more but get less service.
Add a comment...

Khairil Yusof
owner

Discussion  - 
 
Well this cheap JMicron  card saved me from spending hours for a fresh FreeBSD install. My home server motherboard and/or CPU died Monday morning. The problem is that no current motherboard supports old IDE ATA connectors.

I bought this hoping to copy over config files, however it is detected by the newer EFI BIOS and it and FreeBSD booted just fine off the drives attached to it. It has additional two SATA 2 ports too. Highly recommend ASUS motherboards too.

I'll have to eventually move the boot/system drives to more efficient cheap small SSDs, and this card looks like it will do the trick then, and leaving my SATA6 ports for the drives that need it.

Looking forward to putting in the new upgraded parts to work:
- AMD FX 6300 
- Intel SSD 530 L2ARC Cache to speed up jails

I'll still need to upgrade to FreeBSD 10 to get support for http://bhyve.org to better make use of the current CPU and memory for VMs.
1
Meng Shen Lim's profile photoKhairil Yusof's profile photo
3 comments
 
This is why picking up a IDE converter is handy. I still get cases of people needing to move off IDE for a good decade now. 

Still for VM work, Intel processors would be faster & cooler than AMD now. Board might cost more, but your power bill might be smaller. 
Add a comment...

Ang Chin Han

Discussion  - 
 
How to instantly make X go haywire and get system load of 21: replace the Roboto fonts that's still being used with the newer version. Had to kill -9 from the console. Every X process is eating up CPU.

Hint: Don't do it.
2
Add a comment...

Khairil Yusof
owner

Discussion  - 
 
 
Welcome aboard Pradeep, our new blog author and contributor.
1
Add a comment...
 
Successfully built and flashed FirefoxOS to my ZTE Open C. It came with version 1.3, and the main git development branches seem to be focused on version 2.0.
1
Meng Shen Lim's profile photoRewarp sudo make install's profile photo
2 comments
 
USD100. I got it from Ebay. It's suppose to follow the Flame reference device, but it is significantly cheaper and slightly different so there were a few kinks to work out. The b2g-dev mailing list was really helpful in that regard.
Add a comment...

Khairil Yusof

Discussion  - 
 
Poplus components committee meeting Hangout. Poplus is made up of several open source components that lowers the barrier of development and deployment of applications and services for better governance http://poplus.org
Poplus Componnet Sub Group Meeting
Tue, May 27, 10:00 AM EDT
Hangouts

1
Add a comment...
 
Mostly it is to co-ordinate the setup of OONI which runs automated tests on a few servers on different networks in Malaysia to collect information on what type of blocks are in place.

If you would like to keep the Internet free and would like to lead this effort, please contact the +Sinar Project team.
 
We need help to co-ordinate the setup of OONI data collection services here on a few different networks. If you are a network security person or sysadmin who would like to help keep or Internet free, please contact team@sinarproject.org
1
Add a comment...

Ang Chin Han

Discussion  - 
 
#$%^&) No idea why the monitor can't be detected/configured automatically. Cable? EDID? Screw it: and do it the manual way:

https://gist.github.com/angch/22115bea1eac30671d91

angch@stryfe:$ cvt 1920 1200 60
# 1920x1200 59.88 Hz (CVT 2.30MA) hsync: 74.56 kHz; pclk: 193.25 MHz
Modeline "1920x1200_60.00"  193.25  1920 2056 2256 2592  1200 1203 1209 1245 -hsync +vsync
angch@stryfe:$ xrandr --newmode   "1920x1200_60.00"  193.25  1920 2056 2256 2592  1200 1203 1209 1245 -hsync +vsync
angch@stryfe:$ xrandr --addmode VGA1 "1920x1200_60.00"
angch@stryfe:$ xrandr --output VGA1 --mode "1920x1200_60.00"
1
Ang Chin Han's profile photo
 
G+ sucks at displaying code.
Add a comment...

Khairil Yusof
owner

Discussion  - 
 
Spent a bit of time to get the stylus and screen rotate working properly on the Thinkpad Yoga on Linux.

Guide here: http://ubuntuforums.org/showthread.php?t=2116275.

I used a modified rotate script and bound it to the Rotate lock button. Interestingly, this is hardware bound to Super+O.  

Something of note, for those with Wacom tablet devices with touch screens. xsetwacom cannot set the ELAN touchscreen input device. You need xinput to to that. Since Gnome Shell  has almost no gesture features, I'm not concerned with the touch screen input right now. A negative of the ELAN screen is that it is not integrated with the Wacom driver. If it is enabled, and your palm rests on the screen while using the stylus it will result in input. As a result I've disabled it in vertical rotation mode, until auto disable touch on stylus detection works. This feature already works on Wacom Touch devices such as Intuos Pro Touch.

You'll also need to compile xf86-input-wacom 0.24 yourself if you want pressure sensitivity. The update should make it to normal base updates soon.

With calibration the stylus is usable for taking note taking and line art drawing. You'll get tired quickly with the very thin built-in stylus.

The pressure sensitivity is supposed to be 1024 levels, but I found it to be very inaccurate, no matter how you adjust the pressure curves. It's very hard to get a gradient of strokes which is my usual test. It quickly goes from light to dark.

Using the stylus for sketching and as an input device works quite well, but if you want pressure levels for doing things like photo retouching with airbrush or painting, it would be frustrating for now. I expect this to improve though as support was only added a few weeks ago. When it does, it's probably worth investing in a more comfortable stylus like the Bamboo Feel http://www.wacom.com/en/us/everyday/bamboo-stylus-feel.

-- the sciprt --

#!/bin/sh

# Find the line in "xrandr -q --verbose" output that contains current screen orientation and "strip" out current orientation.

rotation="$(xrandr -q --verbose | grep 'connected' | egrep -o  '\) (normal|left|inverted|right) \(' | egrep -o '(normal|left|inverted|right)')"

# Using current screen orientation proceed to rotate screen and input devices.

case "$rotation" in
    normal)
    # rotate to the left
    xrandr -o left
    xsetwacom set "Wacom ISDv4 EC Pen stylus" rotate ccw
    xsetwacom set "Wacom ISDv4 EC Pen eraser" rotate ccw
    xinput --disable "ELAN Touchscreen" 
    xinput --disable "SynPS/2 Synaptics TouchPad"
    ;;
    left)
    # rotate to inverted
    xrandr -o inverted
    xsetwacom set "Wacom ISDv4 EC Pen stylus" rotate half
    xsetwacom set "Wacom ISDv4 EC Pen eraser" rotate half
    xinput --enable "ELAN Touchscreen" 
    xinput --disable "SynPS/2 Synaptics TouchPad"
    ;;
    inverted)
    # rotate to the right
    xrandr -o right
    xsetwacom set "Wacom ISDv4 EC Pen stylus" rotate cw
    xsetwacom set "Wacom ISDv4 EC Pen eraser" rotate cw
    xinput --disable "ELAN Touchscreen" 
    xinput --disable "SynPS/2 Synaptics TouchPad"
    ;;
    right)
    # rotate to normal
    xrandr -o normal
    xsetwacom set "Wacom ISDv4 EC Pen stylus" rotate none
    xsetwacom set "Wacom ISDv4 EC Pen eraser" rotate none
    xinput --disable "ELAN Touchscreen" 
    xinput --enable "SynPS/2 Synaptics TouchPad"
    ;;
esac
6
1
Yannick DUPUIS's profile photo
Add a comment...
 
hi friends. Listen, I was looking for examples of clubs management system managed by the university student affairs. I found a single club management. Have a recommendation?
1
cheeleong chow's profile photoabdul muhaimin abdul ghani's profile photo
3 comments
 
Use your favourite Joomla 
Add a comment...
 
Anybody successful in getting IPv6 addresses with ppp of FreeBSD/PFSense or Linux for Unifi home and sharing their settings or knowledge of their dual stack setup?
1
Khairil Yusof's profile photoshahada abubakar's profile photo
4 comments
 
On FreeBSD ppp.conf there is set HISADDR to set default route. HISADDR6 is ipv6 equivalent.
Add a comment...

Khairil Yusof
owner

Discussion  - 
 
ZFS has just so many more features than btrfs that managing large volumes is a breeze. Some useful ones:

volumes  (block device) within pool
No need for LVM, just create one from existing pool, easily export that via iSCSI for network.
* transparent compression (gzip, lzgb)*
block level dedups

This works really well for jails for me, it should work for VMs as well. If you clone 20 VMs, then your storage usage would only be for 1 VM There is a cost to this, but you can also assign it to specific sets, and not entire pool.

For example I have a pool called data (2TBx2, 120GB SSD L2ARC cache)

- data/jails (dedup, compression)
Lots of source code, lots of duplication (same packages and such)
- data/family (copies=2) 
2 copies of files/metadata even on pool with mirrored drives as additional protection from corruption).
- data/backups (compression=gzip-9) 

If you want all these benefits, and thinking of building a NAS device, just install FreeNAS.
2
Meng Shen Lim's profile photoShawn Tan's profile photo
15 comments
 
+Shawn Tan This Remote access card kit for the Microserver has been a thing for generations of it. Its not iLO though, its more KVM than anything else. 

http://www.newegg.com/Product/Product.aspx?Item=N82E16816401170

If you are getting one and expect a good amount of work, the Gen8 version with the Intel proc is the one to get. Otherwise, the older N series one with the AMD Turions and Neos would fit the bill for smaller loads. Possibly on sale at HP retailers too. Mine's the first gen N36L from years back. 

One feature I like above all else and makes it especially ideal for FreeNAS/NAS4Free is the USB port on the mobo. Plug in a USB disk, shove board inside and presto no USB disk jutting out from the machine. 

+Khairil Yusof Thanks for the info, me thinks the UnifI stock router + old 10/100 switch is an issue for IOPS. 
Add a comment...