From Independent Open Source - Software server to Protocols and Encrypting? Ask Programming |
- From Independent Open Source - Software server to Protocols and Encrypting?
- TRIGGERS WITH 3 TABLES
- How much do you guys charge for a Retail eCommerce Website?
- Is there a working mod apk for Reddit in android?
- In .NET, how to generate HTML or PDF reports locally?
- Confused by this PHP code. Is it just comparing string literals, or am I missing something?
- React vs Vue.js: 6 Ways To divergence the Frameworks
- WPF/C#/XAML -- How to use Toggle Buttons to allow multiple selections (with separate Text + Values) for Text Output?
- Is there any way to do bunch of IF statements in a more efficient manner?
- oTree Framework
- Python
- Moral Dilemma when Programming
- What is the best programming language for beginners/medium programmers?
- Python Pandas Question
- How many technical interviews have you failed before getting your first job?
- HTML Tables
- How to properly save image paths in DB?
- If i want to make websites in the future, should i join my college as a Javascript or Python programmer?
- MTA 98-361 software development fundamentals.
- [Serious] How would you use a spare Ryzen 5 3600?
- A quick question in regard to math in Java
- Help raspberry pi 3A Dakboard
- Finding points on a map that are close to each other
- Should I pay for code reviews?
From Independent Open Source - Software server to Protocols and Encrypting? Posted: 18 May 2021 03:48 PM PDT The idea is to create an app that would for an example take a standard USB or old laptop. And to turn it into a cloud that is similar to that of Google Drive. The difference would be, that instead of sending the files somewhere else or to the google center - everything is going to be within the home router - placed on the usb. What would be your software recommendations for a start? All help is greatly appreciated. Options: If possible to make it encrypted or make it an option. Highly customize a specific distribution of open-source linux server just for this use only. [link] [comments] |
Posted: 18 May 2021 03:43 PM PDT I have 3 tables, student, teacher, which extend the client table, and each time when a new client added it must be a teacher or a student and I have an id client with auto-increment. when I insert a new student or teacher I have to store id client as well as a foreign key in both sub tables, the problem here is an id exists in the student table shouldn't be in the teacher table, i wanna handle that with triggers in PhpMyAdmin so how to check if a new student added then get his id client and store it in student table else it should be a teacher (same process). -client(id_client, other attributes....). -student(some attributes,id_client). -teacher(have just id_client here). [link] [comments] |
How much do you guys charge for a Retail eCommerce Website? Posted: 18 May 2021 04:12 PM PDT Hi guys! :D Glad to see you al! I was browsing around Reddit and came across different people and companies, with very different price points. There are both companies and people doing a terrible job for 1-1000K $. My for you is: As previously mentioned I saw people doing a Wordpress solution for 100K and people doing a custom solution for 50K. To add some details to the story, your client is a chain of 10 big supermarkets in your area for example (wherever you live), they have 5000-10000 products and they want to have an online shop that would have two options: In-Store pickup and Home Delivery. Really interested in your answers, I honestly don't know what to expect from my previous (small) research on the topic! :D [link] [comments] |
Is there a working mod apk for Reddit in android? Posted: 18 May 2021 10:08 PM PDT |
In .NET, how to generate HTML or PDF reports locally? Posted: 18 May 2021 09:58 PM PDT I'm using Unity and C#, so just under the .Net framework. I need to generate a 1 page report that I'm planning on formatting with HTML and CSS (Bootstrap). My initial thought was to simply output a HTML file, but then I realised the final HTML wouldn't have reference to the Bootstrap CSS files (unless I package the bootstrap CSS with every HTML report which doesn't seem like a great idea). Another possibility is to generate PDFs from these HTML files, but I can't use things like wkhtmltopdf because I would potentially want to run this app on non-Windows environments in the future. Any recommendations? [link] [comments] |
Confused by this PHP code. Is it just comparing string literals, or am I missing something? Posted: 18 May 2021 05:12 AM PDT https://github.com/jlevers/selling-partner-api/blob/main/lib/Api/CatalogApi.php Line 178 of this PHP file is as follows: Now, am I right in thinking these two single-quoted strings are just that - literal strings? The PHP docs seem to say that only two things can be escaped with a With that in mind, what's the point of the code above? Won't it always be false? It's not the only example in that file either. Does the fact that the "string" starts with a backslash make a difference? Unless I'm missing something, it seems like all the similar comparisons in that file are totally redundant... [link] [comments] |
React vs Vue.js: 6 Ways To divergence the Frameworks Posted: 18 May 2021 09:05 PM PDT As we all know that whenever we talk about the J.S. framework React is at the top. But I feel Vue.js is also doing an amazing job. So let's compare both of them and then I have taken a conclusion. What's your thought on this? https://untiedblogs.com/react-vs-vue-js-6-ways-to-divergence-the-frameworks/ [link] [comments] |
Posted: 18 May 2021 08:38 PM PDT Hey there! Basically as an example I simply want to be able to have a group of Toggle Buttons (or similar) to allow the user to select multiple things. Afterwards I want to be able to press a button and show the results selected in my RichTextBox. However these selections need to have separate values from the Text appearance. --- Example being (Buttons below) [ Cat ] [ Dog ] [ Cow ] [ Parrot ] If say Cat and Dog are selected, I want the text to output in the RichTextBox to actually be.. "Woof and Meow" Can someone give me a code example of the best way to accomplish this? [link] [comments] |
Is there any way to do bunch of IF statements in a more efficient manner? Posted: 18 May 2021 10:24 AM PDT I am currently working on a project where the days of the week are stored as numbers in a sql database. 1=monday,2=tuesday,3=wednesday,4=thursday,5=friday,6=saturday and 7=sunday. So for example number 1234 represents monday, tuesday, wednesday ,thursday. We are using this number string and converting it to days in our frontend and rendering it on the screen. The problem is that its taking a while for the screen to load because of all the rendering . We are using 7 if statements to render the number to day. for example : (if.params.colDef.field=="WED") { if params.data.days.includes('3') return 'X'; return; }... This will put a X under WED column in the frontend if the database includes 3 else it will leave it blank...we are doing this process for everyday.(so 7 if statements)...Is there any better way to do this more efficiently? Thank you for your responses. [link] [comments] |
Posted: 18 May 2021 07:36 PM PDT This is a long shot but has anyone here worked with the oTree framework. It's Python/Django based and often used for research in economics or related fields. It allows web deployment and a database connection somewhat simpler. If you've used it or heard of it please leave a reply! [link] [comments] |
Posted: 18 May 2021 07:08 PM PDT I would like to know how to write a function to see if all numbers in a list are consecutive numbers. And the return to be a Boolean type. I'm stuck!:( [link] [comments] |
Moral Dilemma when Programming Posted: 18 May 2021 06:27 PM PDT Sorry that this is not an explicit question regarding software but is anyone else having moral dilemmas all the time when programming. We are taking money from innocent people, etc... Etc... Half of my mental focus is consumed by thoughts like these rather than the programming itself. [link] [comments] |
What is the best programming language for beginners/medium programmers? Posted: 18 May 2021 02:27 PM PDT I went bouncing around from Android Studio to Java to C++ and in the end nothing worked. What would be good for a starter in the freelancing or someone who is creating self-projects? [link] [comments] |
Posted: 18 May 2021 05:39 PM PDT Hello, I am a bit stuck and just had a quick Pandas questions.... Lets say I have dataframe like so: ID,NAME,AGE 0,Joe, 0,,51 How could I make it so that it looks like this: ID,NAME,AGE 0,Joe,51 Thanks for your help! [link] [comments] |
How many technical interviews have you failed before getting your first job? Posted: 18 May 2021 04:20 AM PDT So yeah I had a couple of technical interviews/coding challenge and I didn't pass and I'm getting a bit discouraged. I wanted to know if there is someone else out there that had struggle like me but then he/her ended up to finally get the job! [link] [comments] |
Posted: 18 May 2021 01:05 PM PDT I need a visual that has a grid like format. There are headings on top for each column and then headings for each row. Then each entry needs an input box. I used <table> in HTML to do this and then i stated each entry as <td><input type="text" name="name" required size="15"></td> . Is this okay for getting data entries from users? How would I access each element in the table after? Should each entry have a different name to access it? Please let me know. (I have a picture of what it should look like but just can't upload due to guidelines.) [link] [comments] |
How to properly save image paths in DB? Posted: 18 May 2021 01:05 PM PDT Hello! I'm currently working on a small music website project and the trouble I'm having is how to properly store the image paths in the tables. As shown on the picture, my first idea was to save the image paths directly in the corresponding table and column. I searched some related questions in stackoverflow and almost everywhere the recommendation is to create an Images table and put all the paths to all the images there. Sounds fine but i'm confused on how to create the relations between the Images table and the other tables. What is the best practices in such a scenario? https://cdn.discordapp.com/attachments/844303679917260814/844304053168504875/dbtables.PNG [link] [comments] |
Posted: 18 May 2021 12:50 PM PDT My college requires you to pick a programming language that you can change at some point by paying a fee, but it might set me back abit, so id rather start right. I started learning python first, since i was told its a really good starter language and will be necessary for website making, and i know a decent amount, mostly the basics, but im guessing ill learn things better once i start in college. But its dawned upon me that javascript is more important for making websites, so im rushing into learning a bit of the basics for that aswell just in case. Which language should i pick? My first course is free to try, 25$ for the final exam and lasts 2 months, if you pass you will be accepted to join the college under the language you sign in with before the free course. Any advice? [link] [comments] |
MTA 98-361 software development fundamentals. Posted: 18 May 2021 09:01 AM PDT Does anyone know where I can start to learn for this exam? I have been looking online and see some prep stuff but don't know what's good and what's hashed out or outdated. How much time do you think I will need to be exam ready? Have some basic programming experience with python. Functions, methods, arrays and such. [link] [comments] |
[Serious] How would you use a spare Ryzen 5 3600? Posted: 18 May 2021 12:06 PM PDT Hello, everyone! I am a n00b who's starting to learn computer science, and I have been lucky enough to recently get a very very cheap 5800x, so now I will be "retiring" my not even a year old 5 3600. I am aware of the normal recommendations of running folding @ home, setting a Plex server, an emulation/gaming PC, or other entertainment-oriented applications. I am interested in learning how to program towards working with Ethereum/Smart contracts. Can you, illuminated audience who have reached the highest peak of mastery in the ways of PC wrangling, shine a glimmer of understanding upon this beginner? What would be some (really) useful things you guys would do with a spare Ryzen 5 3600? (Besides selling) [link] [comments] |
A quick question in regard to math in Java Posted: 18 May 2021 11:45 AM PDT Hello, I am currently learning to program in Java. I am confused as to why this prints 40. int first = 5; int second = first + 15; first = 20; System.out.println(first + second); Why does this print 40? I would think it would update the equation to be 35. [link] [comments] |
Posted: 18 May 2021 07:56 AM PDT Hello I am attempting to have my pi boot to a webpage in kiosk mode. I put the following code in and it boots to black screen. sudo nano /etc/xdg/lxsession/LXDE-pi/autostart @xset s off @xset -dpms @xset s noblank @chromium --noerrdialogs --incognito --kiosk https://dakboard.com/screen/uuid/609b2af2-117886-7eab-af0bc92317e Please help. Note I deleted my last letter in the Dakboard url so it will not open my dashboard. But even with Google instead of the Dakboard url. it doesn't not boot to Google [link] [comments] |
Finding points on a map that are close to each other Posted: 18 May 2021 07:35 AM PDT Hello, I am given a list of (longitude, latitude, time) coordinates and I want to find clusters of points that are close to each other, e.g. the points' distance should be no further than 300 metres and the timestamps should not differ by more than 15 minutes. My current approach is basically just 1. calculating all the distances between points and building a graph where an edge between two point exists if the distance between these two points is within 300 metres and the time difference is less than 15 minutes. 2. After that, I run an algorithm for finding maximum cliques in the graph. These cliques are then the groups of points I am looking for. An optimisation I implemented for Part 1 is: First, sort the points by longitude. Then, for any given point P, calculate only the distances to the points P' where the difference of longitudes is less or equal than 300 metres. This can be done relatively efficiently by doing a binary-search for longitude(P) - 300m and longitude(P) + 300m and only looking at the Points that are inbetween. This improves performance considerably, but it's still no good enough. Surprisingly, the bottleneck is Part 1. I wonder whether there is a more efficient approach, because I want to do this for millions of points. My current approach runs in ~80 seconds for 5000 points, so it will definitely not scale. I'd be grateful for any ideas :) [link] [comments] |
Should I pay for code reviews? Posted: 18 May 2021 10:47 AM PDT I'm getting to the point in my dev journey where I'd like to have someone review my code. Is it worth paying someone to do it? (my thinking here would be that the reviewer would take the task more seriously and perhaps even be better at it) any advice for finding someone? (things to look out for , how to spot scams ect.) [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