Skip to content

u/JW_BlueLabel

In this archive from Jun 2011 to Oct 2013

4
posts
103
comments
0
media
253
score

Lots of good advice, but I'll add in something different. The way you work isn't necessarily a bad thing if it's what works for you. I admitted to myself long ago that I often get my best work done between 1am-6am. I also work best when undistributed for long periods of time. If I forced myself to take a break every 30min, I know I'd be less productive then just losing myself in the project for 4 hours at a time. You need to figure out what works for you.

2 points

Set defaults to skip the "else" when you can.

Rather than

if ( $admin ) {
    $admin_user = $true;
} else {
    $admin_user = $false;
}

write:

$admin_user = $false;
if ( $admin ) {
    $admin_user = $true;
}

That way if someone extends the logic block later on with elseif stuff and they forget to set the $admin_user variable, nothing will break. Also try and fail safe, in this case making the default admin_user status set to false.

2 points

This'll be easy peasy. You could do it in an afternoon with little to no experience.

The current website is basic, no custom code, and the layout looks like crap. Find a free theme here - http://wordpress.org/themes/ and then just copy paste the text and format it using the built in editor.

You can spruce it up with an image gallery plugin if you want, or maybe some other plugins. Maybe let them pick the theme so they don't complain that it looks different? Just remind them when they (inevitably) complain that it doesn't look "exactly" like they want that you're doing it for free and if they want to keep their current site then they're welcome to.

1 points

The window manger is just that, it manages the windows. Xfce is a desktop environment (DE) and the window manager is uses is Xfwm. I personally like Xfce + Compiz which its very easy to do. However, Awesome is also a DE so while you might be able to get the Awesome window manager (whatever its called) to run under Xfce instead of Xfwm, it'll probably be a lot more work than trying to use something that is made to be a standalone window manager.

1 points

-1

Unless I see something in a new version that warrants a kernel update, I don't update. Wasting time rebuilding kernel modules and jeopardizing stability just so I can get some updates that don't affect me? I just put linux and linux-headers under IgnorePkg in pacman.conf and don't update until (1) I have to (2) see a reason to (3) get bored after 6 months and do it because fuck it.

0 points

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.