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 | larsga | null | I was deeply skeptical of this claim, but [it turns out to be close to true](http://en.wikipedia.org/wiki/Quartz_\(graphics_layer\)#Use_of_PDF). | null | 0 | 1317126785 | False | 0 | c2mx75a | t3_kssyt | null | t1_c2mx75a | t1_c2mx6fw | null | 1427652877 | 26 | t5_2fwo | null | null | null |
True | my_name_is_hare | null | Correct. But do you get an icon on your desktop everytime it updates? I don't. | null | 0 | 1317126820 | False | 0 | c2mx78t | t3_kssyt | null | t1_c2mx78t | t1_c2mx6oe | null | 1427652884 | -7 | t5_2fwo | null | null | null |
True | Gotebe | null | Erm... You said "*One* True *Way*", not me.
Also, with with-open, you still have both cleanup method *and* a macro, same as in C#/Java, right? IOW, it's the same. Whereas "true" RAII is done for you by the language. | null | 0 | 1317126871 | False | 0 | c2mx7dp | t3_krrz1 | null | t1_c2mx7dp | t1_c2mx3bm | null | 1427652880 | 1 | t5_2fwo | null | null | null |
True | rossisdead | null | But that's my point, Builder has an accepted meaning, so why can't Manager eventually grow to have one? | null | 0 | 1317126906 | False | 0 | c2mx7h1 | t3_krzdp | null | t1_c2mx7h1 | t1_c2mx61z | null | 1427652881 | 0 | t5_2fwo | null | null | null |
True | bonzinip | null | Because it's too vague. What does it mean to "manage", that cannot be conveyed by a more specific word? | null | 0 | 1317127033 | False | 0 | c2mx7ta | t3_krzdp | null | t1_c2mx7ta | t1_c2mx7h1 | null | 1427652886 | 1 | t5_2fwo | null | null | null |
True | aitzim | null | Yes. Nine and ten. | null | 0 | 1317127085 | False | 0 | c2mx7xr | t3_kssyt | null | t1_c2mx7xr | t1_c2mx78t | null | 1427652891 | 18 | t5_2fwo | null | null | null |
True | KabouterPlop | null | I do. | null | 0 | 1317127135 | False | 0 | c2mx82y | t3_kssyt | null | t1_c2mx82y | t1_c2mx78t | null | 1427652890 | 4 | t5_2fwo | null | null | null |
True | Camarade_Tux | null | I've seen Libre Office in the browser. | null | 0 | 1317127163 | False | 0 | c2mx85p | t3_krzdn | null | t1_c2mx85p | t1_c2mrc29 | null | 1427652891 | 2 | t5_2fwo | null | null | null |
True | trigraph | null | zzzzzzzzzzzzzz | null | 0 | 1317127260 | False | 0 | c2mx8fe | t3_ksm2f | null | t1_c2mx8fe | t3_ksm2f | null | 1427652894 | -6 | t5_2fwo | null | null | null |
True | eriksrx | null | Day two coverage will include an interview (text only for today) with inventor Dean Kamen. Best known as the father of Segway jousting! If you have any questions you'd like me to ask him, leave them here. Please note that anything that is too off topic -- the topic basically being engineering, software or otherwise -- may not get asked.
Edit: Coverage of the algorithm semifinal 1 is going hot and heavy. <Scorpion voice> GET OVER HERE! | null | 0 | 1317127297 | True | 0 | c2mx8jw | t3_krtpc | null | t1_c2mx8jw | t3_krtpc | null | 1427652896 | 1 | t5_2fwo | null | null | null |
True | MrDOS | null | I'd prefer to use a third-party viewer, but on Windows at least, all of the offerings I've tried have noticeably inferior text rendering to Adobe Reader. | null | 0 | 1317127475 | False | 0 | c2mx92c | t3_kssyt | null | t1_c2mx92c | t1_c2mx6o0 | null | 1427652909 | 2 | t5_2fwo | null | null | null |
True | my_name_is_hare | null | Oh, carry on then, and happy birthday. | null | 0 | 1317127479 | False | 0 | c2mx92w | t3_kssyt | null | t1_c2mx92w | t1_c2mx7xr | null | 1427652903 | 2 | t5_2fwo | null | null | null |
True | mb86 | null | It is very accurate, and very useful for those of us (in my case, scientific research) who deal with PDFs every day. I don't have a single trace of Adobe software anywhere on my computer (not counting the Flash bundled with Chrome that is). | null | 0 | 1317127505 | False | 0 | c2mx95k | t3_kssyt | null | t1_c2mx95k | t1_c2mx75a | null | 1427652903 | 26 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1317127557 | False | 0 | c2mx9bf | t3_krzdp | null | t1_c2mx9bf | t1_c2mvzo5 | null | 1427652911 | 1 | t5_2fwo | null | null | null |
True | ethraax | null | Really? I usually care a fair bit about text rendering, but I found SumatraPDF to do just fine. I wonder if you have a comparison in mind, to show where Adobe's PDF Reader is better. | null | 0 | 1317127601 | False | 0 | c2mx9gg | t3_kssyt | null | t1_c2mx9gg | t1_c2mx92c | null | 1427652907 | 1 | t5_2fwo | null | null | null |
True | Araneidae | null | I prefer `xpdf` for run of the mill PDF documents. Alas, it's horribly slow on complex figures and can't render some PDF features ... does this mean that PDF isn't documented properly, or that `xpdf` is just behind the times? | null | 0 | 1317127673 | False | 0 | c2mx9nq | t3_kssyt | null | t1_c2mx9nq | t1_c2mx35p | null | 1427652909 | 2 | t5_2fwo | null | null | null |
True | imphasing | null | Yes, advocating open source solutions is a truly heinous crime. HOW WILL I SLEEP AT NIGHT? It's going to be hard knowing you disapprove, but with time and patience I think I'll manage to pull through.
You're the one saying I should be using microsoft-only products. That's the real WTF here. I guess developers who actually know the platform intimately are a threat to you or something? Not everyone needs to cower behind microsoft products because they're scared of being exposed to reality dude. My Mono compiles to IL just like your MS compiler, if you don't understand the details enough to feel comfortable working with 3rd parties that's not my damn problem son. Learn you some.
| null | 0 | 1317127695 | False | 0 | c2mx9qd | t3_kgl4f | null | t1_c2mx9qd | t1_c2mwpv6 | null | 1427652911 | 1 | t5_2fwo | null | null | null |
True | xardox | null | I wrote a [VT100 emulator](http://www.donhopkins.com/home/code/term.ps.txt) and a [metacircular PostScript interpreter](http://www.donhopkins.com/home/code/ps.ps.txt) in PostScript. Try doing that in PDF! | null | 0 | 1317127730 | True | 0 | c2mx9um | t3_kssyt | null | t1_c2mx9um | t3_kssyt | null | 1427652912 | 72 | t5_2fwo | null | null | null |
True | the-fritz | null | [A First Guide to PostScript](http://www.tailrecursive.org/postscript/). Have fun
| null | 0 | 1317127789 | False | 0 | c2mxa0q | t3_kssyt | null | t1_c2mxa0q | t3_kssyt | null | 1427652914 | 5 | t5_2fwo | null | null | null |
True | Bitruder | null | Check out Slim on the mac. Beats Preview in features. | null | 0 | 1317127846 | False | 0 | c2mxa7f | t3_kssyt | null | t1_c2mxa7f | t1_c2mx6o0 | null | 1427652916 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | > You are using an ms office dialog to discuss gnu/linux?!
Yes, because that is what dialogs with no info on the buttons eventually turn into. | null | 0 | 1317127886 | False | 0 | c2mxabr | t3_krv1k | null | t1_c2mxabr | t1_c2mx2ry | null | 1427652918 | 5 | t5_2fwo | null | null | null |
True | lukeatron | null | I've found this situation to be occasionally unavoidable due to single inheritance limitations. Sometimes it's just not possible to get that abstract class into the hierarchy without breaking something. I've been able to sufficiently fake it with the right application of extension methods and interfaces in C# but we still have a lot of legacy code that uses verb named static classes because that option didn't exist when they were created. | null | 0 | 1317127891 | False | 0 | c2mxacc | t3_krzdp | null | t1_c2mxacc | t1_c2msuh3 | null | 1427652918 | 1 | t5_2fwo | null | null | null |
True | Amadiro | null | Give evince a try, it works well for me. | null | 0 | 1317127919 | False | 0 | c2mxaf1 | t3_kssyt | null | t1_c2mxaf1 | t1_c2mx9nq | null | 1427652919 | 19 | t5_2fwo | null | null | null |
True | jordan314 | null | TIL you can have a MOVIE in a PDF.
However I tried downloading an example one and it didn't work in Preview in OS X or in Chrome. Does this work for anyone else?
http://acrobat.timhuff.net/?p=92 | null | 0 | 1317128097 | False | 0 | c2mxay6 | t3_kssyt | null | t1_c2mxay6 | t3_kssyt | null | 1427652926 | 11 | t5_2fwo | null | null | null |
True | balthisar | null | Yup, on Windows. Not on my Mac. (Yeah, even with the built-in PDF, I still use Acrobat Pro).
| null | 0 | 1317128189 | False | 0 | c2mxb93 | t3_kssyt | null | t1_c2mxb93 | t1_c2mx78t | null | 1427652931 | 2 | t5_2fwo | null | null | null |
True | ethraax | null | You're forgetting the restriction that every intermediate word needs to also be a valid word (be contained in some set). | null | 0 | 1317128212 | False | 0 | c2mxbbs | t3_ksqba | null | t1_c2mxbbs | t1_c2mwnoc | null | 1427652931 | 2 | t5_2fwo | null | null | null |
True | cr3ative | null | Bug: Running QuickSort on a sorted set puts it in a loop. | null | 0 | 1317128221 | False | 0 | c2mxbcx | t3_ksqls | null | t1_c2mxbcx | t3_ksqls | null | 1427652931 | 2 | t5_2fwo | null | null | null |
True | jinglebells | null | Ah, you need to do shift-cmd-n for that one. And alt-n to jump to folder, I think.
Just cmd-Initial works for the 3 button style dialogs.
I had a quick look through http://support.apple.com/kb/ht1343 I'd argue you can do more with the keyboard on a Mac than on Windows, especially jumping around blocks of text.
At the end of the day, it's whatever works for you! My desk has my Macbook Pro connected to external monitor, a dual head Windows 7 desktop, plus an XP VM, Ubuntu server, and Windows 2008 Server and I struggle with the different key mappings so it's often easier just to use the mouse, but I do enjoy the speed of the keyboard.
Of course, the touchpad is often fastest because you don't have to move your hands to grab the mouse. | null | 0 | 1317128266 | False | 0 | c2mxbhx | t3_krv1k | null | t1_c2mxbhx | t1_c2mwzhx | null | 1427652933 | 1 | t5_2fwo | null | null | null |
True | osirisx11 | null | Am I wrong in thinking that any code running on an abstraction layer by definition must be more expensive than what it is abstracting? | null | 0 | 1317128283 | False | 0 | c2mxbju | t3_ks403 | null | t1_c2mxbju | t3_ks403 | null | 1427652934 | 1 | t5_2fwo | null | null | null |
True | oorza | null | > import java.io.*;
> import java.util.*;
&#3232;\_&#3232;
&#3232;\_&#3232;
| null | 0 | 1317128289 | False | 0 | c2mxbkm | t3_ksqba | null | t1_c2mxbkm | t1_c2mwjzg | null | 1427652934 | -4 | t5_2fwo | null | null | null |
True | PericlesATX | null | I guess that's my point... I don't *need* a bunch of features. I just need the ability to quickly view and print PDFs and on that front Preview hasn't let me down so far. | null | 0 | 1317128417 | False | 0 | c2mxbxu | t3_kssyt | null | t1_c2mxbxu | t1_c2mxa7f | null | 1427652939 | 1 | t5_2fwo | null | null | null |
True | ntrel2 | null | The RAII code for structs in D (2) is:
auto sl = SLock(m);
For classes,
import std.typecons;
auto cl = scoped!CLock(m);
| null | 0 | 1317128508 | False | 0 | c2mxc96 | t3_kljc0 | null | t1_c2mxc96 | t1_c2lqfxz | null | 1427652943 | 1 | t5_2fwo | null | null | null |
True | me-at-work | null | When dealing with [71, 195, 161, 98, 111, 114], how does it know that it should be "Gábor" and not "Gábor"? | null | 0 | 1317128526 | False | 0 | c2mxcb0 | t3_ksqu1 | null | t1_c2mxcb0 | t1_c2mwhxv | null | 1427652943 | 2 | t5_2fwo | null | null | null |
True | iLiekCaeks | null | >A basic character such as 'é' can be represented as [233] (U+00E9). That's the usual stuff we're used to. However, you have alternative representations where you can use [101,769] (U+0065 and U+0301).
I suppose this depends how the string is normalized. And you're normally not supposed to mix these characters.
>Characters as bytes is no longer the truth. FORGET ABOUT IT RIGHT NOW.
How about this: characters as sequences of glyphs are no longer the truth. Languages like arabic or indic require complex rules and code to put single "characters" (code points) together into a grapheme cluster (what is rendered on screen). You need a layout engine such as Harfbuzz/Pango or Uniscribe/DirectWrite to do this. Not simple at all. | null | 0 | 1317128604 | False | 0 | c2mxcjf | t3_ksqu1 | null | t1_c2mxcjf | t3_ksqu1 | null | 1427652946 | 3 | t5_2fwo | null | null | null |
True | pryomancer | null | Yes I do. | null | 0 | 1317128664 | False | 0 | c2mxcov | t3_kssyt | null | t1_c2mxcov | t1_c2mx78t | null | 1427652948 | 2 | t5_2fwo | null | null | null |
True | robinhouston | null | That’s not an infinite loop, just a (quadratic) worst-case runtime for this implementation of quicksort. That always happens if you use the leftmost element as the pivot. | null | 0 | 1317128716 | False | 0 | c2mxcun | t3_ksqls | null | t1_c2mxcun | t1_c2mxbcx | null | 1427652950 | 4 | t5_2fwo | null | null | null |
True | slurpme | null | > I'm reasonably confident you'll end up with something that is more akin to what the original Founding Fathers of OOP had in mind.
Who cares??? Shit has moved on since then and "pure" OO is not the be all and end all... | null | 0 | 1317128811 | False | 0 | c2mxd68 | t3_krzdp | null | t1_c2mxd68 | t3_krzdp | null | 1427652955 | 0 | t5_2fwo | null | null | null |
True | my_name_is_hare | null | Yeahfinethanks, I'm wrong, people do get those. | null | 0 | 1317129014 | False | 0 | c2mxdtz | t3_kssyt | null | t1_c2mxdtz | t1_c2mx78t | null | 1427652964 | 2 | t5_2fwo | null | null | null |
True | ceolceol | null | Well yeah, they are. On a real address book, you have a tab to signify a group of contacts. | null | 0 | 1317129071 | False | 0 | c2mxe1c | t3_krv1k | null | t1_c2mxe1c | t1_c2mwczd | null | 1427652966 | 1 | t5_2fwo | null | null | null |
True | shnuffy | null | Cool, I've tried picking it apart as best I could. I understand small pieces of it. I get the bitmap header, and where you're writing the bytes, but how and why is still beyond me.
I guess it's safe to say you didn't just "whip it together" then. That makes me feel better.
Awesome program though. I just made a 9000x6000 fractal. | null | 0 | 1317129265 | False | 0 | c2mxep9 | t3_krpem | null | t1_c2mxep9 | t1_c2mv6d1 | null | 1427652974 | 3 | t5_2fwo | null | null | null |
True | ISV_Damocles | null | If you're willing to have one process per connected user, you could, but it's still an insanely bandwidth-intensive way of doing things.
GTK3 + [NaCl](http://code.google.com/p/nativeclient/) would be the way to go for something like this, and then have the local "app" bind to the server with WebSockets or what-have-you for actual Network usage and basically bypass HTML+CSS+JS beyond this little bit of glue. | null | 0 | 1317129286 | False | 0 | c2mxers | t3_krzdn | null | t1_c2mxers | t1_c2mw8p6 | null | 1427652976 | 0 | t5_2fwo | null | null | null |
True | Rowdy_Roddy_Piper | null | How important is this, really? If you're in graphic arts, I guess, but I can't see how the text quality is a big deal for most applications. | null | 0 | 1317129466 | False | 0 | c2mxfec | t3_kssyt | null | t1_c2mxfec | t1_c2mx92c | null | 1427652984 | 1 | t5_2fwo | null | null | null |
True | larsga | null | It's accurate that Mac OS X has excellent support for PDF. As far as I can tell it doesn't actually use it internally anywhere, but the object model in Quartz is very similar to that of PDF. But please correct me if I'm wrong. | null | 0 | 1317129471 | False | 0 | c2mxfev | t3_kssyt | null | t1_c2mxfev | t1_c2mx95k | null | 1427652985 | 24 | t5_2fwo | null | null | null |
True | killerstorm | null | > You're naming patterns, not classes.
Yes, but it totally makes sense to include pattern name in a class name so person reading code would immediately understand what it is about. E.g. if something is named FooBarVisitor then clearly code is structured around Visitor pattern.
Most of your examples seem to be an exercise in creative naming just for the sake of pleasing article's author. I would go through them all but I'm pretty bored...
> An iterator is usually something that you do not create explicitly; you ask a collection to create it. Its name is only needed if your language has static typing and does not do type inference.
That was a funny excuse. | null | 0 | 1317129510 | False | 0 | c2mxfje | t3_krzdp | null | t1_c2mxfje | t1_c2mx4yw | null | 1427652986 | 0 | t5_2fwo | null | null | null |
True | hopfrog187 | null | No problem, I'll just end all of my class names with "Impl" :P | null | 0 | 1317129582 | False | 0 | c2mxfrl | t3_krzdp | null | t1_c2mxfrl | t3_krzdp | null | 1427652989 | 1 | t5_2fwo | null | null | null |
True | radarsat1 | null | Could be useful for running programs on my desktop machine and controlling them from my android tablet. | null | 0 | 1317129831 | False | 0 | c2mxgn3 | t3_krzdn | null | t1_c2mxgn3 | t3_krzdn | null | 1427653001 | 2 | t5_2fwo | null | null | null |
True | killerstorm | null | What is proper name for a facade then?
Look, I don't want to invent something new each time I want to name something, it would be a waste of time. I'd use some common naming scheme.
And I don't want to decipher your creative names when reading code. | null | 0 | 1317129835 | False | 0 | c2mxgnp | t3_krzdp | null | t1_c2mxgnp | t1_c2mx5uw | null | 1427653001 | 1 | t5_2fwo | null | null | null |
True | DeepDuh | null | Ok that seems to work. Thanks for your help. But it's quite obscure don't you think? What I'd expect is some small indicator on what I can do with the currently pressed modifier key. As soon as I have to go look for help documents to figure out a GUI in order to cut away 0.5s of a task I have to do once a day I usually don't bother. | null | 0 | 1317129855 | False | 0 | c2mxgqk | t3_krv1k | null | t1_c2mxgqk | t1_c2mxbhx | null | 1427653002 | 1 | t5_2fwo | null | null | null |
True | stevan_little | null | Does that you have one foot in the grave if you can remember when Yahoo! was the only way to search? | null | 0 | 1317129971 | False | 0 | c2mxh4q | t3_kst87 | null | t1_c2mxh4q | t3_kst87 | null | 1427653007 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | > Easy solution: when a line starts with parenthesis, prepend a semicolon to it.
;(d + e).print()
Not really an easy solution as I'm bound to forget it. I've already been trained to end lines with a semi colon. | null | 0 | 1317129992 | False | 0 | c2mxh7y | t3_kswql | null | t1_c2mxh7y | t3_kswql | null | 1427653009 | 3 | t5_2fwo | null | null | null |
True | [deleted] | null | And then Ford should have thought "Well, I can't make horses go faster. Can I build something that goes faster than horses?"
It's important to listen to users, but it's also important to interpret what they're saying. When they say "I want to be able to do X and Y", you have to step back and see what they're trying to *achieve* with X and Y, and figure out what the best approach to accomplishing tha tis. | null | 0 | 1317130006 | False | 0 | c2mxh9i | t3_krv1k | null | t1_c2mxh9i | t1_c2mrfbj | null | 1427653009 | 4 | t5_2fwo | null | null | null |
True | ramennoodle | null | PDF /was/ a better format for distributing finished documents. One the greatest benefits of PDF over PostScript for that was that it was not a complete programming language. But then Adobe felt the need to embed JavaScript in PDF files, and provide one of the most insecure JS interpreters around in their reader product. | null | 0 | 1317130064 | False | 0 | c2mxhhf | t3_kssyt | null | t1_c2mxhhf | t3_kssyt | null | 1427653011 | 102 | t5_2fwo | null | null | null |
True | fnork | null | Fuck everything about Adobe, with a rusty skate. | null | 0 | 1317130145 | False | 0 | c2mxhrh | t3_kssyt | null | t1_c2mxhrh | t3_kssyt | null | 1427653015 | -11 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1317130165 | False | 0 | c2mxhtz | t3_kswve | null | t1_c2mxhtz | t3_kswve | null | 1427653016 | 1 | t5_2fwo | null | null | null |
True | ethraax | null | Then the author should put that sentence in the emphasis in the middle of the page instead of some unnecessary bullshit about ending classes in -er. Hell, I would say that those two things (naming classes ____er and the Single Responsibility Principle) are at best *loosely* related.
Programming bloggers should think about what they want to say and **just say it** instead of wrapping it inside a useless half-baked proxy idea. | null | 0 | 1317130658 | False | 0 | c2mxjme | t3_krzdp | null | t1_c2mxjme | t1_c2msffp | null | 1427653039 | 2 | t5_2fwo | null | null | null |
True | day_cq | null | let's ditch browsers and write a proper pdf reader with ajax, realtime audio, and 3d graphics.
all your academic papers will be interactive and runnable multimedia hub. | null | 0 | 1317130669 | False | 0 | c2mxjni | t3_kssyt | null | t1_c2mxjni | t3_kssyt | null | 1427653041 | 6 | t5_2fwo | null | null | null |
True | jinglebells | null | It's ridiculously obscure. I'd love to see the rules for the order to set hotkeys up cos many of the Mac hotkeys don't make much sense. Some of them to, but there's so damn many!
Just highlighting the letter or something when you press cmd would be better. Maybe there's a third party app to do it? | null | 0 | 1317130673 | False | 0 | c2mxjnu | t3_krv1k | null | t1_c2mxjnu | t1_c2mxgqk | null | 1427653041 | 2 | t5_2fwo | null | null | null |
True | ethraax | null | Yeah, but how the hell is "FooRegistry" any better? In what way does the registration manifest itself? Why is "FooRegistrar" bad? | null | 0 | 1317130734 | False | 0 | c2mxjwc | t3_krzdp | null | t1_c2mxjwc | t1_c2mwt89 | null | 1427653043 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | A zero length pattern is a pattern. As it happens, it also matches *all* lines. | null | 0 | 1317130769 | False | 0 | c2mxk10 | t3_krklz | null | t1_c2mxk10 | t1_c2mx62c | null | 1427653045 | 1 | t5_2fwo | null | null | null |
True | mb86 | null | That's right on the money, actually. It's effectively internal because of the similarities, and Quartz can output to PDF directly. | null | 0 | 1317130906 | False | 0 | c2mxkjn | t3_kssyt | null | t1_c2mxkjn | t1_c2mxfev | null | 1427653051 | 18 | t5_2fwo | null | null | null |
True | cidrox | null | i prefer using them.
| null | 0 | 1317130928 | False | 0 | c2mxkme | t3_kswql | null | t1_c2mxkme | t3_kswql | null | 1427653053 | 3 | t5_2fwo | null | null | null |
True | [deleted] | null | Lets just write *maintainable* and *readable* code.
Sometimes I hate the JS community, the second a self-styled ninja finds something out they jump all over it trying to find new ways to use it-- just don't. | null | 0 | 1317130945 | False | 0 | c2mxkp0 | t3_kswql | null | t1_c2mxkp0 | t3_kswql | null | 1427653053 | 6 | t5_2fwo | null | null | null |
True | [deleted] | null | They hadn't at the time I made the comment. | null | 0 | 1317130986 | False | 0 | c2mxku4 | t3_ks1qu | null | t1_c2mxku4 | t1_c2mwwoo | null | 1427653056 | 1 | t5_2fwo | null | null | null |
True | mhd | null | > oSand's Tenth Rule of Programming: any sufficiently concurrent program contains an ad hoc informally-specified bug-ridden, slow implementation of half of **Simula**.
FTFY
And I'd much rather have something like that -- be it ever so bug-ridden -- than CORBA. Although one might argue whether your rule actually does apply to that, too… | null | 0 | 1317130987 | False | 0 | c2mxkuo | t3_ksrsz | null | t1_c2mxkuo | t1_c2mwtyy | null | 1427653056 | 3 | t5_2fwo | null | null | null |
True | cockmongler | null | Damn, that was going to be my response. Going further, I would say the blanket ban on -er is going too far but XManager is a code smell. ThreadManager hints at an attempt at garbage collection of threads that are apparently unable to decide when they're done. If it's just a global storage container for your thread handles that lets you do things to all of them at once then I'd say ThreadContainer or ThreadBag. If it's a way of sharing synchronisation between a group of threads then the name should probably be one of Meet, Join or SynchronisedThreadGroup.
Basically Manager classes are dumping grounds for functionality like Utility classes or modules. | null | 0 | 1317131039 | False | 0 | c2mxl2m | t3_krzdp | null | t1_c2mxl2m | t1_c2mx0c2 | null | 1427653058 | 2 | t5_2fwo | null | null | null |
True | nusi42 | null | Afaik, PDF is aware of a PostScript object type (similar to font types).
That means, a complete PDF renderer must also be able to render PS. So your emulator and interpreter are able to be defined within a PDF container.
Even if PDF would not be capable of PS, there is still JavaScript and Flash which can be run within a PDF.
| null | 0 | 1317131089 | False | 0 | c2mxla9 | t3_kssyt | null | t1_c2mxla9 | t1_c2mx9um | null | 1427653062 | 1 | t5_2fwo | null | null | null |
True | ethraax | null | I'm not making this up: I've had to work with ElementListBaseElement objects before. | null | 0 | 1317131112 | False | 0 | c2mxle5 | t3_krzdp | null | t1_c2mxle5 | t1_c2msaxl | null | 1427653062 | 2 | t5_2fwo | null | null | null |
True | luckystarr | null | It looks like an ugly bastard of a comment too. | null | 0 | 1317131120 | False | 0 | c2mxlf5 | t3_kswql | null | t1_c2mxlf5 | t1_c2mxh7y | null | 1427653062 | 7 | t5_2fwo | null | null | null |
True | ethraax | null | Is it really one word? I seem to write it as now-a-days, but it looks weird and drawn-out that way. | null | 0 | 1317131174 | False | 0 | c2mxlnq | t3_krzdp | null | t1_c2mxlnq | t1_c2mrsyy | null | 1427653067 | 1 | t5_2fwo | null | null | null |
True | semarj | null | I'd love to see the actual talk.
It seems he/she was leading up to a gevent+zmq model with the gevent_zeromq library, but at the end just ended up using gevent. (in the gservice project, as far as I can see) | null | 0 | 1317131186 | False | 0 | c2mxlp7 | t3_ksrsz | null | t1_c2mxlp7 | t3_ksrsz | null | 1427653067 | 7 | t5_2fwo | null | null | null |
True | farnz | null | When dealing with [76, 77, 78], how is code supposed to know that should be "LMN" (ASCII, UTF-8) and not "<(+" (EBCDIC)? | null | 0 | 1317131374 | False | 0 | c2mxmez | t3_ksqu1 | null | t1_c2mxmez | t1_c2mxcb0 | null | 1427653076 | 2 | t5_2fwo | null | null | null |
True | HansWurst121 | null | Actually I used eclipse, which produces a huge list of imports. For the sake of readability, I shortened it before posting. After all that is some language specific shit and has nothing to do with the actual algorithm. Are you perhaps the grammar nazi of /r/programming?
BTW, importing a whole package is (as far as I know) not really fatal. An imported class is not loaded until it is used the first time. | null | 0 | 1317131450 | False | 0 | c2mxmqy | t3_ksqba | null | t1_c2mxmqy | t1_c2mxbkm | null | 1427653081 | 3 | t5_2fwo | null | null | null |
True | TheWix | null | Wait, are you confusing getters and setters with anemic objects? Classes generally have state and behavior. Whether it be internal or external there is state. I may not even have a setter but only a getter ( I generally prefer to set initial state as part of a constructor when possible.) but there are plenty of times where you need to see the state of an object and that state is returning the value of a private field.
| null | 0 | 1317131460 | False | 0 | c2mxmsf | t3_kq001 | null | t1_c2mxmsf | t1_c2mh0yt | null | 1427653081 | 1 | t5_2fwo | null | null | null |
True | BeatLeJuce | null | Why did you link to the marekting-blabla instead of the [real benchmark](http://mcclanahoochie.com/blog/2011/09/opencv-vs-libjacket-gpu-sobel-filtering/)?
| null | 0 | 1317131490 | False | 0 | c2mxmww | t3_ksxa2 | null | t1_c2mxmww | t3_ksxa2 | null | 1427653084 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | Yeah, examples of poorly-structured code are not hard to find. One of the obvious warning signs in this case is constantly commenting to describe what sections of code are doing, rather than method names providing that information naturally. The `for` and `while` loops that don't fit on the screen are especially pathological, and the deeply-nested `if` statements seem to be laboriously recreating procedurally what would be straigtforwardly done with consistently object-oriented code. | null | 0 | 1317131505 | False | 0 | c2mxmyw | t3_krklz | null | t1_c2mxmyw | t1_c2mvr5f | null | 1427653085 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | This is kind of a Chicken and Egg problem I think. My guess would be that because "Builder" has already taken on an accepted meaning, but "Manager" still hasn't, "Manager' is, apparently, not very suited as a class name, or it would already have taken on an accepted meaning by now. | null | 0 | 1317131612 | False | 0 | c2mxnds | t3_krzdp | null | t1_c2mxnds | t1_c2mx7h1 | null | 1427653090 | 1 | t5_2fwo | null | null | null |
True | cockmongler | null | I wouldn't call FooRegistrar particularly bad, it actually tells you what it does, it marshalls access to one or more FooRegistrys which store some kind of mapping data about Foos.
I would still rather have a register_with function that takes a Foo, the registration data and a FooRegistry which marshals the access.
I think the premise of the OP is overreaching, but Manager and Controller classes are terrible things. | null | 0 | 1317131643 | False | 0 | c2mxni2 | t3_krzdp | null | t1_c2mxni2 | t1_c2mxjwc | null | 1427653091 | 1 | t5_2fwo | null | null | null |
True | superkuh | null | False dichotomy. Use Djvu file format!
I personally prefer Evince viewer, but that's a matter of taste. | null | 0 | 1317131649 | False | 0 | c2mxnix | t3_kssyt | null | t1_c2mxnix | t3_kssyt | null | 1427653092 | 7 | t5_2fwo | null | null | null |
True | JosiahJohnson | null | I'm not asking for change. I'm saying that they obfuscated a feature behind a visual element in a very non-standard way. I don't care if they keep it that way or not, but I'm still going to point out that it's not good design. | null | 0 | 1317131699 | False | 0 | c2mxnpy | t3_krv1k | null | t1_c2mxnpy | t1_c2mttd0 | null | 1427653094 | 1 | t5_2fwo | null | null | null |
True | bcain | null | > to take advantage of SIMD you have to use vector types like float4
Shame on me, I did not RTFA carefully. I assumed this was the case. Intel FTW! | null | 0 | 1317131731 | False | 0 | c2mxnuo | t3_ks0s7 | null | t1_c2mxnuo | t1_c2mw6eh | null | 1427653095 | 1 | t5_2fwo | null | null | null |
True | NruJaC | null | Huh, I'd always known that BFS used a queue and DFS used a stack, but that's the first time I've seen someone explicitly use one and then iterate to perform the search. Both algorithms look so much more natural when written out recursively.
EDIT: Hmm... stopped to think about it, and realized a recursive BFS would just be hard. I came up with a way to do it by backing the BST in an array, but that seems like cheating. It is less code dense though. | null | 0 | 1317131794 | True | 0 | c2mxo3r | t3_ksqba | null | t1_c2mxo3r | t1_c2mwjzg | null | 1427653098 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | That's not what s/he said at all. | null | 0 | 1317131836 | False | 0 | c2mxoa8 | t3_krpem | null | t1_c2mxoa8 | t1_c2mqibe | null | 1427653101 | 1 | t5_2fwo | null | null | null |
True | cockmongler | null | Nearly the first thing non-technical firefox users do is change the skin. | null | 0 | 1317131849 | False | 0 | c2mxocq | t3_krv1k | null | t1_c2mxocq | t1_c2mp1p6 | null | 1427653101 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | This is how that quote should be:
> **In bad** programming, we concentrate on behavior (verbs), and then figure out what data (nouns) we need to make it all work.
It has nothing to do with procedural or object-oriented programming. Bad programmers that don't focus on data first will produce crappy code in both paradigms.
| null | 0 | 1317131869 | False | 0 | c2mxofs | t3_krzdp | null | t1_c2mxofs | t1_c2mqahc | null | 1427653103 | 3 | t5_2fwo | null | null | null |
True | sindisil | null | So what does it say when you remember *switching* to it because it was so much better than Yahoo! search? | null | 0 | 1317131900 | False | 0 | c2mxokl | t3_kst87 | null | t1_c2mxokl | t3_kst87 | null | 1427653104 | 2 | t5_2fwo | null | null | null |
True | LargeDickington | null | Ah, you're the kind of person who wants "*Keep the format and leave out all incompatible functionality*", "*Do not keep the format and leave out all incompatible functionality*" and "*See help*" so called "buttons"
| null | 0 | 1317131952 | False | 0 | c2mxosp | t3_krv1k | null | t1_c2mxosp | t1_c2mxabr | null | 1427653107 | -2 | t5_2fwo | null | null | null |
True | SigmundAusfaller | null | It's interesting to note Windows 8's new GUI run time is based on XAML which is an object instantiation language. This is also used in the Windows printing system as XPS, and as the GUI setup language for Silverlight.
Nobody cares about XPS because it's is essentially Windows only(MS's fault) unlike PDF, but it can directly replace PDF and uses XML.
I don't think XAML/XPS will ever replace PDF, but from a technical standpoint I think it is actually superior. | null | 0 | 1317131979 | False | 0 | c2mxox6 | t3_kssyt | null | t1_c2mxox6 | t1_c2mx6fw | null | 1427653110 | 9 | t5_2fwo | null | null | null |
True | xardox | null | Nope, not at all. PostScript is a programming language. PDF is not. A complete PDF renderer most certainly cannot render PostScript. PostScript has functions, variables, flow control, data structures, etc. PDF has none of that. PostScript is Turing complete, and even quite powerful (a lot more like Lisp than Forth, which it's usually compared with because of the RPN syntax). PDF is only a rendering API and file format for encoding calls to that API. PDF is PostScript without the programming language.
See John Warnock's and Glenn Reid's [Distillery](http://seit.unsw.adfa.edu.au/staff/sites/gfreeman/distillery.html), a PostScript optimizer, which is a PostScript program that [partially evaluates](http://en.wikipedia.org/wiki/Partial_evaluation) another PostScript program, and produces a flat, simple PostScript program (without flow control, variables, etc) that draws the same thing. That is what eventually led to PDF. See: [The Distiller Story](http://blogs.adobe.com/insidepdf/2007/11/the_distiller_story.html). | null | 0 | 1317132000 | True | 0 | c2mxp0k | t3_kssyt | null | t1_c2mxp0k | t1_c2mxla9 | null | 1427653111 | 38 | t5_2fwo | null | null | null |
True | TomorrowPlusX | null | Whenever I see one of your articles ( be it on your blog, or elsewhere ) I know I need to make myself a cup of coffee, put everything away, and chew on it. Chew on it for as long as it takes to grok.
You are a hero. | null | 0 | 1317132003 | False | 0 | c2mxp11 | t3_krzd8 | null | t1_c2mxp11 | t1_c2mtr1d | null | 1427653111 | 3 | t5_2fwo | null | null | null |
True | Kata_Kelsou | null | but let's call it [CDF](http://www.wolfram.com/cdf/) | null | 0 | 1317132022 | False | 0 | c2mxp46 | t3_kssyt | null | t1_c2mxp46 | t1_c2mxjni | null | 1427653111 | 2 | t5_2fwo | null | null | null |
True | spirit_of_radio | null | Design thinking is a great methodology. I would argue that a designer who uses it, is more than a designer. They wear multiple hats (designer, usability analyst, and a few other UX related roles). That's what make the methodology, and those who practice it well, effective.
But not all designers practice design thinking, and not all designers (even many who practice design thinning) have the skills, training or experience to do the user observation and analysis properly.
Being a visual designer is not an insult - it's a extremely specialized, and vital skill to have on a project. But just because someone is a talented designers, does not mean they will make a good usability analyst. Just like being a top usability analyst does not mean you can do a high fidelity prototype.
Both visual design and usability analysis are highly specialized skills that take years of training and practice to perfect. Both are needed to make a product usable. If you find one person who possesses both skills, hire them, even if you have no immediate use for them. But more often then not you need a multi person team to get all the necessary skills in one place. | null | 0 | 1317132033 | False | 0 | c2mxp5q | t3_krv1k | null | t1_c2mxp5q | t1_c2mus5f | null | 1427653113 | 1 | t5_2fwo | null | null | null |
True | isarl | null | That sounds like it would make for interesting reading, but all I can find is documentation about how to *use* JS in PDF files, or descriptions of exploits. Do you know of somebody who's written up an actual critique of it? | null | 0 | 1317132070 | False | 0 | c2mxpbh | t3_kssyt | null | t1_c2mxpbh | t1_c2mxhhf | null | 1427653114 | 3 | t5_2fwo | null | null | null |
True | [deleted] | null | JS in PDF? When did this happen? | null | 0 | 1317132083 | False | 0 | c2mxpda | t3_kssyt | null | t1_c2mxpda | t1_c2mxhhf | null | 1427653115 | 15 | t5_2fwo | null | null | null |
True | cockmongler | null | If you're selling to Europe it's basically illegal to not cater for colour blind users. It's normally not enforce though, but you have just said that you are doing it deliberately for the sake of your profit margins. That kind of thing is really frowned upon. | null | 0 | 1317132092 | False | 0 | c2mxpen | t3_krv1k | null | t1_c2mxpen | t1_c2mvith | null | 1427653115 | 1 | t5_2fwo | null | null | null |
True | axilmar | null | Thank you. Your example perfectly highlights what I've been saying.
In a good programming language, there wouldn't be a need for SLock/CLock. A single function/type would do.
| null | 0 | 1317132122 | False | 0 | c2mxpj8 | t3_kljc0 | null | t1_c2mxpj8 | t1_c2mxc96 | null | 1427653117 | 1 | t5_2fwo | null | null | null |
True | spirit_of_radio | null | Not at all, he may very well be a great designer. But design and usability are two very different skill sets. Both are needed for a product to succeed, but rarely do you find both skill sets in the same person. | null | 0 | 1317132148 | False | 0 | c2mxpnb | t3_krv1k | null | t1_c2mxpnb | t1_c2mukf5 | null | 1427653119 | 1 | t5_2fwo | null | null | null |
True | lxpk | null | Unity3D _IS_ like that in Code Hero. I taught enough kids game programming in the space of an hour to realize it would be more scalable to make a video game in Unity that taught them the same things for n number of students. We just delivered the private beta of the game to first testers. | null | 0 | 1317132276 | False | 0 | c2mxq5c | t3_kcii9 | null | t1_c2mxq5c | t1_c2jixdg | null | 1427653126 | 1 | t5_2fwo | null | null | null |
True | rco8786 | null | A dig on the Microsoft paperclip? In 2011?
That's like making fun of Steve Jobs for the neXt computer. | null | 0 | 1317132283 | False | 0 | c2mxq68 | t3_krv1k | null | t1_c2mxq68 | t3_krv1k | null | 1427653126 | 5 | t5_2fwo | null | null | null |
True | Shadow703793 | null | I do work with CAD (Solidworks/Inventor.) and the Adobe variant is the only one where the text and lines look perfect. Sumatra does a good job for 2D stuff, but if you want 3D you pretty much have to use Acrobat. | null | 0 | 1317132338 | False | 0 | c2mxqeq | t3_kssyt | null | t1_c2mxqeq | t1_c2mxfec | null | 1427653129 | 2 | t5_2fwo | null | null | null |
True | foragerr | null | People have been (rightly) complaining about this for at least 4 major versions now. Don't Adobe powers to be ever browse the internet? | null | 0 | 1317132344 | False | 0 | c2mxqfk | t3_kssyt | null | t1_c2mxqfk | t1_c2mx35p | null | 1427653129 | 14 | 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.