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 | sequentious | null | One of my favourite things to do in school was to innocently submit assignments with humourous zip file names. ass_nine.zip [heh heh](http://www.youtube.com/watch?feature=player_detailpage&v=eATayklP8xw#t=3s). | null | 0 | 1316525881 | False | 0 | c2l85jr | t3_klhlv | null | t1_c2l85jr | t1_c2l809o | null | 1427623568 | 13 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1316525891 | False | 0 | c2l85l0 | t3_klhlv | null | t1_c2l85l0 | t1_c2l809o | null | 1427623568 | -12 | t5_2fwo | null | null | null |
True | cbrandolino | null | I have this thing of using actual Latin grammar with Latin names, thus (looping trough a media gallery)
for medium in media
Or, for arbitrary/unknown lists
for datum in data | null | 0 | 1316525933 | True | 0 | c2l85qd | t3_klhlv | null | t1_c2l85qd | t3_klhlv | null | 1427623573 | 56 | t5_2fwo | null | null | null |
True | kaze0 | null | Or you can be like some of the people I've worked with in the past. It is theirs when it's working correctly and being praised. Whenever there's a problem it becomes someone elses segment. | null | 0 | 1316525997 | False | 0 | c2l85zz | t3_kk5f4 | null | t1_c2l85zz | t3_kk5f4 | null | 1427623569 | 2 | t5_2fwo | null | null | null |
True | theatomicned | null | Bool babyGotBackEnd()
It tried to find an access mdb file on the network. | null | 0 | 1316526036 | False | 0 | c2l865h | t3_klhlv | null | t1_c2l865h | t3_klhlv | null | 1427623571 | 11 | t5_2fwo | null | null | null |
True | cbrandolino | null | As in, the *frontend* source? I'd be careful. | null | 0 | 1316526096 | False | 0 | c2l86df | t3_klhlv | null | t1_c2l86df | t1_c2l8032 | null | 1427623577 | 11 | t5_2fwo | null | null | null |
True | LockAndCode | null | >coordinate_on_x_plane
coordinate_on_x_**axis**? | null | 0 | 1316526107 | False | 0 | c2l86f2 | t3_klhlv | null | t1_c2l86f2 | t1_c2l80ut | null | 1427623579 | 2 | t5_2fwo | null | null | null |
True | StrawberryFrog | null | > Yes, you can access WinRT with standard C++ but it is so unbelievable pull-your-hair-out ugly
In other words, it's specialised skill and the code is ugly, so you have people with that specialised skill make a wrapper library that presents it as objects native to that language. You're just wailing because this situation is unfamiliar to a C++ coder, most system libs are C or C++. This one isn't (entirely), it's COM. | null | 0 | 1316526159 | False | 0 | c2l86la | t3_kl1qp | null | t1_c2l86la | t1_c2l7jk0 | null | 1427623580 | 2 | t5_2fwo | null | null | null |
True | mthode | null | or gentoo :P
ebuild firefox-6.0.ebuild unpack
this would merge the dependencies and unpack the sources :D | null | 0 | 1316526188 | False | 0 | c2l86p1 | t3_kl5hl | null | t1_c2l86p1 | t1_c2l81ab | null | 1427623580 | 2 | t5_2fwo | null | null | null |
True | voxoxo | null | Wide lines requiring large eye movements, which is uncomfortable, tiring or even painful after a long reading session. This is why printed documents never uses full width lines. They ll use smaller pages, or a multi-colum layout. In this case, multi-column could have been used, but I imagine it is quite a pain to support all the possible display resolutions properly with such a layout. | null | 0 | 1316526204 | False | 0 | c2l86r5 | t3_kldfr | null | t1_c2l86r5 | t1_c2l7la1 | null | 1427623581 | 10 | t5_2fwo | null | null | null |
True | dnm | null | I'm showing my age, but in CMPSC 101 we learned Fortran using the [WATFIV](http://en.wikipedia.org/wiki/WATFIV) compiler. The previous version was WATFOR, [University of Waterloo Fortran](http://www.cs.uwaterloo.ca/40th/Chronology/1967.shtml). They spin it like it wasn't a pun. | null | 0 | 1316526204 | False | 0 | c2l86rd | t3_klhlv | null | t1_c2l86rd | t1_c2l7ugv | null | 1427623581 | 6 | t5_2fwo | null | null | null |
True | epenthesis | null | The glaring eye is a letter in the South Indian language of Kannada.
(It represents a heavy "tuh" sound). | null | 0 | 1316526226 | False | 0 | c2l86uh | t3_klhlv | null | t1_c2l86uh | t1_c2l8100 | null | 1427623582 | 21 | t5_2fwo | null | null | null |
True | Pxtl | null | Quick, how do you do a left-outer-join in LINQ to Entities?
Also, what happens if you do more than, say, 5 includes in a L2E query?
It works, but it sure ain't perfect. It gets hideously hackish on the edge-cases... honestly, the nHibernate approach of "just use SQL when you need a row of data" seems to make much more sense. LINQ is good for pulling down objects with business-logic attached to them (thanks to the fact that all LINQ objects are marked Partial) but that's all I've found it good for, and even there it's got flaws.
For me, the best part of LINQ were the new language features added to support it like the wonderful list of functional-programming collection methods. | null | 0 | 1316526237 | False | 0 | c2l86vt | t3_ki83r | null | t1_c2l86vt | t1_c2l5l9o | null | 1427623582 | 1 | t5_2fwo | null | null | null |
True | LockAndCode | null | OK, that settles it. Now upButt
is my new temporary stack variable name. From now on it's gonna be upButt.push(x)
and x=upButt.pop()
all day long. | null | 0 | 1316526285 | False | 0 | c2l8724 | t3_klhlv | null | t1_c2l8724 | t1_c2l84kj | null | 1427623584 | 59 | t5_2fwo | null | null | null |
True | StrawberryFrog | null | Yep. But adding JavaScript as a desktop language is an odd one.
I think the reason is this:
ASP.net webforms was an attempt to get Desktop devs to do web by making it familiar to them.
Now the situation is reversed - MS is trying to find ways to get devs who are familiar with the web to do desktop apps. Other than broad popularity, why include it?
Also, it seems like it's not just "MS admitting" - it's power struggles inside MS. Windows Division, for some reason, doesn't like .Net as much as Developer Division does. So they have managed to reduce .Net's role. I suspect that WinDiv wins since they bring in the income.
My view is that C++ is a great language .. for writing OSs, device drivers, web browsers and runtimes in. For end-user apps, you are better off using a higher-level language (e.g. Java, Python or C#) that is underpinned by C/C++ code. | null | 0 | 1316526319 | True | 0 | c2l876i | t3_kl1qp | null | t1_c2l876i | t1_c2l83iq | null | 1427623585 | 5 | t5_2fwo | null | null | null |
True | red-moon | null | >Metro style
Every time I see 'metro style' the term metrosexual enters my head. Not unlike every time I see 'bing' bling is not far in the background. | null | 0 | 1316526347 | False | 0 | c2l879q | t3_kl1qp | null | t1_c2l879q | t3_kl1qp | null | 1427623585 | 1 | t5_2fwo | null | null | null |
True | nemtrif | null | If I was offered that money for a software project, the main criteria for choosing the technology would be: "Is X proven to do Y well?", closely followed by "How well do I know X?" and "How easy is to hire developers who know X?". | null | 0 | 1316526356 | False | 0 | c2l87b1 | t3_kljc0 | null | t1_c2l87b1 | t3_kljc0 | null | 1427623585 | 14 | t5_2fwo | null | null | null |
True | sequentious | null | A system I worked on a few years ago had an incredibly massive, all-inclusive "doAllTheStuff" function. I came across a var named "thevalue".
"Great", I thought. "I just need to read along and see where thevalue is set".
Then I find "theretvalue", and "retvar". And that is why that function still exists. | null | 0 | 1316526404 | False | 0 | c2l87h4 | t3_klhlv | null | t1_c2l87h4 | t3_klhlv | null | 1427623587 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | Right you are. For some reason I thought latest edge ruby allowed you to omit the &. Fixed. | null | 0 | 1316526430 | False | 0 | c2l87kp | t3_klhlv | null | t1_c2l87kp | t1_c2l82gy | null | 1427623590 | 1 | t5_2fwo | null | null | null |
True | elperroborrachotoo | null | > when unambiguous
That's the key!
My preferred loop variable is `i`, too. When doing COM, the `HRESULT` is always `hr`, etc.
However, I see this more like a project wide convention (or even more global), rather than "obvious from context". IMO if the meaning is local, it deserves a better name.
So if `c` is used project wide for the current connection, *and* for nothing else, I'm fine. But if `c` is sometimes the current connection, sometimes the speed of light, I see a problem.
---
As funny-ugly as a `someWeirdHashTable` is, it clearly conveys the state of mind of the original programmer. I've had much more problems with identifiers to short than to long. From my experience, I still prefer a functional name over a type descriptor like `hash`, and `hash` over `h`. | null | 0 | 1316526518 | False | 0 | c2l87w6 | t3_klhlv | null | t1_c2l87w6 | t1_c2l7z5g | null | 1427623590 | 2 | t5_2fwo | null | null | null |
True | SuperGrade | null | I don't know if you count enums/constants; but I've worked on a codebase where all literals, "magic numbers" were banned.
Especially in certain parsing operations, there are some numbers that really have no meaning outside of the context and code that uses them.
Eventually I started seeing Constants.One, Constants.Five . Really didn't blame the guy, he'd really been browbeat into it and they made more sense than anything else they could be called. | null | 0 | 1316526593 | False | 0 | c2l8868 | t3_klhlv | null | t1_c2l8868 | t3_klhlv | null | 1427623595 | 9 | t5_2fwo | null | null | null |
True | generalT | null | ah, okay. so all this herp-derp hysteria is somewhat baseless. | null | 0 | 1316526597 | False | 0 | c2l886z | t3_kl1qp | null | t1_c2l886z | t1_c2l65mh | null | 1427623595 | 1 | t5_2fwo | null | null | null |
True | tau-lepton | null | I store files just fine on my iPad. Do I wish I had btrfs and Thunar? Sure, but it's not a deal breaker. | null | 0 | 1316526609 | False | 0 | c2l888s | t3_kl1qp | null | t1_c2l888s | t1_c2l64t8 | null | 1427623595 | 1 | t5_2fwo | null | null | null |
True | Panaetius | null | Once upon a time when I still had to occasionally do Coldfusion stuff, I wrote a 3 page story about dragons as a variable name. In coldfusion, you have a cfquery tag to do sql queries and you have to assign some output variable name to the query (i.e. every query has to have a name and this name is also used as a variable to access results).
Well, this was an insert query, so I didn't really need a result and was rather annoyed at having to think a name up, and I was bored at the time...
Wonder if anyone ever saw that. | null | 0 | 1316526622 | False | 0 | c2l88ae | t3_klhlv | null | t1_c2l88ae | t3_klhlv | null | 1427623596 | 21 | t5_2fwo | null | null | null |
True | Oobert | null | I am pretty sure metro is not meant for desktop as it is a touch based interface. So unless you have a touch screen on your desktop... Turn that off. :) | null | 0 | 1316526643 | False | 0 | c2l88de | t3_kl1qp | null | t1_c2l88de | t1_c2l80k1 | null | 1427623597 | 1 | t5_2fwo | null | null | null |
True | onionhammer | null | The article mostly makes sense, it's mainly the headline and page titles that make no sense. | null | 0 | 1316526675 | False | 0 | c2l88hk | t3_kl1qp | null | t1_c2l88hk | t1_c2l5bwq | null | 1427623599 | 3 | t5_2fwo | null | null | null |
True | [deleted] | null | No, that's wrong. | null | 0 | 1316526677 | False | 0 | c2l88hv | t3_kl1qp | null | t1_c2l88hv | t1_c2l86la | null | 1427623599 | -1 | t5_2fwo | null | null | null |
True | generalT | null | why would MS change the garbage collector? | null | 0 | 1316526685 | False | 0 | c2l88j9 | t3_kl1qp | null | t1_c2l88j9 | t1_c2l7umd | null | 1427623599 | 1 | t5_2fwo | null | null | null |
True | TinynDP | null | Windows is nothing without the developer community. They figure there are about 3 layers of developers. Web devs (Javascript), JIT Developers (C#), and hardcore native developers (C++). They are supporting all of them, and not making any one of them 'the king'. | null | 0 | 1316526721 | False | 0 | c2l88nd | t3_kl1qp | null | t1_c2l88nd | t1_c2l876i | null | 1427623601 | 23 | t5_2fwo | null | null | null |
True | onionhammer | null | It *used* to be that .NET was a 2nd class citizen on windows, it *will* be a peer on Windows 8. You (and this article) have it backwards. | null | 0 | 1316526753 | False | 0 | c2l88sj | t3_kl1qp | null | t1_c2l88sj | t1_c2l5tzv | null | 1427623603 | 27 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1316526784 | False | 0 | c2l88wq | t3_kl1qp | null | t1_c2l88wq | t1_c2l7zoh | null | 1427623604 | 1 | t5_2fwo | null | null | null |
True | generalT | null | i find your comments refreshing amongst a sea of whiners and retards. | null | 0 | 1316526788 | False | 0 | c2l88x5 | t3_kl1qp | null | t1_c2l88x5 | t1_c2l6x55 | null | 1427623604 | 0 | t5_2fwo | null | null | null |
True | [deleted] | null | What don't you understand about "using standard C++ to deal with WinRT/COM is so horrible that makes using C++/CX a necessity"?
He is exactly right. Do you research.
| null | 0 | 1316526825 | False | 0 | c2l891z | t3_kl1qp | null | t1_c2l891z | t1_c2l81ix | null | 1427623606 | -3 | t5_2fwo | null | null | null |
True | aberrant | null | As a former Latin student, high five! They're not that bad (given the context)! | null | 0 | 1316526862 | False | 0 | c2l896u | t3_klhlv | null | t1_c2l896u | t1_c2l85qd | null | 1427623615 | 15 | t5_2fwo | null | null | null |
True | joefarish | null | [Hacker News Article](http://news.ycombinator.com/item?id=3014039)
[The Secrets of Building Realtime Big Data Systems](http://www.slideshare.net/nathanmarz/the-secrets-of-building-realtime-big-data-systems) - Nathan Marz on SlideShare | null | 0 | 1316526883 | False | 0 | c2l899q | t3_kks00 | null | t1_c2l899q | t3_kks00 | null | 1427623612 | 3 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1316526919 | False | 0 | c2l89ey | t3_kl1qp | null | t1_c2l89ey | t1_c2l84a9 | null | 1427623611 | 1 | t5_2fwo | null | null | null |
True | cooper6 | null | >For now, it's perfectly usable in the web module.
Yes, Yes. Server means accessible by multiple users concurrently. The F/J framework cannot handle concurrent access for synchronous requests. | null | 0 | 1316526954 | False | 0 | c2l89jp | t3_kjdt6 | null | t1_c2l89jp | t3_kjdt6 | null | 1427623614 | 2 | t5_2fwo | null | null | null |
True | minikomi | null | How many poos are there in a Jakey, exactly? | null | 0 | 1316526963 | False | 0 | c2l89kp | t3_klhlv | null | t1_c2l89kp | t1_c2l83hr | null | 1427623623 | 29 | t5_2fwo | null | null | null |
True | generalT | null | i'm just getting started with MVC 3 myself. i've barely done any web programming, but i'm finding MVC 3 intuitive and easy to use. but i've just scratched the surface. | null | 0 | 1316526965 | False | 0 | c2l89kx | t3_kl1qp | null | t1_c2l89kx | t1_c2l7te9 | null | 1427623623 | 5 | t5_2fwo | null | null | null |
True | Lystrodom | null | >Kannada
It's spelled "Canada" and your really need to work on your Geography. ಠ\_ಠ
| null | 0 | 1316527009 | False | 0 | c2l89qs | t3_klhlv | null | t1_c2l89qs | t1_c2l86uh | null | 1427623618 | 28 | t5_2fwo | null | null | null |
True | asteroidB612 | null | The extra trailing 'r's are borken. Unless you're using the Pirate dialect of Lisp. | null | 0 | 1316527022 | False | 0 | c2l89ss | t3_klhlv | null | t1_c2l89ss | t1_c2l810l | null | 1428193651 | 15 | t5_2fwo | null | null | null |
True | elperroborrachotoo | null | Of course, but then, `bIhateThisCode` is perfectly acceptable in some situations as well. -- I was just quipping at the fact that everyone seemed to dig out odd occurrences rather than real problems.
Yes, when I have only x, y and z. fine. and a `Point<3>` better have `.x`, `.y`, `.z` members.
I'm dealing with a lot of calculations, including transformations between different representations, different calibrations, etc. The math conveniently uses indicees, which don't translate readily. While the docs use formulas with a metrix shitton of indices, and I *did* prefer short names, I've learnt the hard way you shouldn't have things like `c_x_0` and `c_x0` with different meanings. | null | 0 | 1316527028 | False | 0 | c2l89tk | t3_klhlv | null | t1_c2l89tk | t1_c2l7zze | null | 1428193651 | 1 | t5_2fwo | null | null | null |
True | mattstreet | null | Diaspora was marketing and nothing more, if the guys had really cared about a facebook alternative they'd have been working on a useful protocol rather than a shitty rails app.
* Edit: though looking at their site now the project does seem more interesting, I guess I'll have to git their source and take a look at it before making any more frustrated remarks. | null | 0 | 1316527055 | True | 0 | c2l89xf | t3_kgsnl | null | t1_c2l89xf | t1_c2ka1w3 | null | 1427623620 | 1 | t5_2fwo | null | null | null |
True | dsk | null | >An issue I'm seeing is the horsepower required to run this new OS.
What's the issue? You think smooth transitions need a lot of horsepower? Really? | null | 0 | 1316527115 | False | 0 | c2l8a59 | t3_kl1qp | null | t1_c2l8a59 | t1_c2l5bld | null | 1427623625 | 1 | t5_2fwo | null | null | null |
True | onionhammer | null | Well... you can still develop applications the exact same way you have done for windows (whether .NET or C++). We're only talking about Metro style apps. | null | 0 | 1316527115 | False | 0 | c2l8a5b | t3_kl1qp | null | t1_c2l8a5b | t1_c2l82tt | null | 1427623625 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | I think that was the point. I guess you'd have to not like your client very much, though. | null | 0 | 1316527243 | False | 0 | c2l8aoi | t3_klhlv | null | t1_c2l8aoi | t1_c2l86df | null | 1427623633 | 4 | t5_2fwo | null | null | null |
True | [deleted] | null | You're right, const & to primitive types is generally worse than passing by value. Boost has a library which picks "the right thing" from inside complex templates: http://www.boost.org/doc/libs/1_47_0/libs/utility/call_traits.htm | null | 0 | 1316527254 | False | 0 | c2l8apz | t3_klhlv | null | t1_c2l8apz | t1_c2l840e | null | 1427623635 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | It's been over ten years since Apple changed from Carbon to Cocoa. | null | 0 | 1316527259 | False | 0 | c2l8aqu | t3_kl1qp | null | t1_c2l8aqu | t1_c2l7f53 | null | 1427623635 | 3 | t5_2fwo | null | null | null |
True | Aviator | null | Yes. | null | 0 | 1316527278 | False | 0 | c2l8ata | t3_klhlv | null | t1_c2l8ata | t1_c2l85hi | null | 1427623634 | 120 | t5_2fwo | null | null | null |
True | akoprowski | null | If it was about web development I'd bet $100,000,000 on Opa (http://opalang.org), as with this budget my primary question would be: is the tool *really* good for what I want to do? | null | 0 | 1316527283 | False | 0 | c2l8au7 | t3_kljc0 | null | t1_c2l8au7 | t3_kljc0 | null | 1427623634 | 0 | t5_2fwo | null | null | null |
True | lukeatron | null | I was in the same camp until recently. My company is just beginning to move towards tablets for field use. One things tablets are good at is delivering information but they're pretty crappy for entering information unless it's a guided type of data entry where you're simply choosing from a somewhat small set of options. One thing it seems it pretty well suited for in my industry is to give doctors and other medical professionals immediate access to patient health records. This is an especially big hit when it comes to having medical imaging data at their fingertips.
A keyboard and mouse are pretty ideal tools for the current paradigm of getting input into the system, and for that purpose, there's nothing even on the horizon to do it any better. They won't be going away any time soon. But, if you're doing more consumption of data, a tablet is just more handy to carry around with you. There are an awful lot of uses out there for that kind of thing. We all need to get used to a world where both of these things exist and interact with each other heavily. | null | 0 | 1316527308 | False | 0 | c2l8axj | t3_kl1qp | null | t1_c2l8axj | t1_c2l7g3a | null | 1427623635 | 5 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1316527311 | False | 0 | c2l8axy | t3_klhlv | null | t1_c2l8axy | t1_c2l8aoi | null | 1427623635 | -1 | t5_2fwo | null | null | null |
True | walesmd | null | In my previous position one of the developers had a pretty basic application that consisted of less than a dozen classes. Unfortunately, it was a pain in the ass to work with because each class had some crazy name from Futurama characters that supposedly made sense (he tried to explain it to me, I didn't get it).
The templating class was "Bender", the controller was "Leela", database was "Fry" - on and on and on. I'm not even sure if I am matching them up correctly as I absolutely refused to do any work on this application. If something broke or a bug was found, it stayed that way until the original developer got around to fixing it. | null | 0 | 1316527326 | False | 0 | c2l8b0c | t3_klhlv | null | t1_c2l8b0c | t3_klhlv | null | 1427623637 | 7 | t5_2fwo | null | null | null |
True | [deleted] | null | > My thoughts is, in the end, the start menu will act differently if you're touching it or if you're clicking it.
Why do you think that? Have they said that? Because we're basing all this Metro criticism on their words and actions. | null | 0 | 1316527360 | False | 0 | c2l8b5d | t3_kl7h0 | null | t1_c2l8b5d | t1_c2l7yt5 | null | 1427623637 | 3 | t5_2fwo | null | null | null |
True | asteroidB612 | null | Why? Because it hasn't returned yet? | null | 0 | 1316527362 | False | 0 | c2l8b5u | t3_klhlv | null | t1_c2l8b5u | t1_c2l87h4 | null | 1427623637 | 9 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1316527383 | False | 0 | c2l8b98 | t3_klhlv | null | t1_c2l8b98 | t1_c2l80n6 | null | 1427623638 | -7 | t5_2fwo | null | null | null |
True | onionhammer | null | I can imagine there is a lot potential for apps which are highly integrated with web apps where it is actually just easier to use HTML/js to make the application... at least the UI, you can use custom WinRT libraries written C# also. | null | 0 | 1316527415 | False | 0 | c2l8bd4 | t3_kl1qp | null | t1_c2l8bd4 | t1_c2l6u9m | null | 1427623639 | 3 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1316527441 | False | 0 | c2l8bga | t3_klhlv | null | t1_c2l8bga | t1_c2l85hi | null | 1427623639 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | those are recompiled. the old binaries wouldn't work. | null | 0 | 1316527451 | False | 0 | c2l8bi3 | t3_kl7h0 | null | t1_c2l8bi3 | t1_c2l7uzd | null | 1427623640 | 5 | t5_2fwo | null | null | null |
True | TheJulian | null | I once came across the variable $listing_list_list | null | 0 | 1316527601 | False | 0 | c2l8c2p | t3_klhlv | null | t1_c2l8c2p | t3_klhlv | null | 1427623645 | 2 | t5_2fwo | null | null | null |
True | djork | null | I win.
function showFailurTextDiv(flag) {
if (parseInt(flag) == 0) {
document.getElementById('FailurTextDiv').style.display = "block";
}
else {
document.getElementById('FailurTextDiv').style.display = "none";
}
return;
}
We've got:
* a misspelled function name
* an unhelpful `flag` variable name
* you might expect `flag` to be boolean, but it's not. It's supposed to be the string "0" (zero) or anything else.
* in a function called **show**... "0" shows the div, and anything else (like "true" or "1") hides the div
* the div ID itself is misspelled, probably where they copy/pasted the function name
* useless `return` statement
* duplicated `getElementById`
Misspelling "failure" is the best part, though. It's foreshadowing. It really sets the scene for a massive amount of incompetence to follow.
---
We also have lots of variables like `isExsist` and control names like `pnlImageEmptyForNotExsisting`.
---
We have a database table named `paymentTranactionTypesList`. **Tran**action. It sounds like a porn site I would never want to go to. The columns are, predictably, named:
* `TranactionTypeID`
* `TranactionType`
* `XYZ_TranactionType`
* etc.
I would expect no less than this kind of unwavering devotion to total dumbassedness. | null | 0 | 1316527625 | True | 0 | c2l8c6h | t3_klhlv | null | t1_c2l8c6h | t3_klhlv | null | 1427623646 | 13 | t5_2fwo | null | null | null |
True | onionhammer | null | Microsoft definitely sees touchscreens becoming much more ubiquitous, during the keynote one of the speakers actually said he thought that in three years you will consider any monitor that isn't touch-enabled to be 'broken'.
I do hope Microsoft provides better mouse/keyboard support for windows 8 desktop PCs though.. as it stands, metro absolutely *sucks* with only a mouse & keyboard. | null | 0 | 1316527638 | False | 0 | c2l8c82 | t3_kl1qp | null | t1_c2l8c82 | t1_c2l84qe | null | 1427623647 | 10 | t5_2fwo | null | null | null |
True | elbweb | null | As I said originally, I believe I read it in their blog but cannot find it quickly.
Forcing someone to use the metro UI when they have a mouse and keyboard is ridiculous. This is a company that knows what it is doing, and I am 100% positive the version we have now was created solely for the purpose of showing off the metro UI, not a finished product.
There are so many gaping holes in the UI that I personally think anyone that is going to complain about them is just wasting their time. That is not the point of this developers preview. The point was to allow developers access to the things that have changed the most, and that is the Metro UI. | null | 0 | 1316527687 | False | 0 | c2l8ceu | t3_kl7h0 | null | t1_c2l8ceu | t1_c2l8b5d | null | 1427623651 | 1 | t5_2fwo | null | null | null |
True | sequentious | null | It wouldn't surprise me. There could have been some endless loops somewhere :) | null | 0 | 1316527723 | False | 0 | c2l8cjw | t3_klhlv | null | t1_c2l8cjw | t1_c2l8b5u | null | 1427623650 | 1 | t5_2fwo | null | null | null |
True | onionhammer | null | .NET is still there, and it's *now* (as opposed to previously) on much more equal footing with C++ in terms of what it can do with Windows.. if anything things have only gotten *better* for .NET developers.
Previously, .NET programmers had to use p/invoke to invoke windows native libraries, now it has access to WinRT, and if you don't want to make Metro apps, you can still develop desktop apps the same exact way you've always done. | null | 0 | 1316527844 | False | 0 | c2l8d14 | t3_kl1qp | null | t1_c2l8d14 | t1_c2l7d18 | null | 1427623658 | 3 | t5_2fwo | null | null | null |
True | A_for_Anonymous | null | There are no hidden files in Linux filesystems. It's just traditional shells and UNIX utilities purposefully mishandling them for some uncertain profit. In other words, it's a misfeature of many shells and utilities like ls.
There are ways to fix this potentially dangerous, confusing, stupid misfeature. In Bash, use `shopt -s dotglob` and in ls, use `ls -a` (you probably want to setup an alias with a few more options, like `alias l='ls -aFlT0 --color=auto --group-directories-first'`). | null | 0 | 1316527859 | False | 0 | c2l8d3i | t3_klhlv | null | t1_c2l8d3i | t1_c2l7vae | null | 1427623658 | -14 | t5_2fwo | null | null | null |
True | axilmar | null | People are so illogical, smcj. I have clearly spelled out for them the exact reason why C++/CX is bad, but they insist on their illogical way of thinking. It's a great disappointment.
| null | 0 | 1316527891 | False | 0 | c2l8d8c | t3_kl1qp | null | t1_c2l8d8c | t1_c2l891z | null | 1427623660 | -2 | t5_2fwo | null | null | null |
True | toofishes | null | Would expect nothing less than the Stack Overflow ~~power trip hungry users~~ moderators to swoop in and mark it "closed as not constructive". | null | 0 | 1316528002 | False | 0 | c2l8dp9 | t3_klhlv | null | t1_c2l8dp9 | t3_klhlv | null | 1427623666 | 0 | t5_2fwo | null | null | null |
True | A_for_Anonymous | null | I use i, j and k, not ii and jj... I also tend to use l for lists (for which I'll be hated), s for strings, and x, y, z for spatial coordinates of some sort. But I prefer not to use any specific variable in my "loops", as in `map(f, l)`. | null | 0 | 1316528006 | True | 0 | c2l8dpv | t3_klhlv | null | t1_c2l8dpv | t1_c2l85hi | null | 1427623666 | 26 | t5_2fwo | null | null | null |
True | NegativeK | null | Now I want to write an obfuscated snippet that uses only Unicode "a"s as variables.
a = function(a, a.a(a), a) {
return(a.a(a, a()));
}; | null | 0 | 1316528040 | False | 0 | c2l8duk | t3_klhlv | null | t1_c2l8duk | t1_c2l8179 | null | 1427623670 | 51 | t5_2fwo | null | null | null |
True | Stormflux | null | >Ok sometimes in lambdas: source.Select(x => x.Name)
Not sure why this is being used as an example of *bad* coding practice, just about everybody I know uses x in Lambdas. | null | 0 | 1316528098 | False | 0 | c2l8e3v | t3_klhlv | null | t1_c2l8e3v | t1_c2l7tgt | null | 1427623672 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | But Windows 8 is not for phones. | null | 0 | 1316528190 | False | 0 | c2l8ehs | t3_kl7h0 | null | t1_c2l8ehs | t1_c2l7nu3 | null | 1427623676 | 6 | t5_2fwo | null | null | null |
True | A_for_Anonymous | null | In my codebase, $ is some Super Special value in Javascript (typically Prototype's $), and _ means throwaway value anywhere (never used, or used clearly in the very next lines). | null | 0 | 1316528255 | False | 0 | c2l8erl | t3_klhlv | null | t1_c2l8erl | t1_c2l7r8b | null | 1427623680 | 2 | t5_2fwo | null | null | null |
True | Stormflux | null | Yo yo yo, camel case only for member variables and parameters, holmes. | null | 0 | 1316528294 | False | 0 | c2l8exf | t3_klhlv | null | t1_c2l8exf | t1_c2l82mt | null | 1427623682 | 2 | t5_2fwo | null | null | null |
True | BeowulfShaeffer | null | Generally when the memory profile of your device changes you want to consider GC, especially when power is a concern. In the specific case of metro where only one app can be "active" at a time it makes a lot of sense to prefer doing GC on apps while they are suspended rather than pre-empting them or doing it concurrently like the desktop collector. I'm not saying they will ditch it as the .NET GC is a phenomenally successful piece of software. But I am sure there will be some tweaks. | null | 0 | 1316528306 | False | 0 | c2l8ez8 | t3_kl1qp | null | t1_c2l8ez8 | t1_c2l88j9 | null | 1427623684 | 1 | t5_2fwo | null | null | null |
True | kamiikoneko | null | I get what the question here is, but generally I don't give a shit what someone names their variables. .
I just hope someday to work on a system that wasn't designed by someone with the design maturity of a high school kid. Variable names are nothing compared to some of the bullshit I've had to deal with, bullshit pulled off by perfectly intelligent dudes who lose all my respect when I realize they couldn't design their way out of a paper bag.
| null | 0 | 1316528318 | False | 0 | c2l8f0y | t3_klhlv | null | t1_c2l8f0y | t3_klhlv | null | 1427623684 | 3 | t5_2fwo | null | null | null |
True | banuday | null | What's the hate with `org.springframework.aop.framework.AbstractSingletonProxyFactoryBean`?
First, that's the full class name, including package. You'd only ever need to use this when you need to fully resolve the class. The package name is a good one though. We can clearly see that it is a part of the Spring Framework, belongs to the AOP feature, and is a part of the core AOP framework.
In most usages, you'll only use `AbstractSingletonProxyFactoryBean`, and each word in that identifier is important:
* **Abstract:** This class provides the scaffolding for a SingletonProxyFactoryBean, but needs a concrete subclass which implements the missing pieces.
* **Singleton:** This class creates singleton instances of some type, which is a critical feature of the Spring Framework.
* **Proxy:** This class is a part of the AOP framework, and Spring implements aspects using proxies.
* **Factory:** This class creates proxies
* **Bean:** Subclasses of this class are going to be Spring components, and can be specified in the application configuration.
Now, I've never seen the code for that class before. But, just looking at the name, I have a pretty good idea of what the class does, given my knowledge of the Spring Framework. And unless I'm being trolled, I can look at the source code and not be surprised.
That's good, right? | null | 0 | 1316528329 | True | 0 | c2l8f2z | t3_klhlv | null | t1_c2l8f2z | t1_c2l8100 | null | 1427623685 | 14 | t5_2fwo | null | null | null |
True | stoph | null | Definitely not Web 2.0. I don't see any rounded corners, gradients, or shine. | null | 0 | 1316528394 | False | 0 | c2l8fcy | t3_kketr | null | t1_c2l8fcy | t1_c2l6iei | null | 1427623689 | 1 | t5_2fwo | null | null | null |
True | redditnoob | null | From Objective-C, to trigger a mouse button release event in a sub component:
[child touchUpInside]
(Someone else's answer from a couple of years ago!) | null | 0 | 1316528406 | False | 0 | c2l8feu | t3_klhlv | null | t1_c2l8feu | t3_klhlv | null | 1427623689 | 7 | t5_2fwo | null | null | null |
True | A_for_Anonymous | null | Some languages have stupid limitations in their syntaxes. For example, Python has statements and expressions (why oh why), and you cannot use statements anywhere. lambda is an expression, but it cannot contain statements, while def is a statement, but it cannot be contained in expressions. This is utterly retarded; having statements is utterly retarded altogether. So I have to do this:
def _(...):
...
f(..., _)
Alternatively, I call these Python variables `damn_guido`.
When doing PHP, I often hate the fact only anonymous closures are closures, and sometimes I have to use globals (FUCK) to imitate this behaviour in named functions, so I name my globals `$__php_sucks__<function_name>__variable`.
Some retard in our inherited code named flags "onoff".
But surely the most obnoxious and stupid variable names have to be `lpcszHeader`, `lParam`, `hWnd`, `dwCreationFlags`... How I hate that shit — not just lpcszHungarianBullshit, but OdiousNameForAFunctionEx(weioqruqTurd, qwieuorqeShit, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL). For this alone Microsoft needs to be bombed. | null | 0 | 1316528456 | True | 0 | c2l8fm2 | t3_klhlv | null | t1_c2l8fm2 | t3_klhlv | null | 1427623692 | 8 | t5_2fwo | null | null | null |
True | kuitu | null | I have no idea why they call this mvderwin. Move DURRR window?
http://pubs.opengroup.org/onlinepubs/7908799/xcurses/mvderwin.html | null | 0 | 1316528502 | False | 0 | c2l8ft4 | t3_klhlv | null | t1_c2l8ft4 | t3_klhlv | null | 1427623693 | 5 | t5_2fwo | null | null | null |
True | wonglik | null | I know that and I agree with you. But how I see that is that MS is targeting dual devices something like tablet/pc (personal tablet? :) ) In my opinion it is very bed decision.
And with ARM thing , I think they mention emulation for x86 ... although it will probably be slower then normal code execution so again no added value here. | null | 0 | 1316528547 | False | 0 | c2l8fzy | t3_kl1qp | null | t1_c2l8fzy | t1_c2l81zs | null | 1427623696 | 1 | t5_2fwo | null | null | null |
True | ShadyG | null | Direct-L? Hopper-L/EX? DXR? Might have been me. At least it sounds like something I'd have pointed out. | null | 0 | 1316528548 | False | 0 | c2l8g06 | t3_klhlv | null | t1_c2l8g06 | t1_c2l84kj | null | 1427623696 | 6 | t5_2fwo | null | null | null |
True | joeycastillo | null | I'm not certain it's the *worst*, but nobody's been able to offer me a cogent explanation of why the Android visual notification class is called a Toast. It's quite possibly the least descriptive class name I've encountered in both the iOS and Android frameworks. | null | 0 | 1316528598 | False | 0 | c2l8g8w | t3_klhlv | null | t1_c2l8g8w | t3_klhlv | null | 1427623700 | 1 | t5_2fwo | null | null | null |
True | KnuttyD | null | Yes | null | 0 | 1316528685 | False | 0 | c2l8gmd | t3_klhlv | null | t1_c2l8gmd | t1_c2l8bga | null | 1427623705 | 5 | t5_2fwo | null | null | null |
True | [deleted] | null | reminded me of this one, http://xkcd.com/221/ | null | 0 | 1316528702 | False | 0 | c2l8gp0 | t3_klhlv | null | t1_c2l8gp0 | t1_c2l842r | null | 1427623705 | 27 | t5_2fwo | null | null | null |
True | wonglik | null | I think they want. They won't release a tablet before mid - end 2012. How many iPad or Android tablet dedicated applications will be there at that time? What is even worse for MS wp7 apps will not be compatible so they will start from 0. I am pretty sure they will advertise their OS as capable of running trillions of old windows apps.
>95% of the time use tablet apps, but sometimes, just need that one legacy app, for work, and that will give them an edge.
I am pretty sure that 5% will be the most frustrating experience of their lives. | null | 0 | 1316528728 | False | 0 | c2l8gt9 | t3_kl1qp | null | t1_c2l8gt9 | t1_c2l849o | null | 1427623707 | 4 | t5_2fwo | null | null | null |
True | neilk | null | During a stint at $giant_search_engine_company I once grepped through the entire source tree for the longest class name. If I recall correctly, it was something like:
TakeTheTimeAndACounterVariableAndIncrementTheCounterAndStoreTheTime
Which, as you can imagine, was pretty descriptive.
The best part was that this was checked in by a Pivotal consultant.
I've sometimes wondered if he followed some kind of rigid naming scheme, or whether this was a joke, or whether he was in the middle of refactoring and wanted this class name to stick out because it did multiple unrelated things... | null | 0 | 1316528729 | False | 0 | c2l8gtb | t3_klhlv | null | t1_c2l8gtb | t3_klhlv | null | 1427623707 | 3 | t5_2fwo | null | null | null |
True | BigMax | null | I coded with a guy that used to like to occasionally use historical figures for his variables for no apparent reason. In the middle of code you'd see something like:
bool DwightEisenhower = true;
or
int GhengisKhan = GetCurrentCustomerCount();
He did it just enough to cause occasional WTF moments as you were reading through code. | null | 0 | 1316528738 | False | 0 | c2l8gus | t3_klhlv | null | t1_c2l8gus | t3_klhlv | null | 1427623707 | 2 | t5_2fwo | null | null | null |
True | KnuttyD | null | Nope, just a normal variable. But it looks pretty, hence the use in jQuery and whatnot. | null | 0 | 1316528775 | False | 0 | c2l8gzx | t3_klhlv | null | t1_c2l8gzx | t1_c2l8erl | null | 1427623710 | 1 | t5_2fwo | null | null | null |
True | taka06 | null | For me, the silliest one I've seen so far is:
String badCode = assignment;
By itself, it's not that bad if a bit confusing, it refers to a bad code that a user enters. The problem is the variable right below it.
String badCodeCode = some other assignment;
I still don't know really understand what it's for. I'm scared of it. | null | 0 | 1316528809 | False | 0 | c2l8h51 | t3_klhlv | null | t1_c2l8h51 | t3_klhlv | null | 1427623712 | 1 | t5_2fwo | null | null | null |
True | A_for_Anonymous | null | I didn't bet my time in it; I wouldn't bet $100M. | null | 0 | 1316528875 | False | 0 | c2l8hfb | t3_kljc0 | null | t1_c2l8hfb | t3_kljc0 | null | 1427623714 | 3 | t5_2fwo | null | null | null |
True | [deleted] | null | As many as it takes. | null | 0 | 1316528940 | False | 0 | c2l8hov | t3_klhlv | null | t1_c2l8hov | t1_c2l89kp | null | 1427623719 | 41 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1316528946 | False | 0 | c2l8hpy | t3_kl1qp | null | t1_c2l8hpy | t1_c2l88x5 | null | 1427623719 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | Which language are you using that allows Unicode identifiers? | null | 0 | 1316528952 | False | 0 | c2l8hqr | t3_klhlv | null | t1_c2l8hqr | t1_c2l7vf2 | null | 1427623720 | 8 | t5_2fwo | null | null | null |
True | timeshifter_ | null | Same. I try to keep even my one-letter variables in context. Sometimes I get a little ambitious and wind up with x, x2, and x3 in the same loop... | null | 0 | 1316529021 | False | 0 | c2l8i2l | t3_klhlv | null | t1_c2l8i2l | t1_c2l8dpv | null | 1427623732 | 1 | t5_2fwo | null | null | null |
True | pagingdoctorjekyll | null | There is a variable in a project I work on regularly called dMeanCum
I probably would have called it CumulativeAverages or something like that... | null | 0 | 1316529025 | False | 0 | c2l8i3f | t3_klhlv | null | t1_c2l8i3f | t1_c2l809o | null | 1427623732 | 8 | t5_2fwo | null | null | null |
True | asteroidB612 | null | I can assert with absolute conviction, that if that kind of money were on the table I would choose Common Lisp. I'd hire every genius Lisp programmer I know and give them carte Blanche to implement any required feature as they saw fit. When the project finished it would be a temple of concise, elegant, strongly typed beauty! Then I would open-source the codebase under a modified BSD license so the original devels could reuse their code in future work without compromise. After posting numerous fluffy "why our use of Lisp in projectQ was the next best thing since the invention of typed Lambda Calculus" I'd watch in agony as the non-lisp community wriggles in contortions to dismiss Lisp despite it's obv superiority over their language of choice... | null | 0 | 1316529052 | False | 0 | c2l8i7t | t3_kljc0 | null | t1_c2l8i7t | t3_kljc0 | null | 1427623726 | 13 | t5_2fwo | null | null | null |
True | tamier | null | If you create functions like this, its very easy to do a countdown.
Four(), Three(), Two(), One() :-D | null | 0 | 1316529106 | False | 0 | c2l8ig8 | t3_klhlv | null | t1_c2l8ig8 | t1_c2l7s1g | null | 1427623731 | 2 | t5_2fwo | null | null | null |
True | shoseki | null | And yet, you don't provide any rebuttal whatsoever. Basically, all you've typed is "NO". | null | 0 | 1316529136 | False | 0 | c2l8il8 | t3_kldfr | null | t1_c2l8il8 | t1_c2l7tmx | null | 1427623734 | -10 | 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.