5,690 questions
3
votes
1
answer
127
views
How to convert binary to utf-8 and vice-versa in R?
I want to code a shinyApp which can convert a string from binary (0 and 1, not hex) to utf-8 and vice-versa.
Example :
encode("Aé") # return "010000011100001110101001"
decode("...
0
votes
0
answers
18
views
convert default vsc theme to vs
Today I tried to convert some VSC themes for VS with theme-converter-for-vs and everything worked ok, but when I tried to convert one of the default ( built in ) themes, it gives exception:
System....
0
votes
2
answers
161
views
Extracting The SGF Data From This Webpage
I would like to scrape the problems from these Go (board game) books, and convert them into SGFs, if they aren't in that format already. For now, I would be satisfied with only taking the problems ...
-1
votes
1
answer
80
views
How do I write a python script that converts JSON into GEOJSON [closed]
I need to convert JSON files into GEOJSON files for a GIS project I am working on. I don't quite understand how to convert JSON into GEOJSON.
My first attempt was to simply use Claude/Copilot to ...
0
votes
0
answers
57
views
EvoPdf.WordToPdf.NetCore: .doc to PDF conversion works in .NET 6.0, but fails in .NET 8.0
I'm experiencing issues converting .doc files to PDF using EvoPdf.WordToPdf.NetCore (11.0.0) in a .NET 8.0 console application. The conversion works successfully for .docx files, but results in an ...
0
votes
1
answer
46
views
Serialize Class to XML with ReferenceLoopHandling and Custom Converter
I am converting a class to JSON and XML. The Json conversion for the class cities is done and is shown below. I am trying to do the same with an XML output, but see that these options for field custom ...
-2
votes
1
answer
96
views
Why did the output of python 2 to 3 converter show "invalid syntax"? How can I deal with the error "name 'Partitions' is not defined"? [closed]
I tried to use https://python2to3.com/ to convert python 2 code from the following link to python 3.
https://people.math.sc.edu/czabarka/programfiles/binary.html
I wonder why did the output of the ...
-1
votes
2
answers
254
views
FFmpeg, how to output AVIF image series instead of animated AVIF? [closed]
I want to convert a series of huge PNGs into AVIF.
ffmpeg -i 'img (%d).png' -c:v libsvtav1 -s 1280x720 .\lidl\img%d.avif
FFmpeg always outputs an animated AVIF. How to force it to output AVIF image ...
0
votes
0
answers
58
views
Convert OffsetDateTime to com.google.cloud.Timestamp for GCP Spanner TIMESTAMP
I am using Java 21 Spring Boot 3.4.2 and SpannerTemplate. I need to convert a field OffsetDateTime to the com.google.cloud.Timestamp for the TIMESTAMP column in the database.
I tried implementing ...
0
votes
0
answers
162
views
How to make a programm for Yamaha ".ppf" (Expansion Pack Files) export to ".sf2"
I want to make a python program that will find and separate the Voice kit and drum kits in the “.ppf” (Expansion Pack Files) package file of the Yamaha Keyboard musical instrument and export it to “....
-1
votes
1
answer
174
views
Package to convert image to webp in DART
I want to find a dart package that can convert an image format to webp. Since i want to run it
on Isolate i can only use dart package.
I have tried packages like FlutterImageCompress which can't run ...
0
votes
1
answer
225
views
Convert file csv with UTF-8 format to ANSI in C#
I have .CSV files with UTF-8 encoding, and I want to convert these files to ANSI format, but my code doesn't work!
static void Main()
{
Encoding.RegisterProvider(CodePagesEncodingProvider.Instance)...
0
votes
0
answers
31
views
Optimizing PIDA Tuning to Reduce Peak Overshoot in DC-DC Buck Converter
Issue with Peak Overshoot in DC-DC Buck-Boost Converter for EVs
I am currently working on a DC-DC Buck-Boost converter for electric vehicles (EVs). The controller I am using is a PIDA (Proportional-...
0
votes
0
answers
23
views
ComboBox FontWeight binding in a CellTemplate of a DataGrid from the Main VM and not DG ItemSource
I have a DataGrid that is bound to a ObservableCollection of named Views (ViewItem). I have a CellTemplate column that I have a ComboBox inside a DockPanel that I am binding to an ObservableCollection ...
0
votes
0
answers
49
views
Hokuyo and socket on python
I’m trying to print data for 0 to 1080 steps in real time using socket. Unfortunately, I can’t use ROS2 because it’s too much of a headache to set up on Windows and Mac M2. I’m using Ethernet to ...