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 | learnyouahaskell | null | Get ready to edit code using touch gestures. :P | null | 0 | 1316017343 | False | 0 | c2ju1zv | t3_kejwo | null | t1_c2ju1zv | t1_c2jojxx | null | 1427599424 | 6 | t5_2fwo | null | null | null |
True | i8beef | null | Facebook has a split stack I believe. It's FRONT END is written in (a heavily modified and custom) PHP (it serves as a template engine), but it's back end is written in something else... I believe C? Not sure, it's been a while since I read articles on it. | null | 0 | 1316017362 | False | 0 | c2ju239 | t3_kf2xi | null | t1_c2ju239 | t1_c2jspwt | null | 1427599419 | 1 | t5_2fwo | null | null | null |
True | grauenwolf | null | Your tablet is going to be your desktop computer.
The tablets that Microsoft handed out yesterday come with Visual Studio and a docking station. When you are at your desk you get a mouse, keyboard, and a couple monitors. When you go to a meeting you take it with you as a tablet. | null | 0 | 1316017390 | False | 0 | c2ju289 | t3_kejwo | null | t1_c2ju289 | t1_c2jtvc6 | null | 1427599421 | 3 | t5_2fwo | null | null | null |
True | agiantman | null | TIL: Microsoft contributed towards a foundation piece of AJAX. | null | 0 | 1316017403 | False | 0 | c2ju2ah | t3_kf53s | null | t1_c2ju2ah | t1_c2jtend | null | 1428194130 | 2 | t5_2fwo | null | null | null |
True | learnyouahaskell | null | What I really want is Windows 98: Reloaded. | null | 0 | 1316017405 | False | 0 | c2ju2at | t3_kejwo | null | t1_c2ju2at | t1_c2jteot | null | 1428194130 | 0 | t5_2fwo | null | null | null |
True | CedarMadness | null | Nook Color obviously | null | 0 | 1316017417 | False | 0 | c2ju2bn | t3_kewkd | null | t1_c2ju2bn | t1_c2jtz2i | null | 1427599422 | 1 | t5_2fwo | null | null | null |
True | a_redditor | null | > 15% at 63.1 MB/sec
I think I just had a stevegasm. | null | 0 | 1316017454 | False | 0 | c2ju2jj | t3_kewkd | null | t1_c2ju2jj | t1_c2jtxtv | null | 1427599425 | 4 | t5_2fwo | null | null | null |
True | agiantman | null | Thank you, I was wondering if I was being absurd for only wanting to support Windows at first, and probably at a later time supporting mobile. | null | 0 | 1316017461 | False | 0 | c2ju2ki | t3_kf53s | null | t1_c2ju2ki | t1_c2jrmwb | null | 1427599426 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | According to that video, you can only get applications on ARM by buying them from Microsoft's app store. You can't download them yourself.
If that's true, ouch... | null | 0 | 1316017476 | False | 0 | c2ju2n2 | t3_kewkd | null | t1_c2ju2n2 | t1_c2jto8z | null | 1427599427 | 4 | t5_2fwo | null | null | null |
True | chaud | null | Need to install guest additions with compat mode, Intel networking card. | null | 0 | 1316017504 | False | 0 | c2ju2r0 | t3_kejwo | null | t1_c2ju2r0 | t1_c2jrl92 | null | 1427599428 | 1 | t5_2fwo | null | null | null |
True | mhd | null | That's a bit hard to determine from just visiting it, any speed issues could be due to network latency, inefficient algorithms etc.
I could easily say "Go visit GMail and tell me JS is slow". Or, getting back to Java, say that Tcl is faster because my Tk GUI pops up faster than one written in Swing.
It's actually quite likely that your client-side JS runtime that only has to handle your issues is faster than the runtime serving the whole mess to 100-1000s user at the same time (if it's written in Pyhon/Ruby/PHP/Perl). I'd say that more often than not, speed issues in the browser aren't exactly bound by your CPU. Quite likely it's the whole rotten, arcane and baroque stack of abstractions and sub-languages that that's the issue.
(I'd much rather have a - by comparison - sluggish PostScript than JS/CSS/HTML/SVG/JSON/etc., but we have to live in the world we've created…) | null | 0 | 1316017601 | False | 0 | c2ju37h | t3_kf4hn | null | t1_c2ju37h | t1_c2jtiw4 | null | 1427599434 | 3 | t5_2fwo | null | null | null |
True | [deleted] | null | I'd say he's showing off the *exact* right skills for a programmer trying to do a web site. | null | 0 | 1316017610 | False | 0 | c2ju38x | t3_keepq | null | t1_c2ju38x | t1_c2jr1n4 | null | 1427599435 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | > I've read this is nowhere near as stable as the Win7 beta 1 was
Microsoft is in panic mode right now. All the excitement is around Apple products. This very early release is an attempt to slow the growth of the iPad ecosystem. Microsoft are experts in the sowing of FUD. Windows Phone 7's innovative UI (I've never read a negative review of it) is succeeding in the same way that the Zune did against the iPod.
It blows my mind that a company with the resources of Microsoft is still so far away from having a response to Apple's winning strategy and their response seems to be "give people Windows on a tablet". | null | 0 | 1316017637 | True | 0 | c2ju3eg | t3_kewkd | null | t1_c2ju3eg | t1_c2jtaey | null | 1427599437 | -5 | t5_2fwo | null | null | null |
True | recursive | null | How many is he getting? | null | 0 | 1316017662 | False | 0 | c2ju3ij | t3_k11vj | null | t1_c2ju3ij | t1_c2gvobd | null | 1427599438 | 1 | t5_2fwo | null | null | null |
True | Taladar | null | > No problem - it's Java - [...], and how bad can they mess it up anyway?
So essentially you are saying you prefer all developers to have less powerful tools because more powerful tools allow them to screw up when they happen to be incompetent? | null | 0 | 1316017755 | False | 0 | c2ju3xj | t3_kf2xi | null | t1_c2ju3xj | t1_c2js9a4 | null | 1427599443 | 2 | t5_2fwo | null | null | null |
True | Kapow751 | null | >* The interfaces the class Button implements are, IDependencyObject, IUIElement, IUIElementOverrides, IFrameworkElement, IFrameworkElementOverrides, IControl, IControlOverrides, IControlProtected, IContentControl, IContentControlOverrides, IButtonBase, IButton.
>
>That's 12 interfaces! for a single button!!!!!
So what? What do you mean "a single button"? Do you even understand the point of interfaces?
>The Button class also has:
>
>* 31 events.
>* 58 methods.
>* 76 properties.
>
>The above numbers do not include inherited events, methods and properties.
Completely false. The Button class does not define **any events or methods at all**. ButtonBase defines 1 event and 0 methods.
Did you really not notice the "(Inherited from ______)" in every single event and method listed there, or are you trying to bullshit people? | null | 0 | 1316017755 | False | 0 | c2ju3xo | t3_kewaq | null | t1_c2ju3xo | t1_c2jsup5 | null | 1427599445 | 5 | t5_2fwo | null | null | null |
True | jrandom | null | If the STL supported stateful allocators it would be perfect! But... it doesn't... | null | 0 | 1316017786 | False | 0 | c2ju43b | t3_kf43e | null | t1_c2ju43b | t1_c2jsbqh | null | 1427599446 | 1 | t5_2fwo | null | null | null |
True | tanishaj | null | It is fascinating to me that this comment has negative votes. I do not have the slightest idea why that would be. There is apparently so much I do not understand about the world. | null | 0 | 1316017788 | False | 0 | c2ju43r | t3_kf2xi | null | t1_c2ju43r | t1_c2jsyiq | null | 1427599446 | -4 | t5_2fwo | null | null | null |
True | poels6 | null | [Windows 8 64bits (without SDK and samples)](http://burnbit.com/torrent/177080/WindowsDeveloperPreview_64bit_English_iso)
[Windows 8 64bits (with SDK)](http://burnbit.com/torrent/177079/WindowsDeveloperPreview_64bit_English_Developer_iso)
Yey ! I finally found a use for burnbit !
EDIT : That is odd. The direct downlaod link shows up in uTorrent, but it looks like uTorrent can't really download from a website... Maybe with Azureus/Vuze ? | null | 0 | 1316017820 | True | 0 | c2ju49i | t3_kewkd | null | t1_c2ju49i | t1_c2jtlxf | null | 1427599448 | 4 | t5_2fwo | null | null | null |
True | mmhrar | null | Regression testing is very important, but usually takes way too much time to do on such a consistent basis.
Generally, once you've locked down a particular milestone build, you hand it off to QA and give them a couple days to perform all the regression tests, then hotfix any bugs found while continuing development on the trunk and integrating fixes both ways. | null | 0 | 1316017823 | False | 0 | c2ju4a2 | t3_kepcp | null | t1_c2ju4a2 | t3_kepcp | null | 1427599448 | 1 | t5_2fwo | null | null | null |
True | mikethecoder | null | The ribbons are a sticking point for me... if I can't disable them i'll never use Win8 | null | 0 | 1316017911 | False | 0 | c2ju4pq | t3_kewkd | null | t1_c2ju4pq | t3_kewkd | null | 1427599455 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | Set your task bar to stack instances of an application.
I'm a developer, and I can fit like 30 apps (with however many instances of each) on one task bar on my 1920x1080 screen. Plus, you can create folders on the task bar that have pop-up menus full of shortcuts to other apps.
I never use the start menu in Windows 7 because I have all the stuff I need pinned to the task bar. And if it's not there, just hit Windows + type the first few letters + enter and it searches for the app and launches it. | null | 0 | 1316017920 | False | 0 | c2ju4rd | t3_kejwo | null | t1_c2ju4rd | t1_c2jtzy4 | null | 1427599455 | -1 | t5_2fwo | null | null | null |
True | Taladar | null | Quite frankly that whole "lets make a language for programmers dumber than us" gave us the whole Java mess in the first place and we should not repeat that mistake. | null | 0 | 1316017925 | False | 0 | c2ju4s1 | t3_kf2xi | null | t1_c2ju4s1 | t1_c2jrjgn | null | 1427599455 | 2 | t5_2fwo | null | null | null |
True | pr1ntscreen | null | Tip: connect with rdp for better speeds | null | 0 | 1316017962 | False | 0 | c2ju4yf | t3_kewkd | null | t1_c2ju4yf | t1_c2jsudw | null | 1427599458 | 2 | t5_2fwo | null | null | null |
True | tanishaj | null | Sort of. The current reality is more that Scala is available for IKVM.NET which a .NET implementation of the JVM.
This means, for example, that Scala generics work through type-erasure even though the CLR supports generics at the bytecode and run-time level. | null | 0 | 1316018025 | False | 0 | c2ju5a6 | t3_kf2xi | null | t1_c2ju5a6 | t1_c2jtabk | null | 1427599463 | 4 | t5_2fwo | null | null | null |
True | ericanderton | null | Is there any more technical background on this design (flaw)? I'm curious about how and why this is a problem that needs fixing. | null | 0 | 1316018108 | False | 0 | c2ju5ol | t3_kejfs | null | t1_c2ju5ol | t3_kejfs | null | 1427599466 | 2 | t5_2fwo | null | null | null |
True | mhd | null | [The c2 wiki](http://c2.com/xp/UnitTest.html) is a good starting point, although I'd take anything said in that area with a grain of salt. Unit testing nowadays is often thrown in one hat with a dozen semi-related techniques, and riddled with almost religious notions. | null | 0 | 1316018137 | False | 0 | c2ju5u4 | t3_kepcp | null | t1_c2ju5u4 | t1_c2jtl3o | null | 1427599468 | 3 | t5_2fwo | null | null | null |
True | SkeuomorphEphemeron | null | Use a DNS server with an IP that's local (according to MaxMind GeoIP for example) to the Akamai site with fastest download for you and you'll get mapped to that site. | null | 0 | 1316018181 | False | 0 | c2ju61t | t3_kewkd | null | t1_c2ju61t | t1_c2jtb5g | null | 1427599471 | 1 | t5_2fwo | null | null | null |
True | Flanery | null | I was momentarily confused as to why the hell the jailbait community would care about this, then I realized the internet has ruined me for life. | null | 0 | 1316018192 | False | 0 | c2ju63l | t3_kewkd | null | t1_c2ju63l | t1_c2jtvb3 | null | 1427599472 | 9 | t5_2fwo | null | null | null |
True | learnyouahaskell | null | It reminded me of [Pivotal Tracker](http://pivotaltracker.com) and [Harvest](http://getharvest.com), but it immediately seemed more fun to use. | null | 0 | 1316018203 | False | 0 | c2ju65m | t3_ketdw | null | t1_c2ju65m | t1_c2jtbj4 | null | 1427599472 | 2 | t5_2fwo | null | null | null |
True | gasche | null | > New 100x faster parser built using PEGjs instead of the old parser built using PetitParser.
I think those improvement number, below a certain limit, are counterproductive.
When I read that "this optimization made run time 3x faster in this favorable case and 40% faster in our battery of benchmarks", I think it's cool.
When I read "New is 100x faster than Old", I think that Old sucked, performance-wise.
If Old really sucked, that's not something you want to say out loud in a release. You just say "New is faster than Old", or "performances defects in bad cases of Old corrected". If Old was just not coded with performance in mind, but has since been used in performance-demanding applications which requested a change, well, it's natural to get a real improvement, and maybe you don't need to boast about it.
I don't say "100x faster" *proves* the old one sucked. Maybe the old one was pretty good already, and you optimized it by heroic efforts that improved over the state of the art, both practically and conceptually. Maybe. But that's not what I assume when reading "100x faster". | null | 0 | 1316018238 | False | 0 | c2ju6bb | t3_kf4hn | null | t1_c2ju6bb | t1_c2js608 | null | 1427599474 | 8 | t5_2fwo | null | null | null |
True | mhd | null | Ah, yeah, the AppleScript of testing… | null | 0 | 1316018257 | False | 0 | c2ju6ex | t3_kepcp | null | t1_c2ju6ex | t1_c2joe3y | null | 1427599476 | 4 | t5_2fwo | null | null | null |
True | warbiscuit | null | Regarding embarrassment... don't feel too bad, SQLite's test suite humbles us all. Most projects build up a test suite that gets (at best) 95% certainty that things will work. SQLite has NASA-grade "people will die if we fail" levels of testing.
I don't know any good articles / books on unit testing, though [this](http://stackoverflow.com/questions/3923471/good-literature-on-unit-testing) stackoverflow question has some potentially useful links.
Though many languages have multiple unittesting frameworks for you to choose from, most languages will have a "xUnit" style framework... this is the name given to various unittesting frameworks whose interface was inspired by the Java's "jUnit" testing framework. eg: Python's "unittest" module falls under this category, and I think C# actually has one *called* xUnit (though it's also just a jUnit descendant). Learning an xUnit-style framework for your language of choice will be extremely beneficial, as you'll have a leg up learning unittesting in other languages.
Personally, the way I learned/am learning testing was by studying the tests for the things I was using myself, such as the unittests in Python's source code (my current language of choice), and those of any mature libraries I relied on. Though that's perhaps not the most structured way of learning :)
---
edit: Also... once you've read the docs on how to use a testing framework, nothing is better than experience. Pick a library or app you're developing, and for a while: whenever you find a runtime bug, try to write a quick function or test case that reproduces it from scratch, and *then* go and fix the bug. It's time consuming, but the payoff is the joy of near 0 regressions. | null | 0 | 1316018286 | True | 0 | c2ju6kf | t3_kepcp | null | t1_c2ju6kf | t1_c2jtl3o | null | 1427599478 | 8 | t5_2fwo | null | null | null |
True | tanishaj | null | Let me run a little experiment:
Kotlin. | null | 0 | 1316018334 | False | 0 | c2ju6tt | t3_kf2xi | null | t1_c2ju6tt | t3_kf2xi | null | 1427599481 | -8 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1316018382 | False | 0 | c2ju722 | t3_kewkd | null | t1_c2ju722 | t1_c2jtiic | null | 1427599484 | 1 | t5_2fwo | null | null | null |
True | Mononofu | null | Uh, not really. Hard means that it is difficult to learn. You are referring to unnecessary / unexpected stuff in the language, like in C or C++. (altough C++ is also hard) | null | 0 | 1316018394 | False | 0 | c2ju74i | t3_kf2xi | null | t1_c2ju74i | t1_c2jt81v | null | 1427599485 | 7 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1316018406 | False | 0 | c2ju76n | t3_keepq | null | t1_c2ju76n | t1_c2jljep | null | 1427599486 | 1 | t5_2fwo | null | null | null |
True | rmxz | null | Yes.
My rational is that I'd recommend any such programmer who wants to use even the slightly advanced features should look to scala or clojure or heck, even jruby if they want to be writing more keystroke-friendly JVM code.
Java made many tradeoffs that favor simplicity over power. No multiple inheritance; a really simple way of controlling concurrency (synchronized methods rather than messing with mutexes); etc. Of course there are uses for all those features. But that doesn't mean every language needs to have them.
**Disclaimer** - at one point I remotely managed an off-shore team of developers that cost 9x less than one programmer in the US. Java's limitations made this much easier. Heck, just the time saved learning to translate sentences involving the word generic is worth not having them.
| null | 0 | 1316018438 | False | 0 | c2ju7cd | t3_kf2xi | null | t1_c2ju7cd | t1_c2jtpjz | null | 1427599488 | -2 | t5_2fwo | null | null | null |
True | azakai | null | > Because I wrote a GameBoy Color emulator in JavaScript, so I know how bad the performance constraints are in JavaScript.
Your emulator is awesome!
But it isn't necessarily representative of JavaScript performance. I assume you have to run like an interpreter, switch()ing on each instruction? That typically isn't too fast on JS, native loops are often much better.
In my experiments, JS is 3-5X slower than gcc -O3, which I think is quite good.
https://github.com/kripken/emscripten/blob/master/docs/paper.pdf?raw=true
Edit: I see you have functions in arrays instead of a switch, mentioned in a lower comment here? Interesting. I am pretty sure that will still be slower than native JavaScript loops though.
| null | 0 | 1316018513 | False | 0 | c2ju7p1 | t3_kf4hn | null | t1_c2ju7p1 | t1_c2jslzg | null | 1427599492 | 3 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1316018558 | False | 0 | c2ju7wp | t3_kewkd | null | t1_c2ju7wp | t3_kewkd | null | 1427599495 | 1 | t5_2fwo | null | null | null |
True | cupcake_hoarder | null | Just tried this and performance is 10x better. Thank you. | null | 0 | 1316018594 | False | 0 | c2ju836 | t3_kewkd | null | t1_c2ju836 | t1_c2ju4yf | null | 1427599497 | 3 | t5_2fwo | null | null | null |
True | rmxz | null | > So essentially you are saying you prefer all developers to have less powerful tools because more powerful tools allow them to screw up when they happen to be incompetent?
Of course not. I never said that.
I prefer **some** developers have less powerful tools. Some should use the powerful tools.
In the same way that not all construction workers drive bulldozers, some use shovels.
And it takes less training to use a shovel. | null | 0 | 1316018699 | False | 0 | c2ju8l6 | t3_kf2xi | null | t1_c2ju8l6 | t1_c2ju3xj | null | 1427599504 | 1 | t5_2fwo | null | null | null |
True | learnyouahaskell | null | Whoa! It looks like it's mainly to get XM & SID music files--too bad it doesn't play them in the browser. | null | 0 | 1316018727 | False | 0 | c2ju8qt | t3_keepq | null | t1_c2ju8qt | t1_c2jmmm4 | null | 1427599507 | 1 | t5_2fwo | null | null | null |
True | ObligatoryResponse | null | Well, Dash is one example. They're building a cross-compiler to EC3. According to that e-mail, they're going to move their JS developers over to Dash for all Google properties, but those writing things like Gmail, Google Docs, etc that need to work in all browsers will have to use the Dash-to-Javascript cross-compiler until Firefox, et al have native Dash support. Expect Firefox, et al to not implement Dash until it's a standard with a board they can sit on. In the mean time, Google's internal use of Dash doesn't hurt anyone anymore than my use of Jython hurts other Java developers.
>Google didn't like the NPAPI plugin model supported by all non-IE browsers, so they invented an elaborate and totally incompatible plugin API (Pepper) and native code validation model (Native Client).
Is another example. Chome/Chromium *still support NPAPI*.
>Google didn't like HTTP so they are replacing it with SPDY. They are actually using it live between Chrome and Google Web properties, but so far it hasn't come anywhere near a standards group.
Is another example. Google is using SPDY, but if you're browser doesn't support SPDY, they fall back to http/https. Until it hits a standards body, it's likely that the other browsers will refuse to implement it even if a spec is published. As an under-dog browser, Google won't exactly be able to shut-off http/https access to their properties.
Nobody is forced to follow Google's non-standard innovations. As an underdog browser, web-developers aren't (and won't be) writing pages that only render in Chrome. When MS was doing this, developers were targeting IE's non-standard rendering at the expense of other browsers, which was making the web a "Best viewed with MS Windows" experience. Chrome's SPDY, Dash, etc make the web "slightly faster with slightly less latency and server load if viewed with Chrome, but otherwise the same experience on other browsers". That's why people aren't up in arms. | null | 0 | 1316018768 | False | 0 | c2ju8xz | t3_kc9ai | null | t1_c2ju8xz | t1_c2j9pka | null | 1427599508 | 1 | t5_2fwo | null | null | null |
True | wnoise | null | But bad programmers just make the problem worse, as they frequently have _negative_ productivity. | null | 0 | 1316018777 | False | 0 | c2ju8zv | t3_kf2xi | null | t1_c2ju8zv | t1_c2jtjye | null | 1427599510 | 2 | t5_2fwo | null | null | null |
True | comment-dwim | null | There is this notion that Scala must be better than Java or developers must not be smart enough to get it that irks me. I've been using Scala for about 2 years on and off. Some of it's features are great, i.e: closures or pattern matching. However, I didn't found it to be substantially better than Java.
Some annoyances:
The documentation lacks in some areas. For example, you should never inherit from a case class, yet the documentation doesn't say it. There is also less people using Scala than Java, so it's likely that if you need help it will be harder to find it.
Reasoning about Scala's performance is much harder than Java's.
The tools are sub-par compared to the current Java tools. Even more so if you want mixed Scala/Java projects.
An example: I wanted to write a parser. The official way is to use the parser combinators library. The problem is that it's very, very slow. When I had to use it, I figured that I must be doing something wrong, so I looked at the source for the Scala compiler itself for inspiration. It used a recursive descent parser instead.
Type signatures get really complex if you plan to use the advanced features of the language. Example (this is from the standard library):
... [B, A1 >: (A, Set[B]), That] (that: GenIterable[B], thisElem: A1, thatElem: B)
(implicit bf: CanBuildFrom[Map[A, Set[B]], (A1, B), That]): That
At some point I prefer to manually iterate a data structure and collect what I want from it than having to understand what that is actually doing under the hood.
Implicit object conversions are quite dangerous unless you are very careful when importing stuff.
No 'break' or 'continue'. There is a workaround from Scala 2.8.x onwards that uses exceptions internally to do the same (no continue though):
import scala.util.control.Breaks._
breakable {
....
.... break
}
Having to declare companion objects and import them (even in the class they are accompanying) just feels like a convoluted way to do 'static' stuff.
It's great that it has embedded XML, but:
// doesn't work:
var xml=<xml/>
// works:
var xml = <xml/>
The repl is broken:
scala> def square(x: Int): Int = x * x
square: (x: Int) Int
scala> def cube(x: Int): Int = x * square(x)
cube: (x: Int) Int
scala> cube(3)
res0: Int = 27
redefine square...
scala> def square(x: Int): Int = 0
square: (x: Int) Int
cube still uses the old definition...
scala> cube(3)
res1: Int = 27
If you are writing a small applet, you'll need to include the Scala library for it to work (about 8 mb of additional download for the end user). Proguard helps a bit with this though.
All in all, I enjoy coding in Scala but I never got the feeling that it's a big improvement over Java, even more so if Java finally gets closures. When people ask I still recommend them C#.
| null | 0 | 1316018796 | True | 0 | c2ju937 | t3_kf2xi | null | t1_c2ju937 | t3_kf2xi | null | 1427599511 | 25 | t5_2fwo | null | null | null |
True | chronoBG | null | I understand the urge to write something cool in something new. But the issue remains. You would've obviously had similar problems in *every* language that is not C/C++ or perhaps Java.
| null | 0 | 1316018798 | False | 0 | c2ju93l | t3_kf4hn | null | t1_c2ju93l | t1_c2jtdgd | null | 1427599511 | 0 | t5_2fwo | null | null | null |
True | serudla | null | ? i don't think that's my assumption. if anything the kinds of environments i'm talking about repel good programmers, you can't pay them enough to endure them, because they are organized around preventing change. | null | 0 | 1316018908 | False | 0 | c2ju9o2 | t3_kf2xi | null | t1_c2ju9o2 | t1_c2jtjye | null | 1427599519 | 2 | t5_2fwo | null | null | null |
True | Raven256 | null | I've had that issue whenever using VirtualBox on a second monitor without having the Guest Additions installed. It works fine on the primary monitor.
I haven't been able to get Guest Additions installed on Window 8 on VirtualBox.
It looks like the Metro boxes can't be clicked if you're using a low screen resolution. (We've had that problem both with Virtual Box and on physical machines) | null | 0 | 1316018930 | False | 0 | c2ju9rl | t3_kewkd | null | t1_c2ju9rl | t1_c2jtxmv | null | 1427599519 | 6 | t5_2fwo | null | null | null |
True | CynicalTyler | null | Honest question: why? I understand Smalltalk is regarded as one of the truest Object Oriented languages, but I always got the feeling it was rather academic (in college we had a semester course learning OOD and we did our work in Smalltalk). Are people using Smalltalk for excessively nifty or commercial applications? Or is it a case of "I liked this language, so I'll find any way I can to continue using it"? Or is it just for the challenge of nesting things in other things, like a progammer's matryoshka doll? | null | 0 | 1316018989 | False | 0 | c2jua22 | t3_kf4hn | null | t1_c2jua22 | t3_kf4hn | null | 1427599524 | 5 | t5_2fwo | null | null | null |
True | zintzun | null | Are you running a 32 or 64 bit guest ?
Does the 64bit guest run slower than a 32bit guest ? | null | 0 | 1316019033 | False | 0 | c2juaal | t3_kewkd | null | t1_c2juaal | t1_c2jtygr | null | 1427599527 | 1 | t5_2fwo | null | null | null |
True | darkarchon11 | null | 64bit guest, haven't tried the 32bit one. | null | 0 | 1316019073 | False | 0 | c2juafz | t3_kewkd | null | t1_c2juafz | t1_c2juaal | null | 1427599529 | 3 | t5_2fwo | null | null | null |
True | tanishaj | null | I do not think that saying "X lang is for hard problems" means that at all. Rather, I think that for each language there is a smooth curve that describes that it is 'y' difficult to solve a problem of 'x' difficulty.
"X lang is for hard problems" implies to me that the curve starts to accelerate upwards at larger values of 'x' for "X lang" than for "non-X" languages.
Of course, it is never that simple. There are probably "non-X" languages which have an even flatter curve for one thing. Also, what is "hard" is different in different languages so either the 'x' axis has different labels for each language or the curve is not not a simple hockey-stick shape. It is true as well that different languages work more or less how programmers expect depending on their own world-view and technical background. Despite all that, I think it is a better mental model than your image of a bell curve of applicability that moves from being centered on "easy" to "hard" depending on the language.
What is ignored in both cases is the "step-function" that accounts for how much you have to learn and understand in order to solve a problem of "any" complexity in a given language. Perhaps even more important is how well you need to understand a language to understand how "other" people have solved those problems. Can you grok your coworkers code? Do you get immediately lost when trying to understand the framework itself?
I think the point of this article is that Scala makes easy problems trivial and hard problems easier AFTER you learn Scala and that the "learn Scala" bit is too big an ask for a lot of people. | null | 0 | 1316019094 | True | 0 | c2juam9 | t3_kf2xi | null | t1_c2juam9 | t1_c2jsbv9 | null | 1427599531 | 1 | t5_2fwo | null | null | null |
True | UnoriginalGuy | null | Anyone having problems with the Sha1 hash? Mine doesn't match up when using Microsoft's own file verification tool (FCIV)? | null | 0 | 1316019113 | False | 0 | c2juapt | t3_kewkd | null | t1_c2juapt | t3_kewkd | null | 1427599532 | 1 | t5_2fwo | null | null | null |
True | nullifie | null | [IE 10 in fullscreen mode has some interesting bugs](http://twitpic.com/6kumoo/full) | null | 0 | 1316019126 | False | 0 | c2juas3 | t3_kewkd | null | t1_c2juas3 | t1_c2jsnx3 | null | 1427599533 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1316019197 | False | 0 | c2jub4q | t3_kewkd | null | t1_c2jub4q | t1_c2juaal | null | 1427599537 | 0 | t5_2fwo | null | null | null |
True | BosskOnASegway | null | Oh shit that is so cool. I am about to start a new coding project and I think this would be an awesome way to get design feedback and get it out there. Plus I have a lot of neat tricks I think people would like to hear explained. I was literally just thinking about starting a stream for this(I already have 1 for SC2 , 1 for Chess, 1 for ITG and 1 for retro gaming I'm a little bit of a stream addict). This is so perfect I signed up. | null | 0 | 1316019386 | False | 0 | c2juc2m | t3_kfi8n | null | t1_c2juc2m | t3_kfi8n | null | 1427599559 | 2 | t5_2fwo | null | null | null |
True | the_other_brand | null | Because his comment, and yours responding to it add no intellectual value to the conversation.
Hell, even this comment may suffer from the same problem. | null | 0 | 1316019483 | False | 0 | c2jucjc | t3_kf2xi | null | t1_c2jucjc | t1_c2ju43r | null | 1428194118 | 6 | t5_2fwo | null | null | null |
True | IRBMe | null | > Wouldn't that mean you are writing code to conform to the tests rather than the intended goal?
The tests are supposed to express the intended goal in a way that can be automated, hence writing code to pass the tests should make them conform to the intended goal.
Of course, if you're just being blatantly stupid about it and write code like this:
void testAdd() { assertEquals(Add(1, 1), 2); }
int Add(int a, int b) { if (a == 1 && b == 1) return 2; }
... then you shouldn't be programming in the first place.
> You can hardly write a test for each test.
A test should be simple enough that it should be easily understandable, and it should be fairly easy to see that it's correct just by inspection. If it's complicated enough that you can't tell if your test is correct, that's a bad smell that is a possible indication that your code isn't as testable as it should be. | null | 0 | 1316019518 | False | 0 | c2jucpl | t3_kepcp | null | t1_c2jucpl | t1_c2jqp2i | null | 1427599564 | 1 | t5_2fwo | null | null | null |
True | recursive | null | > Is code completion really that big of a deal?
For some. Like those who work with code bases too big for one person to reasonably memorize all the interfaces. | null | 0 | 1316019541 | False | 0 | c2juctc | t3_k9h3s | null | t1_c2juctc | t1_c2it90x | null | 1427599567 | 2 | t5_2fwo | null | null | null |
True | Stegzilla | null | [Crappy UK ADSL reporting in...](http://i.imgur.com/SvDwM.png) | null | 0 | 1316019548 | False | 0 | c2jucv2 | t3_kewkd | null | t1_c2jucv2 | t1_c2jpw7w | null | 1427599567 | 5 | t5_2fwo | null | null | null |
True | comment-dwim | null | Great emulator.
Also, that 3D FX demo is quite impressive for a game boy. | null | 0 | 1316019601 | False | 0 | c2jud4p | t3_kf4hn | null | t1_c2jud4p | t1_c2jtall | null | 1427599572 | 3 | t5_2fwo | null | null | null |
True | SVT_Lightning | null | Won't work in VMWARE 7. Hyper V and VMWARE 8 Beta work just fine | null | 0 | 1316019613 | False | 0 | c2jud6s | t3_kewkd | null | t1_c2jud6s | t1_c2jr679 | null | 1427599572 | 1 | t5_2fwo | null | null | null |
True | sidcool1234 | null | I am not sure how much of a feedback will this website provide. Worth a try, though. | null | 0 | 1316019633 | False | 0 | c2jud9m | t3_kfi8n | null | t1_c2jud9m | t1_c2juc2m | null | 1427599574 | 1 | t5_2fwo | null | null | null |
True | d4nm3d | null | is anyone having a problem scrolling with a touchpad? Mine will only scroll down.. and when i scroll up it zips to the bottom.. | null | 0 | 1316019667 | False | 0 | c2judf1 | t3_kejwo | null | t1_c2judf1 | t3_kejwo | null | 1427599574 | 1 | t5_2fwo | null | null | null |
True | beslayed | null | Figured it out - had nothing to do with the version of AUCTeX, but rather on my new setup the PATH variable wasn't being set on login, but only once I opened a terminal. I had the Emacs snapshot daemon loading on boot-up, but the PATH wasn't getting set, therefore it didn't know where pdflatex was. When I opened the terminal to the emacs snapshot and reload the old Emacs 23, then the PATH variable was set. THus it seemed like it was a problem with the new version of Emacs. | null | 0 | 1316019668 | False | 0 | c2judf3 | t3_kbz68 | null | t1_c2judf3 | t1_c2jj303 | null | 1427599574 | 2 | t5_2fwo | null | null | null |
True | sumsarus | null | Pff, slack! They only run a reduced set of test cases through valgrind! *rolls eyes* | null | 0 | 1316019676 | False | 0 | c2judgc | t3_kepcp | null | t1_c2judgc | t1_c2jsbu6 | null | 1427599583 | 2 | t5_2fwo | null | null | null |
True | TheWix | null | Is it the code name or the commercial name. My point was that if they release it as Windows 8 then using Windows 8 as a code name doesn't seem like very good... code. | null | 0 | 1316019757 | False | 0 | c2judsv | t3_kejwo | null | t1_c2judsv | t1_c2jto2d | null | 1427599579 | 2 | t5_2fwo | null | null | null |
True | ObligatoryResponse | null | >Changing your email address is not a trivial operation,
Yes it is. Log into GMail and tell it to forward to the new e-mail address. Use any desktop client or pick a web client that allows you to change the Reply-To: header. Nobody even has to *know* you're no longer using GMail if you don't want to tell them. Your existing business cards can continue to float around and your new ones don't need to be printed with the new e-mail address until you run out.
I have a gmail account that I haven't logged into in 4 years. It only forwards to another e-mail address. People send to it regularly. | null | 0 | 1316019779 | False | 0 | c2judwb | t3_kc9ai | null | t1_c2judwb | t1_c2jjriv | null | 1427599581 | 1 | t5_2fwo | null | null | null |
True | kaffeogkake | null | No one ever accused Microsoft of being reasonable. | null | 0 | 1316019834 | False | 0 | c2jue67 | t3_kewkd | null | t1_c2jue67 | t1_c2jtzqo | null | 1427599583 | 5 | t5_2fwo | null | null | null |
True | the_other_brand | null | Please tell me how making a programming language that is easier to use is a step in the wrong direction. | null | 0 | 1316019934 | False | 0 | c2juenz | t3_kf2xi | null | t1_c2juenz | t1_c2ju4s1 | null | 1427599598 | 1 | t5_2fwo | null | null | null |
True | tanishaj | null | Maybe he could, maybe he could not. Same for you. I can tell you my own experience is that most people could not.
For one thing, depending on what you are building. Those 5-10 "competent" programmers might not even be available and/or interested. At least, they may not be interested for long enough to "save money" over the many year lifetime you are amortizing your investment over.
What do you do when that program goes into maintenance mode? Before you would have 1-2 of your devs on it. Do you put 20% of your better dev on it instead? Is that a good use of their time or would you consider hiring somebody less great if it freed up some of their valuable time? If you would, rinse and repeat for a decade or so and I will get somebody to give you shit for having a pool of "crappy" devs when you would be so much better off with fewer "competent" ones.
By the way, how do you allocate typing tasks in your company? | null | 0 | 1316019986 | True | 0 | c2juex7 | t3_kf2xi | null | t1_c2juex7 | t1_c2jtb04 | null | 1427599591 | 7 | t5_2fwo | null | null | null |
True | MackusMan | null | I know that feel bro. | null | 0 | 1316020041 | False | 0 | c2juf77 | t3_kewkd | null | t1_c2juf77 | t1_c2jucv2 | null | 1427599596 | 2 | t5_2fwo | null | null | null |
True | arcterex | null | As a Canadian paying $100/m for 15mb/s I must say "fuck you sir". | null | 0 | 1316020110 | False | 0 | c2jufjy | t3_kewkd | null | t1_c2jufjy | t1_c2jtq6s | null | 1427599603 | 1 | t5_2fwo | null | null | null |
True | deoxys9 | null | I'm having some trouble running it under VirtualBox. I grabbed the 32 bit version, but when I try to install it on the virtual hard drive, it keeps crashing and shutting off. Any tips? | null | 0 | 1316020113 | False | 0 | c2jufkq | t3_kewkd | null | t1_c2jufkq | t3_kewkd | null | 1427599603 | 1 | t5_2fwo | null | null | null |
True | 1RedOne | null | The preview shows build number 8301, I believe. | null | 0 | 1316020116 | False | 0 | c2jufl6 | t3_kejwo | null | t1_c2jufl6 | t1_c2jto2d | null | 1427599603 | 1 | t5_2fwo | null | null | null |
True | ribosometronome | null | Especially when you have Windows on a smaller partition/hard drive meant just for the OS and crucial files with everything else backed up on larger drives (like he apparently is). Heck, I've got Win7 imaged, it takes like 3 or 4 minutes to go back to a fresh install. | null | 0 | 1316020123 | False | 0 | c2jufmm | t3_kewkd | null | t1_c2jufmm | t1_c2jtr6i | null | 1427599603 | 3 | t5_2fwo | null | null | null |
True | Rudy69 | null | It's a short game, it takes about 15 mins to go through everything | null | 0 | 1316020134 | False | 0 | c2jufon | t3_kepcp | null | t1_c2jufon | t1_c2jtudi | null | 1427599604 | 1 | t5_2fwo | null | null | null |
True | GhostedAccount | null | Every single game feature and interaction type in 15 minutes? | null | 0 | 1316020199 | False | 0 | c2jug0r | t3_kepcp | null | t1_c2jug0r | t1_c2jufon | null | 1427599607 | 1 | t5_2fwo | null | null | null |
True | Amablue | null | I work on an extremely large code base, but when I need to know the functions of another area of the code, I usually just keep that header open in another window or something similar. I find that more useful. | null | 0 | 1316020204 | False | 0 | c2jug1q | t3_k9h3s | null | t1_c2jug1q | t1_c2juctc | null | 1427599607 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | Let's not forget Paul Thurrott! | null | 0 | 1316020227 | False | 0 | c2jug5p | t3_kewkd | null | t1_c2jug5p | t1_c2jue67 | null | 1427599608 | 2 | t5_2fwo | null | null | null |
True | cafedude | null | Anyone know if there's a time limit on this version? Will it stop working on Midnight Dec 31st or something? | null | 0 | 1316020277 | False | 0 | c2juge8 | t3_kewkd | null | t1_c2juge8 | t3_kewkd | null | 1427599610 | 6 | t5_2fwo | null | null | null |
True | axilmar | null | > So what? What do you mean "a single button"? Do you even understand the point of interfaces?
It's clear what I want to say: it's a complex design, it could have been simpler.
> Completely false. The Button class does not define any events or methods at all. ButtonBase defines 1 event and 0 methods.
I counted the events, methods and properties from the documentation. I posted the link in my comment above.
> Did you really not notice the "(Inherited from ______)" in every single event and method listed there, or are you trying to bullshit people?
First of all, the properties do not have an "inherited from _____" part.
Secondly, the methods are overridden in Button. For example, the method 'ToString' is inherited from class Object, but it is obviously reimplemented in class Button.
| null | 0 | 1316020286 | False | 0 | c2jugfs | t3_kewaq | null | t1_c2jugfs | t1_c2ju3xo | null | 1427599611 | -3 | t5_2fwo | null | null | null |
True | BosskOnASegway | null | If you are streaming with viewers in my experience it is really easy to talk to the chat and ask them what they think of different ideas. I would most certainly also be asking some of my other coding friends to watch the stream and discuss the designs over skype as I'm the primary programmer for the project but I have friends helping with design and UI work it will be nice for them to be able to see my exact method.
By the way, are you the developer? | null | 0 | 1316020290 | False | 0 | c2juggk | t3_kfi8n | null | t1_c2juggk | t1_c2jud9m | null | 1427599611 | 1 | t5_2fwo | null | null | null |
True | rmxz | null | > I don't think closures have any more of a learning curve ... I teach closures
The thought that they need to be taught already suggests that they have a learning curve above old java's.
I agree that a simplified version of a functions as data (ala C function pointers) is a simple enough concept to teach. But explaining the scope of variables in the context of closures is enough for someone to have to at least study.
I claim that Java 1.x was simple enough that if you gave a typical java class to a typical non-programmer lay-person who's main experience was reading cookbooks, they would guess right what it does -- with the simple description "think of calling a function as when a recipe tells you to go to a different page where it describes how to make teh sauce for your dish".
That was Java's power.
| null | 0 | 1316020302 | False | 0 | c2jugj2 | t3_kf2xi | null | t1_c2jugj2 | t1_c2jtw39 | null | 1427599612 | -2 | t5_2fwo | null | null | null |
True | ObligatoryResponse | null | >When IE used a special faster protocol to talk to IIS, that certainly got more attention.
That's different. Google isn't selling web servers that implement SPDY. The only websites that Chrome users can use SPDY on are Google web servers. This isn't harming Apache the way a non-published IIS specific protocol would. MS's position allowed their IIS specific protocol to spread, potentially becoming a defacto standard before it was ever standardized. Google can't do that with SPDY. They don't have the browser/server market share and they aren't giving other websites SPDY enabled servers. They're basically using Chrome users as beta testers until so they can find load-related issues that might need a spec change. | null | 0 | 1316020400 | False | 0 | c2juh0z | t3_kc9ai | null | t1_c2juh0z | t1_c2j8rpb | null | 1427599619 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1316020417 | True | 0 | c2juh41 | t3_kejwo | null | t1_c2juh41 | t1_c2jrgxx | null | 1427599619 | 1 | t5_2fwo | null | null | null |
True | piderman | null | Yeah, set it to NAT and Intel PRO/1000 MT Desktop (under advanced) and it works. | null | 0 | 1316020421 | False | 0 | c2juh4m | t3_kewkd | null | t1_c2juh4m | t1_c2jtx4x | null | 1427599619 | 2 | t5_2fwo | null | null | null |
True | ribosometronome | null | Anyone know if you can mount the iso and update from 7? I'm a failgeek and don't think I've got any blank DVDs laying around. | null | 0 | 1316020432 | False | 0 | c2juh5s | t3_kewkd | null | t1_c2juh5s | t3_kewkd | null | 1427599619 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1316020446 | False | 0 | c2juh9o | t3_kepcp | null | t1_c2juh9o | t1_c2jsiaa | null | 1427599621 | 1 | t5_2fwo | null | null | null |
True | johnwaterwood | null | Cool story, except that Python isn't new...
The last 20 years, not a lot of people wanted to program in Python. Now the Python fans are trying a different strategy: pretend that Python is brand new and the latest thing, while Java is this old beast that just won't die.
If that's the strategy Python needs to desperately get more users then it's a bit pathetic, isn't it? | null | 0 | 1316020516 | False | 0 | c2juhmn | t3_kdv51 | null | t1_c2juhmn | t1_c2jt3vm | null | 1427599623 | -2 | t5_2fwo | null | null | null |
True | dougletts | null | Seems to work on Parallels on Mac (but I didn't try to install Parallels Tools) | null | 0 | 1316020534 | False | 0 | c2juhpg | t3_kewkd | null | t1_c2juhpg | t1_c2jr679 | null | 1427599624 | 1 | t5_2fwo | null | null | null |
True | Diarrg | null | Possibly a result of using it in a VM? God knows the firmware for that kind of thing isn't exactly gold yet... | null | 0 | 1316020604 | False | 0 | c2jui1j | t3_kewkd | null | t1_c2jui1j | t1_c2jt434 | null | 1427599628 | 3 | t5_2fwo | null | null | null |
True | kooshball | null | try setting the network device type to the Intel 1000 MT. that fixed it for me. | null | 0 | 1316020624 | False | 0 | c2jui57 | t3_kewkd | null | t1_c2jui57 | t1_c2jtx4x | null | 1427599630 | 1 | t5_2fwo | null | null | null |
True | johnwaterwood | null | I agree that the .Net libries are wonderfully thought out and C# is a great language, but the Java EE libraries are actually pretty good too! | null | 0 | 1316020656 | False | 0 | c2juibt | t3_kejwo | null | t1_c2juibt | t1_c2js0au | null | 1427599632 | -2 | t5_2fwo | null | null | null |
True | Diarrg | null | Yeah, been looking to put something else on the S10. It's worthless otherwise... | null | 0 | 1316020682 | False | 0 | c2juifj | t3_kewkd | null | t1_c2juifj | t1_c2jtaey | null | 1427599633 | 1 | t5_2fwo | null | null | null |
True | herringpj | null | Look, obviously this isn't best for extremely sensitive data, but I can see great practical use for this when working on a small project that does need some organization. Best use case I can think of is a hack-a-thon. You don't want to spend time setting up a serious project planning tool (Jira, etc...), but you can get tasks, bugs, and ideas up on a board for a team to attack.
These tools that are springing up are clearly trying to get into the market space where people want a project management tool but don't need an extensive one. I think they will see some success. I only wish something like Jira could do the visual thing like this does and Pivotal Tracker does so well. | null | 0 | 1316020729 | False | 0 | c2juio9 | t3_ketdw | null | t1_c2juio9 | t3_ketdw | null | 1427599637 | 1 | t5_2fwo | null | null | null |
True | 1RedOne | null | Dont' be a debbie downer. I'm a sysadmin too, and at work we're nothing but excited about this preview.
Its new, and fresh, and one step closer to those neat "Future UI's" we've been seeing in Sci-fi for years. I imagine after a few hardware refreshes most places will have a smattering of touch capable laptops, desktops and tablets, and touch will just be another method of Human Machine Interaction, like our mouse and keyboard are today.
I was able to install a few of my favorite tools on the Dev Preview, even add it to our domain and am working on configuring it with System Center Configuration Manager. Exchange is providing a few headaches, probably Group Policy related, but so far I would say its neat, new and fresh.
Some of the neatest features involved Near Field Communication to copy a document from your PC to your smart-phone/tablet for portability. Using Chrome OS style Windows Live login to bring profile features over too is also a really neat trick.
So...I understand where you're coming from. This is a tremendous departure that will likely have us all repackaging software and rethinking certain workflows. But I think there are also some positives to be found. | null | 0 | 1316020749 | False | 0 | c2juirx | t3_kejwo | null | t1_c2juirx | t1_c2jrsnj | null | 1427599638 | 4 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1316020755 | False | 0 | c2juit6 | t3_kewkd | null | t1_c2juit6 | t1_c2jsslo | null | 1427599638 | 1 | t5_2fwo | null | null | null |
True | Solon1 | null | Most of Minecraft's processing is to maitain the game world, which can't run on your silly specialized bit basher GPU. | null | 0 | 1316020817 | False | 0 | c2juj4n | t3_kepcp | null | t1_c2juj4n | t1_c2jt63e | null | 1427599642 | -2 | 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.