« first day (1472 days earlier)      last day (3487 days later) » 

6:07 AM
@AvinashRaj After success on Ask Ubuntu & Stack Overflow (became trusted user @20k), Now Unix & Linux may be next?
 
 
2 hours later…
8:24 AM
 
8:35 AM
@Braiam That's pretty stream of consciousness. Done.
 
 
2 hours later…
@Braiam elaborate, please.
 
@FaheemMitha closed questions without answers that has no merits for the site and can be deleted
 
@Braiam Reference, please.
 
@FaheemMitha of what?
 
10:57 AM
@Braiam The statement above.
 
@FaheemMitha just look at the search string
 
What search string?
 
@FaheemMitha closed:yes score:1 answers:0
 
 
5 hours later…
4:14 PM
Is debian based on MIPS architecture?
 
@Ramesh What?
Did you mean to ask whether it runs on MIPS?
 
@FaheemMitha yeah that as well but this answer kind of confuses me.
Especially this part.
Another quite different solution is to use QEMU. This is an emulator for various processors and systems, including MIPS systems. You can use it to run a virtual machine with a MIPS processor, and, within that machine, install an operating system for MIPS, e.g. Debian, a Linux distribution. This way, you get a native GCC (a GCC running on a MIPS system and producing code for MIPS).
 
@Ramesh By "install an operating system for MIPS" he just means an OS that runs on MIPS. Which Debian does, as it does on many other archs. That's all.
 
@Ramesh Debian can run on many different architectures but no OS is "based" on an architecture. So, you can run Debian on MIPS, arm, 686, amd64, etc etc.
 
That's what I also thought. But his sentence confused me.
 
4:20 PM
I believe Debian runs on more archs than any other OS, with the possible exception of NEtBSD, which is specifically focused on portability.
 
I mean, I could even use Ubuntu to run on a MIPS architecture right?
 
@Ramesh I didn't find it especially unclear.
@Ramesh Ubuntu is basically Debian, so yes.
 
@Ramesh nothing Ubuntu specific, through
They only support ARM, x86 and amd64 (I don't know about powerpc)
 
@Braiam Thanks. I was just wondering with the choice of the author's words.
He had mentioned install an OS for MIPS which got me confusing.
 
tada
 
4:41 PM
@terdon sorry for the update, just curious to know.
i'm expecting your answer..
 
@AvinashRaj I just updated. Basically the same as cuonglm's.
 
@terdon why you included the hash inside @{..}
@{$k{$F[0]}}
 
@AvinashRaj Because its a hash of lists. That's basically referencing the hash.
 
5:02 PM
so this $_ represents the hash key and @{$k{$_}} will print the value of corresponding keys(ie, list ).
Am i correct?
 
@AvinashRaj Yup.
 
and this sort keys(%k) helps to sort the keys..
 
@AvinashRaj Yup.
Basically, the format is for item in list
 
yep, python
i know..
 
keys(%hash) returns a list of the hash's keys.
@AvinashRaj No, C actually I think but never mind. :)
sort(keys(%hash)) returns the list of keys sorted, and the parentheses are optional in recent perl versions.
 
5:07 PM
thanks.. :D
i already asked this question to you. But you fail to reply. Thats why i asked it as a question.
yesterday, by Avinash Raj
$ cat f
1 foo
2 bar
1 foobar
 
@AvinashRaj Well yes. I "failed to reply" for various reasons. 1st, I was away for the weekend with no internet access. 2nd I'm getting tired of you asking how to do something here and then posting answers on SO to get rep without even doing us the courtesy of giving us some credit.
 
no, i don't agree the 2..
 
@AvinashRaj Next time, do what you did with this one. Post a question on the site, not in chat. Also, it would be polite to link to the answer you got here in the answer you give on SO. That way, the site gets traffic, and you are not plagiarizing by attempting to present other people's work as your own. Then everybody wins.
@AvinashRaj Oh? That was not for an answer on SO? Sorry, but you've done that so often, I tend to assume it for all your questions.
 
yep, some SO questions inspired me and finally end up in posting a question here. Why i fail to post it on SO because , some may explain their answers and some may not. But here you people will give a clear cut explanation.
 
I just get the feeling that you very often ask this chat how to do X and then go and post it as an answer on SO. That bothers me since it is, basically, a form of plagiarism. I would feel more comfortable if you were to post a Q here, then adapt the answer for SO. At least that way, this site gets something out of it. Ideally, you would link back to us from your SO answer but that's secondary.
 
5:26 PM
sure. If i have any doubts, i should post it as a question here.
 
@AvinashRaj Yes, that would be better.
 
@terdon wow no internet access! how did you survive? :)
 
yep, how? OMG , i addicted to SO. I need to keep away from that. But i can't.
 
5:54 PM
This is your friendly reminder to remember to set ulimit -v before testing code. Because:
my $res = $UA->post($API_USERS,
	email => $email,
	password => $password,
	username => $username,
	name => $machine
);
... that OOM's the machine so hard the watchdog resets it.
Because I forgot the curly braces.
my $res = $UA->post($API_USERS, {
	email => $email,
	password => $password,
	username => $username,
	name => $machine
});
... that's what it should have been.
 
@AvinashRaj regarding the use of content on the SE network, all content is contributed under the cc-by-sa license, so you are free to use anything on the SE network anywhere else (including copying from chat or U&L questions and the post them to SO) but it is absolutely required by the cc-by-sa license that you provide attribution for the copied content.
 
6:14 PM
What does this line mean?
I opened wired network manager and tried a variety of things. The wireless interface is eth0 which is correct-as I wrote it down long ago. correct for lin.3.6
 
@casey i asked only 7 questions. maybe 2 or 3 related SO ques would be posted here regarding to know the answer with explanation.
 
6:45 PM
@Ramesh that you should be voting Unclear what you are asking
 
@Braiam yup. done.
 
7:10 PM
yipee!! got qemu to have debian installation for MIPS architecture code!!!
So a QEMU for GCC to produce MIPS architecture specific code will be on topic here?
I could post a Q & A of that.
 
@Ramesh you might search first to see if there is already a good cross-compile toolchain question
 
and really, I was looking
 
they won't be specific to MIPS except for specifying the correct target
 
@casey, no. We hardly have any. All the reference materials I got so far were from SO and that's why was wondering if that would be a proper fit here.
 
7:17 PM
setting up the toolchain would probably be on topic, as that is a program installation question rather than a programming question
 
Ok. I will post it.
I had to search through lots of materials. May be I will try and have all the references collected together so that it could be useful.
 
@Ramesh you might see if the crossdev tool here: gentoo.org/proj/en/base/embedded/handbook/?part=1&chap=2 is a general tool rather than gentoo specific
its a really nice script to compile a full toolchain for a given compiler, host and target
looks to be gentoo specific, but you could at least take a look at it to see what it does
 
@Braiam I posted an answer. AFAICT, OP has asked to do something that isn't doable.
 
7:42 PM
SystemD is a covert NSA/GCHQ intelligence program to destroy Linux from the inside.
 
@derobert mm... maybe I was misunderstanding, I swear he wanted to know the non-used space in the VG
 
7:59 PM
Following up on that... What I'm saying is that SystemD is part of an infiltrate, manipulate, deceive, and destroy program by intelligence agencies.
 
btw, it's written systemd
 
8:30 PM
@Braiam I figured it wasn't, because OP mentioned the commands to get that in the question.
 
@TylerMaginnis proof or is that just repetition of the party line towed by the debian-user spammers?
 
@Gilles there is now only one question left tagged : unix.stackexchange.com/questions/40126/… ... it appears to be about a Solaris format command. Not sure what to do with it. (Other than just strike the tag, and say is enough)
 
8:56 PM
Do you guys think something like this is a reasonable question? "how can I find out the last time i touched my computer"?
 
@Ramesh congrats, your answers are looking much more professional.
 
@FaheemMitha ??
 
@Ramesh I was meaning the MIPs one, specifically.
Or perhaps I should just say, looking professional. Since I can't recall the last time I saw one of your answers.
 
@FaheemMitha Thanks. But what's professional?
 
9:05 PM
@Ramesh Well formatted, well written, complete.
 
@FaheemMitha ok Thanks a lot. That's one thing I feel am really good at :)
 
If you prefer the vernacular, Gilles-like.
@Ramesh You're welcome.
 
That's too big a compliment but I take it :)
 
Anyone got an opinion on my proposed question above?
I don't see a dupe on the site.
btw, how can tell whether some assembly code is MIPS arch code?
That isn't clear in the answer.
 
@FaheemMitha, sure. I will add those details. I just checked with the TA and he told that was MIPS.
 
9:09 PM
@Ramesh Ok.
 
@FaheemMitha well, it is rather elementary. arch on the qemu debian gives me mips.
So, the installed gcc compiler should be producing mips assembly code.
I will probably add that info to the answer.
 
@Ramesh My question could be phrased: how would one recognize MIPS assembly code? Presumably there is a "tell". Or "tells".
 
@FaheemMitha if the machine is having MIPS arch, then the produced assembly would be MIPS assembly.
 
:1824293 Ok. but I'm asking if you could tell by just looking at the code.
 
@FaheemMitha Nopes.
At least not at present. May be in future.
 
9:16 PM
Not you personally. I'm saying, is there a way to tell? There must be some indication.
 
Let me see what Mr I know everything has to say.
 
@Ramesh You could also try asking your TA. :-)
 
Well, I prefer not to :)
 
Really? Why? I usually pester such people with questions. Or I used to.
Haven't taken a class for a really long time. Sometimes I miss not having people to harass.
 
9:40 PM
@derobert yo. What's happening?
 
@FaheemMitha Not much. Finishing setting up an internal gitlab instance
 
@derobert Oh. That's like a github thingy? What about gitorious?
You should give mercurial a try.
 
@FaheemMitha yeah, a github-like thingy. gitorious is another, as is gitbucket and a few more
 
@derobert I've never heard of gitbucket.
 
It's a newer one, with a primary goal of easy installation, I think
gitlab used to be terrible to install, but they've fixed that
 
9:53 PM
@derobert yes, i'm looking at it now, quite a lot of activity. i see it is hosted on github. :-)
 
yep
... or debian-administration.org/article/710/… if you want to try setting up gitbucket
 
@derobert Thanks.
But you prefer gitlib over this, apparently.
 
I set up gitlab by using their wheezy omnibus installer. Which is fine, since its the only thing running on that machine (well, virtual host)
 
I've never used nginx
@derobert Ok.
That bypasses the Debian packaging system, right?
 
Somewhat. It includes a lot of different stuff in that one .deb
 
10:02 PM
Oh, so there is a deb?
 
yes
 
That's something, I guess. Do they provide the packaging too?
 
Yeah, they package it.
root@git:~# dpkg -s gitlab | grep Install
Installed-Size: 783677
... it's a huge deb
of course, inside that deb is gitlab, rails, ruby, postgres, chef, python, git, a bunch of ruby packages, ...
 
@derobert Eww.
@derobert No, i meant is there an orig.tar.gz, a debian diff, and a dsc, for self-building.
 
@FaheemMitha ummm... I'd guess the scripts are available to build that deb, but I doubt it has those...
 
10:06 PM
Ok. Kinda icky, but whatever...
@derobert can you give your opinion about unix.stackexchange.com/q/162919/4671?
how hard would more recent versions of mesa be to backport to wheezy?
see the preceding question, also linked...
it seems post-wheezy mesa had a compilation bug for a bit.
btw, why on earth does mesa require llvm to build? that's so weird.
 
10:28 PM
@FaheemMitha mesa has several build dependencies...
 
@FaheemMitha no idea, never tried to rebuild mesa. If its doable, maybe a request to the debian backports mailing list could find someone willing to do it.
 
@derobert Oh, if it is doable, I'd do it myself.
@Braiam Yes, I know.
 
10:49 PM
@Braiam wrt to that question, you earlier remarked that that mesa compilation bug was fixed in 9.1.3. How'd you figure that?
 
 
1 hour later…
11:53 PM
@derobert us gitlab still a "just setup a dedicated VM for it" install or does it play nice with others these days. I may throw it on a cheap digital ocean instance...
s/us/is/ damn mobile interface...
 
@casey How do you like digital ocean?
I'm using ramnode. they turned off my VPS after an hour because the CPU was being run at 100% (probably a bug). Not very friendly.
Does anyone understand the issue here? I'm puzzled.
 

« first day (1472 days earlier)      last day (3487 days later) »