« first day (761 days earlier)      last day (1395 days later) » 
01:00 - 19:0019:00 - 00:00

1:38 AM
Odd question...
Is it legal in Objective-C to call macros with a preceding @ symbol?
For example #define FOO(bar) doFoo(bar)
@FOO("bar")
No it isn't. So this guy in libextobjc is doing something clever
Lol honestly I don't know why he would go through all the trouble just to use the @ symbol...
 
user457812
@ FOO() is legal if you use a space.
 
Well, this guy made something called @weakify and @strongify
I was wondering how in the world he could do that
Now that I've figured out how, I am wondering why he would want to? Haha
 
user457812
Because some people are hellbent on coding themselves into a corner.
 
The macros themselves are useful and save a lot of typing and redundant variable names
Maybe this forced syntax is a cry out to Apple to include them in the compiler
 
user457812
1:54 AM
Or it's just being fancy
 
It's so fancy that I've never seen it before haha
Probably because there are small prices to pay for it
 
2:09 AM
YO homies
 
good morning everyone
enrico are you still alive?
 
He is drinking tea with the protesters
 
I am indeed.
I am fighting for democracy.
 
user457812
I'm still waiting for the adapter I ordered to arrive.
 
user457812
Must get keyboard working.
 
user457812
2:16 AM
Totally going to use that old clunker at work.
 
2:32 AM
nice thing to hear then
 
Hi room.
Protesters? What's going on in the land of Oz then?
 
Oh hai Duncan
I'm in Hong Kong right now.
 
2:56 AM
OMG WHY DOES IT TAKE AGES FOR APPLE TO APPROVE AN UPDATE
 
They are busy making Yosemite :p
 
Which update Enrico?
 
I am updating one of my apps. It's 8 days and counting lol.
 
3:22 AM
Good nite all
Can someone please provide some guidance on this Question please, stackoverflow.com/questions/26112262/…
 
3:32 AM
I need to go to bed. It's almost midnight here, and I need to get up in about 6 hours.
goodnight all.
 
user457812
I need my damned PS/2 adapter. ಠ_ಠ
 
Hmm I just subclassed UIButton, then the selection animation disappears. What gives.
 
Did you still create it with "createButtonWithType"?
I don't think alloc / init is enough
 
I used alloc init.
 
I think I ran into this problem before
And the solution was to use "createButtonWithType"
er....buttonWithType:
Oops it was backwards
You have to use alloc / init
 
3:41 AM
Damn, either way it still loses the animation.
Did you override drawRect or something else?
 
I might have been mistaking it for something else that went wrong
Did you override drawRect? :D
 
I did
Damn it lol
Bah, it's not because of my subclassing.
For some reason now even a regular UIButton don't have animation. I wonder what's wrong.
 
4:00 AM
I still don't understand it. The button registers the tap, but it's not animating. Might have to do with I'm putting it in a table view section header.
 
4:53 AM
Ok Xcode 6, you are a bit crazy. Y u no remove some constraints after I press delete? Lol
 
user457812
I made an audio recording comparing my mechanical keyboards for sound reasons but it turns out the recording does a bad job of capturing room acoustics
 
user457812
Not much of a surprise, I guess.
 
My friend's in the USA right now and getting crazy.
 
user457812
dl.dropboxusercontent.com/u/31892/Typing.m4a ← Behold, the sound of two different keyboards. Riveting.
 
Getting crazy how?
 
5:07 AM
Is that your iPhone ringtone?
 
user457812
No, that is the sound of me typing mostly the same couple sentences.
 
user457812
I fully anticipate annoying the shit out of my coworkers once I get this keyboard working.
 
@borrrden crazy like this: dropbox.com/s/empcn2gr12jn4vb/…
(Was talking about different tax rates in different states in US)
 
user457812
Well yeah, the tax rate differs depending on what's taxed, the overall income of the state, etc.
 
user457812
It's not much use taxing the poor, unwanted states more when they don't have enough to cover taxes and continue pumping money into the economy
 
user457812
5:11 AM
That said, the poor are generally taxed more than anyone else, relative to their income.
 
user457812
The more you make, the more you get to keep. The less you make, the less you get to keep.
 
It's pretty true
 
user457812
Besides that, each state is free to decide how it wants to tax people. Some states use sales tax but have no housing tax, some states have no sales tax but tax housing heavily.
 
user457812
Some states don't have income taxes.
 
user457812
It mostly comes down to what they consider the most effective way to tax people is, especially since doing taxes is a huge pain and some states rely on you tracking what you buy and paying taxes later, which most people don't do because it's a) voluntary taxation and b) nobody keeps track of that stuff.
 
7:37 AM
WAIT A MINUTE
Xcode 6 new projects don't include a .pch file??
WHAT IS THIS SORCERY
 
i take it your starting a new project?
i love doing that
things are so fresh and clean
 
Yeah I did a few weeks ago.
But I've just realised that fact now
Hahaha
 
Sigh
Just found a ridiculous bug in one of our programs
How does nobody find these things? Debugging companies, us, users...
Well the last one is simple...there are no users because nobody downloads this program :p
 
7:55 AM
LOL
HAHAHAHAHA
Well, I went through 2 months of development without anyone noticing a typo I made on one of the buttons in the main menu.
There's 1 other developer, 1 manager, 1 tester, and 2 representative from the client company who've seen the app for months. No one mentioned it.
 
yeah i see things like that happen all the time, or worst still 3 months pass a ticket gets raised for a bug and its clearly rewriting the agreed functionality
really makes me angry when people do that as in there heads they must know they are trying it on
and all it will cause is an argument
 
This one was a downright error
We have multiple users in the application but one section was getting saved into a temporary file name that we never changed...
So it would show up in everyone's save data like Dropbox :p
 
oh dear, i hope that wasnt bank details and pin number ? :p
 
I would never allow myself to touch such things
 
haha
 
8:00 AM
No, just handwritten notes for a page of the workbook
Nobody has said anything for at least 5 months
The bug is nearly a year old
 
i have had similar issues some years back when having multiple users logged in on the same device
duplicate data
 
Actually the iOS implementation was fine because we just relied on Core Data
The Windows 8 version has no such API
So I wrote one
 
what does WP8 use for data storage ?
 
However, you still need to supply a name for the DB
Nothing
Well you can have local settings saved in a registry style file
But nothing big
 
and they released a phone operating system like that
dear god
 
8:02 AM
It doesn't even ship with sqlite ;)
Well I'm using tablet, but yeah
 
im dumbfounded
im really lookign forward to the day that document stores like mongoDB are available on phones
 
They are
 
infact ive been saying it for ages someone should port something like that over to the top mobile os's
did i miss something on the mongoDB announcements ?
 
The company I'm interviewing for just released one this year
 
oh couchbase yeah
forgot about those folks
 
8:04 AM
Don't worry once I get the job I'll remind you all the time
 
haha
you should get the job for just saying that tbh
 
Well, I basically did
They are sorely lacking a technical consultant for their new Japanese subsidiary
The lone employee of the subsidiary is not a developer and can't field technical questions
So she is totally letting headquarters have it "YOU HAVE TO HIRE THIS GUY"
Plus apparently I made a good impression on one of the senior devs while he was in town
 
nice
and goodluck
 
It would be so killer
 
yeah couchbase are huge
or big
 
8:07 AM
It's a tech valley company, so I assume I'll finally make a decent wage
 
i cant say ive used it but a lot of people do
 
Plus I can work from home
 
bah working from home isnt all that tbh unless you have a seperate office
hard to disconnect from work when you get used to it
 
I have the option of using their office space here
but it's not required ;)
They rent shared space in various buildings around Tokyo
 
I'm listening to Hatsune Miku, FYI.
 
8:08 AM
still though good luck does sound liek an awesome opertunity
 
The Japanese employee is already trying to schedule me for talks and lectures lol
I told her "Hold on a second, they didn't even hire me yet...and if they don't I'll be too sad to do talks about Couchbase"
So now she is going to bother HQ again haha
 
Aww borrrden is becoming like me.
Except I don't like working from home lol.
 
Well the thing is
I'd have to start working at 6 AM
So that I can overlap with 4 hours in California
I don't wanna have to be somewhere else by that time haha
 
Wow I hope you can be accepted in couchbase jim
 
i agree with you Enrico workign from home is good fun for the first month then after that it is to much
 
8:10 AM
Yeah, otherwise the other employee's year end party is gonna be lonely
I entered a Hackthon that they sponsored under ridiculous conditions haha
 
Especially when your apartment is pretty small, and you don't have anyone living with you.
Well, you can be in the office at 9am to 2pm then, then go back home after lunch and catch up on sleep =P
 
I got a special prize for effort since I made basically nothing but I did so while

1) Using a surface tablet the entire time that didn't belong to me
2) Working with Android (starting from setting it up)
3) Starting a few hours after everyone else (1 1\2 hours vs 5)
By the time I was ready to actually try to use Couchbase there was only 15 minutes left. Luckily it was easy to throw in and demonstrate
So I got a special prize haha. The Japanese employee is buying me sushi
Later the senior dev said that it made a big impression on the judges that I was able to get something done under those conditions
Of course they couldn't give me the top prize though because it's a package worth about $3k
I would not accept it if they did because other people there had put in genuine effort and participated properly
 
same deal with me just me in my pokey flat. The worst part is you end up doing more hours as your already at home and youll do jsut a little bit more, thats my problem, has totally ruined any form of schedule i keep
 
I have a wife who will surely let me know that it is time to stop working and pay attention to her
 
haha my last girlfriend was alsoa distraction haha
 
8:16 AM
Haha I meant it in a good way (hard to work too much)
 
and pick me up some Katsu Curry and those japanese pickles whilst your there :)
 
lol that implies that I'm leaving some time
I've been living here for over 5 years ;)
So it really should be whilst YOU are HERE
 
OH MAN
I really wanna go to Tokyo and make borrrden buy me a katsu curry now.
 
too late
you are stuck with ramen
 
He's now only less than 5,000km away from me.
OH DAMN
And LINE games invites.
LOLOLOLOL
 
8:18 AM
I downloaded another Line game
Football Manager
But it's kinda hard and awkward to play haha
 
I spent lots of time in Championship Manager when I was a teenager.
 
i could never see the fasination with games like that
same as eve online
i played it a bit but i got bored very quickly
 
As I grew older, I realised that I like quality more than quantity.
Hence I play Final Fantasy, Journey, Zelda games.
 
As you grew older you also forgot how to type
As I grew older, I realised that I like quality more than quality.
 
OH YES
As I grew older I became an old man.
 
8:28 AM
As i grew older i grew moanier
not even a word
 
Hmm xcode 6 seems not to overwrite managed object classes when you update them in a folder
just says done and doesnt do it
 
8:43 AM
What do you mean "in a folder"?
 
I'm not sure that is a new problem
Xcode has never been good at updating things inside of folder references
 
Oh, you meant that.
Yeah, I agree with borrrden.
 
That's one thing I miss from Eclipse and some other IDEs
They will auto pick up the folder structure without me having to add every little thing
 
I can't believe this is upvoted 20 times:
20
A: UILabel text margin

yar1vnI ended up just adding some spaces to the text: self.titleLabel.text = [NSString stringWithFormat:@" %@", self.titleLabel.text]; Ugly yet effective, and no subclassing required. Edit: This solution was written in iOS 5 and worked well for some users. According to the comments it doesn't wo...

Oh yeah, Eclipse does that quite well. But when I started using Eclipse I needed to right click on a folder and click "Refresh Folder", lol.
Still better than Xcode.
 
Xamarin Studio also does it
As well as Qt Creator
 
8:46 AM
You misspelt "everything else".
 
Huh?
Where?
 
In "Xamarin Studio" and "Qt Creator"
lol
 
Visual Studio does not :p
You can kinda sorta force it to but it will get overwritten every time you make a change through the GUI and you have to jump through hoops
 
Yeah, I was just making fun of Xcode's really bad file system management.
But credit where credit's due, Xcode 6's IB is really good. So many little improvements.
Speak of the devil, designing custom UITableViewCell isn't much improvement ┻━┻ ︵ ლ(ಠ益ಠლ)
 
9:06 AM
A great story from Australia -> inspiremore.com/…
2
 
Wow, nice.
 
And little by little I'm digging deeper and deeper to this bluetooth sea
 
It's not a sea, it's an ocean, @nayoso.
 
yeah
 
Remember those wise words of mine.
 
9:11 AM
Thanks to that enrico
haha
 
Do you know where I'm working right now?
I will LINE you that.
Sent.
 
wait
 
It's alright it's asynchronous I don't have to wait.
 
Ah actually mine is more complex
 
though a late response, i meant directory
 
9:16 AM
I deal with the hardware directly too
and I also need to work with the fucking android
 
Holy shit, seriously?
Are you saying you're modifying firmware etc?
LOL
Who's your beacon manufacturers, if you can say?
 
I'm not writing the firmware directly but me and the ios Engineer works with the firmware engineer
it's custom beacon Enrico sorry, I can't say ;(
NDA
I will go home now
see you tomorrow guys!
 
See you nayoso
Now nayoso even goes home earlier than me.
iPhone 6+ simulator stutters a lot in my MacBook Air btw. Anyone else?
 
9:33 AM
That's because you have a MacBook Air :p
 
Hahaha borrrden
 
9:59 AM
Question: Do you guys copy SO answer's link to you code comment when using answer from them?
 
I usually don't use it as is
But I have seen it done before
 
I see.
This answer's so good, I'm copying the URL to my code: stackoverflow.com/a/21267507/361247
So that the guy who work after me on this file will go there and upvote his answer again.
Damn I'm a bit hungry. Let's go home borrrden.
 
I will go home soon
 
I am still uploading to TestFlight, will go home in 3 minutes.
If this Macbook Air compiles fast enough it'll be 2 minutes.
I don't know about you, but "Archive" takes a long time on my laptop :(
 
10:16 AM
I worked out too much at the boxing gym last weekend
Two of my knuckles are cut up on my right hand
One on my left
 
10:32 AM
Eurg.
UIWebView in iOS 8 renders PDF's with a black background
tried every trick in the book and I can't get it to accept a different background colour
 
user1823693
i dont know if this will be useful for you
 
user1823693
6
Q: Rendering PDF in UIWebView iOS 8, causes a black border around PDF

JSA986In iOS 8, when rendering a .PDF into a UIWebview there is a black border and background around the PDF displayed (not the whole background view). Note this is not the UIWebview background which is set to: myWebView.opaque = NO; myWebView.backgroundColor = [UIColor clearColor]; This is not pre...

 
That is an awful, awful hack.
I've seen that one whilst searching.
 
user1823693
10:47 AM
yes, awful. Anyway, it depends on how fast you have to be xD
 
11:27 AM
yeah i had that same issue caprtain
infact i have that same issue
let me know if you see a soloution
 
11:49 AM
I haven't found anything that works so far
only really shady hacks of looping through subviews.
 
yeah f that
i gaev up on it tbh
and was upset to see the upgrade did it
 
I guess i'll have to resort to shady hacks but it's really not ideal
Not sure if that kinda thing will get you rejected from the app store
But either way, i'll feel dirty :/
 
12:05 PM
yeah i left it int here and told client it will have to wait until update
is shit though
 
hi all
 
Only seems to be the actual rendered content
the background of the web view can be set to whatever colour you want
but the "frame" of the content, i.e.: the PDF itself, seems to be rendered into a context with a black background
which it seems cannot be changed :/
super. lame.
 
12:21 PM
yeah whiteis the default color of UIWebview shoudl have left it to match
amazed it got through there QA process like that tbh
 
12:42 PM
Apple seem to be dropping the ball on a lot of things lately
keynote streaming wasn't great
iOS 8.0.1 was a balls up
Xcode 6 is buggy as hell
to name but a few
 
1:08 PM
Hi all. Is there any apple-provided elliptic curve signature methods? I can't find any in security framework. I hope I'm missing something.
 
 
2 hours later…
2:47 PM
Well. I admit defeat.
6 hours in and I still can't find a way to set the background colour of a UIWebView to anything other than black :[
 
3:56 PM
@CaptainRedmuff How about changing the css properties?
 
4:28 PM
Morning all... has XCode 6 been officially released yet? is it stable?
 
4:55 PM
yep
its stable
but it sometimes crashes w/Swift auto-complete
Im having issues w/Cocoapods with a tutorial I downloaded
diff: /../Podfile.lock: No such file or directory
diff: /Manifest.lock: No such file or directory
error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.
is the error message I keep recieving within the project
I re-opened it
I open the workspace ofcourse
I tried to remove the workspace and re-install it
error continues to persist though
 
5:07 PM
I do have the latest version of cocoapods, I did just update it today
 
5:22 PM
Yes, Xcode 6 is official
and Xcode 6.1 is a new beta.
 
Xcode 5 was sweet
6 is meh
lets talk about a legit Dev enviornment : Android Studios
 
ewwwwwwwww
 
Google has solid support behind it
 
and Apple doesn't have solid support behind Xcode?
 
had
its an ebb and flow really, Devs make an IDE pop and sizzle, they leave or get promoted, than years later new dev's take over and have their philosophies which conflict with the original project. Overtime, the project becomes solid once again since the new philosophy is the norm and the cycle repeats itself as those devs leave, are promoted, etc etc.
 
 
1 hour later…
6:33 PM
yey for windows 10
 
I always knew Michael was a teenage girl
 
what? you're not a Belieber ?
 
ew.
 
6:49 PM
0
Q: Cocoapods installation of JSQMessenger framework causes errors on compile

initWithQuestionI get the following errors every time that I try and run my project. The error at the bottom reads clang: error: linker command failed with exit code 1 (use -v to see invocation) What Im noticing from the list of error references here is that they all seem to point to the parse Framework wh...

 
01:00 - 19:0019:00 - 00:00

« first day (761 days earlier)      last day (1395 days later) »