• Breaking News

    Wednesday, May 2, 2018

    Latest Humble Bundle includes a 6 month subscription to Egghead.io at the $20 tier... learn programming

    Latest Humble Bundle includes a 6 month subscription to Egghead.io at the $20 tier... learn programming


    Latest Humble Bundle includes a 6 month subscription to Egghead.io at the $20 tier...

    Posted: 02 May 2018 01:42 PM PDT

    https://www.humblebundle.com/software/python-dev-kit-bundle?hmb_source=navbar&hmb_medium=product_tile&hmb_campaign=tile_index_3

    Go and check it out. I don't really care too much about all the other python stuff included, but tons of stuff for $20!

    submitted by /u/FullstopCoding
    [link] [comments]

    Humble Bundle - Python Dev Kit - PyCharm Pro, EggHead, Py Up, Books, and more all for $20 or less.

    Posted: 02 May 2018 03:22 PM PDT

    What's the new version of Reddit programmed in?

    Posted: 02 May 2018 11:10 AM PDT

    I really like the interface, tile format and button control. How do I learn how to build something like this? Is this using Javascript? Or Ruby?

    submitted by /u/linkuei-teaparty
    [link] [comments]

    Good videos for learning algorithms

    Posted: 02 May 2018 05:35 AM PDT

    Hey there guys,

    I posted the other day asking about how i could learn/study algorithms and I got a lot of suggestions which were great but I found the Youtube channel that has many video's on algorithms and The Big O that are really helpful and just thought i should share it with you in case anyone else was in my position

    Link to algorithms playlist ------> https://www.youtube.com/watch?v=pkkFqlG0Hds&index=0&list=PL2_aWCzGMAwKedT2KfDMB9YA5DgASZb3U

    Happy Studies !

    submitted by /u/SalmanM
    [link] [comments]

    Easy way to read a Twitch chat in Python?

    Posted: 02 May 2018 09:26 PM PDT

    As a beginner with Python, I am attempting to read a twitch chat and print each message to my console. Problem is, I'm not sure where to start. I've been told to look at making an IRC bot, but this stuff seems way to complex for me... I've been looking at this link, but am confused about how to actually use this.. Any help/downvotes appreciated.

    submitted by /u/Vezqi
    [link] [comments]

    Are daily stand-up meetings in scrums really helpful?

    Posted: 02 May 2018 11:12 PM PDT

    What is your stand on this? Does it improve collaboration, or is it just another tool that promotes micromanagement?

    submitted by /u/plegm
    [link] [comments]

    How do I make programming friends?

    Posted: 02 May 2018 04:51 PM PDT

    I've been steadily teaching myself python3 for a couple months now. It usually helps a lot when I can bounce project ideas off of someone else so I try to talk about it with my friends but it's kinda lost on them (can't really blame them tbh) So is there like a social network for developers or something? I haven't found anything promising when using the all powerful google. (and no, git-hub doesn't count) Further-more, do you even think anything along the lines of a "face-book for programmers" would even gain any traction?

    submitted by /u/HighImpactAnxiety
    [link] [comments]

    Is DFS using adjacency lists much slower than using a vector in C++? Or is there an infinite loop?

    Posted: 02 May 2018 11:55 PM PDT

    Trying to solve this problem about the maximum number of edges one can add to a certain tree so that it's still a bipartite graph. I went with the "let's code everything ourselves" approach and limited myself to C. Here's my code. I looked at others' submissions and they used similar approaches but almost all of them used the vector class in C++. My code works fine on most tests including ones with n = 100,000, running them in <50 ms, but then there's a test where one node has loads of edges and it times out at >2000 ms. Why? Even if you use a vector, the amount of recursive calls should still be the same, which should be the limiting factor here in terms of speed, right?

    submitted by /u/RivellaLight
    [link] [comments]

    I need help coding a game

    Posted: 02 May 2018 06:09 AM PDT

    I'm a 13 year old wanting-to-be-a-programmer, and a group of my friends and I thought of creating a simple 2D RPG game, that is based on player's decisions (I know that's kind of hard to code).

    The problem is, I don't know much about coding. The only experience I've had is working with scratch, basic html codes (change font, change alignment, colour, make tables, add images, links, etc.) and the little amount of python 3 codes I've learnt from school.

    I think it'd be amazing to be able to make such a game, but I'm sure I'd need to know a lot of stuff first. So, if someone can help me by answering the following questions:

    1. Which coding software is most suitable for a 2D RPG (short) game?

    2. What is the predicted time it will take?

    3. What is the best website to learn coding?

    4. What is the best software for drawing the art for the game? (I know it's not related to coding but it would really help if you'd know)

    5. Do I have to spend money on this? Or are the software programs free?

    That's all for now, thanks!

    submitted by /u/mrfrickfrack32
    [link] [comments]

    [psa] Pycharm professional licenses, digital ocean credit, and gitkraken pro license for sale on humblebundle

    Posted: 02 May 2018 12:48 PM PDT

    They come in the Humble Software Bundle.
    There are some others tools as well and courses/books centering around python, but i think the ones i listed would be beneficial for most people. Just pointing it out .

    Here's a link, not sure if it's allowed. https://www.humblebundle.com/software/python-dev-kit-bundle

    submitted by /u/LuckyPancake
    [link] [comments]

    Struggling with programming, junior in college

    Posted: 02 May 2018 11:18 PM PDT

    Operating systems class is a nightmare, I will probably fail it.

    I got by in data structures lab with partners, I never coded anything myself. Object oriented design class was also a nightmare because it was more design than coding (pseudo code, which I never got right).

    How can I stop being helpless whenever I get an assignment? Should I just pick up CTCI (I already own it) crack it open and work problems? Do project euler problems? Work on projects (have tried this and found myself needing help for mostly everything)?

    I am a kid in a well with no rope to pull myself up with.. I don't know what to do. I have an internship this summer in C# and I feel like I'm going to be an absolutely useless intern with good work ethic..

    submitted by /u/bakednarc
    [link] [comments]

    SQL "command not properly ended" - can't see what I'm doing wrong here..

    Posted: 02 May 2018 10:42 PM PDT

    I'm trying to learn INSERT...SELECT statements but I can't figure out why I'm getting the error:

    Error at Command Line : 125 Column : 1 Error report - SQL Error: ORA-00933: SQL command not properly ended 00933. 00000 - "SQL command not properly ended"

    The error is occurring at the line of the SELECT keyword. Any help is much appreciated.

    INSERT INTO athlete VALUES (ATHLETE_athleteno_SEQ.currval, tourndate, NULL, NULL, NULL, NULL, 2222, racetypecode, NULL) SELECT t.tourndate, r.racetypecode FROM tournament t JOIN racetype r ON t.tourndate = r.tourndate WHERE tournname = 'Miami Tournament 2018'; 
    submitted by /u/HoodSmart
    [link] [comments]

    Tutorial content creators: Do you feel it was worth your time/effort to create tutorials?

    Posted: 02 May 2018 12:38 PM PDT

    So, I'm gaining comfort with a couple of languages to the point where I'm considering developing tutorial (videos), though I'm hesitant.

    Have any of you developed/shared tutorials as a supplement to your own learning? What was your experience? Was it a good investment of time?

    edit: i don't word so good

    submitted by /u/drptdrmaybe
    [link] [comments]

    [Python 2.7] Handles, dwords, and bytes oh my!

    Posted: 02 May 2018 10:21 PM PDT

    This is the first time I'm trying to use functions from an imported DLL. So far the code goes as follows:

    from ctypes import * mydll = cdll.LoadLibrary("C:\\AURA_SDK.dll") mydll.SetMbColor() 

    Which works great up to calling the function..., which yields this error:

    Traceback (most recent call last): File "C:\Users\Benny\Desktop\aurascript.py", line 3, in <module> mydll.SetMbColor() ValueError: Procedure called with not enough arguments (12 bytes missing) or wrong calling convention 

    I can tell this is because the function requires arguments to be passed to it, and upon looking at documentation, I found this:

     SetMbColor() This function is used to set a block of color settings to all of the lights hold by the specified controller. The color setting to a light is three bytes in length, and in turn each of the bytes contains one value of the red, the green, or the blue values. Syntax DWORD WINAPI GetMbMbColor( _In_ void* handle, _In_ BYTE* color, _In_ DWORD size ); Parameters handle [in] A valid pointer to a controller. color [in] A well-allocated memory space that is prepared with determined color settings for all of the lights hold by the specified controller. The allocated memory space must be prepared exactly to the same size in byte required by all of the lights of the controller, and the size parameter must be given the value as the exact size of this prepared memory space. size [in] This parameter contains the length of the memory space, which is passed in through the color parameter. This parameter must be given the value as the exact size of the memory space for the color settings in byte required by all of the lights of the controller. If this parameter contains a value that is not equal to the exact size of the memory space required for setting the color settings, -1 will be returned from this function. 

    ...which is complete jibberish to a programming monkey such as me. I greatly appreciate any help figuring out how to pass these arguments to the function!

    submitted by /u/bennyd87708
    [link] [comments]

    I think I'm really interested in low-level stuff, like Assembly. What can I do with this? (either professionally or just for fun)

    Posted: 02 May 2018 11:16 AM PDT

    Title pretty much says it all, but basically I just finished a class on low-level programming and I think I really like it. I'm always very intrigued when I see it pop up in the wild (like this, or like that Super Mario 64 video). I know a couple high-level languages and nothing in that regard has piqued my interest like this.

    I just want to know, whether as a hobby or in a professional setting, how I can further explore the low-level.

    submitted by /u/drfeelgood246
    [link] [comments]

    Automation Downloading

    Posted: 02 May 2018 09:20 PM PDT

    Hey reddit,

    So I download PDF files all the time for my programming interests, but I always come across a series of PDFs and it takes to long to download each one at a time. Example: xxx.xx/homework/assignment22.pdf, xxx.xx/homework/assignment21.pdf, etc. How could I download a series of PDFs for example homework assignment 1-22 by creating a program that changes the URL and executes a download. Any ideas how I might approach this?

    submitted by /u/DevPassion12
    [link] [comments]

    How to learn to code in C?

    Posted: 02 May 2018 09:20 PM PDT

    Whats the best way to learn to code in C

    submitted by /u/TendererMean000
    [link] [comments]

    [HELP] I'm making a software like MS Word...

    Posted: 02 May 2018 09:14 PM PDT

    I'm making a Software like MS Word using Electron & Angular. My problem right now is how do I make the inputted/written text on the Text Area be bold, italic, underlined, etc... In just a press of a button, like if you press the "B" button on the ribbon, the highlighted text or the following text will appear as a Bold text and so on...

    Right now, I'm not on the process of making it, but instead I'm just gathering idea on how to do things, designs, UI's, and features to be included.

    submitted by /u/xAegir
    [link] [comments]

    [Python] How to load and use DLL functions

    Posted: 02 May 2018 05:18 PM PDT

    I'm attempting to write a program that can alter the LEDS on my ASUS AURA motherboard and graphics card using the AURA SDK available from their website. According to the reference flow chart from the guide page, one should first "Load the main library file AURA_SDK.dll with the help of the Win32 API LoadLibrary()."

    With help from google, I have managed to get this far:

    from ctypes import * mydll = cdll.LoadLibrary("C:\\AURA_SDK.dll")) 

    which just gives this error:

    Traceback (most recent call last): File "C:/Users/Benny/Desktop/aurascript.py", line 2, in <module> mydll = cdll.LoadLibrary("C:\\AURA_SDK.dll") File "C:\Users\Benny\AppData\Local\Programs\Python\Python36\lib\ctypes\__init__.py", line 426, in LoadLibrary return self._dlltype(name) File "C:\Users\Benny\AppData\Local\Programs\Python\Python36\lib\ctypes\__init__.py", line 348, in __init__ self._handle = _dlopen(self._name, mode) OSError: [WinError 193] %1 is not a valid Win32 application 

    After about a half an hour of google and random YouTube tutorials, I can safely that I am stumped. Any insight into how to continue with this project would be greatly appreciated.

    submitted by /u/bennyd87708
    [link] [comments]

    Depressed and Looking for advice on how to improve myself.

    Posted: 02 May 2018 05:16 PM PDT

    Here's kind of a back story to the problem that I have: I went to Uni (it's a good one in the US, not mentioning the name because my friends and colleagues browse this subreddit) and got a software engineering degree. After that, I have been programming for a couple of years now, mainly web dev etc, and based on that experience and my degree I got hired as a Software Developer at a good company (Again,it's good US based company). The thing is, I haven't done a lot of object oriented programming and in my present environment the main technology in use is Java, and it is a little new to me. I see that some of the junior developers who have been with the company for a year or two now,write so much better code than me that I am beginning to think whether they made a mistake hiring me as a Software Dev, and maybe I am still at a Junior Dev level. Sometimes I think I might not even be cut out to be a software developer at all, if someone with a lot less experience than me can write code that's far superior than mine. I am completely de motivated and depressed these days because I feel like crap at work day after day.

    Does anyone else feel like this at their job? I have no idea where to start, or what to do, but something needs to be done so that I can improve myself. I am looking for some real advice to improve myself.

    submitted by /u/noobprogramm
    [link] [comments]

    Help with gene expression analysis using R

    Posted: 02 May 2018 08:31 PM PDT

    Does anyone no of any good videos or website that teaches on how to analyze micro array data? I kind of want to run KNN clustering on a data set heatmaps etc.

    submitted by /u/kkcronic
    [link] [comments]

    Need help with SQLite Databases in Android Studio

    Posted: 02 May 2018 08:19 PM PDT

    Basically I am creating a flash card application that allows the user to create Deck objects which have name and description attributes. Each Deck has a series of Cards, which have question and answer attributes, associated with it. The cards are unique to the Deck they exist in.

    I want to use SQL to save the data related to the Deck and Card objects. I have an SQL table set up to save Deck objects. For each row in the Deck table, I need a way to save multiple Card instances. My original plan was to have the program create a new table to hold Cards for each row in the DECK TABLE. The names for these CARD TABLES would be tied to the primary key of the DECK TABLE row in question. So any time the user decided to create a new Deck (by clicking the new deck UI button) the DECK TABLE would append a new row. When this new row was created, its primary key would be passed to a method that would combine that primary key (lets say the primary key is 1) with the string "CARDS". This "CARDS1" string would be the new name for the cards table associated with the Deck the user created.

    I know how to create the new tables, but I do not know how to access them given only their names. Can anyone help me? Or suggest a better method? I would really appreciate it because I am totally lost.

    submitted by /u/DragonDuck
    [link] [comments]

    Project euler problem 15 - lattice paths

    Posted: 02 May 2018 08:15 PM PDT

    https://projecteuler.net/problem=15

    I'm looking for some insight into how to solve this. I'm thinking of using a 2d int array, and having each slot in the 20x20 grid contain a distinct value. Then summing across every path, and adding the sum to an array if it's not already contained in the array. Then the amount of elements in the array at the end is the total amount of paths. Would this work?

    submitted by /u/Galvnayr
    [link] [comments]

    Looking for a organisational tool to help manage and keep track of my programs.

    Posted: 02 May 2018 08:15 PM PDT

    I am a relatively new programmer, and have been learning Java over the past year or so. As the work I'm doing becomes more complex, I am finding it harder to manage and control what is going on in my code.

    Simply just remembering what different variables and objects are being used for and names sometimes can get very difficult. If anybody has any tips on how to keep track of programs, or maybe any online tools or software to help keep everything in order.

    Any help would be appreciated, thanks! (If there is something in the FAQ I missed and this is already there, please let me know!)

    submitted by /u/canadian_baconRL
    [link] [comments]

    No comments:

    Post a Comment