« first day (1021 days earlier)      last day (3920 days later) » 

12:00 AM
@BartekBanachewicz You can look at the stories in the backlog for what I have currently picked.
 
@MooingDuck there's platform specific library functions for that IIRC
lol
 
Xeo
@CatPlusPlus: Something for the night: Can you use uncurry (or another "builtin" mechanism) to turn a -> b -> c -> d into (a, b, c) -> d?
 
@R.MartinhoFernandes Pssst. I need to implement casefolding.
 
@Xeo uncurry, no.
 
Xeo
I currently have uncurry3 f (a, b, c) = f a b c but I think there's a more idiomatic way, somewhere.
 
Xeo
hm
And a generic data -> tuple converter?
Agh, I should think about this after sleeping. G'night.
 
@ScottW I know, right? If I plonked everyone who deserved it, it would be way higher than 51.
 
Ell
Good news everyone, my party won't be a sausagefest after all!
 
@Ell you mean that actual girls are there?
 
@Jeffrey no he forgot to buy weiners
so no hotdogs
 
Ell
12:24 AM
Yes three will be gurls
I also need a vomit Cleaning kit at the ready
2
For there will likely be copious amounts of alcohol
 
@Ell woah, good for you.
Two of my friends where trying to get into some disco dancer's pants. It was pretty pathetic. And they haven't succeed
...tonite
 
Ell
Haha aww poor them
 
@Xeo You could do (a, (b, (c, ...))) maybe, with Generic. Pretty easy with Template Haskell.
 
@MooingDuck How can exceptions be thrown in a thread-unsafe manner? Exceptions are stack-based.
 
@MartinJames by not catching them in the thread (which brings down the process)
it's when the thread stack is depleted where the isolation breaks
@ThePhD Pssst. You need to do it yourself
 
12:37 AM
@Ell I thought you said you had 3 girls :P :P :P
 
@ScottW So - how many columns does your new table have? (inb4 the drop)
 
Xeo
Ugh, GHC doesn't seem to like foldl1 (<*>)
 
@sehe O, Every thread I raise gets a try/catch/log as the top level. Devs. who don't do that deserve what they get.
 
@MartinJames Or, you know, use promise/future (e.g. with std::packaged_task)
 
@sehe But... but but but.... Robot could help ;~;
 
12:39 AM
@ThePhD Of course.
 
Xeo
@ThePhD He'll likely just link you to Unicode spec, or ICU
 
@sehe Whatever - don't let exceptions escape.
 
@Xeo weird...what error do you get?
 
@Xeo Guess I'll just do the Unicode spec, then. :c
 
Xeo
Occurs check: cannot construct the infinite type: b0 = a0 -> b0
Expected type: f0 (a0 -> b0) -> f0 (a0 -> b0) -> f0 (a0 -> b0)
  Actual type: f0 (a0 -> b0) -> f0 a0 -> f0 b0
In the first argument of `foldl1', namely `(<*>)'
In the expression: foldl1 (<*>)
@MonadNewb ^
 
12:42 AM
Weren't you going to sleep?
 
Xeo
:(
 
The Haskell got him.
 
Anyway, it might not be as easy with TH as I thought, if you consider multiple data ctors on one type.
Oh, nevermind, I just got a lightbulb.
I don't know why I derped.
 
0
A: Windows console does not display square root sign

Oleksiy DobrodumIt's impossible because square root does not exist in the ASCII table. ASCII only goes up to 127.

 
sleep is for losers! real men stay up late dicking around with stupid html/css/js crap ._.
 
12:49 AM
Lol
@melak47 umad,bro?
 
@Xeo well...it kindda makes sense (with my limited understanding of Applicative).
@Xeo (<*>) :: Applicative f => f (a -> b) -> f a -> f b
 
@Rapptz with unicode and a linux console it might work but afaik there is no way to do that on windows
 
@Xeo and foldl1 :: (a -> a -> a) -> [a] -> a
 
@ThePhD yeah. nobody did any fucking work on this thing since tuesday, and it's due in 11 days
 
@Xeo foldl1 needs binary function whose parameters are the same type.
 
12:51 AM
@Xeo Welp, I tried this ideone.com/odIDU4 as base for TH-generated code, but fundep conflicts.
Though generating a local concrete tupleify with no typeclasses involved should be doable just fine.
But not convenient and stuff.
I don't remember ever needing something like this, really vOv
 
better rename this to Lounge<Haskell> :P
 
why do people down vote your question in a matter of seconds ? For no reason what so ever.
 
Probably because it sucks.
 
@CatPlusPlus Well, that means i should start down voting questions asap.
 
Ell
Only sucky ones, mind
 
1:09 AM
Is there a way to communicate between processes using sockets?
 
@Pawnguy7 Yes
 
@Pawnguy7 I once used sockets to transfer minimap data from a dll injected into Starcraft Broodwar into a C# application
 
Care to enlighten me on how?
 
1:11 AM
Create a socket, send data?
It's kinda how you use sockets, generally.
 
You mean... besides "open socket for transmission in app A, open socket for reception in app B, ????, profit"
 
@CatPlusPlus lol not even a default style
not bad
 
I'll do a better one tomorrow.
 
Oh.
Wait, nevermind.
I don't know how to target it, I guess.
Unless you use four different ports?
 
For IPC you'd probably want named pipes/Unix sockets rather than ports, but yeah you can just pick unused ports.
 
1:16 AM
Sounds good. Any idea of a simple text based application I could use to test this?
Say, hangman. Once makes up words, one guesses, etc.
 
Make something interesting like a basic chat. You got a server and clients. Clients connect to server. Client sends text, server broadcasts to all connected clients
that's a little more interesting ;)
 
More interesting than a game? Everyone makes a chat. It's like blogs in webdev.
 
Hm.
If I had
INT_MAX bytes of data
What would that end up being...?
 
er, INT_MAX bytes of data.
 
HAHA HOLY SHIT
4 gigabytes
 
1:19 AM
@MartinJames "I'm trying to think of some code I can stick in some of my functions to get partial stack traces (when exceptions are thrown) in a thread-safe manner..,"
 
4 instead of 2?
 
Or bazillion petabytes.
 
@DeadMG I did UNINT_MAX
 
@ThePhD 2
 
But, uh
 
1:20 AM
@ThePhD That's pretty different man.
 
ok, well, what's the big deal?
 
Looks like storing all the unicode characters plus several properties for each character in an array is probably... not the best way to go about it.
I mean, there's really only 21 bits' range worth of data, so it's not 4 gigs
But, still. That's a lot of property data.
 
you moron, the Unicode Consortium ships a friggin' database.
it's really not that big.
Unicode 101 is codepoint properties.
 
@ThePhD There's not 4 billion characters, only like 100k
 
@MooingDuck Does not the exception message give sufficient detail?
 
1:21 AM
@DeadMG Is it a straight array? Or something else?
 
@MartinJames it doesn't give a stack trace
 
the fuck am I, your mother?
 
ATM, 4 megs of data sounds fairly reasonable for the entire unicode database.
 
look it up yourself
 
Oh. Well okay. <3
 
1:22 AM
@MooingDuck Maybe you need more catches?
 
@ThePhD 110,182 characters as of Unicode 6.2 accord to this site babelstone.blogspot.com/2005/11/…
 
^ There's 2 things, ucd and unihan
I think unihan is... the right one?
 
@MartinJames "... that doesn't require a catch in each function :/" (The goal is just to add a local object to each call I desire tracking for)
 
UCD.
Unihan is additional database about Han properties.
 
@MooingDuck The compiler has this power, but you do not.
 
1:24 AM
You probably don't need it.
 
Okay.
UCD it is.
IIRC, ogonek has a UCD processor.
Maybe I could just steal robot's.
Though, that wouldn't be very fair.
Guess I'll just write my own processor then.
 
yes it would.
I've done it, he encourages it.
 
Oh?
 
if he didnt want people to use his code his repo would not be public
 
How well do you think this would scale to LAN?
 
1:27 AM
Robot uses github these days, right?
 
@MooingDuck Well, IME, it's not hard to track down an exception in a local office debug build anyway. I assume that you're trying to trace an on-site intermittent bug. I accept that this is a huge PITA. I admit that I have no good answer to your problem :((
 
@ThePhD yes
 
night :)
oh the shop thing
l0l
don't forget dem pics
goodluck :D
bye bye
 
Is it java convention to name the starting class (with Main) the name of the project?
 
please kill me now
 
1:37 AM
Why so?
 
why not?
 
Is this in relation to my question, or unrelated?
 
TIL YouTube "likes" playlists only go up to 100
 
well, obviously dealing with Java would make anybody more suicidal than previously
 
1:52 AM
Hi~ I am a new guy to stackoverflow ~
nice to see you all~
 
hello
 
really? first time for everything I guess
 
e....
almost
it drives me crazy for I don't have enough reputation to comment on anything
 
reputation is pretty trivial to come by
just answer lots of questions
 
I just post an answer, and I think they other guy's answer isn't correct, but I can't say anything
0
A: C++ segmentation fault using erase in a vector

Yanghave you consider if n.size() = 1; and you erase the first element in n, so n comes empty. then the loop will delete all the element in vector n, then when it comes to the loop for(long long y = n.size() - 1;y >= 0;y--) since y = 0, at n.at(y) there may cause error? for instance if ...

could you guys help me...
 
1:57 AM
terrible question
and no.
 
I can only chat with that person by comment my own answer....
but I really he is wrong...
 
firstly
"Learn to debug your code" is the only valid answer, because the OP clearly doesn't have a clue how to solve his own problems at all
and secondly
if you want to be able to comment with less reputation, go ask Meta
nothing that I can do about it
 
well...i just think my answer is correct ,and he's is not. But his answer was accepted....
it may leads misunderstanding for some basic incept
sorry...concept
 
ok, let me be more blunt about this.
his answer is way more useful than yours
and I could not care less about your inability to comment.
 
sorry, I have a meeting
see you later
 
2:02 AM
I think I finally figured out why netbeans wasn't working as expected.
 
because netbeans is crap?
 
I guess it was sort of operator error. Apparently, syntax errors in the templates... well, fails kind of silently.
 
the usual shit, then
 
0
Q: Difficulty learning C++

Andrew IalacciI've been having a difficult time learning C++ despite having spent what feels like a hundred hours on the topic. I've purchase multiple books (those recommended on the C++ book thread here), followed countless online tutorials and training courses and put everything into the learning process. Fo...

 
I wouldn't know. I haven't used it that long to know the usual.
 
2:08 AM
@MarkGarcia Man, he put in a lot of effort.
Definitely would make me feel bad for closing.
 
Yeah. That's what I feel too.
 
well, given that it's software, then it's the usual.
 
Such a cleanly written question.
 
Some dude made a Star Wars 1313 inspired scene in CryEngine 3
 
I remember the first time I was trying to learn for loops.
I feel kind of bad it took so long then, for something I used to often and easily.
 
2:12 AM
C++ is not a good call for learning right off the bat. Maybe start with something like Java, C, or Objective-C. C++ takes what those languages require to learn and triples it. I would also write code rather than read books. — Justin Meiners 25 secs ago
He's trolling right?
 
sorry for the absent
 
It's those online tutorials that leave beginners wanting more. Yeah, they're free, but they have much lesser value than the wasted time in reading them.
 
Not really true in general.
It's just C++ has poor online tutorials.
 
hey
 
Most C++ materials are terrible.
 
2:16 AM
The close reason seems inappropriate.
 
Offline or online doesn't really matter.
 
I object to your generalization of my tutorial content
 
@CatPlusPlus You don't even read books how could you know?
 
@Borgleader Books are so 20th Century.
 
@DeadMG Sorry man. Too late to edit it. :P
 
2:17 AM
@MarkGarcia lol that close reason is horrible
I think it's the new "Not a real question"
 
Should be opinion-based or too-broad.
Arghhh... I really want to reopen the question though.
 
^ thats what i was going to vote originally
 
The question isn't fit here.
 
I did vote to re-open.
 
Voted to re-open. That felt good.
 
2:21 AM
lol interesting social experiment.
 
what social experiment?
 
I don't know what else to call it.
 
what action are you trying to name?
 
"doing something you're not supposed to"
 
> I sincerely hope this is not out of scope of this section and apologies if it is. I've been at this on my own and not quite sure where to ask for help.
He really needs help.
Might be good to invite him here or something.
 
2:22 AM
I wield my reopen vote how I want and fuck anyone else telling me how I'm supposed to use it.
if they don't like it they can vote to close again
 
Well I did it out of interest to see if it would be closed again
 
I voted to reopen too
 
lol it's actually opened
 
And +10
 
Yay! Another meta controversy is just looming ahead!
 
2:26 AM
puppy's comment got deleted
or did he do it himself?
 
oh please
as if I would do that.
 
Welp you got modded
 
whatever
 
Someone retracted his downvote.
 
What comment?
 
2:27 AM
That with the "shit" word.
 
The one where he said objective-c and C are shit
 
that guy who said "You should LEARN JAVA INSTAEAD!!ONEONEOENE"
 
Justin Meiners, he comes here sometimes, never liked him
 
e....you should learn java...is that an answer? seriously?
 
Damn the conflicting on-topic and off-topic rules. The question is actually useful to more people than just the OP. Though there's that opinion-based close reason.
 
2:31 AM
That's true
 
heheh, 10 close votes on that question total.
 
At least OP got upvoted
 
You're right, it is a bit unfair to Java. They forgot half the useful features and utterly fucked up a good part of the rest. I mean, if you're gonna tell the guy to learn another language because C++ is difficult, at least pick one where you don't have to go all the way to PHP to find something slightly worse. — DeadMG 34 secs ago
 
Having your question closed and downvoted might feel pretty bad to a newcomer. At least his is +10
 
I am like, best practices are really just glorified opinions. Questions for those are "decided" to be on-topic by the general community, yet this question, a very reasonable and helpful one, is being closed as being opinion-based.
 
2:33 AM
@DeadMG and its gone
 
now I feel ever so slightly better about not killing myself yet
 
193
Q: How to learn proper C++?

ChrisWhile reading a long series of really, really interesting threads, I've come to a realization: I don't think I really know C++. I know C, I know classes, I know inheritance, I know templates (& the STL) and I know exceptions. Not C++. To clarify, I've been writing "C++" for more than 5 years n...

This one's got a bit of votes.
 
Not constructive??? sigh
 
You're right, it is a bit unfair to Java. They forgot half the useful features and utterly fucked up a good part of the rest. I mean, if you're gonna tell the guy to learn another language because C++ is difficult, at least pick one where you don't have to go all the way to PHP to find something slightly worse. Also, fuck you moderators, if the other guys are talking about how shit C++ is then I can talk about how shit Java is. — DeadMG 5 secs ago
 
Interesting note: None of the closers seem to be in the tag.
Oh the last one is. At least a little.
 
2:35 AM
I'm totally going to get banned.
 
I'm gonna keep refreshing until it gets removed. I wanna see how long it takes
 
but to me, I must learn whatever languages which used by company.... Avoid the difficulty is not an option...
 
~55sec
 
we use lots of opensource software, we can't tell the developer:"hey! guy! write it in c++!"
 
are you going to link to your very recent question?
 
2:38 AM
I'm guessing either someone was insta flagging you or a mod was watching that thread
 
no, I found my answer is not correct
 
@user2624929 Your question has an answer.
 
no, there's clearly nobody here, despite the fact that there are obviously people here.
 
conditions?
 
@Pawnguy7 if
 
2:39 AM
however it is different behaviour of c++ compiler in windows and GCC
 
@Borgleader I figured, but better clarify now than be confused later.
 
so are u saying that there are no conditions in cpp?
 
@user2624929 There are conditional statements.
 
don't feed the vampire, man.
 
2:41 AM
I would feel bad if I mistakenly told somebody something that wasn't true.
 
then do so intentionally
 
you are a nice guy!
@Pawnguy7
 
I'm sure he bakes cookies for the girl scouts too
 
lol
 
@DeadMG Did you know if Robot used the nonunihan xml or the unihan xml
 
2:43 AM
@Rapptz Wow! Congrats!
 
@Rapptz What is that for?
 
leaderboards
 
@ThePhD Did I give two flying shits what Robot did?
it's his library.
 
You even surpassed litb!
 
Alright man, seriously. That's enough. Stack Overflow.
 
2:44 AM
@Rapptz Ooh, congrats. :D
 
How long has the bin existed?
 
years
 
wow what's that
 
A long time.
 
The bin is ageless.
 
2:45 AM
message can be put to bin
interesting
 
The bin never forgives. The bin never forgets.
 
I do recall being here before the Bin, but only vaguely.
 
Bin there since the beginning.
3
 
was my question too long
 
2011-02-19
 
2:45 AM
it was a question
 
God says there should be a bin?
 
will I'm new here and I'm trying to blend in
 
I don't think your are blending.
 
will the innocent guy....sounds pretty sad...
 
no, it doesn't.
 
2:47 AM
I'm trying ...
 
if you wish to blend in, then take the hint that I gave you at least twice before I binned you.
go and ask on stack overflow.
 
I have a question....how can I tell if my messages were binned....
should I ask the meta? or here is ok?
 
@Yang I might be wrong here, but I want to say it invites you to go there - in the case you don't notice your messages are missing already.
 
Ok,
 
@Yang If your messages are missing, they got binned
 
2:48 AM
thans
 
also wtf with cat pinning random shit
 
thanks
 
@DeadMG I say leave it pinned
 
what is the main topic here
 
@Borgleader In other words, bin laden. :P
 
2:49 AM
little late for that
 
@MarkGarcia DAT PUN
 
Okay well I did it.
 
@user2624929, well you may should do some study and don't ask too trival question here..otherwise, you may by binned..
 
would you like some kind of award or medal? I could compose a poem or song about your great deeds
 
Me?
 
2:50 AM
@user2624929 you can ask how to learn something....but not specific prime question
 
ok ok I got it
like I said before, I'm new here
 
me too....
good luck
 
@Yang You've only just gotten here, I doubt that you would know?
 
so is there any rules for chatting here
 
Jul 25 at 13:58, by Xeo
Greetings, Lounger! New here? We have some newbie hints and an acronym list for you.
 
2:52 AM
Jul 25 at 13:58, by Xeo
Greetings, Lounger! New here? We have some newbie hints and an acronym list for you.
 
I notice on the starboard to the right, there is - yes, that.
 
@Pawnguy7 Though it sometimes doesn't show in small screens.
 
thank you for that
 
@DeadMG, sorry...I just got there, and I am foreigner... I don't know much about here...
 
@MarkGarcia Good point. I suppose that would have been faster as well.
 
2:54 AM
and please forgive my bad english
 
why would I do that?
 
you wouldn't
if this place won't give open talk, please kick my ass out
 
unfortunately, the room owners are devoid of such a power
 
@Yang If your definition of being a "foreigner" is being a citizen of a different country, then WE ALL are foreigners here. Just go with the room's "rules" and enjoy. :)
 
2:57 AM
TIL there are lounge natives
 
I don't get why we're being hostile to the guy
 
@A.H. lol
 
I am from east of the world~~China
 
it's really just me
and it's mostly because he turned up earlier and cried like a little girl about some other answer being accepted instead of his
 
so, eastern and western...you know~@MarkGarcia
 
2:58 AM
@Yang Well, me too. Just south east from you.
 
@Rapptz give him gold
 
@DeadMG sorry again...
I mean no affence
 
My stomach hurts.
 
join the club
 

« first day (1021 days earlier)      last day (3920 days later) »