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

I'm trying to add functionality to a serial port web app which can represent all received bytes from 0x00 to 0xFF (including typically unprintable characters, e.g. ASCII control codes) as a single ...
gbmhunter's user avatar
  • 1,867
1 vote
1 answer
2k views

Given a character (u8) in zig, how can I make sure it is in ASCII uppercase? Does the standard library provide helper functions for this?
Simon Berens's user avatar
0 votes
1 answer
691 views

I was trying to setup my zsh to make different binding for enter and ctrl + enter, and faced the following problem. Following instructions from here I executed these commands in the terminal: ...
zeionara's user avatar
1 vote
2 answers
145 views

I'm working on a Python script that reads a text file, splits it into a list of strings, and calculates the sum of ASCII values for each string. I've stored this data in a dictionary where the strings ...
mattdub's user avatar
  • 43
0 votes
1 answer
69 views

I want to converting a list to string for an assignment. I can convert 1 row, however my teacher wants us to convert 3 separate rows to make a grid for the game of life. I've tried a bunch of ...
TRNF's user avatar
  • 9
0 votes
0 answers
130 views

char choice, a = 'a', b = 'b', c = 'c', d = 'd', e = 'e', f = 'f', g = 'g', h = 'h', i = 'i'; if (a+b+c == 264 || d+e+f == 264 || g+h+i == 264 || a+d+g == 264 || b+e+h == 264 || c+f+i == 264 || a+e+i ...
Xampel's user avatar
  • 31
0 votes
1 answer
199 views

I am creating a pixel art of a 64x64 Pixel image on my terminal using Python. The Problem is that it is ASCII and because of that the image always comes out as a rectangle and not as a square as you ...
vince's user avatar
  • 1,681
0 votes
2 answers
478 views

I am facing a problem while building an integration between ECR (electronic cash register) and an android POS. I'm working on the android POS and i want to calculate the message size and add it in &...
Pointyhat's user avatar
  • 527
0 votes
1 answer
132 views

I'm trying to extract the 2021 Hate Crime Master File from the Crime Data Explorer into R. https://cde.ucr.cjis.gov/LATEST/webapp/#/pages/downloads (Scroll to Master File, select "Hate Crime"...
Kayla Ehman's user avatar
0 votes
0 answers
83 views

So I'm working on a project called PteroController, and I'm trying to find a way to display a console inside a form, so I can show the console output I get from a web socket, which can be color coded ...
user avatar
1 vote
0 answers
25 views

I have a base64 string in python that is not in ASCII format, so I want base64.b64decode(string) to output UTF-8 rather then ASCII. Sample base64 string: mBkVO/Me3Awiy94yFCagxA== Sample output: \x85\...
inyourface3445's user avatar
2 votes
1 answer
568 views

I just added support for recipients with IDN in an application that I'm building, but I cannot properly test this feature without having a domain with non-ASCII characters. Is there any free service ...
Thomas Scalise's user avatar
1 vote
1 answer
101 views

I'm following the Keras text classification tutorial, the entire tutorial worked flawlessly. Next, I wanted to try the .save and .load function, that's where a problem occured. The code line : ...
Guigui's user avatar
  • 31
1 vote
0 answers
328 views

I am working on an ASCII 3D game engine and I don't know how to color a character using this current setup. The goal is to make each character a different color to add to the shading. I am using ...
RED91's user avatar
  • 35
5 votes
1 answer
29k views

I have read many articles explaining what CHAR(10) and CHAR(13) actually are. I have no problem with CHAR(10), it is simply a line feed or a new line. I do not understand how CHAR(13) behaves in SQL ...
Lokesh Pande's user avatar
0 votes
1 answer
153 views

I have two buttons attached to accelerometers and Adafruit Bluefruit nRF52 Feather boards. I have written a program in the Arduino IDE to basically read acceleration during a button press, map the ...
grace.cutler's user avatar
0 votes
0 answers
190 views

I am using the OBITools3 to try to analyze DNA metabarcoding data. I have had the same error come up multiple times when trying to run obi commands, such as obi taxonomy or obi alignpairedend. My code ...
Tiff-D's user avatar
  • 65
1 vote
1 answer
6k views

I want to print the following ASCII characters using the C programming language on Windows OS: #include <stdio.h> int main() { for(unsigned int ch=128 ; ch < 256 ; ch++) { ...
user366312's user avatar
  • 17.5k
1 vote
1 answer
143 views

I am trying to print numbers using the putchar() function. Here's my code below: int main(void) { int x = 0; for (; x <= 9; x++) { putchar(x + '0'); } } _putchar('\n'...
SJP's user avatar
  • 31
0 votes
0 answers
65 views

I'm following along here. I notice (this is not complete, just for demonstration) that at this point: #include <termios.h> raw.c_iflag &= ~(ICRNL | IXON); raw.c_oflag &= ~(OPOST); ...
user129393192's user avatar
0 votes
1 answer
93 views

I have an R package in which I have a list of university names that I want to match to the user input. The list of names contains special characters and this is generating a warning in R CMD check: ...
rempsyc's user avatar
  • 1,038
-1 votes
1 answer
87 views

I want to implement this block code in PHP for bank payment. Can anyone help me? Thank you. ASCIIEncoding ByteConverter = new ASCIIEncoding(); string dataString = "Data to Sign"; ‬ byte[] ...
masood jooibar's user avatar
1 vote
1 answer
294 views

I’m trying to display some ASCII art to show inside the Elements tab—NOT console.log—when someone inspects a webage. I’m using React, so I don’t have access to the final build, which happens on the ...
Sujan Sundareswaran's user avatar
3 votes
3 answers
330 views

I'm still playing around with C to understand how it works. I'm having trouble printing characters from the extended ASCII table (128-255). If I do printf("Â") (for example), it prints  (...
someonearth's user avatar
0 votes
1 answer
363 views

I need to calculate the CheckSum8Xor (like on this website: https://www.scadacore.com/tools/programming-calculators/online-checksum-calculator/) but on twinCAT3. Working with strings like "$...
Ivan Félix's user avatar