Live data from Hacker News

Exploring Linux command-line space time

fabiensanglard.net

21–30 of 39 posts

Re: Exploring Linux command-line space time

#21
post #18

I like the blog style. Does anyone have a single CSS sheet with a similar style, instead of individual elements/lines all being spans with inline css?

> Does anyone have a single CSS sheet with a similar style, instead of individual elements/lines all being spans with inline css?

Sorry what are you asking?

Re: Exploring Linux command-line space time

#22

Earlier quoted context omitted.

TFA covered more than just C programs.

And what exactly does TFA have to do with this conversation? It's literally not mentioned in the link or these comments (currently).

TFA stands for “the fucking article”

Re: Exploring Linux command-line space time

#23

Earlier quoted context omitted.

For software contexts, we refer to space as memory or overall storage depending on the architecture.

Yet when refering to both space and time, you should consider explicating that space = memory, time = time.

> you should consider explicating that space = memory, time = time.

That seems unnecessary. Even a layman knows that in the context of a computer, space != physical space. Most people think of disk space, but it can also refer to memory usage [0]. The meaning of the name was obvious to me after reading the first half of the first sentence of the article. I thought it was clever :)

[0] https://en.m.wikipedia.org/wiki/Space_complexity

Re: Exploring Linux command-line space time

#24
post #18

I like the blog style. Does anyone have a single CSS sheet with a similar style, instead of individual elements/lines all being spans with inline css?

> Does anyone have a single CSS sheet with a similar style, instead of individual elements/lines all being spans with inline css? Sorry what are you asking?

I've seen this design style before. I'm hoping there's an existing model to work from, e.g. how Tufte css spawned many individual layouts but instead inspired by a terminal.

Re: Exploring Linux command-line space time

#25
Great write up from Fabien as usual.

FYI, you can also get a lot from the `time` command right now in your shell:

   /usr/bin/time -v ls
        Command being timed: "ls"
        User time (seconds): 0.00
        System time (seconds): 0.00
        Percent of CPU this job got: 100%
        Elapsed (wall clock) time (h:mm:ss or m:ss): 0:00.00
        Average shared text size (kbytes): 0
        Average unshared data size (kbytes): 0
        Average stack size (kbytes): 0
        Average total size (kbytes): 0
        Maximum resident set size (kbytes): 2304
        Average resident set size (kbytes): 0
        Major (requiring I/O) page faults: 0
        Minor (reclaiming a frame) page faults: 117
        Voluntary context switches: 1
        Involuntary context switches: 0
        Swaps: 0
        File system inputs: 0
        File system outputs: 0
        Socket messages sent: 0
        Socket messages received: 0
        Signals delivered: 0
        Page size (bytes): 4096
        Exit status: 0

Re: Exploring Linux command-line space time

#26

Great write up from Fabien as usual. FYI, you can also get a lot from the `time` command right now in your shell: /usr/bin/time -v ls Command being timed: "ls" User time (seconds): 0.00 System time (seconds): 0.00 Percent of CPU this job got: 100% Elapsed (wall clock) time (h:mm:ss or m:ss): 0:00.00 Average shared text size (kbytes): 0 Average unshared data size (kbytes): 0 Average stack size (kbytes): 0 Average tota…

Instead of "/usr/bin/time" you can also write "command time".

Re: Exploring Linux command-line space time

#27

Earlier quoted context omitted.

And what exactly does TFA have to do with this conversation? It's literally not mentioned in the link or these comments (currently).

TFA stands for “the fucking article”

And I always read it as "The Featured Article"

Re: Exploring Linux command-line space time

#29
post #18

I like the blog style. Does anyone have a single CSS sheet with a similar style, instead of individual elements/lines all being spans with inline css?

Absolutely beautiful, sharp, expressive and minimal. Can be viewed on an e-reader.

It looks like he made the change to this theme in 2018:

https://fabiensanglard.net/bloated/index.html

Re: Exploring Linux command-line space time

#30
post #26

Great write up from Fabien as usual. FYI, you can also get a lot from the `time` command right now in your shell: /usr/bin/time -v ls Command being timed: "ls" User time (seconds): 0.00 System time (seconds): 0.00 Percent of CPU this job got: 100% Elapsed (wall clock) time (h:mm:ss or m:ss): 0:00.00 Average shared text size (kbytes): 0 Average unshared data size (kbytes): 0 Average stack size (kbytes): 0 Average tota…

Instead of "/usr/bin/time" you can also write "command time".

or its shorter form, \time
Post reply on HN