« first day (1252 days earlier)      last day (904 days later) » 

12:21 AM
@Owatch Where's here again? (It was a mix of sun and rain here in the DC 'burbs).
@mattsven Yup, you want NSURLComponents. It's a pretty handy class. Much easier and cleaner than constructing/deconstructing URLS as strings. I wish I knew about it a long time ago.
 
 
2 hours later…
2:38 AM
I just wrote a master NSURLProtocol subclass that allows you to sub-register other NSURLProtocols and decide which ones get delegated which requests. Also allows you to still keep track of all and intercept all traffic/requests :D
 
3:01 AM
(It's pretty cool.)
 
user457812
Uh huh.
 
Guess where I am
 
Tokyo.
 
OK, I give up.
 
3:13 AM
Lol
He successfully guessed where I am though
 
I knew it
 
LOL borrrden
They booked a nice hotel ballroom.
Also gonna ask them if TVML is named after TV Maximilian Litteral.
 
You were invited? :o
and probably
nvm misread your message
 
 
12 hours later…
3:15 PM
@Maximilian You added 3D touch support without an actual 3D touch device, right? How?
 
3:45 PM
@mattsven my friend from England came here and let me borrow his iPhone 6s to test
Because flying over seas is easier than adding mouse-click-to-activate-3D-touch gesture
3
 
anyone want to hire me?
python/django/objective-c/swift/
dev
anyone want to hire me?
dev
python/django/objective-c/swift/
 
Good luck finding a job :O
I'll hire you to take my school classes
PE is in a hour, suit up
 
4:10 PM
anyone want to hire me?
 
4:37 PM
@Maximilian Hmm...I need to make friends some someone from England...
 
4:50 PM
talk about tea?
and see who shows up... I think dev2rights is in England.
 
You need English friends? @mattsven
 
5:11 PM
yes
 
Hello.
@DuncanC Groningen, Netherlands.
Dev can be your English friend.
Or Rage, but he's OD in Seattle or something.
 
@Dev2rights Do you have an iPhone 6s?
*(otherwise we can't really be friends)
 
It's looking bad for the new block of classes this time round.
Program correctness seems to be the KO for students on the verge of dropping.
 
5:29 PM
Program correctness?
 
Its the name of the course. It's about mathematically proving that the specifications your program fulfills is correct.
Since test cases are very weak.
 
> that the specifications your program fulfills is correct
 
Whatever.
 
You mean that your program fulfills those specs correctly?
 
It's about proving your program fulfills the specification.
Yes.
 
5:32 PM
Why not just run a bunch of test cases?
 
Because test cases only cover the specific test case.
So you have only made it valid for X number of cases, you haven't proven or shown it is valid for all.
 
Right, but you can't possible account for every case, unless you have a really simple program and can design some sort of procedural generated tests...
 
No. Which is why proofs are involved.
They prove, that the program will do as expected.
And account for all cases.
 
hm
 
its hawd.
:(
I can easily see myself failing this.
And we just begun.
 
5:42 PM
How many programs will you have to do this for? assignments, basically.
 
Well, you write proofs. There is no programming involved really. You do write program pseudocode in parts, but nothing involves using a computer.
I have assignments due at the end of every week. They take a couple days to get done. Miss any and you fail.
Then there is a mid-term,and final.
 
Oh, I see. So given a theoretical program, you write a proof that would ensure it matches specifications.
That sounds wonderful
 
Yeah.
 
I'm guessing you have 0 time to work on your podcast client/reddit app.
I hated those periods
consumed by assignments
 
Yeah, I don't.
At least not since last weekend
Have I had time.
Well. One last block after this one. And then year 1 is done. :/
Then I got 2 more years to go.
 
6:03 PM
It's all I've ever wanted
 
Says the author is from Melbourne, AU.
Now I'm going to read it in that accent.
"It’s bean about a saulid eight months since ah first desahded to jump completely inta the Swift wormhole"
Accents are hard over text.
 
very
 
6:35 PM
Want to do a few projects in Swift when this 2.0 release goes out
I already have one thing in mind...
Need more ideas. And has to be something I actually want to make.
Also something small, so I don't have a huge codebase to transition when swift changes
 
An App that tests your debit card security strength!
 
Nah, too easy.
Hello, please enter your debit card # and pin:
Card #: __________________
Pin #: __________________

[ NO ] [ SUBMIT ]
 
Or you could make a dating simulator App.
"Hey ___, what's your mothers maiden name?"
"What was the name of your first pet?"
 
"What was your childhood nickname, bae?"
I just realized you have a little bit of an obsession with security questions
 
What is your favorite question Matt?
Sigh.
Maybe I do.
 
6:53 PM
It's OK, pal.
By the way
What's was the name of your high school?
@DuncanC I'm finding appending URL fragments is tricky business
 
Uh..
 
@mattsven yes we have all the devices for testing
 
Hello friend!
How soon can you fly to the Americas?
With the iPhone 6S, preferably.
 
Depends on a few things
1: Which part of the greater are a known as the Americas ?
2: how much am i getting paid ?
3: is this some sort of a scam to make me a drug mule?
 
You're paying for it.
 
7:01 PM
Oh
i see what kind of friendship this is
it would be cheaper for me to buy one in the states and get it shipped to the location
besides you need it
:p
maybe you should be going to the Englands
 
Sigh
I was afraid of this.
I was hoping I could get you to strap yourself down with 127 iPhones and get them through customs, but, alas.
 
you do realise they are way more expensive in the UK
you would be literally losing money
 
I should have done more research before coming up with this plan.
 
what you need is one of those Chinese factory workers who made of with a load that fell of the back of a Lorry. Not that i am condoning or encouraging such behavior and am not responsible for any actions you take by the most legally strictest definition...
 
Now I just need a Chinese Factory Worker friend...
 
7:13 PM
Why are you commiting to a life of crime
there are many 'legal' ways to get an iphone 6s
 
@Dev2rights Because the simulator does not support Force Touch...
 
well i dunno
get a paper round
or a you would call it in the states
a paper route
 
Sure I could buy the iPhone 6s, but I couldn't afford the iPhone 6s.
¯\_(ツ)_/¯
 
well there are many ways to acquire money, honest labour, selling your body ... the options are limitless
 
I'm offended.
 
7:15 PM
its all down to how badly you want the device
hey i didn't invent ways to make money
i just observe them
 
Thinking of creating a web project in open-source story format
weekly stories, submitted via pull request.
 
so a blog?
 
I..
oh..
I mean - Yeah, but with git, so it's cooler.
 
id say you limit your exposure
that is if you want to get people to read your finest works
 
You should infiltrate the mom-blogs.
Tell us what the newest injustice or recipe is.
 
7:22 PM
Or, for maximum readers, both
 
well the newest injustice in the uk is them taking awa transport from disabled people
and the newest recipe is deep fried moth balls and gee
a si just invented it
on mum blogs
it is men being men is an injsutice and the newest recipe is boiled husband
according to dave
 
awa transport?
 
away
sorry im in the pub
and my mate just turned up
good luck
on your quest
if your a good boy this year, maybe santa will bring you one for christmas
that is if the world doesn't end in 2016
 
8:11 PM
@mattsven What is the name of who's high school?
@mattsven Agreed. Using NSURLComponents makes it much easier and cleaner. I suggest using that method instead.
 
@DuncanC Owatch's
I mean fragments like: "(My Site) Is Awesome.html#01"
The problem there is two-fold: most NSURL methods will reject it, because it's not escaped.
If I escape it, that destroys the anchor/fragment
 
Interesting that you should ask about high schools though. I live in Virginia, and read in yesterday's newspaper that a couple of VA Tech freshmen have been arrested for abducting and murdering a 13-year-old.
 
What the hell?
 
One of those accused murderers went to my high school.
 
What? Wow. Did you know them any?
 
8:14 PM
Hardly. He graduated in 2015. I graduated in 1981.
Some of my older teachers may have died of old age since I graduated. :(
 
Time marches on.
Someone should submit a bug report
 
A bug report on time?
Getting older is better than the alternative.
 
Living forever?
 
Dying.
Re URLs, you have to escape the components before you assemble them.
 
Well, you're always dying, technically. It's just more imminent the older you are.
I know
In this case I'm being handed a URL fragment that's relative to an absolute URL
 
8:19 PM
If you assemble a URL from NSURLComponents and add the parts one at a time: scheme, host, path, query strings, etc., then the output url string should have the components escaped correctly.
But it sounds like your URL was badly formed before you got it.
"(My Site) Is Awesome.html#01" is not a legal URL.
 
Well, that's why I said fragment. Or path component, if you exclude the anchor.
That fragment is valid as a relative URL in HTML. Which is where that fragment is coming form
 
It's only valid if it's properly escaped.
Anyway, I need to get back to work.
 
Thanks
For the short and slightly philosophical existential chat
And URL help
 
8:34 PM
Is anyone in this chat familiar with Swift?
I need some help
Bye
 
8:51 PM
Aw, he's gone
 
 
2 hours later…
10:39 PM
Pet peeve: someone asking "does anyone know x" and not actually just ask the question.
lol
 

« first day (1252 days earlier)      last day (904 days later) »