lewashby 56 Junior Poster

I was going fair on my Udemy networking course until I go to lesson 47. Subnetting Large Networks Part 2, my brain started smoking. Up to this point I had been dividing the network/hosts on the forth octet. And when counting the bits that I was going to borrow from the host portion of the address I wouldn't even count the bits in the network portion of the address. If it was class C I would only count the bits in the forth octet, if it was a class B I would only count the bits from bit 17 and forward/right, and if it was class A from 9 forward/right. But when I got to this lesson the instructor divides the network on the third octet and for whatever reason he started counting the network bits from the beginning, the very first bit in the first octet. I've attached the file. My network/cicso training has come to a dead stop.

lewashby 56 Junior Poster

So I've had a media server for a while using Plex as the software with a Terra Master as the hardware. I've become dissatisfied with both for various reasons and I'd like to make my own, but I'm also open to Plex alternatives recommendations. What I want to do is replace the Terra Master with a small frame computer running Linux rather than the Linux based Terra Master OS. When using Plex I just launch the Plex app on my roku TV and it find the Plex server in my house. But if I create my own media server I don't know that the best way of building, or getting my media server user interface on my TV. I don't want to use a keyboard/mouse connected to my servers that's simply displaying on my TV, rather, I want to be able to continue to just use a remote, preferably the Roku remote but I'm open to using a 2nd remote for the media server. Also, what the best way to build an interface? As much as I hate PHP and web development, building a PHP driven page to list my ripped movies seems like the simplest approach. If I wanted to make sure the movie streamed via UDP over TCP, I also have no idea how I would accomplish that. Any suggestions. I think I'm done with Plex, or at least I hope to be. Thanks.

rproffitt commented: Did you ever get your Mustang to go in reverse? +16
Pokemons commented: Try Jellyfin or Kodi for Roku support. Use FFmpeg for UDP streaming. +0
lewashby 56 Junior Poster

This may not be the best room to post this in but I didn't see any room that really jumped out at me for this, and since I'm doing all this on Linux desktop it made sense. I'm having trouble placing the meta data (artists, album, title) for a .wav song that I have. Through using three different programs I'm gettin different results. I can open the file in Rythmbox and select properties for the song and I can see the text fields for all the formentioned meta data above, thie fields all say 'Unknown' and the text fields aren't grayed out or anything but Rythmbox still will not allow me to change any of the meta data, clicking in any of those fields and typing yields nothing. I was able to change the meta data using VLC but VLC is the only application that sees the changed meta data, Rythmbox, Media Player, and my handeld digital music player all see null or Unknown for the meta data. Any ideas on what's going on? Thanks.

rproffitt commented: "One of my favorite humans." +15
lewashby 56 Junior Poster

There are actually a lot of AAA games on Steam. Pretty much everything Valve ever produced is available on Steam, all the Half-Life titles (the original Half-Life, all the spin offs, Half-Life 2, Team Fortress Classic / 2, Portal 1 & 2, etc...) Metro Last Light, Dying Light was released for Linux the same time it was released for Windows. You can find a lot of options on both Steam and GOG for Linux support, always check GOG first then Steam. Also, if you go into the preferences on Steam you can check/uncheck your favorite OS and Steam will tailore it's advertising accordingly.

lewashby 56 Junior Poster

In an angry keyboard rant I hit Ctrl Alt Delete, nothing, Ctrl Alt F2, nothing, Ctrl Alt F1 boom, there was my installation screen hiding. Go figure? Thanks.

lewashby 56 Junior Poster

Thanks for your help.

rproffitt commented: Good to read. Really though, get the SSD in there. You'll know why in no time. +11
lewashby 56 Junior Poster

I wasn't getting an error or anything it's jut that I noticed that my POST variables appeared in the URL, .com?var=x&var=y
What do you mean that my HTML MUST have a <head> tag? I'v never had an issue from leaving it off. I don't always need one, espesially when it's just a small page meant mainly for a little PHP output.

cereal commented: correct +14
lewashby 56 Junior Poster

I finally got it. I didnt' have the latest version of hplip and the latest isn't the latest version in the Ubuntu repositories either. I was able to download it directly from the site and now everything is working just fine.

lewashby 56 Junior Poster

I'm reading the book 'C++ Without Fear 2nd Edu' and I'm a little confused on the subject of shallow copies.
The book says the problems can arise if you make a shallow copy of an object and something happens to the original, goes out of scope, is deleted, etc... I don't get it. When a simple copy is made doesn't the new object get a member to member COPY of the value? The way the book makes it sound is as if the new object isn't a copy at all, it's just another pointer or reference to the same old object. That's the only way I see that something happening to the original object would affect the new. What am I missing here? Thanks.

lewashby 56 Junior Poster

Thanks. As far as using a capital letter for a variable name I was only doing that because I noticed that my IDE was lighting up the variable names dict and list, I knew my code was written prior to python3 and I was thinging that python3 may had added some built ins named dict and list and could be causing me problems, so it was a last minute quick fix tryout. Thanks again.

lewashby 56 Junior Poster

It's always the little things!

lewashby 56 Junior Poster

I know there are tools than can take DRM off of audio files but I haven't found any that will take DRM off of .aax files.

Danies Joe commented: I guess I fond one that works well. It's called TuneFab Apple Music Converter which can take DRM off Apple Music and Audible audiobook. +0
lewashby 56 Junior Poster

Thanks.

lewashby 56 Junior Poster

I just go a new solid state 240 gig hd. There is currently a 500 gig dual boot W7/mintLinux HD in the computer now. I want to re-install W7 & ML on my new SSHD but leave the other for storage, it already has a lot of files on it id like to keep. When I put the new SSHD in, how to I get the computer to boot up in this new drive while just leaving the other as an extra? There arent currently enough wire to plug both up I'll have to buy some in the next day or so, so I just unplugged the old HD and plugged in the new SS and installed Mint. That's where I'M at right now.

lewashby 56 Junior Poster

JorgeM, normally when I type ipconfig it gives me the ip address of that particular computer that I happen to be typing the command on, not the router, am I missing something here? What and where can I find a HOSTS file. The media server in the house is an ubuntu server, it's the only computer that is wire streight to the netgear router. The rest of the computer in the house are mixed, mostly Windows with one or two more Linux systems.

lewashby 56 Junior Poster

JorgeM, I was not wanting to open up the server to the whole world, just to my local network. So are you telling me taht Ireally need to register the name with an addressing company and open up a whole new bag of security issues just to be able to type user@host rather than user@IPthatConstantlyChanges?

Rubberman, I know this is a really basic and stupid question but how do I find the ip address of my netgear router?

lewashby 56 Junior Poster

I've got a linux ubuntu media server running in my house but I've got two small problems with it. How can I set it with a perminate IP so I will not have to physically go to the box each time I turn it on to check the IP? Also, if I do this will my netgear router be smart enough to know not to set any other computer or device in the house with the same IP?

Secondly, how can I get my ubuntu server a fully qualified domain name so I can ssh into the server without using the ip at all?

ssh garrett@ipaddess

vs

ssh garrett@GastonMedia

lewashby 56 Junior Poster

Can someone please help me understand Networks, Broadcast, and Subnets? I'M taking a course at oreillyschools and I'M having a terrible time understanding the lesson. Thanks.

lewashby 56 Junior Poster
def find_details(id2find):
    surfers_f = open("surfing_data.csv")
    
    for eash_line in surfers_f:
        s = {}
        
        (s["id"], s["country"], s["average"], s["board"], s["age"]) = eash_line.split(";")
        
        if id2find == int(s["id"]):
            surfers_f.close()
            
            return(s)
        return({})
    
lookup_id = int(input("Enter the id of the surfer: "))

surfer = find_details(lookup_id)

if surfer:
    print("ID:         " + surfer["id"])
    print("Name:       " + surfer["name"])
    print("Country:    " + surfer["Average"])
    print("Board type: " + surfer["board"])
    print("Age:        " + surfer["age"])

The database file can be found at http://www.headfirstlabs.com/books/hfprog/

In the above program I'M getting two errors, one on line 7 and another on line 17. I can't figure out what's going on. It says to many values to unpack. Thanks for any and all help.

One more thing, what is a .csv file

lewashby 56 Junior Poster

I'M reading "Head First C#" In this book I was told that when you want to create a float that you need to add an "F" to the end.

float myFloat = 14.6F;

But the very first thing you type is "float", isn't that enough?