topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • November 18, 2019, 08:34 PM
  • Proudly celebrating 13 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Stephen66515 [ switch to compact view ]

Pages: [1] 2 3 4 5 6 ... 21next
1
DC Gamer Club / Chronicles of Elyria
« on: April 15, 2019, 12:08 PM »
<Shameless Post To Recruit Community Members>

Chronicles of Elyria is an upcoming MMORPG[2][3][4] also commonly referred to as a MEOW (Multiplayer Evolving Online World), developed by Soulbound Studios for Microsoft Windows. Development of the game began in 2000 (see Development section below). Production started in 2016 with the majority of financing coming in the way of a large crowdfunding campaign. The game was originally planned for an estimated December 2017 release,[5] but delays in production due to slow acquiring of staff as well as over-engagement with the game's community led to postponement until the end of 2019.[6] In 2016, Soulbound Studios partnered with Improbable[7][8] to use SpatialOS for handling the server technology[9] of Chronicles of Elyria. However, in January 2018 the company announced[10] they were no longer using SpatialOS due to Improbable announcing [11] that SpatialOS had deprecated support for JavaScript SDK among other issues. As such they have instead incorporated piecemeal solutions such as Docker Swarm and RabbitMQ for server technology onto their own Soulborn Engine. Prologue: The Awakening, which will be able to be played both as a single-player and multiplayer game set in the same universe as Chronicles of Elyria (CoE), is also being developed. It will be free to download and play as a solo experience. For multi-player, only the GM will need to purchase an Adventure Toolkit which is used to build your own adventure.[12]
https://en.wikipedia...Chronicles_of_Elyria

3c6c58e09f3f47808ddec0ac9d5f3214.jpg
5.jpg
45c90f6634904dd38c865d3a0bf01880.jpg
84a5552d45784c4da905ab6bf5bfd96d.jpg

https://www.chroniclesofelyria.com

------------------------------

OK Now the main info is out of the way - Our County (Vesenia) is looking for new players to join our community!  We offer massive perks that most counties won't offer you (free land, equipment, low taxes and such), and also a Discord Bot (coded by yours truly) that can answer any question you have about CoE!

If you're interested, why not come say hi to us on our discord?
https://discord.gg/2N4E7p9

My Friend Code (Referral): F577DB
(this is optional if you wanna enter it!)

-Stephen!

2
Request:

A multilingual word counter and spoken word timer.

Must be:
    • Silent (Sits in the tray when not being used)
    • Called from shortcut keys outside of the software
    • Multilingual

The Problem To Be Solved:

I find myself always having to pay strict attention to word counts.  I need a utility that will be able to take clipboard content (text only), and output the word count and/or spoken word timer (how long it would take to speak that amount of text, including breathing time, at a typical spoken word speed).

I won't always want to have to manually paste text into Notepad++ or Word or whatever, in order to get a word count (sometimes I need to be able to select text blocks from documents such as PDFs), so having something to universally monitor my clipboard would be super useful.

The requirement for the utility to be multilingual is because a lot of what I am checking is in English and Italian.  So with that in mind, only being able to check the spoken time in English would become rather limiting for me.

A Picture Paints A Thousand Words:

Coding Snack Request.png




Thanks in Advance,

-Stephen

3
Unity Engine games developed with SpatialOS' cloud-based multiplayer Game Development Kit (GDK) are now in violation of Unity's terms of service, according to SpatialOS maker Improbable. The decision imperils the operation of many in-development game projects, including some that have already been released to the public.

Since its open beta release in 2017 (in partnership with Google), SpatialOS has allowed developers to easily integrate mass-scale multiplayer into their games by running a persistent version of the game in the cloud. But Improbable now says that a recent change in Unity's terms of service means the SpatialOS is essentially blocked from working with the Unity Engine.

The newly updated clause 2.4 of the Terms of Service now specifically excludes "managed service running on cloud infrastructure" which "install or execute the Unity Runtime on the cloud or a remote server." Though the terms of service were changed on December 5, Improbable says Unity confirmed directly to them this week that the update "specifically disallow services like Improbable’s to function with their engine. This was previously freely possible in their terms, as with other major engines."

Read Full Story: https://arstechnica....ialos-games-illegal/



Unity is at it once again it seems.  Perhaps they are prepping to release their own (worse) version of SoS or something, so had to think of a way to kill off competition.  Either way, it's nice of Improbable to be giving financial assistance to developers affected by this (and other help such as porting) whilst they try to resolve the issue.

5
Living Room / Question for any Ruby coders out there.
« on: December 03, 2018, 03:02 AM »
Quick (and hopefully basic) question:

I'm trying to find a method, that when I run an `exit` command, I can also exec l.sh in that terminal (basically, these are 2 discord bots, one using discordrb and one using discordjs.)

I need it to do the following (the discordjs can already launch the ruby one)

When discordrb bot is shutdown, it will exec `l.sh` - this launches the discordjs bot


Any help would be hugely appreciated <3

~Stephen

6
Hey guys,

I am in the market for a Video Editing suite.  It needs to have at least the following features (or the majority of), and be free if possible.

• Multi-track Facilities for cutting/splicing video tracks and audio tracks
• Built-in transitions
• Decent overlay features (for adding text over video)
• Green-screen editing (Not required but would be nice)
• No stupid watermarks that show up after rendering

Thanks

~Stephen

7
Living Room / Has anybody stopped to think[...]
« on: November 16, 2018, 01:17 PM »
Has anybody stopped to think maybe...just, maybe?

8
N.A.N.Y. 2019 / NANY 2019 Promo Video
« on: November 12, 2018, 03:45 PM »
(Got bored and made this with Adobe Spark!)



And for those who don't want to listen to my stupid voice talking over it:





Got even more bored...paid for Adobe Spark, and now I can brand stuff!





Day 3:





Day 4:


9
No matter how abundant or renewable, solar power has a thorn in its side. There is still no cheap and efficient long-term storage for the energy that it generates.

The solar industry has been snagged on this branch for a while, but in the past year alone, a series of four papers has ushered in an intriguing new solution.

Scientists in Sweden have developed a specialised fluid, called a solar thermal fuel, that can store energy from the sun for well over a decade.

"A solar thermal fuel is like a rechargeable battery, but instead of electricity, you put sunlight in and get heat out, triggered on demand," Jeffrey Grossman, an engineer works with these materials at MIT explained to NBC News.

The fluid is actually a molecule in liquid form that scientists from Chalmers University of Technology, Sweden have been working on improving for over a year.

This molecule is composed of carbon, hydrogen and nitrogen, and when it is hit by sunlight, it does something unusual: the bonds between its atoms are rearranged and it turns into an energised new version of itself, called an isomer.

Like prey caught in a trap, energy from the sun is thus captured between the isomer's strong chemical bonds, and it stays there even when the molecule cools down to room temperature.

When the energy is needed - say at nighttime, or during winter - the fluid is simply drawn through a catalyst that returns the molecule to its original form, releasing energy in the form of heat.

"The energy in this isomer can now be stored for up to 18 years," says one of the team, nanomaterials scientist Kasper Moth-Poulsen from Chalmers University.

"And when we come to extract the energy and use it, we get a warmth increase which is greater than we dared hope for."

A prototype of the energy system, placed on the roof of a university building, has put the new fluid to the test, and according to the researchers, the results have caught the attention of numerous investors.

Screen_Shot_2018-11-05_at_2.56.56_pm.png


Read Full Story:  https://www.sciencea...1aR9XpJk5sEZr43DNgdc

10

    NANY 2019 Entry Information

    Application Name AudioMarker
    Version Pre-Release (Test) - 20:14GMT - 04/11/18 (E66-193C)
    Short Description Learn languages through audio immersion
    Supported OSes Windows 10 (Only one I've tested on) - Probably 7 and 8 too. (.NET 4.6.1+)
    Web Page Here
    Download Link (Portable) Download (Google Drive): https://drive.google...PCuLBC5ps19e_f5lS5fH
    Last Updated 08:36GMT - 1st November 2018
    Example Word List (Italiano) * Learning.txt (38.76 kB - downloaded 252 times.) (Some words may be badly spelled as I wrote this when I first started learning!)
    Example Audio File (Italiano) * Pimsleur - Italian I - Lesson 01.mp3 (11146.99 kB - downloaded 191 times.) (Legal notice at end of this post.)
    Donate (Via DonationCoder) Donate via Donationcoder
    Donate (Via PayPal) Donate via PayPal
    Donation Notes All donations will go towards buying coffee so I can be awake to add more cool stuff to AudioMarker (and I'll probably buy the mrs something for being patient whilst I code!)
    System Requirements
    • Any Windows OS that is capable of running .NET 4.6.1 and above.
    Version History
    • Broken
    • Still broken
    • Little less broken
    • Broken but kinda working
    • Guess it works
    • IT WORKS!
    Author Click my name on this post



    Description
    I created AudioMarker by simply being a master of procrastination.  I got into learning Italian around November 2017 and me being me, decided to create some tools to help me (and subsequently spent weeks doing that instead of actually learning the language).  AudioMarker came out of the procrastination fire pit!.

    This software is designed to help those who use Audio learning tools (Things like Pimsleur) keep track of their learning progress and make lists of Native/Foreign words and phrases they have learned during their journey.

    Features

    • Create lists of Native/Foreign translations of words/phrases (which link to the current audio-track time and name if you have a file active during the session).
    • Translate to your chosen language directly from within the software. (Choose between Google Translate or DeepL Translate
    • Handly (albeit basic) notepad for making...notes.
    • YouTube (Pop-out Window) - Use YouTube fullscreen directly within AudioMarker
    • DeepL Translation added as an alternative to Google Translate
    • List of resources (Websites & Downloads) - List is editable but will come with a pre-installed selection (pre-installed list NOT added yet)
    • Export word lists as HTML
    • Export to XLS
        - Please Note:  When opening XLS files exported by AudioMarker, your spreadsheet software will ask you to choose the "separation method" - simply choose "tab" and it will all work smoothly from there.

    ---
    More features coming soon.

    Planned Features
    See post below this.

    Screenshots
    AM1.pngAM2.pngAM3.pngAM4.pngAM5.png

    Usage
    Installation
    Unzip to a folder you want to store it in.
    Run: AudioMarker.exe

    Using the Application
    Because I designed this as a learning tool, every feature within AudioMarker has "Hover-Over" tooltips, which means anything you're not sure of, just simply hover over it and you will get handy little information tidbits about what things do!

    Uninstallation
    Delete the folder with AudioMarker stuff in it.

    Tips
    None as yet.

    Known Issues
    Audio files MUST be reloaded into the software after opening.  (On my "to fix" list).
    Currently, you can only load one "set" of audio files at a time.  (You can load as many as you want, so long as you do them at the same time).  If you try to load more after an initial import, it will overwrite the current file list. (I am going to fix this).
    Translation list will add a random empty line at the end of the imported list.  I have absolutely no idea why it does this.  It causes 0 problems though so it's pretty much at the bottom of the "fix this" list.

    Known Issues (but FIXED ready for next release)




    *Note for Example Audio File*

    The audio file I have included is Copyrighted: © & ℗ 2011 - 2018 Simon & Schuster, Inc. Pimsleur® is an imprint of Simon & Schuster Audio, a division of Simon & Schuster, Inc. All rights reserved.

    The file itself is legally available to download from: https://www.pimsleur.com/free-lesson under their "Try Pimsleur for Free" program. - I am not affiliated with Pimsleur in any way.
    [/list]

    11
    Living Room / Warning: Do not download "Pip Cam" for Android
    « on: September 15, 2018, 10:27 AM »
    Pip Cam for android, on the surface, looks to be a legitimate camera app (filters and all that jazz), but actively takes over your phone system and displays invasive advertisements over every other app you are using...all of the time.

    I just spent the last hour trying to work out what was making my mothers phone (Razr) unusable due to an invasion of ads, and within that hour I got shown around 150+ ads that, some of them couldn't be skipped at all (or just closed instantly).

    As it transpires, after a bit of digging around to wtf she had installed, I noticed that Android had mentioned on the dtopdown bar that Pip Cam was "drawing" over other apps...not liking the sound of a camera app being able to do that, I uninstalled it...the second I did....the search icon that was glued to the screen was there no longer, and all the ads stopped instantly.

    I provide the link to the Play Store listing for it purely so you can see which it is, and which you should to remove if you come across anybody else with this issue:

    https://play.google....pcamera&hl=en_GB

    ~Stephen

    12
    For the last 8 months or so, I have been studying Italian.  I want to now share with you the tools I have been using!
    (Negli ultimi 8 mesi ho studiato italiano. Desidero ora condividere con voi gli strumenti che ho usato!)

    For those curious: I am learning it with my partner mainly for fun, but also because we plan to eventually move to Italy (Somewhere around Scalea in Calabria, Southern Italy).  It's a beautiful language with an amazing history and has dragged me so deep into the learning experience that it's pretty much all I do in my free time now!

    So...on to the tools, apps, software, etc!

    Rosetta Stone (Downloadable Software OR Mobile App)
    Now, although this is not free (or cheap for that matter), it is one of the best tools you can find for learning a language (pretty much any language!).  I've been using this almost daily (with a few breaks here and there) and have not regretted the money I have spent on it even once.

    You can choose to get the downloadable version (one price, yours forever), or the app version (subscription).  They both have their own merits and which version you want depends entirely on your own learning needs.  The downloadable version (what I use) is one static price and you keep it forever, where the app is a subscription service.  The app has the advantage of having the ability to connect with native speakers and book tutor time with them!

    Edit/Update: The only available payment method now is the monthly/yearly subscription.


    Learn Italian with Paul Noble (Audio Book [Audible/CD/MP3 + Accompanying PDF])
    Now, I've only listened to the first 2 hours of this audiobook so far, but have read the PDF about 5 times!  It's a very VERY useful resource and has actually increased my vocabulary quite a lot and I have been recommending this audiobook to quite a few people!


    Duolingo (Online/App)
    Now...be warned with this...Although it IS a great free resource for learning very basic phrases/individual words, it also teaches you some things that are not actually correct, and some other things that you question if you're even awake (things like "he takes the tiger from the zoo and gives it the meat"...I mean...that's a super useful sentence right there.....OH...and there is also the super creepy moments where it asks you to translate "why do we die" and then "they are among us" right after each other).  So yeah...use it on the basis it is free, but remember that you get what you pay for...and this is free ;)

    Italian Learning and Language Server (Discord):
    Super helpful community who will happily help non-natives learn the language (Speak directly to native Italians and other learners via voice or text, completely free!)

    https://discord.gg/b5tqJDb

    -----

    Once I get an extra bit of spare time, I will also add a list of all the Android Apps I have been using (around 20 or so of them!)

    In the meantime, if anybody else has any great resources to add to this, please feel free to share!!!

    ~Stephen

    13
    DC Gamer Club / PokéQuest - A Pokémon Adventure On Discord.
    « on: June 30, 2018, 05:51 PM »
    Update: I am now part of the Development team for PokéQuest :)

    I'm going to shamelessly advertise a Discord Bot that is very close to me right now! :P

    PokéQuest closely follows the original Pokémon games, but on Discord.  At the moment there are ~250 Poké's available (Gen 1 + Gen 2) with more to follow (the bot is still quite new so generations are coming out in order)

    Oh...it's also very graphical! (Not just pure text based!)

    In terms of the features available, there are quite a few, some of which I have listed below:

    • Searching
    • Fishing
    • Catching
    • Exploring (New feature which allows you to get bonus items)
    • Trading
    • PvP (Multiple modes)
    • Shops
    • Gambling
    • Gyms
    • Trainers
    • Much More!

    Check out some of the screenshots below!

    Screenshot - 30_06_2018 , 19_19_45.pngScreenshot - 30_06_2018 , 19_20_08.pngScreenshot - 30_06_2018 , 19_20_23.pngScreenshot - 30_06_2018 , 19_21_05.png
    Screenshot - 30_06_2018 , 19_21_27.pngScreenshot - 30_06_2018 , 19_21_44.pngScreenshot - 30_06_2018 , 19_22_02.pngScreenshot - 30_06_2018 , 19_23_29.png
    Screenshot - 30_06_2018 , 19_24_43.pngScreenshot - 30_06_2018 , 19_26_06.pngScreenshot - 30_06_2018 , 19_26_32.pngScreenshot - 30_06_2018 , 19_26_40.pngScreenshot - 30_06_2018 , 19_26_47.png
    Screenshot - 30_06_2018 , 19_27_09.pngScreenshot - 30_06_2018 , 19_27_17.pngScreenshot - 30_06_2018 , 19_27_48.pngScreenshot - 30_06_2018 , 19_28_02.png



    I honestly cannot say enough good things about this bot - it's constantly being updated, bugs are always fixed, the community is fantastic and it's a very fun time-waster! (albeit very frustrating when you can't beat a gym  ;D!!!)

    Check it out on the official server: https://discord.gg/QuG4fE4
    Invite it to your own private server: http://discordapp.co...095169&scope=bot

    :D

    ~Stephen

    14
    Developer's Corner / The Art of ASSEMBLY LANGUAGE PROGRAMMING
    « on: April 24, 2018, 03:53 PM »
    Forward Why Would Anyone Learn This Stuff?
    Amazing! You're actually reading this. That puts you into one of three categories: a student who is being forced to read this stuff for a class someone who picked up this book by accident (probably because you have yet to be indoctrinated by the world at large) or one of the few who actually have an interest in learning assembly language.

    Egads. What kind of book begins this way? What kind of author would begin the book with a forward like this one? Well the truth is I considered putting this stuff into the first chapter since most people never bother reading the forward. A discussion of what's right and what's wrong with assembly language is very important and sticking it into a chapter might encourage someone to read it. However I quickly found that university students can skip Chapter One as easily as they can skip a forward so this stuff wound up in a forward after all.

    So why would anyone learn this stuff anyway? Well there are several reasons which come to mind:
    Your major requires a course in assembly language; i.e. you're here against your will.
    A programmer where you work quit. Most of the source code left behind was written in assembly language and you were elected to maintain it.
    Your boss has the audacity to insist that you write your code in assembly against your strongest wishes.
    Your programs run just a little too slow or are a little too large and you think assembly language might help you get your project under control.
    You want to understand how computers actually work.
    You're interested in learning how to write efficient code.
    You want to try something new.
    Well whatever the reason you're here welcome aboard. Let's take a look at the subject you're about to study.


    1. WHAT'S WRONG WITH ASSEMBLY LANGUAGE   
    Top

    Assembly language has a pretty bad reputation. The common impression about assembly language programmers today is that they are all hackers or misguided individuals who need enlightenment. Here are the reasons people give for not using assembly:
    Assembly is hard to learn.
    Assembly is hard to read and understand.
    Assembly is hard to debug.
    Assembly is hard to maintain.
    Assembly is hard to write.
    Assembly language programming is time consuming.
    Improved compiler technology has eliminated the need for assembly language.
    Today machines are so fast that we no longer need to use assembly.
    If you need more speed you should use a better algorithm rather than switch to assembly language.
    Machines have so much memory today saving space using assembly is not important.
    Assembly language is not portable.


    Potato Sauce: http://www.oopweb.co...mbly/Volume/toc.html

    15
    Python. Client side.
    Skulpt is an entirely in-browser implementation of Python.

    No preprocessing, plugins, or server-side support required, just write Python and reload.

    Demo
    The code is run entirely in your browser, so don't feel obligated to "crash the server", you'll only stub your toe. Help, or examples: 1 2 3 4 5 6 7 8. Ctrl-Enter to run.

    Sexy Sauce: http://www.skulpt.org
    GIT Sauce: https://github.com/skulpt/

    16
    Developer's Corner / x86 Assembly Guide
    « on: April 24, 2018, 02:37 PM »
    This is a version adapted by Quentin Carbonneaux from David Evans' original document. The syntax was changed from Intel to AT&T, the standard syntax on UNIX systems, and the HTML code was purified.

    This guide describes the basics of 32-bit x86 assembly language programming, covering a small but useful subset of the available instructions and assembler directives. There are several different assembly languages for generating x86 machine code. The one we will use in CS421 is the GNU Assembler (gas) assembler. We will uses the standard AT&T syntax for writing x86 assembly code.

    The full x86 instruction set is large and complex (Intel's x86 instruction set manuals comprise over 2900 pages), and we do not cover it all in this guide. For example, there is a 16-bit subset of the x86 instruction set. Using the 16-bit programming model can be quite complex. It has a segmented memory model, more restrictions on register usage, and so on. In this guide, we will limit our attention to more modern aspects of x86 programming, and delve into the instruction set only in enough detail to get a basic feel for x86 programming.

    Registers
    Modern (i.e 386 and beyond) x86 processors have eight 32-bit general purpose registers, as depicted in Figure 1. The register names are mostly historical. For example, EAX used to be called the accumulator since it was used by a number of arithmetic operations, and ECX was known as the counter since it was used to hold a loop index. Whereas most of the registers have lost their special purposes in the modern instruction set, by convention, two are reserved for special purposes — the stack pointer (ESP) and the base pointer (EBP).

    For the EAX, EBX, ECX, and EDX registers, subsections may be used. For example, the least significant 2 bytes of EAX can be treated as a 16-bit register called AX. The least significant byte of AX can be used as a single 8-bit register called AL, while the most significant byte of AX can be used as a single 8-bit register called AH. These names refer to the same physical register. When a two-byte quantity is placed into DX, the update affects the value of DH, DL, and EDX. These sub-registers are mainly hold-overs from older, 16-bit versions of the instruction set. However, they are sometimes convenient when dealing with data that are smaller than 32-bits (e.g. 1-byte ASCII characters).



    Hot Sauce: http://flint.cs.yale...ers/x86-asm/asm.html

    17
    Welcome to PyBrain
    PyBrain is a modular Machine Learning Library for Python. Its goal is to offer flexible, easy-to-use yet still powerful algorithms for Machine Learning Tasks and a variety of predefined environments to test and compare your algorithms.

    PyBrain is short for Python-Based Reinforcement Learning, Artificial Intelligence and Neural Network Library. In fact, we came up with the name first and later reverse-engineered this quite descriptive "Backronym".

    How is PyBrain different?
    While there are a few machine learning libraries out there, PyBrain aims to be a very easy-to-use modular library that can be used by entry-level students but still offers the flexibility and algorithms for state-of-the-art research. We are constantly working on more and faster algorithms, developing new environments and improving usability.
    What PyBrain can do
    PyBrain, as its written-out name already suggests, contains algorithms for neural networks, for reinforcement learning (and the combination of the two), for unsupervised learning, and evolution. Since most of the current problems deal with continuous state and action spaces, function approximators (like neural networks) must be used to cope with the large dimensionality. Our library is built around neural networks in the kernel and all of the training methods accept a neural network as the to-be-trained instance. This makes PyBrain a powerful tool for real-life tasks.
    Using PyBrain
    PyBrain is open source and free to use for everyone (it is licensed under the BSD Software Licence). Just download it and start using the algorithms and modules in your own project or have a look at the provided tutorials and examples. If you use PyBrain for your research, we kindly ask you to cite us in your publications. Use the reference below or import this bibtex reference.

    Pickle Sauce: http://pybrain.org

    18
    Developer's Corner / [Mini-Course] Instant Python
    « on: April 21, 2018, 08:06 PM »
    This is a minimal crash-course in the programming language Python. To learn more, take a look at the documentation at the Python web site, www.python.org; especially the tutorial. If you wonder why you should be interested, check out the comparison page where Python is compared to other languages.

    This introduction has been translated into several languages, among them Portuguese, Italian, Spanish, Russian, French, Lithuanian, Japanese, German and Greek, and is currently being translated into Norwegian, Polish, and Korean. Since this document still might undergo changes, these translations may not always be up to date.

    Note: To get the examples working properly, write the programs in a text file and then run that with the interpreter; do not try to run them directly in the interactive interpreter - not all of them will work. (Please do not ask me for details on this! I get swamped with emails on the subject… Check the documentation, or send an email to [email protected]).

    The Basics
    To begin with, think of Python as pseudo-code. It’s almost true. Variables don’t have types, so you don’t have to declare them. They appear when you assign to them, and disappear when you don’t use them anymore. Assignment is done by the = operator. Equality is tested by the == operator. You can assign several variables at once:

    x,y,z = 1,2,3

    first, second = second, first

    a = b = 123
    Blocks are indicated through indentation, and only through indentation. (No BEGIN/END or braces.) Some common control structures are:

    if x < 5 or (x > 10 and x < 20):
        print "The value is OK."

    if x < 5 or 10 < x < 20:
        print "The value is OK."

    for i in [1,2,3,4,5]:
        print "This is iteration number", i

    x = 10
    while x >= 0:
        print "x is still not negative."
        x = x-1
    The first two examples are equivalent.

    The index variable given in the for loop iterates through the elements of a list (written as in the example). To make an “ordinary” for loop (that is, a counting loop), use the built-in function range().

    # Print out the values from 0 to 99 inclusive.
    for value in range(100):
        print value
    (The line beginning with “#” is a comment, and is ignored by the interpreter.)

    Okay; now you know enough to (in theory) implement any algorithm in Python. Let’s add some basic user interaction. To get input from the user (from a text prompt), use the builtin function input.

    x = input("Please enter a number: ")
    print "The square of that number is", x*x
    The input function displays the prompt given (which may be empty) and lets the user enter any valid Python value. In this case we were expecting a number — if something else (like a string) is entered, the program would crash. To avoid that we would need some error checking. I won’t go into that here; suffice it to say that if you want the user input stored verbatim as a string (so that anything can be entered), use the function raw_input instead. If you wanted to convert the input string s to an integer, you could then use int(s).

    Note: If you want to input a string with input, the user has to write the quotes explicitly. In Python, strings can be enclosed in either single or double quotes.

    So, we have control structures, input and output covered — now we need some snazzy data structures. The most important ones are lists and dictionaries. Lists are written with brackets, and can (naturally) be nested:

    Chilli Sauce: http://hetland.org/w.../instant-python.html

    19
    Developer's Corner / Basic Excel Skills
    « on: April 21, 2018, 08:04 PM »
    BASIC EXCEL SKILLS
    Now a days, any job requires basic Excel skills. These basic Excel skills are – familiarity with Excel ribbons & UI, ability to enter and format data, calculate totals & summaries thru formulas, highlight data that meets certain conditions, creating simple reports & charts, understanding the importance of keyboard shortcuts & productivity tricks. Based on my experience of training more than 5,000 students in various online & physical training programs, the following 6 areas form the core of basic Excel skills.
    GETTING STARTED
    Excel is a massive application with 1000s of features and 100s of ribbon (menu) commands. It is very easy to get lost once you open Excel. So one of the basic survival skills is to understand how to navigate Excel and access the features you are looking for.





    Marinara Sauce: http://chandoo.org/wp/excel-basics

    20
    Developer's Corner / The Scala Programming Language
    « on: April 21, 2018, 07:58 PM »
    Scala combines object-oriented and functional programming in one concise, high-level language. Scala's static types help avoid bugs in complex applications, and its JVM and JavaScript runtimes let you build high-performance systems with easy access to huge ecosystems of libraries.

    Sweet Sauce: http://www.scala-lang.org

    21
    Developer's Corner / Full Stack Python [Tutorial]
    « on: April 21, 2018, 07:51 PM »
    Introduction
    You're knee deep in learning the Python programming language. The syntax is starting to make sense. The first few "ahh-ha!" moments hit you as you learning conditional statements, for loops and classes while playing around with the open source libraries that make Python such an amazing language.

    Now you want to take your initial Python knowledge and make something real, like an application that's available on the web that you can show off or sell as a service to other people. That's where Full Stack Python comes in. You've come to the right place to learn everything you need to create, deploy and operate production Python web applications.

    This guide branches out on topic because your learning requirements depend on what you're working on. Select one of the buttons below or check out the full table of contents.

    Tomato Sauce: http://www.fullstackpython.com

    22
    Developer's Corner / Free Computer Science Ebooks and Resources
    « on: April 21, 2018, 07:49 PM »
    C & C++   Calvert, Charlie: Borland C++ Builder 4 Unleashed (Sams Publishing)  |  mirror  |  mirror
    Chapman, Davis: Visual C++ 6 in 21 Tagen. Markt&Technik
    Eckel, Bruce: Thinking in C++ (1.6 MB)  |  at amazon.com
    Heller, Steve: Optimizing C++. Prentice-Hall 1999
    Kernighan, Brian W.; Dennis M. Ritchie: The C Programming Language. Prentice-Hall 1988  |  mirror  |  mirror
    Oualline, Steve: C Elements of Style (M & T)
    Williams, Mickey: Sams Teach Yourself Visual C++ 5 in 24 Hours

    (there are wayyyy more than this)

    Sauce: http://mic-ro.com/informatik/ebooks.html

    23
    If you look at the disassembly of functions inside Windows DLLs, you'll find that they begin with the seemingly pointless instruction MOV EDI, EDI. This instruction copies a register to itself and updates no flags; it is completely meaningless. So why is it there?

    It's a hot-patch point.

    The MOV EDI, EDI instruction is a two-byte NOP, which is just enough space to patch in a jump instruction so that the function can be updated on the fly. The intention is that the MOV EDI, EDI instruction will be replaced with a two-byte JMP $-5 instruction to redirect control to five bytes of patch space that comes immediately before the start of the function. Five bytes is enough for a full jump instruction, which can send control to the replacement function installed somewhere else in the address space.

    Although the five bytes of patch space before the start of the function consists of five one-byte NOP instructions, the function entry point uses a single two-byte NOP.

    Why not use Detours to hot-patch the function, then you don't need any patch space at all.

    The problem with Detouring a function during live execution is that you can never be sure that at the moment you are patching in the Detour, another thread isn't in the middle of executing an instruction that overlaps the first five bytes of the function. (And you have to alter the code generation so that no instruction starting at offsets 1 through 4 of the function is ever the target of a jump.) You could work around this by suspending all the threads while you're patching, but that still won't stop somebody from doing a CreateRemoteThread after you thought you had successfully suspended all the threads.

    Why not just use two NOP instructions at the entry point?

    Sauce: https://blogs.msdn.m...newthing/20110921-00

    24
    Developer's Corner / Guide To GIT (Git Magic)
    « on: April 21, 2018, 07:43 PM »
    No idea when this was written, or if it's still relevant, but I'm on StumbleUpon (Bored out of my mind) and it came up, so I figured it was worth posting:

    www-cs-students.stanford.edu/~blynn/gitmagic

    Preface
    Git is a version control Swiss army knife. A reliable versatile multipurpose revision control tool whose extraordinary flexibility makes it tricky to learn, let alone master.

    As Arthur C. Clarke observed, any sufficiently advanced technology is indistinguishable from magic. This is a great way to approach Git: newbies can ignore its inner workings and view Git as a gizmo that can amaze friends and infuriate enemies with its wondrous abilities.

    Rather than go into details, we provide rough instructions for particular effects. After repeated use, gradually you will understand how each trick works, and how to tailor the recipes for your needs.

    Translations

    Simplified Chinese: by JunJie, Meng and JiangWei. Converted to Traditional Chinese via cconv -f UTF8-CN -t UTF8-TW.
    French: by Alexandre Garel, Paul Gaborit, and Nicolas Deram. Also hosted at itaapy.
    German: by Benjamin Bellee and Armin Stebich; also hosted on Armin’s website.
    Italian: by Mattia Rigotti.
    Korean: by Jung-Ho (John) Han; also hosted on John’s website.
    Polish: by Damian Michna.
    Brazilian Portuguese: by José Inácio Serafini and Leonardo Siqueira Rodrigues.
    Russian: by Tikhon Tarnavsky, Mikhail Dymskov, and others.
    Spanish: by Rodrigo Toledo and Ariset Llerena Tapia.
    Ukrainian: by Volodymyr Bodenchuk.
    Vietnamese: by Trần Ngọc Quân; also hosted on his website.
    Other Editions

    Single webpage: barebones HTML, with no CSS.
    PDF file: printer-friendly.
    EPUB file: E-reader-friendly.
    Debian package, Ubuntu package: get a fast and local copy of this site. Handy when this server is offline.
    Physical book [Amazon.com]: 64 pages, 15.24cm x 22.86cm, black and white. Handy when there is no electricity.
    Thanks!
    I’m humbled that so many people have worked on translations of these pages. I greatly appreciate having a wider audience because of the efforts of those named above.

    Dustin Sallings, Alberto Bertogli, James Cameron, Douglas Livingstone, Michael Budde, Richard Albury, Tarmigan, Derek Mahar, Frode Aannevik, Keith Rarick, Andy Somerville, Ralf Recker, Øyvind A. Holm, Miklos Vajna, Sébastien Hinderer, Thomas Miedema, Joe Malin, Tyler Breisacher, Sonia Hamilton, Julian Haagsma, Romain Lespinasse, Sergey Litvinov, Oliver Ferrigni, David Toca, Сергей Сергеев, Joël Thieffry, and Baiju Muthukadan contributed corrections and improvements.

    François Marier maintains the Debian package originally created by Daniel Baumann.

    My gratitude goes to many others for your support and praise. I’m tempted to quote you here, but it might raise expectations to ridiculous heights.

    If I’ve left you out by mistake, please tell me or just send me a patch!

    License
    This guide is released under the GNU General Public License version 3. Naturally, the source is kept in a Git repository, and can be obtained by typing:

    $ git clone git://repo.or.cz/gitmagic.git  # Creates "gitmagic" directory.
    or from one of the mirrors:

    $ git clone git://github.com/blynn/gitmagic.git
    $ git clone git://git.assembla.com/gitmagic.git
    $ git clone [email protected]:blynn/gitmagic.git
    GitHub, Assembla, and Bitbucket support private repositories, the latter two for free.

    25
    General Software Discussion / GodMode - Windows 10 Tip
    « on: April 14, 2018, 10:55 AM »
    1.png

    I went to university today and during class I heard a peer talking about the troubles he was having trying to located a certain setting within Windows. I suggested God mode to him and when the entire class thought I was joking I realized that this "hidden feature" isn't as common as I thought it was so I thought I'd share with imgur and maybe it will help out fellow IT guys and gals! (or even the average user)

    First create a new folder

    2.png

    Secondly you are gonna want to name the folder the following
    GodMode.{ED7BA470-8E54-465E-825C-99712043E01C} (for Windows 10 Creators Edition and above, use the code below
    • )

    Then press enter

    Win 10 Creators Edition and Above

    *Update. Right-click desktop, select New --> Shortcut, and paste the text below:


    %windir%\explorer.exe shell:::{ED7BA470-8E54-465E-825C-99712043E01C}

    To change the icon, right-click the new shortcut, select Properties, go to the Shortcut tab, click Change Icon, and paste the text below:

    %windir%\System32\imageres.dll The icon is the 6th from the left in the third row. Or use any other icon you like.

    3.png

    BOOM, the folder icon will change to a cool little control panel

    4.png

    Open it up and enjoy all the settings windows has to offer!

    Hope this helps someone!


    Source: https://imgur.com/gallery/NTFgg
    Author: https://imgur.com/user/IsNice


    Pages: [1] 2 3 4 5 6 ... 21next