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 | kataire | null | FWIW, Zope is the closest you can get to Java within Python. | null | 0 | 1316523109 | False | 0 | c2l7wla | t3_klhzl | null | t1_c2l7wla | t3_klhzl | null | 1427623442 | 1 | t5_2fwo | null | null | null |
True | berkut | null | That's fine in most situations (assuming no damage).
People and animals will need per vertex animation, but most of the time > 50% of the scene geometry is just static scenery. | null | 0 | 1316523154 | False | 0 | c2l7wpx | t3_kldfr | null | t1_c2l7wpx | t1_c2l7vsd | null | 1427623444 | 1 | t5_2fwo | null | null | null |
True | thebru | null | In Python, where 'id' is an inbuilt, so is always defined. And also case sensitive.
def dothings(var1, var2, ID=None):
if id:
dothingstothedatabaseusingid(id)
else:
raise Exception("Goddamnit, why did I code this?") | null | 0 | 1316523279 | False | 0 | c2l7x3k | t3_klhlv | null | t1_c2l7x3k | t3_klhlv | null | 1427623453 | 8 | t5_2fwo | null | null | null |
True | my_walls | null | The language will remain the same, but all of the functionality of the .NET framework won't be present. | null | 0 | 1316523358 | False | 0 | c2l7xci | t3_kl1qp | null | t1_c2l7xci | t1_c2l7l11 | null | 1427623453 | 2 | t5_2fwo | null | null | null |
True | onionhammer | null | You cannot develop Desktop apps using WinRT (unfortunately, IMO), only Metro apps. WinRT is built into the kernel and runs natively, or at least that was one of the messages often repeated at BUILD. | null | 0 | 1316523419 | False | 0 | c2l7xj7 | t3_kl1qp | null | t1_c2l7xj7 | t1_c2l7dbg | null | 1427623457 | 4 | t5_2fwo | null | null | null |
True | db4n | null | How about an entire naming scheme for hundreds of variables? I once worked on a Windows app with about 20 windows and 20 buttons per window. Each window had a letter ID (W), the buttons on each window were numbered (NN), and each button object was named btn_WNN accordingly. To figure out what a button was for, you would consult a set of hardcopy screenshots that were marked with the window letters and button numbers.
----
**Edits**
Just FYI, each window has a title and each button has a text label. So a self-documenting naming scheme would look something like btn\_<window title>\_<button text> or <window title>.btn\_<button text>, possibly with minor abbreviations to manage the verbosity.
BradMW's point is separate from mine, but it's also valid: In this project, many of the buttons were radio buttons or checkboxes. The logic of those groupings was completely missing. Also, the program was written in C++, so it made sense to group the buttons in arrays and define an enumeration for each group, with values named after the button labels. | null | 0 | 1316523457 | True | 0 | c2l7xnc | t3_klhlv | null | t1_c2l7xnc | t3_klhlv | null | 1427623456 | 31 | t5_2fwo | null | null | null |
True | jayfehr | null | Memory usage actually dropped 15%. I'm not sure where you are getting the idea that system requirements will be worse, all evidence points the other way. | null | 0 | 1316523479 | False | 0 | c2l7xp8 | t3_kl1qp | null | t1_c2l7xp8 | t1_c2l5bld | null | 1427623457 | 3 | t5_2fwo | null | null | null |
True | frymaster | null | there's a user-experience-complete version of win8? Last I head there was just the dev preview. | null | 0 | 1316523488 | False | 0 | c2l7xqb | t3_kl7h0 | null | t1_c2l7xqb | t1_c2l7g0z | null | 1427623457 | 1 | t5_2fwo | null | null | null |
True | i_lick_my_knuckles | null | Good luck with that.
| null | 0 | 1316523509 | False | 0 | c2l7xsw | t3_kl1qp | null | t1_c2l7xsw | t1_c2l7j6j | null | 1427623458 | 1 | t5_2fwo | null | null | null |
True | kikaerter | null | Once again, RMS was right. | null | 0 | 1316523531 | False | 0 | c2l7xv6 | t3_kl7h0 | null | t1_c2l7xv6 | t3_kl7h0 | null | 1427623461 | 47 | t5_2fwo | null | null | null |
True | onionhammer | null | Actually metro works well on multi-mon setups; it just shows on 1 display and your normal desktop on the other. Windows 8 has made some great multi-monitor support improvements in general, like keeping track of which window is on which screen and showing it on a taskbar on that screen. | null | 0 | 1316523550 | False | 0 | c2l7xxq | t3_kl1qp | null | t1_c2l7xxq | t1_c2l58er | null | 1427623460 | 4 | t5_2fwo | null | null | null |
True | glibc | null | three words: interest, compounded continuously
Meaning: interest on unexplored (unattended to) interest. | null | 0 | 1316523576 | False | 0 | c2l7y0b | t3_khf6j | null | t1_c2l7y0b | t1_c2kb3e8 | null | 1427623461 | 1 | t5_2fwo | null | null | null |
True | cenkozan | null | So you think MS isn't doing the right thing moving to tablets, I don't have very good insights on these subjects so I will accept. But then I will say MS is mimicking Ubuntu's 11.04. | null | 0 | 1316523616 | False | 0 | c2l7y4j | t3_kl1qp | null | t1_c2l7y4j | t1_c2l7g3a | null | 1427623462 | 2 | t5_2fwo | null | null | null |
True | rlbond86 | null | This only affects tablet ("Metro") apps, normal PC apps work fine. | null | 0 | 1316523720 | False | 0 | c2l7yf2 | t3_kl7h0 | null | t1_c2l7yf2 | t1_c2l75f5 | null | 1427623466 | 5 | t5_2fwo | null | null | null |
True | cwstjnobbs | null | Correct, MS should ignore the tablet market or simply modify Windows Phone 7 to work on tablets.
Windows 7 is a damn good operating system, it doesn't need drastic changes. | null | 0 | 1316523771 | False | 0 | c2l7yjt | t3_kl1qp | null | t1_c2l7yjt | t1_c2l7y4j | null | 1427623468 | 5 | t5_2fwo | null | null | null |
True | zaxupexolap | null | would this be the time I could finally make an inception joke?, I haven't even seen the film | null | 0 | 1316523782 | False | 0 | c2l7yl4 | t3_khf6j | null | t1_c2l7yl4 | t1_c2l7y0b | null | 1427623468 | 1 | t5_2fwo | null | null | null |
True | elbweb | null | You guys are avoiding the fact that this is not a final product. I believe (though I could be wrong) that this was mentioned and discussed in [their blog](http://blogs.msdn.com/b/b8/).
My thoughts is, in the end, the start menu will act differently if you're touching it or if you're clicking it. There are a lot of context sensitive touch stuff that still doesn't work in Windows 8 that works in Windows 7 (e.g. touching an input give you the touch keyboard, using a pen gives you a inkpad, simple things like that). They could easily have a start menu for the normal desktop that hasn't been released yet. | null | 0 | 1316523858 | False | 0 | c2l7yt5 | t3_kl7h0 | null | t1_c2l7yt5 | t1_c2l7p6o | null | 1427623471 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | I disagree with this. Shorter local variable names are better when unambiguous. For example:
* if you have one index, call it i
* if you have one hashtable variable, call it h
* If you have one connection, call in c.
Of course, methods and classes should have full names. | null | 0 | 1316523970 | False | 0 | c2l7z5g | t3_klhlv | null | t1_c2l7z5g | t1_c2l7q0f | null | 1427623477 | 8 | t5_2fwo | null | null | null |
True | HardlyWorkingDotOrg | null | Then how about an explanation how my argument is childish and/or boxed? Is it not true that the marketshare numbers combine even the cheap Android handsets? Is it not true that Apple has no cheap section for smartphones?
Would porsche pad their statistics if they included not just sold porsches but also every Golf they sold? It's all VW. So it's not a fake statistic, right?
You want a true comparison, create a statistic with representative comparisons. Otherwise your signal to noise ratio is way to low to be taken seriously. Which I also explained. But since that to you is childish without mentioning why, I think I know which one of us has issues and why you have to bring up a flawed statistic as your only argument. | null | 0 | 1316524010 | False | 0 | c2l7z9x | t3_kkp4z | null | t1_c2l7z9x | t1_c2l7tx8 | null | 1427623478 | 0 | t5_2fwo | null | null | null |
True | pbtifo | null | The worst is without a doubt single-character global variable names in C. | null | 0 | 1316524054 | False | 0 | c2l7zev | t3_klhlv | null | t1_c2l7zev | t3_klhlv | null | 1427623481 | 19 | t5_2fwo | null | null | null |
True | [deleted] | null | static bool CMath::DoubleEqualsDouble(const double& dblDouble1, const double& dblDouble2) | null | 0 | 1316524075 | False | 0 | c2l7zh2 | t3_klhlv | null | t1_c2l7zh2 | t3_klhlv | null | 1427623481 | 1 | t5_2fwo | null | null | null |
True | zendak | null | Wanted to hack some obscure little PHP forum software ca. 2002 and found tons of variables with first names, mostly Russian/Eastern European and Mediterranean. Stuff like `$dimitry, $yelena, $fernando, $rosita`. | null | 0 | 1316524076 | False | 0 | c2l7zh6 | t3_klhlv | null | t1_c2l7zh6 | t3_klhlv | null | 1427623481 | 2 | t5_2fwo | null | null | null |
True | moduspwnens14 | null | Why is it that Windows has so many relevant languages and frameworks? I'm not trying to spark a flame war here, but it's not like you see articles about Sun or Apple like this.
Is this seen as a strength or a weakness? | null | 0 | 1316524095 | False | 0 | c2l7zjq | t3_kl1qp | null | t1_c2l7zjq | t3_kl1qp | null | 1427623482 | 1 | t5_2fwo | null | null | null |
True | OldSchoolIsh | null | Well .... if I'm making web apps I'm going to be programming them with .NET (MVC/ASP.NET/C# etc.)... which I guess is a Microsoft platform!? :) | null | 0 | 1316524114 | False | 0 | c2l7zlx | t3_kl7h0 | null | t1_c2l7zlx | t1_c2l7qpk | null | 1427623492 | 5 | t5_2fwo | null | null | null |
True | tau-lepton | null | Thanks I'll take a peek, does it (the dev preview) run on Samsung, HTC, or Apple tablets? Or do I need a windows tablet with 4GB and a hard drive? | null | 0 | 1316524137 | True | 0 | c2l7zoh | t3_kl1qp | null | t1_c2l7zoh | t1_c2l7fbi | null | 1427623492 | 2 | t5_2fwo | null | null | null |
True | WaruiKoohii | null | When you say "Late to the smartphone/tablet game", I presume that you're inverting the situation out of irony.
Microsoft was among the first major smartphone/tablet players. They had tablets ~9 years before the iPad. | null | 0 | 1316524175 | False | 0 | c2l7zsn | t3_kl1qp | null | t1_c2l7zsn | t1_c2l76qf | null | 1428193655 | -2 | t5_2fwo | null | null | null |
True | tanishaj | null | Is it? WPF was already just a layer over DirectX. Windows Forms requires Win32 GDI+ underneath. I agree that WinRT moves more code (like XAML) into the unmanaged realm but the precedent does not seem all that novel to me.
Also you could develop on Windows without .NET before but the tools were getting long in the tooth. This was just a pragmatic way of unifying the development silos and modernizing the non-.NET side of things.
C# programs are still .NET programs. Larger chunks of the under the hood wiring are native code to enable greater interoperability between .NET and native languages but that does not mean .NET is no longer .NET as Win32 was always underneath already.
Moving XAML to native code is a lot like when they moved to Windows video drivers into the kernel (from user space) for performance reasons. It is an implementation detail not a wholesale change in direction. | null | 0 | 1316524179 | True | 0 | c2l7zt4 | t3_kl1qp | null | t1_c2l7zt4 | t1_c2l7k3g | null | 1428193655 | 4 | t5_2fwo | null | null | null |
True | skilldrick | null | In space, no-one can see your screen... | null | 0 | 1316524235 | False | 0 | c2l7zz5 | t3_kkih6 | null | t1_c2l7zz5 | t3_kkih6 | null | 1427623486 | 7 | t5_2fwo | null | null | null |
True | grelphy | null | `x` (or `i` or `n` or…) is a perfectly acceptable name if it's used for short-term holding and very limited in scope (e.g., `i` as the index of iteration in a for loop).
Also, `x`, `y` and `z` are acceptable if you're doing geometry. Other single-letter variables may be acceptable in other mathematical contexts where they are conventional in mathematics (e.g., if you have a constant for the base of the natural logarithm *e*, you should probably call it `E` or something).
Using them otherwise, as fields, global variables, or function names, though, that's a paddlin'. =/ | null | 0 | 1316524238 | False | 0 | c2l7zze | t3_klhlv | null | t1_c2l7zze | t1_c2l7q0f | null | 1427623486 | 8 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1316524266 | False | 0 | c2l8032 | t3_klhlv | null | t1_c2l8032 | t3_klhlv | null | 1427623489 | 3 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1316524326 | False | 0 | c2l809o | t3_klhlv | null | t1_c2l809o | t1_c2l7vf2 | null | 1427623492 | 42 | t5_2fwo | null | null | null |
True | VikingCoder | null | If you look carefully at Windows 3.1 you will see that they have all the old DOS stuff there and have just added to it with an optional UI which is really built just for drawing applications and some minor other features. | null | 0 | 1316524332 | False | 0 | c2l80ad | t3_kl1qp | null | t1_c2l80ad | t1_c2l6ldr | null | 1427623492 | 9 | t5_2fwo | null | null | null |
True | Rossco1337 | null | It's got a fullscreen Sudoku program and you can't even use the numpad to fill the numbers in. You need to click a field, move the cursor far away off the board and click a number to fill it in. You also need to right click to bring up some very limited icon-based options at the bottom (They never explained this at all) and I honestly haven't figured out how to terminate it yet, only minimize. This is the first operating system where I think I might need to make use of a "Help" menu. And I can't find one.
If Windows 7 was my idea, who the fuck thought of making this the default UI in a desktop OS? | null | 0 | 1316524424 | False | 0 | c2l80k1 | t3_kl1qp | null | t1_c2l80k1 | t1_c2l7tx9 | null | 1427623495 | 1 | t5_2fwo | null | null | null |
True | BeatLeJuce | null | supporting 800x600 (or other low-res) is a good thing per se. But you totally destroy that by using static widths in pixels. Why not use dynamic widths that adjust to EVERY resolution. That's all thantik was claiming. | null | 0 | 1316524442 | False | 0 | c2l80m2 | t3_kldfr | null | t1_c2l80m2 | t1_c2l7ptl | null | 1427623496 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | ruby solution to this is automatic conversion of &:symbol to {|x| x.send(:symbol)} via #to_proc. So you can do source.collect(&:name)
I think its pretty neat | null | 0 | 1316524443 | True | 0 | c2l80m8 | t3_klhlv | null | t1_c2l80m8 | t1_c2l7tgt | null | 1427623496 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | Anything that starts with the type as in intCustomerInvoiceId.
| null | 0 | 1316524452 | False | 0 | c2l80n6 | t3_klhlv | null | t1_c2l80n6 | t3_klhlv | null | 1427623496 | 32 | t5_2fwo | null | null | null |
True | roothorick | null | For a while I worked on a big C++ codebase that had global singletons with names like "sg". That was always fun to figure out. | null | 0 | 1316524457 | False | 0 | c2l80nr | t3_klhlv | null | t1_c2l80nr | t1_c2l7q0f | null | 1427623496 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1316524487 | False | 0 | c2l80ra | t3_kl1qp | null | t1_c2l80ra | t1_c2l7u8s | null | 1427623499 | 1 | t5_2fwo | null | null | null |
True | arnedh | null | Come on, you forgot the result type!
Should be:
static bool CMath::BooleanDoubleEqualsDouble(const double& dblDouble1, const double& dblDouble2)
| null | 0 | 1316524517 | False | 0 | c2l80ue | t3_klhlv | null | t1_c2l80ue | t1_c2l7zh2 | null | 1427623507 | 5 | t5_2fwo | null | null | null |
True | [deleted] | null | > if you have one hashtable variable, call it h
Not sure about this one.. I mean if it's a function that operates on *any* hash yeah I guess. | null | 0 | 1316524522 | False | 0 | c2l80ur | t3_klhlv | null | t1_c2l80ur | t1_c2l7z5g | null | 1427623507 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | Totally agree, that's why I use `coordinate_on_x_plane` instead.
| null | 0 | 1316524522 | False | 0 | c2l80ut | t3_klhlv | null | t1_c2l80ut | t1_c2l7q0f | null | 1427623507 | 6 | t5_2fwo | null | null | null |
True | [deleted] | null | I thought the whole point of the exercise was to be able to write the same app that runs both on tablets and the desktop. | null | 0 | 1316524549 | False | 0 | c2l80xs | t3_kl7h0 | null | t1_c2l80xs | t1_c2l7iwl | null | 1427623506 | 2 | t5_2fwo | null | null | null |
True | rmxz | null | ಠ_ಠ (works as a javascript variable in most browsers)
♨_♨ (doesn't work as a javascript variable in most browsers)
Though honestly all of Java's
org.springframework.aop.framework.AbstractSingletonProxyFactoryBean
crap is even worse than that. Surely it would have been better to name the class for what it's useful for, rather than embed every interface and/or pattern that it implements into the name. | null | 0 | 1316524567 | True | 0 | c2l8100 | t3_klhlv | null | t1_c2l8100 | t3_klhlv | null | 1427623506 | 22 | t5_2fwo | null | null | null |
True | day_cq | null | cddaaaaaddddaaaarrrrr | null | 0 | 1316524571 | False | 0 | c2l810l | t3_klhlv | null | t1_c2l810l | t3_klhlv | null | 1427623506 | 11 | t5_2fwo | null | null | null |
True | wickedang3l | null | That's just "breaking".
--Edit--
Don't be sensitive, guys. It's just a joke; Unix/Linux can be incredibly rewarding but there is no denying the fact that some things can be an incredible pain in the ass (For instance, fixing a wireless driver that worked in a previous release of the same OS you're using). | null | 0 | 1316524583 | True | 0 | c2l812g | t3_kl7h0 | null | t1_c2l812g | t1_c2l7vc6 | null | 1427623506 | 12 | t5_2fwo | null | null | null |
True | arnedh | null | I suppose in Unicode-based languages you could define a,a and a, using Western, Greek and Russian "a" respectively. | null | 0 | 1316524624 | False | 0 | c2l8179 | t3_klhlv | null | t1_c2l8179 | t3_klhlv | null | 1427623514 | 30 | t5_2fwo | null | null | null |
True | youcanteatbullets | null | I believe it's a python convention to use "_" as a loop variable when you don't actually need to access it in the loop. | null | 0 | 1316524630 | False | 0 | c2l817y | t3_klhlv | null | t1_c2l817y | t1_c2l7r8b | null | 1427623514 | 26 | t5_2fwo | null | null | null |
True | jmtd | null | Just a quick note, at the stage where the OP wanted to install the build dependencies for Firefox, he could harness the excellent work done already to capture them in the Debian/Ubuntu packaging system.
You could type `apt-get build-dep firefox` and apt would install the dependencies for you (at least: the dependencies to build the version of firefox in the OS.)
Even better, though, In the package `devscripts` is a script called `mk-build-deps`. If you run this in an unpacked debian source package tree, it will create a Deb file which depends on the build-dependencies. Why would you do that? Because if you install that, you can then remove the build-dependencies at a later date cleanly if you want to.
Example:
apt-get source firefox
cd firefox-*
mk-build-deps
sudo dpkg -i firefox-build-deps*deb
the above command will fail since the deb has dependencies that aren't satisfied yet.
sudo aptitude
aptitude will warn you about the broken package. Hit 'e' to examine possible solutions. The first is probably "remove the package". You don't want that. Hit '.' (next) to see the next solution: most likely, install the dependencies. Do that.
When you come to remove `firefox-build-deps`, it will remove all dependencies which are not otherwise depended-on by a package on the system, too. Bye bye rarely used dev libraries!
A related advantage to doing it this way: No need to learn arcane or unique build systems for each package. Do you have an unpacked debian package (as per `apt-get source` above?)? Do you have the dependencies installed? Just type `debuild` in the source directory to build it. Works for any build system (the Debian maintainers have wrapped their own consistent one around it). | null | 0 | 1316524646 | False | 0 | c2l81ab | t3_kl5hl | null | t1_c2l81ab | t3_kl5hl | null | 1427623509 | 8 | t5_2fwo | null | null | null |
True | youcanteatbullets | null | I use those for loop indices. | null | 0 | 1316524666 | False | 0 | c2l81c7 | t3_klhlv | null | t1_c2l81c7 | t1_c2l7u1w | null | 1427623509 | 53 | t5_2fwo | null | null | null |
True | a-ko | null | They said the same about XP... | null | 0 | 1316524668 | False | 0 | c2l81cd | t3_kl1qp | null | t1_c2l81cd | t1_c2l7yjt | null | 1427623509 | 1 | t5_2fwo | null | null | null |
True | Timmmmbob | null | You think it's cute, but really it's just going to piss off whoever reads that code... | null | 0 | 1316524688 | False | 0 | c2l81ei | t3_klhlv | null | t1_c2l81ei | t1_c2l7ugv | null | 1427623510 | 25 | t5_2fwo | null | null | null |
True | BobTurbo | null | You don't write in .NET. | null | 0 | 1316524705 | False | 0 | c2l81gb | t3_kl1qp | null | t1_c2l81gb | t1_c2l7vgt | null | 1427623510 | -2 | t5_2fwo | null | null | null |
True | Polatrite | null | You're not receiving downvotes because we're butthurt, you're receiving downvotes because you're outright fucking wrong and you refuse to read the clear English in the arguments presented against your nonsense. | null | 0 | 1316524727 | False | 0 | c2l81ix | t3_kl1qp | null | t1_c2l81ix | t1_c2l7k5f | null | 1427623511 | 2 | t5_2fwo | null | null | null |
True | youcanteatbullets | null | >All variable names that "saves" you 2 or 3 keystrokes.
Like bta instead of beta, prmtr instead of parameter etc.
Fck tht. Fr strtrs, vwls r stpd.
Secondly, how else am I supposed to use the words cum(ulative) and tit(le) in my code? | null | 0 | 1316524735 | False | 0 | c2l81k2 | t3_klhlv | null | t1_c2l81k2 | t3_klhlv | null | 1427623511 | 31 | t5_2fwo | null | null | null |
True | frm | null | This is not what the script does. The script adds and removes classes from a navigation menu when you scroll down the page. I was trying to emulate what [Javascript Garden](http://bonsaiden.github.com/JavaScript-Garden/) already do with the minimum amount of code possible. | null | 0 | 1316524810 | False | 0 | c2l81sj | t3_kliaa | null | t1_c2l81sj | t1_c2l7vv4 | null | 1427623514 | 1 | t5_2fwo | null | null | null |
True | Polatrite | null | Which is exactly how it's been for 14 years or so, and it's exactly how countless developers have done it that entire time. | null | 0 | 1316524812 | False | 0 | c2l81sq | t3_kl1qp | null | t1_c2l81sq | t1_c2l79ap | null | 1427623514 | 6 | t5_2fwo | null | null | null |
True | BobTurbo | null | Where is the virtual machine that manages memory etc in that diagram? | null | 0 | 1316524817 | False | 0 | c2l81th | t3_kl1qp | null | t1_c2l81th | t1_c2l6kir | null | 1427623514 | 2 | t5_2fwo | null | null | null |
True | maskull | null | Yeah, but all those legacy apps won't have a tablet-friendly UI (this was the old problem that previous Windows tablets had) and ARM-based tablets won't run legacy apps at all so... | null | 0 | 1316524867 | False | 0 | c2l81zs | t3_kl1qp | null | t1_c2l81zs | t1_c2l7b15 | null | 1427623521 | 5 | t5_2fwo | null | null | null |
True | internetinsomniac | null | Yeah _ is typically a throwaway variable, you'll only see it if a function returns multiple paramaters and you don't need some, to reduce confusion. | null | 0 | 1316524876 | False | 0 | c2l820n | t3_klhlv | null | t1_c2l820n | t1_c2l817y | null | 1427623516 | 14 | t5_2fwo | null | null | null |
True | [deleted] | null | So you have just added an entire new layer of complexity to both programs that does not need to be there. That will probably mean the app will be slower in general (if only by a little, it is still a needless performance penalty). More importantly, it will be more bug prone. | null | 0 | 1316524905 | False | 0 | c2l824k | t3_kl1qp | null | t1_c2l824k | t1_c2l7hse | null | 1427623518 | 1 | t5_2fwo | null | null | null |
True | kdeforche | null | Interesting. I didn't know. And I couldn't readily find it on in the Internet, do you mean http://gcc.gnu.org/projects/cli.html? It doesn't look like it would be able to build any C/C++ program or library out since it is is missing many features, and that development has all but stalled?
But even more ingenious than the runtime is that NaCl chose to keep the libc, syscalls, and all existing APIs (including originally NPAPI, the Netscape plugin API!), instead of inventing a new class library.
In fact, I think there are many other interesting applications for the NaCl sandbox outside a web environment -- for example a CMS implement in C++ (using http://www.webtoolkit.eu/) which loads modules inside a NaCl sandbox, etc... | null | 0 | 1316524919 | False | 0 | c2l825m | t3_kitgf | null | t1_c2l825m | t1_c2kxt6b | null | 1427623518 | 1 | t5_2fwo | null | null | null |
True | Polatrite | null | Is it impossible to have metro buttons that launch non-metro apps? Real question, just curious. | null | 0 | 1316524929 | False | 0 | c2l826y | t3_kl1qp | null | t1_c2l826y | t1_c2l7i1p | null | 1427623518 | 1 | t5_2fwo | null | null | null |
True | cr3ative | null | Ah, okay. Hopefully your version is a little better performing than JS Garden's - it breaks intertial scrolling on Chrome for Mac by causing CPU spikes whenever a section is passed. | null | 0 | 1316524940 | False | 0 | c2l828c | t3_kliaa | null | t1_c2l828c | t1_c2l81sj | null | 1427623520 | 1 | t5_2fwo | null | null | null |
True | cwstjnobbs | null | Don't get me wrong, I hate the way Windows appears to be going, I was just pointing out a possible workaround. | null | 0 | 1316524956 | False | 0 | c2l82a7 | t3_kl1qp | null | t1_c2l82a7 | t1_c2l824k | null | 1427623520 | 1 | t5_2fwo | null | null | null |
True | internetinsomniac | null | I think you missed off the "&" there. You're talking about the symbol to proc syntax in which `source.map(&:name)` can be used to be shorthand for `source.map {|c| c.name }` | null | 0 | 1316525012 | False | 0 | c2l82gy | t3_klhlv | null | t1_c2l82gy | t1_c2l80m8 | null | 1427623522 | 2 | t5_2fwo | null | null | null |
True | cwstjnobbs | null | Things haven't changed by a huge amount since XP. | null | 0 | 1316525012 | False | 0 | c2l82gz | t3_kl1qp | null | t1_c2l82gz | t1_c2l81cd | null | 1427623522 | 4 | t5_2fwo | null | null | null |
True | advicevice | null | Any .NET variable name, ever. | null | 0 | 1316525060 | False | 0 | c2l82mt | t3_klhlv | null | t1_c2l82mt | t3_klhlv | null | 1427623523 | -3 | t5_2fwo | null | null | null |
True | Dennovin | null | Found a file named doeeeeeeiiiiiiiit.pl. Obviously it was a critical process. | null | 0 | 1316525105 | False | 0 | c2l82sd | t3_klhlv | null | t1_c2l82sd | t3_klhlv | null | 1427623525 | 16 | t5_2fwo | null | null | null |
True | tanishaj | null | Right, it is a new API. Of course there have been major new APIs for .NET every few years. Remember, .NET was already around when WPF and XAML were introduced. Silverlight already introduces the idea of a limited sandoxed version of the .NET framework as well.
From an API stand-point, this is just another step along the road. I think all the pre-build suspense primed us all to see this as a bigger shift than it is for .NET devs.
Now if you are a C++ or JavaScript guy, things really have changed. | null | 0 | 1316525116 | False | 0 | c2l82tt | t3_kl1qp | null | t1_c2l82tt | t1_c2l7wjk | null | 1427623525 | 2 | t5_2fwo | null | null | null |
True | tanishaj | null | Kind of like Silverlight. | null | 0 | 1316525141 | False | 0 | c2l82ww | t3_kl1qp | null | t1_c2l82ww | t1_c2l7xci | null | 1427623525 | 1 | t5_2fwo | null | null | null |
True | internetinsomniac | null | Now imagine how bad it would get if they use [cockney](http://en.wikipedia.org/wiki/Cockney_rhyming_slang) | null | 0 | 1316525152 | False | 0 | c2l82y2 | t3_klhlv | null | t1_c2l82y2 | t1_c2l81ei | null | 1427623526 | 3 | t5_2fwo | null | null | null |
True | rmxz | null | But if you do
source.Select(customer => customer.Name)
you're implying that such mapping's only expected to work on customers, rather than any named object.
Perhaps
source.Select( assert(_.isInstanceOf[Customer]); _=>_.Name)
if you really want to be clear that it's a customer;-)
For people who love long variable names, I'd suggest that even this is better than customer:
source.Select(a_named_thing => a_named_thing.Name)
but that's certainly no better than _.
| null | 0 | 1316525187 | False | 0 | c2l832n | t3_klhlv | null | t1_c2l832n | t1_c2l7tgt | null | 1427623526 | 0 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1316525216 | False | 0 | c2l8368 | t3_klhlv | null | t1_c2l8368 | t1_c2l809o | null | 1427623529 | 1 | t5_2fwo | null | null | null |
True | ulber | null | No, the non-metro buttons just fire up the desktop and open the applications. Also there won't be much futzing around for the user as the start screen has a desktop button by default. | null | 0 | 1316525242 | False | 0 | c2l839u | t3_kl1qp | null | t1_c2l839u | t1_c2l826y | null | 1427623530 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | Yup. The hivemind loves to shit on him for being an extremist, but most of the things he has been concerned about have come to pass.
I keep wanting to get some cheap SD cards and load [his story](http://www.gnu.org/philosophy/right-to-read.html) on all the retail demos of ereaders... | null | 0 | 1316525247 | False | 0 | c2l83al | t3_kl7h0 | null | t1_c2l83al | t1_c2l7xv6 | null | 1427623530 | 21 | t5_2fwo | null | null | null |
True | stillalone | null | Four(), four() functions. Ha. Ha. Ha. Ha.
/count | null | 0 | 1316525280 | False | 0 | c2l83em | t3_klhlv | null | t1_c2l83em | t1_c2l7s1g | null | 1427623532 | 52 | t5_2fwo | null | null | null |
True | dukentre | null | My name is Jake. I worked with a guy who thought calling me jakeypoo was hilarious. I was working on some code he had written and it was full of for statements that used "for each poo in jakey". He was also a fan of thing in thingy. | null | 0 | 1316525303 | False | 0 | c2l83hr | t3_klhlv | null | t1_c2l83hr | t3_klhlv | null | 1427623533 | 73 | t5_2fwo | null | null | null |
True | TinynDP | null | Its MS admitting the obvious, which is that while .NET has fans, and always will have fans, they can not switch windows to a 100% .NET system, or the mass developers of the world will abandon them. | null | 0 | 1316525312 | False | 0 | c2l83iq | t3_kl1qp | null | t1_c2l83iq | t1_c2l5tzv | null | 1427623533 | 2 | t5_2fwo | null | null | null |
True | TomorrowPlusX | null | I often use 'x' as an accumulator when incrementing the x position of a set of objects. | null | 0 | 1316525328 | False | 0 | c2l83kf | t3_klhlv | null | t1_c2l83kf | t1_c2l7q0f | null | 1427623534 | 2 | t5_2fwo | null | null | null |
True | rob132 | null | My buddy would allays rewrite the current var of this linked list to his his name, so this way when an item is added, Jim = head; | null | 0 | 1316525333 | False | 0 | c2l83kz | t3_klhlv | null | t1_c2l83kz | t3_klhlv | null | 1427623534 | 1 | t5_2fwo | null | null | null |
True | fabzter | null | You all are getting too deep into it. | null | 0 | 1316525344 | False | 0 | c2l83mc | t3_kk7c6 | null | t1_c2l83mc | t1_c2l1jga | null | 1427623535 | 1 | t5_2fwo | null | null | null |
True | internetinsomniac | null | > barely spoke English
You know how profanities are often one of the first things you learn in a language? He probably had a clue | null | 0 | 1316525348 | False | 0 | c2l83mt | t3_klhlv | null | t1_c2l83mt | t1_c2l7wdc | null | 1427623535 | 30 | t5_2fwo | null | null | null |
True | frm | null | I've never tested the plug-in performance, I've done it this morning (CEST time), about 4 hours ago. Thank you for the feedback. | null | 0 | 1316525392 | False | 0 | c2l83rw | t3_kliaa | null | t1_c2l83rw | t1_c2l828c | null | 1427623537 | 1 | t5_2fwo | null | null | null |
True | TomorrowPlusX | null | Serious question here. I almost always pass any complex object as const reference - say, const std::vector<FOO> &foos. But I would imagine that passing a builtin type like double as a const reference would just add pointer dereferencing overhead.
Maybe ( maybe! ) on a 32-bit system this would be faster, but I imagine on a 64 bit system this would be slower than simply passing doubles. | null | 0 | 1316525457 | False | 0 | c2l840e | t3_klhlv | null | t1_c2l840e | t1_c2l7zh2 | null | 1427623540 | 1 | t5_2fwo | null | null | null |
True | SyKoHPaTh | null | function returnTrue(){
return false;
} | null | 0 | 1316525475 | False | 0 | c2l842r | t3_klhlv | null | t1_c2l842r | t3_klhlv | null | 1427623540 | 76 | t5_2fwo | null | null | null |
True | TinynDP | null | MS doesn't think Legacy apps are the killer feature, but that they will have users that 95% of the time use tablet apps, but sometimes, just need that one legacy app, for work, and that will give them an edge. | null | 0 | 1316525531 | False | 0 | c2l849o | t3_kl1qp | null | t1_c2l849o | t1_c2l81zs | null | 1427623543 | 3 | t5_2fwo | null | null | null |
True | gecko | null | According to BUILD:
* WinRT sits just above the kernel, and alongside the traditional Win32 APIs. You can't use WinRT from Win32, and you can't use Win32 from WinRT. Think of the OS/2 runtime environment on Windows NT: fully native, but sharing little more than the kernel.
* .NET is still alive and well. All of Microsoft's cloud is based heavily, heavily on .NET, and .NET only. Desktop applications also continue to get the entire .NET stack, as do ASP.NET and related technologies.
* .NET for Metro has a different, much more limited chunk of the traditional .NET Framework. But this is just another profile, just like you already had the Client profile and the Windows 7 Phone profile and the Silverlight profile and lots of other profiles. The underlying technology is still .NET.
* While WinRT is indeed written in native C++, one of the goals of WinRT was specifically to allow transparent calls amongst C++, C#, and JavaScript. In my opinion, this makes .NET *even more* central to Windows, since you no longer need to P/Invoke your way around the native Windows API. Instead, the native Windows API is available to you 24/7 in a fully native way. And while WinRT is written in C++, you can write WinRT components in C# that can be called from C++ just like any other WinRT components--something not as trivially possible using the old COM interop crud.
This is a nice step forward for .NET, not a step back. | null | 0 | 1316525537 | False | 0 | c2l84a9 | t3_kl1qp | null | t1_c2l84a9 | t1_c2l7dbg | null | 1427623543 | 19 | t5_2fwo | null | null | null |
True | EVILFISH | null | firefox still sux | null | 0 | 1316525567 | False | 0 | c2l84eb | t3_kl5hl | null | t1_c2l84eb | t3_kl5hl | null | 1427623545 | -6 | t5_2fwo | null | null | null |
True | G_Morgan | null | Studies have shown repeatedly that narrower columns are easier to read. This is why research papers have multiple narrow columns rather than a big wall of text. | null | 0 | 1316525575 | False | 0 | c2l84fb | t3_kldfr | null | t1_c2l84fb | t1_c2l7la1 | null | 1427623545 | 21 | t5_2fwo | null | null | null |
True | spacechimp | null | Years ago, on a mailing list for users of Macromedia Director, someone posted some problematic code that was supposed to manage states for an image-based button (up, down, etc.).
Unfortunately for him, the most helpful reply he got was:
"You really named a variable 'upButt'?" | null | 0 | 1316525614 | False | 0 | c2l84kj | t3_klhlv | null | t1_c2l84kj | t3_klhlv | null | 1427623548 | 61 | t5_2fwo | null | null | null |
True | internetinsomniac | null | Agreed, but now think about who came up with SOAP, and why. | null | 0 | 1316525629 | False | 0 | c2l84mi | t3_kkfsg | null | t1_c2l84mi | t1_c2l712r | null | 1427623549 | 4 | t5_2fwo | null | null | null |
True | Ch3t | null | Addition of common preservatives can also extend batter life. | null | 0 | 1316525648 | False | 0 | c2l84ot | t3_kl7h0 | null | t1_c2l84ot | t1_c2l74wh | null | 1427623549 | 6 | t5_2fwo | null | null | null |
True | a-ko | null | I think people here are lacking the creative vision of the idea of Windows 8. If anything, Windows 8 is doing what it needs to do to help keep the desktop *alive* for the future of computing.
* The Metro UI over Windows not only provides a unified interface for the tablet market, but a unified environment--something that no other vendor has yet to do.
* The vision I can see here is that the traditional "large" desktop will go away, which also includes the laptops we have always been using. Or rather, each of these devices gets relegated to a specialty market.
* For the average, generic user, and maybe even for offices and corporate environments, dockable tablets will be the future. Set your tablet down at the desk and it's a PC with a keyboard, mouse, and maybe even a monitor if you want to add an extra one. Lift it up and it becomes a tablet device.
The only thing that could conceivably bite them is the limitations of connectivity between Metro and Desktop apps. It would be nice to be able to open a metro app for a quick view of sorts and pop into a full-fledged desktop app when more control is needed. We'll see how it goes. | null | 0 | 1316525659 | False | 0 | c2l84qe | t3_kl1qp | null | t1_c2l84qe | t3_kl1qp | null | 1427623550 | 15 | t5_2fwo | null | null | null |
True | bluefinity | null | For those curious why:
JavaScript variables must start with $, _, or a Unicode letter.
As ♨ isn't a Unicode letter (it's a Unicode symbol), it's not accepted.
AFAIK, most versions of IE don't follow the spec and allow any Unicode character. | null | 0 | 1316525689 | False | 0 | c2l84ug | t3_klhlv | null | t1_c2l84ug | t1_c2l8100 | null | 1427623551 | 14 | t5_2fwo | null | null | null |
True | lukeatron | null | As I understand it, you'll still have your db access, but it will be via data services. In small environments, this might seem like an extra layer of complexity with no benefits but as soon as you start scaling up, the decoupling of your application and your data becomes very beneficial. It makes it much easier to manage delivering data in a way that suits your application as the demands of the system evolve. We are in the process of moving to this kind of architecture from one where the data layer was directly wired into sql server, which has become too inflexible to meet our needs as the product has evolved. Wish I would have done this from the get go as there quite a lot of refactoring between here and there. | null | 0 | 1316525791 | False | 0 | c2l857w | t3_kl1qp | null | t1_c2l857w | t1_c2l7htg | null | 1427623555 | 3 | t5_2fwo | null | null | null |
True | elperroborrachotoo | null | That's what I learnt from other documentation / articles more than this specific one. The article makes a lot of sense if you already understand the purpose of separating Metro and "Modern Classic". Ohterwise it can be pretty confusing.
I can't say for sure, though, in the sense that most of my information is from articles, blogs etc., nothing officially binding. | null | 0 | 1316525810 | False | 0 | c2l85a3 | t3_kl1qp | null | t1_c2l85a3 | t1_c2l7nct | null | 1428193653 | 1 | t5_2fwo | null | null | null |
True | elperroborrachotoo | null | You are an evil man! :D | null | 0 | 1316525838 | False | 0 | c2l85do | t3_klhlv | null | t1_c2l85do | t1_c2l80ut | null | 1428193654 | 2 | t5_2fwo | null | null | null |
True | tau-lepton | null | Or underestimating Ubuntu on tablets. | null | 0 | 1316525845 | False | 0 | c2l85eo | t3_kl1qp | null | t1_c2l85eo | t1_c2l7vuv | null | 1427623559 | -1 | t5_2fwo | null | null | null |
True | ElevenSquared | null | try {
sex();
}
catch (Exception std) {
// fail
}
| null | 0 | 1316525854 | False | 0 | c2l85fy | t3_klhlv | null | t1_c2l85fy | t1_c2l809o | null | 1427623559 | 47 | t5_2fwo | null | null | null |
True | LockAndCode | null | Which? ii and jj like half the programmers in the universe use, or billyjoel and bananapudding? | null | 0 | 1316525863 | False | 0 | c2l85hi | t3_klhlv | null | t1_c2l85hi | t1_c2l81c7 | null | 1427623560 | 54 | 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.