« first day (1027 days earlier)      last day (3937 days later) » 

Xeo
8:01 AM
Memo: Knifes are sharp.
 
@Xeo oh dear, how bad?
 
Xeo
Dunno, but it doesn't want to stop bleeding.
Kinda annoying
 
yay I answered something !
 
hmm... perhaps you should take your bloody hand away from the keyboard?
yeah! flag that legitimate use you fucking twats!
 
Xeo
I got a plaster on it.
 
8:04 AM
@Xeo IMO if it is dripping with blood, a plaster is not sufficient
 
Xeo
Yeah, I'm noticing that.
 
you know, it's kinda awesome that I am working half-time and I can simply say "Today is a Haskell day" :D
 
is it gaping at all @Xeo?
 
@xeo if its a deep cut you might wanna have someone look at it
 
if so, you probably should get a stitch or two put in
 
8:07 AM
@A.H. Y U 2-space indentation? :)
 
@BartekBanachewicz I like the body to be indented further than the braces, if thats what you mean :P
 
{
  two
  space
}
{
    four
    space
}
 
Two space can be useful with line length limits, but I find it less readable than four.
 
honestly tab no worky and I am too lazy to press space four times :<
 
o_0 I am starting to think significant whitespace is a good thing
 
8:10 AM
@BartekBanachewicz you can edit it though :P
 
@thecoshman haskell does it in a weird way
 
@A.H. too trivial
 
@A.H. oh no I won't edit just to change indenting :F
 
Damn you templates y u no compile
 
@Borgleader Y U NO COLIRU!
 
8:12 AM
ideone's interface is prettier ;)
 
@Borgleader ew.
you can always make a better one for Coliru
speaking of which, I need CSS for my blog
 
I'm trying to make the implementation of the template outside of it so it can be moved to .cpp file (and included at bottom of .h) for some question I'm answering
 
Xeo
@thecoshman Not really
It's a clean diagonal cut into the tip of my finger
 
But I've never really dealt with variable argument templates, or template template arguments... and this combines both T_T
 
@Xeo how big?
 
Xeo
8:14 AM
1cm or so across
 
how deep. Length is irrelevant
 
@Xeo ow
 
Xeo
Stopped bleeding now that I changed the plaster and didn't wrap it around so tight.
 
@Borgleader what the hell? how can you think adverts all of the place and a tiny editor is a nicer?
 
if it's more than 5mm you might need stitches
 
Xeo
8:15 AM
Still stings a bit
 
@Borgleader You have a couple typos.
 
@Xeo rub salt on it :D
hint: don't
 
@thecoshman Adverts? What adverts? (lrn2adblock)
 
Xeo
@thecoshman Remind me to never help you again.
 
8:16 AM
@Borgleader adblock? how about don't use crappy site in the first place?
 
s/MyMap/MyClass/, s/<Args...>//, s/print/printMap/
 
@Xeo ... I did give you a hint not to
 
Xeo
printMap reminds me of concatMap
 
lol another addict.
 
Xeo
@Borgleader Admafia.
 
8:18 AM
@chris Awesome, thanks! I can post this and go to bed now!
 
When I was little, I once passed out after cutting my finger. :/ I'm not really squeamish generally, so it really surprised me when I woke up a few minutes later on a nearby couch
I guess fingers are just so packed with nerves that if the cut is in the right place, it's lights out :p
so if you start feeling dizzy, protip: sit down :D
 
@jalf I grated my finger with a cheese grater once on the knuckle. I laughed because it was funny, though I still have the scar.
 
time to write RPN calculator in haskell
 
And I cut one of my fingers while cutting the cheese once (joke not intended).
 
eh XFCE y u hang
y u do dis
 
8:21 AM
That was in grade 5. Unfortunately for me, I announced it as what I did over the weekend in school.
"While I was cutting the cheese, I cut my finger."
You should have seen my teacher. She laughed more than the class.
 
I punched through a window once, leaving me with a cut in my wrist. It was only a single glazed window, nevertheless.
 
I stepped backwards in my living room once. Right onto a nail sticking out of a board.
I'm not sure why my dad put it there tbh.
For whatever reason, it didn't bleed or hurt, but it came up with my foot and I shook it off.
 
class Test {
public:
Test() {};
~Test() {};

template<typename T> void func(T *p);
};
template<>
Test::func(T *p)
{
}
why not must to use anonymity template in implemention of the member function of class Test?
 
> why not must to use
what?
 
@Borgleader translation: Why I can has not
 
8:25 AM
means that you can only use anonymity template
 
> anonymity template
Wut?
Noobs, nothing unusual
Lol
 
if you write like this:
template<typename T> void Test::func(T *p)
there is a error while complier
 
what is an anonymity template?
 
Anonymous template
 
God knows
That doesn't exist
 
8:27 AM
forgive my poor english
 
isnt template <> template specialization?
 
Xeo
You're confused.
@Borgleader Yes.
 
At I'm not the only confused one round ere
*at least
 
@DarkHorse doesn't look like compiler error coliru.stacked-crooked.com/…
 
@TonyTheLion apparently you forgot you can edit messages, huh?
 
8:29 AM
my mean is that there is no declare in template<>
 
I'm on iPad, can't edit msgs
 
@A.H. omg
 
Are outdoor electrical outlets the description of nerd luxury?
@TonyTheLion uh, you can. Menu -> Edit last
 
template<typename T>
void Test::calc(T val)
{
cout<<val*2<<endl;
}
template<typename T>
void Test::calc(int val)
{
cout<<val*4<<endl;
}
error C2244: “Test::calc”:
 
@Bartek Yeah I just saw that
 
8:31 AM
I compile in vs2008
 
@BartekBanachewicz Is that nika from Riot?
 
@DarkHorse, your second function is a specialisation
 
class Test
{
public:
Test() {};
~Test() {};

template<typename T> void calc(T val);
/*{
cout<<val*2<<endl;
}*/
};
//specialization here
template<typename T>
void Test::calc(int val)
{
cout<<val*4<<endl;
}
 
@Borgleader yes
Nikasaur*
 
Xeo
@DarkHorse That's not a specialization
 
8:33 AM
yes, when specialisation, the compiler give a error
 
Xeo
template<> void Test::calc(int val) would be a specialization
 
if I write like this:
template<>
void Test::calc(int val)
{
cout<<val*4<<endl;
}
then that work
 
@DarkHorse thats a specialization
 
Yes because that's the correct way
 
why?
 
8:35 AM
Because...
 
Because there is no T both in your parameters and return value.
 
@DarkHorse are you trying to specialize or just emm implement ?
 
WTF is the thing with outdoor electrical outlets? We have garden power tools and my DRS radio will not last through two days of a test match one one set of batteries. The things are a luxury now?
 
@MartinJames I think she really meant gaming outside
 
8:36 AM
@BartekBanachewicz why would you game outside?
 
@A.H. because you are a nerd and it's nice weather outside
 
@BartekBanachewicz I prefer to yell at my computer indoors
 
@A.H. I want to specialize
 
@DarkHorse as @TonyTheLion said that is the correct way
 
ah back on computer, yay
 
8:39 AM
how to decide whether to add typename T in template?
 
@DarkHorse when you have a T in your function
 
ok, I will try
 
    Couldn't match expected type `[([Integer] -> [Char] -> [Integer])
                                   -> [String] -> [a1] -> Int]'
                with actual type `(a0 -> b0 -> a0) -> a0 -> [b0] -> a0'
ouch.
 
Xeo
There's a list
 
huh... if your private key is in ~/.ssh you shouldn't need to explicitly state where it is should you? I thought ssh will find the right private key in there and use it for you.
 
8:41 AM
you're amazingly helpful
 
Xeo
:D
But what kind of expected type is that
 
@thecoshman you need to load it.
 
@Xeo I forgot a $
 
Xeo
Oh wait, that's an array of fold?
 
Xeo
8:42 AM
lawl
 
class Test
{
public:
Test() {};
~Test() {};

template<typename T> void calc(T val);
};

template<typename T>
void Test::calc(int val)
{
T val1;
cout<<val1 * val<<endl;
}
there is also a error
 
@R.MartinhoFernandes ah yes yes. well, I'll just use an alias as always, I canny remember ip's any way, so I may as well -i the path the to private key in the alias
 
Xeo
Could you stop pasting 10+ line code snippets?
Get a book / search SO and read up on templates.
 
hmmmm, I guess I should try to get exactly 7 more rep
 
Xeo
Upvote, Downvote on you, Downvote from you on an answer
Or Upvote + 3 Downvotes from you :P
Gogo, 3 downvotes.
 
8:45 AM
um, are you all busy?
you are all in chip-chat
 
Xeo
Too busy to deal with someone that completly doesn't understand what he's doing.
If you have more questions, I advise to head over to Stack Overflow and formulate a question.
Or, as I said
2 mins ago, by Xeo
Get a book / search SO and read up on templates.
 
ok, you are not friendly to newer
 
You are not friendly to older!
 
Xeo
We're not obligated to answer your questions.
 
8:46 AM
Jul 25 at 13:58, by Xeo
Greetings, Lounger! New here? We have some newbie hints and an acronym list for you.
 
You are still insisting on doing it the wrong way even after being told it is wrong and what the right way is. And then complain that it still doesn't work.
 
This is clearly written on the right side of the chat.
 
Xeo
Also, I just noticed that someone changed to
 
That's not friendly: you are supposed to do most of the thinking on this, not none at all.
 
@Xeo yeah, people thought the other one was too subtle, since it clearly didn't work
 
8:48 AM
@DarkHorse my bad my previous statement wasn't precise. I suggest asking on SO
 
Hmmm, left.
 
Xeo
vOv
 
Also, have you considered changing your nick to DuckHorse? That'd be way cooler :)
 
Xeo
@jalf Gogo, downvote three bad answers
 
we should have referred him/her to the other C++ room !
 
8:50 AM
*Main> solve "3 2 3 * +"
9
 
@A.H. Oh, you mean the black hole?
 
i wish i had enough experience to stop swapping fold parameters around :/
 
the fuck? You no longer get -rep for downvoting questions?
 
Xeo
For the longest time already
Guess why I told you to downvote bad answers :P
 
shows how much I pay attention to rep I guess :D
but yay, mission accomplished
 
Xeo
8:52 AM
Wheee, 123.456
 
user1804599
@BartekBanachewicz beh.
 
user1804599
Infix notation ftw.
 
Xeo
lol Robot
 
@not-rightfold :F
 
user1804599
8:53 AM
in:Fix
 
@R.MartinhoFernandes oh come on
 
@Xeo I feel a bit bad because there's nothing special about the number mathematically, it's just about how the number looks in base 10 :/
 
Xeo
:)
 
I mean, who cares about base 10? :D
128k is coming up though... :D
 
user1804599
Base 10 is wonderful.
 
8:54 AM
@jalf Most muggles.
 
user1804599
I'm 100 years old in base 10.
 
@R.MartinhoFernandes but they're wrong :D
 
user1804599
All your base are base 10.
 
javascriptstyle.com/… The level of wrong in this is staggering.
 
IMO we should switch to base 8. Imagine how convenient it'd be to count on your fingers when you have two left over to act as carry bits or scratch data :p
6
 
8:55 AM
@jalf Parity bits!
 
user1804599
> Java is a more secure than most other programming languages. Features like automatic null checking of reference, verification of byte code prior to execution, run time security checks and dozens of similar features, makes it number one in terms of creating secure applications.
 
> What is the FP equivalent of a singleton?
:cripes:
 
user1804599
Need more Haskell
 
Xeo
[a]
 
user1804599
@BartekBanachewicz a module with functions.
 
8:56 AM
@R.MartinhoFernandes ~security~
@jalf lol
 
@R.MartinhoFernandes appart from active community, mostly
 
user1804599
 
user1804599
> JavaScript
 
@not-rightfold Just WTF, right.
 
@not-rightfold yeah, I wtfed
 
8:58 AM
maybe it's a troll
 
user1804599
Of course it is.
 
@thecoshman I wouldn't set that apart either. It's all wrong.
 
user1804599
All Java advocates are trolls by definition.
 
user1804599
@BartekBanachewicz Where does that come from?
 
user1804599
> Home » Javascript » 5 Reasons Why Enterprises Prefer Java Over .NET
3
 
8:59 AM
@not-rightfold the big cave
 
user1804599
Dat breadcrumb.
 
> Hello, I’m Santosh Kumar founder of JavaScript Style Blog. I’m working as search engine optimization expert from 2009. I started this blog for the help of web designers and developers to learn about about the JavaScript and HTML.
SEO expert explains it.
 
user1804599
OP is a faggot.
 
Waiit.
Hahahahahahahahahahhahahahahahahahahahahahahah
 
Xeo
The image is even named "JavaScript.png"
wtf
 
9:04 AM
hm
 
does javascript even have a logo?
 
it's interesting how type signature changes where you omit the actual data parameter
@A.H. yes
@Xeo Oh lol wat I suck so much
 
Xeo
@BartekBanachewicz Depending on how you wrote the body, it shouldn't change really :P
 
slice :: Int -> Int -> ([a] -> [a]) is SO DIFFERENT from slice :: Int -> Int -> [a] -> [a]
 
user1804599
 
9:05 AM
> The programming language of JavaScript is very useful and it communicates with the server very fast
 
My eyes are recovering...
 
user1804599
@A.H. no
 
Xeo
@BartekBanachewicz Erm, no?
 
@jalf My eyes are getting worse again :(
 
Xeo
9:06 AM
Or was that sarcasm?
 
This is impressive.
 
user1804599
@BartekBanachewicz It's the same thing.
 
> SO DIFFERENT
> Oh lol wat I suck so much
 
user1804599
slice a b returns a function.
 
Xeo
lolk
@R.MartinhoFernandes ... wat
 
9:07 AM
> JavaScript and jQuery both tend to be client side scripting libraries employed for tasks for examples like validation checking, creating visually attractive elements such as fancy routing menus and so on.
 
this whole page is a fucking joke
> This is useful for server side as the open source content management system it can be used in creating web scripts.
 
user1804599
@R.MartinhoFernandes reminds me of programmingstutorial.com.
 
oh lol that's amazing
> JavaScript supports functional programming language – In this programming language the function could be assigned as a data type in a variable and that function accept another function and returns a function means it works as a function programming style.
 
@Xeo Impressive, I tell ya.
 
user1804599
@BartekBanachewicz IOW "JavaScript supports HOFs." :V
 
9:09 AM
I can still see - I need sharper sticks.
 
Xeo
With so much "effort" put into the blog posts, it doesn't even look like a troll anymore.
 
@R.MartinhoFernandes TIL jquery is another language in competition with javascipt
 
@Xeo so much effort put into trolling
 
user1804599
Nah, he's not a troll, just an idiot.
 
@A.H. No, JavaScript is a library in competition with jQuery. Read something will ya? ;)
9 mins ago, by R. Martinho Fernandes
SEO expert explains it.
"SEO expert" is fancy talk for "spammer".
 
9:10 AM
@R.MartinhoFernandes sorry I am noob @ web dev
 
> However, no matter how many times the algorithm changes and google tries to weed out dud content, there are some tips and tricks that remain true to modern SEO techniques.
Impressive.
 
@A.H. don't worry the blog author is even worse
 
I once made a website using C++ for a uni project
I just felt like confessing that
 
> The quality of your internet presence is dependant on two things, the quality of your “genuine” content and the quality of the online marketing involved
I like how "genuine" is in quotes.
 
@A.H. that's kinda cool :p
 
user1804599
9:12 AM
@R.MartinhoFernandes Seems "genuine".
 
@jalf I immediately regretted it
 
> JavaScript on the one hand is a programming language which is mainly used in web pages for making interactive websites while AJAX can be understood as a technique of communication in between the browser and the server within a page.
 
user1804599
> C++
 
user1804599
What would you expect?
 
I have several apps with built-in servers.
 
9:13 AM
Y'know, the main difference between a pear and a washing machine is that the pear is a fruit and the washing machine is a machine.
 
@not-rightfold It was kinda interesting to learn about CGI and shit but didn't end well
 
@BartekBanachewicz that is actually fairly accurate
 
user1804599
lolCGI
 
user1804599
@BartekBanachewicz pears are commonly green and washing machines are commonly white.
 
@BartekBanachewicz It's like the difference between Apples and Oracles.
 
9:15 AM
@R.MartinhoFernandes :D
 
@BartekBanachewicz My app web interface for config doesn't have any adverts or flash animations, but it does allow object properties to be listed and edited.
 
@MartinJames but is it written in jQuery, JavaScript or in AJAX?
 
Or Java or .NET?
<throw more buzzwords>
 
user1804599
jQueryScript .NET: AJAX Edition
2
 
@R.MartinhoFernandes he's an expert in SEO, after all
 
9:17 AM
JS! I am using AJAX as well for another thingy.
 
user1804599
I wonder what would happen if you ask a stranger if you may "query" them.
 
user1804599
@MartinJames need moar Gear!!1
 
so I need CSS
 
user1804599
@BartekBanachewicz LESS
 
@not-rightfold good idea
it would be cool if I use Jekyll to build LESS :v
 
9:19 AM
I use a designer. My web form gets built. It displays. It works. I did look at the generated JS once, but never again :)
 
meh designers
 
user1804599
@BartekBanachewicz Use the C preprocessor to generate CSS.
 
user1804599
Still better than plain CSS.
 
@BartekBanachewicz 'My web form gets built. It displays. It works.' Doan' wan' no mor fuckin' JS involvement.
 
user1804599
/**
 * Check is an attribute used in EAV index
 *
 
9:22 AM
Hate it! Hate it! Hate it!
 
user1804599
Ugh fuck you Magento with your terrible Engrish documentation.
 
eh, maybe I'll keep using Leap Day theme...
I like it.
 
@Xeo You bastard!
 
Xeo
Took you long enough to see it.
 
I saw it in my rep thingy.
 
Xeo
9:27 AM
ahaha
 
Got three rep caps out of the finally thing.
 
user1804599
@BartekBanachewicz It's nice.
 
Xeo
It might overtake the lambda one even
 
user1804599
I don't get it.
 
user1804599
What's wrong with the beard answer?
 
Xeo
9:34 AM
It's a silly answer
 
user1804599
It answers the question. :v
 
Xeo
Robot didn't want that so high up on his "top answers" list
So I went and accepted it.
 
user1804599
lol
 
Xeo
Same thing happening now with the finally answer
 
fuck my hair is so annoying
 
9:35 AM
Speaking of which, a pair of people in that programming class that got that as a bonus actually figured it out.
 
Xeo
... wait what?
 
It surprised me, but they did a good job. They got most of it one day, so I gave them a very light pointer and they got the rest in time.
 
Xeo
You actually used the digraph stuff in class?
 
Oh, I found what I used:

#include <iostream>
int main(){<:](){std::cout<<"Hello";;%>;[:><%std::cout<<"Hello";;}();}
 
Xeo
I gave something along these lines to a programming class as a bonus. I'm evil, I know. It's very unsearchable on Google. — chris Apr 1 at 1:05
Oh wait, you said so.
... are there extra useless ;?
 
9:38 AM
I was helping the teacher with a high school class that I took a couple of years ago. It was just a fun and hard bonus. I warned them it was hard and nothing they learned in the class would help.
And yeah, I don't think null statements are covered, so they can be slightly confusing.
I gave a link to an online version that compiled, too, for them to start from.
 
Xeo
I like how FlashDevelop, after hibernating the PC, doesn't build the next time you compile, with "Error: null"
 
Plus it's nice proof when it might otherwise be tried without compiling with C++11. That was one of the things that could lead you to an answer.
 
@Xeo Sounds... yeah, Flash.
 
Xeo
FlashDevelop is written in Java :s
 
By people related to Flash, I assume.
Wait, you're still working with Flash?
 
Xeo
9:43 AM
Mobile port~
 
I thought it was temporary.
 
Ell
Morning.
 
Though temporary for a long time is still temporary.
 
Xeo
A new Flash coder was supposed to start when I got back to C++, but he bailed in the strangest of ways.
 
user1804599
lolflash
 
Xeo
9:50 AM
Good thing, for the next project we already decided to not use Flash.
 
@Xeo: Replacing it with what?
 
user1804599
@wilx inb4 java
 
Xeo
Unity, likely.
 
Sometimes, it's better to not get up at all. Q: 'How can I get out of my blocking call'. Accepted answer: 'poll with a really short timeout so you can check a flag'.
http://stackoverflow.com/questions/18119428/c-how-to-exit-out-of-a-while-loop-recvfrom
 
user1804599
Use Node.js and MongoDB.
 
user1804599
9:52 AM
It's web scale.
 
@not-rightfold JavaScript.
 
Sam
Does anyone know what the start address of the RAM is?
 
user1804599
Way better.
 
user1804599
@Sam Lowest physical address? 0.
 
9:54 AM
(Your question doesn't seem clear enough, btw)
 
@Sam Wherever the address decoder says it is.
@R.MartinhoFernandes Not necessarily.
@Sam Start address from where? The RAM chip internal addressing starts at 0. The address that the CPU has to issue to access that chip depends on the address decoding hardware.
 
Ell
Boy I feel grim.
 
user1804599
@jalf signed integers!
 
@Ell I'm actually cheering up. My hangover is gone and the JS/jQuery/AJAX/.NET madness has abated.
 

« first day (1027 days earlier)      last day (3937 days later) »