archived
stringclasses
2 values
author
stringlengths
3
20
author_fullname
stringlengths
4
12
body
stringlengths
0
22.5k
comment_type
stringclasses
1 value
controversiality
stringclasses
2 values
created_utc
stringlengths
10
10
edited
stringlengths
4
12
gilded
stringclasses
7 values
id
stringlengths
1
7
link_id
stringlengths
7
10
locked
stringclasses
2 values
name
stringlengths
4
10
parent_id
stringlengths
5
10
permalink
stringlengths
41
91
retrieved_on
stringlengths
10
10
score
stringlengths
1
4
subreddit_id
stringclasses
1 value
subreddit_name_prefixed
stringclasses
1 value
subreddit_type
stringclasses
1 value
total_awards_received
stringclasses
19 values
True
[deleted]
null
Reddit does not require a reddit sign in to read.
null
0
1316275203
False
0
c2kk1l6
t3_kikut
null
t1_c2kk1l6
t1_c2kjvap
null
1427612005
11
t5_2fwo
null
null
null
True
BlatantFootFetishist
null
It doesn't really tell you anything more than "Swap(i, j int)". While that comment might not need updating, it is visible to everyone reading that source file. Multiply that comment by 10, and now your source code becomes much harder to read. You end up with green all over the place, and you simply have to ignore the green to be able to focus on the code. Now, if any one of those comments is important, you've won't notice it.
null
0
1316275212
False
0
c2kk1mg
t3_kikut
null
t1_c2kk1mg
t1_c2kjxtc
null
1427612005
-5
t5_2fwo
null
null
null
True
bonzinip
null
Got it now, thanks!
null
0
1316275311
False
0
c2kk1zx
t3_khvyw
null
t1_c2kk1zx
t1_c2kju2k
null
1427612010
1
t5_2fwo
null
null
null
True
curien
null
Apparently, you're so good that you can tell how a proxy that you've never used or seen is configured.
null
0
1316275382
False
0
c2kk292
t3_khtwb
null
t1_c2kk292
t1_c2kk14j
null
1427612013
1
t5_2fwo
null
null
null
True
KARMA_P0LICE
null
The joke is that he could have just used a post request, and then we wouldn't have ridiculous urls.
null
0
1316275452
False
0
c2kk2iy
t3_khtwb
null
t1_c2kk2iy
t1_c2kf8r4
null
1427612018
1
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1316275458
False
0
c2kk2jn
t3_ki83r
null
t1_c2kk2jn
t3_ki83r
null
1427612018
3
t5_2fwo
null
null
null
True
[deleted]
null
The only people I called junior "programmers" were the ones who read Microsoft and immediately foam at the mouth and spam their usual "m$ huehue I use GNUUU" comments on every single .NET thread. It's very annoying and makes the entire subreddit look bad. Just see one of the replies made to my parent comment. Completely moronic.
null
0
1316275533
False
0
c2kk2sg
t3_kii9z
null
t1_c2kk2sg
t1_c2kjz88
null
1427612020
6
t5_2fwo
null
null
null
True
masklinn
null
If you have previously logged in a google service, yes: logging out of google services keeps a tracking cookie in place which will prevent you from using even Groups if you're not logged in. Unless you remove that cookie, of course. Which you should. And then you should only log into google services in an incognito window or a dedicated user account (or browser).
null
0
1316275543
False
0
c2kk2tk
t3_kikut
null
t1_c2kk2tk
t1_c2kjrin
null
1427612021
9
t5_2fwo
null
null
null
True
Iceland_jack
null
You're doing a terrific job, Sir.
null
0
1316275553
False
0
c2kk2v1
t3_kii9z
null
t1_c2kk2v1
t1_c2kjjbi
null
1427612021
14
t5_2fwo
null
null
null
True
asteroidB612
null
That you could actually define such a dialect in Lisp (Common Lisp at least) as a DSL and never have to leave the current image to do so _and_ retain full access to the native standardized language simultaneously is what i find enlightening about Common Lisp.
null
0
1316275658
False
0
c2kk39e
t3_kicbo
null
t1_c2kk39e
t1_c2kjqm5
null
1427612034
2
t5_2fwo
null
null
null
True
ErstwhileRockstar
null
You are reading a HTML page now. HTML is not object-oriented. OMG, we are doomed! There's an object-HTML impedance mismatch throughout the WWW. Let's quickly create OH-mappers so that we can frictionless use the internets in the future. EDIT: "[you should not just accept, but embrace, the impedance mismatch](http://www.reddit.com/r/programming/comments/6agdr/two_common_mistakes_when_using_databases/c03bfjq)"
null
0
1316275799
True
0
c2kk3sa
t3_ki83r
null
t1_c2kk3sa
t1_c2kjeuk
null
1427612042
4
t5_2fwo
null
null
null
True
LetsGetDigital
null
It's *locked* to a **gigantic** framework, with a massive install base. You get Windows/WinPhone/XBox, add Mono into the equation and now that includes [Android, BSD, iOS, Linux, Mac OS X, Solaris, and Unix operating systems as well as PlayStation 3, Wii](http://en.wikipedia.org/wiki/Mono_%28software%29). It's not a pretty big deal, nor an obvious flaw. There are valid reasons to count this as a negative, such as already having a large codebase using a different framework.
null
0
1316276075
True
0
c2kk4u7
t3_kii9z
null
t1_c2kk4u7
t1_c2kjz88
null
1427612051
11
t5_2fwo
null
null
null
True
Zarutian
null
Nope.
null
0
1316276076
False
0
c2kk4ub
t3_ki52y
null
t1_c2kk4ub
t1_c2kgfgh
null
1427612051
2
t5_2fwo
null
null
null
True
21echoes
null
"there's no convincing you" is generally something reserved for when you've actually tried convincing me many times with many different lines of solid argument, not just two halfbaked thoughts.
null
0
1316276092
False
0
c2kk4wf
t3_kg2sg
null
t1_c2kk4wf
t1_c2kinye
null
1427612052
1
t5_2fwo
null
null
null
True
simonask
null
The main problem with C++ templates is not its complexity or power, but rather their lack of syntactic sugar. Consider: template <typename A> class Foo { typename A::B b; }; versus fantasy-C++: class<A> Foo { A::B b; }; Similarly, template functions could be declared something like this (again, fantasy-C++): void sort<C, Compare>(C& container, Compare cmp = std::less<C::value_type>()); versus standard C++11: template <typename C, typename Compare = std::less<typename C::value_type>> void sort(C& container, Compare cmp = Compare()); … And I'm not even sure that's entirely correct. I realize that this simple syntax cannot directly represent all current uses of C++ templates, but it's definitely *doable* in the compiler, and would make the *most common* uses of templates much more readable, which in turn would encourage more generic programming (which is a good thing, as long as it doesn't hurt maintainability too much).
null
0
1316276119
False
0
c2kk507
t3_kikut
null
t1_c2kk507
t1_c2kjzyw
null
1427612052
12
t5_2fwo
null
null
null
True
kirakun
null
C++ templates are great. Only two flaws: (1) Those horrible, horrible compiler error messages (even with clang), and (2) the compile time is long; link time is also long because of removal of redundant code. Does anyone know any update on (2)? Compiling headers are mitigated by precompiled headers, but what about linking? Will each object file still contains a copy of the instantiated template code only to be removed at link time later?
null
0
1316276166
False
0
c2kk56l
t3_kikut
null
t1_c2kk56l
t1_c2kjzl2
null
1427612053
3
t5_2fwo
null
null
null
True
grauenwolf
null
I never said that Haskell was.
null
0
1316276372
False
0
c2kk5y9
t3_kfvm7
null
t1_c2kk5y9
t1_c2ki6gf
null
1427612061
1
t5_2fwo
null
null
null
True
blinks
null
I'm pretty sure I said that in this line: > This means the halting problem is unsolvable in the *general* case.
null
0
1316276416
False
0
c2kk644
t3_hdeg3
null
t1_c2kk644
t1_c2kgwxu
null
1427612063
1
t5_2fwo
null
null
null
True
audaxxx
null
It uses SQLAlchemy. If you hate ORMs, take a look at it, maybe it will convince you too ;)
null
0
1316276441
False
0
c2kk67g
t3_ki83r
null
t1_c2kk67g
t1_c2kjem6
null
1427612065
3
t5_2fwo
null
null
null
True
skier_
null
What do I get if i make a bot for it? :P
null
0
1316276470
False
0
c2kk6bh
t3_jxek5
null
t1_c2kk6bh
t3_jxek5
null
1427612066
1
t5_2fwo
null
null
null
True
BrainInAJar
null
> Unicode didn't include something that looked like a glare just for shits and giggles. not in this case anyhow. But it did include a snowman ☃
null
0
1316276542
False
0
c2kk6ky
t3_kicbo
null
t1_c2kk6ky
t1_c2khozj
null
1427612069
25
t5_2fwo
null
null
null
True
[deleted]
null
Er, it tells you *what it is that's being swapped*, which may not be immediately obvious from the definition, and since it's abstract, there's no implementation to check.
null
0
1316276661
False
0
c2kk70t
t3_kikut
null
t1_c2kk70t
t1_c2kk1mg
null
1427612076
5
t5_2fwo
null
null
null
True
grauenwolf
null
What evidence would you accept? A DivDev employee "I love Mono" tatoo on their forehead? Clearly the amount of open source libraries Microsoft created and Mono now ships isn't enough evidence for you. And you certainly don't care that the System.IO classes were specifically designed to be file system agnostic. If I told you that the Moonligh guys were given a copy of the Silverlight unit tests would you believe me? Or would you demand to see a press release? Let's turn this around. How many people in DivDev have *you* talked to? Where is your evidence that Microsoft hates Mono?
null
0
1316276698
False
0
c2kk75s
t3_kgl4f
null
t1_c2kk75s
t1_c2kibd9
null
1427612078
2
t5_2fwo
null
null
null
True
roopeshv
null
no it does not. requires sign in to post(just like reddit).
null
0
1316276705
False
0
c2kk76q
t3_kikut
null
t1_c2kk76q
t1_c2kjrin
null
1427612078
4
t5_2fwo
null
null
null
True
chris-martin
null
I was thinking function ಠ_ಠ (x) { throw x; } function setWidth(width) { if (width < 0) ಠ_ಠ ('width must be >= 0'); ...
null
0
1316276726
False
0
c2kk79e
t3_kicbo
null
t1_c2kk79e
t1_c2kjmp1
null
1427612079
31
t5_2fwo
null
null
null
True
[deleted]
null
Thanks!
null
0
1316276767
False
0
c2kk7ev
t3_kii9z
null
t1_c2kk7ev
t1_c2kk2v1
null
1427612081
-7
t5_2fwo
null
null
null
True
useful_idiot
null
I believe this is the case due to the fact that ATI cards have significantly more "stream processors" which are able to perform simple operations, while nvidia cards have less "cuda cores" which can perform more complex instructions. Hopefully I havent bought into a bunch of bullshit marketing terms.
null
0
1316276783
False
0
c2kk7gw
t3_khryi
null
t1_c2kk7gw
t1_c2kiyuo
null
1427612082
1
t5_2fwo
null
null
null
True
reckoner23
null
Its not patents that are the problem, its software patents. Its impossible to write a well conceived application without violating at least 1 patent.
null
0
1316276884
False
0
c2kk7u8
t3_khvyw
null
t1_c2kk7u8
t1_c2kjpda
null
1427612088
7
t5_2fwo
null
null
null
True
danharaj
null
Having two syntaxes, one for common uses, and one for full power is the sort of compromise I would expect to be a plausible alternative because the system is too powerful and complex. Good syntax falls out naturally from a formalism that is not too powerful and not too complicated. A lot of C++'s syntactic struggles are caused by complexity and power. It's good to find the right level of generality, not the maximal level of generality. It's better to be unable to express all that you could conceive if extending the system to accommodate all expressions would result in schizophrenic syntax and obscure semantics. We agree that the syntax sucks. I claim the semantics suck, too. Template error messages are as bloated and impenetrable as they are because of template semantics. Concepts would have mitigated the problem somewhat at the expense of having the programmer pencil in readable semantics at appropriate places. Still, it's another case of schizophrenia, where you have to adjoin two systems to get something manageable. Heck, templates are *accidentally* Turing complete. That goes to show how murky their depths are.
null
0
1316276903
False
0
c2kk7x8
t3_kikut
null
t1_c2kk7x8
t1_c2kk507
null
1427612088
8
t5_2fwo
null
null
null
True
traeria
null
This ebook is useful when you get past the beginner stage: [x86 Assembly (wikibooks)](http://en.wikibooks.org/wiki/X86_Assembly)
null
0
1316277024
False
0
c2kk8d4
t3_khxzd
null
t1_c2kk8d4
t3_khxzd
null
1427612095
2
t5_2fwo
null
null
null
True
attrition0
null
[Mono](http://www.mono-project.com/Main_Page)
null
0
1316277027
False
0
c2kk8dk
t3_kii9z
null
t1_c2kk8dk
t1_c2kjemu
null
1427612095
0
t5_2fwo
null
null
null
True
__j_random_hacker
null
That's helpful, thanks. So it seems that Go's interfaces are halfway between Java's baked-into-the-class interfaces and the kind of interfaces that are consumed by function templates in C++, where the "interface methods" required by the template are determined implicitly from the names of functions actually called in that template, rather than explicitly listed in a `type ... interface` statement as in Go. The C++ function template approach is quite powerful because it means you never have to cast anything -- if a type has methods (or global functions) with the right names and signatures available, then objects of that type will "just work" with the function template. (A very common example is that any type which supplies `operator<()` will "just work" with function templates used for sorting or binary searching a sorted container.) While I can see that Go's approach of forcing the programmer to explicitly cast to an interface type is a good thing insofar as it forces the programmer to be explicit about her intentions (and thus provides some "documentation"), it seems to me that it would be even better to have a statement that declares once and for all that "Type T implements interface I", rather than require casts every time a T needs to be treated as an I. This declaration should be allowed to appear anywhere (i.e. unlike in Java, it would *not* need to appear within the declaration of T), meaning that you would be able to "tack on" new interfaces to an existing type without having to modify the source for that type.
null
0
1316277047
False
0
c2kk8fq
t3_kikut
null
t1_c2kk8fq
t1_c2kjjwa
null
1427612095
4
t5_2fwo
null
null
null
True
imbcmdth
null
No. WebWorkers are more like multiple processes (pages) with a glacially slow IPC mechanism than they are a model for concurrent execution with data-sharing like threads.
null
0
1316277113
False
0
c2kk8p2
t3_ki1gj
null
t1_c2kk8p2
t1_c2kigge
null
1427612098
2
t5_2fwo
null
null
null
True
BlatantFootFetishist
null
Again, "Swap swaps the elements with indexes i and j" doesn't really tell you anything more than "Swap(i, j int)". If there is a problem with "Swap(i, j int)", rename the variables. Using comments/documentation instead of good variable naming is poor form.
null
0
1316277130
False
0
c2kk8r8
t3_kikut
null
t1_c2kk8r8
t1_c2kk70t
null
1427612100
-3
t5_2fwo
null
null
null
True
LetsGetDigital
null
Languages don't have a speed. You could make Python sing with PyPy, and you can make C# crawl by using lots of reflection.
null
0
1316277189
False
0
c2kk8z3
t3_kii9z
null
t1_c2kk8z3
t1_c2kjz2i
null
1427612101
0
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1316277191
False
0
c2kk8zr
t3_kepcp
null
t1_c2kk8zr
t1_c2jve8z
null
1427612102
1
t5_2fwo
null
null
null
True
livings124
null
I don't believe in complexity for the sake of complexity. Ease of readability trumps having to decipher what a variable means and needing a regex to find them.
null
0
1316277204
False
0
c2kk91v
t3_kikut
null
t1_c2kk91v
t1_c2kjqh1
null
1427612102
3
t5_2fwo
null
null
null
True
KyteM
null
It's funny. I learned English and Spanish side-by-side (the perks of having an English teacher for mother), and while I think about daily stuff in Spanish, programming just *must* be in English, or it just doesn't click. It's like Spanish's inherently more awkward to use for programming. I suspect it has to do with all the made-up words.
null
0
1316277302
False
0
c2kk9fu
t3_kicbo
null
t1_c2kk9fu
t1_c2kjosr
null
1427612107
3
t5_2fwo
null
null
null
True
harlows_monkeys
null
> Except the business of first to file that is > If I write a clever piece of code and some douche sees it, and then patents it because I don't care for software patents, I could easily end up being extorted by said douche because he holds a patent on my idea That is completely incorrect. Under the old first to invent system they would not be able to patent your idea because they did not invent it. Under the new first to file system it works **exactly** **the** **same**. First to invent only changes what happens when two or more people who all would otherwise qualify for a patent are claiming overlapping inventions. Since the person who looked at your code and ran to the patent office doesn't qualify for a patent, it doesn't matter what the priority rules are for resolving competing claims. The new rules do make it easier to find prior art to stop people who try to patent things that were invented earlier, so would make it less likely that someone could sneak a patent for your code past the PTO than under the old system.
null
0
1316277332
False
0
c2kk9jp
t3_khvyw
null
t1_c2kk9jp
t1_c2khhzc
null
1427612109
7
t5_2fwo
null
null
null
True
harlows_monkeys
null
> Doesn't first-to-file eliminate prior art as a means of invalidating a patent unless that prior art was patented No.
null
0
1316277411
False
0
c2kk9v1
t3_khvyw
null
t1_c2kk9v1
t1_c2kh6ff
null
1427612113
6
t5_2fwo
null
null
null
True
masklinn
null
Data sharing is not really relevant, point is that they're a task parallel tool, where RiverTrail looks like a data parallel tool first and foremost. That threads are faster and broken is an implementation detail more than a shift in concurrency model.
null
0
1316277428
False
0
c2kk9xh
t3_ki1gj
null
t1_c2kk9xh
t1_c2kk8p2
null
1427612118
2
t5_2fwo
null
null
null
True
gotnate
null
Not to mention 💩.
null
0
1316277466
True
0
c2kka2p
t3_kicbo
null
t1_c2kka2p
t1_c2kj7cw
null
1427612116
13
t5_2fwo
null
null
null
True
gotnate
null
And a full color cactus /🌵
null
0
1316277547
True
0
c2kkaeb
t3_kicbo
null
t1_c2kkaeb
t1_c2kk6ky
null
1427612120
3
t5_2fwo
null
null
null
True
harlows_monkeys
null
That is not incorrect. The only thing first to file vs invent changes is what happens when two or more inventors who are otherwise entitled to patents are trying to patent overlapping inventions.
null
0
1316277591
False
0
c2kkakh
t3_khvyw
null
t1_c2kkakh
t1_c2kfh12
null
1427612122
5
t5_2fwo
null
null
null
True
LetsGetDigital
null
Seriously. I have to port a C++ library to use in F#. Every time I open VC++ its like "Welcome to hell, fuck you."
null
0
1316277821
False
0
c2kkbdx
t3_khtuh
null
t1_c2kkbdx
t1_c2kdep4
null
1427612132
3
t5_2fwo
null
null
null
True
simonask
null
I mainly agree, except for this: > Template error messages are as bloated and impenetrable as they are because of template semantics. When was the last time you used a modern C++ compiler? This is rarely an issue these days, even for complex code.
null
0
1316277858
False
0
c2kkbix
t3_kikut
null
t1_c2kkbix
t1_c2kk7x8
null
1427612135
2
t5_2fwo
null
null
null
True
BrainInAJar
null
point being it's completely feasible that look of disapproval would've been included for shits and giggles. It just happens that it came from a real language
null
0
1316277931
False
0
c2kkbsg
t3_kicbo
null
t1_c2kkbsg
t1_c2kkaeb
null
1427612138
12
t5_2fwo
null
null
null
True
danharaj
null
2 years actually. I'm glad I'm behind the times at least.
null
0
1316277934
False
0
c2kkbst
t3_kikut
null
t1_c2kkbst
t1_c2kkbix
null
1427612138
5
t5_2fwo
null
null
null
True
s_brin
null
I don't think first to file is good for independent programmers. It also doesn't clean up the disaster that is the Patent Office itself.
null
0
1316277985
False
0
c2kkbzj
t3_khvyw
null
t1_c2kkbzj
t3_khvyw
null
1427612140
0
t5_2fwo
null
null
null
True
LetsGetDigital
null
Half agree, half disagree. Proprietary stuff sometimes is free, sometimes has obscene licensing costs.
null
0
1316278047
False
0
c2kkc7u
t3_kii9z
null
t1_c2kkc7u
t1_c2kjekz
null
1427612143
2
t5_2fwo
null
null
null
True
lkbm
null
I can read the post and both linked source files without being logged in. Not sure why it would require it for you. EDIT: masklinn seems to think it's because you've logged into Google previously and still have their cookies. So it's only required if it's not a problem. Dumb, but hardly a major barrier to entry.
null
0
1316278293
True
0
c2kkd3p
t3_kikut
null
t1_c2kkd3p
t1_c2kk1l6
null
1427612156
3
t5_2fwo
null
null
null
True
jsonlau
null
Ask me after you really do it and can prove it. It would be easier for me to patch it than for you to break it. :P
null
0
1316278295
False
0
c2kkd45
t3_jxek5
null
t1_c2kkd45
t1_c2kk6bh
null
1427612156
1
t5_2fwo
null
null
null
True
[deleted]
null
It adds tons of entries in the "add and remove programs" list. Edit: OK, let me add another one: many refused to go after I uninstalled it.
null
0
1316278327
True
0
c2kkd8o
t3_khtuh
null
t1_c2kkd8o
t3_khtuh
null
1427612157
0
t5_2fwo
null
null
null
True
LetsGetDigital
null
I'm guessing no, but is this going to appear in the express editions?
null
0
1316278354
False
0
c2kkdd6
t3_kg44k
null
t1_c2kkdd6
t1_c2k0cxu
null
1427612165
1
t5_2fwo
null
null
null
True
noumuon
null
what i'm saying is that you're looking solely for some benefit from a field where quite a large portion has none. when you have to ask "why do this?" to something in mathematics, you're ignoring a large part of the field. why do it? because you can, and it exists to be done. i'm also likewise curious what big words i used.
null
0
1316278357
False
0
c2kkddn
t3_khf6j
null
t1_c2kkddn
t1_c2kf7r4
null
1427612160
1
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1316278415
False
0
c2kkdlg
t3_kii9z
null
t1_c2kkdlg
t1_c2kjleb
null
1427612161
1
t5_2fwo
null
null
null
True
simonask
null
Ah, that would indeed explain it. :) The lives of C++ developers have been made significantly easier by the sudden competition GCC started receiving from Clang. Both compilers are lightyears ahead of the status quo from 2 years ago, also in terms of error messages regarding templates. Still, of course, the problems in the C++ language remains unsolved.
null
0
1316278539
False
0
c2kke25
t3_kikut
null
t1_c2kke25
t1_c2kkbst
null
1427612168
7
t5_2fwo
null
null
null
True
KyteM
null
ಠ\_ಠ Sure, ask for something that nobody outside of MS's HR/IT depts could ever answer. My guess? 0%. 'cause it's *obvious* they wouldn't *eschew* VS. That's just plain stupid.
null
0
1316278577
False
0
c2kke8s
t3_kgl4f
null
t1_c2kke8s
t1_c2kivn6
null
1427612171
1
t5_2fwo
null
null
null
True
multiple-value-prog1
null
But it's still single-dispatch, which sucks.
null
0
1316278685
False
0
c2kkeo0
t3_kikut
null
t1_c2kkeo0
t3_kikut
null
1427612175
13
t5_2fwo
null
null
null
True
generalT
null
:: shudders :: this is amazing.
null
0
1316278685
False
0
c2kkeo2
t3_kii9z
null
t1_c2kkeo2
t3_kii9z
null
1427612175
1
t5_2fwo
null
null
null
True
noumuon
null
looking at his work, i don't know that i can necessarily call it extraordinary compared to the broader scope of things that get published on a regular basis. he's certainly a great mathematician, but you're talking about a field where some of the greatest minds so far have contributed to. at my university there was a professor who singly handedly developed an entire branch of mathematics back in the 70's to 80's. he's world renowned in many math circles, and i'm not sure i would even consider him *close* to one of the greatest.
null
0
1316278687
False
0
c2kkeod
t3_khf6j
null
t1_c2kkeod
t1_c2khpox
null
1427612175
3
t5_2fwo
null
null
null
True
KyteM
null
I suspect the "No private members" clause might have to do with an inheritance/visibility issue, rather than a case of not wanting to keep state in the components, so who knows. Either way, we just need to wait and see.
null
0
1316278711
False
0
c2kkerz
t3_kgl4f
null
t1_c2kkerz
t1_c2kiq4r
null
1427612177
1
t5_2fwo
null
null
null
True
[deleted]
null
Because they're reserved words?
null
0
1316278716
False
0
c2kkeso
t3_kicbo
null
t1_c2kkeso
t3_kicbo
null
1427612177
-1
t5_2fwo
null
null
null
True
AeroNotix
null
But a $ sign is a perfectly ok?
null
0
1316278907
False
0
c2kkfka
t3_kicbo
null
t1_c2kkfka
t1_c2kjpx8
null
1427612188
1
t5_2fwo
null
null
null
True
joe24pack
null
are you thinking of something similar to [Codd's use of relational algebra for RDBMS'es](http://en.wikipedia.org/wiki/Relational_algebra#Introduction) ?
null
0
1316278911
False
0
c2kkfky
t3_k8vpn
null
t1_c2kkfky
t1_c2iq0dq
null
1427612188
1
t5_2fwo
null
null
null
True
RedditStoleMyUID
null
Indeed..He is a bloody genius. F# in my opinion is going to get much traction in the next generation applications which rely on complex algorithms, data mining and stuff like that. If you haven't then you should read his seminal book on F# - Expert F# (Apress books).
null
0
1316279094
False
0
c2kkgaz
t3_kii9z
null
t1_c2kkgaz
t1_c2kjw1p
null
1427612197
1
t5_2fwo
null
null
null
True
joe24pack
null
just face the fact that you're pushing a boulder uphill that will just roll back down.
null
0
1316279107
False
0
c2kkgcq
t3_ki83r
null
t1_c2kkgcq
t1_c2khuhq
null
1427612198
3
t5_2fwo
null
null
null
True
kankeroo
null
It doesn't cost that much if you already have the lawyers on staff as big business does.
null
0
1316279183
False
0
c2kkgn1
t3_khvyw
null
t1_c2kkgn1
t1_c2kippn
null
1427612202
1
t5_2fwo
null
null
null
True
Steve132
null
Incidentally, your first 'fantacy C++' is valid C++ if you append the template<> and add typename and subtract the <> in front of the function. Its a little slower than the standard version as well because it uses runtime binding of the default comparator instead of compile-timem binding. template<class C,class Compare> void sort(C& container, Compare cmp = std::less<typename C::value_type>()); Furthermore, when you think about it, you'll realize the template<class C,class Compare> format is needed in order to distinguish between the template variables and specializations of a future declared type C. So, really, your way is more ambiguous and decreases run-time speed, in order to avoid typing 16 keystrokes. I see your point about 8 of those keystrokes a little, as typename seems stupid to a human (of COURSE its a type, DUH), but from a compiler implementer standpoint there really is very little way for the compiler to deduce that.
null
0
1316279260
False
0
c2kkgy6
t3_kikut
null
t1_c2kkgy6
t1_c2kk507
null
1427612206
-3
t5_2fwo
null
null
null
True
mooli
null
> With ORMs you lose the ability to query the database No you don't. With shit ones, maybe - but if you're using a shit one that doesn't give the option of hitting the DB direct whenever you need to, you deserve all the pain that's coming to you. Any ORM worth using allows full access to the DB whenever you want it.
null
0
1316279304
False
0
c2kkh4u
t3_ki83r
null
t1_c2kkh4u
t1_c2kirnj
null
1427612208
3
t5_2fwo
null
null
null
True
babazka
null
Some programming languages have a $ sign in their alphabet. PHP, for example. I have no knowledge of any (mainstream) language which uses £ or € signs. My main problem was with accents, though as I now realize they are typed with Alt key in En-UK, as in other layouts.
null
0
1316279333
False
0
c2kkh8w
t3_kicbo
null
t1_c2kkh8w
t1_c2kkfka
null
1427612210
3
t5_2fwo
null
null
null
True
[deleted]
null
The number of lawyers on staff has no impact on the cost to file a patent. If anything it costs more, which is why the patents are normally sent out to patent firms.
null
0
1316279492
False
0
c2kkhvn
t3_khvyw
null
t1_c2kkhvn
t1_c2kkgn1
null
1427612218
0
t5_2fwo
null
null
null
True
[deleted]
null
Visual C++ also makes pretty huge advancements with every release. It's a good time to be a C++ programmer.
null
0
1316279516
False
0
c2kkhy8
t3_kikut
null
t1_c2kkhy8
t1_c2kke25
null
1427612220
4
t5_2fwo
null
null
null
True
[deleted]
null
It doesn't seem to be much of an issue until you're doing extensive template metaprogramming.
null
0
1316279576
False
0
c2kki6g
t3_kikut
null
t1_c2kki6g
t1_c2kk56l
null
1427612223
0
t5_2fwo
null
null
null
True
kankeroo
null
Surely it costs a small business and individual investor more in one-off or infrequent fees per patent filed to hire a private firm than it costs a big business with a large legal department, no? I'm sure Google and Apple already have plenty and plenty of IP lawyers on staff.
null
0
1316279658
False
0
c2kkihr
t3_khvyw
null
t1_c2kkihr
t1_c2kkhvn
null
1427612226
3
t5_2fwo
null
null
null
True
wozer
null
F# *is* open source, BTW. At least somewhat open source. They sometimes publish a source revision ( http://fsharppowerpack.codeplex.com/ ), but the development process is not really OS.
null
0
1316279662
False
0
c2kkii3
t3_kii9z
null
t1_c2kkii3
t1_c2kjeve
null
1427612226
5
t5_2fwo
null
null
null
True
cdsmith
null
Yet another? You're aware of other programming books aimed at kids? I'd love to see some, just as, if nothing else, a new perspective on the class I'm teaching.
null
0
1316279680
False
0
c2kkikn
t3_khrn6
null
t1_c2kkikn
t1_c2kdn3y
null
1427612227
1
t5_2fwo
null
null
null
True
[deleted]
null
Go to Amazon Books / Children's Books / Educational / Computers / Programming
null
0
1316279855
False
0
c2kkj8j
t3_khrn6
null
t1_c2kkj8j
t1_c2kkikn
null
1427612236
1
t5_2fwo
null
null
null
True
banuday
null
HQL is a very useful shorthand for SQL in the context of O/R mapping. * Instead of listing all the columns to needed to map to the object fields, HQL does that for you. This is especially handy if you want to map a lot of nested objects that you want to fetch at the same time through a join. * Relations are much simpler to navigate, because you can join on the property rather than the PK/FK, and it gets even shorter if you have mapping tables implementing many-to-many relationships. * HQL standardizes certain things that vary wildly in SQL between different databases through standard functions (such as dates, why did the RDMS vendors choose such incompatible and atrocious syntax?). TL;DR - HQL is a useful shorthand. It is not designed to replace SQL, considering that Hibernate makes it easy to use native SQL.
null
0
1316279903
True
0
c2kkjf6
t3_ki83r
null
t1_c2kkjf6
t1_c2kj9kv
null
1427612238
1
t5_2fwo
null
null
null
True
plulz
null
Fantasy C++ is not impossible: class Foo(A) { A.B b; } void sort(C, alias cmp)(ref C container) { ... } That's the actual D syntax.
null
0
1316279942
False
0
c2kkjka
t3_kikut
null
t1_c2kkjka
t1_c2kk507
null
1427612240
23
t5_2fwo
null
null
null
True
drb226
null
All I see in this post is a lot of evangelism for programming with interfaces. He picks examples which are clearly well-suited for interfaces, and ignores examples that are well-suited for multiple inheritance. Don't get me wrong, I love me some interface programming, but he makes it sound like multiple inheritance is worthless. (He is probably hinting that way because Go doesn't have multiple inheritance...)
null
0
1316280040
False
0
c2kkjy5
t3_kikut
null
t1_c2kkjy5
t3_kikut
null
1427612245
1
t5_2fwo
null
null
null
True
[deleted]
null
> Surely it costs a small business and individual investor more in one-off or infrequent fees per patent filed to hire a private firm than it costs a big business with a large legal department Lawyers come in different flavors, so having all of them on full time will cost you more money then outsourcing. On average a patent may require around 20 people to work on it before it actually gets filed. That is independent of the average 15K filing fee.
null
0
1316280111
False
0
c2kkk76
t3_khvyw
null
t1_c2kkk76
t1_c2kkihr
null
1427612248
0
t5_2fwo
null
null
null
True
[deleted]
null
> p and d on the other hand are obvious from the context provided. You can see this practice in the [Appengine sample code](http://code.google.com/appengine/docs/go/gettingstarted/usingusers.html) as well: func handler(w http.ResponseWriter, r *http.Request) { c := appengine.NewContext(r) u := user.Current(c) if u == nil { url, err := user.LoginURL(c, r.URL.String()) if err != nil { http.Error(w, err.String(), http.StatusInternalServerError) return } w.Header().Set("Location", url) w.WriteHeader(http.StatusFound) return } fmt.Fprintf(w, "Hello, %v!", u) } What is distinct about Go that permits this standard practice when it's been discouraged in many other languages? E.g., the context is understandable here partly because it fits on the screen but also because I don't have to use another class that starts with W, R, C, or U.
null
0
1316280339
False
0
c2kkl3y
t3_kikut
null
t1_c2kkl3y
t1_c2kj9g6
null
1427612261
2
t5_2fwo
null
null
null
True
AlyoshaV
null
`WEB`     `S`      `C`       `A`        `L`         `E`
null
0
1316280378
False
0
c2kkl9g
t3_kicbo
null
t1_c2kkl9g
t1_c2kjfiu
null
1427612262
2
t5_2fwo
null
null
null
True
ef4
null
That's all correct. But forms aren't the only things that put parameters into URLs. Lots of applications will generate links or redirects that contain parameters. That's probably what happened in this case.
null
0
1316280424
False
0
c2kklfq
t3_khtwb
null
t1_c2kklfq
t1_c2kgdyk
null
1427612265
2
t5_2fwo
null
null
null
True
hardsoft
null
>Companies don't patent stuff unless it can return more value. If they even "think" it can return value, they'll file. Most of the big wigs aren't in technical know how, and may perceive a bigger patent portfolio as valuable in and of itself, regardless of the absurdity of the individual patents. I've seen this before in companies who were looking to sell a division or hoping to get bought up. File every stupid thing under the sun to add perceived value.
null
0
1316280538
False
0
c2kklus
t3_khvyw
null
t1_c2kklus
t1_c2kippn
null
1427612270
3
t5_2fwo
null
null
null
True
albertzeyer
null
I just tested it now. As I expected, it really does work on any application. Carbon applications are all wrapped inside Cocoa objects. E.g., a Carbon application is shown inside a Cocoa NSCarbonWindowContentView object. I'm not sure if the official SIMBL correctly supports this, though. But my patched SIMBL does: https://github.com/albertz/simbl
null
0
1316280847
False
0
c2kkn0a
t3_k0q6s
null
t1_c2kkn0a
t1_c2govsf
null
1427612288
1
t5_2fwo
null
null
null
True
dsquid
null
Which happens all the time in high-stakes areas of the technology business.
null
0
1316280927
False
0
c2kknbb
t3_khvyw
null
t1_c2kknbb
t1_c2kkakh
null
1427612291
1
t5_2fwo
null
null
null
True
pistacchio
null
sorry, i've been a dick for no excusable reason. still mates, i hope :)
null
0
1316280937
False
0
c2kkncl
t3_kikut
null
t1_c2kkncl
t1_c2kjk5j
null
1427612292
2
t5_2fwo
null
null
null
True
banuday
null
Not at all, unless you are aiming for generality to the point of absurdity. In an object oriented language, where most ORMs are used, the relational model is mapped to the object model. Calling technologies like Hibernate or ActiveRecord ORMs is perfectly appropriate.
null
0
1316280952
False
0
c2kknew
t3_ki83r
null
t1_c2kknew
t1_c2kiw4n
null
1427612292
3
t5_2fwo
null
null
null
True
dsquid
null
Because gene sequences are the epitome of prior art and are therefore, on their face, unpatentable. Of course, we don't let little things like law hold us back, eh?
null
0
1316280990
False
0
c2kknjy
t3_khvyw
null
t1_c2kknjy
t1_c2kg9rr
null
1427612293
3
t5_2fwo
null
null
null
True
drb226
null
Exactly what I thought. When I read this part > Somewhere in that stack of applications could be the next technological breakthrough, the next miracle drug I thought to myself...**and you are granting them exclusive rights to these sorts of things why???**
null
0
1316281077
False
0
c2kknvr
t3_khvyw
null
t1_c2kknvr
t1_c2ki5xi
null
1427612297
5
t5_2fwo
null
null
null
True
simonask
null
Hah! Looks awesome. I've been meaning to look further into D for years, but never really got around to it.
null
0
1316281079
False
0
c2kknw6
t3_kikut
null
t1_c2kknw6
t1_c2kkjka
null
1427612297
5
t5_2fwo
null
null
null
True
[deleted]
null
Or function ಠ_ಠ () { $('body').html('ಠ_ಠ').css('font-size','500px'); }
null
0
1316281123
False
0
c2kko2h
t3_kicbo
null
t1_c2kko2h
t1_c2kk79e
null
1427612298
7
t5_2fwo
null
null
null
True
ethraax
null
Isn't that like complaining that Java is "locked" to the JVM, so it's no good?
null
0
1316281130
False
0
c2kko3i
t3_kii9z
null
t1_c2kko3i
t1_c2kjz88
null
1427612298
9
t5_2fwo
null
null
null
True
dsquid
null
Downvoted for the inane title. This wasn't an "Obama did it" action, and this wasn't an overhaul. That said, I think this is bad for the little guy. "First to invent" is IMHO better for the little guy who has limited resources and can't afford to paper the world in patent applications.
null
0
1316281175
False
0
c2kko9q
t3_khvyw
null
t1_c2kko9q
t3_khvyw
null
1427612301
2
t5_2fwo
null
null
null
True
ethraax
null
Why is it that whenever a video is posted from MSDN, half of the comments are complaining about the fact that it "requires" Silverlight, despite there being download links *right there?*
null
0
1316281322
False
0
c2kkovc
t3_kii9z
null
t1_c2kkovc
t3_kii9z
null
1427612309
18
t5_2fwo
null
null
null
True
simonask
null
> Incidentally, your first 'fantacy C++' is valid C++ if you append the template<> and add typename and subtract the <> in front of the function. Yes, that was the idea. :) > Its a little slower than the standard version as well because it uses runtime binding of the default comparator instead of compile-timem binding. Says who? There's more than enough information in there for the compiler to bind the default comparator at compile-time. > Furthermore, when you think about it, you'll realize the template<class C,class Compare> format is needed in order to distinguish between the template variables and specializations of a future declared type C. No. I realize that the names are currently mangled differently, but it's perfectly implementable to have specializations like so: // Generic: void foo<T>(T x) { ... } // Specialization: void foo(MyClass x) { ... } > So, really, your way is more ambiguous and decreases run-time speed, in order to avoid typing 16 keystrokes. See above. > I see your point about 8 of those keystrokes a little, as typename seems stupid to a human (of COURSE its a type, DUH), but from a compiler implementer standpoint there really is very little way for the compiler to deduce that. A compiler could easily assume that it's a typename in the absence of other tokens. Consider: void foo<T, int N>(); // T is a typename, N is an int
null
0
1316281357
False
0
c2kkp0c
t3_kikut
null
t1_c2kkp0c
t1_c2kkgy6
null
1427612311
6
t5_2fwo
null
null
null
True
banuday
null
What a silly article. Of course OO and RDBMS are not equivalent, so a complete 1:1 mapping is neither possible nor reasonable. ORMs provide a very minimal *useful* mapping between a certain subset features the aim of which is to reduce boilerplate code. ORMs *do not* replace SQL.
null
0
1316281511
False
0
c2kkpl8
t3_ki83r
null
t1_c2kkpl8
t1_c2kjeuk
null
1427612319
5
t5_2fwo
null
null
null
True
abreev8
null
You really should give it a chance. Not only is the meta-programming refreshing, the entire language feels well designed. The language spec is practically a work of art. EDIT: Read this book: [The D Programming Language](http://www.amazon.com/D-Programming-Language-Andrei-Alexandrescu/dp/0321635361).
null
0
1316281563
False
0
c2kkpt7
t3_kikut
null
t1_c2kkpt7
t1_c2kknw6
null
1427612325
8
t5_2fwo
null
null
null