« first day (3680 days earlier)      last day (1282 days later) » 

1:17 AM
@Tim that looks like it was generated by the Indexes option
 
 
4 hours later…
5:15 AM
1
Q: Are new users subjected to prejudicial or intensified scrutiny by moderators?

rwarviI have an experience to share as a new contributor to unix.stackexchange.com where I sensed some slight undercurrents of prejudice.  It would be great to receive a response from the moderators mentioned here but any input, technical or otherwise, from others is welcome.  I was not able to respond...

Comment replies in edits
 
 
8 hours later…
12:47 PM
ohh, the hypocrisy; Stephen had a chance to freehand-circle the voting arrows, but didn't
 
@JeffSchaller ah yes so I did, but I’m not a mod :-P
 
@StephenKitt you're not?!?
 
well, just don't go putting your picture up with every edit like the last guy
 
1:35 PM
@JeffSchaller Phwahaha!
 
 
1 hour later…
3:01 PM
@JeffSchaller Oh man, that guy. And he's still around, too!
 
Tim
3:17 PM
So how did many of you manage to self control so successfully in the past few days?
 
@Tim same thing we do every day, Pinky, try to take over the world eat right, get enough sleep, exercise, focus on what I can control :)
 
/me focusing on what Jeff can control
 
it's a short list, otherwise I'd warn you off
 
3:33 PM
I’ve hacked into the backhoe in your garage, I’m going to start digging up your yard
 
that would so awesome
i do actual need a hole dug below my workshop
are there translation packages available for between the most common assembly languages that exist? i nasm seems relatively beginner friendly so i went with that package, but i was just curiois coz it said in the tutorial assembly is a very hardware specific thing
 
4:05 PM
@AdamL there’s att2intl which can translate AT&T assembly to Intel syntax, but that’s on x86; you can’t really translate from one architecture to another, you need to port manually
 
4:24 PM
@StephenKitt just top off the gas when you're done; thanks! If we can lay some nice desert stone down instead of the grass, I'd love to have less maintenance there. Thanks so much!
 
@JeffSchaller your cement mixer isn’t Bluetooth-enabled so I can’t prepare the base for your stone
 
@StephenKitt been meaning to get that installed, sorry. I could try moving the one from the mower, but it'll take some ASM translation :)
 
user435118
4:46 PM
I'm trying to install Linux Mint on a VM running on Windows 10. When I install Linux Mint if I click "Erase disk and install Linux Mint" during install, will it delete my Windows files?
 
@Xnero I suppose you told your virtualization software to assign a virtual disk (or disks) to the VM?
the (Linux Mint) VM should only see what you tell it about
 
user435118
Yeah, I told it to make a virtual hard disk (size 20GB) on my current hard disk.
 
user435118
So if I select the erase disk open, the Windows files will remain untouched?
 
@Xnero I mean, they aren't my files that would get deleted, and I can't see your screen, but if the installer sees a ~20 Gb "sda" disk, that would reassure me in your shoes.
If there's a way to ask the installer to show you more details about that disk...?
 
user435118
Something like this:
 
user435118
4:55 PM
 
There should be an alternative to do a manual partition, which would let you see what you have
Behind the popup, something like "Something else..."
you can take a peek at that menu and if you like what you see, go back to the automatic install
 
user435118
Is it better to do a manual partition?
 
No, but the manual partition will tell you exactly what drives the installer sees, as Jeff noted
 
user435118
Ok, so if it has it's own partition it won't touch the other partitions?
 
if it only sees the expected 20 GB virtual disk then there's no point in doing more work yourself, unless you have nontrivial needs
@Xnero if it can't see the other partitions then it can't touch them, reasonably, no
but I've never used virtualbox on a windows host so...
 
user435118
4:57 PM
Ok, thanks.
 
5:48 PM
@StephenKitt thanks, so in your view am I starting to learn with the right assembler, or should I make a switch now before i get further into things? I wanted to learn by perhaps if they exist a disassembler that i can use to produce the instruction set file or .asm file if that is universal, for basic Unix commands, i feel like that might accelerate the learning process for me to then reassemble those to see how the assembly language works for my OS
 
@AdamL it's tangential but are you aware of Godbolt's Compiler Explorer?
 
no I'll take a look now cheers mate
 
No worries
 
and yes no politics here is a good call, but they will ban me pretty quick i havent been the most mature in that se community, they deleted the first and last paragraph which were my favorites which is why i had to screen shot.
i was so f drunk that day
 
6:46 PM
this eagle should be potus youtu.be/1F1YyDPZLX8
 
Could we avoid politics here, please?
 
7:45 PM
@AdamL nasm is a good choice IMO. You won’t find a universal assembly language; each architecture has its own set of mnemonics, and each assembler has its own idiosyncracies. I’m not sure disassembling existing binaries is all that useful when learning assembly — if you want to look at the assembly corresponding to compiled code, you’d be better off asking the compiler to produce the assembly, since that will show the correspondence between the higher-level language and the corresponding
assembly (but will typically end up using AT&T syntax, not Intel).
I learnt assembly æons ago so I don’t know what decent tutorials are available nowadays. As Andras says you can also use Godbolt to see what assembly is produced by various compilers.
 
@Kusalananda this syntax for i in {10000..10100}; do nc -l $i &; done gives error. Trying to create 100 port listerners port # 10000 to port #10100
 
One problem with learning assembly through compilers is that they will often produce unobvious sequences, even without much optimisation.
 
@overexchange What is the error?
 
the error is: bash: syntax error near unexpected token `;'
 
Ah, yes. Drop the ; before done.
 
7:49 PM
I need to run this command nc -l 10000 & until port number 10101
 
The & ends the command. The ; is not needed.
for i in {10000..10100}; do nc -l "$i" & done
 
how to delete these port listeners? after I complete my testing
 
pkill nc
(kills all nc processes that you own)
 
7:52 PM
erm
there's no need to ping people in here if you've already asked a question on the site
 
If someone is learning assembly just for the sake of it I'd probably suggest aiming at MIPS instead of x86. There are a lot more educational materials for that and it's more comprehensible
Not useful if you really do want to write for your physical machine, though
 
Tim
8:37 PM
@MichaelHomer What are good educational materials? How is it more comprehensible? If I may ask
 
 
2 hours later…
10:53 PM
@Xnero You did make a backup first, right?
 
Too late, he can't answer now
 
11:07 PM
@AndrasDeak Hmm?
 
11:32 PM
@AndrasDeak I'd not heard of that, but it sounds handy, assuming I ever write C++ again.
 
user435118
@AndrasDeak Why not?
 
user435118
@FaheemMitha Yeah, I actually haven't started installation yet but am planning to do a backup.
 
@Xnero Always a good idea.
Actually, you can ask GCC itself (I think) to generate the corresponding assembly. I'm not sure if you can do that for other compilers.
So, it only took around 3 1/2 years for this answer to be accepted, for this 2012 question.
10
A: Move a logical volume from one volume group to another

Faheem MithaAs of the LVM in Debian stretch (9.0), namely 2.02.168-2, it's possible to do a copy of a logical volume across volume groups using a combination of vgmerge, lvconvert, and vgsplit. Since a move is a combination of a copy and a delete, this will also work for a move. Alternatively, you can use p...

Unfortunately, I currently don't understand what the answer is saying.
 
user435118
@FaheemMitha Yeah. Actually I always do a backup, never needed it and then last time I did some installation I decided not to do one, it failed and I didn't have a backup that time :/
 
@Xnero Always do backups, because you don't know when you will need one. And not just during installations. Ideally, you should have an automated backup running all the time. Ideally multiple independent ones.
Also, use distributed version control, because that's a pretty effective backup system right there, assuming you can remember to push stuff off the disk.
 
user435118
11:41 PM
@FaheemMitha I only recently got my laptop so I am still configuring it but I'll make sure to set up automatic backups.
 
@Xnero Sounds good. :-)
In the answer, I just linked to, I wrote the following.
> Alternatively, you can use pvmove to just move the volume.
But I don't understand what I meant by it.
According to the pvmove man page
> pvmove moves the allocated physical extents (PEs) on a source PV to one or more destination PVs.
I don't see how this is relevant to the question.
Does anyone have an idea?
 
@Xnero I was trying to joke, about your having gotten into trouble without a backup
@FaheemMitha not really. It mostly tells you what assembly various compilers emit
 
@AndrasDeak So it's... not handy?
Have you used it for any real work?
 
@FaheemMitha yes, I imagine
@FaheemMitha no, but I still don't write C/C++
 
@AndrasDeak I'm confused. So it's handy or not handy?
 
11:54 PM
@FaheemMitha it doesn't typically seem handy for writing C++. It can be handy for hand-crafting assembly.
experts tend to say that it isn't worth trying to compete with assembly written by your compiler
 
@AndrasDeak I think the idea is to see how well the compilers are doing, and to perhaps understand what they are doing a bit better. Probably mostly of interest to compiler writers.
 
@FaheemMitha yes. And maybe micro-optimizing some code snippets
but not usual business when writing C++
 
Though I don't understand why this service is necessary if the compilers can generate the assembly themselves. Though I guess perhaps the main point is that most people would not have access to all those compilers.
@AndrasDeak I don't think it would help.
 
@FaheemMitha Indeed, especially on all those architectures
 
It's not really possible to control what the compiler does, and pointless to try.
 
11:57 PM
@FaheemMitha you would replace your code with embedded, hand-written assembly so that the compiler doesn't get a chance
 
Actually, it's amazing that anyone can write a C++ compiler that works at all, let alone one that is efficient.
@AndrasDeak Eek. Among other things, that would destroy portability.
 
@FaheemMitha yes
 
And there are probably other reasons why it's a bad idea.
 

« first day (3680 days earlier)      last day (1282 days later) »