All Questions
20,757,302
questions
0
votes
0answers
2 views
C++ Paho MQTT connection as a subscriber issue
I'm pretty new to C++ and was playing around with the Paho MQTT C++ client.
I've rearranged the sample async subscriber, but ran into an error of 'connection lost, cause: connect onSuccess called'. ...
0
votes
0answers
2 views
Why increasing number of threads/blocks in my Numba CUDA program not showing any improvement?
I have a large complex data structure, comparing and searching integer sequences using suffix array. So, my @jit kernel function is taking three Numpy arrays
suffix array
array containing integer ...
0
votes
0answers
2 views
Formula for angle in triangle
Given a triangle ABC with edges a, b and c and corresponding angles alpha, beta and gamma. Assume, we the values of a, b and gamma are given. Does there exist a direct theorem (like the law of cosines,...
0
votes
0answers
2 views
How do I convert (C#) Rijndael encryption to PHP codeigniter?
I'm trying to encrypt and Decrypt data on client side(C#) and server php
i don't understand encryption enough to work out what I'm doing wrong.
i need to convert C# to php thanks
Any help is ...
0
votes
0answers
2 views
Akka.Net Cluster different Actors on different machines within the same network. But the actorsystems cannot find each other
I use the following setup. On two different pc's within the same network I'd like to operate one backend product on the 1st. pc
whereas the Gui part is running on a 2nd. pc.
Pc one and Pc two are ...
0
votes
0answers
4 views
Should I use Python's multithreading for a task that is both I/O and CPU bound?
There is a lot of information on the web about Python's multi-threading and multiprocessing modules and why someone should use one over the another. The basic knowledge is that multi-threading is ...
0
votes
0answers
2 views
Hibernate query to get a list of objects, each desired object is inside a list of other objects. The list is part of another object
I am struggling from the morning with a query. I have the following JSON :
{
"id": "87ee51c7-3f15-4772-a2fb-bee379e1054d",
"description": "What color do you ...
-1
votes
0answers
6 views
Huffman coding technique giving prefix
You are given a string abacabaabracadabra, consisting of 5 different letters Also, you've got 5 codes: 0, 11, 101, 1000, 1001. Your task is to match the letters with the codes so that the length of ...
0
votes
0answers
4 views
Past the value form html file to another html file
I have a question for pasting value from html file to another html file.
Here is my index2.html code:
<script defer="defer">
//First nobody click button
...
0
votes
0answers
3 views
listview wih item click listener fetch wrong data in searchview
when i fetch data from firebase to listview with a itemclicklistener and its working fine,
But when i add a searchview to the listview, Searchview will fetch the itementer image description here but ...
0
votes
0answers
3 views
All async widgets return null
in practice I have a file with various async functions, which I then recall in other files, this is the complete code page :
import 'dart:math';
import 'dart:async';
import 'package:cron/cron.dart';
...
1
vote
0answers
6 views
Installed python package with pip but can't import said package
I installed a python3 package called urllib3 using pip with the following command:
pip install urllib3
It seemed to be successful and when I type the command:
pip list
I get the following list which ...
0
votes
0answers
3 views
How to use Realm SDK with vue3
i have use realm sdk in vue2 with this syntax
// file scr/plugins/realm.js
import Vue from 'vue';
import {App} from 'realm-web';
Vue.prototype.realmApp = new App({id: 'artes-realm-vl12'})
//file scr/...
0
votes
0answers
4 views
How to GROUP with SUM() after using a window MAX()
I am trying to calculate the price of a crew.
I am using MariaDB.
The below query is not valid, passing total into SUM() is not possible.
Essentially...
The crew price is all of its crew_items prices ...