« first day (26 days earlier)      last day (3213 days later) » 

2:21 PM
Is there some way to move a running command from a bash shell into a screen session?
 
2:34 PM
I'm not sure if this will work, but you could try Ctrl-Z, screen, fg , (exit screen)
 
mmh
 
:S
Sounds a little risky, if the command running is too important
 
All I read was: bash screen.
 
LOL
 
Tried with a testscript, didn't work.
 
2:42 PM
hmm
Is this solely for logging purposes?
or do you want to put the command in the background and quit the session?
 
user69820
is the running command already in a screen session?
 
I don't think so
 
@Kyle if only...at our company, it's probably going to be 2001 - 2099 :'(
They won't let us upgrade to 8, or even 7!
 
user69820
@KyleSevenoaks never! i will use ie6 foreveeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeerrrrrr
 
2:49 PM
I have some customers using IE6 as well :( No plan for the near future to replace it :(
 
It is driving me mad right now.
I even told my boss "I am not supporting IE6".
 
@Sagar Year, backgrounding so I can close the session but I need to resume it.
 
Yet here I am, supporting it.
 
user69820
you could support it by using the code
if(ie6) {
alert('fuck off');
}
 
@ZeissS try (on a test script) :
 
2:51 PM
@thegravytalker HAHAHAHAHAHA!!
 
ctrl-z
@ZeissS sorry one second
try this:
Ctrl-Z followed by nohup bg &
the bg is in backticks
nohup `bg`
 
fancy idea :P
but I wont try it, too freaky ;)
the script is running to long now :(
 
@ZeissS no, but you can disown the command from the shell and it will continue (even after the shell exits) until it tries to output to the terminal (if you didn't redirect stdin/out/err)
 
it regularly outputs to the shell :(
 
fg and bg and shell commands rather than programs, you can't run them through nohup
@ZeissS: you can set screen as your login shell so you never forget to run it :P ... for next time
you can also get in the habit or running those programs through batch or other cron-like services from the start, which then mail you output
 
2:58 PM
@RogerPate I'm not the only one using this shell/user and I don't want to have endless screen sessions floating around on the server.
 
(I got very frustrated with this too, at one point)
 
Well, I hoped it would run faster.
:P
 
well, if you exit normally the screen session will quit too, you have to detach on purpose (or get a dropped connection)
 
IE6 can do what the alert said, I'm going home, bye SO!
 
I don't know how my colleagues work, but I guess dropping connections is likely (shutting down the vpn connection or simply closing their notebooks)
@KyleSevenoaks Bye bye
 
3:27 PM
@RogerPate aah thanks
 
 
3 hours later…
6:02 PM
2
Q: Why isn't the CSS ID the highest priority CSS rule in this case?

Michael DavisI have built a CSS navigation header, and it's working exactly the way I want in regards to positioning, stylization, all that. This is the CSS that stylizes it: #header ul { padding:72px 0 0 0; text-align:center; } #header ul, #header ul li { margin:0; list-style:none; } #header ul li { displ...

can anyone confirm his or mine?
 
the jsfiddle link shows the last item in green in chrome
 
green in Opera (jsfiddle link)
 
vote me up then? so I rise to the top on those answers, to help sort things out, since my jsfiddle seems to be lost
also, can a css ID have a hyphen? is that legit?
seems to be legit
 
the ID is an HTML attribute, not CSS, and hyphens are legal AFAIK
 
6:18 PM
nm, the example code was wrong
/facepalm and I tried to defend it
 
hi guys
I've got some files I have to routinely move about - does anyone know a good prog to do this - don't and can't be bothered with writing a DOS script.
 
well "can't be bothered" means I can't be bothered to write it for you either ... you're gonna have to give a lot more info on the requirements before we know what you need
take just the information you've provided and solve it for yourself... what else do you know about the process that we don't
since you said DOS I imagine you mean runs on Windows (and that would be the CMD prompt, not DOS)
 
@Vidar I dont know of anything that will magically understand your requirements and just do what you want, sorry :)
3
 
shit hang on
 
get a windows port of bash, then write a sh script :P
 
6:26 PM
just like you have files in a project that you want to move to another project that is a mirror of it basically
 
He said he can't be bothered with scripts
 
"DOS" script
 
@CodingGorilla and I can't be bothered to help him ya know?
 
You want to overwrite the files in the target location
 
@Vidar You still have to somehow tell it what files you want to move
 
6:27 PM
@Vidar: check what you can do with xcopy, other than that, and without writing a script, it's been too long since I've used windows
 
@Vidar the short answer is you probably want to use robocopy, but you will need to write a "short" script to tell it what files to move and where
@drachenstern Yea, I'm not writing it for him either ;)
 
@CodingGorilla - ok yep - have heard of that
 
@CodingGorilla let me guess, can't be bothered?
 
cbb doesn't roll off the tongue like cba
 
funny how I've got a half dozen scripts laying around that run in a cmd window for my routine maintenance issues
 
6:29 PM
of course you do, you're lazy; why solve the same problem twice?
 
DOS scripts are just a pain in the ass
 
lazy, lazy, lazy
@Vidar: yes, they are; that's why msft has powershell
 
@RogerPate I've been trying to tell programmers that for years now
gotta be lazy
 
I guess it's ok if youre used to it, and mess about with DOS every day
 
@RogerPate dont' give it all away, next he'll want to know that he can get there with PS
and that he can use .NET objects in it and everything
@Vidar but I don't that's just it
 
6:30 PM
@drachenstern: photoshop has even more powerful scripting
 
Yeh Powershell - whats the learning curve on that ?
 
@RogerPate well yeah, but that's cos it has a full language library built in, I might as well write python scripts then
@Vidar steeper than the one on CMD
 
@Vidar there's a Microsoft Sync Toy that will do something simiar, with a GUI
might wanna check that out too
 
ok cheers Coding Gorilla
 
@Vidar: it's not negligible, especially if you know nothing about control flow, but it is probably worth learning some of if you stick with windows
plus... you're in a programmer tavern
 
6:32 PM
Yeh but I'm lazy
and I want super fast results
 
well now I feel bad that we gave him really good answers and he shit on us ... idk, I mean, I can't be bothered to learn to say "I don't have the time right now to learn how to do the thing I need, is there a gui tool that will simplify my requirements {list requirements}"
 
and I know somone has probably written a super easy GUI for me to pick up and use
 
there's a difference in being lazy and being lazy tho
 
@Vidar: we still have you beat by impatience and hubris
 
it's all to do with time, deadlines, cracking nuts with sledgehammers etc
 
6:33 PM
I'm used to bash. Can someone give powershell equivalent of "ls | tail"?
 
@Vidar: I ... am rarely happier than when spending an entire day programming my computer to perform automatically a task that would otherwise take me a good ten seconds to do by hand. — Douglas Adams, Last Chance to See
2
@VojtechR: sure: bash -c 'ls | tail'
actually, it's probably dir /b | more
 
lol
 
more goes forward, tail goes backwards
 
hmm, I don't see parameters for more listed online that I thought it had, must've been something else
 
So I'll check out Robocopy and Powershell, but I reckon PS will not work on XP SP2
oh no - it should
sorry - talking crap
Cheers guys
 
6:37 PM
yeah, I'm looking at powershell now
 
Robocopy is what you want, powershell is a whole other beat
 
have a fun time, come back and see us again
powershell is for when cmd doesn't cut it
:D
 
powershell is c# in a shell basically
 
I looked at powershell a couple of years back - looked involved but apparently its the bollocks
[can I swear?]
 
It's very powerful, it's awesome for sysadmin type of stuff
 
6:39 PM
swearing is fine, it just makes you look like a fucking idiot
 
can you use powershell in Visual Studio then?
is it part of the .Net framework
maybe I should google lol
god I'm lazy
 
It is powershell good enough to be ported to Unix?
 
why?
 
@VojtechR if you feel like implementing the .NET runtime sure
 
@drachenstern: mono wouldn't have (at least most of) the required parts?
 
6:45 PM
hello
 
@RogerPate I'm sure, but not everything. Consider the PS integration with AD for starters, so the LDAP tools would have to be brought up to whatever the samba guys are working on
 
@drachenstern Actually, that's not specifically powershell, it's the cmdlets inside powershell, so if you were porting it to linux you could obviously add that code to the cmdlet port
 
Windows PowerShell Not Responding. In ten minutes of basic experiments. It's not good tool for me.
 
Just looking at Robocopy - it comes with OS post XP - so will have to find reliable source for XP compatibility
 
I think it came with XP too
 
6:53 PM
did it? - OK
 
I'm not 100% sure, but I thought it did; it's been around for quite a while
 
It's just that I see things like this on internet search "This Windows 2003 Server tool is also at home on your Windows XP system"
RE: RoboCopy
It seems that you can also download a GUI to fit over commandline Robocopy
Maybe it's all on Technet
 
Yea, I think there are a few gui's that "automate" it
 
Looks like a bit of arsing about....
 
well you could have scripted the code out by now in CMD batch files
 
7:01 PM
probably!
 
7:14 PM
just used one of my CMD scripts as a matter of fact
 
7:48 PM
 
@drachenstern Love that :)
 
8:04 PM
Haha at the footnote.
 
hehehe
 
 
1 hour later…
9:20 PM
i need some advice on licensing. my project i'm working on is licensed under Apache 2, I'm looking to provide some parsing for a serial device, and there is a large chunk of .net 1.1 code on CodeProject that does exactly what i need. what attribution do i need to do if i clean the code up to .net 4 and include it in my project?
 
9:38 PM
very good question
 
down the rabbit hole we go. evidently somebody lifted that code from a commercial code base and the commercial source is now on Codeplex and marked as GPL. sigh i hate putting on the lawyer hat.
 
Morning all!
Ive been using one note for code snippets, links and todo for small projects. any ideas on a good personal info manager?
 
user69820
OneNote?
 
@JeremyChild Evernote is kind of nice, not sure I would use i for code snippets
 
user69820
9:53 PM
OneNote?
 
user69820
Microsoft Office OneNote 2007?
 
Yeah using that.
quote: "Ive been using one note for code snippets"
but i would really like it to alert to-do's
 
user69820
sorry, the space threw me
 
and possible timeline everything.
repost: "I am using onenote.exe"
And keep track of hours spent
 
user69820
@JeremyChild that's better
 
user69820
9:59 PM
well then i suggest Outlook
 
user69820
lol
 
@JeremyChild Use Outlook, that's got Notes (for snippets if you must), Tasks for to-dos, and a calendar
+ email of course
 
user69820
@CodingGorilla hang on, i just loled at that suggestion
 
I would rather use the Google suite. Then I can access it anyware...
 
@thegravytalker Which one? Outlook?
 
10:01 PM
Would be nice to have the Developer Information Manager
 
user69820
yes Outlook (i suggested it first)
 
that handles all your bookmarks
syncs them
allows web access
etc.
 
@thegravytalker yea, you obviously type faster than I do :P
 
user69820
@JeremyChild that does sound more developer-centric
 
@JeremyChild Write one :)
 
user69820
10:03 PM
@CodingGorilla but where would he put his code snippets while writing it?
 
@thegravytalker Outlook of course :P
 
user69820
Anyway, I just received my Oracle Certified Professional certificate - I know, I know - please remain seated
 
user69820
and they give you this little credit card thing that you can pop in your wallet
 
user69820
obviously so you can whip it out at parties to swoon the ladies
 
instead of one-note I recommend emacs-org-mode just to be difficult
but it is more useful for snippets
 
10:11 PM
@thegravytalker congratulations!
 
+1 for swoon the ladies
 
lol
 
@CodingGorilla I don't think they get the irony
 
user69820
@Sagar @drachenstern thanks guys, fishing for awe complete
 
lol
another success story...sigh
 
user69820
10:13 PM
hurrah just noticed: 4 stars for my profane javascript
 
user69820
get. in.
 
user69820
what a day
 
user69820
hey @Sagar did you get to the pub in the end?
 
still at work...lol
 
user69820
working late?
 
10:18 PM
will be going in a couple of hours though :) 4 days into the week today, and i'm already up to 40 hours...
nah, its just about 1630 here
 
user69820
not long then
 
user69820
well enjoy yourself
 
user69820
i'm off to bed
 
user69820
cheerio
 
'night
 
 
1 hour later…
11:40 PM
chat is dead?
 
nope
it is meditation time
 

« first day (26 days earlier)      last day (3213 days later) »