« first day (1427 days earlier)      last day (3526 days later) » 

12:01 AM
@mikeserv, done. Sorry about that.
 
@Ramesh - it's ok. I haven't even looked at it - I'm sure it's fine. I was just being a bitch.
 
@mikeserv more hilariousness notalwaysright.com
 
@mikeserv no issues dude.
 
12:16 AM
@Ramesh. yes.
 
Gilles always explains why he downvotes. It is so good of him.
 
@Ramesh - he doesn't always. but yes, it is the right thing to do, I think.
 
12:57 AM
nothing like installing linux on an arm device via ssh to a box close enough to device so the null modem cable reaches
 
1:55 AM
armv7a-hardfloat-linux-gnueabi-gcc -I. -I. -DHAVE_CONFIG_H -O2 -pipe -march=armv7-a -mtune=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -c args.c
who needs a cross compiler!
(I suspect I'll have beat myself into submission to spend the 5 minutes setting up a cross compile environment by tomorrow morning....)
 
 
4 hours later…
5:43 AM
This is somewhat mind-blowing. — vschum 3 hours ago
Now ^that is a fairly satisfying comment to find beneath one's answer.
 
 
3 hours later…
9:01 AM
lpr seems to be ignoring the default CUPS printer setting. Weird.
 
 
5 hours later…
1:36 PM
Call for help: Operating Systems is shutting down. Some questions could be migrated here. Please visit meta.operatingsystems.stackexchange.com/a/55 and edit the list if you think a question should be migrated. You need an account to view the site as it's in private beta, you can get one by going through the Area 51 proposal and clicking on “Visit”.
 
2:28 PM
@Gilles Does shutting down mean it is a failed beta?
 
@FaheemMitha if it failed getting through private beta it generally means there wasn't enough activity or the CM team had some other issue with promoting it to public beta
 
@casey CM team?
 
Hi...
 
Hi @AvinashRaj
Visiting from AU?
 
2:45 PM
@FaheemMitha community managers
 
My CUPS seems to be ignoring the default printer setting. Any idea why? It is quite annoying. I could ask about it here, but I'm not sure if it is useful to ask about what is basically a bug report. I modified it on the web interface, and I verified that it was changed correctly in the config file.
@casey Oh, right.
Would it be reasonable to ask about debugging strategies?
Hmm, maybe I should look at the logs.
 
3:01 PM
Does anyone know how to freeze an animated gif?
 
genious to the rescue again :) — Ramesh 42 secs ago
 
@Ramesh Misspelling of genius.
 
@FaheemMitha thanks. changed it. :)
 
@Ramesh Just in time.
 
3:31 PM
@StéphaneChazelas - if you'll talk - do you know of any pax that supports all of the options - to include all of the -o listopts= stuff?
like here?
@FaheemMitha - freeze it?
Do you have the gif
?
Because you can open it in gimp and look at all of the frames individually - certainly imagemagick can do the same.
each frame is its own gif, I think.
 
@mikeserv It is on a web page.
 
so you just don't want to look at it flash?
 
3:51 PM
@mikeserv Basically, yes. It's annoying.
 
oh, chrome?
 
I'm wondering if it is even possible. There doesn't seem to be an option for this on the web page.
@mikeserv Chromium.
 
probably the second one is what you're looking for.
The first is interesting though.
 
@mikeserv Oh, an extension. Now, why didn't I think of that? Thanks.
 
you're welcome.
 
3:58 PM
Ironically, the images on these pages don't seem to be moving at all.
When you want them to move, they don't. :-(
 
mine are
game of life
 
Interesting link, anyway.
@mikeserv ?
 
they're all some version of the game of life.
they seemed to have stopped, though.
a loading thing?
 
@mikeserv It's garbage collection. they are stationary for me too.
 
maybe try opening one at a time in a separate tab
 
4:01 PM
@mikeserv Yes, that does seem to work.
 
yeah. that's better.
 
Thanks again.
This is actually a simple enough article for me to understand. Usually I have not idea what people are saying when they talk about garbage collection.
 
yeah - the one I'm looking at is 5mb.
 
@mikeserv The gif?
 
it seems to have given up the ghost eventually even on its own, too.
yeah.
 
4:03 PM
Wonder how hard it is to create these from a program.
 
each frame is a gif.
They're just packed together.
it's pretty easy.
 
@mikeserv It stops when all the garbage is collected.
 
I got a little app that will record the terminal into animated gifs.
 
You do know what garbage collection is, right?
@mikeserv Sounds handy.
 
not very well, no. it's how the stack is cleaned up, though, right?
 
4:08 PM
@mikeserv Basically it is how memory is reclaimed in an interactive process, roughly speaking. I'm sure I'm expressing that all wrong.
A simple example is Python. If you create an object in python is uses some memory. When you delete the object, the memory is not longer being used, so the system can reclaim it. In Python's case, it uses reference counting, which is pretty primitive.
Every place that is using the object has a pointer it. When there are no pointers to it, it is gc.
 
 
2 hours later…
5:42 PM
now for an exciting game of will it boot?
 
@casey should we lay odds?
 
nah, because I have a known good kernel to fall back on
 
6:07 PM
@casey its not exciting unless its a remote machine and you'd have to drive at least 30 minutes to fix it.
 
6:24 PM
Agreed. Transcontinental would be even better. Like, if the machine was in North Siberia.
 
@derobert local ARM SoC connected via null modem cable to a machine I'm not sitting in front of. Trying to boot a vanilla kernel on it sans binary blobs I don't need for DVI/HDMI support that lock you into an old kernel they support
 
@casey do you ever do paper reviews? if so, is it tedious?
 
last result: failure, but I didn't even get to boot the kernel and now I'm learning about uImage fun!
@FaheemMitha no more tedious then reading a paper and writing down things wrong with it.
 
@casey Do you do that?
 
if you tend to gloss over grammatical errors and the like, it can be tedious. If the writer makes terrible errors in his methodology or interpretation of results, it can also be tedious
 
6:38 PM
@casey Not following the first sentence. who is "you"? reader or writer?
 
reader
 
@FaheemMitha Best would be if it were in an active war zone. The type where you've experienced equipment failure due to gunshot damage.
 
@derobert yes, you could make an episode of 24 out of it.
The intrepid sysadmin races against the clock to reboot the server! Will he make it? Stay tuned for our next thrilling episode.
Disclaimer: I've never actually watched 24.
 
That wasn't a hypothetical, but thankfully other people were responsible for local support of that one!
 
@FaheemMitha they even made an indian version of it.
 
6:42 PM
It was in Iraq, on a US base. I just ssh'd in. A couple military guys dealt with the hardware when it broke.
 
@Ramesh I'm happy I missed that one.
@derobert Why were you sshing into an Iraq US base?
If it is TOP SECRET, don't feel obliged to share...
 
@FaheemMitha Because I was subcontracted to support a web cache there. No, not classified.
 
@derobert Huh.
 
By now, they will be trying to figure out how to send virus through ssh.
 
But that was definitely a think real hard before rebooting it box.
 
6:45 PM
@derobert seriously or you are kidding?
 
@Ramesh are you (a) an avid consumer of Indian multimedia? (b) don't care one way or the other (c) head for the hills when you hear Hindi film music? (d) none of the above?
 
@Ramesh seriously
 
@FaheemMitha I will opt for option c.
 
@Ramesh He wasn't claiming to be an international spy. That, I would have found to swallow.
@Ramesh Me too.
International spies aren't generally 'nix literate. And they are not as nice as derobert either.
 
@FaheemMitha nowadays it has become so crappy that each and every movie seems to earn 100 crore.
I don't know who really watches them as they all stink much worser than the previous ones.
 
6:47 PM
@Ramesh I'm obviously in the wrong business.
As I last observed when visiting my local dentist.
Between rap and Hindi film music, it's a toss-up which I hate more.
 
@derobert wow, so how was it? I mean, were all the people eagerly looking at what you were doing?
 
@derobert meh. it's usually the pilot. pilots are idiots.
 
@mikeserv Based on first hand experience? Like Top Gun?
 
@Ramesh not sure what you're asking?
 
@FaheemMitha - yes, stupid like top gun.
 
6:51 PM
@mikeserv ah. very stupid, then.
 
yes. very.
or like doc jones sr.
i once got a fault report:
multifunctional display looks like biscuits and gravy
resolution - like 99% of the others - could not reproduce fault
pilots are the drummers of the armed forces
their claim to fame is moving their hands and feet in different directions simultaneously.
ringo starrs - every one.
 
as long as we're restricting that label to military pilots, I won't object
 
its the only class I know
 
@casey :-)
 
I only squawked my MFD when they were truly broken :)
 
7:03 PM
@mikeserv resolution - removed pilot's lunch tray from display ?
 
well, my suspicion is someone threw up on it and the crew chiefs got there first
 
hah
 
@derobert - exactly
 
No takers in dba. Any mysql users here? might try irc...
in The Heap™ - Consultancy ©®, 11 mins ago, by Faheem Mitha
Can anyone tell me a simple way to check which of the tables in a mysql db are non-empty?
 
hey - don't get me wrong - ringo was the fun one, too.
 
7:06 PM
if you want to see really idiotic pilots, try and find some of the old youtube videos from ERAU pilots playing top gun in their cessna 172. Nothing like hearing "danger zone" set to an approach at 35 knots in CAVU
 
@FaheemMitha ummm... select count(*) from them?
 
ok. now I'm doing that.
 
@derobert ok, but individually?
 
@FaheemMitha yeah
 
@mikeserv You clearly need a job.
@derobert I'd prefer one command.
 
7:08 PM
there is also a show table status or something like that which might give you an approximate answer...
 
@derobert ok. thanks.
 
@mikeserv let me know if you find a truly awful one. Most of the ones I used to have bookmarked for a laugh were taken down for copyrighted music (danger zone!)
 
I stress approximate. I'm not sure it contains an accurate row count, maybe just a close one. So e.g., it might say 0 when there are actually 2 rows, or something like that.
 
15
Q: List of non-empty tables in mysql database

user266057Can I get mysql to return all non-empty tables in database ? much like "SHOW TABLES" but only those that are not empty.

 
@FaheemMitha there ya go. An approximate answer.
 
7:10 PM
The first answer looks reasonable.
@derobert Not sure why.
 
@FaheemMitha - I do need a job.
 
the first one gives a lot of extraneous stuff. the second doesn't work at all, not surprising since I don't understand how it is supposed to work.
@mikeserv Is it hard to find one?
 
Anybody know anybody that could use a partly clever/partly ludicrous shell-script for cash? I bet I can produce.
 
LOL
 
@mikeserv Seriously, is it that hard?
 
7:15 PM
@FaheemMitha - that's the first I've looked.
 
@derobert i see two answers that have this weird backslash thing. it must mean something - anyone?
 
@FaheemMitha weird backslash thing?
 
@derobert in the second and third answers to that question
 
you mean the FROM `information_schema` bit? The `?
That's a sign of MySQL-induced brain trauma.
 
@derobert right. as usual, i got it wrong. i meant, the weird back-quote. or something.
 
7:18 PM
It's like standard SQL's double-quote for quoting identifiers.
 
@derobert probably, but unfortunately i'm stuck with mysql this weekend.
this paper i'm reviewing uses it...
 
In fact, MySQL takes double quotes too.
 
@derobert Oh. wonder why it doesn't work here.
 
So there isn't any reason to use `tablename` instead of "tablename", unless you want to be intentionally non-portable
 
mysql> SELECT * FROM `TABLES` WHERE `TABLE_ROWS` > 0;
ERROR 1146 (42S02): Table 'dbvor.TABLES' doesn't exist
 
7:19 PM
And there is little reason to use it at all when you're not dynamically generating the code.
 
@derobert Maybe the idea is to be non-portable.
 
@FaheemMitha you lost INFORMATION_SCHEMA
... FROM INFORMATION_SCHEMA.TABLES ...
 
@derobert Oh, BALLS.
I wish people would just write the complete answer.
Thanks.
 
that second answer says to use information_schema first
 
I'm tempted to edit it.
@derobert It does. I could use work on my reading comprehension.
Even so...
 
7:21 PM
The first answer is the same thing, but better written.
 
@derobert Oh, right. That gave me too much extraneous stuff. It seems to be pulling in system tables or something.
 
The third answer tempts me to downvote, for repeating it a third time, months later.
@FaheemMitha look at the second part of that, where you can limit by TABLE_SCHEMA
 
@derobert ok
 
table_schema being what MySQL normally calls the "database" name
 
@derobert Yes, that works nicely, thanks. Time to upvote.
@derobert I'm tempted to ask why it calls it table_schema. Intentional confusion?
 
7:26 PM
@FaheemMitha Nope. Every time MySQL adds a new feature, they roll a die. On a 4, they decide to go with the SQL standard. They got a 4.
 
@derobert Heh. How many sides does their die have?
 
@casey - maybe I'm not looking for the right thing, but they're all boring. so far I've watched ~20mins of aggregated clear-day descents.
 
@FaheemMitha I'd guess at least 20. (Obviously, just kidding about the die roll), but its because of the SQL standard. Other databases have multiple schemas per database, as a type of namespace
So, e.g., you can put each app in its own schema. Then you can select across schemas too, with the 'schema.table' notation.
 
@derobert right, like PG. Which is what I use.
 
MySQL has schemas as well, they just call them databases. Actually, they call them schemas too ... you can use 'create schema' instead of 'create database' in MySQL. They're the same thing.
 
7:29 PM
And I use PG namespaces/schemas heavily. who wouldn't?
@derobert can you also do a set search path to...?
 
@FaheemMitha In MySQL? I doubt it.
Well, other than via USE
 
@derobert ok
 
@mikeserv I'll take a look later and see if I can't track down one of the "good" ones
I'd take video of my fun approaches too, but you could simulate all of them by painting a wall grey and staring at it
 
@derobert overuse of the schema term, though.
 
@casey - Yeah - a zero-vis descent just doesn't translate to video so well.
 
7:39 PM
overloaded terms are never good.
 
i take that back, i do have one approach video on youtube... in CAVU... but at least I'm landing at 120-140 kts. pretty boring though
 
Trivia question - why does the text here go from dark to light?
167
A: MySql export schema without data

DaricYou can do with the --no-data option with mysqldump command mysqldump -u root -p --no-data dbname > schema.sql

 
In AK when the guys went/up down after a fresh powder it was the same - but a white wall.
 
@mikeserv I had one landing into EWR in 1200 RVR, obscured ceilings, snowing and the runway had just been chemically treated and we were the second to land on it. All clouds until ~100 ft when we picked up the approach lights and as we lowered the clouds transitioned into a pure white snow field with no horizon reference with lights barely visible and one set of tracks in the snow from the plane in front of us.
 
ugly
 
7:43 PM
@casey use the gray as a green-screen, and paste Godzilla on top.
 
that's why you guys wear the jumpsuits - fewer leaks.
 
:)
im civil, so no jumpsuit, just polyester pants
 
@mikeserv did you do any flying?
@casey into EWR in 1200 RVR?
 
yeah, of course. I even took the collective once.
fm - overloaded terms
but mostly I slept
 
@FaheemMitha EWR = that wonderful airport in Newark, NJ and 1200 RVR == 1200 feet visibility at the arrival end of the runway
 
7:46 PM
in HI I did a 3-week air-assault course
 
@mikeserv HI?
 
Hawaii
 
@casey ok
 
Air Assault = helicopter rappelling
 
@mikeserv collective?
 
7:47 PM
the steering wheel
one of them
But it's a stick
 
@mikeserv oh
jargony
 
yeah. it's a pretty closed-circuit community
they even have their own bars
 
@FaheemMitha in a helicopter your controls are the stick between your legs (horizontal motion) and collective stick to your side (up and down). Its a bit of a simplification, but thats it in a nutshell.
I have 0.3 in a Robinson R22
its not as easy as it looks
 
@casey ??!!
 
1/3 flight hours
 
7:49 PM
@casey I see
 
~17 minutes
 
@mikeserv thanks. I easily fall into aviation jargon
 
@mikeserv Ok. That's a short course. And I assume you mean flight rather than fight.
 
= 3 hours preflight + flight + postflight, I'd wager.
Yeah. good assumption
 
yea, that was just an intro flight
 
7:51 PM
Helicopters look dangerous.
 
they are. they're modeled after bumblebees. which is retarded, because, aerodynamically, the bumblebee makes zero sense
basically they beat the air into submission with brute force
 
always low and slow. There are few moments in an airplane where an engine loss would require the same level of quick response as a helicopter is almost always at
 
@mikeserv A bumblebee isn't made out of metal, filled with flammable fuel, and doesn't weight 1000s of tons
 
no, but it stings
 
7:53 PM
and it's loud
@casey the drummers
 
@derobert @casey I told the mercurial guys you weren't that impressed by the idea of evolve. they were crushed.
 
@FaheemMitha - they're really not all that heavy though - 10 strong guys can tow a Chinook up/down an airstrip. My bird - the Kiowa - often only took two.
 
@mikeserv You used to fly a helicopter, then?
 
I was a helicopter tech - avionics, electronics, armament. I flew in them a lot.
 
@FaheemMitha At least you didn't tell them about the mercury poisoning...
 
8:00 PM
@derobert That's true, I didn't.
 
They might have abandoned the project entirely.
 
@derobert Indeed. That was a close call.
 
Though you might want to warn them to watch out for unexplained paresthesia, itching, burning, pain, skin discoloration, and swelling. If they start experiencing those, they should switch to CVS immediately. Ok, actually, see a doctor. Then get the prescription filled at CVS.
That list of symptoms, of course, comes from Wikipedia. But that's OK, that's surely where they'll go instead of to a doctor.
 
I think the mercurial devs would rather die than switch to CVS. They also have pretty nasty things to say about git.
E.g.
16:13 < faheem_> !gitspeak
16:13 < hgbot> "gitspeak" could be apparently mad ravings and incantations characteristic of git users, not generally understood by others
From #mercurial, of course.
Probably written by mpm.
 
8:23 PM
@FaheemMitha Sorry, I suppose you're not aware of the US drug store by the same name.
 
@derobert I am. Sorry for my lack of appreciation for your punmanship.
lack of show of appreciation, more precisely.
 
holy shit - how dores it get 9 upvotes and accepted?
8
A: How to append multiple lines to a file with bash

evilsoupprintf '%s' 'Host localhost\n ForwardAgent yes' >> file.txt Or, if it's a literal tab that you want (rather than the four spaces in your question): printf '%s' 'Host localhost\n\tForwardAgent yes' >> file.txt You can achieve the same effect with echo, but exactly how varies from implement...

the guy says do printf %s 'string\n'
of course, now that I've seen it, it has only 8 votes.
please - someone else downvote it too?
 
8:43 PM
@mikeserv done. The correct answer has more votes now
 
9:08 PM
@derobert - that answer would have made a very good question though.
 

« first day (1427 days earlier)      last day (3526 days later) »