Get Process Age from the Command Line
ps -o etimes= -p $pid
ps -o stime,time -p $pid
Jules of Nature

祝日 / Permanent Vacation
Show & Tell
Sweet Seals For You, Always
YOU ARE THE REASON
Lint Roller? I Barely Know Her
occasionally subtle
trying on a metaphor

Andulka

❣ Chile in a Photography ❣

No title available

No title available
todays bird
NASA
Stranger Things
Cosimo Galluzzi

if i look back, i am lost
AnasAbdin
styofa doing anything
Keni

seen from United States

seen from United States
seen from United States
seen from Malaysia

seen from United States

seen from United States
seen from United States
seen from United States
seen from United States
seen from Switzerland

seen from T1

seen from Malaysia
seen from United States

seen from Germany
seen from United States
seen from United States
seen from United States
seen from Pakistan

seen from United States

seen from United States
@repetitivelyaffirmative
Get Process Age from the Command Line
ps -o etimes= -p $pid
ps -o stime,time -p $pid
Stupid NTP. Why is dealing with time so annoying in this day and age?
Random network issues? Flakiness? Interfaces can't transfer but are remaining "up"?
In my case this was due to a link flapping on one of my ES nodes due to someone jiggling the network cable accidentally. Don't jiggle my cables, jerks.
RABBITMQ HATES ME
(3:56:52 PM) bunny: Argh, I don't understand why memory is still climbing in rabbit when these messages are going down
(3:58:07 PM) bunny: Hmm. . . really trying to get the messages out now that that node is back in.
(3:59:51 PM) ai: yeah, that is weird.
(4:00:06 PM) ai: stupid rabbit messges aren't for RAM?!?!?!
(4:00:07 PM) bunny: Well it was trying to burn through them
(4:00:17 PM) ai: get it?
(4:00:25 PM) ai: Like the trix commercials
(4:00:28 PM) bunny: heh, yeah
Dear dev guy,
DIAF.
love, bunny
PS Huevos Rancheros
Represent (not me, lol)
keylogger
As requested, here is a Venn diagram for exclusive or.
Technically, that ‘^’ should be a ‘∩’, as it is really intersection that I mean and not AND (the complement of AND would also include everything that is neither A nor B), but Illustrator was a bitch and wouldn’t let me use that character. Since the original question conflated logical operations and set theoretical operations to begin with, I feel justified in my substitution.
-lovelytornado
Derp.
Installing PostgreSQL on OS X Lion
pseudonym:
Under Mac OS X Lion, the PostgreSQL one-click installer always fails on the post-install step. Ugh.
If you run this as root (or prefix every line with “sudo”, ick). This will create the “postgres” user and its home directory, initialize the database, and add PostgreSQL to system startup.
dscl . -create /Users/postgres dscl . -create /Users/postgres NFSHomeDirectory /usr/local/postgres dscl . -create /Users/postgres UniqueID `dscl . -list /Users UniqueID | sort -n -k +2 | tail -1 | awk '{ print $2+1 }'` dscl . -create /Users/postgres PrimaryGroupID `dscl . -read /Users/_postgres PrimaryGroupID | awk '{ print $2 }'` mkdir -p /usr/local/postgres/data chown -R postgres:_postgres /usr/local/postgres sudo -u postgres -i /Library/PostgreSQL/9.0/bin/initdb -D /usr/local/postgres/data curl -Lo /Library/LaunchDaemons/org.postgresql.postgres.plist http://be.gs/postgresql.plist launchctl load /Library/LaunchDaemons/org.postgresql.postgres.plist
Why not use the default “_postgres” user? I don’t what that user account is used for, or what Apple plans to do with that account in the future.
loganabbott:
Facebook has quietly added support for Microformatsto its “Download Your Information” feature, it appears. The addition provides developers with a way to parse the profile information, posts, photos and videos contained in a Facebook user’s account. Although the change doesn’t have a direct impact on what a mainstream user can do with their Facebook data – you still can’t export your Facebook contact list, for example – it’s an important step for Facebook to make in terms of loosening its formerly tight control over user data.
If case you’re unfamiliar, “Download Your Information” is a relatively new Facebook feature, that, upon request, bundles your personal data in a large zip file and makes it available for download from Facebook’s “Account Settings“ page.
"I am human" =~ /bacon/ # => nil (no match - bacon comes from pigs) "I am human" !~ /bacon/ # => true (correct, no bacon here)
*sigh* Why am I doing support today? And what is this anyway?
loganabbott:
Hell has frozen over, pigs have flown, and it’s now possible to approve photos you’ve been tagged in on Facebook before they show up in your profile.
Pause. Take a drink if you need to. If you hear fireworks in the streets this morning, you know why.
In what amounts to a kitchen-sink of fixes, tweaks, and new terminology, Facebook is rolling out a new update this week that’s setting out to ‘Make It Easier to Share with Who You Want’. In short, today’s release fixes many of the biggest annoyances (and privacy issues) that the site has had for years now. So let’s get to them.
It’s now possible to approve tags — including photo tags — before they show up in your profile.
This is the big one, and it’s a feature people have been asking for ever since Photos first launched. The feature is defaulted to ‘off’ for photos your friends have tagged you in (more on that in a second), but at least it’s there.
But why now? Facebook’s stated rationale for why they’re finally implementing this option has everything to do with another new feature: It’s now possible to tag people you aren’t friends with in photos.
Whatever the case, these are all good changes, and they make Facebook better. Note that while Facebook is announcing these features today, and will be educating users on the way they work through interactive prompts, they won’t start rolling out til Thursday.
Full post