[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

UNIX pro

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 33
Thread images: 6

File: unix way.jpg (19KB, 564x476px) Image search: [Google]
unix way.jpg
19KB, 564x476px
Why haven't you mastered you CSV yet?
>>
>>59477318
I have most of my notes and spreadsheets (ones that do not require graphs or other bullshit) in csv for easy emergency recovery.
>>
>>59477318
I am not a genius I guess

gonna drop postgresql and use csv now
>>
>>59477318

I did

all you have to do is write your shit to a text file separated by commas

a,b,c
d,e,f
>>
>>59478000
"it takes a genius to understand it's simplicity" If you think you've mastered CSV in 3 second you don't understand it at all
>>
>>59477318
uk energy industry still mostly tranfers inter party communications in csv format once you strip away the retarded communication protocols

some want xml though for some unholy reason
>>
>>59478037

that's literally all there is to it

it's data seperated by commas in ascii
>>
>>59478081
>XML
facepalm
why.. just why..
>>
Pipe delimited master race reporting.
>>
>>59478107
wish i knew, the people in the industry with the ability to push change and modernise are so out of the loop that shit like this happens all the time
>>
>not file delimiting your values
>>
>>59478093
Store a comma as a value for me Anon.
>>
>>59477318
>cell has to contain a comma character
>ends up splitting into two cells

wow simply genius
>>
>>59478621
this is a fundamental problem in computer science
>>
>>59478491

You can't unless you use a different character to represent a comma

it isn't supposed to be the only data format you ever need

It's supposed to be easy and human readable

There are much better was to store data in terms of memory (storing numbers as numbers instead of ascii characters)
>>
>>59478491
>what are escape characters
>>
File: to dumb too oop.png (731KB, 1834x1200px) Image search: [Google]
to dumb too oop.png
731KB, 1834x1200px
Bruh I've written my own CSV parser.
>tfw was almost to dumb too do that
>>
File: default vola mod state .jpg (77KB, 725x501px) Image search: [Google]
default vola mod state .jpg
77KB, 725x501px
>>59478654
what *are* escape characters
>>
File: dance-dance01.gif (817KB, 500x500px) Image search: [Google]
dance-dance01.gif
817KB, 500x500px
>>59478736
>a single escape character is enough

Stupid escapelet
>>
>>59478723
>>tfw was almost to dumb too do that

nah, I'm sure you're totally dumb
>>
File: linex.png (144KB, 884x884px) Image search: [Google]
linex.png
144KB, 884x884px
wait how you type the escape character then?
>>
File: 1489140142594.jpg (20KB, 504x415px) Image search: [Google]
1489140142594.jpg
20KB, 504x415px
>>59478892
you don't. that's the beauty of this format.
>>
>>59478934
get this nigger meme off 4chan please
>>
>>59478491
a,",",c
>>
>>59478977
but then how do you have " as a value
>>
>>59478994
muh dick
>>
>>59478994
\" or '"'

and to have \ as a value

\\

and to have ' as a value
\'
>>
>>59478892
Suppose we use the backslash as escape character, as in C. The rule we use is that the one character (8-bit extended ASCII code point) after the escape character is treated literally, without applying any syntax rules.

So \, evaluates to a single comma. \\ evaluates to a single backslash. \\\, evaluates to a backslash followed by a comma. \\\\ evaluates to two backslashes. And so on. Any character sequence can be thus represented, the only downside being that you need two bytes to represent each comma or backslash.
>>
>>59478938
It's the best meme of 2017 though.
>>
>>59477318
>wrote some php to for reseacher get data out in csv file
fucking microsoft excel defaults to ; as delimeter for csv files COMMA SEPARATED FILES
Why can't microsoft niggers get anything right?
>>
>>59482356
Their entire business strategy is to break things then replace them with a "better" Microshit proprietary version for profit, with the entire OS market cornered they can get away with it.
>>
>>59481140
It's the best meme you'll ever see.
You are going to die this year.
I wonder why you already haven't
>>
Yaml and Json are far superior.
Thread posts: 33
Thread images: 6


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.