code logs -> 2012 -> Mon, 19 Nov 2012< code.20121118.log - code.20121120.log >
--- Log opened Mon Nov 19 00:00:52 2012
00:02 You're now known as TheWatcher[zZzZ]
00:10
<&McMartin>
Hee
00:10
<&McMartin>
"Shaders! Turning fixed functionality into broken functionality since 2004"
00:10
<@Tamber>
hehe
00:15 Reiv is now known as orthia
00:17
< celticminstrel>
Oh?
01:09
<@himi>
Speaking of shaders, McMartin, when you were abusing textures to pass vertex data into a shader for normal computation, how did you do it?
01:10
<@himi>
I mean, what format of data and so forth
01:10
<&McMartin>
Oh
01:10
<&McMartin>
That's the part I've been moving towards
01:11
<&McMartin>
sec
01:13
<&McMartin>
The mechanism planned is to use a luminance texture as a height map, with vertex location being reinterpreted as texture coordinates
01:14
<&McMartin>
Shaders can check texture coordinates more or less at will, and as many times as they want, so they can consult their neighbors for, say, normal computation.
01:15
<&McMartin>
Hilariously, since a vertex normal is the average of all neighboring ones (as long as there isn't a huge difference in heights, which if it's fractal it shouldn't have), *your actual local height* cancels out.
01:15
<&McMartin>
From the way the cross product math works.
01:15 * McMartin is doing that all serially in the CPU right now.
01:17
<&McMartin>
Also, glLoadGen seems pretty solid
01:19 Netsplit *.net <-> *.split quits: Attilla, @Tarinaky, @gnolam, shawn-p1, @himi, @franny, @iospace, @Tamber, @ErikMesoy|sleep, Zemyla, (+1 more, use /NETSPLIT to show all of them)
01:21 Derakon [Derakon@31356A.8FA1FE.CF2CE9.D6CF77] has joined #code
01:21 mode/#code [+ao Derakon Derakon] by ChanServ
01:21 Netsplit over, joins: @Tamber, @himi, @franny, @iospace, shawn-p1, @gnolam, @Tarinaky, Zemyla, Attilla, @ErikMesoy|sleep (+1 more)
01:30 Zamolxe [serbanghit@297948.D5DAFE.1FDA33.B5510E] has joined #code
01:30 Zamolxe [serbanghit@297948.D5DAFE.1FDA33.B5510E] has quit [Client closed the connection]
01:41 Moltare [Moltare@583787.FF2A18.190FE2.4D81A1] has quit [Ping timeout: 121 seconds]
01:42 Reiv [NSwebIRC@D4E70A.D52DB0.820B13.98C775] has joined #code
01:44
< auREAX>
marvin pls stop hacking me
01:44 Moltare [Moltare@583787.FF2A18.190FE2.4D81A1] has joined #code
01:45
< Reiv>
If Marvin is giving your computer commands, you've got bigger problems than Marvin.
01:46
<@Azash>
I'll worry when Marvin starts doing the startkeylogger thing
01:46
<&Derakon>
Why would he need to start it? It never stopped.
01:48
< celticminstrel>
Why would an IRC bot be giving my computer commands? :O
01:50 VirusJTG [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has quit [[NS] Quit: time to go to sleep]
01:50
< syksleep>
because he secretly wants to rule the world
01:51
< syksleep>
and maybe get enough computers to play Pandemic 2 and have a chance of winning via brute force
01:54
<@Tarinaky>
Sleep is for the decaffinated.
01:57
<@Tarinaky>
What I really need is a list of nouns and adjectives that sound really enterprise-y
01:58
<@Tarinaky>
Words like Dynamic.
01:59
<&Derakon>
http://www.businessbuzzwordbingo.com/
01:59
<@Tarinaky>
Nah, not what I'm looking for.
02:01
<@Tamber>
http://search.cpan.org/~tels/Dev-Bollocks-0.06/lib/Dev/Bollocks.pm ?
02:01
<@Tarinaky>
No, I mean for building proper nouns/names.
02:02
<@Tarinaky>
Character generation... for businesses!
02:29 Attilla [Obsolete@Nightstar-b6de7b68.range86-171.btcentralplus.com] has quit [Ping timeout: 121 seconds]
03:08 Kindamoody[zZz] is now known as Kindamoody
03:11 cpux [cpux@Nightstar-98762b0f.dyn.optonline.net] has quit [Client closed the connection]
03:12 cpux [cpux@Nightstar-98762b0f.dyn.optonline.net] has joined #code
03:57 cpux [cpux@Nightstar-98762b0f.dyn.optonline.net] has quit [[NS] Quit: Well, most things get better when I kick them!]
05:04
<~Vornicus>
resources = [[value * max((n * bonus, letter + str(n)),((n-1) * (bonus + PER_PLANET_BONUS), upper(letter) + str(n-1))) for n in range(available_facilities + 1)] for value, bonus, letter in zip(mor, base_bonuses, "mor")] # Somebody beat me with a stick.
05:05 * Derakon beats Vorn with the stick of "just because list comprehensions exist doesn't mean all one-liner for loops must be list comprehensions".
05:07 * syksleep beats Vornicus with a bucket of buckyballs
05:07
< syksleep>
also
05:07
< syksleep>
http://savemagnets.com/
05:07 syksleep is now known as Syk
05:07
< Syk>
the us govt is trying to ban buckyballs
05:08
<@Alek>
...
05:08
<@Tamber>
"trying to"?
05:08
< Syk>
or rather, 'are'
05:08
<@Tamber>
I thought they'd given up fighting already.
05:11
< Syk>
heh
05:19
<&Derakon>
The company that makes them gave up, yeah.
05:19
<&Derakon>
Zen Magnets, which makes a superior product (tighter specs on the diameter, for example), is also under fire.
05:20
<&Derakon>
http://zenmagnets.com/index.php?p=1_18_CPSC_Press_Release
05:20
< Syk>
america: land of the free
05:21
< Syk>
where it's easier to buy radioactive materials than small magnets
05:21
<&Derakon>
To be fair, if you swallow a couple of chips of rare earth magnets (and they chip easily), they'll bore holes through your small intestine.
05:21
<&Derakon>
Not so much fun.
05:45 * Vornicus slowly teases apart this terrible listcomp
05:45
< Syk>
wheeee got my australian business number
05:45
< Syk>
now to apply for a name
05:45
< celticminstrel>
The US government tries a lot of stupid things... like acting as though they own the Internet...
05:46
<&Derakon>
That's hardly unique to the US government; everyone thinks that.
05:46
<&Derakon>
And I don't just mean all the other governments.
05:46
< celticminstrel>
Heh.
05:46
<&Derakon>
Though they're more likely to try to act on that belief than most actors.
05:46
<@Alek>
Syk: what's the business?
05:47
< Syk>
computer repair right now
05:47
< celticminstrel>
Well, my statement did include the word "acting", so...
05:47
< Syk>
in about 3 months, SaaS dev or something
05:47
<@Alek>
WeFixTheSyk
05:47
< Syk>
lols
05:47
< celticminstrel>
What on earth is this magnety nonsense...
05:48 * Alek needs some feedback on a resume/CV... >_>
05:48 * Syk eats Alek's resume, burps
05:48
< Syk>
is it in LaTEX
05:48
< Syk>
LaTeX*
05:49
<@Alek>
nope.
05:49
<@Alek>
pdf XD
05:49 * jerith has been providing feedback on CVs recently, can take a look.
05:49
<@Alek>
exported from .doc
05:49 * Syk sets fire to the evil .doc
05:49
< Syk>
:P sure pm me a link
05:49
<@Alek>
hey now, it's the de facto standard. XD
05:49 * celticminstrel uses docx now.
05:50
< Syk>
so is Windows, doesn't mean it's any good~
05:50
< celticminstrel>
Or sometimes rtf.
05:50
<@Alek>
well, sure, I can do docx too.
05:50
<@Alek>
in fact, I should. XD
05:50
<@Alek>
MO10E.
05:50
< celticminstrel>
?
05:50
<@Alek>
Microsoft Office 2010 Enterprise
05:51
< Syk>
>Studied COBOL
05:51
< Syk>
you poor poor soul
05:51
< Syk>
:P
05:51
<@Alek>
I blame DeVry.
05:52
< celticminstrel>
Oh. I have Office 2011.
05:52
<@Alek>
it was on the CIS curriculum. right after BASIC.
05:52
<@Alek>
oh, there was also unix shell scripting.
05:52
< Syk>
I see nothing outwardly wrong with it... the formatting at the bottom is a little weird, and it probably needs tightening up in some areas ('flavours of Windows' isn't used by HR drones)
05:52
<@Alek>
but I don't remember any of that.
05:52
< Syk>
and don't say that, before they go "Oh good, someone who knows Windows 3.11 for Workgroups - we've got this machine in the corner that's been having some problems..." :P
05:53
<@Alek>
well, it's not getting sent to a HR drone. not directly, anyway. but yeah, good pint.
05:53
<@Alek>
point.
05:53
<@Alek>
do I need to change this keyboard? sheesh.
05:53
< Syk>
specify the versions (XP, Vista, 7, 8)
05:53
<@Alek>
ALL.
05:53
<@Alek>
I've used them all from 3.11 onwards.
05:53
< Syk>
do you want to work somewhere that operationally uses anything before XP?
05:53
<@Alek>
MAY have used something older before I knew the difference. XD
05:54
<@Alek>
well, 98SE wasn't that bad. >_>
05:54
<@Alek>
but true. XD
05:54
< Syk>
only list the relevant things
05:54
< celticminstrel>
Are we talking about versions of windows used?
05:55
< Syk>
and don't use "etc" after two examples
05:55
< celticminstrel>
I guess I've used 3.1 (minimally), 95, 98, XP, and 7... oh, and ME.
05:55
< celticminstrel>
Some more than others. Win7 only at school.
05:55
< Syk>
so, not NT4, 2000, Vista or 8 RT? :P
05:56
<@Alek>
:P
05:56
< celticminstrel>
Pretty sure I haven't used NT or 2000.
05:56
< Syk>
oh wait i mixed up there
05:56
<@Alek>
oh, I haven't touched 8 yet. so there's that.
05:56
< celticminstrel>
Nor Vista.
05:56
< Syk>
celticminstrel: i thought you were Alek for a second lol
05:56
< Syk>
but yeah
05:56 * Vornicus ends up with 14 lines of code instead of that listcomp
05:56
< celticminstrel>
Unless the school computers had Vista before they updated to 7.
05:56
< Syk>
8 is being used by businesses that don't like business continuity or sanity
05:57 Alek [omegaboot@Nightstar-56dbba0f.in.comcast.net] has quit [[NS] Quit: beroot for the win!dows]
05:59
<&jerith>
Vornicus: Was it a very complicated listcomp?
06:00 Syloq_Home [Syloq@NetworkAdministrator.Nightstar.Net] has quit [[NS] Quit: ]
06:01
<~Vornicus>
jerith: I wrote it up there. It built a 2d list with tuples inside, selecting between two possible tuples using max.
06:02 Alek [omegaboot@Nightstar-56dbba0f.in.comcast.net] has joined #code
06:02 mode/#code [+o Alek] by ChanServ
06:02
<&jerith>
Yes. Yes, it is.
06:02
<@Alek>
back.
06:02
<@Alek>
what did I miss?
06:02
<~Vornicus>
jerith asked if my listcomp was complicated and I described it to him.
06:06
<@Alek>
so, please remind me what the things I should change were?
06:06
<@Alek>
Windows, flavors of. etc.
06:07
<@Alek>
besides those.
06:07
< Syk>
"I can learn" should be a 'skill' rather than experience
06:07
<@Alek>
maybe s/can/want to/
06:07
< Syk>
yeah
06:08
<@Alek>
maybe change it to Skills And Experience?
06:10
<@froztbyte>
hello world
06:11
<@Alek>
Error: Invalid Exception
06:11
<&jerith>
Hello froztbyte.
06:11
< Syk>
hello planetoid
06:11 * Alek needs to finish up this resume so he can mail it off and go to sleep. he needs to be up in 5 hours. :(
06:12
<@froztbyte>
Alek: which TZ are you in? somewhere in leftpondia?
06:13
<@Alek>
GMT-6
06:13
<@Alek>
so yeah.
06:13
<@Alek>
it's just past midnight here.
06:14
< celticminstrel>
Quarter past one for me. :/
06:15
< Syk>
whoo business name registered
06:15
<@Alek>
east coaster.
06:15
<@Alek>
XD
06:15 * Syk is actually a business now :U
06:15
<@Alek>
Syk: so what did you choose?
06:15
< Syk>
if i told you that, I would have to kill you c:
06:15
< Syk>
(mainly because literally all my personal details are gettable via the ASIC register now)
06:16 ErikMesoy|sleep is now known as ErikMesoy
06:20 Kindamoody is now known as Kindamoody|out
06:23 * Azash suspects Kindamoody is Erik's secret identity
06:23
<@Azash>
Syk: Nice \o/
06:24
< Syk>
:3 now for gaems
06:24
<@Kindamoody|out>
wut
06:25
<@Azash>
Syk: I'll make sure I leech advice from you when I feel ready to do the whole entrepreneurship thing myself
06:25
<@Kindamoody|out>
I'm not Erik! I'm me!!!
06:25
<@Azash>
Kindamoody|out: yeah, just thought it was funny
06:25
<@Kindamoody|out>
:P
06:25
<@Azash>
How Erik comes back from sleep and you append |out
06:26
<@Kindamoody|out>
Hehe. ^^
06:26 * Kindamoody|out proceeds out, has a shed to build.
06:26
<@Alek>
heh. Send As is useful, in gmail. but you gotta remember to use it. XD
06:27
<@ErikMesoy>
I deny everything
06:27
<@Alek>
and it doesn't even remember it for a message chain.
06:28
<@Alek>
so I need to send off this resume to a guy who was recommended to me by a mutual acquaintance.
06:29
<@Alek>
how do I Subject? gah
06:29 * Alek is le bad at this type of thing.
06:36
<&McMartin>
Whoops. Looks like Iodine doesn't support vertex textures.
06:36 Nemu [NeophoxProd@Nightstar-2678ca93.asahi-net.or.jp] has quit [Client closed the connection]
06:37
<~Vornicus>
...vertex textures?
06:37 Nemu [NeophoxProd@Nightstar-f4e567ac.asahi-net.or.jp] has joined #code
06:38 * Alek ponders including both a .doc and a .pdf versions of resume.
06:39
< Syk>
Alek: .doc is useless
06:39
< Syk>
send only pdf
06:39
<@Alek>
and what if he doesn't have a pdf reader?
06:39
<~Vornicus>
I know literally noone without a pdf reader
06:39
< Syk>
i'm sorry, did i fall into 1998 again?
06:40
<~Vornicus>
If I sent my grandmother a PDF ten years ago she would have been able to open it.
06:40
<@Alek>
fresh PCs usually don't come with a reader preinstalled even now, in my experience. but ehh.
06:40
<@Alek>
also, see gubbermint computers. not that this is a gubbermint office.
06:41
<~Vornicus>
I haven't met a government computer without a pdf reader either.
06:41
< Syk>
Alek: what kind of business uses 'fresh pcs'
06:41
< Syk>
and PDF is standard in nearly every government organisation
06:41
<@Tamber>
I normally send a PDF and HTML copy, and offer others if they're needed.
06:41
<&jerith>
PDF is a pretty standard format.
06:41
< Syk>
PDF-A is uses heavily in anywhere federal
06:41
<@Alek>
hm.
06:41
<@Alek>
ok.
06:42
<&jerith>
gmail will show it to you through the interwebs, too.
06:42
< Syk>
unless their IT department breathes through their ass
06:42
< Syk>
and is actually a deep sea fish
06:42
< Syk>
they'll have a PDF reader
06:42
< Syk>
if not 7
06:43 Derakon is now known as Derakon[AFK]
06:44
<@Alek>
ok, I probably should include a few lines on my other employment.
06:44
<@Alek>
what's a nice way to say "warehouse monkey" and "temp jobber"?
06:44
< Syk>
'point of shipping order synergiser'
06:46
<~Vornicus>
find the actual title of the job.
06:47
<~Vornicus>
neither "warehouse monkey" nor "temp jobber" are that.
06:47
<@Alek>
mmm. true. I just don't really want to clog it up with a bunch of temp-job listings and titles.
06:48
<~Vornicus>
don't have to put them all. Or even most.
06:50
<@Alek>
nngh.
06:50 shawn-p1 [Shawn@Nightstar-4db8c1df.mo.charter.com] has quit [Ping timeout: 121 seconds]
06:50
<@Alek>
I just want a good, steady, long-term job. Is that so much to ask? :(
06:52
< Syk>
pick any two
06:53
<@Alek>
har har
06:53
<@Azash>
"Next, we will introduce you to sed, which is powerful like a roundhouse kick, but painful to get just right."
06:53 * Azash nods approvingly
06:54 * Alek ponders.
06:55
<@Alek>
there's basically 2 positions I've got my eye on here.
06:55
<@Alek>
one is a glorified data entry clerk, but I'm more or less qualified.
06:55
<@Alek>
the other I'm not really qualified for, it's a jr software developer, but I'd like a chance.
06:55
<@Alek>
should I mention anything?
06:55
< Syk>
well being qualified is a start
06:56
<@Alek>
whether in the email or in the resume, like in the Objective?
06:58 shawn-p [Shawn@Nightstar-4db8c1df.mo.charter.com] has joined #code
07:53 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:09
<&McMartin>
Rargh
08:09
<&McMartin>
None of my sampler2D objects work
08:09
<&McMartin>
Either in the vertex *or* the fragment shader; texture2d() invariably returns (0.0,0.0,0.0,1.0)
08:18 ReivDriod [Reiver@Nightstar-4a6e14e3.vf.net.nz] has joined #code
08:31
<&McMartin>
Alternately, I just can't load textures of any kind, wtfx
08:36 Vash [Vash@Nightstar-b43e074a.wlfrct.sbcglobal.net] has quit [[NS] Quit: I lovecraft Vorn!]
09:15 You're now known as TheWatcher
09:17 Attilla [Obsolete@Nightstar-b6de7b68.range86-171.btcentralplus.com] has joined #code
09:19 Alek [omegaboot@Nightstar-56dbba0f.in.comcast.net] has quit [[NS] Quit: ]
09:39 himi [fow035@Nightstar-5d05bada.internode.on.net] has quit [Ping timeout: 121 seconds]
09:42
<&McMartin>
wharrrgrbl
09:42 * McMartin makes it work, finally.
09:44
<&McMartin>
Apparently if I don't tell it that the max level of detail is 0, it will start using nonexistent textures. -_-
09:50 himi [fow035@Nightstar-5d05bada.internode.on.net] has joined #code
09:50 mode/#code [+o himi] by ChanServ
09:55
<&McMartin>
So
09:55
<&McMartin>
Things I learned tonight:
09:55
<&McMartin>
Despite the fact that all OpenGL 2.x chips must support at least 2 texture units, they only have to support a maximum of zero in the vertex shader.
09:55
<&McMartin>
When you define a texture with glTexImage2D, unless you say that the max mipmap level is 0 instead of 1000, then even if you're using a non-mipmap sampler on the texture it will still feel free to index into nonexistent textures, effectively ignoring glEnable(GL_TEXTURE_2D) in addition to making it look like your shader is broken when it's not
09:55
<&McMartin>
Luminance textures do not preserve the values they are fed, breaking them up into human-consumable RGB combinations that are not easy to recombine on the fly.
09:58
< ReivDriod>
... what the shit
09:59
< ReivDriod>
Why on earth would you do that.
10:00
<&McMartin>
Why would I use Luminance textures, or what do they work like that?
10:01 himi [fow035@Nightstar-5d05bada.internode.on.net] has quit [Connection closed]
10:01
<&McMartin>
The work like that because the way luminance textures are supposed to work is that they turn into grayscale when rendered in an RGBA context (which, AFAICT, shader contexts always are, as are normal texture display)...
10:02
<&McMartin>
... and because the human retina reacts more strongly to green, for instance, you need to increase the R, G, and B components at different rates for a steady increase in luminance to appear to in fact *be* a steady increase from dimmest to brightest.
10:02
<&McMartin>
This is noticably less awesome when you're actually trying to use it to store a heightmap, though. -_-
10:03 * McMartin solved that one by saying "This will be an RGBA texture but the only value I'm sending you in it is the Green intensity."
10:03
< ReivDriod>
... Ah. So you mean the system makes sense, but you're trying to hack it?
10:04
<&McMartin>
More or less
10:04
<&McMartin>
The trick I've been trying to do here is to use OpenGL textures to describe terrain geometry.
10:04
<&McMartin>
It turns out that despite the OpenGL 2.1 spec totally allowing this, there's a casual side note that says that you can be OpenGL 2.1 compliant and still not allow it. -_-
10:05
<&McMartin>
So, for instance, now this machine right here can't run the demo anymore.
10:05
<&McMartin>
Hee
10:05
<&McMartin>
"Nope, I'm busy. Trains to build, top hats and monocles to wear."
10:05
< ReivDriod>
... So allowed but not compulsory?
10:06 himi [fow035@Nightstar-5d05bada.internode.on.net] has joined #code
10:06 mode/#code [+o himi] by ChanServ
10:06
<&McMartin>
YEah
10:06
<&McMartin>
Which means "if you intend it to be more than a tech demo, forbidden" -_-
10:12
< Syk>
just finished setting up Google Apps
10:13
< Syk>
apart from the requisite DNS screwassery, it's great and rather easy to use
10:13
< Syk>
(also free for 10 users, which is good)
10:14
< Syk>
so yes. it gets a 9/10, syka would recommend
10:14
< Syk>
which as Tamber would know, means it is rather good
10:14
< Nemu>
What would make it a 10?
10:14
< Syk>
:P
10:14
< Syk>
Nemu: if I didn't have to log out of my personal google account to do anything
10:14
< Syk>
but thats fine as i can use it on my phone/tablet
10:14
<&jerith>
Syk: You can use both.
10:15
< Syk>
'you can use both'
10:15
< Syk>
in theory, yes
10:15
<&jerith>
It's a bit tricky if you click on links to docs or something.
10:15
< Syk>
in actuality, use G+ and it screws everything up
10:15 * jerith uses both.
10:15
<&jerith>
My work account has G+ as disabled as it can be.
10:16
< Syk>
heh
10:16
< Syk>
i'm probably going to need one, and probably a facebook account too
10:16
< Syk>
argh fucking marketing
10:20
< ReivDriod>
Google apps being?
10:22
< Syk>
ReivDriod: GMail, Docs, etc for businesses
10:22
< Syk>
and you use your own domain
10:23
< ReivDriod>
Oh yes I remember that, know a couple consultants that use it, and my university used gmail for student accounts too
10:30 RichyB [richardb@Nightstar-3b2c2db2.bethere.co.uk] has joined #code
11:49 * McMartin is now using immediate mode to submit the same 200-odd vertices 64 times per frame.
11:49
<&McMartin>
Maybe I should look into those Vertex Buffer Object thingies.
12:13 himi-cat [fow035@Nightstar-5d05bada.internode.on.net] has joined #code
12:16 himi-cat [fow035@Nightstar-5d05bada.internode.on.net] has quit [[NS] Quit: Leaving]
13:17 RichardB [richardb@Nightstar-3b2c2db2.bethere.co.uk] has joined #code
13:20 RichyB [richardb@Nightstar-3b2c2db2.bethere.co.uk] has quit [Ping timeout: 121 seconds]
13:30 Alek [omegaboot@Nightstar-56dbba0f.in.comcast.net] has joined #code
13:30 mode/#code [+o Alek] by ChanServ
14:36 RichardB [richardb@Nightstar-3b2c2db2.bethere.co.uk] has quit [Ping timeout: 121 seconds]
15:09 Syloq_Home [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code
15:15 RichyB [richardb@Nightstar-3b2c2db2.bethere.co.uk] has joined #code
15:20 celticminstrel [celticminst@Nightstar-05d23b97.cable.rogers.com] has joined #code
15:49 Derakon[AFK] is now known as Derakon
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:32 Syk is now known as syksleep
16:57
<@Tarinaky>
Oh for fuck's sake, why won't this commit push :/
16:58
< AnnoDomini>
What does it say?
16:59
<@Tarinaky>
It says there's a non-fast-forward commit.
16:59
<@Tarinaky>
But when I pull it says I'm up to date and there's nothing to merge.
16:59
<@Tarinaky>
:////
16:59
<@Tarinaky>
Oh goodie. It works if I do it from the CLI.
17:00
< AnnoDomini>
How else can you do it?
17:00
<@Tarinaky>
From Eclipse.
17:00
<@TheWatcher>
Eeech
17:00
<@Tarinaky>
Because Windows isn't well known for its superb CLI.
17:00 * TheWatcher gets out the crucifix
17:00
<&jerith>
Eclipse VCS integration assumes everything is CVS.
17:00 * RichyB grabs the book, bell and water.
17:00
<@TheWatcher>
And it is also shit
17:01
<@TheWatcher>
Tarinaky: install cygwin, use that.
17:01
<@Tarinaky>
I am using that.
17:01
<@Tarinaky>
We have had long discussions over the particular ways that fucks everything up.
17:02 * AnnoDomini swaps RichyB's water for a candelabrum.
17:03
<&jerith>
git was written to manage the Linux kernel. I don't think Windows support is very high on their interest list.
17:03
<~Vornicus>
Tarinaky: what vcs?
17:03
<@Tarinaky>
Is there a way to undo a commit on a particular file?
17:03
<&jerith>
Vornicus: git, by the "fast-forward" reference.
17:03
<@Tarinaky>
I've fucked something up/
17:04
<&jerith>
Tarinaky: You can fix it and then "git commit --amend".
17:04
<@Tarinaky>
Two problems with that.
17:04
<@Tarinaky>
The fix is "I want to undo all the changes to a particular file, made by a particular commit"
17:04
<&jerith>
Or you can "git reset --soft HEAD^", fix it and commit again.
17:04
<@Tarinaky>
Every other file is fine.
17:04
<&jerith>
Oh, is it not the most recent commit?
17:05
<@Tarinaky>
It is the most recent commit.
17:05
<@Tarinaky>
The commit is also pushed so amend is bad.
17:05
<&jerith>
Oh, it's pushed.
17:05
<@Tarinaky>
I don't mind making another commit.
17:05
<&jerith>
Hrm.
17:05
<@Tarinaky>
But I need to undo the changes made to a particular file.
17:05
<@Tarinaky>
Can't I tease a patch or something out of git?
17:06
<&jerith>
"git diff HEAD^" will give you the diff.
17:06
<@Tarinaky>
It gives me nothing.
17:07
<~Vornicus>
I have some shell integration thing for git. I don't remember if it was tortoise or soemthing else.
17:07
<&jerith>
Then you can apply it in reverse (patch has a flag for that), checkout all the files it changed that aren't the one you want to revert and commit the remaining one.
17:07
<&jerith>
That's strange.
17:10
< RichyB>
Tarinaky: git log -p file # will give you diffs from all of the commits that touched file.
17:10
<@Tarinaky>
Argh.
17:10
< RichyB>
Pick out the revision number of the change that you want to undo on that one file, and the commit before that one.
17:10
<@Tarinaky>
I can't even get the damn thing to merge this fucking commit right in the first fucking place.
17:11
< RichyB>
git diff commit1 commit2 | patch -p0 -R
17:11
< RichyB>
oh, oops
17:11
< RichyB>
git diff commit1 commit2 file | patch -p0 -R
17:12
< RichyB>
in fact, you can just write "git diff commit1 commit1^ file", which is nice.
17:12
< RichyB>
no need to look up the other one.
17:13
<@Tarinaky>
Why won't this fucking thing do the right fucking thing :/
17:14
< RichyB>
Because you're angry and you don't understand the state that you've gotten your tree into.
17:15
<@Tarinaky>
No. I don't.
17:16
<@Tarinaky>
How the fuck do I unfuck this?
17:16
<&jerith>
git is a tool that is prone to this kind of problem.
17:16
<@Tarinaky>
This commit doesn't even touch Monster.java
17:16
<@Tarinaky>
So why the fuck does merging it touch it?
17:19
<@Tarinaky>
Okay. Never mind. Got it.
17:19
<@Tarinaky>
I think.
17:20
< AnnoDomini>
I once had trouble with commits so I uncommitted stuff with the HARD option. It kind of brought me back to the version on the remote repository, cancelling all my changes, but there weren't very many, thankfully.
17:21
<@Tarinaky>
I still don't know if this is fixed because my test coverage is incomplete.
17:22
<&jerith>
If it's untested, assume it's broken.
17:23
<&jerith>
Then fix it by writing tests to see if it works.
17:23
<&jerith>
(And fixing it if it doesn't.)
17:25
<@Tarinaky>
This is a bit chicken and egg though.
17:27
<&jerith>
Why?
17:27
<&jerith>
Write a test to see if it works.
17:28
<@Tarinaky>
Like?
17:29
<&jerith>
Dunno.
17:29
<&jerith>
I don't know your code.
17:29
<@Tarinaky>
Neither do I. I haven't looked at it for 10 days.
17:29
<@Tarinaky>
I've slept since then.
17:30
<@Tarinaky>
The gaps in the unit tests coincide with where the system tests are supposed to be.
17:30
<@Tarinaky>
Except the system tests don't exist yet, because there isn't a system.
17:30
<&jerith>
Then it's a good chance to familiarise yourself with it again.
17:30
<@Tarinaky>
Except I only had to add one patch.
18:08
<@Tamber>
https://fbcdn-sphotos-e-a.akamaihd.net/hphotos-ak-snc7/430711_10151125923611401_ 380783041_n.jpg
18:15
< RichyB>
Original source: http://www.sandraandwoo.com/2012/11/19/0430-software-engineering-now-with-cats/
18:16
< RichyB>
If you don't hate the very concept of webcomics, or even comics on the internet, with the marrows of your bones themselves, then you might want to be reading Sandra and Woo.
18:17
<@Tamber>
Meh. That's the link that cropped up elsechan.
18:23 You're now known as TheWatcher[afk]
18:27
<~Vornicus>
I preferred the one with the tire swing.
19:41
<&jerith>
I don't really like that analogy.
19:42
<&jerith>
It follows the "software development as construction" fallacy.
20:07
<@Tarinaky>
I like the first panel of the "How software is designed" thing.
20:08
<@Tarinaky>
With the varying levels of detail.
20:08
<@Tarinaky>
"pfft, it's a tail. How hard could it be..."
20:08
<@Tarinaky>
*80% of the project budget later*
20:19
<@Tarinaky>
"Not only were we able to find intelligent life among the stars, we were amazed at how similar with us they were. The only problem is our internet addressing schemes are mutually incompatable - so we're holding out on celestial horrors with IPv6."
20:21
<@ErikMesoy>
What's that from?
20:22
<@Tarinaky>
My imagination.
20:34 Kindamoody|out is now known as Kindamoody
20:37
< RichyB>
Tamber: sorry, wasn't criticising you, just noting that if you liked that at all, you might want to be reading their entire archive.
20:42 Vash [Vash@Nightstar-b43e074a.wlfrct.sbcglobal.net] has joined #code
20:42 mode/#code [+o Vash] by ChanServ
21:05 Kindamoody is now known as Kindamoody[zZz]
21:10
<@Tamber>
Ah.
21:27
<&McMartin>
Kittybrain is only 4%
21:52 Vash [Vash@Nightstar-b43e074a.wlfrct.sbcglobal.net] has quit [[NS] Quit: I lovecraft Vorn!]
22:05 ErikMesoy is now known as ErikMesoy|sleep
22:12 RichyB [richardb@Nightstar-3b2c2db2.bethere.co.uk] has quit [[NS] Quit: Leaving]
22:20 You're now known as TheWatcher
22:42 celticminstrel [celticminst@Nightstar-05d23b97.cable.rogers.com] has joined #code
23:05 Nemu [NeophoxProd@Nightstar-f4e567ac.asahi-net.or.jp] has quit [Ping timeout: 121 seconds]
23:07 * McMartin commits a one-character bugfix.
23:07
<&McMartin>
I think that's a new record for me.
23:07
<&McMartin>
Protip: when initializing fields, f_ = f_; doesn't work as well as f_ = f; does, though both compile happily.
23:08
<~Vornicus>
Now all you need is a 0-character bugfix.
23:08
<~Vornicus>
I don't know what that would look like.
23:08
<&McMartin>
RESOLVED WORKSFORME
23:08
<~Vornicus>
that's not a bugfix
23:09
<&McMartin>
Elsenet, it is suggested that fixing a letter's capitalization counts as a "one bit bugfix"
23:11
<~Vornicus>
nice
23:11
<&McMartin>
What's impressive is how corner-casey this particular rather flagrant bug ended up being.
23:11
<&McMartin>
Like, of something like 30 operations modes for this object, this only produced a bad result in one of them.
23:16
<~Vornicus>
man
23:21
<&McMartin>
Man, VMware's mostly-software OpenGL implementation is better than Iodine's hardware. -_-
23:24 VirusJTG [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has joined #code
23:31 Derakon [Derakon@31356A.8FA1FE.CF2CE9.D6CF77] has quit [Client exited]
23:55 You're now known as TheWatcher[T-2]
23:57 You're now known as TheWatcher[zZzZ]
--- Log closed Tue Nov 20 00:00:07 2012
code logs -> 2012 -> Mon, 19 Nov 2012< code.20121118.log - code.20121120.log >

[ Latest log file ]