code logs -> 2012 -> Wed, 21 Nov 2012< code.20121120.log - code.20121122.log >
--- Log opened Wed Nov 21 00:00:22 2012
00:10
< ToxicFrog>
Fuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuck Eclipse
00:10
< ToxicFrog>
I need to cite Eclipse 2.3
00:10
< ToxicFrog>
The Eclipse Foundation is busy trying to erase all references to pre-3.x Eclipse from the historical record
00:10
<@Tamber>
Ugh.
00:11 * Vornicus pokes at Galactic Vorntiers. Next up, writing text on the planet renders.
00:25 Derakon[AFK] is now known as Derakon
00:29 You're now known as TheWatcher[T-2]
00:31 * McMartin grumbles at open-source projects and their occasional hatred of history.
00:31 You're now known as TheWatcher[zZzZ]
00:31
<&McMartin>
If you want to, you can totally get the original data we inherited for UQM!
00:31
<&McMartin>
All 1.5GB of useless AIFFs, so, uh, we don't usually hand it out
00:31
<&McMartin>
But it's *there if you look*
00:37
<~Vornicus>
Text is kind of a pain to draw.
00:41
<&Derakon>
Yep.
00:41
<&Derakon>
At least SDL has built-in text rendering.
01:02
<&McMartin>
Sort of
01:03
<&McMartin>
Hm
01:03 * McMartin wonders how expensive reassigning the modelview matrix is.
01:03
<&McMartin>
I have a silly idea of locking a single quad into the GPU and using texture/modelview transform matrices to actually build a tile engine entirely out of that.
01:03
<&McMartin>
By repeating that one quad over and over and over.
01:06
<~Vornicus>
that is silly.
01:08
<&McMartin>
I'm not totally convinced it is; it means an operation that's basically "blit this here" but you're using the modelview matrix (glTranslate) to do it instead of changing the raw vertex data.
01:09
<&McMartin>
I mean, you're already using textures instead of sprites, right.
01:11
<@himi>
I imagine on reasonably modern hardware it'd be equivalent to updating a uniform value
01:12
<&McMartin>
Right
01:12
<&McMartin>
The question is "is repeatedly updating a uniform value faster or slower than submitting a dynamic set of vertices"
01:13
<~Vornicus>
well
01:13
<&McMartin>
(In 2.1, gl_ModelViewMatrix *is* a uniform value)
01:13
<~Vornicus>
a quad is 12 values, and a matrix is somewhere in the neighborhood of 9-16 depending
01:14
<@himi>
Well, given uniforms are probably optimised for updating once every draw or so, I suspect you might find that code path wasn't as highly optimised as the vertex data transfer path
01:14
<&Derakon>
Updating the value requires going back to the CPU, right?
01:14
<&McMartin>
Derakon: Right, but that's invariably true for uniforms.
01:15
<&McMartin>
Vornicus: Well, so, normally you update the modelview matrix once for each object in the scene, to place that object.
01:16
<&McMartin>
The place this came from was "in a 2D OpenGL spritey system, object == sprite."
01:16
<&McMartin>
And now that I look at the calls, actually, both are 32 values per sprite.
01:17
<&McMartin>
Oops, wait, no
01:17
<@gnolam>
The solution is obviously to use point sprites for the tiles and let the GPU handle the expansion to 4 vertices.~
01:17
<&McMartin>
gnolam: So, actually, that's tilde-free probably not a bad idea with OpenGL 2.1+.
01:17
<&McMartin>
I'm rewinding to 1.5 here.
01:18
<&McMartin>
Where point sprites existed but kind of were terrible
01:18 * McMartin fingertaps
01:18
<&McMartin>
Actually, what controls is CPU-based quadtree culling~
01:34
<&McMartin>
[database] Gunther says (to vimes), "we figured out that 'big data' is what little devops make when they have a hadoop in their pants"
01:35
<&McMartin>
OK, the basic space here is 2D flip-scrolling a la Knytt Stories or VVVVVV.
01:35
<&McMartin>
Though it works with screen-based too.
01:35
<@himi>
Flip scrolling?
01:36
<&McMartin>
flip scrolling is where the scroll unit is the width or height of the playfield, resulting in the map being divided into a set of unique "screens"
01:36
<@himi>
Ah
01:36
<~Vornicus>
Flip scrolling: Zelda I, Faxanadu, VVVVVV, Knytt Stories etc
01:36
<&McMartin>
I meant "smooth-scroll based" not "screen-based.
01:36
<&McMartin>
Anyway
01:37
<&McMartin>
The level geometry (tiles, etc) are one large chunk of vertex buffer objects, arranged in a way that allows you to take contiguous subsets to represent a single screen.
01:37
<&McMartin>
The modelview matrix is, essentially, Just The View Matrix.
01:37
<&McMartin>
You know what screen you're on so you can pick a start point for rendering the background that actually gets everything.
01:37
<&McMartin>
(For smoothscrolling, you end up rendering up to four "screens" worth of stuff and rely on the card to cull the rest)
01:38
<&McMartin>
Objects are loaded into place as streamed vertex data.
01:38
<&McMartin>
Textures are all loaded and prepared at level start, as is the level backgrounds and tiles.
01:38
<&McMartin>
Tweaking the modelview matrix will get you the ability to do horrible Mode 7 effects and also lesser effects like screen-shaking.
02:10 mac [NSwebIRC@Nightstar-fe8a1f12.il.comcast.net] has joined #code
02:11
< mac>
how long do you guys think it would take to rewrite the TCPIP protocol so its "safe".
02:12
<@Tamber>
That would depend on what you mean by 'safe'.
02:14 VirusJTG [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has joined #code
02:15 Attilla [Obsolete@Nightstar-b6de7b68.range86-171.btcentralplus.com] has quit [[NS] Quit: ]
02:16
< mac>
safe by todays rsa6 standards.
02:21
< Zemyla>
Isn't that what you use SSL for?
02:24
< mac>
Tcpip is still vulnerable... sure your ssl is ok, but its TCPIP is the underlying structure. tell me why would you a structure build on sand? ( if you could build it on bedrock )
02:26
< Reiv>
How on earth would you build it bedrock?
02:33
<@Azash>
There's a reason for the layer division
02:35
< mac>
azash would it be wise to rewrite the layers if you wanted the whole thing to be more secure?
02:37
<@Azash>
Also if you want to discuss, don't say things like "TCPIP protocol"
02:37
<@Azash>
TCP is designed to provide a connective service using a network layer service, and it does that reasonably well
02:37
<@Azash>
Security-wise, I'd imagine you'd want to focus more on middleware and application layers
02:39
< auREAX>
I assume you mean TLS.
02:40
< auREAX>
I also assume you don't want to 'rewrite' unless you want to break every application in existence.
02:40
< syksleep>
banks suck
02:40 syksleep is now known as Syk
02:40 * Syk spent nearly an hour in the bank trying to get a business account set up :|
02:41
< auREAX>
Also, putting TLS into the network layer and thus in the kernel layer means a hole in the TLS implementation would be very exploitable
02:41
<@Azash>
Did you succeed at your endeavour?
02:41
< Syk>
EVENTUALLY, yes
02:41
< auREAX>
you'd have to update your kernel to fix the hole
02:41
<@Azash>
\o/
02:41
< Syk>
the cops were called twice to escort the arguing aboriginals out of the building, but hey
02:41
< auREAX>
mac | Tcpip is still vulnerable... sure your ssl is ok, but its TCPIP is the underlying structure. tell me why would you a structure build on sand? ( if you could build it on bedrock )
02:41
< Syk>
that's just how it is living in Australia
02:41
< auREAX>
TCP isn't built on sand, it's just not guarded by machine guns
02:42
< Syk>
TCP is fine
02:42
< Syk>
there's TLS for a reason
02:42
< auREAX>
that was his idea
02:42
< auREAX>
'rewrite' TCP to automatically do TLS
02:43
< Syk>
ugh
02:44
< Syk>
mother is upset, I think I might just go out again or something
02:44
< auREAX>
what's up
02:44
< auREAX>
@Azash | There's a reason for the layer division
02:44
< auREAX>
Needs to be said TCP/IP is already pretty wishy-washy as for in what layer it resides
02:45
<@Azash>
You mean TCP?
02:45
< Syk>
auREAX: mother's been fucked over by work
02:45
< auREAX>
yeah
02:45
< Syk>
-v- man this has been all sorts of fuckery
02:47
< mac>
aureax would rewriting tcp/ip destroy every application?
02:48 mode/#code [+ao ToxicFrog ToxicFrog] by ChanServ
02:49
< auREAX>
unless you update every kernel in the world at the same time
02:53
< mac>
so i would need to write a new kernel for the os that was going to use the new standard? could i build in both standards?
02:56
< Syk>
you'd need to write a new networking stack
02:59
< mac>
how long would it take a big corp like apple or microsoft to do? (do well)
03:05
<@Azash>
It would probably take months
03:05
<@himi>
Depending on how much of a change you implemented, rewriting IP might not be too much of an issue
03:05
<@Azash>
Not including the time for IETF standardization
03:06
<@himi>
In fact, it gets done on a regular basis
03:06
<@Azash>
Also not including the time spent convincing all parties
03:06
<@himi>
For a major flag-fall style change, just look at how long it's taken everyone to decide to support IPv6
03:06
<@Azash>
Also not including the months or years spent getting the kind of networking knowledge that will allow you to write protocols from scratch
03:07
<@Azash>
Also not including all the cryptographic, EE and security engineering knowledge to implement proper security
03:07
<@Azash>
I could go on :P
03:08
<@himi>
Oh hey, IPv6 actually includes built-in support for ad-hoc encryption of links
03:08
<@himi>
If you like the idea of building TLS into the core stack
03:24
< auREAX>
himi: bullshit
03:24
< auREAX>
it took an isp here 2 years to implement ipv6 here
03:24
< auREAX>
afters its standardization
03:24
< auREAX>
:p
03:24
< auREAX>
after*
03:26
<@Azash>
There are always exceptions
03:26
<@Azash>
I don't think the argument was as much "impossible to be done quickly" as "not going to be done quickly"
03:27
< auREAX>
it was just a joke
03:27
< auREAX>
my own isp still has no v6 support
03:27
< auREAX>
scrubs
03:28 VirusJTG [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has quit [[NS] Quit: Program Shutting down]
03:40 Kindamoody[zZz] is now known as Kindamoody
04:10!Deepthought.NY.US.Nightstar.Net *** iospace invited Thalass|afk into the channel
04:11
<@Azash>
That's quite
04:11 * Azash sunglasses
04:11
<@Azash>
NOTICEable
04:13 * iospace groans
04:14 Thalass|santapics [thalass@Nightstar-20568af1.bigpond.net.au] has joined #code
04:14 * Thalass|santapics flops, then afk.
04:14
<@iospace>
:D
04:16 * Alek grabs a sledge, smashes the sunglasses.
04:16 * iospace grabs the sledge from Alek
04:16
<@iospace>
you're doing it wrong
04:16 * iospace introduces the sledge to Azash's skull
04:17
<@Alek>
well, it's not the puns I object to so much as the sunglasses meme.
04:17
<@Azash>
What do you have against poor Horatio?
04:18
<@Alek>
it's been overdone. let it die plzkthx.
04:18
<@Azash>
There is a certain irony in your statement, but let's not dwell on that
04:18
<@Alek>
there's SOME instances where a meme is appropriate.
04:19
<@Alek>
but trying to hammer a double-trapezoid peg into a round hole is a little much.
04:19
<@Alek>
bah. slep.
04:19
<@Azash>
To be honest, that pun was very similar to the kind of punchline you tend to hear at the end of CSI Miami intros
04:19
<@Azash>
I'll maintain that the usage was very appropriate
04:20
<@Alek>
bah I sez.
04:21
<@Azash>
Though, seeing the reaction, I think I'll just avoid jokes from now on
04:22 Kindamoody is now known as KiMo|showerandstuff
04:22 cpux|2 [cpux@Nightstar-98762b0f.dyn.optonline.net] has joined #code
04:25 cpux [cpux@Nightstar-98762b0f.dyn.optonline.net] has quit [Ping timeout: 121 seconds]
04:31
< Syk>
ughhhhhhh
04:31 * Syk flops on iospace :C
04:32 * iospace squishes
04:42 * iospace pokes Syk
04:51 * Syk pokes iospace
04:51
< Syk>
first client job in an hour~
04:53
<@himi>
My ISP has been offering v6 for years now too, but it's only in the last 12 months that my work has been doing anything serious about it
04:53
<@himi>
And thats' only because it's now a government requirement
04:54
< Syk>
the main ISP in aus is herpaderp and you have to request it and be a business customer
04:57
<@himi>
Bigpong is definitely about as dumb as you can get
04:57 * himi is with Internode
05:01
< Syk>
i'm with Telstra
05:10 KiMo|showerandstuff is now known as Kindamoody
05:23
<@himi>
You poor bastart
05:25
<&ToxicFrog>
xArgh
05:25
<&ToxicFrog>
I keep reading ISP as I_{sp} and getting confused
05:27 * Azash waves at ToxicFrog
05:35
<&ToxicFrog>
(yeah I've been rocket-sciencing)
06:22 Kindamoody is now known as Kindamoody|out
06:28 Vash [Vash@Nightstar-b43e074a.wlfrct.sbcglobal.net] has joined #code
06:28 mode/#code [+o Vash] by ChanServ
06:28
< Syk>
went on my first repair job
06:28
< Syk>
one of the laptops was a Pentium M
06:29
< Syk>
my 64bit Linux USB didn't work on it
06:29
< Syk>
at least it had USB booting >v<
06:36 Derakon is now known as Derakon[AFK]
06:39 celmin|mathing is now known as celticminstrel
06:46
<@Azash>
You can phase out 32-bit bootable media in.. 2023 maybe?
06:48
<@Tamber>
Bit optimistic, aren't you? :p
06:48
<@Azash>
Probably
06:56 * Thalass|santapics mwahaha
06:56 Thalass|santapics is now known as Thalass
06:57 * Azash sits down to work, looks at commits, notes that readme is at 7 lines after getting 11 commits yesterday
06:57
<@Azash>
I've heard the adage about "commit early, commit often" but this is a bit overdone
07:11 ErikMesoy|sleep is now known as ErikMesoy
07:20
<@froztbyte>
why?
07:21
<@froztbyte>
<Syk> my 64bit Linux USB didn't work on it
07:21
<@froztbyte>
get systemrescuecd
07:21
<@froztbyte>
the image is simultaneously 32bit and 64bit capable
07:23
<@froztbyte>
back when I used to do such things I had about 7 different memory sticks with random things loaded (couldn't get more than a 1GB or so at the time), some SD cards, a disc wallet full of things
07:23
<@froztbyte>
MiniPE, BartPE, sysreccd, ubuntu livedisc, fedora livedisc, the first few discs of deb, the rh9 discs, ...
07:23 * froztbyte could bootstrap nearly anything
07:24
<@froztbyte>
(anything x86 and amd64, at least)
07:24
<@froztbyte>
oh and I also had a small 80GB laptop drive that I could just jack into things, alongside the SATA/PATA convertor unit :D
07:27
< Syk>
wheeeee back
07:27
< Syk>
froztbyte: I just got a 10.04 bootable USB
07:27
< Syk>
:P which worked
07:27
<@froztbyte>
I actually sorta want to stab you for saying that ;)
07:28
<@froztbyte>
(USB is a form factor and wire protocol)
07:30 * Azash has epiphany as to how the codebase works, puts on wizard het
07:30
<@Azash>
hat
07:31
< Thalass>
USB is a radio term, darn kids.
07:32
< Thalass>
get offa my band, with yer wye-fies, and yer four-geez.
07:32 Thalass is now known as Thalass|afk
07:37
< Syk>
Azash: USB bootable media
07:37
< Syk>
:P how's that
07:38
<@Azash>
Syk: Hmm?
07:41
< Syk>
uh
07:41
< Syk>
froztbyte: *
07:41
< Syk>
i cannot into irc comprehension
07:41 * Azash pats Syk
07:42
<@froztbyte>
Thalass|afk: lulz
07:42
<@froztbyte>
Syk: pointer error
07:42
<@froztbyte>
and syntax error
07:43
< Syk>
:<
07:43 * Syk is all the errors
07:45 You're now known as TheWatcher
07:45 Thalass|afk [thalass@Nightstar-20568af1.bigpond.net.au] has quit [[NS] Quit: reboot]
07:47
<@froztbyte>
if errorCond: raise syk
07:47 * Syk throws up all over the terminal
07:47
< Syk>
ugh, got some unicode stuck in there
07:51
<@froztbyte>
http://blog.froztbyte.net/2012/08/everything-is-not-just-a-string/
07:53 celticminstrel is now known as celmin|sleep
07:53
< Syk>
hehee
08:02 * Syk feels sort of bad charging $80/hr >v>
08:02
< Syk>
...but then again, freelance, and everywhere in town is $110+, so
08:03
< Syk>
and I do have to make a living <v<
08:03 mac [NSwebIRC@Nightstar-fe8a1f12.il.comcast.net] has left #code [""]
08:04
<@froztbyte>
Syk: just because it's easy and cheap to your mind, doesn't mean it is to theirs
08:04
<@froztbyte>
if they're prepared to pay 80/hr, that's an acceptable rate
08:04
< Syk>
well, hm.
08:04
< Syk>
I suppose
08:05
< Syk>
at least I'm not the guy who charges $90 for an anti-virus scan with a coupon lol
08:08 * Vornicus giggles at froztbyte's link.
08:08
<~Vornicus>
Fun part, on your blog the symbols appear correctly, but they do not when I follow the link
08:09
<@froztbyte>
haha
08:26 Vash [Vash@Nightstar-b43e074a.wlfrct.sbcglobal.net] has quit [[NS] Quit: I lovecraft Vorn!]
08:53 Zemyla [zemyla@Nightstar-8fbb7981.compute-1.amazonaws.com] has quit [Ping timeout: 121 seconds]
08:59 Zemyla [zemyla@Nightstar-8fbb7981.compute-1.amazonaws.com] has joined #code
09:40
<@Azash>
10:32 <+one[coding]1> one day i was asleep early, dad didnt notice because lights were turned off, asked me something, i jumped up started typing code and rambling about fragment shaders
09:40
<@Azash>
Dedication!
09:44 Thalass [thalass@Nightstar-20568af1.bigpond.net.au] has joined #code
09:45
< Thalass>
attempting to keep inquisitive fingers away from a breadboard with servo twitching away and lights blinking: The joy of parenthood >.<
09:47 * Syk is gonna write a game for the lols
09:47 * Syk is gonna make it be in SPACE
09:47
< Thalass>
Then it will be the best game.
09:47
<@Tarinaky>
Acthung nein fingerpoken~
09:47
< Thalass>
*snerk*
09:47 Thalass is now known as Thalass|mmmovie
10:30 RichyB [richardb@Nightstar-3b2c2db2.bethere.co.uk] has joined #code
10:43 You're now known as TheWatcher[afk]
10:51 Attilla [Obsolete@Nightstar-b6de7b68.range86-171.btcentralplus.com] has joined #code
11:06
<@Tarinaky>
"You think that is a string? Oh silly you! Think twice! The third and fourth character are actually a pointer to a function that returns an asshole. I'm so fucking clever!!!"
11:06
<@Tarinaky>
Reddit on C.
11:12
< AnnoDomini>
Lul.
11:19 Nemu [NeophoxProd@Nightstar-ecef74ec.asahi-net.or.jp] has joined #code
11:54
<@Azash>
My favourite part about C: people who have never used it bitching about it
11:57
<@Azash>
Tarinaky: Could you link to that post?
11:59
< AnnoDomini>
I like C.
12:01
<@Azash>
To me C is the language that embodies the UNIX philosophy
12:01 * Azash waits for someone to start snarking about brainfuck
12:02
< AnnoDomini>
I find that C has everything I need. It's sure nice to use some of the synctatic shortcuts from C++, but otherwise, the rest of C++ I don't have any need for.
12:23
< Syk>
ugh.
12:25
< Syk>
the easiest way to write this application isn't maybe optimal
12:28 RichyB [richardb@Nightstar-3b2c2db2.bethere.co.uk] has quit [Ping timeout: 121 seconds]
12:29
<@Tarinaky>
Azash: Don't have the link. And the discussion isn't worth having.
12:29
<@Tarinaky>
I just like the idea of a function that returns an asshole.
12:30
< Syk>
i'm not sure how an application can return upper management
12:30
<@Tarinaky>
public static synchronized Asshole findAsshole(Hand left, Hand right, java.util.map youGetTheRestOfTheJoke) { //...
12:31
< Syk>
'synchronized Asshole' snrk
12:31
<@Tarinaky>
It still returns null.
12:32
<@Tarinaky>
Even with both hands and a Map.
12:32
< Syk>
LOL
12:33
<@froztbyte>
<Azash> My favourite part about C: people who have never used it bitching about it
12:33
<@froztbyte>
Mine: nothing.
12:33
<@Tarinaky>
I might be developing an anger issue. I keep wanting to shout at people.
12:33
< Syk>
Tarinaky: Tamber would attribute that to being in contact with me
12:34
< Syk>
:P
12:44 RichyB [richardb@Nightstar-3b2c2db2.bethere.co.uk] has joined #code
13:00 * iospace flops on Syk
13:01 * Syk chews on iospace
13:01
<@iospace>
D:
13:01
<@iospace>
bad drgn, bad!
13:01
< Syk>
:C
13:01
< Syk>
twisted has the ability to run virtual hosts
13:01
< Syk>
hell /yeah/
13:02 * iospace steals Syk's raspi
13:02
< Syk>
D: my raspi
13:02
<@froztbyte>
don't rewrite what works elsewhere if you don't need to
13:02
<@froztbyte>
(don't write a whole new webserver in twisted just because you can)
13:02
< Syk>
haha
13:02
< Syk>
nah, i'm looking like i might just use .rpy files
13:03
< Syk>
since it seems like a neat way of doing it
13:07
< Syk>
well huh
13:07
< Syk>
i have port 8080 forwarded
13:07
< Syk>
and an IP from brazil requested "/manager/html"
13:07
< Syk>
lols
13:08
<@iospace>
Syk: are you using your HTML standard? :P
13:08
< Syk>
nah, semi-compliant HTML5 and CSS3 here
13:08
< Syk>
SykHTML is mainly me making fun of HTML5, but it's actually quite nice
13:11 * iospace pat pats
13:15
< RichyB>
froztbyte: reinventing the wheel as a square is sometimes valid and occasionally even optimal, if you have weird enough terrain to cross. :) http://stanwagon.com/
13:16
<@froztbyte>
RichyB: you'll note I added "if you don't need to"
13:16
<@froztbyte>
I like the approach of working through solving a problem to familiarize yourself more with the problem domain
13:16
< Syk>
i have a problem of 'not invented here'
13:16
<@froztbyte>
but with something like a webserver, you're likely not going to end up with an optimal solution as a side project unless you really mean to do so
13:16
< Syk>
which i need to get out of
13:17
<@froztbyte>
(in the "intent to make a new thing to solve X, Y, and Z" sense)
13:17
<@froztbyte>
Syk: easy to do
13:18
<@froztbyte>
Syk: every time you look at something like the above there, you should just ask yourself "so which knee do I take the bullet in today?"
13:19
< Syk>
hmm?
13:20 * Syk slightly confused
13:20
< Syk>
brb - coffee! :D
13:20
<@iospace>
and thus
13:20
<@iospace>
we see Syk in her natural state: confusion
13:20
<@froztbyte>
like if you find yourself checking for "can it do vhosts?" or so
13:20
<@froztbyte>
that's the point where you know that you're looking for things that it shouldn't be doing
13:20
<@froztbyte>
ON THE FLIPSIDE
13:20
<@froztbyte>
making things do things they shouldn't is always great fun
13:20
< Syk>
froztbyte: but it does to vhosts
13:20
< Syk>
it's built into twisted
13:21
<@iospace>
so I'm going to get an Arduino board and do PE problems on it until i figure out what i want to do with it otherwise
13:21
<@froztbyte>
and a favourite passtime of mine
13:21
< Syk>
well, I have two ways I can do this
13:21
< Syk>
one - I have one big database and one set of code
13:22
< Syk>
two - i have lots of smaller databases, and each client either has their own copy or symlinks to the core code
13:22
< RichyB>
iospace: you hankering to practice writing fast programs? :)
13:22
< RichyB>
How do people normally deal with virtual hosts in most web frameworks?
13:22
<@froztbyte>
RichyB: depends on the framework, I guess
13:22
< Syk>
well, in this, i just tell it what resource thing answers to what domain
13:22
<@iospace>
RichyB: no, i want to do some embedded dev on the side just for the hell of it :P
13:22
<@froztbyte>
some stuff like PHP is just run-on-server crap
13:22
< Syk>
which is perfect for me
13:22
<@froztbyte>
other stuff is an actual running application stack
13:22
<@iospace>
AVR ATMegas are not fast
13:22
< Syk>
cos i'm planning to have DNS names for things
13:22
<@iospace>
:P
13:23
<@froztbyte>
Syk: perhaps you need to explain a bit more what you wish to do
13:23
< RichyB>
The Zope2 framework do virtual hosting by having Apache listening on ports 80 and 443, and RewriteRule /(.*) http://127.0.0.1:8080/VirtualHostBase/http/www.hostname.com:80/VirtualHostRoot/$ 1 [P,L,NS]
13:24
< RichyB>
*that's the recommended thing that most people do anyway.
13:24
< Syk>
froztbyte: well, each client will have their own thing
13:24
< Syk>
like, for example
13:24
< Syk>
froztbyte.<site>.com
13:24
<@froztbyte>
define thing
13:24
< RichyB>
So you have another httpd sat in front, proxying requests, and writing information about the intended hostname and path up to the app into the URL.
13:24
< Syk>
well, their own version of the application
13:24
< Syk>
so everything is seperated
13:24
<@froztbyte>
RichyB: yes, that's the usual approach for the appstack approach
13:25
< RichyB>
Huh, okay.
13:25
< Syk>
corp1.site.com doesn't have the same database as corp2.site.com
13:25
< RichyB>
That's actual the *usual* approach, rather than an unusual one? :)
13:25
< Syk>
and i also get roflscale in that I can make corp1.site.com go to a different server than corp2
13:25
<@froztbyte>
RichyB: for appstack stuff, yes
13:25
<@froztbyte>
it's actually a nice way to go about things
13:25
<@froztbyte>
you run a bunch of things in different users or whatever, and just proxy requests around as necessary
13:26
< RichyB>
The alternative seems to be Wordpress's (IMO kinda awful) mechanism where the URL information is in a DB somewhere.
13:26
<@froztbyte>
means you can gain a few things on the proxying point
13:26
< Syk>
oh dammit
13:26
< Syk>
ATMOSS is down
13:26
<@froztbyte>
like caching or loadbalancing or dead-backend detection or ....
13:26 * Syk shakes fist at federal government
13:26
<@froztbyte>
which is nice
13:26
< RichyB>
Yeah, we do that.
13:26
<@froztbyte>
varnish, pound, gunicorn, etc
13:27
< RichyB>
httpd -> varnish -> haproxy -> a bunch of instances -> single DB server.
13:27
<@froztbyte>
it all depends on what one needs to do, really
13:28
<@Tarinaky>
So I'm struggling to get my maths homework done and someone things it's a good time to rip the piss out of me for looking like I'm thinking hard on my homework.
13:28
<@Tarinaky>
Die.
13:28
<@Tarinaky>
Die now.
13:28 * Alek patpats Taki.
13:28
<@Tarinaky>
To make it worse I can't do the homework.
13:28
<@Tarinaky>
:/
13:29
< RichyB>
"Fuck off and die in a fire, this shit's difficult" has never been an inappropriate response.
13:29
<@Alek>
ask Vornicus for help.
13:29
< Syk>
Tarinaky: blind them with science
13:29
< Syk>
and/or a rake
13:29
<@Tarinaky>
RichyB: The exact phrase was "Kindly fuck off and die, painfully, with your family."
13:29
<@Alek>
apply thermite to eyes.
13:29
<@Alek>
voila, you blinded them with science.
13:29
< RichyB>
Tarinaky: I approve.
13:30
<@froztbyte>
Syk: that's getting quoted
13:30
< Syk>
i have a label machine
13:30
<@Tarinaky>
It's not science unless you record your hypothesis.
13:30
<@Tarinaky>
Err
13:30
<@Tarinaky>
Record your findings
13:30
< RichyB>
You do have to record the hypothesis too
13:30
< Syk>
findings: there was something on their face - it was pain
13:30
< RichyB>
so that you don't accidentally change your hypothesis afterwards in light of the findings.
13:31
< Syk>
froztbyte: whee
13:31
< Syk>
:P
13:31
<@Tarinaky>
Hypothesis: Thermite, when topically applied to the eyeballs and exposed to a source of ignition may pose a heightened risk of blindness and facial scarring.
13:31
<@froztbyte>
http://qdb.slipgate.za.net/FlyingCircus/324
13:31
< Syk>
haha
13:31
<@froztbyte>
Tarinaky: remember to get an adequate sample set for testing
13:33
< Syk>
ok so
13:33
< Syk>
i have a little sticker that says "SCIENCE" on it
13:33
< Syk>
what should i stick it on
13:34
<@Tarinaky>
Find cute boy, attatch to bum.
13:34
<@iospace>
o_O
13:34
< Syk>
too bad there's nothing but desert for 850km
13:34
<@froztbyte>
run through desert for cute boy
13:34
<@froztbyte>
apply to ass
13:34
<@froztbyte>
"I did it for science" gets new meaning
13:34
< Syk>
ok so i have an old name badge from work
13:35 * Syk now has a name badge that says SCIENCE on it
13:35
<@iospace>
does it say "IT WORKS, BITCHES" as well?
13:35
<@Tarinaky>
I'm going to see if I can upload my homework somewhere so I can poke Vorn with it.
13:36
< Syk>
well
13:36
< Syk>
i put it over my old job description
13:36
<@Tarinaky>
Trouble is the more maths I do the fewer people in here can help me with it... and the more busy they are with their own shit :/
13:36
< Syk>
so now it reads "Syka Bee - SCIENCE Officer"
13:40
< Pandemic>
transfers Syk to the security department, gives her a red shirt
13:41
< Syk>
matches my pants
13:41
<@froztbyte>
Pandemic: evil
13:42
<@froztbyte>
(the redshirts are always cannonfodder when going planetside)
13:42
< Pandemic>
lol
13:42
< Pandemic>
I'm glad some one got that referance
13:43
<@froztbyte>
I've watched all of TNG, Voyager, about half of TOS (TOS is *really* hard to watch, and has a fun afrikaans joke to go with it), and a bunch of DS9
13:43
<@froztbyte>
"tos" in afrikaans translates to "shitty"/"crap"/"worthless", or "jacking off"
13:43
<@froztbyte>
depending on context
13:43 * Pandemic has wanted all of TNG, DS9, TOS, and voyager, doesn't like the others
13:44
<@froztbyte>
so "ST:TOS is r?rig tos" means "ST:TOS is pretty shit"
13:44 * Pandemic can't disagree with that statement
13:44
<@froztbyte>
dat !acting.
13:45
<@Tarinaky>
I don't think that's just afrikaans. Toss is a common slang term for male ejaculate.
13:45
< Syk>
it is?
13:45
< Syk>
hm
13:45
<@froztbyte>
yeah I haven't heard it
13:46
<@froztbyte>
and in this case it specifically means "jerking off", not "jizz"
13:46 You're now known as TheWatcher
13:46
<@Tarinaky>
In British slang it's both a noun and verb.
13:46
<@Tarinaky>
Although the verb is -usually- tossing off.
13:47
< Pandemic>
I was wondering if that night be a colloquialism
13:47
<@Tarinaky>
"The software is a load of toss"
13:47
< Pandemic>
the equivilent to that in this part of the USA would be "jiz"
13:48
< Pandemic>
though
13:48
<@Tarinaky>
http://www.youtube.com/watch?v=02a723LsoFA citation
13:48
< Pandemic>
that does finaly explain the term tosser for me...
13:49
< Pandemic>
thank you Tarinaky for bringing more understanding to my world :)
13:49
<@Tarinaky>
Hey, Pandemic. if you had a dwarf on your back, would you toss him off?
13:49
< Syk>
hey froztbyte
13:49
< Syk>
froztbyte: I linked the quote thing to someone
13:49
< Pandemic>
...
13:49
< Syk>
who went and looked at the 'top' which has a lot of typo quotes
13:50
<@froztbyte>
yes
13:50
< Pandemic>
depends on your deffiniton of toss...
13:50
<@froztbyte>
theo.
13:50
<@froztbyte>
that dude.
13:50
< Syk>
froztbyte: "< irick> Sky: Apparently no one does anything funny except for typos."
13:50
<@Tarinaky>
McBain says that;s the joke.
13:50
<@froztbyte>
Syk: we've discussed aging them out
13:50
< Syk>
the irony is astounding
13:50
<@iospace>
typwned!
13:51
< Syk>
heh
13:51
<@froztbyte>
anyway, so the backstory here
13:52
<@froztbyte>
is that this person used to be like the miscommunication mascot on shadowfire, due to their typos and crap
13:52
<@froztbyte>
which adds to the hilarity
13:52
<@froztbyte>
and people haven't voted on things in ages, so there's no change in ranking
13:52
<@froztbyte>
just hit random a few times
13:52
<@froztbyte>
or keep reading them all
13:53
<@froztbyte>
there's stuff like http://qdb.slipgate.za.net/FlyingCircus/236
13:54 * Pandemic doesn't want to go to the regulatory meeting, sends Syk the red shirt instead
13:55
< Syk>
froztbyte: ohlol
13:58
<@froztbyte>
http://qdb.slipgate.za.net/FlyingCircus/199 probably applies to this #code as well
14:04
<@Tarinaky>
Also. Why the fuck are so many people here.
14:04
<@Tarinaky>
There're no more lectures.
14:04
<@froztbyte>
haha
14:04
<@Tarinaky>
Fuck off and let me sit in quiet.
14:04
<@Tarinaky>
:/
14:04
<@froztbyte>
I wondered the same about this channel
14:05
<@froztbyte>
who caused the influx of new people? :D
14:07
<@Tarinaky>
Not my fault.
14:11
< Syk>
blame iospace for me
14:13
< Syk>
froztbyte: also, it's summer
14:13
<@froztbyte>
yes it is
14:13
<@froztbyte>
what's the point of that?
14:13
< Syk>
it is 30C at night please kill me :(
14:13
<@froztbyte>
one moment
14:13 * iospace rubs her fingers together
14:13
<@iospace>
oh boo hoo :P
14:13
< Syk>
froztbyte: half reference to the eternal summer :P
14:13
<@froztbyte>
http://www.albinoblacksheep.com/flash/end
14:13
<@froztbyte>
please watch to the end
14:14
< Syk>
aahah this
14:16
<@froztbyte>
Fucking kangaroos.
14:16
< Syk>
'alaska can come too.'
14:16
<@froztbyte>
so anyway yeah
14:16
<@froztbyte>
your problem for being in australia :P
14:17
< Syk>
:p
14:18 * iospace places a ushanka on Syk's head
14:18
< Syk>
a wat
14:18
<@froztbyte>
I want friday to come
14:18
<@iospace>
^_^
14:18
<@froztbyte>
(because friday extra consulting money gets paid)
14:18
<@iospace>
Syk: wikipedia is your friend :P
14:18
<@froztbyte>
(and I want to use that money)
14:19
< Syk>
froztbyte: are you going to buy all the things
14:19
<@froztbyte>
no
14:19
<@froztbyte>
but I would like to pull a stunt and do shopping and maybe make an interesting arrangement to last through until january
14:36 Thalass|mmmovie is now known as Thalass
14:36 * Thalass aughs at LinAXEpad
15:03 ReivDriod [Reiver@Nightstar-4a6e14e3.vf.net.nz] has quit [Ping timeout: 121 seconds]
15:03 ReivDriod [Reiver@Nightstar-4a6e14e3.vf.net.nz] has joined #code
15:07
<@rms>
What's that?
15:08
<@rms>
mm
15:08
<@rms>
nm
15:08
<@iospace>
rms: Thalass here is working with PICAXE
15:09
<@iospace>
so i dragged him here :P
15:13
< Thalass>
I normally only come in here when i have stupid newbie questions regarding linux or python. Now i have a third subject to ask about! :P
15:13
< RichyB>
Stay a while, and listen.
15:14
< RichyB>
Seriously, be on #code 24/7. :)
15:14
< Thalass>
hee
15:14
< Thalass>
I have added it to the default list when joining nightstar, so i should be around.
15:14
< RichyB>
It's good to have a mix of skill levels here and it's possible to learn things just by overhearing what other people are working through.
15:14
< RichyB>
Good! Thank you.
15:14
<@froztbyte>
also randoms like me
15:15
<@froztbyte>
(who bring knowledge about other things)
15:16 celmin|sleep is now known as celticminstrel
15:16
< RichyB>
The only actual restriction is "no arseholes, please."
15:16
< RichyB>
(And yet I'm here anyway.)
15:16
< Thalass>
heh\
15:17 Thalass is now known as Thalass|KSP
15:17
<@froztbyte>
me too
15:17
<@froztbyte>
it's weird
15:17 Netsplit *.net <-> *.split quits: @iospace, ReivDriod, Attilla, @Derakon[AFK], Zemyla, @simon_, @Vornicus, Reiv, @froztbyte, @PinkFreud, (+15 more, use /NETSPLIT to show all of them)
15:17 Netsplit over, joins: RichyB, @PinkFreud, @Tamber, Reiv, &jerith, @himi, @franny, @gnolam, ReivDriod, ~Vornicus (+15 more)
15:17
< celticminstrel>
Yaaay, netsplits.
15:18
<@ErikMesoy>
Is it just me or are there more of them these days?
15:18
< AnnoDomini>
It's probably just you.
15:18
< celticminstrel>
There've been several in the past week or so...
15:19
<@Tarinaky>
It's because of solar radiation from tau ceti.
15:19
<@Tarinaky>
It'll sort itself out in a few weeks.
15:19
< celticminstrel>
Tau Ceti. XD
15:20
< celticminstrel>
My messages seem to be lagging...
15:22
<@Tarinaky>
Light lag.
15:22
<@Tarinaky>
Tau Ceti is a long way away.
15:28
< celticminstrel>
XD
15:44
< Syk>
guys, question
15:44
< Syk>
what's better - storing things as a UNIX timestamp, or giving it to the database to convert
15:45
< Syk>
eh, i'll be converting it needlessly anyway
15:45 * Syk bonks it in as unix
15:57 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:10
<@froztbyte>
unix timestamps are win
16:11
< Syk>
that they are
16:11
<@froztbyte>
>>> import time
16:11
<@froztbyte>
>>> time.time()
16:11
<@froztbyte>
1353514261.812576
16:11
<@froztbyte>
most of the precision you'll ever need
16:11 * Syk imports antigravity
16:11
< AnnoDomini>
import this;
16:11 * Syk gets a compile error as libantigravity2-dev isn't installed
16:11
< Syk>
fucking debian
16:12
<@iospace>
:P
16:17
<&jerith>
Syk: Which database?
16:19
< Syk>
jerith: PostgreSQL
16:19
<&jerith>
Postgres understands timezones, which means you should really use their fields.
16:19
<&jerith>
Ah. \o/
16:19 * Syk cuddles pg <3
16:19
<&jerith>
Actual timezone support is Really Bloody Useful.
16:20
<@froztbyte>
heh
16:20 * jerith moves up the table to escape the sun.
16:20
<@froztbyte>
thankfully I can handle that mostly with Deferreds
16:20
< Syk>
well, the front end will be an Android app and a web dev thing
16:20
<@froztbyte>
(I'll defer the task until the other people are around again)
16:20
< Syk>
so raw unix stamps might be to my advantage
16:21
< Syk>
as I can just shove it into the DB, pull it out and chuck it into a JS Date object or whatever Android uses
16:21
<&jerith>
Syk: ISO-8601.
16:21
< Syk>
because unix timestamps are UTC by definition i think
16:22
<&jerith>
There is an international standard for this stuff, and pretty much everything supports it, but nobody bloody uses it.
16:22
<&jerith>
Americans are the worst.
16:23
<&jerith>
10/11/12 could be six different days.
16:23
<&jerith>
But two of those are unlikely.
16:25
< Syk>
heh
16:25
< Syk>
working with unix timestamps is acceptable, though?
16:26
<&jerith>
Yes, but only if you have proper tools to turn them into real datetimes.
16:27
< Syk>
jerith: Javascript date object takes a UNIX timestamp as a constructor
16:27
<&jerith>
ISO-8601 is probably better, if only because it's (a) human-readable and (b) completely unambiguous.
16:27
<&jerith>
Way too many people treat unix timestamps as local time instead of UTC.
16:27
< Syk>
well i'll be treating them as UTC, and the end-to-end will be myself
16:29 * jerith shrugs.
16:29
<&jerith>
Unix timestamps are probably a good second choice. :-)
16:29 * Syk puts on her confessions hat
16:30
< Syk>
for the past four years i've been using .NET OADates
16:30
< Syk>
in a double
16:30
< Syk>
in postgres
16:30
< Syk>
:<
16:53
< RichyB>
If you stay always clear about which timezone they're in all the way through then Unix timestamps are IMO fine.
16:53
< RichyB>
Really don't ever use any timezone with timestamps other than UTC or one of the atomic ones (GPS time, TAI or whatever the new one is called).
17:20 Thalass|KSP [thalass@Nightstar-20568af1.bigpond.net.au] has quit [Client closed the connection]
17:56 Vash [Vash@Nightstar-b43e074a.wlfrct.sbcglobal.net] has joined #code
17:56 mode/#code [+o Vash] by ChanServ
17:59 Syk is now known as syksleep
18:08
<@froztbyte>
the main rule with time code really is "use the same damned thing /everywhere/ internally"
18:08
<@froztbyte>
and transform as close to where it matters as possible
18:08
<@froztbyte>
but of course usually that means dealing with other people's stuff :/
18:44 Vash [Vash@Nightstar-b43e074a.wlfrct.sbcglobal.net] has quit [[NS] Quit: I lovecraft Vorn!]
18:52 VirusHome [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has joined #code
18:55 Pandemic [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has quit [Ping timeout: 121 seconds]
18:58 Kindamoody|out [Kindamoody@Nightstar-05577424.tbcn.telia.com] has quit [Client exited]
18:58 Kindamoody [Kindamoody@Nightstar-05577424.tbcn.telia.com] has joined #code
18:58 mode/#code [+o Kindamoody] by ChanServ
19:17 RichyB [richardb@Nightstar-3b2c2db2.bethere.co.uk] has quit [[NS] Quit: Leaving]
19:23 Netsplit *.net <-> *.split quits: @ErikMesoy, Attilla, @Tamber, @gnolam, @franny, @himi, @iospace, @Tarinaky, cpux|2, AnnoDomini
19:24 Netsplit *.net <-> *.split quits: ReivDriod, Zemyla, @Derakon[AFK], @simon_, @froztbyte, @Vornicus, @PinkFreud, Reiv, @Azash, @jerith, (+4 more, use /NETSPLIT to show all of them)
19:29 Netsplit over, joins: cpux|2
19:29 Reiv [Reiver@10AAA2.D01F23.6F295D.81720D] has joined #code
19:29 Netsplit over, joins: PinkFreud, iospace, franny, ErikMesoy, AnnoDomini
19:29 jerith [jerith@Nightstar-bf52129d.slipgate.za.net] has joined #code
19:29 Netsplit over, joins: @Tamber, ~Vornicus, @gnolam, &Derakon[AFK], @froztbyte, @himi, auREAX, Zemyla, @simon_, @Tarinaky (+5 more)
19:29 ServerMode/#code [+ooooooooqoaooooooo iospace ErikMesoy franny PinkFreud simon_ Tarinaky rms Vornicus Vornicus gnolam Derakon[AFK] Derakon[AFK] EvilDarkLord Tamber Namegduf Azash froztbyte himi] by *.Nightstar.Net
19:29 mode/#code [+ao jerith jerith] by ChanServ
20:24 Kindamoody is now known as Kindamoody[zZz]
20:45 VirusJTG [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has joined #code
22:07 ErikMesoy is now known as ErikMesoy|sleep
22:23 celticminstrel [celticminst@Nightstar-05d23b97.cable.rogers.com] has joined #code
22:26 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.]
22:27
<@Azash>
iospace and EFI development: http://dolan.naurunappula.com/screen/5e/c6/5ec6bcd5ba214075/0/997613.jpg
22:27 celticminstrel [celticminst@Nightstar-05d23b97.cable.rogers.com] has joined #code
22:34 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.]
22:34 celticminstrel [celticminst@Nightstar-05d23b97.cable.rogers.com] has joined #code
22:46
<@froztbyte>
haha
23:02
< auREAX>
morel ike
23:02
< auREAX>
C++.jpg
23:03 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:03 celticminstrel [celticminst@Nightstar-05d23b97.cable.rogers.com] has joined #code
23:10 himi [fow035@Nightstar-5d05bada.internode.on.net] has quit [Ping timeout: 121 seconds]
23:29 You're now known as TheWatcher[T-2]
23:34 Derakon[AFK] [Derakon@Nightstar-a3b183ae.ca.comcast.net] has quit [Client exited]
23:35 Reivles [orthianz@Nightstar-6ca59a6f.callplus.net.nz] has joined #code
23:36 orthia [orthianz@Nightstar-6ca59a6f.callplus.net.nz] has quit [Ping timeout: 121 seconds]
23:45 You're now known as TheWatcher[zZzZ]
--- Log closed Thu Nov 22 00:00:15 2012
code logs -> 2012 -> Wed, 21 Nov 2012< code.20121120.log - code.20121122.log >

[ Latest log file ]