« first day (1560 days earlier)      last day (3387 days later) » 

7:00 PM
.. just kidding :P
 
@StackedCrooked ...
 
@xeo have you seen what it's currently trending towards? $26mil!
though that look to not be accounting properly for the slow down towards the end.
 
@wilx why the regression to your old screen name?
 
@R.MartinhoFernandes Because I got divorced.
And I am going back to my family name before marriage, Haisman.
So, in the mean time, I am using this. I am not sure if I will use my real name again.
 
Oh. Ow.
Do you have kids?
 
7:10 PM
Yes, two.
 
That onlooker's face at the end makes this one of the funniest gifs ever in my opinion.
 
user1804599
I wish I were a coral. It would be a life without worries.
 
@StackedCrooked he looks like putin
 
@AlexM. i don't really think so (maybe just a little bit), but the top reddit comment is also putin comparison
 
@wilx oh man, that sucks
 
7:16 PM
@BartekBanachewicz Yes, it does.
 
user1804599
@AlexM. no, not at all.
 
@рытфолд You would have to worry about oceans temperature and extinction right now.
 
user1804599
@wilx If I am a coral I don't give a shit about any of that.
 
user1804599
(Just like if I am a human.)
 
hm new LoL login screen music is nic
 
user1804599
7:18 PM
coool Rakudo–JVM
 
user1804599
  many ecosystem
     wow
such interop
 
This is a very quotable explanation:
Would be nice as a compiler error too
 
main.cpp:123:1: error: no, this code's shit, I'm giving up
 
Man, sneezing is the best.
 
how's your tinnitus?
 
7:22 PM
Backgroundable.
 
doctor?
 
Since a couple of weeks I'm hearing this very high frequency whistle from my left ear. It's not loud, but it makes it hard to fall asleep or concentrate
 
> I use IO nonmonadically all the time.
> lol, fuck you
 
Sounds like mine but it gets really loud at times.
 
Hopefully it won't get worse. Doctor didn't help (pretty much like always)
 
7:27 PM
@AndyProwl I said that for like three years.
but then he did help a huge amount.
 
@Puppy doc couldn't identify the cause (which is not unusual) and there's pretty much no treatment.
 
@StackedCrooked lolable
 
@Jefffrey lol
@R.MartinhoFernandes hmpfh our friend has a hissing sound on his microphone
I can kinda relate
 
No you can't.
Fuck off.
 
7:29 PM
If a function had a lot of parameters
How would you make that readable?
 
I met someone that works for a company that does sound therapy.
 
@Puppy I've been in a similar situation for another problem I had (pudendal neuropathy). It took me a year to find a doctor that knew what was going on and managed to help - by giving me amitriptyline, btw. But in my medical history, that was a unique case.
 
But it can only mitigate it.
 
The UK, wrapped up in one picture. (Gate order in London City Airport) http://t.co/mNtlsWaEIZ
 
Since now it's been fairly unannoying I haven't tried it.
 
7:30 PM
Is there at least hope that it goes away?
 
Yes, but that's random.
 
Hm. I tend to not have luck when it's random
 
user1804599
I could write my Styx compiler in Perl 6.
 
Does it annoy you only when falling asleep?
Or otherwise in complete silence, I guess.
 
It's there all the time, but since it's not so loud, I can ignore it during the day
e.g. when people talk
 
7:32 PM
Yeah, mine has been like that for a few weeks now.
But before it was hell.
 
for instance now as I'm alone, I hear it
 
Could even hear it over music.
 
did it start that loud from the beginning?
 
Yeah. Very.
 
@wilx I wouldn't see why at this point
 
7:33 PM
That must be annoying. But at least it's getting better
The time when I hear it the most is when I wake up
 
It was like that for a week or so.
 
@sehe Well, it has 2 votes for close there.
 
Drove me crazy.
 
Sometimes I have a feeling that it's getting louder, but I think it's psychological conditioning - I just pay more attention to it
 
@BartekBanachewicz So, wait, there's a Tomalak in Germany?
 
7:34 PM
Yeah.
 
@EtiennedeMartel he's the other tomalac
 
On top of that, I have to deal with vertigo
 
For me when it gets louder it is abruptly.
First Monday with it at lunch was freaky.
 
I can imagine
Does it still get louder from time to time?
 
Didn't happen this week, that I remember.
K, time for the feast. See you.
 
7:39 PM
Enjoy, cya
 
@wilx has had for hours. since then the votes have gone way up and the bounty is there
 
@wilx well, by common standards it would be too localized and be closed by the lounge police quite quickly but you know there are exceptions
 
@AndyProwl Ignoring (for the moment) the fact that all hearing ultimately happens in the brain, so it's all psychological, I don't think tinnitus changing in volume is purely psychological conditioning. Some things can clearly exacerbate it (most obviously listening to loud sounds a lot, but apparently also including other things like diet and accumulation of ear wax).
 
@bamboon hmmm. There has been some heated debate here whether the question was in fact viable. There are two close votes and as many (at least then) downvotes.
 
@sehe ah, I see
 
7:44 PM
@JerryCoffin Cat suggested this some time ago so it might be spot on :P
I haven't changed anything in my diet lately (but I should, I'm getting fat) so I'd exclude that. Ear wax accumulation, maybe, but three doctors checked my ear and saw nothing so I'd rule that out too
Haven't been exposed to particularly loud sounds either
I should file a DR to my brain
 
@AndyProwl: Maybe your brain needs some lubricant. Have you tried some larger than small amount of spirits?
 
@wilx I did, but probably not larger enough
 
Perl 6 seems truly nice.
But it's a completely different language.
 
Do you people know if SpiderMonkey engine can be used in pure ANSI C (not C++)?
 
user1804599
It's a good language.
 
user1804599
7:54 PM
Jefffrey go to #perl6!
 
Can't, I gotta go out in 20 minutes
well ok
 
ok, nevermind, I guess not.
 
@рытфолд raydiak? is that you?
 
user1804599
No.
 
who are you?
 
user1804599
8:00 PM
I'm me.
 
hoo hoo, hoo hoo!
whooooo are you?
 
@AndyProwl The only time I used shared_ptr::use_count() was back when I didn't know about shared_ptr::unique(). Not sure if I'm trying to make a point or just wanting to tell a funny story. Now, back to anime..
 
@Jefffrey rip your brain
 
that was ripped a while ago
 
im ripped m8
 
8:01 PM
u wot
 
@рытфолд Well, who are you?
I really wanna know.
 
@StackedCrooked lol
 
OH GOOD NEIGHBOURS ARE DRILLING
 
is it hard to learn C++ to usable level? I mean I know managed OOP languages, I know ANSI C quite well, but C++ always seemed to me like big, scary mess of a language...
 
THAT IS WHAT I NEEDED
 
8:03 PM
> Unless there has been brain damage as a result of liver failure or thiamine deficiency, the majority of brain cells of heavy drinkers are intact even though the brain has shrunk.
Could this mean better locality? (Read this in a slurring voice.)
 
@mrpyo That's because it is.
@StackedCrooked lol
 
user1804599
@StackedCrooked The Mysticial Peak.
 
@mrpyo C++ is a big, scary mess of a language
 
@mrpyo Seems to vary (widely) from one person to the next. Some try to write C++ for years, and never seem able to do so at an acceptable level. Others find it quite natural and have little or no difficultly at all. Most (of course) are somewhere in the middle.
 
@Jefffrey Is it just kind of humor usual to C++ programmers, or do they really don't like the way it is designed? Cause it is recurring theme in my talks with C++ programmers...
 
8:07 PM
@mrpyo I'm not sure I can be considered a C++ programmer, but I'm deadly serious.
 
cdk
hello, I've pasted a question here lpaste.net/119084 I'd appreciate any thoughts or suggestions!
 
user1804599
@cdk Do the same thing std::lock_guard does or look at Boost.ScopeExit.
 
Where would you recommend to start if someone wanted to learn modern C++ (since I believe it evolved quite a bit lately)?
 
@mrpyo Let's just say that C++ is an evolved language and has a lot of vestigial features and concepts that make no sense today.
 
@mrpyo map, string and vector will get you a long way
 
cdk
8:11 PM
@рытфолд I'll look into that, thanks
 
@mrpyo Liquor store
 
@mrpyo I honestly have no idea. The last from Bjarne probably?
 
@cdk steps (2), (3) and (4) can be summarized as "do something".
 
cdk
I'm actually already using a wrapper class that takes the lock in the ctor and releases in the dtor to ensure the lock is properly managed. The real issue is that while the structure of the pattern is common everywhere, the initialization is different, and that's the part I'm having difficulty abstracting. I need a function, and C++98 does not support functions very well...
 
> The issue is that Init() can vary for each instance of this method (per T)
 
user1804599
8:14 PM
Boost.ScopeExit handles that generically.
 
^^ Use (free) function overloading instead of methods?
 
@mrpyo no. (meaning I'm a C++ programmer and I don't like the way it's designed. That being said, it's moving in the right direction)
@Jefffrey let's write this signature adder thing
 
cdk
@StackedCrooked: I can't use functions because I need to close over some local or member variables (if i'm understanding you correctly)
 
Maybe I will ask a question on programmers. Probably will get closed, still I got points to spare...
 
@mrpyo The design of the language is decent. It's not great. It's not awful. There's just some historical backlog that makes it a bit more annoying and bad.
 
8:17 PM
@mrpyo if the question is "where should I start learning C++?" then it will be probably get closed
Perhaps try "A Tour of C++" by Bjarne, it's relatively slim (although relatively expensive too)
it gives you an idea
 
I would like a book that is targeted to experienced programmers, that would explain language in detail, and not like just try to teach you to write "hello world" in C++...
 
@mrpyo that's a bad attitude
what other languages do you know?
java and C# I see.
 
coded a lot in ANSI C
 
C experience is not relevant in C++
 
why do you want a book for experienced programmers if you don't know the language?
 
8:21 PM
so I know a bit of low (well lower) level
 
@AndyProwl did you read it?
 
C++ isn't a low-level language.
3
 
@bamboon I did
 
so it wont spend time on explaining data structures, oop and stuff
 
@AndyProwl cool, how is it?
 
8:22 PM
@mrpyo if you want a more steep book, I'd suggest you go the route I took, after being fairly experienced with C++ already: C++ Primer by Moo, Lippman et al, then C++ Standard Library by Josuttis
 
@bamboon Modulo a few mistakes (but hey, it's Bjarne), quite enjoyable I would say
 
C++ Primer is often criticized for being too hard
for me it was just... complete
 
it didn't really teach me anything new apart from the existence of std::ws
but it was well-written I reckon
 
@cdk You can call the function and pass the local variable as an argument. (You seem to need a mentor. (Not me.))
 
and I can personally endorse Josuttis' book because it's really great
as an anti-wheel-reinvention device
 
8:23 PM
I second that
 
@AndyProwl TIL
 
Josuttis has a horrible accent.
 
apart from the chapter on I/O, which wasn't written by Josuttis
that was a bit lower quality IMO, but still useful
 
@AndyProwl I see. Is it more basic or advanced?
 
@bamboon it's quite basic
 
user1804599
8:25 PM
I never read any C++ books.
 
those books take imho the appropriate path for learning C++, which is a methodical, exhausting presentation.
 
I wonder if it's possible to learn C++ from the Standard
probably not
 
that's like learning English from a dictionary
 
user1804599
I was thinking of a new programming language.
 
you need idioms
 
8:26 PM
idiots*
 
we need idiots
 
@AndyProwl Why not. It contains everything you need to know! :p
 
@LightnessRacesinOrbit no we don't need you
 
to be fair you can learn C++ from the standard and you can learn English from a dictionary and you don't need idioms
 
we need idiots to write all of those PHP pages on MySQL
 
8:27 PM
but nobody will be able to or want to understand you very efficiently
 
@StackedCrooked You contain? :P
 
Pasta with mozza di bufala
 
hey
 
@AndyProwl erm.
 
user1804599
8:27 PM
I'm gonna implement this programming language.
 
lol
 
@Abyx You are such a lovely guy.
 
@рытфолд again?
 
user1804599
It won't take long this time.
 
user1804599
This one is extremely simple.
 
8:28 PM
0
Q: How to manipulate with magnetic tapes in C/C++?

mathemageI need to do a few basic operations with magnetic tapes on our tape server: load tapes display statistics (equivalent to mt stat command in Linux) read/write data onto blocks of tapes I want to do perform these tasks via an API/library in C/C++ but I'm really struggling with finding instructi...

 
Abyx has been quite human since quite some time.
LRIO has been quite annoying since quite some time
I wonder if those are related
 
user1804599
Program that reads number and writes its factorial looks like this:
 
user1804599
[ ,int; !; .; ]
"main" $;

[
  "n" $;
  [ 1 ]
  [ n 1 -; !; *; ]
  n 1 =; ?;
]
"!" $;
 
@BartekBanachewicz human? what do you mean by that?
 
that's the best word I could find
 
8:29 PM
I'm a bird.
 
beatch
 
@Abyx it means conforming to @BartekBanachewicz's demands
 
i have quick question - i have `class Range{ // exception class
int index;
public:
int getIndex() {return index;};
Range (int i): index(i) { }
};` this in c++ header. What i can understand it assigns i to index. How this mechanism is called?
 
@BartekBanachewicz just kidding :)
 
8:30 PM
@StackedCrooked holy crap that's scary
 
@pixel constructor initialization list
 
@BartekBanachewicz You mean index(i) ?
 
yes
 
@pixel that's an element of that list
 
@pixel magic
 
8:30 PM
that "A Tour to C++" book you recommended looks good, but expensive as hell
 
now go read the Standard
 
@aby
 
@mrpyo steal it
 
that list can contain constructors of base classes and members
 
@Abyx thx
 
8:31 PM
@pixel "initialization list" (not to be confused with std::initializer_list, which is something different)
 
@mrpyo ask to receive it as a birthday present :P
 
@StackedCrooked which is unfortunate, because
 
Ah man how much can they suck.
 
@Andy is the thing @pixel asked about called initializER or initializaTION list
 
@StackedCrooked you really should add "ctor-" because that's the official term
 
8:32 PM
@pixel no
 
@BartekBanachewicz I've seen both terms being used - I personally use the latter. Checking in the Standard now
 
oh, it's ctor-initializer actually
 
@Abyx no it's not
ctor-initializer in the grammar; member initialisation list in English
 
@Abyx lol we can't C++, we can go home now.
 
who cares about English
@BartekBanachewicz I thought this room is your home
 
8:33 PM
@Puppy Go back to sleep.
 
@Puppy you're late
 
@Abyx nah. I have a few places I call home. One of them received new doors today :3 (I picked them up and waiting to be mounted)
 
a closet?
 
no, my new flat silly
I'm getting more and more excited about it every day
 
Where is it?
 
8:35 PM
what? your closet is broken? it's flat?
 
@BartekBanachewicz Living alone finally?
 
mem-initializer-list
so I guess it becomes "member initializer list"?
 
@wilx just me and my SO, yes.
 
@AndyProwl meh-initializer-list?
 
lol
 
8:35 PM
@BartekBanachewicz @Abyx thanks, tommorow 'kolos' is coming so I'must embrace myself ;)
 
naugthy google, not protecting copyrights, just typed "Tour of C++, A pdf" and there it is...
 
are you polish
 
together with the : it's ctor-initializer though
 
@AndyProwl yeah ctor-initializer: ":" mem-initializer-list
 
8:36 PM
@BartekBanachewicz kto ja?
 
@BartekBanachewicz yep
 
oh for gods sake
 
Something with a table and scissors
 
a freakin' invasion
we are the OP now
 
@BartekBanachewicz why?
 
8:37 PM
i am the op
 
no other sane nation calls exams "kolos"
 
@BartekBanachewicz I thought you're Sharli or something like that
 
you are the no op
 
Lots of Polish people here.
 
8:37 PM
in fact its a theme with google and copyrights, you post an android app on their market it's pirated few days later
 
yeah, there seems to be an overrepresentation of polish people in the Internet, wonder why is that...
 
the Internet needs to be polished
 
maybe IT is popular in Poland, Poland is the India of Europe
 
user1804599
8:40 PM
Awesome.
 
but not THAT dirty...
Was that a bit racist?
 
@mrpyo because of me and cat
 
Bartek leads them all
 
user1804599
I'm too lazy to write a parser.
 
use regex
 
8:45 PM
I wish the reason I can't write a parser was laziness
 
user1804599
Even though the grammar is extremely simple.
 
user1804599
The AST is but a sequence of string literals, numeric literals, lambdas and identifiers. The only nesting is lambdas.
 
or better use language grammar: antlr.org
 
user1804599
Writing the lexer is more work than writing the parser.
 
The joint on my left hand's middle finger hurts. I swear I did not show it to anyone or shove it anywhere.
 
8:49 PM
this "Tour to C++" has only 170 pages. seems kinda too short to teach new language
 
"So" joins two ideas together and implies a causality. It makes no sense to begin a piece of text with "so". — Lightness Races in Orbit just now
#trollololol
#ironyftw
 
So ironic
 
@mrpyo It gives you an overview
 
@willll What? ಠ_ಠ — Borgleader 7 secs ago
@mrpyo Tour of C++ != Teach you C++
 
if you want all the details, then you can continue with "The C++ Programming Language, 4th Edition"
it has ~1300 pages
 
8:52 PM
What is this guy Paul Manta on about.
 
@AndyProwl Or Programming Principles and Practices Using C++
 
@CatPlusPlus Why I think "<<So>>" is different than "so"...
 
@Borgleader yeah that too. But he seems to be after a reference
 
I just saw my first flag \o/
 
8:53 PM
in C#, 6 hours ago, by Roel van Uden
WHAT THE FUCK. WHERE HAVE YOU BEEN LIVING. UNDER A ROCK?!
6 hours old, flagged ...
 
user1804599
Roel is a fool. Hey that rhymes.
 
Why did you get all fired up? Surely you must have expected this reaction from someone when you decided to plug the website in your answers. — Paul Manta 1 min ago
WTF
This guy is on ACID. Takes offense of my posting Coliru links.
 
I've been living under a rock too, apparently
that thing looks cool
 
user1804599
@AndyProwl What thing?
 
hololens
 
user1804599
8:58 PM
oh
 
user1804599
I wonder why they didn't call it HoloCast.
 
user1804599
Since it casts images on real-world objects.
 
C++ has native threads??? I mean, they are in standard library?
 
yes
 
wasn't expecting that
 
8:59 PM
@mrpyo since C++11
 
I was so not into seeing how A* works to implement it that I just did BFS instead so that I don't end up in dev limbo
 
@sehe @mrpyo
 
but that's not too useful because the higher-level primitives for concurrency are still lacking
 

« first day (1560 days earlier)      last day (3387 days later) »