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

I agree. Never bork with systems like that. And then, where's the backup copy if you borked it too hard?

Beginner: No backups.
Not beginner: Backup.
Pro: Backups.
Seasoned Pro: So many backups.
Burnt out Pro: No backups.

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

I think you need to step back a second and think that this is not C++. for loops in python are different. They move through what's after the key word "in". So to see what it will iterate through, list that range(10).

Try this one liner in python

list(range(10))

Now try that with range(1,11)

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

Remember it's been decades since I wrote Ada. I might be able to spot an error or why but off to tutorials and books for you?

http://www.tutorialspoint.com/compile_ada_online.php seems nice.

rubberman commented: Been about a decade for me... :-) +13
rproffitt 2,701 https://5calls.org Moderator

Did you miss a zero in your last reply?

sashiksu commented: yeah I missed zero , sorry for that +1
rproffitt 2,701 https://5calls.org Moderator

I'd ask this be removed as it's not a good start to your reputation in many forums. Try again but share the work you've done so far and where you are having issues.

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

This sounds like your standard crash. Now that you know the generic reset, you move to another area.

Are you keeping up your maintenance? Canned air on the vents every 1st of the month.

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

I'm using your code above and it is exactly what you are doing. The code should fault if you put a negative number in that function.

There are tomes on the web about square root of negative numbers so that's not "programming" but math.

Maybe you should test if the number you will square root is negative and handle it as you wish.

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

I'll write I looked into this not long ago using HTML5's video support. There are now many example HTML5 code examples but the encoding of the video must be something supported by HTML5.

The big problem of MP4 is this: "MPEG-4 Part 14 or MP4 is a digital multimedia container format most commonly used to store video and audio" so you can't be sure it's encoded in a way that your decoder can handle.

I know those new to video files are shocked a little as we talk about containers versus encoding. Think as the MP4 file as a bucket. We can dump almost any encoded content in there but it doesn't mean our player will handle it.

OK, so how to handle what HTML5 does not? Maybe VLC Player (read https://productforums.google.com/forum/#!topic/chrome/EOwAyyjOphA ) but be aware that we have no control over the target PC, mobile or what browser they are going to use.

So my thought here is to head to HTML5 videos only.

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

As noted in prior posts, you have to show some effort. All members here don't write code for other folk's homework assignment.

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

The next test I try is to see if the issue follows with some USB PC Keyboard.

However the keys are in what looks like a few scan lines of the common matrix decoding so it looks like a hardware issue from here. What about the number keys? 4 and 5 here may fail too.

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

Did you try unchecking the box noted at https://michaelsoolee.com/ifttt-links

Tameat614 commented: Thanks :) +0
rproffitt 2,701 https://5calls.org Moderator

At the office we don't try to move entirely to Linux for many reasons. Since we make our bread and butter on being efficient we use the Windows machines for the Windows app development and Linux machines for its development. We did have a fellow that wanted to move entirely over but he became non-productive for a few weeks trying to make the move, missed deadlines and later let go.

Hey, if you want to do this go right ahead but here I've yet to see anyone make the move and still deliver on time with the app tested on Windows etc.

What we do costs very little today. That is we have more than one laptop for the developers. There's the usual servers (on Linux) for revision and source control, but for the time being I've yet to see any developer crack the nut you are going after.

AleMonteiro commented: This makes me want it even more! But will keep my current HD intact just in case =) +10
rproffitt 2,701 https://5calls.org Moderator

Did you try responding to the query I see on line 2 of your log?

Note: read http://stackoverflow.com/questions/10413963/telnet-iac-command-answering

Gribouillis commented: awesome! +14
rproffitt 2,701 https://5calls.org Moderator

You tagged this with PHP so I thought wget. https://www.google.com/#q=wget+amazon+price+check in fact finds a prior with PHP and wget. Now you have the page and get to parse it out.

showman13 commented: Perfect Response. +3
rproffitt 2,701 https://5calls.org Moderator

Try to avoid many thousand long code dumps. Your question is one thing but where do you think there is a problem in that code? Surely it's not in all functions.

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

@savedlema, I think I should share how this is usually done.

The usual: "I'm Joc James." A fingerprint is given and the ID is verified. This is very fast, and usually how it's done.

Your method is only done when you don't have the person there to make a claim who they are. It's slow. And only gets slower as the database grows.

I didn't broach the issue that you rarely store the fingerprint image since that's the stuff you get out of papers on the subject.

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

Can't see where $hobby or $hobbies array is declared. What line is that on?

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

What would be an alternative? The prior discussion seems to cover the ways to get a list of files plus advice on how random works (according to Microsoft.)

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

I think you have to do this in a Sanders, Clinton or Trump scenario case as well. Beyond that it looks like homework so show some effort.

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

@Khw09, I'm going with no. If a new programmer learns how to get others to write code for them, then they won't learn how to research and code.

For example in step 1 of the psuedocode I could google "How to get a list of filenames into an array in Visual Basic?" Seems that folk have done that. You as an aspiring programmer must learn to research. That I will help with by providing what search phrases if you can't find the right words.

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

I read your post twice and can't determine what you are trying to do. Yes, you ask some questions but what you are trying to accomplish is unclear.

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

@fo2sh. That's the idea. You limit the flood in your example to once every 15 seconds. If that works for you, you're done. There are perfectionists that will want more but in many cases you only need to get the tech the message and said tech will log in more than 15 seconds later to read the log and ... see the flood if there was one.

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

My nod is to using engines. I think that engine creation is an art and team all to its own. So for a game creator it's more about the big design and then how to implement. If you dive into a graphics engine you are now buried in that.

If you can afford unity, I'd stick with that as, and this is an opinion, not fact, that way you get a shot at cross platform and more.

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

Good tools mentioned by CimmerianX. Read why I get such from Ninite at http://www.howtogeek.com/201354/ninite-is-the-only-safe-place-to-get-windows-freeware/

CimmerianX commented: +1 for ninite. +9
rproffitt 2,701 https://5calls.org Moderator

There are tools to go find what it is. Did you try the usual of turning off then on system restore? That issue has been with us for over 16 years.

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

My best first mobile app would be the web site first. That hits all the target mobile devices in one effort.

Now that the web site is working we can pick a target. For most that would be the iPhone and Android phones. After that, tablets from the 2 current majors.

There are systems where you write once and hit both but I found many companies balk at the cost of the systems or buckle under the load of the free cross platform dev systems. So the direction you head depends on your company size, and how much you will invest in the project.

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

I took a moment to see how the editor works with paragraphs. Paragraphs are text in a single line that can break to the next line as characters fill the text edit box.

So here, a paragraph is one long line. Home takes us to the beginning and end to the end of this long line. The editor does not work as say Word does when it comes to Home and End.

To me this makes sense but for folk that eat and breath Word, they would call it wrong. Word has no such equivilent cursor move. Control+DownArrow takes us to begining of the next paragraph but I can see it now a Word user would gripe.

almostbob commented: thank you +0
rproffitt 2,701 https://5calls.org Moderator

I think this is nearly impossible. I had an IT staffer that wanted to do this and told them it wasn't possible today. Why? Tools like NTPASSWD make resetting the local admin a snap. Yes it got a little harder with the new BIOS (EFI) but not a big hurdle.

All this has us recalling what a PC is. It's a personal computer and not a terminal. If you need to get absolute control you may have to look at thin clients and such.

Ritesh_4 commented: Thanks for the info +6
rproffitt 2,701 https://5calls.org Moderator

@gann1. Well this is how most folk learn about backups. When I'm starting a new project one of the steps is to get backups going in case of a machine problem.

You didn't reveal much but can you boot some Live CD/DVD/USB to see if the HDD contents are still there. No learning Linux. Read my old advice at http://tips.oncomputers.info/archives2004/0401/2004-Jan-11.htm and use a more current distro for this quick test.

If you see your project, copy it out first.

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

Thinking simple here. Try this (pseudocode only)

' Found an alarm. Send SMS
/usr/fuad/testing_alarms_fuad/send_alarm.pl
' Don't send alarms for 10 minutes.
sleep 10 minutes
'Reset alarms, return to loop.

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

Are you sure you wanted to use preincrement in the loops? More at http://stackoverflow.com/questions/484462/difference-between-i-and-i-in-a-loop

chrisschristou commented: this put into big research about pre or post incrementation +2
rproffitt 2,701 https://5calls.org Moderator

Such a bad idea. Hiding the destination would put me on alert the site has something to hide or is trying to take me to a very bad place.

My advice is to not spend time on such and apply work to make your site the best it can be.

diafol commented: Echo this +15
rproffitt 2,701 https://5calls.org Moderator

I see you asked at https://linustechtips.com/main/topic/554759-ost-to-pst-question/ and there's a fine answer there.

What does not work are those repair tools you see spammed a lot. Don't fall for that spam!

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

@mu2. The issue or question does not have an answer that works for all apps. That's why you can't find the answer.

The answer changes for each app. Well, it's not that bad. Many apps ask where to install, so for those you change it. For apps that don't then you ask around.

Let me broach TWO MORE THINGS.

One. Given the OS in question it is not entirely possible for all apps to not install something on the C drive. There are long raging discussions about how Office installs stuff on C even when you said F. There have been folk that want ALL of an app on another drive. This will never happen with say Office (from Microsoft for versions up to this day.)

Two. Now there is another exit. I forgot to mention it. Go look for Portable Apps. Sometimes there's a portable version that runs entirely from it's own folder on almost any drive. I see Opera and other such titles on portableapps.com.

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

Since there are already OSes out there I tend to write apps or solutions that I learn from or generate income.

I think you need to read a prior comment again at https://www.daniweb.com/programming/software-development/threads/502676/windows-photo-gallery-like-program#post2197359

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

Sorry but if you post incorrect details, folk may give incorrect answers. Next time copy and paste to avoid this issue. I offered what I saw, but it appears that you were in a hurry.

diafol commented: He he. "He knows this". +1 for keeping it civil :) +15
rproffitt 2,701 https://5calls.org Moderator

Let's check a basic thing. You claim the file name is "wall" but later on write "WALL". In almost every OS today those are not the same file.

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

I think you didn't do anything wrong. However if I were to consider a lite SQL I'd consider OTM (other than Microsoft) SQL solutions like MySQL (still looking over MariaDB) and of course SQLITE. https://www.sqlite.org/download.html shows the binaries to be in the under 10 megabyte size.

My oldest MySQL system is now over 10 years old and still running.

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

Given the time since you asked this at http://dba.stackexchange.com/questions/110767/ms-access-2007-2010-compact-repair-not-working and other sites, it may be time to think over if Access is the right database for you.

What did that person say? "Insanity is repeating the same mistakes, expecting different results."

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

So something like this?

public class HelloWorld{

    public static String newline = System.getProperty("line.separator");
     public static void main(String []args){
        String me = "your name" + newline
                            +"your address" + newline
                            +"city, state and ZIP" + newline
                            +"your telephone number" + newline
                            +"your college major";
        System.out.println(me);
     }
}
Reverend Jim commented: Genius. +14
rproffitt 2,701 https://5calls.org Moderator

I'm guessing this is that image thinning code out there. Maybe a port from other languages would be easier for you.
https://github.com/zehranaz/cs289-final-project/blob/master/thinning.py

Devon_1 commented: Please check my commend below +0
rproffitt 2,701 https://5calls.org Moderator

It may not be any single IP. Take a read of http://hexus.net/tech/news/software/81661-microsoft-use-p2p-distribute-windows-10-os-app-updates/ and do more research on that. If all you need is this for this one time, allow all for that time period.

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

This sounds like a job for OnChange. You can find much about it on the web such as http://www.htmlcodetutorial.com/forms/_INPUT_onChange.html

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

Formatting sticks? GPT? It sounds like the sticks were not made using prior advice on web pages that have those distros.

While we need to know our PC in regards to UEFI and BIOS settings what you wrote makes me wonder if you made a good bootable stick. Test? Does it boot in other PCs?

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

L,
Be sure that bootable USB works in another PC. I lost a day fussing about USB boot and I had the old YDIAW issue. Back to the web for another way to create the USB and it was working.

This doesn't mean you may have other issues such as dealing wth UEFI.

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

Try a very common reset. Unplug power, remove battery, hold power button for 60 seconds, release, slip in battery, apply power, wait a few seconds and then try again.

You may want to remove the HDD and retry.

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

Just thinking here. A long time ago we needed to no have plain text just floating around with ticket details. So way way back then we used a single ROT13 on the strings before sending it across the network. I wonder if as simple as that. Don't let plain text details be easy to pick off the apps or across the wire.

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

Is this your assignment or something else? http://www.thirumal.in/2012/01/replacing-characters-in-file-c.html looks complete but if this is homework, ignore the web and write something. Share your code and tell why you think it didn't work.

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

If we keep optimizing we see we don't need to track both odd and even. We could save many CPU cycles by only counting odd or even then for the other value, use something like 100 - even for the odd count. One less variable, many fewer CPU cycles and less CO2 emissions.

ddanbe commented: Planet saved! +15
rproffitt 2,701 https://5calls.org Moderator

"It's complicated." Read https://support.apple.com/en-us/HT204388 and the links there in. Not all cables work. When I need this to work I buy the Apple adapter.