« first day (1005 days earlier)      last day (3940 days later) » 

12:00 AM
Didn't you like it?
 
Ell
I love it <3
 
@CatPlusPlus the API's backend will be written in what?
 
@Ell <3
 
It's already written, in C# w/ WCF.
 
nodejs is a pretty cool alternative. And you can have reusable code between the client/server but nodejs crowd is stupid IMO
so much callback everywhere
 
12:02 AM
That can be solved with future chaining.
But fuck Node and JavaScript in particular.
 
Write code in any language and have it to run in node :)
 
If I got a spec for a project like this today, I'd go with C# for everything.
 
I left my job recently and I don't have good feeling about C# programmers
 
API, web stuff, Android and iOS. Now that would be code sharing.
I'd write the entire data layer exactly once.
 
that's what API are for
 
12:05 AM
There's data between API and the application.
 
but at work my workmate decided that we will have an api for admin and for clients
I think it was a terrible idea
most controllers are written twice and may have different parameters for doing the same thing
They also might return different kind of data for the same function call
 
Woo cleared my todo list.
 
also AngularJS sounds cool. I only done work with knockout. Backbone sucks
 
Cat's TODO List:
- ---Clear my todo list---
8
 
I'll be happy if I don't have to touch any JS crap.
 
12:10 AM
The problem isn't much in JS to be honest, but people that use jquery
 
user142019
What.
 
I mean, people that use jQuery and think they know JS
 
user142019
jQuery is a fix for W3's terrible APIs.
 
user142019
And JavaScript is a terribad language.
 
@LoïcFaure-Lacroix jQuery saved JS
 
user142019
12:11 AM
Try TypeScript.
 
jQuery saved DOM manipulation not Js
 
user142019
Or Python or Go.
 
Go might be interesting but js is quite interesting when you understand how prototypes works
 
JS is a poorly designed piece of crap.
 
argument?
 
user142019
12:14 AM
@LoïcFaure-Lacroix If you want prototypes, try Io.
 
... Wow.
 
Weak typing, non-binding function signatures, retarded scoping rules, rebindable this, open types.
 
std::unordered_map does not work when you want to nest types
 
user142019
@Borgleader Old everybody's read it no need to link.
 
12:15 AM
@ThePhD What?
 
but std::vector, std::set, etc. all work.
 
user142019
@ThePhD What?
 
@ThePhD ?
 
@rightfold Clearly theres one person here who hasnt
 
@CatPlusPlus Consider this
 
12:15 AM
You know unordered_map is a hashtable, right?
 
@CatPlusPlus there is no "open types"
 
user142019
@LoïcFaure-Lacroix actually.
 
@LoïcFaure-Lacroix Prototype access being public is exactly that.
And it's as stupid as it is in Ruby.
 
they define prototype but not types
 
:cripes:
 
12:16 AM
@CatPlusPlus Yes.
 
any object is a prototype
 
@ThePhD So, what's the problem?
 
user142019
function Foo() {}
Foo.prototype.a = function(x) {}; // looks pretty
Foo.prototype.b = function(x) {}; // open to me
 
@CatPlusPlus The original idea was to have std::unordered_map<keyvalue, node> and it didn't work out
 
Also that types are created the way they are is stupid too.
@ThePhD I still don't know what's the problem.
 
12:18 AM
because prototype is just a simple object Check this out:
var Foo = {
a: function (x) {},
b: function (x) {},
create: function () {return Object.create(this);}
}
 
user142019
> create
 
Stop arguing irrelevant JS implementation details, nobody cares.
 
it's pretty much like python and dict
 
user142019
I want new Foo(), not Foo.create().
 
Also that typing is weak is another issue.
 
12:19 AM
Python has that and so what?
 
@CatPlusPlus It doesn't compile when you try to use a std::unordered_map
 
user142019
JavaScript's type system exhibits RB.
 
@ThePhD Show code that doesn't compile.
@LoïcFaure-Lacroix Has what?
 
user142019
@LoïcFaure-Lacroix In Python you define a type using fucking classes, not dictionaries.
 
12:19 AM
So what?
 
@rightfold internally the classes have a dictionary
iirc
 
user142019
__dict__ is more irrelevant than the ass of my grandmother's grandmother.
 
@rightfold never heard of the function type ?
 
user142019
__dict__ is an irrelevant utility function.
 
12:20 AM
class is just syntax sugar
 
Open types are bad everywhere.
 
@rightfold I'm interested in the latter.
 
it's not needed to create classes
 
I don't know what you thinking bringing Python will do, because certainly not defend JS' retarded design.
Also fuck this, I'm not talking about language design with crappy language zealots again.
 
12:21 AM
 
@ThePhD Save me
 
@CatPlusPlus I don't know if C++ counts as saving.
 
user142019
@LoïcFaure-Lacroix Yes I know about type thank you.
 
In this context everything does.
 
Let's talk about Properties and CSharppe. <3
 
user142019
12:22 AM
And __dict__ is still irrelevant to JavaScript's retarded type system.
 
Oh, the type has to be complete.
 
you can change the dict of a class and it will do pretty much the same thing as changing a prototype
 
@CatPlusPlus For it to work with std::unordered_map ?
 
Strange requirement, but I guess it can't be helped. :c
 
user142019
12:23 AM
I think the plonk feature will come in handy again.
 
user142019
And indeed it did.
 
:>
 
@MooingDuck May I ask, how does a pointer differ from an integer of the same bit-count on x64 Windows?
 
It uses std::pair internally and that stores values.
 
@Rapptz Then I have to new the nodes.
 
12:23 AM
Why does codereview's about page say "Don't ask about... conducting code reviews"?
 
unordered_map<K, unique_ptr<T>>
 
@ThePhD The type's incomplete and one of the ways to fix it is to use a pointer.
 
@Tuntuni they're not the same bit count
 
user142019
@MooingDuck It's for code review, not for questions about code review.
 
@rightfold ooooh
 
12:24 AM
Maybe I can cheat...
 
@Tuntuni A pointer is a pointer, and integer is an integer.
 
user142019
You can't.
 
@rightfold that's confusing
 
Will you drop that stupid pointer crap.
 
@CatPlusPlus we have context that hasn't been mentioned here
 
user142019
12:24 AM
@Tuntuni Pointer is an abstraction. Integer is an abstraction. Pointer and integer are not the same abstraction.
 
@MooingDuck If both the integer and the pointer are 64 bit, how isn't that the same bit-count?
 
@ThePhD I think youre running into the same problem as: struct Node { int i; Node n; };
 
@Tuntuni The integer isn't 64 bit
 
0
Q: Difference between an integer and a pointer

digi_abhshkA pointer is basically an unsigned integer so can we have operations b/w int* and unsigned int like if i declare int x = 5 ; int* p = &x; unsigned int y = 10 ; cout << p+y ; Is this a valid thing to do in c++ , and if not why ? This has no practical use , but is it possible ?

 
Perhaps I can use std::vector<node>, and then unordered_map<K, node*> can still be a box of nodes.
 
12:25 AM
this just got asked lol
 
@MooingDuck What about INT64 or UINT64?
 
@Tuntuni 0x1234 is not of type INT64
 
0x1234ULL might be UINT64
 
@MooingDuck Oh, I didn't know you were referring to 0x1234. And if I do (UINT64)0x1234?
 
@Tuntuni that'd be fine. (Also I just noticed one of my comments I misread what you said. Sorry, My bad)
 
12:27 AM
@MooingDuck Ah, all clear now. :) Thanks.
 
^ that would do the job, I guess /cc @CatPlusPlus @Rapptz @Borgleader
 
@ThePhD unique_ptr...
Every node owns its children.
 
Hm..
Well, okay.
 
Otherwise you'll have FUN TIMES when you destroy a node with 1000 subnodes and root is the owner.
Rule of zero man.
 
Yeah, yeah I get it.
Well, I guess that's how it goes.
 
12:30 AM
I really need that time tracking thing. :<
 
Robot and I says unique_ptr of nodes owning child nodes is a silly design.
 
managing left.release() and left.swap when trying to rotate/erase nodes is a PITA, also if you have a stateful allocator, each node is significantly bigger and more complex.
Whereas it's all straightforward when you use raw pointers inter-node, and make a "root" object that "owns" all of the nodes.
 
This isn't a balancing tree.
And root owning all nodes complicates this kind.
So doop dee doo your tree sucks.
 
user142019
-1 not enough garbage collector.
 
12:34 AM
gc is crap
 
yeah, I started paying attention to the code, what I said doesn't apply
I have NO idea what you guys are discussing :<
 
user142019
It's time to wreak some havoc on Stack Overflow.
 
@ThePhD well, it compiles.... coliru.stacked-crooked.com/… but boost::unordered_map seems to be infinitely recursive in the constructor for this case?
 
user142019
> put on hold as primarily opinion-based by lc., Gian, rightfold, Mark, Andrew Barber♦
 
user142019
This is terrible.
 
user142019
12:44 AM
All four but the mod voted for off-topic.
 
user142019
Very democratic, Stack Exchange.
 
@rightfold SE? democratic? right.....
55
Q: Are expletives allowed on SE sites?

Jeff AtwoodCan I use salty, expletive-laden language on Stack Exchange sites, like Q*Bert? Return to FAQ index

 
@rightfold It has nothing to do with the other guy being a mod.
 
Top voted answer: "Yes, but keep them to a minimum"
Jeff Atwood: "If you continue to use expletives, you will be [suspended]."
 
happens even if he's not a mod.
unless they fixed that
but at one point, it certainly happened regardless.
 
user142019
12:48 AM
@MooingDuck I like how the top three answers are "Yes", "No" and "It depends".
 
Also, this question where virtually every answer says BrainF_ck is fine uncensored, and Jeff Attwood went and censored the whole page.
 
user142019
OH NO SOMEBODY MENTIONED THE NAME OF A PROGRAMMING LANGUAGE I AM SO OFFENDED
 
@MooingDuck no, that's not infinitely recursive moron, pay attention.
 
@Borgleader What ... the ... skullfuck?!
 
12:56 AM
its by the onion
 
Oh
T_T
 
I wrote a lua script that would convert a string to brainfuck. lol.
 
argh, my stomach :(
 
Ugh YouTube will not shut up about this Google+ crap.
Also :lol: I have wrong birthdate on account.
 
Xeo
Okay, gotta admit, BL2 is pretty fun
And the soundtrack is just sick.
 
1:03 AM
The Psycho is awesome.
Pity that the screen gets full of blood when you start killing the enemies in frenzy and then I can't see shit
 
Xeo
heh
I like the Mechromancer a lot
 
Egh DLCs.
 
Dude, my friend plays a mecro and woops ass when he gets high stacks
way more effictive than my zerker
effective*
 
Xeo
Yeah, I also got the Anarchy skill
 
I've only played up a zerker and soldier
 
Xeo
1:06 AM
You really get some problems hitting things with high stacks, though
Since accuracy decreases as dmg increases
 
idk, he will down guys in a couple shots.
 
yeah, he says that
He always gets up close
shot guns
 
Xeo
yeah
 
1:07 AM
I'd like to see a 200 anarchery mecro vs the zero shot gun build.
lol
nipple salads
 
> Share your current location reported via background reporting on your devices with people you choose
Jesus
This is a feature
 
constantly update where you are?
Seems useful.
 
Xeo
Noes, my banana juice is empty :(
 
1:22 AM
-40
Q: StackOverflow's bounty system is broken

Yatin SaraiyaI have now successfully solved 3 bounty questions in 4 days. These people don't pay up, either by claiming that "the solution doesn't work" (and since I test everything, my solutions work) or by changing the parameters after you solve the question. This is very bad for StackOverflow. Look at my...

I really want that to stay open long enough to put a bounty on it...
 
I won that thread anyway.
 
Xeo
Welp, sleepy time. G'night.
 
this guy again
 
guys lambda functions are weird
 
1:39 AM
nothing weird about them
well what about them?
 
I dunno just used one today and they seem odd
 
What?
 
lambda functions, learning python lately
 
OMG, I can't stop laughing
 
little late to the joke mate
 
1:51 AM
lawls I've never heard of you either. Or your company. But I must say you make the funniest meta threads.
 
@Crowz It's just a function with no name.
 
@CatPlusPlus yeah, but they're still pretty cool. ;)
 
I just don't know what could possibly be "odd" about them.
 
I dunno just not used to them really, or a lot of python list stuff
and holy shit are python lists good though
 
They're just dynamic arrays.
Arriving at lambdas is pretty easy if you can understand structural identity and first-class values.
Functions don't need an intrinsic name, if you can name the object that holds the function.
(That Python lambdas are restricted to single expression is just a silly design decision)
 
1:56 AM
@Crowz what
 
4
A: What is the point of the 'auto' keyword?

Rapptzauto has a lot of uses when it comes down to both generic programming and to save the programmer some typing. For example, consider this. Would you rather type out: std::unique_ptr<name::long_type::goes_here> g = std::make_unique<name::long_type::goes_here>(1,2,3,4) or: auto g = std::m...

Did I miss anything?
 
I know why lambdas are there and why they'd work (I mostly use them to modify lists) but just seems a bit weird. Maybe I'm too used to java
seems a bit TOO easy
 
@Rapptz that's a ridiculous amount of downvotes
 
You have weird thought process.
 
I do.
 
1:59 AM
I really do, I think about my thought process a lot
 
Aaaalright.
Goody night lads.
 
Night.
 
hmm... is it hard to add SSL to a website?
 
Nick Craver from SO had a blog post about it.
 
2:38 AM
haha, gmail found out my trash mail account and offers to sort it for me
now they have three categories: primary social and promotions
 
3:02 AM
@Rapptz You missed the traditional C use for auto -- to define cars: auto my_car = AcuraRSX;
 
lol
 
3:14 AM
Does anyone else have 101 rep on meta?
 
You get +100 association bonus when you reach 200 on any site.
 
@Rapptz I know that, let me rephrase.
 
Then the answer is no.
1,082 here.
 
Has anyone else never gained rep on meta?
 
@chris Yes (but not very many).
 
3:16 AM
I feel like I should be.
 
@chris I wouldn't feel any obligation. I can't remember who said it, but there was an author who said his advice to aspiring authors was to avoid becoming an author if they possibly can. I feel pretty much the same way about meta -- I have a little reputation from a few times things have irritated me so much I felt like I had to say something on meta about them. Otherwise, I mostly avoid it.
 
meta is where you have troll feast parties
 
@JerryCoffin I haven't ever really felt the need to ask anything, but it sometimes seems random which questions get voted up (even with the agree/disagree thing in mind), and a lot of accepted answers I see involve someone prying into an account's activity or status.
Stupid trailing space
That feels slightly insulting.
 
@chris It's coming from someone who seems to mostly answers tcl questions... lol
 
I'm trying to think of what I was like the first time I came in here.
 
3:26 AM
@chris Translated: "I've never done anything well, so I jump from one thing to another, so by the time anybody notices I was useless, I've moved through three more jobs, at least a couple languages, and spend most of my time bad-mouthing the languages I claimed to use without having really learned, so I can blame them for my own incompetence."
 
Oh wait, there's a tool for that.
Hmm, how do I get all messages said by a particular person since the very first one?
I'm looking forward to an awkward 10 minutes.
 
@jozefg remember me?
:D
 
@CCInc Yes, Hello there
 
'ello mate
I was expecting Ash to be in here talking about web apps, lol
or is it to early for that?
 
lol ios7 & window8 are going back to the simple flat design
so we are going back from the 3d era to 2d
 
3:35 AM
@jozefg Correction: he doesn't really answer questions at all. His entire history on SO is short and simple: he dumped a few links, without contributing anything himself at all. He wasn't instantly awarded the bounties he expected, so he whined that the system is broken. Now he's claiming that real answers are just giving people code, not teaching or understanding -- the whole system is wrong, and he's the only one who's right at all.
@Telkitty猫咪咪 It's like a line out of Lord of Light. Something like: "You're like a man who contracted a disfiguring disease -- but after a while, you look in the mirror and think, 'but it looks good on me.'" Somehow, their designers have designed UIs that are ugly and boring, but somehow think it looks good on them.
 
@JerryCoffin Some people are too egocentric. I'm too...shy? I can't really think of the word for what I am, but It involves being too quiet and agreeable usually.
 
The reason I am saying this is because I am upgrading the apps, the graphic designer has proposed that we should have the same flatness design as ios 7 & window 8
Personally I detest this kind of design. But the more it blends with the latest platform, the higher chance it will be taken as more 'official' IMO
 
@Telkitty猫咪咪 In context, it's probably a decent idea -- if you're selling crippled hardware (iPhone), it's best to design your UI so it can still run decently on crippled hardware. If you can count on decent hardware, it's (IMO) a horrible disservice to your users. Win 8 "store" type apps (full-screen only, etc.) are the absolute worst programs I've have to put up with in years. I absolutely loath them.
 
I just did unspeakable things...
...to fit that pizza box in the fridge.
 
3:53 AM
@chris Bring it here -- I'll finish it. Oh, wait -- I just had pizza (from Pizza Orgasmica) for lunch, so maybe I shouldn't.
Then again, I can pretty much always go for a good pizza (and unless it has something horrible like anchovies, nearly all pizza is good).
 
@JerryCoffin What's left in the box is half a Hawaiian and half a Meat Lover's.
 
@chris Mmmm....meat lovers. Life is good.
 
@JerryCoffin Yeah, that one was mine.
 
4:15 AM
That escalated quickly...
Oh, it got deleted.
"ffs go and read it, if you don't even understand any of it, how can you even judge if it's a duplicate.. just either understand it, downvote it or flag it, If you can't contribute usefully, please shut up"
 
Would it be right to say that every person and every invention of his that has become big, there has been a women (somehow) behind it.
 
Guys
 
Seriously, I don't keep track of what the inventors do, let alone the women with them.
 
For a tree, would you expect the root node to have a value?
Or would you expect the root node to have nothing?
 
4:25 AM
@ThePhD I have seen both.
Without value as well as with, so it doesn't matter.
 
I would expect it to have a value, but my opinion is worth nothing on that subject.
 
Goddamn trees. =/
 
@chris Well Zuck had that girl due to which he created Facemash which led to Facebook.
I am sure there are others too.
 
The only tree I've used was a simple binary tree I made after quickly realizing that a 3D array was the wrong approach.
 
@ThePhD Depends on the tree.
But why wouldn't it have a value?
 
4:27 AM
Just asking. I'm making a basic templated tree type.
 
The root is just like any node.
Except it has no parent.
That's the only property that makes the root different from the other nodes in the tree.
 
@thephd what kind of tree?
 
A basic, n-children tree.
Not binary, not red-black, not something weird.
Just parent-child relationships.
That's it.
 
It usually has a value, I think.
Its parent would be null.
 
4:50 AM
@ThePhD Usually a root node is like any other node. The primary exception is with a B-tree, where other nodes must always be at least half full, but a root node can be less (but still always contains at least one value).
 
Okay.
 
I mention a B-tree primarily because if you want an N-way tree, that's often a reasonable starting point.
 
5:03 AM
-2
Q: Wikipedastrophic

Ali FakoorI think the whole stacky thing is treated much wikipediastrophically. What do you think? A) Yes, it is. B) No, it isn't C) Man, I am a Wikipedia Admin/.../Steward. Clear my way or I will vote to demolish your town!!! Definitions Please feel free to enjoy these Stacktionary entries!: Wikipedias...

 
Morning!
Hah! I want this!
From SO 404 page.
 
@Telkitty猫咪咪 hey hii goodafternoon :)
 
So I finished Bioshock Infinite.
 
@wilx Dat be some wikipediacastrophically massive wafflage!
 
@CatPlusPlus: So it was not infinite afterall.
 
5:16 AM
@NipunGogia hello hello :)
 
@wilx mind = blown
 
@StackedCrooked Play the game for more of that.
 
5:40 AM
It looks decent.
 
@LightnessRacesinOrbit thankyou for your answer ... i am accepting other one for some minutes so that you will get Populist badge too :)
 
Is bioshock infinite a sequel to bioshock?
> While BioShock Infinite, developed by Irrational Games and released in 2013, shares the name and many similar gameplay concepts with BioShock, the title is not a sequel or prequel in story, instead taking place aboard the collapsing air-city of Columbia in the year 1912, and following former Pinkerton agent Booker DeWitt as he tries to rescue a woman named Elizabeth from the dystopia it has become.
Found the answer on Wikipedia already :)
 
6:07 AM
ello
 
morning
don't wanna start a chain and block chat
 
user142019
@Ell o
 
Mawning.
 
gmning
 
I can't go to sleep
until someone stops playing a game and answers my questions.
I'm also peeling off all the Asus business-ware from this laptop
@Borgleader Did your ASUS come with this much ASUSTEK crapware too? If so, did you leave it there, or blow it up?
As long as I get you have you. <33
 
6:23 AM
sneaks off the room and dims the light for you two...
 
user142019
CoffeeScript isn't my cup of tea.
 
@rightfold dat pun -.-
 
The social media reaction to this asteroid announcement has been sharply negative. Care to respond?
6
 
user142019
lol
6
 
hahahha xD
why people use sticks when they can use spoon :)
 
user142019
6:36 AM
I'll spork you.
 
Any apps you guys view as necessary when doing a first-time install?
 
Browser, code editor, etc?
 
Notepad
 
Well if that's all you guys use, then I don't really have much else to add then...
 
@ScottW That job's already taken by Phil.
 
6:42 AM
@ThePhD first time install of what? PC for a gamer? developer? just-surfin'-grandpa?
 
@ArneMertz All of the above.
I'd like a list of everything.
 
@ThePhD A compiler and some sort of programming editor. Without those, a computer is just an expensive way to play solitaire. Oh, and Chrome.
 
browser, editor , compiler(s)
doxygen
 

« first day (1005 days earlier)      last day (3940 days later) »