• Breaking News

    Monday, June 29, 2020

    How to get good in data structure and algorithms? Ask Programming

    How to get good in data structure and algorithms? Ask Programming


    How to get good in data structure and algorithms?

    Posted: 29 Jun 2020 08:10 AM PDT

    Hey guys,

    I am trying to prepare for coding interview. How many problems should I try to solve in a day? What was your game plan when you were preparing for technical interview?

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

    Can somebody solve this for me!!

    Posted: 29 Jun 2020 09:48 PM PDT

    in c++ Write a program that reads two times in military format (0900, 1730) and prints the number of hours and minutes between the two times.

    Here is a sample run. User input is in color. Please enter the first time: 0900 Please enter the second time: 1730; the answer should be 8 hours 30 minutes

    Extra credit if you can deal with the case where the first time is later than the second: Please enter the first time: 1730 Please enter the second time: 0900 and the answer should be 15 hours 30 minutes

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

    Is it possible to get a remote developer job with 2 years of experience?

    Posted: 29 Jun 2020 05:47 AM PDT

    I'd like to know someone who lives in South America could land a remote job in USA or Europe having 2 years of experience. Advices are welcome, thanks ;)

    submitted by /u/b-lighter
    [link] [comments]

    Implement ActionListener or not?

    Posted: 29 Jun 2020 08:52 PM PDT

    I met a problem where i call a jpanel in another class so i have to make static method but addActionListener(this) are not accepting static method therefore i used the x.addActionListener(new ActionListener...). So im thinking ...

    Is it better to implement actionlistener or just do a x.addActionListener(new ActionListener(){ public void .....}

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

    Java or C# for work opportunities

    Posted: 29 Jun 2020 04:26 PM PDT

    Hello there. I wanted to know which language is more rewarding when it comes to job offers and freelancing or self employment. when it comes to web AND software dev. Java or C# if I could pick just one? I know that java is like the most used language but C# is getting more and more popular especially thanks to dot net it's really versatile. I am aware that it's worth to learn any language. This is also not supposed to be about "what language is better".

    Thank you

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

    How safe is a GitHub/ GitLab private repo? Alternatives?

    Posted: 29 Jun 2020 06:58 AM PDT

    I make more than $50 k per year with an application designed for businesses. I am at the stage where I'm about to hire my first employee.

    So far, my "versioning" consisted of zipping my project folders every now and then and performing Time Machine backups. We don't need to talk about how awful that is but it did work for me in this initial phase.

    Obviously, now working together with another person, I need a proper Git to overview what has changed in each commit, open issues, do pull requests etc.

    I don't mind paying a bit for the service but now to my biggest worry: I use these things for open-source development on a daily basis. That's fine. But how safe is my code on these platforms? Do some of the major companies use some public Git service too or do they all rely on having their own servers? Or maybe there is a way to encrypt whatever is being pushed online and automatically decrypt when pulled down? Hosting my own Git server would be a choice as well but I have absolutely no experience whatsoever in cybersecurity so I'm afraid to overlook something obvious making the situation worse than had I just used some online service.

    My code isn't revolutionary but someone else having access to it would give them the ability to immediately open up their own business and price dump me.

    If you are in a similar situation I would love to hear your experience.

    If it matters; we are primarily using Xcode (Apple's IDE)

    Thank you for your responses! So I will take the step :)

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

    Pokemon games source code?

    Posted: 29 Jun 2020 04:50 PM PDT

    Hey my fellow programmers, I'm "starting" a project with a friend: we'll create a pokemon game. Is there any place I can find a source code written in C or python? GO is also fine tho. I searched the internet and couldn't find anything. If there isn't such code, is it easy to create it? What should I use? (I think that, if it is the case, I can learn C# in order to use unity. I'm kind of a beginner but it can't be that hard)

    Also, our preference ROM is heart gold/soul silver, but it can really be any of them

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

    Difference between Vue, Angular and React

    Posted: 29 Jun 2020 07:44 AM PDT

    I'm nearly done with JavaScript but I'm confused to what to start next, I don't understand the difference between them or what exactly is the best to start with, any help?

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

    Java gridbaglayout

    Posted: 29 Jun 2020 04:00 PM PDT

    https://pastebin.com/XAC9QPXK

    I am learning abouy gridbaglayout and its x y position are not changing. Jtextfield always stay at middle.

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

    Anything i can do as practise to begin with programming and what language should I learn first?

    Posted: 29 Jun 2020 03:44 PM PDT

    Anyone ever wanna quit their software dev job and just make fun projects at home for the rest of their lives?

    Posted: 29 Jun 2020 03:43 PM PDT

    ^What the title says...

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

    How do I go about creating an AI using image inputs and their corresponding outputs?

    Posted: 29 Jun 2020 03:39 PM PDT

    Hello I'm trying to get into ML and AI (don't know much about both), because I wanted to create a height map completion tool, something that takes a height map for a terrain and using that creates a approximation for a realistic surrounding around the input, so imagine a 3x3 square with the middle square being the input. How do I go upon doing this in python (like any libraries and tutorials)? I basically want to create a model that trains on a lot of image inputs and outputs.

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

    Javascript or Java or Python?

    Posted: 28 Jun 2020 11:19 PM PDT

    My path to learning to code is C, HTML,CSS in that order, and now I'm done with it, but i don't know what i should do now. which of this programming language should i learn next?

    submitted by /u/--Polo--
    [link] [comments]

    Hiding JavaScript files

    Posted: 29 Jun 2020 03:03 PM PDT

    Is It possible to keep the JavaScript files hidden from inspect ?

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

    Programmers who got into it as kids (< 16 or so), what got you started?

    Posted: 29 Jun 2020 03:02 PM PDT

    I'm a professional at a fintech company - didn't get into it until college which seems to be pretty common.

    Curious about the experience of discovering this world while you're growing up - particularly interested because there are a bunch of nonprofits trying to get kids into coding younger. I imagine it being a totally different experience than learning as an adult.

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

    What are the things one should keep in mind before working on a project?

    Posted: 29 Jun 2020 06:16 AM PDT

    We have to decide on a university project soon. What are the things I should keep in mind before working on one?

    In short, how do you guys figure out that what you're trying to build is something that would be utilized and is not just archived a few months later and at the same time utilize the time to learn something in the process? I want it to be of some use and not just a git clone with rm -rf .git >.<

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

    Help using org.json

    Posted: 29 Jun 2020 02:56 PM PDT

    So I'm kind of new to parsing json in Java and have only ever done it in Python. I am trying to simply use org.json to return values from a json string that looks like this:

    [

    {

    "website_addresses": "none",

    "updated_at": "2020-02-24",

    "title": "Chief Financial Officer",

    "tags": "none",

    "social_media_addresses": "none',

    "recruiter": {

    "first_name": "Bob",

    "last_name": "Smith",

    "id": 1234567,

    "employee_id": null

    }

    }

    ]

    I am unsure how to access simple lines such as "updated_at." Whenever I try to do so using getJSONObject() i get an error like this ---> org.json.JSONException: JSONObject["updated_at"] is not a JSONObject

    The getString() method does not work either.

    The only thing that I am able to do successfully without running into an error is call getJSONObject() with "recruiter" as the parameter which returns the 4 items it has within it.

    Any help would be very much appreciated, thanks!

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

    What does it mean to "Write a unit test"

    Posted: 29 Jun 2020 02:29 PM PDT

    Hey everyone,

    I'm reading the Googletest Primer. I thought gtest itself was the test, but in the article it says that it will help with writing unit tests. I'm really new to unit testing because I've never worked with a large organization until now. I understand the concept of unit testing, but I don't understand what it means to 'write a unit test' when gtest itself is supposed to be the test

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

    How often is plsql used in your average SQL database?

    Posted: 29 Jun 2020 01:39 PM PDT

    I have been learning PL/SQL in school and just wondering if any of this is really used. I see some things like triggers fairly useful but other things... not much. Just making this question to know how much should I really worry about it

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

    How to identify machine generated data in a DataFrame

    Posted: 29 Jun 2020 12:54 PM PDT

    I was looking for an algorithm to identify machine generated data (like serial numbers). Currently I found a pattern that the digits in machine generated data have a low standard deviation and a low difference between the Minimum and Maximum value in the column, but this is consistent for only my dataset. Could you please suggest an algorithm that can identify Machine Generated Data given any dataset.

    Thanks.

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

    I figured this was the best place to ask this: I want to do something similar to what Word does with its hotkeys for copying characters.

    Posted: 29 Jun 2020 12:46 PM PDT

    I'm learning French, and they have, well, a lot of diacritics. I've tried changing my keyboard but moving it to French swaps it into AZERTY, and a whole bunch of other stuff hasn't worked. I'm assuming my best bet would be AHK, but I don't know how to use it.

    What I want to do is:

    Ctrl + ' + e would type é

    Ctr + ` + letter would type à, ù, è respectively.

    Ctrl + ^ + letter would give the circumflex

    Ctr + , + c would give the cedilla

    Ctr + << / Ctr + >> would give the corresponding quotation marks.

    I want this to apply universally across all programs. Any ideas where to get started?

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

    Is this a solid API?

    Posted: 29 Jun 2020 12:17 PM PDT

    I'm looking for an API that can provide weather data for various points in Latin America and SE Asia. I was looking at this: https://www.aerisweather.com/blog/2020/06/03/new-global-weather-conditions-endpoint/

    But do any of you have recommendations for other APIs that cover this area?

    submitted by /u/Competitive-Okra-969
    [link] [comments]

    Finding ASCII text in a proprietary compressed file

    Posted: 29 Jun 2020 10:48 AM PDT

    I'm playing a cool game called Tropico 4. It's basically a management game. You are 'el presidente' (the dictator) on a tropical island and you have to build a thriving economy. You start with around 20 people, but in the end you can have a population of over 500. All those citizens have unique names, like "CORNELIO MORENO" or "HERIBERTO GONZALEZ".

    Now I'd like to build a program that extracts the names of all citizens, preferable along with some information about them, from the savegame files of the game. That information should be in there. However, the save files are in some sort of proprietary compressed format. When I scan the savegame file with binwalk, it shows a list of "Zlib compressed data, default compression" When I extract those files, it shows even more data of the same kind.

    Now my question is: would it be possible to locate those ASCII strings inside the compressed save files? Or would that be impossible without the game's source code?

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

    Should I stop my project because I'm reinventing the wheel?

    Posted: 29 Jun 2020 06:58 AM PDT

    Hi, guys. I'm trying to make a window manager using XCB in C++ (My main intention with it right now is to just make it so I don't have an empty github page.)

    So the problem is here: I wanted to log stuff to a particular file, and I read that the go-to way in C++ to log is to use syslog. But there are permission issues with /var/log/syslog and stuff, and the 2 other libraries I checked out (google/glog and log.c): (i) don't make it easy to specify where I want to log, and are too heavy, or (ii) not built for C, respectively. Now, I'm sure if I searched some more I could find the ideal library for my needs, but what I'm getting at here is:

    I keep reading about 'stop reinventing the wheel' in the context of 'don't implement your own logging'.

    So my question is: If I'm supposed to not 'reinvent the wheel' and use an already built logging implementation, then isn't my main project still reinventing the wheel? And I'm running out of excuses as more and more people ask me why I'm making yet another window manager when there's so many out there that are better than mine could ever be.

    So I guess the question boils down to: "If there are so many [x], why even bother making another?"

    In that case, should I stop what I'm doing and think of something new, something unique, to do instead?

    Sorry if this didn't sound crystal clear, I'm having difficulty putting this into words. I'd like your opinions on this and, as always, appreciate the help. Thanks!

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

    In America, what kind of job titles can I look for to get my foot in the door with an Associates Degree in Computer Science?

    Posted: 29 Jun 2020 10:27 AM PDT

    No comments:

    Post a Comment