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
ckwop
null
> I'll choose to remain optimistic about it! Being the eternal pessimist, somebody will prove P=NP but it will be non-constructive. Or perhaps worse, P=NP but the polynomial is on the order n^[A](http://en.wikipedia.org/wiki/Ackermann_function)(A(4,2),A(4,2)). I'm a firm believer Mathematics would troll us that hard.
null
0
1316119455
False
0
c2k5cqo
t3_kgfhb
null
t1_c2k5cqo
t1_c2k2lmr
null
1427604941
19
t5_2fwo
null
null
null
True
rsmoling
null
> For one thing, practically all encryption would be broken Well, it would mean practically all encryption can *in principle* be broken. A non-constructive proof of P = NP would hardly provide the recipe for generating P algorithms for all the relevant problems...
null
0
1316119467
False
0
c2k5csp
t3_kgfhb
null
t1_c2k5csp
t1_c2k2yk3
null
1427604944
7
t5_2fwo
null
null
null
True
ErstwhileRockstar
null
I wonder why people put so much effort into creating a programming language.
null
0
1316119503
False
0
c2k5czm
t3_kfvm7
null
t1_c2k5czm
t1_c2jzy1n
null
1427604945
1
t5_2fwo
null
null
null
True
inmatarian
null
You'd be surprised how slow C++ code can get.
null
0
1316119514
False
0
c2k5d1k
t3_kgq62
null
t1_c2k5d1k
t1_c2k50qu
null
1427604946
12
t5_2fwo
null
null
null
True
isarl
null
Unless you can meet up in person and hand off the key that way. Then you have only to worry about real-life eavesdropping methods, instead of electronic ones!
null
0
1316119532
False
0
c2k5d4m
t3_kgfhb
null
t1_c2k5d4m
t1_c2k57v0
null
1427604947
9
t5_2fwo
null
null
null
True
unquietwiki
null
This is a semi-repost: the last attempt to post this got more comments about the bad title than the actual language.
null
0
1316119537
False
0
c2k5d5q
t3_kgwgt
null
t1_c2k5d5q
t3_kgwgt
null
1427604947
1
t5_2fwo
null
null
null
True
cdsmith
null
Doing maths with Coq or Agda or similar systems is actually very, very much like programming. These are systems that can be equally validly viewed as either computer proof checkers/assistants, or as programming languages. Obviously more traditional mathematics and programming vary in that they either sacrifice the correctness of the mathematics (traditional programming languages), or the computational checks (traditional mathematics). This is, of course, far removed from anything we ought to be teaching to kids. I don't think children's rhymes about the Curry-Howard isomorphism will catch on any time soon!
null
0
1316119624
False
0
c2k5dla
t3_kgbzq
null
t1_c2k5dla
t1_c2k48t8
null
1427604952
2
t5_2fwo
null
null
null
True
mslaybau
null
It seems these rules would make software prohibitively expensive. Look at the cost of medical care and how much of those costs are to pay for liability insurance.
null
0
1316119640
False
0
c2k5do3
t3_kb1ya
null
t1_c2k5do3
t3_kb1ya
null
1427604953
1
t5_2fwo
null
null
null
True
Tristanus
null
If you're running windows you can download the JDK and use the java.exe from that with the '-server' option to use further optimizations. If you're in linux you should use sun/oracles jvm with the '-server' option as it's quite a bit faster than the OpenJDK that seems to be default on a lot of linux distros now. Further info on differences between -client and -server options : [http://stackoverflow.com/questions/198577/real-differences-between-java-server-and-java-client](http://stackoverflow.com/questions/198577/real-differences-between-java-server-and-java-client)
null
0
1316119647
True
0
c2k5doc
t3_kgq62
null
t1_c2k5doc
t3_kgq62
null
1427604953
9
t5_2fwo
null
null
null
True
aurath
null
Was just battling some lag issues after 1.8 came out. Found out that setting the javaw.exe process affinity to a single core helps greatly. Seems that minecraft doesn't play nice on multiple cores.
null
0
1316119673
False
0
c2k5dud
t3_kgq62
null
t1_c2k5dud
t3_kgq62
null
1427604965
2
t5_2fwo
null
null
null
True
ThatsALogicalFallacy
null
Because this article doesn't restrict the claim to tablets.
null
0
1316119674
False
0
c2k5dus
t3_kgb4h
null
t1_c2k5dus
t1_c2k3jzv
null
1427604965
1
t5_2fwo
null
null
null
True
[deleted]
null
I wondered how much would it take for a flamewar to start over emacs and vim.
null
0
1316119689
False
0
c2k5dxn
t3_kgln6
null
t1_c2k5dxn
t1_c2k4qu4
null
1427604956
5
t5_2fwo
null
null
null
True
ErstwhileRockstar
null
C++ ... since 1990 ... weakly-typed??
null
0
1316119693
False
0
c2k5dyc
t3_kfvm7
null
t1_c2k5dyc
t1_c2k3uii
null
1427604957
1
t5_2fwo
null
null
null
True
vincentrevelations
null
Yup. The quantum computer will most likely be a separate unit. Like a GPU. The CPU performs normal tasks and commands the QPU to do the hard stuff. If possible, the CPU can verify the result in O(n²) or less. Else the QPU solves the problem multiple times and a stochastic model is used.
null
0
1316119696
False
0
c2k5dyz
t3_kgfhb
null
t1_c2k5dyz
t1_c2k4dav
null
1427604957
1
t5_2fwo
null
null
null
True
ahugenerd
null
You certainly can make it O(nlogn) in the worst case, but you're sacrificing a lot in terms of the average efficiency of the algorithm. Regardless, I was trying to highlight the difference in thinking between comparison and non-comparison ways of sorting, with the later being better in most (if not all) cases. The only way a modified quicksort would do better than a standard radix sort would be if you had a short list (<1000 values) of large (10 digit) numbers to sort. For larger lists, it makes a lot more sense to go with some kind of bucket sorting approach. If you've got a million integers to sort, for instance, the speedup is about 50%, and that's assuming they're all 10 digit integers. The point I'm making is that it's still the exact same problem, but approaching it differently can yield some very interesting results. I think the trying to solve NP problems is similar: we haven't exhausted all ideas and approaches just yet, so we can't really say one way or another.
null
0
1316119761
False
0
c2k5ecb
t3_kgfhb
null
t1_c2k5ecb
t1_c2k58wd
null
1427604962
1
t5_2fwo
null
null
null
True
rib-bit
null
I wish you were a chick and this was on your breast...
null
0
1316119877
False
0
c2k5exz
t3_kgfhb
null
t1_c2k5exz
t1_c2k2zsa
null
1427604972
0
t5_2fwo
null
null
null
True
[deleted]
null
But what's up with all that impurity? Everything is less readable until you learn it.
null
0
1316119881
False
0
c2k5eys
t3_kgt9u
null
t1_c2k5eys
t1_c2k4ul9
null
1427604973
1
t5_2fwo
null
null
null
True
[deleted]
null
Bad title again. Just kidding.
null
0
1316119917
False
0
c2k5f4q
t3_kgwgt
null
t1_c2k5f4q
t1_c2k5d5q
null
1427604979
2
t5_2fwo
null
null
null
True
a_redditor
null
Please don't post stupid memes to /r/programming.
null
0
1316119961
False
0
c2k5fcy
t3_kgusw
null
t1_c2k5fcy
t3_kgusw
null
1427604978
1
t5_2fwo
null
null
null
True
grauenwolf
null
I am actually looking for more reporters right now. If that is something you might be interested in write to me at this address: jonathan@infoq.com
null
0
1316119969
False
0
c2k5fec
t3_kgb4h
null
t1_c2k5fec
t1_c2k4vho
null
1427604978
5
t5_2fwo
null
null
null
True
masklinn
null
Depends which tools you're using (or which ones the language makes available). If you're using Haskell and working in the `Maybe` monad (or lifting your functions into it), you don't need to explicitly handle the `Nothing` case if you don't care for it, it will simply propagate through the monadic code. Even if you're not using Haskell, other languages with option types provide more specialized operations for implicitly handling nones e.g. `map`.
null
0
1316119987
False
0
c2k5fhe
t3_kfvm7
null
t1_c2k5fhe
t1_c2k38wl
null
1427604979
2
t5_2fwo
null
null
null
True
[deleted]
null
I tried this out and immediately got a response saying I've hit my usage limit. I highly doubt anyone else at work was trying this as well. Anyone have this problem?
null
0
1316119993
False
0
c2k5fii
t3_kgsnl
null
t1_c2k5fii
t3_kgsnl
null
1427604979
1
t5_2fwo
null
null
null
True
[deleted]
null
I wish this sentiment was wider amoung /r/programming. How often do I have to hear that "(language/tool/whatever) sucks and people who use it are terrible programmers, and my programming penis is huge, because I use (other language/tool/whatever)"
null
0
1316119995
False
0
c2k5fis
t3_kgln6
null
t1_c2k5fis
t1_c2k3rjk
null
1427604979
4
t5_2fwo
null
null
null
True
grauenwolf
null
Thanks.
null
0
1316120072
False
0
c2k5fwj
t3_kfuii
null
t1_c2k5fwj
t1_c2k24ti
null
1427604983
1
t5_2fwo
null
null
null
True
jlovins
null
MSDNAA?? Anyone Know?
null
0
1316120073
False
0
c2k5fwn
t3_kg44k
null
t1_c2k5fwn
t3_kg44k
null
1427604983
1
t5_2fwo
null
null
null
True
Alucard_draculA
null
Proving that it's impossible to solve quickly is near impossible. (sort of)
null
0
1316120095
False
0
c2k5g02
t3_kgfhb
null
t1_c2k5g02
t1_c2k56te
null
1427604983
1
t5_2fwo
null
null
null
True
unquietwiki
null
Hehe
null
0
1316120109
False
0
c2k5g29
t3_kgwgt
null
t1_c2k5g29
t1_c2k5f4q
null
1427604984
1
t5_2fwo
null
null
null
True
baudehlo
null
I do just fine for myself thanks. You on the other hand, are using a personal attack.
null
0
1316120153
False
0
c2k5gb2
t3_kgb4h
null
t1_c2k5gb2
t1_c2k2im1
null
1427604987
1
t5_2fwo
null
null
null
True
[deleted]
null
But that's not the same as a bootable DVD ISO?
null
0
1316120181
False
0
c2k5gh7
t3_kejwo
null
t1_c2k5gh7
t1_c2k4yjj
null
1427604989
1
t5_2fwo
null
null
null
True
nthitz
null
READ ONLY... *Yawn*
null
0
1316120255
False
0
c2k5gui
t3_kgs7h
null
t1_c2k5gui
t3_kgs7h
null
1427604995
1
t5_2fwo
null
null
null
True
Saivo
null
Oh trust me, I've seen quite a lot of quite terrible C++ code during my life. ;-) The good thing is that slow C++ code can be refactored to make it run like greased lightning, whereas Java will still stay slow and butt-ugly.
null
0
1316120266
False
0
c2k5gwj
t3_kgq62
null
t1_c2k5gwj
t1_c2k5d1k
null
1427604996
2
t5_2fwo
null
null
null
True
vincentrevelations
null
The terms NP, P, NPC and such only apply to simple CPU's. When your algorithm is threaded, or performed on a vector/matrix processor (in PC's this is integrated in the GPU) a complexity analysis isn't worth much anymore, because it depends too much on the hardware and OS and stuff. Same goes for QC. EDIT: I'm getting downvoted a lot here, but nobody proves me wrong. I did some research and didn't find anything useful. There are some papers on the analysis of multithreaded algorithms, but they seem to assume way to much hardware specifications (e.g. nr of threads == nr of cores) to be actual analyses of the theoretical algorithm. If I'm wrong I'd like to know that! And more importantly, why!
null
0
1316120279
True
0
c2k5gyc
t3_kgfhb
null
t1_c2k5gyc
t1_c2k3ty9
null
1427604996
-2
t5_2fwo
null
null
null
True
wshs
null
It's not that java sucks. Rather, like PHP, it makes it easy for a shitty developer to release software. The lucene indexing software can be left running for years on end, storing tens of billions of records, with little problem regarding resource usage. Minecraft, on the other hand, won't last a week, even on a 4x quad core machine with 64 gigs of ram dedicated entirely to a 6 person server.
null
0
1316120290
False
0
c2k5h0a
t3_kgq62
null
t1_c2k5h0a
t1_c2k50qu
null
1427605004
13
t5_2fwo
null
null
null
True
alexs
null
Intranet application works in Firefox X, but doesn't in Firefox Y. is entirely possible for any X and any Y though. Even minor version changes.
null
0
1316120296
False
0
c2k5h1i
t3_kghid
null
t1_c2k5h1i
t1_c2k5agb
null
1427604998
0
t5_2fwo
null
null
null
True
anish714
null
Slow it down at least. Several reasons 1) So devs waste less time learning the newly reinvented wheel instead of mastering existing tools to solve problems 2) So there is a more uniform pool of devs and apps instead of devs and apps specialized in different versions of the some tool that essentially does the same thing. I remember working at a place where they had the same web services in .net 1.1 and 2.0 and 4.0 because some clients upgraded and some clients did not. 3) Too much features to the core product will lead to bloat. Instead they should let the community take a more role in extending eg MVC. Too much bloat will cause old functionality to be deprecated. HTML 1.0 can still be rendered by the modern browser. Original C can be compiled by almost every compiler. Can one say that for .Net 1.1?
null
0
1316120319
False
0
c2k5h66
t3_kfuii
null
t1_c2k5h66
t1_c2jzttb
null
1427604999
-1
t5_2fwo
null
null
null
True
Alucard_draculA
null
Downvotes eh? That doesn't even make sense. I'll just edit everything out. Have fun with that.
null
0
1316120320
True
0
c2k5h6e
t3_kgfhb
null
t1_c2k5h6e
t1_c2k4uci
null
1427604999
-6
t5_2fwo
null
null
null
True
neuter
null
Thank the stars this isn't /. or else you'd have just started a holy war.
null
0
1316120332
False
0
c2k5h8y
t3_kgq62
null
t1_c2k5h8y
t1_c2k5d1k
null
1427605000
7
t5_2fwo
null
null
null
True
frezik
null
Eh. Icaza can be a Microsoft fanboy sometimes, but he's a useful contrast to all the anti-Microsoft fanboys that are around FOSS. You don't have to agree with him, but it's nice to at least understand his position.
null
0
1316120393
False
0
c2k5hix
t3_kgl4f
null
t1_c2k5hix
t1_c2k4y6w
null
1427605012
15
t5_2fwo
null
null
null
True
alexs
null
So if *all* new versions release change functionality what's wrong with the only major version releases? Are you complaining about the numbering or are you complaining about the release early, release often short development cycles?
null
0
1316120395
False
0
c2k5hju
t3_kghid
null
t1_c2k5hju
t1_c2k4ctp
null
1427605012
3
t5_2fwo
null
null
null
True
jakkarth
null
> Some seem to think this reddit is for "links that programmers might find interesting or funny". No. It's for programming links. Programming. *Programming.* **Programming.**
null
0
1316120408
False
0
c2k5hnc
t3_kgwl8
null
t1_c2k5hnc
t3_kgwl8
null
1428193981
1
t5_2fwo
null
null
null
True
Jookia
null
Ah. So it's some CLR stuff?
null
0
1316120455
False
0
c2k5hvy
t3_kgl4f
null
t1_c2k5hvy
t1_c2k5c5q
null
1428193979
2
t5_2fwo
null
null
null
True
sbrown123
null
Read the article. The problem isn't really Java related, but rather too much in the game loop.
null
0
1316120497
False
0
c2k5i3b
t3_kgq62
null
t1_c2k5i3b
t1_c2k5doc
null
1427605016
-8
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1316120577
False
0
c2k5ihf
t3_kgq62
null
t1_c2k5ihf
t1_c2k58q7
null
1427605021
1
t5_2fwo
null
null
null
True
p337
null
Hey, thanks for taking the time to clear that up. Though I have studied the problem a bit in school, it is still difficult to wrap my head around these concepts.
null
0
1316120580
False
0
c2k5ihz
t3_kgfhb
null
t1_c2k5ihz
t1_c2k5cmt
null
1427605021
1
t5_2fwo
null
null
null
True
doomchild
null
A lot of this looks like it borrows heavily from C++/CLI, which I've really liked using in the past. Generally speaking, I despise straight C++ code, but this stuff looks pretty handy to me.
null
0
1316120640
False
0
c2k5isn
t3_kgs75
null
t1_c2k5isn
t3_kgs75
null
1428193979
2
t5_2fwo
null
null
null
True
pozorvlak
null
Come to Europe, we have working public services here. Well, currently: the UK at least has a neoliberal government that's determined to trash the achievements of the post-war generation. But anyway, read up on the Finnish system to see how good public schooling can be if treated with proper seriousness. Yes, we have higher taxes in Europe (though we pay much *much* less for healthcare). We also have much better public services. Most of us consider this a good bargain.
null
0
1316120663
False
0
c2k5iwh
t3_kgbzq
null
t1_c2k5iwh
t1_c2k4dhj
null
1427605026
5
t5_2fwo
null
null
null
True
timbowen
null
It can bar some users using iOS 3.X and earlier, yes. As a practical matter the number of users running that software is tiny, usually no more than 2% of users in my experience. IMHO it is better to stay current on this platform rather than worrying about the tiny percentage of users running a legacy version of the OS.
null
0
1316120735
False
0
c2k5j8g
t3_kfirl
null
t1_c2k5j8g
t1_c2k0pxr
null
1427605030
1
t5_2fwo
null
null
null
True
Zach_the_Lizard
null
You don't need Windows for Office; there's a Mac OS X version as well. You might miss certain features 99% of users won't need (e.g. SharePoint Designer which is built off of Office IIRC, and there may be a Mac version), but it's real Office. Note: I've never used it myself so I can't vouch for how good it is.
null
0
1316120762
False
0
c2k5jde
t3_kgb4h
null
t1_c2k5jde
t1_c2k1mph
null
1427605033
1
t5_2fwo
null
null
null
True
pozorvlak
null
But it inculcates attitudes that are very, very helpful for programming.
null
0
1316120772
False
0
c2k5jfg
t3_kgbzq
null
t1_c2k5jfg
t1_c2k3l4n
null
1427605035
2
t5_2fwo
null
null
null
True
inmatarian
null
Not strictly true. The JVM can run some pretty fast byte-code. Getting the Java compiler to output that byte-code, however, is a herculean task.
null
0
1316120798
False
0
c2k5jk2
t3_kgq62
null
t1_c2k5jk2
t1_c2k5gwj
null
1427605035
7
t5_2fwo
null
null
null
True
[deleted]
null
Awesome app, I'm shocked to learn that out of all the places Mexicans immigrate to, none are Hispanic cultures.
null
0
1316120798
False
0
c2k5jk8
t3_kgjcg
null
t1_c2k5jk8
t3_kgjcg
null
1427605035
1
t5_2fwo
null
null
null
True
adnzzzzZ
null
I found that teaching people how to make small games (like PONG) in a very easy and fast to use library (like [LÖVE](http://love2d.org/)) works really well. If you want to I could PM you a tutorial of sorts that advises the teacher (someone who already has some programming experience) on how to best introduce some concepts to the student while the game is being coded.
null
0
1316120826
False
0
c2k5jom
t3_kgbzq
null
t1_c2k5jom
t1_c2k3jo8
null
1427605037
2
t5_2fwo
null
null
null
True
dawpa2000
null
Opera > Settings > Preferences... > Advanced > Shortcuts > Keyboard setup: Opera Standard > Edit... > Type "F8" > Select > Edit... > Change "F8" to "F6". > OK > OK.
null
0
1316120846
False
0
c2k5jru
t3_kgb4h
null
t1_c2k5jru
t1_c2k4ivl
null
1427605038
1
t5_2fwo
null
null
null
True
chrisrico
null
Yeah... I'm an anti-statist. I seek to minimize the role of the state in my life, and maximize the opportunity for others to voluntarily do the same. I find state run schools undesirable for the same reason as religious schools: they are places for childhood indoctrination. Into religion for the latter, into statism for the former.
null
0
1316120885
False
0
c2k5jyg
t3_kgbzq
null
t1_c2k5jyg
t1_c2k5iwh
null
1427605041
3
t5_2fwo
null
null
null
True
pozorvlak
null
It's how a lot of us started. But these days there's Pygame and web stuff to hack on instead - help him make something cool!
null
0
1316120893
False
0
c2k5k09
t3_kgbzq
null
t1_c2k5k09
t1_c2k3jo8
null
1427605041
3
t5_2fwo
null
null
null
True
mage2k
null
I'm not complaining about either. I was just answering your question as asked. I do believe that your versioning scheme should help to distinguish between a major and a minor update, though, whichever you choose.
null
0
1316120933
False
0
c2k5k7q
t3_kghid
null
t1_c2k5k7q
t1_c2k5hju
null
1427605043
4
t5_2fwo
null
null
null
True
Doomfield
null
The progman thing doesn't work anymore, as of XP SP2 I believe. The progman.exe that's in there doesn't work, and it simply isn't there at all from Vista up.
null
0
1316120951
False
0
c2k5kal
t3_kejwo
null
t1_c2k5kal
t1_c2k56kg
null
1427605044
2
t5_2fwo
null
null
null
True
pozorvlak
null
Yep, and a mass-algorate society would have to find some way of dealing with the (I hypothesise: small) fraction of dysalgorics.
null
0
1316120955
False
0
c2k5kbt
t3_kgbzq
null
t1_c2k5kbt
t1_c2k4fni
null
1427605044
3
t5_2fwo
null
null
null
True
[deleted]
null
can't upvote enough.
null
0
1316120959
False
0
c2k5kcg
t3_kgqdd
null
t1_c2k5kcg
t3_kgqdd
null
1427605044
5
t5_2fwo
null
null
null
True
Tristanus
null
I never said the problem was Java, regardless you can improve your performance by using the most optimized implementation of Java with all optimizations turned on.
null
0
1316121019
False
0
c2k5kn1
t3_kgq62
null
t1_c2k5kn1
t1_c2k5i3b
null
1427605047
15
t5_2fwo
null
null
null
True
pozorvlak
null
Interesting stuff! Thanks very much.
null
0
1316121092
False
0
c2k5kzx
t3_kgbzq
null
t1_c2k5kzx
t1_c2k4p0j
null
1427605051
2
t5_2fwo
null
null
null
True
doenietzomoeilijk
null
Well, we're obviously going to need people to bring us coffee, of course...
null
0
1316121228
False
0
c2k5lmx
t3_kgbzq
null
t1_c2k5lmx
t1_c2k5kbt
null
1427605057
2
t5_2fwo
null
null
null
True
sbrown123
null
And programming language hipsters.
null
0
1316121274
False
0
c2k5lva
t3_kgq62
null
t1_c2k5lva
t1_c2k58q7
null
1427605064
7
t5_2fwo
null
null
null
True
[deleted]
null
Just did that :) Slight niggle is that hitting F8/F6 while in address bar dosn't deselect it, but I guess I'll live
null
0
1316121286
False
0
c2k5lxg
t3_kgb4h
null
t1_c2k5lxg
t1_c2k5jru
null
1427605061
1
t5_2fwo
null
null
null
True
QuestionMarker
null
Does the functionality exposed by version N work the same way in version N+1? Then N+1 is a minor update.
null
0
1316121505
False
0
c2k5n0w
t3_kghid
null
t1_c2k5n0w
t1_c2k3bii
null
1427605085
5
t5_2fwo
null
null
null
True
der_hammer
null
Remember how we were discussing the Simple English version? ;)
null
0
1316121588
False
0
c2k5neb
t3_kgfhb
null
t1_c2k5neb
t1_c2k4sk4
null
1427605085
7
t5_2fwo
null
null
null
True
QuestionMarker
null
It's at times like this that I'm really glad I'm not an extension developer.
null
0
1316121653
False
0
c2k5nol
t3_kghid
null
t1_c2k5nol
t3_kghid
null
1427605089
7
t5_2fwo
null
null
null
True
scootey
null
This is what makes me sad about newer computing devices. 30 years ago, you could buy an Apple II (or any other personal computer) and it came with a copy of BASIC built right in...and lots of people used it. You could tinker all you want; the company was run by hackers after all! Today, you buy an iPad or iPhone and you're not even allowed to install a programming language on it. I do realize the iOS isn't the ideal platform for coding, but it's how more and more kids are being introduced to computers these days. Plus it would be interesting to see what software development tools could do with the tablet interface if it became widely adopted. The iPad is nice but I completely hate the walled-garden aspect of it. On the contrary, it is easier than ever to obtain the tools needed to learn programming. Get an sub-$50 P4 machine, install Linux on it, and get some free tutorials/books online. This is all you need to learn a whole bunch of programming languages.
null
0
1316121689
False
0
c2k5nu7
t3_kgbzq
null
t1_c2k5nu7
t3_kgbzq
null
1427605090
3
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1316121888
False
0
c2k5orl
t3_kgfhb
null
t1_c2k5orl
t3_kgfhb
null
1427605100
1
t5_2fwo
null
null
null
True
duplico
null
After I finished typing all that, I realized I hadn't checked which subreddit I was on and thought, "Well, crap, after all that I'm probably on [r/ELI5](http://www.reddit.com/r/ExplainLikeImFive)", so I was relieved that at least I was on r/programming. :p
null
0
1316122092
False
0
c2k5pqj
t3_kgfhb
null
t1_c2k5pqj
t1_c2k5neb
null
1427605110
1
t5_2fwo
null
null
null
True
buuda
null
EMH is total bullshit invented by academics with Wall Street support in order to get every person to invest their money so traders have rubes to trade against. Everyone on Wall St with any brains laugh their heads off about EMH.
null
0
1316122132
False
0
c2k5pxn
t3_kgfhb
null
t1_c2k5pxn
t1_c2k4sgt
null
1427605114
-2
t5_2fwo
null
null
null
True
[deleted]
null
I remember reading that adding protocol/concept made the compiler more complex so it was better to stick to assertions. Macros and run-time-protocols would be awesome though..
null
0
1316122169
False
0
c2k5q4g
t3_kfvm7
null
t1_c2k5q4g
t1_c2k0rjm
null
1427605116
1
t5_2fwo
null
null
null
True
Saivo
null
NOTE: I wrote this before you deleted your "troll" comment, but I think it applies here too. I wasn't really trolling. Well, maybe a bit, but I was also expressing my honest opinion. Java is inelegant, ineffective and intolerable. Not forgetting redundant and ugly. It's a fucking pain in the ass to go through the hoops of writing gigabytes of boilerplate code just to get some trivial thing done. Of course there's some enterprisey stuff that apparently needs to be done with Java, since Java was so cool and platform-independent in the 90s that all enterprisey stuff was written with that, and businesses are too stingy to dole out the cash required to implement the systems with a proper modern language. And then there's Minecraft. I'm sure Notch has some reasonable explanation for his choice of language. Maybe it was the language he knew best at the time. As for myself, I picked up Java in the university, where they had just switched from Pascal to Java as the teaching language of the first mandatory programming courses. I had background in programming, including OOP (C++), so it was easy to pick up the concepts of Java. I wrote quite a lot of Java code during my student days, and started to develop a slight aversion towards it. Just felt that it does the same things that C++ does, but more badly. And the loss of control over e.g. memory allocation was really abhorring. Then I took a job that included some real good enterprise Java. EJBs, XML and a lot of other TLAs. It was fucking mayhem, we sucked in every new technology like it was manna from heaven. Turns out that while Java is relatively nice for writing small academic exercises, it's a lumbering hulk of a shit-piece to use for anything real. Just IMHO, of course - I realise that some sad, sad individuals (Notch excepted) are using it to torture themselves and their progeny. I've lately been dabbling with Android SDK, and the old angst reared its ugly head again. In all honesty, I must say that Android's rendering of Java doesn't suck *quite* as much as the earlier incarnations, but I still much prefer C++, C# or Python in everything I do. On the other hand, I really like doing mobile stuff for as many platforms as possible, so I've just bitten the bullet and done some Android cheese - and will probably continue to do that. So there you have it. Perhaps my arguments are not concrete enough, perhaps they can be easily dismissed as knee-jerk gut reaction, but still the point remains: when approaching Java, one's spine starts to tingle and there is an intuitive, intellectual and subliminal spider sense going off like the sirens of a swarm of *Stuka*s in deep dive. I rest my case. *EDIT: bugfixes*
null
0
1316122170
True
0
c2k5q4l
t3_kgq62
null
t1_c2k5q4l
t1_c2k5lva
null
1427605116
0
t5_2fwo
null
null
null
True
mbairlol
null
In general quantum computers can provide a quadratic speedup of classical algorithms only, that's not enough for this case.
null
0
1316122244
False
0
c2k5qi8
t3_kgfhb
null
t1_c2k5qi8
t1_c2k3ty9
null
1427605120
1
t5_2fwo
null
null
null
True
some_dev
null
Interestingly enough, a short Google doesn't turn up much in terms of alternate GC settings for Minecraft. Several of the problems seemed to be indicative of a "pause the world" style garbage collector. Edit: Felt like responding to "It's not that java sucks." Java sucks to some degree. All programming languages do in some way or another. The problem with Java is that there's a huge software ecosystem, and that ecosystem was built on a lot of "best practices" that are incredibly stupid. For example, developing your apps as a disconnected object soup that you then string together with XML. That being said, I feel like Java's complainers tend to play up its downsides to a ridiculous degree. Especially when the solution to "Java is slow," is C++, which is pretty much the great grandfather of kludge languages.
null
0
1316122358
True
0
c2k5r2n
t3_kgq62
null
t1_c2k5r2n
t1_c2k5h0a
null
1427605133
10
t5_2fwo
null
null
null
True
doomchild
null
I've tried more than once to learn Haskell, and every time has left me with the impression that it was designed to make certain people feel like crappy programmers. That might just be my own inferiority complex talking, but the syntax feels (to me, anyway) like it was *designed* to be hard to learn for somebody without a degree in higher mathematics. I'm not saying it has to look like Python/Ruby/Javascript/C#/Java/Blub to be learnable. But Haskell has apparently hit the exact syntax that I am genetically incapable of learning to read.
null
0
1316122387
False
0
c2k5r7f
t3_kgt9u
null
t1_c2k5r7f
t1_c2k5eys
null
1427605130
1
t5_2fwo
null
null
null
True
othermatt
null
So if I understand this article correctly, you can rephrase P vs NP as P are problems that can be solved with shortcuts, and NP are problems that can only be solved via brute force methods? So, in order to prove that P!=NP we would have to find only one problem that could not be solved with a shortcut, right? And wouldn't mean that P vs NP is itself an NP problem?
null
0
1316122434
False
0
c2k5rfr
t3_kgfhb
null
t1_c2k5rfr
t3_kgfhb
null
1427605133
0
t5_2fwo
null
null
null
True
tekn0viking
null
FARMVILLE+ FOR ALL!
null
0
1316122452
False
0
c2k5rik
t3_kgsnl
null
t1_c2k5rik
t3_kgsnl
null
1427605134
13
t5_2fwo
null
null
null
True
some_dev
null
> The general consensus seems to be that Java is worthless. The general consensus on Reddit but not in the general programming world. Java is painfully verbose but it has a lot of advantages. The performance is actually pretty good.. its just that a program that wants soft real-time guarantees clashes with a java garbage collector that basically runs whenever it damn well pleases. There are ways to mitigate this, but they required informed and deliberate design choices, so your average java programmer is not likely to make them.
null
0
1316122573
False
0
c2k5s59
t3_kgq62
null
t1_c2k5s59
t1_c2k55rf
null
1427605143
12
t5_2fwo
null
null
null
True
mr-strange
null
Yawn!
null
0
1316122610
False
0
c2k5sca
t3_kgsnl
null
t1_c2k5sca
t3_kgsnl
null
1427605147
-2
t5_2fwo
null
null
null
True
Lerc
null
I agree with the central point. Now for the big question. **What do we do about it?** I don't think teaching kids to code will work until you have teachers that can code and can see the value in it. I think the analogy to literacy is strong. Right now, what we are asking is for the illiterate to teach the literate. The problem is that teachers are overloaded as it is. Governments the world over have shown an inability to improve that situation. There is bit of irony there in that once teachers have the requisite skills, they may be able to more efficiently manage their workload. I really think this is something that could only be achieved with a concerted community effort. It would require a substantial level of volunteer commitment, but without it I see no other way. It needs a multi headed approach to provide training assistance to teachers and pupils. The biggest concern I would have over any concerted effort is the risk of being tied up in trivialities. Without a strategy to deal with it there would be inevitable arguments about programming languages and methodologies. Any such effort should be built on a foundation of inclusiveness.
null
0
1316122614
False
0
c2k5sd1
t3_kgbzq
null
t1_c2k5sd1
t3_kgbzq
null
1427605147
6
t5_2fwo
null
null
null
True
FryGuy1013
null
For the rock problem, imagine you have 5 rocks weighing the following amounts (in pounds, kilos, or whatever): 14, 16, 10, 10, 10. Suppose someone told you that they had a solution that you put the first and third rocks in one pile, and the rest in the other. That is pretty easy to check in polynomial time, since you just add them up. 14+10 = 24, and 16+10+10 = 36, which are not equal. If I said try the first two in the first pile, then that means 14+16 = 30, and 10+10+10 = 30, so they are equal and that is a solution. Trying all solutions means that there are 32 ways of separating the five rocks into two piles. If you want to know if you can separate the five rocks into two piles, then the only way is to try all 32 possible ways and see if one of them is a solution. As far as the conveyor belt thing, there is no solution that can be run without trying "all" combinations of rocks in piles. Any algorithm you provide has a case where the algorithm either fails or ends up checking everything; at least if P != NP. I put all in quotes because there are some obvious optimizations: for instance, that if the total weight is 60, then once you get 30 in a single pile all the combinations for the remaining rocks don't need to be tried. Also, technically it's not really all choices, but an amount that is greater than polynomial.
null
0
1316122645
False
0
c2k5shw
t3_kgfhb
null
t1_c2k5shw
t1_c2k5b5r
null
1427605159
1
t5_2fwo
null
null
null
True
lukasmach
null
> how is it possible to verify the solution in polynomial time It is possible with the help of a polynomial certificate, which in this case would be (I think) a series of hints on how (in which order) to perform the edge-weight comparisons so that you discard all of the potential shorter tours (there is a super-exponential number of them) in short amount of time (in polynomial number of steps).
null
0
1316122717
False
0
c2k5suz
t3_kgfhb
null
t1_c2k5suz
t1_c2k4uci
null
1427605160
1
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1316122720
False
0
c2k5svm
t3_kgfhb
null
t1_c2k5svm
t1_c2k549s
null
1427605160
1
t5_2fwo
null
null
null
True
J_M_B
null
This worries me: From the [Google+ API TOA](http://developers.google.com/+/terms) >Prohibitions on Content. Unless expressly permitted by the content owner or by applicable law, you agree that you will not, and will not permit your end users to, do the following with content returned from the APIs: > >1. Scrape, build databases or otherwise create permanent copies of such content, or keep cached copies longer than permitted by the cache header; Does this mean if I make a game I can't keep high scores of users who have logged in using Google+ ?
null
0
1316122836
False
0
c2k5tf8
t3_kgsnl
null
t1_c2k5tf8
t3_kgsnl
null
1427605162
8
t5_2fwo
null
null
null
True
alexdodge
null
[No, that's a common misconception.](http://www.scottaaronson.com/blog/?p=266)
null
0
1316122968
False
0
c2k5u2w
t3_kgfhb
null
t1_c2k5u2w
t1_c2k549s
null
1427605167
6
t5_2fwo
null
null
null
True
SweetIrony
null
>Streams are not new or even novel in any programming language
null
0
1316122977
False
0
c2k5u4o
t3_kc4pc
null
t1_c2k5u4o
t1_c2k1k59
null
1427605167
0
t5_2fwo
null
null
null
True
alx359
null
Easy: just throw rocks at 2 partially filled water tanks and check the changes in volumes. Where's my million dollars? :) I still believe N=NP, one just needs to invent a new frame of reference to reformulate each problem.
null
0
1316122998
False
0
c2k5u8i
t3_kgfhb
null
t1_c2k5u8i
t1_c2k229g
null
1427605169
-4
t5_2fwo
null
null
null
True
gnuvince
null
**billion** dollar mistake.
null
0
1316123545
False
0
c2k5wtv
t3_kfvm7
null
t1_c2k5wtv
t1_c2k4hau
null
1427605213
1
t5_2fwo
null
null
null
True
flightlessbird
null
That is a thornier proposition than it appears. Equal quality for everyone involves some discrimination and trade-off between equality of opportunity and equality of outcome. As tarantulus notes, education, being a labour-intensive service, is limited by its finite provision. Aristotle makes a pretty good case in the Nicomachean Ethics for descrimination basic on skills and inherent preferences: education is worth most to those that would profit most by it. For any finite resource, this principle would suggest we need to be careful about where we expend our efforts. I agree that no-one would want arbitrary or needless discrimination, but we don't give out academic scholarships to all either: we recognise that some would benefit more than others.
null
0
1316123958
False
0
c2k5yrq
t3_kgbzq
null
t1_c2k5yrq
t1_c2k4oqg
null
1427605235
4
t5_2fwo
null
null
null
True
[deleted]
null
Not sure why you brought my ex in the explanation but thanks.
null
0
1316123988
False
0
c2k5ywx
t3_kfby2
null
t1_c2k5ywx
t1_c2k0mqs
null
1428193974
1
t5_2fwo
null
null
null
True
disconcision
null
... that's only true if you *assume* P = NP. otherwise, N is anything *but* one.
null
0
1316124015
False
0
c2k5z03
t3_kgfhb
null
t1_c2k5z03
t1_c2k560d
null
1427605238
4
t5_2fwo
null
null
null
True
henk53
null
Java is verbose, but I wouldn't go as far to say painfully verbose. It's pretty much at the same level as C, C++, Objective-C, C# etc. >clashes with a java garbage collector that basically runs whenever it damn well pleases. The G1 garbage collectors will help a lot as it's a more constant parallel collector, utilizing the extra cores basically every desktop has these days, instead of doing large stop the world collections. Also, if an application wants (soft) real-time guarantees, there is Java RT which is actually pretty cool but unfortunately not really main stream.
null
0
1316124106
False
0
c2k5zhc
t3_kgq62
null
t1_c2k5zhc
t1_c2k5s59
null
1427605246
8
t5_2fwo
null
null
null
True
[deleted]
null
html5 has a <video> element...
null
0
1316124163
False
0
c2k5zr7
t3_kgb4h
null
t1_c2k5zr7
t1_c2k4n53
null
1427605249
2
t5_2fwo
null
null
null
True
dbpatterson
null
regarding DCG - mercury supports the notation, as is. There are some example applications bundled with the source, and a couple that use it. The mercury team created this alternate syntax specifically for state variables, (I think) because it is more obvious what is going on (ie, you can see that there is a pair of state variables being used). It is preferred (though obviously, do what you will) to use DCG only for parsers. In terms of equivalent structures to monad transformers, I don't know enough about mercury to say what the equivalents are, or if they exist in the same form. I don't believe that a monadic style is possible (I think there was a SO question about it, and one of the developers said it wasn't supported, and wasn't going to be), but type classes do exist (and they are basically identical to haskell's), and there is some other fancy stuff you can pull off with the mode system, so who knows what is possible.
null
0
1316124268
False
0
c2k608p
t3_kcggs
null
t1_c2k608p
t1_c2jpog7
null
1427605256
1
t5_2fwo
null
null
null
True
henk53
null
>systems with a proper modern language. [...] >but I still much prefer C++, C# or Python So, do you meant to say that Python and C++ are those proper modern languages?
null
0
1316124283
False
0
c2k60bc
t3_kgq62
null
t1_c2k60bc
t1_c2k5q4l
null
1427605257
2
t5_2fwo
null
null
null
True
Snowkaul
null
Honestly, semantics. C++ is compiled as a native language, and is not JIT. It doesn't matter which compiler you use, any .NET language will be turned into CIL and compiled on use. That's all I was referring to.
null
0
1316124286
False
0
c2k60bt
t3_kepcp
null
t1_c2k60bt
t1_c2k3vh2
null
1427605259
1
t5_2fwo
null
null
null
True
some_dev
null
> The G1 garbage collectors will help a lot as it's a more constant parallel collector, utilizing the extra cores basically every desktop has these days, instead of doing large stop the world collections. Yes, my thought was swapping to the concurrent mark and sweep collector as a good start. Using the default collector when almost everyone has at least 2 cores, even on a low-end PC, is almost always the wrong decision. As far as programming goes, object pools and other ways of avoiding generating garbage is usually the best bet. Its roughly the same as you'd do in a real-time C/C++ program, albeit more limited.
null
0
1316124290
False
0
c2k60cl
t3_kgq62
null
t1_c2k60cl
t1_c2k5zhc
null
1427605259
4
t5_2fwo
null
null
null
True
CynicalTyler
null
>Unless expressly permitted by the content owner Doesn't sound that outlandish. If a user doesn't give you permission to store their name, don't.
null
0
1316124407
False
0
c2k60wi
t3_kgsnl
null
t1_c2k60wi
t1_c2k5tf8
null
1427605263
25
t5_2fwo
null
null
null
True
zwaldowski
null
> BlocksKit or something actually useful [\*grins\*](https://github.com/zwaldowski/BlocksKit)
null
0
1316124463
False
0
c2k615d
t3_kfirl
null
t1_c2k615d
t1_c2jy770
null
1427605266
2
t5_2fwo
null
null
null