Computer generated electro music


Do you want your computer to generate some music for you? Then you are in luck - the following code snippet does just that (Linux only; adjust the playback method for other systems). The resulting “music” will play for about 4m22s and then loop back. The attached audio is just a short sample. $ echo "main(i){for(i=0;;i++)putchar(((i*(i>>8|i>>9)&46&i>>8))^(i&i>>13|i>>6));}" | gcc -x c - && ./a.out | aplay´╗┐ (If aplay gives you error, try putting the C code into a *.

Read more...

PulseAudio in Slackware

This is a work in progress that I later plan to post on http://docs.slackware.com/. Look in the comments section for changelog.

Today, 2015-05-12, while I was forced to work as a secretary during a slow season, I had nothing to do, so I remembered this post on LQ and decided to write some sort of a HOWTO for PulseAudio. I do not possess extensive knowledge about PulseAudio, nor do I even use it on a regular basis, but I do have some experience with it and want to provide at least a base that can be later extended by other members of Slackware community. This article was written by memory (plus some googling), so I'll need to improve it later.

Read more...

Slackware universal install USB

Last Sunday, after upgrading my old netbook (ASUS Eee PC 900) from Debian Wheezy to Jessie, I decided to try Debian Jessie Live on my laptop. Unfortunately, the provided image couldn't boot in UEFI environment, so I had to switch booting mode from UEFI to legacy. After playing with the distro for a while (it had problems with my wireless card's drivers), I changed the booting mode back to UEFI and rebooted. To my surprise, there wasn't Slackware option in the boot menu anymore. It looks like changing the booting mode changes something in UEFI settings. Anyway, I needed my Slackware, so I booted my rescue USB with Parted Magic. It was a bit dated (version from June, 2014), maybe that's why efibootmgr (v0.5.3) refused to work with my laptop's UEFI firmware. At least I confirmed that my ELILO files were intact in EFI partition, so all I needed was efibootmgr to add an option to the boot menu. Somehow I didn't think about booting into Windows 8.1, which I also have on my laptop, to add a boot option to UEFI, but if I did that it wouldn't be so interesting, would it?

Read more...

Mirror mirror on the wall...

I finally set up a mirror for Slackware 14.1 and -current (both i686 and x86_64) as well as multilib for 14.1. Here are the links:

http://mirror.t-rg.ws/slackware/

ftp://mirror.t-rg.ws/slackware/

rsync://mirror.t-rg.ws/slackware/

Mirrors are updated every 2 hours. Be warned, however, that FTP access is VERY limited: only 4 clients at a time with no more than 2 connections per IP.

I may add other not too big repos in the future.

They say...

…that the Linux distributions are many. But there aren't actually that many of them. Sure, there are literally thousands of so called “distributions” that quite a lot of software developers complain about, but if you look at them, almost all of them are spin-offs (and compatible ones) of just a few major distributions. How did I come to this conclusion? I became bored and wanted to try something new. But when I looked around, I didn't see anything new.

Read more...

How to make Steam recognize your gamepad in Linux

Just a little something I found. I have a cheap chinese PS3 gamepad (“SZMY-POWER CO.,LTD. GAMEPAD 3 TURBO”, not that it would say much though), which is properly recognized by the system, but not Steam. It turned out, the problem is with the device's permissions. For some unknown reason Steam and some games require joystick device to be world-writable. Pretty dumb, since there's only need to read what it does, not to tell it what to do.

Read more...

SlackBuilds batch

I've been a bit busy with script writing, as you can see. But let me tell you everything in the right order. Mintstick As I said in my post on Google+, there's a shortage on tools for USB sticks formatting. The one I chose in the end was mintstick. It's simple enough for the average PC user and doesn't have many dependencies. I was also considering Gnome Disk Util, which is for some reason like alpha and omega of easy to use formatting tools, but it requires gnome-common at very least, so I decided to go with mintstick, which I really liked.

Read more...

Popcorn Time SlackBuild

Yesterday I discovered Popcorn Time. No, I've heard about it for a while, but I only tried to watch something with it yesterday. (If you're interested, it was Madagascar trilogy after I watched this video.) It's very convenient: just fire up the app, choose your movie and hope you have enough popcorn. You may say something about piracy. Yes, the app is very controversial. But I have two reasons to use it.

Read more...

The sad state of Russian PC users

While browsing through Linux Community on Google+ like I usually do I once again saw a post with a link to an article 10 reasons to switch from WinXP to Linux, and this time around I couldn't resist to comment it. Below is what I have to say about this topic. Let's take a look at these reasons from my country's PC users’ perspective. Windows is also free. You can download it from warez sites or torrent trackers, or you can ask some “computer boy” you know to install you pirated copy of Windows.

Read more...

fsLeg

It turned out, that I need a full featured website much less than a simple blog. I don’t want to have a blog on Tumblr, but I do like their implementation of it, so I went with Chyrp, which is pretty close. But then Chyrp died, so I moved to Hugo. The blog is NSFW, as I might occasionally post some pr0n and other disturbing stuff.

Tags
Archives