Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Sakuriru

Member
  • Content Count

    819
  • Joined

  • Last visited

Reputation Activity

  1. Funny
    Sakuriru got a reaction from mon1ka in just saying..   
    you don't understand they're both orange
     
    omg r u blind
  2. Agree
    Sakuriru reacted to Caroline in just saying..   
    This right here is what we call a Status Update.
  3. Funny
    Sakuriru got a reaction from Eigenvektor in Why doesn't my python calculator work?   
    Because pythons are snakes and snakes aren't good at math.
  4. Funny
    Sakuriru got a reaction from hirusha.adikari in Why doesn't my python calculator work?   
    Because pythons are snakes and snakes aren't good at math.
  5. Agree
    Sakuriru got a reaction from Beerzerker in How is silence transmitted over radio   
    This is the correct answer. Or more succinctly...
     
     
  6. Funny
    Sakuriru got a reaction from TheCoder2019 in Over Priced fans. Like it up so he can do a segment about it searching the web for over priced things. Also fake things   
    My fans are maxed out just trying to parse your title.
  7. Agree
    Sakuriru got a reaction from FakeATF in Over Priced fans. Like it up so he can do a segment about it searching the web for over priced things. Also fake things   
    My fans are maxed out just trying to parse your title.
  8. Informative
    Sakuriru got a reaction from Dillpickle23422 in What to learn next?   
    Python is an excellent choice. It's the most similar to JS, but begins to transition to more traditional programming concepts like strong typing.
  9. Funny
    Sakuriru got a reaction from trag1c in Over Priced fans. Like it up so he can do a segment about it searching the web for over priced things. Also fake things   
    My fans are maxed out just trying to parse your title.
  10. Funny
    Sakuriru got a reaction from SorryClaire in Over Priced fans. Like it up so he can do a segment about it searching the web for over priced things. Also fake things   
    My fans are maxed out just trying to parse your title.
  11. Funny
    Sakuriru got a reaction from itswillum in Over Priced fans. Like it up so he can do a segment about it searching the web for over priced things. Also fake things   
    My fans are maxed out just trying to parse your title.
  12. Funny
    Sakuriru got a reaction from lewdicrous in Over Priced fans. Like it up so he can do a segment about it searching the web for over priced things. Also fake things   
    My fans are maxed out just trying to parse your title.
  13. Agree
    Sakuriru got a reaction from dizmo in Over Priced fans. Like it up so he can do a segment about it searching the web for over priced things. Also fake things   
    My fans are maxed out just trying to parse your title.
  14. Agree
    Sakuriru reacted to Laborant in Good program to learn python?   
    First of all: Do not install the Python Version you find within the Microsoft Store - this gets installed in a really weird place so the VS Code Python Plugin by Microsoft does not find the Python Installation (At least I run into that problem about half a year ago, when I gave it a try).
     
    Beginners usually do not need many different packages and package versions, so I would even recommend a local install on the PC without any virtual machine. Python itself can be uninstalled cleanly off Windows if things go bad. After Python is installed, Windows listens to the commands "python" and "pip" within the PowerShell. While python executes scripts, pip is your "packet manager". To install packages, simply type "pip install numpy" (for the numpy package) and the packet will be added. 
     
    import numpy as np for example will work after that install on your system.
     
    For actual coding, I recommend installing "Visual Studio Code" (not Community 2019, just "VS Code") with Microsofts official Python and PyLance extensions. This conveniently connects to your Python installation, lets you run the Python script by pressing "F5", integrates a Powershell terminal for pip-installs and even integrates the Jupyter-Notebooks. (see below)
     
    When dealing with different package versions, I recommend using Anaconda. (But I do not recommend this to a beginner)
     
    I really like programming Python code within a "JuPyter Notebook". (See image below) This is not really the "way to go" for programming actual programs in an object oriented way, but to develop different algorithms for image processing or to set up a machine learning pipeline. The VS Code installation will connect to your installed Python and let you develop comfortably in a "document" style split into sections. Each section can be run independently but might rely on previous sections.


  15. Agree
    Sakuriru reacted to OrionFOTL in string split c#   
    Yes. Read the documentation for string.Split(). Two overloads of this method take a string[] as an argument.
     
    var text = "Hello=>here's=>some=>text=>and some symbols: 2=2, 5>4"; var delimiters = new string[] { "=>" }; string[] splittedStrings = text.Split(delimiters, StringSplitOptions.None); foreach (var part in splittedStrings) Console.WriteLine(part); // Output: // Hello // here's // some // text // and some symbols: 2=2, 5>4  
     
    The suggestions above to split on chars '=' and '>' are not acceptable, because, well, the task is to split on the string "=>", not on chars '=' and '>'.
    var text = "Hello=>here's=>some=>text=>and some symbols: 2=2, 5>4"; var separators = new char[] { '=', '>' }; string[] splittedStrings = text.Split(separators, StringSplitOptions.RemoveEmptyEntries); foreach (var part in splittedStrings) Console.WriteLine(part); // Output: // Hello // here's // some // text // and some symbols: 2 // 2, 5 // 4  
  16. Funny
  17. Like
    Sakuriru got a reaction from kirashi in Words aren't enough. We need ACTION.   
    I am an engineer and no it's not.
  18. Agree
    Sakuriru got a reaction from Derkoli in Words aren't enough. We need ACTION.   
    I am an engineer and no it's not.
  19. Like
    Sakuriru got a reaction from Blademaster91 in Words aren't enough. We need ACTION.   
    I am an engineer and no it's not.
  20. Agree
    Sakuriru got a reaction from AMD A10-9600P in Words aren't enough. We need ACTION.   
    I am an engineer and no it's not.
  21. Agree
    Sakuriru got a reaction from greenhorn in Words aren't enough. We need ACTION.   
    I am an engineer and no it's not.
  22. Like
    Sakuriru got a reaction from CivBase in Words aren't enough. We need ACTION.   
    I am an engineer and no it's not.
  23. Funny
    Sakuriru got a reaction from TetraSky in Important questions to you people from USA!   
    It's because we can't afford healthcare once it clogs our arteries.
  24. Funny
    Sakuriru got a reaction from Haraikomono in Important questions to you people from USA!   
    It's because we can't afford healthcare once it clogs our arteries.
  25. Like
    Sakuriru got a reaction from Alexeygridnev1993 in Create an OS?   
    In the words of Carl Sagan, "If you wish to make apple pie from scratch, you must first create the universe"
     
    Good luck.
×