code logs -> 2012 -> Fri, 09 Nov 2012< code.20121108.log - code.20121110.log >
--- Log opened Fri Nov 09 00:00:31 2012
00:17 You're now known as TheWatcher[T-2]
00:19 gnolam [lenin@Nightstar-ccbf4b44.cust.bredbandsbolaget.se] has quit [Connection reset by peer]
00:21 gnolam [lenin@Nightstar-ccbf4b44.cust.bredbandsbolaget.se] has joined #code
00:21 You're now known as TheWatcher[zZzZ]
00:26 gnolam [lenin@Nightstar-ccbf4b44.cust.bredbandsbolaget.se] has quit [Connection reset by peer]
00:27 gnolam [lenin@Nightstar-ccbf4b44.cust.bredbandsbolaget.se] has joined #code
01:32 syksleep is now known as Syk
01:37 Zarkorr [cmnd@Nightstar-92deeda4.dyn.optonline.net] has joined #code
01:39 Zarkorr [cmnd@Nightstar-92deeda4.dyn.optonline.net] has left #code []
01:58
< Syk>
these 150MB Intel chipset drivers make me all sorts of happy inside
01:58 * gnolam looks around for a Russian invasion.
01:58
< Syk>
and by happy I mean enraged because I dont even think the Linux kernel is that big and it has drivers for everything under the sun
01:59
< gnolam>
(I was assuming that that was some kind of codeword: "Intel drivers" and "happy" won't ever be mentioned together)
02:00
< Syk>
BRB morning tea
02:08 Attilla [Obsolete@Nightstar-03ef0659.as43234.net] has quit [[NS] Quit: ]
02:10
<&McMartin>
I'mma guess they include half the gcc frontent
02:17 * Derakon goes off on a tangent, realizes that the first Internet-enabled trees will form the EntNet network.
02:34 * Syk explodes back in
03:16 Kindamoody[zZz] is now known as Kindamoody
03:17
<&McMartin>
Man
03:17
<&McMartin>
One disadvantage of using Frozen Synapse as coding music is that you want there to be a great big COMMIT button.
03:19
<~Vornicus>
I'd like a great big COMMIT button anyway
03:25
<&Derakon>
I don't remember Frozen Synapse having an especially memorable soundtrack...
03:27
<&McMartin>
This is an advantage for coding music
03:28
<&McMartin>
It's mostly contemplative electronica
03:28
< Syk>
is Frozen Synapse any good?
03:28
< Syk>
I have it, I think
03:29
<&McMartin>
You owe it to yourself to try it out some.
03:29
< Syk>
havn't got down to playing it though
03:29
<&McMartin>
I hit a difficulty wall in the single-player
03:29
< Syk>
i wish i had some time to play all these games
03:29
< Syk>
like Uplink
03:29
<&McMartin>
And the tutorial, last I checked, was actively misleading
03:29
< Syk>
i'd like to play uplink some more
03:29
<&McMartin>
Uplink is quality
03:29
< Syk>
and DEFCON
03:29
< Syk>
i need to learn to actually play DEFCON properly
03:30
<&McMartin>
Frozen Synapse is an RTS game where you submit 5 seconds of play at a time and can give commands to both sides and run sims of the results before you commit your moves.
03:30
< Syk>
http://reddrgn.net/tidbits/files/ibeatwopr.jpg
03:30
< Syk>
however
03:30
< Syk>
I did play against a guy, who, as a joke, named himself WOPR
03:30
<&McMartin>
So it has something of an X-COM feel, but instead of randomness it is deterministic results based on pixel-level distinguishers of timing, etc.
03:30
< Syk>
and I won :D
03:30
< Syk>
hmm
03:31
<&McMartin>
The tutorial doesn't tell you about giving the other units orders.
03:31
< Syk>
hmm
03:31
< Syk>
i might need to dl it tonight
03:31
<&McMartin>
Anyway. http://www.youtube.com/watch?v=DB_jczxh7bE is probably my favorite track from the OST.
03:31
< Syk>
since it's friday
03:32
< Syk>
and last work day \o/
03:32
<&McMartin>
\o/
03:33
< Syk>
next week is a training course
03:33
<&McMartin>
Particularly 1:15 through 2:00 or so
03:33
< Syk>
then i am a free syka
03:33
< Syk>
man this will be the first time i've not been in full time education or school since pre-primary
03:34
< Syk>
D: i won't know what to do with myselg
03:36 * Syk solves it with python
03:36
<~Vornicus>
Frozne Synapse turned me off terribly with its Damn Liar of a tutorial
03:40
< Reiv>
The tutorial lied?
03:40
<~Vornicus>
Yeah
03:40
<~Vornicus>
THe tutorial gives you the impression that you already know what your opponents are going to do.
03:41
<~Vornicus>
THis is not only false but maliciously so: not only do you not know, but in your initial simulations the opponents are given no orders except what you give them.
03:41
<~Vornicus>
And it's not mentioned at all that you should be giving your opponents orders in the simulation.
03:42
< Reiv>
... oh, yeah, I remember that
03:42
< Reiv>
You're right, it's awful.
03:42
<~Vornicus>
Or in fact that you even /can/
03:43
< Reiv>
It got you up to Step 3 on training
03:43
< Reiv>
And then truncated prior to Step 4.
03:57 VirusJTG [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has quit [[NS] Quit: Program Shutting down]
04:03 gnolam_ [lenin@Nightstar-ccbf4b44.cust.bredbandsbolaget.se] has joined #code
04:03 gnolam is now known as NSGuest9266
04:03 gnolam_ is now known as gnolam
04:05 NSGuest9266 [lenin@Nightstar-ccbf4b44.cust.bredbandsbolaget.se] has quit [Ping timeout: 121 seconds]
04:08
< Syk>
ffffff
04:09
< Syk>
just realised that my coworker deployed like 3 laptops
04:09
< Syk>
with no wifi drivers
04:09
< Syk>
forgot to show her the softpaq manager in the rush
04:29
< iospace>
heh
04:56
< Syk>
http://www.google.com/hostednews/afp/article/ALeqM5i1blLrfT36cg6efAxRiGD8gZQDEA? docId=CNG.ee28c0fdd8290a529972ce7a15db18ac.851
04:56
< Syk>
WHOO
04:57
< Syk>
THEY FINALLY KILLED IT
05:30
<~Vornicus>
yay
05:53
< Syk>
these power outages are annoying
05:54
< Syk>
the workbench UPS blew up a while ago
05:54
< Syk>
middle of windows updates
05:54
< Syk>
everything turns off! :D
06:00 Syloq_Home [Syloq@NetworkAdministrator.Nightstar.Net] has quit [Client closed the connection]
06:05 ErikMesoy|sleep is now known as ErikMesoy
06:31 Derakon is now known as Derakon[AFK]
06:37
< Syk>
what the hell MS
06:37
< Syk>
why is Bing Desktop an 'important update'
06:37
< Syk>
why is it installing
06:38
< Syk>
why is it even available on /windows goddamn enterprise/
06:38 Kindamoody is now known as Kindamoody|breakfast
06:38 himi [fow035@D741F1.243F35.CADC30.81D435] has quit [Ping timeout: 121 seconds]
07:09 You're now known as TheWatcher
07:11
< Syk>
i should probably pack up my desk
07:21 Kindamoody|breakfast is now known as Kindamoody
07:22 celticminstrel [celticminst@Nightstar-05d23b97.cable.rogers.com] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
08:08
<&McMartin>
"I think I'm done with Flash, now. I've used it for about four years at this point, and gotten very comfortable with it - but I think I've gotten to the point where it's holding me back. It's time for a change!"
08:08
<&McMartin>
Terry Cavanagh
08:11 You're now known as TheWatcher[afk]
08:16
< Syk>
wut
08:17
<&McMartin>
Author of VVVVVV and Super Hexagon, among many other smallish games.
08:31
< Syk>
oh that guy
08:31
< Syk>
vvvvv is pretty cool
08:31
< Syk>
hard as salted balls, but pretty cool
08:32
< Syk>
hometime lols
08:35 Kindamoody is now known as Kindamoody|out
08:46 himi [fow035@Nightstar-5d05bada.internode.on.net] has joined #code
08:46 mode/#code [+o himi] by ChanServ
09:49 Attilla [Obsolete@Nightstar-03ef0659.as43234.net] has joined #code
10:30 You're now known as TheWatcher
10:38 RichyB [richardb@Nightstar-3b2c2db2.bethere.co.uk] has joined #code
10:52 You're now known as TheWatcher[d00m]
11:08 RichyB [richardb@Nightstar-3b2c2db2.bethere.co.uk] has quit [Ping timeout: 121 seconds]
11:10
< rms>
Syk: Long story short, users use the wrong version of Windows because there's a fucking billion of them, then MS has to support them as if they were using the right version.
11:11
< rms>
Moral of the story: don't be a penny-pinching bitch; release /one/ version of your shit.
11:11
< Syk>
heh
11:12
< Syk>
i think there needs to be two Windows versions
11:13
< Syk>
both the same goddamn price
11:13
< Syk>
that you can switch between
11:13
< rms>
Server, Workstation and Mobile (Phone, weak-tablets)
11:13
< rms>
Is what I'd limit myself too
11:13
< Syk>
home version, and enterprise version
11:14
< Syk>
home version doesn't have any of the enterprise shit in the menus
11:14
< Syk>
and enterprise version doesn't have any of the home stuff
11:14
< Syk>
eg. no goddamn Libraries in W7 Ent
11:14
< Syk>
+ Server, too
11:15
< Syk>
Windows Mobile can go suck it
11:42 You're now known as TheWatcher
11:47
< Syk>
https://lh4.googleusercontent.com/-r_UzOUHP2Ns/UJzEKfWJpCI/AAAAAAAAAZ0/8j9NLJxNd G8/s876/2012+-+1
11:47
< Syk>
^ an example of Android 4.2's new Photosphere function
11:47
< Syk>
except on a 2D plane rather than in the street view esque setting
11:49
<@TheWatcher>
Shiny
11:49
< Syk>
mhm
11:49
< Syk>
thats only like
11:49
< Syk>
180 deg tho
11:49
< Syk>
the most annoying thing is that as its on the gnex
11:49
< Syk>
i dont think it's really configured right
11:50
< Syk>
since if there's anything close up it gets it /majorly/ wrong
11:50
< Syk>
and it's not perfect either
11:50
< Syk>
right in the middle there's a misblended curb
11:51
< Syk>
but still! it's rather neat, much better than the existing 4.1 panorama, which makes images that are 900px tall :|
--- Log closed Fri Nov 09 12:34:39 2012
--- Log opened Fri Nov 09 12:35:06 2012
12:35 TheWatcher [chris@Nightstar-3762b576.co.uk] has joined #code
12:35 Irssi: #code: Total of 31 nicks [8 ops, 0 halfops, 0 voices, 23 normal]
12:35 mode/#code [+o TheWatcher] by ChanServ
12:35 Irssi: Join to #code was synced in 43 secs
13:17 * Pandemic bops a user up side the head for not reading an NDR and asking a stupid and obviously answered question
13:19
< rms>
NDR?
13:20
< Pandemic>
Non-Delivery Report
13:20
< Pandemic>
the error message you get when you try to send an email issue and there was some kind of transmission error
13:20
< Pandemic>
you know the message that tells you why it didn't work?
13:22
< rms>
Yeah
13:22
< rms>
There were like 3 different things NDR could've meant there...
13:22
< Pandemic>
this is true
13:23
< Pandemic>
interchanable acrynims in #code can be confusing
13:23
<@TheWatcher>
Virus: ... wait, you expect users to read something?!
13:24
< Pandemic>
yes TW, and they never disappoint my faith in their stupid by actually doing it... >.>
13:29
< Syk>
the best NDR is ones Outlook causes
13:29
< Syk>
there is a bug in 2010 that if you click on a mailto link, it will try to send to "mailto:email@host.com"
13:29
< Syk>
i actually think it might be a client making a misformed link
13:29
< Syk>
not sure
13:30
< Syk>
but regardless, Outlook wets the bed and tried to mail that host with the protocol of 'mailto'
13:30
< rms>
Sounds like SNAFU there.
13:31
< Syk>
as is working with Outlook
13:34
< rms>
A month or so I learned that Outlook does something horrible to its config files
13:34
< rms>
To the point where it completely fucks itself into non-operation if you do something as dastardly as try to use config files from another install.
13:35
< Syk>
rms: you should know better
13:35
< rms>
Because having to import all of those settings by hand is /so convenient/
13:35
< Syk>
Outlook config files run on magic and whimsy
13:35
< rms>
I know, I thought MS might actually do sane things
13:35
< rms>
What a waste of 4 hours.
13:35
< Syk>
i like how Microsoft have
13:35
< Syk>
in uh, their thing
13:35
< Syk>
where you can rename computers
13:35
< Syk>
you can put a description
13:35
< rms>
I should've started with deleting all the fucking things as MS suggests (no fucking joke)
13:36
< Syk>
Microsoft officially suggest that you /don't enter a description/
13:36
< rms>
What
13:36
< Syk>
because apparently it's more secure
13:36
< Syk>
because then you don't have servers going HEY I'M THE EMAIL SERVER or something
13:37
< Syk>
"I HOLD ALL THE JUICY DATAS :D"
13:37
<@Tamber>
Oh, so because mail.domain isn't described at "the mail server", it's more secure? :p
13:37
< Syk>
Tamber: well most PCs have SMB enabled
13:37
< rms>
You're doing DNS wrong D:
13:37
< Syk>
and we all know how secure SMB has been~
13:37
<@Tamber>
Security through "If *we* can't remember what it does, how can an attacker?"
13:38
< Syk>
security through kind of shithouse obscurity
13:38
< Syk>
"svr-ex01" I WONDER WHAT THIS DOES
13:38
<@Tamber>
explodes.
13:38
< Syk>
"svr-dc02" OR THIS
13:38
<@Tamber>
Disconnects. :D
13:38 * Syk makes a network
13:39 * rms names computers based on where they are. Then connects to service-based DNS names as needed.
13:39 * Syk makes 'corp-dc' the exchange server and 'corp-ex' the file server, with 'corp-sql' being email
13:39
<@Tamber>
haa
13:39
< Syk>
and by file server
13:39
< Syk>
i mean 'file and DC'
13:39
<&jerith>
Cache invalidation and naming things.
13:39
<&jerith>
Two hardest problems in computer science.
13:40
< Syk>
because we don't have enough budget to buy a reliable server to JUST be a DC
13:40
< Syk>
Server 08R2 licenses are expensive :(
13:40
<&jerith>
This is why everything should run Unix.
13:40
< rms>
^
13:40
<&jerith>
Well, a free Unix.
13:40
< rms>
^^
13:41
< Syk>
i honestly think that instead of buying microsoft licenses
13:41 * Tamber balances OpenSolaris on jerith's head.
13:41
<&jerith>
You can spend that money on hardware.
13:41
< Syk>
you should just use a reliable Linux distro like RedHat or Debian or something
13:41 * jerith stays very still.
13:41
< Syk>
and just hire another staff member with the excess funds
13:41
< Syk>
and then go 'here, you get to manage these servers'
13:42
< rms>
... or if you're thinking of buying a bunch of WS licenses, you could spend that money on perks for employees... like a house each.
13:42
< Syk>
between not paying Server 08R2 licenses and not having to pay rediculous SQL server licenses
13:42
< Syk>
SQL Server is INSANE
13:42
< Syk>
we pay like
13:42
< Syk>
$5K/yr for Standard on one core
13:42
< Syk>
i think
13:43
< Syk>
other local governments pay like $50K for their SQL Server deployments /per year/
13:43
< Syk>
because Microsoft do uh
13:43
< Syk>
Enterprise Agreements, they call them here
13:43
< Syk>
you pay 1/3 of the license cost every 3 years, and get 'free' upgrades
13:44
< Syk>
unless you buy in the 3rd year.
13:44
< Syk>
then you pay full cost, then have to pay 1/3 a year from thereon
13:45
< Syk>
AKA unplanned organsational requirements == payday for Microsoft
13:45
< rms>
https://twitter.com/mssqlsucks
13:45
< rms>
"Having to reference docs to find integer expression parameter every time I need to use CONVERT on a date. Which is easier '11' or 'YY/MM/DD' " <-- FAIL
13:45
<@himi>
People upgrade their MS software as soon as a new release is out?
13:45
< Syk>
and part of the contract is that you can't buy MS licenses anywhere else
13:45
< rms>
People usually skip a release.
13:45
< Syk>
no using OEM licenses. No buying Office off the shelf.
13:45
<@himi>
We only just moved from XP to Win7
13:45
< rms>
Because MS is money grabbing ass-rapists.
13:45
< Syk>
someone has a deal on MS licenses? too bad, can't buy them.
13:45
< rms>
But people tend to forget that after 7 years.
13:46
< Syk>
oh and the BEST BIT?
13:46
< Syk>
Microsoft make it incredibly hard to /buy windows/
13:46
< Syk>
try and buy a copy of windows, and they will make it near impossible.
13:46
< Syk>
you get a cookie if you can guess why
13:46
<@himi>
That's 'cause you don't buy it, you buy a computer
13:46
<&jerith>
Syk: Because they hate you and want you to suffer?
13:46
<@himi>
Not that they're allowed to enforce that, but it's still their whole business model
13:47
< Syk>
you can't use OEM licenses.
13:47
< Syk>
according to the contract
13:47
< Syk>
apparently
13:47
< Syk>
BUT they make it hard to buy windows
13:47
< Syk>
if you can, it's horrendously expensive
13:47
< rms>
" it took until 2008 to get a straightforward way to insert multiple rows " <-- WTF
13:47
< Syk>
the decently priced Windows licenses are all /upgrades to OEM versions/
13:48
< Syk>
they're supporting the Channel by basically making you buy prebuilts
13:48
< Syk>
since the cost savings of building a bunch of workstations goes out the door when a Windows license for it is expensive as all hell
13:49
< Syk>
however, IIRC, this doesn't apply to servers, thank god
13:49
< Syk>
but you can only buy full versions
13:50
< Syk>
so if your server comes with a copy of Windows - no upgrades!
13:50
< Syk>
AKA Microsoft got a nice portion of double dipping into your server upgrade funds
13:52
< Syk>
"ISNULL doesn't return a boolean"
13:52
< Syk>
wtf what does it return then
13:53
<@Tamber>
The remains of the last person to ask that question.
13:54
< Syk>
bloody MS
13:54 * Syk hugs her PostgreSQL.
13:55
< Syk>
"Don't miss Peter Meyers on Exploring #PowerPivot for #Excel & #PowerView in #SQL2012 Thursday 3 pm Rm 606-607 @ #sqlpass"
13:55
< Syk>
/what/
13:55
<@Tamber>
"PowerPivot: Swivel on it, suckers."
13:56
< Syk>
"We know that Excel isn't a database. So we hooked it up to one for you! :D"
13:56
<@TheWatcher>
Correct and sensible data structure: 1 marks
13:56
< Syk>
"Your IT Departments can thank us later."
13:56
<@TheWatcher>
Blegh, rong key
13:56
<@TheWatcher>
wrong, too
13:56
<@TheWatcher>
(but that does mark 60% of my marking done!)
13:57
< Syk>
TheWatcher: since we're discussing MSSQL, that "1" should be changed to a "-2"
13:57
< Syk>
:P
13:57
<@TheWatcher>
Hah
13:57
< Syk>
>Microsoft Account login
13:57
< Syk>
>immediately logs me out, as my 'session has expired'
13:58
< Syk>
it seems I just stepped into a TIME HOLE right there
13:58
<@Tamber>
200ms session timer.
13:58
<@Tamber>
Secure!
13:59
< Syk>
hmm
13:59
<&jerith>
Syk: You're in Oz. You live about half a day in the future.
13:59
< Syk>
WHOO
13:59
< Syk>
they finally did it
13:59
< Syk>
since i'm a ms certified it professional, they gave me a microsoft certified solutions associate
13:59
< Syk>
thingy
14:00
<&jerith>
What does a "microsoft certified solutions associate" do?
14:00
< Syk>
you see a solution that someone else has made
14:00
< Syk>
and you associate yourself with it
14:00
< Syk>
nah
14:00
< Syk>
it's a replacement for the MCITP
14:01
< Syk>
basically you're an expert on the platform
14:01
< Syk>
you're at the top of the tree for the platform anyway
14:01
< Syk>
as such, the MCITPs for Windows Server is like 3 or 4 exams
14:02
< Syk>
then there's the Solutions Architects and etc that are multi-platform
14:02
<&jerith>
Syk: And they gave you one of these people? :-P
14:02
< Syk>
eg. you need an MCITP in Server and Windows and probably SQL
14:02
< Syk>
yes, my new MCSA, i keep it in a cage and feed it powershell snippets
14:02
<&jerith>
Can you get him to do all the yucky bits of your job?
14:03
< Syk>
I don't think a Microsoft cert qualifies you for people who copy paste Visio documents into Powerpoint and wonder why it doesn't work well
14:03
< Syk>
aka - how I spent 30 minutes on Wednesday afternoon
14:04
<&jerith>
;_;
14:04 * jerith steals Syk away to Bangalore for the weekend to write an SMS frontend to Wikipedia in Python.
14:04
<@Tamber>
Syk, I think the only thing that qualifies you for that is an ice-pick in the ear. <.<
14:05
< Syk>
hoshit the MSCA is actually really shiny
14:05
< Syk>
i am sad as i will never have a certification with Bill Gates' signature on it ;v;
14:05
<&jerith>
High-albedo certification!
14:06
< Syk>
i also have the MCSA & MCITP wallet cards too
14:07
< Syk>
since i look like a derp in my drivers license so i'm not putting that in the clear part of my wallet
14:12
< Syk>
http://media.tumblr.com/tumblr_m03mhsi3dO1qm2gki.gif
--- Log closed Fri Nov 09 14:31:51 2012
--- Log opened Fri Nov 09 14:32:19 2012
14:32 TheWatcher [chris@Nightstar-3762b576.co.uk] has joined #code
14:32 Irssi: #code: Total of 31 nicks [8 ops, 0 halfops, 0 voices, 23 normal]
14:32 mode/#code [+o TheWatcher] by ChanServ
14:32 Irssi: Join to #code was synced in 41 secs
14:33 * gnolam arghs at the Visual Studio 2008 uninstallation process.
14:34
< Syk>
gnolam: or as I like to call it, 'reinstalling Windows because it will never go away'? :P
14:40 You're now known as TheWatcher[afk]
14:42 celticminstrel [celticminst@Nightstar-05d23b97.cable.rogers.com] has joined #code
14:48 gnolam [lenin@Nightstar-ccbf4b44.cust.bredbandsbolaget.se] has quit [[NS] Quit: Reboot]
14:52 gnolam [lenin@Nightstar-ccbf4b44.cust.bredbandsbolaget.se] has joined #code
15:02 RichyB [richardb@Nightstar-3b2c2db2.bethere.co.uk] has joined #code
15:07 Syloq_Home [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code
15:10
< iospace>
RichyB: ok, question
15:10
< iospace>
that heap sort you sent me, what's the O(n) for space?
15:11
< iospace>
because if it's not O(1) i can't use it
15:11
< RichyB>
Two bits. One pointer per linked list element.
15:11
< RichyB>
That's the malloc(len * sizeof(lle*)) in there.
15:12
< iospace>
yup, then no, not going to happen
15:12
< RichyB>
Other one is that it heap_sift_down calls itself recursively, so it takes O(log(n)) stack frames.
15:12
< RichyB>
but that's just because I didn't bother to convert it from a loop.
15:12
< RichyB>
er
15:12
< RichyB>
to a loop.
15:12
< iospace>
i was using an array prior, and to grow it properly i had to allocate a new pool, then copy the old array over, then clear the old array
15:12
< RichyB>
It only calls itself on one subtree, so it's actually tail-recursive and I could easily make it O(1) on the stack.
15:13
< iospace>
so unless it's o(1) in terms of space my boss isn't goign to like it >_>
15:13
< RichyB>
Prior to using a linked-list?
15:14
< iospace>
well, it's funny
15:14
< iospace>
i was using a linked list of a different implimentation prior, then switched to warrays
15:14
< iospace>
then to a different LL implimentation
15:16 * iospace beats RichyB with the CR macro
15:16
< RichyB>
I don't know what advice to give you.
15:16
< RichyB>
The fact that you're using a doubly-linked list means that you have 2 pointers overhead per node anyway.
15:17
< RichyB>
(Compared to a single giant array)
15:17
< iospace>
heh
15:17
< iospace>
well my boss wants a linked list so :P
15:19 gnolam [lenin@Nightstar-ccbf4b44.cust.bredbandsbolaget.se] has quit [[NS] Quit: Reboot]
15:21
<&jerith>
iospace: Look up the "rope" data structure.
15:22
< iospace>
heh
15:22
<&jerith>
Commonly used in editors.
15:22
< iospace>
well i'm using the EFI linked list implimentation
15:22 gnolam [lenin@Nightstar-ccbf4b44.cust.bredbandsbolaget.se] has joined #code
16:00 celticminstrel [celticminst@Nightstar-05d23b97.cable.rogers.com] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
16:13
< gnolam>
ARHJHG
16:13
< gnolam>
Y U NO RESPECT WORKING DIRECTORY
16:14
<@Tamber>
Dancing rodents, The Vornicus. :p
16:15
< iospace>
:P
16:16
< gnolam>
FFS
16:16 * Vornicus beats syloq with some more sticks, and runs him over with the refactor tractor.
16:16
<@Tamber>
:D
16:16
< ErikMesoy>
...the refactor tractor?
16:17
<@Tamber>
Syloq is now much simplified, and better-commented. Also, the braces match up!
16:22
< gnolam>
ErikMesoy:
16:22
< gnolam>
<jerith> The Refactor Tractor is the metaphorical tool used to haul blocks of code around while refactoring on a grand scale.
16:22
< gnolam>
<jerith> If you're hacking in fewer than four files simultaneously, you're not riding the refactor tractor.
16:22
< gnolam>
<jerith> I think the term was invented by a coworker of mine.
16:22
< gnolam>
<jerith> I grumbled about having to refactor a massive chunk of Java and he told me I was riding the refactor tractor.
16:22 Vash [Vash@Nightstar-b43e074a.wlfrct.sbcglobal.net] has joined #code
16:22 mode/#code [+o Vash] by ChanServ
16:23
<@Tamber>
With my code, it's more like the refactor ride-on lawnmower.
16:24
< gnolam>
Seriously, what the hell Visual Studio 2012?
16:24
<@Tamber>
Then again, if I start getting into projects big enough to need a refactor tractor, I'm doomed. :)
16:25
< gnolam>
It's apparently just ignoring the working directory.
16:27
< Syk>
i rode the refactor tractor the other day
16:27
< Syk>
porting the backend for my support ticket db to be an actual Windows Service
16:28
< Syk>
ripped out the logging backend, made it go to the windows event log
16:28
< Syk>
forgot how much i logged
16:28
< Syk>
cue 8000 event log entries in four hours
16:29
< Syk>
also: fun is defined when you're rewriting code you wrote two years ago
16:30
< Syk>
the mix between "what the /hell/ was I thinking" and inefficient code is amazingf
16:30
< Syk>
i had a function that was passed the ticket number
16:30
<@Tamber>
And some "Wow, that's really clever. Stupid, but clever."?
16:30
< Syk>
it would loop through all the open tickets
16:30 mode/#code [+oooooooooooooooooooo iospace Pandemic Attilla AnnoDomini Orthia Reiv Moltare Tarinaky franny ErikMesoy cpux Syloq_Home shawn-p Reiver ToxicFrog rms gnolam EvilDarkLord Syk RichyB] by Tamber
16:31
<@Syk>
checking if the open ticket number == the ticket number it was passed
16:31
<@Tamber>
*blink*
16:31
<@Syk>
then it went "CurrentTicketNumber = Tickets(a).TicketNumber"
16:31 shawn-p1 [Shawn@Nightstar-4db8c1df.mo.charter.com] has joined #code
16:31
<@Syk>
i think either i am terrible
16:32
<@Syk>
or it was a really clever way of checking if it's been passed a ticket that exists
16:32
<@Syk>
as otherwise the currentticketnumber var would be 0
16:32
<@Tamber>
; /* # No comment */
16:32
<@Syk>
Tamber: i wrote the code 2 years ago, i was friggin retarded then
16:33
<@Tamber>
Whaddy*shot, pre-emptively*
16:33
<&jerith>
If you don't WTF a lot at code you wrote years ago, you've ceased to grow and learn.
16:33 shawn-p [Shawn@Nightstar-4db8c1df.mo.charter.com] has quit [Ping timeout: 121 seconds]
16:33
<@Tamber>
And if you WTF at code you wrote last week, you've ceased to document things.
16:34
<@Syk>
i am wtfing at my static CMS backend now
16:34
<@Syk>
because requirements changed a bit
16:34 * Tamber turns the WTFometer to a larger scale
16:34
<@Syk>
originally i was doing special pages by checking the page path
16:35
<@Syk>
which is, to say the least, utterly stupid
16:35
<@Syk>
so, i added modules
16:36
<@Syk>
eg. i can call in a fids board on any page via <!-- FIDS -->arrivals<!-- END FIDS -->
16:36
<&jerith>
You thing processes comments in HTML?
16:36
<&jerith>
That can be dangerous.
16:37
<@Syk>
it was a stopgap until i could come up with a better way
16:37
<@Syk>
as the module detection code is really nice and modular
16:37
<&jerith>
(I can see someone coming along with a tool that munges the HTML and strips them out or something.)
16:37
<@Syk>
BUT then i handed in my resignation
16:37
<@Syk>
jerith: it's a static CMS
16:38
<@Syk>
aka the page content is read, whole pages are saved, and then synced up to the remote site
16:39
<@Syk>
it actually works really well
16:43
<&jerith>
Nice.
16:45
<@Syk>
yeah
16:45
<@Syk>
i just wish i had more time to work on it.
16:45
<@Syk>
but they're hiring a new IT Manager
16:46
<@Syk>
who, i bet, will have Must Change Everything Syndrome
16:46
<@Syk>
chuck out my ticketing system, IO board, website, then go and buy new ones
16:46
<@Syk>
so that they are percieved as not useless because things changed
16:54
<@gnolam>
Aha. It's not actually ignoring the working directory. It's just ignoring it for the purpose of loading DLLs. :P
16:56 Syk is now known as syksleep
16:56
<@RichyB>
gnolam: IIRC that is supposed to be considered a vulnerability, because you can invoke things in booby-trapped directories?
16:57
<@RichyB>
(loading DLLs out of ".", I mean)
17:12 RichyB [richardb@Nightstar-3b2c2db2.bethere.co.uk] has quit [Ping timeout: 121 seconds]
17:16 RichyB [richardb@Nightstar-3b2c2db2.bethere.co.uk] has joined #code
17:28
<@froztbyte>
http://asdf.us/vortex/
17:29
<@Tamber>
Hee.
17:43 RichyB [richardb@Nightstar-3b2c2db2.bethere.co.uk] has quit [Ping timeout: 121 seconds]
17:48 RichyB [richardb@Nightstar-3b2c2db2.bethere.co.uk] has joined #code
18:07 celticminstrel [celticminst@Nightstar-05d23b97.cable.rogers.com] has joined #code
18:14 RichyB [richardb@Nightstar-3b2c2db2.bethere.co.uk] has quit [[NS] Quit: Leaving]
18:19 Attilla_ [Obsolete@Nightstar-5ad0c9b7.as43234.net] has joined #code
18:19 Attilla [Obsolete@Nightstar-03ef0659.as43234.net] has quit [NickServ (GHOST command used by Attilla_)]
18:19 Attilla_ is now known as Attilla
19:44 ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has quit [Operation timed out]
20:03 Kindamoody|out is now known as Kindamoody
20:25 Kindamoody is now known as Kindamoody[zZz]
20:29
<~Vornicus>
I find myself with a hard drive that I don't know what's on it nor even what format it's in.
20:31
<~Vornicus>
So I need a linux system that I can install on a USB disk and will be able to divine all these things
20:31
<~Vornicus>
I don't have a CD burner that makes non-coasters.
20:32
<@Tamber>
DSL on a USB drive, or something like that?
20:34
<~Vornicus>
that might do, let me see
20:35
<~Vornicus>
...if I can figure out which one of these isos I want that'd be nice
20:37
<@Tamber>
DSL embedded ZIP. And there's a "Universal USB installer".
20:38
<~Vornicus>
aha, ok
20:39
<~Vornicus>
wait, the one with qemu?
20:39 * Vornicus is confus
20:40
<@Tamber>
I'm just going off http://www.pendrivelinux.com/all-in-one-usb-dsl/
20:40
<@Tamber>
...oh
20:40
<@Tamber>
The universal installer is a separate download.
20:40
<@Tamber>
*facepalm*
20:40
<@Tamber>
http://www.pendrivelinux.com/downloads/Universal-USB-Installer/Universal-USB-Ins taller-1.9.1.5.exe
20:41 * Tamber no read teh english gud. ??
21:02 ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has joined #code
21:05
<@iospace>
i love finding ways to clean up code ^_^
21:51 VirusJTG [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has joined #code
22:16 * Vornicus pokes at the "SSHOCKCD" he found on one of his old hard drive.
22:18
<~Vornicus>
that doesn't appear to work as planned
22:24 himi [fow035@Nightstar-5d05bada.internode.on.net] has quit [Ping timeout: 121 seconds]
22:33
<~Vornicus>
This is a sadness
22:45 himi [fow035@Nightstar-5d05bada.internode.on.net] has joined #code
22:45 mode/#code [+o himi] by ChanServ
22:55 celticminstrel [celticminst@Nightstar-05d23b97.cable.rogers.com] has quit [[NS] Quit: KABOOM! It seems that I have exploded. Please wait while I reinstall the universe.]
23:24 ErikMesoy is now known as ErikMesoy|sleep
23:26
<@iospace>
ok
23:26
<@iospace>
whoever decided that for UEFI that the tabs shall be 2 spaces and not 4 should be strung up -_-
23:27 * Vornicus has always used 2-space tabs.
23:29
<@iospace>
in HS i was taught 3 space
23:29
<@iospace>
Python recommends 4 space
23:29
<@iospace>
UWP 4 space
23:29
<@iospace>
:P
23:30
<@Tamber>
I use actual tabs, then the editor can make them appear as however many spaces you want them to look like. But then, what do I know~?
23:30
<@iospace>
in other news!
23:30
<@iospace>
it seems for the most part, pending talking it over with my boss on monday and finishing up commenting, my test is completely written ^_^
23:31
<@Tamber>
\o/
23:32
<@iospace>
i dumped that stupid enum that i was using for one :3
23:44
<@Tarinaky>
Decided to stay up with a friend while we finished assignments and stuff.
23:44
<@Tarinaky>
This was a mistake. I'm finished and too much coffee.
23:45
<@Tarinaky>
Mostly waiting for him to finish his assignment so we can get back to the Wire :/
23:46
<@Tarinaky>
Anyway. This is the excuse I'm using for learning Erlang at quarter to midnight >.>
23:51
<@iospace>
home times
--- Log closed Sat Nov 10 00:00:17 2012
code logs -> 2012 -> Fri, 09 Nov 2012< code.20121108.log - code.20121110.log >

[ Latest log file ]