• Programming Jokes February - Obligatory Witty Remark
    1,291 replies, posted
[QUOTE=Goz3rr;47879777]Why the late ratings, is there some invisible post that said BigInteger before me[/QUOTE] BitInteger is the same as Int64 and long in CLR (.NET) languages and C#.
Do you know why Java programmers are bad at programming? [sp] Because they can't see sharp V:V:V [/sp]
[QUOTE=Dromlexer;47882436]BitInteger is the same as Int64 and long in CLR (.NET) languages and C#.[/QUOTE] No it's not, a BigInteger in both Java and C# is much bigger than that [editline]5th June 2015[/editline] [code] Console.WriteLine(long.MaxValue); //Console.WriteLine(long.MaxValue + 1); // this doesn't even compile BigInteger b = new BigInteger(long.MaxValue); Console.WriteLine(b); b += 1; Console.WriteLine(b); [/code] [code] 9223372036854775807 9223372036854775807 9223372036854775808 [/code]
[QUOTE=Goz3rr;47882718]No it's no, a BigInteger in both Java and C# is much bigger than that [editline]5th June 2015[/editline] [code] Console.WriteLine(long.MaxValue); //Console.WriteLine(long.MaxValue + 1); // this doesn't even compile BigInteger b = new BigInteger(long.MaxValue); Console.WriteLine(b); b += 1; Console.WriteLine(b); [/code] [code] 9223372036854775807 9223372036854775807 9223372036854775808 [/code][/QUOTE] I've done more research on regarding the BigInteger. It has [I]no[/I] limits theoretically saying, as it allocates so much memory needed and adds the values them to an int[] array. The only limit is the machine's RAM capacity.
[QUOTE=Goz3rr;47882718]No it's no, a BigInteger in both Java and C# is much bigger than that[/QUOTE] More accurately, BigInteger is an [url=http://en.wikipedia.org/wiki/Arbitrary-precision_arithmetic]arbitrary-precision value[/url] As the Wikipedia article states, bignums are typically represented as arrays of values representing bits (most logically, arrays of bools, or shorts using bitmasking). The arrays can be dynamically sized, and so the theoretical maximum size of a bignum is equal to the memory of your system minus the overhead of maintaining the array. More practically, it is equal to the memory that your program is yielded, again minus overhead. Either way, they can be very quite large.
[QUOTE=Exploderguy;47882697]Do you know why Java programmers are bad at programming? [sp] Because they can't see sharp V:V:V [/sp][/QUOTE] I'm guessing you're a Java programmer?
[url=http://java.metagno.me]Java: Real or Not?[/url] [t]http://imgur.com/TdDmMw2l.png[/t]
[QUOTE=Dromlexer;47883014]I've done more research on regarding the BigInteger. It has [I]no[/I] limits theoretically saying, as it allocates so much memory needed and adds the values them to an int[] array. The only limit is the machine's RAM capacity.[/QUOTE] Arrays are int indexed so I believe the max value is (2^32)^32
[QUOTE=Goz3rr;47885034]Arrays are int indexed so I believe the max value is (2^32)^32[/QUOTE] Arrays are not int indexed, they are machine word indexed. On a 64 bit processor that would be a long.
[QUOTE=cartman300;47885057]Arrays are not int indexed, they are machine word indexed. On a 64 bit processor that would be a long.[/QUOTE] What about .NET limitation on 2GB per object?
[QUOTE=Goz3rr;47885101]What about .NET limitation on 2GB per object?[/QUOTE] Not much point to this [url]https://msdn.microsoft.com/en-us/library/system.array.longlength%28v=vs.110%29.aspx[/url] then.
[QUOTE=Goz3rr;47885101]What about .NET limitation on 2GB per object?[/QUOTE] Well one object can hold references to other objects.. I don't think those references are counted.
This thread just went from Programming Jokes to a Programming Course real quick.
I know, programmers problems is that they take some shit too literary.
[QUOTE=Fourier;47897916]I know, programmers problems is that they take some shit too literary.[/QUOTE] The biggest problem here is that some people like to "fix" jokes.
[QUOTE=DrTaxi;47898851]The biggest problem here is that some people like to "fix" jokes.[/QUOTE] Programmers creating more problems when trying to fix things, how unusual
[QUOTE=Coment;47898962]Programmers creating more problems when trying to fix things, how unusual[/QUOTE] Makes me think of this scene from Malcolm in the Middle: [url]http://i.imgur.com/rncwaFl.gif[/url]
[quote]*knock* who's.. *knock* who.. *knock knock* who's there? *knock knock knock* who's there!? *knock knock knock knock knock* fuck off Fibonacci[/quote]
[url=https://medium.com/relevant-stories/rel-chapter-1-907ff616bf80]How we turned JSON into a full programming language[/url] To say it with the words of @_wirepair, AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH.
[T]http://i.gyazo.com/9d5d4b568d3f158a0ae592e187587d68.png[/T]
Any ING Direct (Australia) customers here? [img]http://thedailywtf.com/images/15/q3/e172/Pic-6.png[/img]
[QUOTE=Rocket;48141180]I think that's probably just a clientside validation thing. If you try to submit it and bypass that it'll still not work. It's not a very smart way to do it but it's at least not as bad as it could be.[/QUOTE] I mean, yeah, [I]I hope[/I], but if you're dumb enough to think there's any point to doing that (if anything, it's worse to have that, as it potentially prevents SQLi attempts from even hitting your logs), you might as well be dumb enough to only do it clientside.
I have this friend who gets sad whenever people rant at rant about her favourite language, C++. Is she a part of the conspiracy?
I've heard it as "Looks like Austin decided to take it's stance on the language wars"
Do you know Hilbert? So what are you doing in his space?
[IMG]https://dl.dropboxusercontent.com/u/111996868/2015-2/Crap/Screenshot_2015-07-19-20-13-13.png[/IMG] Thanks dad
[IMG]http://i.imgur.com/4Pt58tq.png[/IMG] [sp]Satire[/sp] [URL="http://www.theallium.com/engineering/computer-programming-to-be-officially-renamed-googling-stackoverflow/"]Source[/URL]
[QUOTE=Dromlexer;48260267][IMG]http://i.imgur.com/4Pt58tq.png[/IMG] [sp]Satire[/sp] [URL="http://www.theallium.com/engineering/computer-programming-to-be-officially-renamed-googling-stackoverflow/"]Source[/URL][/QUOTE] You think there's just one joke in this image until you look at the code and see this: [code]system("cls");[/code] please no
I have will start to work soon as software developer along side my bachelor, my experience is as follows. How do you know you are developer at a super small company? You can't tell if they maybe intended you to hire as a sysadmin or really a coder. You pick up the shards the last IT/dev guy created, when he quit. On the question of the setup you get:"Ya, we have a win server over here, has VM's running, over there is another server, debian I think, Oh yeah, we use <generic IM>, email and oh and <project tracker> and source is on dropbox and SVN which is not integrated into <project tracker> by the way. You have to wait for logins, maybe reset them yourself sometimes even re-setup systems. Server documentation? Commented code? Up-to-date systems? Documented developer environment? Unified or similar programming style? Uhhh, sometimes..., a bit, needs some fixes, maybe. Oh, dammit, don't get me wrong, employer is really nice, have a great project, and it is a good position for lucky me and I enjoy my non-coding work nearly as much as I love coding, but there is a reason I am a developer, not a sysadmin. [editline]edit[/editline] Also 600th post, yeah!
[QUOTE=Coolboy;48262083]How do you know you are developer at a super small company? You can't tell if they maybe intended you to hire as a sysadmin or really a coder.[/QUOTE] Welcome to the world of [I]~DevOps~[/I].
Sorry, you need to Log In to post a reply to this thread.