Search found 16 matches
- Tue Feb 21, 2023 5:22 pm
- Forum: Programming
- Topic: PHP: Career after learning PHP
- Replies: 6
- Views: 4048
Re: Career after learning PHP
@KalamyQ First I will suggest to set up a web server with PHP 7+ and for web sites that work with MySQL databases this can also be installed, on your machine at home. A good local setup will be important and give you access to every nook and corner of a web server and web sites it serves.
Once ...
- Tue Feb 21, 2023 3:29 pm
- Forum: Programming
- Topic: PHP: Career after learning PHP
- Replies: 6
- Views: 4048
PHP: Career after learning PHP
I studied very basic PHP (I believe). After that, I feel like I've gotten a handle on the language. My dream is to work as a web developer! After doing some research, I decided to learn some more complex and practical php by using websites such as PHPSCripts, Webapps, and so on.
But now I'm ...
But now I'm ...
- Thu Feb 16, 2023 11:54 am
- Forum: Programming
- Topic: How to reverse a string in Python?
- Replies: 1
- Views: 283
How to reverse a string in Python?
I'm writing a Python translator. According to what I discovered after reading this post , this translator will transform a standard text into one with some unique features.
We append "S" at the beginning of each word.
We append "Di" at the end of each word.
Each word example is reversed: Hello ...
We append "S" at the beginning of each word.
We append "Di" at the end of each word.
Each word example is reversed: Hello ...
- Thu Feb 16, 2023 11:42 am
- Forum: Programming
- Topic: Fibonacci series in C
- Replies: 2
- Views: 325
Re: Fibonacci series in C
yes i am kinda bad at this and thank you for your help
- Thu Feb 09, 2023 7:44 am
- Forum: Programming
- Topic: Fibonacci series in C
- Replies: 2
- Views: 325
Fibonacci series in C
This function accepts the number of terms in the Fibonacci sequence in the child process, creates an array, and redirects the output to the parent via pipe. Parent must wait till the child develops the Fibonacci series. The received text always displays -1, although the transmitted text displays the ...
- Thu Feb 02, 2023 2:33 pm
- Forum: Programming
- Topic: Any good tools to find bugs in browsers ?
- Replies: 3
- Views: 573
Re: Any good tools to find bugs in browsers ?
yeah same query
- Mon Jan 23, 2023 4:04 pm
- Forum: Programming
- Topic: In Java, can the static and abstract keywords be used together?
- Replies: 0
- Views: 263
In Java, can the static and abstract keywords be used together?
When I understand that static and final combinations can be used together, I learned that static and abstract or final and abstract combinations are not permitted in Java while reading this https://www.scaler.com/topics/abstract-keyword-in-java/ . However, I have seen the following code elsewhere ...
- Mon Jan 23, 2023 3:58 pm
- Forum: Programming
- Topic: In Java, how can I replicate an object?
- Replies: 2
- Views: 330
Re: In Java, how can I replicate an object?
thanks you for your help
- Fri Jan 20, 2023 5:48 am
- Forum: Programming
- Topic: In Java, how can I replicate an object?
- Replies: 2
- Views: 330
In Java, how can I replicate an object?
Look at the following code:
DummyBean dum = new DummyBean();
dum.setDummy("foo");
System.out.println(dum.getDummy()); // prints 'foo'
DummyBean dumtwo = dum;
System.out.println(dumtwo.getDummy()); // prints 'foo'
dum.setDummy("bar");
System.out.println(dumtwo.getDummy()); // prints 'bar' but it ...
DummyBean dum = new DummyBean();
dum.setDummy("foo");
System.out.println(dum.getDummy()); // prints 'foo'
DummyBean dumtwo = dum;
System.out.println(dumtwo.getDummy()); // prints 'foo'
dum.setDummy("bar");
System.out.println(dumtwo.getDummy()); // prints 'bar' but it ...
- Wed Dec 07, 2022 8:50 am
- Forum: Programming
- Topic: What does the keyword "yield" do?
- Replies: 1
- Views: 321
What does the keyword "yield" do?
What does the yield keyword do in Python? What exactly does it do?
For example, I'm attempting to comprehend the following code1 from this library :
def _get_child_candidates(self, distance, min_dist, max_dist):
if self._leftchild and distance - max_dist < self._median:
yield self._leftchild
if ...
For example, I'm attempting to comprehend the following code1 from this library :
def _get_child_candidates(self, distance, min_dist, max_dist):
if self._leftchild and distance - max_dist < self._median:
yield self._leftchild
if ...
- Mon Nov 14, 2022 1:47 pm
- Forum: Programming
- Topic: Questions about the KMP search algorithm
- Replies: 2
- Views: 749
Questions about the KMP search algorithm
I'm having trouble comprehending the KMP algorithm. I understand prefix-suffix and have written code to calculate the prefix-suffix table:
private int[] calculatePrefSuffArray(String pattern) {
char patternArray[] = pattern.toCharArray();
int tab[] = new int[pattern.length()];
tab[0] = 0;
int t ...
private int[] calculatePrefSuffArray(String pattern) {
char patternArray[] = pattern.toCharArray();
int tab[] = new int[pattern.length()];
tab[0] = 0;
int t ...
- Mon Nov 14, 2022 1:32 pm
- Forum: Programming
- Topic: C Bubble Sort
- Replies: 5
- Views: 992
Re: C Bubble Sort
Thanks for the detailed clarification! I really appreciate it.
- Wed Nov 09, 2022 1:01 pm
- Forum: Programming
- Topic: Java equals() selection
- Replies: 1
- Views: 324
Java equals() selection
In Java, if I try to do.equals() on a null string, a null pointer error is issued. I'm wondering whether I can perform the following if I'm attempting to compare if a string is equal to a constant string:
MY CONSTANT STRING.equals(aStringVariable)
I'm sure it'll work, but is this simply extremely ...
MY CONSTANT STRING.equals(aStringVariable)
I'm sure it'll work, but is this simply extremely ...
- Mon Sep 19, 2022 5:43 am
- Forum: Users
- Topic: PRIMARY KEY vs. UNIQUE restrictions in MySQL
- Replies: 0
- Views: 648
PRIMARY KEY vs. UNIQUE restrictions in MySQL
The distinction between a PRIMARY KEY constraint and a UNIQUE constraint, according to the MySQL documentation, is that a PK constraint does not permit NULL values whereas a UQ constraint does. One may generate both PK and UQ for the same column in a MySQL table!
What use does it serve to add a ...
What use does it serve to add a ...
- Wed Jul 20, 2022 10:34 am
- Forum: Programming
- Topic: C Bubble Sort
- Replies: 5
- Views: 992
C Bubble Sort
I'm attempting to build Bubble sort in C and have gotten thus far, but it's not sorting correctly. Here, is the article I read from https://www.scaler.com/topics/c-bubble-sort/ .
#include<stdio.h>
int main()
{
int n, i, j, a[5], b, temp;
printf("Enter the number of elements to be sorted\n ...
#include<stdio.h>
int main()
{
int n, i, j, a[5], b, temp;
printf("Enter the number of elements to be sorted\n ...
- Thu Jul 14, 2022 10:53 am
- Forum: Programming
- Topic: When deployed to Heroku, python setup.py egg info did not run successfully.
- Replies: 1
- Views: 517
When deployed to Heroku, python setup.py egg info did not run successfully.
Hi everybody,
I joined this group to learn more about web development. I am familiar with Java, C, and HTML, and am actively learning CSS and Python. I am highly interested in programming, which is why I set a goal for myself to learn Python. And I'm facing some issues! Can somebody help me?
After ...
I joined this group to learn more about web development. I am familiar with Java, C, and HTML, and am actively learning CSS and Python. I am highly interested in programming, which is why I set a goal for myself to learn Python. And I'm facing some issues! Can somebody help me?
After ...