|
if i did it i would use smalltalk so i could pass a few messages before i went
|
# ¿ Jul 30, 2013 18:08 |
|
|
# ¿ May 16, 2024 18:35 |
|
VanillaKid posted:Simon Peyton Jones i would put on a first date with spj.
|
# ¿ Aug 1, 2013 22:00 |
|
Socracheese posted:im coding c for the first time in a while for a class and its p cool that you get to be so explicit with ur bits and stuff but hoooo boy its a pain in the rear end to do stuff that would take 5 seconds in python if youre going to do that you might as well use something like cello and just go crazy with type classes. a c preprocessor with additional syntax for type classes would be p cool, actually.
|
# ¿ Sep 2, 2013 19:28 |
|
i think that's the function from which he got the array's problem though
|
# ¿ Sep 3, 2013 06:38 |
|
Zlodo posted:you surely meant ftfy (which is interesting because in other cases universal references will not do lifetime extension correctly like with an xvalue)
|
# ¿ Sep 3, 2013 18:53 |
|
c++ has lvalue rvalue xvalue prvalue glvalue can you tell me what each one is
|
# ¿ Sep 3, 2013 18:54 |
|
if you gay boys want to hear some c++ threading knowledge i guess lusten to this http://channel9.msdn.com/Shows/Going+Deep/C-and-Beyond-2012-Herb-Sutter-Concurrency-and-Parallelism
|
# ¿ Sep 3, 2013 23:13 |
|
Bloody posted:c thread s: implemented some simple boost::threading in my thing. compiles but needs testing. gently caress thread pools, i keep track of my threads in a vector and throw out used ones when they're done. when each thread will be running for at least ten minutes of 100% cpu work i don't care about whatever that overhead might be. do you not have a c++11 enabled compiler or what just split up your work, push back async calls to your work into a vector of futures, then wait on every future.
|
# ¿ Sep 4, 2013 02:18 |
|
Nomnom Cookie posted:futures are dumb use promises one of the rare blatantly wrong and uninformed posts in the pos
|
# ¿ Sep 4, 2013 02:29 |
|
heres the basic outline of your code if you would just stop being ridiculous and use c++11code:
|
# ¿ Sep 4, 2013 06:38 |
|
MrMoo posted:They asked yesterday what is 224? I blasphemed and opened up Windows Calculator ... 1000000000000000000000000
|
# ¿ Sep 19, 2013 03:42 |
|
coffeetable posted:out of interest how long has it historically taken to for production languages to Do A Thing Right once a niche academic lang has done it Lisp has lambdas and is from 1958. C++ got them last year.
|
# ¿ Sep 22, 2013 23:25 |
|
gucci void main posted:"lambdas are unnecessary" Make like a hitler clone and go to Brazil
|
# ¿ Sep 22, 2013 23:29 |
|
JewKiller 3000 posted:if you can't define the function swap so that the assert passes, your language does not have pass by reference You can write a swap for non-primitives in java EDIT: which jives totes mcgotes with your statement, but still FamDav fucked around with this message at 07:18 on Sep 24, 2013 |
# ¿ Sep 24, 2013 07:05 |
|
Notorious b.s.d. posted:nope you can't are you telling me that this mostly java code:
|
# ¿ Sep 24, 2013 07:34 |
|
Doc Block posted:this x1000 sorry did you stroke out mid post because wtf is that poo poo
|
# ¿ Oct 5, 2013 21:18 |
|
yeah but stallman is a double human being soooooooooo
|
# ¿ Oct 25, 2013 05:39 |
|
Aatrek posted:Come 'round here, I've got good stuff. is weird looking, but fun.
|
# ¿ Nov 14, 2013 00:21 |
|
gucci void main posted:ive just recently been thinking about playing around with django again since i could have case for doing so, but i'm not sure how much enjoyment i'd get of it. i haven't touched it or python in well over a year and a half at this point anyone else notice how the poo poo tier types talk about "playing around" with things while the pro tier types just do poo poo
|
# ¿ Nov 15, 2013 00:56 |
|
Shaggar posted:all man style, hard tabs only plz dont post my favorite dubstep genre in this thread
|
# ¿ Jan 7, 2014 21:27 |
|
elixir blows erlang blows your mom blows
|
# ¿ Jan 9, 2014 21:39 |
|
coffee table do you have a job yet
|
# ¿ Jan 18, 2014 20:14 |
|
you either got const strings or const bitches or something like that
|
# ¿ Jan 24, 2014 02:21 |
|
also always postpend const char const * const supremacy
|
# ¿ Jan 24, 2014 02:21 |
|
AlsoD posted:presumably this is a 20 year old argument but 'char* file_name' seems to make so much more sense than anything else to me. you have the type (pointer to char) and then the name. then you have stuff like 'int *p1, *p2' as opposed to 'int* p1, p2' as it should be imo. being a pointer is a property of the type, not the name! AlsoD was right
|
# ¿ Jan 24, 2014 02:32 |
|
c was designed by a guy who wrote ed
|
# ¿ Jan 24, 2014 02:52 |
|
coffeetable posted:amen this is actually cool and we built something at old work to visualize searches to see when it was making GBS threads the bed. it was really cool when you could see it broke and just defaulted to a bfs. pretty patterns dawg.
|
# ¿ Jan 30, 2014 19:10 |
|
coffeetable posted:just finished up a day of learning javascript uhh my internet runs on c++, java, and oddly maybe some prolog every once in a blue moon. i imagine when im hitting some startups poo poo there might even be a little erlang in there.
|
# ¿ Feb 6, 2014 23:55 |
|
that's because js is a poo poo language where you implicitly take references to local mutable values and the only way to construct copies is through function scoping like a goddamn dog.
|
# ¿ Feb 7, 2014 17:09 |
|
learn a hashmap/table/whatever so you can say "well if i just used a hashmap intsead it'd be faster but then i'd use more space i dunno man what do you want from me let me suck your dick ill do it no dont act gay about it just let me do it come on man slap that dick in my hand yeah feels good dont it poo poo look at it squirm all warm and poo poo no dont worry im cool yo you got any disesase tho"
|
# ¿ Feb 10, 2014 00:10 |
|
dont make it weird
|
# ¿ Feb 10, 2014 00:15 |
|
isnt the right answer "how dare you speak to me you cj" and go back to coding up your bespoke runtime configuration system for c based around xml macros
|
# ¿ Feb 10, 2014 19:43 |
|
Innocent Bystander posted:a guy asks for a algorithm book and cormen doesn't even get brought up? you mean where the prefix of one is the suffix of the other? or like can a string be a substring of another.
|
# ¿ Feb 12, 2014 06:19 |
|
Innocent Bystander posted:ah yes, that was a bit vague are you talking longest common subsequence or are actually the set of characters.
|
# ¿ Feb 12, 2014 06:23 |
|
Innocent Bystander posted:the set, not longest common subsequence. its not a hard problem. can you find longest common subsequence in O(n)? no which is what had me confused. you can find it in n^2 with extra space
|
# ¿ Feb 12, 2014 06:34 |
|
Awia posted:so i want to write some sort of image filter thing to make images look like the original gameboy screen which had a weird 2 bit monochrome swamp green display for 2 bit monochrome, you want to threshold on pixel color. for spacing, you probably first want to down sample the image then set like every nth row and column of pixels to off, or you could space everything out.
|
# ¿ Feb 12, 2014 17:12 |
|
droopy code be like droopy pussy touched by too many people and STANKY
|
# ¿ Feb 12, 2014 18:52 |
|
coffeetable when are you gonna start interviewing move to seattle its the only way
|
# ¿ Feb 13, 2014 07:17 |
|
Dessert Rose posted:i can't decide whether it's my boobs or the T in my title that causes people to just dismiss everything i'm saying but it's extremely irritating i dunno most of the fat dudes ive worked with have been effective
|
# ¿ Feb 14, 2014 04:25 |
|
|
# ¿ May 16, 2024 18:35 |
|
i have to imagine every time i run across a test on a model which goes code:
you should ideally structure your code so that the IO bits can be tested against real services and then the rest can retrieve mocked data. MYSPB (Make Your poo poo Pure Brah).
|
# ¿ Mar 15, 2014 19:07 |