Questions tagged [iota]

The iota function is used by several programming languages or their libraries to initialize a sequence with uniformly increasing values.

Definition:

The iota function is used by several programming languages or their libraries to initialize a sequence with uniformly increasing values.

The APL programming language uses the iota symbol () to generate sequences of successive integers.

The C++ language recently added iota to the standard library in the <numeric> header. The iota template function has existed in several unofficial C++ template libraries for years.

Important Links:

65 questions
0
votes
0 answers

When I install the IRI (IOTA reference implementation), I encouter some problems

I have installed Maven 3.8.3 and Java version 17 in my 'Windows' computer, but when I want to install the IRI (IOTA reference implementation) (https://github.com/iotaledger/iri), I try git clone https://github.com/iotaledger/iri cd iri mvn clean…
Mona
  • 1
  • 1
0
votes
1 answer

How to import functions or variables from node.js file in AngularJs or Angular?

Hi I am working with IOTA distributed ledger. I have iota client library for node.js. I want to read data from node.js file where I access IOTA distributed ledgers and pass it to Html where user can see. My client.js file: const Iota =…
0
votes
0 answers

Android Studio Thread not waiting for response from distributed network (iota tangle)

I'm using the ReadData class from https://github.com/iota-community/java-iota-workshop/blob/master/src/main/java/com/iota/ReadData.java to retrieve a message from the Iota Tangle (essentially a distributed Network) via a hash value (the…
Solaire
  • 15
  • 3
0
votes
1 answer

Is there any way to increase single group of const by a fixed number rather than 1?

I have a single group of constant: const ( a = 100 b = 200 c = 300 ) I was wondering if there is any way to use iota keyword instead of assigning each value manually? As described in the official reference, it is possible to use bitwise…
Amid
  • 442
  • 2
  • 8
  • 15
0
votes
2 answers

Iterator or std::iota with regular C++ Array?

Is there a way to achieve the same effect as this, std::list l(10); std::iota(l.begin(), l.end(), -4); With a regular int a[]? Or, is the following the only way around: for (iterator itr = begin; itr != end; ++itr) /* ... visit *itr here…
John Smith
  • 465
  • 4
  • 15
  • 38
0
votes
0 answers

Error: error getting chaincode deployed: filed to calculate dependencies: incomplete package: google.golang.org/protobuf/encoding/prototext

i have been trying to use iota connector with hyperledger fabric but when i try to build chaincode i get this error. Error: error getting chaincode deployment spec for enter code herefabric-demo-app: error getting chaincode package bytes: failed to…
0
votes
0 answers

Odd placeholder or pre-statement on string declaration

This is part of a code example I came across regarding the IOTA project. Python is new to me so I am trying to walk through each line. I got to this line and couldn't figure out why the "u" exists between the variable declaration and the string. I…
0
votes
1 answer

How extract URL from web page

I need a way to extract url from the list at this web page https://iota-nodes.net/ using Python. I tried BeautifulSoup but without success. My code is: from bs4 import BeautifulSoup, SoupStrainer import requests url =…
Brodario
  • 23
  • 5
0
votes
1 answer

How to start with IOTA application

i want to develop an IOTA application, but not a messaging application or coin based system. I want an simple example of how to store data in IOTA. For example i want to build an SCM or even an simple login/registration app. Can anyone guide me? Any…
Pritam Parua
  • 672
  • 2
  • 8
  • 27
0
votes
1 answer

How iota prevents data tampering /data immutability?

How does iota (tangle) prevent data tampering issues since it relies on directed acyclic graph and do not follow any linear pattern . In blockchain we have blockhash which is appended to next block and so on which makes it hard for an attacker to…
mohammad obaid
  • 415
  • 4
  • 16
0
votes
0 answers

Arduino stucks and serial.println outputs are massed up

I am trying to create an iota transaction bundle in C for Arduino devices and created therefore a github repository: https://github.com/Xplosio2/Iota-transaction-in-C The code is compiling successfully, however the Arduino is making some encrypted…
Xplosio
  • 13
  • 2
  • 7
0
votes
2 answers

Initialize a Container of unique_ptr with iota

To learn about the intricacies of C++11 I am playing aroung with unique_ptr a bit. I wonder, is there any way to use iota to initialize an Container of unique_ptr? I started with the unique-ptr-less solution which works fine: std::vector
towi
  • 21,587
  • 28
  • 106
  • 187
0
votes
2 answers

SQL statement to generate a column whose value is the record index

I have some SQL table, say with a single column c1: c1 10 3 1 10 5 Now, I'd like to issue an SQL command (not some operation of my DBMS, which I have intentionally not mentioned) which causes my table to…
einpoklum
  • 118,144
  • 57
  • 340
  • 684
-1
votes
2 answers

IOTA MAM messaging with node.js server

-I'm using (https://github.com/xdk2mam/xdk2mam/tree/Workbench-3.6/http-sdcard). -I'm not versed on JS so I'm not understanding the problem here. -I'm trying to send a string of sensor data to the tangle and listen to it using a node.js server. -I…
-1
votes
1 answer

How client connects to the MQTT Broker with the clean-session flags set as false

Clean Session supports persistence of messages. By default the value of Clean Session is true. As we can set the Qos and retain flag value with the request payload as below: docker run -it --rm --name mqtt-publisher --network \ fiware_default…
Monika
  • 31
  • 6