« first day (1069 days earlier)      last day (1087 days later) » 
00:00 - 04:0004:00 - 00:00

12:52 AM
MORNING
 
Morning
 
Hello NSGod
 
lol Im trying to change it
 
To... NSJesus?
 
lol to NSYAAS
do you know anyway way to recognize user without registering?
UUID change
 
12:59 AM
Yes. UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Hello, User."];
They'll feel recognised after that
 
lol
Or I should make people make usrname
:( but i doesn't feel right
 
I thought you're god
 
not
 
@EnricoSusatyo have you gotten a chance to test the app today?
 
user457812
Why did Max change his name to something stupid again?
 
1:10 AM
@mattsven No sorry I was really busy
 
user457812
Everyone should learn Go.
 
well, Owatch has started on it
make a wiki with it
 
ugh, I need to figure out a way for user to be recognize even after deleting the app
 
user457812
What, you mean.. like.. putting data.. in iCloud..
 
user457812
But how would one do that
 
1:24 AM
It's a mystery
 
No, like people don't need to register, but if they delete the app and reinstall they can start from where they left off
closest i got is UUID
 
user457812
So.. like.. putting data.. in a storage location.. associated with their apple ID
 
yeah
if that can work
ugh now i really want to change my username
Or wait, can I save coredata to iCloud?
 
user457812
I don't use CoreData, so who knows.
 
You evil
Why don't you use Core Data?
Do you also not eat processed foods and make your own fire?
 
user457812
1:34 AM
Because I don't.
 
user457812
I like Go. That should say a lot about the way I think.
 
wait what is Go?
 
user457812
 
so much just to print hello
fmt.Println("Hello, 世界")
 
nil, Do you remember that guy who downloaded your Android wallpaper app some time ago and turned out to be my coworker?
 
user457812
1:37 AM
Yes.
 
user457812
@NSGod Do the same in Obj-C.
 
Im swifyyyy
 
user457812
Do the same in Swift.
 
print("Hello, 世界")
 
user457812
And you think that's significantly different?
 
1:40 AM
faster
plus thats just print
 
user457812
Faster in what way?
 
get more done
 
user457812
Ok, write an HTTP server.
 
focus more on solving solution
rather then fixing syntaxes
 
user457812
Hang on, I'll write an HTTP server so we can compare.
 
1:41 AM
K
 
fight, fight
 
lol
    let FetchURL = NSURL(string: "URL"")
    let request = NSMutableURLRequest(URL: FetchURL!)
    request.HTTPMethod = "POST"
    let fetchString = "PARAM"
    request.HTTPBody = fetchString.dataUsingEncoding(NSUTF8StringEncoding)
    let task = NSURLSession.sharedSession().dataTaskWithRequest(request, completionHandler: {(data, response, error) -> Void in

    })
    task.resume()
 
user457812
package main

import (
	"fmt"
	"net/http"
)

func main() {
	h := func(w http.ResponseWriter, r *http.Request) { fmt.Fprintln(w, "Hello") }
	http.ListenAndServe("0.0.0.0:4040", http.HandlerFunc(h))
}
 
user457812
I said HTTP server.
 
user457812
Why are you just writing a POST? POSTs are too easy.
 
1:44 AM
Oh i don't know how to do that with swift yet
Im new to swift
 
Nil is win.
 
yeaaaaah
 
I've been deprived of games for a while now, and It's beginning to make me feel miserable. . .
 
@nil I am sitting with him again in another company now lol
 
user457812
1:49 AM
What, you need a library for that?
 
user457812
What kind of garbage language is swift
 
user457812
Sheesh, get out, your language sucks.
 
user457812
(Also, your language has zero application outside of Apple)
 
user457812
(Boom.)
 
user457812
Forgot to mention: the HTTP server I posted above runs on Windows, Linux, Mac OS, iOS, Android, FreeBSD, OpenBSD, etc.
 
1:50 AM
Okay write POST in Go let me see
Im not trying to win, Im trying to compare
did you guys see new youtube update?
 
user457812
response, err := http.Post("http://host/path", "application/json", strings.NewReader("{}"))
 
user457812
OK.
 
user457812
Have a POST.
 
sheet no way
 
PFFFTTTT
 
user457812
1:52 AM
You sure wrote a lot of code for something simple.
 
You measure a language by how many lines of code you can write a POST request?
GIVE ME A BREAK
 
user457812
I measure a language by how many lines of code I need to build a system that runs on all CPU cores without becoming a giant mess.
 
user457812
Haven't currently found the point where Go stops being readable.
 
user457812
Oh, and I guess I just get the multicore stuff for free.
 
Oh well too late I already began learning swift maybe after i master it
 
1:56 AM
How long should it take for an NSGod to learn Swift though?
 
For NSGod, maybe 1 second.
 
lmao
Im changing it to NSGigolo
 
Uh! o0oo
 
Who drinks in here?
Alcohol
 
Daddy drinks
 
1:59 AM
have anyone try to coding while hangover?
 
Ask Max, the resident AA regular.
 
Are you hangover?
 
He not lol
 
use to
yesterday
I went out after month
 
And all this time we just thought you weren't a native English speaker. Little did we know...
 
2:05 AM
lol
 
user457812
play.golang.org/p/i1dn4Mj9EX ← On the topic of POST-ing from earlier, by the way, I just got bored and wrote a program to send arbitrary requests.
 
user457812
OK, now everyone go do that in their favorite language.
 
user457812
This is also part of the reason I like Go: it's really easy to just write code in it.
 
2:25 AM
Guys, can you help with a math problem?
 
user457812
BUT WE WERE DISCUSSING POSTING.
 
But @nil please
 
user457812
You can ask, but I'm dumb as a rock.
 
This problem will fix everything I've ever done
You know how you can set a UIImageView's contentMode to Aspect Fit?
I'm trying to figure out how much padding it puts on the top and left
 
Math is hard.
 
2:27 AM
I can't figure it out
I thought I had it perfect
I know I can get the frame of the UIImageView and the size of the UIImage
And do some sort of math to determine the differences and i tried multiplying it by a percentage to resize it
But it won't do it
 
Well, let's hear it then. .
 
Uh
I'm not sure
How to help?
Like, or explain.
 
Well you're asking for help, but AFAIK you just have a math problem at this point.
Give me an example or something, or describe exactly what you need.
 
I basically did this:
CGFloat f = frame.size.height / frame.size.width;
CGFloat w = size.height / size.width;

CGFloat yes = (f > w) ? f - w : w - f;
frame.height -= frame.width * yes;
I kinda did something like that?????
 
So you want f & w to be identical?
Why not just set w.height to frame.size.height?
And frame.size.width to size.width? Or must the ratio remain identical?
 
2:33 AM
ok
you know
how you have a UIImageView?
 
Yes..
 
You can put a image in it that is bigger than the UIImageView set to AspectFit
 
Yes..
And it will resize the image for you.
 
I want to somehow determine what its resized to
 
Are you trying to replicate this functionality?
 
2:35 AM
Yes
 
You are trying to replicate it. Or just to determine what size it becomes?
 
Determine the size
 
Because as I understand it, in order for the image to fit. The longest side must be equal to or smaller than that of the UIImageView.
 
Wait. Uh. Actually replicate it
 
user457812
It's resized to whatever fits inside the bounding box.
 
2:36 AM
I'm not sure how to do that though. I think.
Does it only make sure that the width could fit? Because I know the height gets resized too
 
It depends.
 
user457812
Side-effect of my disturbing habit of writing UI libraries: I've done this way too many times.
 
Lol, oh
 
Each side of the Image must be equal to or smaller than that of the enclosing view.
 
2:38 AM
Well it's just. I need to replicate it exactly, but I don't know how to
 
So if the height is larger than the height of the Image View. Then the height becomes the height of the image view, And the width is just scaled down proportionally.
If the width is still larger than that of the UIImageView, than the image is scaled down till the width fits. Since the height is already small enough, the image is okay.
Let me write something for resizing then
 
Okay
Like
 
Although I guess Nil's link should work too.
 
I have code to resize
 
user457812
Works if you can read ooc.
 
2:40 AM
I don't know swift x:
I tried to read it
 
user457812
That code isn't swift.
 
o.O
What is it?
 
user457812
ooc.
 
user457812
 
2:41 AM
o thanks
Like, I have math to resize things correctly
And like
I tried to see what the proportion is for the UIImageView and I try to make the UIImage to resize to have that proportion
 
user457812
The scaling factor should just be min(bounds.w, bounds.h) / max(img.w, img.h) off the top of my head, but I'm probably wrong.
 
Oh
That actually makes sense
.-.
That got me "0.53166666666666662"
But, I'm not even sure what I'd do with that...
The problem is I have to position it too
 
user457812
It's a percentage.
 
Oh good god.
 
user457812
To fit an image of size X into a bounding box of size Y, you need to scale it by that.
 
2:50 AM
The result of this was terrifying pastebin.com/VzJgmLkp
 
-(CGFloat)getScaleChangeForImage:(CGSize)image comparedToView:(CGSize)view
{
    CGFloat scaleDifference;

    if (image.height > view.height)
    {
        // Scale height
        CGFloat difference = image.height - view.height;
        scaleDifference = image.height / (image.height + difference);
    }

    return scaleDifference;
}
This only accounts for height.
But is easy to modify.
 
user457812
You'd scale width and height by the same factor.
 
Yes.
 
So multiply width & height by temp?
 
user457812
Yes.
 
2:51 AM
Oh
I'll try that
Nope
 
user457812
No real guarantee it'll work since I stopped writing UI libraries because my sanity can't take it.
 
Didn't work lol
 
user457812
As a side note, it might make more sense to visualize this in something where you can see the results fairly easily instead of writing a ton of C.
 
Meh. I'll just do more mathing I guess
It's all proportions
I'll do some messing around with math I guess
Hiya @mattsven
 
i'm worried that the most starred thing I've said in the sidebar is about hitler
 
3:02 AM
;)
 
I actually screen capped it the time
Thought you would remove it.
Fastest I ever reached for cmd shift 4
 
wasn't fast enough
lol
 
This is a bit crude, but will resize images appropriately.
Actually no, it gives you a CGFloat to do it.
If your image is 2x larger than the frame. It will return a CGFloat of 0.5
So you multiply your image size (Width & height) by that to scale it down.
It also does the inverse, and scales images up to fit in the frame if they are too small though
I have not tested it.
 
nice
Owatch, so the issue occurs whenever you try to scroll at all?
no special conditions?
 
You mean the colors? Yes.
 
3:09 AM
grr
my 5C is on iOS 7, and I'm not sure I should update it
I'll try and reproduce in the sim
iPhone 5, 8.4
 
Who put the App Store email on here the other day?
 
for featuring? max
 
I had a question about trying to email them about getting on the front page
 
want it?
 
Nah I made sure to save that haha
 
3:10 AM
lol
 
My app should be coming out really soon, I hope it's not too late
 
It's too late.
 
I was wondering if I'm supposed to send them a preview
 
Just give me the source.
 
lol
 
3:11 AM
I'm sorry lezspommes.
You tried hard.
 
@Owatch I think you have accessibility turned on, I wonder if that could be related
I can't reproduce it
the app doesn't do anything at all when you're just scrolling, there's no handlers for that...
 
I think Hyphen must be retired then.
There is no question about it. Shut it down!
 
:(
deletes codebase
 
Also, put the source in my dropbox along with lespommes.
 
Go to hell
 
3:16 AM
BTW, if you have any other work
You can put it in my goodie basket too.
 
:P
 
what are you guys listening to right now?
 
oddisee - first choice
best rapper out there seriously, and produces all his own stuff
 
Whoa, Matt knows I am listening to Music
I am listening to Walk the Moon
 
3:25 AM
I've been on him for awhile but he's finally getting a little bit of recognition
 
@Maximilian which song?
@lespommes checking him out now
 
Different Colors
 Music, whole album
 
@DestinyFaith See if this works: pastebin.com/t57nu8PV
@mattsven Yeah, I am back and testing it. And it keeps snapping back.
 
@Owatch I've tried that in the past :/
 
Okay?
 
3:28 AM
Basically it doesn't work
 
@lespommes I like it, his does his own production too? impressive, it's pretty good
 
I just wrote it now.
But if you've done it already.
 
I know, but I've tried basically the same exact math in the past
 
non-time traveling casuals...
 
...
 
3:30 AM
Super Awkward when you snap chat your ex
 
It used to work fine. Basically what i mean is that There was an obnoxious problem with it
 
linear beings, man
 
@Maximilian "snap"
@Maximilian "chat"
 
"snap"
 
Like, snapped her back?
 
3:30 AM
@Maximilian "ex"
 
extraterrestrial
 
Racist
 
Ya I think he's one of the best out there, lyricism is awesome, all his songs are meaningful, uses all different kinds of awesome flows, all his albums are good and most of the songs are, and he's gone tons of chill instrumental albums
Guys crazy
 
I just
 
Why not c/p my method in, and see what happens?
 
3:31 AM
So, I think I can do this honestly
Don't know how
 
It might not work for a whole bunch of reasons. But there isn't much wrong with the math..
 
@Owatch Because I did lol
 
And it did not resize it?
Or it did, but incorrectly?
 
Incorrectly
Let me check
Brb
 
@Owatch I've solved the bug
you have to delete the app
 
3:32 AM
@destinyfaith get on Skype
 
and never open it again
that way I can pretend the bug doesn't exist
 
@Maximilian I'll show you Skype
 
If a bug occurred on an App that doesn't exist. Did that bug ever really occur?
 
No. Yay, problem solving!
 
Hey @Maximilian
 
3:37 AM
wow. been awhile since I heard this song youtube.com/watch?v=vN7HQrgakZU
 
@Owatch oh no, pls no, oh no, it just, oh no, it does the beyond opposite XD
 
What?
 
It basically turned it into a spec
 
It works!
 
XD
Brb i'm trying something that might make technology
 
3:47 AM
"might make technology"
 
Solved
 
Did you change to NSGigolo yet?
 
Not that, how to recognize user even if app deleted
I have to wait 30 days for that
@DestinyFaith
 
@NSGod What do you want?
 
3:53 AM
@lespommes hello
 
Can you seriously stop being a dick?
It's not fucking funny.
 
so...
guessing you don't like spiders
 
No, I don't. And he fucking knows it and won't stop it.
 
Well
 
Who's a dick?
 
3:54 AM
Max what kinda email should you send to the app store promotion thingy
 
MY APP IS THE BEST APP
 
Im guessing you should send them the actual app? I dont really wanna do that before its released :(
 
FEATURE ME OR REAP THE CONSEQUENCES
I WILL BE ULTIMATE
 
@NSGod don't post spider pictures please
 
lol I know what to say and what the content should be I mean. I was talking more about the attachments and what not
 
3:55 AM
@mattsven I got tips for getting featured
1) Mention your age, they like to feature young developers
 
@Maximilian alright
 
"Hi, my name is Matt, I am 5"
2
 
2) explain why your app is different, send them screenshots and maybe a video even
I would be professional for it as well
formal
 
Young....seriously?
 
Hi am 11, I program like t-swift
 
3:58 AM
You're right Destiny. It makes it very small.
:(
 
@Maximilian if only I was faster, I could've had this in the bag
I'm too old now
 
I don't understand this technology. The width is like 2% too much
 
On the internet, no one knows you're a toddler
 
how old are you Matt?
 
Are people seriously that desperate that they use their age for marketing...
 
3:59 AM
That's question a creeper would ask, Maxie.
 
Oh, you bet.
 
I would, if I was younger.
It works. And it looks good.
 
00:00 - 04:0004:00 - 00:00

« first day (1069 days earlier)      last day (1087 days later) »