« first day (1685 days earlier)      last day (3257 days later) » 

7:00 AM
@MichaelMitchell size_t is ull on your system?
 
yes
@MartinJames I am using msvc so it is defined in crtdefs.h
oh well, I am so happy I didn't post a stack-O question
 
hello
 
user1804599
lol
 
user1804599
7:15 AM
cumshot goggles
 
user562566
gross
 
user562566
I guess I need to wear goggles by law now
 
@rightfold It's to avoid contracting H-eye-V!
 
user1804599
why do porn actors have HIV
 
They mostly don't. They're very cautious, getting it means losing your job.
 
user1804599
7:26 AM
Excellent.
 
user1804599
> Denmark hopes to boost its economy by eliminating cash
 
user1804599
ahahahah
 
is anyone here familiar with entity component systems?
 
Many people here yes
Most of them not online yet
 
7:33 AM
Ask anyway
 
I have a fairly basic question
 
user1804599
 
another amazing job I won't get because it's in SF
 
user1804599
> The government said as of next year, businesses such as clothing retailers, gas stations and restaurants should no longer be legally-bound to accept cash.
 
7:34 AM
say you have an entity that has a render component and a position component. how do you have the position component update the position in the render component if the position component is changed?
 
user1804599
This is good. Government should not control what private business accept.
 
I understand the concept of messages, but those seem to be used for sending data between entities, not components in an entity
 
There is no position in the render component
 
@MichaelMitchell that's the basic flaw of this ECS thing in practice
 
the render component would have some position for its world space
 
7:36 AM
@buttifulbuttefly cached matrices typically vOv
 
user1804599
Why would rendering be stateful across redraws?
 
So I've taken to walking to work, when it's not pissing it down, try to walk fast, you know, this health thing. Now I just have to fight the urge to take my shirt of because I am hot :\
 
real-world objects are built from components where literally everything interacts with everything in some way
good job modeling that
@thecoshman should've used a motorized vehicle and not walk like an animal
 
@BartekBanachewicz terrible
 
Xeo
@rightfold Render effects.
 
7:38 AM
so I need some sort of observer to look for changes?
 
user1804599
Stop stuffing everything in a single object.
 
the only thing ECS achieves IMO is being able to iterate with your crappy design faster than in typical inheritance hierarchies
 
user1804599
Embrace the relational model. :>
 
Xeo
Hm, I should ultrasound-clean my glasses sometime soon.
 
@rightfold can you please expand?
 
7:41 AM
@Xeo is this really that much better compared to chemicals?
every time I give mine for cleaning they just dip them into whatever green mixture they have and they came out like new
for free ofc
 
Xeo
Well, I can only say that they're really clean afterwards.
 
do you pay for that?
 
Xeo
I have one at home.
 
@Xeo what?
 
user1804599
7:43 AM
Stop thinking of whatever you're making as special and design them like you would design any other software.
 
haha, im not working on a game
 
Xeo
@BartekBanachewicz I was thinking of things like motion blur. That'd need the last X frames as state :D
 
user1804599
Nobody is going to read a wall of badly formatted code. — rightfold just now
 
user1804599
inb4 Vlad learned Scala
 
I don't think you need multiple buffers for that.
well, you need, but not previous frames is my point
 
7:48 AM
@Xeo I love trail effects
 
> you know, this health thing
 
> Effects of Walking Hastily on Personal Health, B. Shit et al, 2016
modern airplanes are weird
 
@MichaelMitchell No that's the position component.
Or something like rigidbody component etc.
 
@MichaelMitchell Don't use stringly typed type-unsafe inferior printing APIs.
 
the X component, the Y component and the Z component
 
7:59 AM
I just discovered I was trying to pass a graduate level online course
 
@milleniumbug lol wut
 
222
A: Role of systems in entity systems architecture

Byte56There are a multitude of ways to represent and implement entity component systems, but here is an explanation of one way. Keep in mind there is no concrete definition of entity/component/system architectures, so this is just one implementation. I'm going to introduce an analogy for entity/compon...

 
I don't feel stupid any more
 
this is a good answer imo to understand the concept
 
@BartekBanachewicz compared to the effects of being a lard arse?
 
8:01 AM
@MichaelMitchell a.k.a. C standard library is retarded.
 
@MichaelMitchell don't use printf
 
@BartekBanachewicz then what?
 
@BartekBanachewicz I know, I liked the old cessna more in flight simulator
 
@MichaelMitchell cout comes to mind as an obvious alternative.
 
@BartekBanachewicz gross
 
8:02 AM
std::cout would never give you that error because it's type safe.
 
@Rapptz what error
 
@MichaelMitchell excuse me?
 
your logic error
format string mismatch is undefined behaviour
 
@MichaelMitchell You would've never made this mistake if you had used std::cout
 
@Rapptz there was never an error, it was printing 24LL which I read as 2411
 
8:05 AM
@MichaelMitchell Which was a mistake you would not have done with std::cout, since you don't have format strings there.
 
@MichaelMitchell m8 that's still a logic error
 
@Rapptz MSVC defines size_t as an unsigned long long
 
And didn't mistake "%ull" with "%llu" (which is also wrong for std::size_t)
 
my point is
 
@MichaelMitchell Not portable.
 
8:06 AM
it's easy to get printf wrong
 
s/printf/any C API use/
 
gcc and clang and pretty good at spotting printf errors though
 
In any case the proper format is %uz not %ull.
 
@buttifulbuttefly yes they are
 
Isn't it %zu?
 
8:07 AM
@buttifulbuttefly which is still dumb because it's compiler magic instead of proper language construct
 
Yeah %zu.
it's length then conversion
 
relying on non-standard warnings in cryptic formattic strings sounds exactly as dumb as it really is
 
it only works on compile-time strings
which you should be using anyway but yeah
 
what if I pass the fmt through my function?
will it still work?
 
probably not
 
8:09 AM
I think I just crashed coliru
#include <cstdio>

void fn(const char* fmt) {
    printf(fmt, 5);
}

int main() {
    fn("%s");
}
welp. bash: line 7: 5134 Segmentation fault (core dumped) ./a.out
see @MichaelMitchell that's why you shouldn't rely on warnings
 
The compiler didn't warn on that?
 
of course not
 
Not surprised.
Although it probably could if it did enough inlining
 
the whole varargs thing is just broken
 
I agree.
 
8:12 AM
It can do it if you tag it with an attribute.
 
Yes, but that's compiler-specific magic.
 
So is inilining!
 
tried to force inline on it but no warning and a warning about a possible not-inlining
 
You could do #ifdef THIS_COMPILER __attribute__ ((format whatever)) #endif
And enjoy warnings, but having constexpr and variadic templates is more useful
 
@BartekBanachewicz Extremist
 
8:16 AM
@buttifulbuttefly see above
 
@milleniumbug Inlining not required, it's constant propagation and flow analysis!
 
Sure.
 
@milleniumbug "More useful"
 
just as an electric drill is more useful than a hand one
the fact that you can construct an example where you don't have electricity is largely irrelevant
 
Except when you have no electricity
Like a significant part of our world nowadays.
 
8:20 AM
yeah, modern would kinda imply electricity access :P
 
Modern as in "as of present time". It also has this meaning but I guessed you wouldn't know (win), so I reworded. And it does not imply electricity access.
 
Variadic templates are nice, thanks to them I made a shitty variant reimplementation in one day.
(it's shitty because it's exception-unsafe)
 
@BartekBanachewicz The problem is that electric drills are just as bad as manual drills at cutting paper.
 
@buttifulbuttefly That's why you use batteries.
And solar power.
 
@milleniumbug pff solid fuel
coal drills FTW
only wussies like cosh use solar panels
 
8:31 AM
@BartekBanachewicz meh steam engines
Solar panels are easier to deploy
 
and require shitload of copper
which you are going to be pumping in tech anyway
 
No advanced piping infrastructure needed
Also access to water not needed
 
water is everywhere and it's plentiful
unless you're on a ugly desert in which case it shifts a bit because you get more copper typically too
well at absolute end-game where you deploy mining sites automatically I think it might be easier to just stock the supply with solid fuel and use regular heaters
unless you have a huge central power grid it doesn't always make sense to hook up the cables to remote sites IMHO
 
Solar panels just work, and thanks to big electricty poles hooking up remote sites is as simple as it can be.
 
8:39 AM
Solar power is the most direct source of power produced by a fusion reactor.
 
Can't wait for 1.0
 
@buttifulbuttefly Damn french and your nuclear power
 
tu te calmes stp
 
@Rapptz,
`sol::detail::atpanic` throws a C++ exception, rather than `abort()`.
Does that mean a `sol::state` object that I'm using for my Lua script can still go on without previous context/pre-emptively defined variables "lost"?
It works as I think so far, and I think it should since` sol::detail::atpanic` makes it able to `jump out` before approaching abort() in `luaD_throw(lua_State, int)` by throwing an exception.
Is that correct? :) :) :)
Just want to double check.
 
atpanic is called whenever a lua error is encountered so when that happens the C++ application gets an exception instead.
that way you can catch it and destructors get called etc
Instead of just calling abort and messing up the state of the program
 
8:46 AM
You're right, but that also means the lua_State still has alive context I can use for my future script, as long as the exception is handled properly.. ?
 
That's yet another pro-life argument!
 
woop, even vc++ supports (with a few workarounds) the following:
 using LX = atch::meta_list<class b_atch_se>;

  LX::push<void, void, void, void> ();
  LX::set<0, class Hello> ();
  LX::set<2, class World> ();
  LX::pop ();

  LX::value<> x; // type_list<class Hello, void, class World>
 
@buttifulbuttefly A thermonuclear warhead is the most direct source of power produced by a fusion reactor. Some might argue that the power generated is non-optimal, but it's there.
 
That's not a fusion reactor.
 
Xeo
@FilipRoséen-refp lol
 
8:49 AM
@DeanSeo Yeah essentially.
 
vc++ is for cool kids only
 
@Rapptz luaD_throw calls g->panic(L), which will be sol::detail::atpanic in this case, and it throws an exception again.
So "yay! lua_State just made a last chance to avoid having abort()? (which is everything lost)"
 
The lua_State is destroyed when sol::state goes out of scope since it has unique ownership.
idk what luaD_throw is
 
luaD_throw is from the Lua source itself haha.
 
@Xeo it's actually quite funny writing workarounds for vc++, it certainly is a challenge getting around all the massive bugs in their implementation
 
8:50 AM
Not part of Sol. I'm sorry.
 
@FilipRoséen-refp :D
 
@buttifulbuttefly I'm convinced fusion reactors are the future of energy. Am I being too french?
 
Lua doesn't throw exceptions though.
 
@FilipRoséen-refp I want to see teh code :D
 
It's a C library.
 
8:51 AM
@FilipRoséen-refp Just get out.
 
> funny
 
@Griwes I'm working on the article where the implementation is explained as we speak, hopefully I will have it published in a couple of hours
 
@R.MartinhoFernandes the sun is shining, but I prefer staying in-doors
 
@Rerito Sorry I don't argue with socialists.
 
8:52 AM
@FilipRoséen-refp Can you just put the code up somewhere?
 
@buttifulbuttefly Hoooo, so I have to hide my Hollande stickers? :(
 
Right. It doesn't. But Sol does.
I'd love to exception-handle some buggy Lua scripts (without pcall() in Lua), and still at the same time I wanna keep it running.
 
@Rerito Actually, I was just quoting someone I was arguing with about the "free market" of Hong Kong. At some point he ran out of arguments so he said "yeah but you're saying that because you're French, hence you're socialist". wat.
 
@MarcoA. You too, out!
 
Sol handsomely does that job for me but I just wanted to make sure.
lol
 
I want ham.
 
@Rapptz I've already read it.
 
Lol, french clichés
 
user562566
@buttifulbuttefly he wins
 
@Griwes remind me in like an hour or so and I will put it on coliru, I just want to clean up parts of the implementation
 
8:55 AM
@Rapptz But the question was sorta the opposite of my interest about this...
 
You should have peed to show dominance then
2
 
@buttifulbuttefly argumentum ab xenophobos
 
tbh I've never used lua_pcall so I don't know how to handle that
 
(Yes, I know)
 
Anyway thanks so much, @Rapptz
 
8:55 AM
@MartinJames 8 giga bites of ham!
 
it's in my todo list though
 
@FilipRoséen-refp okay
 
@Prismatic Mechanical boards are the bestest :D
 
@MartinJames How do you call hams like Bayonne ham or Parme ham? (The french-to-english is "crude ham", which sounds bad)
 
@Rerito Parma ham, I guess. Either way, nice:)
 
9:00 AM
Yeah, you awakened my ham cravings
 
And mozzarella cravings...
 
I had ham avocado sandwich for lunch for a week
 
ITT people call that BDD bullshit "nice"
BDD = bullshit driven development
 
@chmod711telkitty Avocado is great
 
9:04 AM
It is, but I think I have over eaten it ...
 
It's just so hard to eat it "well-done"
One day it's not mature enough, the next it's too mature
 
avocado is man's best invention after blue cheese
 
I'm definitely a roquefort avocado
 
Fourme d'Ambert rpz
Allez caboc joins toi à nous !
 
Mon frère bouffait des tartines de roquefort puis de nutella puis re de roquefort au gouter
 
9:07 AM
On doit faire partie de la même famille, le mien fait le même genre d'horreurs :D
 
> [slashdotter rant]
When I tie my computer to the bumper of my car with a rope then drag it down the road, all my data is laid bare for all the world to see.
I DEMAND to know when MS is going to fix this horrific and inexcusable zero-day exploit in Windows.
[/slashdotter rant]
@buttifulbuttefly is it an invention though? Perhaps it's more like a toccata
 
@buttifulbuttefly Fourbedieu, les rillettes dans le café
 
doux jésus que d'impertinence
 
> doux jésus
Do people actually say that
Seems an anglicism
 
@sehe Butters says it in the french version of South Park
 
9:12 AM
Old people say that
 
@sehe No, it's Certified Native French. Brits stole it!
 
Okay guys I have a great idea for a startup. Who's in
 
Depends, is it in Paris? pls no
 
Paris is great!
 
@buttifulbuttefly Moïse saint!
 
9:13 AM
@Rerito I don't know, of all continents, Africa is the one I'm least attracted to.
 
...
 
@buttifulbuttefly geophile?
 
@thecoshman Not really lol
 
@Mr.kbok So what is the great idea!
 
Barbès & Gare du Nord rpz
 
9:15 AM
Let's make a drone that runs on butane gas
 
Porte de Clignancourt rpz
 
@Mr.kbok it's spell buttane, christ, you're so stupid
 
@Mr.kbok buttane
shit
 
coshman stealing the show
 
9:18 AM
buttane
are you shitting me
 
@buttifulbuttefly répose?
 
okay phew
 
@thecoshman No friction like tectonic friction!
 
We can call it buttane for @buttifulbuttefly
 
@sehe Rpz is for "représente"
 
9:22 AM
rpz quoi?
 
I want to work with GPUs this market access thing is pissing me off
 
ah, the alert
@buttifulbuttefly make a GPU fueled drone
 
@buttifulbuttefly MA sucks but it's better than the shit I've been doing lately
@sehe A buttane fueled GPU
 
International Obfuscated Music Notation Contest
 
9:23 AM
@Mr.kbok What is
 
@Griwes or, in short, Music Notation Contest
> Dramatic teenage cellists must be stopped.
lol
poor cellos
 
:D
 
> TRWTF is Objective-C.

That stuff looks very ugly.
 
this is funny too
 
@BartekBanachewicz oooooooooooooooooooold
 
9:27 AM
> Hopefully your stand partner is counting.
 
@BartekBanachewicz nobody counts multibar rests (unless maybe the first time, or when having ensemble subsection rehearsals with cue parts missing)
@BartekBanachewicz That's true though. I just to rely on this quite a bit when I was wee
Quickly you learn to use the ears, not the brains maths
 
@buttifulbuttefly Random release crap
 
@BartekBanachewicz hmm. The cellos are fine.
 
@sehe Of course they are. That's not what I said.
 
9:30 AM
@Mr.kbok Oh I see (no actually no).
 
@BartekBanachewicz "poor cellos" is what you said
 
Well for instance today the guys who builds the dll complains that it "no work" so I have to investigate what doesn't and see that people changed the release script and that now it doesn't copy the dependencies so I have to update the script to make it copy the dependencies until the next cretin breaks it again
 
Ask for a well deserved raise
 
@sehe well, having to withstand the teenagers' feelings might be too much even for an instrument
 
Also wow I thought at a company like yours they only hired ~competent~ poeple
 
9:33 AM
@Mr.kbok I can picture them coming to your workstation, pointing at the DLL icon, grunting and saying "uga!".
 
@buttifulbuttefly what does that even mean?
 
It's english for "lol"
 
@TonyTheLion Somehow I ain't surprised you don't know what does "competent" mean :P :P :P
 
@buttifulbuttefly We have the reputation of having the worst IT of the whole financial place so no
 
9:35 AM
Shots fired! @MartinJames time to drink (again)!
 
@Mr.kbok Seriously?
 
@Griwes fffffffffuuuu
 
@BartekBanachewicz The cute lady holding up Brandenburg Concerto â„–3 in G doesn't look too dramatic about it. Also, that's not wide sheet music (grand pianos affor 2.2m of it :))
 
@Mr.kbok Which company?
 
@BartekBanachewicz or... this: imgur.com/gallery/vtcZF
 
9:35 AM
@Rerito The company.
 
But this one you've probably seen already, probably even linked by me. :D
 
I received a job offer from Murex
Seemed interesting
 
Their C++ is awful
 
oh it wasn't Durex? :P
 
9:37 AM
@TonyTheLion Yeah the thought occurred to me as well O:)
 
@Rerito Run
 
@Griwes I lol'd.
 
> C++ is awful
agreed ^
 
I heard horrible tales on the code at Murex
 
@Mr.kbok So this is "THE company" I guess
 
9:38 AM
@Griwes looks reasonable. Not even too virtuose. It's the redundant markings that make this strange
 
@sehe ffffffff
 
@Rerito No but he worked there previously
 
@Rerito No, I left Murex two years ago because I was miserable
 
> my sides are actually hurting from "the moustache of a man with nothing to lose"
 
Yeah caboc I stalk you I know everything
 
9:38 AM
lolololo
 
@Rerito They make condoms, right
 
waking up to this
fuarking beautiful
 
@sehe Template condoms so that you're fucked right from compile time
 
SOMEHOW electric guitarists don't get so many Fs
 
@Griwes I can you many real, generally played, piano pieces that are more complicated. Much more
 
9:39 AM
I really wonder why
maybe because a tuba can only go so loud.
 
hi guys I am writing some C code...and maintaining it on github. the problem is that I keep comments well aligned in my source files using both spaces and tabs, they look aligned as desired in eclipse, however when I push them onto the github they look ill aligned online...please help
 
@BartekBanachewicz Playing low and soft is nigh impossible. The notes don't "take". It's the same across all wind instruments, but the larger, the more "effort" to start a note
 
Disturbed's Music as a Weapon comes to mind
 
@Mahesha999 Don't mix spaces and tabs, it's like mixing drugs and alcohol.
 
lol wow is this a joke
 
9:40 AM
@Mahesha999 Chose one, and chose wisely
 
@sehe Okay, but... ffffffff! That's not reasonable in any way.
 
so keeping one will we do it?
 
@BartekBanachewicz They get kW
 
user562566
@Mahesha999 stop caring what they look like on github
 
9:41 AM
@Mahesha999 if in doubt, convert everything to spaces.
 
@Mahesha999 Yeah, hint: keeps the spaces
 
@TechnikEmpire except no you actually should care about code formatting.
 
@Griwes Like I said, the redundant markings (and the ffffff is the most reasonable there) make it strange
 
@sehe you need bigger instruments
 
user562566
@BartekBanachewicz I care more about things working properly than how pretty it looks for rubber neckers on github
 
9:42 AM
@buttifulbuttefly keeps?
 
Yes
Don't you know english???
 
@Rerito Just ask around who has the worst IT
 
look how big an upright bass is and it still can't get as low as a modern bassist gear
 
@buttifulbuttefly didnt get you, who keeps what?
 
@TechnikEmpire if it doesn't look properly on github, that means it's not properly formatted. That's the problem you're solving, not GH per se.
 
9:43 AM
@BartekBanachewicz nah. some organs have the goods to deliver a soft sub contra
 
@Mahesha999 You keeps spaces
 
he english speak good
 
@sehe liver is my personal favorite
 
okay then - back later :S
 
@BartekBanachewicz lol
 
9:44 AM
@Jefffrey !!!!!!! /cc @Griwes
 
@Mahesha999 Your spaces and tabs mixing is wrong. (/cc whoever said the other day it is easy to grasp)
 
@buttifulbuttefly but a good Cavaillé-Coll will sell for much more
 
I had chicken liver for lunch
 
hola senoras
 
ñ
Here's my present to you
 
9:50 AM
if stackoverflow was a toilet it would be scat overflow
 
@R.MartinhoFernandes I think they said something like "all programmers in the world need to be educated"
or something
 
ok now realized I replaced some tabs with spaces they are aligned, but github shows it differently than eclipse
is there any way that to keep things same
 
github uses 8-wide tabs or something
 
@Mahesha999 If always looking the same is what you want, you should use only spaces.
 
Do any of you know anything about bending metal plates to create a profile? I have this interesting channel I want with a weird profile and a bunch of bends. I wanna know if I can get it fabbed out of stainless
 
9:53 AM
@BartekBanachewicz wat
 
I wish I had learned that folding package in solid works ;__;
 
> Immutable JavaScript by Christian Johansen at Web Rebels 2015
hey this might be interesting
in JavaScript, 21 hours ago, by rlemon
I've heard of four space indentation, but four tab indentation?
 
LRiO surely has his tab width set to 1 and is surely using four tab indentation.
 

« first day (1685 days earlier)      last day (3257 days later) »