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
bitchessuck
null
I'd interesting to know why I'm being downvoted here.
null
0
1316604188
False
0
c2lgwgb
t3_klphp
null
t1_c2lgwgb
t1_c2lfsoy
null
1427627750
3
t5_2fwo
null
null
null
True
[deleted]
null
And how would you go about doing that?
null
0
1316604193
False
0
c2lgwgt
t3_kmk56
null
t1_c2lgwgt
t1_c2lgvtl
null
1427627750
8
t5_2fwo
null
null
null
True
railmaniac
null
Make only 100 units and sell them in Kazakhstan. Patent used.
null
0
1316604597
False
0
c2lgx4m
t3_klqte
null
t1_c2lgx4m
t1_c2lel9u
null
1427627758
2
t5_2fwo
null
null
null
True
mfukar
null
I completely agree with you, but the reality is sometimes different, for various reasons. I am just curious how iiu's project is coping with them.
null
0
1316604620
False
0
c2lgx61
t3_klypn
null
t1_c2lgx61
t1_c2lgkl8
null
1427627759
4
t5_2fwo
null
null
null
True
mm256
null
Are you Spanish? Filetea.me sounds as SteakMe ;)
null
0
1316604730
False
0
c2lgxd8
t3_kmmgx
null
t1_c2lgxd8
t3_kmmgx
null
1427627762
2
t5_2fwo
null
null
null
True
joesb
null
> That means that most developers in the world chose to use his license. * If major OS and were licensed under Affero-GPL kernel *that doesn't have syscall exception like Linux does* (fortunately for me Linus is the not RMS). * If next major infrastructure of computing were licensed under Affero-GPL. That there were no practical way to develop application without being dirtied by GPL licensed. Would you call that a "choice" or "choosing" if there's no other choice? In RMS's ideal world, it's not the most developer will choose his license, but it's that most developer has no choice (if they want to put food on table) but to choose his license.
null
0
1316605140
False
0
c2lgy3u
t3_kl7h0
null
t1_c2lgy3u
t1_c2lgpxl
null
1427627771
0
t5_2fwo
null
null
null
True
Affar
null
Didn't not work with Opera :(
null
0
1316605158
False
0
c2lgy53
t3_kmmgx
null
t1_c2lgy53
t3_kmmgx
null
1427627772
1
t5_2fwo
null
null
null
True
joesb
null
He like himself giving. He doesn't give a fuck if others gives. He likes himself giving so much that he will gives to anyone whether that person will give or not.
null
0
1316605282
False
0
c2lgycp
t3_kl7h0
null
t1_c2lgycp
t1_c2lgpsi
null
1427627774
0
t5_2fwo
null
null
null
True
donri
null
[Try Haskell!](http://tryhaskell.org/) in case you missed it, but it is server-side unlike repl.it.
null
0
1316605282
False
0
c2lgycs
t3_klv3o
null
t1_c2lgycs
t1_c2lghwf
null
1427627774
3
t5_2fwo
null
null
null
True
julesjacobs
null
Actually, developing a new language *and* tool support for it can easily be less work than developing good tool support for a complicated language like D. Developing good tool support is more work than developing a compiler, and if you save half of that work by building it for a less complicated language you can use the other half to develop a compiler.
null
0
1316605319
False
0
c2lgyeu
t3_kljc0
null
t1_c2lgyeu
t1_c2lc5g5
null
1427627776
3
t5_2fwo
null
null
null
True
artm
null
The page says "Only Chome/Chromium and Firefox 4+ are currently known to work"
null
0
1316605330
False
0
c2lgyfp
t3_kmmgx
null
t1_c2lgyfp
t1_c2lgy53
null
1427627776
4
t5_2fwo
null
null
null
True
markusro
null
Because of them, we're probably losing *decades* of innovation from this. FTFY.
null
0
1316605393
False
0
c2lgyjk
t3_klqte
null
t1_c2lgyjk
t1_c2lc3le
null
1427627778
1
t5_2fwo
null
null
null
True
mosti
null
I think mocking is the right thing to do, but your example just returns an empty List... that's an edge case. Normally you have to prepare the testdata (by using the builder pattern for example, maybe with the help of Make-It-Easy or something similar). That would be a lot more code, depending on the Campaign class.
null
0
1316605448
False
0
c2lgyn8
t3_klypn
null
t1_c2lgyn8
t1_c2lda1v
null
1427627778
2
t5_2fwo
null
null
null
True
Dascandy
null
If any comment could be autogenerated you may as well not put it there. Teach the people reading the code how to read that information from the code and keep the code terse for those that know how to read code. Only put comments that cannot be autogenerated in your code.
null
0
1316605625
False
0
c2lgyyd
t3_kmk56
null
t1_c2lgyyd
t3_kmk56
null
1427627783
13
t5_2fwo
null
null
null
True
[deleted]
null
Agreed. It's just another layer to learn and be annoyed about.
null
0
1316605671
False
0
c2lgz20
t3_kmmu7
null
t1_c2lgz20
t3_kmmu7
null
1427627784
2
t5_2fwo
null
null
null
True
julesjacobs
null
Funny, there's a [whole class of unit testing tools](http://en.wikipedia.org/wiki/QuickCheck) that rely on randomness for their basic functionality.
null
0
1316605698
False
0
c2lgz3z
t3_klhlv
null
t1_c2lgz3z
t1_c2lcrzz
null
1427627785
1
t5_2fwo
null
null
null
True
insin
null
Can we categorise the different flavours of ORM article somewhere so we can copy and paste the appropriate stock comments to save time? This one goes under "Starts from assumption that the primary purpose of an ORM is to prevent you from needing to know or use SQL."
null
0
1316605826
False
0
c2lgzcp
t3_kmmu7
null
t1_c2lgzcp
t3_kmmu7
null
1427627788
8
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1316605842
False
0
c2lgze3
t3_klqte
null
t1_c2lgze3
t1_c2lew1b
null
1427627789
1
t5_2fwo
null
null
null
True
A_for_Anonymous
null
Yes, otherwise I'd have made that sum by working on something else. The reason is that I'm uninterested in low-to-mid-level/static/no type inference programming languages. D, like C++, seems to have a lot of features, making it complex, for no high-level, dynamic typing or type inference payoff. Its performance might be close to that of C++ (I haven't checked — suppose so, otherwise what's the point) but I'm not writing core operating system components that need to be the fastest possible (e.g. an operating system kernel, Xorg, a low-level Maths library). If I were, or had to manage such a project, I would consider D as a better C++ (and would bet $100M on whatever I choose), but I'd also consider SBCL and other, higher-level, even simpler languages.
null
0
1316605906
True
0
c2lgzif
t3_kljc0
null
t1_c2lgzif
t1_c2lgh2j
null
1427627789
0
t5_2fwo
null
null
null
True
chungkuo
null
My daughter walks up to the TV and touches it, trying to get things to happen. She's 2 and assumes every screen is a touch screen.
null
0
1316605923
False
0
c2lgzjv
t3_kl1qp
null
t1_c2lgzjv
t1_c2l8c82
null
1427627791
2
t5_2fwo
null
null
null
True
[deleted]
null
This is why "main stream" software (development) still sucks in 2011.
null
0
1316606084
False
0
c2lgzux
t3_klphp
null
t1_c2lgzux
t1_c2lahr7
null
1427627795
1
t5_2fwo
null
null
null
True
grigri
null
if (strcmp(str1, str2) == true) { // Strings are equal }
null
0
1316606205
False
0
c2lh03z
t3_klhlv
null
t1_c2lh03z
t1_c2lfkg1
null
1427627798
2
t5_2fwo
null
null
null
True
simonsays
null
nothing new here, move along. if i haden't heard this discussion a million times from like 10 years ago to now i would participate...
null
0
1316606397
False
0
c2lh0hf
t3_kmmu7
null
t1_c2lh0hf
t3_kmmu7
null
1427627804
1
t5_2fwo
null
null
null
True
[deleted]
null
>And yet, despite that, they support standard C++ pretty well since, I dunno, 2003. Their compliance is the worst of all major compilers. Anyone who programs cross-platform code knows this but if you need evidence of this just check out major libraries like boost. Of all modern compilers Visual Studio has the most #ifdefs for BOOST_WORKAROUNDs than any other compiler, including clang, gcc and the Intel compiler.
null
0
1316606398
True
0
c2lh0hk
t3_klphp
null
t1_c2lh0hk
t1_c2lg5y4
null
1427627804
6
t5_2fwo
null
null
null
True
[deleted]
null
The guys from the article just use a dumb ORM.
null
0
1316606412
False
0
c2lh0in
t3_kmmu7
null
t1_c2lh0in
t3_kmmu7
null
1427627804
1
t5_2fwo
null
null
null
True
Grue
null
Were these variables used in a [stack](http://www.youtube.com/watch?v=tjayrv8HSP4)?
null
0
1316606440
False
0
c2lh0k6
t3_klhlv
null
t1_c2lh0k6
t1_c2l7mlk
null
1427627805
1
t5_2fwo
null
null
null
True
sbrown123
null
>Average people in 2011 do not want a "tower" computer any more. But for some strange reason they just keep buying them.
null
0
1316606530
False
0
c2lh0q9
t3_kl1qp
null
t1_c2lh0q9
t1_c2lct31
null
1427627807
2
t5_2fwo
null
null
null
True
[deleted]
null
> Dark, confined rooms were the exact opposite direction the rest of the industry was going at the time. That had nothing to do with the technology, as much as it was a game design issue. The same technology was used for ET:Quake Wars, which was neither dark, nor confined.
null
0
1316606556
False
0
c2lh0s0
t3_klrrx
null
t1_c2lh0s0
t1_c2lg9nn
null
1427627808
7
t5_2fwo
null
null
null
True
joesb
null
The patent only last for 17 years, so if you take more than 5 years to develop it, let's say 7 years, it's will be quite hard to turn the last 10 years into profit. I'm assuming here that it's okay for your competitor to also start developing product using that patent 7 years before the patent expire, so that they can start selling the product the first day your patent ends.
null
0
1316606693
False
0
c2lh11j
t3_klqte
null
t1_c2lh11j
t1_c2ldorr
null
1427627811
2
t5_2fwo
null
null
null
True
[deleted]
null
Ah, a blast from the past. A decade ago hugo elias site was THE place to go for this. Since then, the world has moved on. (I wonder if _anybody_ still used "real" radiosity)
null
0
1316606728
False
0
c2lh143
t3_kmlu2
null
t1_c2lh143
t3_kmlu2
null
1427627812
13
t5_2fwo
null
null
null
True
dormedas
null
I was looking for this list earlier, so thanks for it.
null
0
1316607029
False
0
c2lh1pj
t3_klphp
null
t1_c2lh1pj
t1_c2l9n26
null
1427627823
1
t5_2fwo
null
null
null
True
superiority
null
I upButted this comment.
null
0
1316607033
False
0
c2lh1q3
t3_klhlv
null
t1_c2lh1q3
t1_c2l84kj
null
1427627823
5
t5_2fwo
null
null
null
True
nomar23
null
Nowhere on that site is any information on what it actually does. Is it a Rapidshare clone? A BitTorrent client in JavaScript? Or what?
null
0
1316607247
False
0
c2lh262
t3_kmmgx
null
t1_c2lh262
t3_kmmgx
null
1427627829
1
t5_2fwo
null
null
null
True
jakkarth
null
> /r/programming is not a place to ... demo your app
null
0
1316607333
False
0
c2lh2cw
t3_kmmgx
null
t1_c2lh2cw
t3_kmmgx
null
1427627829
-1
t5_2fwo
null
null
null
True
RedSpikeyThing
null
You can describe something non-obvious that I can implement without using source code.
null
0
1316607348
False
0
c2lh2dz
t3_klqte
null
t1_c2lh2dz
t1_c2lew7r
null
1427627831
1
t5_2fwo
null
null
null
True
sigzero
null
Interesting...if I click on edit my text is the same as your FTFY comment. It just didn't show in the actual post. Ah well...
null
0
1316607366
False
0
c2lh2f6
t3_kljpc
null
t1_c2lh2f6
t1_c2lbch0
null
1427627831
2
t5_2fwo
null
null
null
True
nanothief
null
I like the thought process of this idea - it is a very novel way of documenting code. Atm, it takes the idea too far - there is no benefit for describing very simple practices (such as putting classes of a library into their own module). However some of the comments are pretty useful, such as: #N Without this, applications wanting to know the relative path would have to constantly reconstruct it, # either by compaing the base dir with the full path, or by concatenating the chain of parent dir names attr_reader :relativePath By thinking about what would happen without the line, some good insights can be gained. With some refinement, it could become a useful technique.
null
0
1316607370
False
0
c2lh2fj
t3_kmk56
null
t1_c2lh2fj
t3_kmk56
null
1427627831
7
t5_2fwo
null
null
null
True
superiority
null
Syntax highlighting is for the weak.
null
0
1316607416
False
0
c2lh2ix
t3_klhlv
null
t1_c2lh2ix
t1_c2lbfj4
null
1427627831
1
t5_2fwo
null
null
null
True
jakkarth
null
This is not /r/pics. > Some seem to think this reddit is for "links that programmers might find interesting or funny". No. It's for programming links. Programming. *Programming.* **Programming.**
null
0
1316607500
False
0
c2lh2pe
t3_kmevq
null
t1_c2lh2pe
t3_kmevq
null
1427627834
-4
t5_2fwo
null
null
null
True
akoprowski
null
The Reality of Web Development Frameworks... may change with the new kid on the block: Opa (http://opalang.org)
null
0
1316607562
False
0
c2lh2uh
t3_kmmu7
null
t1_c2lh2uh
t3_kmmu7
null
1427627836
0
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1316607657
False
0
c2lh30l
t3_kmmu7
null
t1_c2lh30l
t3_kmmu7
null
1427627837
-1
t5_2fwo
null
null
null
True
frezik
null
Thats Quake2, I was talking about Quake3.
null
0
1316607682
False
0
c2lh32x
t3_klrrx
null
t1_c2lh32x
t1_c2lgg71
null
1427627838
5
t5_2fwo
null
null
null
True
Tanoku
null
> To download it, please send an email to Jason Saragih (Jason.saragih@csiro.au). Ah hahahaha. It's 2011. This is not serious.
null
0
1316607713
False
0
c2lh35d
t3_klzm8
null
t1_c2lh35d
t3_klzm8
null
1427627838
6
t5_2fwo
null
null
null
True
akoprowski
null
It's actually 3 to 10 years old (depending on how you count). My comment was provocative on purpose. Whether I'd use Opa for such a task would depend very much on more details that I'd have to know about the task itself. For instance if it was not heavily web-based I'd not even bother with Opa. What I tried to convey with my comment is that I believe Opa is a great fit for web apps.
null
0
1316607719
False
0
c2lh35s
t3_kljc0
null
t1_c2lh35s
t1_c2lb4yk
null
1427627839
2
t5_2fwo
null
null
null
True
[deleted]
null
>He like himself giving. He doesn't give a fuck if others gives. So why does he hate the GPL? >He likes himself giving so much that he will gives to anyone whether that person will give or not. That doesn't explain his hatred of the GPL.
null
0
1316607737
False
0
c2lh36z
t3_kl7h0
null
t1_c2lh36z
t1_c2lgycp
null
1427627839
2
t5_2fwo
null
null
null
True
berkut
null
Not really - most of the render time is similar to PRMan, doing things like displacement subdivision and micropolygon generation. It's true that PRMan *can* do things like culling hidden polygons, but it still needs some sort of acceleration structure, but they still need to be organised depth-based, determined based on what's visible to the camera. And given that PRMan uses rays for things like ambient occlusion, PRMan would need similar acceleration structures. Anyway, Arnold's capable of taking in Huge amounts of geometry with lazy geometry loading (only loads triangles into memory when an acceleration structure bbox is hit with a ray), and it can swap them in and out very efficiently.
null
0
1316607787
False
0
c2lh3av
t3_kldfr
null
t1_c2lh3av
t1_c2lgtus
null
1427627840
2
t5_2fwo
null
null
null
True
mitsuhiko
null
You could proxy it through your server.
null
0
1316607816
False
0
c2lh3d0
t3_klv3o
null
t1_c2lh3d0
t1_c2lfje6
null
1427627841
3
t5_2fwo
null
null
null
True
[deleted]
null
"for every line in your code, write a comment" ... it's about there when I stopped reading.
null
0
1316607854
False
0
c2lh3fn
t3_kmk56
null
t1_c2lh3fn
t3_kmk56
null
1427627842
35
t5_2fwo
null
null
null
True
[deleted]
null
>If major OS and were licensed under Affero-GPL kernel that doesn't have syscall exception like Linux does (fortunately for me Linus is the not RMS). I don't see what this has to with anything. >If next major infrastructure of computing were licensed under Affero-GPL. That there were no practical way to develop application without being dirtied by GPL licensed. This is clearly false as people can choose a different operating system. >Would you call that a "choice" or "choosing" if there's no other choice? You have not demonstrated that there is an elimination of choice. >In RMS's ideal world, it's not the most developer will choose his license, but it's that most developer has no choice (if they want to put food on table) but to choose his license. The GPL is a voluntary transaction. He wrote it that way on purpose. You should read it some day.
null
0
1316607892
False
0
c2lh3ih
t3_kl7h0
null
t1_c2lh3ih
t1_c2lgy3u
null
1427627843
3
t5_2fwo
null
null
null
True
nemtrif
null
> I doubt anybody is going to invest 10 million dollars in a windows desktop application I doubt anybody is going to give me 10M to develop anything with my pet language :)
null
0
1316607905
False
0
c2lh3jm
t3_kljc0
null
t1_c2lh3jm
t1_c2lfln4
null
1427627843
2
t5_2fwo
null
null
null
True
cameleon
null
At one of my colleague's previous jobs, they wrote a [Javascript obfuscator](http://xopus.com/devblog/2007/javascript-obfuscation.html) that uses unicode and right-to-left languages.
null
0
1316607999
False
0
c2lh3r5
t3_klhlv
null
t1_c2lh3r5
t1_c2l8179
null
1427627845
2
t5_2fwo
null
null
null
True
mitechie
null
dammit, I just got done responding to the last stupid "ORM sucks" article 40:10 in http://lococast.net/archives/535 ORM == tool, JS library doesn't mean you don't get to learn JS, web frameworks don't mean you get to ignore http, and ORM doesn't mean you don't get to know SQL. If YOU don't know your stuff, that's your fault. Go get a book.
null
0
1316608000
False
0
c2lh3r8
t3_kmmu7
null
t1_c2lh3r8
t3_kmmu7
null
1427627845
5
t5_2fwo
null
null
null
True
[deleted]
null
This is complete, utter insanity. It's a joke right? Can you imagine the maintenance cost of this shit.
null
0
1316608134
False
0
c2lh40v
t3_kmk56
null
t1_c2lh40v
t3_kmk56
null
1427627849
34
t5_2fwo
null
null
null
True
taejo
null
\_\_ is markdown for __bold__. Use \ to escape it.
null
0
1316608250
False
0
c2lh4bd
t3_kljpc
null
t1_c2lh4bd
t1_c2lh2f6
null
1427627853
6
t5_2fwo
null
null
null
True
rabidb
null
Not convinced this is anything more than FUD. Granted, it is a risk, but having reviewed the UEFI specifications (available free at http://www.uefi.org), the spec details how to add and remove keys. The platform vendor will need to provide a signed utility to do this but it should always be possible for an end user to disable secure boot or add more certificates (they don't have to be public, so a Linux user could create a self-signed certificate and add the key to UEFI).
null
0
1316608260
False
0
c2lh4cd
t3_kmh5r
null
t1_c2lh4cd
t3_kmh5r
null
1427627853
9
t5_2fwo
null
null
null
True
[deleted]
null
What's the point of documenting if it's not to put **more** information than what is contained in the semantic of the code? It's like those stupid getter/setter automatic comments : # set the crazy ass variable def setTheCrazyAssVariable() Ughh I hate those.
null
0
1316608261
True
0
c2lh4cf
t3_kmk56
null
t1_c2lh4cf
t1_c2lgvtl
null
1427627853
9
t5_2fwo
null
null
null
True
cl0p3z
null
Its a system for sharing files with your friends and avoid problems related with NAT and firewalls http://blogs.igalia.com/berto/2011/09/08/filetea-a-simple-file-sharing-system/
null
0
1316608305
False
0
c2lh4ga
t3_kmmgx
null
t1_c2lh4ga
t1_c2lh262
null
1427627854
1
t5_2fwo
null
null
null
True
craigmaloney
null
> At Apperian, some of our technology is built using one of these heavy frameworks, and in the early days it allowed the software to advance rapidly. However, as the tasks become more complex, and as the load on the system increases, we find ourselves increasingly having to circumvent the framework. We are eliminating it bit by bit, and soon we will replace it entirely. Sounds like you chose the wrong horse to bet on, and now you're complaining because you need to take it out back and shoot it. Yeah, so let's shoot every horse and save time. Brilliant.
null
0
1316608427
False
0
c2lh4qt
t3_kmmu7
null
t1_c2lh4qt
t3_kmmu7
null
1427627859
0
t5_2fwo
null
null
null
True
MarshallBanana
null
I guess you don't have a Google account or something? http://code.google.com/p/bangaio-tools/ http://code.google.com/p/ds3d/ http://code.google.com/p/flash-translator/ http://code.google.com/p/javascriptdesktop/ http://code.google.com/p/kareha/ http://code.google.com/p/lotsablankers/ http://code.google.com/p/perlhp/ http://code.google.com/p/speed-game/ http://code.google.com/p/theunarchiver/ http://code.google.com/p/wilt-compressor/ http://code.google.com/p/xee/
null
0
1316608443
False
0
c2lh4s7
t3_kl7h0
null
t1_c2lh4s7
t1_c2lgqfu
null
1427627860
1
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1316608501
False
0
c2lh4wq
t3_klphp
null
t1_c2lh4wq
t1_c2lgjdd
null
1427627861
1
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1316608844
False
0
c2lh5pt
t3_klphp
null
t1_c2lh5pt
t1_c2lgwgb
null
1427627873
4
t5_2fwo
null
null
null
True
daebat
null
Unfortunately my company is one of these 'patent trolls'. We're currently suing (and going to win) two major companies and our business exists simply to have an excuse to use the patents.
null
0
1316608898
False
0
c2lh5us
t3_klqte
null
t1_c2lh5us
t3_klqte
null
1427627874
1
t5_2fwo
null
null
null
True
kuitu
null
The Scheme define-macro example displays its results with the wrong operator. It multiplies x by two to give y , but then says that x * x = y. The * in the display part should be +.
null
0
1316608972
False
0
c2lh60r
t3_klv3o
null
t1_c2lh60r
t3_klv3o
null
1427627877
1
t5_2fwo
null
null
null
True
tanishaj
null
I have not done any C++ programming for Windows since the bad old MFC days but was C++ for Windows really credibly cross platform before this? I mean, are these extensions really making Windows C++ code less portable than it was before? You only use these extensions where you are calling the Windows (WinRT) API. Those bits are Windows specific regardless. Or is the objection just that these extensions entice you to use the Microsoft compiler (which is free) to compile C++ code on Windows? I say "entice" as non-Microsoft compilers can be used with the COM-like syntax but the new sugar is appealing in comparison. Libraries and code snippets which are potentially portable (which are not calling the Windows API) will be written in standard C++ though and will not be tied to Microsoft tools. So the impact of these extensions is limited in terms of impact to code portability.
null
0
1316609011
True
0
c2lh64d
t3_kl1qp
null
t1_c2lh64d
t1_c2l6ygg
null
1427627877
1
t5_2fwo
null
null
null
True
ZorbaTHut
null
If the patent is worth a billion dollars, then the company buying it would be paying them a billion dollars. I think that's a far cry from "have it taken from them".
null
0
1316609050
False
0
c2lh67v
t3_klqte
null
t1_c2lh67v
t1_c2lel2j
null
1427627879
1
t5_2fwo
null
null
null
True
imbcmdth
null
> (I wonder if anybody still used "real" radiosity) Lighting engineers and architectural visualization in general still lean pretty heavily on radiosity. Most game engines generate the final lightmaps by using some sort of radiosity algorithm. Heck, the entire S.T.A.L.K.E.R. engine's (X-Ray) backbone was little more then a real-time radiosity simulation. By taking advantage of deferred rendering, it was able to utilize thousands of point lights dynamically generated around the player to simulate indirect lighting quite convincingly.
null
0
1316609078
False
0
c2lh6ah
t3_kmlu2
null
t1_c2lh6ah
t1_c2lh143
null
1427627879
8
t5_2fwo
null
null
null
True
[deleted]
null
Depends on why I'm mocking it out - I often use mocking when testing Wicket pages. I may want to test some AJAX functionality of a link, for example, but a repeater on the same panel expects a) a service and b) a List of 0 to n items from that service. I don't really care about what the repeater's up to, I just don't want it to NPE on me.
null
0
1316609079
False
0
c2lh6am
t3_klypn
null
t1_c2lh6am
t1_c2lgyn8
null
1427627879
2
t5_2fwo
null
null
null
True
elima
null
FileTea does not store files in the server. Transfer goes from browser to browser through server, which just maintain a 4KB buffer. It just bridges an upload from seeder with a download to leecher. No flash, no plugins, no signup.. just a standard browser :).
null
0
1316609137
False
0
c2lh6ga
t3_kmmgx
null
t1_c2lh6ga
t3_kmmgx
null
1427627884
11
t5_2fwo
null
null
null
True
neovulcan
null
It seems that any demographic can be a jackass about patents if they hold them and don't get their idea on the market. Large corporations can oppress small time inventors, patent trolls..., patent mobsters..., etc etc So what's the solution? I say you have one month from the time you file your patent until someone else can begin using your idea. Sure this would rush ideas to the market, and the first iteration wouldn't necessarily be the best, but we'd definitely get to see some cool shit and the benefits of a competitive market. You might say this does not incentivize inventors, but royalties aren't the most ethical route in the first place. If what you do is truly awesome, there should be all kinds of money in TV interviews, endorsements, book deals, movie cameos, etc etc.
null
0
1316609577
False
0
c2lh7kv
t3_klqte
null
t1_c2lh7kv
t3_klqte
null
1427627896
1
t5_2fwo
null
null
null
True
squigs
null
Yes. Patent lawyers are quite clever though. They can patent the other components, or make a device that works, but isn't feasable because the "magic piece" can't be made portable. Good lawyers may well be able to argue that this makes it a different invention but that's always a craps shoot.
null
0
1316609595
False
0
c2lh7mf
t3_klqte
null
t1_c2lh7mf
t1_c2lcz8c
null
1427627896
3
t5_2fwo
null
null
null
True
hackinthebochs
null
Disagree. Most of your time developing isn't spent with two hands on the keyboard. A lot of times its faster to click with your mouse, as your hand was already there.
null
0
1316609608
False
0
c2lh7nf
t3_klv9k
null
t1_c2lh7nf
t1_c2leeyu
null
1427627898
2
t5_2fwo
null
null
null
True
tanishaj
null
It makes me feel like Microsoft wants me to write Metro apps as if they lived on the Internet rather than on a local Windows box. So, I cannot make any assumpitons about local resources or running applications and services. All communication and data sharing has to be through web services and the like that do not care if the thing on the other end is local or not. This is restrictive but not debilitating. In fact, it makes things like services and/or data stores running on Linux boxes or "the cloud" much more of a peer in the Windows architecture. So, I may come to prefer these limitations someday.
null
0
1316609761
False
0
c2lh7zx
t3_kl1qp
null
t1_c2lh7zx
t1_c2l5vd6
null
1427627901
1
t5_2fwo
null
null
null
True
elperroborrachotoo
null
> Why do we accept an STL shipping in 2011 that is basically unchanged from the mid-1990s? Why do we #ifdef our way around MSVC6 problems in 2011? Why do we care about the quirks of GCC 3.3, or heaven forbid, 2.95? Quality. Libraries are more than just a bunch of well-tested code. Building a product on top of a library is also a bind, a bet on the future of the library. I certainly understand his motivation, and heck, I'd love to have the time and resources to always work with the latest and greatest, but some projects simply do not warrant the port. I personally don't care about GCC 2.95, and I'm happy to say I no longer have to care about MSVC6. But when I see how long *other* libraries bind you to outdated tools - or make you work around it - a forced update means a slap in the face of users. --- Yes, there is additional cost in backward compatibility, and no, I don't expect the newest features on the oldest compiler. But when I have to pick a library, I do expect respect for maintenance and the particularities of closed source.
null
0
1316609824
False
0
c2lh856
t3_klphp
null
t1_c2lh856
t3_klphp
null
1427627904
3
t5_2fwo
null
null
null
True
elperroborrachotoo
null
That's unfair and simply not true when you see what has gone into the native C++ compiler *and* IDE.
null
0
1316609864
False
0
c2lh88w
t3_klphp
null
t1_c2lh88w
t1_c2ld9jy
null
1427627906
1
t5_2fwo
null
null
null
True
mhermans
null
Looks like a interesting and cleanly implemented library. Is there some info/docs apart from the docstrings/comments?
null
0
1316610009
False
0
c2lh8n6
t3_km4pr
null
t1_c2lh8n6
t3_km4pr
null
1427627910
2
t5_2fwo
null
null
null
True
kmmeerts
null
I believe that if patents did not exist, we would have a enormously advanced society, with fully functional prostethic eyes and a base on Mars. Sad, truly, sad.
null
0
1316610069
False
0
c2lh8ss
t3_klqte
null
t1_c2lh8ss
t3_klqte
null
1427627913
1
t5_2fwo
null
null
null
True
chronoBG
null
That, my friend, is pretty fucking sweet.
null
0
1316610126
False
0
c2lh8xx
t3_klv3o
null
t1_c2lh8xx
t1_c2lb8xt
null
1427627915
2
t5_2fwo
null
null
null
True
axilmar
null
If an ISO standard wrapper equal to C++/CX was possible, Microsoft wouldn't be bothered with C++/CX.
null
0
1316610172
False
0
c2lh92w
t3_kl1qp
null
t1_c2lh92w
t1_c2ldc51
null
1427627916
0
t5_2fwo
null
null
null
True
sbrown123
null
>but most people don't care about gflops, Actually they do. Why do you think computers are sold advertising their chipset and specs? People are more tech savvy, at least in words, then they were a few years ago. And they want performance when it comes to desktops. It is rare to come across someone who wants "just enough to do what they do". I believe the American term for this is "getting the most bang for the buck". >And today even the better smartphones have enough computing power for most people in this regard. They have enough power to single task *most* operations people want. Some common uses, like word processing, are still outside their capability. Regardless, the points I mentioned earlier still apply.
null
0
1316610267
False
0
c2lh9bb
t3_kl1qp
null
t1_c2lh9bb
t1_c2lgn21
null
1427627925
1
t5_2fwo
null
null
null
True
chronoBG
null
Hey, listen: If you know of any low-hanging fruits in terms of languages to add to the platform, let me know. I just might spend my four-day weekend implementing one of these :)
null
0
1316610393
False
0
c2lh9nk
t3_klv3o
null
t1_c2lh9nk
t3_klv3o
null
1427627924
2
t5_2fwo
null
null
null
True
[deleted]
null
It is true and it's something employees at MS have even admitted and discussed: I used to work at Microsoft (worked on IronPython) 4 years ago and the mentality back then was that C++ was a dying language and everything was going to move to managed languages, if you read the comments section linked below you'll hear MS admitting that they did not invest much effort into their C++/native compilers, focusing instead on .NET. That's fine... but then they turn around and say that C++ is having a renaissance and now they're going to start pumping resources into it? Well my opinion is pump those resources first into standard compliance, then when you have a product competitive with GCC and other major C++ compilers in terms of standard conformance, feel free to add any additional extensions you want. No one has to be forced to use those extensions and they might even have a beneficial impact for whatever the next C++ standard is... I have no problem there. My problem is just creating a half-assed compiler and then pumping in proprietary extensions so that if you use Visual C++ at all, you're pretty much locked into using it exclusively. Simply put, it's way too much of an effort as things stand to use C++11 in a cross-platform manner with VC++ and gcc, clang, and Intel C++. VC++ is hands down the worst offender. As for the reference check out this link: http://blogs.msdn.com/b/vcblog/archive/2010/04/06/c-0x-core-language-features-in-vc10-the-table.aspx Many people who do a lot of strict C++ coding are pretty disappointed with this release. Sure it's good for strictly Visual Studio C++ developers, and maybe the IDE is the greatest thing ever (I don't use much of any of the advanced features of the IDE to begin with so don't know much about it), but in terms of adhering to the C++ standard and implementing core language features, it is simply a failure.
null
0
1316610539
False
0
c2lha1g
t3_klphp
null
t1_c2lha1g
t1_c2lh88w
null
1427627929
4
t5_2fwo
null
null
null
True
badassumption
null
I love how the sign in the stock photo has a drop shadow on the sky.
null
0
1316610589
False
0
c2lha5s
t3_klqte
null
t1_c2lha5s
t3_klqte
null
1427627930
1
t5_2fwo
null
null
null
True
nbarrientos
null
My purpose was not to demo it. Actually, I posted it here because it is free software and maybe, only maybe, fellow developers might be interested in looking into the code and help a little bit with the development. If I had wanted to spam, I'd have posted it somewhere else. Oh, and it's not my app ;)
null
0
1316610819
False
0
c2lhask
t3_kmmgx
null
t1_c2lhask
t1_c2lh2cw
null
1427627950
8
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1316610986
False
0
c2lhbab
t3_klrrx
null
t1_c2lhbab
t3_klrrx
null
1427627947
2
t5_2fwo
null
null
null
True
__j_random_hacker
null
I agree comments like that are worthless, but I don't think that's true of all kinds of "automated documentation". Cross-referencing tools and IntelliSense do add value because they save you from having to do a bunch of tedious searching to get to the information you want.
null
0
1316611043
False
0
c2lhbgi
t3_kmk56
null
t1_c2lhbgi
t1_c2lh4cf
null
1427627950
1
t5_2fwo
null
null
null
True
chronoBG
null
By thinking, would be my first guess. But know this, BDD isn't about giving you "We no longer need a code architect for our 1M LoC project"-level design. BDD is about not falling into the "Oh my god how did we get so fucked, this code has no hope of ever being refactored"-level design that is sadly prevalent in many places. ---- To summarize: BDD gives you some level of code design that turns out to be surprisingly effective in projects of all sizes. It's pretty good, but it is not the absolute best design you could ever achieve and it *can* be improved by hiring actual, qualified software designers(architects) that can figure out and specify the system. ---- But then, the question is: If you aren't using BDD, are you employing architects? Or are you just cowboying it up?
null
0
1316611119
False
0
c2lhbow
t3_klypn
null
t1_c2lhbow
t1_c2ldkv3
null
1427627952
-2
t5_2fwo
null
null
null
True
axilmar
null
So answer me this: if extension-equivalents can be built for standard C++, and these extension-equivalents are as easy to use as the extensions themselves, then why did Microsoft do those extensions?
null
0
1316611163
False
0
c2lhbti
t3_kk7c6
null
t1_c2lhbti
t1_c2la6nz
null
1427627953
1
t5_2fwo
null
null
null
True
mikaelhg
null
How fucking novel and profound.
null
0
1316611171
False
0
c2lhbuq
t3_kmmu7
null
t1_c2lhbuq
t3_kmmu7
null
1427627953
2
t5_2fwo
null
null
null
True
grelphy
null
Oh, really? Because the amount of time I spent trying to get my parents' printer to work under Windows (that's precisely one (1) case of driver installation) exceeds the amount of time I've spent *in my entire life* configuring printers on Linux, and I've used Linux exclusively for about four years now. So nice anecdote, shame it's as meaningless as mine. If you'd like to contribute substantively, please try again.
null
0
1316611272
False
0
c2lhc68
t3_kl7h0
null
t1_c2lhc68
t1_c2leuc3
null
1427627958
0
t5_2fwo
null
null
null
True
generalT
null
where did i ever claim that i was an expert on patent law?
null
0
1316611335
False
0
c2lhcdo
t3_klqte
null
t1_c2lhcdo
t1_c2lg9mn
null
1427627960
1
t5_2fwo
null
null
null
True
[deleted]
null
Don't get me wrong, these tools are great, I was only talking about the content itself.
null
0
1316611519
False
0
c2lhcxs
t3_kmk56
null
t1_c2lhcxs
t1_c2lhbgi
null
1427627966
1
t5_2fwo
null
null
null
True
grelphy
null
'with' is convenient when you just need to get something done. It's not mandatory that you use it; try/except/finally is still there if you want fine-grained control over what happens in the event of a failure.
null
0
1316611529
False
0
c2lhcz0
t3_kljpc
null
t1_c2lhcz0
t1_c2lcoin
null
1427627967
2
t5_2fwo
null
null
null
True
rco8786
null
Gross. My productivity would practically halt if I had to comment every single line. I try to group 3-5 lines into logical units(not large enough to be it's own method, but logically go together) and will generally write a comment describing what it does. I don't need this: int counter = 0; //Without instantiating this variable the upcoming for loop would not compile
null
0
1316611681
False
0
c2lhdfe
t3_kmk56
null
t1_c2lhdfe
t3_kmk56
null
1427627973
11
t5_2fwo
null
null
null
True
pnpbios
null
nope. back in the day, your unit test was segfault, no-segfault.
null
0
1316611719
False
0
c2lhdjb
t3_klrrx
null
t1_c2lhdjb
t1_c2lgtyu
null
1427627974
14
t5_2fwo
null
null
null
True
steve_b
null
Do you know if this feature is available in emacs?
null
0
1316611956
False
0
c2lheb9
t3_klhlv
null
t1_c2lheb9
t1_c2lg53d
null
1427627985
2
t5_2fwo
null
null
null
True
elperroborrachotoo
null
Yes, 10 years ago, Microsoft bet the future on managed languages, then they noticed managed can't deliver everything. In addition, the rise of mobile power has moved them where Microsoft ever wanted them: able to run Windows, but now they noticed they *can't* assume the extra power managed usually requires. ---- Assuming WinRT + C++/CX is the elephant in the room here: I am pretty sure - though I haven't tried - you don't need C++/CX for targetting WinRT, you can use standard C++ and write the .winmd files by hand. Whether this is suitable or even fun isopen to debate. I personally see this as a stronger commitment to C++ as a platform than, say, adding variadic templates - even though I'd love to have them. It says *"C++ is not a remote jungle, accessible only to the those brave minds who don't mind wading through mud all day.* Putting no resources there means interoperability later - and this might harm, even kill, the WinRT platform as a whole. ---- [For an updated list](http://blogs.msdn.com/b/vcblog/archive/2011/09/12/10209291.aspx), yes, from the view of standard compliance there a huge gaping holes, I am more appaled by the lack of progress between 10 and 11 than the state of 10 by itself. Barring the question whether the /CX team would have been able to improve much here - the "resources" discussion always smells of a mythical man-month fallacy - the question of commitment is *when* we will see this features - Next year or in five?
null
0
1316612015
False
0
c2lhehg
t3_klphp
null
t1_c2lhehg
t1_c2lha1g
null
1427627986
1
t5_2fwo
null
null
null
True
kingkilr
null
You know what scales even less than automated testing? Manual testing.
null
0
1316612017
False
0
c2lhehm
t3_klypn
null
t1_c2lhehm
t3_klypn
null
1427627986
25
t5_2fwo
null
null
null
True
simonask
null
What? If you are returning an object of a specific type, then by the nature of most C++ type checker, it needs to be specified. That's not the issue here. The point is, that if an object contains a collection of other objects, and an API user needs to interact with each contained object, the way those objects are stored should be of no concern to the API user. The only way to abstract away internal container types, is to typedef your iterators in the containing object. The LLVM framework does this all over the place: class Node { public: typedef std::vector<Node*> Children; typedef Children::iterator iterator; iterator children_begin() { return _children.begin(); } iterator children_end() { return _children.end(); } private: Children _children; }; … And on top of that, you should probably also define a `const_iterator` and const versions of `begin` and `end`. As you can see, this gets extremely annoying very quickly, so what most people end up doing, is this: class Node { public: typedef std::vector<Node*> Children; const Children& children(); private: Children _children; }; And then use it like this: for (Node::Children::iterator it = node->children().begin(); it != node->children().end(); ++it) { ... } Which is long-winded, redundant, and frankly not very readable. The `auto` keyword alleviates some of the pain (by eliminating the need to look up exactly what the type of the `children` container is), but it's still a lot of typing that achieves very little. Compare with: node->children().each([] (Node& child) { ... }); Less code, less comprehension needed, avoids performance pitfalls involving unnecessary copying. Productivity increased.
null
0
1316612061
False
0
c2lhemj
t3_klphp
null
t1_c2lhemj
t1_c2lgmyb
null
1427627989
1
t5_2fwo
null
null
null
True
barosanu
null
Quite a good article. Read this about a year ago and implemented my own radiosity algorithm.
null
0
1316612177
False
0
c2lheyt
t3_kmlu2
null
t1_c2lheyt
t3_kmlu2
null
1427627998
1
t5_2fwo
null
null
null
True
steve_b
null
Well, it's the difference between using it once in a while vs. all the time. I agree that the underscore looks weird; despite my long background in C, I still think the underscore looks too "low level" - whenever I see variables with leading underscores, it makes me think, "Don't mess with this." However, I work on a 15 year old project that decided a long time ago to follow the variable naming convention used by one of our third party libraries (xvt). They used "its" as the prefix for class member variables (e.g. itsParentWindow), which I've grown to actually like a lot; sure, it's 3 characters instead of one, but it really makes the code intuitive to read. I think they used a "g" as the global prefix (we have almost no globals) and didn't distinguish between statics and regular member data, but I can see the value there.
null
0
1316612257
False
0
c2lhf8g
t3_klhlv
null
t1_c2lhf8g
t1_c2ld1x5
null
1427627997
1
t5_2fwo
null
null
null