4,350 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
2
votes
2
answers
130
views
imap_utf8 not always converting utf-8 text
I have the following simple script, running under PHP 8.3.6
<?php
$original = '"=?utf-8?Q?part1=40part2.com?=" <[email protected]>' ;
$converted = imap_utf8($original) ;
printf("...
4
votes
2
answers
150
views
Is sample accurate decoding from an arbitrary FLAC seekpoint possible?
Is FLAC decoded PCM guaranteed to start at the sample of an arbitrary seekpoint, if we fetch via HTTP range request from the seekpoints noted offset (on a fixed frame size e.g. 1024)?
I encounter ...
3
votes
1
answer
234
views
How to decode and parse JEOL microscope metadata embedded in TIFF tags (binary format)?
I'm working with microscope images captured using a JEOL system, and I'm trying to decode metadata stored in the TIFF tags. The data appears to be in a binary format and when extracted (using tifffile ...
0
votes
1
answer
122
views
How do I decode Jupiter V6 swap instruction data?
So I am trying to decode Jupiter V6 instruction data just like websites like solscan.io do, to see the input token amount, output token amount, mints and such. I've tried to reverse engineer it, every ...
0
votes
3
answers
328
views
How to to parse html data table with characters and x-y coordinates and render them correctly
Here's the problem statement: use a link to a google doc and print the symbols per the x and y coordinates provided in the document. There are two google doc links provided in the assesment:
This is ...
-1
votes
2
answers
104
views
Replacing literal '\uxxxx' in string with corresponding unicode character
I don't want to convert things like \n \r so I can't use unicode_escape directly.
But my code is very slow now, is there any better way?
def only_transform_backslash_u(content):
...
0
votes
1
answer
79
views
Azure functions decoding utf8 strings in Python
I'm running this code on my Python code with version 3.10.6:
def downloadRevistaXML():
url= f"https://revistas.inpi.gov.br/txt/RM2823.zip"
try:
response = requests.get(url)
...
4
votes
1
answer
158
views
Decode output from GET request in R
I'm trying to pull some data using httr::GET but the problem I am facing now is that the response seems to be encoded and I am not sure how I can solve this.
Here is the url of historical data on ...
1
vote
1
answer
99
views
python base64 string - how to decode first 8 bytes
I'm having some problems decoding what should be simple data.
I have a base64 string that represents a np.int64 followed by an array of np.float64. The size of the array is defined by the first np....
0
votes
1
answer
428
views
Data decoding in Solana transaction
I am trying to create a Python code to analyze Solana transactions. Currently I am receiving transactions data in Json formats. In a certain part I think I need to decode a phrase. For example, a part ...
-1
votes
1
answer
630
views
jwt-decode : does not provide an export named 'default'
Context
I'm trying to implement a JWT for authentication in my project. Before the implementation, pages are loading and everything's fine not until I use jwt decode. Pages across the development ...
-1
votes
1
answer
143
views
Custom encryption approach in PHP (like JWT) – is this secure enough [closed]
I'm trying to build a custom token system in PHP that works similarly to JWT. The idea is to encode and encrypt some user data, then send it to the client as a token. Here's the simplified example of ...
0
votes
0
answers
44
views
Python: Convert Protobuf Message to Dictionary
as I haven't found any working example, I raise it here:
I need to capture some response data from a website in python3. To verify it , I can capture the results using a windows tool called "Http ...
0
votes
0
answers
67
views
How to decode protobuf data with a Fabric PySpark notebook using the from_protobuf() method?
I am trying to stream event data from an Azure Event Hub using Spark Structured Streaming from within a Fabric Notebook to a lakehouse. The event data is protobuf and base64 encoded. I wanted to use ...
1
vote
1
answer
212
views
How to avoid `--enable-small` compiling option in FFmpeg causing hevc decoder’s profiles to be null and throwing an error?
When compiling FFmpeg 7.1 with the --enable-small option, I encountered an issue where the profiles field in the ff_hevc_decoder structure is set to null, causing the following error:
Unknown profile ...