Search found 10926 matches

by Yakk
Fri Sep 23, 2016 3:28 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 10016
Views: 2030896

Re: Coding: Fleeting Thoughts

There should not be a space between the * and the p on the variable declaration. But what if putting spaces on both sides is designed to annoy adherents of both Type* p and Type *p at once? :-) Excess whitespace reduces your code information density. If the C++ language was meant to have whitespace...
by Yakk
Thu Sep 22, 2016 6:43 pm UTC
Forum: News & Articles
Topic: 2016 US Presidential Election
Replies: 8482
Views: 1187080

Re: 2016 US Presidential Election

First, Trump stopped giving money to his charity almost 10 years ago. He solicits donations from others, and runs it. I don't know how he gets people to donate to the Trump charity, and I choose not to speculate. Second, Trump then uses it to settle lawsuits, each over 100k, in various businesses he...
by Yakk
Thu Sep 22, 2016 3:15 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 1736: "Manhattan Project"
Replies: 29
Views: 8492

Re: 1736: "Manhattan Project"

The only sure way to cure cancer is to nuke it from orbit. Don't post in red text. I just spent a minute trying to figure out which mod got halfway through banning you for whatever it was you said before I figured out that you didn't say anything (beyond the written text) and that no mod was bannin...
by Yakk
Thu Sep 22, 2016 2:12 pm UTC
Forum: News & Articles
Topic: 2016 US Presidential Election
Replies: 8482
Views: 1187080

Re: 2016 US Presidential Election

It is easier than writing 300 cheques, tracking reciepts and rates and outcomes. It is easier to deduct cost of charitable management out of charitable funds if you have a charity. You don't have the personal time to spend the effort that donating a few million dollars should go with usually. Makin...
by Yakk
Thu Sep 22, 2016 11:04 am UTC
Forum: News & Articles
Topic: 2016 US Presidential Election
Replies: 8482
Views: 1187080

Re: 2016 US Presidential Election

sardia, I'm pretty sure Yakk isn't disputing that Trump's case is some egregious bullshit. I was the one who suggested bullshit like that probably isn't that uncommon. "And let's face it: the reason rich people set up charities is to practice self-dealing" You implied it was universal. I ...
by Yakk
Wed Sep 21, 2016 7:51 pm UTC
Forum: News & Articles
Topic: 2016 US Presidential Election
Replies: 8482
Views: 1187080

Re: 2016 US Presidential Election

Maybe they set up charities because they have the power to fund worthy causes, and doing it out of your personal bank account is a hassle. After you have a few million dollars in toys, spending a million here or there on saving thousands of lives might, you know, feel good. Better than owning a 3rd ...
by Yakk
Wed Sep 21, 2016 2:30 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 10016
Views: 2030896

Re: Coding: Fleeting Thoughts

I am glad you understand.
by Yakk
Wed Sep 21, 2016 1:11 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 10016
Views: 2030896

Re: Coding: Fleeting Thoughts

That should pass code review, right? Not yet. You need to put the opening curly braces on a separate line. Otherwise it's fine. :roll: There should be a space after the ( and before the closing ). There should not be a space between the * and the p on the variable declaration. Indentation should be...
by Yakk
Tue Sep 20, 2016 2:15 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 1735: "Fashion Police and Grammar Police"
Replies: 269
Views: 41369

Re: 1735: "Fashion Police and Grammar Police"

I generally associate racism with intent Well you shouldn't. I guess I should have clarified, I'm thinking of the legal definition of intent. It doesn't mean consciously thinking to yourself, "I'm going to go out and discriminate against a race that I know isn't inherently inferior, but I hate...
by Yakk
Mon Sep 19, 2016 8:43 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 1735: "Fashion Police and Grammar Police"
Replies: 269
Views: 41369

Re: 1735: "Fashion Police and Grammar Police"

Racism and being a racist isn't a binary thing. You can have a racist attitude in one area without having it in others. Being uncomfortable with how much something being critisized is attached to race and/or class isn't "everyone who makes that critisizm is a member of the KKK", it is &qu...
by Yakk
Mon Sep 19, 2016 7:52 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 1735: "Fashion Police and Grammar Police"
Replies: 269
Views: 41369

Re: 1735: "Fashion Police and Grammar Police"

https://www.youtube.com/watch?v=QQ4kSCXf1GM For where new language comes from, I swear the dominance of "putting the period inside quotes only if it is part of the quote came from programming languages". Racism and being a racist isn't a binary thing. You can have a racist attitude in one ...
by Yakk
Thu Sep 15, 2016 6:42 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 10016
Views: 2030896

Re: Coding: Fleeting Thoughts

Well, first assume everything is an any. Now, define a set of common properties on these any's. Stuff like "has a key-value map", "possibly can be invoked", etc. Add type erasing wrappers around that. You might get as resulting C++: property foo("foo"); var prototype1 =...
by Yakk
Thu Sep 15, 2016 2:45 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 10016
Views: 2030896

Re: Coding: Fleeting Thoughts

If I wrote a prototype-based inheritance system in C++, would you swoon?

Because that could be fun.

(Why use the 1980s object model that ships with C++? Roll your own!)
by Yakk
Wed Sep 14, 2016 8:34 pm UTC
Forum: Gaming
Topic: Pokemon Go
Replies: 127
Views: 39325

Re: Pokemon Go

I would walk a thousand miles and I would walk a thousand more
To turn my rare pokemon into their e-e-e-e-volv-ed form
wadapa wadapa wadapa wadapa bum bum de de bum bum bum bum bum bum bum
by Yakk
Wed Sep 14, 2016 1:57 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 1732: "Earth Temperature Timeline"
Replies: 540
Views: 137027

Re: 1732: "Earth Temperature Timeline"

edit: How the hell could cutting carbon emissions be a mistake? At the very worst, it's reversing the impact the industrial revolution has had on the environment. Can you possibly envision a world better off with us emitting even MORE CARBON? Well that is easy. Assume that the effects of CO2 in the...
by Yakk
Wed Sep 14, 2016 12:32 pm UTC
Forum: General
Topic: Hifaleetin' thoughts
Replies: 90225
Views: 9342210

Re: Random natterings

A bib. Failing that, an environmental containment suit with a funnel around the mouth?
by Yakk
Tue Sep 13, 2016 5:42 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 10016
Views: 2030896

Re: Coding: Fleeting Thoughts

Yes. So the warning is referential equality on objects that are not explicitly casted to be objects prior to the operation. If that is too much to swallow, on objects with an Equals method. If that is too much to swallow, just on Strings that are not cast to Object manually. Saying "no, I reall...
by Yakk
Tue Sep 13, 2016 1:41 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 10016
Views: 2030896

Re: Coding: Fleeting Thoughts

A competent compiler suite must have warnings for that.

I make no claims about the competence of your compiler suite.
by Yakk
Thu Sep 08, 2016 1:51 pm UTC
Forum: Gaming
Topic: Pokemon Go
Replies: 127
Views: 39325

Re: Pokemon Go

... which I gather and feed it later.
by Yakk
Fri Aug 26, 2016 10:33 am UTC
Forum: Food
Topic: Fried Chicken
Replies: 12
Views: 9432

Re: Fried Chicken

Do they actually use chicken in KFC? I mean, since they dropped Chicken from the name.

I just want to be authentic.
by Yakk
Thu Aug 25, 2016 7:29 pm UTC
Forum: Food
Topic: Fried Chicken
Replies: 12
Views: 9432

Fried Chicken

Mix with 2 cups white fl. 1) 2/3 Ts Salt 2) 1/2 Ts Thyme 3) 1/2 Ts Basil 4) 1/3 Ts Orgino 5) 1 Ts Celery Salt 6) 1 Ts Black Pepper 7) 1 Ts Dried Mustard 8) 4 Ts Paprika 9) 2 Ts Galic Salt 10) 1 Ts Ground Ginger 11) 3 Ts White Pepper http://www.chicagotribune.com/lifestyles/travel/ct-kfc-recipe-revea...
by Yakk
Thu Aug 25, 2016 4:37 pm UTC
Forum: News & Articles
Topic: 2016 US Presidential Election
Replies: 8482
Views: 1187080

Re: 2016 US Presidential Election

No, that is what the article states: "A batch of emails released Monday makes clear that Clinton Foundation donors got access to the State Department." *access*, not favors. If Malian Obama was a lobbiest or similar, and those phone calls involved asking for favors or policy change from th...
by Yakk
Thu Aug 25, 2016 12:47 pm UTC
Forum: News & Articles
Topic: 2016 US Presidential Election
Replies: 8482
Views: 1187080

Re: 2016 US Presidential Election

The first one is Clinton not helping a donor to her foundation. As is the third. The second one the secretary of state meeting with a very high ranked foreign official. That's her fucking job. If these are your best examples of Clinton corruption, then Clinton is not corrupt. In fact this makes Cli...
by Yakk
Tue Aug 23, 2016 8:34 pm UTC
Forum: News & Articles
Topic: 2016 US Presidential Election
Replies: 8482
Views: 1187080

Re: 2016 US Presidential Election

It looks like there might be a violent reaction if Trump loses. I could be cynically playing Devil's Advocate here but... uhm... Good? Stop taking the stability of your civil government for granted . Many seemingly stable states have collapsed. Mass riots have a non-trivial chance to cause politica...
by Yakk
Fri Aug 19, 2016 7:41 pm UTC
Forum: Serious Business
Topic: Fictional Economics - Deflation in Basic Goods prices
Replies: 65
Views: 15397

Re: Fictional Economics - Deflation in Basic Goods prices

The Star Trek Federation is supposed to be post-scarcity for most resources. So someone can do nothing of economic usefulness and still get more than enough resources to survive, and do hobbies like build a hot-dog stand and make hot-dogs for people for hours at a time. If you want to do something l...
by Yakk
Thu Aug 18, 2016 3:02 pm UTC
Forum: General
Topic: Hype your ripe snipes 'n' gripes
Replies: 28619
Views: 3571682

Re: ANGRY NATTERINGS

Personal lease + Income: if you run short of money, you may cancel the car lease before you default on the mortgage (assuming lease can be cancelled). The lease also has a limited duration; at the end of it, you might not reup it (if in financial straits). Paid for car: You don't have that option. P...
by Yakk
Tue Aug 16, 2016 7:48 pm UTC
Forum: News & Articles
Topic: 2016 US Presidential Election
Replies: 8482
Views: 1187080

Re: 2016 US Presidential Election

Literally having 0 respondents means that the pollster should have continued polling until he found 10 African Americans who say "Trump". At least, if I'm remembering my high-school statistics class correctly. Nope. If you poll 100 people in a category and all say "X", you can a...
by Yakk
Tue Aug 16, 2016 5:31 pm UTC
Forum: Gaming
Topic: Pokemon Go
Replies: 127
Views: 39325

Re: Pokemon Go

So I've glanced at the pokemon CP calculation. And as far as I can tell, it (A) neglects moveset, and (B) overvalues the ATK stat by its square. Now your at-will move is far more important than your special. If we presume a baseline 10 DPS on a move, we can work out the move's DPS, take its sqrt, th...
by Yakk
Tue Aug 16, 2016 5:20 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 10016
Views: 2030896

Re: Coding: Fleeting Thoughts

You can reprint on a line without going to the next one. How else do you do underline or strikeout?

And I'm guessing that some machines want to consume characters at a fixed rate, and the CR and LR each take enough time that they don't want to put both in the same control character.
by Yakk
Tue Aug 16, 2016 12:23 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 10016
Views: 2030896

Re: Coding: Fleeting Thoughts

No. There is still more data stored than being produced. Some of that data is in formats where "swapping it to UTF-8" doesn't work, because the character data is embedded in non-character data, and the engine that reads it is decades old and cannot be updated cheaply. Are you willing to pa...
by Yakk
Wed Aug 10, 2016 7:38 pm UTC
Forum: Forum Games
Topic: My number is bigger!
Replies: 1590
Views: 427914

Re: My number is bigger!

It calculates D^5(99), where D(N) is the sum of the numbers expressed by the first k expressions in (some reasonably powerful language). This won't be particularly larger than the largest one for any reasonably powerful language. It is then iterated 5 times. I try to use the small/medium/large syste...
by Yakk
Wed Aug 10, 2016 5:12 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 10016
Views: 2030896

Re: Coding: Fleeting Thoughts

C++17 adds any (anything copyable) and variant (tagged union). I like type erasure. And I like operator->* So my latest insanity is: constexpr any_method<void(std::ostream&)> println = [](auto&& self, auto&& os){ os << self << '\n'; }; std::variant<int, double> v = 3.14; (v->*pri...
by Yakk
Wed Aug 03, 2016 7:55 pm UTC
Forum: General
Topic: Hype your ripe snipes 'n' gripes
Replies: 28619
Views: 3571682

Re: ANGRY NATTERINGS

Ah, but a piece of paper with a corner folded over is clearly a hard-copy of something.

So without the dots, it means "print" (to an actual piece of paper).

With the dots, it means "imagine you have a hard-copy". Obs.
by Yakk
Wed Aug 03, 2016 5:23 pm UTC
Forum: General
Topic: Hype your ripe snipes 'n' gripes
Replies: 28619
Views: 3571682

Re: ANGRY NATTERINGS

Preview is supposed to be a print preview. The dotted line means "pretend this is a physical document, but it is just imaginary".
by Yakk
Wed Aug 03, 2016 2:22 pm UTC
Forum: News & Articles
Topic: The Thread To Remind Me We're Living In The Future
Replies: 1937
Views: 408814

Re: The Thread To Remind Me We're Living In The Future

The real problem I have is with the blades. The bus requires that everyone stay in their lanes perfectly for it to overlap other cars. Stalled car partly in lane? Bus cannot move. Car nosing its way onto the road? Bus must stop. Construction? No bus allowed! Pot hole? No swerving allowed! Traditiona...
by Yakk
Tue Aug 02, 2016 3:27 pm UTC
Forum: General
Topic: Hype your ripe snipes 'n' gripes
Replies: 28619
Views: 3571682

Re: ANGRY NATTERINGS

"I shouldn't have to experiment." Why not? For the most part, when using any new applicaiton, you'll have to experiment to use it. Yes, this adds more experimentation. In exchange, you get a "cleaner" UI (that can attract more new users), and probably a better UI for experts (as ...
by Yakk
Tue Jul 26, 2016 1:13 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 10016
Views: 2030896

Re: Coding: Fleeting Thoughts

Ah yes, that is fine. I'm just saying do: template<class T> struct tag_t { constexpr tag_t() {}; }; template<class T> constexpr tag_t<T> tag{}; template<class T, std::size_t Size=sizeof(T), std::size_t Align=alignof(T)> struct poly_auto { template<class U> U* ctor( U&& u ) { static_assert( s...
by Yakk
Mon Jul 25, 2016 7:46 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 10016
Views: 2030896

Re: Coding: Fleeting Thoughts

I am uncertain, but the issue is you are taking an object of type A and replacing it with an object of type B. This may violate aliasing requirements unless you are very careful. If you are violating aliasing, this is UB. One way the compiler could "exploit" that UB in a way that leads to ...
by Yakk
Mon Jul 25, 2016 3:15 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 10016
Views: 2030896

Re: Coding: Fleeting Thoughts

I am not certain what good comes of your plan. Do you plan on using the storage declared for an `A` and destroying it, and storing a `B` there? That will result in undefined behavior 3 ways from sunday. If you are, say, trying to create polymorphic stack (automatic storage) objects, store an A* and ...
by Yakk
Sat Jul 23, 2016 3:13 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 10016
Views: 2030896

Re: Coding: Fleeting Thoughts

Once you add virtual or a few other things, C++ does *not* provide layout/size guarantees. Its layout/size guarantees exist basically to be compatible with C's layout/size guarantees. There has been merely modest expansion on top of that, allowing things that should have zero impact on the C-style l...

Go to advanced search