Skip to content

u/Chingzilla

In this archive from Sep 2012 to Oct 2015

1
posts
18
comments
0
media
67
score

I guess what constitutes a programming language can be a little pedantic, I take the stance on wikipedia.

A programming language is an artificial language designed to communicate instructions to a machine, particularly a computer. Programming languages can be used to create programs that control the behavior of a machine and/or to express algorithms.

I tend to look at any language that is Turing complete as a full programming language, with scripting languages being a subset.

The use of Lua just means you can be much more pickier about behavior. I tend to be a perfectionist, so I'm just never happy :D. I would argue that i3's configuration has many sane parameters that fit many user's use cases. The fact it can be setup quickly without patching+recompiling (dwm) or learning a new language, API, 3nd party libraries is very appealing.

I also don't consider LOC as a proper metric of how "easy" that function was to create. I created a layout detection function that returned a list of layouts based on the ratio of the monitor resolution (portrait vs. landscape). i3 has this as a default behavior. The function in the end was only a few lines of code, but took a lot of trial-and-error to get working. BTW while Awesome's documentation is better then most, I had to dig into the source to find the data structures being used. All in all this was a lot of time spent learning Lua and Awesome's structure to implement this.

Remember, I am advocating for Awesome, just be realistic the barrier of entry.

2 points

This is a very good point. I tend to restart when moving my laptop, so I am starting with a clean session. If you change the number of monitors, Awesome places all windows from disconnected monitors on the 1st desktop on the primary monitor. Not ideal, but I find it quick to reassign windows quickly to other work spaces

1 points

the default binds for these are j/k/l/; (navigate containers) and Shift+(j/k/l/;) for move containers. (Yes, it's annoying that it's not h/j/k/l, i rebound them..)

I already had applied this, what I said still holds true. The config command 'focus' can take left, right, down, up, parent, child, tiling, floating, and mode_toggle. These are based on a 2 axis navigation structure, or the container object's structure. This is nothing wrong with this, I just prefer the more 'alt-tab' like navigation of cycling though all windows on that desktop.

I can Mod+Right Click drag windows to different locations and monitors. Haven't found a way to do that in i3.

At work so can't check immediately, but from memory it defaults to just mod+click.

I would love to double check this, don't have i3 in front of me right now.

i3 requires more keystrokes to get the layout I want when opening more then 2 windows.

don't quote me on this but I believe i3 can be configured to approximate Awesome's behaviour on this (or at least how I remember its behaviour, it's been a while since I used it). I seem to remember it working nicely out of the box on Awesome, though. I haven't yet become dissatisfied enough with i3's habit of cramming everything into vertical strips to try and change it...

As I said, to each's own, glade we have chooses. If i3 implements these behaviors I would likely switch. Although I don't think i3 needs to try an cater cat to a different titling paradigm, KISS :).

Edit: s/ cat / cater /

1 points

I primary use Awesome. I recently tried i3 on my netbook, It's very light on resources.

If you try i3, try enabling 'hide mode' for the i3 status bar with Mod1 as the show modifier. Every pixel is important on a netboot :)

An added bonus is that the i3 status bar will not update when hidden, saving cpu cycles (admittedly negligible).

On my netbook, I rarely have more then 2 windows open, which is fine in i3. For my desktop, I tend to have many more windows open per-desktop and find Awesome better for me.

2 points

I recently tried i3. I can see the appeal, configuration is much better/easier. In the end I went back to Awesome.

Dynamic vs. Explicit Tiling Layout

I find I only use the 'tile' and 'floating' layout in Awesome. Having explicit tiling sounds good, but I rarely have any more need then one fully vertical window with a 2nd column of secondary windows. i3 requires more keystrokes to get the layout I want when opening more then 2 windows.

Window Navigation and Manipulation

One big thing I missed with i3 was the window navigation. In Awesome, I love just cycling thought all windows in a clockwise fashion using 'j' and 'k', vs. explicitly going up/down left/right. Same for moving windows using the keyboard.

Mouse window movement is easier for me too, I can Mod+Right Click drag windows to different locations and monitors. Haven't found a way to do that in i3.

Window re-sizing is more intuitive in Awesome, for me anyway. I find i3's window containers like to equally scale all windows in a little limiting.

Status Bars

i3-status has a nice feel, really like the design of piping anything. Very Unix philosophy friendly. Awesome's Status bar meets my needs though.

Window Decoration

To save screen real state, I prefer not to have window titles right on top of each window. I still like to have the windows titles still visible. In i3, the only option seemed to only have them, or not. Perhaps I could have a 2nd i3-status bar + using the i3-client to pull window titles. In Awesome, the default is to have all window titles listed in series, similar to many taskmanager bars.

To conclude, as in every one of these threads, individual preference trumps what anyone else says. I have long outstanding issues with my Awesome config, but overall behavior better matches my work flow.

19 points

I never stated I was running Arch in a production environment...

I like to make sure any major updates will not effect my personal/development machines. I have several that I do not update regularly, once every few months. Now I know that might be a taboo to some, but this is much better then blindly running pacman -Syu in cron job.

I do use Arch on a handfull of personal LAMP servers that can have some downtime, but switchings to a new DB that I heard about 2 years ago gives me pause. Perhaps I haven't been following MySQL news, but I don't want to have a 1 month ticking clock before having to migrate over.

0 points

I think the guide is more targeted for new-ish users and wants them to figure out if there are any issues with their inital setup before taking them to far down the path (error with boot loader, problem with ramdisk, etc).

I personally install most everything including xorg and window manager while still in the initial 'arch' chroot. Never really have any issues...

2 points

This is why yaourt prompts you to edit/read the PKGBUILD before continuing. I doubt that many of the AUR packages have been testing on both architectures. A quick check for if/else $CARCH checks is a good idea.

For example: skype's PKGBUILD. It has a common check for 'i686' to deturman what dependencies are needed.

What packages are you building? I could take a quick look at them.

2 points

You should be ok if your statically including all libraries into your program. If you are using the dynamic linker, then you are going to have problems.

If you need to compile a program to be used for Ubuntu release, I would use a chroot build environment. It is relatively easy to setup using debootstrap. Also see Ubuntu's wiki.

13 points

I have had an Arch home server for 4-5 years.

Usages:

  • Transmissiond
  • SSH access point/proxy
  • Samba file share
  • NFS file share
  • Apache
  • gitolite repo for personal projects I don't want on github
  • Team Fortress 2 server
  • Minecraft server (retired)
  • Reverse SSH tunnel for remotely fixing parrent's comuters (gave them Linux (never been used :D))

Future projects:

  • buildbot server
  • SPICE (kvm) server
  • LDAP
  • IIRC
  • RSS reader

I got really bad at updating for ~6 months. Had to deal with the /lib, filesystem and Pacman updates all at once. Not fun with a headless machine. Somehow I made it though. I find that having an Arch server lets me throw up a new game server(TF2 MvM), or some new tech quickly(KVM kernel). If I were to do it again? I might go with Debian, as that is what I work with at my work.

2 points

End of this list.

Back to top

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.