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
tau-lepton
null
I gave up on Windows about five years ago.
null
0
1316049387
False
0
c2jybbd
t3_kewkd
null
t1_c2jybbd
t1_c2jx8l9
null
1427601553
2
t5_2fwo
null
null
null
True
[deleted]
null
That's .Net 4...
null
0
1316050131
False
0
c2jyei2
t3_kfuii
null
t1_c2jyei2
t1_c2jxzcv
null
1427601596
0
t5_2fwo
null
null
null
True
criticismguy
null
According to [the jargon file](http://www.catb.org/jargon/html/C/char.html), there are 3 acceptable pronunciations.
null
0
1316050240
False
0
c2jyeye
t3_kejfs
null
t1_c2jyeye
t1_c2jtuoz
null
1427601603
4
t5_2fwo
null
null
null
True
[deleted]
null
Simple solution: Stop being lazy.
null
0
1316050334
False
0
c2jyfd8
t3_kfirl
null
t1_c2jyfd8
t1_c2jy52e
null
1427601608
7
t5_2fwo
null
null
null
True
capnrefsmmat
null
Could you expand on that? I'm only vaguely knowledgeable about either language.
null
0
1316050346
False
0
c2jyfeo
t3_kful5
null
t1_c2jyfeo
t1_c2jy09f
null
1427601608
2
t5_2fwo
null
null
null
True
YakumoFuji
null
more tart than a working girl?
null
0
1316050383
False
0
c2jyfl3
t3_kfvm7
null
t1_c2jyfl3
t3_kfvm7
null
1427601611
-12
t5_2fwo
null
null
null
True
[deleted]
null
This is the guy's blog: http://machinewords.blogspot.com/
null
0
1316050592
False
0
c2jygla
t3_kfvm7
null
t1_c2jygla
t3_kfvm7
null
1428194080
5
t5_2fwo
null
null
null
True
silenti
null
If I wasn't lazy I wouldn't have written the tools in the first place!
null
0
1316050601
False
0
c2jygmt
t3_kfirl
null
t1_c2jygmt
t1_c2jyfd8
null
1428194080
12
t5_2fwo
null
null
null
True
EdgarVerona
null
The screenshot-to-code debugging feature for DirectX gave me a nerdgasm.
null
0
1316050613
False
0
c2jygop
t3_kewkd
null
t1_c2jygop
t3_kewkd
null
1427601629
1
t5_2fwo
null
null
null
True
JohnFrum
null
Does Apple not have a bunch of templates that come with their dev package?
null
0
1316050870
False
0
c2jyhw9
t3_kfirl
null
t1_c2jyhw9
t3_kfirl
null
1427601654
2
t5_2fwo
null
null
null
True
ehird
null
>Let's say I've got a variable named "sum". Why should I have to explicitly initialize it to 0? Let's say I've got a variable named "product". Why should I have to explicitly initialise it to 1?
null
0
1316050925
False
0
c2jyi4d
t3_kfvm7
null
t1_c2jyi4d
t1_c2jy18p
null
1427601651
31
t5_2fwo
null
null
null
True
joesb
null
I think he meant "in the same process", as in one file can be written in Python2 and import another module written in Python3.
null
0
1316050949
False
0
c2jyi7z
t3_kcwx2
null
t1_c2jyi7z
t1_c2jcw1o
null
1427601653
2
t5_2fwo
null
null
null
True
grauenwolf
null
Reddit ate the link, you need the part in parens to see 4.5 stuff.
null
0
1316051408
False
0
c2jyk4s
t3_kfuii
null
t1_c2jyk4s
t1_c2jyei2
null
1427601670
4
t5_2fwo
null
null
null
True
crankydillo
null
It doesn't seem overly interesting that programmers who use a functional non-JVM language prefer a functional JVM language over a hybrid OO-functional one. For a Haskell programmer, I don't see static typing outweighing adopting OO and sacrificing some functional goodness, at least in many cases (particularly small ones). You do mention ocaml. I *think* that is supposed to merge OO with functional, so I'd be more curious about their thoughts. Personally, I'd love to (and plan on) investigate Clojure, but I know it would be a much harder sell than Scala in my workplace. Believe me that is hard enough;)
null
0
1316051465
False
0
c2jykcf
t3_kf2xi
null
t1_c2jykcf
t1_c2jvyhm
null
1427601672
1
t5_2fwo
null
null
null
True
matthewpl
null
But I don't have so much money... If I will have I will start make games for free. ;D My point is that Notch shouldn't be show as programmer which you should follow. There is lots of high skilled programmers that gives you advice how to manage your time, what starts programming first, how you should configure your IDE, etc, etc, etc. Maybe for some people writing about Notch is cool because he makes Minecraft. Yea, sure, Idea of Minecraft is great. (It is also huge opportunity to speak about performance. Writing high performance rendering code for world which can be change in every aspect at any time is really huge problem.) But if you look that with every new version of MC more and more people tells that there is some problems with the game (probably most of them are high skilled programmers) and you started thinking (as (not so high skilled) programmer) about it... yea... Notch is starting to be the biggest problem for Minecraft. He don't know how to finish this project (sometimes he starts adding something and drop it without reason) and probably don't know how to manage that huge project. Why? Updates which (probably) will be in 1.9 should be in 1.7 (as he said), so we have delay but at the same time he doesn't delay MineCon (which is the day when will be release full version of Minecraft). I have problem because the game is fun but at the same time I see more and more bugs and problems with it, so I cannot tell my friends "Hey, but it, now!" because they will spend 15 euro for this (beta when I know that with final 1.0 MC won't be finished because their is no time for fix all bugs and add all promise and missing content and features), when they could buy games like CoD, Battlefield, DE:HR, Civ5 (final release) and so on and so on for 25-30 euro (in Poland games are much cheaper that in EU or US). EDIT: About MineCon, C418 hasn't money for going there. How it is that guy who makes music for MC has to go to Las Vegas for his own money? This is another sad thing (MineCon in Las Vegas).
null
0
1316051573
True
0
c2jykr0
t3_kfiuk
null
t1_c2jykr0
t1_c2jyaok
null
1427601678
-5
t5_2fwo
null
null
null
True
MatrixFrog
null
In Haskell that would be, `x = if y then "sam" else "bob"`. Much simpler.
null
0
1316051605
False
0
c2jykvd
t3_kfvm7
null
t1_c2jykvd
t1_c2jy18p
null
1427601679
3
t5_2fwo
null
null
null
True
tanishaj
null
Do we have to explain every little thing to you? You would think if a Haskell guy would be good at anything it would be research.
null
0
1316051683
False
0
c2jyl7n
t3_kful5
null
t1_c2jyl7n
t1_c2jy4c1
null
1427601684
1
t5_2fwo
null
null
null
True
tanishaj
null
Will I be able to use F# on Mono as well?
null
0
1316051760
False
0
c2jyljj
t3_kful5
null
t1_c2jyljj
t1_c2jy5or
null
1427601688
4
t5_2fwo
null
null
null
True
internetinsomniac
null
It really is
null
0
1316051882
False
0
c2jym24
t3_kepcp
null
t1_c2jym24
t1_c2ju6ex
null
1427601695
2
t5_2fwo
null
null
null
True
KyteM
null
'cause you wanna earn money?
null
0
1316051922
False
0
c2jym8e
t3_kful5
null
t1_c2jym8e
t1_c2jy4c1
null
1427601698
7
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1316052095
False
0
c2jymyn
t3_kewkd
null
t1_c2jymyn
t1_c2jtxa8
null
1427601707
1
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1316052118
False
0
c2jyn1v
t3_kewkd
null
t1_c2jyn1v
t1_c2juubq
null
1427601708
1
t5_2fwo
null
null
null
True
thebru
null
> "It doesn't work" > "Oh, just change the X=52 to X=66 in the header of lib/vars." So many scripts that are quick hacky together things end up being far too central to what you do... I should really start just writing 'clean' scripts.
null
0
1316052210
False
0
c2jynfp
t3_kfirl
null
t1_c2jynfp
t1_c2jy52e
null
1427601714
5
t5_2fwo
null
null
null
True
philip142au
null
Scala is like C++, in C++ many programmers don't know why they should use virtual destructors, they don't use operator overloading, they don't use the more advanced features of C++ and the libraries. They don't use these as they are complex, these C++ programmers stick to the normal C++ they can cope with. The same is true with Scala, you don't need to know what a Monad is in order to use it. You can avoid it if you want to.
null
0
1316052404
False
0
c2jyoas
t3_kf2xi
null
t1_c2jyoas
t3_kf2xi
null
1427601725
-1
t5_2fwo
null
null
null
True
schwede
null
ppl? srsly?
null
0
1316052437
False
0
c2jyog0
t3_kfi8n
null
t1_c2jyog0
t3_kfi8n
null
1427601727
1
t5_2fwo
null
null
null
True
intermediariespursie
null
tryed ot once I tried something such as this plus it worked personally too http://tinyurl.com/3qmkzxz
null
0
1316052520
False
0
c2jyot9
t3_k11vj
null
t1_c2jyot9
t3_k11vj
null
1427601731
0
t5_2fwo
null
null
null
True
mhd420
null
Its a bummer they haven't moved rendering over to Direct2D (the rendering platform used by IE9 and WinRT).
null
0
1316052887
False
0
c2jyqb8
t3_kfuii
null
t1_c2jyqb8
t1_c2jxzcv
null
1427601751
3
t5_2fwo
null
null
null
True
Shasta-
null
You can escape the parenthesis with backslashes. http://msdn.microsoft.com/it-it/library/bb613588\(v=VS.110\).aspx
null
0
1316052892
False
0
c2jyqc0
t3_kfuii
null
t1_c2jyqc0
t1_c2jyk4s
null
1427601751
6
t5_2fwo
null
null
null
True
i8beef
null
Replaced the HtmlEncode methods with the AntiXssLibrary whitelist approach? Yay!
null
0
1316053086
False
0
c2jyr7f
t3_kfuii
null
t1_c2jyr7f
t3_kfuii
null
1427601762
3
t5_2fwo
null
null
null
True
johntb86
null
I'd be worried about noisy links in that case. CTR or a stream cipher should be enough.
null
0
1316053118
True
0
c2jyrci
t3_kfby2
null
t1_c2jyrci
t1_c2jxs8d
null
1427601764
2
t5_2fwo
null
null
null
True
DustinEwan
null
> Seeders : 19 Leechers : 36 Yes please, I'm getting ~20MB/s. So that's very nice.
null
0
1316053201
False
0
c2jyrq3
t3_kewkd
null
t1_c2jyrq3
t1_c2jvx24
null
1427601769
1
t5_2fwo
null
null
null
True
danharaj
null
How many patterns would disappear from languages where they are the dominant currency of design if those languages had strong sum types and lightweight function values?
null
0
1316053423
False
0
c2jyspz
t3_kfuqy
null
t1_c2jyspz
t3_kfuqy
null
1427601782
3
t5_2fwo
null
null
null
True
[deleted]
null
That's what I thought, thanks
null
0
1316053459
False
0
c2jysvq
t3_kejwo
null
t1_c2jysvq
t1_c2jxygu
null
1427601784
1
t5_2fwo
null
null
null
True
ekimt27
null
it may not be the ideal setting, but the point is that it would be completely possible. right now it is NOT. Tablet pc's failed because they were bulky, expensive, and the OS was not designed for them. This one is.
null
0
1316053474
False
0
c2jysym
t3_kejwo
null
t1_c2jysym
t1_c2jy96j
null
1427601788
1
t5_2fwo
null
null
null
True
[deleted]
null
>submitted 1 day ago ahh. fsck.
null
0
1316053487
False
0
c2jyt0l
t3_ke58q
null
t1_c2jyt0l
t3_ke58q
null
1427601787
1
t5_2fwo
null
null
null
True
millstone
null
"Closed door" means they just throw it over the wall once they're done. There's no chance for other stakeholders to have any influence.
null
0
1316053597
False
0
c2jytiq
t3_kfyc7
null
t1_c2jytiq
t1_c2jxzvj
null
1427601793
6
t5_2fwo
null
null
null
True
edthedev
null
Today, you win the internet.
null
0
1316053642
False
0
c2jytp7
t3_kepcp
null
t1_c2jytp7
t1_c2jsoev
null
1427601795
4
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1316053678
False
0
c2jytux
t3_jz7ri
null
t1_c2jytux
t1_c2gap9s
null
1427601798
1
t5_2fwo
null
null
null
True
[deleted]
null
It doesn't worth it.
null
0
1316053712
False
0
c2jyu10
t3_kful5
null
t1_c2jyu10
t1_c2jym8e
null
1427601803
-18
t5_2fwo
null
null
null
True
s_brin
null
Meh. I expect it to be irrelevant just like Google's past attempts to introduce a new language.
null
0
1316053867
False
0
c2jyuq8
t3_kfvm7
null
t1_c2jyuq8
t3_kfvm7
null
1427601816
-11
t5_2fwo
null
null
null
True
onionpostman
null
In C that would be x = y ? "sam" : "bob" ; Way more readable. That is, assuming that in the "sam" and "bob" locations in your example, you intended to do assignments, not equality comparisons.
null
0
1316054069
False
0
c2jyvlb
t3_kfvm7
null
t1_c2jyvlb
t1_c2jy18p
null
1428194076
4
t5_2fwo
null
null
null
True
J_M_B
null
YANPLIDCA
null
0
1316054074
False
0
c2jyvm3
t3_kfvm7
null
t1_c2jyvm3
t3_kfvm7
null
1428194078
0
t5_2fwo
null
null
null
True
unrelatedoccupation
null
["The HDCP specifications ensure constant updating of keys after each encoded frame."](http://en.wikipedia.org/wiki/High-bandwidth_Digital_Content_Protection) The encryption of each pixel in a frame is independent, but the encryption of each frame is more complicated. The Wikipedia article doesn't really detail, though, whether the key for the next frame is dependent on data from the previous frame.
null
0
1316054246
False
0
c2jywda
t3_kfby2
null
t1_c2jywda
t1_c2jxs8d
null
1427601830
2
t5_2fwo
null
null
null
True
ryancerium
null
sizeof(void*) == 8
null
0
1316054492
False
0
c2jyxg6
t3_kf43e
null
t1_c2jyxg6
t1_c2jy36w
null
1427601853
1
t5_2fwo
null
null
null
True
kreadus005
null
I guess I'm the crazy one. I don't like upgrading my operating system faster than I upgrade the hardware on the computer. I like Windows 7. See you in 5 years.
null
0
1316054520
False
0
c2jyxkd
t3_kewkd
null
t1_c2jyxkd
t3_kewkd
null
1427601846
2
t5_2fwo
null
null
null
True
millstone
null
What's great about using C++ on Windows is that there's so many C++'s to choose from! Take your pick from Managed C++, C++/CLI, or the new "C++ with Component Extensions."
null
0
1316054609
False
0
c2jyxzd
t3_kf1hv
null
t1_c2jyxzd
t1_c2jvz8a
null
1427601853
2
t5_2fwo
null
null
null
True
KyteM
null
You accidentally a word. Apart from that, the whole "earn money" thing tends to not be optional for most people. If it is for you, congratulations.
null
0
1316054712
False
0
c2jyygv
t3_kful5
null
t1_c2jyygv
t1_c2jyu10
null
1427601861
7
t5_2fwo
null
null
null
True
ryancerium
null
THIS KID IS A SENIOR IN COLLEGE. I'm going to be very rude here and just flat out say it: He doesn't know shit. Yet. Kudos to him for reading the STL implementation and figuring out what the hell it does, but his understanding is very, very limited. Commenters have very correctly taken him to task for not realizing that all pointers aren't 32 bits, and that managing a container of new'ed or malloc'ed items is a disaster waiting to happen. He seems to know Java or C# really well and assumes that new T() is free. It's not free. It's fucking expensive, unless your copy constructor is fucking expensive. Does he know what a copy constructor is? I doubt it. Other commenters have correctly recommended deque's and other data structures. A vector is a very specific data structure: a smart array. It's required to be contiguous so that you can do weird things like this: std::vector<char> letters; letters.push_back('h'); letters.push_back('i'); letters.push_back('\0'); printf("%s\n", &letters.front()); You can treat it as a C array when necessary. It's powerful, and yet compatible with existing C API's.
null
0
1316055092
False
0
c2jz045
t3_kf43e
null
t1_c2jz045
t3_kf43e
null
1427601881
6
t5_2fwo
null
null
null
True
[deleted]
null
Thanks for the great reply. My largest pet project is in C#, I'll check out xUnit and NUnit, but is there an advantage to using an external testing framework over the "built-in" Visual Studio one?
null
0
1316055166
False
0
c2jz0gs
t3_kepcp
null
t1_c2jz0gs
t1_c2ju6kf
null
1427601892
1
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1316055453
False
0
c2jz1pd
t3_kfvm7
null
t1_c2jz1pd
t1_c2jykvd
null
1427601908
1
t5_2fwo
null
null
null
True
[deleted]
null
Yeah, it's Microsoft, I would think there would be no worry about not maxing out your connection. Torrenting would save some bandwidth but I doubt it makes a difference to them.
null
0
1316055701
False
0
c2jz2sq
t3_kewkd
null
t1_c2jz2sq
t1_c2jvx24
null
1427601918
1
t5_2fwo
null
null
null
True
cengelhard
null
Another design pattern that is invisible with first-class lexical closures.
null
0
1316055734
False
0
c2jz2y3
t3_kfuqy
null
t1_c2jz2y3
t3_kfuqy
null
1427601920
1
t5_2fwo
null
null
null
True
ethraax
null
Even C has support for that: `x = y ? "sam" : "bob";` He could make it much simpler in any language by using an if-else block instead of two if blocks.
null
0
1316055863
False
0
c2jz3gu
t3_kfvm7
null
t1_c2jz3gu
t1_c2jykvd
null
1427601923
6
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1316055898
False
0
c2jz3ng
t3_kfyc7
null
t1_c2jz3ng
t3_kfyc7
null
1427601926
1
t5_2fwo
null
null
null
True
anttirt
null
> remove null altogether This actually requires quite a bit of sophistication on the part of the type system. Think about structures like circularly linked lists. Haskell for example can manage circularly linked lists because it's lazily evaluated: xs :: [Int] xs = 1 : 2 : 3 : xs would create an infinite (circular) list of `[1, 2, 3, 1, 2, 3, 1, 2, 3, ...]`. In C++ you'd write struct node { node* next; node() : next() {} node(node* n) : next(n) {} }; node* a = new node(); node* b = new node(a); a->next = b; but because evaluation is strictly sequential, `a->next` *must* at some point during execution have a garbage or null value. You can remedy this with a type system that permits *temporary* uninitialized states but this gets complicated very quickly; consider for example the no-argument constructor of `struct node` above. The scope in which the `node` object is actually created is an outer scope to `node`'s constructor. This means the type system has to transfer this *eventual-initialization* guarantee beyond function call boundaries! That's a whole lot of trouble if you want to be able to link several units of compiled code together. You'd have to add (or let the compiler add, and suffer unexpected error messages) an annotation to the type (and [name](http://en.wikipedia.org/wiki/Name_mangling)) of `node`'s constructor saying "the member `next` is uninitialized."
null
0
1316055935
True
0
c2jz3ti
t3_kfvm7
null
t1_c2jz3ti
t1_c2jxl4n
null
1427601928
14
t5_2fwo
null
null
null
True
MilkSteak
null
Look both ways before clicking a link.
null
0
1316055938
False
0
c2jz3tv
t3_kevgf
null
t1_c2jz3tv
t1_c2jq1q3
null
1427601928
1
t5_2fwo
null
null
null
True
fullets
null
ISTR reading that the initial version of the standard did indeed omit that requirement accidentally (which then got fixed up in TC1), but nobody actually implemented it that way.
null
0
1316055963
False
0
c2jz3ya
t3_kf43e
null
t1_c2jz3ya
t1_c2jxg33
null
1427601931
2
t5_2fwo
null
null
null
True
ethraax
null
Or because you want to utilize one of a zillion pre-existing libraries for .NET or Java?
null
0
1316055985
False
0
c2jz41l
t3_kful5
null
t1_c2jz41l
t1_c2jym8e
null
1427601931
9
t5_2fwo
null
null
null
True
[deleted]
null
I think at least 70% of apps in the iPhone and Android app stores could be built in pure html5 and javascript using offline cache and local storage. The app store is mostly a way for developers to monetize their applications because people are not used to paying for web apps. I don't really see the need for anymore proprietary, obscure markup languages and frameworks just to use some basic hardware apis. It's interesting that Microsoft of all companies is leading the way in integrating html5 and javascript into native apps. It just makes sense to use a technology that already works instead of re-inventing the wheel. Mobile app companies are wasting so much money employing android, iOS, and windows phone devs when they could just be targeting a single technology.
null
0
1316056049
False
0
c2jz4ax
t3_kg2sg
null
t1_c2jz4ax
t3_kg2sg
null
1427601934
10
t5_2fwo
null
null
null
True
KyteM
null
True, true. You can also make core components in F#, then work UI and such in C# (or right in F#, if so inclined). Flexibility and all that.
null
0
1316056556
False
0
c2jz6hh
t3_kful5
null
t1_c2jz6hh
t1_c2jz41l
null
1427601962
6
t5_2fwo
null
null
null
True
checksinthemail
null
dr. dobbs should be **dr. n00bs**. been doing it since 1998. it pays well, i work at home when i want to. the 'revolution' started around 2004/2005, when large frameworks became possible because everyone had ample bandwidth and client side cpu potential. It ballooned once the JS JIT compilers like V8 came onto the scene. programming languages and frameworks are exactly like the fashion industry - hyped, popularized, then discarded.
null
0
1316056595
False
0
c2jz6nv
t3_ke4a9
null
t1_c2jz6nv
t3_ke4a9
null
1427601965
1
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1316056748
False
0
c2jz7cq
t3_kful5
null
t1_c2jz7cq
t1_c2jyljj
null
1427601974
1
t5_2fwo
null
null
null
True
fried_water
null
Google isn't introducing this language. The creators are just using Google Project Hosting to host the language. Besides that there is no way to know if they are affiliated with Google at all.
null
0
1316056824
False
0
c2jz7p9
t3_kfvm7
null
t1_c2jz7p9
t1_c2jyuq8
null
1427601978
13
t5_2fwo
null
null
null
True
anttirt
null
I'd like to see a comparison to D from the authors of this language.
null
0
1316056886
False
0
c2jz7zg
t3_kfvm7
null
t1_c2jz7zg
t3_kfvm7
null
1427601982
9
t5_2fwo
null
null
null
True
dobryak
null
There's more that compounds the problem, such as aliasing. BTW, the ATS programming language supports separate allocation and initialization via linear types (to put it simply, the type of a given memory location can change over the program evaluation process and the type system helps to track this, assuming that the location is not aliased, of course).
null
0
1316056905
False
0
c2jz82n
t3_kfvm7
null
t1_c2jz82n
t1_c2jz3ti
null
1427601983
3
t5_2fwo
null
null
null
True
periphrasis
null
sizeof(void*) * CHAR_BIT == 64 Bytes aren't guarantied to be eight bits.
null
0
1316056923
False
0
c2jz85a
t3_kf43e
null
t1_c2jz85a
t1_c2jyxg6
null
1427601984
3
t5_2fwo
null
null
null
True
dobryak
null
How does this effort compare to the similar ones (i.e., BitC and ATS)? What are the differences and trade-offs? Is type safety still guaranteed?
null
0
1316057131
False
0
c2jz922
t3_kfvm7
null
t1_c2jz922
t3_kfvm7
null
1427601996
1
t5_2fwo
null
null
null
True
anttirt
null
Indeed. It's unfortunate that ATS has such convoluted syntax. Reading a function declaration with proof terms and whatnot is like trying to decipher line noise. I'm not entirely sure if it *can* be made *significantly* better, although I could think of one or two improvements.
null
0
1316057448
False
0
c2jzag3
t3_kfvm7
null
t1_c2jzag3
t1_c2jz82n
null
1427602015
6
t5_2fwo
null
null
null
True
Silhouette
null
> Your mistake is to conflate the errors one makes in program code (implementation bugs) with the errors caused by a defective test (specification bugs). No, it isn't. But it's very telling that you still seem to assume it is possible to write large amounts of unit testing code without making any implementation mistakes. Either that, or I think you're trying to make a point in response to the wrong original comment; Lerc's point is just as valid whether the errors in the tests are due to incorrect/misunderstood specifications or to simple implementation bugs.
null
0
1316057582
False
0
c2jzb24
t3_kepcp
null
t1_c2jzb24
t1_c2jy7lh
null
1427602023
0
t5_2fwo
null
null
null
True
[deleted]
null
Then wouldn't a 16 bit byte not work in this case?
null
0
1316057651
False
0
c2jzbbv
t3_kf43e
null
t1_c2jzbbv
t1_c2jz85a
null
1427602026
1
t5_2fwo
null
null
null
True
s_brin
null
Oh. That gives it even less chance of being relevant.
null
0
1316057764
False
0
c2jzbss
t3_kfvm7
null
t1_c2jzbss
t1_c2jz7p9
null
1427602032
-4
t5_2fwo
null
null
null
True
jb55
null
Type providers seem pretty damn cool
null
0
1316057789
False
0
c2jzbwp
t3_kful5
null
t1_c2jzbwp
t3_kful5
null
1427602034
7
t5_2fwo
null
null
null
True
dobryak
null
> I'm not entirely sure if it can be made significantly better, although I could think of one or two improvements. I have to agree. However, I find that it's a matter of habit; having put a few years of effort, I can now freely read the code written by the language creator. What are the improvements you are thinking of? I'd like to know.
null
0
1316057820
False
0
c2jzc16
t3_kfvm7
null
t1_c2jzc16
t1_c2jzag3
null
1427602035
4
t5_2fwo
null
null
null
True
brianmcn
null
Yes, but I imagine we probably won't do an open-source drop until at least Beta, things are still in flux and changing a bit right now.
null
0
1316058716
False
0
c2jzfrv
t3_kful5
null
t1_c2jzfrv
t1_c2jyljj
null
1427602084
6
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1316058887
False
0
c2jzggp
t3_kewkd
null
t1_c2jzggp
t1_c2jvk3f
null
1427602102
1
t5_2fwo
null
null
null
True
[deleted]
null
Fuck you bitch.
null
0
1316059009
False
0
c2jzgxm
t3_kful5
null
t1_c2jzgxm
t1_c2jyygv
null
1427602100
-20
t5_2fwo
null
null
null
True
inmatarian
null
The state machine is just one way of storing and returning to a particular block of code. Be it with a Switch statement, subtype polymorphism, or coroutines, it all boils down to a particular means of data-based code flow. If a language lacks innate support for a feature, a design pattern is how that feature is introduced. So, yes, design patterns do disappear if a language includes native support for that feature set.
null
0
1316059225
False
0
c2jzhue
t3_kfuqy
null
t1_c2jzhue
t1_c2jyspz
null
1427602110
4
t5_2fwo
null
null
null
True
ab9003
null
I already explained to you why they wouldn't just be "eating" it.
null
0
1316059519
False
0
c2jzizy
t3_kejwo
null
t1_c2jzizy
t1_c2jya43
null
1427602127
0
t5_2fwo
null
null
null
True
jrue
null
Nope! This isn't actually the State pattern -- it's just the Strategy pattern. The two strategies are similar though, so it's a common mistake. What usually distinguishes the State pattern is that the states are responsible for changing the state of the object. The example could make nice use of the State pattern, for example, if only your shield took damage while in the Shielded state and then switched over to the Normal state once the shield was destroyed. For example: class Shielded : public State { private: Player *player; int health; public: Shielded(Player *player_, int health_): player(player_), health(health_) {} void takeDamage(int i) { health -= i; printf("Your shield just took %d damage\n", i); if (health < 0) player->setStateNormal(); } } EDIT: reference -> pointer in the code
null
0
1316059730
False
0
c2jzjuy
t3_kfuqy
null
t1_c2jzjuy
t3_kfuqy
null
1427602138
7
t5_2fwo
null
null
null
True
UncleOxidant
null
So just to clarify: after I get it installed in VirtualBox, then I start the VM and connect to it via rdesktop instead of having the VM manage it's own virtual video? Do you do something that tells the VM not to start up a video session (sorry, I'm new to VirtualBox)
null
0
1316060035
False
0
c2jzl2w
t3_kewkd
null
t1_c2jzl2w
t1_c2jur04
null
1427602154
1
t5_2fwo
null
null
null
True
SadisticPenguin
null
That's horribly depressing.
null
0
1316060172
False
0
c2jzlm5
t3_kewkd
null
t1_c2jzlm5
t1_c2jxeni
null
1427602160
2
t5_2fwo
null
null
null
True
ethraax
null
At first I thought you meant modelling class hierarchies in 3D.
null
0
1316060516
False
0
c2jzn0o
t3_kg44k
null
t1_c2jzn0o
t3_kg44k
null
1428194064
13
t5_2fwo
null
null
null
True
badcookies
null
Pretty sweet. I thought .Net was bad when it was first coming out, but I love all the new features in Visual Studio and .Net 3.5+, been having a lot of fun using C# the last year.
null
0
1316060601
False
0
c2jznct
t3_kg44k
null
t1_c2jznct
t3_kg44k
null
1427602189
11
t5_2fwo
null
null
null
True
KyteM
null
Well, that was quick. You could've at least pretended you had an argument or something.
null
0
1316060688
False
0
c2jznon
t3_kful5
null
t1_c2jznon
t1_c2jzgxm
null
1427602192
9
t5_2fwo
null
null
null
True
fabzter
null
I'm I the only one waiting them to stop adding features to it?
null
0
1316061181
False
0
c2jzpmp
t3_kfuii
null
t1_c2jzpmp
t3_kfuii
null
1427602221
-6
t5_2fwo
null
null
null
True
_marquete
null
I decided against supporting punctuation keys precisely because of that. I haven't got the hardware and patience to test across different platforms, so I ended up settling for a set of keys that seemed to me to be the most widely supported. Apart from that, I found keypress to have certain issues (e.g. with key codes) that simply didn't seem to make it worthwhile, so I only added support for keydown and keyup. Thanks for your feedback. (:
null
0
1316061862
False
0
c2jzs8x
t3_kfms2
null
t1_c2jzs8x
t1_c2jw8fb
null
1427602257
1
t5_2fwo
null
null
null
True
iLiekCaeks
null
This works better for me: http://docs.tart.googlecode.com/hg/index.html
null
0
1316062105
False
0
c2jzt7g
t3_kfvm7
null
t1_c2jzt7g
t1_c2jy3xp
null
1427602268
2
t5_2fwo
null
null
null
True
exoplasm
null
Here's a tip (just the tip): Fog Creek Software made Trello.
null
0
1316062232
False
0
c2jztpa
t3_ketdw
null
t1_c2jztpa
t1_c2jt1wc
null
1427602272
2
t5_2fwo
null
null
null
True
recursive
null
Possibly. Why would they do that?
null
0
1316062262
False
0
c2jzttb
t3_kfuii
null
t1_c2jzttb
t1_c2jzpmp
null
1427602275
30
t5_2fwo
null
null
null
True
Mikul
null
The idea is to create and free a class every time the player changes state? It seems like a recipe for memory fragmentation.
null
0
1316062474
False
0
c2jzum2
t3_kfuqy
null
t1_c2jzum2
t3_kfuqy
null
1427602282
10
t5_2fwo
null
null
null
True
_marquete
null
It inverts the key/value pairs in that particular hash, so that e.g. {1: 'a', 2: 'b', 3: 'c'} yields {a: 1, b: 2, c: 3}.
null
0
1316062550
False
0
c2jzuwx
t3_kfms2
null
t1_c2jzuwx
t1_c2jxfzo
null
1427602288
0
t5_2fwo
null
null
null
True
iLiekCaeks
null
I agree, but in this particular case you could inialize a->next with a sentinel value (like an unused static const struct node variable). You actually do this in C sometimes to avoid NULLs.
null
0
1316062675
False
0
c2jzvds
t3_kfvm7
null
t1_c2jzvds
t1_c2jz3ti
null
1427602302
2
t5_2fwo
null
null
null
True
_marquete
null
Which one? (: Yeah, feature creep stopped me from releasing Kibo when I should have, so the author of Kemaster beat me to it. d: Keymaster and Kibo provide different functionality anyway, so use the one that best suits your needs. For example what he does with scopes is interesting, whereas I focused on compatibility and providing support for keydown and keyup, different elements, wildcards et cetera.
null
0
1316063163
False
0
c2jzx5m
t3_kfms2
null
t1_c2jzx5m
t1_c2jxant
null
1427602316
1
t5_2fwo
null
null
null
True
UncleOxidant
null
I also notice that I can't create an F# project with it. Is that a separate download?
null
0
1316063345
False
0
c2jzxsq
t3_kewkd
null
t1_c2jzxsq
t1_c2jxeni
null
1427602323
2
t5_2fwo
null
null
null
True
tsilb
null
"Me too" is not a good reason to make a new programming language.
null
0
1316063411
False
0
c2jzy1n
t3_kfvm7
null
t1_c2jzy1n
t3_kfvm7
null
1427602337
0
t5_2fwo
null
null
null
True
DieJudenfrage
null
Nobody mention the M-word.
null
0
1316063577
False
0
c2jzylt
t3_kfuqy
null
t1_c2jzylt
t3_kfuqy
null
1427602337
1
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1316064179
False
0
c2k00pj
t3_kddpb
null
t1_c2k00pj
t3_kddpb
null
1427602358
0
t5_2fwo
null
null
null
True
[deleted]
null
Yet Another New Programming Language I Don't Care About?
null
0
1316064312
False
0
c2k0165
t3_kfvm7
null
t1_c2k0165
t1_c2jyvm3
null
1427602364
13
t5_2fwo
null
null
null
True
dbavaria
null
No, what I meant was: Developers outside of the Windows platform (say *nix devs, web devs, apple devs, open source devs, etc) can be cult-like in their lack of understanding anything outside of the scope of their platform.
null
0
1316064881
False
0
c2k034n
t3_hq4zm
null
t1_c2k034n
t1_c2jrm96
null
1427602396
1
t5_2fwo
null
null
null
True
munificent
null
How would closures help here?
null
0
1316065039
False
0
c2k03mp
t3_kfuqy
null
t1_c2k03mp
t1_c2jz2y3
null
1427602397
1
t5_2fwo
null
null
null