Skip to main content
Filter by
Sorted by
Tagged with
2 votes
2 answers
167 views

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("...
Dennis 's user avatar
  • 1,325
4 votes
2 answers
170 views

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 ...
Gabriel Wolf's user avatar
3 votes
1 answer
252 views

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 ...
Tech Hustler's user avatar
0 votes
1 answer
158 views

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 ...
Sloppy's user avatar
  • 1
0 votes
3 answers
474 views

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 ...
Prathamesh Karandikar's user avatar
-1 votes
2 answers
112 views

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): ...
白鳥鵠's user avatar
0 votes
1 answer
82 views

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) ...
SFG's user avatar
  • 1
4 votes
1 answer
191 views

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 ...
M.O's user avatar
  • 521
1 vote
1 answer
113 views

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....
jpmorr's user avatar
  • 676
0 votes
1 answer
472 views

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 ...
Qeyzho's user avatar
  • 104
-1 votes
1 answer
710 views

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 ...
Bryan Reamillo's user avatar
-1 votes
1 answer
152 views

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 ...
Kamyar Safari's user avatar
1 vote
1 answer
245 views

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 ...
zezhong zhang's user avatar
0 votes
0 answers
196 views

Dears, i'm working on a LiFi image transmission project using ESP32 microcontrollers. I then use 2 microcontrollers, one as transmitter through laser and another as receiver through an LDR. So far, ...
Yasmina's user avatar
  • 11
6 votes
1 answer
3k views

Oddsportal.com provides odds data from several betting sites. I've been scraping the data for years but they have recently encoded their data and I haven't found a way to decode it. Example: https://...
Mikko Luttinen's user avatar
1 vote
1 answer
92 views

I'm trying to decode a request with XML body in Vapor. The request content is: <?xml version='1.0' encoding='UTF-8'?> <feed xmlns:yt="http://www.youtube.com/xml/schemas/2015" xmlns=&...
Boryk's user avatar
  • 88
-1 votes
1 answer
133 views

my brothers. I have an encrypted link that is similar to base64. I have tried many times to restore it to its previous state, but to no avail. Is there anyone who can do that? ==...
black- wolf's user avatar
2 votes
1 answer
91 views

Trying to decode a JSON value "edition" that can be a String or Int and found this solution How to decode JSON value that can be either string or int which gives me an error "Candidate ...
user1233894's user avatar
  • 1,788
1 vote
1 answer
168 views

I’m working on a Delphi project where I need to decode a base64 string extracted from a QR code. The QR code contains a mix of textual data, dates, numeric values. Here’s an example of the base64 ...
Issam's user avatar
  • 196
0 votes
1 answer
108 views

For the life of me, I can't figure out what's happening here... I'm capturing the output of a command line utility via subprocess.popen(), and processing the stdout line by line via process.stdout....
bikz's user avatar
  • 617
-2 votes
2 answers
136 views

I received this string as a response from a private API of a sports betting site: https://sport.synottip.cz: ...
Gebic's user avatar
  • 11
0 votes
1 answer
92 views

I have a problem when I try to write String in a file. For example, I have this code to convert an Integer value to a 2-byte String but the String codification convert Integer to invisible bytes. I ...
Oniguirii's user avatar
2 votes
2 answers
98 views

I have a messy CSV file where one of the city columns has half bytes and half utf-8 and includes double quotes with b'. Example Row: column1,"b'\xc5\x81\xc3\xb3d\xc5\xba, Poland'", column3 ...
John Sweeney's user avatar
2 votes
2 answers
410 views

How can I encode struct with github.com/mitchellh/mapstructure, like: type Struct struct { CreateDate *timestamppb.Timestamp `mapstructure:"create_date"` } to: map[string]any{ "...
MrDan4es's user avatar
-1 votes
1 answer
102 views

I am trying to send JSON array of image URLs to a second page but my redirection URL has a lot of special characters which might be slashes, spaces, etc. I have tried both 'urlencode' and '...
Bilal Khan's user avatar
-1 votes
1 answer
101 views

I am using PHP firebase JWT for implementation of JWT in my PHP app. Here is my code $payload = [ 'iss' => 'http://test.com', 'aud' => 'http://test.com', 'iat' =&...
Johnny's user avatar
  • 1,775
3 votes
1 answer
3k views

I am currently working on a project that involves crawling news articles from Google News via RSS feeds. After gathering these news articles, my next task is to convert the provided Google News ...
yassir noussi's user avatar
0 votes
1 answer
130 views

I am trying to parse https://api.lever.co/v0/postings/matchgroup?mode=xml but I am getting the error lxml.etree.XMLSyntaxError: CData section not finished. It seems like the issue is being caused by ...
Asher Ross's user avatar
0 votes
0 answers
54 views

I'm cleaning a dataset and there's a column named 'city' which the city name has encoded characters. My first try was to use the method decoded, but then I noticed the city names were in string format:...
Nathalia Bedor's user avatar
0 votes
0 answers
203 views

Im using FFmpeg.AutoGen api to decode video stream. The problem is when i have one process, it consumes about 0.5% of cpu, screenshot from task manager: but when im trying to open more such processes ...
faith0058's user avatar
1 vote
1 answer
165 views

I'm using tshark to get packet data from pcap. I want to know the website url that the tcp.stream is connected to. The only place I can see that will have that is the certificate. If there's another ...
Kirt Carson's user avatar
-1 votes
1 answer
323 views

I have a ffmpeg-autogen video decoder, im trying to use a D3D11 as HW accelerator, but the frame i get in result(with NV12 format) is broken. If im doing the same with Vulkan as accelerator, ...
faith0058's user avatar
-1 votes
1 answer
63 views

I want to decode strIngredient1, strIngredient2, strIngredient3 to an array and strMeasure1, strMeasure2, strMeasure3 to a separate array. How can we do this using decodable and Coding keys. I have an ...
j.doe's user avatar
  • 31
0 votes
3 answers
931 views

I am trying to parse "https://tre.tbe.taleo.net/tre01/ats/servlet/Rss?org=arobpers2&cws=42" but I am getting the error "UnicodeEncodeError: 'utf-8' codec can't encode character '\...
Asher Ross's user avatar
0 votes
0 answers
78 views

We need to process text at some files retrieved from a remote place. They are in UTF-8, but the main problem is that the files can have text in many languages, and they all have a single line in this ...
Edgar Balderas's user avatar
0 votes
1 answer
218 views

I use code that downloads and displays json data from a number of different public json sites such as Apple Music and jsonplaceholder. I have some test data in a bin at jsonbin.io. When I use the ...
Keith's user avatar
  • 41
-1 votes
1 answer
79 views

can i decode websocket message in developer tools with vanilla js?? this is the code for example : (function(send) { WebSocket.prototype.send = function(data) { if (data instanceof ...
Qira Quri's user avatar
2 votes
1 answer
308 views

I am using Android MediaCodec to decode an audio file formated in AAC.But the alway output a 0 bytes decodeFile. I have debuged my code, then i found outputBuffer?.remaining() ?: 0 always returns 0. ...
cao's user avatar
  • 21
1 vote
1 answer
79 views

Does anyone know how to decode the following data? b'\x00\x00\x00\xf9Y^^,d,\x00\x00\x00' b'\x00\x00\x00Ydd,\x89,\x00\x00\x00' b'\x00\x00\x00\xf9Y^\x92,^,\x00\x00\x00' b'\x00\x00\x00\xf9Ydd,\x89,\x00\...
Family is Famly's user avatar
-2 votes
1 answer
161 views

AJ1Nol0eCbzssaiGzWilvda7b4x8ivW1ABPyKN4L/6CHb/YWqFS39S13Y8iwpfxC9wxIirZW1Ap1IOua3j1cdQsWummNeFGdx5UOfpAf/NfNw66IjOP3JSV/tcWfG6js9hx6UzyiLMt+...
JRG47's user avatar
  • 3
0 votes
1 answer
69 views

I have an applescriptscript to extract a section of text from the the raw source of an email in OSX Mail. That works fine. However, the text in the raw source email is encoded and is returned by the ...
user24006022's user avatar
0 votes
2 answers
111 views

I am trying to make part of this query conditional, but I am really struggling to do so. Below I've typed out some pseudo-code that is representative of my query. Main Query SELECT A.T_NBR ,A.I_NBR ,A....
Crimp's user avatar
  • 448
0 votes
1 answer
49 views

In Python 3, I am using PySerial to read two bytes and I would like to get the decimal representation of the 11 most significant bits in those two bytes. This is a print of two bytes that I get from ...
Omnistic's user avatar
0 votes
0 answers
31 views

I can encode a decimal value in abinitio but I can not decode the hashed value. I have some files that keep only hashed values, I want to decode them and later on join them based on decoded values. ...
charmander's user avatar
3 votes
2 answers
197 views

import Foundation let json = """ { "property": null } """.data(using: .utf8)! struct Program<T: Decodable>: Decodable { let property: T ...
Roman's user avatar
  • 1,520
-1 votes
1 answer
2k views

I have a text file with a base64 encoded value, and I tried to decode that text file and save it into a PDF format. Below is my code File inputfile = new File('/Users/Downloads/DownloadedPDF.txt') ...
Prabu's user avatar
  • 3,778
3 votes
0 answers
217 views

I am trying to make a pipeline to get h264 encoded stream using gstreamer with hardware encoding. Below is that working pipeline: "ahcsrc ! capsfilter caps=video/x-raw,width=1280,height=720,...
Saidul Islam Ziku's user avatar
0 votes
1 answer
126 views

I am trying to get data from a power network meter (https://www.lumel.com.pl/resources/Pliki%20do%20pobrania/ND25/ND25_service_manual_Interface.pdf), but the data I get isn't "understandable"...
Péter's user avatar
  • 3
0 votes
0 answers
42 views

first time poster and python novice here. I'm writing a programme that finds images encoded in base64 and decodes them. At the moment, I'm able to find the required data in base64 encoded format from ...
Richard's user avatar
-1 votes
1 answer
115 views

I'm using python and pyserial to communicate with an external hardware. Right now, I can send data and receive data from the hardware. My problem is that when I read data as below , I can already read ...
arost2022's user avatar

1
2 3 4 5
87