What good books are there on data-oriented design? Ask Programming |
- What good books are there on data-oriented design?
- How do I tell a company that I'm interested in a position but not right now?
- How to Detect and Return Repeat Strings in C++
- This is a little below the realm of programming
- Can you do a combinatorial pairwise reduce with sub-n^2 complexity?
- I am in need of a script that detects an input on either a gamepad or keyboard and writes it to a file. What is the simplest way to do this?
- insert strings into an array
- How to create a Currency Trading Bot
- so this is an easy one :/ (conditionals)
- Whats the difference and relationship between HDL code, microcode, instruction set architecture, and assembly?
- If we use a framework under MIT license in front-end, the whole front-end needs to be under MIT also?
- Monument Valley Intro Help
- Jog my memory: what are those concurrency-related objects called that sorta act as semaphores, but you can set individual bits? They may or may not be specific to a thread.
- License that prevents commercial use
- Failure when "Archiving" Android Project in Visual Studio
- App Inventor Please help me create a project that finds the factors of a number.
- Code review
- Webscraping multiple sites with changing html elements
- Automate Process Sheet
- Any Open Source framework to build integration across APIs?
- Can't choose MySQL 8.0 as Type in Eclipse Photon - Connection Profile of an SQL File
- Data quality measurement for streaming data with apache spark
- Does your first role in the industry create career prejudice?
What good books are there on data-oriented design? Posted: 01 Aug 2018 08:20 PM PDT I have studied Effective Java by Bloch and have been writing expressive OOP code in Java. Java is great; a fairly intermediate programmer can quickly churn out future-proof, maintainable code that achieves everything you want to achieve with excellent readability. What more could you want? Something feels off though. You're never going to get the most out of your hardware if, by design, you encapsulate to a level where you don't understand what the hardware is physically doing. Pumping out immutable objects is always going to pass unnecessary bloat to the processor. Glitchiness when trying to scale programs, or add graphical flair or computational intensity (e.g. AI, N-body physics), seems unreasonably hard to debug. I watched this video which confirms, or at least provides a professional opinion, on what I have been experiencing. What good books are there on (what this video calls) data-oriented design? Also can anyone recommend a good introductory text on how to read the assembly code generated from compiled C++ code and tweak it until it compiles optimally? Finally what good texts are there on maximising the useful information density loaded into your CPU caches, in practice? I realise this style of coding is highly difficult compared with a pure OOP style, but from what I gather, data-oriented design reigns supreme when you have the time and want to make incredible, complex programs that run smoothly. I have a strong mathematical background and want to give it a go. [link] [comments] | ||
How do I tell a company that I'm interested in a position but not right now? Posted: 01 Aug 2018 03:13 PM PDT So I have been contacted by a recruiter to apply for a company that I would definitely want to work with, but I'm not confident enough in my skills to be able to succeed in the application. It's in a language I haven't used properly in years, and I'd like a chance to go over it with a small project or something. I was planning to take some time in September (Finishing work at the end of August) to go over some of my skills and work on some projects that I haven't been able to make the time for right now. I'm also leaving the job because of some personal issues that really affected my self-confidence in my abilities. I didn't settle in well to the job and struggled a bit, and it really affected my confidence in my ability to work in the industry at all. My hope is that I would be able to work on some small personal projects that might help me build confidence in my ability again. Is there a good way to tell them "I'd love to work for you, but I'd like to take some time to work on my skills before I apply" or any other way to tell them "Yes, but not right now. Would I be able to apply in about a month."? Any way to make it clear that I would like to apply, but would like to take some time before doing so. [link] [comments] | ||
How to Detect and Return Repeat Strings in C++ Posted: 01 Aug 2018 07:05 PM PDT Hello, For example, using the word "ball", how do I detect how many times the string "ball" appears in an array? Thank you! [link] [comments] | ||
This is a little below the realm of programming Posted: 01 Aug 2018 10:23 PM PDT I'm trying to convert .docx files from Word to be used with Google Docs while retaining their format. Most of the documents are forms are loaded with headers, footers, images and tables (all of which may have been incorrectly inserted and aligned as it is). Obviously once I open the Word files in Docs they go haywire. Any conversion process or will I have to attempt to correct this issue manually? Any advice would be appreciated, even if it consists of sending me elsewhere for my answer. Thanks in advance. [link] [comments] | ||
Can you do a combinatorial pairwise reduce with sub-n^2 complexity? Posted: 01 Aug 2018 12:26 PM PDT Suppose I have an array of objects, and I want to perform an operation on every pair of objects. E.g. for the array {a, b, c, d}, I want to perform reduce(f, {{a, b}, {a, c}, {a, d}, {b, c}, {b, d}, {c,d}}). An example application would be calculating the total interaction energy between n charged spheres. If we literally create the array {{a, b}, {a, c}, {a, d}, {b, c}, {b, d}, {c,d}}, there's no getting around minimum n2 complexity. However, are there any methods (hardware-based or algorithm-based) to calculate the pairwise operation with sub-n2 complexity? Are there any proofs out there showing that it's not possible? [link] [comments] | ||
Posted: 01 Aug 2018 07:54 PM PDT Basically just wanting a prompt window that says "Press Up," and if the user presses the r key on the keyboard it writes that to a config file, or if the user presses the up button on a gamepad it writes that to the file, then proceeds to "Press Down," etc, etc. I can't find any way to do this with a .bat file. Is vbscript capable of this? [link] [comments] | ||
Posted: 01 Aug 2018 07:01 PM PDT Hi, I need to be able to create a class that inserts strings into an array alphebetically, aswell as expand as needed... can't use any external imports. this is what i have so far ... any help plz: [link] [comments] | ||
How to create a Currency Trading Bot Posted: 01 Aug 2018 06:06 PM PDT A little background, I've just got my associates degree in Computer Science and have some time to work on projects. The project I'm embarking on is basically creating a smart automated 'bot' for trading currencies on stock markets and crypto markets to make tiny profits in matters of seconds. How would I start scripting something like this? Thank you in advance to anyone who has attempted or succeeded at this. Cheers. [link] [comments] | ||
so this is an easy one :/ (conditionals) Posted: 01 Aug 2018 12:08 PM PDT ive got two conditionals printf(''%d'', 1 ? 2 : 3); answer: 2 printf(''%d'', 0 ? 2 : 3); answer: 3 not sure what the conditional is checking for and how it got the answer. [link] [comments] | ||
Posted: 01 Aug 2018 04:34 PM PDT
| ||
Posted: 01 Aug 2018 07:10 AM PDT Or can we add, for example a CC Attribution-NonCommercial-NoDerivatives 4.0 International license on our code? Also, if the same happens in the backend with a framework under Apache License 2.0 ? [link] [comments] | ||
Posted: 01 Aug 2018 02:24 PM PDT Hi guys! I really like the top to bottom transition in Monument Valley's opening, specifically the way the screen moves from the motion graphics at the top of the screen to the bottom. What would be a good way to replicate it for a similar project (app intro)? I was looking at making an after effects file and using Lottie to export that. Is this a viable idea? Are there other ones you guys would suggest? Thanks! [link] [comments] | ||
Posted: 01 Aug 2018 02:19 PM PDT | ||
License that prevents commercial use Posted: 01 Aug 2018 05:12 AM PDT Im working on a personal project in a private repo in github but some new developers will join me to help with new features. I want to add a license that lets the developers that i allow to read, modify, State changes and private use (allways with License and copyright notice) and does not allow commercial use and distribution. Does exist any license with like this? [link] [comments] | ||
Failure when "Archiving" Android Project in Visual Studio Posted: 01 Aug 2018 12:57 PM PDT Archiving fails, and the error message I get is: The "AndroidApkSigner" task was not given a value for the required parameter "KeyPass". I've never had this before. Does anyone have any clue? [link] [comments] | ||
App Inventor Please help me create a project that finds the factors of a number. Posted: 01 Aug 2018 03:57 PM PDT I'm doing my final project for my Computer Technology class. I loved this class right up until we started using app inventor. I realized that programming is probably not the route that I want to go so, but I have to take the class so I've been doing a pretty decent job of passing everything just so I can get my credit and not have to retake it. It's just been kind of hard for me to grasp and my professor can be condescending at times when you don't understand something so I'm kind of scared to go to him for help. I just maybe need a push in the right direction to go. I'm so lost and just want to pass the class so it can be over. Here are the instructions: Create an App Inventor project to find the factors of numbers. The user should input a number. After clicking a button, the factors of the number should be displayed. For example, if the user inputs 30, the result should say something like this: 30 is divisible by 1 and 2 and 3 and 5 and 6 and 10 and 15 and 30 If the user inputs a prime number like 61, the result should say something like this: 61 is divisible by 1 and 61 Hint: We can check to see if (get target) is divisible by (get factor) by checking to see if modulo of (get target)÷ (get factor)=0 [link] [comments] | ||
Posted: 01 Aug 2018 06:35 AM PDT If this is the wrong place for this post, please let me know. I am a hobbyist programmer that has been writing code for 20+ years on my own. I try to research best practices, etc. but I don't really hang out with other coders. I'm also the only coder where I work, nobody else here understands this stuff. I'm writing an application that is going to be used by a bunch of staff, and I'm making it available to the community as well. So this is the first thing I've written that will probably be looked at by others. I'd like to know if what I'm writing, and how I'm writing it, is...good? If somebody wouldn't mind taking a quick look, the project is here: https://github.com/APrettyCoolProgram/myAvatool And most of the code is actually here: https://github.com/APrettyCoolProgram/myAvatool/tree/master/myAvatool/myAvatool I'm not looking for in-depth analysis (although that's fine too). I'm really looking for feedback like "your code is easy to read" or "I have no idea what is going on with your code". I know there is a lot of stuff I'm not doing right, or could do better. I'm looking more for if my foundations are decent. Also, I plan on attending some User Groups so I can start hanging out with other coders. [link] [comments] | ||
Webscraping multiple sites with changing html elements Posted: 01 Aug 2018 09:37 AM PDT So I'm trying to make a webscraper that will parse a bunch of websites for small businesses and find their hours. The problem I'm running into is how the HTML elements the I formation is on changes from site to site. What are the ways you can overcome this hurdle in webscraper? I'd imagine there would be a way to find what element the information belongs to, or you would just manually set what the html element is for each site manually. I'd preferably would like to find a dynamic solution as I would prefer to have another part of this webscraper collecting website urls for small businesses to scrape hours from. This might be some rookie stuff in not understanding the limits to web scraping but I thought I'd ask here since everything I find on this topic pertains to changing the URL for a site to navigate the site, rather than working with two completely different websites. [link] [comments] | ||
Posted: 01 Aug 2018 05:21 AM PDT I am a manufacturing engineer looking to automate the creation of process sheets. My products have descriptive part numbers that dictate the configuration of size, color, finish, etc. of the parts. Right now I manually right all of these out into a spreadsheet in AutoCAD (painful process) and I think this can be automated. I do like the template I use in autoCAD and I think I would replicate this into an excel spreadsheet. Most of the bill of materials (BOM) can also be determined from the part number (e.g. a Black part would have Black paint in the BOM) I'm unsure if the logic would be best served in excel, access, or python (or some combination of them) [link] [comments] | ||
Any Open Source framework to build integration across APIs? Posted: 01 Aug 2018 08:03 AM PDT I basically need to query deltas from several API endpoints and insert these deltas to my database, crawling the API incrementally. Until today, I have built my own python scripts that make such integrations. Recently, I have found platforms such as LinkApi or Oracle Integration Cloud. I would like to know if there are any free (and open source) alternatives out there. Thanks in advance. [link] [comments] | ||
Can't choose MySQL 8.0 as Type in Eclipse Photon - Connection Profile of an SQL File Posted: 01 Aug 2018 07:03 AM PDT System: Windows 10, Java 1.8, Tomcat 9.0.10, Eclipse Photon, MySQL 8.0 (as Windows Service). [link] [comments] | ||
Data quality measurement for streaming data with apache spark Posted: 01 Aug 2018 05:54 AM PDT Hello, I have very general question about Apache Spark. I want to know if it is possible(and where to start, if possible) to implement a data quality measurement prototype for streaming data using Apache Spark. Let's say I want to work on Timeliness or Completeness as a data quality metrics, is similar work already done using spark? Are there other frameworks which are better designed for this use case? [link] [comments] | ||
Does your first role in the industry create career prejudice? Posted: 01 Aug 2018 03:06 AM PDT Hi all, Apologies if this is inappropriate. I've got two job offers that I'm debating about with both being software engineers. One being focused around C#/.NET/Windows development and the other is essentially a Drupal developer (think PHP, node, JS as the primary tools) The latter is more highly paid in a different country but has more niche work and I may not learn as much as I would from the other. The former is focused on application development and involves the whole process (might get experience with Azure, Kafka, and so on) so that seems like a better option for learning the fundamentals of the industry. My worry is that if I take the C# role I will defined as a .NET developer or constrained to Windows development thereafter. I do not want a long term career in either because Windows is my least preferred platform, and the PHP offer allows me to use Linux or Mac. Any advice? [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