« first day (1601 days earlier)      last day (3647 days later) » 

00:11
@derobert how's going with Jessie? Any further systemd issues?
01:09
23
Q: What is the new "Answer similar questions" feature for?

davidismI and a few others in chat are noticing that we get the following message after answering a question: Thanks for contributing! Have more to say? Answer similar questions Clicking the button for that post took me to this search page listing "similar" questions to answer. I guess that's ne...

 
6 hours later…
07:33
@FaheemMitha Well, Jessie is frozen now, so not much is changing. So nothing is breaking currently. Last thing I had to fix was my media PC taking >1minute to bring up networking, forget what the cause of that was.
commit 551b2ce108df3df01040ed068439caa84391b28f
Author: root <[email protected]>
Date:   Sat Jan 31 13:58:44 2015 -0500

    Disable ntp dhcp hook due to obsurd boot time.

    This added well over a minute to boot. To a user/kernel boot time of under 40s!
Forget what the exact issue was, I think it was something with trying to resolve them before DNS was set up, or something like that.
(And yes, it appears I made a spelling error in my commit message.)
 
1 hour later…
08:42
@FaheemMitha Hi , are you there?
@AndyK I think I'm here all alone. About to upgrade to Wheezy.
arf.
@derobert are you a specialist with perl by any chance?
@AndyK yes
do you think you can help with a friend question by any chance ...?
@AndyK Well, I can try, I'm about to have plenty of time while waiting on dpkg
08:50
I tried to help him but Perl is not my specialty yet. So there we go unix.stackexchange.com/questions/186851/…
wow, that's hard to read what OP wants
he wants to remove specific text part in a html page , the text part will have line feed or space
Keep ensured your hat is fine.<br />
If you are having issues
the part he puts in the case
The part may have line feed
\s should match any whitespace
but for line feed?
Line feed is white space, I'm pretty sure...
But (as that first comment says), at some point its much easier to switch to e.g., HTML::Parser
08:58
ok
but how do you that ?
with the html parser I mean
radar oreilly is easier for understanding
@AndyK also, I'm confused by that question, as the "A friend of mine helped me out with this" code appears to produce the OP wants, according to the examples—but apparently isn't want OP wants.
Also, stackoverflow.com/search?q=%5Bperl%5D+parse+html gives plenty more examples, at least in the answers.
He was more expecting to be able to target only the specific part
not what surrounds the text
Ah, well, if he wants to match Keep ensured your hat is fine.<br /> If you are having issues ... that's fairly easy
s{Keep \s+ ensured \s+ your \s+ … }{replacement}x
/x at the end changes the syntax some, so that spaces no longer match spaces (and a bunch more things that help with readability)
\s+ means match one or more whitespace characters
... and you can use characters other than / to delimit the pattern; / is a PITA with HTML.
(and by … I mean the completion of the rest of that pattern, I'm just being lazy in not typing the whole thing out)
09:14
fair enough. So it will take the white space and all the line feed inside right?
perl -0777pe "ss{Keep \s+ ensured \s+ your \s+ … }{replacement}x" file
only one s at the start
perl -0777pe "s{Keep \s+ ensured \s+ your \s+ … }{replacement}x" file
and you might still want the g at the end (g means to replace all occurrences, not just the first)
But that should work. Given, I haven't tested it :-)
it should be something like this perl -0777pe "s{Keep \s+ ensured \s+ your \s+ … }{replacement}x /sg" file
BRB, gotta reboot the machine I'm upgrading
09:16
waiting
@AndyK no, it'd be …{replacement}xg ... the braces are instead of slashes
anyway, BRB
I don't think you need s in there, but it'd go at the end after the close brace as well
give me 5 or so to reboot that box
grumble filesystem module not in initramfs.
@AndyK Here now.
Well, first attempt at switching to new rootfs failed. Easy enough to fix though. Just takes 5 minutes to boot to the old one.
@derobert --> perl -0777pe "{Keep \s+ ensured \s+ your \s+ … }{replacement}xg" file
@AndyK you lost the s in front
09:26
perl -0777pe "s{Keep \s+ ensured \s+ your \s+ … }{replacement}xg" file
The syntax is s{pattern}{replacement}flags ... so yeah, that looks right.
cool. I need to check with my mate
@derobert I guess I meant are there any problems with jessie frozen in, so to speak?
@derobert shouldn't you be asleep?
Yikes, 4.30 am.
EST, that is.
@FaheemMitha oh, sure. But nothing that can't be worked around. And there were plenty of problems with sysvinit as well in Wheezy.
But yeah, a couple more months before the freeze would have helped.
@derobert Oh? Never noticed any. Ok, about to go AFK.
@derobert So, still some problems frozen in? Hmm.
09:29
@FaheemMitha Well, I told you about the fun I had with NFS over OpenVPN, right?
That applies on Wheezy.
@derobert Yes, you did. Are those problems still present in Jessie?
@FaheemMitha Somewhat, though a bit easier to fix with systemd.
Of course, my laptop, I haven't even attempted to fix the chain of horrors... which adds to that "and the network is WiFi, managed by NetworkManager"
@derobert Oh, those older problems were with sysvinit?
@FaheemMitha yes, the default setup is that NFS must be up and all NFS mounts mounted to have remote_fs available. And most everything depends on remote_fs, including OpenVPN.
But in my case, I need OpenVPN up before NFS mounts can be attempted. Well, some NFS mounts, not all.
@derobert I see. That doesn't sound good. Ok, off now.
@derobert And does systemd help with that?
09:34
@FaheemMitha A little. It still has remote_fs, but its a little easier to exclude a few filesystems from being required by remote_fs—unfortunately, only by mounting them outside of fstab, but it works.
systemd mount units are much simpler than the sysv init script to do the same would be.
Anyway, time for another reboot attempt. This time hopefully with the ext4 module.
09:48
... and of course, its fsck time
 
1 hour later…
11:01
And now an example of how to waste the admin's time on upgrade:
  │ -/*********************************************/
  │ -/* Useful important configuration overrides */
  │ -/*********************************************/
  │ +/*********************************************
  │ + * Useful important configuration overrides *
  │ + *********************************************/
@derobert. it works fine
yep, make me review a bunch of config diffs where the major change is a cosmetic one on how to delimit comment boxes!
my mate is happy as I helped him deal with that.
Thanks
@AndyK glad it worked
thinking about it, it can be automatized to something really simple
11:42
Preparing to replace slapd 2.4.23-7.3 (using .../slapd_2.4.31-1+nmu2_amd64.deb) ...
[ ok ] Stopping OpenLDAP: slapd.
  Dumping to /var/backups/slapd-2.4.23-7.3:
  - directory cn=accesslog... done.
  - directory dc=metrics,dc=net... done.
... hopefully this morning it'll not fail to restore them.
good luck @derobert
Configuring packages now, so I'm getting all the config file prompts.
So far, nothing major.
11:59
should you not be sleeping?
@AndyK Once this upgrade is done...
Had to do it starting in the middle of the night to minimize disruption
 
2 hours later…
13:41
@derobert good luck
Hi @terdon, I was looking for you
@AndyK Hi Andy, yes, I saw. Sorry, I was away these past few days.
@terdon no worries
nothing fancy though
Are you looking for a post-doc?
@AndyK Yes
@terdon Where?
Hi @terdon.
@derobert So, how did it go?
Hi @FaheemMitha well, at the moment, I'm trying to find a job in Greece. I'd like to stay here for a while. Post doc would be one option but I'm also looking at other things within academia and outside it.
13:58
@terdon Oh. Personal reasons for wanting to stay in Greece?
@FaheemMitha Just got Oracle working again. So I think its done.
On Wheezy now. That was much easier than Lenny -> Squeeze.
@derobert Wow, still awake? You didn't get any sleep at all, then?
@FaheemMitha I'm going to go home and get sleep now that its done.
@derobert Ok. Well, talk to you later. Off to dinner now.
Did the upgrade alter your feelings about systemd any? :-)
@FaheemMitha It's on Wheezy now—so no systemd yet.
14:02
@derobert Oh, Ok.
@FaheemMitha Yeah, haven't lived here since I was 18. I'd like to try.
@terdon It doesn't seem like an obvious destination for someone trying to do science, but Ok. Is North America also an option?
Usually people gravitate towards the happening places, because that is where stuff, er, happens. Also makes getting a permanent job easier, I imagine.
@terdon wow, Greece... That's an interesting goal. Hard to imagine they're hiring many academics.
Though with academia these days, easy is relative.
You'd think that with all that competition, the people with jobs would have fire coming out from the top of their heads, but that seems very far from the case.
@derobert The major research work is done in North America and Western Europe, I think.
Don't know about Greece. Well, dinner time. Later, everyone.
Nah, nothing really happening here. But I want to try anyway. You never know.
14:45
@terdon Well, good luck with that. But I wouldn't try for too long.
Not too sure where to ask this, but hoping someone here can help. A brew install is failing because "sh: latex: command not found", but if I manually do latex at an sh prompt, it's fine. Running brew install again with -v, I see that it has a different, shorter $PATH, without /usr/texbin on it. But how can I edit that PATH? I'm not sure where it's coming from.
@OllieFord I'm not knonwlegable about ruby, but it's supposed to import your path from the environment, are you sure you have a binary called "latex"?
15:01
@Braiam Yup, like I said if I do latex myself in bash or sh or zsh it's fine
But my PATH is longer, and includes /usr/texbin - the PATH spit out by brew with -v does not
agh.. 'fixed' it by creating a symlink in /usr/bin.. why didn't I think of that 2h ago.. clearly coffee time.
15:38
c-span.org/video/?324473-1/fcc-meeting-net-neutrality (the net neutrality vote live feed)
@OllieFord Is this on OSX?
What's the output of grep PATH /etc/profile ?
Tim
Tim
I have a problem with rsync. Appreciate if someone can help
0
Q: rsync error during incremental backup

TimI am learning how to use rysnc (version 3.0.9, protocol version 30) to do backup on a toy example, from a dir /tmp/pdf to a backup dir /tmp/backup, following http://schlutech.com/2011/11/rsync-full-incremental-differential-snapshots/. First is a full backup: $ mkdir /tmp/backup $ ls /tmp/pdf...

@Tim we see the questions. Not only do we all frequent the site, they also appear in the chat feed as they're posted. There's no reason to question dump in the chat room and many people consider that rude. At least wait until the question has been there for a while.
Tim
Tim
:)
15:55
Oh, and @Tim you want --link-dest= not -link-dest=
Tim
Tim
same error
oh i found the reference site uses –link-dest
how can I tell – from -?
@Tim Use a terminal with mono-spaced fonts when you read man pages. Also just know that there are two typical standards: single letter arguments (GNU Short-options) usually have a single dash and letter (e.g. -o) and full-word or multi-word ones (GNU Long-options) are prefixed with double dashes with single dash word separators (e.g. --output-file).
There are lots of exceptions, but if you assume that for starters until you read the man page of the specific program you're working with that will give you a good start.
Tim
Tim
16:19
@Caleb: what is mono-spaced fonts?
– isn't - or --?
A monospaced font, also called a fixed-pitch, fixed-width, or non-proportional font, is a font whose letters and characters each occupy the same amount of horizontal space. This contrasts with variable-width fonts, where the letters differ in size from one another, as do spacings in between many letters. The two high use letters 'I' and 'E' in both cases simply do not need the same footprint, while both differ in center to next letter edge (and center to center) spacing distance needs (margins) in variable width fonts. The variable that changes is the offset from what would otherwise be monospaced...
@Tim And no a dash (-) is not two dashes (--) is not an en-dash (–) is not an emdash (—). The latter two are used in typography but not for unix command line options.
There are more too.
A dash is a punctuation mark that is similar to a hyphen or minus sign, but differs from both of these symbols primarily in length and function. The most common versions of the dash are the en dash (–) and the em dash (—), named for the length of a typeface's lower-case n and upper-case M respectively. Usage varies both within English and in other languages, but the usual convention in printed English text is: Either version may be used to denote a break in a sentence or to set off parenthetical statements (ideally with intradocument consistency). Style and usage guides vary, but often in this...
Tim
Tim
it is hard to tell between a dash, en-dash and emdash, isn't it?
How can we use mono-spaced fonts with a terminal and with Firefox?
@terdon Yep, and nothing from grep PATH /etc/profile
16:45
monospaced fonts are usually the default in terminal emulators
selecting them is specific to the terminal emulator
some are configurable via menu options, some via Xresource entries
17:10
Bye everyone.
Tim
Tim
17:23
Is there some book giving advice on what backup program is best for what case?
 
1 hour later…
18:41
Hello. Is there an easy way to share your terminal sessions with your friends without having to create an user on your computer for them?
@Janman how do you want to share it?
share is quite broad. record for later viewing, live streaming, collaborative sharing, etc
Collaborative sharing. I am working with my friends on some piece of code in my terminal using Vim. If I could share the terminal instead of us using TeamVIewer would be great.

I have seen programs like "screen -x" and "byobu", but they seem to require to ssh into my machine using my user
I do not mind them having control over my computer (using my users privileges), but I dont want then to be able to access my computer any time they want, and I cant be bothered to manage multiple users on my machine, just for their use.
what is there to manage of a second user than just creating the user?
I do not have that much experience with Lnux, but I would imagine I would have to modify my SSH config files every time our collaboration session has ended, so they dont mess with my machine. I can also imagine file privilege modes would be somewhat messy.
19:05
@Janman I've never used it but terminology claims to have collaborative terminal sharing support
@casey Thanks, I will try it out!
 
2 hours later…
21:13
Are there any plans to implement this new profile view on UL?
@jimmij Which new profile view?
@Anthon look at your profile on meta.se
419
Q: Help us test the shiny new "User Activity" page! (Plus a bunch of new features.)

JaydlesToday, we're shipping the new "Activity Page" of the Profile here on Meta SE, so you can test it out and hopefully share some feedback and suggestions before we ship it network wide. Hate words? Assuming you're signed in, just click your face up in the top bar, and you can see it right now. Or,...

It is like the rearrangements the local supermarket makes every few years. Nothing really improves, you cannot find the things you could grab blindly and whlie searching for the things you need, you might stumble on something you'd always overlooked.
 
1 hour later…
22:41
Hello everyone. Are these changes going to be applied site-wide?
 
1 hour later…
23:52
@FaheemMitha yup, if everything seems alright
@Braiam ok. What do you think of the new changes?

« first day (1601 days earlier)      last day (3647 days later) »