archived
stringclasses
2 values
author
stringlengths
3
20
author_fullname
stringlengths
4
12
body
stringlengths
0
22.5k
comment_type
stringclasses
1 value
controversiality
stringclasses
2 values
created_utc
stringlengths
10
10
edited
stringlengths
4
12
gilded
stringclasses
7 values
id
stringlengths
1
7
link_id
stringlengths
7
10
locked
stringclasses
2 values
name
stringlengths
4
10
parent_id
stringlengths
5
10
permalink
stringlengths
41
91
retrieved_on
stringlengths
10
10
score
stringlengths
1
4
subreddit_id
stringclasses
1 value
subreddit_name_prefixed
stringclasses
1 value
subreddit_type
stringclasses
1 value
total_awards_received
stringclasses
19 values
True
[deleted]
null
[deleted]
null
0
1315702793
False
0
c2iynu1
t3_kbbbu
null
t1_c2iynu1
t1_c2iwk1e
null
1427584356
1
t5_2fwo
null
null
null
True
macca321
null
My contention (as author of harden) is that these rules ARE part of the domain object itself. Splitting the rules into a new class means you are making a new ' behaviour class' concept which you are then applying to the domain class. This increases the overall complexity as a consumer not only has to work with the doma...
null
0
1315702868
True
0
c2iyo4u
t3_kaj03
null
t1_c2iyo4u
t1_c2iqcjc
null
1427584360
1
t5_2fwo
null
null
null
True
FMScanRadio
null
Apparently you misread his comment :)
null
0
1315702950
False
0
c2iyog0
t3_kbbbu
null
t1_c2iyog0
t1_c2ixzu3
null
1427584364
6
t5_2fwo
null
null
null
True
[deleted]
null
Do you celebrate your first birthday the instant you come out of the womb? Anything of importance usually factors in zero and anything for the 'normal' people starts at 1. This of course leads to people debating retarded stuff like when the century starts because not everyone realises there is a year 0 and not all cal...
null
0
1315702969
False
0
c2iyoio
t3_kbdgw
null
t1_c2iyoio
t1_c2iy4oa
null
1427584365
3
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1315703001
False
0
c2iyomo
t3_kbgvc
null
t1_c2iyomo
t1_c2ixts6
null
1427584367
1
t5_2fwo
null
null
null
True
Rhomboid
null
That's a big fat honking SQL injection vulnerability, and a prime example of how **not** to interact with a database in PHP. These shit tutorials that teach bad habits are what give PHP programmers a bad name.
null
0
1315703139
False
0
c2iyp5n
t3_kbili
null
t1_c2iyp5n
t3_kbili
null
1428194604
1
t5_2fwo
null
null
null
True
oopsiedaisy
null
despite peoples yada re spellchx thx!
null
0
1315703324
False
0
c2iyptr
t3_kbbbu
null
t1_c2iyptr
t3_kbbbu
null
1427584396
-5
t5_2fwo
null
null
null
True
macca321
null
Maybe your bottleneck is runtime cpu bound performance and not network performance, if so thats unusual. Reflection, used like this, is negligible for most apps. The benefit of Harden is really that it makes code a bit more concise, reduces duplication and boilerplate. In complex domain models, where object behaviour ...
null
0
1315703653
False
0
c2iyr0j
t3_kaj03
null
t1_c2iyr0j
t1_c2iqa0h
null
1427584410
1
t5_2fwo
null
null
null
True
pas_mtts
null
Have a look at Clock cache http://en.wikipedia.org/wiki/Page_replacement_algorithm#Clock It has comparable performance to LRU, but simpler to implement in multithreaded environment.
null
0
1315703691
False
0
c2iyr49
t3_kb35n
null
t1_c2iyr49
t3_kb35n
null
1427584407
5
t5_2fwo
null
null
null
True
www777com
null
When was the child born: year 1 or year 0? What was his first year like? Is it, "Well from year 0 to year 1, it was...." Or is it, "Well during his first year...." What was his second year like? "Well from year 1 to year 2..." Or, "During his second year..." That's the problem with functions. Does the function p...
null
0
1315703718
False
0
c2iyr8d
t3_kbdgw
null
t1_c2iyr8d
t3_kbdgw
null
1427584410
2
t5_2fwo
null
null
null
True
redditnoob
null
> because there is exactly one function from the empty set to itself (the identity function) Why is it the identity function? For every x in the set, f(x) != x, right? :) Also there does not exist any x such that f(x) = x. So in what sense is it an identity function?
null
0
1315703763
False
0
c2iyre7
t3_kbgvc
null
t1_c2iyre7
t1_c2ixts6
null
1428194602
-5
t5_2fwo
null
null
null
True
watermark0n
null
I think that repeal of spelling reform would become a key plank of the Republican party for a few generations afterward.
null
0
1315703861
False
0
c2iyrr0
t3_kbbbu
null
t1_c2iyrr0
t1_c2ix3v1
null
1427584414
2
t5_2fwo
null
null
null
True
sltkr
null
In my opinion Edsger W. Dijkstra settled this in 1982 ([EWD831: Why numbering should start at zero -- PDF!](http://www.cs.utexas.edu/users/EWD/ewd08xx/EWD831.PDF)). Guido van Rossum would be making a grave mistake if he didn't follow his esteemed countryman in this regard.
null
0
1315703902
False
0
c2iyrvu
t3_kbdgw
null
t1_c2iyrvu
t3_kbdgw
null
1427584415
17
t5_2fwo
null
null
null
True
macca321
null
Fair enough, I'll inherit it from IOE. I don't myself like catching them when business logic rules have been broken as the framework is lower level than I prefer to work with, but I should give library consumers the choice.
null
0
1315703910
False
0
c2iyrwt
t3_kaj03
null
t1_c2iyrwt
t1_c2ir382
null
1427584415
1
t5_2fwo
null
null
null
True
therapy
null
> I don't see Mozilla devs adding features to Chrome for example. Mozilla is an open source project and a nonprofit. It doesn't have the resources Google, Apple or Microsoft have. Not sure what point there is to compare Mozilla to Google here. So a better comparison would be Microsoft, which does own some importan...
null
0
1315703914
False
0
c2iyrxa
t3_kawp5
null
t1_c2iyrxa
t1_c2iyfih
null
1427584415
1
t5_2fwo
null
null
null
True
oddthink
null
I'm sure this works well, and all, but it seems like you're getting out a nuke to swat a fly. Maybe I've just not found the right setup on my mac, but I've found pygame to be incredibly slow and resource-hungry, as well as being a PITA to install. (Perhaps that's macports's fault, though.) Aren't there conio-based lib...
null
0
1315704085
True
0
c2iysk2
t3_kbbbu
null
t1_c2iysk2
t3_kbbbu
null
1427584423
3
t5_2fwo
null
null
null
True
rjcarr
null
Java JDBC also uses 1-based indexing and it always fucks me up at least once every time I use it.
null
0
1315704149
False
0
c2iysrn
t3_kbdgw
null
t1_c2iysrn
t1_c2ixnbu
null
1427584426
7
t5_2fwo
null
null
null
True
macca321
null
thinking about it, the interceptor could easily look off to other classes for rules, not hard to do. Not my preferred approach for simple rules as I think people looking at code need as few places to look as possible, but complex rules could definitely be extracted into their own classes. Just don't make the mistake of...
null
0
1315704210
True
0
c2iyszf
t3_kaj03
null
t1_c2iyszf
t1_c2iyo4u
null
1427584428
1
t5_2fwo
null
null
null
True
sltkr
null
> Nothing **I** have read.. > .. comes ~~to~~ close to .. Seems like you were hit by Muphry's law, or maybe you were boasting about your own spelling ability?
null
0
1315704213
False
0
c2iyszz
t3_kbbbu
null
t1_c2iyszz
t1_c2iy9ai
null
1427584428
2
t5_2fwo
null
null
null
True
[deleted]
null
Pretty sure that rule only applies if you are AlSweigart (the library author).
null
0
1315704270
False
0
c2iyt7c
t3_kbbbu
null
t1_c2iyt7c
t1_c2ixwb5
null
1427584439
1
t5_2fwo
null
null
null
True
rawlyn
null
For security, I think only the MD5 hashes of (salted) primes should be used as indices.
null
0
1315704296
False
0
c2iytbc
t3_kbdgw
null
t1_c2iytbc
t1_c2ixwlt
null
1427584432
18
t5_2fwo
null
null
null
True
eruonna
null
Because, as cgibbard said, the empty set needs an identity function for Set to be a category. And the function in question behaves as an identity under composition. But I can invert what you said and ask in what sense is it not an identity function.
null
0
1315704348
False
0
c2iythi
t3_kbgvc
null
t1_c2iythi
t1_c2iyre7
null
1427584436
11
t5_2fwo
null
null
null
True
rawlyn
null
That's like me saying I'm a human, but I'm not a mammal.
null
0
1315704383
False
0
c2iytlt
t3_kbdgw
null
t1_c2iytlt
t1_c2ixgal
null
1428194600
1
t5_2fwo
null
null
null
True
MpVpRb
null
Counting starts from 1. Enumeration starts from 0. Some people just confuse the two. I'll make it easy. If you are standing in front of your house, how far do you have to walk to stand in front of your house? That's right..zero. So your house would be zero houses from your current position, and its name would be hou...
null
0
1315704515
False
0
c2iyu48
t3_kbdgw
null
t1_c2iyu48
t3_kbdgw
null
1427584444
38
t5_2fwo
null
null
null
True
meddlepal
null
Well that is one way of solving an issue...
null
0
1315704523
False
0
c2iyu4v
t3_kaxjq
null
t1_c2iyu4v
t1_c2iww25
null
1427584444
5
t5_2fwo
null
null
null
True
macca321
null
Oh yeah. The usefulness of validate methods is more minor than they are for Allow methods, but you should note that writing validation code at the start of a method that returns an exception with multiple parameter issues rather than just throwing on the first one encountered takes quite a few lines of code, and really...
null
0
1315704530
True
0
c2iyu5q
t3_kaj03
null
t1_c2iyu5q
t1_c2iyr0j
null
1427584444
1
t5_2fwo
null
null
null
True
oddthink
null
All of this makes me think of Eugene McDonnell's [argument](http://www.jsoftware.com/papers/eem/0div0a.htm) that 0 divided by 0 should be 0 in APL. It's implemented that way in J.
null
0
1315704661
True
0
c2iyun2
t3_kbgvc
null
t1_c2iyun2
t3_kbgvc
null
1427584449
2
t5_2fwo
null
null
null
True
jerf
null
What, exactly, are you talking about? There's only one function with domain `{}` and range `{}`, `f({}) = {}`. There's nothing else you can possibly do. There are no other inputs you can feed that function and nothing else it can possibly output.
null
0
1315704709
False
0
c2iyuta
t3_kbgvc
null
t1_c2iyuta
t1_c2iyre7
null
1427584451
12
t5_2fwo
null
null
null
True
LucasMembrane
null
If you remember 1957, when Fortran came out and they were just doing what seemed sensible, they started their arrays at 1. Later, COBOL did the same and PL/1 let you decide, but defaulted to 1. Mathematics always seemed to start subscripts at 1. It was the life insurance actuaries who were big early users of comput...
null
0
1315704749
False
0
c2iyuyx
t3_kbdgw
null
t1_c2iyuyx
t3_kbdgw
null
1427584453
4
t5_2fwo
null
null
null
True
Rhomboid
null
> basically just a glorified assembler I used to think that way about C, until I actually read the standards and learned about the various forms of undefined behavior like overflow and aliasing. If C was a glorified assembler, then this would produce a loop of `INT_MAX` iterations: int i; for (i = 0; i >= ...
null
0
1315704904
False
0
c2iyvir
t3_kbdgw
null
t1_c2iyvir
t1_c2ix80n
null
1427584458
10
t5_2fwo
null
null
null
True
slash112
null
The point of it was to understand AJAX, not databases.
null
0
1315705117
False
0
c2iywa9
t3_kbili
null
t1_c2iywa9
t1_c2iyp5n
null
1427584477
0
t5_2fwo
null
null
null
True
gwern
null
Rubber duck debugging: - http://www.reddit.com/r/programming/comments/8yzkq/rubber_duck_debugging_wikipedia/ - http://www.reddit.com/r/programming/comments/83i5n/the_rubber_duck_method_of_debugging/ The paper itself, "When falsification is the only path to truth", emphasis added: > Can people consistently attemp...
null
0
1315705193
False
0
c2iywjo
t3_kbnli
null
t1_c2iywjo
t3_kbnli
null
1427584473
3
t5_2fwo
null
null
null
True
[deleted]
null
That should be an onion headline.
null
0
1315705425
False
0
c2iyxen
t3_kawp5
null
t1_c2iyxen
t1_c2iwpsv
null
1427584487
4
t5_2fwo
null
null
null
True
Conator
null
Because the first floor is the ground floor. The second floor is the first that's not on the ground.
null
0
1315705765
False
0
c2iyyls
t3_kbdgw
null
t1_c2iyyls
t1_c2ixcsl
null
1427584502
3
t5_2fwo
null
null
null
True
MrMojoRisin68
null
Every language should have arrays with indices starting at 0. The first reason for this is for a standard. Changing something that has been pretty standard for a long time is not a good thing. It gets confusing when switching between languages. The second reason for this has to do with the fact that [0] is a pointer...
null
0
1315705845
False
0
c2iyyvq
t3_kbdgw
null
t1_c2iyyvq
t3_kbdgw
null
1427584508
-6
t5_2fwo
null
null
null
True
muuh-gnu
null
> I do not know why so many still push for it. GPLs goal is to create an ecosystem of GPL software inside which everybody would reuse code from everybody else and be sure that the code wont be used for proprietary software outside the bubble. The only people having headaches about the GPL are the ones trying to ex...
null
0
1315705887
False
0
c2iyz20
t3_kbbbu
null
t1_c2iyz20
t1_c2iybzv
null
1427584510
10
t5_2fwo
null
null
null
True
torhu
null
Please at least read what you are replying to. The point is that DMD doesn't come in a 64-bit version on Windows yet.
null
0
1315706042
False
0
c2iyzmt
t3_kaxjq
null
t1_c2iyzmt
t1_c2iu0jp
null
1427584524
5
t5_2fwo
null
null
null
True
lordlicorice
null
This looks like it just uses pygame's font rendering to draw a terminal on-screen
null
0
1315706435
False
0
c2iz125
t3_kbbbu
null
t1_c2iz125
t1_c2ixrl0
null
1427584531
5
t5_2fwo
null
null
null
True
lordlicorice
null
> The ability to move the cursor and print text anywhere in the console window. Oh my god oh my god oh my god
null
0
1315706510
False
0
c2iz1cd
t3_kbbbu
null
t1_c2iz1cd
t3_kbbbu
null
1427584533
0
t5_2fwo
null
null
null
True
Rhomboid
null
That's not a valid excuse. Example code should be high quality, it should not contain serious glaring errors of the kind that can cause your entire site to become compromised. It's like someone created a tutorial on how to change your car's oil which contained a step saying that you should also loosen your lug nuts, ...
null
0
1315706542
False
0
c2iz1g9
t3_kbili
null
t1_c2iz1g9
t1_c2iywa9
null
1427584535
1
t5_2fwo
null
null
null
True
sltkr
null
Wow, that seems incredibly arbitrary; ignoring 0-based list and array indexing in Haskell and focussing instead on obscure non-standard functions which *do* happen to be 1-based.
null
0
1315706669
False
0
c2iz1xi
t3_k9ud6
null
t1_c2iz1xi
t1_c2iten6
null
1427584541
2
t5_2fwo
null
null
null
True
lordlicorice
null
pygame is awesome :{
null
0
1315706702
False
0
c2iz21c
t3_kbbbu
null
t1_c2iz21c
t1_c2iysk2
null
1427584542
2
t5_2fwo
null
null
null
True
slash112
null
Y'know what. You have a very good point. It would be gay of me to keep the link here, so I'm just going to go ahead and remove it.
null
0
1315706710
False
0
c2iz229
t3_kbili
null
t1_c2iz229
t1_c2iz1g9
null
1427584542
1
t5_2fwo
null
null
null
True
Sevryn08
null
Right, it's like how the 19th century is the 1800's.
null
0
1315706881
False
0
c2iz2py
t3_kbdgw
null
t1_c2iz2py
t1_c2ixbf5
null
1427584551
6
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1315707000
False
0
c2iz36k
t3_kbdgw
null
t1_c2iz36k
t1_c2ix98g
null
1427584557
1
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1315707120
False
0
c2iz3li
t3_kbdgw
null
t1_c2iz3li
t1_c2iylcv
null
1427584562
-1
t5_2fwo
null
null
null
True
wrathofg0d
null
someone please make [this](http://www.youtube.com/watch?v=oaPBZn27rdw) a reality now
null
0
1315707529
False
0
c2iz51v
t3_kbbbu
null
t1_c2iz51v
t3_kbbbu
null
1427584581
-2
t5_2fwo
null
null
null
True
gospelwut
null
Sometimes I think faster than I can type. That leads to those sort of silly mistakes on my part. I suppose it was apropos that I make such mistakes in a thread about grammar.
null
0
1315707541
False
0
c2iz53c
t3_kbbbu
null
t1_c2iz53c
t1_c2iyszz
null
1427584581
1
t5_2fwo
null
null
null
True
sickofthisshit
null
Lisp's most widely used idiom is its macros: a meta-programming framework that is the same language as the programming language. I.e., the equivalents of "templates" and "#define" aren't some baroque attachments onto the language programmed in a completely different style and approach. Instead, you use your ordinary l...
null
0
1315707581
False
0
c2iz58u
t3_k85xr
null
t1_c2iz58u
t1_c2ickpw
null
1427584584
1
t5_2fwo
null
null
null
True
igouy
null
Don't assume - I make an ordinary number of ordinary mistakes in fairly predictable situations. Intending something to be used as an array and then assigning a value to the "test" key of that array would be behaving in a weird and very pointless way :-) > Also, let me point you at the official documentation ... N...
null
0
1315707617
False
0
c2iz5d9
t3_k9ud6
null
t1_c2iz5d9
t1_c2iy204
null
1427584586
1
t5_2fwo
null
null
null
True
[deleted]
null
> For every x in the set, f(x) != x, right? :) Right. But also, for every *x* in the set, *f*(*x*) = *x*. And *that* is the defining property of the identity function.
null
0
1315707682
False
0
c2iz5lj
t3_kbgvc
null
t1_c2iz5lj
t1_c2iyre7
null
1427584588
12
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1315707686
False
0
c2iz5lz
t3_kbbbu
null
t1_c2iz5lz
t1_c2iz53c
null
1427584588
1
t5_2fwo
null
null
null
True
JoeCoder
null
Hardly. Very little of tango was ever released under a phobos compatible license, which prevented integration. Later, after one of the tango devs accused phobos of stealing code, phobos developers wouldn't even look at tango code for fear of further accusations. These two issues left no choice. It's a shame, becaus...
null
0
1315707774
False
0
c2iz5x7
t3_kaxjq
null
t1_c2iz5x7
t1_c2iww25
null
1427584592
2
t5_2fwo
null
null
null
True
andytuba
null
I had a similar experience, except that I loved my "Program Structure" class back in college, which was taught in LISP (well, Scheme); so I was happily surprised to discover how JavaScript implemented closure. Mostly this means that I had a more native grasp on than most of the people on my team, who grew up on C++-sty...
null
0
1315707778
False
0
c2iz5xz
t3_kajta
null
t1_c2iz5xz
t1_c2is664
null
1427584592
3
t5_2fwo
null
null
null
True
andytuba
null
Or, depending on how much overlap in properties the different browsers had, you could do something like var allBits = document.layers || document.all; allBits[0].doStuff();
null
0
1315707986
False
0
c2iz6p1
t3_kajta
null
t1_c2iz6p1
t1_c2ix28q
null
1427584603
1
t5_2fwo
null
null
null
True
andytuba
null
I thought Flash killed Java, then Apple killed Flash, leaving JavaScript sitting high and mighty?
null
0
1315708051
False
0
c2iz6x5
t3_kajta
null
t1_c2iz6x5
t1_c2iwrwb
null
1427584607
3
t5_2fwo
null
null
null
True
yogthos
null
>Mozilla is an open source project and a nonprofit. It doesn't have the resources Google, Apple or Microsoft have. Not sure what point there is to compare Mozilla to Google here. Chrome is likewise an open source project, hence why I don't follow your argument. Mozilla has invented a whole bunch of their own extens...
null
0
1315708081
False
0
c2iz70t
t3_kawp5
null
t1_c2iz70t
t1_c2iyrxa
null
1427584615
0
t5_2fwo
null
null
null
True
ba-cawk
null
People spent so much effort just getting close to a unified javascript that runs everywhere, and now we're heading right back down the rabbit hole. Things like this really help me regret my interests.
null
0
1315708091
False
0
c2iz728
t3_kawp5
null
t1_c2iz728
t3_kawp5
null
1427584618
12
t5_2fwo
null
null
null
True
BridgeBum
null
In the US, the phrase "first floor" generally refers to the ground level, not one level above it like in Europe. So - what you would call the first floor would in fact be labeled 2, yes. Of course, they also call it the second floor, not just number it with 2.
null
0
1315708118
False
0
c2iz75d
t3_kbdgw
null
t1_c2iz75d
t1_c2ix98g
null
1427584610
24
t5_2fwo
null
null
null
True
andytuba
null
That's not odd at all. I think the native speakers learn many more words verbally, and it seems to me that "for all intents and purposes" doesn't show up much in print; so, we never learn to spell it properly. On the flip side, I suspect that the ESLers learn proper "book English" and make sure to look up the correc...
null
0
1315708187
False
0
c2iz7f6
t3_kajta
null
t1_c2iz7f6
t1_c2ixpmx
null
1427584613
2
t5_2fwo
null
null
null
True
UncleOxidant
null
Or is there some kind of intentional obfuscation going on here?
null
0
1315708521
False
0
c2iz8mr
t3_kawp5
null
t1_c2iz8mr
t1_c2iuqc6
null
1427584629
3
t5_2fwo
null
null
null
True
andralex
null
These examples capitalize on the yield feature. There's a library for it in D, but a built-in feature would always look nicer. But it would be hasty to draw any conclusion from examples playing only one chord. Any language looks good on its own turf. The challenge is to do well in a variety of situations, and I think t...
null
0
1315708598
False
0
c2iz8x2
t3_kaxjq
null
t1_c2iz8x2
t1_c2iycwb
null
1427584634
7
t5_2fwo
null
null
null
True
andytuba
null
JScript? You mean the Microsoft implementation of ECMAScript, the generic name for JavaScript? If I recall correctly, it's only called "JScript" [because Sun trademarked "JavaScript."](http://en.wikipedia.org/wiki/Jscript#Comparison_to_JavaScript) EDIT: Yes, I get my panties in a snit over Microsoft, even though I w...
null
0
1315708659
True
0
c2iz952
t3_kajta
null
t1_c2iz952
t1_c2isbvy
null
1427584646
0
t5_2fwo
null
null
null
True
alexandream
null
Meh. They should just come up with a nice intermediate target language, kinda like PIR from Parrot or anything like that, with a good support for annotating original source lines to provide more debug information and let the server side provide compiled versions of whatever language they want to give to the browser. T...
null
0
1315708677
False
0
c2iz97g
t3_kawp5
null
t1_c2iz97g
t3_kawp5
null
1427584646
2
t5_2fwo
null
null
null
True
[deleted]
null
haha, maybe. Sounds like a bad business plan. If they want this to be a new standard, they probably need to make it as easy to understand as possible what they are aiming for.
null
0
1315708906
False
0
c2iza3e
t3_kawp5
null
t1_c2iza3e
t1_c2iz8mr
null
1427584653
1
t5_2fwo
null
null
null
True
ares623
null
Sadly, not macports fault. :( (or was that PIL?)
null
0
1315708920
False
0
c2iza52
t3_kbbbu
null
t1_c2iza52
t1_c2iysk2
null
1427584653
2
t5_2fwo
null
null
null
True
Amablue
null
> Anything of importance usually factors in zero and anything for the 'normal' people starts at 1. One is measuring time since a starting point, and the other is counting something. That's the reasons some things start at 0 and others at 1, not 'importance' > This of course leads to people debating retarded stu...
null
0
1315708992
False
0
c2izadg
t3_kbdgw
null
t1_c2izadg
t1_c2iyoio
null
1427584656
5
t5_2fwo
null
null
null
True
redditnoob
null
One of us is confused and I'm pretty sure it is you. We're talking about operating on shit in the set, not on sets, aren't we?
null
0
1315709132
False
0
c2izavb
t3_kbgvc
null
t1_c2izavb
t1_c2iyuta
null
1427584661
-9
t5_2fwo
null
null
null
True
skelooth
null
not sure what your beef is. if you dont want to take part in an emerging technology, dont.
null
0
1315709169
False
0
c2izb06
t3_ka0qg
null
t1_c2izb06
t1_c2iw78e
null
1427584662
0
t5_2fwo
null
null
null
True
chocolate_
null
I'm in /r/programming.
null
0
1315709393
True
0
c2izbva
t3_kbgvc
null
t1_c2izbva
t1_c2ixv1u
null
1427584674
21
t5_2fwo
null
null
null
True
redditnoob
null
Is it even a function? If it is, I don't really see how you can say anything else about it since it doesn't operate on anything? Maybe it makes some other properties hold universally to say that it is "identity" (I'm sure it does) but I'm having a hard time seeing why it is naturally so, or even that such a function e...
null
0
1315709405
False
0
c2izbwv
t3_kbgvc
null
t1_c2izbwv
t1_c2iythi
null
1427584674
1
t5_2fwo
null
null
null
True
Amablue
null
> What you commonly refer to as the first element is actually the zero'th element, as any good mathematician would tell you ;) zero'th is a misnomer since computer scientists use offsets, not indices. :P The 1st element is count and counting starts at 1, and it is located at an offset of 0, since that's the distanc...
null
0
1315709466
False
0
c2izc4s
t3_kbdgw
null
t1_c2izc4s
t1_c2ix8kz
null
1427584675
3
t5_2fwo
null
null
null
True
Amablue
null
> we're brought up thinking in 1-based, when 0-based is (based on personal experience) more convenient. There are pros and cons to both. I think Lua made the right choice. It doesn't have array offsets, it has true indexes, which represent a count not a distance. We think 1 based because we think in counts generall...
null
0
1315709689
False
0
c2izczk
t3_kbdgw
null
t1_c2izczk
t1_c2ixyqn
null
1427584685
4
t5_2fwo
null
null
null
True
jamonterrell
null
It's quite clever, but it's a great example of the reason things like node.js are going to get more and more popular. Scaling purely by threads is the wrong idea, and we should quit doing it, because it makes these sorts of barriers come up a lot sooner than they need to.
null
0
1315709978
False
0
c2ize2v
t3_kb35n
null
t1_c2ize2v
t3_kb35n
null
1427584701
-1
t5_2fwo
null
null
null
True
calrogman
null
It's not really, because whether or not somebody identifies themselves as British is up to them; while being a mammal is not. The census over here asked how we identify ourselves and I did not mark British. End of story.
null
0
1315710302
False
0
c2izfaj
t3_kbdgw
null
t1_c2izfaj
t1_c2iytlt
null
1427584725
2
t5_2fwo
null
null
null
True
ivosaurus
null
RIPEMD, at least.
null
0
1315710382
False
0
c2izfks
t3_kbdgw
null
t1_c2izfks
t1_c2iytbc
null
1427584726
0
t5_2fwo
null
null
null
True
rawlyn
null
Wait a second... are you telling me I can just *decide* to be Korean, and that's that?
null
0
1315710420
False
0
c2izfpq
t3_kbdgw
null
t1_c2izfpq
t1_c2izfaj
null
1427584722
1
t5_2fwo
null
null
null
True
jerf
null
No. Functions can take sets as their range and domain just fine. They can take anything as a range and domain, in fact.
null
0
1315710423
False
0
c2izfqb
t3_kbgvc
null
t1_c2izfqb
t1_c2izavb
null
1427584722
9
t5_2fwo
null
null
null
True
ivosaurus
null
That's the ground floor, not the first floor, silly.
null
0
1315710438
False
0
c2izfs1
t3_kbdgw
null
t1_c2izfs1
t1_c2ixcsl
null
1427584724
1
t5_2fwo
null
null
null
True
robot_one
null
I had one of those *never gonna get around to it* thoughts in the shower just today, it was to do this. Glad to see it already existed. Good work. Are the function calls the similar to the (n|pd)curses calls? Going to give the site a browse after I close some tabs.
null
0
1315710543
False
0
c2izg5s
t3_kbbbu
null
t1_c2izg5s
t3_kbbbu
null
1427584737
1
t5_2fwo
null
null
null
True
redditnoob
null
True, but that's not what we're talking about in the discussion about 0^0. I'm not going to argue with you that there is one unique function from a domain of one element to range of one element. (I.e. 1^1 = 1 isn't controversial, I wouldn't think.)
null
0
1315710797
False
0
c2izh1x
t3_kbgvc
null
t1_c2izh1x
t1_c2izfqb
null
1428194584
-3
t5_2fwo
null
null
null
True
[deleted]
null
Well poop.
null
0
1315710821
False
0
c2izh4u
t3_kbbbu
null
t1_c2izh4u
t1_c2iz125
null
1427584740
1
t5_2fwo
null
null
null
True
Vaste
null
It is not terribly cryptic, as "parameter" and "add" are pretty basic vocabulary in Programming English, though more advanced than "if" or "else". And anyhow it's better than "+=."
null
0
1315711151
False
0
c2izibj
t3_k5d4v
null
t1_c2izibj
t1_c2hso9r
null
1427584756
1
t5_2fwo
null
null
null
True
keenerd
null
No, the goal of Dash is to be "as small as possible" and "POSIX compliant". http://gondor.apana.org.au/~herbert/dash/ Seriously Google, stop using names of programming languages that already exist. Though having a *nix shell embedded in every web browser would be pretty cool.
null
0
1315711222
False
0
c2izil3
t3_kawp5
null
t1_c2izil3
t3_kawp5
null
1427584759
11
t5_2fwo
null
null
null
True
grauenwolf
null
It's a fun research project and all, but I would never consider using anything that breaks the rules of .NET API design. Marking everything as virtual is just wrong.
null
0
1315711325
False
0
c2izixg
t3_kaj03
null
t1_c2izixg
t1_c2iyrwt
null
1427584763
1
t5_2fwo
null
null
null
True
TheCid
null
and then you have to do `foo++;` before you can `free(foo)`! ಠ_ಠ
null
0
1315711482
False
0
c2izjii
t3_kbdgw
null
t1_c2izjii
t1_c2ixbni
null
1427584771
4
t5_2fwo
null
null
null
True
tnecniv
null
Like Reddit then?
null
0
1315711496
False
0
c2izjko
t3_kajta
null
t1_c2izjko
t1_c2iyjhm
null
1427584772
2
t5_2fwo
null
null
null
True
seydar
null
statsphale
null
0
1315711857
False
0
c2izkwv
t3_kaxjq
null
t1_c2izkwv
t1_c2iv3ci
null
1427584791
2
t5_2fwo
null
null
null
True
calrogman
null
No, I'm saying that if you were North Korean you could decide to identify yourself as North Korean instead of just "Korean".
null
0
1315711917
False
0
c2izl4o
t3_kbdgw
null
t1_c2izl4o
t1_c2izfpq
null
1427584794
2
t5_2fwo
null
null
null
True
rawlyn
null
But you'd still be Korean, no matter how you cut it.
null
0
1315712037
False
0
c2izll6
t3_kbdgw
null
t1_c2izll6
t1_c2izl4o
null
1427584801
-1
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1315712182
False
0
c2izm4s
t3_kbdgw
null
t1_c2izm4s
t1_c2iyyls
null
1427584809
0
t5_2fwo
null
null
null
True
odinsbane
null
They are talking about lists not arrays.
null
0
1315712349
False
0
c2izmq3
t3_kbdgw
null
t1_c2izmq3
t3_kbdgw
null
1428194579
1
t5_2fwo
null
null
null
True
calrogman
null
You don't understand. Here, [read this](http://en.wikipedia.org/wiki/National_identity). Also relevant: [this](http://en.wikipedia.org/wiki/Scottish_national_identity#Independence_in_Europe).
null
0
1315712431
True
0
c2izn05
t3_kbdgw
null
t1_c2izn05
t1_c2izll6
null
1427584822
3
t5_2fwo
null
null
null
True
rawlyn
null
I can identify myself as a parrot all day long. Doesn't mean I'm a parrot.
null
0
1315712562
False
0
c2iznhe
t3_kbdgw
null
t1_c2iznhe
t1_c2izn05
null
1427584827
0
t5_2fwo
null
null
null
True
flynnski
null
**YOU** ARE IN COMMAND NOW, _ADMIRAL_ GRAMMAR CHECK.
null
0
1315712638
False
0
c2iznrh
t3_kbbbu
null
t1_c2iznrh
t1_c2iwk1e
null
1427584832
1
t5_2fwo
null
null
null
True
chemosabe
null
In my application, I use [Google's Guava library](http://code.google.com/p/guava-libraries/) to meet the same requirements. The [MapMaker](http://docs.guava-libraries.googlecode.com/git-history/v9.0/javadoc/com/google/common/collect/MapMaker.html) class is full of useful features and I don't have to worry about maintai...
null
0
1315712725
False
0
c2izo30
t3_kb35n
null
t1_c2izo30
t3_kb35n
null
1427584836
2
t5_2fwo
null
null
null
True
[deleted]
null
Like almost every online community. Puny humans are psychologically drawn toward resources that validate their beliefs. Very few realize that it's intellectual masturbation.
null
0
1315712822
False
0
c2izoek
t3_kajta
null
t1_c2izoek
t1_c2izjko
null
1427584840
2
t5_2fwo
null
null
null
True
a_redditor
null
Please do not post stupid memes to /r/programming.
null
0
1315712946
False
0
c2izowd
t3_kbq4q
null
t1_c2izowd
t3_kbq4q
null
1427584849
1
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1315712985
False
0
c2izp27
t3_kbgvc
null
t1_c2izp27
t3_kbgvc
null
1427584850
1
t5_2fwo
null
null
null
True
calrogman
null
When did I ever say I wasn't British? I said I don't *identify* as British. i.e. If somebody came up to me and asked what nationality I was I wouldn't say British. That's the extent of it.
null
0
1315713004
False
0
c2izp4j
t3_kbdgw
null
t1_c2izp4j
t1_c2iznhe
null
1427584852
2
t5_2fwo
null
null
null