« first day (839 days earlier)      last day (4108 days later) » 

8:00 PM
Hm.. Where was I when this happened?
 
@MooingDuck optimizers can see right through most boilerplate and see what is actually happening nowadays. I love that
 
are there good perl chatrooms outside of SE?
 
@user1690130 not that I could find
 
is it a hard perl question?
 
@user1690130 If you need help an perl code, ask on stack overflow. You will get help within 5 to 10 minutes. Searching for an appropriate chat room is pointless.
 
8:04 PM
@doug65536 i don't think it is hard
@FredOverflow ok. basically, my code compiles but does not exactly print the desire output. not sure why.
@FredOverflow no clue why not.
@doug65536 just responded to Fred
 
@user1690130 you're going to want to read this: sscce.org
 
@MooingDuck thank you.
 
It's been said before: constructing a minimized repro exposes many problems before you even post a question
 
@doug65536 what is repro?
 
repro is short for reproduce. make a small program that reproduces the problem
 
8:06 PM
@user1690130 "reproduces"
 
@doug65536 that's no problem. can do.
is anybody really fluent in perl? I just wanted to chat about perl, notwithstnding my question.
 
Im good but havent used for a long while. I can probably help
 
@user1690130 Larry Wall
 
@MooingDuck Is Larry here?
 
@user1690130 Not to my knowledge.
Larry Wall (born September 27, 1954) is a computer programmer and author, most widely known for his creation of the Perl programming language in 1987. Education Wall grew up in south Los Angeles and then Bremerton, Washington before starting higher education at Seattle Pacific University in 1976, majoring in chemistry and music and later Pre-med with a hiatus of several years working in the university's computing center before being graduated with a self-styled bachelor's degree in Natural and Artificial Languages. While in graduate school at UC Berkeley, Wall and his wife were studyi...
 
8:10 PM
@MooingDuck Does Larry ever bang his head against the Wall?
 
@MooingDuck thta was sarcasm i see
 
DWIMNWIS ?
 
@FredOverflow he has a daughter, so yes
 
@doug65536 what?
 
Do What I Mean, Not What I Say. a perl slogan (I think Ive slightly messed up the original though)
refers to the "common sense" of the parser resolving many ambiguities reasonably
 
8:12 PM
@doug65536 A parser with common sense? C++ needs that badly. "Oh, I'm sure the user wants to locally declare a function here, although he never calls it and treats it like a variable. Stupid noob."
 
@FredOverflow who me?
 
@FredOverflow both are indications of poor language design IMO
 
C++ syntax isn't too awful for users. Well, besides vexing and typename. Compiler writers on the other hand...
 
perl allows extreme brevity - causing a bad reputation from all the "cute" scripts. funny how brevity is so highly regarded in other languages
 
perl is all toilet sounds
 
8:16 PM
is it ok?
 
@user1690130 It looks fine to me.
 
@doug65536 you have a second to discuss perl?
 
if nobody minds sure
 
@user1690130 what does gender (in the code) have to do with anything? If it's not related to the bug, it shouldn't be in the code. (it can be in the description still, that's fine.)
 
@MooingDuck i guess it can be deleted. it i more of reminder for me in the output that i am using only men.
 
8:19 PM
@user1690130 SSCCE: remove all code that you can and have the problem still occur
also, why the number 1975? You want the total number of results found?
 
yes
@MooingDuck what do you mean by individual results?
 
damn
 
saying in general, its nicer not to rely on global magical variables like $1. use real variables
 
don't you just hate it when you watch a comedy video, and then it's drastically less entertaining than you thought it would be?
 
8:25 PM
@EtiennedeMartel aux etas-unis?
 
@MooingDuck I just realized that with a proper module system, there would be no need for function declarations, and hence there would be no most vexing parse!
 
@FredOverflow hooray!
 
> That website is the amount of white men born in the year 1923
Shall I add the tag? ;)
jk
 
and what woudl be the definiton of race ? the one who arrives first at the 100m line ?
or at 40.000m, the marathon
 
@EtiennedeMartel: Is it beer time for you yet?
 
8:41 PM
Anyone know anything about Hola? Is it worth getting?
 
of course I thought racism was about running fast
 
@chris What is that, Halo's evil brother?
 
@Borgleader Beer time is 17:00 (for the company sponsored beer at least)
 
@EtiennedeMartel In Germany, it's 16:00.
 
8:44 PM
@FredOverflow, It caches data and uses parallel connections with those around you to speed up your internet.
 
Honestly, though, beer time is normally aroung 16:00 for me, although the sharpest amongst you would probably notice that the time zone is unspecified there.
 
@chris Hm, interesting. How does it know when to rust "those around me"?
 
It's an interesting idea, and looks like it would work well. I just wanted the opinion of someone using it.
@FredOverflow, They can probably explain better: hola.org/faq.html
 
@chris Wait, how will this work for anything else besides porn?
 
I guess their goal is to have a very large portion of devices caching data that's available for use by those nearby.
The more people near you using it, the faster it goes.
Since less has to clumsily go to and come from the web servers.
Of course secure traffic is exempt.
 
8:48 PM
@chris IOW, fundamentally different (in a world where BitTorrent was never invented).
 
@chris But only if they browse the same stuff as you. How likely is that?
 
@FredOverflow From what Google says, pretty likely.
 
Well, it uses others for compression as well.
So to put it in @JerryCoffin's words, it offers synchronized management capability ;)
2
I'm never going to get tired of that table.
 
so, it's like, P2P accelerated web browsing
 
@chris You will eventually. It gets old after the first few thousand times... :-)
 
8:53 PM
Plus I guess there's some client-side stuff they wrote from the ground up to optimize networking, so I'm sure that helps a bit at least.
 
user1690130 - does it count when a user name is comprised of a prime number and it's square, separated by 0s?
 
I guess I can try it and see how it goes for a while. I'm going to be reinstalling everything soon anyway.
Oh, and I didn't mention, but it's free.
 
@sehe i meant what do you mean exactly?
 
Well, after installing, speedtest.net gives me 21Mbps download when we have 18.
I need to find something big and not speed-limited to download.
 
@user1690130 I (we?) have a running gag that when we get nameless users, the prime numbers are usually the bad ones.
You're discussing more Perl than is considered healthy in a lifetime, so I'm going to go with "yes, it counts" for now :)
 
8:59 PM
@sehe if you have some seconds, i'd like your 3/4 words thoughts about Mozart - Fatntasy in D minor youtube.com/watch?v=deNZCpBLrEk if it make you think of other thing...
 
@chris at least some of the information on that page is complete BS. "Hola also creates a special local cache with the Hola client (your Android phone or Windows PC) so when you reload content (like a YouTube movie) it doesn't come from the web again, but from the local Hola cache." Every browser does that. HTTP was designed with that in mind.
 
@MooingDuck, I was kind of thinking about how browsers cache things as I read that.
 
@doug65536 You can detect that too: if (std::numeric_limits<decltype(size)>::is_modulo && (size > size+1)) abort();
Or perhaps safer:
static_assert(std::numeric_limits<decltype(size)>::is_modulo, "unsafe to proceed on this target platform");
if (size > size+1) abort();
 
@sehe static assert is very nice
 
It is also very friendly. Sometimes cute.
 
9:03 PM
@FredOverflow "The more Hola clients in your area, the faster your Internet will go. Even if none of them have seen the content that you are watching! How? Hola uses the idle resources of these close peers to compress the data for you, to create multiple parallel connections to the webserver for you even when the content is not on the Hola network yet. Hola will try to get Internet content from many places at once: both the Webserver and other Hola clients (Peers)."
 
Hola que tal !
 
@MooingDuck Ok.
 
@MooingDuck So, I'm gonna give my bandwidth to people I don't know? Sounds like a great idea...
 
Sounds too good to be feasible. I mean, how will compression CPU sharing ever outweigh network latency?
 
@FredOverflow only the bandwidth you already paid for but aren't using that you'll never get use out of.
 
9:06 PM
@doug65536 Wait, you're discussing #P!E@R#L* in the lounge aaand you do it in order to leech a website that is specifically not a webservice?
@MooingDuck So, they can accurately predict the future. That's real potential right there. I'd buy it
 
@sehe what? That doesn't require future prediction.
 
@MooingDuck "but aren't using that you'll never get use out of." - this is impossible to know without predicting future events/behaviour. After all, I might download a movie on the last day of the month
Quite obvious, really
 
@sehe oh, I hadn't considered that you have limited internet per month
I've never come close to my limit
 
@MooingDuck Actually, I just posted an answer myself.
 
@sehe Sounds to me more like something that would have been a big deal 20 years ago, but is likely to be almost irrelevant for a lot of people today.
 
9:08 PM
@MooingDuck I have 1Gb. I once had to consciously throttle
 
@sehe oh. My phone has 4GB, my home has 25Gb+.
 
@JerryCoffin Huh? Mobile devices have slow connectivity. Having some other (slow, mobile) device compress a web resource before you can even start receiving it is only going to be faster than receiving it directly in the rarest of occasions.
 
well it's been months... let's fight zerg and protoss... nothing else to do tonight.
 
Not to mention, it seems as though this scheme would dramatically increase the number of concurrent outgoing connections ("Hola will try to get Internet content from many places at once: both the Webserver and other Hola clients (Peers)"). On mobile devices this has a real potential of making things slower.
@doug65536 Come on guys. Get a room. Or man up and do this in C++
 
@sehe Older mobile devices have slow connectivity -- but depending on conditions, 4G can be faster than most people's land lines (100 Mb/s under ideal conditions, 15-20 Mb/s is fairly common). Given the cost (in battery life) of doing compression for other people, I don't see it being a big hit on mobile phones or tablets though.
 
9:14 PM
@sehe we gave them a room, they won't go in it
 
9:25 PM
@MooingDuck There. I can help. /cc @doug65536 @user1690130 see other room
 
sorry about the off topic crap guys
 
Is okay. Next time, just get a room, it happens
Anyways, this guy should be paying you to play his script kiddie
 
how do I find places offering internships?
 
@Crowz Have you tried the harbor? There are usually lots of ships there.
 
9:32 PM
@Crowz You could study at a university.
 
@EtiennedeMartel I am at a university
 
Oh look, a Mooing Duck and a Meowing Goose? ohai
 
@Crowz Then, perhaps there's people there who know about that.
 
@sehe I don't think "peterchung" is a valid URL, and google agrees with me.
 
9:49 PM
@chris holy shit lol
everyone's suggesting different approaches to splitting ?_?
 
I can't blame them. The OP may be doing it for the experience, but it's still so horribly long and unnecessary.
 
yeah seriously
 
@MooingDuck You forgot an @
 
back
 
The one I use is like 7 lines.
 
9:52 PM
Andy's answer has a nice ring to it in that it's somewhat like the OP's method, but better.
The string splitting entry is in the top ten C++ FAQ entries.
 
yeah
 
@sehe your "ohai" link goes to the url "peterchung". I don't see how I forgot an @.
 
Another stupid question...
 
@Crowz You are a stupid question, it seems.
 
LOL I didn't notice that.
 
9:53 PM
Is it possible to run a C++ and OpenGL program on a website?
 
@DeadMG lmao
 
@Crowz no
 
split.begin(); //split is vector
 
@MooingDuck You don't see much then. Also, you aren't telling me much I didn't know - I typed it :)
 
@Crowz Of course.
a server can run any program you can target to that hardware.
 
9:54 PM
Useless line of the day award goes to...
 
PLONK <--- the winner
 
@DeadMG Directly on the website? Even if the rest of it is HTML/javascript/bootstrap?
 
Visual Studio 2012 sure takes a long time to load now :(
 
@Crowz Uh, that's the client.
not a server
 
My server is apache, I think?
 
9:55 PM
and there is Google Native Client and WebGL, but apart from that
 
@Crowz: take a look at WebGL
@Crowz: has nothing to do with C++ though
 
@Crowz There's two parts to a "webpage". The server can run programs and send data to the client, and the client, which can only run java and runs on the user's machine.
 
@Crowz Basically, you have two choices. 1) You could run OpenGL on the server, retrieve results from it as bitmaps and send those to the client. Likely to use a lot of bandwidth, latency probably pretty high. 2) send a program (probably in JS) across to the client and let it all run on the browser. Probably a lot less bandwidth needed, and with decent design a lot lower latency as well.
 
Take a look at this: glsl.heroku.com
 
@nightcracker Unless you use Emscripten to compile Qt C++ application to javascript
52 mins ago, by Jerry Coffin
@sehe Sounds to me more like something that would have been a big deal 20 years ago, but is likely to be almost irrelevant for a lot of people today.
<whistle/>
 
10:02 PM
@sehe Did I bother to mention that my eyes are all blue on blue too?
 
@JerryCoffin No. In fact I think that message somehow got lost in space.
 
Whoa, I just ran a speed test and it gave me 44.50Mbps down instead of 2-3.
 
@chris: got fiber?
 
No, DSL.
It just randomly spiked.
 
for how long?
 
10:07 PM
That was at the beginning, and the test ended right after.
 
Ell
DSL is pretty good
 
Well, this one isn't
I normally get 250KB/s to 400KB/s MAX
Now it did it again with 65.77Mbps.
 
Ell
oh wow o.o
I thought dsl was meant to be good ebcause you got equal up/down?
 
Honestly, most home connections are actually good with asymmetric connections
 
How I imagine @EtiennedeMartel right about now ;)
 
Ell
10:11 PM
heh
 
@Borgleader My throat is dry.
 
I'm actually downloading music at 3.8MB/s now
yay torrents
 
@Ell SDSL gives equal up/down. ADSL does not.
 
@nightcracker What is that, one song per second? :)
 
@EtiennedeMartel You told me it was company sponsored beer time. You liar, you ruined my fun :( :P
 
10:12 PM
@FredOverflow: nope, downloading high-quality 40MB flac albums ^^
 
@nightcracker That's strange, my own FLAC albums are more like 400MB.
 
@FredOverflow: 40MB per song, I meant
 
Yeah, most things use ADSL AFAIK.
 
Since people normally download much more than they upload.
 
Ell
10:15 PM
@JerryCoffin ahh. I assumed DSL = SDSL unless otherwise specified (e.g. ADSL)
 
@Ell I'd guess most DSL is ADSL (probably 90+%).
 
Yep.
Besides, in 10 years everything is fiber.
 
@Borgleader Drinkin'
 
@EtiennedeMartel Did you occupy wall street?
 
On my server though, I actually did a measurement and came out on 420Mbit/s download
 
10:17 PM
@user1690130 What?
 
@EtiennedeMartel you heard me
 
I just got 133.49Mbps now. I think Hola's cache is messing with it ;)
 
"What?" can mean more things than just the event of not hearing what a person said.
 
@user1690130 Why would I occupy Wall Street?
 
@EtiennedeMartel Didn't you say that you want the financial sector to pay higher taxes?
 
10:20 PM
@user1690130 So?
 
He's canadian
?_?
 
@EtiennedeMartel so i asked if you occupied wall street? why isn't that a natural follow up?
i know a canadian who occupied the streets
 
@EtiennedeMartel It's obvious right? There's only 12 people on the globe who hold that view, so you must have been of those on Wallstreet.
 
@user1690130 Because New York isn't exactly close.
 
Or something like that
 
10:21 PM
And although there was a Occupy Montreal, I was in Sherbrooke at the time.
 
@EtiennedeMartel Psst. Not everybody has an atlas
 
And honestly, I don't think camping on public places is gonna change things.
 
it was just a q.
so the answer is no. you did not occupy anything
and sleeping in public places made a big difference aux etas-unis
 
@EtiennedeMartel: but there was occupy Amsterdam.
 
I hope you noted it was just a bit of a strange question - out of the blue.
4 mins ago, by user1690130
@EtiennedeMartel you heard me
^ mmm
@nightcracker kinda lame though
 
10:24 PM
@user1690130 A bit of a random one though
 
@sehe you don't like perl, you don't like occupying. . . .
 
@user1690130 HUH? You don't like logic. . . .
 
@sehe and you don't like perl
 
@sehe That guy is weird.
 
No shit
 
10:26 PM
@sehe etienne, you introduced your opinion to begin with on the financal sector.
 
@user1690130 Yes, but you did not give yours, so I can hardly call that a "discussion".
 
@EtiennedeMartel oh you want my opinion?
 
No, please.
 
@EtiennedeMartel You can say that again.
 
Nobody wants.
 
10:28 PM
How on earth is this a reply to me. @user1690130 Do we know you? I don't think so. You don't need to barge in all querulant and entitled. We discuss everything but we expect normal social courtesies. You may want to hang out for a while to see what we're about.
 
@sehe I am very sorry.
 
@sehe I think I've seen him before, though.
I remember all the nutjobs who come through here.
 
@EtiennedeMartel chat.stackoverflow.com/… ?
 
@user1690130 I can't tell if you're aggressive or just strange. You appear to be both.
 
@Rapptz Looks like it.
 
10:36 PM
@MooingDuck Today I did not mean to be aggressive or strange. But in that chat, I did intend to be. Cat cat was pushing my buttons.
 
@user1690130 cat is definitely aggressive, I'll give you that one
 
And Cat cat left me with a bad impression of this group
 
oh I remember this
 
All of the memories come back
now that you send me that
 
@EtiennedeMartel lol
Jun 4 '12 at 13:26, by sehe
EVERYBODY: Commit chatticide and PRESS IGNORE simultaneously?
Probelmo solvo
 
10:38 PM
@Rapptz wtf
 
lmao
 
@user1690130, Is it just me, or was your avatar not purple before?
 
gravatars can get rehashed
 
Huh, I've just never paid attention enough to notice before.
The only reason is because I was looking at the name before when sehe mentioned that it was a prime and its square.
2 hours ago, by sehe
user1690130 - does it count when a user name is comprised of a prime number and it's square, separated by 0s?
 
+1 for proper spelling of its
 
10:42 PM
lmao
I'm surprised you always seem to mess that up.
 
Hmm... I want to make a little experiment, what should I use for rapid prototyping of a Window Application to view nodes and graphs? (kinda like this: img849.imageshack.us/img849/8533/kismet2.jpg)
 
For some reason, I never used to use the wrong form of its and your before, but I keep typing the wrong one more and more often.
And then I don't even see it to realize what I did right away sometimes.
It's so disheartening.
 
I screw that up even more.
Dutch uses "'s" exclusively for property.
 
huh, when attempting to print the last two digits of a pointer, converting to unsigned followed by a modulo of 0xFF doesn't cut it. Really thought it would on modern pc systems.
 
Eehm
 
10:50 PM
@MooingDuck: the last two digits are %0x100
 
You are confused
 
try doing it decimal with %99
 
>>> hex(700)
'0x2bc'
>>> hex(700 % 0xff)
'0xbe'
>>> hex(700 & 0xff)
'0xbc'
 
The bitwise version you were thinking of is & 0xFF.
 
You mean & 0xff.
 
10:52 PM
Playing too many vidya gaems at once
 
@rici oh, right. duh (Thanks)
@LucDanton that explains where my head was. (Thanks to you too)
 
Cough.
 
@nightcracker your name is familiar
 
@MooingDuck: Perhaps because I've been around for quite a while now?
 
@Rapptz I do. It's because of dutch. It's hard for me to 'feel' the difference. I don't always stop to think (I'm used to absolute addressing everywhere: no mouse, no intellisense, no spillchucker and no "thinking" while doing. Action, reflection, action, reflection. This comes with the risk that certain weak spots keep manifesting themselves)
 
10:55 PM
You have 883 messages here.
 
@nightcracker Oh, funny you should say the same. Note ^^
 
@nightcracker no, I remember doing something with your code... maybe I helped you with an answer or vice versa a long time ago?
 
@Rapptz I should have celebrated. I have 54009 54010 messages in this room now
 
17480...1!
 
10:57 PM
@sehe: what do you mean? I did say it :)
@MooingDuck: hmm, let me think.
 
@nightcracker lol. I take it you know the idiom
 
@MooingDuck: maybe we should write a query:data.stackexchange.com/stackoverflow/queries
 
I'm not skilled as SQL :(
 

« first day (839 days earlier)      last day (4108 days later) »