• Breaking News

    Saturday, December 19, 2020

    Is therething like Imshow of OpenCV for Android in C Ask Programming

    Is therething like Imshow of OpenCV for Android in C Ask Programming


    Is therething like Imshow of OpenCV for Android in C

    Posted: 19 Dec 2020 04:32 PM PST

    Hello,

    I'm trying to make an app for android that mirrors the pc screen. I've been using ImageView which is Java, but i'd prefer to use something written in c as it may faster than java. As far as I understand while c++ OpenCV works on android the imshow does not work. Any help?

    thanks

    submitted by /u/cristiankusch
    [link] [comments]

    what are the best sources for learning eth hacking?

    Posted: 19 Dec 2020 05:04 AM PST

    I am a web dev for more than an year now and my friends is in ethical hacking and has an experience of over 8months and he says that udemy courses are bad for studying ethical hacking since they filter out most of the stuff. So now I am pretty confused whether to continue the course which I am already learning or start somewhere else. I am very much familiar with programming and a little bit of networking.

    submitted by /u/awsedrftgyhujk
    [link] [comments]

    How to really use python selenium to upload a video to youtube?

    Posted: 19 Dec 2020 11:01 PM PST

    code:

    from selenium import webdriver from time import sleep class Google: def __init__(self, username, password): self.driver = webdriver.Chrome('C:\\Users\\0\\Desktop\\chromedriver') self.driver.get('https://stackoverflow.com/users/signup?ssrc=head&returnurl=%2fusers%2fstory%2fcurrent%27') sleep(3) self.driver.find_element_by_xpath('//*[@id="openid-buttons"]/button[1]').click() self.driver.find_element_by_xpath('//input[@type="email"]').send_keys(username) self.driver.find_element_by_xpath('//*[@id="identifierNext"]').click() sleep(3) self.driver.find_element_by_xpath('//input[@type="password"]').send_keys(password) self.driver.find_element_by_xpath('//*[@id="passwordNext"]').click() sleep(2) self.driver.implicitly_wait(5) # Wait up 5 sec before throwing an error if selenium cannot find the element (!important) self.driver.get("https://www.youtube.com/upload") elem = self.driver.find_element_by_xpath("//input[@type='file']") elem.send_keys("C:\\Users\\0\\Downloads\\ty-p.mp4"); sleep(500) username = '' #I put email here password ='' #I put password here Google(username, password) 

    result:

    Processing abandoned

    The video could not be processed

    submitted by /u/hwpcspr
    [link] [comments]

    How do I create a licensing system for a windows app?

    Posted: 19 Dec 2020 10:52 PM PST

    I'm not actually sure what this is even called or what to google, so any advice would be greatly appreciated. I'm writing a windows app and I intend on distributing it with a free trial, after which I will require the user to purchase a lisence and log in with some sort of auth (google?). How is this sort of system architected normally? I'm looking for any sort of resources on how to create such a system.

    submitted by /u/does_thou_even_hoist
    [link] [comments]

    Should I make a backend api for my website that has only a few numbers to changs every while?

    Posted: 19 Dec 2020 10:43 PM PST

    Local Covid 19 contact tracing team asked me to build a single page website to show number of active cases in my village, there are only 5-10 numbers shown and need to be updated everywhile, I'm new to web development and need to know what is the best approach I can take to build it.

    submitted by /u/kamel-not-camel
    [link] [comments]

    In C++, what's the difference between .h and .cpp

    Posted: 19 Dec 2020 10:19 AM PST

    I havnt used c++ in YEARS and ive completely forgot

    submitted by /u/greywolf_18
    [link] [comments]

    [Question] Where can I learn how to implement a bank account login in my Swift app?

    Posted: 19 Dec 2020 10:08 PM PST

    I am teaching myself how to make a personal budgeting app where I can log into my bank account and have the app access all of my spending data. What I will end up doing is adding the data to an array so that the user can sort transactions via type rapidly. I know apps like this exist, it is just a way that I am teaching myself Swift.

    submitted by /u/evanator9000
    [link] [comments]

    Best/simplest method for compiling multiple projects for multiple platforms

    Posted: 19 Dec 2020 12:58 PM PST

    Greetings,

    I have a few source trees that I need to compile for other hardware platforms, including armv7 and mips.

    I have an x86_64 machine with debian that I decided to use for this, and my initial plan was to set up one VM for crosscompiling for each target system. I made a buildscript that started the buildprocess for each of the source trees, and it worked fine on the VM that had x86_64 as target. On armv7 it was a lot more troublesome - I set up the crosscompiler, and installed the appropriate toolchains. However, it required extensive editing of MakeFiles to get half of the projects to compile (once I did, they ran just fine, though). Another issue I ran into was the fact that the build process for one project involves building a binary that will then be run to generate data needed elsewhere in the build process. but said binary of course wouldn't want to run on my x86_64 platform, as it was built for armv7, thus derailing the rest of the build process. Another issue was that one source tree, instead of relying "make", uses "cmake ." which I suspect is another can of worms entirely.

    So, to summarize, I've concluded that the original idea is not feasible, as it requires too much editing of my environment and MakeFiles to accomodate the target platform. I have therefore decied to take a step back and ask this community for any pointers and suggestions.

    Also, on my adventures of setting up my arm dev environment, I keep seeing buildroot referenced. However, most info and guides I see are made for building an entire linux system, not just a source tree. Any suggestions of reading material that is more relevant to "simple" cross compiling?

    At this stage I'm considering setting up actual ARM and mips hardware with compilers and dependencies.

    submitted by /u/kjarmund
    [link] [comments]

    Does anyone know if I can mount Docker containers in the free tier of Google Cloud?

    Posted: 19 Dec 2020 10:59 AM PST

    If i could... How?

    submitted by /u/thechexmo
    [link] [comments]

    Easy and maintainable cms?

    Posted: 19 Dec 2020 02:37 PM PST

    A professor asked me to figure out the best way to go about creating a web application for distributing course content. This would basically be an app that supports user authorization, hosts content which can be uploaded and edited by authorized users, and has interactivity in the form of quizzes and such, which is also editable by authorized users (teachers). Something like a small version of various education websites like khanacademy which already exist. Our project has been at a standstill because approaches that we've tried weren't maintainable, since the students working on the project are coming and leaving and such.

    Basically, I'd like to know if there's a CMS or framework that's easy for developers especially for our purposes, or any other advice going forward. Since we have no senior developers, we've been struggling to even make something presentable.

    Right now we are only focused on deploying to a website. I'm looking into Firebase for our backend since it seems intuitive enough, but there are so many options for frontend I'm kind of lost on where I should be looking. This is embarrassing to ask because I feel like it should be simple enough to decide on something even though we haven't, so I appreciate any advice.

    submitted by /u/bawcock
    [link] [comments]

    Rotate bits using bitwise operators?

    Posted: 19 Dec 2020 10:25 AM PST

    I have a binary number and I want to rotate the bits from left to right 1 bit at a time.

    eg: 1 0 1 -> 0 1 1 ->1 1 0- > 1 0 1

    other sites like geeks for geeks use (n << 1) | (n >> (INT_BITS - 1)). This gives a wrong answer for me.

    The geeks for geeks tutorial says when we left shift by one bit, the first bit just disappears. but in my python interpreter the number is multiplied by 2.

    geeks for geeks: 1 0 1 -> 0 1 0

    my python interpreter: 1 0 1 -> 1 0 1 0

    Please tell me the working code for rotating the bits

    Thanks in advance.

    submitted by /u/Mrflinkstone
    [link] [comments]

    Find coordinates on images.

    Posted: 19 Dec 2020 01:51 PM PST

    Hey guys. I'm new on Reddit and not sure if this is the right place to ask this question.

    I was wondering how I could find different coordinates on this image (original size):

    submitted by /u/Ok-Question-6747
    [link] [comments]

    How can I get this code to work?

    Posted: 19 Dec 2020 10:23 AM PST

    I saw this demo by wall street journal.

    https://wsj.github.io/two-step/examples/one-column/

    They have a link to the source code and I copied it into my IDE (css, js, and html in three different files) and ran it. The style of the page was there, but the scroll effect as shown in the demo wasn't. Is there something I need to do to get this effect?

    submitted by /u/Spiritual-Low2011
    [link] [comments]

    Concept behind Facebook's or Google's notification system

    Posted: 19 Dec 2020 08:39 AM PST

    What is the concept behind Facebook's or Google's notification system, in which the page wont reload or a user wont do any action ,even then the notifications would pop up. Is there proper documentation to understand that concept?

    Moreover, how do I implement such system in a Laravel Project?

    submitted by /u/AsishPC
    [link] [comments]

    Need help, to make a decision.

    Posted: 19 Dec 2020 10:02 AM PST

    Hi Programmers, I just graduated this year in CSE and doing a small job in service based company, with a very low pay. I didn't do any projects during my graduation and now I really want to have a good job and want to knew what path I can follow to have a good paying career.

    I really need to decide, please guys help me out.

    submitted by /u/sainiji
    [link] [comments]

    Sequence diagram

    Posted: 19 Dec 2020 06:39 AM PST

    Hi there! does anyone know how to do a sequence diagram from an extended use case event?

    submitted by /u/Leppopopo
    [link] [comments]

    Why are different keys used to generate JWT signatures ?

    Posted: 19 Dec 2020 07:34 AM PST

    I just came to learn about the kid header in JWT. It is basically a pointer to the secret key / private key that was used to sign the jwt.

    What I don't understand is why not just use the same secret key/private key to sign all the JWTs. What was the need for using multiple signing keys ?

    submitted by /u/Ncell50
    [link] [comments]

    Programming help

    Posted: 19 Dec 2020 11:02 AM PST

    so i need to program this problem using the "c" programming language. Ignore the red text that's crossed out and ignore any question that isn't about the programming.

    https://prnt.sc/w65egi

    https://prnt.sc/w65ex2

    https://prnt.sc/w65fxa

    https://prnt.sc/w65g6r

    So far i've only done up to section A but the program won't run. Here's what my code looks like

    https://prnt.sc/w65ld3

    submitted by /u/ShadowZeno1
    [link] [comments]

    Looking for advice/tutorials on how to build a scheduler

    Posted: 19 Dec 2020 03:08 AM PST

    Hello all,

    As a side project, I'm interested in building a very, very basic scheduler of sorts for booking/scheduling employee shifts. I can't find any tutorials on how to make one however. I might be using the wrong terminology, or completely misunderstanding the problem.

    Alternatively, I thought there might be an existing scheduling algorithm/open source software which I could use and just build a UI on top of it.

    Simple use case: I have 5 employees who all want to work 5 shifts this week, but X can't do Sunday and Y can't do Monday...and X is a crap employee who doesn't work well with Z, who works every Friday.

    I'd be quite interested in understanding some of the principles behind scheduling, like heuristics etc.. I'm sure it's an insanely complex topic but surely a very simple one can't be that hard (famous last words).

    Any thoughts/advice would be welcome,

    Thanks

    submitted by /u/Prize_Neighborhood_7
    [link] [comments]

    Help with designing raspberry pi project

    Posted: 19 Dec 2020 04:16 AM PST

    I'm fairly new to programming, so bear with me. I want to make a Magic Mirror-like project for my living room using raspberry pi, but I want to include data from an indoor thermometer/humidity sensor for a different room in my house. I was thinking about using an rpi for that as well.

    My problem is how I would go about getting the data from the temp/humidity sensor rpi to the magic mirror. Would I need to set up a cloud database where the sensor sends and stores the data and the magic mirror would go retrieve and display it? Not sure the best way to accomplish this so any pointers would be appreciated!

    submitted by /u/bobbyqque
    [link] [comments]

    Can Programming interfere with Reading Comprehension?

    Posted: 19 Dec 2020 05:49 AM PST

    I've been getting deeper into programming in the past 3 years; and in the past year or so, I feel as if my natural language / english comprehension skills have declined a bit (EDIT2: emphasis on a bit; no daily life issues, but I just find myself a bit sub-optimal for reading heavier texts, compared to the 1-2 year past self) - I think, particularly in terms of eye-tracking. For programming, one usually sees all over the screen and up and down, while during reading, one usually sticks to the particular longish horizontal line.

    I know a simple remedy would be to start reading more natural language materials, but I wanted to know if this is a real phenomenon and are there others who experienced something similar? (Haven't been able to locate any research or articles about this.) EDIT2: That's to say, I am not intently looking for a solution as much as possible research into or discussion about any related phenomena; but, thanks, found the related phenomena, and would keep an eye on it!

    EDIT: Okay, found the search phrase for google scholar: saccadic eye movements in "programmers"!

    submitted by /u/digikar
    [link] [comments]

    No comments:

    Post a Comment