• Breaking News

    Sunday, August 26, 2018

    Why don't we still use or provide the option to use software rendering today? Ask Programming

    Why don't we still use or provide the option to use software rendering today? Ask Programming


    Why don't we still use or provide the option to use software rendering today?

    Posted: 26 Aug 2018 07:02 AM PDT

    Software rendering was how video games worked before video cards and even at the beginning of video cards, most games relied on it. I can still remember that some games allowed you to switch between software rendering and hardware rendering. We already have powerful CPUs today, so why not allow them to do some graphical work?

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

    Trying to create a volunteer ranking algorithm for a question an answer site.

    Posted: 26 Aug 2018 02:17 PM PDT

    Not sure if there is somewhere better to post this, but I could use a bit of input. I am working on an algorithm to rank volunteers on a question and answer site. I have created a monte carlo simulation depicting the problem here:

    https://github.com/stupidtools/q_ranking_algo

    Looking for either input or advice on where to research these types of algorithms.

    Thanks!

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

    I want to create a few websites - I know basics of html/css, very basic programming, and am glad to hire others when needed. What should I learn to make sure I can do it right?

    Posted: 26 Aug 2018 01:06 PM PDT

    Title pretty much sums it up. I have built a bunch a bunch of websites with Wordpress, but never anything that involved actually working with databases. I want to build a website with some basic social functionality, login/logout, messaging, etc. in a specific niche.

    I am glad to hire devs for what I can't do, but I feel as though I should learn what I need to so I can make sure we do it right. What topics, courses, etc. would you suggest that I learn about? Any specific platforms or libraries I should look into?

    Thanks a lot!

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

    Every C++ project I make in VS2017 fails to build

    Posted: 26 Aug 2018 02:18 AM PDT

    Hello, all.

    Have a good chunk of experience in C#, decided it was finally time to learn C++. I'm already familiar with VS, so I decided to just skip the headache and do my C++ work there.

    Now this is potentially an IDE issue more than a code issue, but I really can't say for sure. The problem is that whenever I build a project, it fails with the output window rather unhelpfully stating: "Object reference not set to an instance of an object."

    This is on any project I make, be it a brand new console project that I make exactly zero edits to or a basic Hello World program that I wrote which contains only a single file. #include <iostream>

    int main() { std::cout << "Hello World!" << std::endl; std::cin.get(); return 0; } 

    The error list is empty and is not elaborating any further upon the issue.

    Any help at all as to what could cause this would be greatly appreciated.

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

    Git push/pull shows fatal exception, followed by a successful reply

    Posted: 26 Aug 2018 12:37 PM PDT

    I recently set up SSH to stop being prompted for credentials each pull/push, however when I try to perform these actions, I get something like this:

     fatal: HttpRequestException encountered. An error occurred while sending the request. Counting objects: 5, done. Delta compression using up to 8 threads. Compressing objects: 100% (5/5), done. Writing objects: 100% (5/5), 788 bytes | 788.00 KiB/s, done. Total 5 (delta 3), reused 0 (delta 0) remote: Resolving deltas: 100% (3/3), completed with 3 local objects. 

    The code does end up being successfuly pushed/pulled, however it always starts off with that fatal exception message. I was wondering how I can figure out why this is happening and how to get rid of it. I am currently using an integrate command line within VS Code.

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

    Suggestions of open source/Github projects to get inspiration for a new project?

    Posted: 26 Aug 2018 07:11 AM PDT

    Im looking for suggestions of projects to get inspiration (get insight about files and folder oraganization and hierarchy, separation of MVC, etc...) . This new project has html, css and js on front end and is written in PHP and MySql on the back end, so it would be nice to have this in consideration on yours suggestions...

    submitted by /u/Don-g9
    [link] [comments]

    is it possible to change only 1 binary digit to another place in java?

    Posted: 26 Aug 2018 06:14 AM PDT

    tl;dr: I want to make a program that solves who wins in the josephus problem in java.
    i had watched this video and i'm doing a little side project in java because i'm bored and i have nothing better to do. I want to know who wins the game, the user inputs a number and the computer shows the user who wins, i know there are bitshift operations in java, but do i need to use these? is it even possible in java to shift the first number to the last position?

    tl;dw: the josephus problem, it's possible to know who wins by switching the first and last bit of a number in binary

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

    Various windows programs and their languages

    Posted: 26 Aug 2018 02:08 AM PDT

    I know that title sucks but can't find a suitable title for my post. So I'm a new programmer. Trying to learn and exploring various fields. I like java. I tried to make a few projects with it using javafx. But I was wondering how and in which languages other various windows programs are written. Like I have to install JRE to run my program in other computers but the programs I install from the internet for windows don't need that. Just install and use. As far as my knowledge goes, appropriate libraries have to be installed in the machine to run those programs written with those languages. So how this thing works?

    Hope I have clearly explained my question coz I'm really bad at it.

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

    Executing binaries faster as a server

    Posted: 26 Aug 2018 12:31 AM PDT

    Hey reddit,

    I'm building a simple server in python that upon a request containing some input executes a binary with the input and returns the result. For now I am using subprocess to execute the binary which prints the result into a file. I then read this file using open and then return the result.

    How do I make this execution faster? Every time I obtain a request, I have to go to disk to execute binary and retrieve the output. I was thinking if there is some way to keep the binary and its output in memory or something.

    I'm open to any suggestions, even language agnostic ones.

    EDIT:

    I forgot to mention, I have to save the inputs to a file and then execute the binary on this file to get output. Is there a way to do all of this in memory?

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

    Core Java Interview Questions collections

    Posted: 25 Aug 2018 11:34 PM PDT

    Hey everyone,

    I recently uploaded an app on Play Store (there aren't any ads) on frequently asked questions in core Java Interview.

    Could you guys be kind enough to give feedback on this?

    Link - https://play.google.com/store/apps/details?id=com.gamesmint.javaone

    Thanks for your time.

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

    No comments:

    Post a Comment