code logs -> 2020 -> Tue, 01 Dec 2020< code.20201130.log - code.20201202.log >
--- Log opened Tue Dec 01 00:00:45 2020
00:23 Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has quit [[NS] Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
00:25 Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has joined #code
00:25 mode/#code [+o Reiv] by ChanServ
00:26 Kindamoody is now known as Kindamoody[zZz]
01:42 Degi [Degi@Nightstar-519ls1.pool.telefonica.de] has quit [Operation timed out]
01:44 Degi [Degi@Nightstar-hj4m3l.pool.telefonica.de] has joined #code
03:16 catalyst [catalyst@Nightstar-ejd4sd.cable.virginm.net] has quit [[NS] Quit: -a- Connection Timed Out]
03:21 catalyst [catalyst@Nightstar-ejd4sd.cable.virginm.net] has joined #code
03:58 Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has quit [[NS] Quit: hoemtiem]
04:08 * McMartin sorts out a basic tamplate in Rust for Advent of Code.
04:08
<&McMartin>
*template
04:40 VirusJTG_ [VirusJTG@Nightstar-42s.jso.104.208.IP] has quit [Connection closed]
04:40 VirusJTG_ [VirusJTG@Nightstar-42s.jso.104.208.IP] has joined #code
05:18 Vorntastic [uid293981@Nightstar-h2b233.irccloud.com] has joined #code
05:18 mode/#code [+qo Vorntastic Vorntastic] by ChanServ
06:02 celticminstrel [celticminst@Nightstar-jls2aq.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
09:07 Emmy [Emmy@Nightstar-l49opt.fixed.kpn.net] has joined #code
09:07 Kindamoody[zZz] is now known as Kindamoody
09:14 catalyst [catalyst@Nightstar-ejd4sd.cable.virginm.net] has quit [Ping timeout: 121 seconds]
09:15 catalyst [catalyst@Nightstar-cgav79.dab.02.net] has joined #code
09:23 catalyst_ [catalyst@Nightstar-ejd4sd.cable.virginm.net] has joined #code
09:25 catalyst [catalyst@Nightstar-cgav79.dab.02.net] has quit [Ping timeout: 121 seconds]
10:58 FLHerne [flh@Nightstar-6tv.748.10.86.IP] has joined #code
13:08 FLHerne [flh@Nightstar-6tv.748.10.86.IP] has quit [Operation timed out]
13:49 Kindamoody is now known as Kindamoody|afk
14:11 celticminstrel [celticminst@Nightstar-jls2aq.dsl.bell.ca] has joined #code
14:11 mode/#code [+o celticminstrel] by ChanServ
14:28 FLHerne [flh@Nightstar-6tv.748.10.86.IP] has joined #code
15:06 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
15:06 mode/#code [+qo Vornicus Vornicus] by ChanServ
16:47 Vorntastic [uid293981@Nightstar-h2b233.irccloud.com] has quit [[NS] Quit: Connection closed for inactivity]
18:21 catalyst [catalyst@Nightstar-s3rl7k.dab.02.net] has joined #code
18:24 catalyst_ [catalyst@Nightstar-ejd4sd.cable.virginm.net] has quit [Ping timeout: 121 seconds]
18:44 Kindamoody|afk is now known as Kindamoody
19:12 VirusJTG_ [VirusJTG@Nightstar-42s.jso.104.208.IP] has quit [[NS] Quit: Leaving]
19:12 VirusJTG [VirusJTG@Nightstar-42s.jso.104.208.IP] has joined #code
19:12 mode/#code [+ao VirusJTG VirusJTG] by ChanServ
19:22 catalyst [catalyst@Nightstar-s3rl7k.dab.02.net] has quit [Ping timeout: 121 seconds]
19:23 catalyst [catalyst@Nightstar-hr17iu.dab.02.net] has joined #code
20:09
<&jerith>
What with all the work stuff going on at the moment, I completely forgot about AoC.
20:10
<&jerith>
Fortunately I remembered before going to bed, so day 1 completed during day 1. :-D
20:12 * [R] wonders if sysadvent is going on this yet
20:12
<&[R]>
Does not seem to be
20:14
< Yossarian>
I have a newb question about accessing libraries in C, C++, or other languages. Like, I know how to access curses or whatever... /usr/lib has .so files and /usr/include has .h files
20:14
<&[R]>
`ncursesw6-config --cflags` on compile `ncursesw6-config --libs` on link
20:15
<&[R]>
Those will output the compiler/linker flags needed
20:15
< Yossarian>
if for example, so I see an include like curses.h, let's assume there is no documentation, is it possible to work out the functions by reading the header?
20:15
<&[R]>
If a thing doesn't have their own -config program, then it's probably handled by pkg-config
20:15
<&[R]>
You'd see the function prototypes
20:16
<&[R]>
But there's a possibility there's "noise" in that which isn't helpful to you
20:57 * [R] just quoted a 4500$ job
20:57
<&[R]>
wee
21:00
< Yossarian>
congrats
21:19 FLHerne [flh@Nightstar-6tv.748.10.86.IP] has quit [Ping timeout: 121 seconds]
21:45 FLHerne [flh@Nightstar-6tv.748.10.86.IP] has joined #code
22:46
<&ToxicFrog>
Yossarian: reading the header will get you the function declarations (and any public typedefs and stuff). It won't tell you anything about what those functions do under the hood, or even which library to link against.
22:47
<&ToxicFrog>
Once you figure out the right library you can use a debugger/disassembler to crowbar it open, if you like, although if source code is available looking for that first is a better option.
23:16 FLHerne [flh@Nightstar-6tv.748.10.86.IP] has quit [Operation timed out]
23:25 Emmy [Emmy@Nightstar-l49opt.fixed.kpn.net] has quit [Ping timeout: 121 seconds]
--- Log closed Wed Dec 02 00:00:46 2020
code logs -> 2020 -> Tue, 01 Dec 2020< code.20201130.log - code.20201202.log >

[ Latest log file ]