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
krum
null
Honestly, that's about a hundred-fifty thousand lines of code, *at least*. You could do the same thing in C in a few lines of code too, when you have a library backing it.
null
0
1315693556
False
0
c2ixpjh
t3_ka5os
null
t1_c2ixpjh
t3_ka5os
null
1427583925
0
t5_2fwo
null
null
null
True
joeshlub
null
Oddly, a large portion of the native English speakers I've discussed that phrase with get it wrong (all intensive purposes), whereas most people I've met where English was a second or third language used it correctly. After discussing it, I use it correctly for a week and then slip back into the incorrect way.
null
0
1315693583
False
0
c2ixpmx
t3_kajta
null
t1_c2ixpmx
t1_c2ixjks
null
1427583920
1
t5_2fwo
null
null
null
True
davidbuxton
null
Downvote no deserve, thin people no notic erro in submissio titl. I wan to.
null
0
1315693592
False
0
c2ixpnu
t3_kb5hm
null
t1_c2ixpnu
t1_c2iuufu
null
1427583921
5
t5_2fwo
null
null
null
True
ivix
null
I'd take js over php anyday.
null
0
1315693696
False
0
c2ixq2e
t3_kajta
null
t1_c2ixq2e
t1_c2iwcif
null
1427583931
5
t5_2fwo
null
null
null
True
AlSweigart
null
Oh man. I completely forgot that Pyweek starts soon. Now I'm going to be chained to my email ready to push out bug fixes as they come up. :P And anyway, the module is really easy to use: import pygcurse win = pygcurse.PygcurseWindow(50, 25, 'Window caption text here') win.cursor = (10, 20) win.fgcolor...
null
0
1315693763
True
0
c2ixqby
t3_kbbbu
null
t1_c2ixqby
t1_c2ixnt8
null
1427583934
3
t5_2fwo
null
null
null
True
therapy
null
The leaked email says that only a **subset** of Dash will compile to JS.
null
0
1315693783
False
0
c2ixqen
t3_kawp5
null
t1_c2ixqen
t1_c2ixlbx
null
1427583928
2
t5_2fwo
null
null
null
True
cgibbard
null
Also more commonly known as the empty string.
null
0
1315693906
False
0
c2ixqvb
t3_kbgvc
null
t1_c2ixqvb
t1_c2ixn4h
null
1427583936
8
t5_2fwo
null
null
null
True
joe_n
null
Indices with a 4 in them must not be allowed. So 12 must be followed immediately by 15!
null
0
1315693914
False
0
c2ixqwg
t3_kbdgw
null
t1_c2ixqwg
t1_c2ixbyb
null
1427583936
14
t5_2fwo
null
null
null
True
bloodredsun
null
Except that you took a study around the creation of a small project (less than 12 hours) and extrapolated it to the entirety of development (your headline of "Static typing increases development time") so yes in that respect it is worthless to what we do day in and day out. It's an interesting study but its "in-vitro"...
null
0
1315693949
False
0
c2ixr1j
t3_k7o9e
null
t1_c2ixr1j
t1_c2id07y
null
1427583936
1
t5_2fwo
null
null
null
True
therapy
null
Other browsers will work with you if you work with them. But writing a complete language and throwing it out there is normally not a successful way to get them to cooperate. That has been the case so far with all of Google's extensions to the web: O3D, NaCl, Gears. The worst part is Google's plan to ship Google websit...
null
0
1315693952
False
0
c2ixr23
t3_kawp5
null
t1_c2ixr23
t1_c2ixeku
null
1427583939
2
t5_2fwo
null
null
null
True
azakai
null
The article says only part of Dash will be compilable to JavaScript. And that is before they actually wrote it - their estimates are likely optimistic, making things even worse.
null
0
1315694068
False
0
c2ixrih
t3_kawp5
null
t1_c2ixrih
t1_c2ixlbx
null
1427583944
6
t5_2fwo
null
null
null
True
[deleted]
null
This could potentially be great for terminal-based scoreboards and such! At least on my non-GPU Macbook, pygame's font rendering is slow as hell.
null
0
1315694088
False
0
c2ixrl0
t3_kbbbu
null
t1_c2ixrl0
t3_kbbbu
null
1427583944
2
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1315694122
False
0
c2ixrpb
t3_kbgvc
null
t1_c2ixrpb
t1_c2ixjgo
null
1427583947
1
t5_2fwo
null
null
null
True
[deleted]
null
Well, I don't know. I would think that if more people use OOP than functional languages, then an article dealing with "10 Technical Papers Every Programmer Should Read" should not be biased towards a programming paradigm that fewer people actually use every day. Short of that, it comes out as the author trying to push...
null
0
1315694303
False
0
c2ixse5
t3_kadw2
null
t1_c2ixse5
t1_c2iwo7q
null
1427583961
2
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1315694471
False
0
c2ixt2o
t3_kajta
null
t1_c2ixt2o
t1_c2ixpmx
null
1427583973
1
t5_2fwo
null
null
null
True
igouy
null
> Part of having an array is being able to quickly spot mistakes with trying to misuse the array. Nope - and if you "have an object in my code that I think is an array, and I accidentally assign a value to the "test" key of that object" then you'd be behaving in a weird and very pointless way :-) > I assume Lua...
null
0
1315694621
False
0
c2ixtn8
t3_k9ud6
null
t1_c2ixtn8
t1_c2iwnlf
null
1427583978
0
t5_2fwo
null
null
null
True
cgibbard
null
0^0 = 1 isn't really very questionable any more. Despite the fact that the power function is discontinuous at (0,0), there are a lot of good reasons that 0^0 should be 1 regardless. For natural numbers n and m, we can actually define n^m as the number of functions from a set of size m to a set of size n. This gives 0...
null
0
1315694661
True
0
c2ixts6
t3_kbgvc
null
t1_c2ixts6
t3_kbgvc
null
1427583985
51
t5_2fwo
null
null
null
True
gwern
null
Small evidence is still evidence. > It's an interesting study but its "in-vitro" nature makes it easy to dismiss. Anything is easy to dismiss when you want to dismiss it. Had this been a big industrial study with experienced developers, then that'd provide all sorts of convenient excuses no matter how the results ...
null
0
1315694696
False
0
c2ixtww
t3_k7o9e
null
t1_c2ixtww
t1_c2ixr1j
null
1427583981
2
t5_2fwo
null
null
null
True
yogthos
null
Well, if Google apps are as important as you believe they are, and if this will drive users to use Chrome, then the other browsers will have a lot of incentive to implement the language support.
null
0
1315694883
False
0
c2ixuml
t3_kawp5
null
t1_c2ixuml
t1_c2ixr23
null
1427583989
2
t5_2fwo
null
null
null
True
a_redditor
null
I'm pretty sure that most spell-check algorithms treat any two valid words separated with a hyphen as a legitimate-word.
null
0
1315694917
False
0
c2ixuqm
t3_kbbbu
null
t1_c2ixuqm
t1_c2iwntg
null
1427583996
4
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1315694929
False
0
c2ixus9
t3_kaoq6
null
t1_c2ixus9
t1_c2ivj6c
null
1427583990
0
t5_2fwo
null
null
null
True
ComputerDruid
null
Git hasn't required cygwin for a very long time
null
0
1315694949
False
0
c2ixuus
t3_k8vpn
null
t1_c2ixuus
t1_c2irc8o
null
1427583991
3
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1315694996
False
0
c2ixv1u
t3_kbgvc
null
t1_c2ixv1u
t3_kbgvc
null
1427583994
7
t5_2fwo
null
null
null
True
ComputerDruid
null
I for one am now tempted to write code to create a git reset --badass. Anyone have any good suggestions for what it should do?
null
0
1315695032
False
0
c2ixv6j
t3_k8vpn
null
t1_c2ixv6j
t1_c2ike43
null
1427584006
1
t5_2fwo
null
null
null
True
therapy
null
Indeed so, but do you think this is fair on Google's part?
null
0
1315695080
False
0
c2ixvcr
t3_kawp5
null
t1_c2ixvcr
t1_c2ixuml
null
1427583999
3
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1315695187
False
0
c2ixvqs
t3_kbbbu
null
t1_c2ixvqs
t3_kbbbu
null
1428194629
-1
t5_2fwo
null
null
null
True
selectiveShift
null
>WE need to do this to English one day. Then we could start deprecating words too!
null
0
1315695225
False
0
c2ixvw9
t3_kbbbu
null
t1_c2ixvw9
t1_c2ix3v1
null
1427584008
3
t5_2fwo
null
null
null
True
sec_goat
null
But the rules say release at least a month in advance! Well I still suck any way so it doesn't really matter, I'm not a real competitor. Just here to challenge myself to finishing.
null
0
1315695345
False
0
c2ixwb5
t3_kbbbu
null
t1_c2ixwb5
t1_c2ixnt8
null
1427584014
1
t5_2fwo
null
null
null
True
bloodredsun
null
> Small evidence is still evidence. 100% agree but it's size makes the title nothing more than flamebait and I think that most of the pushback is due to this. I completely agree with the findings - my experience is that small projects with zero refactoring will always be developed faster using dynamic languages. ...
null
0
1315695405
False
0
c2ixwk0
t3_k7o9e
null
t1_c2ixwk0
t1_c2ixtww
null
1427584016
1
t5_2fwo
null
null
null
True
selectiveShift
null
Only primes should be used for indices. So, we can't have 12 nor 15. Unfortunately, that means 13 is back in.
null
0
1315695420
False
0
c2ixwlt
t3_kbdgw
null
t1_c2ixwlt
t1_c2ixqwg
null
1427584026
14
t5_2fwo
null
null
null
True
parowe
null
Can anyone tell me what to do with the zip file after it is downloaded. I tried running the tuturial program and it said pygcurse can't be imported.
null
0
1315695486
False
0
c2ixwup
t3_kbbbu
null
t1_c2ixwup
t3_kbbbu
null
1427584021
1
t5_2fwo
null
null
null
True
selectiveShift
null
or the empty set
null
0
1315695626
False
0
c2ixxdr
t3_kbgvc
null
t1_c2ixxdr
t1_c2ixqvb
null
1427584027
8
t5_2fwo
null
null
null
True
Strings
null
Nice one dude <3
null
0
1315695794
False
0
c2ixy21
t3_kbbbu
null
t1_c2ixy21
t3_kbbbu
null
1427584041
-5
t5_2fwo
null
null
null
True
gwern
null
> 100% agree but it's size makes the title nothing more than flamebait and I think that most of the pushback is due to this. While you're being annoyingly sensible, I will admit I chose the title out of simultaneous equal desires to 1) convey the most important statistically significant result in a very concise, re...
null
0
1315695815
False
0
c2ixy4l
t3_k7o9e
null
t1_c2ixy4l
t1_c2ixwk0
null
1427584032
2
t5_2fwo
null
null
null
True
ManicQin
null
[Not Libre](http://i.imgur.com/lcAJv.png) Your move MS Office.
null
0
1315695837
False
0
c2ixy7i
t3_kbbbu
null
t1_c2ixy7i
t1_c2ixuqm
null
1427584033
0
t5_2fwo
null
null
null
True
Quxxy
null
From experience in using languages that do it both ways, 1-based arrays just seem to complicate things. Offset calculations and splitting a range are the two that come to mind immediately. Personally, I think this is a failing of our language more than anything: we're brought up thinking in 1-based, when 0-based is (...
null
0
1315695967
False
0
c2ixyqn
t3_kbdgw
null
t1_c2ixyqn
t1_c2ix5pf
null
1427584043
3
t5_2fwo
null
null
null
True
a_redditor
null
http://i.imgur.com/sdKM0.png
null
0
1315696014
False
0
c2ixyxg
t3_kbbbu
null
t1_c2ixyxg
t1_c2ixy7i
null
1427584055
3
t5_2fwo
null
null
null
True
gc3
null
You're exactly right, it's been a year or two since I used lua. The negative number indexing only applies to the stack.
null
0
1315696093
False
0
c2ixz8h
t3_kbdgw
null
t1_c2ixz8h
t1_c2ixobw
null
1427584049
4
t5_2fwo
null
null
null
True
cgibbard
null
I actually rather like the way that Haskell solves this problem in its array library: when you construct an array, you define its bounds explicitly, including the lower bound. If you want an array whose indices go from 1024 to 2047 because that makes sense in your program for whatever reason, you can have it. This als...
null
0
1315696142
False
0
c2ixzeh
t3_kbdgw
null
t1_c2ixzeh
t3_kbdgw
null
1427584051
15
t5_2fwo
null
null
null
True
njharman
null
Given the fact I'm reading this on reddit, and don't even know what mefi is your statement is obviously & factually wrong.
null
0
1315696184
False
0
c2ixzjo
t3_kajta
null
t1_c2ixzjo
t1_c2itbju
null
1427584057
1
t5_2fwo
null
null
null
True
yogthos
null
I'm not sure how it's unfair on their part, obviously they will spend their time on developing their technologies. It would be unfair if they prevented others from implementing it, by not releasing the spec, obfuscating it, or tying it to their platform, as MS likes to do with things like ActiveX. Fact is that Chrome ...
null
0
1315696233
False
0
c2ixzqn
t3_kawp5
null
t1_c2ixzqn
t1_c2ixvcr
null
1427584057
8
t5_2fwo
null
null
null
True
alexvasi
null
> This means that the use of the <= operator is eliminated when iterating 1-indexed arrays, and thus one of the biggest "one-indexed gripes" of all time is eliminated. That's not all about condition during iteration. [Here is](http://stackoverflow.com/questions/393462/defend-zero-based-arrays) more arguments in ...
null
0
1315696241
False
0
c2ixzrp
t3_kbdgw
null
t1_c2ixzrp
t1_c2ixoah
null
1427584058
5
t5_2fwo
null
null
null
True
nwhitehe
null
Unfortunately that is not guaranteed to work in C, after decrementing foo accesses through foo are implementation defined (just as dereferencing the NULL pointer is).
null
0
1315696244
False
0
c2ixzs9
t3_kbdgw
null
t1_c2ixzs9
t1_c2ixbni
null
1427584058
5
t5_2fwo
null
null
null
True
ManicQin
null
Apparently, you were wrong :)
null
0
1315696256
False
0
c2ixzu3
t3_kbbbu
null
t1_c2ixzu3
t1_c2ixyxg
null
1427584058
-2
t5_2fwo
null
null
null
True
henk53
null
Okay, the right tool for the right job. But if you're talking about programming languages, then a lot of them are basically suited for everything. Objective-C is not inherently more suited for mobile development than Java is for server side development. It just happens to be that a specific mobile platform that happ...
null
0
1315696281
False
0
c2ixzxp
t3_kaxjq
null
t1_c2ixzxp
t1_c2iwa00
null
1427584060
1
t5_2fwo
null
null
null
True
njharman
null
http://javascript.crockford.com/
null
0
1315696319
False
0
c2iy02r
t3_kajta
null
t1_c2iy02r
t1_c2ivmgu
null
1427584060
2
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1315696320
False
0
c2iy02z
t3_kbdgw
null
t1_c2iy02z
t1_c2ix1z3
null
1427584060
2
t5_2fwo
null
null
null
True
grauenwolf
null
Hell, why not embed the CLR into the browser and let people use whatever damn language they want?
null
0
1315696352
False
0
c2iy080
t3_kawp5
null
t1_c2iy080
t1_c2ivof7
null
1427584063
9
t5_2fwo
null
null
null
True
[deleted]
null
It actually heads off and hits the DB via the magic of Hibernate criteria, but interesting concept nonetheless. (The data returned is various useful statistics for the account's websites for the given date range)
null
0
1315696370
True
0
c2iy0ad
t3_k7pwu
null
t1_c2iy0ad
t1_c2iuz0t
null
1427584063
1
t5_2fwo
null
null
null
True
midir
null
>I think it is a very sound and logical one from this perception alone. I understand where you're coming from, and I used to think so too, but once one gets used to zero being the index of the first element, it feels just as "sound and logical" >So what are the real reasons that it is not done in ANY programmin...
null
0
1315696600
False
0
c2iy15j
t3_kbdgw
null
t1_c2iy15j
t1_c2ix5pf
null
1427584082
1
t5_2fwo
null
null
null
True
AeroNotix
null
But we should make it only on Sundays, and especially not on Fridays.
null
0
1315696618
False
0
c2iy185
t3_kbdgw
null
t1_c2iy185
t1_c2ixwlt
null
1427584082
2
t5_2fwo
null
null
null
True
notfancy
null
You mean the joke is that GvR had the gall to compare himself to EWD, right?
null
0
1315696781
False
0
c2iy1tu
t3_kbdgw
null
t1_c2iy1tu
t1_c2iwq8w
null
1427584081
11
t5_2fwo
null
null
null
True
ethraax
null
> Nope - and if you "have an object in my code that I think is an array, and I accidentally assign a value to the "test" key of that object" then you'd be behaving in a weird and very pointless way :-) I assume you never use your Backspace key, because you never make a mistake. Also, let me point you at the offici...
null
0
1315696824
False
0
c2iy204
t3_k9ud6
null
t1_c2iy204
t1_c2ixtn8
null
1427584087
-2
t5_2fwo
null
null
null
True
anacrolix
null
+1 for you my man. I stand corrected.
null
0
1315696869
False
0
c2iy265
t3_kadw2
null
t1_c2iy265
t1_c2iv8l1
null
1427584091
1
t5_2fwo
null
null
null
True
njharman
null
The cool parts are the huge amount of shipped functionality inherent in Javascript's runtime (aka browsers) and presentation layer (css/html) and the mindboggling large user base that can run javascript. Every desktop/laptop computer, most recent smartphones, most recent tablets. And yes you could theoretically have ...
null
0
1315697092
False
0
c2iy2yb
t3_kajta
null
t1_c2iy2yb
t1_c2irn37
null
1427584112
2
t5_2fwo
null
null
null
True
gmartres
null
If your system state can be represented with one bit, it has two states, (for example, the system is a lamp torch and the bit controls whether it is on or off), if your system state can be represented with zero bit, it has only one state(it's immutable), what this state is depends on what your system is.
null
0
1315697117
False
0
c2iy31k
t3_kbgvc
null
t1_c2iy31k
t1_c2ixjgo
null
1427584104
13
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1315697412
1416184531
0
c2iy45g
t3_kbgvc
null
t1_c2iy45g
t3_kbgvc
null
1427584117
5
t5_2fwo
null
null
null
True
therapy
null
Google does free its (client-side) technologies, but only once Google thinks they are finished. This lets Google leverage its position on the web to dictate things: Chrome will always be ahead since Google secretly develops special features for it, that work on google.com,gmail, etc., but later on the code is dumped an...
null
0
1315697535
False
0
c2iy4lq
t3_kawp5
null
t1_c2iy4lq
t1_c2ixzqn
null
1427584121
9
t5_2fwo
null
null
null
True
sakabako
null
But the first month of the year is 1. The first day of the month is 1. The first TV station is 1. The first value meal is #1.
null
0
1315697557
False
0
c2iy4oa
t3_kbdgw
null
t1_c2iy4oa
t1_c2ixbf5
null
1427584122
5
t5_2fwo
null
null
null
True
ysangkok
null
GPL v1? I thought nobody used that anymore.
null
0
1315697909
False
0
c2iy5xy
t3_kaxjq
null
t1_c2iy5xy
t1_c2iujk0
null
1427584138
1
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1315698290
False
0
c2iy7ax
t3_kbdgw
null
t1_c2iy7ax
t1_c2ixj0f
null
1427584161
-2
t5_2fwo
null
null
null
True
jyper
null
not in an OO langauage, although we could wish for a nice lambda syntax.
null
0
1315698312
False
0
c2iy7dw
t3_kawp5
null
t1_c2iy7dw
t1_c2iwupl
null
1427584154
0
t5_2fwo
null
null
null
True
gospelwut
null
I think it's made a certain sub-sect of people that would normally be nearly flawless spellers lazy. If used properly, it probably helps most people (or at least covers up their mistakes to a certain degree). If you would like, I can go dig up the jobs@ mailbox from work to show how horrific it can get. I imagine a spe...
null
0
1315698620
False
0
c2iy8jf
t3_kbbbu
null
t1_c2iy8jf
t1_c2iwkqp
null
1427584164
2
t5_2fwo
null
null
null
True
AlyoshaV
null
*G*erund.
null
0
1315698697
False
0
c2iy8tn
t3_kbdgw
null
t1_c2iy8tn
t1_c2ixdg4
null
1427584167
-1
t5_2fwo
null
null
null
True
juancn
null
I tried it, but it's slower. The fast version is so fast that the overhead of the parallel collections slows it down. I'll give it a go with a larger problem and post the update if I can.
null
0
1315698779
False
0
c2iy956
t3_k81ic
null
t1_c2iy956
t1_c2ingvg
null
1427584178
1
t5_2fwo
null
null
null
True
AlyoshaV
null
Sure if you completely ignore [all the reasons behind it](http://www.python.org/dev/peps/pep-3105/)
null
0
1315698784
False
0
c2iy95t
t3_kbdgw
null
t1_c2iy95t
t1_c2ixmv5
null
1427584178
23
t5_2fwo
null
null
null
True
gospelwut
null
Nothing i have read in this thread (or generally in /r/programming) comes to close to the median of typing capability I have seen. I'm recently reminded of this with our drive to hire new people. Every email I read slowly chips away at my deep sympathy for those without jobs.
null
0
1315698812
False
0
c2iy9ai
t3_kbbbu
null
t1_c2iy9ai
t1_c2iwlpb
null
1427584171
1
t5_2fwo
null
null
null
True
[deleted]
null
Downvote for completely derailing the discussion.
null
0
1315698878
False
0
c2iy9ij
t3_kbbbu
null
t1_c2iy9ij
t1_c2iwg30
null
1428194619
0
t5_2fwo
null
null
null
True
singron
null
Someday maybe that will change...
null
0
1315698937
False
0
c2iy9qe
t3_kbdgw
null
t1_c2iy9qe
t1_c2iy4oa
null
1427584178
3
t5_2fwo
null
null
null
True
CrosseyeJack
null
<sarcasm>But my TV has a Channel 0, its where my VCR is tuned to.</sarcasm>
null
0
1315698975
False
0
c2iy9vd
t3_kbdgw
null
t1_c2iy9vd
t1_c2iy4oa
null
1427584180
3
t5_2fwo
null
null
null
True
njharman
null
> might be useful to me Unless you work at google, facebook, ebay, amazon, NSA or some other user epically large / loaded caches, it's not (beyond education value).
null
0
1315699013
False
0
c2iya0g
t3_kb35n
null
t1_c2iya0g
t1_c2iwcw5
null
1427584181
2
t5_2fwo
null
null
null
True
tricolon
null
Whenever I return to MATLAB I spend a few hours wondering if I'm stupid.
null
0
1315699192
False
0
c2iyamw
t3_kbdgw
null
t1_c2iyamw
t1_c2ixnbu
null
1427584188
36
t5_2fwo
null
null
null
True
bready
null
I loathe the GPL. I do not know why so many still push for it. Apache is 'more free' and gives me peace of mind.
null
0
1315699556
False
0
c2iybzv
t3_kbbbu
null
t1_c2iybzv
t1_c2ix633
null
1427584206
-12
t5_2fwo
null
null
null
True
evilgwyn
null
Visual Basic has 1 based arrays. The kicker is that if you create an array of size 1, then you can set/get the items at index 0 and 1. So: Dim a(1) for each i in a print i ' prints twice next
null
0
1315699608
False
0
c2iyc6y
t3_kbdgw
null
t1_c2iyc6y
t3_kbdgw
null
1428194616
3
t5_2fwo
null
null
null
True
maskull
null
Not only has Mozilla had those for years, but when Chrome/V8 came out, Google explicitly said that they would *not* be adding support for them.
null
0
1315699742
False
0
c2iycos
t3_kawp5
null
t1_c2iycos
t1_c2iwupl
null
1427584216
2
t5_2fwo
null
null
null
True
[deleted]
null
Moving data from memory to CPU cache/registers still takes some time, although this depends heavily on the data structures used and access patterns. Also CPU caches are still only few megabytes, so if you can fit more often used data into it with 32-bit pointers, you'll win.
null
0
1315699768
False
0
c2iyct1
t3_k5z3o
null
t1_c2iyct1
t1_c2ix8ni
null
1427584219
1
t5_2fwo
null
null
null
True
Peaker
null
How would you write this kind of Python in D? from struct import Struct def decode(buf): while buf: s = Struct(buf[0]) val, = s.unpack(buf[1 : 1 + s.size]) yield val buf = buf[1 + s.size:] Or this: def powerset(items): if not items: ...
null
0
1315699793
False
0
c2iycwb
t3_kaxjq
null
t1_c2iycwb
t1_c2iv619
null
1427584218
1
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1315699862
False
0
c2iyd5j
t3_kajta
null
t1_c2iyd5j
t1_c2ixzjo
null
1427584221
0
t5_2fwo
null
null
null
True
Peaker
null
In my company, Python is used for everything that isn't performance critical. While that is definitely nice compared to, say, Java, I would really like them to use Haskell for these tasks. As it is another step in the same betterment direction.
null
0
1315699938
False
0
c2iydfq
t3_kaxjq
null
t1_c2iydfq
t1_c2iwa00
null
1427584223
1
t5_2fwo
null
null
null
True
SiegeX
null
Actually, it's even worse as it's **Undefined Behavior**. You're only allowed to point to one past the *end* of the array. > C99 . 6.5.6/8 - If both the pointer operand and the result point to elements of the same array object, or one past the last element of the array object, the evaluation shall not produce an...
null
0
1315700377
True
0
c2iyeye
t3_kbdgw
null
t1_c2iyeye
t1_c2ixzs9
null
1427584254
17
t5_2fwo
null
null
null
True
a_redditor
null
What do you mean? Did you maybe read my original comment incorrectly?
null
0
1315700528
False
0
c2iyfi5
t3_kbbbu
null
t1_c2iyfi5
t1_c2ixzu3
null
1427584260
5
t5_2fwo
null
null
null
True
yogthos
null
>Google does free its (client-side) technologies, but only once Google thinks they are finished. This lets Google leverage its position on the web to dictate things: Chrome will always be ahead since Google secretly develops special features for it, that work on google.com,gmail, etc., but later on the code is dumpe...
null
0
1315700531
False
0
c2iyfih
t3_kawp5
null
t1_c2iyfih
t1_c2iy4lq
null
1427584260
2
t5_2fwo
null
null
null
True
cark
null
That's not pattern matching, it's destructuring.
null
0
1315700757
False
0
c2iygcs
t3_kawp5
null
t1_c2iygcs
t1_c2iwupl
null
1427584272
2
t5_2fwo
null
null
null
True
distantstar
null
And that's why 10[x] works!
null
0
1315700780
False
0
c2iygg9
t3_kbdgw
null
t1_c2iygg9
t1_c2ix80n
null
1427584272
8
t5_2fwo
null
null
null
True
ReinH
null
LMAO
null
0
1315700948
False
0
c2iyh2u
t3_kaoq6
null
t1_c2iyh2u
t1_c2ixus9
null
1427584278
1
t5_2fwo
null
null
null
True
SteveMcQwark
null
I don't think he'd want to program in MooSlimScript, or GeesuScript either...
null
0
1315700986
False
0
c2iyh7u
t3_kawp5
null
t1_c2iyh7u
t1_c2ivtoy
null
1427584279
8
t5_2fwo
null
null
null
True
MarshallBanana
null
> Don't implement it in Chrome and on Google websites before even telling the world about it. You won't have much of a chance to convince the standards bodies that way - which implies you don't care about standardization. This is nonsense. That is exactly how HTML is developed at the moment!
null
0
1315701117
False
0
c2iyhq9
t3_kawp5
null
t1_c2iyhq9
t1_c2iwg32
null
1427584293
22
t5_2fwo
null
null
null
True
[deleted]
null
I don't debate that JavaScript has a cache of libraries large enough to rival that of the JVM. I was responding to the OP's assertion that JavaScript is "kinda cool". Even barring the enormous clusterfuck that is the HTML DOM, JavaScript is far from cool. Object traversal was hobbled from the get-go, it's way too easy ...
null
0
1315701353
False
0
c2iyild
t3_kajta
null
t1_c2iyild
t1_c2iy2yb
null
1427584294
2
t5_2fwo
null
null
null
True
[deleted]
null
> Where the hell is the 'r' in colonel? I think only Americans pronounce it like that?
null
0
1315701485
False
0
c2iyj39
t3_kbbbu
null
t1_c2iyj39
t1_c2ix3v1
null
1427584298
2
t5_2fwo
null
null
null
True
[deleted]
null
That's not surprising, but it's important information about the costs of parallelism.
null
0
1315701494
False
0
c2iyj4r
t3_k81ic
null
t1_c2iyj4r
t1_c2iy956
null
1427584298
1
t5_2fwo
null
null
null
True
[deleted]
null
> I go to Metafilter for the comments, which thanks to the $5 entry fee are pretty good signal/noise-wise, and almost uniformly free of bigotry. Eloquence is unrelated to truth. MeFi comments are linguistically well composed, but the website's echo chamber is comical in its absurdity.
null
0
1315701593
False
0
c2iyjhm
t3_kajta
null
t1_c2iyjhm
t1_c2iupkp
null
1427584301
0
t5_2fwo
null
null
null
True
strattonbrazil
null
Sorry, I should have listed the benefits and cons on the page. Pros: several factors faster than gl_lines, antialiased except at silhouettes, no polygon offsets or slope calcs. The paper I link to on the first page goes more into depth. It's a really easy read and only a half a page of text. If you're into gpu rende...
null
0
1315701810
False
0
c2iyk8z
t3_kb6uu
null
t1_c2iyk8z
t1_c2iwjt1
null
1427584315
4
t5_2fwo
null
null
null
True
bucknuggets
null
> Because of its abysmal performance and lack of rigid constructs, I guess Python should only be used for scripting. You seem to be attacking Java for the fact that it's used for many projects, but you advocate that's it's okay to use Python for nearly everything? In data warehousing you often end up with 20+ ext...
null
0
1315701951
False
0
c2iyksb
t3_kaxjq
null
t1_c2iyksb
t1_c2ixzxp
null
1428194606
2
t5_2fwo
null
null
null
True
[deleted]
null
Or when the array address doesn't change inside the loop... Or if the compiler is any good at optimizations. I mean, Fortran used 1-based indices last time I looked, and it's not exactly known as being sluggish.
null
0
1315702012
False
0
c2iykzs
t3_kbdgw
null
t1_c2iykzs
t1_c2ixmk9
null
1427584324
15
t5_2fwo
null
null
null
True
Taladar
null
Calculating array indexes is not math? You still have to name a single advantage of 1-indexed arrays other than "those poor people in everyday life won't understand it" which could be used to screw up pretty much any language completely for those people who actually have to use them.
null
0
1315702118
False
0
c2iylcv
t3_kbdgw
null
t1_c2iylcv
t1_c2iy7ax
null
1427584328
3
t5_2fwo
null
null
null
True
crusoe
null
THANK GOD
null
0
1315702145
False
0
c2iylfw
t3_kawp5
null
t1_c2iylfw
t3_kawp5
null
1427584330
1
t5_2fwo
null
null
null
True
strattonbrazil
null
Yeah, paper uses geometry shader, example code uses vertex shader. The difference is you have to send an extra attribute on each vertex about its two neighbors to calculate the altitude. You also need to pass the corner id (1,2 or 3) of each vertex to know which channel to put the distance going to the fragment shade...
null
0
1315702270
False
0
c2iylwf
t3_kb6uu
null
t1_c2iylwf
t1_c2iwhaz
null
1427584342
3
t5_2fwo
null
null
null
True
Taladar
null
If there is no traditional for loop the logical conclusion would be that indexes aren't necessary at all, nor is random access in general, in fact for that kind of use case (in-order iteration) a linked list would be much more suitable and is in fact used in all languages that actually do completely eliminate for loops...
null
0
1315702337
False
0
c2iym5l
t3_kbdgw
null
t1_c2iym5l
t1_c2ixoah
null
1427584341
2
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1315702491
False
0
c2iympw
t3_ka5os
null
t1_c2iympw
t3_ka5os
null
1427584348
-1
t5_2fwo
null
null
null
True
scook0
null
The code execution is implicit at the point that it runs, but it's fairly explicit at the point that it scheduled, which is in the same scope. It's not as bad as you make it sound. If I were designing a language with this capability I would give the scheduling part a distinctive syntax, to make it clear that block-exi...
null
0
1315702583
False
0
c2iyn2s
t3_k8gr4
null
t1_c2iyn2s
t1_c2ixa03
null
1427584352
4
t5_2fwo
null
null
null