« first day (1355 days earlier)      last day (3819 days later) » 

17:00
Maybe next iteration
best I can do is through stupid ideas at you. Use XML!
@Chimera It's fucking horseshit and we'd all be better off if it died in a pit whilst on fire.
@Puppy Now that's better! :-)
no, it would be better if that happened.
since it's not going to happen then it's not better.
@Griwes no f way
> An aerial photo of the church with a water main leak, which turned out to be photoshopped, was widely circulated online No plans to change shape of Illinois church that looks like penis
@sehe fake holy ejaculation? :(
permature joculation
> It they trim that tree, the church will look bigger.
true, that
17:25
lol
The two hardest problems in computer science are naming things and taking mrb seriously after you see him in shorts
> You must cut the forest to see the tree.
default is a real keyword, not contextual, right?
user1804599
Yes.
@Puppy switch/case/default, remember? :)
17:30
vaguely
It's a very old keyword.
welp, got the offer
job?
it's enough money so I'm starting to think about not declining it and going for at least a year, until I finish college
but at the same time it doesn't look like enough money
@Puppy yeah, the one at Gameloft
17:33
@R.MartinhoFernandes Wow.
I'm really conflicted because
I've been programming for 9 years and working on commercial products for ~4 years already
from this perspective, it's barely enough money
but I feel weird asking for more
since I'm a 2nd year student w/o a degree
@Jefffrey Who is mrb?
@FredOverflow The tweeter, I'd say.
and they offered me a lot more than someone who finished college and started working earns
@Puppy Oh
17:35
holy shit, farting hurts.
@AlexM. Well, you got a lot more experience.
He is MRB. Wokay.
did I mention that I'm riddled with holes?
posted on July 02, 2014 by RongLu

Hello again! Three months have passed since we talked about what's new for Graphics Development in Visual Studio 2013 Update 2 . Since then the team has been working to bring even more Graphics Diagnostics features into Visual Studio. I'm very excited...(read more)

17:38
@Puppy yeah, but from that POV I feel like I'm underpaid
still, it's probably the best offer I can get
user1804599
Hmm.
I was gonna say, what really matters is how much you can convince someone to pay you
any maybe I'm overestimating my skills a bit
user1804599
I want to move something in the direction of something else.
or maybe not
user1804599
17:39
So I just compute the direction using atan2(dy, dx) and then move it in that direction using x += distance * cos(angle) and y += distance * sin(angle) right?
I only did this calculation in 3D space, not 2D.
@rightfold Just compute the x and y deltas, divide them by 100 or something, and then slowly add those deltas to the position. No need for angles.
user1804599
You cannot do that.
user1804599
You need to divide them by something times the aspect ratio.
user1804599
The angle is not always a multiple of 45º.
17:42
How does aspect ratio come into it?
user1804599
Otherwise it would move faster in one direction, which is silly.
user1804599
(defn angle [[x y] [x' y']]
  (Math/atan2 (- y' y) (- x' x)))

(defn move-in-direction [[x y] direction distance]
  [(* distance (Math/cos x))
   (* distance (Math/sin y))])
user1804599
This should work anyway. :D
aspect ratio has nothing to do with it.
It must move faster in one direction almost always.
user1804599
17:43
Oh right. XD
unless your simulation is tied to the user's screen size or something.
which is dumb, just ftr.
> Shocking! Obama’s privacy board OKs massive NSA surveillance
I'm so shocked
who would have thought this could happen
this also shocks and amazes me
right.
Looks like the new question asking badges are live. I don't know what to expect:
- People spamming terrible questions to get the badge?
- Everyone downvoting everything to prevent them from getting it?

Or both...
destructors can be dynamic and default, functions can be dynamic, abstract, or deleted, and constructors can be deleted or default.
17:47
What happens if I delete a function, and the destructor throws? ;)
@Jefffrey the one from the tweet, I wager
user1804599
@FredOverflow lol
@FredOverflow nice
user1804599
@Puppy do you make new and delete language features?
user1804599
If so please make them ugly. :[
17:48
@Mysticial People give a shit about badges?
@rightfold Of course not. That's batshit insane.
@Puppy Yeah: Robo-reviewers
user1804599
Awesome!
new T() is nothing more than new (malloc()) T();.
user1804599
if (!address) throw std::bad_alloc(); :D
nope.
terminate in Wide.
user1804599
17:49
What if you want to catch it anyway?
user1804599
Do you have to use malloc and placement-new explicitly?
new T can call the new handler
malloc cannot
@rightfold Give or take.
user1804599
Cool.
user1804599
It’s rare anyway.
17:52
@JohannesSchaub-litb I haven't seen you in a while. Were you caught in an infinite template expansion? ;)
I figure that you only really need to handle OOM in very rare situations
and merely having the potential for an exception to be thrown limits what the compiler can do w.r.t. optimizations and limits what libraries can do in an exception-safe way.
Couldn't you just download more RAM?
NON-BREAKING NEWS: Vaccines proven safe--again--in new study: http://gates.ly/1mKokgQ #VaccinesWork
@FredOverflow ive not been active with stackoverflow recently
busy with real life
@JohannesSchaub-litb any particular reason?
17:54
university, friends, sports
entertainment (WM)
user3010322
WM?
my activity as saver of the lost standardese riders has been stopped for those reasons
@ThePhD football/soccer
well
user3010322
Ooh.
17:56
@ThePhD WC
defaulted destructors should be easy to implement.
just give the destructor an empty body and test for it in trivial destructibility.
(the english WC ofc xD)
@JohannesSchaub-litb You were being entertained by a toilet?
puppy, you are too late
there is no english WC. i'm not even sure how it's abbreviated there
J?
I have no idea what the hell you're on about
17:58
@Puppy i am sorry, you seem to be too unclever to follow me
yes, I'm sure that's it
i'm glad we're in consent!
hmm
should I require a semicolon after default/delete?
nah, I kinda feel that that's the C++ way.
i wouldn't want to write delete; i;
do shut up Johannes
user1804599
18:00
@JohannesSchaub-litb lol
user1804599
@Puppy Yes.
user1804599
It’s extremely ugly otherwise.
In other news, litb actually has a life. Blasphemy!
user1804599
You’d have this weird non-brace thing followed by not a semicolon.
I don't need a semicolon here
user1804599
18:02
You don’t need periods between objects and methods invoked on them either.
well, you kinda do.
why are all ghosts results of horrible murders
why can't a ghost be just some random guy who lived a normal life
because people feel that it makes for good stories.
but decided to become a ghost just to piss people off
because most people would not become a ghost and haunt the living for their own personal amusement
user1804599
18:03
void f() = delete
void g() = delete
int x;
user1804599
This is extremely ugly IMO.
@AlexM. Cat plus plus will probably be the first such ghost.
int x; is illegal in Wide.
I would definitely haunt some people for my own amusement harhar
and it's not = delete either, it's just delete.
user1804599
18:04
Anything else that does require a semicolon will do.
user1804599
You get the point.
my pipes are dying
dammit too slow
@rightfold I don't think that I do. I've only employed semicolons where I need a separator. I don't employ them arbitrarily.
NEW BADGERS
5
@EtiennedeMartel Don't use it. I don't license it.
I'll sue you.
@R.MartinhoFernandes Yeah, I didn't.
I'm just gonna hide all that complexity behind the fact that most of that code is gonna be used from auto-generated code.
I messed up and ordered 5x5pcs of terminals.
18:20
@sehe I don't get it. Why is taking that guy seriously, after seeing him in short, relevant to computer science?
Is duct tape a good isolator?
JBL
JBL
Hello!
Nevermind, I can just measure it.
user3010322
@Rapptz こんにちは。
user3010322
... Wait, is that the right kanji?
user3010322
18:23
No it's not, it's horrible.
user3010322
Fuck Kanji.
user3010322
Kana4lyfe
there's no Kanji for that
user3010322
Good.
user3010322
Kanji is horrible.
user1804599
18:26
WOOHOO.
user1804599
IT WORKS.
@rightfold ?
user3010322
わたしはかなおあいしてる!
user3010322
I think.
user1804599
18:27
THEPHDはばかです
i sneezed
it hurt
@R.MartinhoFernandes I'm waiting for the flood of terrible questions from all the badgewhores. :)
I think @rightfold finally figured out how his dick works.
@ThePhD Awful.
user3010322
@rightfold ”wa ba desu"?
user3010322
18:28
@Rapptz Listen. It sort of works. D:
@Mysticial badgewhores are need love, too
user1804599
Orbs follow the nearest player, and go faster as the approach them.
pics?
user3010322
Oh
user3010322
18:29
Wait why is chrome smooshing some of the japanese characters together. D:
user1804599
@Jefffrey graphics is not yet done, but I’m gonna do that right now!
user3010322
@rightfold I am not a baka. D:
user1804599
function_traitsはわるいです
Now, is there an easy way to get the return type of a function?
decltype(f(...))
18:32
decltype, naturally.
user1804599
Use std::declval if you have no arguments ready.
variable templates are cooler than I thought
user3010322
variable templates?
it's like partial application except for template parameters
variable templates are an embarassment to the Committee.
not that they needed more
18:33
why?
they specified a language feature to save you two whole characters invoking a constexpr function.
it's a worthless waste of space in the Standard.
Well iunno, I think of them as beefier alias templates.
user1804599
You cannot use them as aliases for functions.
beefier in a way that nobody needs.
user1804599
& wouldn’t work on the name, for example.
user1804599
18:36
Default arguments are gone.
user3010322
Anyone have proposal for this variable templates thing?
proposal? it's already adopted.
user1804599
Also fuck functions not being functors.
we can add it to the uniform initialization/list initialization, dynarray, array new/delete, pile.
There should be badges for days with no questions asked. — Anthony Pegram 17 mins ago
^^ looks like we have a winner
18:39
I'd get that badge.
user1804599
There should be a Help Vampire badge.
4
user1804599
When someone achieved it, their name should be blinking red and their avatar should feature vampire teeth.
@rightfold And their questions auto-deleted.
@rightfold Do you acquire it by posting a question, as your first message, in the Lounge?
@rightfold nah that just leads to stuff like
"how dare they make fun of me? I'll make a shitload of clones and post crap, that'll show them."
"fuck yeah retards, you don't mess with user25281945"
user1804599
18:45
@Jefffrey You acquire it when your Q/A ratio is higher than 1, where A is non-upvoted non-self answers.
user1804599
Write an if statement that is not an iff statement.
Who? ME?
user1804599
YES!
user3010322
@Puppy So... how does it change template declarations?
18:51
control flow with if, goto and booleans
user3010322
Also, why would that get voted in and not template <auto X> ?
jesus
I don't see if iff.
@ThePhD It adds a new and utterly worthless form.
user1804599
if (!x) goto l; if (x) l: { … } :D
18:52
@ThePhD Because the Committee are a bunch of braindead old farts without a brain between them.
user3010322
How bad is the new form? I still can't find the paper describing it.
user1804599
I wish labels could be integers.
user1804599
So you could goto l, I and 1!
I believe I described it on more than one occassion as "utterly worthless"
user3010322
template<typename T>
T n = T(5);

int main()
{
    n<int> = 10;
    std::cout << n<int> << " ";    // 10
    std::cout << n<double> << " "; // 5
}
user3010322
18:53
That syntax is actually extremely good for my purposes.
first line in main doesn't work
or shouldn't..
@Jefffrey I try to stay humble :P
if it does then that's cool
user1804599
Non-constexpr variable templates are confusing and terrible.
user1804599
Avoid them.
user3010322
18:54
namespace Colors {
    template <typename Component = byte>
    rgba<Component> red = rgba<Component>( 255, 0, 0, 0 );
    ....
};
user3010322
That's my one use case.
it's so much more problematic than template<typename T> constexpr T& n() { static T ret(5); return ret; } int main() { std::cout << n<int>(); std::cout << n<double>(); }.
user3010322
Other than that, not too fantastic.
I don't think it's as bad as puppy is making it seem
it's utterly worthless.
user3010322
18:55
DOesn't that make it EXTREMELY hard to disambiguate between types versus variables, though?
yes, it's a whole "Mouse over and the IDE tells you which is which".
if it doesn't highlight them differently to begin with
user3010322
That's fine and all, but what I'd love is template <auto X>
@ThePhD You love making concoctions, don't you?
user1804599
Hmm, weird.
I don't even know what that is
user1804599
18:56
if (true) {
    goto e;
} else {
    e:;
}
well, you're tough out of luck, because an actual feature that actually reduces duplication and such is too advanced for the C++ Standard Committee.
user1804599
This is illegal in C#.
user1804599
It says that e is not in scope.
Wide will not offer goto.
18:57
Wide considered dangerous.
user3010322
@Rapptz template <auto thing> struct blah { ... }; and then...
user1804599
Whereas if (true) { goto e; } e:; works fine.
I've been trying to understand how my salary is calculated for three days now, and I still don't get it
@rightfold wow, I didn't know this was possible in C++
user3010322
blah<&my_struct::my_member_function_pointer>() // works like magic
user3010322
18:58
E.g. it auto-deduces the type, so you don't have to decltype( ... ) and then actually write the type a second time now that the template knows which "type" it is.

« first day (1355 days earlier)      last day (3819 days later) »