3,012 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for Paul_97

This is a complete tutorial on creating a Deterministic Finite Automata (DFA) in Swift. Go through the entire post to get familiar with all aspects of DFAs, and then implement your own DFA in Swift from scratch by following the steps given here. This will give you real-world experience on …

Programming dfa swift theory
2
325
Member Avatar for dimitrilc

## Introduction ## In this tutorial, we will focus on how to manage IO permissions to read, write, and delete local files using the `SecurityManager` class. ## Goals ## At the end of this tutorial, you would have learned: 1. What policy files are and how to use them. 2. …

2
258
Member Avatar for Reverend Jim

# Comparing two videos side by side I have been creating walk-through videos on the cheap by just wandering through an area with my little Sony camera. Lacking a steady-cam I just try to hold the camera as steady as possible. Fortunately, with the proper (free) tools I can still …

Member Avatar for Reverend Jim
1
870
Member Avatar for din_hilmi

hello, i'm newbie here and also in programming world. so I would to request help from pros here. my question is, how to print out number entered in random in ascending order WITHOUT USING ARRAY AND FUNCTION? let say the user key in 4, 56, 31, 90, 11 and the …

Member Avatar for Aditya_47
0
44K
Member Avatar for usdblades

I just started learning Python Last Night and I am curious of how to put a pause at the end. I did the Famous Hello World Program and when saved and Executed it seems like it runs and closes before I can even read the text. I tried raw_input("Press ENTER …

Member Avatar for Theofanis
0
2K
Member Avatar for Sagar_9

Hi Everyone, Is there a java code to convert SWIFT MT103 message to pacs 008 ISO20022 format? Thank you. Regards, Sagar

Member Avatar for Sagar_9
0
442
Member Avatar for brodeur

// The "FriedmanRPSgame" class. import java.awt.*; import hsa.Console; public class FriedmanRPSgame { static Console c; // The output console public static void main (String[] args) { c = new Console (); // VARIABLES int rock; int paper; int scissors; // INPUT c.println (" Choose 1 for rock, 2 for paper, …

Member Avatar for Zirely
0
240
Member Avatar for oladiti4real

How can I build a responsive mobile app with PHP as a web developer, I'm a newbie in web development please and I wish to maintain apex growth in this field

Member Avatar for Dani
0
148
Member Avatar for Gerard_1631

Good afternoon, I'm haven't coded in a very long time, and now I have some time in my life I'm actually coding a Quiz application in vb.net using ms access for the question/answer database. This project is what the student will see when their taking the test, and my issue …

Member Avatar for Reverend Jim
0
131
Member Avatar for Bright_4

I need to add variable called $new_status, but its not being recognised on php, any suggestions. $sendData = '{ "messages" : [ { "content" : "Your order is $new_status.", } ] }';

Programming php
Member Avatar for patk570
0
85
Member Avatar for katesfb

Hi, I am new to this forum and also new to android programming using Android Studio and am stuck on a coding problem so i am not sure this is the right forum but any help is much appreciated: I am trying to get some some code via the processing-core …

0
48
Member Avatar for Tierra

#include <iostream> using std::cin; using std::cout; using std::endl; using std::ios; #include <iomanip> using std::fixed; using std::setw; using std::setprecision; using std::showpoint; int main() { const int PEOPLE = 5; const int PRODUCTS = 6; int sales[5][6]={{1},{2},{3},{4}}; double value; double totalSales; double productSales[ PRODUCTS ] = { 0.0 }; int salesPerson; int …

Programming c++ javascript
Member Avatar for Adnane_2
0
15K
Member Avatar for dimitrilc

## Introduction ## Java 14 was released with a new type of expression called Switch Expression. Its syntax is similar to that of the Switch Statement, with a few differences. In this tutorial, we will walk through concepts related to the Switch Expression and learn how to use it. ## …

3
108
Member Avatar for dimitrilc

## Introduction ## In this tutorial, we are going to learn how to create a Java module by hand. ## Goals ## At the end of this tutorial, you would have learned: 1. What a `module-info.java` file is. 2. How to compile a module. 3. Describing a module. ## Prerequisite …

2
109
Member Avatar for kasmar45

This code causes an exception: dim box as new mult() box.show <-------- cannot access a disposed object

Member Avatar for kasmar45
1
158
Member Avatar for complete

How do I set the default “index” landing page (also known as the default content page) on a Classic ASP file? While setting up a simple first “Hello World” style classic ASP program locally, I remember how things are set up on the server where I will eventually migrate my …

Programming asp.net iis windows
Member Avatar for rproffitt
1
115
Member Avatar for razstec

Got this to open a browser inside a specific frame, and i need it to be changeable, any ideas? been readin pyqt5 but cant seem to manage this import sys from tkinter import Tk, ttk from PyQt5.QtCore import * from PyQt5.QtWidgets import * from PyQt5.QtWebEngineWidgets import * mainwind = Tk() …

Member Avatar for razstec
0
325
Member Avatar for ianhaneybs

I have a database that has columns called start date, start time, end date and end time and want to be able to output the difference so it shows the total time spent per project. Below is the code I have but it shows the error PHP Fatal error: Uncaught …

Member Avatar for lps
0
181
Member Avatar for Onatola
Member Avatar for Peleg
0
106
Member Avatar for Hayic

<?php $name = $email = $password = $repeatpass = ''; $name = $_POST['name']; $email = $_POST['email']; $password = $_POST['password']; $repeatpass = $_POST['repeatpass']; $con = new mysqli(DB_HOST, DB_USER, DB_PASSWORD, DB_NAME); $sql = "INSERT INTO user-regis (name, email, password, repeatpass) VALUES ('$name', '$email', '$password', '$repeatpass')"; $result = $con->query($sql); if (!$result) { header("Location: …

Member Avatar for Dani
0
97
Member Avatar for bijutoha

Everything is in order, but it is going to take a long time to complete my backup. I'm certain my file is not much larger than it was at the time. It is about 200MB in size. Is there anybody who can offer a way for me to escape this …

Member Avatar for bijutoha
0
89
Member Avatar for Atahladte19

Hi Guys, Will AGI take all jobs that are currently done by humans? Maybe it will eliminate most jobs that don't have a technical background or most low-medium skilled jobs? I am not talking about A.I as it is today or ASI but in the future lets say 2060 Or …

Member Avatar for JamesCherrill
0
82
Member Avatar for I_GEVO

hi, I put a button to run the batch file and everything is fine But when the file works it asks for other files that are complete to run it and I did not know how to merge it together to work properly and these pictures ![1.png](https://static.daniweb.com/attachments/4/83b5662430989d1e87d8ad82ef1a2851.png) ![3.png](https://static.daniweb.com/attachments/4/7a92fe7a9051f62f3c292b5b8830433a.png) ![Screenshot_13.png](https://static.daniweb.com/attachments/4/cc156d0fa8215abef8802da216cc1a96.png) ![2.png](https://static.daniweb.com/attachments/4/18a4dd6b1d04de74b1629bd70a0ee460.png)

Member Avatar for tinstaafl
0
79
Member Avatar for crysmile
Member Avatar for dimitrilc

## Introduction ## Based on the 2020 Java Ecosystem survey from Jetbrains, 75% of Java developers are still using JDK 8. JDK 11 introduces `HttpClient`, which replaces the legacy `HttpURLConnection` API. For this tutorial, we will build a `HttpClient` that consumes the free Cat Facts API. ## Goals ## At …

Member Avatar for JamesCherrill
3
435
Member Avatar for dimitrilc

## Introduction ## `partitioningBy()` collects a `Stream` into a `Map`. In this tutorial, we will compare the two different `partitioningBy` methods and learn how to use them. ## Goals ## At the end of this tutorial, you would have learned: 1. What `Collectors.partitioningBy` does and how to use it. ## …

3
206
Member Avatar for dimitrilc

## Introduction ## This tutorial introduces the `CyclicBarrier` class and teaches you how to use it. ## Goals ## At the end of this tutorial, you would have learned: 1. How to use `CyclicBarrier` to synchronize tasks across multiple threads. ## Prerequisite Knowledge ## 1. Intermediate Java. 2. Basic knowledge …

3
136
Member Avatar for Lynn_10

I just hired a developer in India to write an API upload script for my cloud server. He just finished it and it works fine for him, but I've tried it in all browsers and it doesn't work at all for me. I'm in the UK. What could cause this?

Member Avatar for Lynn_10
0
65
Member Avatar for Verlaine

I have an access Database with Chinese and German words. How can I had their audio prononciation wich I get from Forvo or Google translate?

Member Avatar for Dani
0
60
Member Avatar for alamu

please give the program for sorting a linked list without affecting the original value

Member Avatar for 4rajgopal
0
1K

The End.