code logs -> 2016 -> Sat, 09 Jan 2016< code.20160108.log - code.20160110.log >
--- Log opened Sat Jan 09 00:00:06 2016
00:19 thalass [thalass@Nightstar-283.o7s.158.104.IP] has quit [Ping timeout: 121 seconds]
00:27 thalass [thalass@Nightstar-283.o7s.158.104.IP] has joined #code
00:27 mode/#code [+o thalass] by ChanServ
00:27 Emmy-Out [M@Nightstar-9p7hb1.direct-adsl.nl] has quit [Ping timeout: 121 seconds]
00:32 thalass [thalass@Nightstar-283.o7s.158.104.IP] has quit [Ping timeout: 121 seconds]
00:45 * McMartin mainlines Objective-C documentation
00:45
<&McMartin>
Apple is not terrible at tutorials, but they're absolutely awful at references.
00:57 Derakon [chriswei@Nightstar-5mvs4e.ca.comcast.net] has quit [[NS] Quit: leaving]
00:57 Derakon[AFK] is now known as Derakon
02:05 ion [Owner@Nightstar-3cu28l.vs.shawcable.net] has quit [Ping timeout: 121 seconds]
02:09 ion [Owner@Nightstar-3cu28l.vs.shawcable.net] has joined #code
02:25 catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has quit [[NS] Quit: ]
02:30 catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code
03:27
< catalyst>
all of the rust executables I compile just hang without me able to kill them
03:27
< catalyst>
:<
03:58
<&McMartin>
:(
03:58
<&McMartin>
What platform?
04:00
< catalyst>
windows 7
04:00
< catalyst>
this wasn't happening before
04:04 catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has quit [[NS] Quit: ]
05:13 Derakon is now known as Derakon[AFK]
05:23 Kindamoody[zZz] is now known as Kindamoody
06:09 Turaiel is now known as Turaiel[Offline]
06:11 Crossfire [Z@Nightstar-pdi1tp.customer.tdc.net] has quit [Ping timeout: 121 seconds]
06:45 celticminstrel [celticminst@Nightstar-uce74q.dsl.bell.ca] has quit [[NS] Quit: KABOOM! It seems that I have exploded. Please wait while I reinstall the universe.]
06:50 himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Connection closed]
07:01 Vash [Vash@Nightstar-3k0.aju.20.72.IP] has joined #code
07:01 mode/#code [+o Vash] by ChanServ
07:01 Vash is now known as Vash|Vorn
07:14 himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code
07:14 mode/#code [+o himi] by ChanServ
07:55
<&McMartin>
Okay
07:55
<&McMartin>
I think it's now theoretically possible that I can write useful code in Objective-C linking against iOS and/or OSX core libraries.
08:24 macdjord is now known as macdjord|slep
08:41 Kindamoody is now known as Kindamoody|out
09:28
<@abudhabi>
Hm.
09:28
<@abudhabi>
How do I write an adblock filter rule that looks for the LACK of a specific class?
09:29
<@abudhabi>
I mean, I want to filter out class="foo bar baz" but not class="foo bar baz derp".
09:35
<@[R]>
Wild guess (never played with those filters) but !derp?
09:36
<@[R]>
Oh, they're CSS selectors?
09:37
<@[R]>
abudhabi: https://developer.mozilla.org/en-US/docs/Web/CSS/%3Anot
09:41
<@abudhabi>
Yeah, most likely CSS.
09:41
<@abudhabi>
I'm not sure how to use that?
09:41
<@[R]>
Ad-block documentation explicitly stated it uses CSS selectors.
09:41
<@[R]>
What does the rule look like right now?
09:41
<@abudhabi>
Hmmm.
09:42
<@abudhabi>
Is there a good tutorial out there for adblock filters? The hits I get on google are difficult to understand.
09:42
<@[R]>
You don't have a rule at all right now?
09:42
<@[R]>
https://adblockplus.org/filters#elemhide_basic
09:44
<@abudhabi>
I sortof have a filter.
09:44
<@abudhabi>
###itemsStream > .iC.link:nth-of-type(n) > .preview.clearfix.article
09:46
<@abudhabi>
Those at the end are the three classes.
09:46
<@abudhabi>
I want filter out those, but not if they are accompanied by "dC".
09:46
<@[R]>
At which point is the dC class?
09:47
<@abudhabi>
Last thing in the same class= string.
09:47
<@[R]>
Okay, so just append :not(.dC)
09:48
<@abudhabi>
Sweet, thank you!
09:48
<@[R]>
Do you know how to read that rule BTW?
09:48 * [R] can explain it if you want
09:49
<@[R]>
Only two parts I don't understand are ###itemsStream and :nth-of-type(n)
09:49
<@abudhabi>
Sort of. It seems to be traversing stuff starting at itemsStream (that an id?), then the children thereof with the classes iC and link:whatever then children of that with classes preview, etc.
09:49
<@[R]>
Yeah
09:50
<@[R]>
.one.two means match an element with the "one" class and the "two" class. .one > .two means match something with the "two" class that's inside something with the "one" class.
09:51
<@[R]>
Other than that, it's basic chaining.
09:51
<@abudhabi>
Cool.
09:51
<@Vash|Vorn>
.one.two is a single element that has both classes; .one > .two is a .two element that is a direct child of a .one; .one .two is a two element that is at some point a descendent of a .one
09:51
<@[R]>
If you see something like div.one that means match a <div> that has the "one" class.
09:52
<@[R]>
Yeah
09:52
<@abudhabi>
The filter is part of my ongoing tweaking of my user experience at http://www.wykop.pl/ (Polish Digg, essentially). I removed comment vote counters and now sponsored ads.
09:53
<@[R]>
#name matches something that's id="name", div#name.class IIRC is how that all gets added together.
09:53
<@[R]>
Also, not sure if AdBlock inherits the specificity rule, but the most specific rule wins in the event of collisions.
09:55
<@abudhabi>
I'm actually using uBlock, but it uses the same rule syntax, AFAIK.
09:55
<@[R]>
If you've used jQuery, it also runs on CSS selectors BTW.
09:56
<@[R]>
Which may or may not help with debugging
10:00 Emmy-Out [M@Nightstar-9p7hb1.direct-adsl.nl] has joined #code
10:02
<@[R]>
:nth-of-type(n) seems to do nothing
10:02
<@[R]>
At least from the documentation of :nth-of-type
10:04
<@abudhabi>
It works, though. I'm not arguing why it works. :V
10:05
<@[R]>
I mean it's redundant
10:05
<@abudhabi>
That it might be. I just generalized it from a specific number.
10:05
<@[R]>
It's basically every element evenly divisible by 1.
10:06
<@[R]>
Since 2n is every even element (IE: every second) and 3n is every 3rd element.
10:08 Vash|Vorn [Vash@Nightstar-3k0.aju.20.72.IP] has quit [Connection closed]
12:20 gnolam [lenin@Nightstar-t2vo1j.tbcn.telia.com] has joined #code
12:20 mode/#code [+o gnolam] by ChanServ
12:30 Emmy-Out [M@Nightstar-9p7hb1.direct-adsl.nl] has quit [Ping timeout: 121 seconds]
14:02 catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code
14:57 catadroid [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has quit [Connection reset by peer]
16:18 Netsplit *.net <-> *.split quits: @PinkFreud
16:19 Crossfire [Z@Nightstar-r9lk5l.cust.comxnet.dk] has joined #code
16:24 Kindamoody|out is now known as Kindamoody
17:34 PinkFreud [WhyNot@NetworkAdministrator.Nightstar.Net] has joined #code
17:34 ServerMode/#code [+o PinkFreud] by *.Nightstar.Net
17:34 mode/#code [+o Crossfire] by ChanServ
17:43 celticminstrel [celticminst@Nightstar-uce74q.dsl.bell.ca] has joined #code
17:43 mode/#code [+o celticminstrel] by ChanServ
18:29 Kindamoody is now known as Kindamoody[zZz]
20:09 Turaiel[Offline] is now known as Turaiel
21:00 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [Connection closed]
21:06 Crossfire [Z@Nightstar-r9lk5l.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
21:09 Derakon[AFK] is now known as Derakon
21:53 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code
22:35 Crossfire [Z@Nightstar-pdi1tp.customer.tdc.net] has joined #code
22:35 mode/#code [+o Crossfire] by ChanServ
23:11 Kindamoody[zZz] is now known as Kindamoody
--- Log closed Sun Jan 10 00:00:22 2016
code logs -> 2016 -> Sat, 09 Jan 2016< code.20160108.log - code.20160110.log >

[ Latest log file ]