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
Cintax
null
Ha! Within like a minute of looking at the page, I called over our UX designer and showed it to her, lol
null
0
1316462941
False
0
c2l1zvi
t3_kketr
null
t1_c2l1zvi
t1_c2l088a
null
1427620590
2
t5_2fwo
null
null
null
True
MachinShin2006
null
that sounds a lot like a std::deque?
null
0
1316462964
False
0
c2l1zzz
t3_kf43e
null
t1_c2l1zzz
t1_c2jxg33
null
1427620592
1
t5_2fwo
null
null
null
True
zolti_architect
null
Where do they copy all that shit from?
null
0
1316462970
False
0
c2l200x
t3_kks9l
null
t1_c2l200x
t3_kks9l
null
1427620593
-5
t5_2fwo
null
null
null
True
clowderofsoldiers
null
They interpreted the stats as "what do developers prefer" rather than "what do developers talk more about on stackoverflow."
null
0
1316463161
False
0
c2l20wp
t3_kkp4z
null
t1_c2l20wp
t1_c2l1nia
null
1427620604
9
t5_2fwo
null
null
null
True
[deleted]
null
It very clearly labels the graph as "popularity". The only time the word "prefer" even appears in the article it has an asterisk which directs the reader to those note: > *obviously this line is in jest – but we do still think this is a pretty good approximation and insight into how the usage of various technologies has evolved So as I originally suspected, this is indeed because somebody was butthurt.
null
0
1316463343
False
0
c2l21t2
t3_kkp4z
null
t1_c2l21t2
t1_c2l20wp
null
1427620617
-3
t5_2fwo
null
null
null
True
theresistor
null
Here's a the [original message](http://lists.cs.uiuc.edu/pipermail/llvmdev/2011-April/039824.html) from when he enabled the new register allocator. He quotes the following execution time measurements: Targeting i386: -19.3% 164.gzip -12.5% 433.milc -8.8% 473.astar -7.4% 401.bzip2 -6.4% 183.equake -4.9% 456.hmmer -4.6% 186.crafty -4.6% 188.ammp -4.1% 403.gcc -4.0% 256.bzip2 -3.2% 197.parser -3.1% 175.vpr -3.0% 464.h264ref +6.7% 177.mesa Targeting x86-64: -6.4% 464.h264ref -6.1% 256.bzip2 -5.2% 183.equake -4.8% 447.dealII -3.9% 400.perlbench -3.5% 401.bzip2 -3.3% 255.vortex +3.8% 186.crafty +5.0% 462.libquantum +8.0% 471.omnetpp Targeting armv7: -6.2% 447.dealII -4.4% 183.equake -4.1% 462.libquantum -3.5% 401.bzip2 And code size improvements: i386: -1.2% x86-64: -1.6% armv7: -2.3%
null
0
1316463355
False
0
c2l21wd
t3_kkfbs
null
t1_c2l21wd
t1_c2l12m5
null
1427620620
15
t5_2fwo
null
null
null
True
s73v3r
null
>Does the Free Software movement and the related Creative Commons community not demonstrate the fallacy in that line of thinking? Someone will decide the information should be public knowledge, eventually. I have faith that it will always happen at some point. Not in the least. Just because for some things the reverse engineer decides to make things public does not mean that this is for all things. And you just showed how invalid your argument is, as you said it relied on your faith that it will happen. >In the case of Coke, I confess I'm impressed that they've held on to the secret so long, but chemical analysis is advancing by leaps and bounds - eventually it won't be a secret, as someone will gleefully announce that they've tracked down the balance of flavorings, and probably publish it as an academic paper. I'm of the belief that the academic mindset of shared public knowledge will win out as technology advances. And how much time and effort will that take? What better advances could that time and effort be spent on if they could build upon that discovery being public (Note I'm talking about things you want to make trade secret that would have been patented before, not Coke itself here. I don't think there would be a lot of useful advances if we knew the secret to Coke). And in terms of Coke, that secret has been kept for at least 100 years. Suppose several of the other huge patented discoveries had been kept secret for that long. Do you honestly think we'd be at the level of technology we're at if all those patents, instead of expiring in 28 years, would have been kept secret for decades, or even centuries? >And this is a strong case for patents in the past. I believe modern technology obsoletes this notion. Communication is more easily shared, and information is more easily collated. Often key inventions rely on a few small key pieces of knowledge - once that knowledge is exposed in an environment where information is easily brought together, the puzzle can be assembled and the Public will have the larger picture. I do not. I strongly believe that without patents, most discoveries would simply be locked up in these trade secrets, making it far harder to progress. I do not share the same faith that you do that most people will share their discoveries out of the goodness of their hearts. I believe going down your path will cause the vast amount of technological progress to be locked up in these secrets, causing extreme stagnation as people are stuck trying to recreate these discoveries instead of building on them. >How does it give them incentive to create? Presumably it does so by offering a monopoly. But is that the only incentive? Absolutely not. It's an archaic mechanism to force disclosure of inventions by providing an incentive to create a patent. It's definitely not the only incentive, but it is definitely a huge one, and for you to ignore that is laughable. >Again, I don't believe forced disclosure is needed. And since monopolies aren't the only incentive to invent, I fail to see the current need for patents. Without forced disclosure, either many of the discoveries simply aren't made public, or your forcing others to duplicate work, with absolutely no guarantee that their duplication efforts will be public either. So it's quite possible this duplication of effort would happen 3 or 4 times or more before someone with an interest in making it public does it. How much better could these teams have spent their resources if they didn't have to keep duplicating things? >People will invent to meet their own needs. If they have a problem, they solve it, and that is invention. Patents then are only an incentive to disclose, not an incentive to market or to invent. That's the fucking point. Patents give an incentive to give your knowledge back to the public after a short time. Without them, most entities will not do so, and that knowledge will have a far, far, far harder time making its way to the public, and will require a reallocation of resources that could have been better spent building on that discovery rather than trying to reverse engineer it. >I don't understand where this idea came from, but it's clearly mistaken. That's your opinion, and history shows it not to be a correct one. >And then when someone independently comes up with the same idea, they're penalized, prices rise, and everyone loses until the patent expires. That's the tradeoff. However, under the patent system, those discoveries make their way into the public for all to use. Under your system, most of those discoveries would be locked away, and require intense duplication of effort in order to bring them to someone else, with no guarantee they would ever be brought to the public. >In a world where invention takes place rapidly and iteratively; and where communication is cheap and nearly instantaneous; and where data collection, collation, and storage is virtually effortless; monopoly protections only serve to raise prices while everything is held stagnant and development of ideas is forced to take a more inefficient path, patents are only serving to get in the way. No no no no no. I cannot agree with this in the slightest. Communication being cheap has absolutely nothing to do with the fact that trade secrets can keep something locked up without requirement of disclosure. Patents give an incentive to disclose inventions and discoveries, in a way that others can build on them. Your system would give incentive to keep those discoveries tightly hidden, so that no one can see them.
null
0
1316463457
False
0
c2l22e7
t3_khvyw
null
t1_c2l22e7
t1_c2l1jsh
null
1427620635
1
t5_2fwo
null
null
null
True
wadcann
null
>strange, my Firefox has "Coding: UTF-8" but it does not show the cactus @_@ Choosing a particular encoding doesn't magically make your font have every Unicode glyph. I have DejaVu Sans set as the default font in Firefox on Ubuntu, and I can't see 💩 or /🌵. If you have a font installed that has that glyph and you choose it, then you should be able to see it.
null
0
1316463558
False
0
c2l22w3
t3_kicbo
null
t1_c2l22w3
t1_c2kl1ol
null
1427620635
1
t5_2fwo
null
null
null
True
rDr4g0n
null
Cool, I appreciate the insight. I've actually just now run into places where I've had to review my code and say "how can I make this faster?". I wrote a recursive tree-building kinda function and it hangs the browser when it's building a big tree, so I looked into possible ways to improve it. It was simple enough that there wasn't really much I could do (from what I found) aside from removing an unnecessary jQuery call (a string is a string lawl). I did, however, discover that adding a short setTimeout can give the browser a sec to breathe lol
null
0
1316463591
False
0
c2l2323
t3_kketr
null
t1_c2l2323
t1_c2l1n5h
null
1427620637
2
t5_2fwo
null
null
null
True
rawlyn
null
Well done for not providing a link.
null
0
1316463623
False
0
c2l237o
t3_kktlo
null
t1_c2l237o
t3_kktlo
null
1427620637
-1
t5_2fwo
null
null
null
True
wadcann
null
>That's something Apple decided to do I'll bet that breaks a ton of string-rendering things around the world that accept arbitrary remote user input and expect the internal renderer to produce black-and-white output.
null
0
1316463672
False
0
c2l23gb
t3_kicbo
null
t1_c2l23gb
t1_c2klr12
null
1427620640
1
t5_2fwo
null
null
null
True
wadcann
null
I guarantee that Unicode will never be a superset of all dingbat fonts.
null
0
1316463709
False
0
c2l23md
t3_kicbo
null
t1_c2l23md
t1_c2kmi09
null
1427620641
1
t5_2fwo
null
null
null
True
[deleted]
null
http://en.wikipedia.org/wiki/Fallacies_of_Distributed_Computing The fallacies are summarized as follows: The network is reliable. Latency is zero. Bandwidth is infinite. The network is secure. Topology doesn't change. There is one administrator. Transport cost is zero. The network is homogeneous. -- Plan 9 from Bell-Labs does a pretty good job on IBM's Blue-Gene
null
0
1316463781
False
0
c2l23zd
t3_kkt1r
null
t1_c2l23zd
t3_kkt1r
null
1427620644
3
t5_2fwo
null
null
null
True
Bipolarruledout
null
http://en.wikipedia.org/wiki/Plan_9_from_Bell_Labs
null
0
1316463792
False
0
c2l2416
t3_kkt1r
null
t1_c2l2416
t3_kkt1r
null
1427620644
1
t5_2fwo
null
null
null
True
Iggyhopper
null
What if you had to prepare something for a certain type? foo.f() is a given, but what about foo.x, foo.a(), or something else? You wouldn't know and doing `if (foo.x) x;` for each property IMO is not clean. What about restricting types? differentiating type[] vs type?
null
0
1316463798
True
0
c2l2425
t3_kkbpe
null
t1_c2l2425
t1_c2l002d
null
1427620646
1
t5_2fwo
null
null
null
True
subsetr
null
Taking this example directly from the article, in which you use another anonymous function to capture each value of i in it's own closure: for(var i=0;i<100;i++) { function(e){ var timerId = setTimeout(function() { myFunction(e); }, 1000); }(i); }
null
0
1316463894
False
0
c2l24iv
t3_kketr
null
t1_c2l24iv
t1_c2l1vh7
null
1427620651
1
t5_2fwo
null
null
null
True
a_redditor
null
Please post stuff like this in /r/learnprogramming. /r/programming has self posts disabled for a reason. From the sidebar: >/r/programming is not a place to ask for help, run polls, rant, demo your app (unless your demo includes code or architecture discussion), or otherwise use as a captive audience. For that try /r/learnprogramming or StackOverflow.
null
0
1316463985
False
0
c2l24zc
t3_kkod0
null
t1_c2l24zc
t3_kkod0
null
1427620658
3
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1316464086
False
0
c2l25gl
t3_kkegr
null
t1_c2l25gl
t1_c2l11ho
null
1427620665
1
t5_2fwo
null
null
null
True
mirkec
null
What do you think of teaching kids programming?
null
0
1316464177
False
0
c2l25ur
t3_kku2q
null
t1_c2l25ur
t3_kku2q
null
1427620670
1
t5_2fwo
null
null
null
True
mungdiboo
null
Computers are complicated on the inside. You should let adults use them, so you don't break them. Would you like some cookies and milk?
null
0
1316464177
False
0
c2l25ut
t3_kkod0
null
t1_c2l25ut
t3_kkod0
null
1427620670
2
t5_2fwo
null
null
null
True
rsynnott
null
> Did iOS 4 solve a ton of the development challenges from previous releases? Yes, as it happens. There's still a long way to go, but the tools in particular are less broken than they were back in the day (barring the rather jarring shift to XCode 4). There should be fewer "argh, why did a minor SDK version bump break all my existing projects" posts these days. EDIT: One other aspect; iOS developers are not allowed ask questions about developer-only betas in public forums; such questions are restricted to Apple's forums, private mailing lists etc, at least in theory. When people do post on StackOverflow about betas, you tend to see this sort of thing: http://stackoverflow.com/questions/7474340/uipickerview-error-in-ios-5 . This has two effects; little talk about betas (and many developers will be working primarily with the betas), and from necessity there's a strong community on Apple's private (and public) forums; by contrast, Google points people first toward StackOverflow, then towards this relatively low-traffic Google Group: http://groups.google.com/group/android-developers?pli=1 This may explain the jump in June 2010, for instance; iOS 4 had just been released, so could be publicly discussed in depth. There's a corresponding one in June 2009, for iOS 3. It will be interesting to see if there's a similar jump for iOS 5 next month. So, these numbers are vaguely interesting, but don't really tell you much about the popularity of Android vs iOS development.
null
0
1316464185
True
0
c2l25we
t3_kkp4z
null
t1_c2l25we
t1_c2l0zsh
null
1427620671
18
t5_2fwo
null
null
null
True
mangodrunk
null
I was tempted to write something similar as well. I find it incredible that anyone would upvote such a thing without any evidence whatsoever (not to mention it had nothing to do with the post). I don't condone character assassination, especially when it's from an anonymous source with no credibility and with no evidence.
null
0
1316464237
False
0
c2l2644
t3_kk1hp
null
t1_c2l2644
t1_c2kz5gs
null
1427620673
2
t5_2fwo
null
null
null
True
midri
null
That's roughly how mine does it, I added a bit of flavor to make it a bit more Object Oriented, and have a bit more flexable usage. I use it with jQuery a lot so being able to pass "this" of dom objects is kind of nice, I enjoy being able to stay in context, even though I'm executing later.
null
0
1316464272
False
0
c2l2694
t3_kketr
null
t1_c2l2694
t1_c2l24iv
null
1428193695
3
t5_2fwo
null
null
null
True
Bipolarruledout
null
These are only fallacies if you don't actually *understand* the limitations of such technology. Some can be overcome and some aren't that relevant to the application. No technology is a panacea but engineering your infrastructure in a granular fashion greatly increases scale-ability. Google is a prime example. While most of their services aren't anywhere near as popular as search they are designed to scale. The argument against this is that you may never *need* to scale an application in which case quick, more basic solutions could be more cost effective.
null
0
1316464323
False
0
c2l26hd
t3_kkt1r
null
t1_c2l26hd
t1_c2l23zd
null
1428193695
1
t5_2fwo
null
null
null
True
Lerc
null
Making a VM instruction set isn't difficult. Making an instruction set that runs fast on all architectures is only slightly difficult. Getting people to agree on the instruction set? nigh on impossible. The way it usually works is someone presents a working solution and it becomes a standard though inertia, warts and all. This is what Google is aiming for with NativeClient. The main thing that I would hope for in a VM is that it remain lower level than things like the JVM. I don't want objects and garbage collection at the VM level. A good instruction set with a memory range to use can provide all that (our computers do it that way already).
null
0
1316464522
True
0
c2l27b9
t3_kketr
null
t1_c2l27b9
t1_c2l03bv
null
1427620690
3
t5_2fwo
null
null
null
True
a_redditor
null
>Just because it has a computer in it doesn't make it programming. From the sidebar.
null
0
1316464614
False
0
c2l27rd
t3_kkfi5
null
t1_c2l27rd
t3_kkfi5
null
1427620695
1
t5_2fwo
null
null
null
True
aberant
null
well, time to shut down the internet then since it's entire purpose was to teach you javascript. job well done boys.
null
0
1316464709
False
0
c2l2883
t3_kketr
null
t1_c2l2883
t1_c2l0gcf
null
1427620700
-12
t5_2fwo
null
null
null
True
rmxz
null
> It was basically a demo were he took an existing silverlight app and built it on Windows 8 without making any changes. Showing it was compatible with Windows 8. So kinda like what configure does in "make distclean; ./configure; make install"? I'd hope that'd work, no? I thought it makes news when Microsoft makes it *stop* working like VB6/"Visual Fred".
null
0
1316464753
False
0
c2l28dp
t3_kip3s
null
t1_c2l28dp
t1_c2l1cvl
null
1427620702
1
t5_2fwo
null
null
null
True
toofishes
null
This is always a touchy subject, but I'd love to see how this compares to recent gcc builds of these same programs.
null
0
1316464823
False
0
c2l28tg
t3_kkfbs
null
t1_c2l28tg
t1_c2l21wd
null
1427620708
6
t5_2fwo
null
null
null
True
rsynnott
null
Well, Apple, who's the major Clang contributor, sort of _did_; C blocks are not in standard C; they're supported by standard Clang, but not on mainline GCC (only on Apple's branch). There was talk of adding blocks to mainline, and some muttering about making them part of a future C standard, but nothing's come of either so far. EDIT: Here's the relevant standards submission: http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1370.pdf
null
0
1316465080
True
0
c2l2a2m
t3_kk7c6
null
t1_c2l2a2m
t1_c2l0vrb
null
1427620725
5
t5_2fwo
null
null
null
True
acecool
null
"Effective C++" has been a classic intermediate C++ text for about 20 years, its a "best practices" book that goes through all the features of C++ and shows how best to use them. But what I was thinking was something more like Alexandrescu's "Modern C++ Design" book. This book is so advanced that professional C++ programmers with years of experience find the techniques to be of only "theoretical" value. Some one needs to tone down the material in a book like that so beginners can understand and use it.
null
0
1316465109
False
0
c2l2a7r
t3_kjja4
null
t1_c2l2a7r
t1_c2ky7tw
null
1427620727
0
t5_2fwo
null
null
null
True
asegura
null
[Harmony classes](http://wiki.ecmascript.org/doku.php?id=harmony:classes) come to the rescue... sometime :-) The example in that page tells it well. When you write: function Car() { this.wheels = 4; }; Car.prototype = new Vehicle; Car.prototype.constructor = Car; Car.prototype.startEngine = function() {...}; Car.prototype.move = function() {...}; the interpreter will not know (since there are no classes in JS), but you and I know you are in fact creating a class (or at least intend to). And in a quite awkward way.
null
0
1316465185
False
0
c2l2aky
t3_kketr
null
t1_c2l2aky
t1_c2kz5hy
null
1427620731
1
t5_2fwo
null
null
null
True
[deleted]
null
So the guy points out he'd buy an Android phone and has an issue with their graph which doesn't really prove anything and you think it's a case of butt hurt? It sounds like you're the fanboy who can't handle the fact the graph is pretty useless. It may prove there are more developers moving to Android or it may prove that the Android platform is a PITA and people need much more help for it. Which is it? We wouldn't know without reviewing all the questions posted on stackoverflow which no one could really be bothered to do hence the reason they're only giving a very ambiguous graph that doesn't mean a whole hell of a lot.
null
0
1316465592
False
0
c2l2ckk
t3_kkp4z
null
t1_c2l2ckk
t1_c2l21t2
null
1427620757
8
t5_2fwo
null
null
null
True
[deleted]
null
Likewise Apple does have much better support and you can get help from professionals at Apple where as Android you're on your own and even Google point you to Stackoverflow rather than giving you access to their internal knowledge. I very much prefer open source software which is why I use Linux at home and at work but I don't really like how Google goes about it. They seem to think being open source makes it ok that their support is typically appalling. Have nothing more than a message board for support for nearly all their products is a bit a shit. They give open source a bad name by doing that, imo.
null
0
1316465781
False
0
c2l2dh0
t3_kkp4z
null
t1_c2l2dh0
t1_c2l11vl
null
1427620768
2
t5_2fwo
null
null
null
True
kibakiri
null
http://google-styleguide.googlecode.com/svn/trunk/javascriptguide.xml?showone=for-in_loop#for-in_loop Google, god of the internet, couldn't be wrong.
null
0
1316465846
False
0
c2l2dtr
t3_kketr
null
t1_c2l2dtr
t1_c2l2694
null
1427620773
2
t5_2fwo
null
null
null
True
day_cq
null
I think it's DHTML. you can do all sorts of amazing things like snowy background and trailing mouse pointer unicorns with DHTML.
null
0
1316465848
False
0
c2l2du6
t3_kketr
null
t1_c2l2du6
t1_c2l088a
null
1427620773
30
t5_2fwo
null
null
null
True
atomic1fire
null
plus it's multiplatform. The same game could be made with native client, and run in mac, linux and windows. as opposed to insert random F2P game here made for windows with a browser plugin that only supports internet explorer, and firefox if you are lucky.
null
0
1316465849
False
0
c2l2dub
t3_kitgf
null
t1_c2l2dub
t1_c2kpzla
null
1427620773
1
t5_2fwo
null
null
null
True
[deleted]
null
The problem with looking at operating system market penetration is that the number of people doing development on Windows is a tiny sliver compared to the over all market. Linux, on the other hand, probably has a much higher percentage of development being done in by virtue of not being popular at all with casual users so there is a good change the number of developers on each OS could be a lot closer than you think even though I would imagine that windows would still come out on top.
null
0
1316466011
False
0
c2l2ens
t3_kkp4z
null
t1_c2l2ens
t1_c2l1eld
null
1427620784
4
t5_2fwo
null
null
null
True
MarshallBanana
null
There are plenty of pragmatic reasons to use C. You might even write all the parts of your code that interfaces WinRT in C++, but still have a large codebase that is in C99 for some reason or other.
null
0
1316466097
False
0
c2l2f2t
t3_kk7c6
null
t1_c2l2f2t
t1_c2l1u6h
null
1427620790
1
t5_2fwo
null
null
null
True
theresistor
null
Making good benchmark comparisons is hard. You need expertise in both compilers you're using to make sure that they're both properly configured AND equivalently configured, as well as enough knowledge to choose and interpret the benchmarks themselves. Very few people have all of the above, and time to spare doing it.
null
0
1316466203
False
0
c2l2fl4
t3_kkfbs
null
t1_c2l2fl4
t1_c2l28tg
null
1427620796
6
t5_2fwo
null
null
null
True
[deleted]
null
Yeah, the first part was pretty useless since Silverlight is "cross-platform" or at least "cross-Windows". One would think it could run on the new Windows.
null
0
1316466246
False
0
c2l2fqx
t3_kip3s
null
t1_c2l2fqx
t1_c2l28dp
null
1427620798
1
t5_2fwo
null
null
null
True
mhd
null
And then you just need to write a tiny APL interpreter in FORTH…
null
0
1316466247
False
0
c2l2frp
t3_kkegr
null
t1_c2l2frp
t1_c2l11ho
null
1427620800
4
t5_2fwo
null
null
null
True
greyfade
null
Then we disagree.
null
0
1316466282
False
0
c2l2fzs
t3_khvyw
null
t1_c2l2fzs
t1_c2l22e7
null
1427620804
1
t5_2fwo
null
null
null
True
electronics-engineer
null
>If you're that pressed for space, wouldn't dropping down to assembly be a better choice? No. In many cases FORTH beats assembler (the kind you actually get from humans, not a demo program from a human pretending to be an extra-smart FORTH compiler) in program size. http://www.complang.tuwien.ac.at/anton/euroforth/ef99/ertl99.pdf
null
0
1316466434
False
0
c2l2gmu
t3_kkegr
null
t1_c2l2gmu
t1_c2l0t4i
null
1427620811
4
t5_2fwo
null
null
null
True
acecool
null
Let me make clear what the difference between these two books if I havent all ready: Scott Meyer's book is about how best to use each of the features of C++. Alexandrescu's book is how to approach programming problems in C++ and to design the best solutions using C++'s most advanced features.
null
0
1316466581
False
0
c2l2hd2
t3_kjja4
null
t1_c2l2hd2
t1_c2l2a7r
null
1427620820
0
t5_2fwo
null
null
null
True
[deleted]
null
>In fact, GCC is more creative, sometimes: >ADDRESS OPCODES add $0xFFFFFF84,%esp >...so the stack pointer is decreased via an 'add' instruction, which adds a negative value. Go figure :-) I wonder if it is a space optimization as mentionned by Ken Silverman: >It's a space optimization. Sometimes shorter code leads to faster code because it frees up more space in the code cache. The trick is: -128 fits in a signed char; +128 does not. Here are some examples, along with their x86 machine code representation: sub eax,+128 2D 80 00 00 00 add eax,-128 83 C0 80 sub ebx,+128 81 EB 80 00 00 00 add ebx,-128 83 C3 80 http://advsys.net/ken/add-128.htm
null
0
1316466617
False
0
c2l2hja
t3_kkih6
null
t1_c2l2hja
t3_kkih6
null
1427620821
6
t5_2fwo
null
null
null
True
skew
null
Ever is a long time. Reactive programming seems to work for some GUIs.
null
0
1316466641
False
0
c2l2hnd
t3_kjkxj
null
t1_c2l2hnd
t1_c2kys1w
null
1427620823
1
t5_2fwo
null
null
null
True
benemal
null
Isn't "developer-friendly" the entire *point* of an API?
null
0
1316466791
False
0
c2l2id5
t3_kkfsg
null
t1_c2l2id5
t3_kkfsg
null
1427620833
3
t5_2fwo
null
null
null
True
specialk16
null
90%? I'd like to see your figures on that buddy.
null
0
1316466939
False
0
c2l2j2l
t3_kkp4z
null
t1_c2l2j2l
t1_c2l1og3
null
1427620842
6
t5_2fwo
null
null
null
True
ErrorX
null
Click the title like everything else on this website? Edit: [But for those of you can't seem to comprehend that concept](http://lolcode.com/examples/little-number)
null
0
1316466988
False
0
c2l2jb2
t3_kktlo
null
t1_c2l2jb2
t1_c2l237o
null
1427620845
1
t5_2fwo
null
null
null
True
doomslice
null
Is there data to back up this claim? :)
null
0
1316467022
False
0
c2l2jh7
t3_kkp4z
null
t1_c2l2jh7
t1_c2l2ens
null
1427620848
0
t5_2fwo
null
null
null
True
sidcool1234
null
Reddit, why you no love Research Papers?
null
0
1316467256
False
0
c2l2kg9
t3_kks9l
null
t1_c2l2kg9
t3_kks9l
null
1427620861
1
t5_2fwo
null
null
null
True
barrelofsimians
null
Mmm ladies love virtual machine 3.0
null
0
1316467706
False
0
c2l2mh5
t3_kkfbs
null
t1_c2l2mh5
t3_kkfbs
null
1427620886
-6
t5_2fwo
null
null
null
True
[deleted]
null
Someone must be at Strangeloop as well!
null
0
1316467808
False
0
c2l2n1v
t3_kks00
null
t1_c2l2n1v
t3_kks00
null
1427620894
3
t5_2fwo
null
null
null
True
FaustTheBird
null
Car is not a class, it's a function. That's my point. No one would ever say they're creating a "class" in C just because they created a struct and then made a whole bunch of functions that take the struct as an argument. So why is it OK for people to say things like "this is a javascript class" when it's not a class at all? It's not just unspecific, it's wrong. And because it's wrong, it prevents people from understanding what's actually going on and therefore gets in the way of them learning and doing interesting things with the technology. Accuracy isn't a convention.
null
0
1316467810
False
0
c2l2n2f
t3_kketr
null
t1_c2l2n2f
t1_c2l2aky
null
1427620894
0
t5_2fwo
null
null
null
True
leonardo_m
null
Use a limit higher than 25 for a bit harder puzzle.
null
0
1316467840
False
0
c2l2n7d
t3_kkw3d
null
t1_c2l2n7d
t3_kkw3d
null
1427620895
1
t5_2fwo
null
null
null
True
tnecniv
null
What is Forth used for these days?
null
0
1316467991
False
0
c2l2nz2
t3_kkegr
null
t1_c2l2nz2
t3_kkegr
null
1427620911
4
t5_2fwo
null
null
null
True
C0unt_Z3r0
null
This hurts my head.
null
0
1316468060
False
0
c2l2ob1
t3_kktlo
null
t1_c2l2ob1
t3_kktlo
null
1427620911
1
t5_2fwo
null
null
null
True
tnecniv
null
What microcontrollers use Forth these days? From my limited experience, all the ones I have seen are programmed in C.
null
0
1316468062
False
0
c2l2obo
t3_kkegr
null
t1_c2l2obo
t1_c2l0qsn
null
1427620911
3
t5_2fwo
null
null
null
True
[deleted]
null
Of course not. But then again even the link to the usage share of operating systems isn't going to be accurate either as it only counts people who have been to sites that happen to use those stat counters. It won't ever count, for example, my server, because I don't browse the web with it. But it's not that hard to figure out most Windows users won't be developers. Even with Android only just coming out on top it's still very comparable to iOS which requires a Mac. Given the market share difference between Windows and Mac then you can only assume there is a very similar proportion of mobile developers using OS X rather than windows form their stats. You can even subtract some users from the windows category because Android development can be done on OS X and Linux too. So in regards to their stats you could make a fairly safe bet that there are more mobile developers with OS X than windows. Linux by its very nature is more developer oriented given that its open source. Super computing is dominated by Linux and Linux is pretty big on embedded systems. So again there is no way to no for certain but given it's much smaller (and more likely more homogenous) user based there is a pretty good chance the slice of the Linux market that does development will be much higher than on windows. Likewise as OS X popularity grows a smaller proportion of their users will be developers because most people simply aren't developers.
null
0
1316468283
False
0
c2l2pfv
t3_kkp4z
null
t1_c2l2pfv
t1_c2l2jh7
null
1427620926
-1
t5_2fwo
null
null
null
True
SoBoredAtWork
null
Awesome! Thanks.
null
0
1316468299
False
0
c2l2pim
t3_kketr
null
t1_c2l2pim
t1_c2l149o
null
1427620926
1
t5_2fwo
null
null
null
True
[deleted]
null
Yes, right, but then my second point still stands: if you use some C99 code, you probably can use Mingw to target WinRT, and you are entering a world of pain anyway if you have a mixed C99/C++ project.
null
0
1316468448
False
0
c2l2q80
t3_kk7c6
null
t1_c2l2q80
t1_c2l2f2t
null
1427620936
0
t5_2fwo
null
null
null
True
SoBoredAtWork
null
Thought of that, but I figured it would render terribly on the thing. Someone already created a good one though... [link](http://www.reddit.com/r/programming/comments/kketr/javascript_garden_a_must_read_for_all_javascript/c2l0a8k)
null
0
1316468454
False
0
c2l2q8x
t3_kketr
null
t1_c2l2q8x
t1_c2l0xj4
null
1427620936
1
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1316468574
False
0
c2l2qtl
t3_kkp4z
null
t1_c2l2qtl
t1_c2l1dwg
null
1427620943
0
t5_2fwo
null
null
null
True
Peaker
null
He wrote that he found a lambda calculus shortcut that his professor didn't, and that the professor thus gave him a C for all of his work out of spite. That an appeal raised it to A. I asked what the shortcut was. I don't remember his nick.
null
0
1316468694
False
0
c2l2rdm
t3_kk1hp
null
t1_c2l2rdm
t1_c2l1e7a
null
1427620951
1
t5_2fwo
null
null
null
True
bonefry
null
> On the other hand, the purpose of research or any other academic endeavour is to build the body of knowledge, increase the state of the art and foster a climate of more "shoulders of giants", so to speak. No, the purpose of research is research. > Personal deficiencies should not be given a free pass just because of brilliance. Yet, the work itself should stand on its own -- and ad-homines, especially from unverified sources, should have no place in a community of (would-be) engineers and scientists. > R6RS ... has corrupted what was once beautiful and largely destroyed its tremendously important role as an academic commons, almost Platonic ideal of an essentially important model of programming. The fuck are you talking about? Nobody is forcing you to use R6RS implementations you know. You can always get back to your platonic ideal by just ignoring it and continue your wonderful journey thorough Alice's wonderland. You can also fork the standard and gather followers that can sing along humbaya around a fire which burns copies of R6RS. You can do whatever the fuck you want, you know. > If you can't work well with others, have the decency to fuck off back to your cave. I'm sure you are the spirit of any party.
null
0
1316468941
False
0
c2l2sk6
t3_kk1hp
null
t1_c2l2sk6
t1_c2kxpdk
null
1427620966
1
t5_2fwo
null
null
null
True
gsnedders
null
If you have things you want, send an email (with use-cases!) to es-discuss (Google it for the address, etc.).
null
0
1316468948
False
0
c2l2slb
t3_kketr
null
t1_c2l2slb
t1_c2l05fb
null
1427620967
1
t5_2fwo
null
null
null
True
[deleted]
null
It has up and down-vote keys! This would make a great reddit keyboard. http://upload.wikimedia.org/wikipedia/commons/4/47/Space-cadet.jpg
null
0
1316469019
False
0
c2l2swk
t3_kkwd9
null
t1_c2l2swk
t3_kkwd9
null
1427620971
2
t5_2fwo
null
null
null
True
tall_gran_ek
null
Maybe this will happen with the new Google language that was leaked / introduced a week ago. Forgot its name.
null
0
1316469040
False
0
c2l2szc
t3_kketr
null
t1_c2l2szc
t1_c2l1tih
null
1427620973
2
t5_2fwo
null
null
null
True
Terr_
null
Well, I'd say that date/time is one of those problem domains that are inherently ugly because the real-world stuff being modeled/manipulated is an annoying problem with lots of edge cases. (Also true for things like I18N.)
null
0
1316469217
False
0
c2l2ts8
t3_kjf91
null
t1_c2l2ts8
t1_c2ksgkk
null
1427620985
2
t5_2fwo
null
null
null
True
codewarrior0
null
I thought we were talking about how the Japanese can express more in 140 chars than we ever could!
null
0
1316469226
False
0
c2l2ttx
t3_kjw0j
null
t1_c2l2ttx
t1_c2l1rnq
null
1427620987
1
t5_2fwo
null
null
null
True
gsnedders
null
Most web users would like to run JS as long as a large number of websites use it. It's too sunk into the platform to ever really drop, now.
null
0
1316469339
False
0
c2l2uaz
t3_kketr
null
t1_c2l2uaz
t1_c2l1hb8
null
1427620990
1
t5_2fwo
null
null
null
True
greenspans
null
it's all alt and ctrl combinations. there's no hyper or super used, which are the menu key and windows key in modern keyboards. you can use it if you want though
null
0
1316469460
False
0
c2l2uug
t3_kkwd9
null
t1_c2l2uug
t3_kkwd9
null
1427620996
1
t5_2fwo
null
null
null
True
SuperGrade
null
> to end up having discovered half of "pure functional programming" concepts on my own just by figuring out what helped and what hurt small and large software worked on by all kinds of development teams. Holy hell, I had to double-check your post to make sure I didn't type it in myself. . . .
null
0
1316469568
False
0
c2l2ve0
t3_kjkxj
null
t1_c2l2ve0
t1_c2kv6c3
null
1427621003
1
t5_2fwo
null
null
null
True
roju
null
I've been waiting for this. Exciting!
null
0
1316469685
False
0
c2l2vx9
t3_kks00
null
t1_c2l2vx9
t3_kks00
null
1427621010
1
t5_2fwo
null
null
null
True
bobindashadows
null
And since Java 5 and Generics came out, people very rarely use casts that can cause ClassCastException. The *point* is that the *existence* of escape hatches does not mean you don't have a "proper" type system. Unless you have a different definition of "type system" than type theorists.
null
0
1316469795
False
0
c2l2wgm
t3_kjw0j
null
t1_c2l2wgm
t1_c2l1q6p
null
1427621017
2
t5_2fwo
null
null
null
True
bobindashadows
null
You don't seem to realize that IO is a type constructor and that it is part of the type system.
null
0
1316469863
False
0
c2l2wsz
t3_kjw0j
null
t1_c2l2wsz
t1_c2l1e51
null
1427621021
2
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1316469951
False
0
c2l2x7v
t3_kketr
null
t1_c2l2x7v
t1_c2l08xv
null
1427621028
2
t5_2fwo
null
null
null
True
xLittleP
null
I learned more by reading the comments on this page, which directed me to the important things to know about Javascript.
null
0
1316470171
False
0
c2l2y9z
t3_kketr
null
t1_c2l2y9z
t1_c2l0gcf
null
1427621045
3
t5_2fwo
null
null
null
True
greenspans
null
Felleisen here, it's ok, he's dead.
null
0
1316470294
False
0
c2l2yv2
t3_kk1hp
null
t1_c2l2yv2
t1_c2l2rdm
null
1427621049
2
t5_2fwo
null
null
null
True
tangra_and_tma
null
> Do you remember what his username was? chases_tits mentions it below: zedoriah .
null
0
1316470493
False
0
c2l2zr3
t3_kk1hp
null
t1_c2l2zr3
t1_c2l1e7a
null
1427621060
2
t5_2fwo
null
null
null
True
_georgesim_
null
asfasdfdsg blargh blerp asgf hpre
null
0
1316470825
False
0
c2l317v
t3_kk8o3
null
t1_c2l317v
t1_c2kxucx
null
1427621080
-4
t5_2fwo
null
null
null
True
sidneyc
null
Such claims were thrown around back when Forth was popular, which was when C compilers' code generation was rather horrendous. If you insist that this would still be true for modern compilers, please provide evidence for that.
null
0
1316470937
False
0
c2l31q3
t3_kkegr
null
t1_c2l31q3
t1_c2l0qsn
null
1427621086
3
t5_2fwo
null
null
null
True
sidneyc
null
Postscript is a rather direct descendant of Forth; that's the closest I can think of.
null
0
1316471004
False
0
c2l321w
t3_kkegr
null
t1_c2l321w
t1_c2l2nz2
null
1427621090
6
t5_2fwo
null
null
null
True
[deleted]
null
I mainly use typeof to check for defined vars or not - if (typeof bla !== "undefined") ...
null
0
1316471192
False
0
c2l32zc
t3_kkbpe
null
t1_c2l32zc
t1_c2kz0sh
null
1427621103
0
t5_2fwo
null
null
null
True
tyree731
null
GCC also has the absolute most fugly template errors of any mainstream compiler.
null
0
1316471193
False
0
c2l32zk
t3_kk7c6
null
t1_c2l32zk
t1_c2kyt53
null
1427621104
1
t5_2fwo
null
null
null
True
Daishiman
null
The guys at StackOverflow specifically mentioned that LINQ implied a performance decrease over SQL, but it's good-enough for what they do.
null
0
1316471376
False
0
c2l33uq
t3_ki83r
null
t1_c2l33uq
t1_c2l0n7e
null
1427621115
1
t5_2fwo
null
null
null
True
icebraining
null
>It would be problematic to make it using html5&javascript How so? Add an <audio> tag, an image and create a JS function that is called on the click event that does .play() on the audio tag. What am I missing?
null
0
1316471444
False
0
c2l346a
t3_kkod0
null
t1_c2l346a
t1_c2l0xhf
null
1427621119
1
t5_2fwo
null
null
null
True
insin
null
You're using a `try..catch` and you want to differentiate between specific errors you can deal with vs. anything else: try { // ... } catch (e) { if (!(e instanceof SpecialError)) { throw e } // do something with e... } You have code which deals with constructors which extend from a common base constructor and you want to treat some of them differently in specific cases: var attributes = {} if (this.maxLength !== null && (field instanceof TextInput || field instanceof PasswordInput)) { attributes.maxlength = this.maxLength } You want to filter out properties of a given object which are instances of constructors which extend a particular base constructor - e.g. when providing a convenience method for extending another object and doing something special with certain instances when given: var specialStuff = [] for (var prop in obj) { if (obj[prop] instanceof SpecialThing) { specialStuff.push([prop, obj[prop]) delete obj[prop] } } You want to know if a given variable is an instance of an expected base constructor, or if it needs to be constructed, as you want to accept instances or constructors: var widget = kwargs.widget || this.widget if (!(widget instanceof Widget)) { widget = new widget() }
null
0
1316471625
False
0
c2l34yk
t3_kkbpe
null
t1_c2l34yk
t1_c2kyx5w
null
1427621130
1
t5_2fwo
null
null
null
True
julesjacobs
null
I don't think anyone is suggesting dropping JS support, just that JS is an awful assembly language compared to a suitable byte code to compile other languages down to.
null
0
1316471628
False
0
c2l34zq
t3_kketr
null
t1_c2l34zq
t1_c2l2uaz
null
1427621130
4
t5_2fwo
null
null
null
True
ezekiel
null
No.
null
0
1316471681
False
0
c2l3592
t3_kjkxj
null
t1_c2l3592
t1_c2kyhr6
null
1427621133
1
t5_2fwo
null
null
null
True
[deleted]
null
you have to optimize less in space because time is faster there.
null
0
1316471685
False
0
c2l359t
t3_kkih6
null
t1_c2l359t
t3_kkih6
null
1427621133
9
t5_2fwo
null
null
null
True
tinou
null
The second graph compares Flash and HTML5's *Axis Title*.
null
0
1316471749
False
0
c2l35l8
t3_kkp4z
null
t1_c2l35l8
t3_kkp4z
null
1427621137
2
t5_2fwo
null
null
null
True
osiman
null
Butthurt Apple Fanboy much? The conclusions are completly resonable considering the userbases/markedshare for android and iOS.
null
0
1316471755
False
0
c2l35me
t3_kkp4z
null
t1_c2l35me
t3_kkp4z
null
1427621138
-6
t5_2fwo
null
null
null
True
grauenwolf
null
While true, that doesn't explain why it is mutable or why the year field is off by 1900.
null
0
1316471857
False
0
c2l3649
t3_kjf91
null
t1_c2l3649
t1_c2l2ts8
null
1427621144
2
t5_2fwo
null
null
null
True
paranoidray
null
great thanks !
null
0
1316471898
False
0
c2l36b9
t3_kjwil
null
t1_c2l36b9
t3_kjwil
null
1427621147
2
t5_2fwo
null
null
null
True
paranoidray
null
try primefaces
null
0
1316471923
False
0
c2l36h6
t3_kjwil
null
t1_c2l36h6
t1_c2l04td
null
1427621149
2
t5_2fwo
null
null
null
True
mvaliente2001
null
"Starting FORTH" is one of those books that change the way you think about programming, like "The Haskell School of Expression". Even if you won't program in FORTH, you should give it a try.
null
0
1316471931
False
0
c2l36iu
t3_kkegr
null
t1_c2l36iu
t3_kkegr
null
1427621149
9
t5_2fwo
null
null
null
True
grauenwolf
null
JDBC? They actually got those working? Last time I dealt with they I was fussing over the differences betwee type 29b and type 42.7 drivers or some nonsense like that. (Man, it has been a long time.)
null
0
1316472131
False
0
c2l37ib
t3_kjf91
null
t1_c2l37ib
t1_c2l0xqm
null
1427621162
1
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1316472862
False
0
c2l3ay1
t3_kkywe
null
t1_c2l3ay1
t3_kkywe
null
1427621207
1
t5_2fwo
null
null
null