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 | FractalP | null | Ah, thanks for the correction. I'm not all that familiar with how nicely different licenses play with each other, but I'm fairly sure I was aware of that, I just posted that at some ungodly hour and wasn't thinking straight. Good to know :) | null | 0 | 1316072901 | False | 0 | c2k0og9 | t3_kfirl | null | t1_c2k0og9 | t1_c2jwgne | null | 1427602674 | 2 | t5_2fwo | null | null | null |
True | mrkite77 | null | People are already making html5 apps and then wrapping them in a simple webkit view and putting them on the app store as full applications. That's what PhoneGap does... and there are a *LOT* of PhoneGap apps on both app stores.
The problem is they don't act natively, and you run into all sorts of weird limitations that wouldn't exist if it were a native app. | null | 0 | 1316072927 | False | 0 | c2k0ohw | t3_kg2sg | null | t1_c2k0ohw | t1_c2jz4ax | null | 1427602674 | 12 | t5_2fwo | null | null | null |
True | AeroNotix | null | I literally did just disable the floppy and my non-booting Win8 VM started working. Strange. Maybe it's a feature? | null | 0 | 1316072969 | False | 0 | c2k0ol4 | t3_kewkd | null | t1_c2k0ol4 | t1_c2juz6f | null | 1427602677 | 1 | t5_2fwo | null | null | null |
True | stesch | null | Funny. I tried it in Firefox when the project was first announced a few years ago.
| null | 0 | 1316073130 | False | 0 | c2k0ovv | t3_kf4hn | null | t1_c2k0ovv | t1_c2jwh4v | null | 1427602679 | 1 | t5_2fwo | null | null | null |
True | ernelli | null | Nice move, providing HDMI overlay on cheap hardware without huge investments in the legal overhead a true HDCP mixing device would require.
Its bad that it limits the mixing to use chroma key instead of a true alpha channel, which means no nice round corners or semi-transparent overlay... But what the hack, its no biggie to turn the circuit into a real video mixer, obviously it cant be done in an open source project due to the DMCA.
Everything that makes HDCP obsole is good work, HDCP is a piece of shit that only prevents the future development of consumer products. | null | 0 | 1316073255 | False | 0 | c2k0p5e | t3_kfby2 | null | t1_c2k0p5e | t1_c2jxfht | null | 1427602682 | 2 | t5_2fwo | null | null | null |
True | Gotebe | null | Doesn't a state pattern with only one operation degenerate into a strategy pattern?
And there's no actual state in the example either. Well, bar the difference in actual state object.
Finally, an important nitpick:
delete state; state = new whatever();
is bad, bad, bad. Correct way is:
delete state; state = NULL; state = new whatever();
part of which one could put through some DRY-enforcement:
template<typename t>
dell_null(T*& p)
{
delete p;
p = NULL;
}
alternatively, use of auto\_ptr is OK, too. | null | 0 | 1316073266 | False | 0 | c2k0p66 | t3_kfuqy | null | t1_c2k0p66 | t3_kfuqy | null | 1427602682 | 3 | t5_2fwo | null | null | null |
True | [deleted] | null | I don't care for ad-hoc overloading, but Scala has it (see the [specification](http://www.scala-lang.org/docu/files/ScalaReference.pdf), page 67). In simple cases you can use default argument values, and in complicated cases you can simply use functions that call the constructor instead.
I never used the Data Transfer Object design pattern, can you offer an example? | null | 0 | 1316073291 | False | 0 | c2k0p82 | t3_kfvm7 | null | t1_c2k0p82 | t1_c2k0l24 | null | 1428194045 | 3 | t5_2fwo | null | null | null |
True | grauenwolf | null | Why can't we take the next step?
Without a doubt nullable by default is the wrong way to go. But now that we have established that in languages like Haskell and F#, why does the compiler still allow us to attempt to dereference the Option type without first checking to see if it is null? | null | 0 | 1316073366 | False | 0 | c2k0pcy | t3_kfvm7 | null | t1_c2k0pcy | t1_c2k0og4 | null | 1427602685 | 2 | t5_2fwo | null | null | null |
True | grauenwolf | null | A DTO is just a an object that contains pure data and no logic what so ever. You would generally use them at the boundaries of applications such as when sending data over a web service.
In a DTO all fields are public. (Either directly or, in the case of C#, via a public property.)
In most, maybe all, languages a DTO is never inmutable.
JSON is essentially a language for creating JavaScript DTOs.
Structs in C could be considered to be a DTO in design, though not necessarily in use. | null | 0 | 1316073513 | True | 0 | c2k0pnx | t3_kfvm7 | null | t1_c2k0pnx | t1_c2k0p82 | null | 1427602692 | 1 | t5_2fwo | null | null | null |
True | elpablo | null | I'm just about to start writing an iOS app... If apple have only just added a library in ios5, doesn't that mean that you'll have to rewrite it with the old libraries for people that haven't or can't upgrade? | null | 0 | 1316073648 | False | 0 | c2k0pxr | t3_kfirl | null | t1_c2k0pxr | t1_c2k05yi | null | 1427602694 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | class Person(
public var name: String,
public var email: String,
public var address: String,
public var phone: String)
Edit: Used Scala syntax. | null | 0 | 1316073732 | True | 0 | c2k0q3m | t3_kfvm7 | null | t1_c2k0q3m | t1_c2k0pnx | null | 1427602695 | 2 | t5_2fwo | null | null | null |
True | howfun | null | Good. I abandoned Silverlight the moment it was released. | null | 0 | 1316073757 | False | 0 | c2k0q5p | t3_kgb4h | null | t1_c2k0q5p | t3_kgb4h | null | 1427602696 | 11 | t5_2fwo | null | null | null |
True | howfun | null | I always new it was bullshit. | null | 0 | 1316074023 | False | 0 | c2k0qo3 | t3_kfrer | null | t1_c2k0qo3 | t3_kfrer | null | 1427602701 | -9 | t5_2fwo | null | null | null |
True | [deleted] | null | I think I know this response from Java developers already: "Closures? CLOSURES? Who the hell needs such obscure non-sense?" :-) | null | 0 | 1316074071 | False | 0 | c2k0qr8 | t3_kf2xi | null | t1_c2k0qr8 | t1_c2jykcf | null | 1427602704 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | I don't know about F#, but if you have a way to throw exceptions or stop the program, then you can implement `fromJust`:
fromJust Nothing = error "No value"
fromJust (Just v) = v
So although pattern matching is the "only" way of accessing an option provided by the language, you can easily circumvent it if you want to.
There are total languages out there like [Agda](http://wiki.portal.chalmers.se/agda/pmwiki.php) which does not allow you to do this. I haven't looked into it, but it's definitely on my TODO-list. | null | 0 | 1316074313 | False | 0 | c2k0r92 | t3_kfvm7 | null | t1_c2k0r92 | t1_c2k0pcy | null | 1427602706 | 2 | t5_2fwo | null | null | null |
True | iLiekCaeks | null | Tart also has "protocol"s. D uses template constraints instead, where you manually check whether a struct or class has the correct methods. Much less exact and more work to write them, but possibly more powerful. (Because D's approach is more "low level".)
Another feature missing in D are proper macros. Tart macros can take actual Tart code (as AST), which D can't do. Though I can't tell whether Tart's macros are as good as Lisp macros (and if not, whether D has more powerful metaprogramming.) | null | 0 | 1316074467 | True | 0 | c2k0rjm | t3_kfvm7 | null | t1_c2k0rjm | t1_c2k0mg1 | null | 1427602709 | 5 | t5_2fwo | null | null | null |
True | axpax | null | They say that they will find some kind of mony making strategy in the future, but they will not charge for what you can use now.
Worst case is advertising.
You don't need to create an account, just use your google account.
| null | 0 | 1316074506 | False | 0 | c2k0rm7 | t3_ketdw | null | t1_c2k0rm7 | t1_c2jvoj9 | null | 1427602711 | 2 | t5_2fwo | null | null | null |
True | feembly | null | SECBCGPBAWWTRIUBTCDTMD just didn't have the same ring, I guess. | null | 0 | 1316074574 | False | 0 | c2k0rqz | t3_kgaop | null | t1_c2k0rqz | t1_c2k0niw | null | 1427602712 | 26 | t5_2fwo | null | null | null |
True | [deleted] | null | Also, with lambda functions you could do
public Lazy<Int> value = new Lazy(() => generateValue());
public Int getValue() { return value.get(); }
Given an implementation of Lazy using the pattern of the above post. | null | 0 | 1316074693 | False | 0 | c2k0rzo | t3_kfvm7 | null | t1_c2k0rzo | t1_c2k0lpz | null | 1427602715 | 2 | t5_2fwo | null | null | null |
True | Gotebe | null | Erm... Good?
The thing is, eventually, HTML/CSS/javascript will get to the point of being a viable method of delivering sexy fluff and usefull stuff over a browser. So they think moment has come.
However, it's simply unrealistic that mentioned Metro IE will not have Flash, QuickTime or PDF, which is what this sentence suggests:
>>For the web to move forward and for consumers to get the most out of touch-first browsing, the Metro style browser in Windows 8 is as HTML5-only as possible, and plug-in free. The experience that plug-ins provide today is not a good match with Metro style browsing and the modern HTML5 web.
>This means no Flash, no QuickTime, no PDF readers, and no Silverlight.
And I don't see Adobe or Apple allowing MS to write their own Flash or Quick time player and provide it natively in the "metro-browser". Less so for PDF though.
So there's a fair share of unfounded HTML5 optimism there... | null | 0 | 1316074770 | False | 0 | c2k0s50 | t3_kgb4h | null | t1_c2k0s50 | t3_kgb4h | null | 1427602717 | 42 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1316074788 | 1406738489 | 0 | c2k0s60 | t3_kful5 | null | t1_c2k0s60 | t1_c2jy1yy | null | 1427602717 | -3 | t5_2fwo | null | null | null |
True | Richeh | null | So that'll be why Microsoft aren't doing it. | null | 0 | 1316074804 | False | 0 | c2k0s75 | t3_kewkd | null | t1_c2k0s75 | t1_c2juubq | null | 1427602717 | 1 | t5_2fwo | null | null | null |
True | joehillen | null | Multi-threaded event system, no more threads than cores. | null | 0 | 1316074854 | True | 0 | c2k0sao | t3_kfiuk | null | t1_c2k0sao | t1_c2k0lii | null | 1427602719 | 8 | t5_2fwo | null | null | null |
True | koonat | null | Sensationalism much?
Seriously bogus. | null | 0 | 1316074858 | False | 0 | c2k0saz | t3_kgb4h | null | t1_c2k0saz | t3_kgb4h | null | 1427602719 | 48 | t5_2fwo | null | null | null |
True | mikaelhg | null | As a Java/LAP(P*) developer who's been working on Linux for decades, that's looking pretty darn nice. | null | 0 | 1316074923 | True | 0 | c2k0sg0 | t3_kg44k | null | t1_c2k0sg0 | t3_kg44k | null | 1427602721 | 3 | t5_2fwo | null | null | null |
True | SebNL | null | Mind blown! | null | 0 | 1316075070 | False | 0 | c2k0sqp | t3_kg44k | null | t1_c2k0sqp | t3_kg44k | null | 1427602724 | -1 | t5_2fwo | null | null | null |
True | [deleted] | null | > The -> symbol means “returns type”
This doesn't make sense. You already have a symbol for that, ":". Why use two different ones?
EDIT: Why do all recent languages look like Scala with minor syntax changes? | null | 0 | 1316075126 | False | 0 | c2k0sum | t3_kfvm7 | null | t1_c2k0sum | t3_kfvm7 | null | 1427602726 | 4 | t5_2fwo | null | null | null |
True | sltkr | null | > If you relax the requirement that vector storage be contiguous there's another ..
But that's an essential part of std::vector! | null | 0 | 1316075168 | False | 0 | c2k0sx9 | t3_kf43e | null | t1_c2k0sx9 | t1_c2jxg33 | null | 1427602727 | 2 | t5_2fwo | null | null | null |
True | joehillen | null | Just about anything.
Even single threaded would be better than that. On a server with 30 players, you would have so many more threads than cores that any performance gain due to threading is completely lost due to thrashing and overhead. Hence, why the minecraft server is so terrible; that and tons of other inefficiencies. | null | 0 | 1316075239 | False | 0 | c2k0t1t | t3_kfiuk | null | t1_c2k0t1t | t1_c2k0fvl | null | 1427602729 | 14 | t5_2fwo | null | null | null |
True | [deleted] | null | PDF via JavaScript/Canvas: http://andreasgal.github.com/pdf.js/web/viewer.html#3
I don't think QuickTime is used a lot these days, and I bet somebody will eventually release a Flash-to-JavaScript converter (perhaps it'll be Adobe). | null | 0 | 1316075345 | False | 0 | c2k0t8p | t3_kgb4h | null | t1_c2k0t8p | t1_c2k0s50 | null | 1427602732 | 21 | t5_2fwo | null | null | null |
True | [deleted] | null | I wouldn't exactly say "faster" ... but yes, basically Scala without Scala's standard library and no access to the Java standard library. | null | 0 | 1316075389 | False | 0 | c2k0tbz | t3_kfvm7 | null | t1_c2k0tbz | t1_c2jxs2h | null | 1427602733 | 5 | t5_2fwo | null | null | null |
True | sodiumlaurethsulfate | null | I wish they'd focus more on the compiler/editor than a (I guess) super cut down model editor, paint package, and bunch of code analysis tools that nobody will ever use. It's not like there weren't any issues with VS 2010 and they're 'finished', twiddling their thumbs. The DirectX debugging stuff looks at least possibly useful. | null | 0 | 1316075468 | False | 0 | c2k0tgs | t3_kg44k | null | t1_c2k0tgs | t3_kg44k | null | 1427602735 | 0 | t5_2fwo | null | null | null |
True | chronoBG | null | You accidentally replied to my post, and not the post above. | null | 0 | 1316075676 | False | 0 | c2k0tvs | t3_kf4hn | null | t1_c2k0tvs | t1_c2jwpoz | null | 1427602741 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1316075754 | True | 0 | c2k0u0y | t3_kg44k | null | t1_c2k0u0y | t1_c2k0cxu | null | 1427602742 | 6 | t5_2fwo | null | null | null |
True | kamatsu | null | Even then, this will not give the same performance benefits of static typing. | null | 0 | 1316075877 | False | 0 | c2k0u8m | t3_kf4hn | null | t1_c2k0u8m | t1_c2k0kb6 | null | 1427602746 | 1 | t5_2fwo | null | null | null |
True | Chaoslab | null | /r/MinecraftBugs ? | null | 0 | 1316075899 | False | 0 | c2k0ua6 | t3_kepcp | null | t1_c2k0ua6 | t1_c2jve8z | null | 1427602746 | 1 | t5_2fwo | null | null | null |
True | OopsLostPassword | null | > even this comment may suffer from the same problem
Your comment explains in a polite and constructive way why most people feel that tanishaj's comment wasn't appropriate here. Upvoting your comment thus is a way to show how most people want this subreddit to be. | null | 0 | 1316075917 | True | 0 | c2k0ub9 | t3_kf2xi | null | t1_c2k0ub9 | t1_c2jucjc | null | 1427602746 | 3 | t5_2fwo | null | null | null |
True | KyteM | null | I'd say he's not an awful programmer. In fact, I'd say he's even a pretty good programmer.
But he's a god-*awful* project manager. There're many showstopper-class bugs still running rampant (not to mention performance) while Notch & Mojang're coding whichever shiny new feature of the day they have at the moment. A good project manager makes sure the foundations are well-made before adding the second floor expansions. | null | 0 | 1316075951 | False | 0 | c2k0ude | t3_kfiuk | null | t1_c2k0ude | t1_c2jurq3 | null | 1427602747 | 3 | t5_2fwo | null | null | null |
True | KyteM | null | Thread pool. Like, y'know, the sane people do it. It's a known fact thread-per-user doesn't scale past a half-dozen users. | null | 0 | 1316075967 | False | 0 | c2k0uef | t3_kfiuk | null | t1_c2k0uef | t1_c2k0fvl | null | 1427602747 | 13 | t5_2fwo | null | null | null |
True | matthiasB | null | > So when are we going to see a version of Haskell that can work with .NET ~~or Java~~ libraries?
[A few years ago](http://www.haskell.org/haskellwiki/Salsa). I've never tired it and I don't know how well it works. | null | 0 | 1316076327 | True | 0 | c2k0uzc | t3_kful5 | null | t1_c2k0uzc | t1_c2jy1yy | null | 1427602754 | 1 | t5_2fwo | null | null | null |
True | joesb | null | Agreed, all their development on Android and Chrome are standing still. They certainly can only do one thing at a time. | null | 0 | 1316076536 | False | 0 | c2k0vah | t3_kcwx2 | null | t1_c2k0vah | t1_c2jddjc | null | 1427602757 | 1 | t5_2fwo | null | null | null |
True | sudowork | null | Minimize to application icon + hyperdock is the solution I use. It does suck that I need to use a third party application to do it. | null | 0 | 1316076677 | False | 0 | c2k0vje | t3_kejwo | null | t1_c2k0vje | t1_c2jt1zv | null | 1427602762 | 1 | t5_2fwo | null | null | null |
True | cwstjnobbs | null | You post in a programming subreddit but you can't fugure out how to escape some brackets?
[Wikipedia Article](http://en.wikipedia.org/wiki/PIX_\(Microsoft\)) | null | 0 | 1316076762 | False | 0 | c2k0vo2 | t3_kg44k | null | t1_c2k0vo2 | t1_c2k0u0y | null | 1427602763 | 2 | t5_2fwo | null | null | null |
True | sudowork | null | In my opinion, they should have released Windows 8 strictly as a tablet platform. | null | 0 | 1316076771 | False | 0 | c2k0vor | t3_kejwo | null | t1_c2k0vor | t1_c2jvyu8 | null | 1427602764 | 1 | t5_2fwo | null | null | null |
True | Zarutian | null | what does stronly-typed mean in this context? | null | 0 | 1316076808 | False | 0 | c2k0vr7 | t3_kfvm7 | null | t1_c2k0vr7 | t3_kfvm7 | null | 1427602764 | 2 | t5_2fwo | null | null | null |
True | alexs | null | > But what the hack, its no biggie to turn the circuit into a real video mixer, obviously
What do you mean by video mixer? You mean actually decrypting the source stream and modifying it? I don't think the NeTV has the right hardware to do that actually.
>it cant be done in an open source project due to the DMCA.
America is not the only country in the world. And I don't see that being open source has any effect at all on your liabilities under the DMCA. | null | 0 | 1316076993 | False | 0 | c2k0w2l | t3_kfby2 | null | t1_c2k0w2l | t1_c2k0p5e | null | 1427602769 | 1 | t5_2fwo | null | null | null |
True | sudowork | null | This, however, also disables other UI features like the ribbon in explorer (not that you need that). | null | 0 | 1316077000 | False | 0 | c2k0w36 | t3_kejwo | null | t1_c2k0w36 | t1_c2jt3vn | null | 1427602769 | 3 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1316077024 | False | 0 | c2k0w4t | t3_kg44k | null | t1_c2k0w4t | t3_kg44k | null | 1427602769 | 10 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1316077069 | False | 0 | c2k0w74 | t3_kgb4h | null | t1_c2k0w74 | t3_kgb4h | null | 1427602770 | -2 | t5_2fwo | null | null | null |
True | tsilb | null | Profit, and of course self-learning, are good reasons. They are more substantiative than "me too". | null | 0 | 1316077124 | False | 0 | c2k0war | t3_kfvm7 | null | t1_c2k0war | t1_c2k06ww | null | 1427602772 | 2 | t5_2fwo | null | null | null |
True | zulfi_cse | null | good for binding with key's.
better than bind the keys with jquery and then check by .keyCode() and all. | null | 0 | 1316077153 | False | 0 | c2k0wcp | t3_kfms2 | null | t1_c2k0wcp | t3_kfms2 | null | 1427602772 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | > I also expect that a mass-algorate society's software would have discoverable, predictable APIs, because 99% of coders would not be specialist programmers and would have better things to do than read endless documentation.
I lol'd. You discover and learn to predict an API by reading the documentation so I think "brain-free" programming is still a while away ... | null | 0 | 1316077176 | False | 0 | c2k0we5 | t3_kgbzq | null | t1_c2k0we5 | t3_kgbzq | null | 1427602773 | 7 | t5_2fwo | null | null | null |
True | [deleted] | null | It really looks like the really huge stuff is not the GUI/Metro stuff, but the things in the background!
A new Windows Runtime API with full (introspection) support for C, C++, C#, F#, JavaScript, ... this is huge!
Add that to the new .NET 4.5 and the impressive stuff F# 3.0 delivers.
I wish Oracle would care as much as Microsoft does ... | null | 0 | 1316077352 | False | 0 | c2k0wph | t3_kful5 | null | t1_c2k0wph | t1_c2jzfrv | null | 1427602785 | 3 | t5_2fwo | null | null | null |
True | snprbob86 | null | Fine, make me do some work :-P
http://code.reddit.com/ticket/310
Fixed my post. | null | 0 | 1316077359 | False | 0 | c2k0wps | t3_kg44k | null | t1_c2k0wps | t1_c2k0vo2 | null | 1427602785 | 3 | t5_2fwo | null | null | null |
True | jeff_hanson | null | > at one point I remotely managed an off-shore team of developers that cost 9x less than one programmer in the US
For that alone, you should be shot in the head. | null | 0 | 1316077619 | False | 0 | c2k0x5n | t3_kf2xi | null | t1_c2k0x5n | t1_c2ju7cd | null | 1427602787 | 4 | t5_2fwo | null | null | null |
True | kamatsu | null | You wrote Henry Hatsworth? I love that game! | null | 0 | 1316077662 | False | 0 | c2k0x7y | t3_kfuqy | null | t1_c2k0x7y | t1_c2k05ch | null | 1427602787 | 1 | t5_2fwo | null | null | null |
True | qrios | null | Does emacs have a 3D model editor? I just realized how useful this would be for doing any sort of manual indice specification. | null | 0 | 1316077666 | False | 0 | c2k0x8b | t3_kg44k | null | t1_c2k0x8b | t3_kg44k | null | 1427602788 | 11 | t5_2fwo | null | null | null |
True | lanzkron | null | Obviously you're not Welsh. I think my grandma comes from a little town near Secbcgpbawwtriubtcdtmd. | null | 0 | 1316077751 | False | 0 | c2k0xdf | t3_kgaop | null | t1_c2k0xdf | t1_c2k0rqz | null | 1427602789 | 26 | t5_2fwo | null | null | null |
True | Taladar | null | It is simple really, easier/harder is not a single spectrum. Making it easier means usually making it less powerful, i.e. making it less efficient for those are actually capable of learning the harder language.
In fact even that is a simplification. There is accidental complexity, making a language harder without a benefit, and essential complexity, making it harder for a gain in power.
This is not just true for languages but for all kinds of user interface design. People using e.g. vim or emacs aren't stupid and use the harder tools when easier ones are available, they (we) use them because they provide a benefit over simpler tools too. | null | 0 | 1316077755 | False | 0 | c2k0xdn | t3_kf2xi | null | t1_c2k0xdn | t1_c2juenz | null | 1427602789 | 3 | t5_2fwo | null | null | null |
True | qrios | null | Honestly, I can see this being seriously useful. If you're doing progressive content generation in 3D there are a lot of times when you need to specify how indices should connect to vertices in various situations, and it's really mentally taxing work that's really error prone. If this can help with specifying indices it can seriously save days of work. | null | 0 | 1316077835 | False | 0 | c2k0xhp | t3_kg44k | null | t1_c2k0xhp | t1_c2k0w4t | null | 1427602791 | 13 | t5_2fwo | null | null | null |
True | krishna | null | Like others have said, it looks more like the strategy pattern. Kevlin Henney's paper [Methods for states](http://www.two-sdg.demon.co.uk/curbralan/papers/vikingplop/MethodsForStates.pdf) describes a couple of approaches for managing state. | null | 0 | 1316077894 | False | 0 | c2k0xkv | t3_kfuqy | null | t1_c2k0xkv | t3_kfuqy | null | 1427602792 | 1 | t5_2fwo | null | null | null |
True | taw | null | Did it get cross-platform and Open Source? If not, don't bother. Relying on single-platform closed software for infrastructure is a horrible idea. | null | 0 | 1316077923 | False | 0 | c2k0xmn | t3_kfuii | null | t1_c2k0xmn | t3_kfuii | null | 1427602799 | -16 | t5_2fwo | null | null | null |
True | Figs | null | Just FYI -- you're missing the actual function pointer field even though you set it in your member functions... :) | null | 0 | 1316078308 | True | 0 | c2k0y6r | t3_kfuqy | null | t1_c2k0y6r | t1_c2k0kn4 | null | 1427602798 | 1 | t5_2fwo | null | null | null |
True | antisvin | null | Doesn't conform to PEP 8 - indentation should be 4 spaces. | null | 0 | 1316078705 | False | 0 | c2k0yrp | t3_ke58q | null | t1_c2k0yrp | t1_c2jxojp | null | 1427602808 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | html5: sexy fluff
can I get that on a tshirt? | null | 0 | 1316078720 | False | 0 | c2k0ysm | t3_kgb4h | null | t1_c2k0ysm | t1_c2k0s50 | null | 1427602808 | 3 | t5_2fwo | null | null | null |
True | [deleted] | null | But I don't want to be a bad coder again :( | null | 0 | 1316078868 | False | 0 | c2k0z0w | t3_kfiuk | null | t1_c2k0z0w | t3_kfiuk | null | 1427602811 | 2 | t5_2fwo | null | null | null |
True | morrog | null | > I don't think the NeTV has the right hardware to do that actually.
It does. Decrypting isn't much harder than encrypting. If you're curious, the HDCP specification is a public document. Just Google for HDCP Specification and you'll find it on DCP's website. Everything is in there, including test keys.
However, I believe the NeTV *is* limited to a rather small bandwidth. They only stated on their website that it handles up to 1080p24, instead of 1080p60. Assuming that is indeed the case, I imagine it is because the Spartan-6 can't handle TMDS signals much above 500MHz, which is a shame.
I'm also particularly curious if they had to get a license from DCP or not. The HDCP specification clearly states that you must have a license to implement it. Not sure what costs and restrictions that implies. | null | 0 | 1316078972 | False | 0 | c2k0z6l | t3_kfby2 | null | t1_c2k0z6l | t1_c2k0w2l | null | 1427602814 | 1 | t5_2fwo | null | null | null |
True | Figs | null | > For what it's worth, that was probably the wrong choice. In a real game, you often do need additional data to store with the states, and it was a real pain in the ass to not have that with Hatsworth. This was my first and only DS game and I was overly paranoid about memory use. I should have just used a memory pool and allowed stateful state objects.
Why not just use member function pointers and store the state in the object? | null | 0 | 1316078989 | False | 0 | c2k0z7h | t3_kfuqy | null | t1_c2k0z7h | t1_c2k05ch | null | 1427602814 | 1 | t5_2fwo | null | null | null |
True | voxfrege | null | > Why do all recent languages look like Scala with minor syntax changes?
[Frege](http://code.google.com/p/frege/) doesn't. Rather, it looks like Haskell with minor syntax changes. | null | 0 | 1316079078 | False | 0 | c2k0zci | t3_kfvm7 | null | t1_c2k0zci | t1_c2k0sum | null | 1427602817 | 2 | t5_2fwo | null | null | null |
True | tomun | null | I've never liked pdf plugins. PDFs should be left to open in an external app just like Excel files (for example) do.
Flash is more of a problem as it's still very useful to have in a browser. | null | 0 | 1316079146 | False | 0 | c2k0zfp | t3_kgb4h | null | t1_c2k0zfp | t1_c2k0t8p | null | 1427602823 | 33 | t5_2fwo | null | null | null |
True | fisherboy | null | No one else thought the website open-*std* was strange? | null | 0 | 1316079556 | False | 0 | c2k0zzk | t3_kgaop | null | t1_c2k0zzk | t3_kgaop | null | 1427602831 | 7 | t5_2fwo | null | null | null |
True | alexs | null | I think your theory about the TMDS frequency is probably right. I don't see how you can easily turn the NeTV into an HDCP stripper or do actual alpha blending with that hardware though. At least not for HD resolution video streams. I am not saying it's impossible, it just seems like there are easier ways. Although this form factor probably has it's own advantages that might make it a preferable target for hacking :)
Given that he has backing from Sony and other largeish OEMs I think it's entirely plausible they'll just pay the HDCP licensing fee. | null | 0 | 1316079558 | False | 0 | c2k0zzo | t3_kfby2 | null | t1_c2k0zzo | t1_c2k0z6l | null | 1427602831 | 1 | t5_2fwo | null | null | null |
True | pozorvlak | null | I wrote that at like 1am, so I'm not sure I stand by it 100%. And like I said in the article, it's a side issue. But you're thinking pre-mass-algorically. I'm thinking of society-wide API conventions and pervasive son-of-code-completion systems. And I'm not talking about "brain-free programming"; I'm talking about concentrating the brainwork where it's important, in the construction of the algorithms. Today, the biggest obstacle to extending most of the systems I use is working out how to access the extension mechanism and finding out how to do simple tasks programmatically. Hence very simple algorithms take hours or days to implement. | null | 0 | 1316079636 | True | 0 | c2k103n | t3_kgbzq | null | t1_c2k103n | t1_c2k0we5 | null | 1427602833 | 3 | t5_2fwo | null | null | null |
True | matthewpl | null | > I'd say he's not an awful programmer. In fact, I'd say he's even a pretty good programmer.
We cannot for sure say how good or bad is Notch because we cannot see Minecraft source code. But we can say that when we see results. Especially mods like OptiFine with multi threads. At the moment Minecraft has the same thread for rendering and chunks updates (!!!) - insane. Updating chunks takes so much time that there is no way to have more FPS that Chunks Updates Per Second (this is possible when you are doing nothing so there is only few chunks updates). OptiFine has multi threads version which runs much faster and smoother (especially on slows computers).
There is another reason that makes me feel bad. Notch works on Minecraft only a half of time that he should (or more: could) works. I know: his game, his company, he can do whatever he want. But at the same time lets take a normal developer in normal (developer friendly) company. They works 6-8 hours per day, 5 days per week (if we won't count a holidays or vacations, you know what I mean, just normal working week), but Notch works only 20 (or less) hours per week. And this happen when he is Leader Programmer of the Minecraft! And final release will be soon - he takes vacation or starts another "secret project". It could understand this if Minecraft could be year after release (he is tired and need some refreshing) or be free. But it's not, people paid for promise fast adding content and optimizations. And that not happens. | null | 0 | 1316079701 | True | 0 | c2k106l | t3_kfiuk | null | t1_c2k106l | t1_c2k0ude | null | 1427602833 | -6 | t5_2fwo | null | null | null |
True | thesystemx | null | To be really precise: Within a local JVM, Java passes pointers by value ;)
For remote calls, there is a deep copy being made. | null | 0 | 1316080024 | False | 0 | c2k10m2 | t3_kg7nl | null | t1_c2k10m2 | t1_c2k0fyp | null | 1427602843 | 1 | t5_2fwo | null | null | null |
True | pozorvlak | null | If anyone thinks this is off-topic, I'd like to point out that there *is* code in the linked article. It's not my fault you don't read Babylonian. | null | 0 | 1316080056 | False | 0 | c2k10oc | t3_kgbzq | null | t1_c2k10oc | t3_kgbzq | null | 1427602838 | 35 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1316080057 | False | 0 | c2k10oe | t3_kf2cx | null | t1_c2k10oe | t3_kf2cx | null | 1427602838 | 1 | t5_2fwo | null | null | null |
True | Smallpaul | null | Types are checked by the compiler. | null | 0 | 1316080075 | False | 0 | c2k10pd | t3_kfvm7 | null | t1_c2k10pd | t1_c2k0vr7 | null | 1427602838 | 2 | t5_2fwo | null | null | null |
True | rizla7 | null | silverlight was always meant to be abandoned, happened sooner than i thought though.
however, for the time being, this is **just in Metro** interface in windows 8..
internet explorer 10 will **not** be affected, only when running it as a metro app...
just thought i would clear up all that confusion for people who just troll and don't actually read the article... although, if you work in tech, this is old new to you...
edit: actually, its **not quite** that simple ;) some ambiguity surrounding silverlight in metro. from my understanding SL *might* be integrated into WinRT (part of dotnet CLR)... i can't be sure of that, but XAML is part of WinRT.. it won't be SL as we know it though..
see image at this link (same image from build 2011): http://www.readwriteweb.com/hack/2011/09/build-2011-what-is-winrt-and-i.php
it seems to suggest that SL *might* be integrated into Metro, while the SL plugin will continue to run as x86/x64 app. | null | 0 | 1316080084 | True | 0 | c2k10px | t3_kgb4h | null | t1_c2k10px | t3_kgb4h | null | 1427602838 | 66 | t5_2fwo | null | null | null |
True | crunk | null | No thank you ! | null | 0 | 1316080090 | False | 0 | c2k10q5 | t3_kf2cx | null | t1_c2k10q5 | t3_kf2cx | null | 1427602838 | 1 | t5_2fwo | null | null | null |
True | ehird | null | The fact is that there is no "default integer". If 0 has worked for you, that has been a happy coincidence; as I pointed out with my original comment, it is by no means the "obvious" initial value for an integer to take.
And as for compound types, null is of course as much of a billion-dollar mistake as it always has been. | null | 0 | 1316080103 | False | 0 | c2k10r4 | t3_kfvm7 | null | t1_c2k10r4 | t1_c2k0kqq | null | 1427602838 | 4 | t5_2fwo | null | null | null |
True | BathroomEyes | null | sure!
http://i.imgur.com/0hghY.png | null | 0 | 1316080215 | False | 0 | c2k10x4 | t3_kgb4h | null | t1_c2k10x4 | t1_c2k0ysm | null | 1427602841 | 7 | t5_2fwo | null | null | null |
True | thesystemx | null | I have a strong, strong feeling that if the exact same post was about Python, it would get 12 upvotes instantly and some 20 more rapidly thereafter.
People try to paint a picture about Java being this forced tool that only anonymous faceless corporate cubicle drones ever use, but every indication that this might not be the case is quickly voted down.
Hopefully, nobody had read this... I mean, perhaps somebody at Reddit learns that Java is actually used by people who enjoy it. The shock... the horror! | null | 0 | 1316080300 | False | 0 | c2k111i | t3_kftz8 | null | t1_c2k111i | t3_kftz8 | null | 1427602841 | 4 | t5_2fwo | null | null | null |
True | king_of_the_universe | null | Can someone clarify, please? Is the 3D engine only for the editor, or will we also be able to call a few *simple* VS-internal commands and have a 3D scene with movable camera etc.? | null | 0 | 1316080357 | False | 0 | c2k1144 | t3_kg44k | null | t1_c2k1144 | t3_kg44k | null | 1427602853 | 2 | t5_2fwo | null | null | null |
True | Lashay_Sombra | null | By splitting it into Metro/Desktop within the same OS they have set up a fight to the death, especially if tablets/touch screens take on any serious growth within the bushiness domain. (can see tablets becoming more used, touch screens not so much because having used them see one insurmountable problem..your arms get tired fast)
If the metro interface becomes the preferred interface pretty much all windows .net desktop development as we know it will be dead and we will all become akin to iPhone developers | null | 0 | 1316080372 | False | 0 | c2k1154 | t3_kgb4h | null | t1_c2k1154 | t3_kgb4h | null | 1427602853 | 6 | t5_2fwo | null | null | null |
True | Peaker | null | Chrome's PDF handling is great. The requirement to have it open in some separate window rather than in the tab is just annoying and poses no actual benefit. | null | 0 | 1316080411 | False | 0 | c2k116z | t3_kgb4h | null | t1_c2k116z | t1_c2k0zfp | null | 1427602844 | 33 | t5_2fwo | null | null | null |
True | Peaker | null | Are you confusing Google and Apple, or did Google do something I'm unaware of? | null | 0 | 1316080443 | False | 0 | c2k118y | t3_kgb4h | null | t1_c2k118y | t1_c2k0w74 | null | 1427602845 | 4 | t5_2fwo | null | null | null |
True | faultydesign | null | Teamocil! | null | 0 | 1316080494 | False | 0 | c2k11bm | t3_kfirl | null | t1_c2k11bm | t1_c2jvr3r | null | 1427602847 | 1 | t5_2fwo | null | null | null |
True | thesystemx | null | >C and C++ are different languages. Just because C++ builds upon C doesn't mean that C should be part of C++ or vice versa.
Is that why people so often refer to something like "C/C++"?
>Maybe Java developers need more commits to do things right.
Might be true, or might not be true. I agree that statistics need careful interpretation, but even though "number one in opensource" may possibly be exaggerated, there's a strong indication that Java *is* used a lot and that it *is* used a lot in open source.
This completely contradicts the meme spread here that Java is only used by drones in big enterprises and is a dying language. | null | 0 | 1316080574 | False | 0 | c2k11g2 | t3_kftz8 | null | t1_c2k11g2 | t1_c2k0g9t | null | 1427602847 | 1 | t5_2fwo | null | null | null |
True | 5-4-3-2-1-bang | null | That didn't take nearly as long as I expected...
...but I can't help but feel this will dramatically accelerate Windows' slide into irrelevance. A browser that doesn't do PDFs? You might as well write a browser that doesn't do PNGs. | null | 0 | 1316080790 | False | 0 | c2k11ri | t3_kgb4h | null | t1_c2k11ri | t3_kgb4h | null | 1427602854 | -1 | t5_2fwo | null | null | null |
True | [deleted] | null | I never installed it, I guess I didn't miss anything. | null | 0 | 1316080793 | False | 0 | c2k11ro | t3_kgb4h | null | t1_c2k11ro | t3_kgb4h | null | 1427602854 | 6 | t5_2fwo | null | null | null |
True | [deleted] | null | I agree with the general notion, I just think you got some of the details wrong. What I'm saying is that a well-documented (and convention is a form of documentation ...) API is discoverable and predictable while the problems you point to is really caused by a lack of any formal API or documentation.
We'll have lot's and lot's of small software systems that interface with lot's and lot's of other systems. There will be APIs and there will be shit tons of documentation and it will be glorious. Text will still be the primary means of communicating ideas for a long while. | null | 0 | 1316080795 | False | 0 | c2k11rx | t3_kgbzq | null | t1_c2k11rx | t1_c2k103n | null | 1427602854 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1316080843 | False | 0 | c2k11uj | t3_kgdat | null | t1_c2k11uj | t3_kgdat | null | 1427602855 | 1 | t5_2fwo | null | null | null |
True | ZorbaTHut | null | That also used to be the case for every program you had to use. Today, you run a program and it's essentially self-describing.
I don't know what a similar revolution with APIs would look like, but I suspect it'll happen. | null | 0 | 1316081012 | False | 0 | c2k124c | t3_kgbzq | null | t1_c2k124c | t1_c2k0we5 | null | 1427602860 | 3 | t5_2fwo | null | null | null |
True | UberMouse894 | null | IE in desktop mode is being treated as a legacy app.
But yes, you can just switch to the desktop mode. | null | 0 | 1316081018 | False | 0 | c2k124o | t3_kgb4h | null | t1_c2k124o | t1_c2k10px | null | 1427602860 | 13 | t5_2fwo | null | null | null |
True | [deleted] | null | I don't think MS has a strategy right now. They are basically just throwing up things and hoping something catches on with somebody.
They are getting creamed in both the mobile and the tablet space and every day the desktop becomes less relevant.
Luckily they have billions of dollars to throw at unsuccessful ideas and nurse them for decades. The benefit of having a desktop and office monopolies for decades.
| null | 0 | 1316081044 | False | 0 | c2k125z | t3_kgb4h | null | t1_c2k125z | t1_c2k1154 | null | 1427602870 | 9 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1316081077 | False | 0 | c2k127l | t3_kgaop | null | t1_c2k127l | t1_c2k0l1v | null | 1427602870 | 0 | t5_2fwo | null | null | null |
True | psi- | null | oh jesus, not this shit again. | null | 0 | 1316081107 | False | 0 | c2k129c | t3_kgb4h | null | t1_c2k129c | t3_kgb4h | null | 1427602860 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | I abandoned reading this article when I got to the third incomprehensible clause, about two sentences in. Is there a report on this written by someone who speaks passable English? | null | 0 | 1316081257 | False | 0 | c2k12ht | t3_kgb4h | null | t1_c2k12ht | t3_kgb4h | null | 1428194039 | 75 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1316081377 | True | 0 | c2k12og | t3_kgb4h | null | t1_c2k12og | t1_c2k0q5p | null | 1427602865 | 89 | t5_2fwo | null | null | null |
Subsets and Splits
Filtered Reddit Uplifting News
The query retrieves specific news articles by their link IDs, providing a basic overview of those particular entries without deeper analysis or insights.
Recent Programming Comments
Returns a limited set of programming records from 2020 to 2023, providing basic filtering with minimal analytical value.