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
Brian
null
Yeah, there's Knuth-ing worse than a string searching pun thread. Anyone making up any Morris going to look like a Pratt.
null
0
1318325259
False
0
c2qjgs4
t3_l6xnp
null
t1_c2qjgs4
t1_c2qcqai
null
1427715332
3
t5_2fwo
null
null
null
True
[deleted]
null
This should be fixed in recent versions: http://savannah.gnu.org/bugs/?14472
null
0
1318325305
False
0
c2qjgv6
t3_l6xnp
null
t1_c2qjgv6
t1_c2qbukx
null
1427715333
4
t5_2fwo
null
null
null
True
osushkov
null
vector math for SSE and the like is a pain in the arse not for reasons of language but for reasons of data representation. The way data is usually stored in most programs differs greatly from the way you want it to be stored for effective SIMD computation. eg: you usually store an array of (x,y) tuples for representing...
null
0
1318325395
False
0
c2qjh0v
t3_l7gl3
null
t1_c2qjh0v
t1_c2qj904
null
1427715335
2
t5_2fwo
null
null
null
True
mikesamuel
null
No alert is displayed, and view-source displays: <p>Output:</p> <img SRC=JaVaScRiPt:alert('XSS')> <p>HTML Sanitized in 0 msec.</p> Am I missing something?
null
0
1318325414
False
0
c2qjh23
t3_l7bjb
null
t1_c2qjh23
t1_c2qjgka
null
1427715336
5
t5_2fwo
null
null
null
True
tm_helloreddit
null
sigh, i'll be that guy. how do you copy text from command prompt? the only method i know is to output to a text file via > edit: i just had a sad realization that it's more natural for me to ask stupid shit on reddit instead of googling it myself :(
null
0
1318325475
False
0
c2qjh66
t3_l7bjb
null
t1_c2qjh66
t1_c2qg83x
null
1427715337
3
t5_2fwo
null
null
null
True
[deleted]
null
OH SHIT? **REALLY?**
null
0
1318325689
False
0
c2qjhj5
t3_l6uwv
null
t1_c2qjhj5
t1_c2qgvbo
null
1427715342
1
t5_2fwo
null
null
null
True
Tagedieb
null
As a kid I started with QBasic/QuickBasic, then assembler, then (turbo-)pascal, then C and C++ in the end. Assembler and C were the hard parts (those that took really a lot of fiddeling to get anything done at all at first). Knowing assembler is a good step to understand pointers in languages that don't hide them (like...
null
0
1318325692
False
0
c2qjhje
t3_l7gl3
null
t1_c2qjhje
t1_c2qiwj2
null
1427715342
0
t5_2fwo
null
null
null
True
Liorithiel
null
It won't be mainstream for the next 5 years. Till then, he'll either drop out or already learn them from other sources and will start using them when possible.
null
0
1318325712
False
0
c2qjhkf
t3_l7gl3
null
t1_c2qjhkf
t1_c2qjfef
null
1427715342
5
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1318325722
False
0
c2qjhl2
t3_l81mh
null
t1_c2qjhl2
t3_l81mh
null
1427715343
1
t5_2fwo
null
null
null
True
svendhhh
null
Michael Pachter has issued an apology for his statements and says the situation was “embarrassing, especially with overworked employees left unpaid”. Link added in edit on post :)
null
0
1318325739
False
0
c2qjhm9
t3_j5oyc
null
t1_c2qjhm9
t3_j5oyc
null
1427715343
1
t5_2fwo
null
null
null
True
Crossbowman
null
Right-click on command prompt window, select "Mark". Place mark on text you wish to copy, drag across it ctrl+c boom much easier than extracting text out of emacs which is great pain in side
null
0
1318325762
False
0
c2qjhnp
t3_l7bjb
null
t1_c2qjhnp
t1_c2qjh66
null
1427715344
6
t5_2fwo
null
null
null
True
artsrc
null
I thought that CoffeeScript was excessively constrained in the simplicity of their translation to JavaScript. But now I see that this is the better side of the coin to be on.
null
0
1318325820
True
0
c2qjhqu
t3_l7wry
null
t1_c2qjhqu
t3_l7wry
null
1427715345
14
t5_2fwo
null
null
null
True
mbairlol
null
Yes, it's a fucking joke.
null
0
1318325966
False
0
c2qjhzx
t3_l7wry
null
t1_c2qjhzx
t1_c2qjgll
null
1427715348
-5
t5_2fwo
null
null
null
True
BendingUnit10110
null
i use them to do random shit like removing all the trailing white space from my code files. the really cool thing is that you can assign them to keyboard shortcuts. so anything that annoys you about the ide can be automated and assign to a keyboard command.
null
0
1318326020
False
0
c2qji3g
t3_l0mpo
null
t1_c2qji3g
t1_c2owcej
null
1427715349
1
t5_2fwo
null
null
null
True
sltkr
null
> The source is there to explain the concept, not to keep your compiler happy. Much like my compiler, I have trouble interpreting code that uses data structures before they have been defined. I'm a C programmer. I'm good at reading valid C code. I'm bad at guessing the intended meaning of a pseudo-code hodgepodge t...
null
0
1318326025
False
0
c2qji3m
t3_l6xa0
null
t1_c2qji3m
t1_c2qj0tg
null
1427715349
1
t5_2fwo
null
null
null
True
dd_123
null
Oh, OK. Can you explain why then? "fast" and "slow" aren't C or C++ keywords, and I don't see them anywhere else in that slide. What am I missing?
null
0
1318326030
False
0
c2qji46
t3_l6yn1
null
t1_c2qji46
t1_c2qiezg
null
1427715350
1
t5_2fwo
null
null
null
True
mikesamuel
null
I think in emacs with default key bindings, you can yank from the system clipboard and copy to the system clipboard using S-Ins and C-Ins. I forget which is which and the name of the relevant function. Maybe `clipboard-yank` and `clipboard-`something-else.
null
0
1318326187
False
0
c2qjidl
t3_l7bjb
null
t1_c2qjidl
t1_c2qjhnp
null
1427715353
2
t5_2fwo
null
null
null
True
taejo
null
> dereferencing a null pointer in this version launches nuclear warheads It was allowed (but not required) to do that in previous versions, so anyone who cares about avoiding nuclear holocaust probably shouldn't dereference null pointers, even if they're using C++03.
null
0
1318326276
False
0
c2qjijd
t3_l7gl3
null
t1_c2qjijd
t1_c2qfq0l
null
1427715355
2
t5_2fwo
null
null
null
True
annoymind
null
Not only in UTF-8. In all unicode encodings. That's why there are normalization forms specified in the unicode standard.
null
0
1318326298
False
0
c2qjikv
t3_l6xnp
null
t1_c2qjikv
t1_c2qcvjj
null
1427715356
1
t5_2fwo
null
null
null
True
stuhacking
null
Right, but it's actually not that surprising. In many cases, small flexible languages have a tendency to produce more supporting code for the runtime image, generally because they can't assume that the target platform will support all the facilities they need. People also complain that languages like Lisp and Haskell ...
null
0
1318326315
False
0
c2qjilt
t3_l7wry
null
t1_c2qjilt
t1_c2qjfwb
null
1427715356
4
t5_2fwo
null
null
null
True
[deleted]
null
> Frankly, I don't see why print compiles to print$getter() while it could be just a variable reference. I would guess that language designers just don't give a fuck about performance... It's the print call, it doesn't happen enough for 2 extra function calls to make any difference, and it gives you the ability to ...
null
0
1318326408
False
0
c2qjirf
t3_l7wry
null
t1_c2qjirf
t1_c2qjd5r
null
1427715358
3
t5_2fwo
null
null
null
True
youngbull
null
Really?, I still can't get it to work on the clause set I have above. Anyways, the Unsolvable variable in the paper must have a number of bits that is exponential in the size of variables rendering the question whether it works or not moot, it is just not polynomial.
null
0
1318326489
False
0
c2qjix3
t3_l80vy
null
t1_c2qjix3
t1_c2qjg1z
null
1427715360
1
t5_2fwo
null
null
null
True
f_lynx
null
OK, a C/C++ dialect that compiles to JS... ...what's next, a C/C++ that compiles to Lisp?
null
0
1318326765
False
0
c2qjjeu
t3_l6uwv
null
t1_c2qjjeu
t3_l6uwv
null
1427715366
0
t5_2fwo
null
null
null
True
kyz
null
>Really? Older C compilers were one-pass so that they could compile a file larger than memory. Yah, really. While it doesn't have to hold the intermediate structure in memory, or *many* copies of variable names, it does have to retain at least one copy of the name of every typedef so it can parse a variable introdu...
null
0
1318326873
False
0
c2qjjkw
t3_l6xnp
null
t1_c2qjjkw
t1_c2qhw04
null
1427715369
2
t5_2fwo
null
null
null
True
f_lynx
null
If you want something that compiles to JS and actually offers advantages rather than new ways to make mistakes, look at CoffeeScript (http://jashkenas.github.com/coffee-script/)!
null
0
1318326964
False
0
c2qjjr5
t3_l6uwv
null
t1_c2qjjr5
t1_c2qjjeu
null
1427715371
3
t5_2fwo
null
null
null
True
OopsLostPassword
null
Not having yet dived into Dart I can see some similar ideas but not the global spirit and motivation. As you're a fan of Go like me, may I ask you if you have links to comparative studies of Go and Dart ?
null
0
1318327018
False
0
c2qjjtz
t3_l6uwv
null
t1_c2qjjtz
t1_c2qdngd
null
1427715372
1
t5_2fwo
null
null
null
True
pjzedalis
null
So you use CSS to drive the native behavior. That's pretty interesting but in a way that's interpreted code that's being downloaded from the Web. I thought Apple did not allow that?
null
0
1318327049
False
0
c2qjjwe
t3_l7769
null
t1_c2qjjwe
t3_l7769
null
1427715374
1
t5_2fwo
null
null
null
True
tau-lepton
null
You may want to take a refresher on OO http://www.artima.com/interfacedesign/PreferPoly.html And generics http://www.oracle.com/technetwork/articles/javase/generics-136597.html
null
0
1318327130
True
0
c2qjk0z
t3_l6uwv
null
t1_c2qjk0z
t1_c2qili5
null
1427715375
1
t5_2fwo
null
null
null
True
Crossbowman
null
Maybe, but it's still much more painful than extracting text from command prompt. Granted, Unix is not Windows and vice versa, but I would think that it'd be objectively easier to extract text from cmd anyway. Perhaps?
null
0
1318327195
False
0
c2qjk52
t3_l7bjb
null
t1_c2qjk52
t1_c2qjidl
null
1427715377
1
t5_2fwo
null
null
null
True
marriage_iguana
null
Awesome, thanks!
null
0
1318327286
False
0
c2qjkac
t3_l7wry
null
t1_c2qjkac
t1_c2qjilt
null
1427715378
1
t5_2fwo
null
null
null
True
SCombinator
null
Try this: def algo(vars, clauses): result = 0 unsolvable = (2 ** (2 ** len(vars))) - 1 for clause in clauses: base = 2 clause_result = 1 for var in vars: exists = 0 for literal in clause:...
null
0
1318327332
False
0
c2qjkdk
t3_l80vy
null
t1_c2qjkdk
t1_c2qjix3
null
1427715380
3
t5_2fwo
null
null
null
True
OopsLostPassword
null
Yes. The company producing go could have opted for something simpler.
null
0
1318327402
False
0
c2qjki3
t3_l6uwv
null
t1_c2qjki3
t1_c2q9lh9
null
1427715381
1
t5_2fwo
null
null
null
True
leliel
null
You're right that SSE has some arcane down right weird packing and alignment constraints at times. I think part of the reason it's so hard to deal with is the lack of vector types tho. When you make a struct with mixed data types the compiler will handle all the alignment issues for you, but there's no such luck when u...
null
0
1318327465
False
0
c2qjkm4
t3_l7gl3
null
t1_c2qjkm4
t1_c2qjh0v
null
1427715382
2
t5_2fwo
null
null
null
True
matthiasB
null
While I agree with the first sentence Ruby and Python aren't alternatives as they can't be used inside the browser and that's what it's all about: Being part of the browser as an alternative to JavaScript.
null
0
1318327807
False
0
c2qjl8v
t3_l6uwv
null
t1_c2qjl8v
t1_c2qdq0g
null
1427715391
1
t5_2fwo
null
null
null
True
johnil
null
Thanks for pointing this out. Looking at the code, unregister does appear to remove the handlers from the EventBus, so I presume the section in guavas documentation that claims you cannot may be out of date. I have updated the article.
null
0
1318327820
False
0
c2qjla4
t3_l7gfk
null
t1_c2qjla4
t1_c2qjdyk
null
1427715391
1
t5_2fwo
null
null
null
True
validus77
null
Oh I just looked at your code. Ya nevermind, I though you just ran this thru a santizer and the output was just the sanitized version of the string. Never mind nothing to see here move along folks
null
0
1318327836
False
0
c2qjlb4
t3_l7bjb
null
t1_c2qjlb4
t1_c2qjh23
null
1427715391
2
t5_2fwo
null
null
null
True
WizKidSWE
null
I wouldn't bet on Firefox or Opera supporting Dart very soon.
null
0
1318327848
False
0
c2qjlc4
t3_l7wry
null
t1_c2qjlc4
t1_c2qjcm0
null
1427715391
31
t5_2fwo
null
null
null
True
h2o2
null
:)
null
0
1318327964
False
0
c2qjlja
t3_l7gfk
null
t1_c2qjlja
t1_c2qjla4
null
1427715395
1
t5_2fwo
null
null
null
True
matthiasB
null
> Can I get 3 points that make Dart stand out from the crowd? Google pushes it to be part of the browsers. ... I can't come up with other reasons.
null
0
1318328004
False
0
c2qjllu
t3_l6uwv
null
t1_c2qjllu
t1_c2qdngd
null
1427715396
1
t5_2fwo
null
null
null
True
ableal
null
Some people, when they have to explain something, say "I know, I'll explain it with Haskell". Now they have to explain two things.
null
0
1318328042
False
0
c2qjlod
t3_l77q2
null
t1_c2qjlod
t1_c2qf2aj
null
1427715397
4
t5_2fwo
null
null
null
True
mikesamuel
null
Thanks for taking a look.
null
0
1318328130
False
0
c2qjlto
t3_l7bjb
null
t1_c2qjlto
t1_c2qjlb4
null
1427715399
3
t5_2fwo
null
null
null
True
Zarutian
null
next up. Remove the rest so even MBAs can program.
null
0
1318328703
False
0
c2qjms1
t3_l7gl3
null
t1_c2qjms1
t1_c2qjcbq
null
1427715411
4
t5_2fwo
null
null
null
True
pablopr
null
All those interested must check out Expert C Programming: Deep C Secrets by Peter van der Linden
null
0
1318328735
False
0
c2qjmtw
t3_l6yn1
null
t1_c2qjmtw
t3_l6yn1
null
1427715412
1
t5_2fwo
null
null
null
True
[deleted]
null
I appear to have a different definition of 'compile' to this article.
null
0
1318328890
False
0
c2qjn36
t3_l7wry
null
t1_c2qjn36
t3_l7wry
null
1427715415
0
t5_2fwo
null
null
null
True
tilio
null
there are dozens of cases posted here that when input will output nothing. if reddit was using this sanitizer, people wouldn't be able to post those cases at all. that's why it's a denial of service. it should merely escape/htmlspecialchars the input.
null
0
1318328893
False
0
c2qjn3f
t3_l7bjb
null
t1_c2qjn3f
t1_c2qify9
null
1427715415
1
t5_2fwo
null
null
null
True
OopsLostPassword
null
The Dart-to-Javascript compiler doesn't produce code only for Chrome.
null
0
1318328905
False
0
c2qjn49
t3_l81fz
null
t1_c2qjn49
t1_c2qj5xj
null
1427715415
0
t5_2fwo
null
null
null
True
Tagedieb
null
I don't know I just checked a few. GCC supports N2927 for example, which would be lambda v1.1, but it shows only v0.9. It also supports N2555. I can't change the page (it says "Immutable Page" on the top).
null
0
1318329023
False
0
c2qjnb4
t3_l7gl3
null
t1_c2qjnb4
t1_c2qjgco
null
1427715418
1
t5_2fwo
null
null
null
True
killerstorm
null
> It's the print call, it doesn't happen enough for 2 extra function calls to make any difference Yes. But it looks like code is full of this `$getter` or `$member` things and they contribute to code bloat. > and it gives you the ability to decide at call-time what print function to use It gives absolutely NO ...
null
0
1318329035
False
0
c2qjnbr
t3_l7wry
null
t1_c2qjnbr
t1_c2qjirf
null
1427715418
6
t5_2fwo
null
null
null
True
RichardWarburton
null
I don't really believe this is correct. The author requires all formula to be in CNF. Conversion from arbitrary formula to CNF produces a formula that is potentially 2^N in size [0], where the original formula was N elements in size. So in order to check 3SAT, he is applying his algorithm to an exponentially larger ...
null
0
1318329076
False
0
c2qjnec
t3_l80vy
null
t1_c2qjnec
t3_l80vy
null
1427715419
2
t5_2fwo
null
null
null
True
RichardWarburton
null
I agree with the underlying analysis, but surely you don't mean constant time, anything less than exponential will make his point.
null
0
1318329135
False
0
c2qjnhs
t3_l80vy
null
t1_c2qjnhs
t1_c2qj80h
null
1427715420
2
t5_2fwo
null
null
null
True
occio
null
Can't all of this not also be done by Google Collections / Guava?
null
0
1318329319
False
0
c2qjnta
t3_l81mh
null
t1_c2qjnta
t3_l81mh
null
1427715424
5
t5_2fwo
null
null
null
True
pjzedalis
null
It appears to be an interpreter. Their "app" template "discovers" the CSS styles they are expecting to find and renders native controls. I'm not sure this is actually permitted by Apple.
null
0
1318329364
False
0
c2qjnvx
t3_l7769
null
t1_c2qjnvx
t1_c2qeizf
null
1427715425
2
t5_2fwo
null
null
null
True
mikesamuel
null
People would be able to post examples. They just have to write HTML that contains the HTML equivalent of the plain text they want to display. Can you point me at an example of an input that will output nothing that actually is HTML that contains a displayable text node?
null
0
1318329503
False
0
c2qjo5p
t3_l7bjb
null
t1_c2qjo5p
t1_c2qjn3f
null
1427715429
1
t5_2fwo
null
null
null
True
MarshallBanana
null
Having had first-hand exposure to one of these "let's teach functional programming first!" classes, and knowing how people reacted to that, I'm not going to accept that "great success" quite so easily.
null
0
1318329568
False
0
c2qjo9o
t3_l77q2
null
t1_c2qjo9o
t1_c2qi7p1
null
1427715430
3
t5_2fwo
null
null
null
True
MarshallBanana
null
That is because your C# example is not at all how anyone would write a random number generator in an imperative language.
null
0
1318329622
False
0
c2qjocz
t3_l77q2
null
t1_c2qjocz
t1_c2qhgsq
null
1427715432
0
t5_2fwo
null
null
null
True
neon_overload
null
> I've never ever seen someone complain about the excessive lines of jQuery they load into their memory. If I want to animate my hello world-div from the left to the right side of the screen, I will most probably load up a whole bunch of jQuery I won't need. *I've* complained about it before, and it led me to [wri...
null
0
1318329629
True
0
c2qjode
t3_l7wry
null
t1_c2qjode
t1_c2qje8m
null
1427715432
46
t5_2fwo
null
null
null
True
Negitivefrags
null
Windows has no concept of a main thread. A process terminates when all threads in it have terminated or when one of the threads calls ExitProcess. However, C and C++ language specifications say that if a program returns from main, then that program shall exit. Because of this, when you return from main, the C runtime ...
null
0
1318329636
True
0
c2qjoe0
t3_l4d5e
null
t1_c2qjoe0
t1_c2pyrml
null
1427715432
3
t5_2fwo
null
null
null
True
Tagedieb
null
The current gcc version already supports them and it would have saved me a *lot* of edit/compile cycles (and typing of course) if they would have been around when I learned the stl. Granted, modern IDEs make that easier, but still.
null
0
1318329646
False
0
c2qjoep
t3_l7gl3
null
t1_c2qjoep
t1_c2qjhkf
null
1427715432
2
t5_2fwo
null
null
null
True
misterbuzzkill
null
>its adoption Haha.
null
0
1318329751
False
0
c2qjokv
t3_l7wry
null
t1_c2qjokv
t1_c2qize4
null
1427715435
0
t5_2fwo
null
null
null
True
[deleted]
null
This is actually one of the main points of my post but I think it might have swooshed right by all the wannabe Donald Knuths around here.
null
0
1318329764
True
0
c2qjolk
t3_l6xa0
null
t1_c2qjolk
t1_c2qj5xi
null
1427715435
1
t5_2fwo
null
null
null
True
pjzedalis
null
Yeah iOS Terms 2.7 Apps that download code in any way or form will be rejected 2.12 Apps that are not very useful, are simply web sites bundled as apps, or do not provide any lasting entertainment value may be rejected
null
0
1318329825
False
0
c2qjopf
t3_l7769
null
t1_c2qjopf
t1_c2qjjwe
null
1427715436
1
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1318329879
False
0
c2qjosr
t3_l7gl3
null
t1_c2qjosr
t1_c2qii7o
null
1427715437
1
t5_2fwo
null
null
null
True
jng
null
I think it's no problem. We are not downloading and interpreting code, it's very simple CSS-like styles that are applied. There is no code execution.
null
0
1318329886
False
0
c2qjot2
t3_l7769
null
t1_c2qjot2
t1_c2qjjwe
null
1427715437
1
t5_2fwo
null
null
null
True
Tagedieb
null
Any more info or links to back up your claims?
null
0
1318329899
False
0
c2qjotz
t3_l7gl3
null
t1_c2qjotz
t1_c2qj2nb
null
1427715438
1
t5_2fwo
null
null
null
True
fas2
null
> Should we ban knives because they can be used to kill people? If you could design kitchen knives that could not kill people, you would. You *can* design the assignment operator not to have a return value. > As for "hackery": you can write unreadable code in any programming language with any design and any rul...
null
0
1318329945
False
0
c2qjows
t3_l6uwv
null
t1_c2qjows
t1_c2qj73o
null
1427715441
1
t5_2fwo
null
null
null
True
matthiasB
null
So do you have any data on which kind of type system (or lack of it) leads to the "best results"? Have there been studies in that direction?
null
0
1318329975
False
0
c2qjoyl
t3_l6uwv
null
t1_c2qjoyl
t1_c2qdu0m
null
1427715441
1
t5_2fwo
null
null
null
True
[deleted]
null
This looks better than phonegap. Phonegap is only a webkit wrap. This is real native translation.
null
0
1318330007
False
0
c2qjp0h
t3_l7769
null
t1_c2qjp0h
t3_l7769
null
1427715440
1
t5_2fwo
null
null
null
True
jng
null
I don't think there is an issue with any of those limitations. I guess you don't refer to the usefulness or entertainment value, those are very subjective. "Are simply web sites bundled as apps" is more applicable to systems like Phonegap, which is exactly that, and they are allowed (although they were only half-allowe...
null
0
1318330039
False
0
c2qjp2f
t3_l7769
null
t1_c2qjp2f
t1_c2qjopf
null
1427715442
1
t5_2fwo
null
null
null
True
6_28
null
I don't see why not. Google is releasing the VM for free under the BSD license, so it will be fairly simple to integrate. If even a single high-profile site makes use of Dart (and Google surely will), then other browsers will be pressured into integrating it just to keep up in terms of performance.
null
0
1318330264
False
0
c2qjphd
t3_l7wry
null
t1_c2qjphd
t1_c2qjlc4
null
1427715446
5
t5_2fwo
null
null
null
True
TheWix
null
Doesn't look as nice without the lambda/anonymous functions.
null
0
1318330265
False
0
c2qjphf
t3_l81mh
null
t1_c2qjphf
t3_l81mh
null
1427715446
14
t5_2fwo
null
null
null
True
TheWix
null
Hey, they are just keeping the language "pure". I remember when LINQ first came out and a lot of Java developers were saying it only fulfilled a few edge cases and was just bloating the framework. Now I don't really even need to use old iteration constructs like while/for/foreach anymore.
null
0
1318330381
False
0
c2qjpp5
t3_l81mh
null
t1_c2qjpp5
t1_c2qj6np
null
1427715449
7
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1318330411
False
0
c2qjpqr
t3_l7bjb
null
t1_c2qjpqr
t3_l7bjb
null
1427715449
1
t5_2fwo
null
null
null
True
tau-lepton
null
There were, and are, choices: Flash, Silverlight, Applets, JavaFX. They all failed, or are failing, for most web applications. Check out coffeescript, it cleans up a few of JS worts without hiding its underlying behavior.
null
0
1318330499
True
0
c2qjpwb
t3_l765i
null
t1_c2qjpwb
t1_c2qi0xq
null
1427715451
1
t5_2fwo
null
null
null
True
ascii
null
No but the Dart-to-javascript compiler includes a dart runtime library into the compiled js code. You could argu that this is equivalent to linking, and that seems to be what the parent was referring to. And yes, it seems that the entire runtime library, all 17000 lines of it, are automatically included, even in the ti...
null
0
1318330541
False
0
c2qjpzb
t3_l7wry
null
t1_c2qjpzb
t1_c2qiyph
null
1427715453
3
t5_2fwo
null
null
null
True
[deleted]
null
Your version clobbers print for the entire global namespace (remember that serious js flaw?), you might have other things loaded which aren't dart which rely on the functionality in print. Your version also sets the change at runtime before being called, not at the time of call. contrived example: print$getter =...
null
0
1318330631
False
0
c2qjq5l
t3_l7wry
null
t1_c2qjq5l
t1_c2qjnbr
null
1427715455
6
t5_2fwo
null
null
null
True
[deleted]
null
Headers are still the crappiest thing about c++. Is it because the compiler is still single pass? Geez how about updating that so i dont have to have my stuff in millions of different places.
null
0
1318330721
False
0
c2qjqc4
t3_l57iw
null
t1_c2qjqc4
t3_l57iw
null
1427715457
2
t5_2fwo
null
null
null
True
tau-lepton
null
I may take the coffescript leap this weekend, any pointers?
null
0
1318330896
False
0
c2qjqol
t3_l7wry
null
t1_c2qjqol
t1_c2qjbur
null
1427715462
3
t5_2fwo
null
null
null
True
tau-lepton
null
What adoption?
null
0
1318330957
False
0
c2qjqso
t3_l7wry
null
t1_c2qjqso
t1_c2qize4
null
1427715463
4
t5_2fwo
null
null
null
True
TheWix
null
QML looks pretty interesting. I kinda like how the property binding is done. Wonder if it or anything like it will make it to some kind of standard.
null
0
1318331009
False
0
c2qjqvw
t3_l765i
null
t1_c2qjqvw
t1_c2qh7ep
null
1427715464
1
t5_2fwo
null
null
null
True
[deleted]
null
Are people really still comparing sizes based on programming languages?
null
0
1318331084
False
0
c2qjr10
t3_l7gl3
null
t1_c2qjr10
t1_c2qjms1
null
1427715466
3
t5_2fwo
null
null
null
True
bonzinip
null
grep doesn't need to do that kind of normalization. The problem is that ranges like [a-z] have a complicated meaning that throws all optimizations out of the window. However, nowadays that is the only case when grep will be slow in UTF-8 locales. For all other regexes and for UTF-8 locales, a recent grep will do the...
null
0
1318331116
False
0
c2qjr35
t3_l6xnp
null
t1_c2qjr35
t1_c2qcvjj
null
1427715467
1
t5_2fwo
null
null
null
True
julesjacobs
null
Umm no. The [SAT problem](http://en.wikipedia.org/wiki/Boolean_satisfiability) is explicitly defined as getting CNF as input. That's not the problem with this algorithm. The problem is that it runs in exponential time. Also, the same paragraph you cite says the opposite of your claim that conversion to CNF produces a ...
null
0
1318331193
True
0
c2qjr8q
t3_l80vy
null
t1_c2qjr8q
t1_c2qjnec
null
1427715469
5
t5_2fwo
null
null
null
True
fjonk
null
No, it's not bad. The code you see is a lot of functions that always(it seems like) is included to run any dart code at all, kind of like a javascript engine(a browser or stand-alone) is required to run any javascript code. If you were to print out 'hello world' twice the code wouldn't be twice as big as this, only the...
null
0
1318331203
False
0
c2qjr9b
t3_l7wry
null
t1_c2qjr9b
t1_c2qjfwb
null
1427715469
13
t5_2fwo
null
null
null
True
bonzinip
null
Because in some cases (SJIS) the "a" in abcde could be the second byte in a double-byte character set. SJIS is an ASCII superset (except for \ being replaced by the yen sign), but still needs to be handled carefully.
null
0
1318331218
False
0
c2qjrad
t3_l6xnp
null
t1_c2qjrad
t1_c2qdkoh
null
1427715469
2
t5_2fwo
null
null
null
True
mikesamuel
null
Ok. I'll look into that. [ground rules](http://code.google.com/p/owasp-java-html-sanitizer/wiki/AttackReviewGroundRules) > If you find the web interface cumbersome, feel free to download and test the sanitizer directly. See [GettingStarted](http://code.google.com/p/owasp-java-html-sanitizer/wiki/GettingStarted) ...
null
0
1318331226
False
0
c2qjrav
t3_l7bjb
null
t1_c2qjrav
t1_c2qjpqr
null
1427715470
1
t5_2fwo
null
null
null
True
tau-lepton
null
Agreed, it makes me want to scream when I see Google doing this. Instead of Go, contribute to D (or Haskell or Scala); instead of Dart contribute to Haxe or Coffescript. I understand that they have an army of computer scientists, it doesn't mean they have to invent a new language every year.
null
0
1318331273
False
0
c2qjre7
t3_l7wry
null
t1_c2qjre7
t1_c2qirnw
null
1427715472
4
t5_2fwo
null
null
null
True
diskis
null
ctrl+c can be substituted with a right-click anywhere in the window.
null
0
1318331344
False
0
c2qjrj1
t3_l7bjb
null
t1_c2qjrj1
t1_c2qjhnp
null
1427715473
3
t5_2fwo
null
null
null
True
killerstorm
null
> Your version clobbers print for the entire global namespace They can't change it locally either. Read my lips: getter function has no benefits. > contrived example: What is difference between thing you wrote and a simple print function? function print (thing) { if (!not_enough_time_since_last_pri...
null
0
1318331366
False
0
c2qjrki
t3_l7wry
null
t1_c2qjrki
t1_c2qjq5l
null
1427715473
4
t5_2fwo
null
null
null
True
the-fritz
null
oh, I guess you have to create an account first.
null
0
1318331536
False
0
c2qjrvy
t3_l7gl3
null
t1_c2qjrvy
t1_c2qjnb4
null
1427715477
1
t5_2fwo
null
null
null
True
tau-lepton
null
Um, this QML http://sneezy.cs.nott.ac.uk/QML/ Sorry for the confusion
null
0
1318331549
False
0
c2qjrwu
t3_l765i
null
t1_c2qjrwu
t1_c2qjqvw
null
1427715478
1
t5_2fwo
null
null
null
True
Blahbl4hblah
null
google fanboi's...to arms! defend this idiocy at all cost!
null
0
1318331654
False
0
c2qjs35
t3_l7wry
null
t1_c2qjs35
t3_l7wry
null
1427715480
-7
t5_2fwo
null
null
null
True
Felicia_Svilling
null
correct
null
0
1318331706
False
0
c2qjs74
t3_l6uwv
null
t1_c2qjs74
t1_c2qds09
null
1427715481
1
t5_2fwo
null
null
null
True
diamondjim
null
I think that only works if you have enabled QuickEdit mode in the properties panel for that window.
null
0
1318331712
False
0
c2qjs7l
t3_l7bjb
null
t1_c2qjs7l
t1_c2qjrj1
null
1427715481
2
t5_2fwo
null
null
null
True
runedk
null
To qualify as an experiment it should be novel. Prototype inheritance was not invented in JavaScript. The dynamic semantics of prototype inheritance is a good fit for dynamically typed object-oriented languages. Attempts to introduce classes into JavaScript (also found in this presentation) is at best a white lie. To ...
null
0
1318331734
True
0
c2qjs9d
t3_l765i
null
t1_c2qjs9d
t1_c2qj3cv
null
1427715483
1
t5_2fwo
null
null
null
True
[deleted]
null
You clobbered print for everyone, *again*, you could replace the "return function" way they do it with a function that just wraps print, but then you have the exact same amount of indirection. I don't know why they return a function instead of wrapping but presumably they have their reasons. JavaScript has had C-like ...
null
0
1318331822
False
0
c2qjsfb
t3_l7wry
null
t1_c2qjsfb
t1_c2qjrki
null
1427715484
1
t5_2fwo
null
null
null
True
Felicia_Svilling
null
fred is the result of a function, so why shouldn't it look any different?
null
0
1318331845
False
0
c2qjshb
t3_l6uwv
null
t1_c2qjshb
t1_c2qbntj
null
1427715485
0
t5_2fwo
null
null
null
True
igor_sk
null
Try [this](http://www.google.com/search?q=n3290+fdis) instead.
null
0
1318331930
False
0
c2qjsnr
t3_l7gl3
null
t1_c2qjsnr
t1_c2qivur
null
1427715488
2
t5_2fwo
null
null
null
True
Felicia_Svilling
null
That wouldn't be accurate anyhow as any function you call is able to allocate as much memory as it wants to.
null
0
1318332025
False
0
c2qjsv6
t3_l6uwv
null
t1_c2qjsv6
t1_c2qcr6g
null
1427715490
1
t5_2fwo
null
null
null
True
notSorella
null
JScript is the engine used in old IEs. JScript> [1,2,].length // => 3 SM> [1,2,].length // => 2 V8> [1,2,].length // => 2 JScript> {a: 1, b: 2, } // => SyntaxError SM> {a: 1, b: 2, } // => {a : 1, b : 2 } V8> {a: 1, b: 2, } // => {a :...
null
0
1318332058
True
0
c2qjsy7
t3_l765i
null
t1_c2qjsy7
t1_c2qheuq
null
1427715492
2
t5_2fwo
null
null
null
True
psyker
null
Some? Up to 28% of English vocabulary is derived from Latin. ([source](http://en.wikipedia.org/wiki/English_vocabulary#Word_origins)) </almost-completely-unrelated-fact>
null
0
1318332091
False
0
c2qjt0z
t3_l6yn1
null
t1_c2qjt0z
t1_c2qjg4a
null
1427715493
1
t5_2fwo
null
null
null