code logs -> 2019 -> Sat, 27 Jul 2019< code.20190726.log - code.20190728.log >
--- Log opened Sat Jul 27 00:00:46 2019
00:42 * McMartin looks at this code, starts breaking it in obvious ways
00:43
<&McMartin>
Re: Wordpress themes: I just shrugged and decided to go with the least offensive of the free themes.
00:53 Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has quit [Ping timeout: 121 seconds]
01:21 celmin|away is now known as celticminstrel
02:33 Pink [user1@Nightstar-g7hdo5.dyn.optonline.net] has quit [Ping timeout: 121 seconds]
02:42 Pink [user1@Nightstar-g7hdo5.dyn.optonline.net] has joined #code
04:13 * McMartin also looks at parser combinators in C
04:13
<&McMartin>
The MPC library looks more plausible than I'd expect, since ordinarily I would expect you to need proper closures for this to work.
04:14
<&McMartin>
They're stashing everything they need in ancillary context objects, as they should, but they've managed to hide that in the API pretty well.
05:38 Vorntastic [uid293981@Nightstar-6br85t.irccloud.com] has joined #code
05:38 mode/#code [+qo Vorntastic Vorntastic] by ChanServ
06:37 Kindamoody[zZz] is now known as Kindamoody
07:44
<@abudhabi>
I fucking hate macs.
07:44
<@abudhabi>
It's like trying to operate in a jail where the laws of physics are subtly altered just to mess with you.
08:12
<&McMartin>
Does something in particular bring this up
08:13
<&McMartin>
Not that I disagree
08:14
<@abudhabi>
I need to copy a large file from a mac to a windows.
08:14
<@abudhabi>
But apparently NTFS is not supported for writing, just reading.
08:15
<@abudhabi>
But FAT apparently is.
08:15
<&McMartin>
ISTR there is a thing you can install to get around that for NTFS, but I don't know how reliable it is.
08:15
<@abudhabi>
Well, I just formatted the USB stick with FAT.
08:15
<&McMartin>
Problem solved
08:15
<&McMartin>
Also means you don't have to worry about ntfsutils/fuse/captiventfs nonsense on Linux as well
08:15
<@abudhabi>
And I'm splitting the large file into 1GB parts.
08:16
<@abudhabi>
The next part of the exercise will be how to join those files up again on windows.
08:16
<&McMartin>
Have MSYS2 installed, use cat...?
08:17
<&McMartin>
I don't trust the gnuwin32 port of cat to respect binary mode >_<
08:18
<&McMartin>
Comedy option would be to scp the file to and then from a Pi~
08:18
<@abudhabi>
LiveUSB a Mint, mount the drive, join the files?
08:19
<&McMartin>
Well, assuming it's got working ntfswrite
08:19
<@abudhabi>
Is that part of ntfs-3g?
08:20
<&McMartin>
I... think so, but I don't remember which gen we're on for ntfs nonsense these days
08:20
<@abudhabi>
Because I was mounting NTFS disks last time around.
08:20
<&McMartin>
Yeah, but was it read-only, is the question, and that's what I don't remember
08:20
<@abudhabi>
That far I haven't checked.
08:21
<&McMartin>
ntfs3g does advertise being fully read-write
08:22
<&McMartin>
The Mac approach to writing NTFS seems Not Recommended https://www.howtogeek.com/236055/how-to-write-to-ntfs-drives-on-a-mac/
08:25 * McMartin ponders, goes to check a thing
08:27
<&McMartin>
Dammit. Not quite.
08:27
<&McMartin>
If you have Python installed implementing a cat-like script for it is like ten lines, though.
08:32
<&McMartin>
https://pastebin.ubuntu.com/p/CSQMBZ3m6N/
08:33
<&McMartin>
python cat.py part1.bin part2.bin part3.bin final.bin
08:33
<&McMartin>
No ">" there so that it can be sure to force binary mode everywhere.
08:34
<&McMartin>
Maybe to be safer about that replace the "wb" on line 8 with "xb"
08:34
<&McMartin>
(which will make it fail if the file exists because you forgot to set a destination, instead of trashing the last file)
08:41
<&McMartin>
If you don't have Python installed, I suggest installing Python 3 on Windows, as its Windows support far outstrips all other scripting languages widely used on Unixoids
08:42
<&McMartin>
The "dammit not quite" is that the command "copy part1.bin+part2.bin+part3.bin final.bin" mostly works, but it puts a ^Z at the end which means that it's doing textmode nonsense
08:46
<@abudhabi>
I'm gonna try the Mint liveUSB thing first.
08:46
<@abudhabi>
Since I already have that.
08:48
<&McMartin>
Aha
08:48
<&McMartin>
copy /b uses binary mode
08:49
<&McMartin>
so you can do copy /b part1+part2+part3+part4 assembled
09:40 Kindamoody is now known as Kindamoody|afk
10:59 Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has joined #code
10:59
<@abudhabi>
McMartin: That's Windows' copy command?
11:01
<~Vorntastic>
Yes
12:17
<@abudhabi>
Sweet, it worked.
12:39
<~Vorntastic>
Hit canes
12:39
<~Vorntastic>
Er. Hot cakes
12:43
<&[R]>
FYI: Filezilla has a Windows port. Filezilla supports sftp (SSH's ftp-like thing). Macs ship with SSH.
12:45
<&[R]>
My experience has been, if you're using something other than FTP or SSH for file transfer, you're going to have a headache
12:45
<&[R]>
Unless you go full retard and run a pure-Windows setup
13:01
<@abudhabi>
[R]: This Mac tends to overheat and die after an hour.
13:01
<@abudhabi>
I figured USB stick would be less prone to having to start over.
13:47 catalyst [Jessikat@Nightstar-5dv16h.cable.virginm.net] has joined #code
14:14 Kindamoody|afk is now known as Kindamoody
15:05 catalyst [Jessikat@Nightstar-5dv16h.cable.virginm.net] has quit [Connection closed]
15:29 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
15:29 mode/#code [+qo Vornicus Vornicus] by ChanServ
16:58
<&jerith>
IIRC, the problem with write-mode NTFS is that it's a proprietary filesystem and is underspecified in a number of impartant areas. Read is easier to implement than write because you don't have to worry about consistency, etc.
17:11 Kindamoody is now known as Kindamoody|afk
17:28 Vorntastic [uid293981@Nightstar-6br85t.irccloud.com] has quit [[NS] Quit: Connection closed for inactivity]
18:04 Kindamoody|afk is now known as Kindamoody
19:39 ErikMesoy [Bruker@Nightstar-idn3a6.bb.online.no] has quit [Operation timed out]
19:40 ErikMesoy [Bruker@Nightstar-idn3a6.bb.online.no] has joined #code
20:45 Kindamoody is now known as Kindamoody|afk
21:12 Kindamoody|afk is now known as Kindamoody
22:08 Kindamoody is now known as Kindamoody[zZz]
22:27 macdjord|slep [macdjord@Nightstar-rslo4b.mc.videotron.ca] has joined #code
22:27 mode/#code [+o macdjord|slep] by ChanServ
22:30 mac [macdjord@Nightstar-rslo4b.mc.videotron.ca] has quit [Ping timeout: 121 seconds]
22:32 mac [macdjord@Nightstar-rslo4b.mc.videotron.ca] has joined #code
22:32 mode/#code [+o mac] by ChanServ
22:36 macdjord|slep [macdjord@Nightstar-rslo4b.mc.videotron.ca] has quit [Ping timeout: 121 seconds]
23:07 Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has quit [Ping timeout: 121 seconds]
--- Log closed Sun Jul 28 00:00:48 2019
code logs -> 2019 -> Sat, 27 Jul 2019< code.20190726.log - code.20190728.log >

[ Latest log file ]