• Breaking News

    Sunday, September 6, 2020

    Giving away my computer science degree Ask Programming

    Giving away my computer science degree Ask Programming


    Giving away my computer science degree

    Posted: 06 Sep 2020 05:10 PM PDT

    I have just finished my CS degree and I still have access to all resources, structured weekly PDF/tasks and assignments and I'd like to make this all available for anyone wanting to learn how to code or even just see what type of stuff is in an higher education version of coding!

    I'll strip away all of the details such as university course codes to comply with legal stuff. I'm wondering if anyone is interested in this?

    The 3 year course covers a multitude of subjects, from java/JavaScript/html/Haskell/SQL/Android/python/mathematics for computing/database and analytics/a.i-machine learning/ cyber security/object oriented software dev/ and software dev

    There's a LOT of content within all of this and it's degree level stuff so hopefully it can help some people out

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

    What are the biggest issues that are/were holding you back from learning programming?

    Posted: 06 Sep 2020 11:01 AM PDT

    When I started out learning coding, there were a lot of things I needed to deal with. Mainly it was hard for me to stay motivated at the beginnign. I'm curious to see what your struggles were when you started out on this journey.

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

    Help with c++ functions and vectors

    Posted: 06 Sep 2020 06:01 PM PDT

    I've created multiple vectors with in a function Ex. Int dogs( vector<string> type, vector<string> color, vector<int>& weight)

    I just want to know how would i pass the information for that function into another function Ex. Void viewdogs(vector<string> type, vector<string> color, vector<int>& weight)

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

    I want to make a game. How do I pick a language and where do I start?

    Posted: 06 Sep 2020 03:22 AM PDT

    Recently I have had a game that I want to make. It would be a top view scroller, kind of like the original Pokémon red/blue or stardew valley games, with really simple graphics. I've done some data analysis and visualisation using R programming in college, and also used Netlogo to make some predator/prey simulations, but that's the extent of my coding experience. It's not much, I know.

    I am just not sure where to start with this new project. I want to avoid sitting through a course of tutorials (although I may need them for some basics) and just jump right into a project and Google as I go. I have found that useful in the past with coding but games are probably much more complex. I am just not sure what language to start with though. I don't really know much about coding or what the different languages are used for. I thought java was common for games and apps, but C# or C++ also looks useful. Does anyone have any advice on how to pick a language and how to go about starting? Any resources you would recommend?

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

    How do i get script log file from Putty on Snowball?

    Posted: 06 Sep 2020 04:00 PM PDT

    Hey guys, im very noob at programming and needed help with one of my assignments.

    So my professor asked me to record the script, which i did and then save it once i was done with everything. So my question is how do i exactly get my script log file from putty and download it as a file then upload it?

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

    Any book/course recommendations for learning Visual C++ (MFC) in 2020?

    Posted: 06 Sep 2020 03:59 PM PDT

    Hello

    I started recently working again, and I've been designated to a project which is pretty much divided 50/50 in Visual C++ (MFC) and ASP-NET. I've been tasked with solving its recent bugs and, pretty much, take on the development of the solution from now on.

    In my opinion, the greatest challenge in this project is that its development began around 1998, and naturally it used MFC to design its functionality and appearance. However, since then, the software core was (and still is) pretty good at its goals, and, aside from a new web interface that was created recently (developed in ASP-NET), all the rest was until now programmed in MFC, despite the new options that have risen in the market in the last 20 years or so.

    Since I need to focus on solving its bugs right now, I need to learn Visual C++ and MFC so, in the future, once I have more experience and familiarity with the solution and feel more secure around it, I'm able to propose modernization steps for it.

    Do you have any recommendations of books and especially online courses, to learn these topics with a '2020' approach? I have a pretty good knowledge of C++, however MFC definitely isn't intuitive for a non-initiated, I'd say.

    Best regards

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

    What interesting software development careers do you know?

    Posted: 06 Sep 2020 06:34 PM PDT

    What interesting software development careers do you know?

    Some background if u want: I am really bored in my present job and looking to switch for something fun. I am a java developer working mostly in enterprise size projects.

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

    Malicious looking code in CSS

    Posted: 06 Sep 2020 10:30 AM PDT

    I stumbled upon a site, and noticed this section of CSS: https://pastebin.com/jNQHbYKx in the website. I'm not sure on what this is, but based on the link names i'm guessing this is some form of ads, right?

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

    How to extract text from Javascript?

    Posted: 06 Sep 2020 01:06 PM PDT

    A website I'm using for school has image summaries that display text as you hover over different parts of the image. It's really hard to study from these, and I'd prefer to just have all of the information in a document I can read over. I've been copy-pasting out all of the text from the source code, but it's a bit time consuming. Is there any way I can just extract all of the text I need and have it compiled into a document?

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

    [PHP][JS] How viable are <iframe> tags in simulating a Single Page Application experience?

    Posted: 06 Sep 2020 04:25 PM PDT

    Some notes: I'm working without frameworks. Pretty much plain PHP and JQuery.

    Before implementing <iframe>'s: I had a fixed navigation bar that is included in all pages. A simple JQ code detects page title from the url and highlights the corresponding title in the navigation bar. Clicking <a> tags in the nav bar redirects to your desired page and so on.

    I was really keen on making the site experience feel more app-like, which required getting rid of the few seconds of 'nothingness' and white flash that result from page reload.

    I tried an approach where I literally load the entire site in hidden <div>'s and show/hide given what the user requests from the nav bar. Apart from the unnecessarily queried tables, this approach was too high-maintenance for me and I quickly diverted.

    Fast forward, I uncovered the ancient ruin that is <iframe>'s.

    *Current situation: my index page is nothing but the nav bar and an <iframe> tag. Page change is now being done on hashchange basis. Since the <a> tags now change the hash, as to maintain a page history. On nav bar clicks, I simply use this approach to load in the new page in the <iframe> without confusing my browser with multiple back pages (parent page and iframe>

    var frame = $('#main_frame')[0]; frame.contentWindow.location.replace(link); 

    The <iframe> links to the exact pages from my old approach, except that the nav bar is removed from them (to prevent double nav bars). This approach worked and behaved exactly the way I want it to. Moreover, even when requested pages fail to load or on accessing 404 error page, you would still have your navigation bar https://i.imgur.com/FrIA8WO.png

    I still don't understand why this approach is no where to be mentioned or discussed when it comes to simple SPA. Am I missing something? The <iframe> tag has 100% width, 100vh height, it scales with window, and so does the content it is loading. Would this backfire on me and why? I've never had something work for me on the first try and I'm becoming suspicious of why people tend to be apprehensive when it comes to <iframe>'s (security aside, since I'm loading my own domain pages.)

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

    Very new to programming, wanted to try and learn one. I know the smallest bit of python. Debating what language to learn.

    Posted: 06 Sep 2020 02:35 PM PDT

    I was debating on what languages to learn, and I was probably going to learn Java or C++, but I wanted some other inputs on it. Any opinions?

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

    Trying to figure out how to solve this coding project. Video chat module implemented

    Posted: 06 Sep 2020 01:21 PM PDT

    So I was able to clarify what I need to do.

    Zipcan is just an out of box video chat module. So my thinking was you could implement this in your own environment and put an authentication method around it.

    I apparently don't need to use anything but Google authentication API and JavaScript, HTML and CSS.

    Can someone guide me in the right direction as you have seen I've taken a crack at this and don't rely on you guys fully.

    So I use JavaScript, css and HTML for the login, and Google API authentication. Then like arrays for data storage? A new page for the video chat using JavaScript and embed the video chat module link?

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

    What's the best way of making LaTeX available in a note-taking application?

    Posted: 06 Sep 2020 08:53 AM PDT

    Most Linux note-taking applications I've seen that support LaTeX are Electron apps. I'm assuming the browser process (if I'm understanding Electron right) allows for this by processing MathJax or KaTeX. However, for desktop applications that don't use Electron, what is the best way for them to render LaTeX equations? Should they just bundle a web browser to make use of MathJax/KaTeX, or is there a way to use them without doing so? Is Zim's idea of just rendering images using the user's installed LaTeX distribution the only way to do so without a web browser?

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

    What do you think about clients/projects that hire you after they have had their go at creating an app/website?

    Posted: 06 Sep 2020 08:38 AM PDT

    I am very new to programming in general; I started learning only after getting an idea for an app. It took me a while to realise that it's not my cup of tea, and even if I use YouTube tutorials and StackOverflow, at most I will be able to create a skeleton app without any backend services, or any scalability.

    However, due to limited resources at my disposal, I have decided to do just that, ie, create a basic structure so that any developer I hire has to spend less (relatively) time making my app, and therefore save me some costs.

    So, have you ever have clients come to you with projects half-way? Do you almost always have to overdo/redo their code? Or is it a good solution that can really save your client some costs?

    It is important to note here that I'm not being overtly optimistic here, at most I expect to save my developer only a handful of hours, but money really is that tight, so I wish to know if it is worth it or would they really just prefer to do the entire thing themselves?

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

    How can i protect my "video call" style website from nudity.

    Posted: 06 Sep 2020 01:54 PM PDT

    I have an idea for a website which would be accessed by adults and children with live video being a integral part of the experience. i'm worried about kids being exposed to things they shouldnt.

    For more context its a turn based card game so ideally you would only see the playmat and the persons hands.

    Apart from all the other considerations like cheaters, how could i moderate the videos.

    Im open to any ideas or ways to deter people from being gross.

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

    How do I iterate trough a set backwards using pointers?

    Posted: 06 Sep 2020 04:12 AM PDT

    Spefically I wanna iterate trough a set so:

    for (auto k : s.end(); k != s.begin(); k--) 

    But obviously this takes the end element which is not good and does not take the first element.

    Second question: Lets say I had a custom pointer that actually pointed to the last element, lets say Rend. How do I make a for taht takes the begin() into account?

    for(auto k : s.Rend(); k != s.begin(); k--) 

    Something like that but it executes once after the break condition.

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

    What's a language I could use to create a program that works on Android, iPhone and Desktop?

    Posted: 06 Sep 2020 10:19 AM PDT

    Maybe a webpage or offline html page?

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

    What is an 'Extension' ? Is it a thing in C++

    Posted: 06 Sep 2020 04:06 AM PDT

    I encountered this code on the internet and am curios about it.

    extension Array { func at(index: Int) -> Element? { if index < 0 || index > self.count - 1 { return nil } return self[index] } } 

    What extension mean and is something like this available in C++?

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

    What does this code do

    Posted: 06 Sep 2020 04:02 AM PDT

    if let value = arr.at(index: 2) { print(value) } 

    I only care about the "if let" thing. Is this possible in c++? If so, what does it do?

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

    Lighter alternatives to Facebook customer chat on business websites?

    Posted: 06 Sep 2020 03:58 AM PDT

    Working on a website with a customer chat feature provided by Facebook messenger, although quite functional, Page Speed insights showed that the FB chat plugin really took a toll on the site's performance. GTmerix also showed the the plugin prolonged the site about +2.5 longer.

    I'm considering changing up the messaging service but I'm quite new to web development and also unfamiliar with chat systems, any recommendations for a lighter, less performance heavy alternative?

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

    Band Pass filter on audio in android

    Posted: 06 Sep 2020 03:53 AM PDT

    How to filter audio which is getting played by audiotrack in android studio? I want to filter exact frequencies like in this app-> Stemoscope eg. 20hz-500hz.
    I have been stuck on this for quite a long time now. Anyone help!

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

    Is it ok to jump immediately at learning Python even though I haven't learn html? Will it be easier if I learn html first? Thank you.

    Posted: 06 Sep 2020 04:20 AM PDT

    No comments:

    Post a Comment