• Breaking News

    Friday, December 27, 2019

    You guys interested in a website that focuses on learning design / ux / ui / css ? learn programming

    You guys interested in a website that focuses on learning design / ux / ui / css ? learn programming


    You guys interested in a website that focuses on learning design / ux / ui / css ?

    Posted: 27 Dec 2019 05:55 AM PST

    Hey everyone!

    The Question

    The idea is basically a website where users would learn all about website design. The focus would be strictly website design. You would also learn html / css(flexbox) and how to program it correctly.

    I notice on /r/webdev there are occasionally threads about developers who are having a hard time understanding css and website design concepts in general. Just google "reddit how do I improve at design" and enjoy the endless amount of threads that are constantly created. There are plenty of articles online about learning design but none are the way i'm planning of doing it :)

    I am proposing a online / interactive course that will help you become better at these concepts.

    1. Typography
    2. How to choose Colors & Color Theory
    3. Text Hierarchy / Visual Hierarchy
    4. Design Observation Skills
    5. Responsive Design
    6. Choosing Photos & Photo Manipulation
    7. Finding Inspiration via the Web
    8. Grouping/Alignment/Padding
    9. Rule of thirds/Golden Ratio
    10. Coming up with a Logo Design
    11. Using tools like Photoshop, Adobe XD, Sketch, Illustrator
    12. Applying concepts learned from Art over to Website Design

    The System

    Ideally you would have to create an account for free to access all of the content. There would be individual lessons for everything but things would be grouped in the appropriate order and the pace you proceed at is your own. When receiving critique from myself, it would be within the app itself using a custom built system that suits whatever I plan out. There will be interactive activities/tests/etc.

    Note

    Anyone can learn to be a good designer as long as your willing to put in the effort and practice. Just wanted to put this out there for anyone who doubts theirselves. Just like programming, if you practice; you will succeed. Being a programmer !== not being able to think like a designer. This isn't to make you switch careers into being a designer but rather acquiring the skills to be able to design.

    Who Am I?

    Without getting into my life history... Been programming since 2009, I went to design school for 3 years in 2016, but also practiced learning to design via self-taught since 2010. I've also been learning Traditional & Digital Art for around the same time but started taking that seriously over 2 years ago. I'm currently running a startup with my second coming out in January(info on my reddit profile, I can't advertise). The point is, i've learned a load of great information I would love to share if people are interested.

    Interested or not?

    Not going to do this unless you guys are interested. I'm also willing to take suggestions. If this is something you are interested in, let me know and I will design proper details, and structure.

    Edit! (Friday, December 27th, 2:39PM)

    I posted this before I went to sleep. I think I get the message guys! You are interested. I will whip up a a simple page so you can register your interest. Stay tuned.

    Edit: (2:53PM)

    Hey, because threads on reddit rise and eventually succumb to the darkness leaving you without much trace of where it went; I quickly setup a mailchimp email list so if your interested, you can simply just register.

    Form Link: http://eepurl.com/gOb0BP (Mail chimp external form)

    When I finish the landing page, I will send you guys an email and I will also at that time make a system so you can register an account. I will post an update thread in the future as well for anyone who does not see this.

    To answer those wondering how it will be different.. just know I have a lot of plans for creativity.

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

    What am I doing wrong ? (C++)

    Posted: 27 Dec 2019 09:20 PM PST

    I am trying to make a grid using asterisks. I want the user to be able to enter the amount of rows and columns, but when I input a value of 3 for variable rows and a value of 4 for variable columns the output is: ****

    Instead of the expected output:

    ****

    ****

    ****

    I'm sure this is such a simple problem, but I'm having a little trouble.

    int main() // P4.25

    {

    int columns; string grid = "\*"; int rows; 

    cout << "The Drunkards Walk. " << endl; cout << "\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ " << endl << endl; 

    cout << "Please enter the amount of rows in the grid: "; cin >> rows; cout << endl; 

    cout << "Please enter the amount of columns in the grid: "; cin >> columns; cout << endl; 

    for (int i = 0; i < rows; i++); // Rows { for (int j = 0; j < columns; j++) // Columns { cout << grid; } cout << endl; } 

    cout << "\\n \\n"; system("pause"); return 0; 

    }

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

    How would you learn to code if you had all the free time? (Enough savings to sustain yourself)

    Posted: 27 Dec 2019 12:50 PM PST

    I am interested what your take would be.
    I am jn position where i went for community college java courses, but on the second month i had very good opportunity to make some money to sustain myself for a good 10-12 months.
    In the run i understood that it (community college) wasnt worth it(very slow and superficial learning process, teachers are not motivated at all, at best - mediocre coders). I had some basics, but thats all - with that regard i think i wont be able to pretend to employable positions when the studies will be finished. So, to put it short, how one would use this amount of time to learn in the most efficient manner? I would say that i am interested in Java and C++. To clarify my question, how much i should give my time for doing various coding challenges/problems/exercises, reading/theory and doing/implementing beginner project?

    I hope my question is in the right place. Thank you for your time!

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

    How to code a percentage-based item roller?

    Posted: 27 Dec 2019 10:56 PM PST

    I want to make a code that can spit out randomly generated items based on the percentage chance of them appearing.

    To add specificity to this question, I wanted to have four tires of items: 50% Common 30% Uncommon 15% Rare 5% Ultra Rare

    But then also have items on each list, so like example: Rolls common, rolls meat item.

    Any coding language works! The more complex that I can make it, the better - Like, tagging on that there's a 50% chance to roll two items, etc. Although even just having a simple one for now is still much better than no dice.

    I apologize if this is a really basic concept but even linking me to a homework workshop or YouTube video or even a Fiverr who can make this sort of thing would really help. I apologize if this is completely dumb, but I thought this would be my best bet.

    submitted by /u/dino-crunch-berries
    [link] [comments]

    [C] ICMP struct improperly aligned? (Linux sockets)

    Posted: 27 Dec 2019 09:29 PM PST

    Hi all, I am writing a ping program to familiarize myself with raw socket programming (using Linux sockets API). I am using the UNIX Network Programming textbook as loose guide. I have all parts of the project working except for the fact that I cannot get the icmp struct to properly align on the receiving side (netinet/ip_icmp.h header). I have narrowed it down to this misalignment as I can clearly see the proper values inside of the hex output of the received buffer. I am really at a loss for what could be going wrong here as the code shown below is pretty close to Steven's examples. If there is a better sub for this post, please let me know. Any help is appreciated.

    Function used to extract a timeval struct from ICMPv4 message:

    void interpret_v4(char* buf, ssize_t len, struct msghdr* msg, struct timeval* tv_recv) { // get timeval struct from IP packet (contains ICMP packet) and print RTT struct ip* ip_pack = NULL; // pointer to IP packet struct icmp* icmp_pack = NULL; // pointer to ICMP message struct timeval* tv_sent = NULL; // irrelevant for this post int iphdr_len, icmplen; // delimiters/sizes of the messages double rtt = 0; ip_pack = (struct ip *) buf; // cast char buffer (recvmsg called in main) iphdr_len = ip_pack->ip_hl << 2; // convert from 32 bit words to number of 8-bit bytes if(ip_pack->ip_p != IPPROTO_ICMP) // confirm packet is ICMPv4 return; icmp_pack = (struct icmp *) (ip_pack + iphdr_len); // start of ICMP header (IP start + IP size) if( (icmplen = len - iphdr_len) < 8) // ICMP header 8 bytes, else invalid packet return; printf("ICMP pack (inside function): "); // debug output (hex values of buf) for(int i = iphdr_len; i < len; i++) { // only print ICMP (end of IP header to end of packet) printf("%x ", (unsigned int)(buf[i]) ); // cast to unsigned optional } printf("end\n"); printf("ICMP testing: type: %x, code: %x, id: %x, seq: %x\n", icmp_pack->icmp_type, icmp_pack->icmp_code, icmp_pack->icmp_id, icmp_pack->icmp_seq); // output values from struct (misalignment seen between here and for loop above) } // END interpret_v4 

    The relevant RFC graphic: https://tools.ietf.org/html/rfc792 (page 14, Echo or echo reply message)

    Struct documentation: https://www.cymru.com/Documents/ip_icmp.h

    Program output: https://imgur.com/a/YBmlJrJ (looks intimidating at first, but printf sign extends hex bytes so all f's can be ignored). "Pre-send" is the packet state when it is sent. "ICMP pack (inside function)" is the output from the code shown above. Looking at the RFC it is clear that the output in "ICMP testing:" (also from the code segment above) does not match the hex values of the message.

    Bytes 4 and 5 (identification field) are clearly "63 14" (network byte order, so PID is 1463), which matches the PID stored in the sent packet, but the output from the ICMP struct shows ID as 39. I have broken the message down into binary as well and cannot find a byte ordering that produces an output of 39.

    If you have stuck with me to the end of this post, thank you. I have very low expectations for finding help regarding this on Reddit, but I am really and truly at a loss for where I am going wrong and don't have anyone else to ask for help. If anyone is interested enough to look at the full program, its a single 350 line file and I'll happily provide a link to the repo. Thanks again.

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

    Is there any tutorial/online courses that go deep into, not only the programming and logic side but also the start-to-end project development?

    Posted: 27 Dec 2019 09:14 PM PST

    I just went through Laracast PHP tutorial and I thought it was a pretty good learning experience for me, who already know the language (PHP) but have no very little idea about the "real-world project setup" side of the language (the MVC, the folder structure, the shortcuts, the package managers, etc). So, is there any other online tutorial/youtube channel/udemy course/ that does similarly? Language that I'm interested in:

    • Front-end stack
    • Node.js
    • Python
    • PHP
    submitted by /u/nyamuk91
    [link] [comments]

    What tool do you use to plan your projects from scratch?

    Posted: 27 Dec 2019 08:50 AM PST

    I want to upgrade myself from the pen&paper scribbles, what tools do you all use?

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

    Cannot open/ run java eclipse...please help

    Posted: 27 Dec 2019 11:18 PM PST

    Minimum time to serve all queues while there are k windows

    Posted: 27 Dec 2019 11:03 PM PST

    I want to know if there is similar famous problem to this one https://docs.google.com/document/d/1byc48E1-BRPA7rW0kMOBtwN9vp7b06rBE9j6OWioQi0/edit?usp=sharing

    I assume there exist, it's just I don't know how to find it. Can you help please?

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

    how could I set up an IDE (like VS Code, Sublime text 3) for Python?

    Posted: 27 Dec 2019 10:57 PM PST

    I want to set up an IDE for python. How could I do so? I want to set up Python in code editor (like VS Code, Sublime text 3). Currently I' m using Jupyter Notebook, which is not so efficient.

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

    I want to learn how to create games.

    Posted: 27 Dec 2019 10:41 PM PST

    I did a little bit of research and it looks like the unity engine is good at making games for all platforms. I have amazing ideas that I need to create but I dont really know where to start. I want to start by creating some apps for android and iPhone. Where would be the best place to start?

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

    Should i learn big o notations while learning collections in java?

    Posted: 27 Dec 2019 06:44 PM PST

    Hi so i am self learning programming,i chose to learn java for now,i learnt procedural programming and oop in java now im learning collections and i learned when to use maps,sets,lists etc etc but i stumbled upon big o notation and i honestly dont get it bcz my math is not that good i mean i get the fundementals how it works what is it etc etc but learning it in depth i think will take me alot of time,so should i stick to the big o notation or should i just continje with my learning cuz my next thing i want to learn is generics? What do u suggest me to do.

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

    Looking for something like Leetcode, but no internet connection required?

    Posted: 27 Dec 2019 10:15 PM PST

    I'm trying to do coding interview-style problems, with the compiler/testing environment offered by sites like Leetcode, except I'm going to be away from an internet connection for a few days and still want to be able to practice. Does anyone know of a good offline software that is similar? It doesn't need to be free.

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

    Need help, anything helps.

    Posted: 27 Dec 2019 09:51 PM PST

    So, I'm currently creating a website for a Talent Agency. I've got pretty much everything done to their liking, except for an application and admin page area that's password protected AND can only be seen by certain people. I can create things like text boxes and submit buttons, but I have no clue how to 1.) make the submit button send their responses somewhere and record them, 2.) make the website record users with login info and register them as a member, make things like roles, etc. They're also wanting the applications to, once filled out, send an auto reply to the email with a pre made contract IF they accept. But if they deny, they want it to send a denial letter.

    Think of it similar to Enjin and their application page. If anyone can help, even a little, I would vastly appreciate it.

    EDIT: I use HTML/CSS for front end, and I want to use PHP as back end. sorry for not putting this in the original post!

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

    Any useful and good resources/courses/books to learn Java? I'm not a super newbie, but I need good resources so I can help my brother to learn it. Preferably in Spanish, and free.

    Posted: 27 Dec 2019 06:01 PM PST

    Hello, I need to teach my brother how to code. He's super new to programming, and has a hard time understanding the logic behind coding. Most of the video tutorials I found on it have been good, but they don't really give you exercises to do. He doesn't speak English so it'd be pretty cool if I could get a good Spanish resource.

    Thanks in advance.

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

    Need help on running java servlet using tomcat

    Posted: 27 Dec 2019 09:11 PM PST

    Problem encountered odin project installations.

    Posted: 27 Dec 2019 08:49 PM PST

    Hi good day. Im just started my odin project journey along my freecodecamp and w3schools references.

    I encountered problem in my installation of 1. sudo /media/$USER/VBox/VBoxLinux.run It say command not found, then i tried to run few more times, there are other occassions that say i need to unmount something cant provide the picture right now as im in office. If this function allows copy and pasting from host to ubuntu im cool not having it

    1. It says if i run Finally, run rbenv -v on terminal im supposed to get this rbenv 1.1.2-2-g4e9232 But all i saw is something like Version 1.0.0 I will take a look once more when i get back.

    I understand that learning to code would give alot of challenges but a little help would be really appreciated. Thank you for your responses Posting this here so in case others have smae issues they may find the solution easier🤣🤣

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

    Competitive Programming Questions sorted in easy to hard difficulty

    Posted: 27 Dec 2019 06:42 AM PST

    Complete and consistent roadmap for newcomers: What to solve & algorithms to learn in order

    In the bottom row, there are different sheet pages such as Faq, Topics, CF-C2

    CF-C1, C2 are (Codeforces Div2 C problems (or similar level from other OJs), but from easy to hard). Same for CF-D1, D2, D3

    Covering most of topics needed up to codeforces Div2-D

    Problems of scales 1 - 5.5 / 10 + Few harder ones

    Problems increase in difficulty per topic with intermediate easy/medium problems + ad-hoc problems

    Speed problems to maintain speed goals

    A lot of recorded videos for problems solutions, especially for the entry levels (Arabic)

    Several students followed its order and managed to solve by themselves 95% of it (up to his current sheet page)

    You can train in one of the following ways:

    A) Blind-Order training style

    Problems are distributed in sheets CF-A, CF-B, CF-C1, ....CF-D3

    This one is a roadmap. It targets learning the knowledge/skills in a consistent and balanced way

    Every sheet page is on average harder than the previous sheet page

    This is my recommended way, though most camps/training-approaches don't use this style

    B) Topics-Based training style

    See sheet page (Topics1). It has the same sheet problems (CF-A to CF-D3) ordered by category and level, around 950 problems

    Ideas Quality column: P5 (important), P4(very interesting), P3(interesting), P2(good), P1(ok), Empty (normal)

    Say your level is 6/10, and solved a problem of level 3 with P5, you will find it a normal one. So notice, it is subjective to your level/background

    You can train using Blind-Order, and use Topics page as guide to skip some problems

    Many guys/training camps are fan of this topics-based way.

    You need to be careful with such style as it may corrupt your training quality, e.g. due to your bias

    Advantage: Mastering the algorithm till solving some hard problems in a short time

    Disadvantage: Discovering the algorithm behind the problem is an important skill. Given that you know the topic, you lose a good space to improve this skill

    Disadvantage: Being in the mode of specific algorithm lets you solve many of it easier. However, when solving in real contests, your mind is not so active on the speific topic

    It is still a good training roadmap. Actually used by most of people I think.

    See Topics2 page (for extra topics/problems in specific cases)

    https://docs.google.com/spreadsheets/d/1iJZWP2nS_OB3kCTjq8L6TrJJ4o-5lhxDOyTaocSYc-k/htmlview#

    submitted by /u/Effective-Temporary
    [link] [comments]

    [C] A bit confused about the arguments passed to this malloc()

    Posted: 27 Dec 2019 08:29 PM PST

    I was working on a problem to load data from a csv file in C and someone sent me this pastebin to show me how they would implement it. However there are some parts of their code that I don't really understand, Specifically regarding the malloc(). Here is the code:

    ``` //global definition struct commands { char *cmd; char *msg; };

    struct commands *cmds;

    define MAX_LEN 4096

    //on startup read file char buffer[MAX_LEN + 1]; cmds = (struct commands)malloc(sizeof(struct commands)FILE_SIZE); int i = 0; while(fgets(buffer, MAX_LEN, COMMANDS_FILE) != NULL) { //parse cmds struct commnds *curr_cmd = (cmds + i); sscanf(buffer, "%s %s", cur_cmd->cmd, curr_cmd->msg); i++; } ```

    I am confused about the malloc here. I know that the argument passed to malloc() is meant to be the size of memory you want to reserve, which here is done by the sizeof() command, however I don't understand how the *FILE_SIZE comes into play here.

    Further more, according to the author, this creates a struct for each new command, but I'm not sure where I can access these pointers for each struct.

    Thanks

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

    GitKraken for Personal Use?

    Posted: 27 Dec 2019 04:33 PM PST

    As a student in cyber security I've started down the development route out of A. Curiosity and B. It's something good to have knowledge of in the field. For the most part I've just used VS Code w/ github integration and it's worked fine for me and my purposes, but I recently signed up for the Github Education pack to explore some of the resources it has and noticed that it provides access to GitKraken. It seems to be very robust but not sure if it's necessity for an individual developer.

    Two questions I have if anyone has experience with GitKraken after reviewing the site and docs:

    1. Is GitKraken something that I should familiarize myself with due to its number of features for a professional aspect to say that I have the experience - or would a tool like this be specific to a job that already uses it?

    2. Is the editor within GitKraken something that can be used to build from scratch or should this just be for minor edits? E.g. Can I do everything from within the application like the website says easily or would it be best to stick to a code editor like VS Code? Caveats to just using GitKraken over an editor w/ github integration?

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

    [Python] Very silly beginner's problem: I don't understand this error using the random module

    Posted: 27 Dec 2019 04:00 PM PST

    Hello, I just started learning programming (for the third time because I always lose the initial hype) and I have an exercise that says:

    Write a program that flips a coin 100 times and then tells you the number of heads and tails.

    I wrote this:

    import random flips = 0 tails = 0 heads = 0 flip = 0 while flips != 100: flip = randint(1, 2) if flip == 1: tails += 1 else: heads += 1 flips += 1 print("The number of tails was", str(tails)+ ", while the number of heads was", str(heads)+".") 

    I tried running it and the thing says:

    NameError: name 'randint' is not defined

    What's wrong? I'm writing it as the book says and it worked before but not on this script.

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

    Please recommend some youtube channels where they do coding challenges

    Posted: 27 Dec 2019 01:31 PM PST

    Hi, I'm fairly new to Javascript. I'm enrolled to two courses in Udemy and when I don't feel like resuming my progress there, I often go to Edabit to do some challenges.

    I recently found out about whatsdev's channel and he has a playlist where he does coding challenges in Javascript: https://www.youtube.com/playlist?list=PLkBfv4fGBau-q9tGBUgVoGClRsSBiiZm8

    Can you guys suggest me some more channels where they walk you through a problem to the solution. It'd be better if it's in Javascript since that's where I want to focus aotm. Thank you!

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

    Where Can I Find A Resource That Makes Algorithms Easier To Understand, Are Free, And That Build Up A Logic Instead Of Showing Me The Code Directly?

    Posted: 27 Dec 2019 10:20 AM PST

    Hi!

    I'm doing Speed Programming and following CP3, by Steven Halim and Felix Halim.

    While reading, I come across some names of algorithms that I need to understand and implement, but I find it hard to find a source where the website just contains what steps it has - as pseudo code or just pure logic, and that has something that I can quickly grasp, something like visualgo.net, except that I'm just looking for a proper and clear guide on the algorithm, without any visualizations - though they would be nice as well, so I can work on creating some intuitive model for them inside my head.

    Most websites focus on a very niche implementation, some go directly to the code, some are written for academic scholars which I really don't get, some get derailed into other ideas fairly quickly, some don't describe the actual proper steps.

    Any help regarding this?

    Thanks a bunch.

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

    Housing data exploration with python

    Posted: 27 Dec 2019 06:54 PM PST

    Hola!

    Has anyone used Zillow's data (or any other site) to observe housing market trends? Just trying to play around with some things to learn a bit about Maryland's market trends. Also, any advice on how/where to get started with things would be appreciated!

    Thanks

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

    No comments:

    Post a Comment