« first day (991 days earlier)      last day (3951 days later) » 

3:00 PM
@Ell make a static wrapper? Or something like that.
 
Ell
@ThePhD yeah was thinking something like that
 
@Ell You make a free function that takes a void*, casts it to std::function*, and calls it. That's your function pointer.
 
Meow.
 
yeah what robot said.
int dispatch_to_wrapper(lua_State *state) {
    void *light_ud = lua_touserdata(state, lua_upvalueindex(1));
    function_wrapper *wrapper = reinterpret_cast<function_wrapper *>(light_ud);
    return (*wrapper)(state);
}
 
Ell
@R.MartinhoFernandes which just calls the ahh right okay, of course. Why didn't I think of this? :3
 
3:01 PM
@Ell Because you're thick :P
 
Ell
Yeah :'(
xD
 
You can do some variations on it, but that's the general idea.
 
oh god
Some tests got skipped for whatever reason
and I don't know how to rerun them
crapfuckshit.
 
You could make said function a function template, and not use type erasure, for example: Fun fun; register_callback(&callback_caller<Fun>, fun);. That may or may not be suitable for your case.
 
@BartekBanachewicz You can't. c:
 
3:05 PM
@ThePhD I can rerun the whole suite
 
Hee~
Shoulda split up your tests~~
 
Though you can still go with that and make Fun = std::function<...> if you need the erasure for some reason.
 
they are split. It's the dumb runner.
 
use Catch man
even I could figure out how to use that shit.
 
hdjwakhdad TITTIES
 
3:06 PM
@DeadMG it's not that simple
 
The rest of the 50 Lbs of computer stuff will ship by today
But NOOOO, one 0.4 lb miniscule package has to take until FRIDAY
 
Well Catch is damn simple
 
50 bucks says its the most important part of my Computer. ._.
 
but that's a different tool.
 
Ell
3:08 PM
@R.MartinhoFernandes I'm not sure what you mean. What am I type erasing in the first place?
the signature of the std::function?
 
@Ell The type of the callable.
 
Ell
oh, so don't use std::function at all? And just cast to whatever callable they have?
 
The Overload Lots of stuff to read during the summer
 
you know
 
3:14 PM
template <typename Fun>
Result call(void* data) {
    return (*static_cast<Fun*>(data))();
}
 
I wonder about whether or not I can implement in-class initializers for Wide.
 
Ell
@R.MartinhoFernandes yah that's what I got
woo, I got one right
even if with a bit lot of help
 
sbi
@R.MartinhoFernandes Either your name is on the mailbox (and there's enough room on that to put six names on it), or you will have to say "bei <name that's on the mailbox>". (I have seen "c/o" used in Germany and the letter arrived.)
@ThePhD It's a very hard task, clicking on the arrow in the right message, innit?
 
@sbi Very. :c
 
sbi
@ThePhD You should drink less.
 
3:19 PM
But follow my self-plink!
@sbi The weird thing is, I'm like this and I haven't drank anything yet. :c
I can only imagine how terrible of a drunk I'd be.
 
@sbi: Hey old man...long time, How are you doing?
 
sbi
@AlokSave With effort, how else? And you?
 
@sbi Doing well, thank you for asking :)
 
sbi
@AlokSave What are you doing here, wasting time? Don't you have a career to work on?
 
@sbi I do...Haven't been here in ages lately. Just felt like coming in today and I did.
How have things been in here?..seems pretty quite
 
sbi
3:25 PM
@AlokSave So what's that career doing, huh? Are you an R&D boss already?
@AlokSave You hit a quite moment, I think. I haven't been here a lot myself, recently, but when you look at some day's transcript you'll find that there are quite busy times here.
 
@sbi Err..no..I still write code, not much C++ as I would want to but then that's not much I can do about it.
 
sbi
@AlokSave Of course, you can! Just get yourself another job, where there's more C++.
 
JBL
I want a job with shit-ton of C++.
 
@sbi True, but too many other things to consider. Besides not working with C++ at work doesn't stop me from learning it more...it's just a passion so that follows.
@sbi I used to wander here sometimes not talking much but never saw you here, seems its been months since we are interacting now.
 
sbi
@JBL What's stopping you?
@AlokSave That's probably true. As I said, I haven't been here much myself in the last half a year. Too much other stuff demanding attention. :(
 
JBL
3:31 PM
@sbi Nothing, I'm still searching.
(Well, and that'll have to wait the end of that internship)
 
@R.MartinhoFernandes did you use any kind of versioning mechanism in ogonek?
 
@sbi Work is it? Perhaps you are the R&D boss now, lot many things to be bothered about ;)
 
sbi
@AlokSave Nah. There was times when I was thinking about attempting to climb the ladder a bit, but I never did, because what I like is writing code. not talking about doing so.
 
@sbi Well you are fortunate to be able to choose to do so.
 
lol I think most of us regulars are insulted, obvious we are spending too long here we must be going backwards career wise
 
3:35 PM
Interesting Times is the seventeenth novel in the Discworld series by Terry Pratchett, set in the Aurient aka Orient. The title refers to the so-called Chinese curse "may you live in interesting times". Plot After Eric. The Patrician of Ankh-Morpork is sent a letter from the remote Agatean Empire on the Counterweight Continent commanding him to "send us the Great Wizzard", the spelling on the hat of Rincewind. The Hex brings Rincewind, and exchanges him in the auriental Agatean Empire with a live cannon. As usual, The Luggage follows, but having returned to the land of his wood and cons...
@Borgleader What kind of versioning?
 
Api/abi versioning. Not sure what to call it. Basically ogonek v1 vs ogonek v2.
 
GLFW 3.0 has been released lately
 
I must be insane to say "career is the best illusion to dupe people into becoming working ants"
 
JBL
@Telkitty猫咪咪 Why not simply insane for no particular reason ? :)
 
you need evidence to show you are insane :)
 
JBL
3:38 PM
Coming to the C++ lounge isn't enough by itself ?
Deadlock, why u no go away? :(
 
Hello, C++!
 
I have friends who made to senior managers in big corporations in their 20s, but they are neither happy nor rich ... weird
 
What is your preference? Work in a small company (<50) or in a big one (Microsoft, etc)
 
of course most people want to be senior in rank in a big corporations, the same way we want to graduate from he best universities with honours
I think we are trained to do so
 
3:43 PM
That's everything in the ABI, in an inline namespace so that code compiled against a future version does not link to the wrong one.
 
Personally if I could have my way, I want to be able to sell my company one day, make billions and go on with more interesting ventures :p
 
For the API I will just follow the semantic versioning thing. Maybe add a version macro at some point so you can #if it in your code and prevent mismatches.
 
the chance of that happening is less than 0.1% though :p
 
@Telkitty猫咪咪 Oh yeah? In my university a lot of us want to find some small companies, because you can have more responsabilities and the environment is more "fun"
 
But the plan for now is to only label a release as 1.0 once I get an API I think can remain relatively stable.
 
3:47 PM
Theres no way around the #ifdef for API versioning is there?
 
Since I will be using semantic versioning, I don't expect ogonek 2.0 anytime soon after 1.0.
@Borgleader No :/
 
sbi
@AlokSave That "fortune" of mine consists entirely in me looking old enough to be assumed to have enough experience to be in a position that includes some management work. You wanna trade that in for your youthful look? I wouldn't think twice.
 
sbi
@R.MartinhoFernandes I know this. In fact, I might have read it when you were still too young to do so.
 
Can anybody explain to me why notepad still is associated with .yml files?
 
3:49 PM
@sbi I could read at seven!
 
@Nic007 different people have different preferences, if your goal is to climb the corporate ladder, then obviously working for big corporation helps. But if your goal is to making innovative new products and making a greater difference, obviously that will not be the case unless you don't mind wait for 10 years or try your luck (somestimes that helps)
 
sbi
@R.MartinhoFernandes So? Is that more than 15 years ago? And if so, did you read English at seven?
 
@Nic007 Oh gosh who wants more responsibility kids these days
 
obviously vast majority of people working for money :p
 
sbi
@Nic007 The biggest company I ever worked for had ~100 employees, ~30 of them developers. This one now has ~75. I have worked for companies with <10 people, and worked many years for one with ~25 people. I prefer small companies.
 
3:52 PM
money & power : greatest tools to turn people into working ants
ants work all day so do people
 
Yep
 
birds sometimes gets to sing in the sun
 
sbi
Actually, I believe it's lack of wits that turns people into working ants. If you're too dumb to do smart work, you'll do a working ant's job. It's that simple.
 
domestic cats and dogs do nothing all day
@sbi but wouldn't smart people are able to use least time to get most out their time then use the rest on something else they enjoy other than work?
you can't tell me when you are paid and told to do something 50+ hours a week, you can be a very smart person
 
sbi
@Telkitty猫咪咪 I don't know where you live, but here, birds are very busy in the summertime, flying back and forth all day, feeding a whole load of kids. And when you think they sing, then that's them barking at (potential) territory intruder, or to chase away someone who wants to bang their wife. Not overly relaxed, IYAM.
 
3:55 PM
@sbi I make small companies. I join large ones then, almost immediately, they start to shrink. If I stay long enough, they fold. I cannot understand it at all.
 
sbi
@MartinJames Remind me to never recommend you a job position.
 
http://stackoverflow.com/questions/17452480/3d-engine-with-ssao
Pretty sure this should go on gamedev or something
 
sbi
@Telkitty猫咪咪 Many smart people enjoy what challenges their work provides, because they were smart enough to pick a job they like doing.
 
Dammit, can't find a decent YouTube video of Camponotus saundersi.
 
@sbi No - there's big money in it. Apple will pay me big bucks to work for Samsung.
 
3:57 PM
@sbi birds here sing a lot - partly because we feed them :p
 
sbi
@R.MartinhoFernandes I can't even pronounce that.
@Telkitty猫咪咪 When you think they sing, then that's them barking at (potential) territory intruder, or to chase away someone who wants to bang their wife.
@MartinJames LOL!
 
@sbi It's the latin name of a species of ant that explodes itself as a defense mechanism.
 
@sbi nope, apparently according to experts, they sing to announce their territories
 
sbi
@R.MartinhoFernandes I suppose it's a social animal? because otherwise it wouldn't make much sense.
 
all ants are, afaik
 
sbi
3:58 PM
@Telkitty猫咪咪 "...that's them barking at (potential) territory intruder..."
 
Arghhhh, it becomes hard to follow this discussion xD
 
@sbi sometimes, not a lot
 
sbi
@Nic007 You'd call this a discussion?
 
@sbi I don't know of any ant species that doesn't form colonies.
 
@R.MartinhoFernandes Wait... how is blowing yourself up a defense mechanism?
 
sbi
3:59 PM
@R.MartinhoFernandes Ah, so they are ants.
 
@sbi not sure
 
trust me I spend a lot of times observing the wild life, I have a youtube channel for it
 
@Borgleader It's not for defense of the individual. Ants don't care about that.
 
sbi
Sigh. I think I'll just give up on the kitten.
 
birds aren't dumb, the magpies used to sing for meals
 
4:00 PM
@Borgleader MAD.
 
sbi
1 min ago, by sbi
@R.MartinhoFernandes I suppose it's a social animal? because otherwise it wouldn't make much sense.
 
@sbi Yes, that's why I said it is "a species of ant".
 
@sbi Ohhhh now I get it
 
sbi
@R.MartinhoFernandes ...which I didn't see at all, even when I now just scanned over your messages to see if you had mentioned that earlier...
 
anyways time for bed ... l8rz
 
4:02 PM
@sbi What can I say? That you might need glasses?
 
sbi
@R.MartinhoFernandes Most of the act of seeing is done behind your eyeballs. Glasses don't help there.
 
That awkward moment you post a picture and a question and it is completely ignored :\
 
sbi
(Let's ignore him.)
:)
 
@Borgleader Nature is crazy sometimes.
 
@Pawnguy7 You've been here long enough to know how much we like answering questions...
Also, who cares if Np++ is associated with yml files?
 
4:07 PM
I do, because notepad screws them up.
And true.
 
sbi
@Pawnguy7 So, if you care, why don't you post your question at a place where you have a chance it might get answered?
 
I asked about how to do it in the first place here, and I got an answer then.
And I thought this was simpler.
 
Just nuke notepad?
It's pretty much useless.
 
sbi
@R.MartinhoFernandes Notepad indeed is. Notepad++ is actually pretty good, though.
 
@Pawnguy7 Do you mean Notepad++?
 
sbi
4:12 PM
@LightnessRacesinOrbit Have you looked at the picture?
 
@Pawnguy7 Eject Notepad to the curb...or further...and install Notepad++.
 
@Pawnguy7 I think we need to tell you again how much you should be using Notepad++.
 
have we mentioned Notepad is terrible yet?
 
His screenshot was of Notepad++
26 mins ago, by Pawnguy7
user image
 
4:15 PM
26 mins ago, by Pawnguy7
Can anybody explain to me why notepad still is associated with .yml files?
Note he's asking about notepad not NP++.
 
Look at the damn screenshot
 
Both, actually.
I set it to be associated with it.
 
yeah
 
But the origional notepad association is there still.
 
@Borgleader err...I missed the screenshot...
 
4:16 PM
@MonadNewb
 
the issue is that he set .yml to be associated with NP++ in NP++, but it's still associated with Notepad.
 
@Pawnguy7 What Notepad association?
 
@MonadNewb I don't see that he is.
6 mins ago, by Lightness Races in Orbit
@Pawnguy7 Do you mean Notepad++?
 
Notepad never runs on my machine.
Ever.
 
Basically, @Pawnguy7, wtf are you talking about?
 
4:18 PM
Anything that tries to launch it ends up launching vim instead.
 
@R.MartinhoFernandes I routinely use it for quick copy/pastes
 
@LightnessRacesinOrbit well...the words say "notepad"...apparently he doesn't know the difference.
 
@MonadNewb You're ignoring my quote. Nice
 
You need administrative rights to actually run the stock Windows notepad.
 
I know the difference between them...
 
4:19 PM
@R.MartinhoFernandes No, you don't.
 
@LightnessRacesinOrbit I saw the screenshot. Pawn's post said "notepad", though, which is what I saw originally.
 
@LightnessRacesinOrbit On my machine? Yes, you do.
 
@R.MartinhoFernandes Then your machine is very, very broken.
 
@LightnessRacesinOrbit No, it is not.
 
@MonadNewb because notepad still opens them.
 
4:20 PM
@R.MartinhoFernandes Yep, 'fraid so.
 
@LightnessRacesinOrbit Why do you say so?
 
@R.MartinhoFernandes Because I use Windows on about five machines (a mix of XP SP3, and 7), have administrative rights on only one of them, and can use "the stock Windows notepad" just fine on all.
Also, that would be retarded.
 
@LightnessRacesinOrbit I set up a group policy that runs vim whenever %windir%\notepad.exe would be launched. You need administrative rights to disable it.
 
@R.MartinhoFernandes Ah, on your machine.
 
3 mins ago, by R. Martinho Fernandes
@LightnessRacesinOrbit On my machine? Yes, you do.
 
4:22 PM
@R.MartinhoFernandes copy notepad to desktop, run notepad. ^_^
 
I think I have been quite clear about that.
@melak47 I also set up a hash-based policy. Anything that resembles notepad.exe will run vim.
 
I didn't grok that you meant your machine specifically. You appeared to be saying "huh, yes, you do, and I know that because that's how it is on my machine".
 
@R.MartinhoFernandes a what? :S
aw
 
It was your use of "you" all over the place
 
fine, wordpad then :p
 
4:23 PM
@LightnessRacesinOrbit Ah, ok.
 
So, anyway
vim sucks so your machine is still borked
 
yeah man, the only text editor worth using is Visual Studio
 
I use it to edit all my text files
 
Xeo
You also suck.
 
4:27 PM
I'm trying to decide if I should take that as sarcasm or truth.
 
I vote for sarcasm
 
Xeo
@R.MartinhoFernandes Coming from the Puppy, I'd say truth, but with him mentioning NP++ a few minutes ago, I'd go with sarcasm for this time.
 
hmmm
well, I obviously know whether it's truth or not, so place your bets
actually, it's sarcasm cause I use Notepad for throwaway notes and Notepad++ for PHP files.
2
VS for almost everything else, but that's pretty much exclusively C++ and Wide.
 
+1 internet points for me
 
4:32 PM
PHP files
 
yeah
dunno if you heard but codepuppy is now written in PHP
 
I thought it was static HTML.
 
I use PHP for some server-side include style thingies.
mostly because the only static HTML generators I can find are shitty command-line jobbies
 
Ever since Puppy couldn't afford Amazing Web Services he's been writing PHP
 
and PHP is, well, it's just easier to use.
2
 
4:33 PM
jekyll is nice.
 
wait till mr.hyde shows up ba-dum-tssh
 
so, I don't suppose MS will be updating the VS2013 preview with fixes, will they?
 
sides, that's pretty much all I used ASP.NET for anyway
@melak47 They might do a Preview 2 but might just go straight to RTM
 
@DeadMG they better hurry :(
installing VS2013 on my laptop broke 2012
 
lolwat
 
4:36 PM
lol
 
it no longer opens any kind of project/solution, saying "something went wrong, look at the ouput window". Which is empty.
 
@DeadMG Woah, giving in to the dark side?
 
@R.MartinhoFernandes Frankly, I just don't need anything else.
 
Xeo
@DeadMG Oh noes commandline~
 
why have some command-line crap when I could not
 
4:38 PM
Wait, PHP has a GUI?
 
nope
 
Then... what?
 
but all the command lines happen on the server that someone else dealt with
 
I feel like I'm missing something.
 
well, all I have to do is make a PHP file and then upload it to the server
it's super-simple
 
4:39 PM
You don't test it before publishing?
(FWIW all I have to do for my site is make a Markdown file and push it to GitHub)
 
considering that the only testable mechanic is "Include other PHP file"
as in, literally, one single line of testable code
and secondly, who cares if my website is briefly broken?
 
-4
Q: error program not working crash

user2474232I am certain that after my question i may have a number of high profile geeks disliking my post and a few hot shot programmers even closing my question and getting my account deactivated.But i will take my chances.Before everyone starts to criticize my question and doing all the stuff mentioned a...

Nuke it from orbit
 
12
Q:

Rob WTest to see if the title length requirement can be circumvented by appending lots of dots. How did a new question with a title shorter than 15 characters come to exist?

2
 
3
A:

SLaks​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​

This guy has won.
 
4:51 PM
does anyone else not see a title/link?
 
I dont
 
ohhhh lol
 
That's because there is no title.
 
Comment doesn't onebox.
hahahaha
Now it got marked as dupe and can be clicked..
 
4:56 PM
Hah, some question got migrated from Super User and got put on hold here almost immediately xD
 
@R.MartinhoFernandes lol
 
@Borgleader Some people like to migrate crap.
 
user142019
Hello!
 

« first day (991 days earlier)      last day (3951 days later) »