Can developers help reduce environmental impact and exploitative supply chains by writing performant code? Ask Programming |
- Can developers help reduce environmental impact and exploitative supply chains by writing performant code?
- Are we sure that the Smartmatic / Dominion voting machines are secure?
- Is the DHCP server one place with a big huge bunch of servers processing everyones requests?
- Rust or C?
- Question about automating reporting for my small business.
- How would you go about solving this puzzle
- (Legal question) Referencing trademarks in software (source code and documentation)
- Is there a way to automatically analyze (or test) code to check if it's thread safe ?
- What else do lower level full stack devs do besides adding features, debugging and meetings?
- What is the difference from an SQL query request and a request made by a PHP code?
- Liquid Code Help - shopify - order status page
- How are hackers able to guess so many passwords at once, isn't there ways to stop brute force attacks?
- Where can I learn how to make geographical maps from scratch?
- How To become so good developer ??
- Do most IDE's debuggers highlight SQL injection vulnerabilities?
- Opinion on learning java GUI
- Ways to make C/C++ less verbose and faster to write?
- This Youtuber says when the server processes the PHP it outputs as HTML & javascript...
- Recommend me a language and DB for backend web.
- How does CGI and PHP make it so that people can interact with a website without actually seeing the code that is happening?
- Front-end vs back-end nomenclature in systems programming.
- Is it considered bad pratice/design to cast an interface to a concrete type ?
- Should I teach students algorithms and DS in Python or Java?
- Is it possible to program software for android that will reset the device if taken from X location for X time?
Posted: 29 Nov 2020 07:11 AM PST It's standard to try to throw more computing power at problems rather than write performant code. Consumers buy faster smartphones, laptops and desktops to run often the same programs (browser, office suites, basic games), while businesses using cloud services scale programs by paying for more VMs, the attitude being "hardware is cheaper than developers". This approach does horrible things to the environment and encourages exploitative supply chains. Can we as developers do something about this, by championing efficient code and reducing the demand for new hardware? [link] [comments] |
Are we sure that the Smartmatic / Dominion voting machines are secure? Posted: 29 Nov 2020 06:14 PM PST How can we be sure that the smartmatic coders themselves are not able to change votes? Wouldn't the only way to be sure is have independent professionals look over the source code and the voting results? Have there been independent inspections to ensure that no tampering has happened? [link] [comments] |
Is the DHCP server one place with a big huge bunch of servers processing everyones requests? Posted: 29 Nov 2020 09:34 PM PST |
Posted: 29 Nov 2020 05:04 PM PST Rust or C? Hello guys, since 2 years back I've been coding daily especially in Java and python. Recently my interest for operating systems increased, so right now I can't decide if I should learn Rust or C, or do you have any other advice on any other languages for operating systems other than, python, C, C++ and rust. [link] [comments] |
Question about automating reporting for my small business. Posted: 29 Nov 2020 11:34 AM PST Hi there! Thanks whoever you are for taking the time to read the below. Any insights or help are much appreciated! Sorry this is pretty general. I have some experience in C and Python. My goal is pretty simple, i'd like to pull numbers from several different websites into an excel spreadsheet, to give a finnancial snapshot, and potentially send out an automatic e-mail of all the reports. The main hurdle i'd like to overcome is pulling data from Quickbooks automatically, and having that populate an excel spreadsheet i've designed. Where would be a good place to find out how to do something like this? Any responses are much appreciated. Thanks again! [link] [comments] |
How would you go about solving this puzzle Posted: 29 Nov 2020 04:02 PM PST The Hexamaze Manual Page.html) So, I created a solution for this module in the game 'Keep Talking and Nobody Explodes' The basic rundown for this is to find a section of the maze that matches the shape locations described to you (the manual expert) from what the defuser sees, then guiding the defuser around the walls and out of that section of the maze. There are a few other details that are explained in this video Using Java (what I'm familiar with), my solution involved representing the full maze and the subsection in their own data structures, taking a number of columns from the full maze that equaled the span of the subsection, iterating downward, and repeating that process until a match is found and can be displayed in a JavaFX app or an alert pops up, probably signifying that some information was wrong. I still have some work to do if I wanna make a maze solving algorithm and display that info as well I feel like something with image processing could also work but I'm not well versed in that, so I'm just wondering if there were other ways of going about this, cuz this was the hardest module I've programmed a solution for so far with this game [link] [comments] |
(Legal question) Referencing trademarks in software (source code and documentation) Posted: 29 Nov 2020 03:58 PM PST If I were to sell some software for game development which makes references to various games, such as Final Fantasy, Fire Emblem, etc. (either in full name or abbreviated as FF/FE respectively) in the source code and documentation, how worried should I be about companies like Nintendo coming after me? The source code would be for sale, so the references to these games would appear in several places (to label different mechanics according to the game they are based on). The idea is that the developer would be able to use different mechanics from different games, and the trademarked name references are just there to help the developer understand what each mechanic does. It would be a lot easier for me write Just to be safe, I'll probably use an alias for these games, but that would make the reference unclear. [link] [comments] |
Is there a way to automatically analyze (or test) code to check if it's thread safe ? Posted: 29 Nov 2020 07:02 AM PST |
What else do lower level full stack devs do besides adding features, debugging and meetings? Posted: 29 Nov 2020 08:37 AM PST |
What is the difference from an SQL query request and a request made by a PHP code? Posted: 29 Nov 2020 10:32 AM PST And I'm not even sure how to articulate this question but I'll try... " http://insecure-website.com/products?category=Gifts " what kind of thing are these with the question mark (?) and the equal sign (=)? Thanks! [link] [comments] |
Liquid Code Help - shopify - order status page Posted: 29 Nov 2020 02:14 PM PST trying to quickly put together small custom coding on a client's shopify page, in which based on the product in the cart at the 'Order Status Page' / 'Thank You Page' a different video and maybe offer is presented to them. Piecing together a few disparate codes I landed on the below, but dropping it into the 'Additional Scripts' portion on shopify, the code is being taken / validated. Any help, guidance here? the code - {% if first_time_accessed %} <script> {% for line in checkout.line_items %} // DEBUG looking at {{ line.title }} {% if line.title == 'XXXXX xXXX XXx' %} Shopify.Checkout.OrderStatus.addContentBox( '<video controls="controls" style="max-width: 100%; height: auto;"> <source src="your\_url\_goes\_here" type="video/mp4" /> Your browser does not support our video. </video> <p>Download your product <a href="#">Here!</a></p>' ) {% elseif line.title == 'YYYYY yy XXx' %} Shopify.Checkout.OrderStatus.addContentBox( '<video controls="controls" style="max-width: 100%; height: auto;"> <source src="your\_url\_goes\_here" type="video/mp4" /> Your browser does not support our video. </video> <p>Download your product <a href="#">Here!</a></p>' ) {% elseif line.title == 'ZZZZ' %} Shopify.Checkout.OrderStatus.addContentBox( '<video controls="controls" style="max-width: 100%; height: auto;"> <source src="your\_url\_goes\_here" type="video/mp4" /> Your browser does not support our video. </video> <p>Download your product <a href="#">Here!</a></p>' ) {% else %} Shopify.Checkout.OrderStatus.addContentBox( '<video controls="controls" style="max-width: 100%; height: auto;"> <source src="your\_url\_goes\_here" type="video/mp4" /> Your browser does not support our video. </video> <p>Download your product <a href="#">Here!</a></p>' ) {% endif %} {% endfor %} </script> {% endif %} [link] [comments] |
Posted: 29 Nov 2020 10:28 AM PST Wouldn't setting it up so that you only get like 4 wrong guesses and then have to wait fix that but it seems like brute force attacks are so common. [link] [comments] |
Where can I learn how to make geographical maps from scratch? Posted: 29 Nov 2020 11:10 AM PST I would like to learn how to make maps from scratch with functionality such as determining the distance between two points and finding out whether a point is within an area etc. I am searching the web for things such as "How to make web maps from scratch", "How to make geographical maps from scratch" to try and understand how Google, Bing and HERE maps work under the hood at their foundations because I find it very interesting. I understand that maps are made up of tiles and that there is math involving points and polygons but I am struggling to understand how these all fit together. For example: if I have a JPEG and give it an axis, I can do all of these things, but are web maps more complicated than that? Any links to resources or if someone knows the terminology of what I'm looking for I would be so appreciative! :) [link] [comments] |
How To become so good developer ?? Posted: 29 Nov 2020 10:50 AM PST My Question is for people who really think them selfs are real programmers, a really good developer told me languages are just tools, and if you looking for salaries you will be crashed by people who do programming as a hobby , isn't sounds so true ? how to take programming as a lifestyle ? how to become so good developer? , please guys share your thoughts with me. ##one last quote he said " i wish i had a salary of a doctor or astronaut, but that not something i want to do". [link] [comments] |
Do most IDE's debuggers highlight SQL injection vulnerabilities? Posted: 29 Nov 2020 10:41 AM PST |
Posted: 29 Nov 2020 06:48 AM PST Hi, I know some Java basic, and wanted to get into Java GUI system. Then I realize Java GUI builder is terrible in part of debugging, reuse, understandability, and it's really long to write. I search and found some info about swing and JavaFX, so the question is which one should I learn? Or should I continue to learn java built in GUI builder first? Any opinion is appreciated, thanks 😁😁 [link] [comments] |
Ways to make C/C++ less verbose and faster to write? Posted: 29 Nov 2020 09:54 AM PST Hey everyone, so as a C/C++ programmer, I'm currently interviewing/interview prepping and as part of these online assessments and questions, they're timed or i set my own timers. C/C++ is quite a heavily typed language and can take time to do simple things that Python etc can do in 1-2 lines. Although I could spend more time learning Python, I still feel that my most comfortable interviewing language is C/C++. i'm currently looking for small ways to speed up my code writing so that I be more efficient. One easy optimization i made is just to use camelcase for most variables (probably just me). another is using the '?true:false;" convention for setting variable values where you can save a bit of time writing if-else statements. What are some other small optimizations you guys can reccomend? [link] [comments] |
This Youtuber says when the server processes the PHP it outputs as HTML & javascript... Posted: 29 Nov 2020 09:29 AM PST so what is the point of using PHP if it can all be done in Javascript or HTML? When I was younger I thought it was used to keep things hidden, like passwords. For example, my thinking was the source code would be something like "check(password correct or not).php" and all the processing would be done on the server and the password info wouldn't be sent back, only sent back with a confirm or deny. [link] [comments] |
Recommend me a language and DB for backend web. Posted: 29 Nov 2020 05:28 AM PST I want to create a simple business directory and was wondering what the easiest, quickest way would be. It's not actually a business directory but that's the best example I can give. It will be used on all my domains I have purchased over the years and done nothing with. So I will need the cheapest hosting option for each domain. I was thinking PHP and a MySQL database and that is usually included on the cheapest hosting. I will need to take a payment though and not even sure how I could do that, can be via PayPal or whatever. Am in the UK if it makes a difference. I know basic PHP (enough to be dangerous), am currently doing a Ruby on Rails course but figured hosting would be too much. I also know basic Swift, classic ASP and that's about it. [link] [comments] |
Posted: 29 Nov 2020 08:56 AM PST |
Front-end vs back-end nomenclature in systems programming. Posted: 29 Nov 2020 05:09 AM PST In case of web programming it is quite clear what is front-end and what is back-end. However, in case of systems programming I am a little bit confused. I will provide an example. I have some tool that based on the input files generate firmware for a device. It also generates source code for different languages to interact with the device (interfaces for writing and reading registers, so that users can write more complicated functions on top of what I provide). I was looking for a single word to name the set of supported languages. At first I thought that these are different back-ends, but then I started wondering, are these back-ends or actually front-ends? [link] [comments] |
Is it considered bad pratice/design to cast an interface to a concrete type ? Posted: 29 Nov 2020 08:50 AM PST The cast would happen inside the concrete class itself, not from the outside, I don't now if that makes a difference. Basically my IInterface define a DoStuff(IInterface) method and in the implementation of my ConcreteClass, I need to get the concrete object behind IInterface. [link] [comments] |
Should I teach students algorithms and DS in Python or Java? Posted: 29 Nov 2020 08:50 AM PST I'm going to be tutoring some students and I'm confused whether I should teach Algorithms and Data Structures in Python or Java. I'd prefer Python but I have a feeling Java would be a better language to teach in. Any suggestions would be appreciated! [link] [comments] |
Posted: 29 Nov 2020 06:57 AM PST Throwaway account. I want something that works with android, that will run something once an hour or so that will check for a connection to a specific wireless network, and if not connections are made to the network for X amount of time, the phone will erase or corrupt all data. So a 'friend' of mine, recently served time in prison for fraud charges. While he was sitting in the prison, the authorities were unlocking and looking through a phone that was seized. (3+ week process per device apparently.) As more files were found, charges were added and more time was served. With this program however, the phone would have not detected connection to the home wifi network for the set time period, and anything on the phone is ideally destroyed the moment the authorities power it on to begin their process. That was just an example of why this would be useful. However, a legitimate non-sketchy use for this software would be good for people that have devices lost or stolen, and can't get into device manager online to send a code to erase the device as you are able to now. Not only that, a lot of phone thief's switch any device they steal, straight to aeroplane mode to avoid being tracked. This would make the 'erase device' button in device manager useless, as on aeroplane mode.. that phone won't ever get the signal. Tl;dr I want android software that allows you to choose a 'home' wifi network, and if the device goes a set amount of days without being taken 'home' and 'checking in'; the data on the device is erased. [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