« first day (1016 days earlier)      last day (3947 days later) » 

9:00 PM
Vewy impowtant
 
@Ell I was reading an article about it and it said that trying to get those customizations to work requires altering delicate code which could mess everything else if even a single thing goes wrong. I don't feel like taking a chance on it.
 
Ell
@TheGuyWhoCouldn'tTalkToTheGirl the worst that happens is you will have to boot into a linux live cd and edit the conf again
the article was wrong.
 
@CatPlusPlus It is.
 
hello >> :-)
 
Why why whywhywhythefuckisthatimportant
 
Ell
9:02 PM
@TheGuyWhoCouldn'tTalkToTheGirl also, you could use grub customizer to do it from a gui
 
guys ? I need an answer to quetion that might be strange please
 
user142019
Arg.
 
user142019
Why is there an edit time limit for the last comment on a post.
 
What has this discussion turned into?
 
what does main () function in c++ contain inside ? i tried to Google it but it id not help
 
user142019
9:04 PM
@Billo.S It contains whatever you put in it, just like with any other function you define.
 
@Ell What?
 
Ell
I've been on 4chan too much.... I have to troll xD
 
oh you're on 4chan
 
user142019
/g/ is always full of Erlang.
 
Ell
Only lurking daily
 
9:05 PM
yea yea
I'm afraid to go to 4chan. I'm worried that brain bleach won't do it.
 
@rightfold that's Ok .. but i need to know the main () Structure from inside .. any ideas ? please ?
 
get a good book, read it.
 
user142019
@Billo.S I have no idea what the hell you mean.
 
don't ask noob questions in here
 
user142019
9:06 PM
main is a function, not a data type.
 
so I downloaded this funky screen recording tool and figured I'll give it a try
 
user142019
It contains machine code.
 
with x264 codec it's really neat.
 
Dxtory owns.
 
@rightfold .. i there any code sample of the main () function .. I mean what does it consist of ? is it like normal functions ?
 
user142019
9:07 PM
int main() {
    std::cout << "Hello, world!\n";
    return 0;
}
 
@Billo.S it's the same as any other function
 
Ell
@BartekBanachewicz awesome work!
 
OMG! Please, for the love of all that is code, go read a damn book.
 
@rightfold return 0 is redundant
 
user142019
@BartekBanachewicz but with restrictions on the function type.
 
9:08 PM
@Ell thanks :)
 
user142019
@BartekBanachewicz Which is the most idiotic bug of the C++ language.
 
user142019
It should instead allow both int main() and void main(), like D.
 
Why does Escape close entire backup wizard with all my carefully made filters in it WHY
 
@BartekBanachewicz what is this project?
 
Why people are so bad at UIs.
 
user142019
9:09 PM
Escape should go into normal mode.
 
@Pawnguy7 well, QuadTree?
 
@BartekBanachewicz I am confused. Isn't that a data structure?
 
@rightfold i'm sorry I did not mean an example of using main () I meant the inside structure of the main () function .. and sorry if the question looks stupid
 
user142019
WHAT FUCKING STRUCTURE ARE YOU TALKING ABOUT :plonk:
 
@Pawnguy7 it is. And that shows example usage of it
 
9:10 PM
@Billo.S your question makes no sense
 
@Billo.S what is "inside structure" for you?
I am genuinely curious
 
user142019
 
:-)
 
@Pawnguy7 I have disabled the layout display, but in general all the funky rectangles are stored on the tree
 
9:11 PM
ok guys .. thank u anyway
 
Ok...
I log in and see an ass.
Awesome.
 
This is the lounge yknow...
 
0
Q: How to atomically perform sequential load and store operations?

VahagnConsider this code under GCC 4.8.0: std::atomic<bool> a; std::atomic<bool> b; a.store( b.load() ); // want to be atomic How can I make the line above to be atomic as whole? In other words, how to obtain atomic assignment of atomic variables? Are there any alternatives for std::atomic which a...

@wilx Not that strange in here.
 
:)
 
also what is this question?
 
9:14 PM
I think he's looking to declare a code section to be atomic
or something along those lines
 
@TonyTheLion It seems to me it the thing he asks for does not make sense...
 
I'm not sure that it makes it sense either
@Borgleader but his load will be atomic, and his subsequent store will also be atomic.
I don't see a problem
 
He wants the load/store pair to be atomic
 
its not going to change the order of the instructions (load then store) because it wouldn't make sense then
so instruction ordering wouldn't be a problem here
 
like...
__DO_ATOMIC_
load shit
store shit
__END_OF_DO_ATOMIC_
 
9:16 PM
afaik
@Borgleader impossibru
 
user142019
 
user142019
I'm doomed.
 
you are.
 
@Pawnguy7 I can explain it to you in better detail if you want, this topic is my #1 currently :)
 
@TonyTheLion now that i think about it, he might just need a mutex, depending on the use case
 
user142019
9:19 PM
Why haven't humans made wasps extinct yet.
 
@rightfold I killed 21 of them in the last 2 days.
 
user142019
Where do you live?
 
Keeping track of my K/D. :D
 
@Borgleader that's what I was thinking, however I don't see the point really. If you're already using atomics, you don't need to add mutex, because your load/store operations can't be interrupted and produce corrupt data.
 
Croatia
 
user142019
9:20 PM
I have seen only one in the last two days.
 
21/0
also killed two bees
1 cricket
 
user142019
@Tuntuni indeterminate?
 
user142019
Why do you kill bees?
 
user142019
Bees are harmless if you leave them alone.
 
Why do I kill wasps then?
 
9:20 PM
@BartekBanachewicz how quadtrees work, you mean?
 
Because they annoy and bother me.
 
@Pawnguy7 more like why do I even write this stuff
 
user142019
@Tuntuni Wasps are aggressive fuckers.
 
@TonyTheLion Well im thinking it might be a data access in a file from a multithreaded app. So he might want to make sure that the data doesnt change between load and store
 
@BartekBanachewicz I was wondering that, yes.
 
9:21 PM
@Borgleader Where would it change?
 
at which point mutex solves the issue
 
@rightfold Some of them. They show up right when we're about to have lunch and then ALWAYS fly around my plate.
 
user142019
Wasps go sit on you and crap.
 
That's when I take a bag of parmesan cheese.
And flip dat shit.
 
user142019
Bees just sit on flowers and mind their own fucking business.
 
9:22 PM
@TonyTheLion so you load, thread context or wtv changes, some other thread changes the value, comes back to the first and store happens.
 
These were in the kitchen.
 
user142019
Why do you have your doors or windows open with this heat.
 
They came from a nest which is in a part of our roof.
small one though
 
@Pawnguy7 there's a rendering technique that was created in NVidia laboratories, published and then used in Epic Games "Elemental" demo basing on this stuff. Basically it creates a Global Illumination model, which makes stuff like light bouncing off surfaces possible to render in realtime
 
user142019
Burn the nest.
 
9:22 PM
we did
 
user142019
With gasoline.
 
they came back now
but yesterday, that fucking cricket
disgusting
 
@Borgleader I see. Yea. That is a possible scenario. However in OP's limited scenario that wouldn't happen. We don't know if OP is using a data anywhere else besides inside that call. Though changing the value won't corrupt it, because atomics
really there isn't enough data in that question
 
@Borgleader So what.
 
@rightfold So did one of them sting you? How many did you kill so far? :D
 
9:24 PM
@R.MartinhoFernandes so what what?
 
It doesn't change anything.
What you described is the same as 1) b.load() in thread A; 2) a.store() in thread A; 3) b.store() in B.
 
@BartekBanachewicz Like this perhaps, or is that fancier than what you are thinking of? (or not the correct number of dimensions)
 
There is no way to tell the difference.
 
maybe my example was just wrong, but there are ways in which not having load/store pair be atomic lead to data becoming out of sync. assuming theres a data output counterpart
 
@Pawnguy7 I am creating a 2D model, but it should be possible to move it to 3D later. But yeah, it allows effects like that in realtime
 
user142019
9:28 PM
@Tuntuni I never got stung by anything for as far as I know.
 
user142019
I haven't killed any wasps this year.
 
user142019
In fact, I've only seen three of them.
 
@BartekBanachewicz Unless you are forever alone with a laptop boasting only openGL 2.1? :D
 
-4*x*x + 4*x, I love you ;_;
 
@rightfold Same here but I still hate when they constantly fly around me.
 
user142019
9:29 PM
Insects make me nervous.
 
It's a lovely parabola
 
user142019
They're the reason I don't like being outside during summer.
 
@rightfold Yup.
@rightfold YES. Also, the fucking sun
 
@Pawnguy7 current version uses OGL 1.5 :P
 
user142019
My favourite season is fall.
 
9:30 PM
The positive range is over (0, 1) and the point of maximum has y = 1
 
@Borgleader No, there are not.
You cannot write code where a thread will observe an inconsistency without actually changing the OP's code.
 
@BartekBanachewicz The fixed pipeline?
 
hm, so according to the paper, I should bake lights first
@Pawnguy7 yes. It's done on CPU entirely ATM
 
@Borgleader I think robot is right, the atomic store is atomic, so the load being done inside will be done entirely inside the store. It will not get interrupted.
 
@BartekBanachewicz Oh. I thought you were allergic.
Ah.
 
9:32 PM
@Xeo hope my clarifications help
 
Alright I rest my case
 
Well, integrated GPU here, so I am not sure how much of a difference it makes.
 
@Pawnguy7 I am allergic to people using fixed pipeline when they don't know what they are doing. I know what I am doing.
 
Xeo
@JohannesSchaub-litb Hm? Where?
 
@Pawnguy7 My CPU is pretty good at calculating those raycasts, TBH.
 
9:33 PM
@rightfold I love both fall and winter. I think it's easier to warm up than cool down, and also, the heat irritates me so much. I can't fully focus on anything, it's so annoying.
 
What GPU has nicer is builtin hardware filtering; if I stored the tree as 3D textures, sampling from it could be much nicer
 
Xeo
@JohannesSchaub-litb ooh, didn't see your reply in the thread, sorry.
Only saw Richard's
@WakeupBrazil: Here's an idea.Xeo 5 secs ago
 
user142019
@Tuntuni Winter makes traveling by bicycle uncomfortable.
 
@Pawnguy7 I also don't feel competent enough in compute shaders / OpenCL to try doing that at once on GPU
 
user142019
Because fuck bicycling when it's minus fifteen degrees celsius.
 
9:35 PM
@rightfold I use mine rarely so I don't mind. :D
 
user142019
I use mine every day.
 
Noice.
lol dat pun
 
@Pawnguy7 this article, albeit a bit hard, explains why the GPUs are good at this stuff
 
user142019
Bicycling becomes increasingly popular in the Netherlands.
 
user142019
In some places it's too busy on segregated cycle facilities.
 
9:36 PM
Cause its all flat
 
user142019
@TonyTheLion :P
 
@TonyTheLion :P
 
soooo
4 mins ago, by Bartek Banachewicz
hm, so according to the paper, I should bake lights first
 
user142019
They're also planning on warming up segregated cycle facilities during winter to prevent them from being slippy.
 
opens the oven
 
9:37 PM
maybe I should eat my pizza
 
fuck, I think I need to implement casts starting in the middle of the tree first
 
@thephd did the dishes for me and cleaned the oven thingy I have been too lazy to clean in forever. <3
I didn't even ask him, he just volunteered it.
 
@BartekBanachewicz By that you mean bake lightmaps?
 
@TonyTheLion You guise went to your house after the pub?
 
@Borgleader I think that simply means storing irradiance on voxels hit by light :S
 
9:39 PM
@Tuntuni He slept here in my flat for two nights
 
Oh, lol.
I thought it was a one day meetup.
Cool.
 
It's hard to do that when you're from another country.
 
Xeo
@TonyTheLion Maybe one could get him to work as a personal butler.
 
@BartekBanachewicz oh that's not as bad ?
 
9:39 PM
@Xeo lol
 
@CatPlusPlus Yeah, that's why it was so weird. :S
 
@Borgleader it kinda gets weird considering I'm doing it in pseudo-2d-3d
 
user142019
Bicycle is best vehicle.
 
If your feet don't hurt.
 
feet are irrelevant in biking
 
user142019
9:41 PM
I should go to work on a penny-farthing. With a hat.
 
@BartekBanachewicz you need them to pedal, not that irrelevant.
 
@BartekBanachewicz ugh how? your foot is still pressing against the pedal.
 
ever heard of those?
 
the fuck are those
 
9:42 PM
these are proper bike pedals :V
 
@BartekBanachewicz no? Do they stop you needing to pedal the bike to move it forward?
 
why.
 
why.
 
@TonyTheLion you are operating in continuous force instead of just pushing
 
9:43 PM
why.
 
user142019
because?
 
dammit
 
because.
 
basically virtually everyone that's biking more than on sundays is using them
 
user142019
@TonyTheLion You don't.
 
9:43 PM
@BartekBanachewicz still hurts my feet.
 
@TonyTheLion then you have bad shoes
 
@BartekBanachewicz erm. No. I have bad feet.
 
user142019
You can cycle using hands instead of feet.
 
believe me, my feet are bad.
 
user142019
9:44 PM
It's not as easy but it's possible.
 
Xeo
 
@BartekBanachewicz didn't you hear of his story. :S
 
Xeo
Wuhuu, Vsauce
 
get something like this problem solved :F
@Tuntuni what story
 
@Xeo You seem to like that?
 
9:44 PM
@BartekBanachewicz Obviously about feet. :P
 
...
do we have some foot fetish here?
 
Ell
They are called spds :3
And I'm getting a pair next week.
 
@Ell high 5
 
Ell
I'm also getting a new road bike
 
9:46 PM
I can't afford the one I want so fuck it
 
@TonyTheLion I'll link to that post of yours (a while ago), dat ok wiv u?
 
@Tuntuni yea. Its in the lounge, so you can link to it
 
Aug 5 '12 at 22:48, by Tony The Lion
@sehe First time they did both my legs (I was 6), broke them, put that Ilizarov apparatus around my legs, so they could then over the next 6 months turn my feet the right way. Second time was my right foot (I was 10), and leg, for 6 or so months again.
 
user142019
We should once all get together and play curling or unicycle hockey.
 
@TonyTheLion still, i don't want to bring it up if you don't want to
 
9:47 PM
@Tuntuni ouch
 
@Tuntuni I don't mind.
 
@BartekBanachewicz yeah :'(
 
@TonyTheLion poor lion and his paws.
 
@TonyTheLion had to ask to be sure :)
 
aighty, that explains a lot
 
user142019
9:47 PM
I don't have a mind.
 
But those pedals.
What's so special about them, how do they help?
 
Well, we'll all kinda hurt here. Puppy with his gallstones, Tony with paws, I'm retarded.
 
user142019
They are expensive so they make you feel more confident.
 
user142019
@BartekBanachewicz Elke gek heeft zijn gebrek.
 
Ell
@Tuntuni you move forward on the upstroke as well as downstroke
 
9:49 PM
@Tuntuni they allow you to use all the muscles properly
 
Ell
as in, your legs are always working as opposed to only on the down stroke on alternate legs
 
OIC
 
Xeo
@TonyTheLion Very much
 
@Xeo Its very interesting :)
 
@rightfold yours would be english, huh? Oh wait, it rhymes in Dutch.
 
9:50 PM
@rightfold hahaha
 
user142019
@MonadNewb It's a Dutch saying.
 
@rightfold I don't understand!
 
Xeo
SciShow, Vsauce and MinutePhysics are some of the more interesting channels in my sub list
 
@MonadNewb then you fit.
 
Xeo
I love it when they put up a new video.
 
9:51 PM
@BartekBanachewicz fit what?
 
Ell
@Xeo "Hi I'm michael, from Vsauce" - how can you stand how he sounds? :P
 
@MonadNewb fit in :)
 
Ell
I like the content, but not his voice >.<
 
TIL @LightnessRacesinOrbit has a guitar
 
user142019
TIL @LightnessRacesinOrbit has a guitar
 
9:52 PM
no combos.
 
user142019
bin
 
Ell
We have like, 6 guitars in this house atm
 
Xeo
@Ell "Hey! Vsauce, Michael here"
 
@Ell I have 4
 
Xeo
9:53 PM
@Ell Also, why shouldn't I be able to "stand" it?
 
user142019
I have equally many lives as guitars.
 
Ell
@Xeo Haha I don't know, he just has quite a strong American accent
 
Xeo
Think so?
 
@rightfold but you don't have a life
 
user142019
@BartekBanachewicz That's what I said.
 
9:53 PM
@rightfold :)
 
user142019
@BartekBanachewicz :(
 
I have a guitar
but I can't play it :(
 
user142019
Ich gehe to sleep.
 
user142019
Später!
 
@rightfold you should listen to Rubina's Blue Sky Happiness by Joe Satriani
 
9:54 PM
Bye
 
@rightfold viel Spass.
 
user142019
@BartekBanachewicz I'd rather listen to white noise.
 
@TonyTheLion guitar is a cool instrument.
 
user142019
@BartekBanachewicz Dankeschön! Vieler Spaß you too!
 
user142019
inb4 Xeo corrects us all.
 
9:55 PM
@BartekBanachewicz it is.
> most quickest
lol
@Xeo I liked that one :)
 

« first day (1016 days earlier)      last day (3947 days later) »