« first day (1353 days earlier)      last day (3602 days later) » 

1:39 AM
@Braiam I'm inclined to agree, which is why I voted that the question be reopened. If you maintain your previous stance, would you do so as well?
It seems Gilles marked that question a duplicate - despite the two conflicting opinions offered by you and polym yesterday evening - and this other question had already been marked a duplicate of it.
0
Q: Adding Postgres bins to PATH: should I `export`?

ivanI'm on a Mac, but this seems like a UNIX/Linux question. I just installed Postgres.app, and the documentation says to add the /bin directory that ships with Postgres.app to your PATH by adding the following line to .bashrc, it'll get set for every terminal session: PATH="/Applications/Postgres.a...

 
slm
2:44 AM
FYI if you provide links to projects in A's avoid using freecode links going forward. Also if you come across them in reviewing I'd encourage you to find alternatives
2
> The Freecode site has been moved to a static state effective June 18, 2014 due to low traffic levels and so that folks will focus on more useful endeavors than site upkeep.
 
@slm - oh crap. I did that just the other day for ... hmm...
kmscon
I'll find it an fix it.
Should be easy because I linked the github in the same answer...
Thank you.
Nah. That was freedesktop.org - that's a different thing I think. Thanks for the heads up though.
 
slm
@derobert yeah that was a complete waste of my time.
@mikeserv yeah just was reading about a tool on that page and noticed the banner, thought to tell ppl since we do link to it from time to time
 
It's useful info. thanks again.
I did manage to come up with a sorta streamlined answer to that split one the other day. I'm not sure if it's as good as Stephane's - though, let's face it, probably not - because I'm not sure if his file.out does 15 of them or not.
1
A: Split large file into chunks without splitting entry

mikeservHere's a solution that could work: seq 1 $(((lines=$(wc -l </tmp/file))/16+1)) $lines | sed 'N;s|\(.*\)\(\n\)\(.*\)|\1d;\1,\3w /tmp/uptoline\3\2\3|;P;$d;D' | sed -ne :nl -ne '/\n$/!{N;bnl}' -nf - /tmp/file It works by allowing the first sed to write the second sed's script. The second sed firs...

I did test it anyway. I didn't put in there, but I even tested it with 6million lines and the results were pretty much ok.
I like those kind of questions usually, I just wasn't in the mood to go at it the other morning. But normally I'll take all of those @derobert passes on.
@slm - how was the swimming holiday the other day, by the way?
 
thank you, @njboot.
 
@mikeserv you're welcome. thanks for answering my Q! That's all I was looking for to begin with, haha.
 
@njboot - in honesty, regardless of whether the question is reopened or not, it probably doesn't matter - as you say, you have an answer you're comfortable with and I've never cared for points. It just... it was weird. And besides, I didn't know any single user could do that unilaterally - I thought it required 5.
C'est la vie, I suppose.
@njboot - has your question been downvoted since I posted that comment? I apologize if my doing so has negatively affected your question - politics are far from my forte. I thought it was considered common courtesy to comment as to why when you downvote a post - question or answer. At least in that case the user you downvote has an idea about why and what might be done differently in future.
 
3:54 AM
@mikeserv no. no need to apologize. it was downvoted twice when i first posted it. I suspect downvoted initially by "polym" b/c i left a comment thanking him for the reply but that his response (subsequently edited) was a link-only one and didn't really help me. IDK about the second downvote. It's more than common courtesy IMO. Unless the question is SPAM, or just awful beyond reconciliation, I always explain why I downvote.
 
Ditto that. I just thought it had two upvotes at one-point, but maybe it was only the one. I dunno, mine is still there.
 
 
4 hours later…
8:09 AM
Hi
anyone is there ?
 
9:02 AM
@RahulPatil hi
 
9:25 AM
@RahulPatil interesting project github.com/rahulinux/sendsms . I'm surprised free SMS's are possible. What is the catch? Ads? Also, can you list your phone number as the number it is from?
 
10:22 AM
I've use requests api
you can use the same if you want..
but unfortunately, I think because of too many hits on that site they have disable direct login
they have enabled CAPTA
so that script will not work
but in python we can also hack CAPTA
 
 
4 hours later…
2:19 PM
unix.stackexchange.com/questions/35962/… ... just me, or should that be closed as primarily opinion based?
 
slm
@derobert - I think so, we've gotten several A's on it today, never seen this Q before today.
I just VtC
 
Same here
@slm I only see one answer today? You say there are several?
 
slm
@derobert Sorry it was another Q that was old where someone gave a 1-2 sent. A.
 
2:42 PM
Will there be a difference in the copying time based on the files?
 
I have a Q to post, but not sure if U&L is right for it. Its about odd sleep issues with a monitor connected to linux via an active displayport -> dvi adapter. It might be an issue with the nvidia drivers, or it might be an issue with KDE or it might be an issue with the oddities of the dp->dvi conversion.
I'm leaning toward posting it here, because I think its an odd interaction between the nvidia driver, X and the WM
but can't say for sure
 
@casey is on topic here, through those stuff are left mostly unanswered, unless someone had/has the same problem
 
2:58 PM
@Braiam Yea, sadly I'm not anticipating a good answer, though I would like one. Googling is saturated with issues waking up from sleep and audio disconnect issues, but not much on the going to sleep issue i'm experiencing. I'll write it up and hope for the best
 
@casey if nothing works I would try the xorg mailing list and maybe kernel's, if you come out empty then you can bother kde guys in freenode
 
That'll be my second stop. If I bug them at least I can copy/paste or reference my Q here so its worth posting :)
 
> The syntax of systemd's unit files is inspired by XDG Desktop Entry Specification .desktop files, which are in turn inspired by Microsoft Windows .ini files.
just wow
 
because ini files were so inspiring in their format...
Lets extend that and claim windows .ini files are inspired by Fortrans namelists
its not that much of a stretch
:)
 
@Caleb, I have a pretty similar issue in my server. I am trying to find why the copy is taking too much time.
64
A: How do I know if dd is still working?

CalebYou can send dd a certain signal using the kill command to make it output its current status. The signal is INFO on BSD systems (including OSX) and USR1 on Linux. In your case: kill -INFO $PID You can find the process id ($PID above) with the ps command; or see pgrep and pkill alternatives on ...

Can I use your answer and replace dd by rsync?
 
3:09 PM
@Ramesh No. That fact that dd listens for and responds to that signal with that data is a feature of DD. I don't think rsync would respond the same way, but rsync does not tend to have the same problem in the first place. Try just launching it with -v and/or --show-progress options.
@Ramesh If you lanched rsync without the right options just cancel it and start it again with. It should pick up where it left off. DD is trickier because you can't just cancel it and restart it.
 
@Caleb, the problem is I started the backup through a script. The script worked fine in another server. It copied 800 GB in a night. However, this one is going on for 3 days and has only copied 470 GB.
 
Or just poke around and find the file rsync is working on and look at how it is growing. It should be clearly marked in the file system as a partial transfer from rsync.
@Ramesh Sounds like you already know how far along it is. What more would you expect to know?
 
@Caleb, I am just curious why the transfer is taking more time than the other server.
Both the external HDDs are the same make and both have same file system.
 
@Ramesh And how would rsync be in a position to tell you that? Sounds like you need to check on you I/O subsystems, not rsync.
 
@Caleb, I will check it out. I was wondering, is the time delay due to the files that are being copied?
 
3:16 PM
@Ramesh Again, why would rsync know anything about that? You can figure out what files are being copied, but I'm not sure how you think that would tell you anything.
Unless it is throwing errors (in which case the errors are probably also in your system logs) rsync itself is not likely to have any insight into "why" something is going slower that you expected if you already know how fast it's going.
The thing with DD is that you usually can't tell where it's at if you don't ask it. You can't see that you've "done 470 GB so far", which is why you have to query the running process.
 
3:34 PM
@Caleb, I just verified the files that are getting copied. A lot of binary files are currently getting copied. I am not sure if that is what causes the slowness. Another possible reason I suspect is the USB port that I connected to the external HDD might be slower in data transfer.
 
@Ramesh The file type would make no difference. Lots of small files tends to be slower that a few large ones, but the overall difference is small and file type shouldn't matter. Having a slower USB port would!
 
@caleb, sounds reasonable. Is there a way to check the USB port's I/O speed?
 
@RahulPatil I don't know what that is. There is something to be said for sending text messages from a proper computer. Doing it from a phone is just slow and annoying. However, I would not expect to be able to do so for free.
 
Did you plug a USB3 disk into a USB2 port?
 
@derobert Seems like a reasonable question to me, though now 1 vote away from being closed.
 
3:38 PM
Why would you "suspect" the port is a different speed?
 
@Ramesh lsusb is hte first stop
 
@Caleb, because I have no other options left out.
@Braiam, I just ran the command but want to know more about the transfer speed of my USB port as well.
 
@casey I do that too. But it is good practice to copy the question for the ml so it is standalone.
 
@Braiam, this gives the speed. /sys/bus/usb/devices/usb?/speed
 
@Ramesh just type lsusb -t
 
3:42 PM
@derobert this question is 2 years old and has thousands of views. why do you want to close it now?
 
@Braiam, how can I debug the output?
I get this for the external HDD USB bus.
Bus# 5
`-Dev# 1 Vendor 0x1d6b Product 0x0002
`-Dev# 3 Vendor 0x04b4 Product 0x6560
|-Dev# 8 Vendor 0x0bc2 Product 0x3312
`-Dev# 11 Vendor 0x413c Product 0x2105
 
@Ramesh please, the complete output
 
@Braiam, this is the complete output.
root@idir-server4:~# lsusb -t
Bus# 1
`-Dev# 1 Vendor 0x1d6b Product 0x0001
Bus# 2
`-Dev# 1 Vendor 0x1d6b Product 0x0001
Bus# 3
`-Dev# 1 Vendor 0x1d6b Product 0x0001
Bus# 4
`-Dev# 1 Vendor 0x1d6b Product 0x0001
Bus# 5
`-Dev# 1 Vendor 0x1d6b Product 0x0002
`-Dev# 3 Vendor 0x04b4 Product 0x6560
|-Dev# 8 Vendor 0x0bc2 Product 0x3312
`-Dev# 11 Vendor 0x413c Product 0x2105
I am surprised that the command is not showing the speed.
 
lsusb --version?
that is totally different to my output
 
@Braiam, the version is lsusb (usbutils) 0.73
 
3:57 PM
@FaheemMitha will do if/when I end up posting it to an ML.
 
@casey btw, did you see my earlier comment about the tikz/auctex question? can you reproduce it. I think you might need tikz 3.0 or possibly a more recent version of tex live. maybe 2013 or newer.
 
@FaheemMitha I did see it but haven't had a chance to look at it. My main machine has been down all weekend while I moved my office to accommodate re-establishing a guest bedroom :/
 
@casey I see. You're making a new bathroom? Sounds like a pain.
 
not bathroom, just bedroom.
We have 3 bedrooms, used to be master, guest and office. Once we had the baby it because master, nursery, office. Now its master, nursery, guest, with my office relocated
 
@casey sorry, misread.
 
4:02 PM
no problem :)
 
@casey New baby?
 
@FaheemMitha 8 months old thursday
 
@casey Oh. Well, belated congratulations.
Must be quite an adjustment.
Is anyone here a David Lodge fan? Or even just a David Lodge reader?
 
@FaheemMitha Why now is the easy part—I stumbled across it when a low-quality answer to it was added today, and that answer found its way to the low quality review queue
@FaheemMitha as to why in general, I don't think there is a general exception for old questions. If it were asked today, we'd need a lot of clarification, as you need a lot more details to pick a best filesystem.
If it had an exemplary answer, I'd suggest locking it instead, with this 'historical question' lock, but the answers aren't really useful
And asking for clarification 2+ years later doesn't seem productive. Or possible, most likely.
Really, both XFS and ext4 (and several more) would have been fine for OP in 2012, and certainly are today.
OTOH, if someone wanted to do a "how do I pick a filesystem? What should I consider" Q&A, that'd be awesome. Definitely not volunteering for that one!
 
4:20 PM
@derobert that would be blog material... QA won't work
 
@FaheemMitha BTW: You can't see the two low quality answers, because MichaelMrozek deleted them earlier today.
 
@derobert Ok. Don't have strong feelings about the matter. Always just used ext3. Now using ext4.
 
I've got ext4 on most of my machines now, and btrfs on one (and I'll say I have one strong feeling about the matter: ext3 sucked)
 
@derobert It didn't seem that bad to me. What was the matter with it?
 
@FaheemMitha It had serious issues with any sort of sync stalling the filesystem. Mainly manifested as Firefox/Iceweasel hanging for a few seconds, especially when you had e.g., something downloading quickly in another program
 
4:28 PM
I hate all ext* filesystems. linked-list file indexing. eew
 
@derobert Oh. Well I still tend to get mysterious hangs here.
@Patrick Wow. A connoisseur.
 
@FaheemMitha Firefox/Iceweasel also has GC hangs. There were (still are...) multiple sources of annoying Firefox hangs.
 
@derobert The hangs I notice are more of the command line not returning variety. Possibly hard drive related.
 
This one needs closing right?
0
Q: Reference for maintaining a Linux/Apache server

JimmeryI am a web developer who has been dabbling with Linux for a while now, but I am far from proficient with it. Using AWS I am able to spawn an EC2 box with Linux on it, SSH to the box and then play about with some basic Linux commands. I have a lot of experience with MS-DOS, and used to write fair...

 
Though Chromium is often not that responsive either.
@Ramesh I guess so, yes.
VTC as too broad.
 
4:33 PM
@FaheemMitha, I also vtc.
 
@FaheemMitha I once watched some servers drop from an average load of ~75 to <1 by switching from ext4 to xfs
 
@Patrick Wow. Servers running what?
 
@FaheemMitha postfix
 
@Patrick Ok. So what is your favorite fs if any?
 
@Ramesh - you sure about this one? unix.stackexchange.com/a/138783/52934
 
4:36 PM
@mikeserv, I tested in my system and it worked for the file names with spaces like how the OP had specified.
 
@FaheemMitha I generally stick with xfs. It's native to linux and fairly widely used.
 
@Ramesh - cool. I thought cp might get upset about a single argument.
 
@Patrick ok. what about btrfs? too new/buggy?
how buggy is xfs?
Also what about zfs?
 
@FaheemMitha yeah, until btrfs becomes marked as "stable", i won't use it for anything serious. I've never had any issues with xfs. zfs isn't in mainline linux (it can be added, but it's not native)
 
@mikeserv, I was wrong. The command worked for one single file with spaces.
It failed for more than 2 files.
 
4:39 PM
@Ramesh - I was just about to say that. I tried it just now too.
 
@Patrick I see. For a workstation not really running much stuff most of the time, would one notice a difference between ext4 and xfs?
 
You could just do IFS='\n' instead - where \n is an actual newline.
 
@FaheemMitha dunno, depends on what you're doing. but if you're not doing anything unusual, not likely
 
@mikeserv, my bad. wanted to test before posting
 
@Patrick ok
 
4:42 PM
Oh well. It's no big deal. You had me excited for a second though - wait... we can do that?!?
 
Hmmm. For a workstation, I doubt XFS/ext4/etc. makes much difference. The real question is brtfs? And I think it's ready for workstations. I'd still steer clear on servers though.
 
@derobert what are you using?
 
@FaheemMitha My current workstation was built a while ago, so its on mdraid/lvm/ext4. My TV PC is on btrfs. My next workstation will probably be btrfs
 
5:01 PM
@derobert ok. You have a TV PC? :-)
 
yep.
 
> Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Unix & Linux as they tend to attract opinionated answers and spam. Instead, describe the problem you are currently facing and what has been done so far to solve it.
OT reason for question asking for resources? unix.stackexchange.com/review/close/51106
(ripped off SO)
maybe I should include learning
 
Is a TV PC useful because it is like a souped up TIVO type thing? You can do stuff to tv broadcasts, record it etc.?
 
@FaheemMitha Mainly I use it for playing stuff on the TV. It doesn't have a tuner card (though I've been tempted to add one a few times to record PBS, mostly)
 
@derobert playing what stuff? games?
So, you don't use your tv to watch tv? Isn't that, like, illegal? Maybe you'll get deported!
 
5:09 PM
Video. From the web, DVD, or media files. Also music
@FaheemMitha Nah, only in the UK. We don't have a TV license fee here :-P
 
@derobert Oh, ok.so no broadcast tv or cable?
 
I have an antenna for over-the-air broadcasts. Never really use it (though if I got a tuner card, that's what it'd be used for... I'd also need to get a better antenna). No cable.
 
@derobert no, I meant it in the sense of that time in Remington Steele, where someone says - "Walking in Bel-Air? Isn't that illegal?"
 
@FaheemMitha I just felt like making fun of the Brits :-/
 
@derobert Always a good way to spend the time.
The exact quote is:
Dr. Harvey: You were walking in Bel-Air? Isn't that illegal?
God bless the net. It makes looking up pointless trivia so much easier.
2
 
5:14 PM
Definitely. Looking up pointless trivia, then getting lost in Wikipedia, or—worse—tvtropes
 
@derobert yes, tvtropes is a menace. Like quicksand. Though I seem to have developed some level of immunity after repeated exposure.
Remington Steele. That's one almost forgotten show.
 
I don't think I've heard of it.
 
@FaheemMitha why that looks like something a drug addict would say
 
@derobert My point exactly.
@Braiam Its supposed to be a disease analogy.
 
@FaheemMitha TV Tropes Addict™?
 
5:20 PM
@Braiam Well, I guess it also works as a drug analogy, but that wasn't my intention.
 
remember that drug isn't only the illegal ones ;)
 
Plus I don't find tvtropes that pleasurable. just kinda hypnotic. there is, inevitably, an xkcd cartoon that captures that pretty well.
In my experience that's a remarkably accurate depiction of the tvtropes experience.
One of those things that makes one think that Monroe can see the inside of my head.
 
@FaheemMitha hey, never seen that xkcd
 
Hmm, he uses the word narcotic too.
 
6:15 PM
86
Q: Team members spending too much time on Stack Overflow

user2711965Almost 8 months ago, I introduced encouraged my team members to follow Stack Overflow so that they can read questions, help others, and build their skills. But now this has gotten out of hand. I have a team of 5 developers, and three of them make at least 150 points on average,each. (This is most...

 
6:58 PM
@Ramesh Haha :D
 
 
2 hours later…
8:35 PM
Also how do you edit a link like Ramesh did?
send*
 
slm
@polym Do you mean edit in chat? To edit something you can hit the up arrow and it will show you the last box of text you just typed. You can then edit it and hit return to re-submit it
 
@slm I mean Show the question link in a nice big box with tags, votes, description etc
and not as a simple href
 
that was a cool question! but it should probably be closed... sigh
 
:D
 
I dunno... does anyone else understand it? I hope so. We need more poetry around here.
But I don't understand it.
 
8:42 PM
@polym, click on the share link under the question. It will give you the hyperlink and you can paste it.
 
0
Q: Once a file is posted to the server via HTML form.. where is this file being stored chunk by chunk on the server?

user73380Suppose exists a HTML form. enctype is multipart/text Suppose a file that is 500 MB is selected.. and posted via POST method to the url. this url is connected to a server. Suppose this posted URL has no php or wsgi or any type of script to handle the post. it is fake but it does not matter...

Aaaah
@Ramesh ok thx :)
 
Does anyone have an idea how much time it might take to restore a 800 G database in mysql?
 
 
1 hour later…
9:54 PM
We’re back, if you’ll have us. Apologies, and know this: we’ve fired someone at random so *everyone* will work harder in the future.
 
10:23 PM
so who was fired?
 
10:37 PM
IRL: No one.
 
11:07 PM
When asking questions on Unix SE, what should I have in mind? I see the "How to Ask" Box in unix.stackexchange.com/questions/ask , but fail to see any directions like "Don't ask about...". I know there is a site, which lists these directions, what site is it again?
 
[help]
argh magic links.
 
@Seth thank you :)
 
Ok I saw what I was looking for, therefore i am asking here: What cool/rare known unix tools or bash one-liners do you know? I've skipped through several Top XX/Unknown unix tools threads/sites and some of them helped me (jq, colordiff, dstat python-m SimpleHTTPServer, feh) :)
 
Well I learned today that (in dash at least) typing yes will print y continuously.
 
11:18 PM
haha :D
 
Looks like it works in bash too.
 
yes success
yes :)
curl ifconfig.me gives you your own ip address
 
yup
 
is it possible to have 2 chat rooms in one tab?
 
yes, open a new one and it will appear in the sidebar (over there -->) in this tab :)
and you can "favourite" rooms (star, top right corner) for quick access to multiple rooms.
 
11:24 PM
@Seth I like Jon Skeet better
 
@Seth Oh cool :)
 
@Seth yes is a binary, not a shell builtin ;)
 
@Braiam mm, yeah. Too lazy to pull up the blog post.
@Braiam and also too lazy to care/find that out :P
 
@Seth you are a terrible geek :/
 
You just now figured that out? I feel sorry for you :-/
 
11:39 PM
%blow D:
 
@Seth @polym - the shell doesn't really matter - its a GNU coreutil. Its an outside executable. And you can make it do any string repeatedly.
I first learned about it in the comments of tty demystyfied...
 
yes $(yes) => overload?
 
Some guy was all pissed that some other guy got his work accepted into coreutils for just repeatedly printing yes
 
OH GOD IT DOESN'T STOP
kill -9 YES
 
No it doesn't stop.
yes
Its useful for pipes and stuff.
Try echo | tee /dev/fd/0 | nl
That one might not work, though. I still haven't figured out why its choosy...
I think its a kernel version thing...
 
11:46 PM
oh god it was like a second forkbomb
never again
 
Its a lot easier to control with a pipe. It quits on EOF - same as cat. Ctrl-d will get it.
I use the zsh confirm rm * thing. So when I really wanna rm * I do yes | rm *
 
lol
so what other websites do you frequent?
 
Besides this? I just opened an account at academia yesterday.
 
Did you use/read any papers on academia?
 
I answered a question about potty breaks. It did better than I expected:
14
A: Bathroom breaks during written exams

mikeservForbidding use of restroom facilities is extreme and more than a little ridiculous. If a student is resourceful enough to defeat your exam's purpose (which should be to measure a student's capability in a particular subject) without your certain discovery given only the use of a few minutes and a...

 
11:56 PM
oh i thought u meant academia.edu
haha
 
I don't know what that is. My college degree was all online in the army. Mostly bubblegum stuff - that's how we soldiers do it.
You gotta have a thick skull to wear a helmet all day.
I just thought it was a little ridiculous guy wanted to keep people from peeing.
 
yeah
that's really harsh and ridicilous
should they pee themselves? ha
 

« first day (1353 days earlier)      last day (3602 days later) »