« first day (961 days earlier)      last day (4005 days later) » 

4:00 PM
@TonyTheLion That's some messed up shit.
How many devices is that natively part of?
 
Donno
Only heard about it when Cat just mentioned it earlier
 
@ThePhD All of those that can use HDCP-encrypted content?
 
@ThePhD most tings...
 
@ThePhD Essentially all current displays, video cards, TVs, all BD players, ...
 
Apparently its going to be nice weather here for the entire week
 
4:03 PM
@TonyTheLion lol, might you have a problem :P
 
It's pretty much irrelevant unless you happen to be a regular user that gets hit by one of the issues it can cause.
 
@thecoshman I have Lounge withdrawal symptoms
 
@TonyTheLion fap fap fap
 
I came home fast so I could see what's happening
 
@TonyTheLion IIRC nothing special, I take it it was not a bank holiday for you
 
4:04 PM
nope
 
@JerryCoffin Crazy.... I suppose it's enabled by default, then? =/
 
@ThePhD it kind of has to be
@ThePhD why are you so shocked by it?
 
@ThePhD Not only enabled by default, but with something that supports it, generally impossible to disable.
 
I'm not really shocked so much as damn. I never knew. I went through my video card info and it told me nothing about HDCP...
 
@ThePhD When it's not enabled anything that does HDCP will normally either refuse to play back the content at all, or else play back only in standard definition.
 
4:06 PM
Well, as long as they don't forcefully HDCP youtube or other content like that, I should be okay, I think.
 
@ThePhD What?
 
HDCP is something that's put into the data stream, right?
 
Did some testing a while back for work -- just for one example, a fair number of BD players won't work with a non-HDCP display at all (won't even show their setup menu).
 
It's like a container type for media?
 
@ThePhD I think you have failed to understand how it works
 
4:07 PM
No
 
@ThePhD no
 
Oh.
 
@ThePhD It's for wires.
 
It encrypts the bitstream between GPU and display, so you can't intercept decoded DRMed content
 
It's encryption of the link between the video card and the display.
 
4:08 PM
it's a (normally) hardware level encryption between something that plays media and something that displays media
 
Oh.
So like my computer to a my monitor... got it.
 
If someone doesn't want you to play YouTube content, they can just take down the video, or get Google to not show it to you (see also: GEMA)
 
@CatPlusPlus s/you can't/it's a non trivial task to/
 
@ThePhD Also between BD player and TV, etc.
 
it's not just computer to monitor, it's used for blue-ray players too
I think PS3 had it too
which IIRC was where it was first broken...
 
4:09 PM
If HD, pretty much yes.
@thecoshman It was first broken in 2001 or something.
 
sup guis
 
@R.MartinhoFernandes I might be confusing it with something else... there some sort of DRM that was 'cracked' via PS3... could have been PS3 disk encryption it self.
 
@thecoshman I think you're thinking of BD's AACS, not HDCP there.
 
@Rakkun ahoy
 
@thecoshman That would kind of make sense.
 
@Rakkun ... who?
 
priceless "about me"
i think.
 
@Rakkun o_0 religious...
 
> The most important thing about me is that I know I'm going to Heaven!
Idk I found that funny
 
4:12 PM
That's pretty lulz.
 
anyway! brb buying baguette
 
@thecoshman I don't think he is surprised that religious people exist.
 
@Rakkun me to, utter bull shit, we all know people who use silverlite are going to hell
@R.MartinhoFernandes I think confused is more the term
 
@Rakkun We definitely need that guy here with Alf.
Argh, I just stumbled on a Delphi code sample. It's gonna take weeks to wash it off my eyes.
 
@thecoshman One I enjoyed: youtube.com/watch?v=v-bWz74h518
 
4:19 PM
is there a way to wildcard image urls in adblock so that I can block all the various sizes on SO?
actually yes. but it breaks the more info pop-up...oh well
 
@JerryCoffin o_0
 
sbi
@R.MartinhoFernandes Yeah, sitting besides a machine that shovels GBs to a disk via USB3. And then back onto another machine. Of course, every time I leave for half an hour for some meeting or for lunch, the damn thing sits waiting for me to cconfirm some action...
 
@JerryCoffin I think I know what I shall do next time I get them knocking on my door
@sbi I am always amazed by how many things there are to confirm when you ask "copy this folder and everything in it, to here"
 
4:34 PM
@Rakkun That link is pretty funny
And not just because it uses Silverlight for that shitty banner on top
 
erm, if you are linking against a static lib... to get the implementation for a function... that can still leave you in a situation where it's not until runtime that the call fails... (my god I worded this badly)
 
Wut
Explain "the call fails".
 
well, 'call fails' is a bad term. I get a seg' fault, I have narroed it down to a function that I am linking forma static lib
 
The function is buggy? You called it with invalid arguments?
 
@R.MartinhoFernandes it's a 3rd party library, but I am compiling and creating the static library. AFAIK I am calling it correctly...
 
4:42 PM
Yes, no, maybe
Roll a die and there's your answer
(We don't know)
 
¬_¬
 
You're doing something wrong or the thing is buggy
 
> I'm currently trying to create a dat file that is unicoded, but I keep getting FileNotFound Exceptions.
@thecoshman I wouldn't pin the bug on the linker. Not before at least three days have been wasted on the issue.
 
Unless it's MSVC then all bets are off
:v:
@R.MartinhoFernandes Unicoding files for greater good
 
user142019
Oh boy.
 
user142019
4:46 PM
Generating Java code is so fun.
 
user142019
Good thing it's sunny outside otherwise I'd have killed myself.
 
@rightfold would you rather be writing it yourself? :p
 
user142019
Hell no.
 
user142019
But you know, I still need to write a script that does it for me.
 
@R.MartinhoFernandes well, if the function wasn't properly included in the static lib, I should get a fault at link time that the function was not found, right?
 
user142019
4:48 PM
So basically I do write it myself except I do it in a few heredocs and a lot of string interpolation.
 
@EtiennedeMartel Come on, Delphi isn't that ugly
 
@thecoshman Yes.
 
@thecoshman Just do your job and trust the linker.
You are not in Africa.
 
@R.MartinhoFernandes huh?
 
@R.MartinhoFernandes Are you implying Africa doesn't have good linkers?
 
4:50 PM
@R.MartinhoFernandes well, more I was thinking that I was not creating the static lib properly
 
> When you hear hoofbeats, think horses, not zebras.
In Africa, zebras are likely.
 
@thecoshman Which compiler are you using?
 
Lounge<Landmark Baptist Church>
 
@Tuntuni gcc ofc
 
@thecoshman That's what I meant by "You are not in Africa.": unless your compiler is a dinosaur, this kind of thing is not likely to be broken.
 
4:52 PM
That's wacist
 
@R.MartinhoFernandes hint: not using an of the self build system :P
 
@thecoshman Either it was linked in, or it wasn't. If it wasn't, you wouldn't be running it.
 
@R.MartinhoFernandes right so
 
Xeo
Oooh, this week's Suisei no Gargantia episode was nice. /cc @Mysticial
 
Ell
I think I know which question I want to ask! How do I know when to try and get my first programming job?
 
5:05 PM
When you want to?
 
Xeo
@Ell You'll just know when you want a job.
Usually either because of money or your parents kicking your ass.
 
5:23 PM
Lol.
 
Clicking the Up/down arrows on questions/answers isn't doing anything for me. Is that just me or is this a SE bug?
nevermind, it randomly started working again
 
I broke something.
 
I have inherited a piece of code that does the following pattern a lot:
1. In a header, forward declare a struct and typedef it. Do not declare the struct in the header. Provide the methods by declaring functions such as`{struct}_create()` and `{struct}_destroy({struct}*)`.
2. In the source file, define the struct and implement all the methods.

Does this pattern have a name of any kind?
 
> /usr/bin/ld: cannot find -lboost_exception
@LeviMorrison Sounds like an attempt at providing a C API.
 
@LeviMorrison object oriented code in C
 
5:28 PM
Oh right... The libboost1.53-dev package doesn't install Boost.Exception. Did I mention Ubuntu sucks.
 
Xeo
1
Q: check if type can be explicitly converted

DukalesHow to determine (in the <type_traits> spirit) whether or not one type explicitly convertible into another type? For example, I want to check the presence of F::explicit operator double const & () const; for some class/struct F, but, at the same time, F should not been explicitly convertible to f...

I don't understand this guy.
 
Ell
I want a job asap, but I don't know if I'm good enough. Are there any downsides from being denied a job/getting a job and being fired immediately?
In comparison to being jobless at all
 
It might affect your self-esteem.
 
Is it possible in C++ to create classes in this way (not structs)? The motivation is that some developers are not properly calling _destroy and if I could move it to a destructor it would happen on its own. I could do a major refactor and create a pure abstract class and then an implementation but that seems like a lot of overkill to get around this one issue.
 
@Xeo ?
 
5:29 PM
Being fired may affect future job searches.
If they know about it.
 
Xeo
@LeviMorrison std::unique_ptr with a custom deleter.
 
Ell
@R.MartinhoFernandes That's what I'm thinking
 
Obviously, developers need to use the API as designed -- I'm just trying to make it easier because most of our devs have a C++ background, not a C one. And they aren't very good developers in general. This is a training problem, but I was just curious about the technical side of it.
 
Xeo
@Rapptz Why does he care if something is explicitly convertible to something else only through an explicit ctor / conversion op?
 
@Xeo Another one looking for crap they don't need...
 
5:30 PM
@Xeo Eh.. It's never came up for me.
 
@Ell not really
 
@Ell If you don't lie about anything and are forward with your employer, then you shouldn't get hired if you aren't up to par with their standards.
 
@Ell Nothing wrong with the first one but the second one sounds pretty bad.
 
This means you are not likely to be fired unless you are a bad employee in general.
 
@LeviMorrison put the code in the destructor?
@LeviMorrison oh, either wrap the class or use a unique_ptr then, like Xeo said
 
Ell
5:32 PM
@Rapptz It's just my fear. For some reason I think that I could bluff my way into a job and then be found out I'm terribad xD
 
@MooingDuck Then I'd have to move the source definition of the struct into the header. Not sure I want to do that. I am just curious if there are other options. I may take that route but I've never really explored this part of C++ before.
 
@Ell Don't bluff your way into a job?
 
Ell
Yeah, I wouldn't intentionally. It's an irrational fear :P
 
Well, the usual cure then: man up.
 
@Ell I have the same fear. :( I can't get a job yet even if I wanted to but I fear I won't be good enough. That's one of my greatest fears - working hard your whole life just to find you can't get a job. Ugh.. hate the feeling I get when I think about it.
 
5:34 PM
do you guys have any recommendation for an android rss reader?
 
No. It's all crap. If you find a nice one, let me know :S
 
Ell
I have never used an rss reader
 
@Ell Do I need to get that link about impostor syndrome again?
 
Ell
@EtiennedeMartel xD
 
@Ell I have that same fear :/
 
Ell
5:37 PM
I'll google for it this time :L
 
oh curses. Now that I'm finally not on WinXP32 anymore, I'm finding all sorts of bugs in my code when run on Vista+.
 
@R.MartinhoFernandes ^^, there are several high voted ones in play, but then I also don't have any great expectations. Why are you missing?
 
@Ell if you can get through the technical interview and then they find out your under qualified, its not your fault. its their terrible interviewers'
 
foobar for Android would be cool too. Why is it that no goddamn music player has a library functionality that can handle "(various artists)" albums without making a mess of the artists list? Or let me play a particular track right now without discarding the current playlist or without adding the track to it? Instead they all have stupid album art fetching or other crap functionality. Playing music like I want? Nope, not from a music player.
 
Like when creating files of any sort (saving, exporting, etc), paths are ignored and it always makes them in the CWD >.<
 
5:39 PM
> vista
> wat
 
Xeo
@R.MartinhoFernandes Yeah, no foobar was a :(
 
@bamboon You mean what am I missing? Dunno. There's a lot of them still tightly attached to Google Reader, and then there's a bunch of them with one annoyance or another that drives me to uninstallation. Like asking me every goddamn time to confirm if I want to mark stuff as read, or not having the ability to organize feeds in folders, or insisting on using some crap internal browser in the app.
 
@Tuntuni yes, vista existed, and was terrible. Not sure what you're saying.
 
That it's terrible and that I feel sorry for you when you have to support it.
 
There's a bunch of app kinds where I feel like I am in a goddamn niche audience for no reason.
 
5:44 PM
@R.MartinhoFernandes yeah what, sorry was in a hurry. Ok interesting, I think I will just try them all out.
 
I haven't tried them all (I mean, all the ones that seem worth trying) yet, but I have tried quite a few so far.
 
@MooingDuck Hell, it's about time.
 
@EtiennedeMartel apperently IT thought I had Win7 64bit, 16GB all this time. They didn't know that previous IT had left me with WinXp 32bit, 3GB.
my chrome is 32bit? Do they have a 64 bit?
This code is designed under the assumtion that you can't load a whole wave file into RAM at once. I should change that someday.
 
Xeo
oO
Where did you expect that code to run? On an Amiga?
 
@Xeo This code is old
 
Xeo
5:58 PM
Must be older than me
 
@Xeo well, I know this was ported to C++ when C++ became a thing, but the origional docs are older than I am.
 
Xeo
wow
 
well, that's a lie, I was two.
but close enough
 
user142019
I suck at designing REST APIs.
 
Xeo
REST: Read, Evaluate, Send back in Time
 
Ell
6:02 PM
I don't get this family guy joke: youtube.com/watch?v=MtOcZVePMnc
 
@Ell We're not comedians, or funny at all for that matter. Why do you think we could get it?
I believe very few of us are subject matter experts on humor.
If any at all.
 
Ell
I don't know. It's not like the room is deep in conversation, I didn't see it as much of an issue. I will refrain in future
 
the room is never deep in conversation, it's derp in conversation
8
 
@Ell No, I was just commenting on how jokes, once explained, are never funny.
Also, comical historians and humorologists are terribly unfunny.
 
@Ell I couldn't figure it out
 
6:10 PM
hi lads
I suck so much at designing GUIs... FML
 
@ScottW ;3
I'm in a terrible mood today. It's a Monday, and the guy who should be reviewing my code for deployment is disregarding my existence.
Mostly because he has shit he needs to finish.
 
Ell
@Jeffrey what kind?
as in, desktop, web, what?
 
@Ell web
 
We're very low on human resources in terms of programming ability and knowledge of our legacy systems, so this guy basically knows everything. Which makes his time extremely valuable.
 
Because I've never tried anything else, but I'll just assume I suck at all kinds
 
6:15 PM
that being said, I'm getting yelled at to finish, and I need his time to do so.
argblarg'
@Jeffrey UI design is fun, but UI development can be a (pretty and rewarding) nightmare.
it's all about knowing (a) how layouts help or hinder the design of your software, especially on the human-computer interface level, and (b) knowing how to not fuck up with whatever shitty UI toolkit you're using. Because they're all shitty.
Software is a tool to help humans (or animals, I don't judge) accomplish a set of tasks.
How do you make the software easy to use correctly, to make accomplishing those tasks better?
Keep that in mind, and you're already way ahead of the curve in terms of UI design.
Also, keep in mind that you are wrong, your boss is wrong, the customers are wrong, and so forth. No one really knows how to design a good user interface until they realize that their beliefs don't always represent what would be best for them.
Aka, "The hero Gotham wants, vs. the hero Gotham deserves."
 
My designing UI workflow: 1) Get inspirations from other websites (specifically anything that pops out of "web design inspiration" from Google). 2) Find something decent. 3) End up copying it. 4) Don't like it/my-version anymore. 5) goto 1).
 
See, that's a problem. No one knows what they need; they only know what they want. People want chocolate and TV. People need carrots and exercise.
 
@ShotgunNinja I don't follow...
 
Even other sites, which have gone through that realization and lived to tell the tale, are only right (to varying degrees) for what they intend to accomplish. You can't take a design element from a site that seeks to solve a different problem, because chances are, it won't fit with what you're trying to do.
 
I see. Tell me more, my master :)
 
6:23 PM
Understand the breadth of different approaches and means of accomplishing them, but more importantly, understand what a site's goals are, how they chose to accomplish those goals, and why the aspects were chosen.
When you can break down a user interface into its components, and correlate them to its design goals, you gain the ability to see whether a user interface is good or bad.
From that, you can plan and analyze your own user interfaces more effectively.
 
Where do you take this informations? Books?
 
I've taken a course or two on HCI.
 
HCI?
 
Do some research into the HCI and product design fields.
Human-Computer Interaction.
It's more of an artistic bent, with strong influences from psychology and art theory.
Human–computer Interaction (HCI) involves the study, planning, and design of the interaction between people (users) and computers. It is often regarded as the intersection of computer science, behavioral sciences, design and several other fields of study. The term was popularized by Card, Moran, and Newell in their seminal 1983 book, "The Psychology of Human-Computer Interaction", although the authors first used the term in 1980, and the first known use was in 1975. The term connotes that, unlike other tools with only limited uses (such as a hammer, useful for driving nails, but not much ...
 
@ShotgunNinja "Human use of computers is a major focus of the field of HCI"
 
6:29 PM
@MooingDuck Hey, I didn't write the article.
 
@MooingDuck +1 to them for sheer brilliance and such an unexpected insight!
 
@JerryCoffin At least it's only the caption to a linked image, and not a part of the actual article.
 
Xeo
Oh man, the wings in Terraria are awesome
 
@ShotgunNinja If the image were a particularly great one, that might excuse at least a little, but it actually shows next to nothing. If you didn't recognize the specific computer, I'm not sure that even the fact that people were interacting with a computer would be immediately obvious.
I suppose probably some people who didn't recognize that exact computer would still recognize it as a laptop, but about all you get is somebody reading (or at least looking at) something on the screen of a laptop -- not much in the way of actual interaction.
 
6:44 PM
Maybe it's for the future when robots exist.
 
@Rapptz Robots already exist.
 
TIL if you print "path/to/src/file.cpp(123)" into the visual studio output window, it'll recognize it, and double clicking it will take you to that file and line
 
sbi
@melak47 I used several logging libraries that made use of this. Log messages are streamed into the output window, and double-clicking on them would bring you to the line of code that produced them.
 
I was just printing the file and line there for my own benefit, and was pleasantly surprised by VS for a change
 
Thank you this worked fine. — DarlekSupreme 4 hours ago
Nice people on stackoverflow.com warm my heart.
 
Too bad this means his code is still completely fucked up.
 
Xeo
lol
 
@ShotgunNinja Yes -- I meant to the general public obviously.
 
Xeo
@melak47 Better late than never
 
@Xeo it didn't use to do that?
 
Xeo
6:58 PM
I meant you knowing
 
oh :p
I knew it worked with stuff VS printed, but I had no idea it automagically works for stuff you print yourself as well
 
@Rapptz lol
 
Xeo
@Rapptz lol, Vividred Operation
 
@Xeo Ah yes (NSFW)
Anime can be weird.
 
Ell
7:06 PM
Butt awesome
 
@Xeo how trustable is that all10s channel?
 
@bamboon check the sources they mention.
or at least the sources the sources mention (the video links to ten youtube channels with actual sources)
 
@Ell lol (NSFW again I guess)
 
Ell
w0000p
<3 anime
2
 
@Xeo The placebo effect is very interesting
 
7:14 PM
By the way, MinutePhysics is uberawesome
 
7:33 PM
I think C++ should implicitly generate a .swap member iff there is implicit or explicit move constructor/assignment members.
 
user142019
void swap(T& other) = default;
 
user142019
Fuck implicit.
 
user142019
Or generate =, &&=, swap;.
 
@rightfold I'd be cool with that too.
 
user142019
@synthesize lol.
 
7:40 PM
grrrrrrrrrrr
I hate when I forget a word when typing
 
user142019
How are calls to methods from interfaces commonly implemented in languages like Java and C#? Pointer fixup like in C++?
 
after the JIT is done, pretty much the same as in C++, if it decided it was worth it
 
user142019
Neat.
 
My code looks like a staircase made with if(SUCCEEDED(...))
 
user142019
So, like ((IEnumerable<T>*)((byte*)obj + n))->vptr->GetEnumerator(obj), right? In pseudocode.
 
7:47 PM
lol..
 
@EtiennedeMartel exceptions?
 
user142019
@Rapptz Git!
 
@MooingDuck COM calls don't throw exceptions.
 
@rightfold I imagine something pretty close to that. There are vtable lookups, after all.
 
@EtiennedeMartel if(!SUCCEEDED(...)) throw exception("FAIL");
 
7:50 PM
is this a typo: const double *const pip = &pi;
 
@Aboutblank Why would it be?
 
user142019
@Aboutblank Doesn't have to be.
 
@Aboutblank doesn't appear to be
 
user142019
pip is a const pointer to a const double.
 
@MooingDuck That would force me to manually release everything up to that point.
 
user142019
7:51 PM
I prefer to be consistent, i.e. double const* const pip = &pi;.
 
@EtiennedeMartel RAII?
 
And before you say "smart pointer", here's what I have to deal with.
No ATL, no Boost, no C++11.
 
This initial video is nothing special, but the ten it links to, they are great. Take a watch guys, but not my watch
 
@EtiennedeMartel oh. Then functions.
 
user142019
Let's see whether I can implement some sort of interfaces for Ø.
 
7:52 PM
but yeah, if no C++11/boost, then you're stuck with ladders
 
I also got some raw pointers I have to free by hand, a HGLOBAL lying around, and so on.
 
@EtiennedeMartel What is this hell you speak of.
 
@Kivin A game engine.
 
No boost?
 
Hey, I don't take the decisions 'round here.
 
7:53 PM
Fair enough, sir. In either case, trumping up a smart pointer class is about a page of code, is it not?
 
@Kivin The resulting code will be larger than what I'll save in typing.
It's about reuse, but I don't need to reuse here.
 
Okay, okay
 
If I end up having to that kind of thing elsewhere, sure, I'll refactor.
 
Sorry to be a PITA
 
Hmm, pita.
 
7:55 PM
Indeed
 
Seriously though, thanks for arguing.
It gives me the assurance that what I'm doing makes sense.
Otherwise I wouldn't be able to defend my point.
 
Heh no problem
 
Visual Studio 2013. Not a mention of C++ Compiler changes. =[
I've given up hope.
 
where are you reading that?
 
What @Rapptz posted before.
 
7:57 PM
 
It was for TFS and it was from Brian Harry who runs the TFS branch so I can't expect him to know about C++ but still. :<
 
er
> so much I will only be able to just skim the surface with this post
 
The only cool thing I saw was the source control integration
 
But people have been doing that for years with AddOns... disclosure: I only briefly skimmed the article.
 
Unless it's only git..
@Kivin Yep.
 
7:59 PM
I'd be okay with that, but I expect some people would be pretty peeved.
 
@EtiennedeMartel ideone.com/h7URCI
 

« first day (961 days earlier)      last day (4005 days later) »