How do you program a social networking site?
Vote count: -4 I have programmed before in Python and I love it. Recently, I have taken an interest into web design and programming, and so have lea t HTML and feel semi-confident with CSS. However, I understand that to create dynamic websites, other languages are required. Would it be better to lea...
Disable a UI element using Appium
Vote count: 0 I want to disable some UI elements (Editview, button, soft keyboard and Android Hardware buttons) using Appium. Do you have any idea how to disable these elements using Appium? Thanks in advance asked 2 mins agoGulcin Hk Let's block ads! (Why?)
Python regex to find multiple consecutive punctuations
Vote count: 0 I am streaming plain text records via MapReduce and need to check each plain text record for 2 or more consecutive punctuation symbols. The 12 symbols I need to check for are: -/()!"+,'&. I have tried translating this punctuation list into an array like this: punctuation = [r'-', r'/',...
What could cause ASP.Net MVC views not to display the data?
Vote count: 0 Just had a very bad evening facing this strange problem and searching online even didn't helped thought to ask it here. As the question all said about it i use a model view as a model for my view and i have an index view result method in controller like below: public ViewResult Index(C...
How to make text center in Hero image with bootstrap
Vote count: 0 I'm trying to model the following design with Bootstrap. Currently I've found a method to do this using "carousel-caption" class from bootstrap CSS but it doesn't seem to working as expected. The html looks like this: <div class="container-fluid"> <div class="row"> <div class="col-md-1...
Difference between Office Graph APIs and Query Office Graph
Vote count: 0 Hi what is the difference between calling office graph API (like https://graph.microsoft.com/v1.0/me) and making a query (like https:///_api/search/query?Querytext='Use ame:carls'&SourceId='b09a7990-05ea-4af9-81ef-edfab16c4e31'&SelectProperties='UserName,DocId') Both of them need to be...
Puppet applying configuration but, but doesn't do job
Vote count: 0 Puppet v. 3.6.2 (Master and Agent) OS RHEL 7.2 Installed from official puppet yum repo Puppet agent has next job results after puppet agent -t -v: Info: Retrieving pluginfacts Info: Retrieving plugin Info: Loading facts in /var/lib/puppet/lib/facter/service_provider.rb Info: Loading fa...
Oracle Update based on join of 2 other tables
Vote count: 0 I am in need of updating a huge table, >1 billion records (POS Data) with a key from a table based on a join with a third table. I can break the updates down based on dates since this goes back several years. I basically need to replace the f.retail_sku_key in the table edw.f_pos_daily...
Greedy routes with a default fall back
Vote count: 0 We have a SPA with a 7 step workflow. We now have requirements for some of the steps to change based on the user credentials. Is it possible to configure routing with ui-router to first try and resolve 'greedy-routes'? e.g. Using company name as the user credential. With GreenBriar as ...
Why can't we create Arraylist of Arraylists [duplicate]
Vote count: 323 I'm a bit confused about how Java generics handle inheritance / polymorphism. Assume the following hierarchy - Animal (Parent) Dog - Cat (Children) So suppose I have a method doSomething(List<Animal> animals). By all the rules of inheritance and polymorphism, I would assume that a Li...
Understanding MVC on PHP with real application implementation
Vote count: 0 Recently I have tried to read about MVC and OOP a lot. But every tutorial I found only used for displaying some static information on screen and steps without proper explanation what the code do. I have difficulty in finding a good tutorial with real application implementation such as ...
C++_Clearing a buffer
Vote count: -1 For a project I have to send data to my mbed from my computer. I have a class where you can find those function : void RFIDPc::Callback() { while(_cnt<_bufferlen) { _buff[_cnt] = pc1.getc(); _cnt++; } if (_cnt >= _bufferlen){ _available = 1; } } int RFIDPc::Available() { if ( _availab...
Accessing PDF files on SD card on Android Device
Vote count: 0 I am currently developing an app for android which would allow a User to Upload a PDF file from their SD card to the servers. I've looking at a tutorial to upload an Image to a server to understand the technical aspects of uploading a file. Intent pickImageIntent = new Intent(Intent.AC...
Qualtrics Pipe Random Previous Choice
Vote count: 0 I want to present the user with a multiple choice option that allows for multiple responses and then randomly pick one of those choices to be piped into one of the next questions in a different block. If possible, I would like to avoid JavaScript. e.g. Which of the following might you ...
Install mysql-client inside a zip
Vote count: 1 What I am trying to do is use aws-lambda to import zipped sql files in aws-rds. In my case zipped sql files are inserted in s3 constantly by some crawlers. What I want to do is when any sql file is uploaded to an s3 bucket, I want aws-lambda to use a mysql-client to import these files ...
Spark-Cassandra connector data reading
Vote count: 0 I'm having cluster of Cassandra nodes with Spark worker on each node machine. For communication I'm using Datastax Spark-Cassasndra co ector. Does the Datastax co ector have optimisation for reading of data from Cassandra node by worker in same machine or exists some dataflow betweens ...