Questions tagged [human-readable]

Human-readable is a representation of data or information that can be naturally read by humans.

Human-readable is a representation of data or information that can be naturally read by humans.

In computing, human-readable not only refers to information or data, and how this is presented, but also the medium which to produces or processes the data or information, e.g. a programming language or a database front-end application.

140 questions
0
votes
2 answers

socket_recv I want readable data not byte count

Hello All hopefully you guys don't shoot me with virtual guns if already asked but, here goes. I am socket_send to an ip/port i see the server receives and responds with data back. My code receives xxxx bytes. I want to know what those bytes entail…
0
votes
4 answers

How to tell if a file is text-readable in C#

Part of a list of projects I'm doing is a little text-editor. At one point, you can load all the sub directories and files in a given directory. The program will add each as a node in a TreeView. What I want the functionality to be is to only add…
Zeratas
  • 1,005
  • 3
  • 17
  • 36
0
votes
1 answer

Python - Writing white space to imported CSV data

I want to: Import CSV formatted data into a python list/array Right justify a 8 space field for the string Write the output as a text file For example, I want to turn csv data such as: 11111, 22, 333, 4444 Into: 11111 22 333 …
user1183643
  • 49
  • 2
  • 5
0
votes
2 answers

Localising grammar and date representations

Many times in my UI programming career I have wanted to represent things like numbers, times, dates and lists correctly according to a given locale. Are there any libraries that can help? Cocoa and I'm guessing some Windows framework will help with…
Max
  • 2,760
  • 1
  • 28
  • 47
0
votes
1 answer

C# human readable formating of a special syntax

Hi all i kinda need some help at creating a function for turning a plain syntax in human readable format: Syntax looks like this: [OPENTAG] (type)name:value [OPENTAG] (type)name:value (type)name:value (type)name:value [/CLOSETAG] [/CLOSETAG] Would…
Cango
  • 100
  • 7
0
votes
3 answers

Rails - Humanize attribute globally

Let's say I have a User model with a name attribute. If a @user has name 'CAIO' I can call the humanize method to make it nicer: @user.name =======> CAIO @user.name.humanize =======> Caio But I'm lazy and I don't want to call humanize…
Abramodj
  • 5,709
  • 9
  • 49
  • 75
0
votes
2 answers

Encode data into user-typed code, like an old game's password-save system

I tried searching for information on this, but must not know the right terms to use... What would be the simplest way to store information in a human-readable and -writeable passcode, with enough padding to make randomly guessed codes unlikely to be…
Sven Viking
  • 2,660
  • 21
  • 34
0
votes
3 answers

Is there a standard file naming convention for key-value pairs in filename?

I have multiple data files that are named after what they contain. For example machine-testM_pid-1234_key1-value1.log There are keys and values separated by - and _. Is there a better syntax for this? Are there parsers that automatically read these…
-1
votes
1 answer

How to check if a file is of type Human readable in Ansible

I need to check in ansible if the file is human-readable i.e tail -500f should work. Is there a way to check if the file to be tail has human readable data? If not, I wish to use ansible's fail module and fail the Play. In shell scripting…
Ashar
  • 2,942
  • 10
  • 58
  • 122
-1
votes
2 answers

Is there a human readable structured logging fomat?

I'd like my program to write to its stderr a log that is simultaneously human and machine readable. Requirements: A log is a stream of messages. I.e. I can't write just one big xml or json document. Every message has to be parseable separately…
-1
votes
2 answers

Human readable date format in android java

For Example Date to convert is 2020-05-10 01:00:00 Current Date is 2020-05-20 01:00:00 It should show 10 days ago I'm using Calendar class Calendar cal = Calendar.getInstance();
Davinder Kamboj
  • 359
  • 4
  • 8
-1
votes
2 answers

Make this xml file human readable

I have this xml file, which is generated by a .net 4.0 web-based application. I can't figure out how to make it human-readable / editable. Any clue?
daviddem
  • 9
  • 3
-1
votes
3 answers

Best way to write understandable and Python-friendly code

I have this code def testing1(terms, request): dat = datetime.now(pytz.timezone(geo_timezone(request))) __start = terms['year']+'-'+terms['month']+'-'+terms['day']+'T'+'00:00:00'+dat.strftime('%z')[:-2]+':'+dat.strftime('%z')[-2:] __end…
Carlos Rodriguez
  • 833
  • 8
  • 12
-1
votes
1 answer

How to design captcha verification in laravel 4?

Please send me any link or documentation where i can see how to design captcha verification.Please tell me the concept how to design it
Himanshu Dwivedi
  • 107
  • 1
  • 2
  • 10
-1
votes
2 answers

Humanly Read Tab Delimited TXT Files

Normally I work with Comma Delimited CSV files, and whenever I need to scan over the data, I just open it up in Excel, and there it is, organised neatly into columns. However, on this occasion I have been given a tab delimited text file. If I open…
user1100149
  • 266
  • 1
  • 4
  • 12
1 2 3
9
10