« first day (1553 days earlier)      last day (3619 days later) » 

20:01
@LightnessRacesinOrbit You're collecting SE accounts? Does this make sense?
user1804599
0
Q: Parsing ambiguous input with Jison, prefering one parse over another

рытфолдI have the following grammar: stmt : var_decl | expr ';' ; var_decl : 'lazy' IDENTIFIER '=' EXPR ';' ; expr : expr '=' prefix_expr | prefix_expr ; prefix_expr : 'lazy' prefix_expr | term_expr ; term_expr : IDENTIFIER ; However,...

user1804599
Probably the wrong way to do it™
@πάνταῥεῖ yes
@LightnessRacesinOrbit Like to elaborate? Ya know I'm just an old stupid and ignorant fart :P
wait, you're a fart
20:05
@AlexM. That's none of your matter unless you smell it!
@πάνταῥεῖ I don't get it
Did you want to ask me a question?
he has a doubt
@πάνταῥεῖ ew
@LightnessRacesinOrbit Well, the least time I started collecting SO accounts, I was at a 7 days ban (and have been pretty bored)
20:07
@πάνταῥεῖ I have literally no idea what the hell you're talking about
When you sign up to other Stack Exchange sites, it's linked to your existing network account. You don't get banned.
@LightnessRacesinOrbit Are you collecting SE accounts for fun?
@πάνταῥεῖ I'm not "collecting SE accounts". I have one SE account. I am gradually using it on more and more SE sites, because they are fun.
@LightnessRacesinOrbit Yeah, looks like sometimes.
@πάνταῥεῖ How so? Can you give some examples?
I'd build a shrine to pizza
such a simple recipe
20:10
yeah just bread goats and ketchup right
where the most important things are the cook's skills in choosing the best quality ingredients and balancing them properly
so, the easy stuff
Well, that recent "world building" and "astronomy" looked funny of course. When I was bored, I went to some to help for my real life.
I don't know, it takes experience to balance tastes properly
I wouldn't say it's easy
@AlexM. no, neither would I. I was being sarcastic
20:12
> Italian cuisine is characterized by its simplicity, with many dishes having only four to eight ingredients.[9] Italian cooks rely chiefly on the quality of the ingredients rather than on elaborate preparation.
I think pizza is a perfect example of this
@πάνταῥεῖ I get attracted there by the "Hot Network Questions" sidepane
@LightnessRacesinOrbit Ah! That explains a lot. I usually stay away from it :) ...
My Anthurium plants are in bad shape still :(
But the geckos don't mind at all :D
3
Q: How can I keep my flamingo plants small for a terrarium?

πάντα ῥεῖI have some flamingo plants, Anthurium sp., growing in my 60x100x60 cm rainforest terrarium. My problem is about this big one here It's about 60cm in height, and I want it to keep it a bit smaller and growing more, but smaller leaves (both the green leaves and the spadices). The plant is growi...

TIL flamingos are plants
@LightnessRacesinOrbit I think the better term is Flamingo Flowers
20:19
> Mrs Lang is survived by a 91-year-old daughter.
^ someone who died yesterday
> And bcrypt is... situational... pbkdf2 - doubly so. Learn what it is, think about why linux distros use sha512 , think a little bit more about interoperability, maintainability, attack vectors... and then choose what hash function you should use. Those "Use bcrypt. Use bcrypt. Use bcrypt." articles are worthless.
@EtiennedeMartel Swingers! It's a thing these days. No need to be coy about it
Hmm..ham and melon for starters, then mebbe salmon..
@thecoshman TIL some new words
what's the minimum rep for OPs to upvote?
20:25
i think i will have a couple of dairylea triangles
that should keep me going for a few hours on the lash
@AndyProwl OPs cannot upvote
@AndyProwl infinity
I don't get it
@sehe What a moron. And I'm saying this not only because of what he said, but also because of zero effort to justify his opinion.
what's the minimum rep for upvoting?
Wonderful drugs.
@AndyProwl 15
@AndyProwl it's not complicated. you cannot upvote your own content.
20:27
@LightnessRacesinOrbit yeah, I got it
@Griwes Got better ones.
1 min ago, by Andy Prowl
I don't get it
@LightnessRacesinOrbit jeez, I meant to say "yes, I finally got it" or something
@AndyProwl ;p
I broke Andy, everyone
20:31
music is great
everything is great
why is everything great what the hell
and I didn't even start drinking yet
what did they put in my pizza
maybe that's why
hahaha
bogdan got spiked by the pizza company
he's bogerred
@milleniumbug he knows it's not worth his time. He's just the wrong brand of lazy
@LightnessRacesinOrbit Good movie.
also look at this monkey getting scared by its own reflection i.imgur.com/hDgPVx8.gif
I wonder how kids react to seeing mirrors for the first time
do they think it's someone else there
or are they aware of what is happening
Has anyone used Accelerate () here?
@Rapptz yes
alright pub bye
user1804599
What should I name my standard library?
user1804599
20:56
Its name should have something to do with lasagna.
Xeo
Xeo
Bechamel
@рытфолд flour?
Lasagna
user1804599
@Xeo bechamel is so long. :P
Yeah! That's a great, great idea! Put them all out to their own SE site! — πάντα ῥεῖ 35 secs ago
20:57
just use a nice name
boost is a nice name for a library
user1804599
Ragu it is.
the D equivalent is Tango
well, was, it's dead now
but Tango is fucking ugly
user1804599
D's is Phobos.
horrible name
user1804599
Named after one of Mars' moons, because Digital Mars.
20:58
pretty sure Phobos is not Boost's equivalent for D
...
user1804599
No, Phobos is the standard library of D.
well I was talking about boost being a nice name for a library
:P
and how its equivalent in D has a horrible name
if I made a language and a standard library for it
I'd just call it "<language> standard library"
lol
@AlexM. My kid liked looking at "the little boy in the mirror" as we called him. I think by now he's figured out it is him. I'm not really sure how.
Xeo
Xeo
@рытфолд Just one letter longer than Prelude!
user1804599
21:11
@AlexM. Well, since the JavaScript ecosystem is just as retarded as the C++, Haskell, Python, Ruby, Perl and Erlang ecosystems in terms of module naming, picking std will probably coincide with many libraries, because unlike the Java ecosystem they don't prefix their names with reverse domain names.
oooh here's a name
call it Express
it's nice
user1804599
Exactly.
user1804599
Now if you had com.visionmedia.express and sexy.rightfold.express that would totally work.
sue visionmedia
show them that you're meaning business
you're in the coding job to stay
you're the alpha coder
user1804599
21:17
does someone know if it's possible to make a specific file public on visualstudio.com ?
user1804599
Open it. It will become visible.
dumb games question; do games usually go by the model/view/controller model, where the view would refer to the graphics? Or am I thinking like a web dev too much
@corvid I'd say the patterns still apply, though I'm not an expert in game programming (Just have to deal with frame-rates and stuff)
I also really don't get how networked games handle 3D models, in the sense of data
@corvid As much as compressed data and data deltas on the wire as possible
21:25
do games with an executable file just download the model data with the game and pull it from local storage, or is it on the server?
user1804599
It depends on the game.
user1804599
But it would be stupid to download new models sixty times per second.
user1804599
They probably send commands like walk and jump and then the models are animated on each client separately.
no, you don't do MVC in games
unless you want to
but generally you don't
and to answer your question
the art is on the client
server <-> client deals with logic only
there may be some validation prior to this
a client check to see if the artwork was altered
user1804599
I do (loop [state default-state] (render state) (recur (update-state state (get-input)))) in my games.
21:29
the way you see your 3D model moving
might not be the way someone else sees it
and this doesn't matter as long as it's approximately accurate
it goes even farther with, say, multiplayer FPS games
hmm then that makes my project have a problem... or I can only have really low poly models
you may seem to shoot your enemy
but the server decides that you did not shoot him
so to you it looks like you're firing through him
user1804599
fuck the server!
user1804599
I rage quit!
21:31
@corvid what
I dedicate this song to you guys.
I don't understand where your models come into this
@AlexM. _Art_ has no model? _Client_ has no view? _Client <-> Server_ communication isn't managed by a controller?
Learn! Learn! Learn!
@AlexM. I wanted to try to make a game with WebGL that included models, but the concept kind of fell apart when the models had to be stored locally, no?
no, why
both your players have the same models
that's why you check your assets prior to running the game
unless you want them to MOD your game
and use custom assets
21:33
Fuck me, I'm more ratted than 'Ratted' Rat McRat after a session on warfarin.
@AlexM. You seriously need to get at a higher level of abstraction to see appropriate patterns.
assets are usually packaged together in formats that make people not want to mess with them anyway
But WebGL will be interpreted, so there's only very little local storage to store something like models which seems to be more like a client thing. Also I just don't see how it works in a database
like, I want to get the item with an ID of 3331. Where does the model that is included with that item come from?
pretty sure you can download things on the client
aaaaall I know
alll I know
21:35
Unreal Engine 4 uses WebGL for their web stuff
check them out
is that I'm lost
whenever you go
alll I know
is that I love you so
so much that it hurts
how do you think they've done it?
LOL
Can I have puppies address
Please, please, fucking please
repost
@AlexM. Wait, what
21:37
we've already seen it
and sent you glitter
prepare, motherfucker :P
@AlexM. I don't care, gimme puppies address
why puppy?
@Jefffrey The question is, why not puppy?
No, no. The question is actually "why puppy?".
I mean, has he earned the right not to loose eyesight?
21:40
That doesn't make much sense.
@corvid like this
Xeo
Xeo
I'm doing something wrong in this code.
@AlexM. (you don't)
how are you supposed to properly clean up a thread without calling join() on it in c++11? detach seems so flaky. should i just call that and let the OS take care of it?
if (!HasModelWithId(id) || IsModelTamperedWith(id))
{
	DownloadModel(url, id);
}
LoadModel(id);
Xeo
Xeo
21:41
@Pris Depends on what you want that thread to do?
@Pris what does it mean to "clean up" a thread?
> For my 1 year anniversary I didn't know what to get my wife so I bought this thinking it would be funny. It wasn't, I'm now divorced, broke & living with my best friend. I'd like to talk with the owner to get a refund & discuss damages. You can reply directly to this email address.
yes, to await for a thread to finish before the main thread ends is to call join
@AlexM. I see... just wondering where the technical limits of JavaScript + WebGL will be reached
detach basically created a daemon, which is then only handled by the OS or it ends itself
21:43
@Jefffrey ... the question is, why would it not make much.... hold on
@corvid you probably won't reach them
I have the thread running a loop where its processing events. I want it to break out of the loop (which should mean the thread is done 'executing') and then just 'destroy it' correctly
Okay, that is actually the question
@Pris use join
@AlexM. you see, you're assuming I'm a moderately okay programmer who can write efficient code. Therein lies the problem
21:44
I'm not assuming anything
There's an oddball case where I get an event to stop the thread... from the thread itself. So calling join() on itself will deadlock. I guess I could check for thread::id before calling join
I'm doubting that you can actually finish what you have in mind
which is why I think you won't reach any limit
@Pris wat
if you want to prove me wrong, be my guest
why would it deadlock
if the thread stops itself then join will return
21:45
join() blocks the calling thread. Say you call thread_a.join() from the main thread. The main thread blocks until thread_a returns
now say you call thread_a.join() from a function thats executed by thread_a
until thread_a is finished or is interrupted
I appreciate that you didn't join chat to ask about math again though
it's progress
@Pris lol
you can use the web for help if you get stuck
that's flawed design
21:46
also why the need to make a webgl game out of all techs?
and I'm not even sure it can be considered deadlock
thread_a should never call join on itself
that makes no sense whatsoever
I think he wants thread_a to call join on its creator
lol
wait no, nvm
Yeah I thought so too... but I mean, I'm a little unsure of how to get around it. I have a simple event loop. You post events to a queue handled by a thread. Now say you want to stop the event loop by posting an event on the queue so it finishes all events up until it hits your "stop thread" event
IRTW
@Pris learn about condition variab..
one sec
condition variables yeah
21:48
std::this_thread::sleep_forever();
I think what I should do is ... just break the loop from the event, and call join from the thread that posted the event
@Pris just make the thread_a return when it reads a stop event?
Yeah... that makes more sense
Al
@Jefffrey but he wants to discard events when a stop event is inserted
wait no
> so it finishes all events up until it hits your "stop thread" event
21:49
@AlexM. i know about cvs a little. i used one to do a timed join()... was p cool
yeah, I think I better stop reading this
try_join_until(chrono::duration)
can you use an "empty" future?
@AlexM. only goal is to create a movable third person character that saves location when you close the browser window
21:50
of course you can
@corvid ok
maybe not with void, but definitely with boost::optional
do that with cubes
and come back when you have something functional
user1804599
@Pris eww
user1804599
Should be called while not until.
21:50
@AlexM. dat pun?
user1804599
until should take an instant, not a duration.
yep, that's what I am working on, just thinking while doing it
@рытфолд std::condition_variable would beg to differ
m59
m59
Hello.
21:51
or maybe not... its either wait_for or wait_until
hmm
@corvid welp most tutorials should apply to your thing too
the math is the same anyway
Three js makes the graphics ridiculously easy, outside of the organization of the structure
might as well use a proper engine then
Unity has a web player
I thought you were doing it from scratch
m59
m59
Does anyone use dotc ?
21:56
is calling join() from the destructor of a thread object a bad idea?
@Pris Yes! Call join() from owner instead.

« first day (1553 days earlier)      last day (3619 days later) »