473,624 Members | 2,223 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.
 
2
9,398
thread by: HarrySto | last post Jan 4 '23 by: HarrySto
How can you do code refactoring when committing to git? In order for the git to look at the format of writing code, that spaces are indented, not tabs, the names of variables and classes, etc... How can I do that?
2
4,051
thread by: Fakhir | last post Jan 4 '23 by: BloomS
Hi, I need help in converting the pesudocode into c++ code. Initialize key = ROLLNO, extra = NAME_POSITION Start the iterator with value 1 If the iteration number is greater than 5, go to step 12 if the ROLLNO is greater or equal to 50 add five to counter subtract 2 from extra go to step 6
0
4,061
thread by: Carl1543 | last post Jan 3 '23 by: Carl1543
I’ve been facing a problem where one of the Cron jobs processes was suddenly killed or crashed. I’m using PHP MVC on Cloudways as my server. Previously I used node.js pm2 to restarted the cron job manually on cloudways terminal, I would like to ask that is it possible to achieve restart cron job process automatically by using Node.js PM2?
1
8,780
thread by: BernardOgil | last post Jan 3 '23 by: BloomS
Hello friends, I am experiencing a serious issue on my PC that I can't seem to solve it anymore. Actually, I want to upgrade my PC into Windows 11 and when I try to upgrade it, there is showing, need to install .NET framework. But I am not able to install .NET framework on my computer. Could anyone please help me how to install it? Any kind of...
0
3,480
!NoItAll
thread by: !NoItAll | last post Jan 2 '23 by: !NoItAll
Hi: I have a windows 10 machine that runs our server application on the local LAN. Now I need to put a gateway application in the DMZ and would like to avoid adding another machine. The gateway runs under Windows 10. The computer that runs our server on the LAN has two NICs. Can I run the gateway application and bind it to the second NIC...
0
2,714
thread by: markleo | last post Dec 31 '22 by: markleo
I have a special content txt file like this, https://i.stack.imgur.com/HEf0H.png == desc.xxx >>> 11111 2222 333
1
3,740
SwissProgrammer
thread by: SwissProgrammer | last post Dec 29 '22 by: dev7060
Is there javascript already written that can be placed into the url location box that would remove all variations of anything relating to Google from a web page? Example of similar activity: In Firefox, on Microsoft Windows, I can right-mouse-click on a web page, then press the "Q" key on the keyboard, and then in the "Search HTML" input...
0
3,922
SwissProgrammer
thread by: SwissProgrammer | last post Dec 29 '22 by: SwissProgrammer
I have some code that I tested and it works on a bytes.com page to remove some iframe advertising. I would like to adapt it to remove all google advertising on every page that I use it on. I copy the following and paste it into the url location bar, then type in the j for the beginning then click the Enter key and it works. avascript:...
0
3,985
thread by: asking | last post Dec 27 '22 by: asking
I found unexpected command that took max CPU Usage on Postgres database server https://ibb.co/7NfSV5C
0
2,372
thread by: decoratorWrap | last post Dec 27 '22 by: decoratorWrap
can anybody help me out of a serious problem i am facing, i have tried a lot of google search, but all in vain. open is a built in function, written in c language for cpython implementation. i can step into, step through only python codes, is there any debugger/mechanism which can step into built in open function. i mean can i step into c code of...
0
1,990
thread by: Bhuvaneshwari M | last post Dec 26 '22 by: Bhuvaneshwari M
<table id="mytable" class="styled-table"> <thead> <tr> <th>Patientid</th> <th>Name</th> <th>Path</th> <th>Category</th> <th>Action</th> </tr> </thead>
0
947
thread by: YellowAndGreen | last post Dec 25 '22 by: YellowAndGreen
Project link: (https://github.com/YellowAndGreen/Md-ImgLocalize) This is a python script that scans all the markdown files of a folder looking for images links, and substitutes the urls of the markdown files for local file names, and download the images. Why?🛠️ Offline markdown files are a reliable way to store and organize information....
0
1,206
thread by: Jyotimali | last post Dec 24 '22 by: Jyotimali
What is prototype function for initwindow
0
1,193
thread by: antdb | last post Dec 23 '22 by: antdb
https://i.328888.xyz/2022/12/23/DfCmJ.jpeg In the era of digital economy, 5G serves thousands of industries though its faster, richer and smarter connection. Based on the profound carrier service capability and rich operation experience of AsiaInfo Technologies (China) Limited (hereinafter referred to as: AsiaInfo Technologies), AntDB database,...
0
1,679
thread by: ASPHELPME | last post Dec 23 '22 by: ASPHELPME
I am looking for a replace function or regEX that completely remove malicious code. For example: <script>alert('Hi there!');</alert> I would like to submit this to the database with a blank. I am able to remove the script tag with replace but I would like to remove the entire code. Any help would be appreciated. Thank you
0
3,726
thread by: Chandler | last post Dec 22 '22 by: Chandler
is there some principles or guide lines?
1
6,809
thread by: PaSan | last post Dec 22 '22 by: Chandler
How to optimize statements with greater than condition in MySQL.Example: SELECT PDB.PHONENUMBER, PD.TEMP_VAR2 FROM db_sub_warehouse_b pdb JOIN db_sub_warehouse pd ON pdb.subwarehouse_id = pd.subwarehouse_id JOIN pd_reportex_b prb ON prb.iccid >= rtrim( pdb.temp_var1 ) AND prb.iccid <= rtrim( pdb.temp_var2 )'
7
8,052
thread by: CD Tom | last post Dec 21 '22 by: NeoPa
this is a general example of what I am trying to do. I have a group of 50 people and have 12 tables, I need to put two people at each table but can't have the same two people together. I've tried doing a random numbering, but I still end up with the same two people at the same table. Does anyone have any idea how I can do this. Any help would...
0
4,846
thread by: Dimash Kudaiber | last post Dec 21 '22 by: Dimash Kudaiber
Nowadays, every back-end developer creates APIs, every QA engineer tests APIs, and every front-end developer uses APIs. Our business is becoming more complicated, and the number of APIs has increased enormously in recent years. While working around APIs, the API documentation becomes the developing team’s center. However, no one like to write...
0
5,325
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,872
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,863
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,032
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
7,005
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
4,003
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....

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.