|
objective c best c
|
# ¿ Apr 26, 2012 19:59 |
|
|
# ¿ Apr 27, 2024 16:13 |
|
NSString *bah = @"figvdfivdafvdafv fd gvdair fgeifv sivfs fuwf FUAS "; NSMutableDictionary *counts = [NSMutableDictionary dictionary]; [bah enumerateSubstringsInRange:NSMakeRange(0, [bah length]) options:NSStringEnumerationByComposedCharacterSequences usingBlock:^(NSString *substring, NSRange substringRange, NSRange enclosingRange, BOOL *stop) { NSUInteger val = ([counts objectForKey:substring] != nil ? [[counts objectForKey:substring] intValue] : 0) + 1; [counts setObject:[NSNumber numberWithInt:val] forKey:substring]; }]; NSLog(@"counts: %@", counts);
|
# ¿ Apr 26, 2012 21:00 |
|
newreply.php posted:anyone else sorta getting rid of delegation between views and using NSNotifications wherever possible? i like it for when you have lots of levels of subviews and one of them needs to tell the VC something depends sometimes a delegate is the easy way to go, sometimes a notification is easier not really any reason to go 100% one or the other
|
# ¿ Apr 26, 2012 23:32 |
|
lout > latex
|
# ¿ Apr 27, 2012 20:08 |
|
Sweevo posted:no idea what >>> does, probably some php poo poo >>> copies the file (any file containing a method matched by whatevers left of the operator) to a file named whatever is on the right of the operator
|
# ¿ Apr 28, 2012 04:30 |
|
backend's the future btw. let the kids do the graphic poo poo just provide a sw8 api and leave
|
# ¿ Apr 28, 2012 05:10 |
|
rotor posted:it really really pisses me off that browsers have just sort of evolved into this universal application platform its kinda lame agreed
|
# ¿ Apr 28, 2012 05:11 |
|
Inverse Icarus posted:here's the data not my job
|
# ¿ Apr 28, 2012 05:11 |
|
z0ratio fartboner posted:i say this to all teh ladies
|
# ¿ Apr 28, 2012 05:20 |
|
z0ratio fartboner posted:rotor and tbc wrestling cmon cmon
|
# ¿ Apr 28, 2012 05:28 |
|
Anal Tributary posted:
|
# ¿ Apr 28, 2012 05:34 |
|
software download On 2012-01-27 at 10:55 I would like to express my gratitude for your kindness supporting women who really want help with this question. Your special commitment to passing the message all over was particularly significant and have specifically made most people much like me to reach their aims. Your entire helpful instruction entails so much a person like me and still more to my colleagues. Warm regards; from all of us. I google it and found a very useful article. A code sample would be very helpful.
|
# ¿ May 19, 2012 16:09 |
|
i was looking at a jnlp file the other day and was like wtf <security><all-permissions/></security> why is that necessary for this lovely app but apparently thats the level of granularity, all or none lol
|
# ¿ Oct 26, 2012 16:16 |
|
rotor posted:I haven't done a java for a long time but I'm pretty sure that's not true thats what the docs i googled up said but i dont know and theres only really one context i encounter them in so i havent had reason to look into it. http://docs.oracle.com/javase/7/docs/technotes/guides/javaws/developersguide/syntax.html#security
|
# ¿ Oct 26, 2012 17:40 |
|
rotor posted:http://lopica.sourceforge.net/ref.html#j2ee-application-client-permissions well thats just gross
|
# ¿ Oct 27, 2012 00:04 |
|
sorry just gotta say it again, that its super gross
|
# ¿ Oct 27, 2012 00:23 |
|
here's a lesson: poo poo is dumb as gently caress, and so are you.
|
# ¿ Oct 27, 2012 00:50 |
|
knowing yourself without knowing your enemy gives you only half a chance of victory
|
# ¿ Oct 27, 2012 01:40 |
|
rotor posted:unless you are your own enemy. which you always are. https://www.youtube.com/watch?v=sc5iTNVEOAg
|
# ¿ Oct 27, 2012 01:48 |
|
tef posted:i could have sworn the more commonly accepted definition is the acquisition of material goods and other forms of wealth. if you cant find love, i guess bullshit moneys work as a temporary replacement
|
# ¿ Oct 27, 2012 02:04 |
|
dude tef i know this is yospos but you are literally posting that on a friday night...
|
# ¿ Oct 27, 2012 02:11 |
|
lol i just found this comment in a perl script i wrote some 10 years ago #This function parses simpler queries into the format that CGI::Application expects. #"Our life is frittered away by detail ... Simplify, simplify." - Henry David Thoreau pretentious as hell
|
# ¿ Oct 31, 2012 23:30 |
|
also holy poo poo my ($username, $password) = split(":",$q->cookie($APPNAME)); $self->{'logged_in'} = &dbLoginUser($username, $password); e: the pw was at least hashed, but still thats pretty retarded
|
# ¿ Oct 31, 2012 23:32 |
|
Jonny 290 posted:there a guy at work that has a random quotebot on some of our internal pages with stuff like that i assume that guy isnt like 20
|
# ¿ Oct 31, 2012 23:34 |
|
Otto Skorzeny posted:
i was probably cargo culting hardcore when i put that quote in there, feeling like the big leagues with my amazing perl wizardry
|
# ¿ Oct 31, 2012 23:36 |
|
i like reading about people solving problems but its hard to google that and get useful results
|
# ¿ Nov 26, 2012 01:51 |
|
lusers, heh e: damnit rotor
|
# ¿ Nov 28, 2012 09:48 |
|
I dunno, maybe use an NSPredicate?
|
# ¿ Nov 29, 2012 23:11 |
|
Shameproof posted:Oh there we go. Are you generally supposed to inherit from NSPredicate or just use that crazy string-passing approach? I've mostly just made predicates with strings, it's pretty fast. not sure what pitfalls there might be to subclassing nspredicate, but its probably easier to use an nsblockpredicate than to subclass if you cant express the predicate with a string.
|
# ¿ Nov 30, 2012 01:12 |
|
foreach fizz post buzz
|
# ¿ Dec 8, 2012 18:20 |
|
trex eaterofcadrs posted:also stop being a language whore and pick one and get good at it, it won't take you only a week unless you're some kind of idiot savant what if im just an idiot
|
# ¿ Dec 30, 2012 01:52 |
|
Python code:
|
# ¿ Jan 11, 2013 19:43 |
|
friday night motherfuckers
|
# ¿ Jan 11, 2013 19:44 |
|
once shaggarscript becomes the web standard we can all be shaggars
|
# ¿ Jan 11, 2013 22:56 |
|
Jonny 290 posted:p-langs sign my paycheck and shaggar's right oh also that is the input. any shaggarpost is now a script!
|
# ¿ Jan 11, 2013 23:22 |
|
tef posted:i can fit an ipad mini in those pockets. but can you fit a samsung galaxy note s3 hd beats by dre???
|
# ¿ Jan 30, 2013 22:15 |
|
Shaggarscript is still the only true language
|
# ¿ Feb 1, 2013 04:26 |
|
gucci void main posted:paging shaggar to rant about unions america is so messed politically up that it doesnt surprise me when someone is against unions. its much weirder when it happens here in the first world :lfpostin:
|
# ¿ Feb 2, 2013 20:10 |
|
tef posted:ala the old joke, we think 100 mi is a long distance and you think 100 years is a long time it was fun to say my school was twice as old as their country back when i was still in school
|
# ¿ Feb 6, 2013 18:16 |
|
|
# ¿ Apr 27, 2024 16:13 |
|
pro tip: dont share NSMutable objects between threads
|
# ¿ Feb 22, 2013 06:20 |