« first day (599 days earlier)      last day (1557 days later) » 

user457812
12:07 AM
@EthenA.Wilson Also, the C stdlib defines a Boolean type bool. ObjC defines BOOL. C defines _Bool.
 
1:49 AM
Hi Noel.
 
@ethenA.Wilson i figured it out, it was just strange to me because its on a computer and no calculators. if it was on paper i would see just multiply and simplify XD
so if its a computer test, i will fail XD
and i will read it:P
i am learning C also
i will learn java and others. just to learn
 
2:09 AM
I like how you're almost done with the tutorials... And then still confused about if statements in C =P
@NoelCower I don't like the first 2 episodes of Fate Zero. Does it get better?
 
Hi Enrico. Gonna call it a night in a few, but thought I'd check in here first.
 
I'm using that, and the if statement didnt say i HAD to have the brackets:P in objective c i can do if (something) whatnot; and it runs, but their compiler wouldnt work until i have brackets. mehhhh
 
Max, I saw your question about C if statements. The Objective C if statement IS a C if statement. No difference.
 
then why in Xcode no brackets works but on their site i had to have them
maybe just their thing sucks?
 
What do you mean brackets? Give me an example?
 
2:13 AM
if (god) { isReal=YES;}
 
The expression for an if statement has to be in parenthesis.
 
would work basically, but if (god) isReal=YES; will not
not parenthesis :P the {}
 
Oh, ok.
Must be a compiler setting.
if (condition)
statement
is legal C.
 
strange
 
`if (condition)`
` statement`
Not sure why the code quoting didn't work.
 
2:16 AM
lol
not in chat
 
Other markdown works in chat, why not code quoting? (note that "code quoting" was quoted, and it worked.)
 
'hmmmmm'
didnt work above^
maybe they didnt want that in chat
 
Anyway, I need to head off to bed. Je suis fatigue.
 
goodbyes
 
Or however you spell that. My English spelling is bad enough. French is hopeless.
laters.
 
2:21 AM
@MaxHasADHD If you don't put braces, only the next line is considered the body of if. This is the goto fail bug all over again.
 
XO
wait what! In Xcode i always do it same line
 
See here, they are using non bracketed if statements, which you should avoid.
 
like if (numOfTabs == 0) return;
 
This line: ` if ((err = SSLHashSHA1.update(&hashCtx, &signedParams)) != 0)`
Yeah, it's not a terribly good practice IMO.
 
oh, lol i do it if its so short
and that is apple fail 😆 just do like goto fail, goto fail;
bamn, no brackets and is considered of if statement ( i think?)
i do that sometimes also, don't need to end it, just put comma:D
 
2:29 AM
You may say it's an Apple's bug but one day you might make that mistake too. That's why I think you should just put the braces.
 
not apple bug, apple fail
coder was too tired that day
although, why did there need to be 2 goto fails in the first place. lol
question, so if i do if (something) whatnot; then have a code right under it, will the line under it be called rather than the one right next to it?
and the c thing not apple bug the goto fail thing obviously was their bad i think though right? ya.. I'm sure they fired that guy
i also been messing with Lua.. its confusing
tried to make a square declared in the init and then move it in draw but nope
and couldn't get it to tween ether? dunno.. lol
and i did a network request to get movie info which was awesome, buuutt it can't parse JSON into a table so i couldn't show the image from the request :[
without files from github or some other source
 
user457812
@EnricoSusatyo Depends on your idea of better and what you didn't like.
 
today was actually pretty good for the day that it is
have seen no drug post all day besides people just saying "have a good 420".. well one guy posted a selfie while high but he just looked stupid
 
2:45 AM
@MaxHasADHD What I'm saying is, we're all humans and we make mistakes. Putting braces at every if statement will reduce errors. Maybe you're too naive to understand that we all make mistakes.
 
no i do
 
@NoelCower Yeah. I can see why you like it. It's rated pretty high actually in a lot of websites.
Max: In that case, then use a system that will reduce your chance of making errors.
 
i make a lot every day
 
user457812
Use braces all the time so you don't have to think about whether there's braces around a block.
 
i hate texting.. its so horrible
people always sounds angry:P
 
user457812
2:47 AM
Incidentally, I love C++11's new braced initialization syntax
 
user457812
E.g., std::vector<int> foo { 1, 2, 3 };
 
this person who've I've known since she was like 1 i started texting the other day, and we always have nice conversations but her goodbyes always sounds angry
today, having good talk, i say see ya. she just like "bye"... dunno but sounds bad over text to me from anyone XD
iPhone should implement a emotion status system, by learning text patterns and how fast they type and such and then like the "read" status on iMessage put a mood. lol. "this person is: angry"
 
There's an app that tries to do that last year, but it didn't go anywhere.
 
ah damn
its a good idea because i always think people are mad unless they add a happy face
like "hey" <- person sounds bored as hell, but "hey:)" <- happy person
 
Ideas worth nothing without the market, execution, and money.
 
2:52 AM
hi sounds like they are confused why they got a message from you
 
user457812
 
user457812
Whatever that's a chipmunk
 
user457812
Going back to Fate Zero, as far as I'm concerned, it only gets better from the first episode onward
 
user457812
Especially considering the characters are actually reasonably well developed
 
only a month away from graduating !
i have a awesome summer planned
 
user457812
2:55 AM
imgur.com/SM5hXWP ⇐ It's super effective?
 
in june gunna go to new york for maybe a week or 2, then come back. then go to amusement parks and i know some developers in NYC that go to a lot of hackathons and will probably go hangout with them and go to some
they invited me to one yesterday/today (28 hour hackathon) for gaming but i had the easter stuff today and had to do a project with people yesterday
if i didnt have the project i would have gone though:P
need to practice my sketch, thats amazing stuff
 
@NoelCower Episode 1 was very confusing the first 15 minutes. There's a lot to digest. Then episode 2 I understand a lot more, but I feel like it wouldn't get as exciting as like Madoka Magica. I may give it 1 or 2 more episodes tonight and see if I like it.
 
user457812
Oddly enough, Madoka and Fate Zero have a fair bit in common.
 
user457812
By which I mean absolutely nothing good can happen to any of the characters, ever.
 
3:11 AM
so hows it going guys
 
user457812
3:23 AM
I have popcorn, therefore JoJo time.
 
Hello everyone!
 
Noel: Ah, I see. I can understand Madoka's characters in the first 2 episodes much more than Fate Zero though.
nayoso: Hi! My girlfriend is finally really moving to Hong Kong in July.
 
user457812
The motivations of characters in Fate Zero are a bit more complicated than Madoka's.
 
3:43 AM
True. And also I think there are way more character developments in Fate Zero than in Madoka.
I can remember all the names in Madoka in 2 minutes. Not Fate Zero.
 
hmmmmmmmmm
 
 
2 hours later…
5:44 AM
@EnricoSusatyo and you will moving to?
 
Not sure yet.
 
come to tokyo man
 
user457812
Enrico, be one of my job references.
 
user457812
Because I didn't actually work with Nathan.
 
user457812
Though I suppose I could email him and see if he'd want to be one.
 
5:49 AM
Noel: I can be. Are you applying for jobs?
Nathan is also a recruiter actually. But an Australian one at that.
 
user457812
Yeah, and trying to get in touch with past references, which isn't working out as well as I'd hoped.
 
nayoso: Maybe I'm coming down there later this year :)
 
user457812
Turns out a lot of people have disappeared from the internet, or lost their email accounts.
 
Noel: Yeah, I've had that problem too. I had a very nice boss that I still kept in touch today. But other than him the other people are dissapearing.
 
@EnricoSusatyo nice to hear that man, I'll be waiting for the next news
 
user457812
5:51 AM
It's like bit rot but with contacts
 
user457812
In other news, I think I'll try to get a Windows 8 installation going tomorrow. I want to see how Visual Studio's support for C++11 is and otherwise fiddle with the Metro dev stuff.
 
hey
 
user457812
Even if they don't want people calling it Metro these days.
 
what do you guys think of these icons?
 
user457812
Look nice enough to me. What's the bottom one for?
 
user457812
5:57 AM
Also, did you use American paper dimensions or A5 and whatever?
 
no lol i just made a random box size
the bottom one is like a copy file icon
thats what I've seen before and i use, but now I'm making all the icons my self now in sketch
 
Noel: It is Metro. I don't care what Microsoft calls it.
Anyway, let me know if you need my phone number or anything.
 
very buggy. just crashed on me, symbols are cool but you cannot resize it or it resizes everything. needs an option if all should resize or not
 
With your GitHub portfolio, probably a reference is just for sanity checking just in case you're a serial killer
 
and line tool is a mess. basically is a form of rectangle with only a border that is centered. so spacing is very messed up, finding dimensions is also messed up and points are messed up for lines
and by dimensions, when you hold alt/option it shows how far it is from everything, since its using a center border its frame is messed up
other than that, amazing app
 
user457812
6:02 AM
Ah, yeah, just email me a phone number and a mailing address.
 
user457812
I can also send you my info if you end up needing a reference, though I'd guess you've got a ton on hand from your current work
 
user457812
And why is Twitter now sending me some sort of 'weekly update' thing
 
user457812
It better not be pulling a LinkedIn..
 
Just sent you the info.
 
user457812
Thanks.
 
6:10 AM
No problem.
I have unsubscribed from almost all Twitter spam some time ago.
 
I just realized that nil is an awesome programmer after reading his resume
 
user457812
Friend of mine open-sourced a project on GitHub that had an AWS key in it. Apparently it took about 3 hours for the bots to find it and 20 minutes after that for them to spin up "400 large EC2 instances ... spread throughout all 7 regions."
 
user457812
I can only imagine the amount of shock that caused him.
 
so your friend left his AWS key in his project?
 
user457812
Accidentally.
 
6:12 AM
that's not a wise move I think
ah I see
 
user457812
It was a private project previously and was pretty old, so I don't think he noticed when he did it.
 
btw enrico I found the 3DS LL is 13.000円
 
It's obviously an accident, but how much will that accident cost them?
 
should I buy it?
 
user457812
Probably not too much since he caught it early on.
 
6:12 AM
That's quite okay.
 
user457812
Amazon might be unhappy about it, but I haven't heard anything else about it.
 
if I'm not mistaken we can revoke the key right?
 
user457812
I believe so.
 
I'm only using AWS once
 
nayoso: If you have about 10-20 hours of free time every week that you spend on random iOS/Android games, then definitely get it. It's a much better gaming experience.
 
6:13 AM
I see
Hmmm, usually I spent my weekend walking
Hmmm 10-20 free time
let's see, starting next month I will be commuting
the distance between my company to my new home is 40 minutes
 
user457812
I almost had a job with a 2-and-a-half-ish hour commute through snow and across state lines.
 
user457812
Ended up turning that down and haven't really had any luck since then.
 
so I can play it 40x2x5/60
6 hour 40 minutes
 
user457812
Occasionally I contemplate whether I accidentally pissed off a demigod that decided to curse me.
 
until now I'm just playing candy crush when commuting from one place to another
ah I remember that nil
you said it's also dangerous
 
user457812
6:17 AM
I'm pretty sure I just plain suck at the whole job hunting thing, though.
 
for you to commute right?
 
user457812
It would be here.
 
user457812
The roads are poorly maintained.
 
I see
why don't you try to go to australia?
I heard enrico have a job vacancy for android/ios developer?
 
user457812
I'd want to get some sort of stable income and cash reserves before trying to change countries.
 
6:18 AM
I see
I move country to get stable income and cash reserves
hahahha
 
user457812
Plus there's the paperwork involved, I'd have to give up my pets, etc.
 
ah yes you have 8 parrots if I'm not mistaken
 
user457812
Yeah, and if you think a cat or dog would be stuck in quarantine for a long time, you really have to consider that I have kinds of parrots that can't even be legally transported between countries regardless of quarantine
 
user457812
Mostly because there were people who'd capture those sorts of birds and try to bring them to the US to sell
 
I see
I only have a dog
I never have a bird, because bird is really fragile I think
 
user457812
6:22 AM
Sort of. There's different stuff to think about, like the bird's proximity to heated non-stick frying pans.
 
user457812
Which sounds like a cooking joke, but they give off fumes that're toxic to some birds.
 
I think I'm not good with pet
wow I never know it
 
user457812
Was either non-stick or stainless steel or something. I forget exactly since it's not really an issue for me.
 
I see
Hmmm where is borrrden today
he's not showing up
 
nayoso: Then a 3DS sounds like a good companion.
I watch anime on my iPad and play 3DS and listen to podcasts in my commute.
 
6:30 AM
3DS XL
I want the big one
hahhaha
my friend recommends me to buy monster hunter
and I'm sure you will recommend me to play pokemon right enrico?
 
Yes, and Zelda.
Zelda Link Between Worlds is one of the best Zeldas I've played.
 
I never played any zelda game
and enrico one stupid question
if I buy 3DS
can I play old gameboy game?
 
user457812
No.
 
Yes to some degree.
They have an App Store kinda and they resell old games.
 
user457812
That does work, but cartridges don't.
 
6:38 AM
So no they can't play your cartridge but you can rebuy them.
 
I see
 
user457812
The last DS to support GBA games was the DS Lite, and no prior one supports the original GB and GBC games.
 
do you have 3DS too nil?
 
user457812
No.
 
7:04 AM
Noel: It's pretty hard to sell anime to friends.
They're all hooked up with Game of Thrones and the like and wouldn't believe me when I said Madoka is better than GoT.
(Those are the people who've watched the classics like Dragon Ball Z, but still hard to convince them.)
 
Long live GoT
 
user457812
7:58 AM
@EnricoSusatyo I've only managed to get two friends to watch Madoka. One still hates all anime and the other just remembers Kyubey as "catbun" and probably didn't care at all.
 
user457812
The upside was that they were surprised when one girl had her head bit off. The downside is that they had zero interest and made no attempt to care to begin with, so it was mostly wasted.
 
8:13 AM
@NoelCower I thought that by the time the girl had her head bit off, people will get more interested in it. Since people like GoT and stuff. But yeah.
Suddenly my Safari became a derp. It's not loading anything anymore.
 
user457812
8:25 AM
I suspect the little girls thing is too much for sane people to look past.
 
I think that's just tiny details... But maybe I am insane too.
 
user457812
8:50 AM
I, Robot, aka Movie, Terrible
 
user457812
I'm not even sure how that ended up in the wrong room..
 
user457812
Too lazy to move it.
 
user457812
I put on JoJo's Bizarre Adventure and my cat decided to get closer to the laptop so he could watch.
 
11:48 AM
@NoelCower I've just re watched episode 3 of Madoka again. I really don't think I can re watch the whole series. It's still so freaking disturbing the second time I watch it.
 
 
2 hours later…
1:53 PM
Rain Started in India
 
 
2 hours later…
3:48 PM
Oh no Rain.
 
 
2 hours later…
6:00 PM
Question: how much time do you spend on one feature before moving to the next? Especially if others are being neglected?
 
How long is a piece of string?
In other words, there is no stock answer to that.
 
Gah
 
It depends on the complexity and importance of the feature.
 
@DuncanC Hmm
 
For example, our app Face Dancer is a "Freemium" app (free, with in-app purchase of additional features.) The front end to the app store needed to present the additional content attractively, and in a way that the customer could see what they were getting. We therefore spent a lot of time getting the in app purchase store looking really good, and making it showcase the extra features that it offered to the user. We spent several weeks on that one feature.
.
It also depends on your goals for the app. Is this a learning/personal enrichment app, or an app you intend to sell? Are you developing it for yourself, or for a client? If for a client then you should really have a functional spec that spells out the behavior of each feature in pretty great detail, and use that functional spec to come up with an estimate of the amount of time it will take to implement that feature.
 
6:13 PM
Thanks for the detailed answer!
 
I'm something of a perfectionist, so I tend to spend a lot of time getting the UI to work "just so".
 
Ditto
 
Take a look at the in-app store in our [Face Dancer app](www.tinyurl.com/facedancer)
Hmm. URL markdown doesn't work in chat?
The in-app store is an example of a feature that deserved a lot of TLC. The credits screen might be a case where I went a bit overboard.
(again, the app is free.)
 
some of these morphs are terrifying
 
If the IAPs sold better we were going to offer a Haloween-themed add-on pack. Sales have been very disappointing however.
I would have earned a great deal more $$ for the time I spent on it working at Walmart.:(
 
7:15 PM
You worked on it while at Walmart?
I think certain parts of it need to be rethough
*thought
 
 
1 hour later…
8:33 PM
No, I was saying that I would have earned more if I spent the hours I invested in that program working at Walmart instead. It's a joke. A sad joke.
 
user457812
8:49 PM
App dev is no way to make a living.
 
Eh
Depends on what you're doing.
And your idea.
You see some developers who prefer quantity over quality, have tons of apps/games (that are clones, unoriginal, poorly done, or all three) and still manage to be successful.
 
user457812
There are more factors than that, and most of said factors are outside your control and random chance.
 
9:54 PM
Hey guys:]
 
wake up @KrisSubramanian !!
 
@noelcower @enricosusatyo guess what:]
 
wat
Does it have to do with ewes
 
ewes?
no.. it has to do with me going to SF for June 2-6th
 
What about...double-ewes?
 
9:59 PM
?
 
WWDC, MAX, WWDC
 
:P
oh i got it XD
 
hi there
 
hi there back at you.
 
michael
 
10:01 PM
i don't want to seem rude, but i would like some help
 
how rude.
 
so rude
 
maybe not the right word
 
10:02 PM
What's up?
 
ok, I'm using SQLite in an iPhone application
 
so hows it going guys.. my day is very good
 
where I have something like "WHERE (x >= ? OR x IS NULL) AND y <= ?"
and 2 rows like
# | x | y
1 | 3 | 4
2 | null | 2

and the parameters for the select being 1 and 5
 
I don't hear a problem yet.
at the same time, you might have better luck if you ask in a room where there are more hard-core SQL people
like

MySQL and relational databases

Ask your question, and then hang around a while to see if an e...
 
10:08 PM
thanks
 
or ask on Stack Overflow. It sounds like a potentially complicated question and my brain is too tired for those right now.
 
user457812
Or they might shun you because it's SQLite
 
you try to answer the question then
 
user457812
They should ask it on SO.
 
user457812
Seeing as that's what SO is for.
 
10:21 PM
thought it was a known bug or something
but i'm posting a question on SO now, very curious about why is not working, been searching for a long time for this
 
user457812
Thought what was a known bug?
 
user457812
You haven't said anything.
 
user457812
Either way, answer that question in your question.
 
forgot to tell, the exact sql is working in SQLite Manager for Firefox but not on the phone
 
user457812
That depends on which version of SQLite is in each and so on.
 
10:35 PM
sqlite 3
 
user457812
That really says nothing about the version.
 
user457812
There are at least 126 versions of SQLite 3.
 
user457812
There'll probably be another one soonish.
 
i'm using libsqlite3.0.dylib library
 
user457812
Wouldn't it be easier to check SQLITE_VERSION?
 
10:39 PM
i can't look it up right now
 
user457812
It should be in the header file.
 
user457812
If you know the dylib you should also have access to the header.
 
i didn't knew exactly the filename and searched it on google but i don't have the files with me
but
do you really think it's a version problem?
i mean, AND and OR should work from version 1
 
user457812
It could be a version issue.
 
user457812
The version of sqlite that comes with OS X has small differences between the current version that makes it impossible to reliably use.
 
10:44 PM
aha, I see, I'll look more into this tommorow
thanks for the tips
 
and here's his question:
0
Q: SQLite Mixing logical operators OR and AND in iOS

Iulian OnofreiI have this data in an SQLite database: +----+------------+------------+ | id | start_date | end_date | +----+------------+------------+ | 1 | 2014-04-22 | 2014-04-22 | | 2 | 2014-04-22 | null | +----+------------+------------+ And I'm trying to get both of the rows in an sql like N...

great follow up question by David...
 
11:11 PM
crazy leopard stuff in India today...
 

« first day (599 days earlier)      last day (1557 days later) »