« first day (1715 days earlier)      last day (3242 days later) » 

8:04 AM
run before the question get closed!
 
@MarcoA. oooh. That's a new one.
 
@MarcoA. lmao
 
Anyways, I'm going back to entertaining myself with conservative news articles.
 
are you guying writing codes?
 
no
 
8:09 AM
guys sorry
 
hi cicada
 
the interesting fact is that the question has already 2 upvotes, people are laughing their *** off
 
I sure am laughing my stars off
Besides it's not as stupid question if they had any Go experience beforehand
 
@CatPlusPlus or javascript.. just to say..
 
Where you can, in fact, declare imports like that
 
8:19 AM
@CatPlusPlus nice, it works similarly to js. Not saying that this is not cool.
it is actually useful
 
Unless of course if someone builds a virtual drive that goes to Github and grabs the stuff. I'll stop there before I give anyone crazy ideas. — Mysticial 3 mins ago
@Mysticial ARE YOU THINKING WHAT IM
actually nvm it's not very puzzlish
wouldn't work on that site
 
gitfs already exists anyway
 
Have you guys noticed github's logo ?
I see rainbows everywhere
octicon-mark-github pridetocat
/cc @CatPlusPlus
 
Ell
8:36 AM
Much gay, wow
 
user1804599
8:58 AM
Octocat Plus Plus
 
9:41 AM
Have not been hit on by a guy for months, but probably there would be guys who would want to hit me (with a frozen mullet)
 
ha, nice
 
user1804599
10:05 AM
People clapping is the most annoying thing ever.
 
never thouhgt of it
why is it so annoying?
 
hi
everyone
 
user1804599
@JohanLarsson It's just not a pleasant sound.
 
user1804599
Especially since it's usually 100000 times louder than the speaker.
 
@rightfold speak louder
 
user1804599
10:17 AM
It also adds absolutely nothing to the talk.
 
I rarely get that loud applauses :)
 
user1804599
amazing osquery.io
 
right down there with puns
 
10:41 AM
Say I have a string "0123456789" - how do I extract Python style sub-strings from this in C++?
 
.substr(...)?
 
of various lengths... 0, 1, 2, 3, 4... and 01, 23, 34, 56, ... and 012, 345, 678...
@Jefffrey sure - I shall try that. Thanks,
 
wtf is with that gay SO logo
 
413
Q: Can Stack Overflow and Meta's logos be changed temporarily to the "#LoveOverflows" logo?

TimStack Exchange just tweeted this image following the Supreme Court of the United States ruling in favor of gay marriage: #LoveWins #LoveOverflows Please can this be made the logo for a couple of days? I'm thinking Stack Overflow. LoveOverflow chat room for the more... off topic discussions...

 
wtf I missed the party again
I need to start my own question, this is terrible
 
10:56 AM
Oh, I didn't know the whole Everybody Code Now movement has its own channel...
 
Ugh. I mean, I get it, some people got additional rights they were asking for for some time, in one country... I am not in agreement with that, but whatever, a court made a decision and I respect that. But right now the internet is nothing but rainbows, for no reason at all - what does it help with? It changes nothing, it doesn't bear any message. If it was to say, show support, it'd need to be done before the court ruling, not after it...
 
user1804599
Everybody Farm Now
 
user1804599
Everybody Kill Now
 
user1804599
Everybody Build Space Ships Now
 
@Griwes kek @ additional rights
They are not additional
 
10:59 AM
Additional related to what they had before.
 
user1804599
Everybody Repair Cars Now
 
it's not love overflow ffs, love your gay/lesbian lover was never illegal - it's their marriage that's what made legal a day ago
do you love your partner more just because you can get married now?
 
user1804599
I strongly oppose gay marriage.
 
@chmod711telkitty It's a play on #LoveWins, so it's #LoveOverflows
 
Are married gay couples allowed to divorce yet?
 
11:01 AM
I don't give a damn on whether they can get married or not
 
@fredoverflow I saw a comic, with people hugging themselves, and a comment "Are they gays?" "No, divorce lawyers."
Can't find it right now though.
 
sounds hilarious
 
It's just a logo
nerds
 
user1804599
Divorce should be illegal. It was your own stupid mistake to get married in the first place.
 
@Jefffrey As I said - I'd be cool if the logo was made so before the ruling, to show support with them in the anticipation for the decision. But after? Ugh.
 
11:03 AM
what ruling?
 
@Griwes What "Ugh"
Who cares
 
user1804599
Seriously. Taking a screenshot, cropping and uploading it takes more effort than copy and pasting the code. — rightfold just now
 
@Jefffrey It's everywhere.
And it conveys no real message at all.
 
TIL Joel Spolsky is gay.
 
11:05 AM
"We support you"? No, that'd be if they used the logo before. vOv
 
It's celebratory.
 
"We are happy for the ruling"
 
JS devs don't mind the gay logo.
 
What's difficult to understand
 
Celebrimbor.
 
11:05 AM
@rightfold I was wtf when a guy sent me screenshots of code. Then he sent me a screen recording to punish me :)
 
user1804599
you know
 
user1804599
fold is really awesome
 
user1804599
you can implement map and filter in terms of fold
 
user1804599
fold is love fold is life
 
I support stack overflow:
terrible image is terrible
Boy my GIMP skills suck.
 
11:14 AM
@fredoverflow y u no transparent background?
 
What do you mean? Isn't the background transparent?
 
user1804599
Use ImageMagick.
 
Well, it has a yellow background here and a blue bachground on my desktop, so I suppose it has transparent background. What makes you think it hasn't?
 
@fredoverflow Did you follow the link?
Probably broken custom CSS. w/e
 
user1804599
11:19 AM
I cannot decide on a programming language.
 
user1804599
It has to be one which has eval or runtime importing of code.
 
user1804599
Python perhaps.
 
Clojure
 
user1804599
Or maybe Perl.
 
Python
 
user1804599
11:21 AM
@fredoverflow Clojure tools are too slow.
 
Python can take you from PyTurtle all the way to Django (industry strength web dev framework).
 
user1804599
Django is awful.
 
user1804599
I suppose I can use greenlets.
 
Hmmmm... Why mix equivalent `std::` and `boost::` features (like boost random engine & std non-deterministic randomness)?
You could use `emplace_back(dist(prng), dist(prng))` instead of `push_back({dist(prng), dist(prng)})` and add an `inline pair(double, double) constexpr`constructor (fewer temporaries -> better performance).
`bgi::rtree<point, bgi::quadratic<16> >` is questionable. Why use two separate `>` instead of breaking down a `>>` token into two consecutive but distinct `>` tokens? [14.2.3]
 
user1804599
I prefer data races causing UB over having global interpreter locks.
 
11:30 AM
ITT @rightfold is terrible at programming
Oh wait, it's not only in this thread.
 
morning
 
user1804599
Perhaps I can use Elixir.
 
user1804599
But then again Elixir is a horrible language.
 
Elixir has an interesting approach, it looks like
 
user1804599
I guess I can use C++ and Lua.
 
user1804599
11:41 AM
I will try Julia.
 
11:51 AM
-3
Q: Unable to return string properly in C++ for some range

Priyal KumarI've made one C++ program using pointers and functions to return the reverse of a string. When the range char p[] in the function rev is low like 25 (less than. 145), the output is like ►↕☻ ☺♠♥, it doesn't reverse, when the range is higher than 145, it works fine in gcc, for Borland TurboC, the m...

I need a dup hammer
 
Joe is running through the halls with a rainbow flagged tied on like a cape high fiving everyone. #MarriageEquaility #LoveWins #SCOTUS
 
@Mgetz I closed it as dupe.
 
@rightfold already seen, I suppose it was originally a fb project
IIRC
 
0
Q: Alert me when the fun starts!

chmod 711 telkittyI would like some kind of notification when a good question gets started on meta. When I noticed that I just had missed this wonderful party, I was devastated. You see I didn't get to mention that 'there is no scientific proof on getting married makes you love your partner more' or 'now gay marr...

 
12:17 PM
hello c++!
 
std::cout << "hi";
 
I like and know some c++
 
@RuiBotelho Hello
 
but trying to use sockets in windows is killing me :(
 
user1804599
Use ØMQ.
 
12:22 PM
at first I did it in python, super simple
@rightfold what is that?
 
You can edit messages by the way
 
user1804599
You didn't read the rules.
 
user1804599
They clearly tell you how this chat software works.
 
@RuiBotelho ØMQ
 
12:25 PM
my bad, reading them
I see what I did wrong and I get it
@nabijaczleweli That first character got me, copy-paste!
 
1:18 PM
@rightfold what is that?
I want the google too.
 
> Ø High-speed asynchronous I/O engines, in a tiny library
 
kinky
 
> Ø Supports every modern language and platform.
 
user1804599
@StackedCrooked a message queue library.
 
oh my god
why does C++ not have modules yet and who voted it down
 
1:23 PM
@VermillionAzure Stalin did
 
@nabijaczleweli sigh Get me a Ruby book.
 
1:40 PM
Lounge is ded
 
@Jefffrey liek so ded
 
@MarcoA. Were you playing agar.io like 10 minutes ago?
 
1:58 PM
> we're going the wrong way! we should have made all marriage illegal.
 
Well, it's true
 
@Jefffrey sry, wrong quote
I didn't notice at first, because both ended in "illegal".
 
I stand by my statement
 
2:02 PM
What is this?
 
int x = x ^ x;   // Is x guaranteed to be zero?
 
I don't understand the whole gay marriage importance thing - either people are in love, willing to bang each other & having kids together or they aren't/don't.
Marriage is more to do with money/power and less to do with true love
 
So? Who cares
 
user1804599
@fredoverflow no.
 
2:08 PM
@fredoverflow Why would it be?
 
user1804599
It's UB.
 
It's not
 
user1804599
How is it not?
 
user1804599
You're reading x before it's been initialised.
 
It's another x
 
user1804599
2:09 PM
No, it's not.
 
user1804599
That's not how scoping works in C++.
 
user1804599
That's how scoping works in F#.
 
@Jefffrey nope
 
C++ is dumb
@rightfold That's how scoping works in my own C++
 
user1804599
Fred wasn't using your own C++.
 
2:14 PM
C++ according to Jefffrey
But even if you had int x = y ^ y; then, x would not be guaranteed to be 0.
hth @fredoverflow
 
user1804599
 
user1804599
Look at how gay my code is.
5
 
inf
@rightfold at its best
 
user1804599
XD
 
@Jefffrey What is y?
@chmod711telkitty In that case, I won't buy you a diamond ring.
 
user1804599
2:21 PM
ugh, comparison operators in Clojure don't use java.lang.Comparable.
 
@fredoverflow But ... but ... you won't buy me a diamond ring to start with :'(
 
@chrylag There is a third approach to learn C++/CLI :) It is between C++ and C#/:) — Vlad from Moscow 54 mins ago
...
@rightfold What do they use instead?
 
user1804599
2:32 PM
Java's comparison operators.
 
user1804599
So I have to do this instead:
 
user1804599
(every? #(<= % 0) (map compare result-instants (rest result-instants)))
 
user1804599
Which is absolutely awful.
 
@StackedCrooked Camera work is not great
 
3:00 PM
 
Hii Fellas
 
Hii Rubenvb
 
Hii Alex
 
Hii Alex
Hii Jeffffffffrey
 
Hii rubenvb
 
3:02 PM
I discovered Hyper-V.
 
Hii ScarletAmar
 
And also discovered its enablement kicks VMWare/Virtualbox into disablement
 
sounds as though I was from Turkey
 
kurwa
 
3:03 PM
we do have "kurwa" in Slovakia but unlike in Poland, it's written with v
 
factorials are huge
man they escalate quickly
 
CS 101 :P
 
@StackedCrooked Math 101.
 
@BartekBanachewicz :3
 
Ell
3:14 PM
I wonder what options there are for networking an RTS game
That isn't particularly R
 
3:28 PM
I'm having a bunch of fun here
X axis = number of trailing zeroes at the end of N!
Y axis = N
the drops are cases like 5 (there is no N for N! with 5 trailing zeroes)
 
user1804599
@rubenvb Hi phallus.
 
user1804599
logical phallus
 
3:46 PM
@AlexM. what
There are no drops
liar
 
ofc there are, y = -1 in some cases there
 
There are, I'm dumb
 
^ actual Ys
from 120 IIRC I keep getting -1s so I suspect my function is borked
I'll look at it after I clean the room
 
what
 
I'm curious if the 6 Xes before a drop, 4 drops before a drop of length 2 rule is kept throughout a larger input
 
3:49 PM
Why are there -1?
 
because there is no number for which number! = 5 trailing zeroes for example
 
Aren't Ys your input?
 
no, Y is always the output
X are inputs
the thing above is an array if you want
5 there is f(1)
 
what
 
@nabijaczleweli I didn't know Boost had random_device. (Adds extra link dependency); Using emplace will not be faster since it is a POD and it will simply be optimized. Inline constexpr is overrated in the face of POD data :) (Also, keep in mind this was OP's code). > > is not questionable. It's correct syntax and clear formatting. No drama there.
Yes, 0+delta is equivalent to delta. You already figured it out though. It really is a lot more expressive, as 0 is the lower bound for the generated particles. So it's 0+delta, not delta (otherwise, I'd suggest to just say 0.05 there and let the reader figure it out, which by the way is more or less what the OP had)
 
3:50 PM
10 is f(2)
and so on
 
Thanks for the upvote though, I guess :)
 
21 mins ago, by Alex M.
X axis = number of trailing zeroes at the end of N!
 
yes
I have the number of trailing zeroes and I want to see which is the lowest N for which N! has that many trailing zeroes
 
Then:
21 mins ago, by Alex M.
Y axis = N
 
I test for trailing zeroes in the interval [1, 100]
yes
5! has 1 trailing zeroes
5 is the answer, 1 is the input
 
3:52 PM
Should have been: X axis = N, Y axis = minimum I for which f(I) = N
When you say Y axis = N you assume N is the input
 
that's only true if I try to map the identity function
... which I'm not trying to do here
 
I have no idea what the identity function has to do with anything
 
1 min ago, by Jefffrey
When you say Y axis = N you assume N is the input
 
If X axis is the input, then you should have described it as:
2 mins ago, by Jefffrey
Should have been: X axis = N, Y axis = minimum I for which f(I) = N
 
why are we having this discussion jeffrey
did you understand what I'm doing?
 
3:54 PM
Yes, I'm just claiming you have expressed the problem wrong
 
ok, I'll keep that in mind
tyvm
 
lol
Should have actually been: X axis = N, Y axis = minimum I for which I! = N, to be precise.
 
I think it was X = M
 
Ok, let's play a game
Tell me what's the first word that you think about when reading this:
 
unicorn
 
4:05 PM
 
porns?
 
Yeah
 
pom files are maven stuff iirc
 
clojure/build.porns
 
4:16 PM
such a slow saturday
 
it seems that starting from some point 3 * -1 gaps also show up
fascinating
 
user1804599
Not sure whether I should name these map and filter: github.com/rightfold/foldcache/blob/master/src/main/clojure/…
 
user1804599
@StackedCrooked pom.xml files are used to configure Maven.
 
user1804599
I use Maven because Leiningen is so slow you could just as well use C++ instead.
 
user1804599
 
I'm on my way to discovering an already discovered mathematical thing :O
ans[x] = the number of "-1 gaps" of length x in the results of the function
 
@rightfold he he
 
user1804599
5:18 PM
Ryyppäjäiset is a great song.
 
what does it mean?
I feel I'm close to having a guess
 
user1804599
I don't know!
 
user1804599
> booze-up
 
bah
didn't get paid yet so I can't bask in my raise
 
> 99,935
:3
 
user1804599
5:36 PM
(defmacro let-resource [bindings & body]
  (if (empty? bindings)
    `(do ~@body)
    `(let [~(get bindings 0) ~(get bindings 1)]
       (try ~(let-resource (drop 2 bindings) body)
         (finally (.close ~(get bindings 0)))))))
 
user1804599
I hope this works. :(
 
user1804599
aaaaaaaa it fails
 
OK, chicken breasts cooked on a bed of young rhubarb with a honey and coconut glaze, roast potatoes, sprouts and peas. It was fucking good!

Sorry if any Loungers are hungry:(
 
user1804599
yay now it owrks
 
php > echo preg_match('/^[0-9]{6, 12}$/', '3470123456');
0
wat
 
user1804599
5:50 PM
Remove the space after the comma.
 
@rightfold Oh, thanks
 
inf
@rightfold so tell me, what is a fold caching service?
 
user1804599
Do you know what folding is otherwise I'm not even going to bother.
 
plot twist: yes
 
inf
@rightfold protein folding, functional programming folding?
 
user1804599
6:01 PM
the latter obviously
 
not really obviously
how would caching an FP fold be any different to caching any other function?
 
Ell
@MartinJames I'm always wondering what to do with my rhubarb
 
Pizza is arriving soon
 
@Ell It was an experiment that worked out really tasty:)
 
6:22 PM
So, I am digging some information about job accidents and injuries.
For women, the highest percentage cause of serious injuries is simply walking on a flat surface, 36.7 %.
This is hilarious. :)
For year 2012, I think.
 
Are you being sexist?
 
@Jefffrey Am I? If I am, somebody will tell, for sure.
 
Good evening
 
Evening
 
6:52 PM
Good evening in a non-sexist way.
 
dammit, I've already seen all the good anime for this Saturday
Thankfully there's One Piece tomorrow.
 
Ell
I need to write my game state in a way that it cannot become desynchronised programmatically
Ie I cannot pollute my network synchronised things with client local stuff
 
7:08 PM
gfl
 
user1804599
7:19 PM
 
user1804599
 
7:45 PM
@wilx ... and for men?
@Ell Hash the bits you care about.
 
user1804599
 
that... is very ugly code.#
 
@Puppy For same serious injuries it is 38 % in a category named "buildings, constructions, above ground platforms"
 
that... did not answer my question.
 
7:51 PM
@Puppy OK. Then I do not understand your question. The above is the most significant source of serious injuries for men.
 
that's not what I asked
I asked what the percentage is for men in the same category.
 
@Puppy OH. Well, you were not exactly crystal clear. :) Let me try to find the information.
 
agreed. wilx said "the highest percentage cause of serious injuries for women is...." and puppy said "and for men?" and you replied with the highest percentage cause of serious injuries for men
you answered the question that was asked (asked accidentally)
 

« first day (1715 days earlier)      last day (3242 days later) »