• Breaking News

    Sunday, January 7, 2018

    Wanting to be a program/software developer, math too hard, options? Ask Programming

    Wanting to be a program/software developer, math too hard, options? Ask Programming


    Wanting to be a program/software developer, math too hard, options?

    Posted: 07 Jan 2018 08:52 PM PST

    I want to get a BS degree in a field and currently in a community college looking to transfer. I really enjoy programming and finished all of my Computer Science classes, although I am struggling with the math and physics/engineering that goes involved with computer sci that I need to transfer. I was never really great in mathematics, so it's not that I am lacking drive, rather I may be lacking the math mindset. I didn't really fail any math tests, although i didn't do great enough to get the grades required for transfer. (Calc 2)

    I am wondering if I am able take up another major where I am able to continue to become a developer. Has anyone ever taken computer information systems and continued on to being a programmer? or been in a situation similar?

    At the school that I'm currently at, they seem to offer a CIS associates degree, doesn't look too difficult, mainly just programming classes which would benefit building a portfolio (such as a swift course and app development.) and maybe a accounting and business class. I know an AS is not a BS, but am I able to transfer after getting my AS to pursue my BS in CIS at another college?

    I'm trying to schedule an appointment with a counselor although it has been very difficult which is why I am here for the meantime.

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

    Looking to create a simple budgeting/planning app as my first project.

    Posted: 07 Jan 2018 12:07 PM PST

    I want to create a basic app for monthly budgeting for my first programming project. I have been wanting to learn a programming language for quite some time, more to enhance my knowledge and to learn something new, rather than to use it as an income stream.
    I want the app more simple than mainstream options currently available, however I don't plan on releasing this (due to necessary disclosures with my career, it's a hassle and most likely wouldn't be worth it). I use spreadsheets now but want something a little quicker and user friendly. I have learned the basics of python and web development, but I don't think these would be my best option. I would like an appealing UI.
    I'm sure this question is asked often but what would be the most appropriate language to go after?
    I'm comfortable learning new things, but would like to learn the basics of a language with this project, before jumping right into frameworks and additional tools.
    Thanks.

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

    Do the newly founded exploits (Meltdown/Spectre) affect virtual machines?

    Posted: 07 Jan 2018 11:23 AM PST

    I was looking up information on the new issue, and was just wondering if there has been any testing done on a virtual machine, both in the VM environment itself, and from VM to host?

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

    Need help with Compiling QT Project (Boost/mingw32/OpenSSL included)

    Posted: 07 Jan 2018 05:34 PM PST

    Me and a friend are working on compiling a QT.pro file. We've been downing one error at a time and got stuck. Inside the QT.pro we have:

    .# Dependency library locations can be customized with:
    .# BOOST_INCLUDE_PATH, BOOST_LIB_PATH, BDB_INCLUDE_PATH,
    .# BDB_LIB_PATH, OPENSSL_INCLUDE_PATH and OPENSSL_LIB_PATH respectively
    BOOST_LIB_SUFFIX=-mgw49-mt-s-1_55
    BOOST_INCLUDE_PATH=C:/deps/boost_1_55_0
    BOOST_LIB_PATH=C:/deps/boost_1_55_0/stage/lib
    BDB_INCLUDE_PATH=C:/deps/db-4.8.30.NC/build_unix
    BDB_LIB_PATH=C:/deps/db-4.8.30.NC/build_unix
    OPENSSL_INCLUDE_PATH=C:/deps/openssl-1.0.2n/include
    OPENSSL_LIB_PATH=C:/deps/openssl-1.0.2n
    MINIUPNPC_INCLUDE_PATH=C:/deps/
    MINIUPNPC_LIB_PATH=C:/deps/miniupnpc
    OBJECTS_DIR = build
    MOC_DIR = build
    UI_DIR = build

    now when we go to compile our program through the use of "QT 5.7 for Desktop (MinGW 5.3.0 32bit)" we use the cd command to get to the correct file path (cd \ProgramName\src) and then we use one of the following commands to start the compilation of the program:

    mingw32-make -f makefile.mingw

    this produces the following:

    g++ -c -mthreads -03 -msse2 -w -Wall -Wextra -Wno--ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter -g -DWIN32 -D_WINDOWS -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DSTATICLIB -DUSE_UPNP=0 -IC:/PROGRAMNAME/src/leveldb/include -IC:/PROGRAMNAME/src/leveldb/helpers -I"C:\miniupnpc-1.6-mgw" -o obj/alert.o alert.cpp
    alert.cpp:6:53: fatal error: boost/algorithm/string/classification.hpp: No such file or directory compilation terminated.
    makefile.mingw:105: recipe for target 'obj/alert.o' failed
    mingw32-make: *** [obj/alert.o] Error 1

    We're assuming that it means "boost/algorithm/string/classification.hpp" is missing, but when we check that exact path it's actually there and has code in the hpp file. We checked all path names and they seem to be correct. We were told the ubuntu fix for this is "sudo apt-get install libboost-dev" so we're missing a library? We're running windows 7 and can't find a solution anywhere.

    Any advice or directions to the correct answer/resource will help a bunch! Thanks

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

    I have an idea for a really simple program for support, what would be the best avenue for something like this?

    Posted: 07 Jan 2018 01:18 PM PST

    I've been in IT for a decade but my only programming experience comes from TI-83 calculators when I'd build really simple software to help me cheat on tests in high school. Basically just a lot of if and then statements.

    Now I'm working at a helpdesk for a large company and I've been here long enough that I'm realizing that 90% of my job could be written into a self-help program that basically just asks the problem, narrows it down and then offers up the solution that I would.

    I'm thinking I could build something web based that lives on the company intranet with a bunch of links and the understanding of HTML that I have but I'd like to ask your opinion on if there is a better way to do this. Like I said, my programming knowledge is limited but I'm a lot more willing to learn new stuff for a project like this as opposed to "I wanna learn C because it's a good skill to have".

    Thanks in advance.

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

    What would be a good approach for a small, internal repository?

    Posted: 07 Jan 2018 07:54 AM PST

    Hi all. We just realized that we have the need for a small repository, mainly for deploying a few third-party libraries and some other files after a release is done.

    I was told that the goal here is not to have third-party libraries and files on our source control repo, and since we may need a specific version of those, going to the website and downloading them after each release, not only would be tedious, but it may just not even work.

    So we were wondering if there is a way to have a small repo for those files. I read about setting up a Private Nuget Server on reddit a few days ago, but it seems that this is too much for what the guys need.

    What would be a good approach for this particular issue? We have a few AWS instances where we can host a small repo.

    Any advice or suggestion you may have is truly appreciated. Thanks!

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

    Help? Can I have a computer act as a phone? Or access a phone?

    Posted: 07 Jan 2018 08:09 AM PST

    I need to create a program that can access apps and texts on the phone. I want a program to collect data and respond to text messages on the phone. Also I need the program to open up an application and click a button. Is this possible? Any quick and easy way to do this?

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

    New laptop. Surface book 2?

    Posted: 07 Jan 2018 09:37 AM PST

    Hey Folks.

    I'm about to start a study based on programming at the end of the month. For that I am planning on getting a new laptop. The new surface book 2 has really caught my attention, due to its versatility, however it is a bit pricey, as you all may know. It is not that I don't have the money for it, but can't quite figure out if I am going over the board with this one. Like what is actually needed. Hope you guys can help me

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

    What is the best way to record a gif from the screen?

    Posted: 07 Jan 2018 08:05 AM PST

    For my Interfaces Programming course at university I've thought about building a gif recorder, something similar (but way simpler) to ScreenToGif.

    Should I take screenshot 20/30 times per second and then create a gif from those?

    Is it the best way?

    Thanks for the answers :)

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

    Javascript array property in a loop

    Posted: 07 Jan 2018 11:13 AM PST

     function createMatrixInput(){ for(var i = 0; i<n.val;i++){ Matrix[i] = []; for(var j = 0; j<m.val; j++){ Matrix[i][j] = []; Matrix[i][j].val = 0; Matrix[i][j].update = function(){ Matrix[i][j].val=Number(this.value()); } Matrix[i][j].box = createInput('0', Number); Matrix[i][j].box.size(22); Matrix[i][j].box.input(Matrix[i][j].update); } }} 

    Matrix[i][j].update = function(){ Matrix[i][j].val=Number(this.value()); }

    this line gives the function property

    Matrix[i][j].val=Number(this.value());

    but leaves i and j as text? Why are i and j not defined in the creation of the function?

    I would expect Matrix[0][0] to have the update property

    Matrix[0][0].val=Number(this.value());

    but it actually still leaves it as [i][j]

    How can I get around this?

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

    Flex RadioButtonGroup funcitonality across multiple custom components

    Posted: 07 Jan 2018 04:44 AM PST

    I am creating a program that will contain multiple instances of an custom mxml component that contains a label and a radio button. I would like to mirror the functionality of the RadioButtonGroup so that only one radio button is selected at one time. But unfortunately, I cannot get this to work and more that one radio button is selected at the same time.

    Does my custom component need to implement and overidde the functions provided by IFocusGroupManager class?

    I have provided my code below.

    Main.mxml

    01 <?xml version="1.0" encoding="utf-8"?> 02 <s:Application 03 xmlns:fx="http://ns.adobe.com/mxml/2009" 04 xmlns:s="library://ns.adobe.com/flex/spark" 05 xmlns:mx="library://ns.adobe.com/flex/halo" 06 xmlns:C="*"> 07

    08 <fx:Script> 09 <![CDATA[ 10 import flash.events.Event; 11 import flash.events.FocusEvent; 12 import flash.events.KeyboardEvent; 13 import flash.events.MouseEvent; 14 import mx.controls.Alert; 15 import mx.events.ItemClickEvent; 16 import spark.components.Group; 17

    18 private function FocusIn(evt:FocusEvent):void 19 { 20 ToggleFocus(evt, true); 21 } 22

    23 private function FocusOut(evt:FocusEvent):void 24 { 25 ToggleFocus(evt, false); 26 } 27

    28 private function ToggleFocus(event:FocusEvent, State:Boolean):void 29 { 30 var i:int; 31

    32 var ParentGroup:Group = event.currentTarget.parent; 33

    34 for (i = 0; i < ParentGroup.numChildren; i++) 35 TT(ParentGroup.getChildAt(i)).ShowImage = State; 36 } 37 ]]> 38 /fx:Script 39

    40 <s:Panel 41 title="Survey" 42 horizontalCenter="0" 43 verticalCenter="0" 44 width="1000" 45 height="500"> 46

    47 <s:Scroller width="100%" height="100%"> 48 <s:Group width="100%" height="100%"> 49 <s:VGroup left="20" right="20" top="20" bottom="20"> 50

    51 <s:Label> 52 <s:text>How likely are you to recommend this Product?/s:text 53 /s:Label 54

    55 <s:Group>
    56 <C:TT RadioButtonLabel="Very Likely" ShowImage="false" 57 ShortcutNumber="1" focusIn="FocusIn(event)" focusOut="FocusOut(event)" groupName="Recommend">/C:TT 58 <C:TT RadioButtonLabel="Likely" ShowImage="false" 59 ShortcutNumber="2" focusIn="FocusIn(event)" focusOut="FocusOut(event)" groupName="Recommend" x="150">/C:TT 60 <C:TT RadioButtonLabel="Unlikely" ShowImage="false" 61 ShortcutNumber="3" focusIn="FocusIn(event)" focusOut="FocusOut(event)" groupName="Recommend" x="300">/C:TT 62 <C:TT RadioButtonLabel="Very Unlikely" ShowImage="false" 63 ShortcutNumber="4" focusIn="FocusIn(event)" focusOut="FocusOut(event)" groupName="Recommend" x="450" >/C:TT 64 /s:Group 65

    66 /s:VGroup
    67 /s:Group 68 /s:Scroller 69 /s:Panel 70 /s:Application

    TT.mxml

    view sourceprint? 01 <?xml version="1.0"?> 02

    03 <s:SkinnableContainer xmlns:fx="http://ns.adobe.com/mxml/2009" 04 xmlns:s="library://ns.adobe.com/flex/spark" 05 xmlns:mx="library://ns.adobe.com/flex/mx" 06 implements="mx.managers.IFocusManagerGroup"> 07

    08 <fx:Script> 09 <![CDATA[ 10 import flash.events.Event; 11 import flash.events.MouseEvent; 12 import mx.controls.Alert; 13 import mx.controls.RadioButton; 14 import mx.events.FlexEvent; 15 { 16 [Bindable] 17 public var RadioButtonLabel:String; 18

    19 [Bindable] 20 public var ShowImage:Boolean; 21

    22 [Bindable] 23 public var ShortcutNumber:String; 24

    25 [Bindable] 26 private var _groupName:String; 27

    28 [Bindable] 29 public var SelectState:Boolean; 30

    31 [Bindable] 32 public var _selected:Boolean; 33

    34 public function set groupName(value:String):void 35 {
    36 _groupName = value; 37 } 38

    39 public function get groupName():String 40 { 41 return _groupName; 42 } 43

    44 public function set selected(value:Boolean):void 45 {
    46 _selected = value; 47 } 48

    49 public function get selected():Boolean 50 {
    51 return _selected; 52 } 53 } 54 ]]>
    55 /fx:Script 56

    57

    58 <s:layout> 59 <s:HorizontalLayout 60 paddingLeft="5" paddingRight="0" 61 paddingTop="0" paddingBottom="0"/> 62 /s:layout 63

    64 <s:Label id="value" text="{ShortcutNumber}" visible="{ShowImage}" color="blue" fontWeight="bold" fontSize="16" 65 horizontalCenter="true" paddingTop="3" focusEnabled="false" /> 66 <s:RadioButton id="RadioButton" label="{RadioButtonLabel}" groupName="{_groupName}" selected="{_selected}" /> 67 /s:SkinnableContainer

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

    Why does a later CSS selector get overridden by an earlier one?

    Posted: 06 Jan 2018 11:44 PM PST

    I have this snippet of code that I'm trying to make sure I fully understand.

    Unfortunately my comprehension of CSS is still rudimentary and there are a few aspects of this that I am getting hung up on.

    First of all, the image has a 50 px border on the bottom, but I have a rule for the image here:

    header nav ul li a img { display: float; width: 275px; height: 48px; margin: 0; padding: 10px 0px 0px 0px; } 

    That says that the padding on it should be 0, and this should override previous definitions, but it doesn't seem to.

    The other part that I am confused about is this:

    I have two specifiers:

    header nav ul li{ list-style-type: none; display:inline-block; color:#EAEDF1; border-left: 0px solid white; margin: 1px; width: auto; font-family: 'Roboto', sans-serif; padding: 5px 15px 55px 15px; } header nav ul li a{ color: white; text-decoration: none; } 

    If I add 55px of padding to the bottom of the "nav ul li" section, then my header background (the grey bar) gets extended downwards by 55px. However, if I add that same padding to the "nav ul li a" section, my grey bar does not get extended.

    Can someone explain these two issues to me? Because I am quite lost.

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

    Make any mouse programmable

    Posted: 07 Jan 2018 06:45 AM PST

    There is some software for keyboards. You start it tracks all the informations from your external keyboard, so whole keyboard is 100% programable.

    Do you know aobut any way to do this with USB mouse? Disable all the functinality and code your own functionality based on I/O from mouse.

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

    Rather unusual question about a career path / what should I do with my time

    Posted: 07 Jan 2018 05:51 AM PST

    Hello, I'm a 20 year old romanian studying computer science. While in highschool, everyone around me told me about this unviersity of computer science that is supposed to be the best in the country and top whatever in the world, everyone gets out with a job and a huge salary and so on. On top of that, I liked computers, I was writing little scripts and programs since I was like 10 years old, so I thought I should go to this university, it sounds like the best idea.

    Oh boy, was I wrong. I'm second year ( out of 4) and I hate it. I feel like I learned nothing altough Im busy all the time, there is barely any free time, with alot of 10-12 hours homeworks, and I feel like they are all for nothing. In 2 years, the best "program" I wrote was a process scheduler. I can't do anything that is practical or useful.

    On the other hand, I'm passionate about games(who isn't) and feel like I'm pretty smart and creative( sometimes I feel like the dubmest person on earth ) and so I thought maybe I should start focusing less on studying and start working on a project on my own, took some courses on udemy and feel, yet again, stuck. Starting to work on a game right now would probably take 3 years to finish, and I'm afraid I can't stay motivated to finish it for that long. Also I tried but nobody I know seems to want to work on it with me. Maybe instead of working on a game I should learn how to make an engine first, start with java and OpenGL and build up from there, but then I'm afraid I will get behind everybody else and get just a bad job after the university. And then there are tons of other subjects that interest me but I just can't do all of them, like AI , machine learning and neural networks, security, so on.

    Any advice?

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

    Can't seem to find out how to edit the html of the chrome browser itself?

    Posted: 07 Jan 2018 05:01 AM PST

    Context: I really like using a website in fullscreen on google chrome but the fullscreen mode in chrome doesn't let me access my tabs. so I decided to search"fullscreen adaptation into browser" and found this website. All that I could understand was that there is a solution to my problem. However, I would have to know how execute it first. The only knowledge I have about programming is a few years of experience editing my tumblr page when I was a 13.

    How do i edit google chrome?

    submitted by /u/0bservatory
    [link] [comments]

    How to build a simple code that checks for price difference and send (free) sms/alert to phone

    Posted: 07 Jan 2018 04:58 AM PST

    I wish to compare price difference between 2 bitcoin exchanges and alert me if price is >200. Does anyone has something similar? Thanks!

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

    I'm really hoping to get your Input on Online Programming Community Leadership survey as part of my final thesis requirement [Please].

    Posted: 07 Jan 2018 03:35 AM PST

    Dear Ms./Mr. (Honored Admin & Respectful Members) ,

    I'm Abdul Razak, studying at Universiti Utara Malaysia. I really need your help by humbly requesting to fill in my estimated 6 minutes survey if you have ever participate in any online programming communities to learn, asking for help, sharing knowledge, developing software/programs and joining any other activities ( such as Java programming forum, codeguru.com, Python forum, PHP Community, Android/IOS community, Matlab, Codeacademy.com and others).

    I have collected 120 respondents for 2 months and 1 week now. I need 300 participants to accomplish data collection and analysis for my final thesis. Below is the survey link :

    https://www.surveymonkey.com/r/abdulrazak123

    [Lucky Draw of USD 10 Amazon gift card x 6 respondents ] will be delivered to random six respondents as an appreciation for participating.

    "Your willingness to answer this survey is highly appreciated"

    Thank You Very Much

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

    Selecting lines in between string and symbols

    Posted: 07 Jan 2018 12:00 AM PST

    My buddy on 4chan needs some help, if anyone has some ideas then thank you. https://imgur.com/a/Kp1TD

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

    No comments:

    Post a Comment