I want to create a new trash can for linux but not sure how to go about it Ask Programming |
- I want to create a new trash can for linux but not sure how to go about it
- C# Syntax error help
- I am running into problems with my code in my aspx.cs document. If someone could help me I would be much appreciated!
- What are you experiences with Cloud ERP Software and their extension/addon support?
- Populate matrix without any adjacent identical elements
- why is my java program not returning anything?
- [Non-Programmer] Is there a Way to Write a Script to a Web Based App (written in JS?)
- java convolution program not working
- Zero downtime database deployments
- Can anyone provide some advice on configuring an SQL and PostgreSQL Database into a Spring Boot Application.
- How to split a long article with codeigniter
- Which approach is better for this project?
- Regex (ab*)*
- [Java] Class constructor/methods proper setup?
- Sending Notification From Windows Desktop App
- Default file content in Atom
- Node.js - MongoDb - Angular Best host?
- Anagram Time Complexity Problem
- How do page visit counters that are images work?
- Should I start learning PHP today.
- YouTube in an IFRAME
- Python goto alternative
I want to create a new trash can for linux but not sure how to go about it Posted: 20 Feb 2018 04:57 PM PST Okay so I want a program to be made for Linux. I want to create a new trash can or alter the existing one. Basically, what I want is to be able to drag a file to the trash can and once I do, it'll automatically execute the command: shred -zun 100 (file) On the given file. Why? Because data from trash cans can be recovered and I do not want to execute the shred command for every single file, it's tedious. I am a very private/paranoid person and I don't ever want to worry about my data/files after I hit the delete button. I'm not sure how difficult this task is or isn't, but I know very little programming. Like week 1 worth of python, C and HTML/CSS so I doubt it's something I could do. Im not sure if this would involve creating a whole new program or just something I could do in Linux like altering the current trash can from the command line. I dug deep on Google and don't see anything on there about a new trash can or anything. Only thing I see is just regular trash can, the shred command or some gui program that will do that but nothing close to what I'm looking for. If anyone has any ideas as to how to go about this then that'd be great! Anything is appreciated. Thank you [link] [comments] |
Posted: 20 Feb 2018 07:46 PM PST Sorry, I'm very new to C# and having a bit of trouble figuring out the problem with my code. I received the error code "CS1003 Syntax error, ',' expected" I'm trying to calculate the amount of fertilizer needed for an area with the dimensions being input by the user. I have the console open and ask for input, but it closes after user inputs the % of nitrogen they are using. Can someone explain where I'm going wrong here? //Start Here// using System; namespace Yardwork { public class YardWork } [link] [comments] |
Posted: 20 Feb 2018 10:02 PM PST I am trying to create a search bar that goes through spotify that allows users to search for artists and returns the artists top 5 albums to a table on a web page. Basically: A web page, search bar, button, and table. I have this stuff created but I am running into this error: HTTP 500.Error processing request. when I press the search button. Here is my code: Any help would be appreciated, also if someone could help me with my next steps. I have some temp data inside just to see if things work. [link] [comments] |
What are you experiences with Cloud ERP Software and their extension/addon support? Posted: 20 Feb 2018 07:51 PM PST I have become pretty interested in the Cloud based ERP market and I'd like to know which vendors have decent APIs for building third party extensions? I have been looking into vendors such as Microsoft Dynamics 365 and SAP S4HANA. Any vendors that are relatively developer friendly? Thanks for the insights. [link] [comments] |
Populate matrix without any adjacent identical elements Posted: 20 Feb 2018 07:19 PM PST I am trying to populate a 2 dimensional array, lets say a 4x4. The data I am using to fill this array comes from a set of 16 numbers, not all of which are unique. Does anyone know a way to populate the 4x4 array, while ensuring that no 2 adjacent elements are identical? My goal is to write this in Java, but at this point, even a generic algorithm would be incredibly helpful. [link] [comments] |
why is my java program not returning anything? Posted: 20 Feb 2018 06:51 PM PST For some reason, I don't get an output with the main method when I try to run the convolution2d program. What am I doing wrong here? //convolution 2d program [link] [comments] |
[Non-Programmer] Is there a Way to Write a Script to a Web Based App (written in JS?) Posted: 20 Feb 2018 06:44 PM PST First apologies, I'm sure I pissing someone off. But I want to learn so I can help my coworkers. We work in a production environment where we have a case order slip, we log in to a web based app that is written in js I believe. To try to give a better picture of what I want to achieve let me describe the steps and then what I want to do. I really appreciate any help despite my ignorance. If this should be cross posted please let me know. First technician logs in with there ID Then then the type in a 4 digit number for each task they completed. All tasks are available to scroll through but typically you know the numbers to the tasks so you don't have to scroll and check each box you need. After we have checked all the boxes that apply we scan the barcode to all the case slips that apply to the selected tasks. So typically we will scan 5 or 6 case slips as the multiple selected tasks apply. We have to hand enter all the task numbers and often we just repeat the same ones multiple times a day. Is there any way to write a script or something where I can make it automatically check off the same 5 tasks codes I or we always use? Again apologies if I just made zero sense, I can try to clarify if at all possible. [link] [comments] |
java convolution program not working Posted: 20 Feb 2018 05:58 PM PST For some reason, I don't get an output with the main method when I try to run the convolution2d program. What am I doing wrong here? //convolution 2d program [link] [comments] |
Zero downtime database deployments Posted: 20 Feb 2018 03:40 PM PST I'm struggling to find good articles on zero downtime database deployments. The ones I looked at all describe the importance of backwards compatible changes but seem to ignore how it fits into an overall CI/CD process. I am astounded that there is so little literature on this; I suspect ANY company with a database would have to implement something similar...
I'd like to enable my team to individually contribute schema changes (git). Pull requests should be able to apply any pending changes seamlessly before running integration tests. Am I asking for too much? [link] [comments] |
Posted: 20 Feb 2018 10:52 AM PST I currently have an SQL database configured to my Spring application and have also included a PostgreSQL database configuration in my application.properties file where I provide the URL, password and username for the DB. In the PostgreSQL DB is a table with records already put into it. However, where I'm running into trouble is finding out documentation online for how I actually communicate with the PostgreSQL DB with the use of CRUD operations, (like with how I'm communicating with the SQL DB). Does anyone have any tips? [link] [comments] |
How to split a long article with codeigniter Posted: 20 Feb 2018 10:34 AM PST so let's say i have a database with a table named 'post' in this table there is a column named 'news' and this 'news' column is filled with a very long article. how do you split the article inside this 'news' column into multiple pages ? most ci pagging tutorial i found on internet are using the row for their paging method not the column. please help me fellow redditors [link] [comments] |
Which approach is better for this project? Posted: 20 Feb 2018 08:16 AM PST By the end of this year, I need to conclude a project solving a problem existing where I work. This is a college project so the idea is to learn something new and deliver at least 80% the solution working properly. I Identified a problem with commission calculation scenario. Today this is a manual process, so my idea is to create a web interface to get user inputs like how much should be calculated for each store and paid to the sellers and managers, promotions to a specific product and other inputs that will impact directly the calculation. My Idea is to extract sells and other information like store name, seller code and import to my database, from that, could show to the user how many sells happened from each store and give him the possibility to do the calculation automatically and generate files for our HR system make the payments. So here are the technologies I was thinking to develop this: *T-SQL: To Extract information and do calculations, update tables and other database operations. I have some experience with T-SQL and this is the technology that is already used at the company server. *PHP: To access the database, receive user inputs, provide a login and other operations like this. I know a little bit about PHP, I know how to create pages, host a server and things like this, but never developed a complete project based on this. My Idea is to use a framework like CodeIgniter and create pages using its patterns. So to conclude, I would like to receive opinions or ideas to change the path I'm following since We are at the beginning of the year I Could change the technology used for this project. Thanks a lot for the help and sorry for the long question. [link] [comments] |
Posted: 20 Feb 2018 11:42 AM PST So for the expression (ab*)* can the outer star only duplicate one version of the inner expression? That is the inner expression algebraically is abn so we could have say 2 sample outputs of "a" and "abb". Using the outside star operator those could be made to be say "aaaa" or "abbabbabb" but could you do something like "aaabb"? [link] [comments] |
[Java] Class constructor/methods proper setup? Posted: 20 Feb 2018 11:18 AM PST Hi there, I'm in my first year learning Computer Programming, and I'm having trouble understanding Class constructors in Java. Basically I have a lab due where I need to create a class, and submit it tested and with validated methods. I created a new class in the main method, and I had it returning the submitted values just fine, but my validation in my methods wasn't working. It wouldn't throw any of the exceptions. So I figured my constructor was making the methods redundant, by assigning the passed in value without sending it through the method first. So I deleted the constructor. Now I'm getting null values with methods I thought I had set up properly. I'm just overall confused... P.S. I understand my current getAge() method has flawed logic, but I couldn't get Period.between to work. Any help would be appreciated, thank you. package comp100818wassignment1; import java.time.LocalDate; /** * * @author Meade */ public class Student { } // End Of Student Class [link] [comments] |
Sending Notification From Windows Desktop App Posted: 20 Feb 2018 11:06 AM PST I am trying to come up with a way to send notifications to users, the problem is that my program is open source. The easiest way would be to send it via email but I am not aware of a secure way to store SMTP credentials in an open source program. Does anyone have any ideas on a free and secure way to send notifications? Edit 1: I also don't want to have users enter their own credentials to an SMTP server. Edit 2: More information
[link] [comments] |
Posted: 20 Feb 2018 09:28 AM PST Hello. I've recently started doing programming in school, and i'm learning C++. I've used Atom a bit before, so i decided to stick with it rather than going with Visual Studio. Anyways. My question is; Is there a way to make a "default startup template" for cpp-files? I find myself adding the same 3-4 lines and the main function every time, so it would save me a lot of frustration if it were a way to make every cpp file have this by default. [link] [comments] |
Node.js - MongoDb - Angular Best host? Posted: 20 Feb 2018 08:11 AM PST Can someone advise me the best host for this setup? I'm trying openshift but they dont allow you to have custom domain on the free version [link] [comments] |
Anagram Time Complexity Problem Posted: 20 Feb 2018 08:08 AM PST Hi all, Not sure if this is the right sub, sorry if it's not! This has been really bugging me. I've heard the following problem in interviews twice now: Given a long list of strings, str_list, and a target string, return True if the target string is an anagram of any of the words in str_list (Assume multiple queries are possible, so we don't want a solution with early-returns or w/e) I've implemented the following solution twice, which I believe to be O(NM) where N is the length of str_list and M is the length of the longest word in str_list. Each time they've told me that it was decent, but that I could do better with the following version, using sorting: Am I crazy or is their version simply not better? What have I messed up? Thank you!! [link] [comments] |
How do page visit counters that are images work? Posted: 19 Feb 2018 11:08 PM PST Randomly remembered getting visiter counters from boingdragon.com on my Neopets petpages as a kid and being confused by how they worked. They're gifs that can keep count of how often they're viewed. How do they do that with no extra coding? Can you embed code into an image or something? Example I just made: http://cgi.boingdragon.com/count/toskaaa/0.gif I'd appreciate an ELI5. Neopets-level HTML/CSS was all I ever got into, but I'm still curious all these years later how the hell these things work. [link] [comments] |
Should I start learning PHP today. Posted: 20 Feb 2018 07:46 AM PST |
Posted: 20 Feb 2018 03:26 AM PST This is my html code but i dont see yt in the iframe, i see this https://imgur.com/a/BkpxE Some help? ty [link] [comments] |
Posted: 20 Feb 2018 12:48 AM PST Say I wanted to go back to #here if the number was incorrect and do it every time it was incorrect how would I do so [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