3,059 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for dimitrilc

## Introduction ## When working on Espresso tests, you might have run into a situation where you need to verify what your app does when an activity is in a specific [**Lifecycle**](https://developer.android.com/reference/androidx/lifecycle/Lifecycle) state. In this tutorial, we will learn how to achieve this by using the **ActivityScenario** class. ## Goals …

2
41
Member Avatar for gunnarflax

I've read tutorial on tutorial and I try to work with Object Oriented PHP but the thing is that I find it rather complex. When I create a class I must include it in the current working document. It doesn't work as in Java when the compiler finds the script …

Member Avatar for odeskavita
1
530
Member Avatar for Stefce

I am using google drive to upload manually the images there and with sharing link to display them on my website. But it makes troubles sometimes the images doesn't load fully. Is this proper way of displaying the images faster on your website? The website is coded using HTML only …

Member Avatar for john_111
1
232
Member Avatar for jj.dcruz

I have this code foreach loop it will get the first data form my table every iteration on the next output. I would like to have a guidance on this <select class="selectpicker form-control" data-live-search="true"> @foreach ($IncidentTypes as $Incident) <optgroup label="{{ $Incident->incident_type ." ". $Incident->id }}"> @foreach ($Incident->IncidentSubType as $subTypes) <option> …

Member Avatar for Dani
1
221
Member Avatar for Shalini_7

Hi, did anyone know how to send email using vb.net without username and password of user, for example it can detect current user crediantials of email(outlook). Most of the google example is using username and password. Please help

Member Avatar for stephenlangton
0
895
Member Avatar for humblepi3

Repo: https://github.com/Charles-CarM/Battleship I am currently building my battleship console application in C#. I have prior experience building projects with Vanilla JS and in React. I went through a tutorial on C# and could grasp most of the concepts pretty well. I have jumped into project building because I know this …

Member Avatar for humblepi3
0
256
Member Avatar for forgot

I have a project that no one can or wants to engage in. The data is in a database table. The code displays a menu, selects a target (url - http://.....), displays the record - so far so good....then I want to click the button and redirect to the url.... …

Member Avatar for akvkota
0
117
Member Avatar for usmanmalik57

In my [previous articles](https://www.daniweb.com/programming/computer-science/tutorials/538512/finding-inter-annotator-agreement-between-three-annotators-in-python#post2287428), I explained how you could apply heuristic and statistical approaches for finding inter-annotator agreement between multiple annotators. However, while applying those approaches, I found that finding inter-annotator agreement in the case of multi-label ranked data is a difficult task, and traditional inter-annotator agreement techniques will almost …

0
115
Member Avatar for adisharma

Hello All, I am learning Tensorflow and I want to how do I install tensorflow in my system or I am looking to online tutorial of tensorflow. Can anyone know, Please suggest me.

Programming database
Member Avatar for palak231
0
98
Member Avatar for Programmer18

Hi. So I want to open a application from Java code and open a new terminal for that application also through Java code. We can open the new terminal manually by entering ctrl+alt+t. But I need to do this via code without entering any keys. Can anyone suggest something?

Programming java
Member Avatar for odeskavita
0
96
Member Avatar for Bidesh

I want to develop a social media website. So can anyone tell me the what are the programming languages needed for it? I have already included php, javascript and html. Can you suggest me with any powerful js library?

Programming database javascript php
Member Avatar for odeskavita
0
84
Member Avatar for Bidesh

What are the programming languages needed to learn to create a movie website? The movie website should also be capable to upload new movies. I have included php, javascript, and jQuery already.

Programming javascript jquery php
Member Avatar for Dani
0
69
Member Avatar for Stefce

Hello everyone. I need a little help with my html code. I want to load html file (menu.html) inside my index.html file I am trying to achieve this using JavaScript. Here is an example how i am trying to achieve this. this is menu.html file <!-- Mobile Nav (max width …

Member Avatar for Dani
1
320
Member Avatar for Chole

This blog post will compare the two most popular cross-platform mobile app development frameworks, Flutter and React Native.The world of mobile app development is a complicated place with many competing frameworks. It can be hard to know which one to use, but this article will help you find out if …

Member Avatar for markanderson_1
1
128
Member Avatar for varcore

i am running ubuntu 22.04 and php 8.1 / MariaDB , i am missing somthing here in my code just can't see it. the premise of the code is to look at the TrolleyID Field and if it's '00000' basically echo's "BAD-READ" else it's 'GOOD-READ' any help would be great …

Member Avatar for Dani
1
100
Member Avatar for jyotiu

Hi ppl I am developing website for my friend's very small resort, please see [url removed] this resort have 8 rooms in total and all rooms are of same type so every room is equally priced. I just need code or logic to check availability of given [B]no. of rooms[/B] …

Member Avatar for Ahmad_74
0
2K
Member Avatar for ankitdixit

Hello All, I am a software developer and got the opportunity to work on a large web development project. I want to know which source allow efficient data storage feature between file system and dbms in a large project. I have asked this query on Quora and according to this …

Member Avatar for markanderson_1
0
316
Member Avatar for Nine_2

I have this form where I'm editing a student's information like changing the provider assigned to him. I'm having a problem with it since the dropdown menu is coming from MySQL database that has the full name. ![provdata.png](https://static.daniweb.com/attachments/4/c03e715e350cced146c03f6dd137b822.png) Here's what it looks like. ![provider.png](https://static.daniweb.com/attachments/4/0e91d237fb3e840d96ee1c350432a974.png) When I try to select one …

Member Avatar for Dani
0
121
Member Avatar for ianhaneybs

I am in the middle of making a web based system for shows and each show as a different closing date for entries. The closing date is stored in a database. I need to display a export to excel button once the closing date has passed for each show. I …

Member Avatar for Dani
0
102
Member Avatar for borobhaisab

Hi, Can you remember once upon a time Yahoo and Open Directory or Dmoz were directories with categories and subcategories and sub-sub categories etc. ? I need to have a list of such categories. Link listing categories. Trying to build a link directory. Where can I get the lists of …

Member Avatar for Dani
0
79
Member Avatar for Dani

When I run `getStats()` on my PHP instance, it results in the following: array ( '10.143.27.235:11211' => array ( '����' => '', 'pid' => 3602, 'uptime' => 49804, 'time' => 1663088274, 'version' => '1.5.22', 'libevent' => '2.1.8-stable', 'pointer_size' => 64, 'rusage_user' => 30.254434, 'rusage_system' => 62.188442000000002, 'max_connections' => 4096, 'curr_connections' …

Programming memcached php
Member Avatar for Dani
1
61
Member Avatar for Pekja

Hi! I'm here to ask for an opinion as someone who want to develop an Android app for the first time. Can someone suggest to me whether I should use Java or Kotlin to write my code? My app will constantly need to fetch and submit data to phpmyadmin which …

Member Avatar for logandavid
0
104
Member Avatar for Ukpe

Good day every body. I want to develop a database program that will be used in school to input information about students and all the staff of the school. I want the program to be able to retrieve any required information and also display the total number of students in …

Member Avatar for john_111
0
99
Member Avatar for KillerFrost

I'd like to incorporate a payment gateway into flutter web. Payment UI is loaded in flutter web, but I'm not sure how to get callbacks from it.

Member Avatar for Dani
1
151
Member Avatar for Dani

I'm trying to get Memcached persistent connections to work. We currently have a cluster of four Memcached servers each with 2GB of RAM, and four web servers. My code looks like this: public function __construct() { global $config; $this->cache = new Memcached('daniweb'); if ($this->cache->isPristine()) { $this->cache->setOptions(array( Memcached::OPT_NO_BLOCK => true, Memcached::OPT_BUFFER_WRITES …

Member Avatar for Dani
0
1K
Member Avatar for daviddoria

I am trying to use wxPython (the version that ships with Fedora 11 - I'm not building it from source). I am seeing: [code] from wxPython.wx import * File "/usr/lib/python2.6/site-packages/wx-2.8-gtk2-unicode/wxPython/__init__.py", line 15, in <module> import _wx File "/usr/lib/python2.6/site-packages/wx-2.8-gtk2-unicode/wxPython/_wx.py", line 3, in <module> from _core import * File "/usr/lib/python2.6/site-packages/wx-2.8-gtk2-unicode/wxPython/_core.py", line 15, …

Member Avatar for Reverend Jim
0
2K
Member Avatar for Kate_12

Can someone please give me tips on how to accomplish generating a random number within a random range. See 'roll_dice' #include <iostream> #include <limits> #include <ctime> #include <iomanip> #include <cstdlib> using namespace std; using std::cout; using std::cin; struct Sanity { unsigned int turns = std::numeric_limits<int>::max(); unsigned int sanity = std::numeric_limits<int>::max(); …

Member Avatar for Schol-R-LEA
0
264
Member Avatar for darshanghorpade

For a given array of integers, reach to the end of the array from the 0th index with minimum number of moves. Moves possible at each index: Move from index i to index (i+1) Move from index i to index (i-1) Move from index i to index j, if a[i] …

Member Avatar for Fifth Horseman
0
195
Member Avatar for borobhaisab

Hello, I know the safest way to write a pagination section with php is to use the http_build_query(). Like so: $i = 0; while($i<$total_pages) { $i++; if($_GET['bool']=='null') { //Page Format: $_GET List. $array = array("tbl"=>"$tbl","col_1"=>"$col_1","bool"=>"$bool","input_1"=>"$input_1","lmt"=>"$limit","pg"=>"$i"); } else { //Page Format: $_GET List. $array = array("tbl"=>"$tbl","col_1"=>"$col_1","col_2"=>"$col_2","bool"=>"$bool","input_1"=>"$input_1","input_2"=>"$input_2","lmt"=>"$limit","pg"=>"$i"); } $serps_url = $_SERVER['PHP_SELF'].'?'.http_build_query($array); if($i==$page) …

Member Avatar for Dani
0
159
Member Avatar for Mighty_2

In C# ArgumentException is an existing class that derives from Exception; you use it when one or more of a method’s arguments do not fall within an expected range. Write the application SwimmingWaterTemperature containing a variable that can hold a temperature expressed in degrees Fahrenheit. Within the class, create a …

Programming c#
Member Avatar for Dani
0
149

The End.