#editorial | Logs for 2020-12-25
« return
[00:00:23] <chromas> oh hm
[00:00:49] <chromas> I was posimative you could pass the swapfile into the resume parameter, but the arch wiki says no
[00:01:04] <TheMightyBuzzard> kinda the only thing you can do if you run an encrypted swap with a whatever gets pulled from /dev/urandom on boot for a key
[00:02:08] <chromas> why have a swap at all tho?
[00:02:28] <chromas> if you're not hibernating or running on potato amounts of ram
[00:02:58] <TheMightyBuzzard> cause it gives me time to notice the disk thrashing and kill $whatever before the system eats itself
[00:03:05] <chromas> so anywa, Bytram scratch that. I was wrong and the kernel parameter needs to be something different
[00:03:17] <TheMightyBuzzard> i only run like 1GB of swap
[00:03:28] <chromas> When that happens, the computer's already locked up and won't lemme do nuffin
[00:04:01] <chromas> That's why i'm running the bot as a systemd service now—it dies before it hogs all the ram
[00:04:39] <TheMightyBuzzard> wait, systemd is running as a systemd service? thas funny
[00:04:47] <TheMightyBuzzard> Bytram, https://askubuntu.com
[00:04:49] <systemd> ^ 03Hibernate and resume from a swap file
[00:04:59] <Bytram> back
[00:06:45] <Bytram> looking at TheMightyBuzzard's link now
[00:07:14] <TheMightyBuzzard> s'not mine, it's shuttleworth's
[00:14:30] <Bytram> zoinks!
[00:15:32] <Bytram> that looks like quite a bunch of changes with no verification/validation steps along the way nor an easy way to back out the changes should (when) things fail
[00:16:22] <chromas> You've already done most of the work
[00:16:44] <chromas> it's just that instead of pointing at the swapfile, you have to point to the partition device, then give an offset to the file
[00:17:30] <Bytram> early on, hibernation did work, but then stopped working. I think we came to the conclusion that there was not enough swap space, but not certain. There were some steps to check things in systemd logs
[00:17:34] <chromas> although a couple people on there apparently could just change the swap priority and systemd would automatically set it up
[00:18:12] <Bytram> just for giggles what is that systemd hibernate command again
[00:18:30] <chromas> systemctl hibernate
[00:19:49] <Bytram> systemctl hibernate
[00:19:49] <Bytram> Failed to hibernate system via logind: Not enough swap space for hibernation
[00:20:30] <chromas> Time to reinstall
[00:21:03] <Bytram> Memory: 2.9 GiB (79.4%) of 3.6 GiB
[00:21:25] <Bytram> Swap: 1.1 GiB (6.4%) of 17.0 GiB
[00:21:47] <Bytram> let me close a couple things
[00:23:39] <Bytram> https://www.discogs.com
[00:23:40] <systemd> ^ 03Amy Allen music | Discogs
[00:23:41] <chromas> oh neat. you can hint to the kernel to try to make the hibernation image smaller
[00:24:18] <Bytram> https://blogs.sciencemag.org
[00:24:19] <systemd> ^ 03In the Pipeline
[00:24:30] <Bytram> https://blogs.sciencemag.org
[00:24:32] <systemd> ^ 03The Latest on Coronavirus Mutations
[00:24:43] <Bytram> https://blogs.sciencemag.org
[00:24:44] <systemd> ^ 03The New Mutations
[00:25:44] <Bytram> freed up 400 MiB of memory
[00:25:59] <Bytram> https://forum.nasaspaceflight.com
[00:25:59] <systemd> ^ 03Starship SN8 Test Launch Campaign - UPDATES
[00:26:07] <Bytram> https://forum.nasaspaceflight.com
[00:26:08] <systemd> ^ 03Starship SN8 Test Launch Campaign - UPDATES
[00:26:22] <Bytram> https://www.amazon.com
[00:26:52] <Bytram> .
[00:26:54] <Bytram> https://askubuntu.com
[00:26:55] <systemd> ^ 03Hibernate and resume from a swap file ( https://askubuntu.com )
[00:30:24] <chromas> I usually use Twitter to store my bookmarks
[00:30:37] <Bytram> lol
[00:31:19] <Bytram> so... should I leave those(*) changes in grup or back out to where I started from?
[00:31:42] <Bytram> chromas: the ones you walked me through
[00:32:11] <chromas> Either way. Nothing takes effect until you run update-grub
[00:32:25] <Bytram> k
[00:32:27] <chromas> However, the file change I gave was wrong and needs to be adjusted to work
[00:32:34] <Bytram> changes saved
[00:34:10] <Bytram> for my records, here are all of the lines that are not blank and not commeted out:
[00:34:11] <Bytram> GRUB_DEFAULT=0
[00:34:11] <Bytram> GRUB_TIMEOUT_STYLE=hidden
[00:34:11] <Bytram> GRUB_TIMEOUT=0
[00:34:11] <Bytram> GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
[00:34:11] <Bytram> GRUB_CMDLINE_LINUX_DEFAULT="quiet splash resume=/swap1"
[00:34:13] <Bytram> GRUB_CMDLINE_LINUX=""
[00:34:17] <Bytram> finis.
[00:34:56] * Bytram just closed Firefox
[00:35:23] <Bytram> Memory: 1.2 GiB (33.3%) of 3.6 GiB
[00:35:48] <Bytram> Swap: 820.5 MiB (4.7%) of 17.0 GiB
[00:36:22] <Bytram> systemctl hibernate
[00:36:41] <Bytram> Failed to hibernate system via logind: Not enough swap space for hibernation
[00:37:12] <requerdanos> how big is that dm-1? is that what it's trying to hibernate to?
[00:37:39] <Bytram> Idunno, what is "dm-1" ??
[00:37:48] <chromas> it's hibernating to an undersized partition that ubuntu installer set up
[00:38:27] <requerdanos> well /dev/dm-1 is the partition that it says is your swap partition, and it looks too small to hibernate to
[00:39:28] <chromas> we're trying to get it to hibernate to a swapfile instead of having to move and resize partitions to get the swap partition to a decent size
[00:39:49] <requerdanos> would swapoff /dev/dm-1 make any difference?
[00:40:15] <Bytram> whoosh? I'm not seeing where you saw /dev/dm1
[00:40:23] <requerdanos> it's in your /proc/swaps
[00:41:10] <Bytram> oh! okay, make more sense
[00:42:26] <Bytram> sooo, if I can free up another ~ 200 MiB then I should be okay?
[00:43:29] <chromas> Sure, but you don't want to do that every time
[00:43:42] <Bytram> agreed
[00:43:57] <Bytram> consider this a proof of where the problem lies
[00:44:08] <Bytram> can I kill -9 caja
[00:44:21] <chromas> a simple kill caja isn't enough?
[00:44:39] <chromas> or close the window
[00:44:53] <chromas> unless it also draws the desktop
[00:44:54] <Bytram> I know if gives me a GUI to see / manipulate files but do not know if it does any work in the background
[00:49:28] <chromas> in my teste ubuntu vm, I just added a swap file and I can hibernate
[00:49:43] <chromas> even while using more ram than the swap partition
[00:49:52] <Bytram> Neat! How much memory were you using
[00:50:27] <chromas> additionally, I feel like I'm getting asscancer using the Unity-styled Gnome 3
[00:50:49] <chromas> plus all the dozens of snap mounts
[00:50:59] <Bytram> swell. Update manager is chewing up 137.7 MiB of Memory
[00:51:13] <requerdanos> megabytes are small. gnome 3 sucks.
[00:51:24] <chromas> swap partition is 1jiggabyte
[00:51:36] <Bytram> I'm getting that impression
[00:51:36] <chromas> using 1.4 gibs of ram
[00:52:04] <Bytram> aren't the gips located near the giblets?
[00:52:06] <chromas> requerdanos++ here's some karma for having the same opinion as me :D
[00:52:06] <Bender> karma - requerdanos: 8
[00:52:34] <chromas> though now that you mention it, the mouse cursor is invisible since resuming
[00:53:06] <chromas> oh there we go. not enough swap
[00:53:15] <chromas> must've been shuffling stuff over to the swap file
[00:53:31] * Bytram lets the software updater do its thin to get it out of the way
[00:53:37] <Bytram> may be a biy
[00:53:41] <Bytram> *bit
[00:53:50] * chromas does swapoff /dev/dm-1
[00:54:03] <chromas> same error. maybe if I reboot
[00:54:20] <Bytram> chromas: at a bash command line?
[00:54:44] <chromas> yeah. I'm just testing requerdanos's suggestion of running with just the swapfile; no partition
[00:56:19] <chromas> They're really working hard to pollute the output of mount
[00:58:05] <chromas> Disappointement
[00:58:35] <chromas> Turning off swap partition and running with just swap file hibernates fine, but doesn't resume. So I'll've to do the kernel parameter thing
[01:06:53] <Bytram> =yt Christmas Eve Sarajevo
[01:06:54] <systemd> https://youtube.com - Trans-Siberian Orchestra - Christmas Eve / Sarajevo (Timeless Version) (Official Music Video) (03:42; 15,059,858 views; 👍88,074 👎2,480)
[01:11:42] <chromas> hm. I did all the instructions from the internet and it didn't work
[01:11:56] <chromas> though I did hear a little sonar ping sound effect for some reason
[01:13:03] <Bytram> "Just use Linux" has not been as simple as it used to be. :/
[01:13:26] <Bytram> chromas: thanks for giving it a try!
[01:13:28] <chromas> that's 'cause you're using ubuntu—the easy distro!
[01:13:52] <Bytram> LOL!
[01:14:01] <requerdanos> "Just use Linux" seems to work great for people oblivious to details.
[01:14:17] <chromas> another alternative I guess is to set up a userspace hibernation tool but that's a different yarn of wax
[01:14:18] <Bytram> more hidden and automagicated stuff
[01:14:55] <Bytram> don't you mean kettle of wish?
[01:15:15] <chromas> either way, cat's involved
[01:15:36] <chromas> You could do the more time consuming option of repartitioning your ssd
[01:15:40] <Bytram> which you never own, only feed 'em
[01:15:51] <chromas> or hm, since you're using lvm, you might be able to do some partition magic
[01:15:59] <Bytram> hmmm\
[01:16:10] <Bytram> gparted?
[01:16:56] <chromas> I'm not sure what kinds of things you'd have to do
[01:17:46] <Bytram> was familiar with partitions on win 8 pro/X64 can doing all the way back to fdisk and creating partitions on DOS 3.0
[01:17:56] <Bytram> s/8/7/
[01:17:56] <SedBot> <Bytram> was familiar with partitions on win 7 pro/X64 can doing all the way back to fdisk and creating partitions on DOS 3.0
[01:18:09] <chromas> if it won't let you move your / partition over, at the very least, you can resize it down a bit and then tack the free space onto the swap partition
[01:18:42] <Bytram> but always felt a bit like I was walking on the edge of disaster whenever I did anything with them
[01:18:43] <chromas> oy mayte, what kinds of sockets does your lappy have?
[01:18:47] <chromas> is there an m.2 port?
[01:18:57] <Bytram> nope
[01:19:06] <chromas> it'd be on the inside
[01:19:09] <chromas> or msata
[01:19:27] <Bytram> Dell Latitude 6410 with plain old SATA
[01:19:41] <Bytram> Dell Latitude E6410 with plain old SATA
[01:20:16] <AzumaHazuki> i am amazed that machine still works
[01:20:20] <Bytram> I don't recall what flavor of SATA
[01:20:27] <Bytram> like a charm!
[01:20:29] <AzumaHazuki> that is a first-gen Core i-something-or-other. SATA 2 most likely
[01:22:50] <Bytram> primary problems I have are that it would be nice to have more memory, but more troublesome is limited graphics. Have an UHD 4K TV I'm using as a monitor; on Win 7 I could drive it at 2200x1400 or so, now I've only got 1920x1280
[01:23:02] <Bytram> Core 2 Duo
[01:23:10] <chromas> even older
[01:23:12] <Bytram> nooopes
[01:23:23] <Bytram> that was the E6400
[01:24:01] <chromas> it appears to have an esata port
[01:26:29] <Bytram> Model name: Intel(R) Core(TM) i5 CPU M 540 @ 2.53GHz
[01:27:42] <AzumaHazuki> i was going to guess i5-520, so was very close
[01:28:03] <Bytram> nod nod
[01:28:27] <AzumaHazuki> ...i wonder if i could lean on a friend to send you a newer-ish machine
[01:29:00] <Bytram> it may not be sexy, but it's been a workhorse; I've been using it to push out stories to the site for quite a while now
[01:29:13] <AzumaHazuki> it's 10+ years old. it's gonna die any day now
[01:29:21] <chromas> Do you have the proprietary nvidia driver installed?
[01:29:37] <AzumaHazuki> if you can score like a thinkpad x260 for a couple hundred off ebay that will be a nice, cheap, and durable upgrade
[01:29:59] <Bytram> I appreciate the thought, but I already have a brother-in-law asking around at the bank where he works for what they do with teir old systems
[01:30:12] <chromas> do they have laptops?
[01:30:20] <chromas> I thought it was Dell Optiplexes all the way down
[01:30:21] <AzumaHazuki> https://www.ebay.com
[01:30:22] <systemd> ^ 03Lenovo ThinkPad X260 Ultrabook i5 Dual-Core 8GB 256GB SSD Win 10 Pro B v.WAA
[01:30:35] <AzumaHazuki> ...if i had $300, and needed a laptop, i'd get this
[01:31:15] <Bytram> alternatively, I'm waiting for the dew generatin of Ryzen laptop chips to come out, then get a laptop with an earlier version
[01:31:37] <chromas> That was my plan for GPUs. None available
[01:32:00] <AzumaHazuki> https://www.ebay.com
[01:32:01] <systemd> ^ 03Lenovo ThinkPad X395 13.3-in Notebook AMD Ryzen 5 PRO 3500U 8GB 256GB Vega 8 W10
[01:32:07] <AzumaHazuki> pricey :/ this is what my E495 cost me
[01:32:21] <AzumaHazuki> the 4000-series are waaaaaaaay faster than the 3000s though
[01:32:23] <Bytram> well, Covid has been chewing up supply with Work from Home
[01:32:35] <AzumaHazuki> to the point a 4500U will chew up my 3700U and spit it out
[01:33:12] <chromas> supply was okay until the scalpers hit
[01:34:06] <chromas> mmm. scal(lo)ped potatoes
[01:35:06] <Bytram> I'd love to get a couple more monitors that I could flank my UHD 4K monitor with; ideally have them be 4K displays, too. (Want whatever I get to be able to drive them, even if I don't have the screens atm)
[01:35:37] <Bytram> well, actually it's a TC, but it's pretty much only used as a monitor
[01:35:46] <Bytram> s/C/V/
[01:35:46] <SedBot> <Bytram> well, actually it's a TV, but it's pretty much only used as a monitor
[01:35:52] <chromas> telecision
[01:36:06] <chromas> remotely keeps you divided
[01:36:43] <AzumaHazuki> Bytram: do either of those links look good, to you?
[01:36:55] <Bytram> back in a few minutes; checking the stove
[01:37:38] <Bytram> sorryt, short on sleep and really tired... esp with hibernation attempt not panning out, yet(!)
[01:38:47] <Bytram> more of a one-of-these-days wishes. Can get along okay with what I have right now. No money coming in, so I needs to watch my moneys
[01:38:55] <Bytram> afk
[01:39:05] <Bytram> biab
[05:25:32] -!- AzumaHazuki has quit [Remote host closed the connection]
[06:55:29] -!- Subsentient [Subsentient!~WhiteRat@pptdbxlc9.us] has joined #editorial
[07:08:23] -!- Subsentient has quit [Ping timeout: 265 seconds]
[14:24:06] <Bytram> requerdanos: Congrats! I see you moved up another notch: https://soylentnews.org
[14:24:07] <systemd> ^ 03SoylentNews: Authors
[14:24:29] <requerdanos> oh on the leaderboard! :)
[14:24:29] <Bytram> Thank You!
[14:24:37] <Bytram> requerdanos++
[14:24:37] <Bender> karma - requerdanos: 9
[14:25:17] <Bytram> Similar, but more wide-ranging coverage: https://soylentnews.org
[14:25:28] <systemd> ^ 03SoylentNews: Hall of Fame ( https://soylentnews.org )
[14:26:10] <Bytram> (omit the "#MAA" if desired)
[14:29:20] <requerdanos> Today I figured out that I routinely block javascript on paywalled sites, which makes most of em no longer paywalled--and realized that can make me miss a paywalled site, which I almost did
[14:30:07] <Bytram> unintended consequences
[14:30:58] <Bytram> overt consequences at east let you know something is up; hidden consequences? not so much!
[14:41:31] <requerdanos> Oh, gee, I saw that EFF submission made the site as a journal entry
[14:52:35] <Bytram> kewel
[15:01:57] <requerdanos> so I manually crafted links to "previously" stories, clicked preview, and darned if they didn't acquire checkmarks "similar and related" on their own
[15:02:55] <Bytram> Hmmm?
[15:02:58] <Bytram> Huh!
[15:03:20] <Bytram> which story?
[15:03:41] <requerdanos> "Apple Car", not pushed, still in my edit buffer
[15:03:49] <Bytram> k
[15:04:39] * Bytram wonders if the computer automation uses "core" memory? ;^)
[15:06:31] <requerdanos> Here it is, https://soylentnews.org
[15:06:33] <systemd> ^ 03backSlash 15:06:31 = 15:06:31 GMT
[15:11:51] <Bytram> k
[15:13:03] <Bytram> Aha! As I suspected, load this and scroll down to Related Stories https://soylentnews.org
[15:13:04] <systemd> ^ 03Apple Targets Car Production by 2024 and Eyes 'Next Level' Battery Technology - SoylentNews
[15:14:26] <requerdanos> I wonder how to make the links appear "only" down in that related stories box, instead of having two sets...
[15:15:08] <Bytram> requerdanos: Try editing the story, checking a couple related stories boxes, and immediately click [update]
[15:16:02] <requerdanos> no effect at all that I can see.
[15:17:54] <Bytram> agreed
[15:19:16] <Bytram> ISTR that at one time clicking a checkbox *would* add it to the list. May have had a regression. two things:
[15:19:25] <requerdanos> mind if I edit it to try one more time?
[15:19:39] <Bytram> 1.) Let's keep an eye on it to see what else we can learn
[15:20:09] <Bytram> 2.) Consider if it is a feature we would want (I'm thinking yes)
[15:20:11] <Bytram> go agead
[15:20:35] <Bytram> afk for about 1/2 hr or so
[15:20:53] <Bytram> requerdanos++ good eyes!
[15:20:53] <Bender> karma - requerdanos: 10
[15:23:21] <requerdanos> Okay, the links now show up only in the related stories box
[15:23:51] <requerdanos> Via this method: https://github.com
[15:23:52] <systemd> ^ 03SoylentNews/rehash ( https://github.com )
[15:59:43] <Bytram> requerdanos: That is *amazing* -- I had no idea about those!
[16:00:13] <Bytram> Unfortunately, I need to head out very shortly, will play with them later!
[16:00:29] <Bytram> requerdanos++ awesome fnd!
[16:00:29] <Bender> karma - requerdanos: 11
[16:00:34] <Bytram> laters!
[16:00:40] <requerdanos> have a great Christmas. Peace.
[19:28:45] <Bytram> requerdanos: Fnord666: chromas: janrinok: Anybody around who could 2nd a story for me?
[19:46:38] <chromas> sure
[19:48:06] <Bytram> chromas: just a moment
[19:48:19] <Bytram> making sime last-minute adjustments
[19:48:39] <chromas> ok
[19:49:16] <Bytram> updated! thanks so much!
[19:49:48] <Bytram> started to look like "word soup", so I really appreciate the 2nd look!
[19:52:46] <chromas> Looks okay, although there's a lot of "if you"s at the end :)
[19:53:33] <chromas> Could make a smooth transition into a song lyric
[19:54:19] <chromas> "If you'd like", "If you have", "if you like to tell me maybe, just go ahead now, and if you want to buy me flowers, just go ahead now"
[19:54:19] <chromas> :D
[19:55:14] <Bytram> TYVM! going in
[19:57:45] <chromas> =yt two princes
[19:57:46] <systemd> https://youtube.com - Spin Doctors - Two Princes (04:20; 87,791,786 views; 👍497,469 👎14,705)
[19:57:58] <Bytram> chromas: how about now?
[19:58:12] <Bytram> https://soylentnews.org
[19:58:13] <systemd> ^ 03backSlash 19:58:12 = 19:58:12 GMT
[19:59:03] * Bytram liked your lyrics =)
[19:59:09] <Bytram> chromas++
[19:59:09] <Bender> karma - chromas: 182
[19:59:29] * chromas totally wrote them himself
[19:59:41] <chromas> Looks good to me
[19:59:47] * chromas twos it
[20:00:02] <Bytram> thanks so much!!!!!!!
[20:00:06] <Bytram> teamwork++
[20:00:06] <Bender> karma - teamwork: 258
[20:01:01] <chromas> whew, just in time
[20:01:16] <Bytram> who?
[20:01:30] <chromas> hm, with a little teamwork--, we can keep that karma in just the right spot :)
[20:01:57] <Bytram> I'm liking that!
[20:02:11] <Bytram> time to make a bite to eat; biab!
[20:02:26] <chromas> actually
[20:02:29] <chromas> teamwork--
[20:02:29] <Bender> karma - teamwork: 257
[20:02:30] <chromas> teamwork--
[20:02:30] <Bender> karma - teamwork: 256
[20:02:36] <chromas> now it's a nice...power of two
[20:02:48] <Bytram> two shay!
[21:40:10] -!- AzumaHazuki [AzumaHazuki!~hazuki@the.end.of.time] has joined #editorial
[22:36:35] * Bytram just updated Beg-o-Meter $1984.93 of $3,500 (56.7%) Last SPID: 1495; last ts: 2020-12-25 21:24:02