« first day (1413 days earlier)      last day (3537 days later) » 

3:00 PM
@R.MartinhoFernandes asinus in tegulis? Merda taurorum? Desinas ineptire!
 
user3010322
q.h
 
user3010322
my best header yet. :D
 
SOH.h
 
@R.MartinhoFernandes pears taking access of jobs? :P
 
3:11 PM
@thecoshman Damn pears, coming here, taking our jobs
 
@jalf Yeah - they should be tied up in a conference.
 
@MartinJames or poached in wine
 
@thecoshman Nice:)
 
Xeo
Hm. If I'm mirroring my screen to my TV, I should also be hearing sound, shouldn't I?
 
@Xeo no
how are you connected to the tv?
 
Xeo
3:15 PM
HDMI
 
I don't think it automatically sends sound over hdmi
(assuming your on windows)
I think it's fairly easy to set it though
 
Xeo
ye
 
user3010322
Should be as simple as setting it as the default output for sound, no?
 
For me it did that automatically.
Kinda silly, given that none of the screens has sound output capabilities.
 
Ell
Anyone used antlr here before?
 
3:19 PM
I did a semester-long project in university with it.
 
@Xeo For me HDMI sends the sound through too
 
That was back when ANTLR3 was new.
 
Xeo
Yeah, I just checked - I could set my TV as the default output. But I want sound on both my headset and TV
 
Good luck with that.
 
Xeo
:(
 
Ell
3:21 PM
I think ~ is the antlr equivalent of ebnf's - but I'm not so sure
 
Notice: /Stage[main]/Main/Apt::Source[elastic]/File[elastic.list]/ensure: created
Error: /Stage[main]/Apt::Update/Exec[apt_update]: Failed to call refresh: Command exceeded timeout
Error: /Stage[main]/Apt::Update/Exec[apt_update]: Command exceeded timeout
Wrapped exception:
execution expired
Notice: /Stage[main]/Main/Package[elasticsearch]/ensure: ensure changed 'purged' to 'latest'
Good job Puppet
Half of the state update didn't work but you sure did install the package
 
@Xeo It's possible, but AFAIK it requires application support.
 
@Xeo You can do that with VAC (set vcable as the default output, plug it into both real outputs)
 
Xeo
@CatPlusPlus The latency sucks with that :/
 
Also why does fucking apt-get update take 500 seconds
Goddamn Debian
 
3:25 PM
@CatPlusPlus That thing should be built-in :(
 
A lot of things should be built into the stupid sound system
 
Xeo
Meh. Setting TV as default sound output, and turning the TV off makes the sound go back to my headset. So far, so good. Simply switching channels away from my duplicated PC screen doesn't :(
 
Are you writing XML parser
 
Ell
@CatPlusPlus I'm generating one :P
 
3:31 PM
stop
 
Ell
the other java xml parser suck
you have to give them a file at a time
I want to just feed data to it
 
You mean you're merging several XML files together?
 
He's trying to parse XMPP stream in a dumb way probably
 
Ell
3:33 PM
^this
 
Just parse node at the time
 
Or use SAX
Any XML parser can do that
 
In-house one won't be any better :v
 
3:34 PM
True.
You need to be crazy to think writing another XML parser is the better choice.
Or not know XML.
 
ITT Ell is crazy.
 
@TonyTheLion s/IIT //
 
I DONT LIKE THIS FUNCTIONS NAME I WILL REIMPLEMENT THE WHOLE OS
 
@DirkEddelbuettel did you miss the difference between build-dep and install perhaps? ! I know it's subtle, but that's also the whole point of the answer. — sehe 1 min ago
Reading is hard
 
@CatPlusPlus Because why the fuck not? :P
 
Xeo
3:37 PM
damn
 
@TonyTheLion ...and what could possibly go wrong?
 
Xeo
the reach on my wireless x360 controller is just a liiiittle bit too short to reach my couch in the living room.
 
Ell
@CatPlusPlus I am using sax
 
Xeo
Continuous reconnects :(
 
Then double :psyduck:
 
3:38 PM
Write Software - What could possibly go wrong?
 
@TonyTheLion Nothing at all. It always does exactly what you tell it.
 
Because SAX is an event stream and it doesn't have a concept of a file or a root node or anything that would stop you from just streaming data at it because that's what it does
 
The sarcasm is strong with this one
 
@TonyTheLion No sarcasm at all. Are you saying it sometimes doesn't do what you tell it?
 
Xeo
3:40 PM
You told it to exhibit UB!
 
@TonyTheLion What do up-boats have to do with it?
 
Ell
@CatPlusPlus I just couldn't figure out how I fed it data :L
And still can't.
 
butte
 
3:47 PM
@Ell SAXParserFactory.newInstance().newSAXParser().parse(stream, handler)?
 
Xeo
Man, why is audio routing so primitive
 
Ell
@R.MartinhoFernandes I want to feed it data asynchronously though
only parse when there's data available
so I don't want to use a stream
 
Xeo
Anybody here know a quick way to switch default output devices?
 
Ell
@Xeo on windows? The only way I've found is changing the default device :S
 
user3010322
You mean not through the right-click, Properties on the Audio Thing?
 
user3010322
3:49 PM
There is no way. Welcome to Windows.
 
@Ell Don't worry, it doesn't parse when there's nothing to parse.
 
@Dirk sigh. Would it be too much to ask if you could please check things first? (You can read the documentation or just try it. It's not like it takes a lot of time). build-dep is also not the same as source (which you seem to describe). Yes it looks at the dependencies listed in those deb-src packages, but it just installs those dependencies (which, as I said are like completely unchanged) and it does not get any boost 1_54 specific resources. At all. Thank you very much. — sehe 12 secs ago
 
Xeo
:<
 
Nov 21 '13 at 17:54, by Cat Plus Plus
stupid primitive audio system with no app routing
 
^ Reading is really hard
 
3:50 PM
There are adapters from NIO to streams that you can you use, I guess.
 
Or perhaps it is the thinking part that is so hard.
 
Ell
I've tried looking for adapters but I couldn't find any. I'll try again though
otherwise I think it just blocks. But I'll check
 
Xeo
@CatPlusPlus why is everything so primitive
 
Though I guess you can't do it without nonblocking IO.
 
Ell
@R.MartinhoFernandes that's why I was generating a new parser :D
 
3:51 PM
Because everyone is bad at programming
 
@Ell Which is still insane.
 
Ell
@R.MartinhoFernandes but justified!
 
@Ell Still not.
 
Ell
but I can't do what I want to do :(
 
Xeo
meeeeh
 
3:54 PM
@Ell Wait, is what you want to do "parse an XMPP stream with javax.xml.stream in a non-blocking fashion" or "parse an XMPP stream in a non-blocking fashion"?
 
Ell
But I wanted to do it with scala because I want to play with it a bit
oh wait
gah I keep misreading your question :P
@R.MartinhoFernandes yeah the latter
I wanted to try with scala because it has pattern matching and I'm sure that's probably useful somehow
and I don't use it often and I thought it'd be a good opportunity to learn
 
Except you... don't? You want to read from network with async not parse
 
@Ell Wait. Are you saying what you want to do is parse xml?
 
Ell
@sehe Yes :P In an asynchronous fashion
@CatPlusPlus Right. But I can't do both with java
the java parsers only accept blocking streams
 
3:57 PM
@CatPlusPlus There's no way to feed the chunks you get asynchronously into the standard SAX parser without blocking.
 
Maybe with NIO2.
Probably not.
 
Just be smart. There are libraries that consume streams. And yes, this precludes full XPath support (it requires random access) but you should not roll your own
 
@sehe A library that consumes streams will block.
 
And what you really want to do is use a goddamn XMPP implementation because it's a dumb thing to pick to learn a language
 
3:58 PM
You can write your own stream and CPS your code into it, but good luck.
 
I wonder whether boost asio has streams that automatically async wait on buffer underfflow
 
Ell
@R.MartinhoFernandes I tried that
then I read that scalas shift & reduce support is being deprecated next release :L
 
@Ell I'm p sure I've seen several projects doing this
 
Ell
I could manually CPS I guess
 
NOOOOOOOOOOOOOOOOOOOOOOOOO
 
3:59 PM
lol
 
Should've tagged that with not-serious-at-all.
 
Ell
@CatPlusPlus They all use dynamic languages and bleuughh I hate using lua it's terrible for me
 
@Ell BTW, what platform is this? I'm positive that Casablanca (C++ REST by Microsoft) has async streams with the magic
 
@sehe It's Java.
 
@Ell What
 
Ell
4:00 PM
@CatPlusPlus I have been using prosody
 
@Ell E.g. the Yandex guys used a Spirit parser by using stackful coroutines.
 
@R.MartinhoFernandes Oh. Doesn't Java 8 have the goods? Mmm. I don't really care enough to figure it out.
Java Condolences seem to be in order.
 
Right, of course NIO.2 doesn't help.
 
Xeo
wtf. Codeplex, gimme normal .exe download, and not your ClickOnce bullshit
 
4:02 PM
Still giggling at "New I/O 2".
 
implementing the java stdlib must be hilarious.
 
It's the New 2 !
 
@Xeo Sounds like the choice of the users. You need manifests and shizz for ClickOnce.
 
so many deprecated APIs
 
@Puppy No, not really.
None of IO, NIO, or NIO.2 are deprecated.
And none of them supersedes any other.
 
Xeo
4:03 PM
@R.MartinhoFernandes Ah, apparently. Fuck that.
grr
 
@Puppy So it's worse than you thought.
 
yeah, I was just thinking that
 
Wonder if the date/time JSR was already released.
> The main project completed when Java SE 8 was released.
Ah, there.
 
whoa, my website got restored 10 seconds after I paid
 
Oh look - while I was eating my fish & chips, an outbreak of C++ interfered with the conspiracies, lies etc!
 
4:08 PM
@Puppy At least they keep trying, though.
 
@MartinJames Feed mutt.
 
@Puppy :) Mutt has had his Wag and a knuckle-bone.
 
lol
 
lol I love how IW made a CoD offer on Steam and wrote "50% off everything (excludes Advanced Warfare [i.e. their latest game])" in big letters
 
selling your back catalog digitally is big money now
 
4:16 PM
CPR-style code saves lives.
 
Ell
oops. I said shift & reduce earlier. I meant shift & reset
 
Nobody remembers that
 
hungry
 
Xeo
... great success. SoundSwitch tells me it changed the default output device to my TV, but in fact hasn't changed anything
 
TURN UP THE VOLUME
 
Xeo
4:29 PM
manually switching to my TV, and then switching back to my headphones works with SoundSwitch
bloody hell
WHY CAN'T THINGS JUST WORK
 
bin laden conspiracy
 
user3010322
@Xeo I've wanted to write a re-routing thing that could create a fake sound device you always default to, and then have all applications use that fake sound device.
 
user3010322
Then I would, under the hood, forward any calls to the real sound device.
 
user3010322
But I have no idea how to do that.
 
@dolan bacon lettuce cheese
 
Xeo
4:37 PM
@ThePhD Audiorepeater, Virtual Audio Cable
it does that
the problem is latency
 
user3010322
Well, the idea was not to copy the bytes and set up a buffer like Virtual Audio Cable.
 
user3010322
The idea was to literally create a shim device that would forward API calls based on an application or process ID.
 
Xeo
when I play SpeedRunners, there's a felt 0.5s latency between doing something, and getting the audio feedback
 
@dolan quack smacking chew sling
 
@Xeo you're soooooooooooooooo negaaaaatiiiveeeeee
 
Xeo
4:42 PM
lol
 
@Xeo You could probably detour winmm and present a different 'default' device based on the calling process
But researching this was too :effort: and dunno how viable that is
We should maintain that project idea list more
 
Xeo
@CatPlusPlus Hm
 
@milleniumbug why 32bit?
 
Oh cool, functools.singledispatch.
 
4:46 PM
@PolymorphicPotato Actually that would make a great sandwich
 
I hope I'm seeing this wrong, because apparently MSVC is ok with me printfing a duration through "%lu".
 
@R.MartinhoFernandes "You can't tell me what to do!"
 
(And yes, I'm purging the printf)
 
@dolan Add a mixture of mayonnaise and hot sauce.
 
Oh well. I think it's a very succinct way. And the fact that you didn't care to expand on "etc" lends credence to my view :) Also, you're free to point him to your pre-built version of 1.49 in your own answer. I wouldn't know where to find it. Finally, he's talking about compiling. No one said anything about tossing things into /usr/local. Me, myself, I never locally deploy the locally built packages. I just use them directly from my working tree. [In short, the question was about compiling Boost, nothing was asked about good practices for managing development environments.] — sehe 1 min ago
It's things like ^ this that take away the joy in helping others. You spend more time battling ignorant, stubborn nay-sayers over matters of taste than it would take them to actually supply their "competing" answer.
 
4:47 PM
@PolymorphicPotato Mayonnaise and cheese are you out of your mind
 
Remove the cheese.
 
@sehe Hello and welcome to the internets, would you like a tour guide?
 
Ugh, you're a mayo person.
 
Yummy mayo.
Flemish fries with lots of mayo.
 
@dolan every once in a while, a person has to be baffled again, I suppose.
Maybe it's a memory vs. age thing
 
4:50 PM
@sehe are you sover or inevriated
 
The point is that we could (and I think we should) have told him to install the pre-built version of 1.49 if he really wanted 1.49. It's generally a bad idea to mix what you could well-packaged and what you could toss into /usr/local in a haste. But yes, I grant you that you showed a very roundabout way to get apt-get install libicu-dev etc — Dirk Eddelbuettel 31 mins ago
ahahahah like you can have side-by-side Boost versions
in Debian
 
@CatPlusPlus Dick Eddelbuttel
 
ahahahaha
 
@CatPlusPlus Ah, I was about to complain.
 
Xeo
> But since it is sadly the norm these days for every country to follow Europe's lead eventually on these kind of privacy issues
 
4:51 PM
Or bununut whatever
 
@CatPlusPlus You can if you install ffmpeg.
 
Same shit
 
@Xeo sauce
 
Xeo
1
Q: My authority over private airspace

McGafterWith all this talk about drones flying around and delivering parcels for the merchant websites, I'm wondering from a "landlubber's" perspective, how much say I have over the airspace of my private land. Now I know this question is a bit broad and quite difficult because it might differ from coun...

 
@R.MartinhoFernandes Funtoo uses subslots for Boost though for whatever reason
Gentoo too
 
Xeo
4:53 PM
I should eat something
 
@Xeo I wonder where he is from
 
Nobody wins
 
Xeo
I haven't eaten anything all day
 
> Theoretically this means that under German law, once in a while while the moon is at the zenith orthogonally to your property, you own a bit of the moon as your airspace hits the moons surface.
More in Germany
 
And the ISS
 
5:01 PM
@dolan yes, I had edited that topy before you made that excellent pun :)
@CatPlusPlus Of course you can, I do. But not packaged
 
@sehe of course
I love running Slackware
Actually it worked better than Debian in every respect afair
 
Is it?
 
That's a crooked response
 
It's been forever since I saw Slackware running
 
@CatPlusPlus How does slackware facilitate this (and don't say: vagrant up - trololololol)
 
5:03 PM
Gentoo owns anyway
 
/g/ is leaking
 
@sehe It had and I think still barely has any package management
 
@CatPlusPlus I agree. Although I doubt that it does facilitate side-by-side versions of boost. That's more of an inherent issue to shared libraries and dependency versioning I reckon
 
So stories about working around apt-get and shit remind me of it
 
@CatPlusPlus Oh. Gee. That sounds so convenient
@CatPlusPlus I never do. It's when you try to that things break down (same goes for Gentoo, as I vividly remember from ~5 years of use)
afk
 
5:05 PM
@sehe Portage's slot system supports side-by-side libraries perfectly fine
 
@sehe 5 years is just enough time to install it.
 
Build Boost with versioning info, put it on different slots and it will work fine
 
@CatPlusPlus That's not true.
The Moon is not German territory.
Kind of a stretch to say German laws let you claim ownership there.
 
Haven't you watched Iron Sky
 
(Plus the Moon never gets that high, so it's moot)
 
5:09 PM
Irrefutable proof
 
@R.MartinhoFernandes Maybe not, but I bet there's VW dealership.
 
@MartinJames There's McDonald's too.
 
@R.MartinhoFernandes 'Hop Thru'?
The potholes are really bad.
 
> Ability to interpret poorly written product specifications
encouraging
 
@dolan There are well-written ones?
 
Xeo
5:17 PM
@TonyTheLion must really like this "You Need A Budget" game, playing it all the time.
 
seen that a lot too
 
@BartekBanachewicz There are still some ancient machines nearby, but yeah, I'm not writing Haskell for other machines (yet), so I downloaded the 64-bit version now, with no complaints from avast.
 
@Xeo lol
I bought it on steam, as it was on sale, and I tend to open it and then leave it open
unfortunately steam posts that every time
also, I don't use steam for anything else
 
The Denmark Strait is an oceanic strait between Iceland and Greenland.
 
Xeo
you need to play more vidya gamez
 
5:22 PM
More Minecraft.
 
Everyone's bad at naming.
 
Xeo
Unsolved problems of the 21st century: Properly naming things.
 
@R.MartinhoFernandes If I may present a rebuttal
 
naming things is hard
 
I need to rename 100 classes.
I wonder how I should go about.
 
Xeo
5:24 PM
why do you need to do that
 
@StackedCrooked Refactoring tool, duh.
 
@dolan Did you just create that article?
 
class1, class2, class3, ...
 
Because, ffs, what is that.
 
@R.MartinhoFernandes No, it's just one of my favourites
 
Xeo
5:25 PM
> 16 décembre 2011 à 14:07
 
@Xeo Removing a useless prefix from them.
 
Xeo
Try a regex :D
 
TIL French wikipedia is terrible.
 
sed 's/a useless prefix//g'.
 
La frontière terrestre entre le Niger et le Tchad est une frontière internationale continue longue de 1175 kilomètres séparant le Niger et le Tchad en Afrique. == Tracé == == Histoire == == Points de passage == == Populations == == Voir aussi == === Liens internes === Lac Tchad Liste des frontières terrestres internationales par longueur Portail de la géographie Portail du Tchad Portail du Niger Portail des relations internationales...
They have them all.
 
5:25 PM
@R.MartinhoFernandes How can you say that?
 
@R.MartinhoFernandes That one isn't as laconic though
 
@Xeo Sure. But it's kinda interesting. Turns out to have N^2 complexity.
Because A.cpp can also use class B or class C.
So I need to apply 100 regex to 200 files.
Not a problem of course.
But that makes me wonder. What if it were 10000 classes?
 
Xeo
@StackedCrooked Is it C?
 
Why are you renaming them
Just leave it
It's not worth it
 
@StackedCrooked Why would it have N^2 complexity?
 
Xeo
5:28 PM
What Cat says
 
Rename one every day.
 
It's not a problem because it's only 100 files.
 
Waste of time
You'll just break shit
I'd never run any kind of textual refactoring on C++ code
 
It's for a 2.0 release.
Breakage is allowed.
 
No you'll break compilation and you'll be fixing it for a week afterwards
 
5:30 PM
@StackedCrooked Famous last words.
@Xeo Famous last words.
:P
 
@R.MartinhoFernandes I won't die. Maybe the company will, but not me :)
 
sabotage
 
I got permission to rename.
:P
 
but whyyy
 
Same reason why you hated my long Coliru urls.
 
Xeo
5:31 PM
@R.MartinhoFernandes Despite what Cat says, he's still alive, so he must do something right at least
 
I know a guy who knows how to breathe
 
@Xeo He does. He doesn't say "What Cat says" :P
 
Xeo
I wonder why Steam sometimes simply not downloads updates automatically
 
The filenames had a prefix of 10 characters. That's worth getting rid of.
 
@Ell Playing with Scala is always a good idea. It even has a web framework called Play.
 
5:38 PM
dammit facebook tells me "You have more friends on Facebook than you think"
I thought I refactored all that shit out
3
 
user3010322
@Xeo It usually does, unless maybe the game asks it not to? :o
 
user3010322
@Abyx That sounds a bit creepy, actually.
 
Xeo
@Abyx You forgot to refactor facebook out.
 
welp actually I skipped the "on Facebook" part when I read that
 
5:51 PM
return False if count == 0 else True
 
did anyone use emscripten for games?
@CatPlusPlus hey, I want account on loungecpp.net
 

« first day (1413 days earlier)      last day (3537 days later) »