« first day (600 days earlier)      last day (4333 days later) » 

11:00 PM
ARghgh jkghd j. I'll never get this crap working. I could use an extra set of eyes...
looks around inconspicuously
 
Sleep well (there's always a smartphone for when the pc is shut off)
 
So, no one up for looking at ugly TMP code for me looking for a bug?
You guys suxorz. I'm going to bed, then.
 
@RMartinhoFernandes What language?
 
Ell
Hmm
 
@Drise C++. What other language has ugly TMP code?
 
11:06 PM
Can someone approve my edit? stackoverflow.com/questions/10940940/…
The cap's is killing my eyes
 
0
A: The complete name of the double colon in C++

R. Martinho Fernandes What is the complete name of the :: symbol in the last 2 lines? It's "scope resolution operator". Does anyone know the answer? Yes. Is this the weirdest question you ever been asked? No.

 
@RMartinhoFernandes I'll look, but no gaurantees
 
hmmm
for a dynamic module x, whose functions depend on a module y, I should allow it to just specify that, right?
 
It's the tuple_cat that is failing.
@DeadMG That'd be awesome.
And now I'm really going.
 
Später.
 
11:09 PM
hmmm
 
@RMartinhoFernandes Aww, they ruined my answer with the edits to the question.
 
but then I'd have to also deal with things like, what if y version 1 provides the necessary stuff but y version 2 does not?
I should just say "Must have Y version Z".
 
Man.
 
Allow specifying ranges.
 
@RMartinhoFernandes Sorry, was cooking. Still time to take a look?
 
11:10 PM
"version Z or less" is nice.
2 mins ago, by R. Martinho Fernandes
I'll just leave a link here. https://bitbucket.org/martinhofernandes/wheels/src/f4d7de03d2d3/include/wheels/t‌​uple.h%2B%2B
 
@RadekSlupik don't waste time, I'll do that for you
 
Ell
Or at least version Z
 
@RMartinhoFernandes That only works if you know the range beforehand- i.e., it's not the current latest version.
 
@LucDanton Yeah, sure.
 
Ell
Or any version that follows interface x
 
11:11 PM
@DeadMG At least "version Z or less".
 
@sehe What?
 
@RMartinhoFernandes Mmmh, does that mean I need to check out your stuff to debug?
 
@LucDanton Well, the problem as I narrowed it, is that the tuple for tuple_cat is generating a bad layout.
 
@RMartinhoFernandes Maybe I'll just allow both. MinVersion and MaxVersion, set either to 0 for unbounded.
 
@DeadMG You can also allow version Z of some package to say "no breaking changes since version Y".
 
11:14 PM
@RMartinhoFernandes That's a smart move.
 
@LucDanton Anyway, I really need to get some sleep now. I don't mind if you don't want to go through the hassle of checking out and all that. I'd just like to be sure it's not one of those things that hide in plain sight and you spend hours on it looking in the wrong places.
 
right
need to distinguish between a namespace and a module, really
 
Ell
11:32 PM
What is the difference?
 
@Ell usually a namespace can be spread across several modules, and each module can add to lots of namespaces
so: one is where the code is located physically, one is where the code is located logically.
I like that summary. self+1
2
 
Ell
So module is physical, namespace logicalk
?
 
@MooingDuck Thanks for earlier today. I'm at a whopping 414!
 
@Drise 57 rep from one answer in a matter of hours.
 
83 total today
 
Ell
11:36 PM
I havent seen sbi recently o.o
 
he was on earlier
 
at the same time as you, I think
 
Gosh. My tests sucky boatloads if they didn't catch this.
My layout map is completely reversed.
 
Ell
Oh maybe I was multitasking
 
11:37 PM
@RMartinhoFernandes O.o
 
It maps 0->10 when it should map 10->0, and so on.
 
robot
didn't you spend like, the last two hours saying you're gonna go to bed?
2
 
I can't sleep with bugs crawling around my code.
 
@Drise if you have questionable or missing morals, you can edit/comment every couple hours to keep the question active, and milk the upvotes.
 
@MooingDuck haha. Don't tempt me.
 
Ell
11:38 PM
Then you will never sleep
That was just to sound cool btw, not saying anything about your code!
 
@Ell That's a good thing!
 
Ell
I'm trying to think of the name of a piano piece. Something that the heart wants. Hmm
 
Sleeping is a waste of time.
@RMartinhoFernandes Use a bug tracker!
 
what the... I did a google search for "Mooing Duck" (to see how much personal info on me is available), and the first hit is some programmer I've never heard of O.o He's new, I do these searches about once a year.
 
If I search "daknok", I get pictures of roof ridges.
 
11:41 PM
@MooingDuck The first result for my name used to be: villagechief.com/mot/Martinho%20Fernandes.htm
 
unrelated: "mooing Duck" returns nothing about me aside from lots and lots of SO.
@RMartinhoFernandes You're a master of terror!
 
@MooingDuck He's you from parallel universe.
> Wilfred the Mooing Duck Chick | Facebook
 
@MooingDuck You can find all sorts about me by Drise.
4
A: std::map not behaving as expected

DriseAs a solution to my comment above, the C++ version of the code you presented: typedef map<std::string, int> wc; int main() { int c; string cc, nombre; wc m; std::cin >> c; while (c--) { std::cin >> cc; std::getline(std::cin, nombre); ...

 
@Drise not with that word alone, but I know where you live which helps
 
Searches related to Drise
drise minecraft
That's accurate.
lol
 
11:45 PM
google is convinced I can't spell your name
 
@RMartinhoFernandes Can't find anything obvious although my mind reels in horror when it comes to checking the logic from position_of_impl.
 
Lol.
 
@LucDanton It's not that horrendous.
At least if you know the purpose (position_of is a terrible name).
 
Anyone up for explaining why keyboard locks suck?
@CatPlusPlus - I find scrolllock very useful, in several applications. What problems CL causes for you? — ldigas 30 mins ago
 
@MooingDuck I searched for you on SO and it said you had 33 rep on the search page.
 
11:46 PM
WTF does ScrollLock do anyway?
 
@Drise today
 
Absolutely nothing.
 
Erm.
How can that be useful.
 
It turns the led on.
 
Unless you count LED change.
 
11:47 PM
Oh, this week.
 
@RMartinhoFernandes locks the direction of the scrolling so you can toggle between vertical and horizontal if I recall
 
@MooingDuck o_O
 
@MooingDuck Wait, what? Are you saying it affects the mouse?
 
@RMartinhoFernandes No, that was before mice
 
> In the original design, Scroll Lock was intended to modify the behavior of the arrow keys. When the Scroll Lock mode was on, the arrow keys would scroll the contents of a text window instead of moving the cursor. In this usage, Scroll Lock is a toggling lock key like Num Lock or Caps Lock, which have a state that persists after the key is released.
 
11:48 PM
It's pre-everything.
 
It's a mistery button
 
assert("like your mother?");
 
Mac keyboards once had only one key, and it was Scroll Lock.
 
hmmm
 
Starbait!!! No!! I will no... oh fuck it.
 
11:49 PM
stuck in a bit of a pickle
 
Did you try a banana?
 
no
 
lol
 
I don't think it can help in this specific regard :P
 
Well, bananas > pickles.
 
11:50 PM
I think the brine would cause irritation. Best use a cucumber. Or carrot.
 
Yaaay! Das keyboard!
 
I've been thinking about specifying templates and stuff for use as part of interfaces in binary interfaces- for example, helper functions and such
 
<3
 
I considered buying Das, but it's helluva expensive.
For a keyboard.
 
"Helluva"? The Euphemism is strong with this one.
 
11:51 PM
but I've come to the eventual conclusion that I have no reason not to simply specify the interface as exactly the Wide source code which produces that interface and scrap the import thing algother
 
@RadekSlupik If I search for Maxpm, Google corrects it to Maxim. :\
 
@Maxpm A fine thing to search for, if I recall accurately what the contents of Maxim usually are.
 
If you search for my full name, you get dogs and Italian chairs.
 
I'm pretty sure my keyboard cost somewhere around 5$. And it came with a mouse.
 
11:54 PM
Wow.
Is it any good?
 
Das is 130$.
It's just 2 years old, but I don't have any problems.
 
Totally worth it.
 
My keyboard is 70$ plus a 20$ mouse
 
Well, it's filthy.
 
I prefer laptop touchpads. Call me crazy.
 
11:54 PM
But that's not relevant to the price.
You're crazy.
 
@Maxpm What's so special about Das?
 
If it's filthy, it means that you use it very much and if it still works it's a good keyboard.
 
It's mechanical.
 
@RMartinhoFernandes It looks, sounds and feels badass.
 
11:55 PM
Supposedly 400% more awesome and solid.
 
@CatPlusPlus I'm not a keyboard technician.
 
Mech keyboards are ballin.
 
Clickety clackety.
 
Heard of IBM model M?
 
That's what the Das is based on.
It uses its switches, I think.
 
@CatPlusPlus Oh.
That's desirable?
 
A mechanical keyboard uses actual, physical switches underneath the keys to determine when the user has pushed a key. Press a key, and you press its switch down. Press the switch down, and the keyboard sends a signal to the PC telling it that you pressed that key.

At first, this design doesn't sound so remarkable. After all, you already have a keyboard, and you can tell when you've pressed a key: You push one down, and a letter pops up on the screen. Take a second, however, to think about how you know you've pressed a key--it's probably because you've pushed the key down as far as it will
 
There's a quiet version. It's 10$ more expensive.
 
Quite, actually.
 
oh, no, wait
now I remember why I did the import libraries and shit
 
11:57 PM
I'm using the quiet version. It's actually not that quiet. >_>
 
kekeke
 
@Drise "The Ninja gave me a far more satisfying "thunk" noise when I pressed the keys. It's hard to pinpoint exactly what felt so good about the Ninja, except that when I tried to go back to the Dell keyboard (or any other standard rubber-dome keyboard), it felt mushy."
Fuck that, that's not really helpful at all.
 
To be fair, I rarely use standalone membrane keyboards.
 
It even says "I have no idea what I'm talking about" in it!
 
So I might not appreciate it as much as someone who does.
ALSO, N-KEY ROLLOVER SO I CAN HOLD DOWN BOTH SHIFT KEYS AND STILL TYPE.
 
11:58 PM
I really enjoy the wired and wireless illuminated keyboards from logitech. They type very well, and well shit.. they light up.
 
...with third hand?
 
@Maxpm That's a feature?
 
@RMartinhoFernandes Yes. xD
 
@Maxpm THIS WORKS OR ME?
 

« first day (600 days earlier)      last day (4333 days later) »