Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+3
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
6
Posts with Upvotes
6
Upvoting Members
4
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
~26.5K People Reached
About Me

Longlife student

Interests
Software development
Favorite Tags
Member Avatar for bprosic

Hi everyone, here is code in React. I dont know how to re-render this array prototype map in React? import React, { useState, useEffect } from 'react'; const Help = () => { const initialObject = [ { fileName: 'Horizon.txt', fileSize: 450, }, { fileName: 'Something.png', fileSize: 2720, }, ], …

Member Avatar for bprosic
1
87
Member Avatar for bprosic

Hi all, I'm having difficulties to pass Props (Label text) to Combobox component. I usually use same forms for adding and editing Data. When it comes to editing, If I use lot of arrays to iterate first and then pass right information, I get stucked for hours like here. I'm …

Member Avatar for Dakota_2
1
56
Member Avatar for bprosic

Hi, I have a form in React with few select/input components. Form doesnt get populated when user enters value in them. Thats the case when I want for input "Username" -> when user starts writing here some username, then React - in Reducer -> filters array of whole users in …

0
41
Member Avatar for Dani

I'm bored! What are some activities to do from home while continuing to shelter in place?

Member Avatar for Reverend Jim
0
149
Member Avatar for bprosic

Hi, how can I use regex or string replace to add missing "p" tags to sentences without tags. I tried matching* and splitting first the whole string matching "h" and "pre" tags but dont know how to merge it. `*let regexRule = /<pre>(.|\n|\r\n)[\s\S]*?<\/pre>/g;` Example - input let someVariable = "Basket …

Member Avatar for Diafol_2
1
1K
Member Avatar for bprosic

This code works but I don't know how to dismantle this "sausage" code. async function showAllFilters(qry, arrayParams) { // params is [] let result; try { result = await db.query(qry, arrayParams); } catch (error) { console.log("showAllFilters error: "); console.error(error); } return result; } router.get('/', function (req, res) { // localhost:5000/api/filter …

Member Avatar for maxhowells7
0
299
Member Avatar for bprosic

I can't accomplish async and await in order to populate array and then show the end result. When I execute the code, firstly there is an empty array. When I go "refresh", then data is populated. Obviously async. But I don't know how to write the code The similar problem …

Member Avatar for sagar_14
0
4K
Member Avatar for bprosic

Hi, I want to replace ticks in text with other text. This method usually works, but when adding three dots, I get php warning ltrim(): Invalid '..'-range, no character to the right of '..' or invalid range needs to be incrementing. I don't know where to look for error, except …

Member Avatar for Dani
0
3K
Member Avatar for bprosic

Hi, I want to design DB for posts with multiple subcategories and categories. Example: Category has information: C#, PHP, JS, Python. Subcategory can contain: Logger, String, While Loop. A post table contain posts about "while loop" in PHP language and posts about "while" loop in C#. So, this is a …

Member Avatar for AndrisP
0
661
Member Avatar for bprosic

I have to iterate data through some DIV's. I don't know how to share and debug the code with others, so I decided to put the code in C# in a console application if you don't mind. Problem is that I cannot close section div in this iteration. If you …

Member Avatar for tinstaafl
0
469
Member Avatar for bprosic

Hello, I have a problem with getting ip camera pictures in a browser from internet. IP camera is on address 192.168.4.44, port 5566 My computer is on 192.168.4.10. My router is on 192.168.4.1 and is registered on no-ip service. Also, I have port forwarded 5566 in my router. Xampp is …

Member Avatar for rubberman
0
459
Member Avatar for bprosic

Hello, I have got a new printer that has Svelta emulation. Beside Svelta emulation, this printer supports ESC emulation. I have sent raw data from a web site (with the help of jzebra applet) using ESC emulation, but when I try Svelta emulation, printer doesn't react. First question is how …

Member Avatar for bprosic
0
694
Member Avatar for bprosic

Hello, I have an array in c# identical values in it. But, sometimes, it can happen that one value gets mixed and then array should be considered as invalid. Let say, I have an valid array of values: [0]=N,[1]=N,[2]=N; And this is an example of invalid array: [0]=N,[1]=K,[2]=N; To determine …

Member Avatar for tinstaafl
0
5K
Member Avatar for bprosic

Hello, I created four scripts written in php. Scripts are used to import/export data between two databases (one database is on local machine and second one is on server as web shop). Scripts are not basic import/export, because I had a lot of details on what to do with the …

Member Avatar for bprosic
0
348
Member Avatar for bprosic

Hi, i have two tables in mysql. Tbl1 - lets call it {$tbl_p} has product_id and tax_id fields. Tbl2 - lets call it {$tbl_c} has product_id and tax_id_w fields. Tbl1 needs to be updated (only tax_id field) from Tbl2 based on values of tax_id_w field. But, tax_id_w field in tbl2 …

0
110
Member Avatar for bprosic

Hello, I have an array of data. And I want to know how can I detect duplicate and/or wrong data in array. This is my array of data: 135N258S 135N269B 136N112S 136N123D 135N269B 136K225D 136N124S 136N269B This data is OK. 135N258S 135N269B 136N112S 136N123D 136N124S 136N269B Wrong data is wrong …

Member Avatar for ddanbe
0
197
Member Avatar for bprosic

hello, I have four arrays. Three arrays are in one group and fourth is in the second group. And I need to use array_diff somehow between theese two groups. First group has one array which contains unique numbers (like barcode number), second array with a product name and third array …

Member Avatar for bprosic
0
351
Member Avatar for bprosic

Hi, I have a simple program with datagrid view bounded to MsAccess DB in Visual Basic 2010. When user changes the width of datagridview columns and restarts the program, width of the columns have been reseted to original state. Now, what code can I use and how can I save …

Member Avatar for bprosic
0
540
Member Avatar for jean122

helle everyone, I have a big problem. I was reinstalling windows xp professional on my sisters pc and it rebooted and it give me a BSOD Unmountable boot volume. I have tried everything. I tested the HDD and its in perfect condition. no bad sectors or problems. I get this …

Member Avatar for jean122
0
296
Member Avatar for Adam-Up

Hi I've tried putting a fresh install of xp onto a compaq presario C701EA laptop that originally came with vista pre-installed. Just as it asks me to choose settings to set up I have no keyboard or mouse on the laptop and I obviously can't go any further than that …

Member Avatar for reedone816
0
104
Member Avatar for bprosic

Please, I need help. I have an aplication in Visual Basic 2010 and database created in Access 2003. It's very simple database, it has two tables named 'doctors' and 'patients'. I want to itegrate databse into VB. I used Wizzard to integrate. Now I have Binding Navigator (with buttons Next, …

Member Avatar for Icone
0
312
Member Avatar for bprosic

I have 2 datagridview (later- dgView), textboxes and some buttons. Everything is bounded and connected with MS Access db. The tables in db are related!! 1st dgView contains Name and Surname table. 2nd dgView contains Details. Now, how can I disable a delete button when datagrid is empty. I'm using …

Member Avatar for Icone
0
3K
Member Avatar for p318_m

im using a broadband stick and it indicates only 2G beside its network signal.i cant remember what it indicates before but it seems that it affects my broadband speed.i dont know if it does because im only using a 3.2mbps broadband stick.it is slow on opening sites even facebook or …

Member Avatar for bprosic
0
111
Member Avatar for bprosic

Hi, I have datetimepicker and next to datetimepicker is textbox. When I choose date from datetimepicker, selected date goes into textbox. Works fine. -- txt1.Text = Format(DateTimePicker1.Value, "dd.MM.yyyy") Problem is, when selected date from datetimepicker is shown in txt1, that date doesnt want to be saved into database. Database is …

Member Avatar for bprosic
0
2K
Member Avatar for bprosic

Here is a picture of a form. http://postimage.org/image/a813nony5/ Please help: I have a form with: - 4 textboxes (textbox 11,21,311 & 41) - 4 buttons (add, delete, save, refresh) - 1 DataGridView (MS Access database connected) - 1 filter to filter the data through DatagridView Here is the story: When …

Member Avatar for bprosic
0
2K