code logs -> 2010 -> Sat, 20 Feb 2010< code.20100219.log - code.20100221.log >
--- Log opened Sat Feb 20 00:00:56 2010
00:11
< ToxicFrog>
What is this bullshit, VHDL?
00:11
< ToxicFrog>
So, consider the following:
00:11
< ToxicFrog>
entity foo_bar is
00:11
< ToxicFrog>
-- interface definition goes here
00:11
< ToxicFrog>
end foo; -- note that this doesn't match foo_bar
00:11
< ToxicFrog>
What sort of error would you expect from this?
00:11
<@Derakon>
Unexpected semicolon on line 3.
00:11
<@Derakon>
>.>
00:13
< ToxicFrog>
What you actually get is that once you start writing the implementation, it will complain that some (but not all) of the symbols used in that implementation are undeclared.
00:14 AnnoDomini [annodomini@Nightstar-d4aaede7.adsl.tpnet.pl] has quit [[NS] Quit: Blergh.]
00:15
<@Derakon>
Logic! Can has.
00:31
< ToxicFrog>
And now the fucking simulator is randomly failing!
00:31
<@Derakon>
Dose it with Viagra.
00:47 Attilla [Attilla@FBC920.0A905B.96DC0B.81511F] has quit [[NS] Quit: ]
00:48
< gnolam>
ToxicFrog: just wait til you get to the /really/ fun parts, where your VHDL synthesizer decides to silently optimize away vital portions of your design.
00:49
< McMartin>
God, synthesizers
00:50
< ToxicFrog>
gnolam: I've already had that happen today!
00:50
< ToxicFrog>
Although it's kind of hard to tell when that happens now because the simulator isn't working!
00:50
< ToxicFrog>
Oh yeah, here's the error it gives:
00:50
< ToxicFrog>
"Update TBW failed."
02:20 Derakon is now known as Derakon[AFK]
02:23 gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has quit [[NS] Quit: Z?]
02:38 Serah [Z@26ECB6.A4B64C.298B52.D80DA0] has quit [Ping timeout: 121 seconds]
02:41 * McMartin stabs VMware Player in the face
03:10 Serah [Z@3A600C.A966FF.5BF32D.8E7ABA] has joined #code
03:19 Serah [Z@3A600C.A966FF.5BF32D.8E7ABA] has quit [[NS] Quit: The world is so funny sometimes; I often forget to laugh.]
03:20 Serah [Z@3A600C.A966FF.5BF32D.8E7ABA] has joined #code
03:30 Vornicus is now known as Vornicus-Latens
06:44 Derakon[AFK] is now known as Derakon
06:51 celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has quit [[NS] Quit: *hums* Can't stay now!]
07:27 Derakon is now known as Derakon[AFK]
07:29 Attilla [Attilla@FBC920.0A905B.96DC0B.81511F] has joined #code
07:29 mode/#code [+o Attilla] by Reiver
08:52 You're now known as TheWatcher
09:12 Attilla [Attilla@FBC920.0A905B.96DC0B.81511F] has quit [Ping timeout: 121 seconds]
09:29 gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has joined #code
10:16 Attilla [Attilla@FBC920.81F6E9.E71C31.AB32E1] has joined #code
10:17 mode/#code [+o Attilla] by Reiver
10:52 You're now known as TheWatcher[afk]
11:12 AnnoDomini [annodomini@Nightstar-a24b15c3.adsl.tpnet.pl] has joined #code
11:12 mode/#code [+o AnnoDomini] by Reiver
11:27 Rhamphoryncus [rhamph@Nightstar-8931f88f.abhsia.telus.net] has quit [Client exited]
11:36 Serah [Z@3A600C.A966FF.5BF32D.8E7ABA] has quit [Ping timeout: 121 seconds]
12:12 Serah [Z@5E691D.FC7C16.F8708C.8F184B] has joined #code
12:46 Serah [Z@5E691D.FC7C16.F8708C.8F184B] has quit [Ping timeout: 121 seconds]
13:21
<@Vornicus-Latens>
Hm. Reducing the number of comparisons made doesn't seem to have helped much.
13:28 * Vornicus-Latens defers creation of the subset sum cache to /after/ the greater check (of which there is only one), makes the program fast.
13:30
<@Vornicus-Latens>
(6-fold increase in performance!)
13:50 celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has joined #code
15:30 * Vornicus-Latens totally stomplifies Euler 104 the second time around, using a logarithmic approximation to check the first 9 digits of the really, really large (80,000 digit) number in question.
15:30
<@Vornicus-Latens>
4 seconds is good.
15:33
<@Vornicus-Latens>
well. 70,000 digits.
15:53
<@Vornicus-Latens>
(indeed, more than half the time is spent figuring the /actual/ value, to make sure that it's right - the approximation can be off by 1, so I have to check anything i find.)
16:03
< Alek>
hrm.
16:03
< Alek>
can anyone help?
16:04
< Alek>
just what exactly is involved in the installation of cable internet? besides the cable laying?
16:04
< Tarinaky>
Gutted. I was just about to make a joke that nobody could help given the level of detail you'd provided on your problem :p
16:05 Derakon[AFK] is now known as Derakon
16:09
<@Vornicus-Latens>
Alek: various things like "telling the ISP's routers that you can receive internet" and "configuring the modem"
16:39
< Alek>
mmh.
16:39
< Alek>
in other words, things a power user can comfortably do without the services of a trained installer.
16:39
< Alek>
thanks.
16:39
< Alek>
you just saved my dad $50. >_>
16:41
<@Vornicus-Latens>
Um.
16:41
< Alek>
yeeees?
16:41
<@Vornicus-Latens>
THe modem configuration and ISP router bit is essentially impossible to do without an installer guy, because they know the configuration of the network.
16:42
< ToxicFrog>
Vorn: any reputable ISP will tell you that info when you sign up, though
16:42
<@Vornicus-Latens>
Point.
16:43
< ToxicFrog>
So you just need to know how to get at the modem's configuration interface.
16:48
< Alek>
yep.
16:48
< Alek>
and since we're buying the modem ourselves, it should have a manual. >_>
16:48
<@Vornicus-Latens>
Works for me.
16:48
< Alek>
I just hope it's accessible THROUGH the router.
16:49
< Alek>
since the current DSL modem isn't. >_<
16:49
< ToxicFrog>
It's very often the case that it isn't; you need to directly connect it to a computer.
16:49
< Alek>
bah.
16:49
< Alek>
bah I sez.
16:49
< Alek>
well, we can connect to PC to configure, then switch it to behind the router.
16:50
< ToxicFrog>
(often it depends on the modem - if it's in route mode you can access it through a router, but you shouldn't, because the modem itself acts as a router; if it's in bridge mode you need a direct connection)
16:50
< Alek>
well, the one we're looking at is network-ready but not a router, since it only has the one jack.
16:51
< Alek>
up to 63 PCs it sez
16:51
< Alek>
I'll look in the manual for route mode >_>
16:57
< ToxicFrog>
...that doesn't mean it's not a router, just that it's not a switch.
16:57
< ToxicFrog>
My DSL modem has one jack and can operate in both route and bridge mode.
16:58
< ToxicFrog>
Route mode is for when you plug a single computer directly into it; bridge mode is for when you have a seperate router behind it.
17:02 * Vornicus-Latens bonklifies Euler 105. What's wrong now?
17:06
<@Vornicus-Latens>
...forgot that slices don't include the top index.
17:06 You're now known as TheWatcher
17:16 * Vornicus-Latens now pokes 106. Okay, what'd I do now.
17:19 * Vornicus-Latens decides he needs somebody to confirm his calculations for this one, because he doesn't see anything wrong.
17:27 * jerith could take a look.
17:27
< jerith>
I haven't solved that one myself, though.
17:28
< jerith>
I stopped at 100.
17:28
<@Vornicus-Latens>
I'm looking at #106; My algorithm gives correct values for 4 and 7 (the two samples given) but not for 12 (the actual question)
17:31
<@Vornicus-Latens>
And so what I wanted to do was see if I could get someone else to give me their values for 4-10 to see if my algorithm got those right and in which direction.
17:31
<@Vornicus-Latens>
s/and in/and (if wrong) in/
17:35
< jerith>
Do you have to find the set first?
17:37
<@Vornicus-Latens>
Well, given /a/ set, the question is what disjoint subset pairs do I have to try comparing.
17:37
< jerith>
Ah, I see. I've just reread the problem more carefully.
17:38
<@Vornicus-Latens>
For a set like 3 5 6 7, I don't have to compare 3 6 to 5 7, because obviously the first in one is lower than the first in the other, the second in one is lower than the second in the other, etc.
17:38 * jerith nods.
17:39
<@Vornicus-Latens>
I /do/ have to try 3 7 and 5 6 (which in this case are unequal) because there's one that's higher and one that's lower.
17:40
<@Vornicus-Latens>
So far that's the only filter I can see - and that filter alone gives the correct values for size = 4 and size = 7.
17:44
< jerith>
Ah, the subsets don't need to contain all the elements in the set between them.
17:44
<@Vornicus-Latens>
Right.
17:44
< jerith>
That's why I wasn't getting the right totoal number.
17:46
< jerith>
Is there a useful Python library for making the pairs of sets?
17:49
<@Vornicus-Latens>
Not really; I made my own using a bitfiddling technique.
18:03
<@Vornicus-Latens>
Hm. Searching the web, I don't see any other things I missed.
18:07
< jerith>
Okay, I can generate the piars of sets now, and I'm getting the right number of those.
18:08
< jerith>
Slow, but not /too/ slow.
18:08
< jerith>
Hrm, should we take this to #projecteuler perhaps?
18:34 Taki^ [Meh@Nightstar-39d785ef.consolidated.net] has quit [Connection reset by peer]
18:41 Taki^ [Meh@Nightstar-39d785ef.consolidated.net] has joined #code
19:40 * Vornicus-Latens completes Euler 107, which is a walk in the park followed by a nap.
19:40 Vornicus-Latens is now known as Vornicus
19:40 * Vornicus has been here for 6 hours, it must be time to change his nick.
20:23 Serah [Z@5E691D.FC7C16.9F8D82.5FDBD5] has joined #code
20:23
<@Attilla>
Not quite so... latent? I always wondered what "Latens" means except... away?
20:25
<@Vornicus>
It is the root for "latent"
20:25
<@Vornicus>
Which means hidden / under the surface / lurking
20:25
<@Attilla>
Ah. I thought so.
20:31 Serah [Z@5E691D.FC7C16.9F8D82.5FDBD5] has quit [Ping timeout: 121 seconds]
20:34 Serah [Z@5E691D.FC7C16.7DB3A5.5ED3C6] has joined #code
20:44 Taki^ [Meh@Nightstar-39d785ef.consolidated.net] has quit [Connection reset by peer]
20:50 Taki^ [Meh@Nightstar-39d785ef.consolidated.net] has joined #code
21:06 Serah [Z@5E691D.FC7C16.7DB3A5.5ED3C6] has quit [Ping timeout: 121 seconds]
21:41 Serah [Z@26ECB6.A4B64C.298B52.D80DA0] has joined #code
22:04 Rhamphoryncus [rhamph@Nightstar-8931f88f.abhsia.telus.net] has joined #code
22:51 Taki^ [Meh@Nightstar-39d785ef.consolidated.net] has quit [Client closed the connection]
22:58 Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has joined #code
22:58 Taki^ [Meh@Nightstar-39d785ef.consolidated.net] has joined #code
23:00 Taki^ [Meh@Nightstar-39d785ef.consolidated.net] has quit [Client closed the connection]
23:06 Taki^ [Meh@Nightstar-39d785ef.consolidated.net] has joined #code
23:12 Taki^ [Meh@Nightstar-39d785ef.consolidated.net] has quit [Connection reset by peer]
23:19 Taki^ [Meh@Nightstar-39d785ef.consolidated.net] has joined #code
23:21 Taki^ [Meh@Nightstar-39d785ef.consolidated.net] has quit [Connection reset by peer]
23:28 Taki^ [Meh@Nightstar-39d785ef.consolidated.net] has joined #code
23:32 Taki^ [Meh@Nightstar-39d785ef.consolidated.net] has quit [Client closed the connection]
23:35 You're now known as TheWatcher[T-2]
23:38 Taki^ [Meh@Nightstar-39d785ef.consolidated.net] has joined #code
23:40 You're now known as TheWatcher[zZzZ]
23:40 Taki^ [Meh@Nightstar-39d785ef.consolidated.net] has quit [Connection reset by peer]
23:48 Taki^ [Meh@Nightstar-39d785ef.consolidated.net] has joined #code
23:50 Taki^ [Meh@Nightstar-39d785ef.consolidated.net] has quit [Connection reset by peer]
23:56 Taki^ [Meh@Nightstar-39d785ef.consolidated.net] has joined #code
23:59 Taki^ [Meh@Nightstar-39d785ef.consolidated.net] has quit [Client closed the connection]
--- Log closed Sun Feb 21 00:00:57 2010
code logs -> 2010 -> Sat, 20 Feb 2010< code.20100219.log - code.20100221.log >