« first day (1462 days earlier)      last day (3479 days later) » 

Ell
1:04 PM
True enough
 
user1804599
sloccount | cowsay
 
user1804599
arrr :: arrrrs it's a cons piracy!
 
Ell
Is there a different functional definition of a list?
Besides item :: other item
 
rightfold, you are mad!
 
user1804599
@Ell s/other item/other items/
 
user1804599
1:18 PM
But you could have a data structure init ;; last instead of head :: tail if you want. :v
 
user1804599
And there are vectors which have O(1) appending and lookup-by-index.
 
user1804599
But "list" pretty much always refers to head :: tail structure.
 
Ell
Oh right
What does a functional vector look like?
 
user1804599
 
user1804599
The rightmost ones are after an immutable append operation.
 
Ell
That's cray cray
 
So what is the up
 
it's a direction
enum Direction { Up, Down, Left, Right, FILE_NOT_FOUND }
 
Ell
Lol
Direction is a normalised vector actually
 
1:43 PM
Of the same length as the dimension you are working with
 
user1804599
One Direction
 
speaking of my wicked prediction power (Original comment here):
 
Ell
Although you should just use a vector for the quanitity as opposed to storing direction and magnitude
 
Heretic!
 
Who uses Australian dollars anyway.
 
1:45 PM
Australians
 
@EtiennedeMartel it doesn't matter, we'll just double the price of all american goods down there anyway
it's what we always do anyway
 
@Mgetz You know, globalization was supposed to fix this exact problem.
 
@FredOverflow depending on the barber's precision, it will take forever :D
 
@AlexM. Not if the number of hairs is finite, and the barber rounds up!
 
1:47 PM
@EtiennedeMartel it was, but then we got shitty trade treaties like TRIPS that explicitly require countries to make it illegal to buy things in another country and then bring them back at cost. Reserving import rights for the manufacturer and allowing them a monopoly.
 
@BartekBanachewicz Come on, LRiO will be back. Everybody eventually comes back!
 
Tomalak left once. Then he came back.
 
only once?
I could have sworn it was more than once.
 
I believe tomalak logs off almost every night so he came back as many times (n-1 to be more precise)
 
moving in to my new place on Sunday, yay!
 
user1804599
1:51 PM
@FredOverflow depends on how elementary particles work.
 
@rightføld Now you're just splitting hairs!
 
user1804599
There may be some rounding.
 
oh hey, the first guy in the transcript who's still here is actually... Ell.
 
@FredOverflow Wow.
 
didn't see that one coming.
Oct 20 '10 at 23:14, by GMan
Whoa, 6 people. That must be a record.
lol
 
1:52 PM
@FredOverflow have your students successfully multiplied themselves?
 
@FredOverflow at some point he will be cutting a single hair in half
 
@chmod711telkitty I had the most terrible lecture the other day. I had to cram 90 minutes worth of material into half an hour :(
 
user1804599
@Puppy Abyx.
 
nope, Ell first.
 
@FredOverflow Gooooo college!
 
user1804599
1:53 PM
No, that's bullshit.
 
user1804599
Oct 15 '10 at 15:15, by Abyx
@mepcotterell for what?
 
ah no you're right, I didn't see that.
 
@Puppy is that your dog in your profile?
 
@ÓlafurWaage yes
 
Oct 22 '10 at 9:46, by Tony
hello, anybody used TinyXPath around here?
lol.
 
1:55 PM
How do you like that breed? Thats a cavalier right?
 
user1804599
TonyXPath
 
Cavalier King Charles
 
Cool, same as my parents. How is he/she ?
 
woofing loudly at my umbrella
if she could see it, I'm in Bristol now
 
1:58 PM
she's starving to death because I'm her usual feeder in the evenings
 
Current feeder not as generous?
 
@Puppy hehe
 
user1804599
A maze ing!
 
Programming 101 class?
 
2:03 PM
Woah, reading that transcript from 2010, there was actually helpful people in the Lounge
Oct 25 '10 at 9:30, by Tony
struct NodeAttribute
{
std::string key;
std::string value;
} Attribute;
I was a true noob
 
@TonyTheLion hint: there still are
 
Did you guys see the "I'm a little drunk so I made a right fold instead of left fold as I wanted" mail on std-proposals? Anyone up to explaining the guy why implementing fold in terms of tuples instead of in terms of the proposed fold expressions is absolutely braindead? ;d
 
@ÓlafurWaage Yes. Unfortunately, we don't have such a term in German. "101" is very concise.
 
why 101 though? surely 101 > 11 > 1
 
@chmod711telkitty Maybe 1 is the first semester, and 01 is the first course or something? I dunno.
 
2:10 PM
also number starts with 0 in programming
so should be programming 000
 
@sehe for the kind of noob questions I was asking back then?
Hmmm, suspicions I have
 
The standard used where I used to teach was, 101, first number is semester number, second number is course type (0 is standard course), the third one is the number of credits you get for the course. So Math 101 is the basic course, Math 111 was linear algebra, etc
 
@TonyTheLion no, but that does't mean we're an unhelpful bunch. It also means, among other things, that it's not 2010 anymore
 
@chmod711telkitty How about programming 711?
 
2:26 PM
no reading for students?
 
user1804599
Programming 007.
 
@rightføld that will apparently you get sued by the James Bond people
 
@sehe My statement was too general. For this I apologize.
 
@FredOverflow programming 777, everyone deserves access to basic education!
 
@rubenvb Even write and execute permission?
 
2:30 PM
@FredOverflow Open Source ftw!
 
You can execute students?
2
 
Hi @ÓlafurWaage!
long time no see
sup?
 
Hej, you too. :)
Work work, no longer in Iceland
Moved to Sweden now
 
ohhh
svenska
 
@TonyTheLion lol
 
2:41 PM
@ÓlafurWaage Do they have Ikea in Sweden? ;)
 
Ikea made Sweden
 
Actually there is only one here in Malmo, I found that funny that IKEA wasnt like Starbucks here
 
There's an IKEA a few miles from where I live
 
oh hang on there is something going on
 
I wouldn't be too surprised if there was an Ikea with an integrated Starbucks at least once in the world...
@LucDanton Why do you take the address of a function and then call it?
 
2:43 PM
Get a latte and a billy bookcase
 
@FredOverflow GCC claimed it wasn’t able to deduce which function was having its address taken, even with a static_cast to disambiguate.
 
I didn't see a static_cast in your code?
 
Right. I was going to post the two errors side by side, but now there’s more stuff going on.
error: invalid static_cast from type '<unresolved overloaded function type>' to type 'erased_formatter {aka …snip…}'
         return static_cast<erased_formatter>(&erased_format1<Arg, format1>);
With call syntax, it finds the right overload. That’s a typical situation actually now that I think about it.
error: invalid conversion from 'void (*)(annex::emitter&, const int&, const annex::format_flags&) {aka void (*)(std::basic_streambuf<char>&, const int&, const annex::format_flags&)}' to 'int' [-fpermissive]
     static constexpr auto f1 = static_cast<formatter<Arg>>(format1);
^this is not a follow up error
 
This week was terrible
Well, still is
 
why are you actually a goat?
 
2:53 PM
The amount of starred messages has surpassed my reputation
(quite some time ago, it seems)
 
Ell
I want link time programming
Why don't we have link time programming yet
We have compile time and runtime
 
lolwat
 
@Ell look up incremental linking
 
Ell
I want to be able to generate code at link time somehow :P
 
@Ell look at link time code generation
Not quite the same, but very close.
 
Ell
2:57 PM
I have no idea how it'd work
 
simple: you put IR in your object file instead of assembly.
that's how Clang's LTO works- they just ship a bunch of LLVM IR to the linker.
 
One "problem"/"feature": it's still platform dependent
 
@Ell Pointless distinction
 
what, LLVM IR?
 
@Puppy yeah.
 
2:58 PM
well
 
LLVM IR has the ABI baked in.
 
it's kinda platform dependent.
oh yeah, the C ABI and stuff has to be baked in.
but you could wrap that if you really wanted to.
 
Then you'd have Clang? :-p
 
the problem is language-required platform dependencies, like alignment.
 
What I want to know is where's @ThePhD
 
2:59 PM
@rubenvb More like, you could invoke Clang at link-time.
there's no IR reason why you couldn't do, say, c_call(func, args) in IR and then link in the appropriate c_call depending on the platform.
 
Which would gain what over just compiling all sources at once?
@Puppy size of types differs too, doesn't it?
 
Ell
Im sure there are some things you need to know all the instantiations of a template
 
As in pointers are a different type, and some integers will be different too.
 
yes, but LLVM IR can handle that transparently.
in some cases.
 
lol
 
Ell
3:01 PM
You can only know that at link time, right?
 
it's really where the user needs to set or get the alignment or size as compile-time constants that's the problem.
(also that LLVM IR can handle codegen-time size but not codegen-time alignment)
so really there's a couple problems in IR but most of the issues come from the source language, if applicable.
LLVM IR itself isn't really that platform-dependent.
 
Ell
How is llvm IR designed?
Is there a committee or benevolent dictatorship or what?
 
by biological neural network, I'd assume
the same as any other part of any other OSS- by consensus in the developer community
 
So Apple/Intel/Chronos are meddling with it now :-)
Well, "meddling".
 
so is everyone else
I made some suggestions about improvements of LLVM IR
 
Ell
3:09 PM
Is there a JIT for it?
 
Hehe last I looked (a year ago or two) "JIT" was a troublesome part of LLVM.
 
@Puppy lol
 
@rubenvb Yep, they finished swapping it out for MCJIT now pretty much.
@Ell Yep, they just finished overhauling JIT to become MCJIT.
 
McJIT
Does it come with sauce and nuggets?
 
user1804599
lol
 
3:21 PM
@Cicada If you make that a onliner I'll star it.
 
TIl that, if you cook venison burgers in a halogen oven, you get venison eggs.
 
@rubenvb An onliner
Do you think I'm a starwhore?? Because yes I am.
 
Ell
3:41 PM
I did that earlier
 
> Here’s some sort-of working library code. Only problem is, I wanted a left-fold but I got a right-fold because I’m a little drunk
3
^ std-proposals is in good hands :P
 
blaaaargh
 
3:58 PM
@StackedCrooked ... yet
 
@AndyProwl How do you accidentally get a rightfold?
 
@Cicada it looks like getting drunk is the key
 
@AndyProwl tweetified
@Cicada "Starwhores: The Chatroom Menace"
 
@AndyProwl sourceness?
 
sourceness laces the hobbit
3
 
4:03 PM
@Sofffia here
 
(can we joke with his name still? I'm so attached to that)
 
@sehe Please do
 
Of course it's the Starwhores one should be Lounge<topicalized>
 
@Sofffia (other than that passage, the post makes sense)
although I think the library solution is ugly
 
user image
3
 
4:05 PM
@Cicada ..and can you insure against it?
 
> starving children in zambrblrb
 
zambwat
 
@AndyProwl Got that covered - beer festival tonite.
 
@MartinJames Me too
What a coincidence
Mine is called "Ein prosit" or something.
 
> “I had thought this would be like push-starting a car. Instead, it’s been like being handcuffed to a rocket.”
wow that is quite a vivid analogy anonabox-backlash
 
4:07 PM
@MartinJames good! /cc @Sofffia
 
@Sofffia We only have eight beers at our little club, but there will be a couple of bands on.
 
@MartinJames have a (virtual) slivovica then :P
 
user1804599
@sehe Look at it from a different perspective: because there is less fat to burn in starving children, they'll suffer less when put on fire. In other words, it's better to burn starving children than obese merkins.
 
user1804599
The total amount of suffering will be smaller.
 
threshold of pain should also be considered as a weighing factor though
 
4:24 PM
Tomb Raider (the new one) -80% on Steam
 
user1804599
@AndyProwl even if the person in question doesn't weigh?
 
user1804599
I have an idea: put no people on fire.
 
@rightføld no, in that case it's fine I would say
 
user1804599
Just murderers.
 
user1804599
And C programmers; since they're a danger to society.
 
user1804599
4:36 PM
wtf why was this shit upvoted stackoverflow.com/q/26429174/1804599
 
user1804599
Sometimes I think noobs speak a language only noobs understand.
 
user1804599
Like babies do.
 
@rightføld it's a waste of fuel anyways
Because they made them that way? — Dave Newton 26 mins ago
I love the simplicity of that answer too. Perfect match to the question
 
user1804599
OP is a faggot, answerers are all faggots and everyone else involved in that question is a faggot.
 
user1804599
(That includes me.)
 
user1804599
4:46 PM
wat closed as opinion-based
 
5:14 PM
@AndyProwl I'm pretty sure that I've proved a couple of times that I can't take that stuff;)
The unconference liquor was bad enough, but the previous 'Dubrovnic Incident' must never be spoken of again.
@rightføld I claim immunity! I only program in C because of legacy crap and my customer's financial shotgun at my head:(
 
user1804599
EXTERMINATE MARTIN JAMES
 
@rightføld Quite right - should have used a singleton instead.
 
@MartinJames It just takes more training
 
@AndyProwl My body would not stay the course.
 
@MartinJames Next unconference I'll bring you some bottles so you can train at home
 
user1804599
5:24 PM
I'm bored.
 
@MartinJames obviously
 
@AndyProwl Please no! If I wanted to get wasted on that stuff, I would go and get it at source. Might as well get some use out of my travel insurance.
 
@MartinJames come to the sooource...
 
@rightføld Me too. It's too early for the beer festival and too late to do any work.
 
Btw wtf am I doing I should go home
 
5:29 PM
Slovenia, Croatia or Czech R? That is the question...
 
You have 8 identical tomalaks, except one of them is heavier than the others. You're given a scale and up to 2 weighings. How do you find the heaviest tomalak? I can see with 3, but not 2.
 
Ell
Where is the cheapest?
 
@MartinJames Consider also Slovakia
But more quality beer in CR
 
@AndyProwl Since it's pretty much lethal all over the Balkans, I guess it would come down to price of tickets, accommodation and getting ratted. It's a complicated balancing act;)
 
@Cicada Compare 3 and 3 first
 
user1804599
5:32 PM
Mathematics is so fascinating.
 
@Cicada: split them into stacks of three. Weigh any two stacks.
 
@MartinJames If you're willing to come to Brno, accomodation is for free ;) Unfortunately not much to see here. Prague is beautiful though, we could meet there
 
If they're the same, the heavy one is in the other. If not the heavy is in... the heavier stack.
Repeat with just that stack
 
user1804599
 
user1804599
Also, how do you split 8 items into stacks of 3?
 
5:35 PM
3 3 2
 
@AndyProwl Hmm. If the object is a pissup, the 'where' doesn't matter much, plus I've been to Brno before.
 
@MartinJames Oh, right, I forgot that
All right, enough work for today
I'll go work from home
 
@AndyProwl I could get to Brno and back for €80 at start of November..
 
> Please input a valid email format such as yourname@example.com
Oh look more stupid email validation bullshit
 
Mebbe a mini-unconference coming on..
 
5:50 PM
hello
 
user1804599
2
A: Poisoned Iced Tea

lc.They were Long Island Iced Teas. The first girl drank so much so fast she couldn't hold her liquor and (fortunately) threw them up before her body absorbed the poison.

 
user1804599
hehe
 
@rightføld the accepted answer is wrong, the iced tea weren't poisoned, but the ice cubes
the puzzle is misleading
 
user1804599
They are part of the iced tea.
 
user1804599
Also iced tea is disgusting so w/e.
 
user1804599
5:53 PM
Better die than suffer from the after taste.
 
@LoïcFaure-Lacroix the accepted answer says so ;0
it says that "drinks were poisoned", not iced tea
 
@BartoszKP also this is terribly wrong as if she received 6 iced teas with poison the time it took to drink the sixth iced tea is equal to the time it took to drink 1
which mean that 1 iced tea waited as much time as the one the other girl drank.. which should be enough for the ice cubes to melt just as much
 
@LoïcFaure-Lacroix <also nitpicking>five not six</also nitpicking>
 
evening
 
@LoïcFaure-Lacroix it doesn't say it waited - maybe they were prepared on demand
 
5:57 PM
hola
 
moving in to my new place this weekend
gonna be a strange night.
 
user1804599
That's what she said.
 
user1804599
@MartinJames Io is a programming language!
 
I've found a ~ 1 million years old function findFile that returns the given file name if the file doesn't exist. It is used in ~ 1 million places in the application :0
 
user1804599
6:09 PM
@MartinJames Io is a moon!
 
By Jupiter!
 
lol std::runetime_error
 
@Puppy .. for Bristol.
 
user1804599
110
A: What is the best comment in source code you have ever encountered?

ealfFrom the 2004 Windows leak, __inline BOOL SearchOneDirectory( IN LPSTR Directory, IN LPSTR FileToFind, IN LPSTR SourceFullName, IN LPSTR SourceFilePart, OUT PBOOL FoundInTree ) { /...

 
@BartoszKP lol - your relics running out of magic?
 
6:12 PM
@rightføld :DDD n1
@MartinJames seems so ;v
 
Xeo
whee
 
@BartoszKP No hyperbole was harmed in the construction of this sentence.
 
I was doing polynomial curve fitting recently, so I might have harm some of them unfortunately;<
 
Happy Birthday, Lounge! =)
 
you're late
 
6:19 PM
:(
 
ownt
 
@BartoszKP there was this function that depended so much on the order in which files would be unzipped, that if anything in how the zip was generated changed, the whole process would break
because when it tried to work with folder/file, it assumed that folder was encountered before the file and it was created already
 
lol
 
this was actually released in the wild
 
are you expecting me to be surprised?
cause that's Little League really.
 
6:21 PM
well dayum, gimme more years to discover shit
 
no.
you must discover everything right now this second.
it's The Law.
 
@AlexM. Much suckness:(
 
you're much suckiness
 
@Puppy What? You can see my latest code from there?
 
@AlexM. btw. I liked Romania very much :) didn't have time to buy drinks you've recommended, but I was at Recas for wine tasting, and also tried some local beer (my favourite: Timisoreana) - great! :)
 
6:26 PM
it doesn't take much power to produce.
 
@BartoszKP I gotta start getting ready for the beer festival now. Bye until I sober up.
 
@MartinJames :D hf!
 
user1804599
Well then, time to install Yosemite.
 
@BartoszKP timisoreana is my favorite too
 
user1804599
Gonna go for a full reinstall since everything is terrible.
 
6:29 PM
@AlexM. sadly, I've managed to fit only four bottles into my baggage :v
but perhaps I find some in one of these "beers of the world" stores
 
@BartoszKP are there any rules as to how much alcohol you can carry on a plane?
 
@rightføld How is it ever gonna get better if you keep installing Mac?
 
I think you may find Timisoreana around the world
a guy on beeradvocate said
> Bought a 1 PINT bottle of this @ Ava Sofia in St. Louis, MO for $6.
 
@AlexM. There are rules for the weight of your baggage. But the really problem is I had only one small backpack for a 4-day trip, so they just physically didn't fit with my clothes, notes and stuff
in PHP, 12 secs ago, by BartoszKP
well, please stop flagging at all, the flag system is broken and annoying :V
:F
 
@MartinJames For 80 euros? On foot? :P
 
6:38 PM
ok, time to check out the new borderlands
I hope I'll like it, otherwise I'll always regret not trading it for keys
the TF2 keys I'd have gotten for it would have been worth a shitload of other nice games I currently want
 
your mother would have traded you for keys
 
: D
 
lol
 
at least I hope so
I sure would have
who needs you anyway
want gamez
 
I'm really surprised TF2 keys are actually so useful
 
6:39 PM
@AndyProwl Ryanair. That incudes the diesel for the 430km round-trip to Stansted airport.
 
Pappy unhappy? ;0
 
I got Of Orcs and Men for 2.5 keys which is equal to half the price of the game while on discount
 
@MartinJames so they pay you for getting on board?
 
@AlexM. I'm amazed anyone wants that shit.
TF2 was a terrible game
 
nah people get the keys to sell them
like, I got Borderlands with my GPU
I'd have probably been able to get 25 keys for it
 
6:40 PM
right, which requires people who are willing to buy them.
you can't sell them if nobody wants to buy them.
 
I bought keys too, to buy Of Orcs and Men
1 key = 1.8 eur
2.5 keys < 8 eur (discounted price)
< 19 eur (normal price)
steamtrades.com is like, a thing
you can buy keys and trade them for games
and get games a lot cheaper
you kinda want to only trade for gifts though
who knows where everyone gets CD keys
 
ITR: Martin travels to meet his rapist for only 42 euros
 
This time it's this song that popped up in my head while programming.
 
@Puppy Bit more - price in pic is GBP
 
6:45 PM
true
I guess that makes it slightly less of a bargain
let's face it, you could walk out in a park tonight and get raped for only 60 euros and that would be a lot quicker too
 
@Puppy I can drink that much in three days, easy.
 
@MartinJames Interesting :) I'm definitely going to be here those days, not sure how fit I will be though - I'm having some health issues lately
 
@AndyProwl I haven't booked anything yet, but the beer and slivovica is gonna be there anyway:)
 
@MartinJames Sure it will. If I'll be in decent shape I'll be glad to rap have some with you, but I can't promise atm
 
@AndyProwl No probs. I'll think about it tomorrow, but I really must get to beer festival now:)
 
6:50 PM
@MartinJames Cool, enjoy :)
 
user1804599
hmm
 
user1804599
Resizing a partition apparently locks the file system on it.
 
Xeo
@Puppy meh
 
it's not that great, I admit.
every time I listen my opinion of it goes down
 
6:57 PM
yup, it's already down since the first time I heard it. 45s ago
@rightføld depends. most fs-es grow "online", but shrink offline
@StackedCrooked poor thing. Do they have something like RIAGG in Belgium?
If you ever want a listening ear to tell about how you came to be so traumatized, I'll be here waiting.
 

« first day (1462 days earlier)      last day (3479 days later) »