What was your worst and best programming job, and what made them so? Ask Programming |
- What was your worst and best programming job, and what made them so?
- book recommendations for complete beginners please
- How far are we from cell phone docking? Why is this not commonplace?
- Raspberry Pi Zero iOS and Android Device Information Query
- Course recommendations?
- Any book recommendations for complete beginners?
- [Advice] Python vs Godot for Environmental Monitoring System
- How do you actually implement a MVC approach in your code?
- [Python] Raspberry Pi controlled Dog Door Opener
- [Bash] Saving stat command into variable and it returns the result except with : command not found on the end
- Is there a code writer (like Atom) where I can write comments that aren't in the code, and where I can hide chunks of code so I don't overwrite them?
- Don’t know where to host my project!
- How to pass true or false in function in swift (please don't roast me)
- [npm, webpack, vue] Need help with npm code sharing
What was your worst and best programming job, and what made them so? Posted: 26 Dec 2019 08:09 AM PST |
book recommendations for complete beginners please Posted: 26 Dec 2019 08:02 PM PST Hi I've tried to grasp programming trough the Bulgarian book fundamentals of computer programming with C# but is this good beginners choice? is this language in wide use today. is Java better? [link] [comments] |
How far are we from cell phone docking? Why is this not commonplace? Posted: 26 Dec 2019 04:55 PM PST By "cell phone docking", I mean we carry around one device (our phone), and "dock" it into I/O devices, like monitors and keyboards. For example, you go into a library, plug your cell phone on a "dock" in front of a computer monitor, and are able to compute in the exact same way as home. This way, it is unnecessary to carry around a bulky laptop. I don't see technologically why this isn't possible, but it certainly is not standard. Why? And how far are we from it being standard? [link] [comments] |
Raspberry Pi Zero iOS and Android Device Information Query Posted: 26 Dec 2019 02:07 PM PST I have a project that I am attempting to research and find out if it is possible to do. So there are lockers that are coin operated with a key at this venue, and they use them to store things like jackets, boots and such currently. I am inquiring at a manufacturer of smaller versions (8"x7"x8") that would be used to house a cell phone with charging abilities. The user would be able to just lock their phones, experience the venue, then come back to pick up their phone once it's charged for a nominal fee of like $2 or a custom coin that they would pay for at the front counter maybe... not sure about that part yet, anyway. The only issue is, if you put the key in to check the battery level, it would require additional payment to release the key again. So to avoid this, I was contemplating some kind of customer facing LCD display or a meter that would display the battery level of whatever is plugged into the charger. I would have a RPi Zero inside the locker that would be connected to the charging cables, but the Pi would have to be able to detect what device is attached, query the battery level, and then I would output it to the display that is wired into the front door in some fashion. I was wondering if anyone has seen or knows of a github of someone who has figured out how to query an iPhone or Android device through USB to obtain device information like battery level. [link] [comments] |
Posted: 26 Dec 2019 02:58 PM PST |
Any book recommendations for complete beginners? Posted: 26 Dec 2019 02:55 PM PST Hi! i want to start studying programming and i really need some book recommendations. i searched myself and found a book called fundamentals of computer programming with C#. The Bulgarian C# programming book. Or some Java book for beginners? thanks for any advice? [link] [comments] |
[Advice] Python vs Godot for Environmental Monitoring System Posted: 26 Dec 2019 03:57 AM PST Hello everyone! I'm currently working on an environmental monitoring system, and wanted some advice on how to approach development. I'm done a number of university programming courses, and are familiar with python and unity. The system scrapes environmental sensor data (Temperature, Humidity, CO2 Concentration, etc) from a large number of local webpages and compiles it into spreadsheets and a realtime display. I've had previous experience with python, and I know I can easily scrape and compile data. However, I'd like to challenge myself by creating a realtime 3D display of that data. I have a model of the relevant building, and would like to shade specific rooms based on temperature and other statistics. I've considered using Python with Kivy for the UI and Pyglet for the 3D, although I don't feel I'm familiar enough with OpenGL to do 3D stuff from scratch. On the other hand, I've used Blender and Unity in the past, so I'm quite familiar with a 3D game approach. Godot seems like the most promising option, although I'm not sure whether it's suitable for webpage scraping and spreadsheet data compilation as a game engine. Sorry for the massive text dump! There are so many ways on how to approach this, so any thoughts or advice from the community would be very much appreciated! [link] [comments] |
How do you actually implement a MVC approach in your code? Posted: 26 Dec 2019 09:05 AM PST I feel like I understand the theory of MVC but how is it actually implemented in code? My manager at my first internship just had me separate my classes in a package for each component. Also, I'm not sure if I implemented it incorrectly, but the whole controller portion seemed kinda pointless. It felt like I was just adding an unnecessary layer of abstraction between my GUI. Why not just call my DB methods directly from the GUI (this was a desktop application)? Is it just a way of organizing your code? [link] [comments] |
[Python] Raspberry Pi controlled Dog Door Opener Posted: 26 Dec 2019 12:34 PM PST What does the internet think about a Pi controlled dog door? Anyone know of a decent starter guide for getting into object recognition for the Raspberry Pi? Does the Pi 4 have enough horsepower to do this? Which language performs best? I made the mistake of using a standard webcam instead of one of the more native Pi cameras that utilize the system gpu, slowing down my Ai portion of this project [link] [comments] |
Posted: 26 Dec 2019 11:11 AM PST I'm trying to save a file size to a variable by doing: Size=$(stat --printf "%s" /home/user/scripts/file.txt) Which returns: 1273: command not found Does anyone know what to do? I can't seem to find anything about this on stackoverflow [link] [comments] |
Posted: 26 Dec 2019 10:19 AM PST Hello! I want to comment. A lot. And that's why it would not be cool to have my comments in the actual code. Who could ever read 5 lines of comments and then one line of code and then 5 lines of comments. I am making notes for myself so I know what I am doing. So when I look at the code 5 years form now, having forgotten the whole language it was written in, and all the special reasons I used this function over that one.. so I know what it was all about. I saw you can hide stuff in Atom, but can you have some kind of special control over comments? Also, in Atom, I can hide small functions, but I want to be able to hide like whole paragraphs. Like, I have code for a specific part of the program that I am satisfied with, and I want to protect it and hide it so it doesn't get in the way. Locking it would be great. I know , I know. But I want to use one css file and not 20 of them. Thank you! [link] [comments] |
Don’t know where to host my project! Posted: 26 Dec 2019 09:55 AM PST Hi! Happy holidays to everyone! I'm an undergraduate in CS and I started working on a project. I'll be collecting some data, putting it in a database and then make a website that will extract any information requested by the user from the database (using probably JS), converts it to a nice visual and then presents the image (offer a download image option as well). I'll also make a Discord and a Reddit bot that will do the same thing. The code is hosted on GitHub atm. I have a Raspberry Pi 3 B model but some of my friends told me I should consider AWS/Azure to host my project. From my very beginner knowledge of AWS/Azure, they are cloud platforms which you can manage your instance of your application. And that I need a domain and a web hosting platform. My question, is AWS/Azure enough? Is there a good tutorial on how to begin using those services and setup? Do I need anything else? I have zero experience with web platforms (altho I messed around in html/css/js) so any help is really appreciated! Thanks :) [link] [comments] |
How to pass true or false in function in swift (please don't roast me) Posted: 26 Dec 2019 07:36 AM PST I am losing my mind and this has to be the easiest question ever. New to swift, I have no idea how to pass true/false along in an if statement. It is printing the correct line, the if is functioning exactly how I want it to, but I have no idea to pass along true or false static func isUserNameUnique(_ username : String) -> Bool { let db = Firestore.firestore() let newQuery = db.collection("users").whereField("userName", isEqualTo: username) newQuery.getDocuments { (document, error) in if document!.isEmpty { ***RETURN TRUE*** print("No user with username") } else { for document in document!.documents { ***RETURN FALSE*** print("user exists") } } } return ***WHAT WAS ESTABLISHED IN THE DAMN IF STATEMENT*** } [link] [comments] |
[npm, webpack, vue] Need help with npm code sharing Posted: 26 Dec 2019 06:03 AM PST I'm working on a project that consists of 5 projects and all of them use the same libraries and share code from another project. I don't want to install all dependencies in each project. Is there any way to make them get the dependencies from somewhere else? I think I can have actual one package.json in root directory and have different webpack configs for each that only compiles the code that belongs to them but I also need this to work smoothly with Visual Studio, I don't think VS will recognize a project.json in same directory as solution and my boss will want it to work smoothly in VS. My current solution is adding all dependencies to the library project and from there adding them to individual projects as local dependencies Example: Library package.json ProjectA package.json This works but really bad, too often [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