« first day (1931 days earlier)      last day (3019 days later) » 

7:00 PM
@Lalaland my projector screen that's shipping on monday kinda disagrees with you though
stuff in life costs money
saving up is really good
 
Ell
In haskell, you can't use a type constructor by itsself because types are not first class, ie doing :t Maybe Int says "no data constructor Maybe" instead of just saying "type"
whereas in idris, taking the :t of a type constructor will just yield "type" as type constructors construct types (unsurprisingly)
 
and those like condradict themselves
 
Ell
Okay!
 
user406009
@BartekBanachewicz Yep, easier said that done.
 
@Ell but there is :k in GHC ^^
 
Ell
7:01 PM
@Lalaland (while still having fun ofc)
 
yeah, try :k
 
@Lalaland I tend to do it in multiple ways
 
user406009
I have already started to cut down my food costs by switching to more sandwiches and less frozen food.
 
i have a set up thing that steals money from my account each time
 
user406009
Frozen food is quite expensive.
 
Ell
7:01 PM
Ah I didn't know about :k. Thanks
 
kk then ^^
 
i also save up stuff manually as well
 
I need a tunnel method.
 
but the only real thing to do is to spend less than you earn @Lala
if you remember about that, you're golden
 
@Ell I’m not saying you’re wrong, but another way to put it is that :t expects an expression and Maybe Int is a type, which in Haskell is not an expression by itself
in Idris it’s also a type, but this time you can use it by itself
 
7:02 PM
that being said
 
Ell
@LucDanton right - this is a better way of putting it, thanks
 
buying fast things and riding them is one of the best things one can do in life imho
 
Ell
@BartekBanachewicz you should get yourself a sybian
 
@BartekBanachewicz I'd say riding other stuff is one of the best things one can do in life
 
btw
to all you gamedevs here
@Ell @ScarletAmaranth you're both gross
V8 > tits
 
7:07 PM
@BartekBanachewicz o_O
how about no
 
bartek obviously never encountered juicy anime tits
 
or any tits whatsoever by the looks of it
 
ironically, I've never intimately encountered a V8
@AlexM. you know this kinda sounds sad when you're saying that right
 
fwiw I'm also looking forward to ride my bike now that I'm healthier
burned 360 kcal before going full sick
I wanna do 700+ when I get home
 
user406009
Bike riding is fun.
 
7:10 PM
that's 2 hrs or so
which is very doable on a weekend day
 
I like bicycles but motorcycles are just so much nicer
 
my bike isn't even real
it's a stationary fitness bike
 
user406009
@AlexM. It's not quite the same though.
 
it's called bicycle so I call it bicycle
 
user406009
(Although biking on streets does sorta suck at time. It's really only good when you have a bike lane or separate bike path.)
 
7:12 PM
biking in the city is hell
I don't know how it is for bikers but as a pedestrian I hate seeing bike people fly by me
I hope they fall and break something, at least there'll be one less guy capable of making me fall and break something
 
user406009
Do you have sidewalks?
 
yes
and the bike "lanes" are incorporated in the sidewalk
no biker 100% respects them
 
user406009
That seems like a sorta foolish way to do it.
 
especially the young crowd with their silly BMXes
 
user406009
In the US, the bike lanes are part of the street.
 
Xeo
7:14 PM
Ugh, now I have a stomache ache. Too much cream.
 
user406009
(Of course, that leads to other problems ...)
 
@Lalaland no they haven’t been invented yet
 
yes part of the street would be better
 
@AlexM. meh it's gonna be warm enough for real thing soon
 
@Xeo who could have foreseen such a development
 
7:14 PM
it's much better
 
user406009
@LucDanton Some cities actually do not have them.
 
Xeo
@LucDanton Totally not me cough
 
user406009
My home town doesn't have them on a lot of residential streets.
 
yes due to lack of invention
 
Xeo
Also, I'm out of cream now, gotta get some more when I go grocery shopping tomorrow.
 
7:15 PM
see that thing between the two white separator thingies on the sidewalk
that's the bike lane
 
user406009
I think that's a European thing to do.
 
that's not bad .. in my place there is no sidewalk
 
@Lalaland being part of the road makes the most sense
especially since romanian traffic law takes bikes seriously
I failed my exam for not giving a bike the right of way in an intersection lmao
 
Ell
you nub
why didn't you give the bike right of way?
 
I didn't even see pops on his bike
 
7:18 PM
What an odd place for a modified submarine window
@AlexM. "pops"?
 
the guy on the bike was old
if old then pops
 
Oh I thought you were complaining he didn't have (supposedly legally required) pops on his bike
Hence, you didn't want to give him right of way :)
 
in my place they don't care if you know the signs, the driving license test was just turn on the car, use the manual gear to drive the car through a street filled with people who don't follow any driving guidelines, because no one does
 
@sehe nah "pop = (informal) a name used in addressing an old or middle-aged man"
 
@Xeo Error: "too much cream": unrecognized concept.
 
Xeo
7:21 PM
@AlexM. jii-san
 
between you and me tho
I still think
I failed because I didn't bribe the guy
 
Xeo
@JerryCoffin well, "delicious mayo" is also an unrecognized concept for you, so there's that
 
esp the first time
 
Ell
> undefined reference to concept "TooMuchCream"
@JerryCoffin you don't like mayo? :O
 
when apparently I "entered an intersection at too high a speed"
 
7:21 PM
@AlexM. "If you don't like my driving, stay off the sidewalk."
@Ell Hmm....it's not a matter of not liking it, exactly. It's simply recognizing that it's not fit for human consumption.
 
user406009
As a pedestrian, I don't trust any drivers here in Houston to give me the right of way.
 
user406009
I just wait until no cars are coming.
 
Xeo
@JerryCoffin Also, 400g of heavy cream all whipped up fills the belly pretty damn well
 
How would you know which pedestrians are drivers
 
Jan 21 at 5:23, by Luc Danton
> The bigger problem for me in Portland has been all the pedestrians. People in Texas don't just walk around, so we tend to cruise through stop signs and red lights on turns. In Portland I'm constantly having to scan for people, which on top of not knowing the layout or which streets have stop signs and which ones have right of way makes for more stressful driving.
 
7:22 PM
@Xeo I would certainly expect it to.
 
user406009
@LucDanton Exactly.
 
user406009
I have yet to see one other person walk around in my area of town.
 
user406009
Wait, actually I think I saw two like a month ago.
 
Ell
It certainly is :O
Eggs are, oil is, vinegar/lemon juice is
 
I really need to get my license soon tho
I can't do anything without asking my parents or
 
Ell
7:25 PM
since mayo is a composition of those, by the laws of food n that, mayo is more than fit for human consumption :D
 
shivers
taking the bus or train
 
@Lalaland Of course not. There's only, like, 2 months out of the year when you could do that without risking heat stroke in Houston.
 
user406009
@JerryCoffin It's actually the opposite. Only 3 months of the year are really bad.
 
user406009
The rest are actually quite pleasant.
 
user406009
Just don't go to Houston during the summer.
 
7:26 PM
@Lalaland Sorry, but I've been there, so I know better.
 
user406009
Maybe I've just gotten used to it.
 
@Lalaland ...or the winter. Or any but about one month each of fall and spring.
 
user1804599
 
user406009
Yeah, winter does get a little chilly. It actually goes below freezing every now and then.
 
user1804599
Interjection: alaaf
  1. (Brabant, Limburg) A greeting used during carnaval.
  2. 2000, Harrie Rook, CARNAVAL, nl.onderwijs.algemeen:
  3. Over carnaval moet je geen les geven. Carnaval moet je vieren. Alaaf.
  4. You shouldn't teach about Carnaval in class. Carnaval should be celebrated. Alaaf....
 
user1804599
7:28 PM
Nobody ever uses "alaaf". I call bullshit.
 
@Lalaland Wow, how about that.
 
@Lalaland That undoubtedly helps. I remember years ago a bunch of us ended up in Austin: one guy from Florida, me from Colorado (at the time) and one other cam from Houston. I complained a bit about how hot it was, and the guy from Florida gave me a bit of sympathy, but the one from Houston clearly thought I was insane thinking that a mere 90 degrees with only 80% humidity was anything short of beautifully balmy.
 
Shit, 7°C on sunday.
And rain.
What the fuck are those spring temperatures.
 
yea it's warm here too
5 deg
it started raining while I was at the doc came back home wet
 
Right now it's 0.
Which is still warm.
 
user406009
7:32 PM
@EtiennedeMartel They had to close the university when it happened due to ice on the roads. It caused a reasonable amount of chaos.
 
@EtiennedeMartel Up to freezing in January? Global warming really is getting unbearable.
 
You know those news about the snowstorm on the east coast?
I was like "pfft, amateurs"
 
@ThePhD Yes
 
@EtiennedeMartel Yeah, not much can hold up to the lake effect for sheer quantity of snow.
 
@ThePhD I didnt say it was cheap, I said it was awesome :P
I think we had an educational license or something
I mean we must have, i doubt the university shelled out for that much money (there were at least 6 teams)
@sehe I dont know if I said this with you, I agree with you in boost spirit. Theres no need for strong wording, but its an easy tactic to get clicks/sales. Its a more subtle form of "and you wont believe what happened next". I dont think they care about missing the point. (I could be wrong, I'm not @JerryCoffin :P)
 
7:44 PM
@CatPlusPlus Virtual Box and Debian/Ubuntu set up in Vagrant, Got it.
 
@ThePhD Woop woop made in Montreal. Their offices are a five minute walk from Ludia.
 
@EtiennedeMartel Neat!
 
In fact I pass by their offices on my way to work every day.
 
Poke your head in one day!
I dunno, get a tur or something.
 
Xeo
Just go sit down at a desk and start coding
 
7:58 PM
I wonder if they'll notice.
"This guy just came in and started fixing bugs..."
 
Reminds me of Wrong, when that guy still comes in his work despite having been fired months before.
(also it's always raining inside his office for some reason)
 
Xeo
"Hero or sidekick?" "Big hero!" "Comic relief." - "Hero or sidekick?" "Villain!" "Henchman." - "Hero or sidekick?" "What's needed?" "Hero."
This is a good one
 
I thought I'd save money by coming home
but I ended up spending the same amount as usual but on medicine
I also couldn't find an opportunity to make my family pay for pizza
 
So, if I have std::shared_ptr<const T> a and then I copy-construct from a in two different threads at the same time... that's undefined behavior, at best, isn't it?
 
Xeo
8:12 PM
shared_ptr itself is thread-safe
 
@Xeo Oh it is?
 
Xeo
> All member functions (including copy constructor and copy assignment) can be called by multiple threads on different instances of shared_ptr without additional synchronization even if these instances are copies and share ownership of the same object.
Oh wait, different instances. Hm.
No, that should still be fine
the copy ctor is called on the "different" instance. Yeah.
 
What about assignment? It's non-const, so that could lead to a data-race, right?
 
Ell
@ThePhD y u reimplement everything?
 
Xeo
assigning to a in different threads, yeah
 
8:14 PM
That's what std::atomic_store is for, isn't it?
 
Ell
what's wrong with portaudio? :V
 
Xeo
@caps Ye
> If multiple threads of execution access the same shared_ptr without synchronization and any of those accesses uses a non-const member function of shared_ptr then a data race will occur; the shared_ptr overloads of atomic functions can be used to prevent the data race.
Just take a look at the cppref page
 
@Ell The point of the Language Library Design course is to make a well-designed C++ API.
 
@Xeo Yeah, that's what I was referring to.
 
Ell
Ah I see
 
8:15 PM
It stands to reason that I first need to design the library, and if I'm feeling lazy enough I can just put PortAudio underneath it.
> In terms of legal compatibility, the PortAudio licence is now a plain MIT licence
Yeah, I can definitely put PortAudio underneath it.
 
@Xeo well, taking that wording at face value then two unsync’d copy constructor calls on the same object induce a race don’t they?
 
Mmm, yes.
PortAudio seems to do exactly what I want out of it.
 
Xeo
@LucDanton Good luck with that?
 
It will cover the low-level PCM data streaming to devices nicely.
 
Xeo
The copy ctor call is on the object being constructed, I don't see how you'd... mmm, actually, local static or stuff
std::shared_ptr<T> global;
void threaded() { auto copy{global}; }
and then call threaded on two threads
I guess that would lead to that situation?
 
8:21 PM
@Xeo the actual standardese wording is just more sensible: accessing via const& introduces no races
focusing on member functions means only one particular const& is taken into account
but… that’s arbitrary really, all arguments matter
 
Xeo
@LucDanton makes sense
Though copy, in the above case, could still introduce a race (also, it should be static, I kinda forgot to put that in...)
 
@Xeo naw, cus that particular constructor accepts a const&
no race on global and no other race is possible due to other 'nothing up my sleeves' rules
 
Xeo
@LucDanton The read from global is okay, yes. The creation of copy is not (or would not be in C++03 anyways, I guess)
 
@Xeo it’s a local though
 
Xeo
> (also, it should be static, I kinda forgot to put that in...)
 
8:25 PM
static init is also made safe via rules
 
Xeo
in C++11, ye, I remembered
 
> Woke up to finish my project, found this imgur.com/vdAsW5X
lol windows
does windows 10 actually have no option to make it ask before installing updates?
 
@Borgleader This is exactly why I'm confounded. It's the same bizarre effect that women's rights activists are always very loudly represented, but when immigrants assault, then all of a sudden they are quiet. Here too, the headline quietly drops that facet. TBH I think that's the very opposite of click-baiting (see the Trump campaign on how to do it properly)
It looks more like PC self-censoring
 
@Borgleader Which is weird because it's bleedingly obvious what prompted the protests in Cologne ?!?
 
8:36 PM
no Ubisoft allowed
 
I sneezed
 
@AlexM. You can make it not download them by marking the connection as metered
It'll also ask you when to reboot automatically, if at all
 
@Xeo So are you saying a std::shared_ptr copy-assignment is thread-safe after all? What about a move-assignment?
 
Xeo
@caps copy assignment depends, again. If you assign to different shared_ptr, it's safe
 
@caps Not even remotely, either of them.
 
8:44 PM
lol
 
however if I recall correctly, it's mandated that std::atomic supports shared_ptr and unique_ptr for some template arguments
 
@Puppy I don't think so.
> There are non-member function template equivalents for all member functions of std::atomic. Those non-member functions may be additionally overloaded for types that are not specializations of std::atomic, but are able to guarantee atomicity. The only such type in the standard library is std::shared_ptr<T>.
 
user image
7
Is backslash a single keystroke on English keyboards?
On German keyboards, you need to press 2 keys.
 
  O
 / \
 L  L
 
struct foo
{
std::shared_ptr<int> a;
 //thread-safe assignment operator?
auto operator=(foo f) noexcept -> foo& {
    std::atomic_store(&a, f.a);
    return *this;
}
 
8:48 PM
That's more of a max heap than a BST, but fine.
 
it's ok now
 
Your LOL tree looks like a woman taking a walk.
 
@fredoverflow Single keystroke. Same for forward-slash.
 
@sehe I'm afraid I don't have an answer to that.
 
@fredoverflow Could be the lower half of any person, really.
 
8:49 PM
@caps But the / \ shape reminds me of female toilets.
 
@Borgleader People in Sweden would be interested in this phenomenon too :)
 
@fredoverflow If there were a line across the bottom I would agree... but to me it looks like two legs of a stick figure
 
Xeo
@fredoverflow English keyboard layout (GB one) is so nice for programming
 
@caps With this assignment operator, the default copy and move constructors should also be thread-safe, right?
 
Xeo
no more finger acrobatics to get []{}\
 
8:50 PM
@caps I only see the Ls as legs...
but whatever
 
@fredoverflow They look like boots to me.
 
it's a LOL
not a human leg or anything
you do depth first
and it reads like LOL
 
The O is clearly a head.
 
@fredoverflow Then where are the arms??
The O is the lower part of a torso.
 
@caps Maybe it's x86 instead of arm?
 
8:52 PM
how can the legs be real if our arms arent real?!?!
 
legs are a lie
 
Ell
how he got \ 0 Idk
\ is nowhere near 0
 
  o
 /|\
 /\
 L L
 
there is only one layout
 
  o
 /0\
 / \
 L  L
 
Xeo
8:53 PM
This is weird. My game suddenly started lagging, without actual FPS drops
 
your fps measurement sucks
 
  O
 _|_/
/ |
 / \
 L  L
 
You're computing Pi
 
Xeo
It was fine two days ago, and I didn't touch the code since D:
 
user1804599
lol
 
8:54 PM
lol everyone having the same urge to make a better stick figure :)
 
What was fine, FPS or code measuring it
 
@Xeo stuttering?
 
 o
/O\
/O\
L  L
 
Xeo
@CatPlusPlus everything
 
Because if it sucks now then the code was probably never fine~
 
8:54 PM
@AlexM. That looks like half human, half Christmas tree...
 
Xeo
For FPS counting I just reset a counter every second and count up every frame. Nothing fancy, prolly not very accurate, but I've had trouble with extrapolating FPS from frametime or elapsed time
 
   o
 _/0\_
  /_\
  L  L
There's a dress.
 
@Xeo Use an external tool
 
ok time to win this game
 
Xeo
@caps That's a person standing on a table
 
user1804599
8:56 PM
Looks more like a kilt.
 
@caps Is it gold or blue?
 
      ,''@,
      |.~.|
      : - :
       \-/
    .-|\_/)-.
   /  | Y -- \
  / /\o    /\ \
  \ \_|___|_/ /
   \_/     \_/
     |  _  |
     |  |  |
     (  |  )
     |  |  | ScS
     |  |  |
     |__|__|
     (__|__)
get rekt
 
Xeo
GUYS
 
GAYS
 
Ell
8:56 PM
CRILL
 
@MadameElyse Sure. Or skirt.
@fredoverflow Heh
   0
 _/0\/
  /_\
  L  L
 
Xeo
Anyhow @Cat, the game was running smooth two days ago, and now it doesn't, without code changes. Maybe I should try restarting my pc...
 
or cycle the power shunt
 

« first day (1931 days earlier)      last day (3019 days later) »