« first day (2556 days earlier)      last day (2402 days later) » 

12:15 AM
We've been running on Redis 4.0.2 stable in dev and our DR data center for a while. Upgrading the active data center in a moment.
 
12:35 AM
@NathanOsman SSDs?
 
@Seth Yup, it's got an SSD.
 
Then is SWAP really that useful?
 
It only has 4 GB of RAM.
So if that runs out, boom!
I've got 39 Docker containers running so having it go boom! is not desirable.
 
1:30 AM
wow
it's kind of sad how fast the LG V20 dropped in value
but then again, LG makes terrible hardware
 
you can get excellent condition used for $250
that's cheaper than the Honor 8
 
1:45 AM
I don't think my OP3 is worth much now.
Which is crazy - do vehicles depreciate by 50% of their value in a year?
 
Vehicles are designed for a 10-20 year lifespan with maybe 3-4 years on a platform minimum
Computers go obsolete in 5 with annual platform refreshes - maybe 2 years.
Phones have a 2 year lifespan with annual or subannual refreshes
 
 
1 hour later…
3:13 AM
I am a web and windows app developer, currently using windows os, Searching any linux distro to suit for my office and home use, so is ubuntu best for that?
 
@SabirAli ubuntu is a good choice.
 
 
1 hour later…
4:28 AM
@NathanOsman Yep. Amateurs do that all the time :)
They were at Harvey too.
Something I want to take part in once I get a little more equipment.
@NathanOsman $379 down to $265 doesn't seem that bad, although it has lost almost $100 in value since March.
Someone should mass pull the swappa price data and do some data analysis on that.
 
Mine was almost $500 CAD.
I wonder what that would look like taking the conversion rate into account.
 
@NathanOsman 379 US is 470 CAD so..
 
Yeah, that sounds pretty close. It would have been more last year.
I think our dollar has gained a bit of value lately.
 
 
1 hour later…
5:46 AM
@Seth Ah, thanks! will look at it.
 
6:06 AM
@Zanna I have a problem that I need looking into. Some one serially upvoted me and the system reversed it, now it's happening again. How can I stop this
@ThomasWard I have a problem that I need looking into. Some one serially upvoted me and the system reversed it, now it's happening again. How can I stop this
 
So I made an app that does literally nothing.
It builds a Docker container that's 255 bytes in size :D
 
6:24 AM
@ByteCommander serial upvoter found >:-D
 
@Seth ...But how do I contact him :). The "answer"/question is deleted :)
 
6:38 AM
@Rinzwind is this in regards to my complain?
 
@George you complained? :-P
 
@Rinzwind yes happened twice
@Rinzwind at first I thought it was the system rewarding me for some reason then it got reverted only to be added again
 
Adios. I'm off to try to get some sleep.
Goodnight everyone.
 
7:18 AM
0
Q: bash: source: filename argument required source: usage: source filename [arguments]

Tartoori run ubuntu os. i read similar question but my problem is different whenever i launch the terminal it hangs for few seconds showing this message: bash: source: filename argument required source: usage: source filename [arguments] how to get rid of this problem? my .bashrc file content is:...

 
7:40 AM
@George 5 days 3 times for me :P
 
7:51 AM
@George Hi :) I'm not a mod, so I can't even guess (votes are private, so mods can only guess, I think, from statistics) who is doing it to advise them not to. Are you sure that is what is happening? There was a achievements notification glitch going on. I saw this myself, but I don't think there was any abnormal voting. The reversal script is run only once per day afaik
 
@Zanna many people got serial-upped during the past few days, including Rinzy, muru and me.
 
Yes, we seem to have a serial upvoter on our hands. @George isn't the first user to mention it. I'm afraid there's nothing we can do really, George.
 
oh I feel left out XD
 
heh
 
I assume they will get bored of it soon anyway
 
7:54 AM
I guess. They probably have no idea it's being reversed or that there's anything wrong with it.
 
ok guys and ladies noted thanks @Zanna
 
Yeah it's been happening to me too.
 
@George :)
I guess it's a (slightly irritating) compliment
 
8:11 AM
can we kill askubuntu.com/q/960122/367990 with fire, please?
 
@terdon I suspect after a few reversals... something ought to happen?
 
@JourneymanGeek Dunno what though. I guess I could let SE know.
 
@Zanna yes it is not sure if one is advancing or retrogressing!
 
@AndroidDev O.O
@ByteCommander it's closed and only needs 2 more De-Votes
 
added mine
 
8:17 AM
Hey, @George, please don't use capitalized variable names in your shell scripts. For example, $USER is an environment variable containing the current user's user name so you really don't want to go changing it. As a general rule, it is better to use lower case variable names so you don't risk variable collision with existing env vars.
 
@terdon ok updated!
 
and upvoted (but I'd already done that) :)
 
sina is still relentless with doing poor edits
 
Are the poor edits getting accepted?
 
well i didn't
i didn't check to see what other reviewers did
 
8:29 AM
I approved some of their edits yesterday iirc, and rejected others
that one was approved, although it destroys information (but the first change is right I think)
I suppose the emulator is irrelevant in context
 
@Zanna destroys info?
 
Konsole is the emulator
Sina changed it to console
which is generic, doesn't mean anything
 
I think the problem there is not just that information is removed, but that nonsense is added.
 
yeah
 
The editor may not have known that Konsole is the actual name of a program in Kubuntu, or it may not have occurred to them that it was intended since it wasn't capitalized in the original, but either way, changing it to "console" as though that helped clarify what a terminal was didn't help, and would have created the impression that a virtual console was being used, since we rarely call terminals consoles outside that context.
 
8:38 AM
@edwinksl yeah still doing the random bold, but Yaron joined you in rejecting here
@EliahKagan indeed
 
great
 
?
Oh the bold.
 
but the paragraphs are good!
I will edit...
does that question seem too broad, or is it OK?
 
That question? I don't think that is too broad.
 
ok :)
 
8:42 AM
I also don't think this closed question is too broad.
 
this approved suggested edit by Sina looks good to me
 
That looks okay. I don't know why they expanded "app" but not "cli," but I would've approved or improved the edit, not rejected it.
 
i have to say that's a lot of edits per day
45 approved edits 2 days ago
amazing
 
should have been improved as it formats non-code as code in a code block (easy mistake to make) (has been fixed)
useless edit approved by OP
 
@Oli Does the site actually support ``` to begin and end a code block? Is that part of the Markdown dialect SE uses? This is not working for me in the visual editor.
 
8:48 AM
^ i don't think the site has ever supported that
 
Oli
@EliahKagan I'd swear I'd used it many times before.
 
@EliahKagan it never works, produces the same as single backticks (but I know nothing about what happened before my time XD)
 
Oli
Hm, fair enough. Wrapping in <pre><code> does work though.
 
and then you can cleverly format the text inside
 
Oli
but have to be careful about < symbols.
Probably &...;s too. Not sure
 
8:52 AM
haha yeah "where is my input file?!?!?!"
 
Oli
Sorry for the confusion. I use Markdown in a few different places, including my blog and I'm used to the full syntax (and some extensions).
 
not sure why triple backticks don't work here
Sina replaced the word and with `&`
 
Yeah, more `s work to allow ` characters to be quoted, but as far as I can tell SE will not interpret it as starting or ending a code block.
 
(in backticks, so formatted as code)
 
@Oli Yeah there's a lot dialects.
@Zanna In chat you mean? foo
Oh you mean to start and end a code block.
 
8:55 AM
in a few places including here
@EliahKagan I meant in post bodies on SE
 
Well apparently it's because they have a different meaning -- a stronger inline "code span" that allows a ` to appear inside it.
 
ahh that makes sense
 
See the code for the heading at the top of that post.
 
aaah!!
 
Is that an "aaah!!" of delighted discovery or an "aaah!!" of less delighted discovery?
 
9:01 AM
lol oh delighted, definitely
 
Ah.
:)
Regarding ```, I had been hoping it would work and then I could post a more satisfying answer to this meta question.
 
0
Q: Setting up custom resolution on Ubuntu 16 LTS

theAlseI have a special display (from a Chinese seller on eBay) with following resolution: 1280x320. On a windows 10 machine (with Nvidia Geforce 1080) and after playing around with all the Nvidia Setting, I managed to get it to work properly at 1280x320. Now I would like to use in with another machin...

o.O
1280x320
that is unimaginably small in height...
 
@Zanna I think that edit was useless and added noise, but, should edits that add descriptive alt text only be approved? When I'm feeling especially diligent, I attempt to add alt text, but 90% of the time at least, I am too lazy...
 
you pm'd yourself @zanna :P
 
@Rinzwind Yeah, replying to yourself shows connections between messages. It's handy. (I mean, it's a ping, a PM would be a private message...)
@Zanna That particular edit was not useful, because the alt text just said "Image." But for actual descriptive alt text, yes, absolutely. This is an accessibility issue. Not everybody can just look at the images. Edits adding helpful alt text constitute greater improvements than the vast majority of edits we approve. I would only reject such an edit if the image should clearly be removed entirely instead (or if the text was wrong and I couldn't fix it).
 
9:26 AM
@EliahKagan thanks :) I will try harder to add alt text
(when I edited that post, I did)
 
I add it whenever I add an image, and sometimes when I edit a post for another reason that has an image without useful alt text. But really I should be adding it to images I find it posts I edit, too, in accordance with the principle of fixing everything with a post while editing.
Is it normal that deleting .Xauthority will cause a login loop? Isn't it automatically created at the start of a graphical login session, if it doesn't exist?
 
I thought so
 
30
A: Ubuntu gets stuck in a login loop

mblascoI had a nearly identical problem a few months ago. Switching into a console from the LightDM login screen (Ctrl-Alt-F1), logging in with administrative username and password, and entering the following commands resolved the issue: sudo mv ~/.Xauthority ~/.Xauthority.backup sudo service lightdm r...

^^ suggests restarting lightdm recreates it if necessary.
 
Yes, it should.
I think @EliahKagan is right and the OP either deleted the wrong file or something, or has other things owned by root as well.
 
@ByteCommander yes it should
@EliahKagan I believe it would be recreated yes
login loop is either a not-owned-by-user or a corrupted file
 
9:35 AM
or not enough disk space
 
oh good one :)
 
So does anyone here happen to know how quoting is supposed to affect history expansion inside command substitution? That is, when is ! supposed to have special meaning inside $( ) or ` `, and when isn't it? This relates to a somewhat off-topic aside in the Downboat room. In Bash on 16.04 (Bash 4.3), ! doesn't attempt history expansion in echo $(echo '!') but does in echo "$(echo '!')".
In Bash on Ubuntu 17.04 (Bash 4.4), ! doesn't attempt history expansion in either context. Was the older behavior a bug? Why do quotes inside command substitution affect ! at all? (History expansion is performed early, by the parent shell, and not by the subshell.)
ek@Io:~$ echo "$(echo '!')"
-bash: !': event not found
ek@Io:~$ echo $(echo '!')
!
 
seems like a legit question for the main site or U&L
 
Yeah I'll ask it somewhere.
It's on-topic on both sites. Any opinions about which site it would get better answers on? :)
 
AU is more popular, but I guess you could get higher quality answers on UL...
 
9:59 AM
@EliahKagan U&L for sure. That should get the attention of either Gilles or Stephane.
And yes, that does sound like a bug. The single quotes should have stopped the expansion, as they do in the current version.
 
Well I think I can explain the old behavior. If I understand correctly, history expansion takes place early in parsing. It must, because it can happen even before a full command has been given, e.g., echo !! ' <newline>.
So if this is before $ (or `, since the behavior happens with the backtick syntax too) is treated specially, then the outer " quotes around the command substitution cause the inner ' quotes to not have special meaning during that early phase of parsing, preventing the ' quotes form stopping ! from having special meaning.
I've read the changelog summary sent out in the release email for Bash 4.4, and skimmed and searched the full changelog on Savannah, and I haven't seen anything about this, so I'm poised to post a question about it. But I am also unsure at the conceptual level how quoting is supposed to work with ! inside command substitution. Normally quotes inside $( ) don't have special meaning to the outer shell. So both the old and the new Bash behavior confuse me.
It's not obvious to me whether or not quotes of any kind inside $( ) command substitution should ever prevent ! from being treated specially.
I kind of what to make my question How should quoting affect ! inside $()?, though I wonder if that would be taken as too broad.
 
10:25 AM
@EliahKagan Single quotes should. The $() is irrelevant, that just starts a subshell. The single quotes should make the ! into a string literal.
Where did you ask the question?
Ah, poised, not posed. I see.
 
@terdon If the $( ) can be disregarded for the purposes of analyzing this particular behavior, then I would expect ! to trigger history expansion in the command echo "$(echo '!')", as it does in Bash 4.3 (tested on Xenial), because ' ' lose their own special meaning when they appear inside " ".
The only way the " " don't prevent the ' ' inside them from performing quoting, as far as I can see, is if the $( ) is relevant in determining quoting even at that stage of parsing. (But maybe I am misunderstand what you mean when you say it's irrelevant?)
 
@EliahKagan No they don't.
terdon@tpad ~ $ var="$foo"
terdon@tpad ~ $ echo "$(echo '$var')"
$var
The ' ' didn't lose their special meaning, they caused the nested echo to print the string $var instead of expanding.
 
10:40 AM
@terdon Right, but isn't that way later in parsing? The subshell is what treats ' specially -- as I understand it, the outer shell only cares about them to figure out where the whole command ends. In contrast, isn't it the outer shell that is expanding expressions with ! before passing them to the subshell?
It's only the thing about $() being irrelevant that I'm not on board with.
 
@EliahKagan Not sure what you mean. The first thing that happens there is the subshell running echo '$var'. Then, the outer shell runs echo $whateverTheSubshellSaid
So the $() isn't relevant in that it doesn't alter the behavior of the single quotes.
Here's what you see with set -x:
 
@terdon Right, but with history expansion, the first thing that happens is history expansion. That takes place before the subshell is started, right?
 
$ echo "$(echo '$var')"
++ echo '$var'
+ echo '$var'
$var
@EliahKagan It should, yes.
 
@terdon In contrast, with parameter expansion, that is actually done by the subshell and not the parent shell. But the parent shell is what performs history expansion.
 
But the single quotes protect from history expansion so that doesn't enter into it.
$ echo '!'
!
Since the ! is single quoted, history expansion should never happen.
 
10:44 AM
Which means the parent shell is treating the single quotes specially even though they appear inside the command substitution. Where normally it would be just the subshell's responsibility to figure out if they have special meaning.
This actually does make sense, in that the parent shell does have to look at quotes inside $( ) to figure out which ) actually has the effect of ending the command substitution.
 
@EliahKagan Yes, that's what I mean by saying the $() is irrelevant.
The expansion, as you said, occurs before the subshell is started.
 
Ah.
 
That's why this happens:
$ sudo -u bob bash -c 'echo "$USER"'
bob
$ sudo -u bob bash -c "echo $USER"
terdon
(yes, I have a user named bob. it's my test user :) )
 
my test user is called pixie because she's not human
 
So, the first example prints bob because the single quotes cause the whole thing to be protected from the parent shell. In the second case, $USER is expanded in by the parent before being passed to the child.
 
10:49 AM
why does your test user have a name that makes sense
mine is just asdf
 
I like Bob. I always found it a funny name.
Bob.
 
but do you say it the way rowan does
 
@terdon Yeah what I mean about $() not being irrelevant is that if you have echo "'!'", the ! is treated specially, because the outer double quotes quote the inner single quotes; but if you have echo "$('!'), it isn't (in Bash 4.4), because the outer double quotes are prevented from quoting the inner single quotes because the inner single quotes appear inside a command substitution.
This is clearly the correct behavior in general, such as with parameter expansion, when it is the subshell that is treating them specially.
@terdon I'm not sure I see the significance of that example. Which of the behaviors involving subshells with $(), of which Bash versions, with which kinds of expansions, does that explain? I understand what sudo -u bob bash -c 'echo "$USER"' and sudo -u bob bash -c "echo $USER" must do, because they are straightforward cases of quoting that don't raise the question of how $() affects quoting, which seems to be the crux of the difference from Bash 4.3 to Bash 4.4.
(Assuming that's where the behavior actually changed.)
 
@EliahKagan They don't, just a different example of a childshell to clarify. But you're right. There's something fishy. Please do ask the question on U&L! Sounds like just the sort of thing Stéphane would answer with one of his essays.
 
Oh OK. Yes, I will post on Unix & Linux.
Because in those examples, the outer quotes cause the shell that is running the whole command to treat literally the inner quotes. But the Bash 4.4 behavior that you are saying is correct--and which I suspect is correct, e.g. since the Bash 4.3 behavior was extremely nonintuitive to me and, IIRC, muru, when it came up a while ago in an answer of mine--is the opposite: the presence of the outer quotes doesn't keep the shell running the whole command from treating the inner quotes specially.
 
11:23 AM
Could someone scope out my question for a re-open vote? It got bumped pretty far down
 
It's reopened now.
 
11:56 AM
Thank you.
 
12:06 PM
@edwinksl In my mind I do, yes. It comes straight from black adder.
 
 
3 hours later…
2:55 PM
I see another serial upvoter
 
3:10 PM
@terdon looks like this is going to get closed as a bug, but I don't think it should be. Isn't there a way to run X11 programs under Wayland?
 
Oli
@AndroidDev It's being closed because it's pre-release.
There may well be public service value in "How do I run X11 apps on Wayland?"
 
@Oli I was thinking someone more experienced in Perl than I am might be able to write a more elegant rename command than mine for this question. Then I was immediately thinking that person might be you, because of your tutorial blog post on rename in Ubuntu that my answer links to. Then I was writing a chat message to you in case you want to write a better (or otherwise alternative) answer. :)
 
Oli
Normally, we might edit portion of a question like that to make it less off-topic and separate it from the application they're reporting the problem in, but that amounts to a complete rewrite here. It'd be better for a fresh one.
 
@Oli well we're definitely going to need a canonical Q for running X11 stuff on Wayland
Do we help OPs looking to do illegal activities?
well I mod flagged it
 
@AndroidDev For extreme cases, like the guy who was trying to hack his separated wife's Skype account so he could read and listen to all her conversations and stalk her across Europe, we do swiftly close and not provide help. For this, though, I don't think it's a problem to close it as a duplicate. We have several meta posts about this, as well as some on MSE, and different posts address different senses and degrees of "illegal."
I think the main one on our meta is Questions seeking how to bypass security, off-topic?, which in my opinion applies fully to the question you've mentioned, and in my opinion we don't need to (and shouldn't) do take any special action against it. I think if I were a mod that I would mark your flag helpful but not take action on it. Of course I'm not a mod and I don't have access to all the information moderators have access to, etc.
 
3:29 PM
@EliahKagan yeah, @terdon and I have talked about this before I believe, but IIRC the Q in question then was not blatantly clear that OP was doing illegal things. This one on the other hand is very clear. He even mentions he wants to do this so he doesn't get caught.
 
Are you saying it's impossible to not want to get caught doing something unless that thing is a crime? I don't think the question is clear at all, which is one of the things wrong with it. If it weren't a duplicate -- and perhaps even now -- I think it would be reasonable to close it as unclear.
 
Dunno if it is illegal. Is it?
They're not attempting to break into a network, the tool they mention looks for vulnerabilities and can do some annoying things if it finds them.
In any case, the chances of the OP succeeding given that they don't even know how to minimize a window seem pretty slim.
7
 
lol
 
@terdon Shall we assume they're probably using Kali Linux, and migrate the question to Unix & Linux?
ducks quickly and hides
 
@terdon From the Kali site, "IMPORTANT: It is your responsibility to make sure you have permission from the network owner before running MDK against it." if he had permission why would he not want to get caught?
 
3:33 PM
@EliahKagan N
o
 
LOL!
 
y
o
u
h
o
r
r
i
d

p
e
r
s
o
n
3
 
Oli
Phrases like "do not want to get caught that I'm using mdk3" suggest lack of permission. Permission is everything when you're talking about resources that are not yours.
 
@Oli Does scanning a network for vulnerabilities require permission in all jurisdictions? Or am I misunderstanding what that tool does? Is vulnerability scanning not a part of due diligence for figuring out if one wants to trust a resource for one's own use? Are you saying what the law says, or are you propounding a moral principle you think should be policy here?
@AndroidDev There's a lot of "folk wisdom" about what is and is not illegal that makes its way into disclaimers and warnings. For example, the ABP "terms" say that if an owner doesn't "permit ad-blocking users to view their website" that this "must be respected." That doesn't make it the law, and it probably doesn't even make it a real condition of using ABP, since ABP is actually GPL'd. Of course I am not a lawyer. Most of us aren't.
In the absence of an unusually high risk of severe harm to someone--such as the stalking situation I described above--I do not think it is wise for us to make these kinds of judgments about people's questions. Based on votes on meta, I am reasonably sure I am not alone in this view.
 
Oli
3:50 PM
@EliahKagan I'm not sure about US law, but pen-testing somebody else's computer without their permission is illegal in the UK, on several counts of the Computer Misuse Act.
Doesn't sound like the US is any friendlier to pro-active pentesters: security.stackexchange.com/questions/6355/…
 
Isn't even just using a computer almost illegal in the UK?
 
@ByteCommander wat
 
Oli
@ByteCommander I assume you're joking but honestly these laws are awful. Vast in breadth and only getting wider (to catch them terrorists, right?)... So yeah, there's almost certainly a way a prosecutor could put you away if they wanted to.
 
@AndroidDev IIRC they have (or want) quite many weird laws restricting all kinds of digital activities.
 
Oli
Hell, we're talking about hacking. That's a 6months and/or an unlimited fine.
 
3:57 PM
O_O
 
Oli
You'd be better off stealing the Queen's corgis.
 
I have heard recommendations to zero out empty space on all memory devices you import to the UK because random data might be labeled as encrypted and you might be forced to hand out the nonexistent keys.
 
@Oli "Before donating to a tsunami relief website, Daniel Cuthbert typed in ../../../ in the URL. He was convicted of "intent to hack" (in the UK)." WAT?!?!
 
No idea how close to reality that is, just something I heard somewhere.
 
@ByteCommander rip, I guess the UK isn't any better than the US in the "stupid laws" regard
 
Oli
4:01 PM
I think you have to balance "possible" with "what they've got time for". While life is good and there are plenty of rich teas in the tin, I doub't you'll get more than a constipated wince at your passport photo and a "Enjoy the weather" from British immigration... But that tin gets empty? You're going to want to bring a doughnut with you. Not the sort you eat.
@AndroidDev Nah, we just use longer words.
 
lol
"Brian K. West was threatened with prosecution because he clicked on a button labelled "Edit" on a newspaper website -- and was surprised to discover that this allowed him to edit the actual web page. After reporting the problem to the newspaper, the FBI investigated him (including searching West's workplace and seizing some materials) and a prosecutor apparently threatened him with a felony prosecution."
What the actual....
@Oli With things that absurd, what would prevent us from being prosecuted "for helping x user hack public wifi"?
 
Oli
Yeah it's nice to know that only a theoretical level of biscuits stands between you and prison.
 
4:19 PM
O_o
 
0
Q: Unpublished questions written on mobile site not showing on desktop site

JesseWhen I write questions on the mobile Ask Ubuntu site but leave them unpublished, the question is saved on the mobile site, but I can't access it from the desktop site. I can access it on another mobile device. Can anyone tell me why this is happening? I assume this is a bug. At this moment I can...

 
@AskUbuntuMeta Whoa. That definitely does seem like a bug, assuming the draft is actually being saved in the backend.
@terdon So this reminds me of something I wanted to ask you--I mean, something that isn't just a bad joke--about migrating a question from here to Unix & Linux (since you're a mod there). Do you think it would be reasonable to migrate this question (discussed on meta), if I were to retitle it, put the images into the post, add a citation for the second image, and copyedit it?
 
5:26 PM
@EliahKagan Yes, I don't see why not. Worth a try, anyway
It'd be great if you could spruce it up a little though, yeah.
 
5:58 PM
0
Q: Abandoned close reason instead of no-repro?

Kaz WolfeRecently, I've noticed a lot of old abandoned questions (for example, this one with two CVs) being closed as no-repro. This seems rather unusual, given the fact that the primary issue is that these questions are just too old that nobody will be able to actually do anything about them. The OP doe...

 
@AndroidDev technically nothing.
though, i'd assume (for the most part) that as long as we add a "this is just for information, don't do anything stupid" disclaimer we're okay
nothing wrong with academics iirc
@ByteCommander It's a shame I quite literally can't hand over my encryption keys, then.
 
6:15 PM
@KazWolfe since you seem to have good opinions on these types of things: is it considered ehh... struggling for the correct wording here.. "improper" for me to literally copy & paste from a website into an answer and get 11 upvotes on it? Do I need to make it CW?
 
@AndroidDev Provided you gave credit (you did, though i might edit it to be a bit more elegant), I'd think it's okay.
Personally though, I'd extract and only put the necessary data from the quote, rewriting what I can
 
@KazWolfe all of the stuff there is necessary though, no?
 
It can be tweaked slightly.
I mean, it's fine as-is, but that's just what I would do in the same place.
 
@KazWolfe I agree your edit is more elegant, though when I originally wrote it I purposefully tried to make it very obvious that that answer was not my own either in whole or in part
 
Yeah, as long as you give proper sourcing it's fine.
It doesn't need to be blatantly obvious imo
 
6:20 PM
shrug
 
your call, it is your answer.
 
ok, well thanks for the input
I was just looking to make sure what I did was OK
It just seems like getting 125 rep from a 10-second Google search is a bit.... unbalanced
 
there's a lot of unbalanced things here.
 
yup
 
I've gotten 200 rep or something for a ten-sentence answer while long essays got nothing
just sort of a weird thing with this site
 
6:22 PM
well I think it's because the long answers take longer to read and verify that you agree with them and they're helpful
hellu @TheWanderer, how you doing today? :)
@KazWolfe I wonder why it has been getting lots of upvotes recently though... more people installing with secure boot I guess?
 
@AndroidDev maybe.
tbh i'd run secureboot too if i could
kernel updates dont really make that a thing though
and ipv6 is broken on my server ;-;
 
6:37 PM
Uhm.
What is this?
negl    %eax
movl    %eax, %edi
What is the point of the first instruction if movl is overwriting %eax immediately afterwards?
 
I don't know much assembler, but might it possibly have some side effects like raising flags on some conditions?
Or it just buys time, like a NOP.
 
Hmm...
 
Only wild guesses by someone who has read maybe 10 lines of asm in his life :P
 
It's from Bionic, Google's libc implementation: github.com/android/platform_bionic/blob/…
 
assembly? EWWWWW
\
 
6:51 PM
you use asm on a daily basis
 
negl means make negative :=)
movl moves eax into edi?
 
*shrug*
 
:=)
had to check the manual though _O-
 
7:32 PM
Rip
@KazWolfe no, javac uses assembly
 
7:47 PM
@TheWanderer that guy is what i like calling "an idiot"
(note to mods: that is a nice way of putting that)
 
Supposedly, he's Onision
and if you've heard of Onision, it ain't anything good
 
8:16 PM
beeps
 
kicks @TheWanderer Yes.
 
ignores @TheWanderer
 
Please don't beep.
It's un-modly.
 
8:19 PM
i'm not just a moderator part of me is borg.
 
Speak softly and carry a big stick.
 
[lenny]
 
preferably a titanium rod you can launch from space.
 
1
Q: Segmentation fault when attempting to copy an address into a struct?

Nathan OsmanI have a NASM program that is crashing with a segmentation fault. At the beginning of the file, the following struct is defined: struc mystruct .myhandler resq 1 endstruc An instance of the struct is created in the .bss section: section .bss inst resb mystruct The first thing the ...

^--- my current frustration.
 
why are you assemblying
 
8:27 PM
Science.
Also, I need a binary that makes syscalls with no dependency on libc.
But mostly science.
 
because assembly is a useful tool
for very precise/specific tasks
 
^--- this
 
9:06 PM
even then, it doesn't seem like Nathan is doing that well :p
 
10:06 PM
ahh Faker. You're amazing.
 
jrg
Faker is definitely really cool
 
I'm mucking around in GDB with kernel syscalls.
Just in case I don't come out alive, TheWanderer can have my GitHub account :P
The rest of you can fight over my Launchpad account.
 
why does he get your github
i call dibs on your private pgp keys
also all of your servers
 
jrg
I call your domain name
kaz can have the servers
i just want quickmediasolutions
 
fine, but i retain MX control.
 
jrg
10:17 PM
Not fair.
 
(you'll be able to have an account and do all you want)
 
jrg
@NathanOsman was it scary how fast we just divided up your digital presence?
 
The mail server isn't running on the same physical server as quickmediasolutions.com.
 
jrg
i call all his twitter accounts and you can contain MX control
 
oh, i get his stackexchange account
fine, i dont use twitter anyways
 
10:18 PM
I'd give up my 2buntu access but James already has that.
 
jrg
he's a mod, his SE account is off-limits
 
Or... is it? >:)
 
but i callllleeeeddddd it
 
George can have it.
There we go.
 
i call george
 
10:19 PM
Lol.
You can have my Sublime license.
 
i use atom, thank you very much
 
Also, I can't figure out what on earth is happening with this line:
lea rsi, [act]
Is the value of act a pointer to the appropriate offset in the .bss segment?
Does [act] obtain the value at the address?
Can pigs truly fly?
:P
 
i believe so?
460
Q: What's the purpose of the LEA instruction?

user200557For me, it just seems like a funky MOV. What's its purpose and when should I use it?

 

« first day (2556 days earlier)      last day (2402 days later) »