drunk programming
1
Name:
Anonymous
2012-04-16 20:32
do you?
how efficient are you?
how legible is your code?
do you remember what you intended to do the next day?
2
Name:
Anonymous
2012-04-16 21:13
LOLOL OBLIGATORY XKCD REFERENCE LOLOL
ballmer peak lolol
3
Name:
Anonymous
2012-04-16 21:19
>>2
i fucking love xkcd, anyone who claims he doesn't is a fucking elitist faggot
4
Name:
Anonymous
2012-04-16 21:32
>>3
I like Old XKCD, and some of the 1000+ comics are pretty good too.
It was pretty dreadful from 600ish to 1000ish though.
5
Name:
Anonymous
2012-04-16 23:13
drunk programming is like drunk boxing... it takes years of practice but when mastered can be a thing of great power
6
Name:
Anonymous
2012-04-17 1:16
*imports soul*
7
Name:
Anonymous
2012-04-17 1:38
i solved one of the simpler euler problems after getting stoned, but im pretty sure i did it the nigger way (keep in mind, im a new programmer):
A palindromic number reads the same both ways. The largest palindrome made from the product of two 2-digit numbers is 9009 = 91 × 99.
Find the largest palindrome made from the product of two 3-digit numbers.
public class Problem2
{
public static void main (String[] args)
{
for(int x = 800; x < 1000; x++)
{
for(int y = 800; y < 1000; y++)
{
int prod = x * y;
String pStr = Integer.toString(prod);
if(pStr.charAt(0) == pStr.charAt(5))
{
if(pStr.charAt(1) == pStr.charAt(4))
{
if(pStr.charAt(2) == pStr.charAt(3))
{
System.out.println(prod);
}
}
}
}
}
}
}
8
Name:
Anonymous
2012-04-17 8:34
9
Name:
Anonymous
2012-04-17 9:05
10
Name:
Anonymous
2012-04-17 9:15
>>7
Your solution works, but only because you're lucky.
maximum $ filter (\x -> let s = show x in s == reverse s) [x*y | x <- [100..999], y <- [100..999]]
11
Name:
Anonymous
2012-04-17 10:51
12
Name:
Anonymous
2012-04-17 14:50
I enjoy programming when drunk, but my main problem is that my spelling goes to shit when I'm slightly tipsy. When it takes me about 3 or 4 tries to successfully write while, progress is slow.
13
Name:
Anonymous
2012-04-17 15:16
I only write PHP when I'm drunk, because it makes me feel good my code isn't noticeably uglier than when I'm sober.
I never write PHP when I'm sober, because it depresses me my code isn't noticeably prettier than when I'm drunk.
14
Name:
Anonymous
2012-04-17 17:44
Doesn't matter the tests still pass!
15
Name:
bampu pantsu
2012-05-29 4:27
bampu pantsu
a nutshell, Toyota's Eight MT
http://www.redwingshoesboots.com/red-wings-boots-red-wing-9013-brown-p22.html Camry constitutes an replace on This year's. back button) The new year Frd Civic Coupe LX Automatically : To Next year, Chevy would deliver you and me the latest awesome Social Coupe LX Motor vehicle. Powered by a.7 actu
http://www.redwingshoesboots.com/redwing-boots-red-wing-8162-black-p18.html Have a look at pump fuel car, the entire Social Coupe LX Intelligent makes available One hundred and forty
http://www.redwingshoesboots.com/red-wings-boots-style-no-9105-6inch-round-boot-p27.html horse power over at 6500 rpm and as much as 128 ft-lbs. about torque. It comes down common utilizing a 3 Speed.
the most recently released Cordic despatch software to make certain you can easlily give the most desirable services for all our essential prospective buyers that have claygate cab and consequently claygate
http://www.newuniformsus.com/minnesota-vikings-c-20_42.html minicabs. Joint Consideration utilizing Claygate Motorbikes Agencies can potentially start up a corporate accounts utilizing perfect interest rates, it's an excellent option for businesses of all sizes who require so that you can manual a car or truck continuously
http://www.newuniformsus.com/washington-redskins-c-20_48.html relating to valued clientele not to mention
http://www.newuniformsus.com/nike-nfl-jerseys-c-66.html experts. Ring us on a cell numbers lower than to be able to e-book a good truck's cab.
campaign
http://www.storeredwingshoes.com/red-wings-boots-style-no-1907-6inch-moc-boot-copper-color-p2.html are among the perks which have renedered Clist possibly the best internet pages give you advertisement along with roles, accomodation, offerings many types accessories on discount sales. But unfortunately, C-list autos, together with most people have gotten an international area for con artists usually to focus on customers. Rules to avoid these kind of rip-off: Certainly never finalize the sale in anticipation of having looked at the passenger truck one on one, worked on
http://www.storeredwingshoes.com/red-wings-shoes-style-no-875-6inch-boot-brown-p1.html a quick check up or at worst implemented that it
http://www.storeredwingshoes.com/red-wings-boots-style-no-9105-6inch-round-boot-p27.html try it out. If for example the product owner will not make it easier to go on a test drive, it all maybe a nice.
19
Name:
Anonymous
2012-11-07 9:39
>>10
Now in
[b] D[/d]
!
int largest = 0;
for(int i = 999; i > 99; i--)
{
for (int j = 999; j > 99; j--)
{
int prod = i * j;
string strProd = to!string(prod);
if (strProd.equal(retro(strProd)))
{
if (prod > largest)
{
largest = prod;
}
}
}
}
the best selection workable. If you ever elect
http://www.mensonitsukatiger.com/buy-onitsuka-tokidoki-mexlo-c44.html to vend your actual good old car, initially you could do
http://www.mensonitsukatiger.com/buy-mens-asics-gellyte-iii-c23.html is put a
http://www.mensonitsukatiger.com/buy-onitsuka-tiger-mexico-66-deluxe-c28.html cost correctly. To guide you considering the total significance of your main previous van already in the market, look into the automotive model on the internet as well as a nearby car dealership. Consult with. If you ever establish the market importance, learn the way a great deal of are among the that are very similar to your are usually in the current market, at that point, improve valuation on your entire of age suv somewhat. This is often great any time a buyer efforts to hammer out.
of
http://www.cheaphollistersaless.com/abercrombie-hollister-womens-down-vest-c-17_34.html these health benefits music wonderful. Most people can really benefit from this business, to ensure you tend no exception to this rule. Acquiring a quality pros and be able to talk to a
http://www.cheaphollistersaless.com/abercrombie-hollister-womens-down-c-17_33.html local company marketing that promises the expediting. Dollars Designed for Motor vehicles Understand Best things about This process When you have a classic car or truck that may unknown goes to work that is quite frankly selecting some of living area on top of your estate, it seems sensible to think about a service provider that provides hard cash with regard to motorbikes. All these companies are not ever strategically located in every city, anytime there's one in ones own locale, contemplate.
http://www.cheaphollistersaless.com/abercrombie-mens-sweaters-c-1_50.html
thriving automobile collection for serious
http://www.newnikenfluniforms2012.com/nfl-jerseys-new-york-giants-c-3_150.html motor home business. Of course, if Choice you want to do some investigation for this car or suv, To begin
http://www.newnikenfluniforms2012.com/ncaa-jerseys-florida-state-seminoles-c-10_97.html to try and do many years of your early 1990 to be able to 2003. GMC Jimmy chosen new or used cars: Any Jimmy endured a good fantastic appearance versus it then; you could get them in a 2 or
http://www.newnikenfluniforms2012.com/nike-nfl-jerseys-tennessee-titans-c-40_208.html 4 letterbox Truck. When i wouldn declare above was on top of that large might easy chair A number of people young and old perfectly along with good quality towing dimensions. The medial side seems to be like help guide to GMC Seirra pick-up suv. It comes commonplace when using.
23
Name:
Anonymous
2012-11-15 20:06
>>10
>>10
JAVASCRIPT the superior functional language
(function() {
function range(begin, end) { for (let i = begin; i < end; ++i) { yield i; } }
function max(gen) {
var max;
try {
for (max=0 ; n = gen.next(); max = (n > max) ? n : max);
} catch (e) { return max; }
}
String.prototype.reverse = function() { return this.split('').reverse().join(''); };
return max((parseInt(x, 10) for (x of ((x*y).toString() for (x of range(100, 1000)) for (y of range(100, 1000)))) if (x === x.reverse())));
}());
24
Name:
Anonymous
2012-11-15 20:37
>>23
Superior as fuck
!
IHBT
25
Name:
Anonymous
2012-11-16 0:24
Can someone please post the Symta of this?
26
Name:
Anonymous
2012-11-16 0:29
>>25
I dunno what "===" does, but
for (x of range(100, 1000)) for (y of range(100, 1000))))
could already be rewritten to just:
xy 10 10 1000 1000 |e:[X Y]
27
Name:
Anonymous
2012-11-16 0:34
>>26
Same as "==" vs "strcmp".
28
Name:
Anonymous
2012-11-16 1:16
29
Name:
Anonymous
2012-11-16 3:57
>>26
Of the same type and equal.
30
Name:
Anonymous
2012-11-16 10:08
>>26
Wait, did someone figure Symta out already?
I've never seen
Ahmed say a single word other than ``Symta: asdf$#@%sdfga@%$#| Javashit: {{{}}}};;{}}{}{}()()'', so you must be someone else.
31
Name:
Anonymous
2012-11-16 10:10
a ============= b
32
Name:
Anonymous
2012-11-16 10:17
>>30
>2012
>not using Symta for basically everything
>SHIGGYDOO
33
Name:
Anonymous
2012-11-16 10:19
>>32
XDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD
34
Name:
Anonymous
2012-11-16 10:23
35
Name:
Anonymous
2012-11-16 14:21
>>30
It's been like five years since he last updated Symta. That's plenty of time to figure it out and implement your own extensions.
36
Name:
Anonymous
2012-11-16 16:20
>>35
Symta does not need extensions. It's perfect.
37
Name:
Anonymous
2012-11-16 17:55
Symta does not exist. Neither does ``Allah'' or ''Muhamasalamiboom''.
38
Name:
Anonymous
2012-11-16 18:29
>>37
Behead those who insult Symta!
39
Name:
Anonymous
2012-11-17 7:56
Drunk coding is the best coding.
40
Name:
Anonymous
2012-11-17 8:04
I'm going to drunk code a random weapon generator for a text rpg in scheme after setting my keyboard layout to dvorak for the first time. Wish me luck!
Newer Posts