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 | vytah | null | In our team-programming BSc project:
public class ConflictWindowThatKeepsFollowingYourMouseCursor extends JDialog
public class SendSpamDialog extends JDialog implements ActionListener
public class AncessorPanel /* sic! should be Ancestor, or even better: Base */ extends JPanel
public final class Everything implements Serializable
// This class was a doubleton: it created a second instance while deserializing.
// Deserialization methods of some fields explicitly referenced Everything's singleton,
// so the old singleton had to be backed up somewhere and restored if there was any error.
// And no, this is NOT java.io.Serializable.
public class GBC extends GridBagConstraints
public class MyMouseListener implements MouseListener, MouseMotionListener | null | 0 | 1316539110 | False | 0 | c2l9x21 | t3_klhlv | null | t1_c2l9x21 | t3_klhlv | null | 1427624391 | 1 | t5_2fwo | null | null | null |
True | IfOneThenHappy | null | In python:
email_somebody(something[0]) | null | 0 | 1316539207 | False | 0 | c2l9xl5 | t3_klhlv | null | t1_c2l9xl5 | t3_klhlv | null | 1427624399 | 1 | t5_2fwo | null | null | null |
True | arnedh | null | Is that the correct declension after "in" (and "for")? | null | 0 | 1316539254 | False | 0 | c2l9xtl | t3_klhlv | null | t1_c2l9xtl | t1_c2l85qd | null | 1427624401 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | Sometimes... | null | 0 | 1316539263 | False | 0 | c2l9xva | t3_klhlv | null | t1_c2l9xva | t1_c2l9deo | null | 1427624402 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | i made a hacky js recursive tree function the other day and called it turtlesAllTheWayDown | null | 0 | 1316539411 | False | 0 | c2l9yo8 | t3_klhlv | null | t1_c2l9yo8 | t3_klhlv | null | 1427624420 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | He wanted to make sure a Free Software ecosystem *was possible*. Because when he started GNU, it *wasn't*.
There are people for whom freedom and lack of restriction is more important than convenience or money. *They* wanted to make sure *they* were able to use a computer without giving up any of their rights.
| null | 0 | 1316539423 | False | 0 | c2l9yqt | t3_kl7h0 | null | t1_c2l9yqt | t1_c2l990j | null | 1427624420 | 5 | t5_2fwo | null | null | null |
True | mfbridges | null | That strip always bugs me...the purple guy in the last panel is the wrong color. | null | 0 | 1316539523 | False | 0 | c2l9zay | t3_klhlv | null | t1_c2l9zay | t1_c2l942x | null | 1427624422 | 18 | t5_2fwo | null | null | null |
True | [deleted] | null | Doesn't support Haskell. | null | 0 | 1316539564 | False | 0 | c2l9zj1 | t3_khtuh | null | t1_c2l9zj1 | t3_khtuh | null | 1427624424 | -1 | t5_2fwo | null | null | null |
True | [deleted] | null | Also, no one suspects the OrphanMolestationException! | null | 0 | 1316539586 | False | 0 | c2l9znd | t3_klhlv | null | t1_c2l9znd | t1_c2l9yo8 | null | 1427624425 | 1 | t5_2fwo | null | null | null |
True | nemtrif | null | Who said anything about cheap? | null | 0 | 1316539614 | False | 0 | c2l9zti | t3_kljc0 | null | t1_c2l9zti | t1_c2l941z | null | 1427624427 | 4 | t5_2fwo | null | null | null |
True | yogthos | null | >AH yes, the glamorous life of a wage slave. Don't even bother trying to create something that lots of people will want, because you are only allowed to sell one.
Most people working for corporations are wage slaves, and we've seen time and again people doing interesting and innovative things with open source. There are even indie devs that make games by piggy backing on open source (humble bundle has some great examples). [These](http://www.steel-storm.com/) guys made a game that's possible because of open source for example, [these](http://www.puppygames.net/revenge-of-the-titans/) guys chose to open source their engine after making some money.
Nobody is preventing big companies from making giant commercial games that are closed, but don't claim that closed source actually helps indie devs make games, because it's simply not true. To make a quality inhouse engine from scratch that will look good and be competitive is just not possible nowadays.
| null | 0 | 1316539617 | False | 0 | c2l9zty | t3_kl7h0 | null | t1_c2l9zty | t1_c2l9iz9 | null | 1427624428 | 2 | t5_2fwo | null | null | null |
True | ceolceol | null | In my defense, I've never worked with a project that large. Please forgive me. | null | 0 | 1316539618 | False | 0 | c2l9zub | t3_klhlv | null | t1_c2l9zub | t1_c2l9qm3 | null | 1427624428 | 1 | t5_2fwo | null | null | null |
True | Sodaware | null | When I first started learning BASIC, I used the variable g$ a lot. | null | 0 | 1316539653 | False | 0 | c2la02j | t3_klhlv | null | t1_c2la02j | t3_klhlv | null | 1427624431 | 2 | t5_2fwo | null | null | null |
True | LoganCale | null | I'd say that's great naming, myself. | null | 0 | 1316539728 | False | 0 | c2la0ii | t3_klhlv | null | t1_c2la0ii | t1_c2l85qd | null | 1427624437 | 8 | t5_2fwo | null | null | null |
True | joehillen | null | So you're judging D based on a 5 year old implementation and not based on the completely new D2.0?
Apparently first impressions are everything. | null | 0 | 1316539751 | False | 0 | c2la0ns | t3_kljc0 | null | t1_c2la0ns | t1_c2l8mnh | null | 1427624438 | 9 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1316539784 | False | 0 | c2la0uj | t3_klhlv | null | t1_c2la0uj | t1_c2l81c7 | null | 1427624441 | 0 | t5_2fwo | null | null | null |
True | MarshallBanana | null | No, he is pro-user at the expense of developers. All the restrictions the GPL imposes are on developers. | null | 0 | 1316539830 | False | 0 | c2la13o | t3_kl7h0 | null | t1_c2la13o | t1_c2l93ly | null | 1427624444 | 1 | t5_2fwo | null | null | null |
True | MarshallBanana | null | > I think this is a matter of perspective, if you're interested in making a profit then open source is not necessarily the best option.
It is not *his* perspective, though. He holds that *only* free software is *ever* acceptable. There's no tradeoff allowed about whether you'd like to make money or not, you are supposed to write free software only. | null | 0 | 1316539942 | False | 0 | c2la1pf | t3_kl7h0 | null | t1_c2la1pf | t1_c2l9rxb | null | 1427624453 | 7 | t5_2fwo | null | null | null |
True | steppenwoof | null | So, I wrote a really horrible program 5 years back. I was doing a project in a lab equipped with good laser equipment and I was dabbling in simulations, auto and cross correlation, etc (really basic stuff).
I had to write a program for Rabi Oscillations along with some other stuff that I can't recall - basically a lot of bra and ket vectors and whatnot.
I ended up with around 100 lines (in Matlab) that looked like:
rabi_something = pi*rabi_something_else;
die_rabi_die = rabi_something_else * random_constant;
big_fucking_bra = find_biggest_bra(mother_of_all_bras[]);
and so on.
The program worked, but I learnt an important lesson in naming variables properly.
Today, I wish I had saved the program for posterity. | null | 0 | 1316539988 | False | 0 | c2la1yx | t3_klhlv | null | t1_c2la1yx | t3_klhlv | null | 1427624455 | 2 | t5_2fwo | null | null | null |
True | arghnoname | null | redirect_and_exit()
It didn't exit. This ended badly if you did something like
if (error_condition)
redirect_and_exit('/error_page');
perform_action();
That same code base had a lot of stuff like:
define(CONST_SEMICOLON, ';')
define(CONST_COMMA, ',')
And you'd then see things like array_join($array, CONST_COMMA);
| null | 0 | 1316540022 | False | 0 | c2la25r | t3_klhlv | null | t1_c2la25r | t3_klhlv | null | 1427624466 | 1 | t5_2fwo | null | null | null |
True | henk53 | null | The worst one I encountered is "user_id"
(realizing it wasn't a user id at all but an article id :/)
The guy who wrote this did this all the time, sometimes subtly (order_line instead of order and then using order for order_line), sometimes very 'consistently' (a complete module where tons of things were called CompanyController, Company, CompanyCache etc, except that it wasn't about companies, but about users which were quite distinct from companies in that app). | null | 0 | 1316540078 | False | 0 | c2la2gr | t3_klhlv | null | t1_c2la2gr | t3_klhlv | null | 1427624463 | 1 | t5_2fwo | null | null | null |
True | MarshallBanana | null | You apparently do not understand Microsoft and their attitude to backwards compatibility at all. | null | 0 | 1316540090 | False | 0 | c2la2j2 | t3_kl7h0 | null | t1_c2la2j2 | t1_c2l9a5y | null | 1428193635 | 5 | t5_2fwo | null | null | null |
True | [deleted] | null | if you didn't succeed at sex() how would you catch the STD? | null | 0 | 1316540145 | False | 0 | c2la2u9 | t3_klhlv | null | t1_c2la2u9 | t1_c2l85fy | null | 1427624468 | 16 | t5_2fwo | null | null | null |
True | mantra | null | Given that the US Government values human life about ~$200K and given the small number of patent trolls numerically, what the cost-benefit here? Would the financially expedient solution not be better utility for all involved? | null | 0 | 1316540165 | False | 0 | c2la2xx | t3_klqte | null | t1_c2la2xx | t3_klqte | null | 1427624469 | 4 | t5_2fwo | null | null | null |
True | Abaddon314159 | null | a, not to be confused with A, aa, or aA, and of course don't confuse it with the globally scoped a. Also of course none of this was documented. | null | 0 | 1316540165 | False | 0 | c2la2y0 | t3_klhlv | null | t1_c2la2y0 | t3_klhlv | null | 1427624469 | 1 | t5_2fwo | null | null | null |
True | MarshallBanana | null | > ... whereas if you build a web app it will run for ever,
Ahahah, that's hilarious. | null | 0 | 1316540210 | False | 0 | c2la36x | t3_kl7h0 | null | t1_c2la36x | t1_c2l7qpk | null | 1427624475 | 7 | t5_2fwo | null | null | null |
True | [deleted] | null | Not to mention testing. | null | 0 | 1316540233 | False | 0 | c2la3bd | t3_kljc0 | null | t1_c2la3bd | t1_c2l9jpn | null | 1427624473 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | i always enjoy reading articles like this one ... | null | 0 | 1316540340 | False | 0 | c2la3xn | t3_klrrx | null | t1_c2la3xn | t3_klrrx | null | 1427624481 | 11 | t5_2fwo | null | null | null |
True | fusionlove | null | How does the first example close the file? There's no close statement, only an open statement. | null | 0 | 1316540388 | False | 0 | c2la47q | t3_kljpc | null | t1_c2la47q | t3_kljpc | null | 1427624484 | 0 | t5_2fwo | null | null | null |
True | 0xABADC0DA | null | Raytracing works great, just not on modern general purpose hardware. Loading a 64-byte cache line only to use 8 or so bytes is a huge waste. Caching memory for patterns that rarely hit is a huge waste. High memory latency with only 4 or 8 threads wastes tons of cycles.
But some hardware can do raytracing very well. The Cray MTA at ~4 mzh per thread (min) and ~200 cycles memory latency with no cache scaled nearly linearly at raytracing (3.8x when quadrupling the number of processors) and had the fastest integer sort at the time. The hardware was designed for exactly this kind of random, irregular access patterns like in variable mesh simulations or raytracing.
The problem is not the algorithm, it's the hardware. If say Intel comes out with a radically different hardware design for GPUs, they may be able to completely disrupt the industry and flip the switch over to raytracing. | null | 0 | 1316540423 | True | 0 | c2la4ew | t3_kldfr | null | t1_c2la4ew | t3_kldfr | null | 1427624487 | 7 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1316540531 | False | 0 | c2la50x | t3_klhlv | null | t1_c2la50x | t1_c2l80n6 | null | 1427624496 | 3 | t5_2fwo | null | null | null |
True | thebigkevdogg | null | one of my colleagues uses "penis" for every loop counter. thus:
while (some condition) {
// do something
penis++;
}
| null | 0 | 1316540587 | False | 0 | c2la5ac | t3_klhlv | null | t1_c2la5ac | t3_klhlv | null | 1427624498 | 2 | t5_2fwo | null | null | null |
True | flyingfox | null | I was writing a tool to decode a custom file format. Each record in this format is identified by a [mnemonic](http://www.google.com/search?q=define:+mnemonic) which I named, logically, 'mnemonic'.
There are so many ways to misspell mnenonic that look (almost) right. With fixed width fonts every nmemonic is the same width. If you search for mnenomic in a block that has a lot of mnemonics about half of the references will be highlighted leaving you to figure out which mnemanic is correct.
As an added bonus, this code is used everywhere (internally) spreading the grief around and making it difficult to change the name without breaking everything.
| null | 0 | 1316540645 | False | 0 | c2la5m4 | t3_klhlv | null | t1_c2la5m4 | t3_klhlv | null | 1427624502 | 2 | t5_2fwo | null | null | null |
True | palad1 | null | There's a special place in hell for people like you.
Come have a seat... | null | 0 | 1316540650 | False | 0 | c2la5n0 | t3_klhlv | null | t1_c2la5n0 | t1_c2l8ata | null | 1427624503 | 22 | t5_2fwo | null | null | null |
True | imbcmdth | null | > In space, no-one can see your stderr... | null | 0 | 1316540709 | False | 0 | c2la5zc | t3_kkih6 | null | t1_c2la5zc | t1_c2l7zz5 | null | 1427624508 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1316540711 | False | 0 | c2la5zv | t3_klhlv | null | t1_c2la5zv | t1_c2l7zev | null | 1427624508 | 1 | t5_2fwo | null | null | null |
True | rachelbythebay | null | // Machine state machine
typedef StateMachine<Machine::State, MachineState> StateMachine;
I nearly cried. | null | 0 | 1316540743 | False | 0 | c2la661 | t3_klhlv | null | t1_c2la661 | t3_klhlv | null | 1428193633 | 3 | t5_2fwo | null | null | null |
True | crocodile7 | null | I'm sure everything will be fine for enterprise customers (and even small businesses, most likely). Not so certain about the average Joe Consumer. | null | 0 | 1316540762 | False | 0 | c2la6a2 | t3_kl7h0 | null | t1_c2la6a2 | t1_c2la2j2 | null | 1427624512 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1316540769 | False | 0 | c2la6bg | t3_klphp | null | t1_c2la6bg | t3_klphp | null | 1427624512 | -2 | t5_2fwo | null | null | null |
True | sharkus414 | null | don't engineers use j = sqrt(-1)? | null | 0 | 1316540799 | False | 0 | c2la6h4 | t3_klhlv | null | t1_c2la6h4 | t1_c2l8ztz | null | 1427624515 | 1 | t5_2fwo | null | null | null |
True | KyteM | null | It's not "too impractical". TONS of programs have been made with C++ and COM already. If you really don't wanna use /CX, then build the extension-equivalents yourself. You only need to do it once. Maybe even add it to boost.
It's not lock-in if the only thing keeping you locked is laziness. | null | 0 | 1316540837 | False | 0 | c2la6nz | t3_kk7c6 | null | t1_c2la6nz | t1_c2l7ip1 | null | 1427624517 | 1 | t5_2fwo | null | null | null |
True | skoorbevad | null | $_ | null | 0 | 1316540959 | False | 0 | c2la7cp | t3_klhlv | null | t1_c2la7cp | t3_klhlv | null | 1428193633 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1316541012 | True | 0 | c2la7ns | t3_klhlv | null | t1_c2la7ns | t3_klhlv | null | 1427624531 | 1 | t5_2fwo | null | null | null |
True | mistralol | null |
So wrap the sql connection?
If the application is written in a decent way this should take all of about 1-2 hours | null | 0 | 1316541042 | False | 0 | c2la7tp | t3_kl1qp | null | t1_c2la7tp | t1_c2l6pkv | null | 1427624535 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | I'm not your old co-worker, but my dream boyfriend would be called Jacob just so I can call him Jakeypoo. It's a cute nickname. | null | 0 | 1316541056 | False | 0 | c2la7wc | t3_klhlv | null | t1_c2la7wc | t1_c2l83hr | null | 1427624534 | 2 | t5_2fwo | null | null | null |
True | mistralol | null |
Can you get the equivalent of a filestream from the data store? | null | 0 | 1316541089 | False | 0 | c2la832 | t3_kl1qp | null | t1_c2la832 | t1_c2l6yyg | null | 1427624536 | 2 | t5_2fwo | null | null | null |
True | mean7gene | null | ComputerProgram() | null | 0 | 1316541120 | False | 0 | c2la899 | t3_klhlv | null | t1_c2la899 | t3_klhlv | null | 1427624538 | 1 | t5_2fwo | null | null | null |
True | trumans1 | null | Worst function name i've ever had to work with:
createMemcachedRecordAndCookieAndSessionInformationFromUserSession()
descriptive sure. But I can't help to think of when good code standards go bad. | null | 0 | 1316541135 | False | 0 | c2la8ce | t3_klhlv | null | t1_c2la8ce | t3_klhlv | null | 1427624539 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1316541151 | False | 0 | c2la8fd | t3_kljpc | null | t1_c2la8fd | t3_kljpc | null | 1427624539 | 1 | t5_2fwo | null | null | null |
True | TomorrowPlusX | null | Also, computer time is getting faster and faster, and more and more parallel. Developers are not. | null | 0 | 1316541157 | False | 0 | c2la8gy | t3_kldfr | null | t1_c2la8gy | t1_c2l8mjf | null | 1427624541 | 3 | t5_2fwo | null | null | null |
True | preshing | null | An explanation was hidden about halfway down the post: "Once we understand what the Python interpreter is doing, we can make better sense of the example at the beginning of this blog post, where we opened a file in the with statement: In Python 2.5 and later, file objects expose their own enter and exit methods, and can therefore act as their own context managers."
I'll improve this part of the post.
| null | 0 | 1316541164 | True | 0 | c2la8it | t3_kljpc | null | t1_c2la8it | t1_c2la47q | null | 1427624541 | 2 | t5_2fwo | null | null | null |
True | hacksoncode | null | Whoosh. | null | 0 | 1316541222 | False | 0 | c2la8ur | t3_klhlv | null | t1_c2la8ur | t1_c2l817y | null | 1427624544 | 0 | t5_2fwo | null | null | null |
True | sigzero | null | It does it automagically.
> After execution of the with-block is finished, the object’s __exit__() method is called, even if the block raised an exception, and can therefore run clean-up code. | null | 0 | 1316541242 | False | 0 | c2la8zk | t3_kljpc | null | t1_c2la8zk | t1_c2la47q | null | 1427624546 | 5 | t5_2fwo | null | null | null |
True | mistralol | null |
public static void FuckIT(string Message);
class TBCException : Exception() { }
Meant to be throwen when the client / pm's / management would not make up their mind as to how a certain feature is to work.
| null | 0 | 1316541243 | False | 0 | c2la8zu | t3_klhlv | null | t1_c2la8zu | t3_klhlv | null | 1427624546 | 2 | t5_2fwo | null | null | null |
True | zomgsauce | null | At one place I worked we had a system which did message dispatching for various applications written in different languages with different requirements, and different message schemas. The core of that system was the "Common Language Interface" which could accept a message and interpret it in order to pass along a properly formatted message to the intended destination system. One of those systems was the "Table Object Repository Interface System." In the code that means that in some places you would see calls to CLI.TORIS().... | null | 0 | 1316541259 | False | 0 | c2la930 | t3_klhlv | null | t1_c2la930 | t3_klhlv | null | 1427624547 | 2 | t5_2fwo | null | null | null |
True | zumpiez | null | GetButtCnts/ShowButtCnts
Involving button counts, obviously. | null | 0 | 1316541282 | False | 0 | c2la98a | t3_klhlv | null | t1_c2la98a | t3_klhlv | null | 1427624550 | 3 | t5_2fwo | null | null | null |
True | c0de517e | null | Except that Quality is Performance in the realtime world, at least right now and in the foreseeable future. And to a degree it still is in the offline world, movies are still limited to a very small time per frame, raytracing is still used sparingly, and as I wrote, good commercial renderers are hybrid.
In architecture for example, where you can take a day to render (so the resource limit is basically not there) a single image and lighting accuracy is the king, then raytracing is the way to go and performance is not linked to quality. In most other realms it still is. | null | 0 | 1316541291 | False | 0 | c2la99q | t3_kldfr | null | t1_c2la99q | t1_c2l7p3f | null | 1427624550 | 1 | t5_2fwo | null | null | null |
True | fivre | null | Some function names: %ZeUSTBL, %ZeUYMV, %ZdALTE
Some variable names: %ZeOSDF, %ZeOSUNQ
If you can guess the purpose of any of these, you're lying.
And to think we've only been featured on TheDailyWTF twice! | null | 0 | 1316541301 | False | 0 | c2la9br | t3_klhlv | null | t1_c2la9br | t3_klhlv | null | 1427624552 | 1 | t5_2fwo | null | null | null |
True | hacksoncode | null | I had a roommate in college that used to name his variables things like "fred" and "superman". No, those didn't have anything to do with the purpose of the variables. He could have just as easily named them "a" and "b", but that would have been too obviously arbitrary. | null | 0 | 1316541355 | False | 0 | c2la9nk | t3_klhlv | null | t1_c2la9nk | t3_klhlv | null | 1427624556 | 2 | t5_2fwo | null | null | null |
True | berkut | null | Perhaps you should look into how KDTree nodes are compacted in most raytracers. It's pretty efficient to march the ray through the KDTree nodes until you get a hit. | null | 0 | 1316541384 | False | 0 | c2la9sj | t3_kldfr | null | t1_c2la9sj | t1_c2la4ew | null | 1427624558 | 4 | t5_2fwo | null | null | null |
True | c0de517e | null | I didn't spend any time in the layout of the blog I admit. It seems that the themes blogger provides (or provided when I looked into them last time) are like that. If you know of an easy way of changing that with blogger I will do. | null | 0 | 1316541427 | False | 0 | c2laa0s | t3_kldfr | null | t1_c2laa0s | t1_c2l7la1 | null | 1427624561 | 3 | t5_2fwo | null | null | null |
True | mistralol | null |
While string parsing
s1,s2,s3,s4,s5 .........
There is normally a bunch of temps chucked in as well.
Also with loops I have seen nested i,j,k,l,m,n,o,p :) | null | 0 | 1316541448 | False | 0 | c2laa54 | t3_klhlv | null | t1_c2laa54 | t3_klhlv | null | 1427624562 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1316541457 | False | 0 | c2laa75 | t3_klrrx | null | t1_c2laa75 | t3_klrrx | null | 1427624562 | 1 | t5_2fwo | null | null | null |
True | mindsound | null | Set phasors to d'oh! | null | 0 | 1316541546 | False | 0 | c2laap3 | t3_klhlv | null | t1_c2laap3 | t1_c2l8ztz | null | 1427624569 | 3 | t5_2fwo | null | null | null |
True | rmxz | null | Whoa - so it has Abstract in it's name to highlight that it does *not* act like most Abstract classes do?
| null | 0 | 1316541597 | False | 0 | c2laaz7 | t3_klhlv | null | t1_c2laaz7 | t1_c2l9oo5 | null | 1427624572 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | On the subject of homework and exercises and extended interview periods, I've always found these a little bit offensive. I understand a company wants to make sure they get a good fit, but if I'm a prospective employee looking for work, doing the equivalent of several days of work to impress you is a huge drain on my resources. I realize that for some jobs it's worth it (and in some employment environments it is necessary) but at the same time it seems a manifestation of something toxic in our culture.
| null | 0 | 1316541601 | False | 0 | c2lab04 | t3_kls47 | null | t1_c2lab04 | t3_kls47 | null | 1427624572 | 20 | t5_2fwo | null | null | null |
True | berkut | null | Not really, if your raytracer is smart enough. With a KDTree for each geometry instance and then a master scene KDTree for all objects, the master scene KDTree only needs to know about each object's object-space bbox and has to transform it to world space - even with a lot of objects, that's pretty fast.
So when objects move in the scene, as long as their triangles (vertices) don't move relatively within each mesh, it's just a case of iterating through each object's bbox and converting it to world space with an AABB. Then the scene KDTree can be built using these transformed volumes. | null | 0 | 1316541608 | False | 0 | c2lab1e | t3_kldfr | null | t1_c2lab1e | t1_c2l8wl1 | null | 1427624574 | 1 | t5_2fwo | null | null | null |
True | zxvf | null | I once worked on a project where functions more often than not were longer than five hundred lines and many of them started with
int i, j, k, ii, jj, kk;
Yes, they were all loop indices. | null | 0 | 1316541698 | False | 0 | c2labjf | t3_klhlv | null | t1_c2labjf | t1_c2l7u1w | null | 1427624581 | 2 | t5_2fwo | null | null | null |
True | abuseaccount | null | I have a habbit of making vestigial functions that don't really do anything.
Then give them very important names. Primarily because I hate the people I code with.
| null | 0 | 1316541710 | False | 0 | c2lablz | t3_klhlv | null | t1_c2lablz | t3_klhlv | null | 1427624582 | 2 | t5_2fwo | null | null | null |
True | simonask | null | To be fair, features like lambda functions have been consistently shown to benefit productivity. C++11 also provides several features specifically made to make the programmer's life easier. It's not an unfair presumption that C++11 will serve as an improvement in programmer productivity. | null | 0 | 1316541856 | False | 0 | c2lace2 | t3_klphp | null | t1_c2lace2 | t1_c2la6bg | null | 1427624592 | 17 | t5_2fwo | null | null | null |
True | poorly_played | null | It's such a nice, clean, compact way to do the whole try/except/finally business. | null | 0 | 1316541865 | False | 0 | c2lacfr | t3_kljpc | null | t1_c2lacfr | t3_kljpc | null | 1427624598 | 3 | t5_2fwo | null | null | null |
True | sporkpdx | null | There are four lights! | null | 0 | 1316541866 | False | 0 | c2lacfz | t3_klhlv | null | t1_c2lacfz | t1_c2l83em | null | 1427624598 | 0 | t5_2fwo | null | null | null |
True | rmxz | null | Typing's only half the battle.
Reading's painful too.
In many other languages you often see much of what you need to on one screen without having to scroll. With java you can't fit much on each line; so you need more lines; so you need a lot more scrolling.
| null | 0 | 1316541899 | False | 0 | c2lacmb | t3_klhlv | null | t1_c2lacmb | t1_c2l92qk | null | 1427624595 | 1 | t5_2fwo | null | null | null |
True | n2dasun | null | Do you have any others? I'd love to see them. | null | 0 | 1316542020 | False | 0 | c2ladaj | t3_klrrx | null | t1_c2ladaj | t1_c2la3xn | null | 1427624604 | 3 | t5_2fwo | null | null | null |
True | Chandon | null | Patent trolls are a serious problem, but they're also a distraction from the more serious problem of patent mobsters.
A patent troll wants to take as much of your money as possible without killing your business. A patent mobster wins either way - if you don't pay and go out of business, that's one less competitor.
"Hi, this is the legal department from IBM. That's a nice little software company you've got there. You wouldn't want to see anything bad happen to it. We've got a lot of patents; if you just pay us a small protection fee we'll help you make sure that nothing bad happens to it." | null | 0 | 1316542061 | False | 0 | c2ladit | t3_klqte | null | t1_c2ladit | t3_klqte | null | 1427624606 | 183 | t5_2fwo | null | null | null |
True | poorly_played | null | Needs more enterprise. | null | 0 | 1316542069 | False | 0 | c2ladkj | t3_klhlv | null | t1_c2ladkj | t1_c2l96zy | null | 1427624608 | 5 | t5_2fwo | null | null | null |
True | useful_idiot | null | Best proggit article of 2011. I definitely want to start some q2 hacking this weekend now =D | null | 0 | 1316542080 | False | 0 | c2ladmk | t3_klrrx | null | t1_c2ladmk | t3_klrrx | null | 1427624608 | 41 | t5_2fwo | null | null | null |
True | berkut | null | That's the point though - with a rasteriser, shadow maps most of the time have to be customised to the light and object casting the shadow, as well as how close the shadow is to the camera. If a shadow's far away, you can get away with a small shadow map, if it's closer, things have to be tweaked to remove aliasing on the edges.
With ray tracers, as long as you've got enough samples, the shadow looks good from pretty much every position.
> (Oh, and do you know if there are there any production ray tracers that will actually serialize the acceleration structure like that? It seems to be a fairly common practice with research ray tracers but I don't think I've seen a production renderer do it. Does Arnold?)
All should do, it's the smart thing to do - why rebuild for each frame when nothing's changed?
I don't mean serialise to disk - I mean keep in memory once they've built the acceleration structure. | null | 0 | 1316542085 | False | 0 | c2ladnh | t3_kldfr | null | t1_c2ladnh | t1_c2l9tcc | null | 1427624608 | 1 | t5_2fwo | null | null | null |
True | mistralol | null |
I agree with this. If you do this inside the UK you would be taken to the cleaners by employee law. You startup would be sued and run out of money. Basically this happens because you did not give candidates a fair chance to compete for the job.
If you are thinking why? Well some people have kids. Some people work 9-5 go home then have to work until 9pm or so eg babies. Some great people just cannot jump though this hoop.
How long should an email reply take? Some people are in work and may not be able to answer an email until the evening time. Mayby that person is great. But people inside companies still work without internet access (eg blocked). I am sure your thinking mobile device to access it. Have you seen the state of 3g in some areas? It took me 3 hours 1 day to read an email until I moved office ... Not to mention they could just be stuck in a meeting until the end of the day ....
| null | 0 | 1316542170 | False | 0 | c2lae3x | t3_kls47 | null | t1_c2lae3x | t1_c2lab04 | null | 1427624615 | 10 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1316542197 | False | 0 | c2lae8x | t3_klhlv | null | t1_c2lae8x | t3_klhlv | null | 1427624616 | 1 | t5_2fwo | null | null | null |
True | aspiderbot | null | i read that as p canal. penis canal. | null | 0 | 1316542265 | False | 0 | c2laeku | t3_klhlv | null | t1_c2laeku | t1_c2l9fla | null | 1427624630 | 2 | t5_2fwo | null | null | null |
True | PericlesATX | null | No homo of course. | null | 0 | 1316542308 | False | 0 | c2laet3 | t3_klhlv | null | t1_c2laet3 | t1_c2l9qmi | null | 1427624632 | -7 | t5_2fwo | null | null | null |
True | doody | null | What does it take to ork a cow around your way? | null | 0 | 1316542337 | False | 0 | c2laez0 | t3_klhlv | null | t1_c2laez0 | t1_c2l9qm3 | null | 1427624626 | 1 | t5_2fwo | null | null | null |
True | serudla | null | some places i've worked at, all new people are hired only after working there for a time as contractors through an agency (sweet deal for the agency). it lets them try people out, the downside is they get mostly local hires, very few people are going to relocate for a temp job. | null | 0 | 1316542448 | False | 0 | c2lafle | t3_kls47 | null | t1_c2lafle | t1_c2lab04 | null | 1427624634 | 6 | t5_2fwo | null | null | null |
True | [deleted] | null | Of course it can never be accurate just as any stats for OS market share aren't accurate. You would have to look at every single computer to get accurate stats and that just isn't going to happen | null | 0 | 1316542460 | False | 0 | c2lafo0 | t3_kkp4z | null | t1_c2lafo0 | t1_c2l7snq | null | 1427624636 | 0 | t5_2fwo | null | null | null |
True | elder_george | null | [yes](http://msdn.microsoft.com/en-us/library/system.io.isolatedstorage.isolatedstoragefilestream.aspx). | null | 0 | 1316542472 | False | 0 | c2lafpw | t3_kl1qp | null | t1_c2lafpw | t1_c2la832 | null | 1427624636 | 1 | t5_2fwo | null | null | null |
True | General_Mayhem | null | walkTheDinosaur() | null | 0 | 1316542508 | False | 0 | c2lafuu | t3_klhlv | null | t1_c2lafuu | t1_c2l9or5 | null | 1427624637 | 0 | t5_2fwo | null | null | null |
True | revscat | null | There's nothing 'worst' about that. That's awesome. | null | 0 | 1316542513 | False | 0 | c2lafxb | t3_klhlv | null | t1_c2lafxb | t1_c2l94em | null | 1427624639 | 1 | t5_2fwo | null | null | null |
True | General_Mayhem | null | walkTheDinosaur() | null | 0 | 1316542517 | False | 0 | c2lafys | t3_klhlv | null | t1_c2lafys | t1_c2l9or5 | null | 1427624639 | 0 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1316542543 | False | 0 | c2lag4b | t3_klhlv | null | t1_c2lag4b | t1_c2l8mrs | null | 1428193631 | 1 | t5_2fwo | null | null | null |
True | matthieum | null | They usually are :)
It's why the release early philosophy can fail spectacularly actually, since if you release *too* early, people see it's crap (logical), and never come back even after it improved (oups). | null | 0 | 1316542604 | False | 0 | c2lagfd | t3_kljc0 | null | t1_c2lagfd | t1_c2la0ns | null | 1427624645 | 3 | t5_2fwo | null | null | null |
True | StoicLoofah | null | I'm very excited about this and what people will do with it. After having used the youtube feature of Google+, I figured it was only time before it became a platform. On the easier end is being able to simultaneously look at web content (ie look at /r/funny with friends), but on the other end is interactive conferences and games.
I guess another way that I'm thinking about this is that it's platform to take anything and very easily access group video chat features. Even something as simple as "Words With Friends" should be much better when put into this framework. | null | 0 | 1316542633 | False | 0 | c2laglj | t3_klpai | null | t1_c2laglj | t3_klpai | null | 1427624647 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1316542666 | False | 0 | c2lags2 | t3_klphp | null | t1_c2lags2 | t1_c2lace2 | null | 1427624649 | -2 | t5_2fwo | null | null | null |
True | revscat | null | Yeah... I feel moderately guilty for agreeing with you, but I do agree. SO is rapidly supplanting Google for my work needs, and it'd be a tragedy for its quality to degrade. | null | 0 | 1316542688 | False | 0 | c2lagwt | t3_klhlv | null | t1_c2lagwt | t1_c2l8p8t | null | 1427624651 | 1 | t5_2fwo | null | null | null |
True | Chandon | null | I've been working on this OpenCL-targeting compiler for a while, and it's gotten to the point where it could use some more people trying it out. | null | 0 | 1316542716 | False | 0 | c2lah1s | t3_kltgu | null | t1_c2lah1s | t3_kltgu | null | 1427624653 | 10 | t5_2fwo | null | null | null |
True | lucasvb | null | For me, it was "windows," "linux," and "mac" in a completely unrelated context. Repeatedly. The same guy also used brands constantly "cocacola", "pepsi", "dell", etc. It's like he was looking around him when coming up with variable names. | null | 0 | 1316542717 | False | 0 | c2lah1w | t3_klhlv | null | t1_c2lah1w | t3_klhlv | null | 1427624653 | 3 | t5_2fwo | null | null | null |
True | i8beef | null | Gah, all those fingerprints on my monitor? Absolutely not. | null | 0 | 1316542727 | False | 0 | c2lah41 | t3_kl1qp | null | t1_c2lah41 | t1_c2l8c82 | null | 1427624653 | 5 | t5_2fwo | null | null | null |
True | preshing | null | I'm a big fan of deferred operations done this way, too. Use the same concept often in C++ code (via autodestructors on the stack) for profiling, managing thread state, allocators, etc. Was interested to see they seem to have made it a core feature of Go, using the [defer keyword](http://blog.golang.org/2010/08/defer-panic-and-recover.html). | null | 0 | 1316542764 | False | 0 | c2lahbd | t3_kljpc | null | t1_c2lahbd | t1_c2lacfr | null | 1427624656 | 4 | t5_2fwo | null | null | null |
True | almafa | null | > An example of this is file I/O. The API includes read-write file access, but these only work for an app's isolated storage. If you want to read a file from elsewhere, you use the FilePicker contract to display a file open dialog, and the user controls which file is selected
finally! | null | 0 | 1316542793 | False | 0 | c2lahh1 | t3_kl1qp | null | t1_c2lahh1 | t3_kl1qp | null | 1427624658 | 3 | t5_2fwo | null | null | null |
True | spacechimp | null | Direct-L. If you even know about DXR, then we've probably met in person at some point. PM me your real name :-D | null | 0 | 1316542812 | False | 0 | c2lahko | t3_klhlv | null | t1_c2lahko | t1_c2l8g06 | null | 1427624660 | 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.