code logs -> 2009 -> Thu, 01 Oct 2009< code.20090930.log - code.20091002.log >
--- Log opened Thu Oct 01 00:00:16 2009
00:00
<@ToxicFrog>
\o/ alfredo with eggs and chicken!
00:00
<@AnnoDomini>
Quick, I need a program that counts repetitions of each word in a text!
00:03 Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has joined #Code
00:04 You're now known as TheWatcher[T-2]
00:06
<@ToxicFrog>
local words = {} for word in text:gmatch("%w+") do words[word] = (words[word] or 0) + 1 end; for k,v in pairs(words) do print(k,v) end
00:08
<@AnnoDomini>
What language is that?
00:08
<@ToxicFrog>
Lua.
00:09
<@AnnoDomini>
Well, I found a usable online service thingy.
00:09
<@AnnoDomini>
It enabled me to point out that a non-serious list of attributes contained 'Speed' twice. :P
00:10 You're now known as TheWatcher[zZzZ]
00:28
<@ToxicFrog>
If all you want to do is find repetitions, | sort | uniq -d
00:59 AnnoDomini [farkoff@Nightstar-072306da.adsl.tpnet.pl] has quit [[NS] Quit: Even in death, a wizard cannot be trusted.]
01:03
< Rhamphoryncus>
sort only operates on whole line. That may or may not be sufficient
01:46 Derakon[AFK] is now known as Derakon
02:12 * Vornicus tries to find a location to host his demonstration pages.
02:13
<@Derakon>
DynDNS?
02:14
<@Vornicus>
Host, not point at.
02:15
<@Vornicus>
My internet company blocks 80 (and some others) outgoing.
02:16
<@Derakon>
Tsk.
02:20
< Finale>
bravenet's okay.
02:21
< Finale>
they'll put an ad on top of your page, but other than that they're good.
02:28
<@Vornicus>
I think my standards are too high. This is a data structures class, but I spent a full order of magnitude more time on writing the UI and making that perfect.
02:28
<@Derakon>
You've always been picky about UIs.
02:31
<@Vornicus>
But I've got stuff like "The item entry box must show help text in grey italics until it gains focus"
02:39
<@Vornicus>
Also I ran it through the xhtml strict validator.
02:51 gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has quit [[NS] Quit: Z?]
03:06 Attilla [The.Attilla@FBC920.65CFFF.37C84B.137EA7] has quit [[NS] Quit: ]
03:34 Finale [c0cb88fe@Nightstar-14e5d099.mibbit.com] has quit [[NS] Quit: bah]
03:54 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has quit [[NS] Quit: Leaving]
03:55 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has joined #Code
03:55 mode/#code [+o Vornicus] by Reiver
03:57 Syloqs_AFH [Syloq@is.an.awesome.Network.Administrator.on.Nightstar.Net] has joined #Code
03:58 Syloqs_AFH is now known as Syloqs-AFH
--- Log closed Thu Oct 01 05:06:04 2009
--- Log opened Thu Oct 01 05:09:22 2009
05:09 TheWatcher[zZzZ] [chris@Nightstar-b4529b0c.zen.co.uk] has joined #code
05:09 Irssi: #Code: Total of 5 nicks [1 ops, 0 halfops, 0 voices, 4 normal]
05:09 Derakon [Derakon@Nightstar-5abd3ac9.ca.comcast.net] has joined #code
05:09 SmithKurosaki [Smith@Nightstar-ab52522f.dsl.teksavvy.com] has joined #code
05:09 jerith [jerith@ServerAdministrator.Nightstar.Net] has joined #code
05:09 McMartin [mcmartin@Nightstar-2b2c1a9b.pltn13.sbcglobal.net] has joined #code
05:09 Alek [omegaboot@Nightstar-f0c0f3ab.emhril.sbcglobal.net] has joined #code
05:09 Orthia [Orthianz@Nightstar-96dafcb1.xnet.co.nz] has joined #code
05:09 Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has joined #code
05:09 ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has joined #code
05:09 Reiver [reaverta@ServerAdministrator.Nightstar.Net] has joined #code
05:09 Kazriko [kaz@teela.arkaic.com] has joined #code
05:09 DirePinkhair [none@4FC299.0B945E.939E19.8ED2FC] has joined #code
05:09 simon` [simon@Nightstar-a12ff716.gjk.dk] has joined #code
05:09 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has joined #code
05:09 crem [moo@Nightstar-8ca3eea7.adsl.mgts.by] has joined #code
05:09 dmlandrum [dmlandrum__@Nightstar-54510c8f.sfldmi.ameritech.net] has joined #code
05:09 ServerMode/#code [+oooooqoo Derakon jerith McMartin ToxicFrog Reiver Reiver Kazriko Vornicus] by *.Nightstar.Net
05:09 mode/#Code [+o TheWatcher[zZzZ]] by Reiver
05:09 Irssi: Join to #Code was synced in 42 secs
06:58 Derakon is now known as Derakon[AFK]
07:42 DirePinkhair [none@4FC299.0B945E.939E19.8ED2FC] has quit [Ping timeout: 121 seconds]
07:59 Vornicus is now known as Vornicus-Latens
08:23 ASCII [none@Nightstar-a7d2ccfd.dyn.optonline.net] has joined #code
08:27 AnnoDomini [farkoff@Nightstar-072306da.adsl.tpnet.pl] has joined #code
08:27 mode/#Code [+o AnnoDomini] by Reiver
08:59 Rhamphoryncus [rhamph@Nightstar-a62bd960.abhsia.telus.net] has quit [Client exited]
09:13 You're now known as TheWatcher
10:05 Orthia is now known as Reivthia
10:15
<@AnnoDomini>
Fffffuck.
10:16
<@AnnoDomini>
Open Office somehow screwed up my pamphlet's formatting since I last opened it.
10:23
<@AnnoDomini>
And deleted my pictures within the document.
10:23 Attilla [The.Attilla@FBC920.65CFFF.37C84B.137EA7] has joined #code
10:23 mode/#Code [+o Attilla] by Reiver
10:44 AnnoDomini [farkoff@Nightstar-072306da.adsl.tpnet.pl] has quit [[NS] Quit: Out of the night and into the fight it's BIXBY!!]
11:15 gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has joined #code
11:17 AnnoDomini [farkoff@Nightstar-072306da.adsl.tpnet.pl] has joined #code
11:17 mode/#Code [+o AnnoDomini] by Reiver
12:19 Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has quit [Client closed the connection]
12:19 Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has joined #code
12:24 AnnoDomini [farkoff@Nightstar-072306da.adsl.tpnet.pl] has quit [Ping timeout: 121 seconds]
12:29 AnnoDomini [farkoff@Nightstar-072306da.adsl.tpnet.pl] has joined #code
12:29 mode/#Code [+o AnnoDomini] by Reiver
12:44
<@AnnoDomini>
Hmm. What's a good piece of software that sits there in the background until I press a button, whereupon it saves the screenshot to disk automatically?
13:31 Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has quit [Connection closed]
13:38
< gnolam>
For what purposes?
13:40
<@AnnoDomini>
Easier screencapping. Normally it entails pressing the screenshot button, opening up a graphics editor/viewer, pasting it, saving it somewhere and closing the editor/viewer.
15:18
<@ToxicFrog>
This would be windows, then?
15:18
<@ToxicFrog>
Irfanview.
15:19
<@ToxicFrog>
Start it and press C.
15:23
<@TheWatcher>
Ah, Irfanview = <3
16:05 Syloqs_AFH [Syloq@is.an.awesome.Network.Administrator.on.Nightstar.Net] has joined #code
16:06 Syloqs_AFH is now known as Syloqs-AFH
17:00 Rhamphoryncus [rhamph@Nightstar-a62bd960.abhsia.telus.net] has joined #code
18:15 You're now known as TheWatcher[afk]
18:23 Netsplit *.net <-> *.split quits: crem, @McMartin, @jerith, @Kazriko, @Reiver, dmlandrum
18:24 Netsplit over, joins: ~Reiver, @jerith, dmlandrum, @McMartin, @Kazriko, crem
18:24 mode/#Code [+o Syloqs-AFH] by Reiver
18:28 Finale [c0cb88fe@Nightstar-14e5d099.mibbit.com] has joined #code
18:51 Derakon[work] [Derakon@Nightstar-d44d635e.ucsf.edu] has joined #code
18:51
< Derakon[work]>
I'm fairly certain I know how this works, but I want confirmation anyway.
18:51
< Derakon[work]>
The microscope lab has eight machines connected to an 8-port switch. We want to hook a ninth in.
18:52
< Derakon[work]>
I should be able to get a cheap 4-port switch or the like and daisy-chain the ninth machine and one of the original 8 to it, and then hook that switch into the 8-port switch, right?
18:52
< Derakon[work]>
s/daisy-chain/connect/
18:53
< Finale>
as long as the switches are reconfigured properly, I see no problem.
18:53 * Finale only took through CCNA3, and didn't even finish that one... >_<
18:53
< Finale>
and it's been a while.
19:00 Finale [c0cb88fe@Nightstar-14e5d099.mibbit.com] has quit [[NS] Quit: http://www.mibbit.com ajax IRC Client]
19:01
< Rhamphoryncus>
I believe the only requirement for switches is that they use a spanning tree
19:01
< Rhamphoryncus>
So no redundant paths
19:01
< Derakon[work]>
Great, thanks.
19:01
< Rhamphoryncus>
They shouldn't require any configuration
19:05 Finale [c0cb88fe@Nightstar-14e5d099.mibbit.com] has joined #code
19:19 Vornicus-Latens [vorn@ServerAdministrator.Nightstar.Net] has quit [[NS] Quit: ]
19:30
< Derakon[work]>
This look like a reasonable switch? http://www.newegg.com/Product/Product.aspx?Item=N82E16833127083
19:33
< Finale>
for moderate use, sure, I guess.
19:37
< SmithKurosaki>
I think you have to watch how much traffic can be going through it at once, because I know some things will lose info if there are too many data collisions
19:55 crem [moo@Nightstar-8ca3eea7.adsl.mgts.by] has quit [Client closed the connection]
20:01 crem [moo@Nightstar-8ca3eea7.adsl.mgts.by] has joined #code
20:16 Derakon[work] [Derakon@Nightstar-d44d635e.ucsf.edu] has quit [[NS] Quit: Leaving]
20:21 AnnoDomini [farkoff@Nightstar-072306da.adsl.tpnet.pl] has quit [Ping timeout: 121 seconds]
20:27 AnnoDomini [farkoff@Nightstar-8cfbd9eb.adsl.tpnet.pl] has joined #code
20:27 mode/#Code [+o AnnoDomini] by Reiver
20:40
< Rhamphoryncus>
hrm. I don't understand how switches do buffering
20:43
< Rhamphoryncus>
or collisions
20:44
< Rhamphoryncus>
for half duplex on a hub, sure. For a full duplex switch though? The only reason I can see is to manipulate TCP's fallback behaviour
20:45
<@AnnoDomini>
ToxicFrog: Thank you.
20:50
< Finale>
<IndianElvis>: I AM NOT TALKING LOUD I AM JUST USED TO THIS , I AM A COBOL PROGRAMMER
20:51
< Namegduf>
Haha.
20:55
< Finale>
http://www.bash.org/?652221 hah
21:07 Syloqs-AFH [Syloq@is.an.awesome.Network.Administrator.on.Nightstar.Net] has quit [Client closed the connection]
21:08 Syloqs_AFH [Syloq@is.an.awesome.Network.Administrator.on.Nightstar.Net] has joined #code
21:10 Syloqs_AFH is now known as Syloqs-AFH
21:11 Syloqs-AFH [Syloq@is.an.awesome.Network.Administrator.on.Nightstar.Net] has quit [[NS] Quit: ]
21:12 Syloqs_AFH [Syloq@is.an.awesome.Network.Administrator.on.Nightstar.Net] has joined #code
21:14 Syloqs_AFH is now known as Syloqs-AFH
21:14
< Finale>
they made Hackers 2???
21:18 Kazriko [kaz@teela.arkaic.com] has quit [Ping timeout: 121 seconds]
21:19 Syloqs-AFH [Syloq@is.an.awesome.Network.Administrator.on.Nightstar.Net] has quit [[NS] Quit: ]
21:19 You're now known as TheWatcher
21:22 Syloqs_AFH [Syloq@is.an.awesome.Network.Administrator.on.Nightstar.Net] has joined #code
21:25 Syloqs_AFH [Syloq@is.an.awesome.Network.Administrator.on.Nightstar.Net] has quit [[NS] Quit: ]
21:26 Syloqs_AFH [Syloq@is.an.awesome.Network.Administrator.on.Nightstar.Net] has joined #code
21:27 Syloqs_AFH is now known as Syloqs-AFH
22:10 ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
22:16 ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has joined #code
22:16 mode/#Code [+o ToxicFrog] by Reiver
22:22 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has joined #code
22:22 mode/#Code [+o Vornicus] by Reiver
22:32 * gnolam hugs modern GPUs.
22:32
< Finale>
yey?
22:34
< gnolam>
I just love that you can throw literally millions of triangles at them without any more optimization than just packing the vertices together into an array.
22:35
<@McMartin>
Yes.
22:35
<@McMartin>
I also love how if those arrays represent rigid bodies you can set up one matrix and only change that, while keeping the array constant
22:36
< gnolam>
Yep.
22:37
< gnolam>
In this case, my vertices are just a flat grid. All the magic happens in the vertex shader. :)
23:02
< gnolam>
For general information, indexed mode was faster than raw vertices by a factor ~2.5 on this machine.
23:02
<@McMartin>
Nice.
23:03
< gnolam>
(Both using VBOs)
23:03
< gnolam>
Just in case you too were wondering if indexed buffers were still relevant. :)
23:04
< gnolam>
The test data consisted of 2093058 triangles in a contiguous strip (2096126 indices, including degenerate triangles).
23:10
< Finale>
you're degenerate. :P
23:37 Finale [c0cb88fe@Nightstar-14e5d099.mibbit.com] has quit [[NS] Quit: http://www.mibbit.com ajax IRC Client]
23:38 Finale [c0cb88fe@Nightstar-14e5d099.mibbit.com] has joined #code
23:52 Finale [c0cb88fe@Nightstar-14e5d099.mibbit.com] has quit [[NS] Quit: http://www.mibbit.com ajax IRC Client]
--- Log closed Fri Oct 02 00:00:31 2009
code logs -> 2009 -> Thu, 01 Oct 2009< code.20090930.log - code.20091002.log >