« first day (1670 days earlier)      last day (3502 days later) » 

12:00
@edition what
@LightnessRacesinOrbit autoscuola
Ven
Ven
@rightfold have you seen github.com/lenary/idris-erlang :>
@Jefffrey wtf
@Jefffrey doesn't even have the word "driving" in it you layabouts
user1804599
Now I have!
user1804599
Mercury also has a BEAM backend.
12:00
Where they teach you to use auto everywher
I mean, a CLI linked to webpage UI's.
Ven
Ven
really? that's great to hear
the BEAM documentation is very, very sparse
user1804599
Yeah.
@LightnessRacesinOrbit "scuola guida" is also commonly used
There are text browsers?
Lynx.
nice sample application
Ven
Ven
@rightfold twitter.com/venkat_s/status/595961644972253184 it's the guy from the scala video!
Y'know, all I need to know about a developer is how thorough, detailed, precise and complete their technical documentation is. If it ticks all those boxes, they're good enough for me. They could be crap at memory leaks or UB or indentation styles but ultimately they have a strong brain. In the main.
@LightnessRacesinOrbit "street" is "ulica" (e.g. "Hevelius Street" -> "ulica Heweliusza")
12:01
I've found it a great way to judge colleagues :D
@milleniumbug ulica street?
that's gross
@Ven Subramanium - it's what they make submarines out of
user1804599
@Ven guess who retweeted that a bunch of time ago.
Ven
Ven
@rightfold bah :(
why is github's haskell highlighting so broken? github.com/lenary/idris-erlang/blob/master/src/IRTS/… it used to work fine...
@LightnessRacesinOrbit That reminds me, have I ever asked for your feedback on this? flamingdangerzone.com/nonius, flamingdangerzone.com/nonius/authoring-benchmarks
"if (/*A condition that is always met at some point*/)" Not good enough. How are we to know that you got that right? Especially when we already know you got something wrong :P Post a testcase. stackoverflow.com/help/mcveLightness Races in Orbit 11 secs ago
Ideally we'd never have to point this out to anyone.
They'd all be intelligent enough to figure it out on their own. It's basic logic.
@R.MartinhoFernandes On the code or on the site? I haven't used the code because C++11 (and because I use C++03 at work (and because I have no time for my own projects))
Ven
Ven
12:07
@LightnessRacesinOrbit you seem to be in a good mood, though: you put a ":P" there
user1804599
@Ven it's highlighted as if it were Erlang code.
@Ven Y'know what? I am :D
user1804599
See the class attribute of the element.
Ven
Ven
@rightfold that's true :-)
@LightnessRacesinOrbit The docs (i.e, just the two pages I linked).
user1804599
12:08
GitHub is bad at machine learning.
Ven
Ven
that's not even machine learning, only heuristics IIRC :/
user1804599
colleague almost dropped a fridge on his drone
@R.MartinhoFernandes will review after lunch
@rightfold why was he carrying a fridge?
12:10
@khajvah That's fridge logic
Btw, what are everyone's thoughts on signed commits?
I always sign release tags, but git 2.0+ also lets you sign individual commits.
Ven
Ven
RMS will be happy
@edition w3m, lynx, (e)link(2), etc. kmandla.wordpress.com/2011/01/13/…
Ven
Ven
@R.MartinhoFernandes because that means the NSA won't be able to commit in his stead
12:13
not as easily
@R.MartinhoFernandes Why are constructors/destructors of automatic objects outside of calls to measure() an issue? Isn't the timing done inside measure()?
hmm wait I think I misunderstood the point
ooh yeah I got it
sorry, disregard that question
I am lazy today
I try to join thread by pthread_join(thread). but in any case I the join return the value 1 in any case also if the function that the thread work on is empty.
According to the man files it have to return 0 in success but it return only 1!
how can I find the problem?? thanks..
user1804599
By debugging.
user1804599
12:23
Then you're in the wrong place.
user1804599
We only accept non-stupid questions.
I only care about smart questions
I don't have enough reputation to be considered smart
7
@SeçkinSavaşçı It's not the reputation makes you stupid
woah
no one told me the otherwise
so I believed it
12:25
@Alon wat?
Your question is stupid because you omitted the definition of the vector
Should I include it? I omitted because I thought it is obvious.
Fixing it right now, thanks for the tip
user1804599
SSCCE.
Guise, I came here for an upvote. Please upvote me. Because I am after all, a lion.
user1804599
@TonyTheLion repwhore
12:28
@SeçkinSavaşçı std::ref(*functor) would work. Explaining properly why in an answer and what you can and/or should do about it is a lot of work though.
user1804599
git pull --rebase is nice.
@rightfold no rebase
I’d say 'consider not doing baseFunctor* functor = new derivedFunctor();'.
user1804599
Why not?
user1804599
Otherwise I get a merge commit for a pull, which is silly unless there's conflicts.
12:30
@khajvah pthread_join always return 1! I dont know why.

void* threadFunc(void* param){
}
pthread_t newThread;
pthread_create(newthread,threadFunc,nullptr,nullptr);
k=pthread_join(newThread);
so in this case k is always 1. but join has to return 0 when it's success and !=0 in error.
user1804599
:'(
@Alon Then presumably the 'why' is that there is, in fact, an error?
@LucDanton someone answered it just after you mentioned it. Thank you very much.
I think that it's finish without an error
but I dont understand why it's tell that their is an error
Ven
Ven
12:32
Fun Python fact of the day: Occurence of a call to a function named "super" in Python will cause the compiler to insert an extra variable (called _class_) (via arnsholt)
seems like indeed, "explicit is better than implicit" has a lot of exceptions :P
@Alon Read the manual.
Ven
Ven
wait no, that's wrong. _class_ is magically created if referred to (explicitly or via super)
@Ven Like any other variable (super notwithstanding)?
Fun Python fact of the day: Pythons live near the equator, in Asia and Africa, where it is hot and wet and their huge bodies can stay warm. They make their homes in caves or in trees and have become used to living in cities and towns since people have been moving in on their territory.
Ven
Ven
@LucDanton no, if I say print(a), a will not be magically created.
12:34
You're welcome
@Mr.kbok Those are enough Python facts for a whole week :D
@Ven 'Created' is ambiguous.
Ven
Ven
@LucDanton no, you misunderstood my "referred to"
I should've been clearer
@R.MartinhoFernandes Yeah, I've been a bit too ambitious with this one
user1804599
@Ven it's terrible.
12:36
@Ven That too, but let’s put your 'created' to the test: how do you tell a variable that’s been created from one that hasn’t?
user1804599
super should've been a keyword.
Ven
Ven
@LucDanton I can refer to one that has been created without a NameError
user1804599
it seems to call the custom function but then call the base class method: ideone.com/54KSBK
user1804599
nice and broken
@Ven Sorry, I phrased it wrong. I gather that you are finding yourself with a __class__, but how do you figure you are creating it?
user1804599
12:40
or not
user1804599
Everything is terrible.
Ven
Ven
docs.python.org/3/reference/… "class is an implicit closure reference created by the compiler if any methods in a class body refer to either class or super. "
user1804599
language features should have special syntax, not treat calls to certain library functions differently
@rightfold omg the ads
what ads
12:43
It means that it is very very frequently a sign of a bad design. You can follow that link. The typeid is supposed to "be" this type code, and virtual dispatch is supposed to remove the need for branching. As you can see, I have a sample here that does perfectly fine without the branching, and in the other answer where the typecode is the variant's discriminator. So it doesn't really matter whether you prefer runtime polymorphism (here) or static polymorphism (the other answer), but whatever you do, don't do the work twice. It creates a mess and a maintenance nightmare. — sehe 7 secs ago
user1804599
adblock idiot
My internet is broken enough as is
I have to upload pics to SO to look at them without having the proxy block it
@user249806 for learning c++ I can only recommend a long breath. Take your time. Only good tutoring/mentoring really helps, IMO. Otherwise it's just hacking your way through the jungle. And learning from your (frequent) bleeds — sehe just now
@Mr.kbok Pro tip: i.imgur.com/4ygtH7Y.png
Ven
Ven
it's often proxy-blocked
12:46
@sehe It's blocked :)
wow. Amazing that they let you see the actual images subdomain, then
user1804599
hack into the proxy
user1804599
destroy the proxy
user1804599
???
user1804599
profit!
12:47
@Mr.kbok Try the api?
"viral"
function uploadImage {
  curl -s -F "image=@$1" -F "key=486690f872c678126a2c09a9e196ce1b" imgur.com/api/upload.xml | grep -E -o "<original_image>(.)*</original_image>" | grep -E -o "http://i.imgur.com/[^<]*"
}
lol :)
I upload it to i.stack, which isn't blocked: i.sstatic.net/RA3rm.png
> My favorite drawings at the Muhammad cartoon festival in Texas were the two chalk outlines out front.
Ow.
user1804599
@sehe I really hate I can't put | on a new line without backslash on the previous line.
12:48
Because it's the SE server that fetches the image (or imgur, but not mine)
HI @Cicada
Hi @Aniket
@rightfold I love that putting | at the end of the first line obviates the need for line continuation characters
how r u ?
user1804599
@sehe I don't want | at end of line. It doesn't read nicely.
12:49
Well. Damn you.
user1804599
This reads nicely like a pipeline:
user1804599
curl -s -F "image=@$1" -F "key=486690f872c678126a2c09a9e196ce1b" imgur.com/api/upload.xml
| grep -E -o "<original_image>(.)*</original_image>"
| grep -E -o "http://i.imgur.com/[^<]*"
gud n u
fine rain here
Here sunny with a chance of lung cancer
12:50
if you put n u together, you'll get 'nu'
:)
@Cicada you are c++ developer right
Xeo
Xeo
c+ devloper
Only at gunpoint
He is a GNU/javascript developer
gunpoint developer
12:53
why use gun when it's slower & more painful for you to die from air pollution?
People stealing my jokes and getting stars omg
@Cicada I never use gunpoint
It's the name of my company
Gunpoint Capital Management
user1804599
Running with Guns
@Cicada I didn't steal. I wouldn't make that joke if it wasn't about you
12:54
ok and which language you are using there
I'll allow it for this time
you are kind
<3
I was thinking of learning Mozart/OZ, I foresee lots of job offers for software engineers with that skill
> Lose right arm and break my left hand friend gives me this shirt imgur.com/gallery/bN3q4fg
@Cicada sounds like a perfect name for a company of robbers
12:55
@Aniket Something almost, but not quite, entirely unlike C++
okei
your dp picture nice
somebody, save me from web development
somebody save me from 4chan trolls in the lounge
who is that?
user1804599
@sehe 4chan.org/b (NSFW)
12:59
@sehe Who are those?

« first day (1670 days earlier)      last day (3502 days later) »