« first day (1623 days earlier)      last day (3345 days later) » 

12:04 AM
@terdon Can I tell it to skip the 2nd occurrence of a file size like in "Need to get 182 MB/182 MB of archives." That gives me the output "182 MB/182"?
 
@ByteCommander You mean get it only until the first /?
Try this:
grep -Po '^(Need to|After this).*?\K[0-9.]+\s*.+?[ \/]'
 
(Sorry for bothering and bothering again. I just wanted to test the reaction on huge metapackages and on non-existing ones. Unknown package errors are processed well.)
 
@ByteCommander Don't worry about it, if I'm busy I'll just ignore you :)
 
No, did not change the behaviour
 
@ByteCommander Yeah, typo, try again
Ah, no, that will include the /. Hang on
OK, this should do it @ByteCommander:
grep -Po '^(Need to|After this).*?\K[0-9.]+[ a-zA-Z]+? '
 
12:14 AM
trying...
 
So, the whole thing would be:
grep -Po '^(Need to|After this).*?\K[0-9.]+[ a-zA-Z]+? ' | sed '1,1s/^/Download size: /;2,2s/^/Installed size: /'
 
bytecommander@AlkaliMetal:~/bin$ ./apt-install-checker.sh kubuntu-desktop
Download size: 182 MB
Installed size: 614 MB
Perfect!
Okay, I'll leave it this way for today. I have no school tomorrow and will go on tweaking this script then.
 
@ByteCommander :) Have fun
 
@terdon I hope I will. Good night then. My battery is also getting tired slowly ;) See you!
 
 
4 hours later…
3:59 AM
Can a mod please talk to this guy? unix.stackexchange.com/questions/190879/… The message he left rolling back Janis' edit is outrageous...
/me having to come to chat makes me grumpy :(
Now I am feeding the troll... Great.
 
4:37 AM
Bueller?
 
 
2 hours later…
6:10 AM
@terdon what is UUoC?
 
Useless Use of Cat...
I linked to the page in my first comment @FaheemMitha
 
7:20 AM
@jasonwryan Oh, Ok.
@jasonwryan Sorry, didn't see that.
@jasonwryan Chat makes you grumpy?
@jasonwryan Just an insecure person, I think.
The world is full of people with issues. But if course we are not a therapy forum.
 
 
1 hour later…
8:25 AM
@ByteCommander ask questions on the site - unlsss it is really, really trivial, or you don't have a clearly formed question.
 
@FaheemMitha My problem was solved by terdon already. I did not want to ask a question because I thought it is a very specific topic and will not be very useful for future visitors... And now the solution looks completely different than with what I started anyway...
 
@ByteCommander Oh. Well, fair enough, I guess. It's true, asking lots of questions with very specialised interest (as in some random bit of scripting) does tend to increase clutter on the site.
 
 
1 hour later…
9:45 AM
View on my livingroom table this morning (the shadow is from the binoculars I used, the angle of the table vs the sunrays makes the crescent larger than real).
 
9:57 AM
Can anyone explain why down vote in unix.stackexchange.com/a/191357/38906
 
10:25 AM
@cuonglm Someone having a bad day? Wanted to take it out on someone.
 
11:14 AM
@jasonwryan Done. Wow, that certainly escalated. I hoped he'd back off after the first comment I left him.
 
 
1 hour later…
12:28 PM
@cuonglm maybe because he's asking "why" not "how"
 
12:56 PM
Can someone help how to install gcc offline on Kubuntu 14.10? I'm fairly new to linux
 
@avidProgrammer Please post a question on the site.
 
Okay, I will. I just thought I would be a simple question to ask that it doesn't need a post
 
@avidProgrammer Well, depends. If you already have a .deb file, it is.
It's just usually much easier to answer questions than deal with things in chat because posting a question will help you clarify what you need exactly.
 
I don't have the .deb file, it is a .tar archive I extracted and I posted the question. Here is the link unix.stackexchange.com/questions/191425/…
 
@avidProgrammer Um. Why would you want to compile gcc from source? Why not install from the normal packages in the repositories?
 
1:08 PM
@terdon, you mean using sudo apt-get? Well my internet connection on my laptop isn't working
 
@avidProgrammer Yes, but you can download the .deb file and then install manually.
Get it here:
Then install with dpkg -i gcc_4.9.1-4ubuntu2_amd64.deb
 
Okay, I'll give it a try
 
@avidProgrammer You'll probably have some dependency issues. Make sure to also get the debs listed as dependencies.
Or just use apt-cdrom and install from the cd. See my answer here: unix.stackexchange.com/a/112358/22222
 
1:24 PM
@terdon He needs to do a recursive download thing. @Braiam knows how to do it.
Yes, maybe apt-offline would work.
Actually, using a CD/DVD would be simplest.
 
@FaheemMitha wget -r is enough. Or just parsing the links out of the webpage. apt-cdrom is almost certainly the best choice.
 
@terdon how does wget -r get you all the recursive depends?
 
1:41 PM
@FaheemMitha They should be listed in the page itself. But yes, you're right, not the dependencies of the dependencies.
 
@terdon, yeah I'm facing the dependency issue. And also I installed it with a USB, which is now formatted
 
@avidProgrammer OK, this is becoming an interesting question. Please edit your post and inlcude i) the specific file you have. I edited to clarify that it's a tar.gz but tell us where from etc. ii) Your system's architecture (64 or 32 bit) iii) Whether you can have access to the internet. If from a different OS on the same machine or from a different machine. It might be better to fix your internet issues instead.
 
2:07 PM
@avidProgrammer There are tools to handle/download this. apt-offline will probably do what you want. Have you tried it?
 
@terdon, I have edited it. I can access the Internet through Windows but not Kubuntu.
@FaheemMitha, no. Let me give it a try...
 
2:25 PM
@Braiam: He asked why and how.
 
@FaheemMitha, what the command to install with apt-offline?
 
2:43 PM
@cuonglm then why are you only addressing one?
if somebody asks why and how, your answer should have both why and how, not just why or just how (now the question should be edited to focus on one aspect instead of both)
 
@Braiam: Another answer had answered why
 
@avidProgrammer For that to work, you'll need a second Debian machine which is connected to the net. Do you?
For someone to enter this chat, do they require 20 rep on U&L, or 20 rep site-wide?
I think the former. But just asking.
 
@cuonglm your answer should be standalone
I will remove the how, since is the less important issue out of the question
that way there would be no more misunderstandings
 
@Braiam: As the OP acccepted my answer, you can see what is more important to him/her
 
@cuonglm for UL is more important the why's as you can see by the most upvoted answer
not so much the "how"
 
2:59 PM
@Braiam: I think both are important. I just want to know the reason. Many times the downvote gave without any explanation, it's sad.
 
@cuonglm and I explained you the reason already, your answer didn't answered the question fully, both why and how
 
@Braiam: As your logic, Michael Homer's answer isn't, too
 
@cuonglm your point being?
actually, did you read his answer?
it says: To get the effect you wanted, use the pattern only for the part of the path you want it (not) to match, just like you would for *, {a,b,c}, or any other pattern.
 
Yes
 
he does says both, why and how
 
3:05 PM
Hmm, the how part is not quite right.
I mean, I only want the technical reason for down vote
 
3:23 PM
@FaheemMitha site-wide. And anyone can enter, you need 20 rep to talk.
 
Another down vote without comment, unix.stackexchange.com/a/191357/38906, it's sad
 
3:46 PM
@cuonglm You always take downvotes personally. The question is in the Hot list so many people are looking at it. Of course you'll get downvotes. Why are you worrying about it?
 
@terdon: I don't worry about the down vote, as always.
I only want to know the technical reason.
 
138
A: Encouraging people to explain downvotes

JPLemmeIt's more work, but when you vote it would be nice if it popped up a short optional comments field. You can't force anybody to leave a comment (you can't force them to leave a legitimate answer, either). But it would be nice to see for each question/answer a list like this: +1 worked for me +1 +...

 
@cuonglm There doesn't need to be one. Somebody disliked your name. Hates Fridays. Whatever. Also, what Braiam said, you're not actually answering the question.
 
@cuonglm sometimes there is a reason, sometimes not. If there is a reason, it may be irrational or rational.
 
Ah, now you are referring to Michael's answer. Good. That makes a difference.
 
3:51 PM
> Problem install bugzilla on Debian Jessie
useless title is useless...
btw, doesn't anyone find it a bother that almost any question can have the linux tag?
 
@Braiam Huh? Almost none of them. There's a meta post on that wasn't it yours?
> As for the linux, it is meaningful: it's (meant to be) used on questions which are exclusively or strongly about Linux, as opposed to questions which can apply to any unix variant, or questions that are about a specific distribution. It does get misapplied:
> a lot of askers use linux on non-specific questions or don't specify because they aren't aware that this site isn't only about Linux. If you see it misapplied, click that edit button and fix it (as well as anything else with the question that needs fixing)
 
@terdon yeah, I find myself doing that more than I should
 
Is someone at SE handing out double servings of whitespace?
 
4:09 PM
@muru ?
 
After the site design update, there's soooooooo much whitespace.
 
A, yeah.
 
4:40 PM
@muru Which site design update? I did notice U&L looks a litle different. Did they change something?
 
@FaheemMitha They changed everything!
Loads of small tweaks to the CSS. The fonts changed, the background, the logo...
 
@terdon Oh?
 
7
Q: Site Design Updates

Kurtis BeaversA major design update is now live! Most of the changes are not visible; these tweaks go along with recent updates that were made to Stack Overflow: We are moving the site's CSS to a newly refactored LESS system, so that it's easier for us to fix SE network CSS bugs globally and launch new feat...

 
@terdon I guess my powers of observation are close to nil. Sherlock Holmes I am not.
 
@FaheemMitha I think even Watson might have noticed :) Especially given the fact that it's a featured meta question!
 
4:47 PM
@terdon dammit, I'm not even a Watson.
/me hangs head in shame.
On the plus side, I never cared for moustaches.
 
Hi Faheem and thanks to take time to resolve my greatest issue ever !
 
There's always a bright side :)
 
@Spiralwise greatest issue ever?
 
Yes because I got my laptop since 6 months and I never succeed to run GPU properly. For now, I'm using the default driver from a fresh Debian install.
I never be able to run a program with OpenGL4.4+
 
@terdon Indeed. Sometimes is is moustache shaped.
@Spiralwise ok, well, glad to have you here.
Folks, @Spiralwise is trying to get his video card to work.
 
4:55 PM
Yesterday I finaly tried to update my driver but that crashes my computer. And now I heard something call Optimus, Bumblebee and so on.
 
@Spiralwise Ok, so I'm unclear why you changed nvidia to intel. Do you have an Intel video card? Those things are usually on-board.
 
So I took time to understand what Optimus is and it seems that hide GPU from system because anything goes through IGP
I have a Intel HD4000 + Nvidia GTX850m
 
@Spiralwise What is Optimus and why is it relevant?
@Spiralwise What is Intel HD4000? A video card? And if so, is it onboard?
 
but as it is an optimus, every command goes through IGP. And then IGP can send the OpenGL commands to actual Nvidia GPU if necessary. Yes, it's a bit strange but it's supposed to preserve battery.
 
@Spiralwise Ok, whatever. If you are trying to install a driver, why would you care about that?
 
4:59 PM
Because of optimus thing, my graphic card is not recognized as the primary graphic hardware. Then I found something called Bumblebee. It allows Linuxes to use Optimus in order to switch temporaly (if i understand well) to the GPU with a software called optirun.
By default, linux programs can't know there is a GPU behind the IGP.
 
@Spiralwise Ok, let's back up. You didn't answer my question about the Intel card.
 
That's why a team develop Bumblebee (Everything I tell I discovered today)
 
If it is a card.
 
Yes it is an integrated HD4000
 
@Spiralwise So, an integrated video card?
 
5:02 PM
Much like a integrated chipset for graphic rendering. Every modern Intel mobo and laptop have one of this HDx000 inside.
But that's never better a dedicated GPU.
 
@Spiralwise Ok, so assuming you can use either the Intel or the Nvidia for your display, which would you prefer?
 
Nvidia!
 
@Spiralwise Ok, so let's go with that. I actually have an nvidia card as well as an onboard (I think). Do you need to disable the Intel card to get the Nvidia one to work? Anyone?
@Spiralwise what is the output of uname -a on your computer?
 
no, i just discovered right now I can use Bumblebee and optirun i can run software through the GPU and not Intel. uname -a --> Linux 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt7-1 (2015-03-01) x86_64 GNU/Linux
 
@Spiralwise Ok, well you need to (a) install the kernel Nvidia driver (b) change from intel to nvidia in xorg.conf.
@Spiralwise I'm unclear what the implications of this are. Will Linux use the Nvidia card or not?
Ok, after a little searching, it looks like you should be using different drivers.
 
5:09 PM
I already tried this. var/log/Xorg.0.log indicates that module nvidia is not found and can't be loaded. Actually, only intel module can be loaded even if I apt-get all driver i can find.
 
135
Q: New page layout too wide for 1024px

TomalakThe facelifted page is 1030px wide (1000 px plus 2x 15px horizontal padding). The old page was 980px wide (no padding). This means: For a negligible net width increase of 20px it needlessly forces a horizontal scrollbar on 1024px wide screens. I think that's a step back. Mainly because SO ...

 
@Spiralwise ^^. So, is your laptop an Nvidia Optimus laptop?
 
yes! :s
 
@Spiralwise Ok, then see those instructions.
apt-get install bumblebee-nvidia primus
 
ok done, it seems right
 
5:12 PM
Apparently, you also need to remove your xorg.conf file.
And don't allow the installation create on either.
 
ok done, do I need to reboot my computer?
 
@Spiralwise you could just restart X.
I assume you are typing this on a different computer?
Actually restarting X won't load the module, so yes, reboot.
I'm not even sure what module will be loaded.
 
(rebooting)
pfew! i don't loose my desktop! lets check log
has load intel module
when i start "optirun glewinfo" it says it runs on GPU!
yes optirun saved the day but it seems I had to lunch him with every software I use
 
@Spiralwise Are you getting X?
can you paste dpkg -l | grep nvidia?
 
Now I have a descent desktop, let me relog from my linux, it will be easier to copy/paste logs
 
5:28 PM
@Spiralwise ok
 
Ok I'm back
Here's my dpkg pastebin.com/MwqzZAU5
 
@Spiralwise that looks good. and you have a kernel module installed.
So, it working? Did you have any trouble booting up?
 
Yes, it seems to work with optirun or primusrun. I found several article and tuto about them. Currently, it's the only way to run software with GPU in an optimus configuration.
Thank you very much, I make a big progress to resolve my issue and to understand how the hardware works in Linux
 
@Spiralwise what is optirun/primusrun?
@Spiralwise so, should I post an answer? I'll just quote that wiki page.
 
Approximatively, Primusrun it's a program that force IGP to call the GPU instead to do the work alone. That way, OpenGL 4.4 is recognized and used. I have to make more test (with Steam games by examples) but it seems ok now ! Thank you ! And yes, I consider my problem solved
 
5:39 PM
@Spiralwise Ok, I'll post an answer.
@Spiralwise Ok, answer posted, or rather edited, since I already had an answer there. Do you have to run primusrun manually to get the display to work?
 
Yes, I have to run it manually whenever I need to use GPU for a software
by example, glxgears run in OpenGL4.4 if i call "primusrun glxgears"
 
So, you don't get X till you run it manually? Not sure I follow.
Or you just need to stick it in front of any command you are running in X?
 
Actually, everything run on IGP by default
when I need to use my GPU i just type : "primusrun my_program"
 
@Spiralwise what is IGP? the intel card?
 
yes, excuse me maybe I don't use the proper terminology
 
5:47 PM
is X running on the Nvidia card or the Intel card?
 
I think it's running on intel card
 
I imagine IGP is integrated graphics processor.
@Spiralwise Oh.
 
It's like that primusrun open a sandbox context or something to run a software with GPU
 
@Spiralwise I see.
You are Ok with X running off the intel card?
 
yes, i've read some forum and it doesn't seem there is a way to run X directly with GPU. The system has always to call the Intel IGP. I'm not sure of the mechanism but for now it's not possible according to websites.
Now I understand why Linus Torvalds hates nVidia so hard !
 
5:53 PM
Can I check who "was removed" recently?
 
@jimmij ?
 
I get -10 because someone was removed, I wonder who was that and which of my answer was affected
 
@Spiralwise Nobody loves proprietary hardware makers and their proprietary drivers.
Unfortunately there aren't any decent cards that run with free drivers right now.
@jimmij Oh. Ask a mod, I guess.
 
@terdon ?
 
Possibly also @Caleb
 
6:02 PM
@FaheemMitha mods have changed recently???
 
@jimmij Dunno. Not that recently. I think Caleb is a mod. Isn't he?
 
@FaheemMitha I don't think so: unix.stackexchange.com/users?tab=moderators
 
@jimmij my mistake
 
@FaheemMitha he was a candidate: unix.stackexchange.com/election/2
 
@jimmij yes, I remember that much. I must have got confused.
 
6:12 PM
I have to leave, I would just say thank you very much Faheem, now I can use OpenGL4.4+ on my laptop ! Good bye!
 
6:26 PM
@jimmij Can't tell you. First because I think it's confidential (though I'm not sure) and 2nd and more important, because I don't know.
@FaheemMitha He is, just not here. He's a mode on Christianity.se
andc sorry guys, have to go
 
7:21 PM
@jimmij unix.stackexchange.com/reputation might tell you which question.
210
Q: How do I audit my reputation?

Jeff AtwoodIf I am concerned that my reputation score is incorrect, how can I audit it, or get a report of a detailed breakdown of my reputation? Return to FAQ index

(And if it doesn't directly, comparing to a previous copy of that surely would)
 
 
3 hours later…
9:59 PM
@jimmij No you cannot find that out. Voting is anonymous and stays that way, hopefully even durring the deletion process. Usualy such deletions are at the request of the account owners, but sometime spam or sock puppet accounts get forcefully evicted. Don't sweat it. Just let it go.
@terdon Even if you did know the mod agreement to not release private information would still be binding.
 
10:12 PM
@Caleb personally identifiable information, it doesn't say private. I don't think giving away such information is a good idea, but I'm not sure I see how the act of saying who was deleted would violate the moderator agreement. Please enlighten me if I missed something.
Please understand, I do not think it should be done, but I fail to see how doing it would be a violation of the agreement.
I feel like I'm missing something, but I can't tell what.
 
10:27 PM
Anyone could help on this topic?
0
Q: Local system doesn't forward to intended port defined in OpenShift proxy app

DummyBeginnerI've set up a proxy server via OpenShift based on this tutorial and used a few days by forwarding my local system's ports to remote app's ports: $ rhc port-forward AppName The result in the proper way was: Checking available ports ... done Binding httpd -> 127.x.x.1:8080... Binding python -> ...

 

« first day (1623 days earlier)      last day (3345 days later) »