« first day (1584 days earlier)      last day (3359 days later) » 

1:00 PM
> Untalented programmers like Git because they can spend their time mastering a ridiculous workflow instead of producing actual work, which they are unable to do.
So much envy
 
@Ell Of course I do. It will take several months or even years of experience until I feel comfortable with git.
 
Well that's dumb
 
I love vim-fugitive
 
Basic workflow is p much the same as with SVN
Or any other VCS
I'll never understand these complaints
Do they think they need to start rebasing shit right away or what
 
Well, you can't deny the fact that having 5 (git) different places for your files to be instead of just 2 (svn) is somewhat more complex.
 
1:01 PM
I already told you there's no more 'different places' than with SVN
Working copy is the checkout, same as with SVN
 
@CatPlusPlus Well. staging area (which could be ignored, but the tools don't)
 
Ell
staging area is the "index" isn't it?
 
Index you can argue about, but SVN also has .svn which kind of serves the same purpose except it's automatically managed
 
@Ell one index
 
1:03 PM
Repository is the same with as with SVN, except it's kept next to the working copy not on the remote server
 
maybe it's dependant on configuration when how many places your version control uses is concerned
 
You have more repos but really you can ignore that aspect if you have one remote and one local copy
So vOv
Stash is just a bit more automated way to get your changes temporarily out of the repo
If you don't use it you don't need to know it exists
 
Xeo
@CatPlusPlus perforce has that as "shelved files"
well - they're still in the repo, and other people can unshelve your shelves, but they're not active on your local workspace anymore
 
are we talking about the same version of the software or we just use names ... you know different versions of the same software might be doing slightly different things ...
 
Xeo
1:06 PM
so it's kinda a versioned stash. Or something.
 
Utterly ace Top Gear this week
 
@FredOverflow wut
 
user1804599
eh so
 
user1804599
Are there FOSS Pascal implementations for Linux?
 
user1804599
> GNU Pascal (GPC) is a Pascal compiler composed of a frontend to GNU Compiler Collection (GCC)
 
user1804599
1:11 PM
sounds bad:
 
user1804599
> as of July 2014 no further releases or announcements had been made.
 
8 mins ago, by FredOverflow
@CatPlusPlus http://www.ndpsoftware.com/git-cheatsheet.html#loc=workspace;
 
uh that's not really 5 places
 
user1804599
oh shiny, $ emerge fpc.
 
Fuck I'm so shitfaced today
 
user1804599
1:14 PM
Time to learn Pascal.
 
lol
Why would you do that.
 
also, please someone help me out on this dumb ass java question: I am looking at com.google.android.gms.common & com.google.android.gms.common.api.GoogleApiClient ... I mean I thought api.GoogleApiClient is a part of com.google.android.gms.common? Or is it a part in certain versions only?
 
user1804599
I try to learn about as much programming languages as possible.
 
lol
 
Fix that error please — user3525475 2 mins ago
 
1:17 PM
Why would you do that.
 
Have any of you seen code like:
a += b += b
Where compound assignment operators are chained?
 
@Xeo afair TFS has shelves /but/ someone else cannot unshelve. And the user himself cannot even unshelve onto a different revision/branch
 
-4
A: Change [Ask Question] button style

Lightness Races in OrbitThose buttons are not "filters"; they take you to different pages. "Ask Question" is one of them. I think it's just fine the way it is.

Kinda baffling. How are those buttons "filters"? People are weird.
 
user1804599
program hello;
begin
    writeln('Hello, world!!')
end.
 
user1804599
1:21 PM
AWESOME
 
...
 
learn cobol, it does people good
 
@LightnessRacesinOrbit People who don't read urls but look at the behaviour of the screen
 
@BartekBanachewicz TH?
 
@sehe they can but only via the commandline
it's a major pain in the ass
 
1:25 PM
@Pris That's just fucking stupid, don't do it.
It was UB in C++03 and may be well-defined in C++11, but I'm not sure.
 
@Mgetz I remember that involved the so-called "Power Tools" (look: it's almost like git - porcelain vs. plumbing!)
 
@FredOverflow I think it was well defined in C++03 if you had custom operators
 
@FredOverflow so should I make my compound assignment operators not return anything?
 
@sehe TFS always seemed clunky then again so does SVN
 
Xeo
1:27 PM
> 155k users
Immediately had me looking for the date
 
@FredOverflow Oh piss off SVN is great
that entire article is "omg my favourite tool is great use my favourite tool"
 
@LightnessRacesinOrbit eh... you get spoiled using git or mercurial
 
I'll grant you the "git is too hard" argument is a broken one
 
hard or not depends on what you want to achieve also
 
@Pris All I'm saying is writing a += b += b; certainly won't make you employee of the month.
 
1:29 PM
code review: fail
 
user1804599
a += b += b is a type error since you cannot add values of type Unit to a.
 
@райтфолд What is a "gist" and how do I make one?
@райтфолд ...in Scala
 
user1804599
@FredOverflow gist.github.com is a pastebin
3
 
A title that is relevant to the problem you're having would be greatly appreciated. I don't even is not a very good title, to put it mildly. — Borgleader 38 secs ago
 
user1804599
@FredOverflow in any sane language where assignment is an expression.
 
1:30 PM
@FredOverflow it's job security though :P
 
@LightnessRacesinOrbit I second you there
 
> Even if you spend the time learning the internals of Git, you'll always find yourself conducting deadend Google searches and posting on StackOverflow to recieve condescending answers.
hehe
 
user1804599
I already see Mill has similarities with Pascal.
 
except you should use operator<< to do addition on you custom primitive for maximal security
 
user1804599
1:31 PM
For example, there's no main function.
 
shell scripting doesn't have main function either, must be really sweet
 
@sehe Nah, that's cool.
Is there a way to make use of the separator attribute (i.e. b's) in a % b rules?
 
@Borgleader from his profile:
> I thought I was entitled to everything (When I was younger) but now my work ethic has changed
lol
 
394
Q: Why is Git better than Subversion?

Ben MillsI've been using Subversion for a few years and after using SourceSafe, I just love Subversion. Combined with TortoiseSVN, I can't really imagine how it could be any better. Yet there's a growing number of developers claiming that Subversion has problems and that we should be moving to the new...

Oh, I wouldn't have expected to find such a question on SO.
 
1:34 PM
@LightnessRacesinOrbit top kek
 
@FredOverflow I would have expected that to get closed... and quickly
 
> After two officers were struck with rocks -- at least one of them as large as a softball -- police said the officers resorted to deadly force.
lolwut
 
@Mgetz video
 
@Mgetz AFAIK the rules were different 5 years ago
 
hide behind your police car and wait for him to run out of rocks. don't shoot the guy dead you morons
 
1:35 PM
@R.MartinhoFernandes there is not
 
git is git ... simple operations are easy. I guess if you are the lucky guy to merge 100 other developers code on a 5 million lines project, it would not be as easy. But none of the other version control tools will help you much on that matter either
 
@AMostMajestuousCapybara Nope.
 
@chmod711telkitty and yet linus somehow manages just fine
 
Silly off-topic nitpicky remark: a "tonne" is, by definition, a "metric ton". — R. Martinho Fernandes 16 secs ago
 
> When it comes to stomping, rhinos don't distinguish between laptops and servers.
 
1:36 PM
@Mgetz She's right nonetheless. Though I admit git auto merge is kinda awesome
 
@R.MartinhoFernandes: Nitpicky remark: it's an idiomatic expression, containing a redundancy for emphasis as many such expressions do. — Lightness Races in Orbit 6 secs ago
 
Why? It's the discretion of the OS to restrict access to certain information. It's the task of the developer to handle errors :/ — sehe 27 secs ago
 
@LightnessRacesinOrbit I dunno. It could be a misspelling of "metric ton".
 
Try to merge a couple of files each has a few functions that more than 3 people have worked on
 
@LightnessRacesinOrbit I.e. is the idiom "metric fuck tonne" or "metric fuck ton"?
 
1:38 PM
@chmod711telkitty Then the division of labor was bad in the first place
 
Oct 15 '11 at 20:27, by sbi
Herb Sutter: "Is there a programming language that is the best choice for all (or nearly all) application development?" Dennis Ritchie: "No, this is silly." Bjarne Stroustrup: "No. People differ too much for that and their applications differ too much. [...]" James Gosling: "I think the one that has the best broad coverage is Java [...]" What. A. Prick.
 
Another curious aspect is that an imperial ton is actually more than a metric ton.
 
@R.MartinhoFernandes Either.
@R.MartinhoFernandes I don't dispute the technical accuracy of your observation, of course.
 
Ell
/metric fuck ton(?:ne)?/
 
@Christophe I AM AN IDIOT THANK YOU! — Kiko 17 secs ago
 
1:40 PM
Not if you are working on a project that certain interlaced features need to be released - in real life, it happens ALL the times, especially when you under time pressure
 
@KirilKirov oh my bloody god... — Kiko 5 mins ago
@KirilKirov nope, not the problem. — Kiko 5 mins ago
Is this guy like 8 years old or something
 
> Christophe I was in a rush trying to debug a program that wasn't broken and I accidentally deleted an ending brace. sorry. – Kiko 24 secs ago
I hope he learned his lesson.
 
He said something about brain cells.
 
@LightnessRacesinOrbit He certainly won't live to be old with this stress coping
 
1:42 PM
@sbi link?
 
Still, git is friendly enough to highlight the conflicting zones for you. Then it's just a matter of integrating the colleague's changes to your own ones. That's not that hard (at least I have yet to come across such a thing where I've got hundreds of LoC to look into)
 
@Jefffrey Woah.
That's quite the necroing.
It's an old interview. I might be able to find it.
 
Oh, thanks.
 
Wow, calling someone "what a prick" because of their opinion on a programming language. Classy.
@Jefffrey Google, no?
 
I googled "gotw gosling interview", but knowing it was in GOTW was not necessary since you can just google Herb's question verbatim.
 
1:47 PM
I thought it was a video.
 
@Jefffrey TemplateHaskell
 
> Gosling: I think the one that has the best broad coverage is Java, but I'm a really biased sample. If you're doing things that are heavily into string pattern-matching, Perl can be pretty nice. I guess actually those are the ones I use much at all these days. Most of the older languages are completely subsumed; the reasons for using some of them are more historical than anything else.
Full quote is even better. :D
 
only if you know whatever everyone else is doing ... if two or more people modify certain library function to achieve their own goals, then you might have problem correctly merge the said function. and some times people move things around without telling anyone else & the new code you trying to add depends on the old functionality working exactly the way it used to
 
This code is too long
 
Ell
@LightnessRacesinOrbit I think they were called them a "prick", not "what a prick" ;)
 
1:50 PM
an implementation of asteroids shouldn't take 115 lines
and I don't even have shooting yet
hm how much did the last shoot in Lua take let's see
well okay 160 lines
 
Argh. BOOST_FUSION_ADAPT_STRUCT can only be used in the global namespace.
 
Ell
115 lines is nuffin
 
@Ell actually what concerns me more is:
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE FunctionalDependencies #-}
{-# LANGUAGE FlexibleContexts #-}
might be a bit overblown extension wise for a "simple game example for beginners"
 
> 1>c1xx : fatal error C1063: INTERNAL COMPILER ERROR
NO NO NO NON ONO NONONONONGDFKJGSDFGLDFKDGKDFGAWGJRTIGBJTKLJGJKLKSJDFJv
 
Nice.
 
Ell
1:52 PM
aww robot :(
 
@R.MartinhoFernandes Yeah, I saw... xD
 
@R.MartinhoFernandes GAME OVER. Play again (y/n)?
 
Look at me when I scream into your soul
 
@BartekBanachewicz wot
 
Ell
> Continue?
> Coins: 0
> GAME OVER
 
1:53 PM
@BartekBanachewicz just one do_Asteroids()
 
@sehe there, I just broke VS with Spirit.
 
@LightnessRacesinOrbit ideally I'd like the samples to be really short
 
@BartekBanachewicz then making one of them an implementation of Asteroids is probably unwise
How about a nice game of Fizzbuzz?
 
@LightnessRacesinOrbit I was kinda hoping on a nice step further from polar bear madness 5000
 
user1804599
Pascal is nice.
 
1:55 PM
@LightnessRacesinOrbit well it's supposed to showcase my framework
 
@R.MartinhoFernandes Is that payback for VS breaking your Spirit?
 
@R.MartinhoFernandes what about an anonymous namespace
 
@BartekBanachewicz What about it in particular
 
breaking VS isn't an achievement ... it's so easy any newblet could do it ...
 
@LightnessRacesinOrbit I... know it sounds weird, but I'm not sure yet. I'm writing those samples to actually verify if Haskell for gamedev was a good idea
I am probably overthinking that, considering I wanted it to be for bigger games than love
 
user1804599
1:57 PM
@BartekBanachewicz don't do tutorial-driven API design.
 
user1804599
You'll end up with shit.
 
user1804599
If it's hard for beginners then so be it.
 
@LightnessRacesinOrbit I wanna live inside a castle built of your agony, AND I WANT TO CRUMBLE IT WITH AN AXE TO YOUR CAROTID ARTERY!
 
@райтфолд [citation-needed]
 
I made this class for flags that wraps enum class. But compound assignment (|=, &= etc) might not work as expected. Y'all think I should remove those operators altogether?

http://coliru.stacked-crooked.com/a/f7dfeb5ebcb9e524
 
1:57 PM
@райтфолд if it's hard for me, it's unacceptable.
 
> Q: What things would you like to see become a part of [C/C++/Java] in the next 2-5 years? In the next 10 years? Why?
 
@Mgetz It does specialisation of templates inside namespace boost so no dice.
 
> Gosling: .
 
granted, most of the code is actually data manipulation irrelevant to my FW
 
user1804599
Thou shalt not change your design because you'd otherwise have to explain concept X in the introductory tutorial.
 
1:58 PM
@R.MartinhoFernandes damn, was a nice thought though
 
user3010322
@Pris Consumes the class too easily (requires it to be wrapped up in something first), the restrictions are too harsh.
 
user3010322
Try this instead.
 
@BartekBanachewicz It wasn't :P
@R.MartinhoFernandes Apparently this is some kind of gaming reference
> C/C++/Java
 
@LightnessRacesinOrbit see, compared to you I actually did some gamedev in haskell, even if that was that ridiculously little amount so far
 
@BartekBanachewicz And? So? Therefore?
 
2:00 PM
@LightnessRacesinOrbit It's Borderlands, I believe.
 
@BartekBanachewicz Also, you have no idea what I have and haven't done in Haskell.
 
@LightnessRacesinOrbit I just posted the source.
ah, you mean for you not doing that gamedev?
 
user3010322
@Pris Footnote: The implementation used in wheels doesn't lend itself to generic code where | & are used, since you can't force the generic code to import the operators namespace, so your solution actually covers that case. Use both where necessaryâ„¢.
 
@LightnessRacesinOrbit You haven't done it until proven otherwise, by Occam's razor.
 
@BartekBanachewicz lolwot
That's the strangest interpretation of Occam's Razor that I've ever seen :P
 
2:02 PM
@ThePhD What do you mean by 'the restrictions are too harsh'?
 
@LightnessRacesinOrbit well, do correct me, anyway; what can you tell me about your gamedev in Haskell?
 
user3010322
@Pris Mostly just the demand that the class be of an unsigned type.
 
user1804599
I can name many more examples.
 
user3010322
2:02 PM
Many of the flags in exiting libraries are just plain integral types.
 
You just have to put templates in the wrong place for VS to ICE.
 
@BartekBanachewicz I can't tell you anything about it, because I am not legally permitted to do so.
 
They don't even have to be any kind of TMP abominations. Just plain class templates.
 
@LightnessRacesinOrbit how convenient :P
 
@R.MartinhoFernandes surprise !
 
2:03 PM
@BartekBanachewicz It's inconvenient when I wish to discuss it.
 
@райтфолд point taken
 
And when people refuse to believe me on that basis (which is a fallacy)
 
Ell
you're a phallusy
 
@LightnessRacesinOrbit certainly you can shed some light on your experience without referring to anything in particular, though
 
oh who am I kidding I've never written a line of gamedev in Haskell. what am I, clinically insane?!
 
2:04 PM
afternoon
 
@LightnessRacesinOrbit lel
 
user1804599
Has anyone here used Gemfury?
 
@райтфолд wow. not earth shattering, but excellent that you could produce the relevant example
 
lol Ruby
 
@BartekBanachewicz do you have a repo for your haskell game engine
 
2:05 PM
I have ten minutes left on my lunch break so entertain me at warp nine
6
 
user1804599
@Puppy it's not just for Ruby
 
user1804599
Also for all the other languages you consider inferior, such as Python, JavaScript and Perl.
 
fart fart giggle my dog just farted I fixed a bug nono tickle me more
done
 
user1804599
@sehe why is it so surprising?
 
@райтфолд who said it is
 
2:07 PM
@райтфолд I don't consider Python inferior.
JS and Perl are definitely inferior though
 
10... 9... 8...
 
user1804599
Hmm.
 
(seconds till ridicule)
 
user1804599
I'll install PyPI server on our own server.
 
2:12 PM
@Puppy Why did the dog cross the road?
To get to the barking lot!
 
@Nooble lol
 
@ThePhD You can just bring the operators you want into the enum's namespace.
namespace bar
{
    enum class qux {};
    using wheels::enums::operators::operator|;
    using wheels::enums::operators::operator&;
    using wheels::enums::operators::operator~;
}
@ThePhD I used to just have all the operators in the global namespace so just #including the header would bring the operators, but then I switched to a more opt-in style.
You can still just add the usings to the global namespace and have the old behaviour.
 
user3010322
@R.MartinhoFernandes Ah, and then the enable_if on the functions using the opt-in flags protect it from globally overloading ALL THE THINGS.
 
user3010322
I see. That makes sense.
 
user3010322
I used to have operators defined by macros globally.
 
user3010322
2:19 PM
Then I switched to using the style in wheels, but was flustered for that exact reason I mentioned above. I didn't want to import the enums into something like my Graphics namespace altogether, though...
 
user3010322
... But maybe I should.
 
I use macros but only for code generation.
 
I just made art
by accident
 
Was it poop
 
asteroids stopping so gracefully
 
2:22 PM
Mehwrgh I think I need recursive mutexes :(
 
Le pipeline.
 
@AndyProwl we heard you like critical sections, so we put a critical section in your critical section so you can lock a mutex after locking that mutex
 
I'm seriously depressed about this shit
 
:c
 
2:31 PM
Anyone here already tried KDE Plasma 5 and the new Breeze theme?
 
Is that like a rifle?
 
hm sprite center setting
shittything
 
I think it's an OS.
 
I have class A with functions get_x() and set_x() (yeah I know getters and setters meh) that can be invoked by different threads; set_x() fires an event (boost::signal) that is observed by B. When B's event handler is invoked, it invokes function foo(A&) on an instance of class C, which has no idea of the existence of B. foo() needs to call get_x() on its argument in order to do its job.
 
2:33 PM
i3 best WM
 
    steerShip = do
        whenKeyPressed Key'Space $ player . entity . vel . y += 1
        whenKeyPressed Key'Left $ player . entity . rotVel += 0.01
        whenKeyPressed Key'Right $ player . entity . rotVel -= 0.01
this looks ok
 
@AndyProwl It'd probably be faster to write a POC
 
@CatPlusPlus Proof of Concept?
 
Yes; also what's the issue because I don't see anything wrong in this description
 
Don't write people of color
 
2:35 PM
@CatPlusPlus it was polar
 
@CatPlusPlus Will write a POC
 
@Jefffrey You just wrote it, you monster.
 
off color remark
 
Do what I tell, don't do what I do.
 
@R.MartinhoFernandes i found your enum thing here: reddit.com/r/cpp/comments/14oqo9/…
someone downvoted you
 
2:37 PM
oh noes
 
Ell
@CatPlusPlus do you use it as your everyday wm?
 
No, I only interact with Linux via SSH
 
Ell
I've used it for brief periods off and on, but my de is all borked up atm but I'm thinking of using it full time when I reinstall
 
I did use it and I prefer it to all the others
 
@sehe I'm using administrator account, and the data are available in Windows Explorer without any elevation. What you're saying could make sense if Explorer had some access rights other programs don't have, but as far as I know that would raise too much security issues for MS to ever do it this way. — polkovnikov.ph 53 mins ago
This smells so much of entitlement. So Boost last_write_time doesn't behave the way you wish. That's not a bug in Boost.
 
2:39 PM
@AndyProwl By which time x is being mutated by a different thread which is why set(x) should queue up a copy of x to the thread B. B then does not have to call get(x).
 
The OP appears to complain nobody even moved his cheese. He never had cheese before, yet it's a crime that it's not in the spot he expected it.
 
4 years and I still can't remember my phone number correctly
No, 5
 
:goodjob:
 
@CatPlusPlus You can edit messages within 2 minutes.
 
2:42 PM
I really don't understand the cheese thing.
Maybe I haven't had enough coffee.
 
Eat cheese
 
Why not pancakes?
 
A few days ago somebody showed up the Tizen 3D UI DALi 3D Engine, after analyzing the code, I found it really good and simple to understand, still, non-standard with some weird inheritance hierarchy. I'll be porting some of the structures with SDL2 as the backend.
 
Ell
> Bascilly, by going to viewvc.svn.mozilla.org/vc/projects you can view the source code of every website and project of mozilla. Not sure if this is supposed to be like this , or this is a major information disclosure vulnerability?
 
2:45 PM
I remember that
16 stars
thanks for playing
 
lmao brendaneich.com running on wordpress
 
Like 90% of blogues
Why is it funny
 
2:47 PM
I'd like the mutex not to be recursive
 
@CatPlusPlus Cos Barty Bananas
 
@AndyProwl :D I have something like that
 
@CatPlusPlus isn't this brendan guy actually web savvy or something
 
@VictorLopez I wish I didn't have it
 
2:48 PM
TIL using Wordpress means you can't be "web savvy or something"
Brendan Eich would be way more "web savvy or something" if his blog were powered by Haskell, surely.
 
using shitty technology basically means that either your standards are fucking low or you can't tell it's shitty
 
either way, if you use shitty technology, you suck.
 
I can go onto Brendan's blog and read his articles. Seems to work well enough.
 
If your company makes you use shitty technology, it sucks. and so on.
w/e
 
2:49 PM
@AndyProwl Unlock before raising event
You don't need to hold the lock for the entire duration of dispatch
Esp that you lock in get anyway
 
I think I do need it
 
@BartekBanachewicz Good technology is indistinguishable from shitty technology that works.
 
because otherwise D::foo() may read an inconsistent value
 
It's a recipe for deadlocks
 
@AndyProwl atomical_property because atomic was not atomic enough.
 
2:50 PM
@R.MartinhoFernandes You forgot scare quotes
 
@CatPlusPlus I do realize that
 
@R.MartinhoFernandes for various definitions of "works" apparently
 
@AndyProwl No, because setting the value will be locked
 
@CatPlusPlus How can it be locked if I release the lock before firing the event?
 
Ell
sufficiently working shitty technology is indistinguishable from magic - Arthur C. Clarke
 
2:51 PM
@AndyProwl Set the value, unlock, fire event
 
@BartekBanachewicz No, I'm using yours.
> using shitty technology basically means that either your standards are fucking low or you can't tell it's shitty
 
Ell
> can't tell it's shitty
 
If you can't tell it's shitty, it has to be indistinguishable.
 
void set_x(int x) {
    {
        auto lock = acquire(_m);
        _x = x;
    }
    _event();
}
 
@CatPlusPlus Right, but after unlocking, and before the event handler is invoked, someone else could change the value again
 
2:51 PM
@R.MartinhoFernandes or, as the first part of my claim states, you're just bad.
 
If you don't want that to happen, then serialise the value as part of the event
But don't hold the lock for the duration of the event
I.e. make it signal<int> and do _event(x)
 
@BartekBanachewicz Yes, but the second part basically amounts to "or it works".
 
@CatPlusPlus I thought of doing that, but I can't push the whole state to the event handlers, because I don't know in advance what the handlers will need: C is an abstract interface, concrete stuff is in D and other derived classes. I don't want the needs of those derived classes to leak into the signature of the event
 
@AndyProwl So what's wrong with that?
Wait, the whole thing is wrong regardless if the value is not atomic.
 
2:54 PM
@R.MartinhoFernandes D::foo() needs to compute derived data that must be consistent with the state of A
 
It's just a plain race.
The concerns about consistency are secondary.
 
Snapshotting the state for the event is the most reliable way
 
@R.MartinhoFernandes Wait where is the race?
Oh you don't mean a data race do you?
 
@AndyProwl The bits that read are not ordered with the writes.
@AndyProwl Yes, I do.
Thread A locks, writes, unlocks, reads.
Thread B locks, writes, unlocks.
Only the writes are ordered. The read in A is ordered with the write in A, but has no relation with the write in B.
 
2:57 PM
There is something called std::shared_timed_mutex but I'm unaware its usage. I think they solve the writer problem for multithreaded reading and writing.
 
resetting sprite origin fucks up my texcoord calculation algorithm
 
@NathanOliver: Yes, that's correct. Your edit would have to be a "suggested edit" due to your low rep, and those are required to be substantial to avoid bloating the review queues. You did the right thing here; thank you! — Lightness Races in Orbit 19 secs ago
nice to see
 
If you lock for the duration of the event then no other thread will be able to even read while event is dispatching
 
@R.MartinhoFernandes Sorry I don't get it. What's the interleaving that causes the data race?
 
I should change the transformations to use matrices all the way
 
2:58 PM
@CatPlusPlus :cpt.O:
 
@AndyProwl The read in A and the write in B can happen without order between them.
 
Reads are interlocked
 
@R.MartinhoFernandes I don't understand how that is possible
 
@AndyProwl There's no order between them.
That's it.
 

« first day (1584 days earlier)      last day (3359 days later) »