« first day (873 days earlier)      last day (4301 days later) » 

11:00
vim experts : Is using Ctrl-W + arrow to switch tabs considered ok? I use :vs and :split a lot
Xeo
Xeo
@R.MartinhoFernandes Yes, and I wanted to remap that. :/
Or rather, make a mapping for that.
user1357851
read up on vimrc, seriously ...
@Telkitty #soleet... NOT.
user142019
Why do I like Nicholas Cage on Facebook.
lol. "vim" "experts"
11:01
@BartekBanachewicz Ctrl-W is window navigation not tab navigation
@CatPlusPlus so when I do :vs it creates a window?
@Zoidberg could it be that you started liking him for a short while, but then gave up and moved on to other celebrities?
Long time no see, breddah
user142019
11:02
@BartekBanachewicz Well it doesn't look like a tab to me.
(The only reason I kept playing GTA4 was this slang)
user1357851
48 hours != long time
@BartekBanachewicz Not really
@Telkitty shush!
@TonyTheLion There is not problem using Singletons in multithreaded environments, but you need to be careful. — Inge Henriksen 30 secs ago
oh gawd :(
please kill me
11:03
Meh, you no fun.
@BartekBanachewicz I couldn't find the implementation, link?
Xeo
Xeo
Wait, Windows are splittings within tabs in Vim?
@Xeo umm... Do you know what :split does?
Xeo
Xeo
@BartekBanachewicz Nope :3
11:04
@Xeo try it then
Xeo
Xeo
I just did
Or rather, I tried :vs
:vs is :vsplit
obviously
I believe :sp works too, but I'm not sure
@sehe lol crashed :D
@BartekBanachewicz A tab shows a thingy on top.
11:06
@BartekBanachewicz Yes
So how do I create a tab?
:tabedit
> What other design pattern should I use (...)
lovely
It has a lot to do with threading: if the value of a variable is cached in a register in one thread, then it can never be seen from another thread. — infact 1 min ago
what?
Or :tabnew
Same thing
11:07
shiiny
I really need to buy a keyboard for my iPad
@CatPlusPlus I am running vim on it right now
I had no other *ix to try that out atm :P
Ewww, that must be horrible.
vim without a keyboard?
11:09
with an on-screen keyboard, obviously
2 mins ago, by Bartek Banachewicz
I really need to buy a keyboard for my iPad
Vim is really what I have always been looking for
hjkl navigation is so awesome
Xeo
Xeo
@bamboon I still like arrows better
@bamboon It should be really similar to WSAD :/
> CEO & Founder of Meronymy, software developer, & software architect. Specialities are C# & C++.
@LightnessRacesinOrbit & TonyTheLion What other design pattern should I use when I have a state engine that is supposed to be shared between multiple threads withing a single process? — Inge Henriksen 6 mins ago
See the irony ^ ? :P
11:13
@BartekBanachewicz You can remap it
I use UHJK
Well lowercase
Xeo
Xeo
So you remapped undo?
Do you keep your .vimrc somewhere in the cloud?
I'm too used to Ctrl+Z anyway
user142019
I don't like arrow keys.
hjkl is too ingrained for me to change it. I use mostly j and k anyway; for horizontal movement I tend to use broader movements (w, b, f, etc)
user142019
11:14
Requires too much hand moving.
user142019
And my pinky is not very good at hitting keys.
@Zoidberg you shouldn'y use pinky with arrow keys o.O
He's talking about hjkl
Alternatively he's crazy
user142019
@BartekBanachewicz then I'd have to move my hand and TME.
user1182183
How does this avoid data races?
@LightnessRacesinOrbit It builds upon a concurrent queue.
@LightnessRacesinOrbit Did you see that talk where Herb Sutter explains the concept?
I used execute-around to serialise logging before it was cool
All access to resource_ occurs in the same thread.
11:18
well, you're a cat
@CatPlusPlus I abused ranged-for for execute-around before it... nevermind, it will never be cool.
@R.MartinhoFernandes Oh, oops. Missed "for concurrent Queue from earlier blog post"
@TonyTheLion No. I do not listen to Herb Sutter.
@R.MartinhoFernandes It's pretty cool
11:19
@LightnessRacesinOrbit Rebel :P
LOL
> WARNING: Don't activate the texture before this point, or the video (ATI) drivers will explode.
@BartekBanachewicz I use Ctrl-PgUp/PgDn - I don't think I tweaked that
@DeadMG buy better karma. What version of Ubuntu is this? ubuntusatanic.org ?
@Zoidberg How'd miss that ^ by the way :)
Some very beautiful art work there ubuntusatanic.org/screenshots.php
Xeo
Xeo
@sehe Multiple tabs in the terminal intercept this. :/
11:26
sooo... who is creped out by scarification (¬_¬ take a wild guess)
@Xeo Don't do that then :) Crappy term emulators intercept way too much anyway
@Xeo What I recently said I'm so bored with Vim users worshipping hjkl as the killer feature. It's not.
@sehe 12.10.
> "I still don't use ijkl for movement." This is a very, very big deal. Having to move your hands over to the arrow keys is a giant time-waste. stereo-typical Vim bigot
@DeadMG Yeah well, what else, to explain why yours is gratuitously broken?
lol
user142019
@sehe wat
11:32
Another LOL
> WARNING: Implementing this technique in modern OpenGL is extremely difficult.
@Zoidberg Seems like something you'd like
user142019
@sehe wat
22
Q: What does `std::kill_dependency` do, and why would I want to use it?

R. Martinho FernandesI've been reading about the new C++11 memory model and I've come upon the std::kill_dependency function (§29.3/14-15). I'm struggling to understand why I would ever want to use it. I found an example in the N2664 proposal but it didn't help much. It starts by showing code without std::kill...

TIL
user142019
Why would I like Ubuntu logo with skulls.
user142019
I dislike Ubuntu and I dislike skulls.
11:33
well, tere was more to it than skulls, tbf
user1182183
new pf :p
@TonyTheLion Hey, upvotes my way, cool.
user1182183
just not visible here
@R.MartinhoFernandes yes :)
user1182183
xd
11:34
@CatPlusPlus Yeah I keep telling him as well.
@GamErix y u spelling mistakes?
@Zoidberg skulls help
user1182183
@TonyTheLion yeah I'm a human :P
I have to use WHEELS_UNREACHABLE; too often with that ranged-for abuse. I don't like that.
Pretend you're doing Rust!
11:36
> a freestanding implementation
what is that?
@TonyTheLion without OS
e.g. ATMega embedded
@TonyTheLion see tag wiki
no threads, no nothing
user142019
Why no threads.
Threads require OS support
user142019
11:37
You can implement threads in a freestanding environment.
I would rather ask Y NO std::function? /cc @R.MartinhoFernandes
> Implementations should ensure that all unblocked threads eventually make progress. [ Note: Standard library functions may silently block on I/O or locks. Factors in the execution environment, including externally-imposed thread priorities, may prevent an implementation from making certain guarantees of forward progress. —end note ]
Xeo
Xeo
@BartekBanachewicz Or "Y NO std::tuple" :)
is this saying that it wants things to always make progress, but really, it can't be guaranteed?
@Xeo uh. That's even more dumb
> Lance Joseph Williams, inventor of mip-mapping.
11:43
looks like Bjarne
lol@wikipedia
looks ugly
@TonyTheLion It means that an implementation can only guarantee lock-free if the OS doesn't fuck them over.
did you both miss the joke?
for example, in an RT environment, the OS may schedule another thread(s) indefinitely.
the Standard has to accept that the implementation can't necessarily control these factors.
huh
11:45
@DeadMG right, makes sense
I ran my program with gdb and ... nothing happened.
what's nothing? no segfault?
@DeadMG It's fixed!
no segfault, no output, no nothing.
GDB just spits back the arguments at me, informs me that it's using thread debugging, and then returns.
@BartekBanachewicz amusing
Have you run the thing?
It does sound fixed to me.
nope, definitely segmentation fault
Bundle gdb with the program.
I'd give Valgrind a try.
11:49
@LucDanton What's that?
0
Q: What is a consume operation in the C++11 Standard?

Tony The LionI have seen that this question on acquire, release, consume, etc exists, however, no answer really defines what a consume operation actually is. I wondered if someone can explain what this is as it is used in section 1.10 of the C++11 standard?

@DeadMG A joke.
maybe some of you nerds know what it actually means?
The debugger you're using, but that's not important right now.
@TonyTheLion I've heard of acquire/release/relaxed/plain acquire-release/SC but never consume.
11:51
well, me neither, which is why I ask
also, apparently, no stack for a backtrace (?).
ugh
so did it or did it not segfault
Yeah I'll start giving help beyond the obvious when you start copy-pasting the exact incantations and error messages. Why are you being such a noob? You should know better.
@TonyTheLion It's just ssome weird thingy.
11:54
@R.MartinhoFernandes oh yea, interesting definition, "weird thingy"
@BartekBanachewicz tagged it
Not C++, but
0
Q: Body parts in response of wsdl is nil

Sourabh ShekharI had generated stub code from wsdl http://service.taxdatasystems.net/TdsBasic.svc? WSDL and used in ios but I am getting body parts null.

@LucDanton Oh, right.
@TonyTheLion so robot just took it down
I don't think it's language lawyering.
gdb from terminal, file filepath from the gdb prompt, and then run args from the gdb prompt
11:56
Hello Sir!!! (Joachim Isaksson ) i am providing you my project link on dropbox link and my emailid is [email protected] please check it . Thanking you in anticipation — Sourabh Shekhar 4 hours ago
@BartekBanachewicz probably more appropriate tag, actually
then it spits back the arguments and gives output.
it should really be a defined term
I did build with -g.
@BoltClock WTF is going on there? Is that spam?
[Inferior 1 (process 12578) exited with code 020]
This means it return 020; somewhere, not crash.
> Point Light Casting a Shadow
@R.MartinhoFernandes I think somebody's trafficking human organs
In theory FOV of 360 degrees should work
I wonder if there are any reasons for 360 degree frustum not to work
@R.MartinhoFernandes Huh. That's unfortunate.
I had a problem with the debugger on Windows as well.
12:00
It should give you a LOC
Also, your code is clearly inferior.
not mine
Xeo
Xeo
Okay, so I just played Vim Adventures. Lol'd
there's a game about vim?
12:05
must.work.must.not.click.
aaaahh the temptation
@LucDanton your ghci sanity-check regarding let helped: with your comment, I found that it was the copy-paste pretty-print single-quotes in the pdf that was killing me (was not 100% obvious to a Haskell noob like me) - ty
why did you post it when I am actually doing something :<
@BartekBanachewicz trust me. It's not that tempting. If you already know Vim. It's mostly annoying that they keep you from using the good keys until you somehow jump through hoops. And you've got to pay, IIRC (or at least register)
uhjk is still better than hjkl
@CatPlusPlus up,left,down,right?
12:09
Yes
Xeo
Xeo
@sehe For anything past lvl 3, yeah
@Xeo I got bored/annoyed way before that point
@sehe > Only licensed users are allowed to save and restore games. Please login first.
Y :<
meh, I should just use it more
$ sudo apt-get remove gedit
Wow. @R.MartinhoFernandes I forgot that tag wiki edits also give 2 rep to me :)
lol, playing vim games
@ManofOneWay hah, ok :)
12:12
@BartekBanachewicz gedit... not the sharpest knife
@sehe has the important property of me being able to use clipboard in it
@BartekBanachewicz that's a "you" property :)
I want to confess... Sometimes I close vim and launch gedit just to copy/paste something
@BartekBanachewicz :o
"+y, "+p, etc
12:13
Or :%y+ (:%>|%y+ for SO)
I have to check if it works with my Fedora clipboard
Alternatively, set clipboard=unnamed and get the default to be the clipboard.
@BartekBanachewicz It's been asked/answered only 738 times on SO
Xeo
Xeo
:w !xclip for copying everything. :)
12:14
I am going for launch lunch
@Xeo raunchy runch
@sehe I admitted I suck, right? :P
Well, I compare them later in the code and there are bunch of errors. So I've tried to output it and yea.. I get those symbols. — RnD 1 min ago
When told not to use visual inspection for diagnosing encoding troubles...
"Yeah, I got a bunch of errors, so I tried visual inspection anyway"
@Xeo Sucks
Xeo
Xeo
@CatPlusPlus Vim on my CentOS vbox doesn't have clipboard enabled, and I'm too lazy to enable it somehow.
12:17
Your CentOS sucks too
Xeo
Xeo
I won't deny that.
@R.MartinhoFernandes people don't know what bytes to expect, I'm afraid. They have a notion of "it works" but not of "it's correct" in the face of UNICODE
And I understand them
0
A: What is a consume operation in the C++11 Standard?

Tony The LionApparently, after some searching around, a consume operation is a memory operation where a value read from memory is used after the load in several operations, and creates a data dependency. Being able to order operations without introducing explicit memory fences, is what the apparent (from my ...

I answered my own question
I expect to be challenged, where my understanding is wrong
12:36
ffs @TonyTheLion
code tags are not for highlighting!
the only time non-code in code tags is acceptable is for quoting in comments
@sehe I didn't even get a "WTF are you talking about?".
> I'm pretty new to c++ and lower-than-java-level programming, so excuse me if my question is noobish.
hahhaha
user1357851
lower-than-java-level programming?
user1357851
interesting
@sehe yeah there's a grok barrier that's both understandable and annoying
@R.MartinhoFernandes 41 Qs, 0 As
user1357851
12:39
is C# then, considered lower than Java or on the same level as Java?
@R.MartinhoFernandes Which puts the OP solidly in the realm of UNICODE tourists: they admire the artefacts, but don't have a clue what it is about
@Telkitty the same
user1357851
I thought so too
C# has a lot more abstraction power than Java.
user1357851
although some say C# is an extensive of Java, kind of ... like C# is based on Java
user1357851
12:43
@R.MartinhoFernandes in what ways?
Optimising JavaScript is so much fun
C# is way more expressive than Java
user142019
Everything is way more expressive than Java.
user142019
Even PHP.
@Telkitty operator overloading
Java is meant to be easy, not powerful
Scala is much better though
user142019
@Telkitty I'd say C# is higher-level than Java.
12:48
And for you Haskellers Scala should be closer than C#
TIL you cannot declare a template with default template arguments, and then define it and write the default there too, even if it is the same.
user142019
C# is Java++.
Scala is meh
user142019
I have never used Scala. I do want to try it though.
@R.MartinhoFernandes Ye, I find that saner than default function parameters.
12:52
@Telkitty Even though there are other things, the whole LINQ machinery should be enough to make a point.
@Xeo That was fun and cute.
@CatPlusPlus I wouldn't expect anything else from you
I'm wondering what is the intended public. If it's more than just total novices, I might just buy it.
Xeo
Xeo
@R.MartinhoFernandes Eh, I thought you weren't allowed to do that with default function arguments too?
@LucDanton have you played through all 3 free stages?
user142019
12:53
The main difference between Java and C# is that C# is not designed for (and by) morons.
that's surprisingly accurate for @Zoidberg
Xeo
Xeo
@Zoidberg s/for/by/?
@Xeo no, why? It's quite hard to design a language usable by morons
user142019
PHP!
PHP isn't usable at all
12:54
PHP is an accident, it wasn't designed
@BartekBanachewicz Yeah fuck you
also it wasn't designed
user1357851
@R.MartinhoFernandes LINQ is high level, more sql like. Although I am not sure high level = abstract if so sql can be said to be very abstract
@CatPlusPlus boy, that escalated quickly
user142019
@BoltClock Oh of course, I forgot. :)
12:55
@LucDanton Hrmmm. I thought it was illegal to respecify the default arguments on definition if the declaration specifies it? Though, there are the cases of overriding methods taking other defaults (evil) and the 'edited headers' catch
Profiling JavaScript is very fun
user142019
@Telkitty more abstract is usually higher level.
@Telkitty What else would it be?
user142019
It means you don't deal with all the details.
@BoltClock I refuse to buy into that excuse. If it was an accident, they could have stopped it. It was an accident that is being protracted on purpose!
12:55
@Telkitty Yes, SQL is very high level.
> I am not sure high level = abstract
user1357851
@R.MartinhoFernandes would you say PHP is abstract?
user142019
That's why you write abstractions; you don't want to deal with all the low-level crap.
@Telkitty don't bring PHP into that discussion
12:56
@Telkitty I'd say PHP is abject
@Telkitty I dunno PHP. Suckage is orthogonal, if that was your point.
Art is ~~abstract~~
user1357851
PHP is high level, thus using your logic, PHP is abstract
Do you even speak English
user142019
@Telkitty that doesn't have to do anything with quality.
user142019
C is also terrible, yet very low-level.
user1357851
@CatPlusPlus enough to piss you off
Again, I don't know PHP, so you can say whatever you want about it.
user142019
And Java is terrible, yet not very low-level.
12:57
C is terribru
High-level/low-level refers to the level of abstraction
@Zoidberg Java is still much better than C
What else would it refer to, how high the creators were
4
user142019
I'd prefer C over Java at any time.
12:58
I think I should have phrased that I like the rules for default template parameters better than the rules for default function parameters.
@Zoidberg no way. C sucks way more.
I try not knowing too much about either though.
user142019
@BartekBanachewicz See my language quality chart. It doesn't.
user142019
My opinion will not change!
Shut up with this "what's more terrible" shit already
2

« first day (873 days earlier)      last day (4301 days later) »