• Breaking News

    Monday, June 17, 2019

    How are images/videos stored in a database? learn programming

    How are images/videos stored in a database? learn programming


    How are images/videos stored in a database?

    Posted: 16 Jun 2019 08:39 PM PDT

    Take YouTube for example. Are the videos in a directory? Does a table entry points to its location in that directory on that drive?

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

    I would like to build a website too be able too play the python text based games that ive made.

    Posted: 16 Jun 2019 08:00 AM PDT

    I have been trying to teach myself programming for a couple of months now and im working on building a website currently. I have written a couple of simple text based games in python that i would like too add to a website so i have a central easy to get too place to show my work. I know you can embed javascript files in html rather easily; can i do that with a .py file too? Or is there something akin to beautifulsoup that i would need to use? Any help is appreciated.

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

    [Python] Is Windows Task Scheduler the best way to automatically run different scripts at different intervals?

    Posted: 16 Jun 2019 06:20 AM PDT

    I understand best is quite subjective. I really just want to know what the standard is for running certain scripts at certain times.

    These scripts just do a bit of processing and write the results to a database atm. For time being the only condition they have is running at certain times.

    One of the task is quite intensive and so it runs for around 2 minutes. I've set that to run at certain points throughout the day by creating multiple triggers.

    Another task runs at 4:00 AM (Chose at random) and then runs every 15 minutes after that.

    Would it be better to write a handler script and put it in a while loop if I want to expand to even more scripts? Or would this be good enough as it has been for now? What do people usually do?

    Side Note: Is there a way to stop it from opening a command prompt window everytime it runs a script?

    Cheers.

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

    Where can I learn the low level stuff of C++?

    Posted: 16 Jun 2019 06:59 PM PDT

    I've tried looking at code snippets from other people, but all these data types make no sense to me and looking them up doesn't really help either. I have experience with higher level languages like Python and nodeJS, but I really wanna do some cool stuff with CPP. I just dont know where to start. I just want to advance in CPP but everything in it seems like a huge leap and gibberish.

    Thanks in advance

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

    Are there any "Gold Standard" Data Struct/Algo book(s)?

    Posted: 16 Jun 2019 10:45 AM PDT

    Currently in Data Structures and Algorithms class. The book has had several spelling errors and it kind of turned me off from it. The book in question is ADTs, Data Structures, and Problem Solving with C++. I have read about 300 pages of this book and am beginning to lose interest. It's written in 2004, and some of the methods for implementing C++ seem outdated. I know DSAG is timeless though, in that the concepts are deeply ingrained in CS. Does anyone have any recommendations for DSAG books? preferably in the context of C++?

    edit: i came across this link, and found a book with a python approach. This book seems more for people doing interviews though.

    This book seems to be the best?!?

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

    Can anyone remember this programming language?

    Posted: 16 Jun 2019 11:59 PM PDT

    So I remember seeing a very strange programming language years ago, and I can't for the life of me remember its name. It was statically typed and imperative, and I think it could compile to JavaScript.

    However, the really unique and weird feature of the language was that you could omit variables' names and just use their types instead for more concise code. It would've looked something like this, although I'm fuzzy on the syntax besides that exact feature:

    plusOneLong(Number myNumber) { return myNumber + 1; } plusOneConcise(Number) { return Number + 1; } It was absolutely bizarre and so of course is the one detail I can remember. Anyone recall a language that does this?

    submitted by /u/00dani
    [link] [comments]

    Job search program; sorting data from LinkedIn and Glassdoor

    Posted: 16 Jun 2019 07:23 AM PDT

    This is a programming question. So, I'm on the job hunt right now and I'd love to work for a company that pays well and is highly rated by its employees (who wouldn't want this right?).

    There's an issue I'm having which is how do I find jobs applicable to my background (easily searchable via LinkedIn) vs companies that offer high pay and are highly rated (Glassdoor)

    What I've been doing:

    I start with Glassdoor. Which by the way doesn't offer the ability to sort companies by rating for a given location. For example, when I search for all companies in Palo Alto, CA it shows me every company and their associated rating with no way to filter. It would be nice to only see companies >= 4.0 rating in the Palo Alto, CA area. Not sure why Glassdoor doesn't offer that filtering ability.

    Then I search for jobs within those companies using Boolean search terms on LinkedIn.

    QUESTION:

    Without violating terms of service is there a way to pull down and combine this information into a searchable format? I'm pretty new to programming in general. I was thinking one way would be to to scrape with python -> into a SQL database? Would that be the right way to approach this? Or perhaps access via an API to create more advanced search terms?

    Is there anything available that you guys are aware of that might make this easier for a noob. Thanks in advance!

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

    Self attaching audio recorder file to the audio field in a Django form

    Posted: 16 Jun 2019 08:31 PM PDT

    So here's is the story so far. I have a form with fields title of an article, tag related to article , and an audio recorder embedded into the form for embedding an audio commentary of the article. the audio recorder generates a blob with a save to disk , and upload option. i want the file our audio recorder generates to be self attached to the audio_log field . So that finally when the user submits the form i have (title, tag and an audio commentary in my table).

    I tried implementing a jump table but could not get it working . Right now i am thinking of implementing a multistep form wizard but i don't think it is much suitable since our form is not so long. How should i proceed ? Any code examples with some explanation would really be helpful.

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

    Books about the history of technology/programming

    Posted: 16 Jun 2019 09:30 PM PDT

    I've been reading Ellen Ullman's "Life in code" pretty good book and finished not long ago "The Code Book" about the history of cryotography. Does someone have another recommendation?

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

    Is this bundle a waste of money or actually helpful

    Posted: 16 Jun 2019 06:40 PM PDT

    https://depot.xda-developers.com/sales/zero-to-hero-html5-game-developer-bundle?utm_source=xda-developers.com&utm_medium=referral&utm_campaign=zero-to-hero-html5-game-developer-bundle&utm_term=scsf-328893&utm_content=a0x1P000004HON5&scsonar=1 I found this game development bundle for 25 dollars and I wonder if this is worth it or not My background about programming: I only know some basics of python still a high school student trying to get into this

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

    In need of programming advice to improve my pace and website recommendations.

    Posted: 17 Jun 2019 12:02 AM PDT

    I'm very insecure with the pace i learn things which makes it hard for me to attempt to learn in a faster way, i spent more than 4 months learning html and css on freecodecamp, but i haven't gotten through all the lessons in css from freecodecamp since i doubt in myself when it has to do with learning, so i spend more time on stuff i don't need to be spending time on anymore.could you guys link me to sites that are like freecodecamp where you put the code in the site to complete activities, but has a problem solving aspect that freecodecamp doesn't have? and also tips to have a better schedule and how much time i need to spend on languages. (sorry for the bad grammar and there's the css grid and responsive web design principles i need to complete in freecodecamp to beat css)

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

    Alternative to Pearsons MyProgrammingLab online

    Posted: 16 Jun 2019 08:14 PM PDT

    I'm studying Java and my university uses the Java Software Solutions textbook so I thought I'd buy the online companion program so I could practice the exercises at the back of each chapter (the topic has weekly drills to complete based on the textbook so this looked very helpful).
    After spending half an hour being denied access to log in, clicking customer service links that are broken and seeing all the negative comments on their YT videos I'm curious if there is a better option. I really need a code runner to practice building and running basic programs in Java so I can pass the topic (it's my second try now). Thanks

    submitted by /u/616_919
    [link] [comments]

    Do you feel that you program better in the morning?

    Posted: 16 Jun 2019 05:56 PM PDT

    Thinking of waking up early to program as I tend to be too tired in the evening to read a textbook.

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

    Exact Change

    Posted: 16 Jun 2019 11:47 PM PDT

    So Im currently attempting to write a program for an assignment in my intro to Java class. We just finished if statements and we are attempting to find the exact change. Meaning if given an input the program will spit out the amount of change. Example 35 would be 1 quarter, 1 dime. I think I may have figured out most of it on my own but the program keeps telling me that Im divding by 0. I undestand why thats happening. But I cant figure out how to get it to go through each part until its got all of the change instead of stopping on something that makes it divide by zero. I hope this was enough information. I dont wanna cheat, I really wanna know how to do this but its the middle of the night and I know my professor will be asleep. I can give more infor per request.

    import java.util.Scanner; public class LabProgram { public static void main(String[] args) { Scanner scnr = new Scanner(System.in); int totalChange; totalChange = scnr.nextInt(); int quarter = totalChange / 25; totalChange = quarter + totalChange % quarter; if (totalChange <= 1) { System.out.println((totalChange) + "quarter"); } else { System.out.print ((totalChange) + "quarters"); } //Need to put modulo here to get the amount plus the remander and then have to program use the remander for the next int int dime = totalChange / 10; totalChange = dime + totalChange % dime; if (totalChange <= 1) { System.out.println((totalChange) + "dime"); } else { System.out.print ((totalChange) + "dimes"); } int nickel = totalChange / 5; totalChange = nickel + totalChange % nickel; if (totalChange <= 1) { System.out.println((totalChange) + "nickel"); } else { System.out.print ((totalChange) + "nickles"); } int penny = totalChange / 1; totalChange = penny + totalChange % penny; if (totalChange <= 1) { System.out.println((totalChange) + "penny"); } else { System.out.print ((totalChange) + "pennies"); } int dollar = totalChange; System.out.print(totalChange); } } 
    submitted by /u/Embarrassed_Cow
    [link] [comments]

    Should I stop and learn Python

    Posted: 16 Jun 2019 11:40 PM PDT

    I am currently trying to learn c# and the occasional java lesson, but I feel like I am not retaining the information. Should I go learn Python because it is very easy and very versatile and will help me when I go back to c#/java? Or is there a way I can get out of tutorial hell?

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

    Is the full stack certification on FCC worth it?

    Posted: 16 Jun 2019 11:38 PM PDT

    I have a few questions for those who have finished the full stack certification on freecodecamp:

    - Do you think its worth to spend time on?

    - Did it truly prepare you for coding interviews and has it ever helped you get a job/internship?

    - Do you think putting the certification on a resume a good move or should i stick with a portfolio showing the projects I've worked on using the stuff I've learned from FCC?

    - I'm currently learning python by myself, do you think that FCC will help sharpen my python skills?

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

    Stuck in tutorial limbo. How to break free?

    Posted: 16 Jun 2019 01:16 AM PDT

    So I've been doing the Helsinki MOOC for past few months and when work gets hectic, I tend to not do them for a week or so because I come home late and I just keep forgetting what i learned. The longer I take a break, the harder it is for me to continue from where I left.

    I feel like I'm at a point where I need to start from the beginning. I really should be starting part 2 now. Reading my older exercise programs is daunting because I got creative in modifying lot of code because I was learning. I get the "did I actually write these" feeling.

    Should I push through the 2nd part after brushing up on older content or look for another source to learn?

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

    10 tips I personally follow to grow as a successful programmer

    Posted: 16 Jun 2019 04:50 PM PDT

    Hi programmers! I am sharing a link to a new site I'm building and a blog I wrote on things I've learned over the past several years to grow as a programmer. I hope this can be be helpful for people starting their programming journey or in the first years of their career and am eager to develop people in their programming fundamentals, career skills, and particularly python uses.

    https://beapython.dev/2019/06/16/10-tips-to-be-a-successful-programmer/

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

    [SWF/FLASH] Possibly Rerouting Flash Game Server So It Does Not Require Online Connection?

    Posted: 16 Jun 2019 06:33 PM PDT

    So, recently I uncovered an online flash game that I haven't played in years. This was my literal childhood. For nostalgia's sake, I dove right into trying to play. The website I once played it on had the game removed by the developer, and I had to find it on another website.

    After booting it up, found out that their online services are dead and there is no way to access the friends tab in-game (mercenaries for hire.), and also the premium shop (in-game purchases for gear.) When clicking "Play", the game becomes stuck in a loop on "connecting" and "disconnect from server", and you're never able to access these features.

    I've downloaded the .swf file and snooped around, but I've yet to uncover anything I can comprehend. Would there be anyway for me to either disable the requirement of a server connection, or even create my own and reroute the game in the .swf to it and have it work? I'm no where near experienced in any of this type of stuff.

    I have located a fair chunk of scripts in the code linked towards the website servers, but I've no idea on what to do. But, if I were to dive in and try to fix this for myself, I'm wondering if it'd be worth the effort. I'm willing to go through a fair chunk for this type of nostalgic feel.

    Game is Located Here:

    https://www.kongregate.com/games/artlogicgames/the-bravest-hunter/?haref=bravesthunter

    Link I Used to Play On Is Archived: http://web.archive.org/web/20150830085718/http://armorgames.com/play/15392/the-bravest-hunter/

    EDIT: Cleaner Formatting.

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

    Learn TestCafe, now on Pluralsight

    Posted: 16 Jun 2019 06:32 PM PDT

    Hi everyone,

    I just published my first TestCafe beginner-level course on Pluralsight, which I think is perfect for beginners who are wanting to learn how to do end-to-end UI testing of their web application.

    https://www.pluralsight.com/courses/testcafe-end-to-end-web-testing-getting-started

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

    Any non-tutorial resources for C#/.net or Angular?

    Posted: 16 Jun 2019 10:03 PM PDT

    Does anyone have any podcasts or videos for expanding C#/.net or Angular knowledge? I am looking for things more in a textbook style of learning, i.e. where concepts are explained, their uses are discussed, and their benefits and drawbacks are discussed. Preferably aimed at intermediate level developers.

    I'm looking for the type of thing I can listen to while driving or cooking, etc..

    Thanks!

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

    B.Sc. worth it?

    Posted: 16 Jun 2019 09:53 PM PDT

    I am doing an apprenticeship as a software developer at the moment and could enroll for a part-time Bachelors Degree program at University now. The question is: is it worth it? Should I use my time off work to study, or should I point my energy towards programming projects? I think I would learn more applicable things while doing programming projects myself. On the other hand, I am from Germany and a degree is still pretty important here.

    As I am working 6 days a week, there is only time for either uni or private programming projects.

    I would love to hear your opinion.

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

    How may I access elements in a session attribute ArrayList<objects> in JSP

    Posted: 16 Jun 2019 09:28 PM PDT

    So I have an sql db of items added by a user and I go grab them in my model and pass them along to a session within my controller. My controller looks like this:

    ArrayList<ItemBean> inventoryArray = inventory.getInventory(10);

    session.setAttribute("inventory", inventoryArray);

    The ItemBean object has a variable called title (of type String) and it has a getter method.

    What I'm trying to do in a jsp file is print the titles of each item in the inventory list. In my jsp I have

    session.getAttribute("inventory") ;

    How do i print out the titles?

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

    Number of ways to choose elements from the array such that their average is K

    Posted: 16 Jun 2019 09:21 PM PDT

    Hey I am practicing for competitive coding and I am stuck at this question can briefly explain it to me please?And Why three nested for loops are used. I can't visualise even after debugging the solution.

    Solution for the mentioned problem.

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

    No comments:

    Post a Comment