« first day (1899 days earlier)      last day (3056 days later) » 

4:00 PM
what a time to be at MS
 
That is true Ahmad
 
which microsoft products do you actually use in your everyday life?
 
everyday? None
 
My work laptop is it.
 
I do use Windows occasionally
 
4:09 PM
Well, Windows that is.
 
I have a database design issue: I have a user (name, email, password, usual stuff) and a group (just name and place) and user can belong to multiple groups, also group has many members and each has some permission level. There are 3 permission levels atm, but I want to make it extensible, so I need some kind of versatile model and I don't know how's that usually done
now I have three lists for write/modify/owner, all are ManyToMany
 
Perhaps a joining table?
So a table called userGroupPermissions or something that has (user_id, group_id, permission_id)
so a user can belong to multiple groups and can have a different permission in each group
as well as groups being able to have multiple users
 
yeah, thought about something like that
 
So each column would be a foreign key to one of the three other tables.
 
still have to figure out how to implement it in Play :p
 
4:14 PM
If you can't visualize it lemme know and I can make an SQLFiddle.
 
yeah, yeah, I understand table structure
 
okay
 
Abstract concepts are in 90% easier to work with (yay no tables, no sql, only objects!), but when you need precise control they are kinda pita
I guess Google knows
 
@netpork Wunderlist, Outlook/Sunrise ^^
 
Yeah this sounds like something you'd want a relational database for, with the information you've given so far.
What platform is this project for? Android? Why not just use SQLite?
 
4:17 PM
Landed!
 
Nah, server
 
Literally still on the plane, you happy Adam? :P
 
@harikrishnan Rejected, you only use chat for tech support.
 
I found it easier and faster to type in Java than php
 
Dang.
I'm still not fast enough Ahmad ha
You just Carl'd me.
 
4:18 PM
@harikrishnan see previous message.
 
@harikrishnan do not request access repeatedly it is the easiest way to get on our ban list.
... well I'll just sit over here in the slow poke corner.
 
it's just merely a reflex now
 
I'm still to naive that I take time to give people the benefit of the doubt haha
 
actually I have the welcome message pinned on my doc
 
I need that.
Or we can bring bot back to do this.
 
4:20 PM
pls no bot
I hate the bot
it breaks conversation flow
it's unnatural
 
Whoa, your dock is huge.
 
Adam just do what I do for cat pictures and use autocorrect
 
Nu
 
we could make the bot mod only though
 
Limited to room owners and used for accepting/rejecting would be nice.
^^
 
4:21 PM
it's not that big @Rishav :D
 
There's really no need for owners to have all the fluffy commands and stuff
 
this is the entire thing
 
Huge af :P
 
(ironic of me to say that after I have a pending PR for a bot command of Jon Skeet jokes)
 
4:22 PM
way too small!
 
lol wait
 
you're not productive enough lol
 
Mail? Safari? only 6 dock items?
How do you use that...
 
Lol
I'm just browsing reddit now
And terminal is all I need to code usually
 
you use vim?
 
4:23 PM
Yeah
 
@Luke What DBMS is on the server though?
 
aaah k, makes sense then
I really need to learn vim
a friend of mine showed me his workflow
 
Is that soundcloud on your dock?
 
with split screens and all that, really cool
yes!
Berlin startups represent!
 
There's an app? whoa
 
4:24 PM
nah, not official
 
I try to avoid using the dock
 
Luke, going out for lunch. Ping me if you have any questions, otherwise I'll be back in a bit.
 
it's a cool wrapper around soundcloud
I type everything into the spot light bar as well eski lol, but I like having the dock
@RishavKundu soundcleod.com if you want it
 
Thanks:D
 
yw :)
 
4:28 PM
@McAdam331 PostgreSQL
I'll figure it out, it shouldn't be hard
oh, actually it should be easier than I thought (and it's conveniently named 'bridge table')
 
@Ahmad you can use vim shortcuts even in gmail
 
yeah I've heard about that!
sounds really cool
but I use airmail either way
 
Although os x uses Emacs bindings
 
4:49 PM
So the hololens is going to cost 3k? :(
 
I don't think so
only the dev version probably
(hopefully!!)
 
@Luke Oh okay. Different from MySQL, but still a relational database so the concept is the same I believe.
LOL GUYS
 
yeah, it's pretty much the same
 
@TristanWiley just sent me a picture of his girlfriend's phone background.
user image
2
 
LOLOL
HIS GF'S?!
omg this is amazing
 
4:52 PM
She's the third wheel.
 
hey @tristan'sgf why you stalking. Make a SO account.
 
And we'll make her work for 100 rep even if she knows nothing about CS.
 
but then adam will probably reject her because she doesn't have 100 rep
 
:'D
"She doesn't even GO here!"
Ahmad that one access request is still hanging do you want me to clear it?
 
yeah sure
please do
 
4:56 PM
Dec 15 at 18:14, by McAdam331
I could own the shit out of this room. No one room owns like me.
Little did I know that six days later I'd actually be doing that.
@Mauker are you here?
 
a room 15 prophecy
 
If only all my wishes in here came true.
Jun 18 at 20:28, by McAdam331
@codeMagic you should save this ascii face for "ლ(ಠ益ಠლ) Y U NO HAVE GOOD QA RATIO?"
o wait
I can use that now (but I won't).
 
hey Carl
I have my interview for that TSC position today.
 
g'luck
 
5:08 PM
Thanks! I am way more nervous than I was for the engineering one for some reason.
 
hey Carl
 
Oh good you are here, Een. I just sent you a hangouts message if you're not busy.
 
I just heard the notification
Going to take a look
 
@Ahmad what about that sweatshirt?
 
3 hours ago, by Ahmad
@tristan can I send the hoodie to you and you give it to me at pennapps? <3
3 hours ago, by Ahmad
I would have sent it to my aunt's in NYC, but this time I'm flying directly to Philadelphia
@tristan
 
5:20 PM
Yeah, you just can't have it sent to Germany?
 
@McAdam331 no
 
it costs $60 to send it to germany :(
US delivery is only $10
doesn't make sense to buy something for $50 with $60 shipping
 
Mauker I stumbled upon your picture again
#neverforget
Nov 7 at 0:15, by Mauker
user image
 
Yeah sure, send me a message on Hangouts and I'll send you my address
 
@TristanWiley awesome!
will do that later today :)
 
5:25 PM
Super
 
why do I have to iterate over Set to get an element
I mean, that's ridiculous, they are already hashed and stored according to it
can't we have a method which will hash the given object and see if it's in its spot (and do equals() afterwards) and return it
oh wait
if I add() it, it'll just write it over the old one?
 
Now I'm here.
 
I think that's how they work but I am not 100% sure.
That's how a HashMap works
 
@Luke Set is an interface.
 
oh right, I usually mean HashSet when talking about Sets lol
LinkedHashSet specifically, it should behave the same
 
5:30 PM
You should use contains.
 
> Adds the specified element to this set if it is not already present. More formally, adds the specified element e to this set if this set contains no element e2 such that (e==null ? e2==null : e.equals(e2)). If this set already contains the element, the call leaves the set unchanged and returns false.
 
oh come on, that's ridiculous
well, what if I have an id of an object, and equals/hash it according to the id, I should be able to retrieve the element with the given id in O(1)
 
That's for HashSet, so no it doesn't replace it.
 
Luke, you are probably confusing Sets with Maps.
 
> That's how a HashMap works. - me
I wasn't thinking when I said that apparently.
 
5:34 PM
@McAdam331 okay, I could use remove followed by add though
 
They are different.
 
@RishavKundu you're right, I should use a map
I've always thought of Sets as a special case of a Map (i. e. uses hashCode as a key)
 
I guess I did too because of the unique keys.
 
Adam, you have a historical problem with "unique keys"
 
God damnit.
 
5:39 PM
gosh darnit.
 
o/ neb
How was your holiday?
 
heyo
is good!
just poppin in to say hi, as Im no longer doing android things.
sadface.
hows your holiday?
 
How is your new position (if you've started it already?)?
It was great! :)
 
really good, Im enjoying.
been a bit of a learning curve but otherwise good
 
What kind of work now?
 
5:41 PM
lots of java, working with solr, and then front end development with angular, typescript
 
oh okay
 
will eventually be lots of d3
 
o/ neb
 
heyo carl
 
That's a JS library isn't it?
 
5:42 PM
what ever went down with google? I lost track
d3? yah, is js
 
Oh yeah because I remember Eski sharing this cool site r2d3.us/visual-intro-to-machine-learning-part-1
2
 
thats a cool site for sure
 
woah, really cool site.
 
yeah I'm reading through it now more closely than I did before
> D3.js is a JavaScript library for manipulating documents based on data. D3 helps you bring data to life using HTML, SVG, and CSS. D3’s emphasis on web standards gives you the full capabilities of modern browsers without tying yourself to a proprietary framework, combining powerful visualization components and a data-driven approach to DOM manipulation.
That sounds so cool
 
it is : )
 
5:57 PM
You are a jack of all trades aren't you neb?
You seem to know a bit of everything.
 
yah, maybe so
I know nothing about a lot of things.
 
6:20 PM
hey you guys, what is that cloud db service that everyones using again?
I cant remember the name of it
 
Firebase?
I think we talked about it.
 
Every db is available in the cloud nowadays.
 
yah
that one
firebase : )
 
:)
 
Three hours
the hyperventilating is strong with me
 
6:52 PM
o/
 
o/
 
o/
 
I'm a String! \o/
 
You're a String!
 
yo cM;
 
7:01 PM
hey, Een
How's it going?
 
@Mauker String newOwner = cM.replace("codeMagic", "Mauker");
that's what you should have wrote.
;P
 
And I would have run my super script that does boolean kicked = doKick("Mauker");
which always returns true
That's the most code I've done in over a week.
 
lmao
 
hahahahahaha
 
No one will be attacking these toys anytime soon
 
7:13 PM
I'm most afraid of the minion.
 
Lol
 
Look at that smug innocent look. That just screams 'I'm nice but if you touch this I'll fuck you up.'
 
True story...I laughed way too hard at myself after I set the toys up like that to take a picture
 
lol
 
My kids aren't even here. I did it for myself. Lol
 
7:15 PM
I want a life size Kylo Ren...
 
That one was only around $20. They have bigger ones for $100 but I didn't want to spend that much on it. Probably should have though
 
Speaking of smug faces that look like they'll fuck you up...
 
:D
 
He would get speedy delivery.
Have you seen TFA yet cM?
 
No :(
 
7:19 PM
D:
Kylo Ren [REDACTED] and then [REDACTED] and later [REDACTED] totally [REDACTED] and I lost my shit when [REDACTED]. And that, kids, is how I met your mother.
 
I wasn't about to deal with the crowds. I thought about taking the kids this weekend but we stayed busy with all their new toys/games and didn't make it out.
 
Ah okay. It was pretty good.
 
:P
I'm trying to not go without them but I also don't really want to take the two younger ones
 
am good cM
 
Good. Keep it up
 
7:32 PM
It is hard!
 
feeling very productive the last few days of work
it's nice, after basically having to learn tons of crap to just understand anything here
 
I'm glad you finally did something
 
one of us had to cM
and I didn't see you being the one
 
I'm glad it was you. Doing stuff hurts me
I had to take a nap after doing this...
30 mins ago, by codeMagic
user image
I had to position 5 different toys just so!
 
I hope emergency staff were on standby
 
7:48 PM
No, eski, I was alone!
And Clone Commander Cody gave me a real fit! But I survived
 
I checked to make sure that wasn't a rickroll before I clicked on it :D
 
It's a dijkstroll
 
lol
 
lol
yes, Java was new and underdeveloped in 2002. It's different now.
 
7:58 PM
true
 
8:45 PM
I'm halfway through this paul graham essay
it's good.
 
Computer science is a grab bag of tenuously related areas thrown together by an accident of history, like Yugoslavia. what
Oh, it's good indeed
 
Guys, please don't make fun of Ahmad when he's wearing a cupcake hat. He obviously has enough problems
 
I should get around to turning on hats at some point
 
Carl, plz. Your avatar wears a crown
And it's a two tailed mermaid
 
8:54 PM
Like an old person could where a hat other than a fedora. Carl, stop with the jokes!
 
> Static typing would be a fine idea if people actually did write programs the way they taught me to in college.
sigh
Writing one-off perl scripts is fun and nice, but when you have a dozen developers working on a monolithic project, you're really going to want the type checking to be done at compile time so you don't spend a month debugging some issue.
I was with him on this article until that one.
@Ahmad this article is from 1998
 
I don't agree with that either Carl, but it still seems like an interesting article.
 
Cowboy coding is software development where programmers have autonomy over the development process. This includes control of the project's schedule, languages, algorithms, tools, frameworks and coding style. A cowboy coder can be a lone developer or part of a group of developers working with minimal process or discipline. Usually it occurs when there is little participation by business users, or fanned by management that controls only non-development aspects of the project, such as the broad targets, timelines, scope, and visuals (the "what", but not the "how"). "Cowboy coding" commonly sees usage...
this article is a lament against the dying days of the code cowboy
 
9:11 PM
oh, really?! 1998? wow
makes sense. This is right after he sold his company to yahoo.
 
> I only discovered this myself quite recently. When Yahoo bought Viaweb, they asked me what I wanted to do.
 
I didn't know that the term startup has existed for so long
he makes use of it
> > What you learn about programming in college is much like what you learn about books or clothes or dating: what bad taste you had in high school.
hah.
 
lol.. you think startup was a term coined the last few years?
 
I don't really agree on his vision of collaboration
haha, yeah I did carl
TIL
> The right way to collaborate, I think, is to divide projects into sharply defined modules, each with a definite owner, and with interfaces between them that are as carefully designed and, if possible, as articulated as programming languages.
this goes hand in hand with the wikipedia article you linked
 
I like cowboy coding
 
this just makes developers not talk to each other. it's not really collaboration anymore, but merely co-existence.
 
> 1977 Business Week (Industr. edn) 5 Sept. : An incubator for startup companies, especially in the fast-growth, high-technology fields.
 
oh. wow.
damn.
they even had incubators back then?
 
@Ahmad You would need to collaborate to figure out how the modules fit together and the overall architecture of the project.
 
they've been doing this sort of thing since before I was born Ahmad
you're late to the game
 
9:19 PM
I agree with that development practice except I think 3 developers on a single module is a sweet spot.
We have 7 android developers and it's a total mess.
 
make them work on different stuff?
 
I really am late to the game
 
I lost.
 
@Ahmad agreed
 
@Mauker "the game", where you lose when you think about how you're playing "the game"?
that's the dumbest game ever
I'd rather play tic-tac-toe than "the game"
 
9:31 PM
hahahahahahaha
It's dumb, yeah
 
Lol
 
10:04 PM
if anyone is interested in making games and at a bit of a loss for artwork check this out: kenney.itch.io/kenney-donation
for $9 bucks you can buy a HUGE set with tons of different kinds of game artwork.
 
10:49 PM
pretty good deal for game devs
 
11:05 PM
see you guys tomorrow
 
not content to settle for one, the Starbucks app uses THREE dependency injection libraries!
>.<
 
> Licensed CC0 (public domain)
Wat, how.
 
yep
 
But then someone who buys it can freely redistribute it...
 
I suppose so, but it's well worth the money to just pay them=)
 
11:29 PM
I wrote a new blog post if anyone is interested: trevore.com/post/use-static-intent-builders-on-your-activity
do you think the title sounds weird?
 
o/
 
@trevor-e how does your approach differ from the common "newInstance" approach?
 
11:45 PM
Two things.
@Mauker is incredible.
I am such an idiot.
 
480
A: Best practice for instantiating a new Android Fragment

yydlIf Android decides to recreate your Fragment later, it's going to call the no-argument constructor of your fragment. So overloading the constructor is not a solution. With that being said, the way to pass stuff to your Fragment so that they are available after a Fragment is recreated by Android ...

 
@CarlAnderson pretty much the same, good point
totally forgot about that haha
 
lol ok
 

« first day (1899 days earlier)      last day (3056 days later) »