« first day (1467 days earlier)      last day (3487 days later) » 
00:00 - 23:0023:00 - 00:00

12:15 AM
@derobert arg!
 
12:26 AM
@Ramesh upvotes shouldn't be used to counter fit downvotes, you vote because the content is good/bad, not to make the OP feel better
4
 
slm
@derobert - mpv on fedora doesn't appear to have the caca compiled in
mpv -vo help
what distro are you on?
fedora 14.04 doesn't seem to have mpv w/ caca support either
 
nobody compiles with caca support
 
slm
yeah and I don't really want it either just for that A
 
if you used debian, you just would
 
slm
it would have it?
 
12:40 AM
nope
I'm just noting that compiling debian packages is easy
 
slm
don't understand your deb comment
same w/ fedora, just don't feel like doin it
I could get the srpm and tell it to rebuild with the caca configurations set
 
really? I've seen all kind of atrocities of people wanting to personalize rpms
 
slm
@Braiam - you just have to know what you're doing
 
12:53 AM
@Braiam http://unix.stackexchange.com/posts/141257/revisions
why?
I'm tempted to roll it back as it changes the subject of one sentence to mean "any device", while the rest of the answer is talking about the user's device. Makes the grammar funky
 
@Patrick I'm sure you meant that as header, and seems more specific to what will achieve following those instructions, in fact, if I don't read the instructions I would be thinking that any device I plugged will have the permissions I've set by reading just the heading
 
"the device" refers to the device in question, not any device
 
I'm sure we had a discussion somewhere that "the" is ambiguous in terms of specifying the retrieving end of the verb
"the question" vs "any question"
 
There's only one possible device that can be referred to in the answer. And if you think that sentence should have been changed, why not the earlier one, "add your user to the group that owns the device"
 
@Patrick I don't have problem as long as you say "this device" meaning that any other device will not be affected, "the" doesn't fulfills this role unambiguously and leave too much to interpretation of the context, which is my main problem
 
1:00 AM
What other possible subjects might "the" refer to?
The word exists in our language for a reason :-)
 
In my language, "The End" means "El Fin", but without context you may think the end of the movie, the end of the protagonist, the end of the villain, etc. my grip is that the header should be understandable without context
if it can be unclear to me, it can be unclear to others
 
So you're saying there are multiple potential devices that I might be referring to? I'm honestly curious what. From even a brief glance, you can tell we're talking about a specific card reader
 
@Patrick and that's the problem, I should be able to tell without glancing
 
And if the point is to avoid ambiguity, how does "one specific device" help that. it just makes it worse
 
@Patrick how so?
isn't that what you intend to do?
give permissions for a specific user to a specific devices without altering other devices or users permissions?
 
1:05 AM
"one specific device", what device? My hard drive, my mouse?
 
@Patrick exactly
doesn't matter what device is as long as it's this device
 
I was talking about a card reader, changing it to "one specific device" means I'm now talking about something else
 
if that were true, how it should be understood the previous version?
 
What? "doesn't matter what device is as long as it's this device". That makes absolutely no sense.
 
the device? which device? the one I will plug later on that I don't want their permission messed up? the one I want?
 
1:07 AM
one specific device? which device? the one I will plug later on that I don't want their permission messed up? the one I want?
 
@Patrick it has emphasis on "this"
 
With "the device" it's clear that the subject is the one I've been talking about
 
this one that I'm interested about
 
Where are you getting "this" from? nowhere is "this" mentioned
 
@Braiam you wanted to write of a specific device not of one specific device.
 
1:09 AM
this means specifically the one I'm interested about
 
@Braiam No, to say that you'd say of the device since that's the one you were talking about.
 
@terdon Not even that would work. It still makes it unclear what device is being referred to
 
@Patrick I know, but at least it's idiomatic English which Braiam's version is not.
 
@Patrick explain this to me, how is "the" an article better than "this" a demostrative
 
If the goal is truly to be clearer, then the appropriate change would be to make it "the card reader". And that I would think is acceptable
@Braiam Again, where are you getting "this" from?
 
1:13 AM
^^
 
@Patrick "this" == "this one" == "this device" == "this one specific device"
 
@Braiam You wrote: Change the permissions of one specific device. There is no this there.
 
@terdon I'm not writing this literaly
 
I really don't understand what you mean.
 
"Change the permissions of this one specific device" doesn't sound good
 
1:16 AM
@Braiam No, but neither does of one specific device. That means that you can only change one as opposed to many devices. Not that you can only change this as opposed to the other device.
It is not equivalent to de una cosa but to de una sola cosa.
 
@terdon mm? "one specific device" means that it will affect just one and not others
 
@Braiam which one?
 
@Patrick one you pick
 
It could be any device in the universe, as long as it's just one
 
@Braiam Just one and not more. But the point is that you are not specifying which device. You're only saying that you're talking about one device, not two, and a specific one.
 
1:18 AM
@terdon which is my intent
 
My answer isn't discussing any one device, it's discussing a specific device.
 
Why not just use Change the permissions of the device and leave it at that?
 
@Gilles I'm not sure that both are dupes, this one seems more about accessing a particular device without allowing access to others, while the other question is about how to access all disks. — Braiam 57 mins ago
 
@Braiam In that case, remove the one. Just say of a specific device. I still think that of the device is better but at the moment it just doesn't read like a native's English.
At the very least, it needs a comma after one :)
 
well, either way I changed the title of the question so I hope nobody will have the same confusion
 
1:22 AM
@Braiam Note that there you wrote something different: a specific user, not one specific user. That's the main problem with your edit.
I'd never thought of this before but it's actually quite tricky. I know that one specific just doesn't work there but I can't put my finger on precisely why. Just take our word as two native speakers for it.
 
Just one of those things that you know if you've been raised in a language and are hell to learn if you haven't.
 
@terdon nah, if you check ELU you will notice that the most knowledgeable are those that aren't native
 
In the new edit, "one specific", it is clear that only one device is being referred to, but there's nothing that qualifies it as to which one. Meaning that any device, as long as it's one, fits the subject.
 
@Braiam Not quite. Among them, certainly. Non-natives often have better grasp of the grammar of a language.
 
1:27 AM
@terdon I'm not sure what you are negating...
I feel that you are saying the same that I did
 
@Braiam just the specific case of ELU. The most knowledgeable user there is American.
 
"he most knowledgeable are those that aren't native" == "Non-natives often have better grasp of the grammar of a language."?
 
At least a few of the most impressive ones are non-natives but most of the top ones are.
@Braiam Yes, I was agreeing with the general principle, it just happens to not be 100% true in ELU.
 
@Patrick it's needed to be specified which is as long as we know that is this and not another?
 
@Patrick I went ahead and changed to the device feel free to revert of course.
I thought that had been decided.
 
1:30 AM
@Braiam I think I get what you're saying, and yes. I'm trying to find out what that type of grammar is called, as I know it has a name.
 
my griping was that "the" wasn't specific enough to the amount of devices were affected, since the can be used for plurals and singulars
 
@Braiam Ah, but combined with the singular device, there is no ambiguity.
 
cool, I search for "device" in google and I get a metal band! D:
 
Does it look good?
 
now this is another worldly, I click on any of the band songs in the side bar and I get a yt video + information where to buy and lyrics of the song.... D:
and youtube is down for me :(
or at very least very slow :(
 
1:42 AM
@slm congrats on 100k (a bit late but I just noticed)
 
slm
thanks
 
1:53 AM
Can't find much that addresses the use of "one" as an indefinite article. This actually kinda surprises me. It's a common enough occurrence that I expected it to be addressed.
 
8
Q: SSL3 "Poodle" Vulnerability

tylerl Canonical question regarding the recently disclosed padding oracle vulnerability in SSL v3. Other identical or significantly similar questions should be closed as a duplicate of this one. What is the Poodle vulnerability? I use [product/browser]. Am I affected? Is [product] vulnerable to t...

^ today's most used link
 
slm
Thanks I couldn't find that link, thanks for adding it to my A @Braiam. I knew Thomas Pornin would have something on this over there.
 
 
2 hours later…
4:25 AM
Oh look, another user who ran out of disk space because they used it all for /home. (unix.stackexchange.com/q/162173/4358)
Distros need to start giving a big fat warning:
"YOU ARE PREALLOCATING YOUR ENTIRE DISK. STOP WHAT YOU ARE DOING NOW!"
 
 
4 hours later…
8:08 AM
@Braiam Well said.
@FaheemMitha you are basically suggesting a local merge ? Anyway I don't this will cut it in my case, I want something that is as easier as possible to apply, plus I don't need yet another repository, I can't screw up a patch, a repository is way too cumbersome for such task and much easier to get wrong especially over time and usage . — user2485710 10 hours ago
Huh? Sometimes I wonder why I bother replying to these things.
 
 
3 hours later…
11:37 AM
cc @slm @Patrick @terdon @derobert ^
also, maybe @Gilles
 
Cool!
 
slm
you find all the easter eggs.
Please keep an eye on unix.stackexchange.com/users/85812/asura. He's asked several Q's and not accepted any and seems like we're doing him a disservice if he's actually trying to learn shell scripting by answering his Q's. A good book would be more apt.
He's also doing the "ask basic Q" then fan it out to something way more complex in comments in A'ers. unix.stackexchange.com/questions/162165/check-if-input-is-valid/…
I've left 2 choice comments on my A and will likely not be helping him anymore.
 
11:53 AM
Welcome to the site! Please take a moment and read through our help center to understand how the site works. You have now asked 6 questions and have not accepted a single answer, do none of the answers you received answer your questions? — terdon ♦ 21 secs ago
 
slm
@terdon - tx
 
@Braiam last time I looked at the new recommended tab on SO, it was worse than the current home page. Has it improved?
 
What do you all think of this? I left @Anthon this comment and he disagrees, have a look at the discussion between us following this comment:
@Anthon (and Raul) it is off topic here. You're asking for code review which is not the topic of the site. — terdon ♦ 27 mins ago
@Anthon are you around?
 
@slm well, $# is what you should have mentioned from the start
 
12:01 PM
@Gilles third revision supposedly improved vs. the second one
 
slm
@Gilles - not sure if it's a bad way or not, but on those types of Q's I try to show them the process vs. going straight to an answer.
 
at very least, there hasn't been any complains about it
 
@terdon we have done shell script code review in the past. “Review this script” is too broad (but sometimes it comes to that) but not off-topic. “Debug this script” is ok as long as the script is a serious attempt.
If the script is working (at least in nominal cases), Code Review will take it
 
@Gilles My feeling is that 1) in general, dumping a script is not very good 2) if you do dump, the question should be "How do I make this work" and not "how do I make this better".
In other words, if the script is working and you want us to improve it, off topic. If it is not working and you want us to fix it, on topic.
 
@terdon a generic “how I make this better” is too broad for here (but ok for Code Review as long as the script has no known bug). A specific question e.g. “how do I make my script work with file names containing spaces” is fine (and may well be a dupe of the generic question).
 
slm
12:04 PM
@Gilles - also on a Q where it's now his 5th Q in the same wheelhouse where he's not done really any search (assuming that he doesn't know) I'm not going to spoon feed the OP. Since the real solution is to pick up a book and start learning scripting.
 
@Gilles Exactly, that's what I feel and why I thought that Q was off topic. The script works,. he just has a vague "help me improve it" request.
 
@slm I dunno. I didn't learn shell scripting from a book.
I learned Python mostly from SO answers
I did kinda learn Perl from a book (the man pages)
 
slm
@Gilles - but you've obviously read tutorials and learned through some means where you had example problems or Q's that you coded up.
The wikibook on bash scripting has all the A'ers to his Q. How to parse command line args and such. It's also in a single page format and isn't overly terse, IMO.
 
Actually, I just realized that the Q is asking for a very specific improvement so I guess it is on topic. I saw the "how do I optimize" as a general request and missed that he just wanted greater precision.
 
slm
@Gilles - also you're not a typical person 8-)
 
12:07 PM
@slm Dunno about that. He's a pretty typical bot as bots go.
 
slm
I worked with another C/C++ dev and he could read various prog. langs w/o much effort too. I don't think that's a normal skill.
LOL
 
@terdon whether I'm a bot or a top is none of your business
 
slm
I know there are some ppl that cannot learn from a book while there are others that can, I typically don't read books either since I like to use them more for references when I have specific Q's. The only books I've read are about Perl.
 
@Gilles We know you're a bot. Just one that can pass the Turing test is all.
@slm Heh, I started one once. That's how I learned the basics. As soon as I had enough to do the task I needed to do I stopped though. Same with C. I really should read at least one book from cover to cover once.
 
slm
@Gilles - you said you did some TA'ing for a time so you've clearly been in the position of trying to teach ppl things. Do you think learning from a book is not good advice to a novice?
mind you that I didn't just say that, I also handed him a book that should be easily accessible, both physically and mentally.
 
12:16 PM
@slm oh, sure. It's a good way. But not the only way.
 
anyone can think of a good title for this one?
 
slm
@Braiam - gem installing jenkins worked for my BTW. I think you need to have 1.9.3 as a lowest version allowed.
@Gilles Yeah I would never say it's the only way, but if you are having a lot of Q's and there's a book that I can refer you to or a website to read, I think I'm doing you a better service, unless I'm your instructor and I'm being paid to teach you.
@Braiam - oh that Q. The guy hasn't been back since I left my comment. I wasn't even gonna bother with that one.
@Braiam - shows he visited the site yesterday but didn't bother to reply to my comment about the rule for port 22
 
I'm thinking about doing a selfanswered explaining the rule ordering of iptables
 
slm
go for it
@Braiam
Fetching: classifier-reborn-2.0.1.gem (100%)
Successfully installed classifier-reborn-2.0.1
Fetching: jekyll-2.4.0.gem (100%)
Successfully installed jekyll-2.4.0
23 gems installed
that was with ruby 2.1.1p7
if I go back to 1.9 it did not work there
 
12:34 PM
@terdon I deleted my comment that the Q would be on topic based on Gilles' observation
 
12:48 PM
@Anthon I deleted most of them. I was wrong, I thought he was asking "How can I optimize my script?" which I would consider off topic. Instead he was asking "How can I make this script do X?" which is indeed on topic. I was just confused by the word "optimize".
Can someone explain this edit that Stephane did?
I get most of it but what's the split+glob operator and where did I have it?
 
@Braiam That's pretty nifty. Thanks :-)
 
1:06 PM
@slm I'm going to have to disagree with your close action on this question: unix.stackexchange.com/q/162247/4358
 
slm
@Patrick - I was borderline on it as well. I'll reopen it.
 
Knowing how to debug doesn't answer the question. It may help the asker find the answer, but it's not the answer itself
 
> How can I found the reason?
he's asking how to debug his script.... I don't know what else he's looking for
 
slm
General Q to other's here. When we have Q's such as this one unix.stackexchange.com/questions/162247/…, do we want to simply close these against a Q&A that shows how to debug?
20
Q: How to debug a bash script?

BraiamI'm having some problems with some scripts in bash, about errors and unexpected behaviors. I would like to investigate the causes of the problems so I can apply fixes. Is there a way I can turn some kind of "debug-mode" for bash, to get more information?

@Braiam - bring it up on meta
 
@Braiam I agree you do have a point. But I think that may be a supplementary question. It's debatable. But I would be willing to bet that even with set -x, the user still won't understand why the issue is occurring.
 
slm
1:10 PM
The reason I agreed w/ Braiam's closing is the last sentence "How can I found the reason?"
I think there's fundamentally 2 Q's in this OP's Q. One is help me w/ my immediate need, and also how can I do this myself, either now or in the future.
 
Well "how can i do this myself" should be part of any answer, whether explicitly asked or not
 
@Patrick if you read most of my answers about "halp, i haz a problemz" you will notice that I always add how to discover where the issue is, but in this case OP seems to be more interested in discovering the cause of the underlying issue rather than fixing the issue
 
slm
I'm not sure what the OP's intent is there. We'd have to ask them.
The last sentence was why I agreed on the close, I read that as "what methods can I use to debug this further"
but he didn't write that 8-)
 
as for the actual reason for the issue he's experiencing, I'm actually not sure. I'm wondering if that's actually the script, or if something is left out (or what this other script being called is doing). I can't see anything which would cause the script to background itself (which seems to be is what is happening)
The only thing that springs to mind is SIGTTIN/SIGTTOU, but there's no terminal IO, so that shouldn't happen
 
supposedly, the master script is closing which he doesn't expect it does
 
1:21 PM
@Braiam note the [1]+ Beendet ./main, it's not closing, it's backgrounding
 
I mean the parent script
 
that's what I mean
 
shell > parent script > child script.
 
yes
 
slm
@Patrick - it might be how he's running the script
./myscript &
 
1:24 PM
@slm well he says he's just using ./main, no & involved
 
mm... now I'm itching to close it for unclear
 
I'd be willing to bet something is sending the script a SIGSTOP/SIGTSTOP/SIGTTIN/SIGTTOU, but yeah, I don't see a reason why. It would have to be some code that's not shown
 
slm
that's been my thought of late too @Braiam, we should be closing these types of Q's until they're cleaned up sufficiently to be answered. Otherwise we get 3+ A'ers on them that are guessing at the issue. It wastes ppls time and mucks the site up with confusing A'ers to a single Q.
 
yeah, I don't like to play guessing games with questions
 
1:27 PM
@slm Except that numerous times I've run across questions which people have voted to close with "unclear what you're asking" because they don't understand the subject matter. I will come along and then can't answer it because it's closed. And it's near impossible to re-open a closed question.
I despise the "unclear what you're asking" close action for that reason
 
"And it's near impossible to re-open a closed question." [citation needed]
 
@Braiam Citation me
I vote to re-open questions all the time, and they go nowhere
 
slm
re-open is impossible? I'm literally in here all the time 8-)
 
I've actually seen people here duplicate their own question which was voted to close, and the dup gets answered :-)
 
I've reviewed 65 questions in the reopen queue and 39 reopen votes
that's more than half, no?
 
1:30 PM
It takes 5 votes to re-open, you're just one :-)
 
slm
yeah but I can instantly reopen it
 
If we need to get a mod involved for day-to-day voting activity, then something is terribly wrong with the system
mod powers are supposed to be needed in rare cases, not all the time
 
slm
If Q's are sitting in the reopen Q I'm in there too. I'm generally going through the Q's like everyone else to see if there are things I can help move along
@Patrick I'm also the 2nd most active user here next to Gilles so I'm wearing 2 hats
regarding re-opens you have to bring them to other's attention in here. That's not an ideal process but we still don't have a lot of "active" users that can cast votes
@Patrick I've seen Q's get asked, closed and a new one pop up and get A'ered too.
 
slm
@Ramesh - they read the same to me in terms of what they're asking
org: Show only text between 2 matching pattern
dup?: sed lines after match and before next match
 
1:44 PM
@slm Thanks. I will vtc.
 
@Patrick I agree. If you see something that really should have been reopened but wasn't, I suggest you 1) first edit it so it's clearer to others as well. 2) If that still fails to reopen it, ping one of the mods here or flag it.
Note to all users: Don't hesitate to flag/bug the mods if something is not working as it should. We're supposed to be human exception handlers, that's why you voted for us.
4
 
@terdon why your starred comment looks different? Is this another mod power you guys get?:)
 
@Ramesh Yes, available to room owners.
 
I was wondering, will it be possible to broadcast such messages in the main site without the need to open a question?
We have Hot Meta Posts and Featured on Meta sections.
Similarly, just like them, something like "Important announcements:" and may be the flagged message here could go over up there.
It is likely to get noticed by many users.
 
@Ramesh I think the only way is to have a meta Q or a community event.
 
1:58 PM
@terdon is it worth asking this as a feature request or it's just not worth the time?
 
@Ramesh Up to you. Personally, I don't think it's needed. If I have something to announce, I can post a meta Q and have it featured. I don't see why something extra is necessary.
 
yup seems so silly. Not worth it :)
 
slm
isn't this a dup of this?
 
@slm I was also tempted. But this new question was asking about emptying the file in real time.
 
slm
@Ramesh - OK, thanks for double checking.
 
2:46 PM
@Patrick You could mention it here.
I do.
i rarely hear people say things like "please vote to reopen this", which I think would be reasonable. I basically have chat open all the time, and occasionally glance at it, so I'd probably catch those things.
@Gilles What is a top? Like those things that spin? Hmm, haven't seen one of those in a very long time.
@slm Learning from a book is fine. But of course, it depends on the book. Also, sometimes you need to ask questions. You can't ask a book questions. Well you can't, but it won't reply. If it does, you've got bigger problems than figuring out how to learn stuff.
Hmm, I'm rambling...
I was wondering how Stephane came across that bash bug. Would asking about this be an appropriate question here? It would be an unusual question, because it would (a) have an answer, i guess, but (b) there would be only one person on the planet (by definition) that could answer it.
 
slm
3:07 PM
I don't think that would be inappropriate
I'd be curious to know too
 
It's polymeric that a question about bash export function in environment was asked a month before Stephane found the bug
8
A: How does VARIABLE=() { function definition } work in bash

cuonglmIt's really a function named module. It appears in environment variable when you export a function. Try: $ test() { echo test; } $ export -f test $ env | sed -n '/test/{N;p}' test=() { echo test } From bash documentation - Bourne Shell Builtins: export export [-fn] [-p] [name[=value]] ...

 
slm
@cuonglm - is this your real name?
 
@slm: Yes, My name is Cuong, full name LE Manh Cuong.
 
slm
what was the other name then?
 
@slm: you mean Gnouc?
 
slm
3:19 PM
@cuonglm yeah
 
@slm: you can see: perl -e 'print ucfirst lc reverse "Cuong"'
 
slm
ah
duh
well at any rate nice to know a little more about you 8-)
 
@slm: I had wrote some information here meta.unix.stackexchange.com/a/2938/38906
 
slm
I'm getting old, and have forgotten. I even commented on it. LOL
I need to re-read that page, several new updates
 
3:39 PM
@cuonglm polymeric?
 
@FaheemMitha: I mean coincidence, sorry for my poor English.
 
slm
yeah I wasn't sure what word you meant there
your English is actually excellent
 
@cuonglm ok
Changed your user name, I see.
@slm ok
 
@slm: I only can read and write well
My listening and speaking skills are poor :(
 
slm
@cuonglm - same here, that's why I like this site, no actual talking verbally 8-)
 
3:51 PM
An article in the NYT about bash that doesn't mention the GNU project. I'm sure RMS is thrilled. nytimes.com/2014/09/26/technology/…
 
4:01 PM
What is difference between emulation and simulation?
 
@Ramesh Pardon?
 
@FaheemMitha just curious how these words fit in software.
We have lots of emulators and simulators.
 
@Ramesh i see
 
Well, this has good explanation. But still little unclear.
So is it ok to say virtualbox and kvm are emulators?
 
if they can emulate other architectures, I'd call them emulators
if they can only execute native instructions in a sandboxed environment, then no
e.g. if you can use them to install Solaris compiled for Sparc on your x86_64 machine, then it is an emulator. If it can only run x86 / x86_64 code, then it isn't.
 
4:16 PM
@casey thanks. So I was just getting this question, because I was trying to install a cross compilation tool chain for MIPS architecture in x86 machines.
So in this case, the cross compiled tool chain is an emulator?
 
@Ramesh no, cross compilers don't execute non-native code, they just produce a non-native machine code
you would however, need an emulator to run that binary
if you weren't on a MIPS platform
the emulator does machine code translation to allow non-native binaries to run
this is why WINE Is Not an Emulator, no machine code translation is needed
 
@terdon split+glob is what happens to $foo outside quotes
 
@Gilles Ah! Right, thanks.
 
and fwiw, I'd reserve simulator to apply to software that simulates a physical process, not really something on a machine level
 
@casey where physical process is extremely broadly defined.
 
4:24 PM
@FaheemMitha indeed. on all scales from subatomic to galactic
 
@casey Right. For example, there are biological simulations.
And here is the video in question:
 
@casey If something was a machine simulator (as opposed to emulator) I'd expect it to be much more accurate. E.g., it should get all the instruction timings exactly as the actual hardware would. (At least as far as the running program can tell.)
Including all the weird cache, out-of-order execution, etc. effects
 
slm
4:46 PM
emulate is any time you have something pretending to be something that it isn't
we would use software to emulate hardware DIMMs
 
Thanks. So what is QEMU?
I mean emulator or simulator?
 
slm
It's a platform from which hardware emulators can be constructed
so you can use it to emulate any hardware you want (in software)
in theory
QEMU is a generic and open source machine emulator and virtualizer.

When used as a machine emulator, QEMU can run OSes and programs made for one machine (e.g. an ARM board) on a different machine (e.g. your own PC). By using dynamic translation, it achieves very good performance.

When used as a virtualizer, QEMU achieves near native performances by executing the guest code directly on the host CPU. QEMU supports virtualization when executing under the Xen hypervisor or using the KVM kernel module in Linux. When using KVM, QEMU can virtualize x86, server and embedded PowerPC, and S390 guests.
 
oh ok. So is it correct to say I am using QEMU to emulate the MIPS architecture in my machine.
 
slm
yeah
 
nice. So, qemu emulates the MIPS architecture in a x86 machine and I need a cross compiler which can compile my C code to the machine specific code.
In this case since am emulating MIPS architecture, I need my cross compiler to produce MIPS specific code.
Is the above statement sounding like I have understood things clearly?
 
slm
4:52 PM
that sounds correct to me
 
cool.
Thanks @slm.
 
slm
5:25 PM
@derobert Yes when we simulated H/W the timing within the Simulator would be accurate as if the device were in the physical world, yet it could take 20 hours to generate that say 10 seconds of simulator time
there's 2 special programming languages call VHDL and Verilog that provide this capabilitiy
the other thing that mattered was how the code one would use in the simulator was written. You could stick a C application on the back of the simulator that mimicked the functionality and timing of something that's physical, but the code could never be "synthesized" into actual hardware. If you write your VHDL/Verilog in a specific way there are tools that will synthesize it into physical elements.
ones that could be built
@Ramesh ^^^^
 
Why not all close cast are visible in under Review menu?
 
@jimmij No idea. The close vote was cast 14 minutes ago, maybe it's a caching issue again. If it doesn't show up in a while, it'll sound like a bug.
 
slm
4
Q: Relationship between close votes and Review Queue

belisariusI usually don't pay much attention as to how the Review Queue behaves, but today I found the following situation: This question has 2 Close Votes: However, while I expect the question to be found in my Review Queue, it is empty: So ... when does the closing votes "enter" the Review Queue?

 
@jimmij only votes cast from the review interface are shown in the review history, if that's what you mean
 
slm
5 min.
 
5:36 PM
the first close vote never comes from the review interface, unless there was a close flag before
 
slm
There are Q's that have close votes that aren't in the RQ. That's your Q, right Jimmij?
 
@slm thanks for the info.
 
@slm ah, ok. For a very recent close vote, it's caching. (It's always caching.™)
 
slm
yeah
 
So if I have gcc in my x86 machine, I compile my C code using gcc -c hello.c which produces the hello.o object file.
Now, I should try and feed this object file to the MIPS architecture using the qemu platform which will give me the MIPS assembly instruction codes.
 
slm
5:42 PM
I cannot say to the specific steps but it'll be something along those lines
 
@slm yeah. I was just putting the above to have a better understanding of things :)
 
slm
yeah I didn't want to mislead you either
 
OK, I see.
It just jumped in
 
slm
I've seen many times Q's that should be in queues that haven't made their way there yet, there are obviously timed tasks that run with a SE site, I haven't bothered to find out why until you just asked. That is one of the timed activities, there are countless more I would gather.
 
coincidentally my first ever project in a Linux machine was installing qemu for ARM architecture.
Now it's MIPS :)
 
5:45 PM
but how @Gilles was able to vote 7min ago then?
 
@jimmij He probably saw the actual question after you posted a link to it.
And his 2nd vote might be what pushed it, I don't know how they've set it up.
 
ok, but from the question one can only vote to close, and he voted to leave open
 
slm
it makes sense that there's lag, you don't want everything instantly popping into the RQ's.
where are you seeing this?
the timeline for that Q shows none of this
 
@jimmij because by that time it was in review
 
@Gilles ok
 
5:48 PM
and what's unclear about it anyway?
 
@derobert true, I hadn't considered that one. So emulator == I should be able to run a non-native binary and simulator == I should be able to peek and poke every bit of memory and hardware as if the machine were a real physical entity (perhaps that still fits my idea of a physical simulation)
 
ah, but I think it's a dupe
 
@casey Yeah, or at least within the limits of the simulation.
 
can't find it though
 
slm
there's some strangeness there, myself and jason are the 2 that close it?
ah nevermind I see you guys VtLO
 
5:51 PM
E.g., it'd be reasonable if you can't ask what's the voltage on the emitter of a particular transistor inside the CPU... A simulation need not go down to the lowest level.
 
@derobert true, I wouldn't expect to have more resolution than the physical interface pins of the various IC components.
 
@casey Yeah, if you could put a scope on the memory bus, I'd definitely call that a simulation.
 
6:29 PM
Are there legitimate uses for this or will we be helping this guy do something illegal?
0
Q: How can I migrate a bully (reaver alternative) session from Kali to Ubuntu?

EducI'm running bully on Kali Linux and this is the output : [!] Received disassociation/deauthentication from the AP [+] Rx( ID ) = 'NoAssoc' Next pin '99728298' [+] Rx( M5 ) = 'Pin1Bad' Next pin '19268293' [+] Rx( ID ) = 'EAPFail' Next pin '19268293' [!] Received disassociation/deauthe...

 
slm
sounds suspcious
he should explain why at least
Bully is conceptually identical to other programs, in that it exploits the (now well known) design flaw in the WPS specification. It has several advantages over the original reaver code. These include fewer dependencies, improved memory and cpu performance, correct handling of endianness, and a more robust set of options. It runs on Linux, and was specifically developed to run on embedded Linux systems (OpenWrt, etc) regardless of architecture.
 
Probably the only legal use is running it against your own access points. (Or ones where the owner has given you permission).
 
failure to really know how to use random exploit code and using Kali linux, what a coincidence...
 
 
1 hour later…
slm
7:56 PM
@casey nice!
 
... ... another ...
I should open a meta question with a current list of tags that need "help".
 
slm
@Braiam - and after all that our script buddy was running an older version of the script...ugh
 
8:45 PM
What is this, some kind of preschool test? — jimmij 16 secs ago
I was going to be nicer, but I'll go with this instead
and someone answered it... why oh why, that question is terrible
 
Please be courteous towards the users who are reading your questions and answering it. It would be better if you had taken little effort in framing your question in a much more better way. — Ramesh 21 secs ago
I want such questions to be dealt more seriously. Just downvotes are not enough.
I mean we could close it but what reason can we give for this one?
It is certainly not unanswerable or unclear or too broad.
 
9:01 PM
its just a bad question. I'd edit it to a pure "how do I copy A to B" question and ditch the image, but I don't like that question either
if he have a canonical Q on copying, close it as a dup of that
 
Well neverthless I vtc it as a link only question.
 
slm
9:49 PM
@Ramesh - if it makes you feel better I noted the university's name and found a link to their code of conduct for students and have contacted them regarding this matter.
@casey ^^^
email addr. is at the bottom of the page
 
10:12 PM
Hi everyone. This question unix.stackexchange.com/q/162304 is an exact dupe of unix.stackexchange.com/q/121109
But I like my answer better. Could these be merged? Or should I close the later one as a dupe of the earlier one? Or the reverse? I should have searched before answering - apparently nobody else does... Sigh.
 
@slm wow. Thanks. It just was too much to paste a question and asking the users to check it from there.
 
00:00 - 23:0023:00 - 00:00

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