473,544 Members | 801 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Latest Bytes Forum

Support forums for various IT topics. Programming languages, databases, systems, applications and more. Subscribe to a community, participate, ask, share your expertise and network.
 
0
5,317
SwissProgrammer
thread by: SwissProgrammer | last post Dec 20 '22 by: SwissProgrammer
I have read that some Korean (Unicode symbols) do not work well with MultiByteToWideChar in C++. I am working on some code that does not use MultiByteToWideChar and I want to test it against some of those Korean characters to see if my code works for that. Please list a few (at least one) of those Korean characters that do not work well with...
1
4,862
thread by: shivajikobardan | last post Dec 19 '22 by: Dormilich
Promises syntax that I learnt: let p = new Promise(function (resolve, reject) { let x = 20, y = 20; if (x == y) { resolve(); } else {
0
4,851
thread by: HarrySto | last post Dec 19 '22 by: HarrySto
Here is a poorly written function to change the price of a product that takes into account many different conditions. You need to refactor, since the function itself is terribly unreadable. Where to start refactoring or what methods to use to start refactoring? function changePrice($this = null) { if ($this == null) { var rel_price = ...
0
5,019
thread by: BogarG | last post Dec 19 '22 by: BogarG
Hello, I have one query, written MySQL language, and there qork perfectly. But I like to use the same query, in postgreSQL and there get 2 times syntax error, and I'm not fing the issue. Here is my code: UPDATE "T_Status_Furnace" SET "Status_CG" = true WHERE EXISTS ( SELECT MAX(m2.t1 - m1.t1) as delta FROM "Table_1_Furnace_1" AS m1 ...
2
6,997
thread by: Oleksandr | last post Dec 16 '22 by: XPS35
I have two tables, one with tasks and the other with some relative data as below: Task Client Date Hummer qty Made something a X1 01.02.2022 Made something b X2 05.02.2022 Made something c X3 05.02.2022 Made something d X2 07.02.2022 So this one represents daily activity for different clients. I need to...
0
3,998
thread by: ComPDFKit | last post Dec 16 '22 by: ComPDFKit
CSV is one of the most popular file formats when it comes to storing tabular data. If you want to manipulate or analyze data in PDF documents, you can convert PDF to CSV format, storing information in the form of tabular rows and columns. What Is CSV A Comma Separated Values (CSV) file is a plain text file, containing a list of data....
1
13,494
Hightopo
thread by: Hightopo | last post Dec 14 '22 by: HarrySto
Let's take a look at the final effect of the game at first: Watch it on YouTube Now let's talk about how to achieve it with Javascript. The game is made using HT for Web, with about 100 lines of code. Initialize the scene First, let's do some initialization work, including initializing the 3D scene, setting the ground grid, and enabling...
1
9,752
thread by: hala adnan | last post Dec 13 '22 by: dev7060
You have an array on N size with random numbers. Write a multithreaded program that performs the following operations on this array: Thread 1 sorts the even numbers Thread 2 sorts the odd numbers Thread 3 merg the results (even number in the top part of the array).
0
9,145
thread by: phantom2000 | last post Dec 12 '22 by: phantom2000
I am using the following code to plot a graph. import pandas as pd import numpy as np import matplotlib as mpl import matplotlib.pyplot as plt import folium from folium import plugins crime_data = pd.read_csv('~/Desktop/Assignments/Python/crime_data_sw_police_2021.csv')
1
9,948
thread by: argavilan18 | last post Dec 12 '22 by: Arushi
good day everyone, I currently have this project where I call the parameter in this method with an XSD and it should save the data in a Stored Procedure. I have made several attempts. When entering the XSD, it only returns the XSD but does not return the output parameter. Here is the code: internal static string...
0
8,614
thread by: Yacine Si Tayeb | last post Dec 12 '22 by: Yacine Si Tayeb
After 1.5 months in development, Apache ShardingSphere 5.3.0 is released. Our community merged 687 PRs from contributors around the world. The new release has been improved in terms of features, performance, testing, documentation, examples, etc. The 5.3.0 release brings the following highlights: Support fuzzy query for CipherColumn....
0
9,561
thread by: ravi6070 | last post Dec 12 '22 by: ravi6070
i get error msg like this.... Parse error: syntax error, unexpected end of file in C:\xamppp\htdocs\crud\display.php on line 54 my code is <?php include 'connect.php'; ?> <!DOCTYPE html>
2
15,181
thread by: shivajikobardan | last post Dec 11 '22 by: shivajikobardan
I'm struggling with frontend. Although my basics of html,css are clear, I'm having trouble in building websites and I'm just putting baby steps towards it. Thus a guidance from a mentor would be really helpful to me in learning. If I don't find any resources, my plan is to just google and read till I understand. I want to ask this question...
2
13,762
thread by: MichaelMortimer | last post Dec 10 '22 by: markopalme
I have created a chess program but am stuck on one specific part. If I am playing against an AI but want to undo a move, I am unable to do so. Instead of undoing my previous move, the AI just picks another move. Here is the code: if e.key == p.K_z: GS.UndoMove() #Undo the last move ...
0
8,269
thread by: Zahidhaseeb1978 | last post Dec 10 '22 by: Zahidhaseeb1978
We have setup an environment of Postgres 15 cluster thru etcd and patroni with the help of HAProxy. Can we use any commercial load balancer in place of HAproxy ? Like F5 or Fortigate
1
12,954
thread by: kushant negi | last post Dec 9 '22 by: dev7060
#include<stdio.h> void multi(double); int main(){ double n; printf("Enter number"); scanf("%lf",&n); multi(n); } void multi(double n){ int i;
1
11,827
thread by: CCCYYYY | last post Dec 9 '22 by: dev7060
Hi, I'm a c++ newbie, in a BinarySearchTree data structure I found this definition: void insert (const Comparable& x, BinaryNode *& t); void insert (Comparable && x, BinaryNode *& t); so, what does "&&" mean? it means "const &" Thanks CCCYYYY
1
8,672
thread by: zermasroor | last post Dec 9 '22 by: dev7060
Hi, How to check if my website already has SSL? Can you please guide me
1
8,251
thread by: zermasroor | last post Dec 9 '22 by: dev7060
Hi, I want to add a single line with CSS on the website, can anyone guide me what is the code for this. Thank you
1
13,312
thread by: Anwar ali | last post Dec 9 '22 by: dev7060
How to lock floder directory so that it CAN'T seen by other? plez some one explane me this project.
1
7,169
thread by: YollemCrumble | last post Dec 9 '22 by: NeoPa
I am trying to create a digital board with configuable columns, if the columns are too long, I want to scroll them one at a time and refresh that column. Each column is displayed in its own sub-form. I have a table with various information about the column including the subform name (or what I believe is the subform name) as a string. I can...
0
5,716
thread by: Urnbert | last post Dec 9 '22 by: Urnbert
How to make refresh botton, when click will refresh and automatically erase the entered data.
0
7,581
thread by: GowaP | last post Dec 8 '22 by: GowaP
Voici un exemple de script en PowerShell qui accède au FTP. Pour le FTP d'un AS400, l'astuce est d'ajouter le « %2f » qui permet de basculer en « Site NameFmt 1 » automatiquement. Quelqu'un pourrait me convertir ce code en « ASP Classic » ? $ftpPath = "ftp://SvrAS400/%2fPARTAGE/" $ftpUser = "utilisateur" $ftpPass = "motdepasse" ...
0
8,128
thread by: Singular | last post Dec 7 '22 by: Singular
Hi. In one recent research, i fails to understand of how PostgreSQL work with physical memory when executing a queries. Perhaps, someone had experience in the analysis of this issue. All tests was acted on PostgreSQL 12, Debian 10. In first, we have an execution plan of query. The execution plan contains HASH JOIN operations (search by query...
1
6,198
thread by: Stoney L | last post Dec 7 '22 by: Stoney L
As I written in the question, I want you to help recommend a type of memory which is based on Intel and is 16GB for single.I've got a Lively Wallpaper software which is a kind like Wallpaper Engine so I want to upgrade my memory.And one of my memory slots was broken so I need a memory which is using DDR3 and is 16GB for single.(It's a desktop...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.