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 | archiminos | null | I was lucky to learn this lesson fairly early on whilst I was still at Uni. It's why my favourite joke is that the compiler's wrong. | null | 0 | 1316180389 | False | 0 | c2kavpf | t3_khkyd | null | t1_c2kavpf | t3_khkyd | null | 1427607545 | 2 | t5_2fwo | null | null | null |
True | chrisrico | null | I believe my statement remains coherent. The resources used by the government in the research and creation of ARPANET were reallocated from the private sector through taxation (and not to get off topic, but don't forget the hidden tax, [monetary inflation](http://mises.org/resources.aspx?Id=7184a3af-b7ff-4465-aab5-68a3c773b48b)). The end goal was to create a system that would more effectively allow them to wage war.
So, the questions are...
>Would a worldwide computer network have been created if not for government funding?
I think so. The necessary ideas were already in place, they were merely focused in a particular direction. Perhaps without that direction, the computer network that emerged would have been better or worse. It's impossible to say, but I find it highly likely that without the government's intervention, one would exist.
>Was the *internet* created by the government?
I would argue that it was not. The precursor, yes, but the computer network we now know as the internet did not flourish because of central planning, but decentralization. | null | 0 | 1316180468 | False | 0 | c2kavzl | t3_kgbzq | null | t1_c2kavzl | t1_c2kanfy | null | 1427607550 | 0 | t5_2fwo | null | null | null |
True | walking18 | null | Who knows, lets just clear one thing up, I was definitely pissing my pants. | null | 0 | 1316180559 | False | 0 | c2kawc4 | t3_khf6j | null | t1_c2kawc4 | t1_c2kau8m | null | 1427607556 | 8 | t5_2fwo | null | null | null |
True | p47n1p | null | **C++**
// .h
class SomeStupidlyLongClassName {
private:
int month;
int day;
int year;
public:
SomeStupidlyLongClassName(int nMonth, int nDay, int nYear);
void SetDate(int nMonth, int nDay, int nYear);
int GetMonth();
int GetDay();
int GetYear();
};
// .cpp
SomeStupidlyLongClassName::SomeStupidlyLongClassName(int nMonth, int nDay, int nYear) {
SetDate(nMonth, nDay, nYear);
}
void SomeStupidlyLongClassName::SetDate(int nMonth, int nDay, int nYear) {
month = nMonth;
day = nDay;
year = nYear;
}
int SomeStupidlyLongClassName::GetMonth() {
return month;
}
int SomeStupidlyLongClassName::GetDay() {
return day;
}
int SomeStupidlyLongClassName::GetYear() {
return year;
}
---
**Java**
public class SomeStupidlyLongClassName {
private int month;
private int day;
private int year;
public SomeStupidlyLongClassName(int nMonth, int nDay, int nYear) {
month = nMonth;
day = nDay;
year = nYear;
}
public int GetMonth() {
return month;
}
public int GetDay() {
return day;
}
public int GetYear() {
return year;
}
}
Gee, why the fuck did I have to write THE SAME FUCKING SHIT twice in the C++ version? (I know why, but I refuse to accept C++'s sorry excuse for it and move on to different languages).
Protip: Language bigotry only exposes how poor of a programmer you are | null | 0 | 1316180772 | False | 0 | c2kax59 | t3_kgq62 | null | t1_c2kax59 | t1_c2k6kzq | null | 1427607564 | 1 | t5_2fwo | null | null | null |
True | Rhomboid | null | Have you ever noticed that the home pages for open source multimedia libraries like [ffmpeg](http://ffmpeg.org/), [xvid](http://www.xvid.org/), [x264](http://www.videolan.org/developers/x264.html), [lame](http://lame.sourceforge.net/), etc. only offer source downloads? To get binaries of any of those you have to go to a third party side, usually one run by a volunteer or one of the developers, and hosted in a country where software patents don't apply. Supposedly, distributing the source code for something that would infringe a patent if compiled is not actually infringement itself, so these projects insulate themselves from lawsuits in this manner by only distributing source. | null | 0 | 1316180775 | False | 0 | c2kax5o | t3_kgqdd | null | t1_c2kax5o | t1_c2k92yo | null | 1427607564 | 7 | t5_2fwo | null | null | null |
True | [deleted] | null | If they are made to order prodigy kids, yes.
Manipulating parents can coach their kids to learn one specific adult-like ability which can be considered "prodigy", it's more or less like training an animal. That does not mean the person has a better than usual talent for that field, just that he got a better than usual training for that age.
| null | 0 | 1316180799 | False | 0 | c2kax93 | t3_khf6j | null | t1_c2kax93 | t1_c2ka98y | null | 1427607568 | 9 | t5_2fwo | null | null | null |
True | bwillard | null | Ah good questions. I agree that $25/10 concurrent users would be a bit high.
We were thinking it would be just straight msg/sec not /client, and it is sent not received. So concurrent users is unbounded.
I also was just quoting the rates per second but really they would be enforced per day, so 1/msg/sec is 86,400 msg/day, and 10/msg/sec is 864,000/msg/day.
And because they are just msg sent and not msg received you can have as many concurrent users as you want.
But these are just our first thoughts and very likely to change.
Just out of curiosity what were you thinking of using this for and/or what kind of msg rates were you thinking you would be generating? | null | 0 | 1316180852 | False | 0 | c2kaxgy | t3_kgorv | null | t1_c2kaxgy | t1_c2kaqjz | null | 1427607568 | 1 | t5_2fwo | null | null | null |
True | danharaj | null | Yes, but proving it is undecidable does not mean there is no algorithm, it just means we can't prove the algorithm is polynomial. | null | 0 | 1316180863 | False | 0 | c2kaxig | t3_kgfhb | null | t1_c2kaxig | t1_c2kaua6 | null | 1427607569 | 2 | t5_2fwo | null | null | null |
True | captainjon | null | It would be silly. That is why I learned Visual C++ in 14 days (including MFC)! | null | 0 | 1316180890 | False | 0 | c2kaxmb | t3_khf6j | null | t1_c2kaxmb | t1_c2karke | null | 1427607570 | 8 | t5_2fwo | null | null | null |
True | ZorbaTHut | null | Hmm, I suppose that's true. I'm having trouble imagining a situation with a polynomial-time algorithm would be undecidably so, but I can't rule out the possibility.
Alright, fair enough :) | null | 0 | 1316180923 | False | 0 | c2kaxqp | t3_kgfhb | null | t1_c2kaxqp | t1_c2kaxig | null | 1427607572 | 1 | t5_2fwo | null | null | null |
True | isinned | null | Seems he has broken the record in October of last year. The blog post on Wolfram was just written a very long time afterwards. | null | 0 | 1316181111 | False | 0 | c2kaygz | t3_khf6j | null | t1_c2kaygz | t3_khf6j | null | 1427607581 | 2 | t5_2fwo | null | null | null |
True | tjdziuba | null | And no new information was added to the collective sum of human knowledge.
Shit like this is just space between the ads. | null | 0 | 1316181180 | False | 0 | c2kayql | t3_khlcd | null | t1_c2kayql | t3_khlcd | null | 1427607585 | 1 | t5_2fwo | null | null | null |
True | munificent | null | Sounds a lot like BitC. Are you familiar with it? | null | 0 | 1316181253 | False | 0 | c2kaz05 | t3_kfvm7 | null | t1_c2kaz05 | t1_c2k736m | null | 1427607588 | 1 | t5_2fwo | null | null | null |
True | bwillard | null | Sorry, as I posted bellow it should be up now. We had a technical glitch that brought down both our service and our monitoring service that should alerted me about it. | null | 0 | 1316181317 | False | 0 | c2kaz8b | t3_kgorv | null | t1_c2kaz8b | t1_c2k9qw5 | null | 1427607591 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1316181445 | False | 0 | c2kazq2 | t3_khmks | null | t1_c2kazq2 | t3_khmks | null | 1427607597 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | But it's not C-style crude preprocessor macros that the language intends to support. | null | 0 | 1316181481 | False | 0 | c2kazv1 | t3_kfvm7 | null | t1_c2kazv1 | t1_c2kansl | null | 1427607602 | 3 | t5_2fwo | null | null | null |
True | ethraax | null | I hate working with Java too, but that doesn't mean I'm going to blame Minecraft's severe performance issues on Java. | null | 0 | 1316181521 | False | 0 | c2kb00o | t3_kgq62 | null | t1_c2kb00o | t1_c2k6gxr | null | 1428193914 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | It is practically impossible to teach good programming to students that have had a prior exposure to UNIX: as potential programmers they are mentally mutilated beyond hope of regeneration. | null | 0 | 1316181538 | False | 0 | c2kb038 | t3_kgqnz | null | t1_c2kb038 | t3_kgqnz | null | 1427607606 | -8 | t5_2fwo | null | null | null |
True | dgermain | null | No ! Well, I did some programming, and was good at math at the time. But I would have love to have someone direct me to interesting stuff.
If you read his writing, it's good writing... for a 13 years old. He needs a great deal of improvement to be remotely interesting as a writer.
It's perfectly credible to have a kid to be as good as he is.
Not your average kid, but for one in 1000 or 10000, why not ?
It's just that bright kids are not usually directed in interesting directions. Regular school is mostly an inhibitor for them. They are usually bullied or bored to death by the regular classes they have an obligation to attend.
| null | 0 | 1316181581 | False | 0 | c2kb095 | t3_khf6j | null | t1_c2kb095 | t1_c2kahgh | null | 1427607612 | 2 | t5_2fwo | null | null | null |
True | sztomi | null | I was thinking of an online multiplayer game. I didn't really think it through, but those rates seemed to be not sufficient. On a second thought, clients could use websockets for p2p communication and push messages would be needed on less occasions (like a user joining, something happening in the game world etc.). This makes those prices much more acceptable and especially that the rates would be per day. | null | 0 | 1316181648 | False | 0 | c2kb0gz | t3_kgorv | null | t1_c2kb0gz | t1_c2kaxgy | null | 1427607612 | 0 | t5_2fwo | null | null | null |
True | munificent | null | > In C# it will initialize product to 0. Why does it do this if it won't initialize a local of the same type?
Initializing fields wastes cycles, which is, I think, why it doesn't do so for locals. Definite assignment analysis will statically ensure that all locals are initialized before use, so this saves redundant initialization.
The question then is why don't object fields rely on definite analysis too instead of having default initialization? The compiler does that analysis anyway when you have `readonly` fields so the code is there.
The problem is that `this` can escape. From the beginning of the constructor body, you have access to `this` and can send it to other methods or do whatever. Code that receives that can access any field on the object, even ones that haven't been initialized yet.
To ensure that this doesn't lead to undefined behavior, those fields must be default initialized to some known value. This could be solved by ensuring that all fields are initialized before `this` can be used, but that makes constructors a good bit more complex to work with (think constructor initialization lists in C++).
| null | 0 | 1316181653 | False | 0 | c2kb0hn | t3_kfvm7 | null | t1_c2kb0hn | t1_c2k0ep6 | null | 1427607612 | 3 | t5_2fwo | null | null | null |
True | [deleted] | null | OH MY GOD. | null | 0 | 1316181701 | False | 0 | c2kb0nw | t3_kghid | null | t1_c2kb0nw | t3_kghid | null | 1427607615 | 0 | t5_2fwo | null | null | null |
True | [deleted] | null | lol. I don't know why people are downvoting this. In a terrible sense, this bug is hilarious! | null | 0 | 1316181779 | False | 0 | c2kb0z2 | t3_kghid | null | t1_c2kb0z2 | t1_c2k3ze9 | null | 1427607620 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | Question, why recommend Git in an article aimed at newbies when Hg is far less likely to eat them? | null | 0 | 1316181812 | False | 0 | c2kb13s | t3_khkyd | null | t1_c2kb13s | t3_khkyd | null | 1427607619 | 5 | t5_2fwo | null | null | null |
True | sbrown123 | null | >you can improve your performance by using the most optimized implementation of Java with all optimizations turned on.
Minecraft isn't a web server. You will get insignificant improvement using the "-server" option. On my computer it gave roughly a 3% improvement while it used a greater amount of memory using that option. Chunking spikes remained. Read the article. If you are using 1.7.3 still try using OptiFine and you will see the difference first hand. | null | 0 | 1316181905 | False | 0 | c2kb1h3 | t3_kgq62 | null | t1_c2kb1h3 | t1_c2k5kn1 | null | 1427607624 | 2 | t5_2fwo | null | null | null |
True | stubob | null | Isn't this example:
>Consider the problem of scheduling exams (described above). But suppose, next, that there are 15000 students. ... It runs in an hour and outputs an exam schedule so that all students can do their exams in one week. ... The next year, though, there are 10 more students. If the same program runs on the same computer then that one hour is going to turn into 210 hours, because every additional student doubles the computations.
incorrect? If the program already handles 15000 in one hour, why wouldn't it be trivial to add 10 more students to the computation? It seems like it's saying f(n) = 2^15000 = 1 hour, but f(n+10) = 2^15010 = 210 hours, which doesn't make sense. | null | 0 | 1316181952 | False | 0 | c2kb1no | t3_kgfhb | null | t1_c2kb1no | t3_kgfhb | null | 1427607626 | 2 | t5_2fwo | null | null | null |
True | danharaj | null | The real trouble is imagining how someone can link to wikipedia and get 800 upvotes in /r/programming. | null | 0 | 1316181958 | False | 0 | c2kb1of | t3_kgfhb | null | t1_c2kb1of | t1_c2kaxqp | null | 1427607626 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | s/Unix/GNU/ | null | 0 | 1316181962 | False | 0 | c2kb1ov | t3_kgqnz | null | t1_c2kb1ov | t1_c2kb038 | null | 1427607626 | -2 | t5_2fwo | null | null | null |
True | taogepacs | null | What big kernel lock?
From Wikipedia:
> "Symmetric multiprocessing
NetBSD has had support for SMP since the NetBSD 2.0 release in 2004,[17] which was initially implemented using the giant lock approach. During the development cycle of the NetBSD 5 release, major work was done to improve SMP support; most of the kernel subsystems were modified to be MP safe and use the fine-grained locking approach. New synchronization primitives were implemented and scheduler activations was replaced with a 1:1 threading model in February 2007.[18] A scalable M2 thread scheduler was implemented, though the old 4.4BSD scheduler still remains the default but was modified to scale with SMP. Threaded software interrupts were implemented to improve synchronization. The virtual memory system, memory allocator and trap handling were made MP safe. The file system framework, including the VFS and major file systems were modified to be MP safe. Since April, 2008 the only subsystems running with a giant lock are the network protocols and most device drivers."
Should I also point out that the Linux kernel has only gotten rid of the Big Kernel Lock [extremely](http://webcache.googleusercontent.com/search?q=cache:jipTmEgzMIoJ:www.linux.com/learn/tutorials/447301-whats-new-in-linux-2639-ding-dong-the-big-kernel-lock-is-dead+linux+big+kernel+lock&cd=2&hl=en&ct=clnk) [recently](https://lwn.net/Articles/424657/)
Do you have examples of where NetBSD is actually slow, other than 3D benchmarks? Do you even know what's going on in the -current branch?
Benchmarks will of course be placed under the most intense scrutiny, so hope you're up to the job. Here are some [ruby microbenchmarks](http://linbsd.org:8000/rubybench2011) (*disclaimer: i didn't create this*) to kick things off, and are by no means perfect. Default compilers are used on each OS/Distro. In the case of NetBSD 5.1, that's gcc 4.1. | null | 0 | 1316182030 | False | 0 | c2kb1yn | t3_kejfs | null | t1_c2kb1yn | t1_c2jxq5w | null | 1427607629 | 2 | t5_2fwo | null | null | null |
True | recursive | null | He calculated the continued fraction, not the digital representation. | null | 0 | 1316182042 | False | 0 | c2kb200 | t3_khf6j | null | t1_c2kb200 | t1_c2kaekj | null | 1427607629 | 7 | t5_2fwo | null | null | null |
True | teletran | null | My recommendation was mostly around its strength from being ubiquitous. While hg is a little more "fool-proof", it lacks something as big as GitHub. Additionally, git seems to have a bigger following, so there's a ton more documentation available (not just official docs, but also books and tutorials), and git seems to have better tools available.
Also, the last time I tried (and this might have changed since, I haven't researched it) branching in Hg, I found it quite painful, and I found git's branching to be much simpler to use. | null | 0 | 1316182080 | False | 0 | c2kb257 | t3_khkyd | null | t1_c2kb257 | t1_c2kb13s | null | 1427607630 | 6 | t5_2fwo | null | null | null |
True | undershirt | null | Those analogies you created at a young age are pretty awesome. And that's cool you enjoyed your skills and talents without letting it take over your life. Sounds like you found what's important. Also, your father sounds like Feynman's father. | null | 0 | 1316182126 | False | 0 | c2kb2ay | t3_khf6j | null | t1_c2kb2ay | t1_c2kaan4 | null | 1427607642 | 4 | t5_2fwo | null | null | null |
True | GetsEclectic | null | I think he said it only took 3 hours of computation. | null | 0 | 1316182209 | False | 0 | c2kb2ou | t3_khf6j | null | t1_c2kb2ou | t1_c2ka7oq | null | 1427607637 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | I disagree actually, it's not because you're busy or anything, it's because you physically cannot take in and learn information as fast, you think you can because the change is so gradual. Unless you actually did at a young age teach yourself mass amount of stuff you wouldn't notice the change any way, I personally have noticed a massive change even though I don't "feel" any different. The biggest difference maybe is that it will take me like two or three more times to do something before I actually "learn" it, where as when I was a little kid I could honestly watch it be done once, and remember it next to permanently, even if it was a few months after having seen it. | null | 0 | 1316182293 | False | 0 | c2kb30z | t3_khf6j | null | t1_c2kb30z | t1_c2kardn | null | 1427607641 | 9 | t5_2fwo | null | null | null |
True | sleepydog | null | All of my friends in Vietnam use it heavily. | null | 0 | 1316182327 | False | 0 | c2kb35x | t3_kgsnl | null | t1_c2kb35x | t1_c2k7zi1 | null | 1427607653 | 1 | t5_2fwo | null | null | null |
True | zelf0gale | null | Bitbucket.org
Don't need as much documentation, because it is easier.
TortoiseHg is the only repository specific tool (a GUI) that I've needed. | null | 0 | 1316182372 | False | 0 | c2kb3co | t3_khkyd | null | t1_c2kb3co | t1_c2kb257 | null | 1427607650 | 7 | t5_2fwo | null | null | null |
True | zaxupexolap | null | one word: interest | null | 0 | 1316182383 | False | 0 | c2kb3e8 | t3_khf6j | null | t1_c2kb3e8 | t1_c2k9vws | null | 1427607650 | 2 | t5_2fwo | null | null | null |
True | teletran | null | Certainly there are tools and similar sites for Hg, I didn't mean to imply that. But I don't think BB is anywhere near the scale of GitHub.
Edit: I don't want to imply I think Hg is a bad choice or is a bad tool, but there seems to be much more weight behind git, and I think it's worth learning as it will be encountered more often. Finally, I don't have enough experience with Hg to give it a full recommendation anyway, but I don't think it's a bad tool. | null | 0 | 1316182507 | False | 0 | c2kb3w0 | t3_khkyd | null | t1_c2kb3w0 | t1_c2kb3co | null | 1427607656 | 5 | t5_2fwo | null | null | null |
True | AustinCorgiBart | null | "So I can either use my amazing brain to solve math problems, or get women to sleep with me. Well *that's* a hard choice." | null | 0 | 1316182507 | False | 0 | c2kb3w6 | t3_khf6j | null | t1_c2kb3w6 | t1_c2kad56 | null | 1427607656 | 39 | t5_2fwo | null | null | null |
True | jimbokun | null | From the photograph, I think it's clear that Wolfram secretly cloned himself 13 years ago. | null | 0 | 1316182589 | False | 0 | c2kb48q | t3_khf6j | null | t1_c2kb48q | t3_khf6j | null | 1427607658 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1316182667 | True | 0 | c2kb4ir | t3_khf6j | null | t1_c2kb4ir | t3_khf6j | null | 1427607663 | 1 | t5_2fwo | null | null | null |
True | chrisrico | null | Alternatively, if your logic is correct, I'd rather have no internet and no nuclear weapons. | null | 0 | 1316182847 | False | 0 | c2kb59a | t3_kgbzq | null | t1_c2kb59a | t1_c2kanfy | null | 1427607670 | -1 | t5_2fwo | null | null | null |
True | pseudoopus | null | [slightly relevant](http://abstrusegoose.com/334)
| null | 0 | 1316182962 | False | 0 | c2kb5re | t3_khf6j | null | t1_c2kb5re | t1_c2kad56 | null | 1427607678 | 8 | t5_2fwo | null | null | null |
True | AnythingApplied | null | First of all, just to clarify my solving time equation was just an example... obviously with 1 or 2 rocks the problem is entirely trivial and would take no time at all. With 3 rocks all you have to do is check that the smaller two rocks add up to the largest. Any more and there starts to be a lot of combinations you have to check.
I'll just leave this 10 rock problem here:
60
117
99
72
115
148
81
73
51
148
You can get the sum is 964, so each pile must add to 482.
Let me know if you still think it is easy :-P. Yes, no cutting rocks and no 3rd pile. Can you put these rocks into 2 separate piles of equal weight? (The above numbers being the weight of each rock).
I just randomly generated these numbers, so I don't know if it is possible or not. My intent is not for you to solve it, as I think that would be a pain, especially by hand. I'm just trying to demonstrate that even with a small number like 10, it is not easy. (Well, maybe you can get it by hand, but this at least demonstrates that the more rocks there are the more of a pain this problem would quickly become).
Some such problems are easy. One way I've approched this problem before is by looking at the rocks remainders under a sample of different divisors. The simpliest one to check would be how many rocks are even/odd. If there is only 1 odd rock, for example, you'd be able to jump to the conclusion that it is not possible . Also not possible if there is an odd number of odd rocks (this is the same check as adding up all the rocks and dividing by 2 to see what your target weight is for each pile... obviously if the total isn't even you can't divide by 2). But sometimes, like it my example, this doesn't help (I just went back to check it now). Looking at all the rocks remaining weights when divided by 3 can help too, because you know what remainder of 3 each side in total is going to be, but the higher the divisor you look at the less informative it is (say looking at the divisor of 200 is just the original problem and doesn't help at all). | null | 0 | 1316183026 | True | 0 | c2kb61y | t3_kgfhb | null | t1_c2kb61y | t1_c2k8wb4 | null | 1427607680 | 4 | t5_2fwo | null | null | null |
True | trimalchio-worktime | null | FINALLY, someone with a rational explanation! | null | 0 | 1316183094 | False | 0 | c2kb6d5 | t3_khf6j | null | t1_c2kb6d5 | t1_c2k9zqb | null | 1427607685 | 29 | t5_2fwo | null | null | null |
True | asegura | null | Especially *simple English* wikipedia. | null | 0 | 1316183159 | False | 0 | c2kb6mr | t3_kgfhb | null | t1_c2kb6mr | t1_c2kb1of | null | 1427607687 | 0 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1316183192 | False | 0 | c2kb6sh | t3_kgq62 | null | t1_c2kb6sh | t1_c2kaezk | null | 1427607689 | 1 | t5_2fwo | null | null | null |
True | recursive | null | It is not the 878783625th term. It is a term that's value is 878783625. | null | 0 | 1316183223 | False | 0 | c2kb6xg | t3_khf6j | null | t1_c2kb6xg | t1_c2ka7oq | null | 1427607691 | 2 | t5_2fwo | null | null | null |
True | Svenstaro | null | Heads-up: Oracle removed the license option for distribution redistribution of the Oracle JVM so distributions will no longer be officially offering that. You can still download and use it manually of course. | null | 0 | 1316183298 | False | 0 | c2kb793 | t3_kgq62 | null | t1_c2kb793 | t1_c2k5doc | null | 1427607695 | 7 | t5_2fwo | null | null | null |
True | SuperDuckQ | null | That's pretty neat! If I could offer on item it's is that your top row should be a different color to indicate it is a display and not something the user can interface with. Even though it's the very first thing you said, I still tried clicking on the top left corner first and wondered why nothing was happening. | null | 0 | 1316183304 | False | 0 | c2kb7a9 | t3_khn6y | null | t1_c2kb7a9 | t3_khn6y | null | 1427607695 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1316183306 | False | 0 | c2kb7ak | t3_khf6j | null | t1_c2kb7ak | t1_c2k9xjn | null | 1427607696 | 1 | t5_2fwo | null | null | null |
True | ouistiti | null | I didn't get any sound. Should I?
Firefox 6/Ubuntu 11.04. | null | 0 | 1316183312 | False | 0 | c2kb7bo | t3_khn6y | null | t1_c2kb7bo | t3_khn6y | null | 1427607696 | 7 | t5_2fwo | null | null | null |
True | woah_woah | null | Doesn't work in FF ...
Probably should more clearly define beats since it's inherently 4/4 | null | 0 | 1316183360 | False | 0 | c2kb7j9 | t3_khn6y | null | t1_c2kb7j9 | t3_khn6y | null | 1427607699 | 2 | t5_2fwo | null | null | null |
True | sorry_for_my_sarcasm | null | Gifted children flourish when not subjected to the sluggish pace of typical educational system. They can often display unfathomable feats. This recent post on Mozart's abilities is a prime example. He was 14 when this was accomplished. http://www.reddit.com/r/todayilearned/comments/kgr24/til_there_was_a_song_written_in_the_1630s_that/ | null | 0 | 1316183366 | False | 0 | c2kb7k4 | t3_khf6j | null | t1_c2kb7k4 | t1_c2k9xjn | null | 1427607699 | 4 | t5_2fwo | null | null | null |
True | LiteweightPhenomenal | null | This kid's also managed to write the book on how not to get laid. Incredible | null | 0 | 1316183464 | False | 0 | c2kb7zt | t3_khf6j | null | t1_c2kb7zt | t3_khf6j | null | 1427607706 | -3 | t5_2fwo | null | null | null |
True | dyydvujbxs | null | What mastery? He is reading books and websites about pi and fractals and writing about what he reads. This is pretty popular among the pre/teen math nerd set. Lucky they have computers 1000x as fast as we had as kids.
It took my computer 20 minutes to paint a Mandelbrot set coded in GWBasic.
He is pretty normal math nerd, no doubt with some editing and hardware/software -purchasing auport from dad or mom. | null | 0 | 1316183541 | False | 0 | c2kb8ba | t3_khf6j | null | t1_c2kb8ba | t1_c2k9xjn | null | 1427607709 | 0 | t5_2fwo | null | null | null |
True | ProbablyCanadian | null | That kids a joke. He hasn't even learned to format his blog equations with Latex. What has he been doing with the last 13 years of his life? | null | 0 | 1316183544 | False | 0 | c2kb8bo | t3_khf6j | null | t1_c2kb8bo | t1_c2k9xjn | null | 1427607709 | 23 | t5_2fwo | null | null | null |
True | dmitry_sychov | null | nice concept, but not strictly new - a number of web sites already support this idea.. | null | 0 | 1316183734 | False | 0 | c2kb95m | t3_khjji | null | t1_c2kb95m | t3_khjji | null | 1427607721 | 1 | t5_2fwo | null | null | null |
True | deoxxa | null | Well, it doesn't have to be. In the source, it's very easy to change it to any other time scale. I agree though, the UI needs some attention. | null | 0 | 1316183786 | False | 0 | c2kb9d3 | t3_khn6y | null | t1_c2kb9d3 | t1_c2kb7j9 | null | 1427607724 | 1 | t5_2fwo | null | null | null |
True | deoxxa | null | I haven't tested it in Firefox, only Chrome. It might be that I'm using some Chrome-specific (or even webkit-specific) features. | null | 0 | 1316183795 | False | 0 | c2kb9ez | t3_khn6y | null | t1_c2kb9ez | t1_c2kb7bo | null | 1427607724 | 1 | t5_2fwo | null | null | null |
True | michaelfeathers | null | Nice article. The biggest problem I have with coverage is that sometimes people end up acting like it is the goal. That's one way to end up with very poor tests. | null | 0 | 1316183881 | False | 0 | c2kb9so | t3_khhdj | null | t1_c2kb9so | t3_khhdj | null | 1427607730 | 7 | t5_2fwo | null | null | null |
True | Saivo | null | I hear you. Would like to point out, though, that this particular example is a bit of an edge case. Method declarations / definitions need to be written with relatively low frequency, at least when comparing to the task of writing method contents and other jazz. Of course, perhaps similar arguments could be fielded against my previous example as well. If only someone had the time and energy to objectively estimate the verboseness of the two languages over a vast database of real world use cases!
This seems to have erupted into a flame war. I was not very serious when I vented about Java, which I hoped to convey with the liberal use of hyperbole, although I still stand by the main points made. Java feels so heavy to write, even if I have plenty of experience with that language. Perhaps, as some poster earlier suggested, it has partially to do with the fact that I've been exposed to some nasty frameworks.
Also the C++/Java dichotomy has been taken to a tangent perhaps. The main reason I do C++ code is not that it's very enjoyable or significantly less verbose than Java. Memory allocation, low level control and the general feeling of having total and complete control (however illusionary, it is not as illusionary as with Java) over the software.
If I want to really enjoy programming, and output my thoughts into a prototype with extreme efficiency, I use Python. It's the loveliest little language that I've had the pleasure to know. Granted, I know next to nothing about pure functional programming and haven't had the opportunity/time to experiment with the likes of Haskell, O'Caml etc.
And last but not least: I understand well that Java might be the best choice for some tasks. That's usually the way applying programming languages (should) work: the right tools for the right task.
TL;DR: I wasn't really trying to be bigoted (in hostile sense), although I do admit there might be troll-like qualities in my posts in this thread. And I never claimed to be a good programmer. ;-) | null | 0 | 1316183957 | False | 0 | c2kba4y | t3_kgq62 | null | t1_c2kba4y | t1_c2kax59 | null | 1427607733 | 1 | t5_2fwo | null | null | null |
True | zeroone | null | And where are the rest of the digits? Lazy kid. | null | 0 | 1316184014 | False | 0 | c2kbae4 | t3_khf6j | null | t1_c2kbae4 | t3_khf6j | null | 1427607737 | 4 | t5_2fwo | null | null | null |
True | ddrt | null | Do you know another way? If so please share. | null | 0 | 1316184070 | False | 0 | c2kbanu | t3_khf6j | null | t1_c2kbanu | t1_c2kago1 | null | 1427607740 | 8 | t5_2fwo | null | null | null |
True | Wakasaki_Rocky | null | It's mostly his Dad's work.
| null | 0 | 1316184119 | False | 0 | c2kbaw0 | t3_khf6j | null | t1_c2kbaw0 | t1_c2ka00n | null | 1427607744 | 0 | t5_2fwo | null | null | null |
True | deoxxa | null | And on the third day, SuperDuckQ said "Let there be an indication of the top row being a different UI feature", and so there were numbers. | null | 0 | 1316184144 | False | 0 | c2kbazm | t3_khn6y | null | t1_c2kbazm | t1_c2kb7a9 | null | 1427607745 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | My coworker's theory for why Mexico migrates to non Hispanic countries (with the exception of the US) is the drug trade. I'm not sure if I buy it entirely but it's certainly interesting. | null | 0 | 1316184594 | False | 0 | c2kbcxm | t3_kgjcg | null | t1_c2kbcxm | t1_c2k9uw3 | null | 1428193912 | 0 | t5_2fwo | null | null | null |
True | Brian | null | >They're not missing much. Coding anything substantial and sufficiently original
That's not really the benefit. A lot of the code I write is dirt simple quick scripts to solve an immediate problem. They are trivial, simple, but I've seen people do repetitive tasks over and over every day that could be done with a 5 line script.
*Writing* anything substantial and sufficiently original takes too much time for most people too. How many in our literate society write novels / published articles etc? But being able to write a shopping list is useful too. A similar level of code-literacy would be a great benefit in a society where computers are becoming as ubiquitous as paper.
| null | 0 | 1316184609 | False | 0 | c2kbd08 | t3_kgbzq | null | t1_c2kbd08 | t1_c2k6c87 | null | 1427607772 | 4 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1316184766 | False | 0 | c2kbdr1 | t3_khodg | null | t1_c2kbdr1 | t3_khodg | null | 1427607780 | -2 | t5_2fwo | null | null | null |
True | erictheturtle | null | Wouldn't the VBO have to be re-uploaded to the card every time a block is added/removed? | null | 0 | 1316184832 | False | 0 | c2kbe1v | t3_kgq62 | null | t1_c2kbe1v | t1_c2ka7b9 | null | 1427607785 | 2 | t5_2fwo | null | null | null |
True | [deleted] | null | Unable to connect
Firefox can't establish a connection to the server at www.lessonsoffailure.com. | null | 0 | 1316184943 | False | 0 | c2kbekc | t3_khodg | null | t1_c2kbekc | t3_khodg | null | 1427607798 | 2 | t5_2fwo | null | null | null |
True | OceanSpray | null | Yes. I have, in fact, taken a lot of inspiration from Dr. Shapiro's papers about the motivation for and design of BitC. The main difference: Hammer is pure, and will use monads to control side effects. BitC is not pure, and has a type and effect system. [This thesis](http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.136.3606&rep=rep1&type=pdf) demonstrates that effect systems can be encoded purely within System F, and [this paper](http://www.cs.rutgers.edu/~ccshan/capability/region-io.pdf) supports that claim. I believe that an effect system adds too much complexity to the type system to be worthwhile.
Side note: Hammer is strict, but reserves the right to avoid unnecessary evaluation, even if it ignores a bottom value. | null | 0 | 1316184947 | False | 0 | c2kbel8 | t3_kfvm7 | null | t1_c2kbel8 | t1_c2kaz05 | null | 1427607798 | 2 | t5_2fwo | null | null | null |
True | Saivo | null | I was thinking of going through my old java repositories to find good examples of ridiculousness. But then I started feeling that perhaps things will turn out to be quite even between Java and C++ verbosity-wise, and my experiences would be more tied to the frameworks I've worked with than to Java as a language. Also, I didn't really want to spend the time going through the old codes and tearing open all the painful wounds again. :-)
Also, the discussion on the whole has perhaps become a bit tangential to what my original intent was. The unclear point I tried to make was that, from my personal viewpoint, Java is . If I want to do things efficiently, I use C or C++ (or ASM, but thank god those days seem to be long over). If I want to get something less time-critical done really very quickly, I use Python (possibly with C++ bindings). In my sad little world, writing Java doesn't have much benefits at all, and in fact it is a hindrance. Of course, that is probably largely due to the fact that I'm in a lucky (?) position where I don't have to care much about portability (which is unarguably Java's forte).
On related note, I could say that finding Python really emancipated me as a coder (and this is not to start another flamewar ;-)). Writing it is pure joy. Python enables me to basically convert my thoughts directly into code, without having to worry about a quagmire of syntactical peculiarities.
I agree with what you say about software projects and the proportionate shares of time each aspect of the development process should/will have. Corporate environment and Big Software have their own set of rules, and in the grand scale of things, issues such as excessive verbosity become more and more minor nuisances. However, on my spare time I love to cook up shit with whatever environments/languages fit the bill, and talking from that viewpoint (joy of programming and efficient expression of ideas), Java is far far out of my comfort zone. Even if I know it quite well and can produce reasonable amounts of reasonably tolerable code in reasonable time. | null | 0 | 1316184984 | False | 0 | c2kbeqz | t3_kgq62 | null | t1_c2kbeqz | t1_c2k6oz8 | null | 1427607800 | 1 | t5_2fwo | null | null | null |
True | pnpbios | null | that site is fail | null | 0 | 1316185032 | False | 0 | c2kbeye | t3_khodg | null | t1_c2kbeye | t3_khodg | null | 1427607800 | 8 | t5_2fwo | null | null | null |
True | MatrixFrog | null | You okay? | null | 0 | 1316185141 | False | 0 | c2kbfep | t3_khf6j | null | t1_c2kbfep | t1_c2ka82q | null | 1427607805 | 4 | t5_2fwo | null | null | null |
True | bytesmythe | null | Nice! I'd like to see an "export/import" feature that dumps it as a simple text string so I can save it. Also, a clear button. | null | 0 | 1316185148 | False | 0 | c2kbffm | t3_khn6y | null | t1_c2kbffm | t3_khn6y | null | 1427607805 | 1 | t5_2fwo | null | null | null |
True | axilmar | null | Didn't you see the above link? **the code "public sealed class" is in the C++ example.**
| null | 0 | 1316185171 | False | 0 | c2kbfjz | t3_kgl4f | null | t1_c2kbfjz | t1_c2katdb | null | 1427607815 | 1 | t5_2fwo | null | null | null |
True | axilmar | null | How come, since WinRT requires those non-standard language extensions?
| null | 0 | 1316185210 | False | 0 | c2kbfqg | t3_kewaq | null | t1_c2kbfqg | t1_c2kalo8 | null | 1427607808 | 1 | t5_2fwo | null | null | null |
True | [deleted] | null | [deleted] | null | 0 | 1316185268 | False | 0 | c2kbfzw | t3_khf6j | null | t1_c2kbfzw | t1_c2ka3qp | null | 1427607811 | 2 | t5_2fwo | null | null | null |
True | axilmar | null | No, it's irrelevant, because when you create your own algebraic types, you will have to deal with all the cases.
| null | 0 | 1316185270 | False | 0 | c2kbg06 | t3_kfvm7 | null | t1_c2kbg06 | t1_c2kakwb | null | 1427607811 | 0 | t5_2fwo | null | null | null |
True | axilmar | null | I wasn't talking about exhaustive tests. I was talking about making sure something is not null and then using it after that without checking for null. You can do that and be sure the variable is not null. No difference in practice than the Maybe type.
| null | 0 | 1316185356 | False | 0 | c2kbgep | t3_kfvm7 | null | t1_c2kbgep | t1_c2kaikk | null | 1427607816 | 1 | t5_2fwo | null | null | null |
True | Azzk1kr | null | Money helps ;) | null | 0 | 1316185411 | False | 0 | c2kbgn0 | t3_khf6j | null | t1_c2kbgn0 | t1_c2kbanu | null | 1427607819 | 3 | t5_2fwo | null | null | null |
True | ojiisan | null | same here, on OS X | null | 0 | 1316185420 | False | 0 | c2kbgoh | t3_khn6y | null | t1_c2kbgoh | t1_c2kb7bo | null | 1427607819 | 3 | t5_2fwo | null | null | null |
True | otherwiseguy | null | It takes around [10,000 hours](http://en.wikipedia.org/wiki/Outliers_\(book\)) to become an expert at something. Kids tend to have a lot of free time. At 8 hours a day, that only takes about 3.5 years. Perhaps he enjoys math puzzles more than other things, so he learns instead of playing with GI Joes. | null | 0 | 1316185454 | False | 0 | c2kbgsq | t3_khf6j | null | t1_c2kbgsq | t1_c2k9xjn | null | 1427607821 | 1 | t5_2fwo | null | null | null |
True | Theon | null | Himself? No, that kid is *wolfram/alpha*. | null | 0 | 1316185458 | False | 0 | c2kbgug | t3_khf6j | null | t1_c2kbgug | t1_c2kb48q | null | 1427607821 | 3 | t5_2fwo | null | null | null |
True | brandf | null | MP4 & WMV links for those of you with a Silverlight phobia:
http://video.ch9.ms/build/2011/mp4/816.mp4
http://video.ch9.ms/build/2011/wmv-hq/816-HD.wmv | null | 0 | 1316185497 | False | 0 | c2kbh14 | t3_khosg | null | t1_c2kbh14 | t3_khosg | null | 1427607824 | 1 | t5_2fwo | null | null | null |
True | CylonGlitch | null | The site is struggling under the load right now. I finally did get through, and the article is decent; makes some very valid points. Although the other side is not all roses either. | null | 0 | 1316185567 | False | 0 | c2kbhco | t3_khodg | null | t1_c2kbhco | t3_khodg | null | 1427607829 | -2 | t5_2fwo | null | null | null |
True | thestamp | null | Uhh, Google Adwords. 'nuff said. | null | 0 | 1316185638 | False | 0 | c2kbhoo | t3_kgb4h | null | t1_c2kbhoo | t1_c2k1jn0 | null | 1427607836 | 0 | t5_2fwo | null | null | null |
True | grauenwolf | null | > Initializing fields wastes cycles, which is, I think, why it doesn't do so for locals. Definite assignment analysis will statically ensure that all locals are initialized before use, so this saves redundant initialization.
These two statements are at odds. If you have definite assignment analysis then you know whether or not to auto-initialize the field. | null | 0 | 1316185643 | False | 0 | c2kbhpr | t3_kfvm7 | null | t1_c2kbhpr | t1_c2kb0hn | null | 1427607837 | 0 | t5_2fwo | null | null | null |
True | damg | null | But it's a new service, why not just let people sign up with their Google Apps account if they have never signed up with another one? I think a lot of people use Google Apps for their personal domains and don't actually want to create another fake "personal" account just to use Google Plus. | null | 0 | 1316185866 | False | 0 | c2kbir1 | t3_kgsnl | null | t1_c2kbir1 | t1_c2k8mxi | null | 1427607850 | 1 | t5_2fwo | null | null | null |
True | deoxxa | null | Just tested it in FF6 on OS X and all seems well apart from the wood block sound... | null | 0 | 1316185880 | False | 0 | c2kbitn | t3_khn6y | null | t1_c2kbitn | t1_c2kb7j9 | null | 1427607852 | 1 | t5_2fwo | null | null | null |
True | EntroperZero | null | VBOs can run in static mode (uploaded to GPU once and never changed), dynamic mode (uploaded to GPU, but you can reupload a subset or the whole buffer at any time), and stream mode (streamed from main memory every frame). Most blocks don't change that often, so dynamic sounds good to me, but stream would probably still be significantly faster than immediate mode, and might be easier to use. | null | 0 | 1316185932 | False | 0 | c2kbj2s | t3_kgq62 | null | t1_c2kbj2s | t1_c2kbe1v | null | 1427607863 | 9 | t5_2fwo | null | null | null |
True | grauenwolf | null | Yea, TLB. | null | 0 | 1316185940 | False | 0 | c2kbj43 | t3_kgl4f | null | t1_c2kbj43 | t1_c2k7v45 | null | 1427607863 | 2 | t5_2fwo | null | null | null |
True | SuperDuckQ | null | Based on the content and the title of the link itself, I think this might be better fodder for /r/learnprogramming. | null | 0 | 1316186069 | False | 0 | c2kbjqm | t3_kho3i | null | t1_c2kbjqm | t3_kho3i | null | 1427607866 | 2 | t5_2fwo | null | null | null |
True | jared84lsu | null | fair enough...for some reason, though, that particular line really annoys me. | null | 0 | 1316186255 | False | 0 | c2kbknl | t3_kgbzq | null | t1_c2kbknl | t1_c2kanbt | null | 1427607873 | 2 | t5_2fwo | null | null | null |
True | deoxxa | null | I'm going to have to rewrite the guts of it (it's little more than a proof of concept right now) to do that, but it's definitely on the list of things to do. Following that, I'm thinking I'll throw Node.JS and MongoDB at it to make it persistent and enable other samples to be uploaded, then get some Socket.IO magic happening to make it multiplayer. I plan on wasting thousands of hours of other people's work time via this toy. | null | 0 | 1316186282 | False | 0 | c2kbksx | t3_khn6y | null | t1_c2kbksx | t1_c2kbffm | null | 1427607875 | 1 | t5_2fwo | null | null | null |
True | arood | null | Indeed. There was already third-party APIs for this kind of stuff. I want posting so someone can port Selective Tweets from Facebook. That's all I'm missing. | null | 0 | 1316186473 | False | 0 | c2kblqc | t3_kgsnl | null | t1_c2kblqc | t1_c2k66sp | null | 1427607886 | 1 | t5_2fwo | null | null | null |
True | SciK | null | Konqueror:
> The server failed the authenticity check (<host name\>).
>
> <cause\>
>
> [Details] [Continue] [Cancel]
→ Continue
> Would you like to accept this certificate forever without being prompted?
> [Forever] [Current Session only]
Done. | null | 0 | 1316186535 | False | 0 | c2kbm1c | t3_kgqxt | null | t1_c2kbm1c | t1_c2kacy1 | null | 1427607890 | 4 | t5_2fwo | null | null | null |
True | bytesmythe | null | I can see it now. The ability to add extra lines for various instruments/notes/chords, lengthen the block, emphasis beats, variable time signatures, sustained sounds, export to midi... ;)
> I plan on wasting thousands of hours of other people's work time via this toy.
You magnificent bastard. | null | 0 | 1316186854 | False | 0 | c2kbnkg | t3_khn6y | null | t1_c2kbnkg | t1_c2kbksx | null | 1427607919 | 1 | t5_2fwo | null | null | null |
True | ethraax | null | Yes, it's in the **C++/CLI** example. | null | 0 | 1316186948 | False | 0 | c2kbo16 | t3_kgl4f | null | t1_c2kbo16 | t1_c2kbfjz | null | 1427607925 | 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.