code logs -> 2018 -> Sat, 09 Jun 2018< code.20180608.log - code.20180610.log >
--- Log opened Sat Jun 09 00:00:59 2018
00:06 Marjo_ [Martin@Nightstar-9cmf82.se.alltele.net] has joined #code
00:18 Degi [Degi@Nightstar-otqivl.dyn.telefonica.de] has joined #code
00:18 mac [macdjord@Nightstar-grpbnp.mc.videotron.ca] has joined #code
00:18 mode/#code [+o mac] by ChanServ
00:21 macdjord [macdjord@Nightstar-grpbnp.mc.videotron.ca] has quit [Ping timeout: 121 seconds]
00:52 celticminstrel [celticminst@Nightstar-jocbi5.dsl.bell.ca] has joined #code
00:53 mode/#code [+o celticminstrel] by ChanServ
00:59 Vornotron [Vorn@Nightstar-sjaki9.res.rr.com] has joined #code
00:59 mode/#code [+qo Vornotron Vornotron] by ChanServ
01:28 Derakon[AFK] is now known as Derakon
02:03 Degi [Degi@Nightstar-otqivl.dyn.telefonica.de] has quit [Connection closed]
02:58 mac [macdjord@Nightstar-grpbnp.mc.videotron.ca] has quit [[NS] Quit: Pie Jesu Domine (*thunk*), Donna Eis Requiem (*thunk*).]
03:57
<&[R]>
I want to build some FOSS software on my Mac (music player daemon specifically), what's the generally accepted means of getting a compiler for that purpose?
04:22
<&McMartin>
Install Xcode from the app store, start it once, when it asks you to let it install the commandline components, permit it
04:22
<&McMartin>
This will get you a fully up-to-date version of Clang and the macOS SDKs.
04:23
<&McMartin>
Clang also includes a bunch of aliases to gcc, g++, etc that will do any necessary compat-mode silliness.
04:38 macdjord [macdjord@Nightstar-grpbnp.mc.videotron.ca] has joined #code
04:38 mode/#code [+o macdjord] by ChanServ
04:38
<&[R]>
Cool
04:39
<&McMartin>
There is Additional Ugliness if you want to build something outside of Xcode that you want to distribute as a binary to run on other people's Macs, but it sounds like you don't need that.
04:39
<&[R]>
Nope
04:40
<&[R]>
Just want to have an mpd instance on my network
04:40
<&McMartin>
Sounds good
04:40
<&McMartin>
brew might actually help you, there, too
04:40
<&McMartin>
brew fucks up your ability to compile for other systems but it's lovely on your own
04:40
<&[R]>
That's what I'd have looked into otherwise
04:43 Vornotron [Vorn@Nightstar-sjaki9.res.rr.com] has quit [Ping timeout: 121 seconds]
04:44
<&[R]>
Time to sign up for the Apple Store I guess
04:48 Vorntastic [uid293981@Nightstar-6br85t.irccloud.com] has joined #code
05:09
<&[R]>
Oh right
05:10
<&[R]>
I can't because the App Store glitches out at sign-up
05:22
<@celticminstrel>
XD
05:23
<@celticminstrel>
How does brew do this exactly
05:28
<&McMartin>
https://xkcd.com/1987/
05:28
<&McMartin>
Like this but for DLL search paths
05:29
<&McMartin>
In fact very literally like this; a bunch of the items on that graph are real things brew intrudes into your environment
05:32
<&[R]>
... and my SSL library doesn't understand TLS1 so I can't install homebrew either
05:32
<&[R]>
Weeeee
05:33
<&McMartin>
hoorj
05:33
<&McMartin>
which version of macOS is this
05:33
<&[R]>
One of them is in fact "Homebrew Python (2.7)"
05:33
<&McMartin>
Yeah, and all the Cellar stuff is a brew thing
05:34
<&[R]>
12.6.0 Darwin Kernel Version 12.6.0: Wed Mar 18 16:23:48 PDT 2015; root:xnu-2050.48.19~1/RELEASE_X86_64 x86_64
05:35
<&McMartin>
... is that Sierra?
05:35
<&[R]>
How do I check?
05:35
<&McMartin>
I have no idea how to map those to actual OS versions
05:35
<&McMartin>
I'd go to "About this Mac" from the apple menu in the upper left
05:35
<&McMartin>
Where there woul dbe something like a "macOS 10.13.5 (High Sierra)" or similar
05:36
<&[R]>
And it's not Sierra, that's what the App Store is offering to upgrade me to.
05:36
<&McMartin>
10.13 High Sierra is the latest edition
05:37
<&[R]>
10.8.5
05:37
<&McMartin>
... that is quite a distance
05:37
<&McMartin>
Yes, that will cause problems
05:38
<&McMartin>
That's been out of support for approximately three years.
05:38
<&[R]>
So I have the last kernel they compiled for this version it seems
05:39
<&McMartin>
So yeah, you are running "Mountain Lion"
05:43 Derakon is now known as Derakon[AFK]
05:50
<@celticminstrel>
Don't really get that xkcd...
05:51
<&[R]>
Python likes to have code in many, many places
05:51
<@celticminstrel>
You can also download Xcode from the Apple developer site if you have a dev account.
05:51
<&[R]>
Throw homebrew and virtualenv into the equation and it just multiplies
05:51
<@celticminstrel>
It's how I managed to get the last revision of Xcode 4 when the latest was 5 or 6.
05:52
<&[R]>
A dev account sounds like it might be tied to an Apple ID
05:52
<@celticminstrel>
I think so, yeah.
05:52
<&[R]>
Remember: half of my issue is I don't have one, and signing up for one FAILS
05:52
<@celticminstrel>
Ah.
05:52
<@celticminstrel>
Okay then.
05:52
<@celticminstrel>
Did you try signing up for one on the website though or only from within an app?
05:55
<&[R]>
I tried to find out how from apple.com, ended up setting up an appointment for support to call me. Just googled "Apple ID" and found the creation page.
05:55
<&[R]>
Why there wasn't a clear way to do that from the home page is beyond me
05:58
<&[R]>
FFFFUCK
05:58
<&[R]>
Okay, so I have an Apple ID now
05:58
<&[R]>
I put it in, and the App Store asks me for more personal information
05:59
<&[R]>
I give it all that shit, and then once I put in my address I get the same error as before
05:59
<&[R]>
D:
06:00 celticminstrel [celticminst@Nightstar-jocbi5.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
06:00 celticminstrel [celticminst@Nightstar-jocbi5.dsl.bell.ca] has joined #code
06:00 mode/#code [+o celticminstrel] by ChanServ
06:02
<&[R]>
Rebooked the apple support appointment
06:07
<&[R]>
Half tempted to see if I could get Linux on it. But that kind of defeats the purpose of why I have it.
06:16 macdjord is now known as macdjord|slep
07:18 Vornotron [Vorn@Nightstar-sjaki9.res.rr.com] has joined #code
07:18 mode/#code [+qo Vornotron Vornotron] by ChanServ
07:24 Vornotron [Vorn@Nightstar-sjaki9.res.rr.com] has quit [Ping timeout: 121 seconds]
09:09 Kindamoody|autojoin [Kindamoody@Nightstar-rfpfgp.mobileonline.telia.com] has quit [Connection closed]
10:38 Vornotron [Vorn@Nightstar-sjaki9.res.rr.com] has joined #code
10:38 mode/#code [+qo Vornotron Vornotron] by ChanServ
11:06 M4rjo [Martin@Nightstar-9cmf82.se.alltele.net] has joined #code
11:09 Marjo_ [Martin@Nightstar-9cmf82.se.alltele.net] has quit [Ping timeout: 121 seconds]
12:01 Kindamoody|autojoin [Kindamoody@Nightstar-rfpfgp.mobileonline.telia.com] has joined #code
12:01 mode/#code [+o Kindamoody|autojoin] by ChanServ
12:55 Alek [Alek@Nightstar-o723m2.cicril.sbcglobal.net] has quit [Ping timeout: 121 seconds]
12:58 Alek [Alek@Nightstar-o723m2.cicril.sbcglobal.net] has joined #code
12:58 mode/#code [+o Alek] by ChanServ
13:03 Kindamoody|autojoin [Kindamoody@Nightstar-rfpfgp.mobileonline.telia.com] has quit [Ping timeout: 121 seconds]
14:55
<&[R]>
Yay! Apple fixed something with my account and it works now
14:58
<&[R]>
+p
14:58
<@TheWatcher>
\o/
14:59
<&[R]>
THE UPDATENING
15:00
<@TheWatcher>
Good luck!
15:21
<@celticminstrel>
I cannot believe that there is literally no way to disable USB wake on a Mac. Windows offers it as an option and can run on the exact same hardware.
15:21 M4rjo [Martin@Nightstar-9cmf82.se.alltele.net] has quit [Connection closed]
15:22 Marjo_ [Martin@Nightstar-9cmf82.se.alltele.net] has joined #code
15:23 Marjo_ [Martin@Nightstar-9cmf82.se.alltele.net] has quit [Connection closed]
15:25 Marjo_ [Martin@Nightstar-9cmf82.se.alltele.net] has joined #code
15:25 Marjo_ [Martin@Nightstar-9cmf82.se.alltele.net] has quit [Connection closed]
15:26 Marjo_ [Martin@Nightstar-9cmf82.se.alltele.net] has joined #code
15:36
<@celticminstrel>
The only thing I can find though talks about editing something about DSDT and SSDT and I have no idea what that is or if I even have it.
15:38
<@celticminstrel>
(It seems to be a hackintosh forum.)
15:40
<@celticminstrel>
(So I figure they probably know what they're talking about, but in a way that's the problem.)
15:41
<&ToxicFrog>
celticminstrel: Secondary System Descriptor Table and Differentiated System Descriptor Table, parts of ACPI that define how the system responds to various power/input events.
15:41
<&ToxicFrog>
Presumably it's possible to flash a new DSDT or SSDT onto the motherboard that disables wake-on-USB that way.
15:42
<@celticminstrel>
So it's not something that I can really do myself easily then, probably...
15:42
<@celticminstrel>
(The reason I'm not sure I have it is because the posts are too new and my Mac is too old.)
15:45
<@celticminstrel>
(They seem to be posting something that looks like code but I suspect that may not be relevant to 10.7.)
15:47
<@celticminstrel>
...apparently my computer doesn't comply with EU safety laws... o.O
15:48
<@celticminstrel>
Oh, not in too bad a way though.
15:58 Marjo_ [Martin@Nightstar-9cmf82.se.alltele.net] has quit [Connection closed]
16:07 Marjo [Martin@Nightstar-9cmf82.se.alltele.net] has joined #code
16:29 Marjo [Martin@Nightstar-9cmf82.se.alltele.net] has quit [Connection closed]
16:29 Marjo [Martin@Nightstar-9cmf82.se.alltele.net] has joined #code
16:30 Marjo [Martin@Nightstar-9cmf82.se.alltele.net] has quit [Connection closed]
16:30 Marjo [Martin@Nightstar-9cmf82.se.alltele.net] has joined #code
16:55 Kindamoody|autojoin [Kindamoody@Nightstar-v3ni3l.mobileonline.telia.com] has joined #code
16:56 mode/#code [+o Kindamoody|autojoin] by ChanServ
17:08 Vorntastic [uid293981@Nightstar-6br85t.irccloud.com] has quit [[NS] Quit: Connection closed for inactivity]
17:45 Vornotron [Vorn@Nightstar-sjaki9.res.rr.com] has quit [Ping timeout: 121 seconds]
17:51 Kindamoody|autojoin is now known as Kindamoody
18:03 Vornotron [Vorn@Nightstar-sjaki9.res.rr.com] has joined #code
18:04 mode/#code [+qo Vornotron Vornotron] by ChanServ
18:07 Kindamoody is now known as Kindamoody|afk
18:10
<@celticminstrel>
Pretty sure I've asked this before but WTH is "wired" memory and why could my code be leaking it...
18:11
<&ToxicFrog>
...what's the context?
18:11
<&ToxicFrog>
I've never heard that term before.
18:12
<@celticminstrel>
It's displayed in the Activity Monitor.
18:14
<&ToxicFrog>
first hit for [OSX wired memory]: https://apple.stackexchange.com/questions/31801/what-is-wired-memory
18:14
<&ToxicFrog>
tl;dr it's memory allocated by the kernel for things like page tables, the process/threat table, etc
18:14
<@celticminstrel>
After my game runs for awhile it gets up to like 2.5GB. Normally, it's pretty stable at around 500MB.
18:15
<@celticminstrel>
Not a priority to fix it but I do need to deal with it eventually...
18:19
<&ToxicFrog>
I don't know enough about the OSX kernel to offer suggestions, sadly.
18:31
<@celticminstrel>
None of this seems to leave any clue as to why it might be leaking.
18:32
<@celticminstrel>
Unless a memory leak in general leads to more wired memory to track it or something.
18:34
<&ToxicFrog>
It might, but I'd expect it to be really low overhead.
18:34
<&ToxicFrog>
Could you be leaking threads or file descriptors or subprocesses?
18:34
<@celticminstrel>
Not subprocesses.
18:34
<@celticminstrel>
Unsure on threads or file descriptors.
18:34
<@celticminstrel>
It doesn't seem likely but it's something I could try to investigate.
18:35
<@celticminstrel>
IIRC I'm using threads only in one place though and only for a short time on startup.
18:35
<@celticminstrel>
(That's not counting threads for audio and such that are set up by libraries.)
18:35
<@celticminstrel>
If it's threads I should be able to check in the debugger since that lists all the threads...
18:43 celticminstrel is now known as celmin|away
19:02 Kindamoody|afk is now known as Kindamoody
20:26
<&[R]>
17.6.0 Darwin Kernel Version 17.6.0: Tue May 8 15:22:16 PDT 2018; root:xnu-4570.61.1~1/RELEASE_X86_64 x86_64
20:45 Derakon [Derakon@Nightstar-fr5qel.ca.comcast.net] has joined #code
20:45 mode/#code [+ao Derakon Derakon] by ChanServ
20:47 celmin|away is now known as celticminstrel
20:48 Derakon[AFK] [Derakon@Nightstar-fr5qel.ca.comcast.net] has quit [Ping timeout: 121 seconds]
21:38 Kindamoody is now known as Kindamoody|afk
21:44
<&ToxicFrog>
I find myself in the unfortunate position of needing to reimplement a subset of rsync using nothing but ssh, sh, tar, and busybox.
21:45
<&[R]>
Why can't you run rsync itself?
21:46
<&ToxicFrog>
Because the target system doesn't have rsync (or scp/sftp support, or I'd just use that)
21:46
<&[R]>
scp should work
21:46
<&ToxicFrog>
And this sounds like only marginally more work and much more fun than figuring out how to cross-compile rsync and all of its dependencies for the Kobo.
21:46
<&[R]>
Since it just uses commands
21:46
<&ToxicFrog>
scp is not supported by dropbear-sshd
21:46
<&ToxicFrog>
Or rather
21:46
<&[R]>
sftp is an entirely separate thing though
21:46
<&ToxicFrog>
sftp is not, and dropbear doesn't come with /usr/bin/scpo
21:48
<&ToxicFrog>
Trust me when I say I have done some minimal amount of research. dropbear does not have built in support for sftp, and koreader does not include the separate binaries needed to support any of scp, sftp, or rsync.
21:53
<&ToxicFrog>
There is no intrinsic reason why it couldn't, but I already have too many cross-compilers installed already.
22:00
<&ToxicFrog>
Oh god, sh on my local machine is aliased to bash, but I'm pretty sure sh on the other machine is either Bourne shell or an alias to busybox ash
22:00
<&ToxicFrog>
I bet there's at least one very spicy incompatibility between ash and bash's POSIX emulation mode
22:02
<&[R]>
Can you install dash?
22:02
<&[R]>
Or zsh?
22:02
<&[R]>
On your local machine
22:08
<&ToxicFrog>
Yes, but that doesn't help because I also have to execute code on the remote machine
22:10
<&ToxicFrog>
Unless you're suggesting running the entire command script locally and just executing find/stat/tar/etc on the remote
22:11
<&ToxicFrog>
I'm not sure if that would be better or worse; it would simplify implementation but might do bad things to performance.
22:11
<&ToxicFrog>
(or well, it would do bad things to performance, the question is how bad)
22:19
<&[R]>
No, I'm suggesting using those to find bashisms
22:24
<&ToxicFrog>
Aah
22:24
<&ToxicFrog>
I do all my development in zsh normally, but it's 99% a superset of bash, so it's not really helpful for this.
22:30
<&[R]>
It should have a different sh compatability mode though
22:32
<&[R]>
Hmm, found a data.data file on my Mac
22:32
<&[R]>
xxd shows it has what looks like a few records, with no file header. I see each "record" start with NSCR0006
22:32
<&[R]>
Any ideas?
22:35
<&ToxicFrog>
NSCR is the magic for Nintendo DS screen resource data, but the following 0006 isn't a valid headr
22:45 macdjord|slep is now known as macdjord
22:52 Marjo [Martin@Nightstar-9cmf82.se.alltele.net] has quit [Connection closed]
22:53 Marjo [Martin@Nightstar-9cmf82.se.alltele.net] has joined #code
22:53 crystalclaw [crystalclaw@Nightstar-12q9ui.xyz] has quit [Ping timeout: 121 seconds]
22:55 crystalclaw [crystalclaw@Nightstar-12q9ui.xyz] has joined #code
22:55 mode/#code [+o crystalclaw] by ChanServ
22:59 crystalclaw [crystalclaw@Nightstar-12q9ui.xyz] has quit [Ping timeout: 121 seconds]
23:03 Marjo [Martin@Nightstar-9cmf82.se.alltele.net] has quit [Connection closed]
23:03 crystalclaw [crystalclaw@Nightstar-12q9ui.xyz] has joined #code
23:03 mode/#code [+o crystalclaw] by ChanServ
23:03 Marjo [Martin@Nightstar-9cmf82.se.alltele.net] has joined #code
23:09 Marjo is now known as M4rjo
23:26 Kindamoody|afk is now known as Kindamoody
23:40
<&[R]>
Trying to figgure out plan9port's filesystem stuff. Supposedly plan9 had some kind of "all systems are part of one big whole" thing, but I'm not seeing how that was setup. Does plan9port not support that? Is Venti the only distributed FS it supports?
23:59 Kindamoody is now known as Kindamoody[zZz]
--- Log closed Sun Jun 10 00:00:00 2018
code logs -> 2018 -> Sat, 09 Jun 2018< code.20180608.log - code.20180610.log >

[ Latest log file ]