The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
thats because VM's communicate to/from the NIC driver, not the host network interface. drivers are not part of the operating system. It's possible for a VM to load a driver for some hardware item [plugged into the host] that the host has no clue about what it is. It's why a say win 7 VM still needs it's own USB 3 drivers to talk to USB 3 ports on the host.
(it makes networking easier for hosts and VM's to talk to each other and the outside world without [lookup/translation] kludgery or some worst case scenario of simulation resulting in TCP packetised TCP packets.) It's made possible if you can recall from computer science the 7 layers of network interface.
(by the way, it's also the reason why VPN's work - they only way some sites can detect VPN's is because they have a list of VPN provider's - not because they can detect the fakery/translations from the data.)
but yes, some other things things complicate that, doesn't work with display, disk, keyboard - partially because those don't have nice i.e. "x layer" interfaces, - the VM has to honor the host's control (consider disk allocation: disk free space tables are cached in host's operating memory, so if a VM wants to grow it's dynamic disk it has to ask the host - otherwise all hell would break loose.)
after many otherwise intelligent sounding suggestions that achieved nothing the nice folks at Technet said the only solution was to low level format my hard disk then reinstall my signature. Sadly, this still didn't fix the issue!
Right click on the list entry in Hyper-V manager and scroll down to the Network Adapter add a unique "VLAN ID" to each virtual machine. Then you can more easily measure bandwidth from your gateway and identify which virtual machine is generating the traffic.
The Python seems more readable that the statement with a ternary expression. I have just started learning python, but the `if/else` is very clear to me.
"'Do what thou wilt...' is to bid Stars to shine, Vines to bear grapes, Water to seek its level; man is the only being in Nature that has striven to set himself at odds with himself."
The different order of notation doesn't seem that worthy of a WTF. That's just a bit getting used to, nothing more.
The real WTFs with Python I've seen are negative notation for hexadecimal numbers instead of two's complement and the inability to find the entry point in anything remotely complex because Python doesn't have a main method, it's just a script language evaluating from the top. Doesn't help when debugging control flow.
One of my claims to fame is that I've successfully avoided learning COBOL, even though a couple of my positions had me skidding really close to it.
I seem to remember one of the [dis]honorable mentions in the Obfuscated C/C++ Contest was a header file that let you write 'C' in a form closely resembling COBOL. As I recall, it was voted "Worst Abuse of the Preprocessor" that year.
Unfortunately it was pushed upon me with great vigor during my University Years. One of my programming teachers was an ex British Telecom COBOL programmer (Where talking 1994 ish here) and she was absolutely rabid about the virtues of the language.
She used to fail assignments for stupid things like putting 2 spaces in a comment line where there should only have been one, she treat code layout and formatting like it was a fashion statement and refused to even mention the names of any other languages.
Thankfully, the "digital electronics" parts of my studies covered C/C++ and my accountancy part had some Pascal parts... so that stopped me from going insane
Last Visit: 26-Oct-20 18:11 Last Update: 26-Oct-20 18:11