« first day (2142 days earlier)      last day (2808 days later) » 

2:01 PM
@Ven y so (pa + aggre) * ssive
 
Ven
a bit cynical maybe
 
2:38 PM
how to screenshot on an unrooted android phone
 
Usually press the power and home buttons simultaneously
 
not iphone
phone 2 old & cheap 2 have screenshot option
 
2:53 PM
There are entirely too many bugs in msvc.
 
3:07 PM
@Ven perhaps
@Borgleader what is this formula. Does it calculate the volume of the burn?
 
@redspah What version of VC++ did you use? With current VC++ it compiles and prints out "i is of type int".
 
@redspah Yup. You can see it live online too rextester.com/l/cpp_online_compiler_visual
 
@Telkitty Accessibility options include an overlay that might have a screenshot command
 
Hey guys, I have a question about thread-safety. I have a class that has a member function that edits a specific pointer content, where the pointer is an element of an array. I would like to only lock access to that element in the array, but allow access of other threads to all other elements. Is that possible?
 
@TheQuantumPhysicist Would this work? Google fu seems to be a dying art...
 
3:12 PM
@Aaron3468 Thanks. I googled but only found basic tutorials
Let me check that link
 
@Telkitty It's the same on iphone and android, but some models of android may have a different configuration.
 
When will having a brain be an exploitable vulnerability? - in many respects, having a brain is largely already a strength & vulnerability.
Shower thought. I can now safely go have a shower without going short on my thoughts quota
 
Ven
@muerk @geertwilderspvv Muslims has no rights.
 
"Assumption of human patience seems to run rampant these days" or
"Human willingness to exert effort consistently overestimated, even in 2016"
 
Ven
browsing the replies to some of your RTs is dark, @sehe.
 
3:25 PM
@Ven I briefly dwelled there today, and it had me... shocked. I didn't know whether to reward with more attention or just silently weep and move on.
 
I'm enjoying lisp so far, but I'm sure I won't as I learn more about it.
 
I think I stooped to respond to one particularly clueless replier
 
For now I have another language in which I can bug hunt
 
Ven
you're enjoying "lisp"?
 
Also, @Ven, funny when your different avatar sizes are out-of-synch i.imgur.com/G8jPSRr.png
 
Ven
3:27 PM
that's about as exhaustive as "I'm enjoying food"
@sehe i might or might not have a timer for when my avatar changes. :P
 
Weirdly, refreshing doesn't fix it r.n.
 
Common lisp's object model is expressive and intuitive. I really can't complain aside from being new to it.
 
@JerryCoffin I'm not 100% sure of my version, I think it's MSVC 14, the one attached to VS 2015 Community Edition
Will try installing VS "15" preview and see if it works there
 
3:55 PM
@Ven You know maybe that's just a markov chain
 
4:16 PM
@sehe Brains can be hacked figuratively and literally.
 
@redspah You don't trust me?
@sehe Essentially every magic show in history (among other obvious choices) has exploited brain vulnerabilities.
 
4:32 PM
@JerryCoffin I do, I just want to see it for myself
 
6:08 PM
The era when processors were bad at branch prediction has irreparably warped an entire generation of programmers =( https://t.co/Jk5futBWk2
 
6:32 PM
@Borgleader Carefully ignores the minor detail that processors still do a lousy job of predicting many branches (but we don't know enough about this code to know whether it's true here or not).
 
nwp
I'd say it is the compilers job to figure out that these code snippets do the same thing and produce the best assembler code possible.
 
7:14 PM
@Borgleader on current hardware branches are often faster than the bit wizardry
as long as the branches are predictable
 
7:28 PM
Hello, Cruel World!
 
Most definitely not the problem there /cc @Ven
Even if many responders are bots (they aren't, but let's /assume/ nevertheless), they're responding to unequivocal fountains of bile, hate mongering blogs, ridiculous misrepresenters of truth etc.
@Borgleader I fully expect that to be a link to a spirit question
 
and I suppose it's not appropriate behavior to just pretend they're all markov chains, either. :(
 
I don't think it's relevant. They're clearly not, that's all.
 
@sehe I should have thought of that but no.
 
@nwp Unless you have a well-defined typical workload and profiler-driven optimization, it can't. The optimum instructions to use depend primarily on the input data (and secondarily on the target processor), not the operation to be accomplished.
 
7:48 PM
In other news
> During the Vietnam War, American troops tried to find Viet Cong tunnels with witching rods. Researchers at defense contractor HRB Singer criticized skepticism of the age old practice as “somewhat academic” and said, given the importance of the mission, that “scientific rigor can be de-emphasized, if necessary.”
Pretty reassuring to think the US army leaders don't shy away from healthy doses of superstition and psychics src
I mean. Only one way to avoid pitch forks or civilian casualties etc.
> Worried about the Kremlin’s own paranormal efforts, the general was also a true believer. “I never liked to get into debates with skeptics, because if you didn’t believe that remote viewing was real, you hadn’t done your homework,” Thompson said, according to Schnabel’s book Remote Viewers: The Secret History of America’s Psychic Spies.
 
nwp
@sehe apparently we need to add a check-mark
In other words we either proved that witching rods and psychic spies work or that capitalism is not ruthless. Not sure which is more likely.
 
@nwp Capitalism isn't ruthless. Some capitalists may be, but capitalism itself has no personality.
 
nwp
> ruthlessly profit-focused
but then again even saying the military is a profit-focused enterprise is a bit of a stretch
 
8:05 PM
Hello guys, for a CPP beginner coming from Java background, do I need to start by reading a book about cpp , or I can use the cpp reference site and start write programs ??
 
nwp
@ZeRubeus Maybe look at this, but additionally never ever use new and you should be good. But a book wouldn't hurt if you want to learn things properly instead of stumbling around for a while.
 
thank you :D
 
@Puppy In retrospect, I agree :)
 
should I be worried when template arguments for a function are longer than the entire declaration and the body of the function?
 
suicide should be considered, yes
 
8:16 PM
behold, the totally not overengineered map function hastebin.com/eloyepiluq.cpp
 
@redspah would you like it if your colleague wrote code like this? :)
 
if he knew how to justify it, then it'd be alright I guess
 
the complex enable_if machinery suggests that the function is overloaded. Tricky overloading can easily lead to subtle bugs.
 
also, it's for personal use in CS classes where we are given bog simple tasks by a semi-competent teacher and a rudimentary set of "functional" functions would speed up solving them giving me more time to fuck around on reddit
 
nwp
I'm making a map<string, string> radix tree style that then needs to be serialized and efficiently looked up from disk. Not sure how to de-duplicate the value though. And it probably has a proper name and implementation that I'm just not finding -.-
 
8:22 PM
@StackedCrooked it is overloaded, but the enable_if's primary purpose is checking that the user provided a proper mapping function
 
hm, not sure how I feel about that. I'd prefer static assertions inside the function body for this
 
so when you supply something that doesn't match, compiler will point out a failure in your use of the function instead of in the body of the function
 
nwp
the value could point to a leaf of an inverse radix tree where you would go up to the root to get the proper value
 
how would you even static_assert for a proper type signature of the function?
 
@redspah the compiler will tell you that it couldn't find a matching overload. that's not exactly the same as pointing out the mistake.
 
8:25 PM
I guess
still, I don't plan on actually releasing it, so should any errors actually occur they'd be my problem
 
@redspah The enable_if can be replaced with static_assert. I think enable_if only be used for overload disambiguation.
 
oh right, you're correct
but because of the way it is overloaded (the overloads differ only by type signature of the supplied function) it's still impossible to be replaced by static_assert
 
perhaps. you should ask the robot
 
I'm currently trying to figure out "flatten" function
figured out 1 level of depth, all that's left is adding recursion and not screwing it up
 
8:47 PM
@JerryCoffin I had an RPG class. Forgot everything about it though.
My end project was a battleship game.
 
@StackedCrooked Oh, how very sad! :-)
 
well
Mankind Divided ended kinda... abruptly.
also I murdered some dude and then the ending cutscene talked about him like he was alive ;p
 
fail
 
9:14 PM
I dunno, it feels kinda disappointing
it's not really as smooth as Human Revolution
 
@Puppy lol
 
nwp
@Puppy maybe they didn't find the body yet
 
for instance when the game tells you to go from A to B but it's incredibly unclear how the fuck you're supposed to get there and the map doesn't show even a single route so you spend the next hour looking for a vent only to loot the entire fucking area and then discover it was supposed to be an allegedly optional sidequest that opened the magic door for you
 
2015: Even if he revealed unlawful government surveillance, put him in jail! 2016: wait what apps does he use https://t.co/00XIm45l3p
 
another thing that's annoying is how they keep trotting out the villains from the original Deus Ex, ensuring that you know in advance that your quest to murder them in a closet will have bugger all result
speaking of which, Jensen has an amazingly relaxed attitude about the whole thing
"Hey, these evil dudes trying to take over the world that were only stopped before by majorly fucking the world up? Well, I know who they are and where they live, but instead, I'm just gonna go arrest some small-time arms dealers."
just buy a rocket launcher, fly back to America, and blow them up dude.
he also makes about -1 use of all experience and information he gained from the first game
and they changed the voice actors for the recurring characters, so it's super distracting every time any of them is involved.
also, Jensen has a bunch of problems proving shit happened and gathering evidence, but he has fucking artificial eyes, just record and upload to a server, then show your boss.
 
9:21 PM
@Puppy gameplay and story separation much?
 
also, Jensen could just fix a bunch of the world's problems by telling everybody what happened in the first game and why.
but decides that apparently this is much too simple of a solution
also I dislike Prague, it is not as good as Detroit from the previous game
it's a lot more open allegedly, but the problem is that the design doesn't lend itself to any actual quest or needed usage in the game, there's a bunch of paths that lead nowhere or look like they're clearly intended to help you with a given quest but then turn out to be just totally useless.
and they never actually tell you about any useful shops
I also had a few odd times like where a major NPC du jour got blown up but nobody decided this was important.
a few annoying buggy controls as well.. the game is nearly unplayable when you can't fucking reload and the ironsights were unusable
the hacking minigame is mostly much improved better but they decided that the smart thing was a fog of war sometimes, which just makes it impossible to play
also the game was only 14 hours long and at least 2 hours of that was running around trying to fucking find things
 
user3790646
 
user3790646
Funny.
 
user3790646
 
nwp
@AndreyErick should consider flagging
 
user3790646
9:32 PM
alright, will do
 
9:42 PM
I just want to shamelessly self-promote my new hopefully-not-single-week-project: github.com/rubenvb/skui
I have just implemented a simple signal-slot mechanism and a "property" object that signals when it is changed. I'm mimicking Qt style with C++11(14?). Oh, and I have Travis CI building and testing it, yay!
Comments welcome! :P
 
you mean boost::signals2?
also, why would you want to mimick Qt style?
 
@AndreyErick oh wow what a neat little voting ring
 
@jaggedSpire this room sometimes also functions as one
:D
 
I was under the impression people posted their stuff here for critique
o well
 
nwp
@milleniumbug the last attempt failed horribly though
 
9:49 PM
blind naivety strikes again
 
Is it me or signal/slot terminology is confusing? I mean, it's not quite clear whether the signal flows out of the slots, or into them
 
signal is fine, it's slot that doesn't make any sense whatsoever
 
what would move someone to make a forum engine in assembly? asm32.info/fossil/repo/asmbb/index
 
@redspah lots of time to waste and being bored
 
I'm betting on masochism
 
nwp
9:56 PM
maybe trying to figure out if making a non-trivial program in assembly is viable
 
unless you're going for some crazy optimizations no C compiler supports or you're working on a deeply embedded platform I don't think raw assembly has any use case left
in writing of course
 
Ven
having fun!
 
yeah x86 assembly is fun
 
Ell
10:12 PM
@redspah a bootloader :P
 
I think you can write those in C now
 
bootloaders are fairly irrelevant though
you write one and you stop caring about it
 
nwp
or just make grub do most of that
 
welp
I have gotten my first-ever post-repcap upvote
huh
 
> > but why we fight the shaper in the t16.... did he do anything bad?
> He has committed the cardinal sin of dropping loot.
 
nwp
10:23 PM
@jaggedSpire time to go accept hunting
 
nah
 
Ven
@jaggedSpire gg :)
 
@Ven ^_^
 
Ven
only 60 rep today ):
 
@Ven :(
 
Ven
10:25 PM
all passive... zzz
 
envy
 
nwp
am I missing something or will this just never work?
 
on the other hand, I'm one point away from the score requirement for a bronze c++11 tag badge
it's just I'm 11 answers away from the count requirement :V
 
Ven
@jaggedSpire well, I do have 400 answers..
 
that is significantly more than I have
 
Ven
10:27 PM
around eight times more
 
yep
 
@nwp It was only allowed recently with C++17
oh, you mean emplace_back?
it uses T(args) and not T{args}, so, indeed, it won't work
 
nwp
yeah, the emplace_back looks like it should work, but it just doesn't because perfect forwarding is not perfect
 
just use push_back
 
nwp
n.children.push_back({"key", "value", {}}); is good enough I suppose
I wonder how it compares to children.emplace_back(Node{key.data(), value.data(), {}});
 
10:48 PM
 
Ven
@jaggedSpire ...my next tag badge is jquery bronze...
 
wow
and so close!
 
Ven
my isn't too far away.
wait does only accepted answer rep count?
 
nope
 
Ven
I have a +53 angularjs anwer...
 
10:54 PM
it's score for every answer to a question with that tag
 
Hi! I'm tempted to ask a question at the core of which lies just sheer curiosity and not some programming problem - I'd like to gather some info in one place (community wiki?) about the extents of c++ ecosphere, namely, a list of c++ language extensions: c++/cli, c++/cx and so on (I guess there are much more than that).. But I'm not sure if it belongs on stackoverflow or programmers, and will it be accepted as a legit question or discarded as <insert-reason-here>. What do you think?
 
Don't
a.) it's not useful in any way b.) no one actually cares about such extensions
 
too broad, most likely
 
11:10 PM
is there even any not-completely useless C++ extension
 
Desire to know that is partly the reason I'd like to ask that question) c++/cli does not seem completely useless, for one. Is bridging managed and native code completely useless affair? I guess it depends.
 
They aren't well publicized and as much a mess as C++ is, the difficulty of finding good documentation on extensions seems to be prohibitive. It's like trying to track down all the upgrades/repairs made to a used car by the previous owners.
 
Somehow I'm fascinated with that mess)) But I understand those on the unfascinated side. It's like a discourse between those who are just at the beginning of a romantic relation and those who just want to get garbage taken out and dishes washed after 20+ years in marriage. Different attitudes and tasks)).. Ok, guys, I got the message, thanks.
 
For example, CLI C++ is definitely a different beast from C++. Atmel AVX C++ is something closer to C with a ton of compiler macros and a few quirks.
 
11:25 PM
It's a pity there's no dedicated stackexchange for such broad questions, though.
Yep, it's just a bunch more answers like this that I'd like to see in one place
To hear opinions and experiences about stuff beyond standard c++
 
Well, there's Programmers, which deals with broader questions about platforms, designing, and career problems
*Atmel AVR
 
Yep, was considering Programmers in my first post)
Gotta ask the same in their (not so lively) chat. Thanks for all who participated)
 

« first day (2142 days earlier)      last day (2808 days later) »