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 | Amadiro | null | I didn't keep up with intels openCL lately, did they finally fix the hardcoded pathes in the library, so that you can use the library without having root privileges on an old redhat system? That was the thing that kept me from using it last time I attempted. | null | 0 | 1317061445 | False | 0 | c2mqdmn | t3_ks0s7 | null | t1_c2mqdmn | t1_c2mq27f | null | 1427649598 | 4 | t5_2fwo | null | null | null |
True | deoxxa | null | Perhaps I was unclear. I'm not looking to replicate the functionality of google, not by any measure. What I'm interested in and trying to learn about through experimentation is the workings of the humble phrase index.
Also, it's a little presumptuous to say I don't know how to program; I'm just not as strong in C++ as I am some other languages (my day job centers around web development for the most part). Being that this is a task that lends itself very well to a more fine-grained language like C++, I figured this would be a good chance to get some practice in there as well. | null | 0 | 1317061448 | False | 0 | c2mqdn5 | t3_krzys | null | t1_c2mqdn5 | t1_c2mq6re | null | 1427649598 | 10 | t5_2fwo | null | null | null |
True | oystn | null | I had to wait a minute or so before the image showed up in Windows 7. | null | 0 | 1317061463 | False | 0 | c2mqdp6 | t3_krpem | null | t1_c2mqdp6 | t1_c2momgt | null | 1427649598 | 1 | t5_2fwo | null | null | null |
True | noiserr | null | Tap/Space thing can be an issue I agree, but even with other languages people often use specialized IDEs for their language. All Python IDE's I used handle tabs and spaces properly. If you use vim for instance, your .vimrc should have this:
set expandtab
set sts=4
syntax on
bs=indent,eol,start
You really only need the first line.
> The argument ends up being a wash in the end.
Except, python code arguably looks much cleaner. Also you never fumble over auto-inserted brackets.
| null | 0 | 1317061480 | False | 0 | c2mqds2 | t3_krpem | null | t1_c2mqds2 | t1_c2mqbcp | null | 1427649599 | 2 | t5_2fwo | null | null | null |
True | kromagnon | null | The fact that you can get an approximate value of "wrongness" and objectively discern which render of the mandelbrot set has better resolution is not what I am disputing.
>and now I can easily measure and compare "distances to infinity".
This is really the only thing that I'm addressing.
There exists **no value** that is closer to infinity than **any other value** .
infinity - x = infinity. | null | 0 | 1317061562 | False | 0 | c2mqeab | t3_krpem | null | t1_c2mqeab | t1_c2mq2zr | null | 1427649606 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1317061602 | False | 0 | c2mqejb | t3_krpem | null | t1_c2mqejb | t1_c2mq2zr | null | 1427649608 | 1 | t5_2fwo | null | null | null |
True | MagicBobert | null | Cool thanks. | null | 0 | 1317061649 | False | 0 | c2mqeux | t3_krd8f | null | t1_c2mqeux | t1_c2mph9c | null | 1427649612 | 1 | t5_2fwo | null | null | null |
True | matthieum | null | I personally don't like `-Wnon-virtual-dtor`. My main reproach is that the warning is thrown based on the class design, rather than the use of the class... Therefore they had to *make do*, and it only warns for *public* destructor, even though you can call `delete` on a protected/private method (especially, static methods).
On Clang, you have a new warning (on by default) that detects calls to `delete` on a non-virtual destructor from a class with virtual methods. Because it is especially targetted at `delete`, there is no special proviso for protected/private, and thus it catches all calls to `delete` that should not be. | null | 0 | 1317061691 | False | 0 | c2mqf4a | t3_krd8f | null | t1_c2mqf4a | t1_c2mlx2p | null | 1427649616 | 4 | t5_2fwo | null | null | null |
True | jlt6666 | null | Sorry, I just glanced at it. you are correct. Some languages don't require the then so long as there is a new line. | null | 0 | 1317061766 | False | 0 | c2mqfln | t3_kooiy | null | t1_c2mqfln | t1_c2mp86o | null | 1427649622 | 3 | t5_2fwo | null | null | null |
True | bcain | null | Jeez, I would've hoped early releases of the OCL SDK for CPUs would vectorize as appropriate. No offense Nadav, but it seems like Intel was really late to the OCL game.
How well does Intel's OCL SDK perform against AMD's (for the same CPU)?
Also,
> Our compiler vectorizes your code to optimize it for both the Sandy Bridge architecture and future architectures.
IMO, it would be really nice if it generated object code for multiple targets and evaluated `CPUID` at init time in order to select the optimal one for the current hardware. | null | 0 | 1317061818 | False | 0 | c2mqfwr | t3_ks0s7 | null | t1_c2mqfwr | t3_ks0s7 | null | 1427649626 | 2 | t5_2fwo | null | null | null |
True | alicebob | null | At least floats are pretty arbitrary ;) | null | 0 | 1317061932 | False | 0 | c2mqgh6 | t3_krpem | null | t1_c2mqgh6 | t1_c2mnphv | null | 1427649633 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1317061944 | False | 0 | c2mqgjx | t3_krpem | null | t1_c2mqgjx | t1_c2mnphv | null | 1427649634 | 0 | t5_2fwo | null | null | null |
True | [deleted] | null | I'm not a programmer. I'm not even a designer. But what I see in the second picture, just from looking at it, poses way more "But how do I do this?" questions than the first.
I almost feel like I shouldn't mention this because I'm assuming everyone's read it, but Nielson addressed the problem with Apple's metaphor-oriented design *fifteen years ago*:
http://www.useit.com/papers/anti-mac.html
In my opinion, Apple crosses the line of cutting features it doesn't think users need too often than necessary, and it seems they've got worse and not better. | null | 0 | 1317062014 | False | 0 | c2mqgzw | t3_krv1k | null | t1_c2mqgzw | t1_c2mq34t | null | 1427649640 | 13 | t5_2fwo | null | null | null |
True | chipbuddy | null | here you go. I've replaced all the magic numbers with helpful variable names:
ZERO = 0
POINTFOUR = 0.4
ONE = 1
TWO = 2
TWOPOINTFIVE = 2.5
TWOPOINTSEVEN = 2.7
THREE = 3
FOUR = 4
SIX = 6
NINE = 9
TWELVE = 12
EIGHTEEN = 18
TWENTYFOUR = 24
TWENTYSIX = 26
FORTYFIVE = 45
EIGHTY = 80
NINETYNINE = 99
SEVENTY = 70
TWOHUNDREDFIFTYFIVE = 255
SEVENHUNDREDONE = 701
EIGHTHUNDREDEIGHTY = 880
NINEHUNDREDFIFTY = 950
ONETHOUSAND = 1000
ONETHOUSANDFIVEHUNDRED = 1500
_ = (TWOHUNDREDFIFTYFIVE,
lambda V,B,c:
c and Y(V*V+B,B, c-ONE)if(abs(V)<SIX)else(TWO+c-FOUR*abs(V)**-POINTFOUR)/i)
v,x=ONETHOUSANDFIVEHUNDRED,ONETHOUSAND;
C=range(v*x);
import struct;
P=struct.pack;
M,j ='<QIIHHHH',open('M.bmp','wb').write
for X in j('BM'+P(M,v*x*THREE+TWENTYSIX,TWENTYSIX,TWELVE,v,x,ONE,TWENTYFOUR)) or C:
i,Y=_
j(P('BBB',
*(lambda T:(T*EIGHTY+T**NINE*i-NINEHUNDREDFIFTY*T**NINETYNINE,
T*SEVENTY-EIGHTHUNDREDEIGHTY*T**EIGHTEEN+SEVENHUNDREDONE*T**NINE,
T*i**(ONE-T**FORTYFIVE*TWO)))
(sum([Y(ZERO,(A%THREE/3.+X%v+(X/v+A/THREE/3.-x/TWO)/1j)*TWOPOINTFIVE/x-TWOPOINTSEVEN,i)**TWO
for A in C[:NINE]])/NINE)))
| null | 0 | 1317062041 | False | 0 | c2mqh5u | t3_krpem | null | t1_c2mqh5u | t1_c2mpnbz | null | 1427649642 | 15 | t5_2fwo | null | null | null |
True | quzox | null | Also when stepping through the first version in a debugger it's trivial to see which branch was taken. | null | 0 | 1317062067 | False | 0 | c2mqhaf | t3_krklz | null | t1_c2mqhaf | t1_c2mngvy | null | 1427649644 | 1 | t5_2fwo | null | null | null |
True | Dylnuge | null | You projected an uncountably infinite set into a finitely bounded space? | null | 0 | 1317062230 | False | 0 | c2mqi1d | t3_krpem | null | t1_c2mqi1d | t1_c2mq2zr | null | 1427649655 | -2 | t5_2fwo | null | null | null |
True | Oobert | null | agreed. There are many tools in the tool box. Why is this one any better than the others?
I wish more would go into more detail in their post. Or at least link to something that is more in depth.
Edit: duplicates deleted. Sorry... submit error-ed out. So I tried 2 more times... | null | 0 | 1317062248 | True | 0 | c2mqi3e | t3_krzdp | null | t1_c2mqi3e | t1_c2mppxk | null | 1427649655 | 12 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1317062272 | False | 0 | c2mqi6a | t3_krzdp | null | t1_c2mqi6a | t1_c2mppxk | null | 1427649655 | -4 | t5_2fwo | null | null | null |
True | CarsonLynn | null | Take a look at Hadoop and Lucene. | null | 0 | 1317062274 | False | 0 | c2mqi6v | t3_krzys | null | t1_c2mqi6v | t3_krzys | null | 1427649657 | 3 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1317062294 | False | 0 | c2mqiaa | t3_krzdp | null | t1_c2mqiaa | t1_c2mppxk | null | 1427649658 | -6 | t5_2fwo | null | null | null |
True | frezik | null | That's reverse cause-and-effect. Competent coders do indentation correctly, but merely doing indentation correctly doesn't make you a competent coder. | null | 0 | 1317062300 | False | 0 | c2mqibe | t3_krpem | null | t1_c2mqibe | t1_c2mq5az | null | 1427649658 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1317062315 | False | 0 | c2mqiea | t3_krpem | null | t1_c2mqiea | t1_c2mq5az | null | 1427649659 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1317062353 | False | 0 | c2mqil1 | t3_krpem | null | t1_c2mqil1 | t1_c2mq5az | null | 1427649662 | 1 | t5_2fwo | null | null | null |
True | Vonney | null | Hmm? That image was
>by Wolfgang Beyer with the program Ultra Fractal 3.
| null | 0 | 1317062368 | False | 0 | c2mqinc | t3_krpem | null | t1_c2mqinc | t1_c2mpzas | null | 1427649663 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | [I ♥ Skeuomorphism](http://dribbble.com/shots/268517-I-Heart-Skeumorphism)
_Edit: spelling_ | null | 0 | 1317062409 | True | 0 | c2mqisb | t3_krv1k | null | t1_c2mqisb | t3_krv1k | null | 1427649663 | 16 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1317062477 | False | 0 | c2mqj4t | t3_krzdn | null | t1_c2mqj4t | t1_c2mq68t | null | 1427649669 | 4 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1317062595 | False | 0 | c2mqjlk | t3_krzdp | null | t1_c2mqjlk | t3_krzdp | null | 1427649674 | 1 | t5_2fwo | null | null | null |
True | anonpatriot7 | null | > Don't make objects that end with 'er'
Definitely the best advice. Checking in my code right now:
--- old.cpp 2011-09-26 14:38:21.240256322 -0400
+++ new.cpp 2011-09-26 14:38:33.858740126 -0400
@@ -1,4 +1,4 @@
-class Loader
+class Loador
{
public:
(...) | null | 0 | 1317062622 | False | 0 | c2mqjpi | t3_krzdp | null | t1_c2mqjpi | t3_krzdp | null | 1427649675 | 106 | t5_2fwo | null | null | null |
True | geeky_username | null | Exactly.
I'd say a lot of that back-and-forth were about things that aren't mutually exclusive. Font that looks like a sharpie? Doesn't mean you can't have other fonts. Looks like a book? Doesn't mean you can still have search and all kinds of other advanced features.
Im a programmer, and I I've worked with countless programmers just like the one in this article. They are so high up on their high horse that they refuse to even think about user usability.
Yes, there are sometimes where simplification can get in the way of features, but that doesn't mean that in every case you can't have both good usability and powerful features. | null | 0 | 1317062651 | False | 0 | c2mqjs2 | t3_krv1k | null | t1_c2mqjs2 | t1_c2mq6e3 | null | 1427649677 | 3 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1317062820 | False | 0 | c2mqkf3 | t3_krzdn | null | t1_c2mqkf3 | t1_c2mq95e | null | 1427649686 | 0 | t5_2fwo | null | null | null |
True | frezik | null | Given a programmer of similar skill, Python doesn't look cleaner. As the OP's example illustrates, it's perfectly possible to subvert Python's indentation style. The problems that result from bad style are solved in essentially the same way (coding policy and editor config).
Whitespace blocks aren't much of an argument either for OR against. | null | 0 | 1317062872 | False | 0 | c2mqki6 | t3_krpem | null | t1_c2mqki6 | t1_c2mqds2 | null | 1427649688 | -1 | t5_2fwo | null | null | null |
True | Tommstein | null | That HTML5 backend stuff is some of the most impressive shit I've seen in a long time. | null | 0 | 1317062894 | False | 0 | c2mqklb | t3_krzdn | null | t1_c2mqklb | t3_krzdn | null | 1427649688 | -4 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1317062901 | False | 0 | c2mqkme | t3_krzdn | null | t1_c2mqkme | t1_c2mq95e | null | 1427649688 | 1 | t5_2fwo | null | null | null |
True | andytuba | null | Yep. My anecdotal evidence tells me that people who haven't used Office 2003 much easily learn the ribbon, but people who have years of muscle memory and knowledge about menus absolutely hate the ribbon until they re-learn everything. | null | 0 | 1317062933 | False | 0 | c2mqkrc | t3_krv1k | null | t1_c2mqkrc | t1_c2mq20m | null | 1427649690 | 4 | t5_2fwo | null | null | null |
True | mikehaggard | null | No configuration is needed in Java EE 6.
Here's a 3 layer Java EE 6 app, more than plain Hello world, but you see how simple it is:
http://jdevelopment.nl/minimal-3tier-java-ee-app-xml-config/
here's approximately the same in a single class, without template:
http://jdevelopment.nl/single-class-pure-java-jsf-application/
If you only want to output "Hello, world!", without any buttons or logic or anything, you just deploy the following in an .xhtml file and deploy that:
<html xmlns="http://www.w3.org/1999/xhtml">
Hello, world!
</html>
You can also deploy a single class that you annotate with @WebServlet or @Path that only outputs the text, e.g.
@Path("/helloworld")
@Produces("text/plain")
public class HelloWorld {
@GET
public String getHello() {
return "Hello, World!";
}
}
If you deploy this in JBoss AS 6 or GlassFish 3, you only have to deploy this single class. There's no web.xml or whatever other file necessary.
For standalone usage, see this: http://viewfromthefringe.blogspot.com/2009/06/jax-rs-hello-world.html
| null | 0 | 1317062968 | False | 0 | c2mqkx4 | t3_kn8ra | null | t1_c2mqkx4 | t1_c2mnkto | null | 1427649692 | 1 | t5_2fwo | null | null | null |
True | bcain | null | Jeez, I would've hoped early releases of the OCL SDK for CPUs would vectorize as appropriate. No offense Nadav, but it seems like Intel was really late to the OCL game.
How well does Intel's OCL SDK perform against AMD's (for the same CPU)?
Also,
> Our compiler vectorizes your code to optimize it for both the Sandy Bridge architecture and future architectures.
IMO, it would be really nice if it generated object code for multiple targets and evaluated `CPUID` at init time in order to select the optimal one for the current hardware. | null | 0 | 1317062999 | False | 0 | c2mql19 | t3_ks0s7 | null | t1_c2mql19 | t1_c2mq27f | null | 1427649694 | 4 | t5_2fwo | null | null | null |
True | nascent | null | I don't wish to sidestep any issue, but trying to address what your issue actually is in relation to what you say your issue is.
> But I wouldn't have to switch from value types to reference types in C++. I would use reference types without sacrificing performance in C++.
Aren't classes and structs both value types in C++, they don't have a reference element to them, unless you new them and get a pointer?
C++ does allow parameters to a function to be references and so does D. So declaring C++ better here doesn't make sense, I thought you were describing a fictional design, D did not choose, that was better.
> Nope. It will be collected when the collector decides to run, and if there are no references to it.
Right, I meant that it would use the GC, which is what you wanted.
> I would like to be able to allocate my objects either in the heap or as part of aggregates.
You can do that in D, make Button a struct. What D does not provide is polymorphic value types. If this is what you wish, then I'm not the one to be arguing against that, though there probably is an article somewhere. | null | 0 | 1317063036 | False | 0 | c2mql6b | t3_kljc0 | null | t1_c2mql6b | t1_c2mpx4k | null | 1427649696 | 1 | t5_2fwo | null | null | null |
True | illvm | null | Default settings *should* be good. There should also be settings for anything that is preferential. Right now, I have to use a soft phone program that has global hot keys enabled by default and set to F6 and F8.
I'm a developer. I use my function keys all the time. I don't want even want global hot keys enabled on that damn program but there is *no way* to disable them. My best course of action is to rebind them to some obscure key combination that I am unlikely to press (CTRL+ALT+~, for example).
Things like user input and look and feel *should* be preferential to the user. Software that doesn't allow me to do basic things like rebind keys or change colors is really irritating. | null | 0 | 1317063043 | False | 0 | c2mql75 | t3_krv1k | null | t1_c2mql75 | t1_c2mp1p6 | null | 1427649696 | 49 | t5_2fwo | null | null | null |
True | [deleted] | null | An excellent example of that was Firefox's changes to the URL bar.
It was unsettling and confusing switching to the 'awesome bar' at first, and provoked a hell of a lot of internet hostility. But that was entirely because of ingrained habits from the old UI -- anyone who spent more than a week or so using it started realizing that it was clearly superior. | null | 0 | 1317063064 | False | 0 | c2mqlab | t3_krv1k | null | t1_c2mqlab | t1_c2mpssz | null | 1427649697 | 1 | t5_2fwo | null | null | null |
True | TinyEarl | null | Yeah seriously, I don't see any banding... It's like some kind of voodoo! | null | 0 | 1317063107 | False | 0 | c2mqlgj | t3_krpem | null | t1_c2mqlgj | t1_c2mokk0 | null | 1427649699 | 3 | t5_2fwo | null | null | null |
True | illvm | null | Default settings *should* be good. There should also be settings for anything that is preferential. Right now, I have to use a soft phone program that has global hot keys enabled by default and set to F6 and F8.
I'm a developer. I use my function keys all the time. I don't want even want global hot keys enabled on that damn program but there is *no way* to disable them. My best course of action is to rebind them to some obscure key combination that I am unlikely to press (CTRL+ALT+~, for example).
Things like user input and look and feel *should* be preferential to the user. Software that doesn't allow me to do basic things like rebind keys or change colors is really irritating. | null | 0 | 1317063147 | False | 0 | c2mqllk | t3_krv1k | null | t1_c2mqllk | t1_c2mp1p6 | null | 1427649702 | 3 | t5_2fwo | null | null | null |
True | Pindaman | null | Mine isn't empty and i can open it in Gimp! in OSX. | null | 0 | 1317063182 | False | 0 | c2mqlqm | t3_krpem | null | t1_c2mqlqm | t1_c2momgt | null | 1427649705 | 1 | t5_2fwo | null | null | null |
True | nealibob | null | I love that concept. I think TDD is an excessively narrow implementation of your approach, and I think that making the user documentation and coding to that makes the most sense. Of course it varies depending on what you're building, but if it's for typical users, this makes complete sense. | null | 0 | 1317063228 | False | 0 | c2mqlwr | t3_krv1k | null | t1_c2mqlwr | t1_c2mpz0g | null | 1427649706 | 3 | t5_2fwo | null | null | null |
True | SciK | null | And `HeWhoMustNotBeNamed`. | null | 0 | 1317063255 | False | 0 | c2mqm0o | t3_krzdp | null | t1_c2mqm0o | t1_c2mq5so | null | 1427649706 | 25 | t5_2fwo | null | null | null |
True | Tommstein | null | That HTML5 backend stuff is some of the most impressive shit I've seen in a long time. | null | 0 | 1317063335 | False | 0 | c2mqmbt | t3_krzdn | null | t1_c2mqmbt | t3_krzdn | null | 1427649710 | 0 | t5_2fwo | null | null | null |
True | Tommstein | null | That was the first thing that came to mind to me. | null | 0 | 1317063439 | False | 0 | c2mqmp7 | t3_krzdn | null | t1_c2mqmp7 | t1_c2mq95e | null | 1427649716 | -5 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1317063454 | False | 0 | c2mqmqv | t3_krpem | null | t1_c2mqmqv | t1_c2mqki6 | null | 1427649717 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1317063470 | False | 0 | c2mqmsv | t3_krpem | null | t1_c2mqmsv | t1_c2mqki6 | null | 1427649717 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1317063508 | False | 0 | c2mqmxs | t3_krzdn | null | t1_c2mqmxs | t1_c2mq95e | null | 1427649726 | -2 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1317063535 | False | 0 | c2mqn1d | t3_krzdn | null | t1_c2mqn1d | t3_krzdn | null | 1427649727 | -8 | t5_2fwo | null | null | null |
True | antrn11 | null | So the advice is to name you classes as nouns? I'm sure there's better advices around.
Or maybe I just haven't seen the light yet. | null | 0 | 1317063691 | False | 0 | c2mqnmb | t3_krzdp | null | t1_c2mqnmb | t3_krzdp | null | 1427649728 | 4 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1317063701 | False | 0 | c2mqnnt | t3_krpem | null | t1_c2mqnnt | t1_c2mqki6 | null | 1427649733 | 1 | t5_2fwo | null | null | null |
True | noiserr | null | I've been writing Python for 8 years now. I've never seen an actual piece of code which subverted Python's indentation style, unless it was specifically trying to do so as a gimmick, like OP's example.
Readability is kind of a known Python trait, it's kind of pointless arguing against it. Every description of python mentions it. | null | 0 | 1317063713 | False | 0 | c2mqnp8 | t3_krpem | null | t1_c2mqnp8 | t1_c2mqki6 | null | 1427649733 | 4 | t5_2fwo | null | null | null |
True | [deleted] | null | been there, done that. Chances are there's a viable resource online for free somewhere though. Some are listed in the course work section. | null | 0 | 1317063795 | False | 0 | c2mqo1j | t3_kqucu | null | t1_c2mqo1j | t1_c2mpz95 | null | 1427649734 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1317063811 | False | 0 | c2mqo3x | t3_kqucu | null | t1_c2mqo3x | t1_c2mpz95 | null | 1427649734 | 1 | t5_2fwo | null | null | null |
True | Ralgor | null | It could have been written like that for performance reasons. A branch like that will probably (maybe always?) be mispredicted half of the time, and so getting that check completely out of the loop might help performance quite a bit.
Of course, that's assuming that performance even matters for a piece of code like this. But since it is dealing with perlin noise in some way, it might. | null | 0 | 1317063863 | False | 0 | c2mqob3 | t3_krklz | null | t1_c2mqob3 | t1_c2mo5ds | null | 1427649736 | 2 | t5_2fwo | null | null | null |
True | Mr_Smartypants | null | Perhaps it's supernatural, but I think it's probably some variation on [this](http://en.wikipedia.org/wiki/Mandelbrot_set#Continuous_.28smooth.29_coloring). | null | 0 | 1317063937 | False | 0 | c2mqol9 | t3_krpem | null | t1_c2mqol9 | t1_c2mqlgj | null | 1427649740 | 4 | t5_2fwo | null | null | null |
True | davidbuxton | null | Ages ago there was a good interview with [Peter Sichel](http://sustworks.blogspot.com/), a long-time Mac developer, where he explained he started each project by writing the end-user manual.
Can't find the interview now, think it would be [this one on Jonathan Rentzsch's site](http://rentzsch.com/engineerEntrepreneurs/sichel) (except that is 404). | null | 0 | 1317064091 | False | 0 | c2mqp5a | t3_krv1k | null | t1_c2mqp5a | t1_c2mpz0g | null | 1427649748 | 12 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1317064138 | False | 0 | c2mqpbc | t3_krzys | null | t1_c2mqpbc | t1_c2mq6re | null | 1427649749 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1317064153 | False | 0 | c2mqpd5 | t3_krzys | null | t1_c2mqpd5 | t1_c2mq6re | null | 1427649750 | 1 | t5_2fwo | null | null | null |
True | __s | null | Python is very much community developed | null | 0 | 1317064190 | False | 0 | c2mqphx | t3_krpem | null | t1_c2mqphx | t1_c2mny9u | null | 1427649751 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1317064245 | False | 0 | c2mqpp4 | t3_krpem | null | t1_c2mqpp4 | t1_c2mqlgj | null | 1427649754 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1317064258 | False | 0 | c2mqprh | t3_ks0s7 | null | t1_c2mqprh | t1_c2mql19 | null | 1427649755 | 5 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1317064297 | False | 0 | c2mqpwi | t3_ks0s7 | null | t1_c2mqpwi | t1_c2mqdmn | null | 1427649757 | 7 | t5_2fwo | null | null | null |
True | [deleted] | null | Yes, I projected one set of reals into another.
I'm afraid that you don't understand any of the words you've used here =( | null | 0 | 1317064459 | False | 0 | c2mqqg7 | t3_krpem | null | t1_c2mqqg7 | t1_c2mqi1d | null | 1427649766 | 4 | t5_2fwo | null | null | null |
True | ejtttje | null | Calendar isn't too bad, it's just a style. But I was definitely thinking of Address Book while reading this post. Trying to make contact groups, contact list/search, and the actual contact info into 'pages' of a 'book' with a little red tag at the top doesn't make sense. It was much more usable as a 3-pane window so you can see everything at once. The red thing alone is a travesty, I don't even use something like that in the physical world, and it's a completely foreign UI concept on the computer. I wonder how many people don't realize it's a clickable element. | null | 0 | 1317065009 | False | 0 | c2mqrmu | t3_krv1k | null | t1_c2mqrmu | t1_c2mq64v | null | 1427649780 | 14 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1317065173 | False | 0 | c2mqrrz | t3_krpem | null | t1_c2mqrrz | t1_c2mpnbz | null | 1427649782 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1317065203 | False | 0 | c2mqrsr | t3_krpem | null | t1_c2mqrsr | t1_c2mpnbz | null | 1427649782 | 1 | t5_2fwo | null | null | null |
True | __s | null | def man(V,B,c): #Z, C, iter
if abs(V)>=6: #Escape bound. 6 instead of 4 to give smoother fade
return (2+c-4*abs(V)**-0.4)/255 #(0..1]
elif c:
return man(V*V+B,B, c-1) #Reiterate Z=Z*Z+C
else:
return 0 #In set
v=1500 #width
x=1000 #height
from struct import pack
write=open('M.bmp','wb').write
write('BM'+pack('<QIIHHHH',v*x*3+26,26,12,v,x,1,24)) #standard BMP header
for X in range(v*x): #Instead of using a nested loop
T=sum(man(0,(A%3/3.+X%v+(X/v+A/3/3.-x/2)/1j)*2.5/x-2.7,255)**2 for A in (0,1,2,3,4,5,6,7,8))/9 #Convert resolution coord to coord in mandelbrot. Also average 9 points for linear filtering
write(pack('BBB', #This is an RGB triplet. Random numbers for fancy color
T*80+T**9*255-950*T**99,
T*70-880*T**18+701*T**9,
T*255**(1-T**45*2))) | null | 0 | 1317065314 | True | 0 | c2mqruq | t3_krpem | null | t1_c2mqruq | t1_c2mpnbz | null | 1427649783 | 21 | t5_2fwo | null | null | null |
True | tamrix | null | That's not an example of dependency injection. I understand that personally you may not need aspect oriented programming but that doesn't answer my question. | null | 0 | 1317065323 | False | 0 | c2mqrut | t3_krodl | null | t1_c2mqrut | t1_c2mpcfv | null | 1427649783 | 1 | t5_2fwo | null | null | null |
True | niczar | null | Better than chroot, selinux xguest type thing. | null | 0 | 1317065465 | False | 0 | c2mqrxj | t3_krzdn | null | t1_c2mqrxj | t1_c2mq95e | null | 1427649788 | 5 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1317065785 | False | 0 | c2mqs6e | t3_krzdn | null | t1_c2mqs6e | t3_krzdn | null | 1427649787 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1317065849 | False | 0 | c2mqs9h | t3_krpem | null | t1_c2mqs9h | t1_c2mpnbz | null | 1427649788 | 1 | t5_2fwo | null | null | null |
True | akoprowski | null | Yes, we certainly try to value and listen to our growing community. Yes, we mean annual revenue.
Sorry to hear that our licensing scheme is a deal breaker for you :/. If you'd be willing to re-consider and learn more about pricing I'd really encourage you to get in touch with our sales department (I'm being told by them that we'll not be ready to put the prices on the website any time soon) and hopefully we could arrange something that would be acceptable for you. | null | 0 | 1317065939 | False | 0 | c2mqsgh | t3_kn8ra | null | t1_c2mqsgh | t1_c2mouzz | null | 1427649791 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1317066070 | False | 0 | c2mqsw6 | t3_krpem | null | t1_c2mqsw6 | t1_c2mpnbz | null | 1427649800 | 3 | t5_2fwo | null | null | null |
True | chneukirchen | null | What's the benefit over the default vim directory browser? | null | 0 | 1317066076 | False | 0 | c2mqsx6 | t3_kr2x5 | null | t1_c2mqsx6 | t1_c2mjtyq | null | 1427649801 | 1 | t5_2fwo | null | null | null |
True | Joesavage1 | null | I kinda wish it was - this took me forever to write.
I'm glad it's done as well as it has though, this is my first real "entry" on Reddit :D | null | 0 | 1317066095 | False | 0 | c2mqszc | t3_khxzd | null | t1_c2mqszc | t1_c2l15jq | null | 1427649801 | 1 | t5_2fwo | null | null | null |
True | Joesavage1 | null | Thanks a lot :D
For those still interested in the guide - NEW LINK: http://www.dev-hq.net/posts/3--the-basics-of-assembly | null | 0 | 1317066103 | 1362266191 | 0 | c2mqt0v | t3_khxzd | null | t1_c2mqt0v | t1_c2m3jx2 | null | 1427649801 | 1 | t5_2fwo | null | null | null |
True | SciK | null | I’d rather write them with [Wt](http://webtoolkit.eu/). | null | 0 | 1317066105 | False | 0 | c2mqt14 | t3_krzdn | null | t1_c2mqt14 | t1_c2mq95e | null | 1427649801 | 7 | t5_2fwo | null | null | null |
True | okmkz | null | Yeah, you can say that again...oh. | null | 0 | 1317066163 | False | 0 | c2mqtam | t3_krzdn | null | t1_c2mqtam | t1_c2mqmbt | null | 1427649802 | 5 | t5_2fwo | null | null | null |
True | grauenwolf | null | I meant to write "AOP injection", he didn't call it dependency injection. | null | 0 | 1317066165 | False | 0 | c2mqtb5 | t3_krodl | null | t1_c2mqtb5 | t1_c2mqrut | null | 1427649802 | 1 | t5_2fwo | null | null | null |
True | Iamubergeek | null | I want run chrome in firefox, running inside of Opera! | null | 0 | 1317066217 | False | 0 | c2mqtiz | t3_krzdn | null | t1_c2mqtiz | t3_krzdn | null | 1427649805 | 20 | t5_2fwo | null | null | null |
True | genpfault | null | T-T-T-TRIPLE POST! | null | 0 | 1317066220 | False | 0 | c2mqtjd | t3_krzdn | null | t1_c2mqtjd | t1_c2mqklb | null | 1427649805 | 3 | t5_2fwo | null | null | null |
True | tricolon | null | Right. So the title should be "Higher-Resolution". | null | 0 | 1317066274 | False | 0 | c2mqtri | t3_krpem | null | t1_c2mqtri | t1_c2mohkc | null | 1427649807 | 1 | t5_2fwo | null | null | null |
True | shnuffy | null | At 30k x 15x you have an effective resolution of 450,000,000 pixels. If you look at the code, you'll be able to compute that the lambda T value, stored in a long integer register, has a maximum resolution capacity of 392,234,256 pixels, which is why you're getting the error.
Of course I'm making this all up. | null | 0 | 1317066383 | False | 0 | c2mquaa | t3_krpem | null | t1_c2mquaa | t1_c2mq675 | null | 1427649814 | 5 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1317066419 | False | 0 | c2mqug9 | t3_krpem | null | t1_c2mqug9 | t1_c2mnwjh | null | 1427649817 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1317066464 | False | 0 | c2mqun8 | t3_krzdn | null | t1_c2mqun8 | t1_c2mq95e | null | 1427649819 | -2 | t5_2fwo | null | null | null |
True | helm | null | Autocorrection settings are often a good idea to change, if, for example. you write about things that don't adhere to standard capitalization rules. | null | 0 | 1317066509 | False | 0 | c2mquw2 | t3_krv1k | null | t1_c2mquw2 | t1_c2mpzof | null | 1427649822 | 23 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1317066577 | False | 0 | c2mqv7l | t3_krpem | null | t1_c2mqv7l | t1_c2mnse9 | null | 1427649828 | 1 | t5_2fwo | null | null | null |
True | FrogsEye | null | Thanks for your reply. I don't have any serious (commercial) projects in mind but the problem is if one of them suddenly does turn into something good. Because of this it's simply not worth the hassle for me. However, I'll keep an eye out on this project maybe I'll change my mind someday. | null | 0 | 1317066631 | False | 0 | c2mqvh3 | t3_kn8ra | null | t1_c2mqvh3 | t1_c2mqsgh | null | 1427649831 | 1 | t5_2fwo | null | null | null |
True | nascent | null | I understand why everyone prefers to use braces all the time. But D has just introduce one piece that helps make not doing so a little ~~safer~~ less error prone. | null | 0 | 1317066729 | False | 0 | c2mqvyu | t3_kooiy | null | t1_c2mqvyu | t1_c2lzz53 | null | 1427649845 | 1 | t5_2fwo | null | null | null |
True | binford2k | null | Know what? I fully know what contact groups are and still don't give a shit about them. I clicked that red bookmark icon once and thought, "Oh, that's what it does." I've never clicked it again. Because I don't care.
Why do you think that your pet feature is so all important that it must be visually prominent for every single Mac user on the planet? | null | 0 | 1317066730 | False | 0 | c2mqvz8 | t3_krv1k | null | t1_c2mqvz8 | t1_c2mq1mt | null | 1427649845 | -2 | t5_2fwo | null | null | null |
True | [deleted] | null | TIL | null | 0 | 1317066735 | False | 0 | c2mqw04 | t3_krv1k | null | t1_c2mqw04 | t1_c2mqisb | null | 1427649838 | 5 | t5_2fwo | null | null | null |
True | petdance | null | > EXCEPT FOR WHEN IT MAKES SENSE TO.
That's covered in the article. | null | 0 | 1317066753 | False | 0 | c2mqw34 | t3_krzdp | null | t1_c2mqw34 | t1_c2mq165 | null | 1427649839 | 1 | t5_2fwo | null | null | null |
True | bcorfman | null | Sorry, I hate the ribbon, and I spend an inordinate amount of time with Word and PowerPoint. | null | 0 | 1317066784 | False | 0 | c2mqw96 | t3_krv1k | null | t1_c2mqw96 | t1_c2mpr3j | null | 1427649842 | 5 | t5_2fwo | null | null | null |
True | toconnor | null | This is why every Facebook change results in countless "I HATE THE NEW FACEBOOK!" posts. | null | 0 | 1317066837 | False | 0 | c2mqwi6 | t3_krv1k | null | t1_c2mqwi6 | t1_c2mpssz | null | 1427649844 | 20 | t5_2fwo | null | null | null |
True | Amadiro | null | Thanks, that's very considerate. It posed a big obstacle when we tried to evaluate different implementations to use for crunching, since the library didn't work locally without root privileges, and the distribution the package was made for didn't match the one we used. I tried for a while to patch around in the library, adjusting the hardcoded pathes, and overriding libc syscalls using LD_PRELOAD, but I ended up giving up on it. I also tried to re-package the library into rpm packages for our distribution and get the admins to install those (server policy that nothing that isn't packed up in packages is allowed to be installed), but I couldn't really convince them (and I think there were a lot of library issues with mismatched libc/libstdc++ libraries), so we ended up using AMDs SDK. Once it becomes possible to use the library without root privileges, we would definitely give it another go, though -- since we're mostly running on a Xenon/Sandybridge cluster, there's a good chance it might give a boost. | null | 0 | 1317066951 | False | 0 | c2mqx14 | t3_ks0s7 | null | t1_c2mqx14 | t1_c2mqpwi | null | 1427649851 | 4 | t5_2fwo | null | null | null |
True | paranoidinfidel | null | Do you have an example for that? I'm just curious.
Chances are very good that if you build a class that performs work on another class - and that's all it is for, that you are "doing it wrong" and not the OOP way. As an example, a "Person" class and a "PersonManager" class that is responsible for setting/getting Person data and applying business logic to the Person, it is dead wrong. | null | 0 | 1317066967 | False | 0 | c2mqx49 | t3_krzdp | null | t1_c2mqx49 | t1_c2mq165 | null | 1427649851 | -3 | t5_2fwo | null | null | null |
True | thecapitalc | null | So what your saying is ask the guy in the software room who knows python to make it work better for me and go back to my PCB?
(Thanks for the quick and dirty explanation) | null | 0 | 1317067049 | False | 0 | c2mqxkq | t3_krpem | null | t1_c2mqxkq | t1_c2mquaa | null | 1427649857 | 1 | t5_2fwo | null | null | null |
True | Vulpyne | null | So anyone that doesn't agree with you has less skill? Maybe you didn't mean it that way, but that's the implication of your statement. | null | 0 | 1317067129 | False | 0 | c2mqy1j | t3_krpem | null | t1_c2mqy1j | t1_c2mqki6 | null | 1427649863 | 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.