Categories
Ask

[ Government ] Open Question : Who has more protection, Queen or Prime Minister?

Categories
Ask Friends

[ Friends ] Open Question : How to be a good friend ?

Categories
Ask

[ Singles & Dating ] Open Question : Am I wasting my time with him?

I just flew halfway across the globe to see someone I met a few months back here in the US. We had a wonderful time and agreed that we d meet up again soon. However, I just saw that he updated his Tinder profile. We re not exclusive but somehow my heart sunk when I […]

Categories
Development

Filtering complex list elements using JavaStreams – Code Optimization

I have Complex List of elements. Each inner list contains 3 fields: Code, Name, Version. I need to get final list of List which has max version numbers for each code. Below code snippet working as expected but looking for effective solution. List<List<Object>> lists = new ArrayList<>(); List<List<Object>> finalList = new ArrayList<>(); // each list […]

Categories
Development

React w Gatsby: Why is that my font file is downloaded twice sometimes

I am developing a website using Gatsby with React. And I found that every time I refresh the page, there is 1.6 MB / 1.6 MB resources loaded. I am kind of new to web development so I don’t really know whether this is a lot to download or it is just moderate amount. However […]

Categories
Development Google

Google reCaptcha not always working, returning no succes

I tested it myself with some other friends on my site and my reCaptcha was working, but one of my friends couldn’t get a succes response. He needs to get to incognito browser every time to make it work. If he clicks on continue, the page just refreshes and adds something like this to the […]

Categories
C++ Development

Sending some lines from server in python to QT(C++) client

Ia have serwer in Python on my Raspberry Pi and Android application in QT (C++). I wan to send some data (lines) from my serwer (from csv file) to client application and save it in QListWidget. Client can connect by Bluetooth or TCP (I created 2 servers on RPi). I tried to send line by […]

Categories
CSV Development

Converted the CSV into HTML file but how to highlight the Columns with colors for success and failure in email body

I have the following bash script to convert csv file into html but i want to highlight the success box in green color and Failure in red color while sending email check1.csv heading,heading1 test1,success test2,success test3,Failure test4,sucess bash script tmp=/home/test/check1.html awk -F’,’ ‘BEGIN {print “<html><body><table width=500 border=2 cellspacing=2 cellpadding=2 border-collapse=collapse><font Size=”2″ face=\”gisha\”><col width=”150″>”} NR == […]

Categories
Development

Scrollviewer is scrolling down on its own

I’ve got a problem with a ListBox (plain WPF, System.Windows.Controls.ListBox) with items that contain a ListBox (also plain WPF) themselves. In my production app (which uses the DevExpress-controls), when the outer ListBox is created, it scrolls down immediately (yet visibly) down so that the first item in the last inner ListBox is visible. I’ve tried […]

Categories
Ask Polls & Surveys

[ Polls & Surveys ] Open Question : Does anyone else get pissed off because, people think that marijuana is too strong for them?

Or even get offended when someone asks you, is the reason you don’t smoke it is because it’s too strong ? Cause I get extremely pissed off, because I like to smoke to enjoy nature, and the outdoors. And I get angry sometimes.