Skip to main content
Advice
0 votes
1 replies
48 views

this is the first time I encounter a swap issue, I'm lost about how Linux is supposed to behave. I have a RHEL virtual machine running a batch processing RAM intensive application (100+GB RAM, 1GB ...
849856487764's user avatar
5 votes
4 answers
245 views

I have a long string. In the string, I have two non-overlapping parts. They can have a gap between them. The lengths can be different. For example a string: This is a "foo", that is a "...
Karel Bílek's user avatar
  • 38.1k
1 vote
1 answer
228 views

While checking &other != this is generally not a good idea in move/copy assignment and the copy-and-swap idiom should be preferred, is it allowed for a swap to perform such a check? Copy-and-swap ...
Dominik Kaszewski's user avatar
5 votes
2 answers
180 views

Below is the most common implementation of std::swap: template<typename T> void std::swap(T& a, T& b) { auto tmp = std::move(a); a = std::move(b); b = std::move(...
xmllmx's user avatar
  • 44.6k
4 votes
1 answer
81 views

We know that a swap object consists of a shared register and supports a swap operation between the shared register and any local register, which atomically exchanges the values of the two registers. A ...
Algo's user avatar
  • 61
0 votes
0 answers
67 views

Can it be an error in configuration or swap routing(may be because of partial fill?) that I've got too low output from 1inch aggregation router v6? Example of transaction: https://arbiscan.io/tx/...
RomanKovalev's user avatar
0 votes
1 answer
116 views

I am developing a payment gateway on Solana and need to swap tokens programmatically using Node.js. Currently, I am testing SOL to USDC swaps with the Jupiter API. Everything works until generating ...
Hamza Zulqarnain's user avatar
1 vote
2 answers
72 views

The following data frame is grouped by the id variable. For each id on variables X, Y, and Z, I wish to replace "no" with "yes" on the first row if and only if the specific id has &...
T Richard's user avatar
  • 673
0 votes
0 answers
61 views

Suppose I'm writing a class intended not just for my private use, but for others to use as well (e.g. it's exposed in a library I'm writing or modifying). Let's suppose also that it's not a singleton. ...
einpoklum's user avatar
  • 137k
1 vote
0 answers
57 views

Context I have a file of binary logs and each log is 7 bytes. The first 4 bytes is a timestamp (writeUInt32BE), the following 1 byte is an indicator (num 1 or 2 using writeUInt8) and the last 2 bytes ...
user423896's user avatar
4 votes
4 answers
265 views

Description Guru gave a task to his students.   He gave a sentence,  and the students have to swap the first and the last words and reverse all the characters between those words.   Help the students ...
MARTIN 's user avatar
0 votes
0 answers
289 views

I’m working with a public GitHub repo (you can find it here: https://github.com/AL-THE-BOT-FATHER/raydium_py) that interacts with the Raydium decentralized exchange using Python. I’m trying to fetch ...
Christopherus's user avatar
0 votes
0 answers
116 views

I am using 1inch swap aggregator smart contract to swap some amount of a token to another one. As 1inch described here in AggregationRouterV6 contract we can use the function swap as follows: function ...
Alireza Zojaji's user avatar
0 votes
0 answers
63 views

I am trying to understand the intuition behind why a convexity adjustment is required when calculating the YoY rate on inflation swaps. (Assume no lags for simplicity). The current inflation index is ...
PyNance's user avatar
-4 votes
1 answer
65 views

this is my code for swapping 2 lines in DosBox assembly. I can not find out why is it printing the same thing from input.txt to out.txt. I think the problem is with line numbers (and user input). ...
dodanija's user avatar

15 30 50 per page
1
2 3 4 5
170