rproffitt 2,701 https://5calls.org Moderator

This means you haven't removed the part that is causing the issue yet. If I can't get a motherboard, CPU+HSF with PSU and speaker to beep in protest then I'm down to 4 possible bad parts.

rproffitt 2,701 https://5calls.org Moderator

I fixed a few. I won't get into deep here so I'll start and end with what I did.

"I reset the browser." If you forgot how, google this: "How do I reset Chrome."

rproffitt 2,701 https://5calls.org Moderator

The PDF at http://download.msi.com/archive/mnu_exe/E7917v1.0.zip on page 1-16 show the 9 mounting points.

When I write all of the mounting posts the typical first timer puts in all the posts in the case beyond the ones the documents call out and create a short or a short that shows up later.

As to the CPU+HSF (you used water cooling.) Not yet. I find I first pull off all but the Power On and power connections as well, that's where I start. Then I'm pulling off the HDD+ODD+SSD connections and slim it down to 1 stick of RAM. No Go? The board comes out and onto cardboard. Remember all this is on the web many many times. Google "the dead PC".

rproffitt 2,701 https://5calls.org Moderator

So let's check where you are now. Did you take it back to where it worked? Does it work there? If not, time to downsize.

Here, things don't unplug so easy BUT I find many first time builders put in "all the motherboard standoffs."
Now let's let that sink in. They didn't put in only the required mounting posts but all of them. It's one of the most common gaffes I encounter. To help me understand your skill level, tell me what's wrong with putting all the mounting posts in a case.

rproffitt 2,701 https://5calls.org Moderator

Odd. You wrote you built this so how could it get unplugged in transit?

When you write

I recently built this pc after evertything was put together

I believe you. Are you changing your story to something like "I built this on the order page and it doesn't work when it arrived."?

Anyhow, downsizing it to the least number of parts is the classic troubleshooting of a desktop or other PC. Even the case is optional.

rproffitt 2,701 https://5calls.org Moderator

You may want to catch up on searches for this. https://www.google.com/search?q=Dell+5558&ie=utf-8&oe=utf-8#q=dell+5558+replacement+screen finds a video and the replacement LCD. So for under 50 bucks I think I'd do it myself. The minimum counter fee is 150USD here so that's a hundred buck savings.

Did you do the screenshot or other test?

rproffitt 2,701 https://5calls.org Moderator

Given it's been a few days and I haven't been to the office to check out your method, I'm going to write this. "Cheat."

In your startup form, have it change to the next form. Just comment the .Show or such in the startup form or use this startup form as your splash screen.

rproffitt 2,701 https://5calls.org Moderator

I don't know why you got a -1 already but I have yet to find run of the mill Android phones to be any different as to what you asked about films, movies and draft emails.

That said, the office plunked a 89USD Bluboo Picasso on my desk for testing. It's not bad for the price. 2GB RAM, 16GB internal space and you can find the rest of the specs. For me this beats my minimums for Android affordable phones (1GB RAM, 8GB internal) so with that I'm upping my standards to 2GB RAM and 16GB minimum.

rproffitt 2,701 https://5calls.org Moderator

So what is this PC? It's a laptop but no make and model so I can google up if this model has issues and what a new LCD costs.

Beyond that I mirror to an external and/or take a screen shot to see if the dots are in the external or screen shot to sniff out if it's the LCD or other issue. Try that.

rproffitt 2,701 https://5calls.org Moderator

I'd forget the HDD. On Newegg that was 125 bucks and last wek I picked up a 480GB SSD for 99 bucks. This alone can give your machine an overall speed boost. I'm not using as many HDDs as I used to.

But that ship has sailed so to troubleshoot your new build, make it as small as possible after you check all jumpers and pull off ALL motherboard connections save the power on one.

Move just the motherboard, CPU+HSF and PSU to cardboard and test it with as few parts as you can. We don't need all the RAM, and no HDD or such. Keep it small.

rproffitt 2,701 https://5calls.org Moderator

Welcome to the forum.

I want to broach something here. Warnings are not errors. You should look at them and decide if it's an issue or not. In this case, deceptikon is right on. But I want to broach the fact that a warning is just that and may not be an error.

rproffitt 2,701 https://5calls.org Moderator

I don't know your ISP or why the DMZ test failed. You could share why suddenly the port is open (why or what changed.) There are ISPs that this will never work on.

rproffitt 2,701 https://5calls.org Moderator

That's not a good sign. I forgot to tell you to undo all your port forwards before the DMZ test. If the DMZ fails, you most likely have an ISP that blocks all incoming or does a NAT before it arrives at your home.

Let's hear more about your ISP.

rproffitt 2,701 https://5calls.org Moderator

As a test. Put the IP of the camera into the DMZ entry of the router.

And yes, some ISPs are essentially all inbound ports closed. This has confounded a few of our seasoned networkers but it's rare so do the DMZ test soon.

rproffitt 2,701 https://5calls.org Moderator

You're right. If they are doing things right, they can't send you your old password.

rproffitt 2,701 https://5calls.org Moderator

If some site actually sent you an email with the password that is indeed not a good thing since they should not have the in the clear password according to current thinking. Current thinking is to use one way encryption and compare the results. If they have your password in a database, "that's not good."

What has been acceptable is to send you a password that is good for only a few minutes. Current thinking on this is fluid.

rproffitt 2,701 https://5calls.org Moderator

Some ISPs block inbound ports so it's up to you to figure out what ports are open and closed. No one but you and your ISP can tell what's blocked.

rproffitt 2,701 https://5calls.org Moderator

Small world. Similar banged up OS but I was lucky as my brother had been runnig W10. That meant I could use Microsoft's Media Creation Kit and start over. I wiped the drive and booted up the W10 USB stick. I installed and a few drivers later it was all good. Due to the new W10 activation, I didn't have to enter a code. So what was it? Never looked any deeper but it looks like the HDD data got a good scramble.

rproffitt 2,701 https://5calls.org Moderator

I had one machine do that. I returned the BIOS to stock settings and used the onboard video (pulled out vid card) and it's working now. Will try the old disable fast start setting and then add the video card. Try that.

Also, another poor soul had a working W10 then they began installing drivers. They broke it but didn't remember which driver broke it. Poor them, they get to re-do and this time watch for which driver.

rproffitt 2,701 https://5calls.org Moderator

I wish you had the exact model but the last time I saw this, the setting was in the BIOS.

rproffitt 2,701 https://5calls.org Moderator
rproffitt 2,701 https://5calls.org Moderator

@AssertNull. I hear you.

And partly because asking for random alone is just the beginning of the question, no one has a simple one size fits all answer. That is, the random generators I've used have been picked by looking at the specification of the app we are creating. I supplied that Gaussein as an example.

Since I know there are many definations of random, that's why there's no good answer yet. The OP needs to reveal a lot more. Especially what "efficient" means to them. Again, one time it's CPU cycles, the next time it's the random number distribution and another time it's something else altogether.

rproffitt 2,701 https://5calls.org Moderator

I love this topic. Random number generation is not only well discussed but then you have dozens of different kinds of random.

Are you aware of TRNGs and PRNGs?
https://en.wikipedia.org/wiki/List_of_random_number_generators

One of my tasks long ago involved a Gaussian random number generator. Some may call that OTR (other than random) and here's why it was needed. In production the spread was Gaussian so to simulate what would happen in real life, this was part of the simulation.

There are many fine off the shelf generators on the web, why do you need to create another?
Also, you have to define what efficient is. That can be the number of machine cycles or a statisical "correctness." You didn't say!

rproffitt 2,701 https://5calls.org Moderator

I have to add a me too here. A fresh install of W7 here with drivers and the usual helper app to control WiFi, etc. results in app deaths. I have to wait till Windows Update runs and gets the service packs and patches before it works.

This isn't really new or news to me. I'm not sure where to file this under.

So way off topic, one of my clients wanted me to get my apps to run on Windows 95se because they have machines with that. How did I fix that? I gave an estimate how much to create apps using the old dev system 2 decades ago. That price was more than cheap laptops for his crew. Yes, way off topic but I'm unsure how to support Windows that is missing patches and service packs.

rproffitt 2,701 https://5calls.org Moderator

That phone number means your PC has been hijacked. You should be able to reset the PC and avoid a costly support call to Best Buy (the warranty does not cover hijacking and infections.)

http://www.howtogeek.com/132428/everything-you-need-to-know-about-refreshing-and-resetting-your-windows-8-pc/ covers 8 and 10 and how to get to this from a cold boot.

rproffitt 2,701 https://5calls.org Moderator

I'm going to add something we use before we begin testing. It's https://validator.w3.org/ which is not good enough for dynamic content but we can catch basic flaws before we spend more time on testing.

rproffitt 2,701 https://5calls.org Moderator

That's pretty light in detail. Folk would have to guess this is some Windows app or could it be a C# responder to a web query with the data in some SQL database? Also, what is "effectively?" For most folk that means "it works." Or in Pokemon, you use "this" because "it's super effective."

In other words, don't leave others to guess and then guess badly.

Finally, while I do work with patterns there is some penchant for folks new to patterns to use a pattern for everything. Back to reality. Sometimes you must get the job done in the next hour so you make something that works.

rproffitt 2,701 https://5calls.org Moderator

This is tantamount to asking others to code for you. Please read https://www.daniweb.com/programming/web-development/threads/435023/read-this-before-posting-a-question then try again. Show your work so far and tell what stopped you.

rproffitt 2,701 https://5calls.org Moderator

And that's the rub. You have to find where they are coming from. For me I checked my phone and have all of 3 apps installed besides what was stock. You?

rproffitt 2,701 https://5calls.org Moderator

I got you beat. My oldest laptop in the quarry is the 2006 Dell Inspiron E1505 which started with a failed HDD. So for 30 bucks we put in the 120GB SSD. Now it did take W10 so we did that. With just 1GB RAM it would boot in 45 seconds and we found a 2GB upgrade. How about 33 seconds from power on (not sleeping) and getting a google search result?

OK, your machine is old enough to need the usual canned air cleaning plus fresh heatsink compound. At that age the compound can dry and crack. When you do this work you can check if the fan is seized up.

rproffitt 2,701 https://5calls.org Moderator

Take a moment to read https://www.daniweb.com/programming/web-development/threads/435023/read-this-before-posting-a-question then add some details. You dumped code and while I see something in your title, it's like you expected folk to guess what this does and fix it.

I see some mixup of your tags too. This looks like a mashup of c and c++.

rproffitt 2,701 https://5calls.org Moderator

I'd read https://www.daniweb.com/programming/web-development/threads/435023/read-this-before-posting-a-question before you reply.

You accidentally put your entire post in a code block so that's OK. You can try harder from now on.
You wrote there are errors but didn't call out what the error was or what line it happens on. Add that next.

rproffitt 2,701 https://5calls.org Moderator

This sounds like an add on question to https://www.daniweb.com/programming/software-development/threads/505894/how-to-scrape-a-table-off-a-website-and-put-results-in-datagridview

Most web pages don't have a close or X on the ad banner. So there would be no closing of that banner.

However since you have the HTML scraped from the site you would add a filter in code to ignore what you don't want to process.

rproffitt 2,701 https://5calls.org Moderator

Maybe you need to start smaller. There are tutorial sites like https://www.lynda.com/Swift-training-tutorials/5904-0.html and others that you can start smaller and work your way up to your app.

rproffitt 2,701 https://5calls.org Moderator

You asked for help but didn't tell what you need help on. That is, as it's your assignment no one writes your code so let's hear where you feel it's failing.

Also, you could put it in IDEONE so others can edit and run it.

rproffitt 2,701 https://5calls.org Moderator

There's plenty of YouTubes about building your first PC. If you don't know the parts, you watch the YouTubes and then if that's not enough take a community college class on PC repair. You'll learn a lot there and have instant answers to "what is this?"

I have yet to see any forum do what you ask.

There is a What is this Reddit. Here it is-> https://www.reddit.com/r/whatisthisthing/

rproffitt 2,701 https://5calls.org Moderator

Since I don't have vb.net installed (we are working C# code currently) all I can do is guide you. If you can't break on the line and look at the variables to divine what your if statement should be, then I'd want to know how you go this far without well, I leave it there.

You're close but you need to do the next step. Put an if statement to add or not add that data.

PS. Again I can't tell which is good or bad but when name's length looks to be zero, maybe that's the test you need?

rproffitt 2,701 https://5calls.org Moderator

Sorry no but I did find http://blog.karmadust.com/lets-create-a-calendar-using-a-uicollectionview/ to mention a Swift version. Maybe that's it.

rproffitt 2,701 https://5calls.org Moderator

Here's the thing. Your first question is if it's been seen before. That's yes.

The next part is you run this code so you essentially own it. I don't know your site or what you did to break this. I do see an echo/print before headers. Since I don't know why your code has that, I don't know the code's intentions.

If you are paying web masters to maintain your site, then to continue you learn or pay. Here I can't edit your code because I can't know your site's needs. That's the web master's job. If this is your site, then you edit it to fix or get some staffer/volunteer to pitch in. All I can do is write looks broke to me too.

rproffitt 2,701 https://5calls.org Moderator

That's over 100 lines. As noted in the link I gave you, well first this is your code so you know it better than me, is to find if you are sending anything before headers. (quote)

No output before sending headers!
Functions that send/modify HTTP headers must be invoked before any output is made.

I do think I see echo before headers.

rproffitt 2,701 https://5calls.org Moderator

You need to revisit this. Ready?

"Any code written by man can be broken by man."

If you want this to be airtight, you lost the battle before it started. There's plenty of source about MP3 so there's nothing lacking out there. But you have decided to take a long hard path so get to it before your app's window of opportunity closes.

rproffitt 2,701 https://5calls.org Moderator

You only shared a sliver of code and as such I think you have to trace what you are sending from the beginning. The prior I noted looked indepth plus it was easy to answer yes to your first question. As to why your setup does this, you have to trace your code to see where you tried to send a reply via PHP. I can't know this since I have no access to your project.

rproffitt 2,701 https://5calls.org Moderator

I'm not there to see what's in what variable to craft your if statements. This is basic stuff but I can't write the if statement for you. But you can break on the line and look at the variables to see what's there then think about how you would write a statement to not add or add if this or that.

rproffitt 2,701 https://5calls.org Moderator

While I think you've been a little short on detail, why not put the MP3 directly into your app's resources?

If you need to know how, here's the google on that. https://www.google.com/search?q=embed+mp3+in+my+vb.net+app

This way, it's not ready to play anywhere but your app.

rproffitt 2,701 https://5calls.org Moderator

Yes. I used google to find priors. A pretty good prior is at http://stackoverflow.com/questions/8028957/how-to-fix-headers-already-sent-error-in-php

rproffitt 2,701 https://5calls.org Moderator

You are using Visual Studio. Set line 3 to break and examine what's in the variables. Note what you want and what you don't want. Code your if statement accordingly.

rproffitt 2,701 https://5calls.org Moderator

Sounds like you need to make it smarter.

As in after line 2 have some tests to see IF you want to add that element.

rproffitt 2,701 https://5calls.org Moderator

@Assertnull. I like my one liner since to add names I don't have to add more tests. Just plonk the name I want in the big string and let the find find it.

rproffitt 2,701 https://5calls.org Moderator

I think I gave you my current thought on this. There are books on Linux and sometime about 2010 I stopped buying books since I was getting what I needed from Google. We also have Google Scholar if you want another way to search.

There are also "Docs" for most major Linux systems. Example: https://help.ubuntu.com/
I see the PDF and more there.

The reason you won't find a book (at least none I'd buy) is that for each distro, and then for major versions it may not apply and send you down the sewer or rabbit hole.

But let's see what you can get besides that. Here's a sip from the firehose: http://www.tldp.org/guides.html

rproffitt 2,701 https://5calls.org Moderator

Is the LSF or LFS? (Linux From Scratch.)

Anyhow as each major distro has it's own install methods that the Awesome Company can use or ignore, as it stands today there is no such book. It's the WWW (wild wild west.) I sincerely hope that the Awesome Company would add their apps in the software center for the distro they targeted.

http://askubuntu.com/questions/307280/how-do-i-install-applications-in-ubuntu shows no less than 3 ways to install an app. And that's for just one distro! I hope you see there is no such book that would cover "Linux."

Can you share why the aversion to using Google to answer your question when the need arises?