Jump to content

badreg

Member
  • Posts

    965
  • Joined

  • Last visited

Reputation Activity

  1. Agree
    badreg got a reaction from RockSolid1106 in Best way to download an entire website?   
    You don't, unless you have access to the servers and make a copy of the source and databases. Making a 1:1 copy of a website without server access is only possible if the website's code is exclusively HTML, CSS and JS.
     
    The best you can do client-side is to scrape the content that you want, and reverse engineer the logic in order to display the content how it originally appears. But this is very bad practice, and something that is likely to get you banned by the target website.
     
    Not everything on the web is archivable, as evidenced by the amount of broken sites that exist on archive.org.
  2. Agree
    badreg got a reaction from kirashi in Best way to download an entire website?   
    You don't, unless you have access to the servers and make a copy of the source and databases. Making a 1:1 copy of a website without server access is only possible if the website's code is exclusively HTML, CSS and JS.
     
    The best you can do client-side is to scrape the content that you want, and reverse engineer the logic in order to display the content how it originally appears. But this is very bad practice, and something that is likely to get you banned by the target website.
     
    Not everything on the web is archivable, as evidenced by the amount of broken sites that exist on archive.org.
  3. Agree
    badreg got a reaction from BiotechBen in Best way to download an entire website?   
    You don't, unless you have access to the servers and make a copy of the source and databases. Making a 1:1 copy of a website without server access is only possible if the website's code is exclusively HTML, CSS and JS.
     
    The best you can do client-side is to scrape the content that you want, and reverse engineer the logic in order to display the content how it originally appears. But this is very bad practice, and something that is likely to get you banned by the target website.
     
    Not everything on the web is archivable, as evidenced by the amount of broken sites that exist on archive.org.
  4. Agree
    badreg got a reaction from Needfuldoer in Heeeelp, does my network card support 5ghz?   
    No. However, you should set the wireless mode to 802.11b/g/n, so that you get the full 150Mbps that your card is capable of.
     
    https://www.asus.com/us/Networking/PCEN10/specifications/
     
     
  5. Like
    badreg got a reaction from Lurick in Hearing your thoughts on my alternate internet plan   
    Call AT&T retention and get your offer renewed. I'm paying $40/month for 1Gbps. YMMV, but $60/month is a very standard deal, and there's no reason they wouldn't offer at least that to you.
  6. Informative
    badreg got a reaction from Catsrules in Where would I start if I want to write a script to scrape/change a setting on a local device that hosts a webpage Like my home router or smart device?   
    Start by opening up the network tab in the Developer Tools in Firefox or Chrome. When you perform an action, you will see an HTTP POST request for the transaction. Once you have this, you can replicate the action via command line using a tool like curl. You will most likely have to set cookies and figure out a couple of other steps as well.
  7. Like
    badreg got a reaction from da na in Any help with my crappy looking HDR/4k image please?   
    Doesn't matter. It's a compression artifact. What's the bitrate on the video? I'm guessing it's not much more than 15Mbps.
    Here's a video explainer that is helpful:
     
  8. Agree
    badreg got a reaction from da na in Any help with my crappy looking HDR/4k image please?   
    The banding exists in the source. You just can't see it in the non-HDR version because the shadows are crushed.
     
    Try again with a known good source.
  9. Like
    badreg got a reaction from King_PIN in Any help with my crappy looking HDR/4k image please?   
    Doesn't matter. It's a compression artifact. What's the bitrate on the video? I'm guessing it's not much more than 15Mbps.
    Here's a video explainer that is helpful:
     
  10. Informative
    badreg got a reaction from King_PIN in Any help with my crappy looking HDR/4k image please?   
    The banding exists in the source. You just can't see it in the non-HDR version because the shadows are crushed.
     
    Try again with a known good source.
  11. Like
    badreg got a reaction from Piliffo in Clight or alternative for monitor brightness controll through webcam   
    A slightly bodgy solution would be to use OpenCV (which has a Python library) to capture the ambient brightness from your webcam, and use that to invoke a command line DDC/CI tool (ControlMyMonitor, Monitorian, or whatever your manufacturer offers) to change the display brightness.
  12. Informative
    badreg got a reaction from JamesTheFolf in Weird Behavior in C For Loop   
    Precisely this. At the beginning of loop #2, the EOF check fails, and scanf() gets called. scanf() encounters EOF, and returns without doing anything to userString. The loop continues, and parses userString again. At the beginning of loop #3, the EOF check passes, and the while loop breaks.
     
    Instead of a while(true) loop, this should be the conditional check:
    while(scanf("%s", userString) != EOF)  
  13. Like
    badreg got a reaction from WhitetailAni in Mom's computer hacked? Money stolen from her bank acc.   
    No, I mean, how did the money leave her account? Even if we accept what you say at face value (i.e. malicious text circumventing 2FA, frozen sign in screen is a phishing site) and assumed that an attacker had full access to her online banking account, it is not easy to actually take money out of the account.
     
    Edit: saw your edit. So Zelle or similar, then?
  14. Agree
    badreg got a reaction from GuiltySpark_ in Mom's computer hacked? Money stolen from her bank acc.   
    $1,000 stolen how? It's difficult to transfer funds out of a bank account with just unauthorized access to the online account. Even with something like Zelle, an outgoing transfer to a new account requires second factor authentication.
     
    Regardless, as @rickeo says, the first step is to contact the bank and alert them of the fraud. It will be fairly trivial to recover the missing funds. I don't think that there is any evidence yet that any "hack" occurred.
  15. Agree
    badreg got a reaction from Levent in Wake on Lan fom Cellular/on the go   
    Setup a VPN server on a local device, and connect to it when you are on mobile.
  16. Like
    badreg got a reaction from Thready in How long does an SD card last for   
    I have never once had a catastrophic failure of a memory card over the course of my 15 year career as a photographer. I have heard countless stories of card failures, but no first hand experience, so by this point, I attribute most of those stories to user error.
     
    I have old Sandisk CF cards that are 15 years old that are still going strong. I have no issues using them for critical projects.
     
    Obviously, do what makes you comfortable, but using dual cards that are a year old will not be an issue. The camera will alert you if either card has a write error, and it is orders of magnitude more likely that you physically lose the cards than both failing simultaneously.
  17. Like
    badreg got a reaction from da na in Can I use software to make 5.1 speakers stereo?   
    What exactly are you trying to achieve? Downmix a 5.1 source to 2.1? If so, just don't connect the center and rear speakers, and set your audio output to 2.1.
  18. Like
    badreg got a reaction from Electronics Wizardy in Can I use software to make 5.1 speakers stereo?   
    What exactly are you trying to achieve? Downmix a 5.1 source to 2.1? If so, just don't connect the center and rear speakers, and set your audio output to 2.1.
  19. Like
    badreg got a reaction from wanderingfool2 in C language, I created this code but I want to make it more efficient(reduce the runtime)   
    Why is a loop necessary? You just need to do the modulo operation once, and subtract the modulo from a to get your desired answer.
     
    Edit: if you are trying to find every factor of b that is ≤ a, then you just need to find the first factor as I stated above, and then decrement that factor by b until it is ≤ 0. There's no need to decrement by 1 if b is > 1.
  20. Funny
    badreg got a reaction from Eigenvektor in Write a function that receives 2 strings, that are split with spaces into words, and retruns the count of the words that are contained in both strings   
    int StringSplit(char* str1, char* str2) { printf("Stop trying to cheat on your exams."); return -1; }  
  21. Funny
    badreg got a reaction from trag1c in Write a function that receives 2 strings, that are split with spaces into words, and retruns the count of the words that are contained in both strings   
    int StringSplit(char* str1, char* str2) { printf("Stop trying to cheat on your exams."); return -1; }  
  22. Funny
    badreg got a reaction from shadow_ray in Write a function that receives 2 strings, that are split with spaces into words, and retruns the count of the words that are contained in both strings   
    int StringSplit(char* str1, char* str2) { printf("Stop trying to cheat on your exams."); return -1; }  
  23. Funny
    badreg got a reaction from vorticalbox in Write a function that receives 2 strings, that are split with spaces into words, and retruns the count of the words that are contained in both strings   
    int StringSplit(char* str1, char* str2) { printf("Stop trying to cheat on your exams."); return -1; }  
  24. Funny
    badreg got a reaction from Laborant in Write a function that receives 2 strings, that are split with spaces into words, and retruns the count of the words that are contained in both strings   
    int StringSplit(char* str1, char* str2) { printf("Stop trying to cheat on your exams."); return -1; }  
  25. Funny
    badreg got a reaction from C2dan88 in Write a function that receives 2 strings, that are split with spaces into words, and retruns the count of the words that are contained in both strings   
    int StringSplit(char* str1, char* str2) { printf("Stop trying to cheat on your exams."); return -1; }  
×