« first day (410 days earlier)      last day (4539 days later) » 

12:00 AM
Infinite lists FTW.
 
sbi
I just hope her plush lion will survive the washing. This would be one hell of a week if it dies in the washer.
 
:(
Poor feline.
 
sbi
@CatPlusPlus The way your write that it sounds Polynesian.
 
What, they've been conquered by Daleks?
 
sbi
@RMartinhoFernandes Never mind the lion. A 4yo won't wake up before-hand. She must have woken up when it happened. Opened her eyes. Big mistake. Poor child had to suffer a lot until I managed to rinse her eyes.
 
12:03 AM
Oh.
 
Eye bleach!
 
That sounds painful.
 
Why is the uninitialized data section labelled .bss?
"below-standard segment"?
 
sbi
@KerrekSB BullShit Section. Uninitialized data is bovine excrements.
 
12:04 AM
"binary-safe storage"?
 
sbi
@RMartinhoFernandes You slack, robot. I've been faster than you twice today.
 
Broken shit section.
> Historically, BSS (from Block Started by Symbol) was a pseudo-operation in UA-SAP (United Aircraft Symbolic Assembly Program), the assembler developed in the mid-1950s for the IBM 704 by Roy Nutt, Walter Ramshaw, and others at United Aircraft Corporation [1][2].
> The BSS keyword was later incorporated into FAP (FORTRAN Assembly Program), IBM's standard assembler for its 709 and 7090/94 computers. It defined a label (i.e. symbol) and reserved a block of uninitialized space for a given number of words (Timar 1996).
 
"bulk string sediment"
 
sbi
Well, this might keep being an "exciting" night for me, and it ends in 5hrs anyway, so I guess I'd better go to bed, to catch at least a bit of sleep, before I will have to spend a day with a sick child at home tomorrow.
Good night, folks!
 
UAC?? The guys from Doom??
 
12:07 AM
@sbi Good night.
 
@sbi Night!
 
The guys from Microsoft.
 
"lumps of meat with punched potatoes"
 
12:09 AM
ok, q
 
punched potatoes, lol
 
sbi
:q!
 
@DeadMG It's literal.
 
uh
 
12:10 AM
well yeah i want to define in the interpreter, interactively,
factorial :: Integer -> Integer
factorial n = product [1..n]
i can use let for the last line
but it protests about the first
 
I don't know who's been punching those potatoes, but I at least am more than capable of dealing an awful lot more damage
I'd more describe that as "extremely lightly prodded potatoes"
 
@AlfPSteinbach Can't declare types in the interpreter.
 
oh, so i need to do like :!nedit blah
 
@DeadMG There's a dish called mashed potatoes.
This is not it.
 
mashing != punching
those potatoes have not been punched by anyone
 
12:12 AM
 
Well, I supposed that with an "awful lot more damage" they will be closer to mashed.
 
@DeadMG Yes, they have! It's a traditional dish. They're supposed to be punched.
 
pfft
maybe by sbi's sick 4yo
 
@CatPlusPlus lol
 
12:16 AM
i think punched potatoes must be sort of like baked potatoes?
ah i found recipe at portuguesediner.com/tiamaria/2010/01/27/16 simple
 
So you basically need to make them implode.
 
No, you actually punch them, dammit.
@AlfPSteinbach Yes, they're baked.
 
I'm recommending an all-caps identifier. Iz that Bad?
 
I know who'll say "yes".
 
It's ALL_CAPS.
 
12:20 AM
I though't "opaque" resonates with "allcaps"
 
data_handle
typedef struct data_t *data_handle;
 
sup nerds
 
You see, I don't really know many opaque pointers, and the only ones I do are all-capped
 
It's stupid convention. Let's break it.
I like data_handle much better.
Or just typedef struct data_t data_t;, data_t*.
 
@CatPlusPlus I will anonymously admit a liking, too
 
12:22 AM
you know what would make it better
adding _ex to the end
 
And perhaps a modification will be made to the post for unconnected reasons :-)
 
data_handle_in_space.
 
In space, no one can hear you handle.
 
anything C-ish I do in C++ I make uppercase
to reveal the inner ugliness
 
Also, I've been thinking of layering some sugar on top of C++, to make classes pimpled by default.
But I'm not sure what to do with inheritance, TBH.
 
12:26 AM
this was unexpected:
ghci> succ 3.14
4.140000000000001
ghci> _
 
Floatssss.
 
I like equiwide function names. What's a six-letter synonym for free or destroy?
 
@CatPlusPlus Why would you want that?
 
What is up with this guy:
 
i mean that succ is even defined for floats
 
12:26 AM
PIMPL is a horrific thing that should never have existed
 
-1
Q: Boost function factory sample using boost::function

myWallJSONSo I read this demos and this, not really clear for me document and keep wondering - how to recreate tht main Background demo using boost::factory. Can any one please show how to do it?

 
@tenfour _ex? Why not A and W, while we're at it?
 
@AlfPSteinbach Look at its type: :t succ
 
@sehe No idea.
 
Duplicating my rant for general enjoyment:
In your 11 days of membership, you have posted 17 questions, some of which struck me as particularly confused/misguided; I'm trying to think of a boost library that you haven't covered with your questions yet you throw in a perfectly beginner C++ question (that was duplicate, too) and you are covering OpenCV, MooTools, jquery...
 
12:27 AM
@DeadMG Compilation firewall, eh. Maybe not by default, but some sugar would be nice.
 
My point is this: what are you doing and are you expecting us to go hunt for the question on a SVN link (that I can't access) and write all the code for it. Don't make me laugh. </rant>
 
@sehe Source?
 
class interface foo {
    // public parts
};
class impl foo {
   // private parts
};
 
@RMartinhoFernandes See linked question above
 
Or something.
 
12:29 AM
@CatPlusPlus Modules.
 
@RMartinhoFernandes Right.
 
@CatPlusPlus: sometimes I get a feeling users of SO 'prey' on the SO community by asking ridiculously convoluted questions so they get a lot of attention (and ditto rep) while wasting all of our time
 
@sehe Help vampires!
 
Maybe if I reimplemented templates layer up, and emit C++ code without them, I could make modules.
 
(Not quite)
 
12:30 AM
This is really a sad case, IMO
 
But then again, it would take me at least 4 WideCs to finish that.
 
@CatPlusPlus Ah, ok. I almost took my totem out.
 
What?
 
@CatPlusPlus what are you writing?
 
Thought I was dreaming.
 
12:31 AM
I'm just dumping contents of my mind.
I'll try to finish at least that roguelike.
 
Have you started it?
 
I'll take the Tetris code, so yeah.
:P
 
Oh.
So you can already display what? A letter?
 
Text from a bitmap font! And triangles!
 
I'm giving this poor guy underscore hell
@sehe ...so, are we voting to close or what?
 
12:39 AM
i wonder if i posted this already day before yesterday. anyway, i think the girl looks so radiating. like she's pregnant, or ... happy?
 
jli
Anyone here from Canada?
 
alf i think she's probably just... good looking?
 
jli
@AlfPSteinbach that almost sounds like Steve Vai's style
 
when chicks emote, it can be pretty hot anyway
 
jli
Despite it being utterly different at the same time.
 
12:44 AM
Oh, look at that, another SDL in Uplink codebase.
 
What's an SDL?
 
jli
@CatPlusPlus you're looking through it too?
lol
 
I'm still doing checkout.
 
jli
I see
 
It's 1:30 hours now.
And still no Uplink.
 
12:45 AM
I downloaded a snapshot.
 
jli
Same
 
You know how fast SVN can be.
 
jli
Recently my friend checked out the Firefox SVN.
Took him all day.
 
Firefox doesn't use SVN.
 
Gahh
 
jli
12:47 AM
Orly? Well then it was it's hg or git repo or whatever.
I thought mozilla did use SVN, I guess I'm wrong.
Still took all day.
 
That's because it's big.
 
Hey guys
Am I making any completely obvious errors here in this code:pastebin.com/Hm28F4NN
 
SVN repos take forever to checkout because they're SVN.
 
ah new q
 
@mwmnj: what did your compiler say? He can analyze it much faster than any of us.
 
12:49 AM
ok i understood it
2 is of type Num not Int
 
@tenfour he cant udnerstand logical errors
 
are you sure you wanna use ++s in your ifs? @mwmnj
 
Num is a type class, not a type.
 
@AlfPSteinbach Num is a type class.
It's a bit like a concept.
 
2 could be Integer, too.
 
12:51 AM
ghci> fromIntegral(length [1,2]) + 3.14
5.140000000000001
ghci> 2 + 3.14
5.140000000000001
ghci> :t 2
2 :: Num a => a
ghci>
ghci> [1,2,3] ++ [3.14]
[1.0,2.0,3.0,3.14]
ghci>
without the fromIntegral is bang crash. i don't fully grok this...
 
Anfurny no, I suspect that where the error is comming from, but would adding (row= row + 1) in my ifs make a difference?
 
@AlfPSteinbach There are no implicit conversions in Haskell.
 
jli
@mwmnj This is a really weird way to implement DFS, why not just use a single stack of ordered pairs?
 
I think your whole algorithm is wrong, actually, now that I looked at it. Looks like you're trying to solve a maze. You probably want a recursive algorithm without back-tracking. @mwmnj
 
@RMartinhoFernandes how about the list joining then? it seems to have converted up the integers
 
jli
12:52 AM
Yeah the whole algorithm is incorrect.
 
fromIntegral is (Integral a, Num b) => a -> b, so in context of + 3.14 it converts from integral to Float.
 
jli
@Anfurny its not because it needs recursion, using a stack does the same thing.
 
@jili DFS?
 
@AlfPSteinbach Oh, weird.
 
jli
But he's using the stack wrong.
 
12:53 AM
I need to use stacks
 
jli
DFS is the algorithm you're trying to do.
 
The algorithm Im using is:
 
jli
Depth-first search (DFS) is an algorithm for traversing or searching a tree, tree structure, or graph. One starts at the root (selecting some node as the root in the graph case) and explores as far as possible along each branch before backtracking. A version of depth-first search was investigated in the 19th century by French mathematician Charles Pierre Trémaux as a strategy for solving mazes. Formal definition Formally, DFS is an uninformed search that progresses by expanding the first child node of the search tree that appears and thus going deeper and deeper until a goal node is fou...
 
While Not At End
If Can Go North
Go North
ElseIf Can Go East
Go East
ElseIf Can Go South
Go South
ElseIf Can Go West
Go West
EndIf
Wend
 
Ok, I got it.
length has type [a] -> Int
 
jli
12:54 AM
@mwmnj You're implementing it incorrectly, just go look at that article.
 
+1 jli
 
But [1,2,3] is polymorphic with type Num a => [a] (read as "list of a, where a is a Num")
@Alf Makes sense?
 
not sure
 
GHC is more clever with types of literals.
 
@jli Is that psudeo code I posted DFS?
 
12:56 AM
Well I still think a DFS should be recursive @jli
 
It can legally say untyped [1,2,3] is a list of Float if it needs to.
 
jli
Yeah it is
@Anfurny it's the same thing
 
[1,2,3] can have any type [a] as long as a is a numeric type.
 
jli
Using an explicit stack is necessarily better since it reduces function call overhead.
 
Try ([1,2,3] :: [Int]) ++ [3.14] and it'll bork out.
 
jli
12:56 AM
And you can control the stack space then.
 
And doesn't overflow...
ya
 
I don't understand how Alice's Public Key combined with Bob's Private Key is the same as Bob's Public Key combined with Alice's Private Key
 
@KianMayne Magic.
Also math.
But mostly magic.
 
@CatPlusPlus Where can I learn about said Magical Math?
 
In the land of Oz. Not in Kansas.
 
12:58 AM
In Unseen University.
 
Wait, that's Dorothy, not Alice.
 
@jli Im not seeing my error with the algorithm? is it not just if statements?
 
jli
Sec, I'm writing one for you lol
 
Well I still think that pseudocode is wrong @jli @mwmnj
 
jli
That pseudocode doesn't loop
Er yes it does
its not complete though
 
12:59 AM
While Not At End
Wend
hmm ok
 
jli
And it shouldnt be else if, it should just be if
for it to be exhaustive
 
Uplink has Loki.
 
I think it needs to 1: Not back track, 2: in the case it can go nowhere return false (exit 1 level of recursion)
 
jli
and it needs a breadcrumb array
 
Yeah, I've noticed.
 
12:59 AM
Not that Loki.
 

« first day (410 days earlier)      last day (4539 days later) »