Where’s all my CPU and memory gone? The answer: Slack
-
@arantor said in Where’s all my CPU and memory gone? The answer: Slack:
@cark you mean like zip files?
Yes? I have in fact been using zip instead of tar when I can. Why is that surprising?
-
@cark because tar.gz is smaller than zip?
-
@arantor And .tar.bz2 is smaller than that. And the zip command line utility has the nasty habit of changing the file name on you if you didn't pass in something that ended with .zip.
-
@arantor said in Where’s all my CPU and memory gone? The answer: Slack:
@cark because tar.gz is smaller than zip?
zip has supported lzma for a number of years now, which comparable to tar -J
-
@cark not everyone uses the superior tools.
-
@cark said in Where’s all my CPU and memory gone? The answer: Slack:
@medinoc said in Where’s all my CPU and memory gone? The answer: Slack:
@anonymous234 Hey, a networked software of mine uses compressed XML in its payloads!
(but because I like protocols that make sense, it's only in the payload: What carries them is binary with a fixed-size header that contains the length of the payload, so the length field has a fixed size because seriously, who uses a variable-length length field?)You'll be pleased to know WebSockets have a length field that is that is either 7 bits, 7 + 16 bits or 7 + 64 bits long
On the other hand, gzip has a fixed 32 bit length field, and any length > 2^32 is recorded mod 2^32, which makes it practically useless
At least in WebSockets the length is at a fixed offset, and is more-or-less length-prefixed (and what's between the length and data is "length-prefixed" too). Still not as silly as HTTP.
gzip... well, gzip is kinda showing its limits on this point. This is what happens when you don't have an "extended" value for a size field. I think I reserved the value for my own file formats, though I don't support them (in part becauseMemoryStream
is limited to 32 bits too -- only this time it's signed).
-
Why do even stick with tar in this day and age? Everything I tar from/to is a block device, which makes it possible to write a header/footer with file offsets, compressed/uncompressed length, checksums and all other useful info, which is pretty useful for things like file listings and single file extraction. We should have replaced tar for 90% of it's current use cases by now
tar is perfectly cromulent and available everywhere, what do you suggest as a replacement?
@cark said in Where’s all my CPU and memory gone? The answer: Slack:
Yes? I have in fact been using zip instead of tar when I can.
zip is no alternative to tar, as it lose file permissions
@arantor said in Where’s all my CPU and memory gone? The answer: Slack:
@cark because tar.gz is smaller than zip?
The difference between different compression algorithms is negligible for most purposes
-
@pleegwat said in Where’s all my CPU and memory gone? The answer: Slack:
No, tar's 12-byte field (to contain a null-terminated octal digit string, so 33 bits) is far superior.
It is, at the very least, endianness-independent.
-
@wharrgarbl said in Where’s all my CPU and memory gone? The answer: Slack:
@arantor said in Where’s all my CPU and memory gone? The answer: Slack:
@cark because tar.gz is smaller than zip?
The difference between different compression algorithms is negligible for most purposes
The Lempel-Ziv algorithm used by gzip has been supported by zip since approximately the beginning of time. The benefit comes from the fact .tar.gz compresses the archive as a whole, while .zip compresses each member individually.
-
@wharrgarbl said in Where’s all my CPU and memory gone? The answer: Slack:
zip is no alternative to tar, as it lose file permissions
https://en.wikipedia.org/wiki/Info-ZIP added file permissions as an extension to the format and since they're open source AFAIK most implementations have adopted.
-
@wharrgarbl said in Where’s all my CPU and memory gone? The answer: Slack:
everywhere
Not on my brand-new Windows install it's not!
-
@sloosecannon it's available anywhere that matters
-
@wharrgarbl said in Where’s all my CPU and memory gone? The answer: Slack:
@sloosecannon it's available anywhere that matters
Like Windows!
Oh wait.
-
@sloosecannon said in Where’s all my CPU and memory gone? The answer: Slack:
@wharrgarbl said in Where’s all my CPU and memory gone? The answer: Slack:
@sloosecannon it's available anywhere that matters
Like Windows!
Oh wait.
Did they break the Ubuntu they ship that badly that it doesn't even have tar?
-
@sloosecannon said in Where’s all my CPU and memory gone? The answer: Slack:
@wharrgarbl said in Where’s all my CPU and memory gone? The answer: Slack:
@sloosecannon it's available anywhere that matters
Like Windows!
Oh wait.
What you're saying is, Windows doesn't matter ?
-
Ha! I remember when I encountered my first .tar.gz file. I immediately
googledAltavista'd "how to open tar.gz file". I'm pretty sure I did not find a solution.On the topic of Chrome eating memory for breakfast... I remember upgrading my old laptop from 2GB to 4GB RAM because it would occasionally hang if I had too many (read: 8 ) tabs open.
Ironically, the reason I no longer use that laptop is because it has begun freezing at around the 8-tab mark again, which means it and slack have increased their memory consumption over time
640k ought to be enough for anybody
-
@julianlam said in Where’s all my CPU and memory gone? The answer: Slack:
Altavista
Just how old are you? :P
-
@raceprouk in human years, dog years, or Asian old lady years?
-
@julianlam said in Where’s all my CPU and memory gone? The answer: Slack:
@raceprouk in human years, dog years, or Asian old lady years?
How about all three? :P
-
@raceprouk The lunar calendar advises me that it is not an auspicious time for me to answer you truthfully.
-
@julianlam said in Where’s all my CPU and memory gone? The answer: Slack:
@raceprouk The lunar calendar advise me that it is not an auspicious time for me to answer you truthfully.
Nah, it's cool: you don't have to answer if you don't want to.
-
@boomzilla said in Where’s all my CPU and memory gone? The answer: Slack:
@sloosecannon said in Where’s all my CPU and memory gone? The answer: Slack:
@wharrgarbl said in Where’s all my CPU and memory gone? The answer: Slack:
@sloosecannon it's available anywhere that matters
Like Windows!
Oh wait.
Did they break the Ubuntu they ship that badly that it doesn't even have tar?
No, but downloading a whole OS to extract a file is kinda overkill. I mean 7zip can do it too...
-
@sloosecannon said in Where’s all my CPU and memory gone? The answer: Slack:
No, but downloading a whole OS to extract a file is kinda overkill
Definitely. I don't think I've ever downloaded Windows for any reason.
-
@boomzilla said in Where’s all my CPU and memory gone? The answer: Slack:
I don't think I've ever downloaded Windows for any reason.
Not even for a good laugh ?
-
@timebandit I think I tried once but the MSDN download link changed.
-
@julianlam said in Where’s all my CPU and memory gone? The answer: Slack:
That
Ha! I remember when I encountered my first .tar.gz file. I immediately
googledAltavista'd "how to open tar.gz file". I'm pretty sure I did not find a solution.made me read this
On the topic of Chrome eating memory for breakfast... I remember upgrading my old laptop from 2GB to 4GB RAM because it would occasionally hang if I had too many (read: 8 ) tabs open.
as "2MB to 4MB". And I thought, I remember upgrading my memory like that too (old 386)
-
@julianlam said in Where’s all my CPU and memory gone? The answer: Slack:
@raceprouk The lunar calendar advises me that it is not an auspicious time for me to answer you truthfully.
Let's try a few eras...
What color is stored at
POKE 646
memory address?- Text color
- Background color
- Border color
- Sprite #0 color
The Macintosh's original "high resolution" 9" screen was 512 pixels wide. How many pixels tall was it?
- 320
- 342
- 360
- 408
Which of the following video cards supported only 3D video acceleration?
- 3DFX Voodoo 2
- 3DFX Voodoo 3
- RIVA TNT2
- ATI Rage Pro
Which of the following features was introduced in Windows XP?
- On-screen help
- Disk Management MMC snap-in
- Internet Explorer pop-up blocking
- Fast User Switching
That'll narrow it down.
(Sadly I typed that all from memory. Although I had to Google up a fourth video card. I am a geezer.)
-
@blakeyrat said in Where’s all my CPU and memory gone? The answer: Slack:
What color is stored at
POKE 646
memory address?That was in ROM in my first computer. As such, there wasn't much point in trying to poke anything in there at all.
-
@blakeyrat My brother went to a convention and bought a Voodoo3... I believe it melted under it's own power.
-
@raceprouk said in Where’s all my CPU and memory gone? The answer: Slack:
@julianlam said in Where’s all my CPU and memory gone? The answer: Slack:
Altavista
Just how old are you? :P
I'm the same age as you, and I used altavista when I first got online
-
@jaloopa said in Where’s all my CPU and memory gone? The answer: Slack:
I used altavista when I first got online
It was a lot better than Yahoo when I started needing to search for things online via HTTP (instead of using a local hand-curated Gopher index) as the things I wanted to look for were never things that Yahoo was interested in indexing; Altavista was great because you could usually actually find what you were looking for, even if it sometimes required looking through quite a few pages of the index.
Now Gopher really was not very good at all, but it beat the information indexing schemes used in the old Coloured Book protocol family. Those were like using a particularly retarded version of FTP.
-
@raceprouk said in Where’s all my CPU and memory gone? The answer: Slack:
@julianlam said in Where’s all my CPU and memory gone? The answer: Slack:
Altavista
Just how old are you? :P
When I first sent email, it was done as
machine1!machine2!username
-
Am I the only youngun on here? :|
-
@julianlam said in Where’s all my CPU and memory gone? The answer: Slack:
"how to open tar.gz file".
Before I look it up, isn't it something like tar -zvcf %filenameHere.tar.gz% ?
Checking...
tar -xvzf community_images.tar.gz
So close!
-
@boomzilla said in Where’s all my CPU and memory gone? The answer: Slack:
@timebandit I think I tried once but the MSDN download link changed.
???
-
@blakeyrat said in Where’s all my CPU and memory gone? The answer: Slack:
Which of the following features was introduced in Windows XP?
- On-screen help
- Disk Management MMC snap-in
- Internet Explorer pop-up blocking
- Fast User Switching
All but #1?
I don't know what "On-screen help" is....
-
@bb36e said in Where’s all my CPU and memory gone? The answer: Slack:
Am I the only youngun on here? :|
Depends.
-
@tsaukpaetra doesn't
tar -xf foo.tar.gz
work just fine nowadays?
-
@tsaukpaetra said in Where’s all my CPU and memory gone? The answer: Slack:
@bb36e said in Where’s all my CPU and memory gone? The answer: Slack:
Am I the only youngun on here? :|
Depends.
Eh, early 20s?
-
@bb36e said in Where’s all my CPU and memory gone? The answer: Slack:
@tsaukpaetra doesn't
tar -xf foo.tar.gz
work just fine nowadays?I don't know, I'm not a linux guru!
-
@bb36e said in Where’s all my CPU and memory gone? The answer: Slack:
@tsaukpaetra said in Where’s all my CPU and memory gone? The answer: Slack:
@bb36e said in Where’s all my CPU and memory gone? The answer: Slack:
Am I the only youngun on here? :|
Depends.
Eh, early 20s?
All I do is remember to add 11 to the current year for my age. Saves me the hassle of having to compute it from the day/month/year partwise, since it's unlikely people are asking for my age during the first ten days of the year...
-
@tsaukpaetra said in Where’s all my CPU and memory gone? The answer: Slack:
@julianlam said in Where’s all my CPU and memory gone? The answer: Slack:
"how to open tar.gz file".
Before I look it up, isn't it something like tar -zvcf %filenameHere.tar.gz% ?
Checking...
tar -xvzf community_images.tar.gz
So close!
tar xf foo.tar.gz
works, as doestar xf foo.tar.bz2
. Don't do the computer's job for it.
-
@tsaukpaetra said in Where’s all my CPU and memory gone? The answer: Slack:
@julianlam said in Where’s all my CPU and memory gone? The answer: Slack:
"how to open tar.gz file".
Before I look it up, isn't it something like tar -zvcf %filenameHere.tar.gz% ?
Checking...
(snip the onebox)
tar -xvzf community_images.tar.gz
So close!
Obligatory xkcd: https://xkcd.com/1168/
-
@tsaukpaetra bzzt!
- On-screen Help - If Blakey meant "What's This?" that was introduced in Windows 3.0 and killed off in Windows 7 as part of the Great WinHelp Purging.
- Disk Management MMC snap-in - Windows 2000, though it existed as a separate administrative tool in Windows NT 3 and 4.
- Internet Explorer pop-up blocking - Windows XP SP1. It wasn't available in Gold.
- Fast User Switching <-- Bingo.
-
@dkf said in Where’s all my CPU and memory gone? The answer: Slack:
Altavista was great because you could usually actually find what you were looking for, even if it sometimes required looking through quite a few pages of the index.
Yeah, it was the best of a lot of crappy options. Though we only knew exactly how crappy they all were when google showed up.
-
@tsaukpaetra said in Where’s all my CPU and memory gone? The answer: Slack:
All but #1?
Nope, there's only one correct answer, but it's a bit of a trick question.
@tsaukpaetra said in Where’s all my CPU and memory gone? The answer: Slack:
I don't know what "On-screen help" is....
Too young to remember when computers didn't have enough disk space to keep their help on disk, and had to rely on shipping big books in the box? Baby.
-
@tsaukpaetra said in Where’s all my CPU and memory gone? The answer: Slack:
Depends.
No, I don't need those. Yet.
-
@tsaukpaetra said in Where’s all my CPU and memory gone? The answer: Slack:
@bb36e said in Where’s all my CPU and memory gone? The answer: Slack:
@tsaukpaetra said in Where’s all my CPU and memory gone? The answer: Slack:
@bb36e said in Where’s all my CPU and memory gone? The answer: Slack:
Am I the only youngun on here? :|
Depends.
Eh, early 20s?
All I do is remember to add 11 to the current year for my age. Saves me the hassle of having to compute it from the day/month/year partwise, since it's unlikely people are asking for my age during the first ten days of the year...
So you're 2028 years old?
-
@tsaukpaetra said in Where’s all my CPU and memory gone? The answer: Slack:
All I do is remember to add 11 to the current year for my age.
All I do is remember my age :P
-
@raceprouk said in Where’s all my CPU and memory gone? The answer: Slack:
@tsaukpaetra said in Where’s all my CPU and memory gone? The answer: Slack:
All I do is remember to add 11 to the current year for my age.
All I do is remember my age :P
I used to say that... Now I have to use math. At least I still remember what year I was born.