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

iscjm, I tested this at the w3schools link both in Try It Now and other places and it works fine. HOWEVER due to differences in browsers, browser settings and security suites PLUS pop-up blockers you can NEVER be sure this will work.

In case you wonder why, it's all because the spammers and others overused pop-ups, pop-unders and more so the browsers and the people fought back. I can't guess why you need this as you didn't say but at least you know why it's not something that you can count on and there is NO REASON to fix it since the spammers, advertisers and malware makers would only take advantage of it again.

嘉明 commented: Because in many browsers, if you call "window.open" directly, it will be blocked, except you call "window.open" with "onclick" in the "button" tag. Be +0
rproffitt 2,701 https://5calls.org Moderator

I see the Question Solved? has been removed.

Now if this was my task I'd check out https://www.w3schools.com/jsref/met_win_focus.asp

This method makes a request to bring the current window to the foreground. It may not work as you expect in all browsers, due to different user settings.

But due to browser settings and how this works IRL you can NEVER EXPECT THIS TO WORK everywhere and everytime. Thank those that used this and other schenigans to pop adverts at folk.

iscjm commented: This doesn't work with me! Anyway, thanks for your advice! +0
rproffitt 2,701 https://5calls.org Moderator

This is marked solved. Can you share the fix?

iscjm commented: Oh my gob! I have made a mistake +0
rproffitt 2,701 https://5calls.org Moderator

That's some request. But that's not how this works. Here you do your own homework and if you are stuck you share what you can, explain a little what you think is wrong and we'll see if we can shed some light on the issue(s).

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

Welcome to Daniweb.

This request is similar to https://www.daniweb.com/programming/threads/535777/i-want-to-learn-programming so please read the replies there.

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

Back to the top, my view is that net ratings is at best a guess because there is a more than double digit number of web users that block ads. This block from what I can tell always blocks the tracking pixel systems that a lot of these companies relied on. Yes they came up with new ways to block your web use and email too but the escalation continued and given where we are now I would not put much faith in these net rating companies.

But the people and companies that live and breath this data will tell each other it's worth it and talk it up. You may tell by now I'm not buying the story or company line.

When we were going to Asia, we would always have a copy of the Tails OS when we needed to get on the web or email. No one in the company would dare log into their bank while out of the country. We practiced the safest computer use we could.

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

Tell me where the value or 0 to 500,000 is going to be used? While I'm pretty sure this is not going to be done in c, c++, java or mysql (why all those tags?) I can't guess where this generated value is going to be used in your HTML.

As to the three minutes, I think I'd use a timer. Tutorial at https://www.w3schools.com/js/js_timing.asp

But that still leaves me to wonder where this number will be used.

Julia P. commented: I put those tags in because I'm still new to these topics. Isn't there an editor that allows me to animate the number easily? +0
rproffitt 2,701 https://5calls.org Moderator

Remember I take this as "not homework." I see this has many prior "SOLVED" if I use
https://www.google.com/search?&q=Modify+the+Wombat+1+computer+to+Wombat+2+by+adding+Stack

Why didn't you research this?

Surya_14 commented: those seem similar by the question type are different +0
rproffitt 2,701 https://5calls.org Moderator

More detail is required. Upload could mean to some web site, a file server and so on. Please add more detail along with what you written so far.

aichakh commented: I m doing a form i want to allow user to upload image from his pc to the form ( brows to his fils in his pc and select image and upload it in the form +0
rproffitt 2,701 https://5calls.org Moderator

As far as I know, Microsoft has yet to implement this. Example: https://techcommunity.microsoft.com/t5/microsoft-forms/deleting-forms-responses-gt-300/m-p/198168

You may be forced to change from MS Forms to something classic like a web site, SQL and such.

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

As with any app if you can't write it yourself you either find an app you like or write down what said apps should do for you then shop around.

Anyone that comes back with a single company for you is likely spamming.

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

It looks to me you would duplicate the code starting at about DWORD dwData = 6 to where this code section ends (remember I take it this is your code, not found in the wild and that you write code) and paste that above the return 0; and make changes as you wish.

Next time pay attention to code formatting in your post so there are line numbers and better code formatting.

에프 commented: Thank you sir. I find the solution similar to your answer. Have a good day. +0
rproffitt 2,701 https://5calls.org Moderator

Let me state that this is a GOOD THING. If the cypher always encoded to the same text then decryption is more likely.

Remember that you did write "the cryptography decrypts" so it's not broken.

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

I'd have to use a language translator but you mention Visual Basic 6.0 which is so old and can't be bought any longer for decades.

My advice is to move up to a current version.

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

Even if you don't know Python, why can't you convert it line by line. For example, is line 1 a problem?

biityy34 commented: public class Output2 { public static void main(String[] args) { int n = 10; for(int i=0;i<n;i++) { for(int j=0;j<n;j++) +0
rproffitt 2,701 https://5calls.org Moderator

Then again it could be aliens. https://i.imgur.com/KUbw0mz.png

Kidding aside, the number of people killed by politicizing the pandemic is in the millions yet I find this strangely missing in the news. Well, this year I have read a few articles so someone does think about it.

As to Jon Stewart, I thought he was pulling our leg.

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

Just last week a close friend was sending me "data" from the Pandemic Analytics and Data (PANDA) group.

Let me be brutally blunt here. Such misinformation is deadly.

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

Thank you Jim. By the way, the first court ruling about this agrees that a business, in this case a hospital can mandate it's staff be fully vaccinated.

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

Nod to https://en.wikipedia.org/wiki/Code::Blocks for status.

It's last update was 14 months ago which isn't a bad thing. Most consider it a "good IDE."

HOWEVER with the arrival of AI/ML powered development systems such as Tabnine our expectations of a good IDE are changing.
2018 - https://www.reddit.com/r/rust/comments/9uhc1x/tabnine_an_autocompleter_for_all_languages_built/
2021 - Even better.

Alamir Rangel commented: Excelent +0
rproffitt 2,701 https://5calls.org Moderator

Seems to be what you need to add to the insert. That is AND room_name = your_variable.

Manggala commented: based on stackoverflow answer I dont undertstand this part `FROM (SELECT 1)x LEFT JOIN ` what does that mean? (SELECT 1)x ? +0
rproffitt 2,701 https://5calls.org Moderator
Manggala commented: but there is no `room_name` so where should I include that part? +0
rproffitt 2,701 https://5calls.org Moderator

I'd turn to tutorials about this. I see so many out there but this one looks complete.
https://www.c-sharpcorner.com/article/asp-net-mvc-rest-web-api-post-method/

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

Is this an AIMBOT? It sounds like it. I won't write about this issue as to whether it's fair to play with such but let's see if there's an aimbot for your game. Which game is it?

Example at https://guidedhacking.com/threads/really-simple-fov-aimbot-code-tested-for-csgo.15087/

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

As others have pointed out, your discussion has issues you need to address.

  1. Fix your post as it's formatting and lack of questions mean others will guess badly what your questions are.
  2. While I did supply a link to RosettaCode, it's a fine site with many of the classic programming questions fully(?) coded in many languages but for a student to use such to copy and paste would result in a failing grade.
  3. Again, fix your post, ask the questions but no one here will write this for you as that would not help you learn how to code.
rproffitt 2,701 https://5calls.org Moderator

Can you edit this?

  1. Format it for readability.
  2. Ask a question. As it stands I can't find your questions.
Zead_1 commented: We want to simulate a small square surface of an area with micro-organisms (like bacteria) and how they spread every cycle of life (iteration) on thi +0
rproffitt 2,701 https://5calls.org Moderator

Remember that till now I shared what we do at the office/shop. We don't start with a Google most of the time.

https://thedroidguy.com/hangouts-microphone-not-working-1129097 seems to be filled with good procedures to try but as I expected there is considerable overlap from our office/shop methods to this article.

Puterwiz82 commented: Thank you for your assistance so far +0
rproffitt 2,701 https://5calls.org Moderator

Remember to provide your findings here. I'm going to share what we do at the office/shop and not repeat your findings or research.

If you feel or know this is Samsung's update then you take that up with Samsung. Or head to XDA Developers to see if you can use some other ROM.

Puterwiz82 commented: Is there a way to adjust the microphone settings in Google Meet to use default mic? I don't mean the permissions +0
rproffitt 2,701 https://5calls.org Moderator

As to your comment: At the office/shop we see a lot of things. Maybe you had hope we would have another method than the usual but let's go with you did the factory reset and it still fails. At that point it's either:

  1. Pilot error.
  2. The hardware has failed.
  3. Samsung had a bad update.

Each issue is tackled on its own. For pilot error one of the techs does another full factory reset and tried it their way. For hardware issues due to how tablets here are too cheap to fix (The 10 inch model is at most 200USD and service counter work starts at 150USD) the tablet is replaced. As to a bad Samsung update, that's too rare and has yet to be seen but for that you make a call to Samsung to lodge the complaint.

If someone thinks it's a bad update and if they pay then we look to XDA Developer (a forum found on the web) for an alternative rom.

Puterwiz82 commented: The microphone was working fine before the recent update has been applied to the tablet. It is not just affecting this tablet +0
rproffitt 2,701 https://5calls.org Moderator

Since it's a tablet our usual is to do the full factory reset. If this fails we turn back to the maker for what to do next. I can't guess as to your warranty status but do look at that now.

Puterwiz82 commented: Have you been seeing this microphone issue happening after the Samsung tablets and phones get upgraded to the latest Samsung Update? +0
rproffitt 2,701 https://5calls.org Moderator
patk570 commented: Amazing! Just what I needed! +3
rproffitt 2,701 https://5calls.org Moderator

So you're moving to Linux?

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

I was afraid I might misplace my vaccination card. Good thing you can buy replacements on the web today. ?.

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

No mention of disk encryption so my tool of choice is almost any bootable Linux to copy the files out. Of if the owner is still on HDD I offer to put in a SSD then the old HDD goes into an external case so they can copy over their files.

As to what you were supposed to do, that's backup your files so this is never a problem.

PS. My advice to boot another OS is really old. Still works!
We don't learn Linux either. Read http://tips.oncomputers.info/archives2004/0401/2004-Jan-11.htm

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

There are some suppositions we need here. Are you assuming this is on some PC with a classic BIOS? If so there are prior examples we can use.

But if this is some custom SBC (single board computer) it may not have such a BIOS. Fill in the blanks so we can begin.

ama_ni commented: yeah, classic bios +0
rproffitt 2,701 https://5calls.org Moderator

It appears a lot of new members are not trying at all. Your code is badly formatted with extra blank lines and more bad formatting.

If I ignore this it looks like basic ask some questions, get input and so on. Why not start with a tutorial or two about these areas?

https://www.w3schools.com/python/ref_func_input.asp to start!

yahon23837 commented: but thank you for the link tho. and im trying to do it myself :D +0
rproffitt 2,701 https://5calls.org Moderator

This code would be marked down many grades for:

  1. Poor formatting. It's neither the One True Brace or the K&R style.
  2. Misspelling. For homework, you lose points. In real life your app is rejected entirely with one exception which I'll link to.

Read https://www.reddit.com/r/fo76/comments/k30yuw/your_the_dumbass_note/

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

The Reusable Code Snippet is for when you want to share your "Reusable Code Snippet." I look forward to your code in a future posting.

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

See GOOGLER.

https://ostechnix.com/how-to-google-search-from-commandline-using-googler/

Display results starting from nth result
The following example will fetch the results starting from the 5th result for the keyword ostechnix:

  • $ googler -s 5 ostechnix
rproffitt 2,701 https://5calls.org Moderator

Because this is an assignment, you should try ANY encryption. Unless there was specification such as SHA-256 or better.

For now, use the standard library. Tutorial at http://www.cplusplus.com/forum/windows/128374/
Or make something up. Be quick about it because you don't have to be that well encrypted because, deadlines and homework.

Mark_118 commented: Okay thank you for the help, I appreciate it +0
rproffitt 2,701 https://5calls.org Moderator

That seems like a lot to design and implement in 12 hours. You may want to ask for an extension on this project.

Maybe you are stuck at something specific. Tell what that is so we can discuss that issue.

Mark_118 commented: Hi, the deadline was extended to 24 hours from now. Its not that I'm stuck, I just have no sufficient knowledge in coding +0
rproffitt 2,701 https://5calls.org Moderator

Given the lack of details why not?

#include <stdio.h>

int main()
{
    int loops;
    loops = 1 + 2;
    printf("loops is now = %i !", loops);
    return 0;
}
Reverend Jim commented: Hah! +15
rproffitt 2,701 https://5calls.org Moderator

This sounds like you need a tutorial. https://www.w3schools.com/php/php_mysql_insert.asp has examples.

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

I think I've worked on a Toshiba C855D series and the tool I used to get inside was a standard Philips screwdriver. Now it would be debateable what you would do inside if you don't do such work but hey, I'd invest a dollar and replace the CMOS/Clock battery and repeat step 1.

I don't think you can work this issue without some investment such as a new charger but some folk want a sure fix. OK, sure fix. Take it to a repair shop but considering that such a shop visit here starts at $150 USD and this machine is 9 years old my advice is to try what you can for cheap then shop for replacements if the cheap ideas don't pay off.

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

At 9 years old, not unexpected to see the end. Try the usual but keep in mind I didn't check if the battery is easily unplugged.

  1. Unplug charger and battery then press and hold the power button for 60 seconds. Release, slip in battery, apply power, wait and few minutes and try again.
  2. Replace the CMOS/Clock battery and repeat step 1.
Eerol_1 commented: I havent seen any sign of it turning on and i dont have the tools to get to the motherboard of my toshiba. Any other ideas? +0
rproffitt 2,701 https://5calls.org Moderator

I think when you use import you'll have to step up to a much better implementation such as:
https://www.codeproject.com/Articles/820116/Embedding-Python-program-in-a-C-Cplusplus-code

Hope this helps.

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

Here's "the sentence" answer for SHA256. Why code when you can just put in the value and move on?

870a356982ccf7f8c50435cc52666de52c0ad4e5228c17d5f422bd7dad961113

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

Thanks for the report back. Please mark this as solved.

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

I used the method Rev Jim noted about "don't have the key."

Now there are things that happens too often so I'll keep it short.

  1. The client only had W10 Home. W10 Pro won't activate and they have to buy it.
  2. You mention the .ISO. Here I use the Windows 10 Media Creation Kit (the name changes over time so I may be a little off). In years I've never used the .ISO since I don't want to deal with that file.
Reverend Jim commented: Likewise. I use the MS MediaCreationTool to create a bootable USB installer +15
rproffitt 2,701 https://5calls.org Moderator

OK we can use the various loops and IF. Remember we have many design choices here but the goal is NOT to design well here as the assignment forbid arrays.

So we know we have 10 data lines to output so the first ten lines would be our loop.

I can't write code for you since that's your work so psuedo code will suffice.

for row from 10 to 1 
{
 output row and a space
 if n1 => row print a star and space else print two spaces.
 if n2 => row print a star and space else print two spaces.
 if n3 => row print a star and space else print two spaces.
 if n4 => row print a star and space else print two spaces.
 if n5 => row print a star.
 print the newline
} 
Print " 1 2 3 4 5"
saadbangashh commented: Thank you. It worked perfectly. +0
rproffitt 2,701 https://5calls.org Moderator

I'd decide if you want to write some voting code or look at the link I gave. Remember I take it this is a real request from you and not another homework assignment. For homework you share where you are stuck.

eman_12 commented: ok thank you +0