code logs -> 2017 -> Sun, 10 Sep 2017< code.20170909.log - code.20170911.log >
--- Log opened Sun Sep 10 00:00:52 2017
00:34 ion_ [Owner@Nightstar-gmbj85.vs.shawcable.net] has joined #code
00:34 Jessikat [Jessikat@Nightstar-n8g12e.dab.02.net] has joined #code
00:38 ion_ [Owner@Nightstar-gmbj85.vs.shawcable.net] has quit [Ping timeout: 121 seconds]
01:16 RchrdB [RchrdB@Nightstar-qe9.aug.187.81.IP] has quit [Ping timeout: 121 seconds]
02:40
<&[R]>
https://www.reddit.com/r/sysadmin/comments/6z2y4d/the_pin_issued_by_equifax_when _you_freeze_your/
03:00 Jessikat` [Jessikat@Nightstar-o16g7k.dab.02.net] has joined #code
03:01 Jessikat [Jessikat@Nightstar-n8g12e.dab.02.net] has quit [Ping timeout: 121 seconds]
03:14
<&McMartin>
I have a sinking feeling that awk is actually the best tool for me to use for this minor task
03:14
<&McMartin>
But some ancient secrets are best left unplumbed.
03:16
<&[R]>
$ xxd /dev/urandom | head | cut -d \ -f 2-9 | tr -d \ # Ten random hexidecimal passwords (I use this fairly often)
03:16
<&[R]>
I could probably replace the cut+tr with awk, but meh
03:17
<&ToxicFrog>
There are a lot of things that could be replaced with awk but are more clear as a chain of cut, paste, grep, and tr
03:17
<&McMartin>
I'm looking for a sort/uniq of every call in a C program that starts with a certain prefix.
03:17
<&McMartin>
For which grep is a decent start, but then I need to do the "extract the capture" and "maybe more than one per line" bits
03:18
<&ToxicFrog>
"extract the capture" is grep -p
03:18
<&ToxicFrog>
Er
03:18
<&ToxicFrog>
grep -o
03:18
<&McMartin>
Oho!
03:18
<&ToxicFrog>
And if there's more than one match per line it outputs all of them on separate lines
03:18
<&McMartin>
A trick I did not previous know
03:18
<&McMartin>
Even better!
03:19
<&McMartin>
Yeah, that's just grep -o | sort | uniq then
03:19
<&McMartin>
cheers
03:19
<&[R]>
I find that just randomly going through the core-utils man pages every so often is useful if you use them with any regulariy
03:19
<&[R]>
sort -u
03:19
<&[R]>
:p
03:20 * McMartin stage-whispers, "I don't"
03:20
<&ToxicFrog>
Or, depending on what you want, | sort
03:20
<&ToxicFrog>
Or, depending on what you want, | sort | uniq -c | sort -g
03:20
<&ToxicFrog>
Which will uniqify and then order by number of occurrences.
03:21 * ToxicFrog /sbin/slep
03:55
<&[R]>
https://qz.com/1073221/the-hackers-who-broke-into-equifax-exploited-a-nine-year- old-security-flaw/ <-- RoR's YAML parser, round 2. Networked edition.
04:08
<~Vornicus>
A couple years back I did business credit report collection from a couple of companies for a website - Experian and Equifax were the big ones. The difference was very interesting: Experian wanted data flow information and so forth to show that we were correctly connecting to them (including full certificate verification) and correctly storing and securing the resulting data. Equifax didn't bother asking at all.
04:13 Degi [Degi@Nightstar-ln7ajd.dyn.telefonica.de] has quit [[NS] Quit: Leaving]
04:39
<&Derakon>
Hooray, mapgen is deterministic.
04:39
<&Derakon>
Finally tracked down the last source of undefined ordering; my Path class had not implemented __cmp__, so even though I was sorting a list of Paths before iterating over it, the sort was just going by their object IDs.
04:39
<~Vornicus>
Hooray
04:40
<~Vornicus>
That would do it.
04:52
<&Derakon>
So that's four days' of hobby time down the drain fixing that whole mess.
04:53
<&Derakon>
When it comes to programming, take my advice: don't make mistakes.
04:53
<&Derakon>
They're not worth it~
05:39 Derakon is now known as Derakon[AFK]
06:02 celticminstrel [celticminst@Nightstar-pqopqb.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
07:10 * McMartin in his role as wielding l33t r3tr0 sk1llz installs Wheezy into a VM.
07:11
<&McMartin>
These are more sad retro skills.
08:02 Kindamoody[zZz] is now known as Kindamoody
08:14 * McMartin watches gcc 4.7 segfault. Good times, good times.
08:29
< Jessikat`>
That's what you want from a compiler
08:29 Jessikat` is now known as Jessikat
08:30
<&McMartin>
What I really want is for big messy libraries to automatically document what the minimum version of itself is that will successfully link to your client code
08:30 * McMartin hacks around the segfault and confirms what he came to test.
09:30 Jessikat` [Jessikat@Nightstar-3qnqu7.dab.02.net] has joined #code
09:33 Jessikat [Jessikat@Nightstar-o16g7k.dab.02.net] has quit [Ping timeout: 121 seconds]
09:39 Kindamoody [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has quit [Client exited]
09:44 Kindamoody|autojoin [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has joined #code
09:44 mode/#code [+o Kindamoody|autojoin] by ChanServ
09:47 Kindamoody|autojoin is now known as Kindamoody
10:12 RchrdB [RchrdB@Nightstar-qe9.aug.187.81.IP] has joined #code
10:19
<&McMartin>
Success!
10:20 * McMartin fiddles with alternate API usage, drops the library requirement by 20 minor versions. https://www.dropbox.com/s/calvc54iuoflvjz/omg_wheezy.png?dl=0
10:41 Kindamoody is now known as Kindamoody|afk
11:10 macdjord|slep is now known as macdjord
11:30 Degi [Degi@Nightstar-ln7ajd.dyn.telefonica.de] has joined #code
11:55 Jessikat [Jessikat@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code
12:38 ToxicFrog [ToxicFrog@Nightstar-our0up.cpe.teksavvy.com] has quit [Ping timeout: 121 seconds]
14:40 celticminstrel [celticminst@Nightstar-pqopqb.dsl.bell.ca] has joined #code
14:40 mode/#code [+o celticminstrel] by ChanServ
14:58 Jessikat` [Jessikat@Nightstar-3qnqu7.dab.02.net] has quit [[NS] Quit: Bye]
17:35 ToxicFrog [ToxicFrog@Nightstar-our0up.cpe.teksavvy.com] has joined #code
17:35 mode/#code [+ao ToxicFrog ToxicFrog] by ChanServ
17:36 Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has quit [[NS] Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
18:35 Degi_ [Degi@Nightstar-u07.gf8.211.95.IP] has joined #code
18:39 Degi [Degi@Nightstar-ln7ajd.dyn.telefonica.de] has quit [Ping timeout: 121 seconds]
19:37 Degi [Degi@Nightstar-ln7ajd.dyn.telefonica.de] has joined #code
19:40 Degi_ [Degi@Nightstar-u07.gf8.211.95.IP] has quit [Ping timeout: 121 seconds]
20:46 Degi_ [Degi@Nightstar-c2oevn.dyn.telefonica.de] has joined #code
20:46 Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has joined #code
20:46 mode/#code [+o Reiv] by ChanServ
20:49 Degi_ [Degi@Nightstar-c2oevn.dyn.telefonica.de] has quit [[NS] Quit: Leaving]
20:49 Degi_ [Degi@Nightstar-c2oevn.dyn.telefonica.de] has joined #code
20:49 Degi [Degi@Nightstar-ln7ajd.dyn.telefonica.de] has quit [Ping timeout: 121 seconds]
20:55 Degi_ [Degi@Nightstar-c2oevn.dyn.telefonica.de] has quit [[NS] Quit: Leaving]
20:55 Degi [Degi@Nightstar-c2oevn.dyn.telefonica.de] has joined #code
20:57 Derakon[AFK] is now known as Derakon
21:22
<&McMartin>
Hmm. Debian's actual release history is more regular than I had remembered.
21:23
<&McMartin>
At least this century.
21:39 ktemkin [sid249770@Nightstar-h2b233.irccloud.com] has joined #code
21:46 gartral [gareth@Nightstar-5as.8du.243.162.IP] has joined #code
21:57 Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has quit [[NS] Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
22:01 Kindamoody|afk is now known as Kindamoody
22:09 Kindamoody is now known as Kindamoody[zZz]
22:21 Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has joined #code
22:21 mode/#code [+o Reiv] by ChanServ
23:19 Degi [Degi@Nightstar-c2oevn.dyn.telefonica.de] has quit [[NS] Quit: Leaving]
23:23 Jessikat [Jessikat@Nightstar-bt5k4h.81.in-addr.arpa] has quit [Ping timeout: 121 seconds]
23:30 mac [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has joined #code
23:30 mode/#code [+o mac] by ChanServ
23:32 macdjord [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has quit [Ping timeout: 121 seconds]
23:49 RchrdB [RchrdB@Nightstar-qe9.aug.187.81.IP] has quit [Ping timeout: 121 seconds]
--- Log closed Mon Sep 11 00:00:53 2017
code logs -> 2017 -> Sun, 10 Sep 2017< code.20170909.log - code.20170911.log >

[ Latest log file ]