« first day (1573 days earlier)      last day (3382 days later) » 

4:04 AM
@MarkGarcia he'd written an answer on the question I just linked to
decided to have a gander whilst there
@DonLarynx nah
you don't have to be an experienced programmer to realise that reading research material is a good first bloody step
I have little time for people who stride into a community without bothering to read any of the instructions presented to them.
I don't care whether they've been programming for 10 hours or 10 years.
I'm also increasingly frustrated that this appears to be a growingly marginal viewpoint.
 
I just saw the user's profile, that's not being new to programming.
I'm sorry if I'm a bit too pushy, I find this place a good place to be at, I always try to share as much as I can, if there are questions that I could answer I answer them, I'm new to this community and I don't know why the text in the chat looks yellow either.
 
> how does the computer know that the more is true?
 
4:24 AM
My first logical response you guys!!!! stackoverflow.com/questions/28335834/…
 
@StackedCrooked That's a deep question actually
8
Q: How fast does poop fall?

James JenkinsSome building are really tall, if you flush the toilet and the contents go into a pipe and straight down, there could be a lot of energy, potentially enough to cause harm to the sewer pipe at the end of the fall. I know that in my home, the pipe goes straight down and then there is just a 90 deg...

/cc @рытфолд
 
@AMostMajestuousCapybara cool
 
OK Lil cutie from Greece. I'm retarded on this stuff. Suddenly all my recordings are gone. How do I know if I'm being hacked? — Carla Ondi 18 mins ago
wtf
 
idk
sounds like a typical female college student
typedef int T[8][3];
T* tables = new T[size];

What exactly is the T*? I've never seen that.
 
4:43 AM
@DonLarynx T is an alias for "an array of 8x3 ints"
Then tables is an array of size times such arrays
 
@VictorLopez I'm talking about this. /cc@JerryCoffin
Interestingly, it seg-faults in coliru.
No idea if it is the same code-bug seg-faulting or if I made a different bug in the translation from XE6 to Coliru.
 
@AMostMajestuousCapybara oh lol wooooops. I'm used to T *tables
 
Anyone have an idea why this fails?
 
5:00 AM
@Mysticial there's an extra comma in the initializer list
 
That shouldn't matter. Trailing commas are allowed. Both VS2013 and GCC4.9 are complaining about trying to call the copy constructor for std::unique_ptr.
 
@Mysticial You can't copy-construct an std::unique_ptr, unique_ptr will retain the ownership of the object until it gets destroyed, you can try something like this instead.
 
@VictorLopez But std::vector supports move semantics.
And no, passing a reference to a local into something that lives globally is a bad idea.
 
conio is a bad word in Spanish.
 
@caps I'll try that in a few minutes.
@Mysticial Sure it is a bad idea, I don't really know about move semantics or how the copy-construct enables you to retain ownership.
 
5:09 AM
@VictorLopez Sweet.
I'm actually headed to bed now. It is late here.
But I will read whatever you have to say, if anything, tomorrow.
 
@caps Good night :)
Oh, ok. See that there is something called deleted constructors.
unique_ptr does not allow for copy-construction, it is declared in its header.
unique_ptr(const unique_ptr&) = delete;
 
@Mysticial vector itself does, but in this case the copy it's trying to do happens before vector's constructor receives it. The {x, y} syntax creates (by strong preference) an std::initializer_list, and the vector constructor that takes an initializer_list takes it by value, which means the compiler tries to copy the initializer_list--and since you can't copy a unique_ptr, that doesn't work.
 
@VictorLopez Doesn't matter here. The parameters are rvalues so they automatically involve the move version of push_back().
@JerryCoffin fuck...
I wonder if there's any plans to fix that in a future version of the standard.
 
5:24 AM
@Mysticial I dunno--there's a fair amount of dissatisfaction for how initializer_list (especially, vector::vector(initializer_list)) is working out that I can believe something could change, but I don't recall seeing any papers proposing concrete changes.
 
But the objects are stored in the stack, how can you pass an object by reference without it to be destroyed? The purpose of unique_ptr is to destroy the instance once it gets out of scope.
 
@VictorLopez It doesn't matter where they are initially stored. They're being constructed inline (so stack), then moved into push_back(). So the vector takes ownership.
 
@VictorLopez When you pass by (rvalue) reference, the pointee object is "moved", not copied--this transfers ownership to wherever you're putting it (to the vector, in this case). Therefore, it's only destroyed when it's removed from there.
 
5:38 AM
@JerryCoffin Why does this fail to compile?
 
Fuck C++'s template error messages.
 
how the hell do I edit that
 
5:54 AM
@Mysticial - which compiler?
 
@BrettHale Probably everything except for Clang.
 
@Mysticial - was just going to ask that.
@Mysticial - but GCC now provides its horrible errors in color.
 
6:09 AM
@DonLarynx It's the same thing, except in C++ the "usual" notation is to move the * closer to the type name. But the semantics are exactly the same as C.
 
Got to go, I'm really tired right now, I'll have to check some regex strings, understand why I I'm so insecure about the text I write (it may be because I often tend to confuse the s with the verb when putting sentences together) and well, that is NOT normal, but here are some bloopers
Good night everyone.
 
6:24 AM
@JerryCoffin I was asking because of the rvalue not being translated into the thread, if I declare the lambda as [](int& x){}; it won't work either. Also, I need to take a TOEFL.
 
@VictorLopez You need to wrap value with std::ref
> I like Java as well as it has very good performance.
 
6:43 AM
@VictorLopez Taking a reference parameter works fine (at least with VC++). coliru.stacked-crooked.com/a/30fdbb85c021d6e8. Looks to me like the failure on coliru is a problem in the library, not this code.
@AMostMajestuousCapybara How did that line about Functional programming go? "I like Java too. It turns people would could otherwise compete with me into drooling idiots."
 
Where was that from?
 
@AMostMajestuousCapybara Not sure where it came from, but somebody posted something vaguely similar (but referring to FP instead of Java) fairly recently.
 
7:04 AM
I wish I could try some big projects in Haskell. http://code.haskell.org/~dons/talks/dons-google-2015-01-27.pdf
I hate when someone messes with my clipboard
 
omg standard chartered does haskell
newtype NonNegative a = NonNegative Double
lol NonNegative
 
ZeroOrPositive isn't better
Also Facebook is starting a new Haskell team
 
@BartekBanachewicz Positive is enough
 
Hi
 
Sup vishal man howudoin
 
7:16 AM
I am good how are u?
 
About 1m68, 58 kg, why?
 
@AMostMajestuousCapybara Not the same. Positive is strictly greater than 0. Nonnegative is greater than or equal to 0.
 
@JerryCoffin Not necessarily. Positive includes 0. StrictlyPositive would not.
 
Meh depends
That's why you use nonambiguous wording
> D is similar to C++, but better,” says Brad Anderson, a longtime C++ programmer from Utah
Made me giggle
 
NonNegative is a long winded way of saying either Positive or StrictlyPositive, except the latter two are immediately clear
> from Utah
So not only he's a moron but also a mormon!
 
7:31 AM
> In and of itself, Swift isn’t that much more attractive than many other languages available to the world of software coders, including C#, Ruby, Python
I kinda wonder why do I bother reading things on the internet
 
> Why Apple’s Swift Language Will Instantly Remake Computer Programming
> More Than a Language
Fuck you Wired
 
@AMostMajestuousCapybara Sorry, but on this you're just plain wrong. 0 simply is not positive. Some may believe otherwise, but they're just wrong.
 
A neutron doesnt have a positive charge hmhm
 
@JerryCoffin I don't know, in maths we always say "positive/negative and non null", that would imply that 0 can be of either signs.
@JerryCoffin Btw "you're just plain wrong" in a blanket statement is, uh, a blanket statement.
To me, 0 is positive, negative, real, and pure imaginary. All at once. At least that's what I learned.
 
7:40 AM
Huh.
First time I've ever received "Path name too long" error on Windows.
 
@AMostMajestuousCapybara Hm...you seem to have left out your "turtles all the way down" argument.
 
Derail attempt spotted.
 
@Rapptz Windows has a strange situation--paths can be very long (something like 8 kilobytes on NTFS) but to work with a path more than ~256 you need to use a UTF-16 string for the path, and preface it with \\.\? (or something like that--it's been a while since I played with this).
 
Oh I was extracting a file via Windows Explorer
 
@AMostMajestuousCapybara Far too late for that--you've clearly long since gone way off the rails and into the weeds.
 
7:47 AM
Jerry, if I remember correctly, you're the guy who kept on insisting that mega = 2**20. I don't think your mathematics definitions are to be trusted. :)
 
@Rapptz Quite a few programs don't know how to deal with paths more than 255 characters long--enough that years ago I wrote a program to basically do backup/copy of trees that (potentially) had longer paths.
 
But Windows Explorer is built-in!
I actually should probably 'calculate' how long the path was
 
@AMostMajestuousCapybara Well, at least when you say "I don't think", it's believable. :-)
 
Someone somewhere laughed
Maybe
 
@AMostMajestuousCapybara Probably not--most found it too close to the truth to see any humor.
 
7:50 AM
Statistically someone did, but not because of that message, though.
 
277 characters
 
@AMostMajestuousCapybara But here, don't take my word for it. mathforum.org/library/drmath/view/58735.html
 
@JerryCoffin Btw since you seem to be anal retentive, see here
I will quote the relevant paragraph for your old weary eyes
> In typical French mathematical usage, zero is both positive and negative. Or rather, in mathematical French "x est positif" (literally "x is positive") allows the case x=0, while "x est positif strictement" (literally "x is strictly positive") does not.
 
0 is not positive or negative or even or odd. It is just 0.
 
7:53 AM
The French are wrong.
:v
 
Maybe that's why there's so few French mathematicians who made it into history, right.
 
Historically that'd be the British and the Germans.
 
The French are wrong, duh.
 
@AMostMajestuousCapybara French people using lousy language isn't my problem.
 
It's French all the way down!
 
7:55 AM
A positive number is x > 0 and a negative number is x < 0. 0 doesn't have a sign.
 
Stay by your definition, I'm fine with you having different views of the world. Your intolerance is shocking, however.
 
I wonder if French call neutrons "positrons" and positrons "strict positrons"
 
@AMostMajestuousCapybara Wikipedia agrees with me and so does MathWorld.
 
@Rapptz French wikipedia agrees with me too :) high five
 
No thanks.
 
7:57 AM
Meanie cry
 
@AMostMajestuousCapybara It only creates confusion. No point in creating some weird conventions to fuck with people like that
 
Just admit your language sucks and adjust
 
Fucking Babel all the way down
Let's make French SO too where 0 is positive and UB doesn't exist because TOLERANCY
Or however the word is spelled
 
7:58 AM
Tolerance
You're welcome
 
Yeah whatever
 
It's borrowed from French by the way
 
Hmm could you stop being such an ass @BartekBanachewicz?
 
lol are you French?
 
7:59 AM
@AMostMajestuousCapybara Borrowed from Latin by way of French you mean (or would have meant if you'd been more precise, anyway).
 
Indeed I am
 
Hihihihi
 
@JerryCoffin Yes, do you want to go back to previous languages before Latin too? Or when do we stop?
Borrowed from Old French to be precise.
 
It's Latin all the way down
God I love that phrase
Anyway isn't there an ISO standard for the meaning of "positive"?
 
@AMostMajestuousCapybara Most dictionaries stop at Latin (or Greek, as the case may be). For example: google.com/…
 
8:02 AM
@BartekBanachewicz No, but I'm tempted in filing an ISO standard for "close minded", if you and Jerry would follow me to the registration office.
5
@JerryCoffin How is that relevant
 
@AMostMajestuousCapybara Most people who actually care about the accepted meaning of words instead of just trying to push their own bigoted viewpoints find dictionaries quite relevant indeed.
 
I don't see why a borrow should be attributed to anything else than the language it was borrowed from
The roots of that language being an extension to the borrow but not required
Hence my first sentence was enough and your addendum correct but superfluous
 
All that shit because in french a 0 is considered both a positive and negative number?
That escalated quickly there
Anyhow who gives a shit? We have universal symbols for that stuff
 
@Rerito Because that is clearly plain wrong
Well excuse me for being different
Could you kindly fuck off
 
@Rerito All that shit because somebody who may or may not be French insisted that the rest of the world was wrong because they're more precise.
 
8:06 AM
If you don't want to understand that different cultures may define things differently, fine, but don't try to impose your views
@JerryCoffin No, it all originated from a misunderstanding, as you might have noticed? God, I thought people were mature at your age.
 
I'm pretty sure there's no set age where maturity is at all guaranteed. :)
see: an awful lot of old people
 
Somebody was wrong on the Internet again?
Morning.
 
@jalf Isn't the purpose of man not to "grow his mind" after 15?
 
@jalf Is there at least a trend? :(
"Some may believe otherwise, but they're just wrong." -- Jerry, 2015
I will use this from now on whenever someone disagrees. Without further constructivism. Of course.
 
8:11 AM
@Rerito apparently some universal symbols aren't that universal
 
@AMostMajestuousCapybara Go ahead--but only in cases like I did where they really were/are wrong!
 
@BartekBanachewicz ≤ and < aren't universal math symbols?
 
@Rerito for all I know might mean something totally different in french maths
 
user1804599
@AlexM. sure!
 
user1804599
I love Perl!
 
8:13 AM
In french we say "positif" as a shortcut for "positif ou nul" which means... "Positive or zero"
 
@AMostMajestuousCapybara [donning owner hat]Don't get into personal attacks like this.
 
Maths notations are indeed not all the same everywhere.
 
user1804599
FIFOs are great for streaming stdout and stderr to different terminals.
 
Wow. There is an ISO standard for it: en.wikipedia.org/wiki/ISO_31-11
 
@Rerito There very existence of the phrase "positive or zero" indicates awareness of the fact that "zero" really is distinct from "positive".
4
 
user1804599
8:17 AM
> 1 ∈ 1..10
True
> 1 ∈ 2..10
False
 
@JerryCoffin Anyway despite this little lexicon difference, you wouldn't have any trouble understanding a french math article
 
@wilx More than one. Oh wait, I guess I should be more tolerant. I guess that's "zero, which may be greater than, equal to, or less than one."
 
@JerryCoffin The second ISO standard seems to be just a replacement...improvement on the existing.
 
@wilx Yes, but look at the "see also" section--there's a whole series of standards for symbols used in various branches of math/science/engineering.
 
@Rerito Oui, ils ne veulent pas comprendre, laisse tomber :) Nous avons "clairement tort".
@JerryCoffin Not a personal attack. Genuine surprise and/or concern.
 
8:23 AM
@AMostMajestuousCapybara Some of us understand well enough. But it's good to see that even if you try to hide it, you now admit you were clearly wrong.
 
Yes, in fact I will gladly admit I'm wrong on any number of topic if you so wish. yawn
 
Geez, I believe I may have inadvertently stumbled into the Condescension Championships
 
is that even a word
 
which one?
 
Condescension, the one borrowed from Old French / Latin?
:giggle:
 
8:26 AM
I hope so. It's morning, I'm tired, don't blame me.
 
@jalf Hmmm...didn't you ever spend any time on Usenet? This isn't even close to championship level.
 
Also, that moment when you're tasked with speeding up the launch time of your application, and stumble across a 1.2 second sleep
 
@jalf Really?
 
(this is while my coworker is working on getting rid of the 2second sleep we all already knew was in there)
yup
 
@AMostMajestuousCapybara a good subset?
 
8:28 AM
@jalf Dare I ask how much time it takes to start up?
 
@thecoshman Yes, why?
 
@jalf sounds like a story for thedailywtf
 
@AMostMajestuousCapybara curious is all, is that such a crime? fuck sake get of my back you racist! Why are you so mean, I hate you!
 
They use sleep as synchronisation primitive ok
 
@thecoshman no brits in eire you brit twat
 
8:30 AM
@JerryCoffin 4.3 seconds before our changes
 
@AMostMajestuousCapybara never in all my days have I been called Iris
 
@jalf 4.3 seconds, of which 3.2 seconds was sleeping? Does seem like you might be able to gain at least a small percentage there...
 
@AMostMajestuousCapybara no garlic munchnig frog eaters in what ever god forsaken hell hole you've got into!
 
Well, in fairness, some of the sleeping is necessary. We have to wait for a bunch of processes to start up on the server. But yeah, I'd be surprised if we can't cut at least 1.5 second off
 
@thecoshman your mom's
 
8:33 AM
@jalf sleeping is a terrible terrible solution to that
 
@jalf I'd still rather do it by waiting for some signal that they've started instead of sleeping.
 
there should be a way to tell when these process are started on the server, and you wait untill that point is reach (with a time out of course if it goes balls up)
@AMostMajestuousCapybara but for totes reals, where are you these days? Mumbai?
 
@AMostMajestuousCapybara Ding Dong
 
Yes who's there
 
8:37 AM
@AMostMajestuousCapybara Just wondering, if I replied using french "wesh" language, would you understand?
 
@AMostMajestuousCapybara a big slong
 
@Rerito Celaditlamanièrelaplussûredenepasêtrecomprisparletraducteurgoogleestsimplementde‌​nepasmettred'espacesdanstaphrase :)
 
Oh I'm pretty sure google translate would be lost with all the abreviations and stuff
 
@thecoshman pic or fake
 
8:41 AM
@AMostMajestuousCapybara NSFW
 
that would be AMAZING if that actually worked :P
 
@AMostMajestuousCapybara The best exercise would be to listen to french rap (even I struggle to understand some lyrics)
 
are lambdas a java 8 thing?
 
Yes lambdas were invented by Java 8, other languages later copied them from Java 8.
 
8:47 AM
those bastards
 
user1804599
What do you think of ?> for filter and >> for map.
 
if only other languages were as forwards thinking as Java
@рытфолд not much
 
@thecoshman Forward stinkin'
 
hmm... I guess I got to use interfaces and such shite to get around this
 
@JerryCoffin sure, that's what we're going to do as well. It's absolutely the right solution :)
 
8:53 AM
:'( why can't I just be using Java 8
 
@jalf If I were still awake, I'm pretty sure I'd be relieved to hear that. :-) But I think I'll now let my body join my brain in sleep.
 
god damn stupid fear of upgrading
 
@рытфолд ?> is nice for filter I think
 
user1804599
I chose >> for map because in F# >> means function composition and function composition is map on functions.
 
What does :) do?
 
user1804599
8:57 AM
Unmatched parenthesis.
 
I think I will go skiing twice today. 15 km now and 15 km tonight.
So nice with proper winter.
 
user1804599
> (5.8).WHAT.say
(Rat)
 
user1804599
Cool, such literals are rationals instead of floats.
 
user1804599
I think it's a rational thing to do.
 
@рытфолд could be your fap operator, it could just shake things around in memory.
 
user1804599
9:01 AM
That'd be the / implies ~~~~> operator.
 
at least you can narrow scope when ever you fancy in Java
 
user1804599
aaaaaaaaa why is id named id in Python
 
user1804599
It's such an often-used name for such a never-used function.
 
user1804599
> You can use `` to jump back.
 
user1804599
 
9:12 AM
Java doesn't have an equivalent of destructors being called when objects go out of scope, does it?
 
user1804599
No, but you can use try and it will automatically call close().
 
@рытфолд that's just basic ed/sed functionality
@рытфолд All the ex commands are underrated
 
user1804599
@sehe So?
 
@AMostMajestuousCapybara Is that why the French are so adept at putting /more/ spaces into sentences than necessary? I mean, they're just afraid of accidentally going Welsh?
 
@рытфолд hmm...
 
9:18 AM
@sehe What do you mean
 
@рытфолд does that need to be by implementing a specific interface?
 
user1804599
try (UnnecessaryRepeatedTypeNameLolFuckJava resource = new UnnecessaryRepeatedTypeNameLolFuckJava()) {
    // ...
}
 
user1804599
@thecoshman AutoCloseable
 
tah
 
Ugh, I'd hoped I'd never see this code again
Protocol hell, we meet again
 
user1804599
9:20 AM
Closeable implements it.
 
We accept a socket connection, and then have to guess which of 4 protocols to start speaking
 
user1804599
Tacit programming is great.
 
The best part is that one of the four protocols requires the server to initiate the handshake
 
oh, and what I want to do with this 'closable' thing can be hidden in the no arg constructor and close function
 
@jalf Hahahahaha!!
 
9:23 AM
hmm... something somehwhere needs to threaten to throw something it seems
 
@thecoshman I can do that
 
user1804599
aaaaaah fucking python looking up names at runtime
 
ergh... and a try block HAS to have a catch...
or my function has to also throw...
 
user1804599
Lombok problem solved.
 
@thecoshman or a finally?
 
9:27 AM
oh, it auto inserted that the close() function throws... but I can just remove that
 
@AMostMajestuousCapybara I mean, IME French people are often adept at using more spaces than necessary (but, thankfully not tabs). Think around interpunction
 
why would that be auto added, makes no sense :S
 
user1804599
Use F#.
 
:) I have a variable called _
 
user1804599
Autodispose is just use instead of let in F#.
 
9:28 AM
@sehe It's a grammar rule of French. Spaces around compound punctuation (: ? ! ;). I swear we talk about this every 2 months. Not putting the space is an error in French.
 
user1804599
It's retarded. Speak English.
 
Shut up and go invent the fuck off operator instead
 
@рытфолд Agree. JSTFU is better than RIAA, SFINAE, TIMTOWTDI, DRY, DAMP, OMGROFLBBQ combined
@AMostMajestuousCapybara Yes? I'm not inquiring as to why. I was inquiring whether the fear of becoming Welsh is a hidden motivator
 
@sehe Yes but I don't see the link, hence my question. Do Welsh use spaces a lot?
 
@sehe The fear of becoming Welsh is a hidden motivator for most things in life, isn't it?
 
9:34 AM
@AMostMajestuousCapybara ...
54 mins ago, by A Most Majestuous Capybara
@Rerito Celaditlamanièrelaplussûredenepasêtrecomprisparletraducteurgoogleestsimplementde‌​nepasmettred'espacesdanstaphrase :)
 
Oh you mean their super long names
Got it.
 
user1804599
I had this wonderful idea.
5
 
user1804599
5.9 is a syntax error.
 
You call all your ideas "wonderful" while they are usually pretty horrible.
 
@AMostMajestuousCapybara Phew. I didn't notice any context earlier :S
 
user1804599
9:35 AM
You have to add a f, d, m or r suffix.
 
@sehe Apologies sehe, I'm a bit tense today. (But hey, you're one of the few guys I actually like here :)
 
user1804599
And tabs are also syntax errors.
 
¬_¬ so after getting that thing to work, I realise I applied it around too much and probably don't need that anyway
 
user1804599
@StackedCrooked This is fucking awesome.
 
9:56 AM
@рытфолд :(
 
Meh I think Scott's wrong about expressions and reference types
Good thing @sehe pointed that out, but he doesn't seem convinced
 

« first day (1573 days earlier)      last day (3382 days later) »