What's the best to learn for a noob [Common Lisp, Scheme, Racket, C]? Ask Programming |
- What's the best to learn for a noob [Common Lisp, Scheme, Racket, C]?
- Linking C Program with C++ Struct [Education]
- What is the most accurate program, of at most 100 kB of code (or whatever size limit), that most accurately answers how good a programmer someone is by looking at an example of their code?
- Visual Studio Code Impressions
- Locally-Nameless interpreter in Racket
- [C#] Helping figuring out an error in my code
- Is machine learning provably effective?
- [Java] struggling with inFile and outFiles
- Python Flask Help - returning endpoint in a separate function
- What's a good (Linux) C++ IDE that can do indexing as quickly and advanced as Eclipse, but isn't as shitty?
- Can a web developer call themselves a software developer?
- As a researcher of AI and computing theory, where can I find the most advanced viruses, and search them by various properties? In the ways of lambda functions, I find replicating structures interesting and potentially useful in AI
- Importing files from a GitHub project with licensing
- Need help installing steps 1-4
- programming curves and shapes
- Why would one code a socket?
- MailChimp Code Editing
- Simple Excel Program
- Twitter Poll: Programmers are so unproductive because…
- Best way to store a large volume of images in web application?
- How to hide this element using Tampermonkey?
- Languages for Desktop Applications
- how to bind input data to innerhtml of h4 through mvc pattern in vanilla js?
- Gathering and persisting application logs
- Java library for 3d object visualisation
What's the best to learn for a noob [Common Lisp, Scheme, Racket, C]? Posted: 30 Mar 2018 09:30 PM PDT |
Linking C Program with C++ Struct [Education] Posted: 30 Mar 2018 07:13 PM PDT I'm implementing a binary tree with height 10 that will be used to run a simulation. I need 2047 members of a struct available for my implementation but C only supports up to 1023 members of structs or unions (ISO/IEC 9899:201x). C++ structs can support this many instances but I'm having a lot of trouble implementing this. Is there another approach that would be better suited for my problem? For reference, this is the struct I'm using in C: struct node { int position; int state; struct node *left; struct node *right; }; Thank you in advance! [link] [comments] |
Posted: 30 Mar 2018 09:09 PM PDT |
Visual Studio Code Impressions Posted: 30 Mar 2018 08:08 PM PDT I've recently tried out the relatively new Visual Studio Code IDE, and I can't say I'm a huge fan. I use Visual Studio and Atom for C# and Python development, respectively, and for me, Visual Studio Code does not compare. Of course that may just be me and my pickiness. I'd like to hear some input from anyone that has tried out the IDE, and what language you use with it. [link] [comments] |
Locally-Nameless interpreter in Racket Posted: 30 Mar 2018 07:50 PM PDT Im trying to implement a racket interpreter using locally-nameless bindings (rather than closures). Ive written the interpreter, but now i need to write definitions for abstracting and instantiating (+ normalizing). Any help is appreciated. relevant code is posted here: http://collabedit.com/agm33 A good resource for the locally-nameless approach is the following paper: "I am not a number, I am a free variable" by Conor McBride & James McKinna. [link] [comments] |
[C#] Helping figuring out an error in my code Posted: 30 Mar 2018 04:37 PM PDT I keep getting an error that Severity Code Description Project File Line Suppression State Error CS0161 'Program.ComputeCost(int, int)': not all code paths return a value Severity Code Description Project File Line Suppression State Error CS7036 There is no argument given that corresponds to the required formal parameter 'length' of 'Program.ComputeCost(int, int)' Create a program named PaintingEstimate whose Main() method prompts a user for length and width of a room in feet. Create a method that accepts the values and then computes the cost of painting the room, assuming the room is rectangular and has four full walls and 9-foot ceilings. The price of the job is $6 per square foot. Return the price to the Main() method, and display it. static void Main(string[] args) { int length; Write("Enter the length of the room (in feet)"); length = int.Parse(ReadLine()); int width; Write("Enter the width of the room (in feet)"); width = int.Parse(ReadLine()); ComputeCost(); } public static double ComputeCost(int length, int width) { double cost = ((length * 9 * 2) + (width * 9 * 2)) * 6; WriteLine($"The cost of painting your room is {cost}"); } It's homework so I definitely don't need the actual answer just help figuring out where I'm screwing up. [link] [comments] |
Is machine learning provably effective? Posted: 30 Mar 2018 10:25 PM PDT Or more generally, is there anything that can be mathematically proven about machine learning algorithms? Are there guarantees on how effective or useful they might be? [link] [comments] |
[Java] struggling with inFile and outFiles Posted: 30 Mar 2018 10:13 PM PDT Just to clarify, I am new to programming(2nd semester into programming) My project is to create a program that reads an inFile, then input that into methods to print to an outFile. My project explained more: I'm given an inFile with first and last names and five test scores. Then I have to use that info in the file to make it print to another file with the first/last name of the person, all test scores, the average of the test scores, then a letter Grade. So far, my program can read my objects(in the driver) then print them to an outFile with the names, tests, averages, and grade. Im wondering how can I make it so that my program reads an inFile or an existing one, then print it to another file with more information. Any tips help since I've been watching tutorials, reading my textbook, and working on my project for 2 days straight and can't figure it out [link] [comments] |
Python Flask Help - returning endpoint in a separate function Posted: 30 Mar 2018 09:44 PM PDT So, If I have a standard get endpoint setup. Is it possible to return the endpoint inside [link] [comments] |
Posted: 30 Mar 2018 10:57 AM PDT I'm working on a massive project with amazingly convoluted and shitty code. So indexing is pretty essential. Now Eclipse does it very well. Looking up filenames in the workspace, variable use occurrences, "call hierarchy" - a feature I've never seen in any other IDE. And the indexing itself is fast. Typically when importing paths/symbols config it takes about 10-20 min to index everything. Everything else is shitty tho. I don't like the handling of tabs/splits, it's laggy, I often get weird errors or just crashes, some plugins tend to break it, etc... So I've tried importing the same project with the same paths/symbols into other IDEs. So far I've tried Sublime, VSCode and QtCreator(my favorite that I use at home). And indexing the same project takes hours or causes a massive slowdown of the editor. So yeah, I'm looking for something that does indexing as good as Eclipse but isn't as shitty as Eclipse. Any ideas? [link] [comments] |
Can a web developer call themselves a software developer? Posted: 30 Mar 2018 08:20 PM PDT |
Posted: 30 Mar 2018 07:24 PM PDT I am afraid of downloading a million viruses like a fisherman is afraid of a bucket of a million worms I do not mean any viral action against those who do not consciously choose to download and execute whatever possible programs, but in the zoo of possibilities I feel that the sharpest toothed beasts have been snipered where many of us would be safe from closer approaching them to learn more how computing works and build more advanced safe things with some of their replicating parts [link] [comments] |
Importing files from a GitHub project with licensing Posted: 30 Mar 2018 12:07 PM PDT Recently I've been looking into using a particular library with my project. Unfortunately the last time it was updated was over 4 years ago and it doesn't look like anybody is maintaining it anymore. The project currently can't be build and a pull request is submitted that they haven't accepted. [link] [comments] |
Need help installing steps 1-4 Posted: 30 Mar 2018 03:35 PM PDT (Link: https://github.com/zweg25/HQ). Hello, I'm trying to create this bot and follow the steps but it is too complicated and not really that detail. I don't have sufficient knowledge of these programs and I get lost easily. Those links sent did not help me enough and the creator is not making a video tutorial and is not active when contacting him. Can anyone help me with these steps given because I am just lost (such as steps 1-4) and I want to get this figure out. This only work for the Mac from what I know. [link] [comments] |
Posted: 30 Mar 2018 11:46 AM PDT Hi! I want to write my own custom CNC code. Currently, there exists a standard known as gCode that converts paths and shapes into instructions for motor to move across a Cartesian plane. Essentially, I want to learn how it's made and learn how to convert lines, arcs and curves into motor instructions. I know code exists to do this but the engineer in me is very curious how this is done and would love to make my own crappy version of a CNC. Any ideas on where to start? Note: I'm not looking for a particular language. I'm going to do it myself through Arduino, but am more concerned with the theory/methodology for it. [link] [comments] |
Posted: 30 Mar 2018 11:10 AM PDT Recently I have been asked by interviewers if I know anything about sockets. I am curious as to why you would need to code a socket (ie. Client and server). [link] [comments] |
Posted: 30 Mar 2018 10:50 AM PDT Hi all, building a Wix-based personal site and incorporating a MailChimp mailing list sign up in my footer. I'm using the super slim embed code, looks like this. My footer is a dark charcoal grey, I want the background of the mail chimp block to match, and then flip all the font colors to a white. I've found the pieces in the code for font and size, but not color. Is there a tutorial somewhere to change that? am I SOL? Any help would be great, TIA [link] [comments] |
Posted: 30 Mar 2018 06:57 AM PDT Dear whom ever this may concern, I was wondering if there would be a simple way to get this done: In Excel I have a column with something like 001AV to 030AV Another column right next to this column has the item the number is pertaining to (IE: Column A1 = 001AV Column B1 = X) Each item could have many numbers. (IE: Column A1 = 001AV Column B1 = X) (IE: Column A2 = 002AV Column B2 = X) Column A3 = 003AV Column B3 = Y) ETC. I want to make something that sorts these together like so: Column A1 = X Column B2 = 001AV, 002AV Column A2 = Y Column B2 = 003AV, ... etc Can this be done easily? If this is not clear enough I will upload an excel sheet showing exactly what I want after work, although it sort of looks like this: What I Have 001AV l X 002AV l X 003AV l Y 004AV l Y 005AV l Y 006AV l Z … … What I Want X l 001AV, 002AV Y l 003AV, 004AV, 005AV, … etc Z l 006AV, … etc [link] [comments] |
Twitter Poll: Programmers are so unproductive because… Posted: 30 Mar 2018 03:49 PM PDT This is a follow-up to my earlier poll, "To see 10X improvement in developing software, your team needs…" in which the largest response stated better programmers were needed. I'm asking this question to see where you think the slowest members of your team (because I KNOW it isn't you!) are creating an extra burden on the team. [link] [comments] |
Best way to store a large volume of images in web application? Posted: 30 Mar 2018 04:20 AM PDT My current stack currently consists of Angular 5 -> Node.js -> MongoDB. I plan to introduce images in my program. They likely wont be large files, but there will be many of them, and I need them to load as quickly as possible. Should I store them on the Front-End file system, the Back-End file system, or the MongoDB database itself? [link] [comments] |
How to hide this element using Tampermonkey? Posted: 30 Mar 2018 06:18 AM PDT Tried the following but it's not doing anything. I want to select this element in YouTube and hide it with the help of Tampermonkey. // ==UserScript== // @name Minimal YouTube // @namespace http://tampermonkey.net/ // @version 0.1 // @description Make some changes to YouTube // @author You // @match https://www.youtube.com/* // @grant none // @require http://code.jquery.com/jquery-3.3.1.min.js // ==/UserScript== (function() { 'use strict'; $("#label:contains('Creator Studio')").hide(); })(); [link] [comments] |
Languages for Desktop Applications Posted: 30 Mar 2018 01:55 AM PDT Which languages/frameworks should i learn to make a small-scale windows 10 desktop app, cross-platform is not needed GUI is important [link] [comments] |
how to bind input data to innerhtml of h4 through mvc pattern in vanilla js? Posted: 30 Mar 2018 03:18 AM PDT hey, I am having a problem with this: the code: https://pastebin.com/kBVByX2J as you can see I am trying to make mvc with vanilla js with data binding, fro now with just printing out on the oninput event, but it doesn't work, it says controller is not defined, why is that? I am using this: https://github.com/w3cj/front-end-face-off-vanilla-js as my base fro the routing and i am trying to add a new route with content, how can I make the binding work with mvc patter? [link] [comments] |
Gathering and persisting application logs Posted: 30 Mar 2018 03:16 AM PDT Hi, I've got a small/medium sized web app (Spring Boot/Java) and I noticed that browsing logs through CLI have become insufficient because there are too many parallel requests. Right now I'm using Sentry.io (free plan) which gathers all warn & error logs, but sometimes I need to look at 'info' logs too. My first through was integrate my app with AWS cloudwatch logs or setup Logstash instance. Can you share with me your ideas and solutions? [link] [comments] |
Java library for 3d object visualisation Posted: 30 Mar 2018 02:03 AM PDT Hi, I want to build an application that can render 3d molecular visualisations to achieve results similar to this: Molecular visualisation c# unity video Are there any libraries in Java that can I can use to achieve similar results? Or is there a more suitable programming language to do this in? maybe something like swift and use Apple's SceneKit library? Thanks for your help! [link] [comments] |
You are subscribed to email updates from AskProgramming. To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
Google, 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States |
No comments:
Post a Comment