Categories
Mastering Development

How to apply an enumeration algorithm into a problem?

I am new to stackoverflow and I wonder if there is a suitable method/algorithm to solve my example problems in order to generate a desired solution that respect some conditions of the problems. Here is my json file(example1.json) as you can find from here: https://gitlab.com/Schrodinger168/practice/-/blob/master/example1.json I will explain the csv file and what I want […]

Categories
Mastering Development

How to apply an enumeration algorithm into a problem?

I am new to stackoverflow and I wonder if there is a suitable method/algorithm to solve my example problems in order to generate a desired solution that respect some conditions of the problems. Here is my json file(example1.json) as you can find from here: https://gitlab.com/Schrodinger168/practice/-/blob/master/example1.json I will explain the csv file and what I want […]

Categories
Mastering Development

ignore all commas, dots, single quotes and double quotes between double quotes java

This is one example of my csv file where I have for example 2 commas inbetween quotes and also a single quote. "16788","Michel Georges Bury","M",44,179,74,"France","FRA","1996 Summer",1996,"Summer","Atlanta","Shooting","Shooting Men’s Small-Bore Rifle, Prone, 50 metres",NA or this one: "6036","Carl Auteried, Sr.","M",45,172,74,"Evita VI","AUT","1960 Summer",1960,"Summer","Roma","Sailing","Sailing Mixed Two Person Heavyweight Dinghy",NA I am using String[] fields = line.replaceAll("\"", "").split(",(?=(?:[^\"]*\"[^\"]*\")*[^\"]*)"); to split […]

Categories
Mastering Development

Printing the Guessed Letter

import random title = (“Guess the Word Title”) print(title.center(80)) Tuple = () Tuple = (“Spring”, “Summer”, “Autumn”, “Winter”) TupleItem = random.choice(Tuple) Item_len = len(TupleItem) ItemAsteriks = (“*” * Item_len) print(“\n\n\n”, ItemAsteriks.center(80), “\n\n\n”) response = “n” while response == “n”: response = input(“Would you like to guess the word (y / n)? “) if response == […]

Categories
Ask Biology

What insect is this? Looks like a spider but with six legs and long antennae

I’ve been spotting some of these insects in my house lately, they look like spiders but it seems like they have six legs and antennae instead of eight legs. Can someone tell me what insect is this? Is it dangerous? I don’t mind having them in my house but if they’re dangerous I might have […]

Categories
Ask Biology

What insect is this? Looks like a spider but with six legs and long antennae

I’ve been spotting some of these insects in my house lately, they look like spiders but it seems like they have six legs and antennae instead of eight legs. Can someone tell me what insect is this? Is it dangerous? I don’t mind having them in my house but if they’re dangerous I might have […]

Categories
Ask Biology

What insect is this? Looks like a spider but with six legs and long antennae

I’ve been spotting some of these insects in my house lately, they look like spiders but it seems like they have six legs and antennae instead of eight legs. Can someone tell me what insect is this? Is it dangerous? I don’t mind having them in my house but if they’re dangerous I might have […]

Categories
Artificial Intelligence (AI) Mastering Development

BLEU_SCORE gives bad scores – what am I doing wrong?

I want to calculate the BLEU_SCORE but it gives me bad results I don’t know why? for example this is my reference and predicted sentences ref : [‘electron’, ‘and’, ‘a’, ‘proton’] predicted : [‘electron’, ‘and’, ‘a’, ‘proton’] ref : [‘to’, ‘reach’, ‘the’, ‘nectar’, ‘at’, ‘the’, ‘bottom’, ‘of’, ‘flowers’] predicted : [‘to’, ‘reach’, ‘the’, ‘nectar’, ‘at’, […]

Categories
Mastering Development

Having an issue exporting localhost database from phpmyadmin?

I am following along with this tutorial in order to upload a WordPress site I design on localhost, however when I try and export the database from phpmyadmin, it doesn’t work. I do not get an error, but has been taking several hours and I think it keeps timing out? The site is quite large […]

Categories
Development

automation to merge data frames adding a line to keep note of the origin

I am a newbie with R. I have 6 different data frames (U, V, W, X, Y, Z), coming from different CSV files, each of them has the same columns (Surname, Name, Winter, Spring, Summer), and I would like to create a new data frame containing the 5 rows and a sixth row which indicates […]