Jump to content

Zuccers

Member
  • Posts

    137
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Zuccers reacted to igormp in Python/ Expected axis -1 of input shape to have value 3 but received input with shape (None, 32, 32, 1)   
    image = image.reshape(3, 32, 32, 1) Should be: image = image.reshape(3, 32, 32)
  2. Like
    Zuccers got a reaction from zeusthemoose in Free Website to Learn Coding   
    I recommend this w3schools
    https://www.w3schools.com/java/default.asp here's java
    the whole website is really helpful, just choose what you want to learn: https://www.w3schools.com/
  3. Like
    Zuccers reacted to trag1c in C++ read from .txt file and assign to string   
    You already have your solution but I highly suggest reading through this website https://en.cppreference.com/w/cpp/header as it lists all the C++ STL (standard template library) libraries which are all under the std namespace. It also includes descriptions and functional code examples for each function and library. Highly useful for novices and experts a like because it has everything under the sun.
  4. Informative
    Zuccers got a reaction from mrchow19910319 in Website navbar design choice.   
    you can make an 'active" class, where the user is (page) make it a bit darker, so the user can orientate where they are
     
    https://www.w3schools.com/howto/howto_js_topnav.asp
  5. Like
    Zuccers got a reaction from printf_cyber in JavaScript embedded into HTML   
    Chrome works
  6. Like
    Zuccers reacted to AnotherMax in import .py project to another project   
    Assuming all '.py' files are in the same directory, and 'file_to_import.py' is simply made up of a bunch of function I'd do:
    from file_to_import import function_name_1, function_name_2 from file_to_import import * # Imports all functions from 'file_to_import' I wouldn't do the import with the ` * ` as it's a bit ambiguous.
     
    If you have a directory structure like:
    - main.py - utils \ - thingy.py If you want to import 'thingy.py' functions into the 'main.py' you can do:
    from utils.thingy import function_name_1, function_name_2
  7. Like
    Zuccers reacted to Loote in Unsolved reference in python   
    Looks fine.
  8. Like
    Zuccers reacted to vorticalbox in App lock in python   
    If you want to password protect the file then the password should be applied to the file not the python script, aka encrypt the file and use python to decrypt and encrypt once you're done.
  9. Funny
    Zuccers reacted to reniat in App lock in python   
    .....................
    I'm gonna blame the fever on this one.
  10. Like
    Zuccers reacted to mariushm in Um, js help :DD pls   
    Well, this would work:
     
    <html> <body> <script type="text/javascript"> var toggled = false; function toggle() { if(!toggled) { toggled = true; let d = new Date(Date.now()); document.getElementById("tgl").innerHTML = d.getHours() + ':' + d.getMinutes() + ':' + d.getSeconds(); return; } if(toggled) { toggled = false; document.getElementById("tgl").style.display = "block"; return; } } </script> <div id="tgl">text</div> <input name="go" type="submit" onclick="toggle();"; /> </body> </html>  
  11. Like
    Zuccers reacted to PocketNerd in Html to exe file   
    You can try using Proton Native. https://proton-native.js.org/#/
  12. Like
    Zuccers reacted to Duckster in javascript alert help :)   
    my friend can help you. ill get him soon/later
     
  13. Like
    Zuccers reacted to MladenM in Html to exe file   
    Depends on the html file. I think there are free programs that can take table from html and convert it into excel table. 
    If there isnt  <table> on html it wont work probably.

    You can write script in python that will convert something more complex into excel. 

     
  14. Like
    Zuccers reacted to Dat Guy in Html to exe file   
    Be aware of the security impact.
    https://www.trustwave.com/en-us/resources/blogs/spiderlabs-blog/cve-2018-1000136-electron-nodeintegration-bypass/
     
    Electron - being based on the Chromium engine - requires regular updates of your codebase. Chances are that you won't distribute them because "it works".
  15. Like
    Zuccers reacted to PAEz in Opacity change   
    Here's a stackoverflow answer to that question.....
    https://stackoverflow.com/questions/23985018/simple-css-animation-loop-fading-in-out-loading-text
    ...its always nice to see it doing what you wanted, so I copied one of the examples and changed it to an image....
    http://plnkr.co/edit/l2GoxgobXTtxSZe5otxX?p=preview
     
    https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Animations
  16. Informative
    Zuccers reacted to duncannah in html Help pls   
    Remove <center> and add
    justify-content: center; into .main
     
    or remove
    display: inline-flex; from .main and keep <center>
  17. Like
    Zuccers reacted to duncannah in html Help pls   
    Your text isn't in the .main element... or I got your question wrong??
  18. Agree
    Zuccers got a reaction from Jonny in Protential issues with 2 Acer Predator XB271HUAbmiprz 27 Inch   
    Keep us posted, or just DM me what happens next
  19. Agree
    Zuccers got a reaction from PlayStation 2 in Explorer, settings extremely slow/unresponsive   
    I reccomend downloading a new update (1809) ISO and install it, i had this problem, we did this thing with ms support
  20. Agree
    Zuccers got a reaction from _Hustler_One_ in Are MMOs still a thing?   
    Yeah MMOs still are a thing, probably Tanki Online, World of tanks... These are the games which i would recommend
  21. Like
    Zuccers reacted to kirashi in How do you reset a "DIGIPASS 260"   
    Anything can be hacked given enough time and money, however, one would hope that VASCO put safeguards in place to prevent bruteforcing the admin password, or better yet, made it so the microchip would physically destroy itself after too many failed attempts in order to protect the information on the Digipass.
  22. Informative
    Zuccers reacted to Buffet_Time in $600 (US) or under gaming laptop   
    Well Amazon, Newegg, or similar reputable store sites. Not going to have her go through a more sketchy like chinese site ?
     
  23. Informative
    Zuccers reacted to caldrin in Can i burn my sound card listening to really low notes?   
    errm the USB speakers will be processing the audio not your on-board sounds card.. unless you mean they only get the power from the usb but still use a 3.5mm jack.. if that is the case then yes its your on board card.

    But no you cant burn your sound card... I guess you mean break by saying burn haha..
×