« first day (1817 days earlier)      last day (3135 days later) » 

8:00 PM
it already is a remote
but my local code is not in there
I have an empty remote in sourcetree
And apparently I don't have any branch and can't vreate a new one
maybe I should do it the other way around
 
wtf, who broke AS
the run button doesn't do anything now
 
Sorry foamy :(
I think I'm becoming retard...
 
I love Firebase for testing
 
How the hell do I make a git project from my project? It's a bunch of code but has no git yet. I thought that's what sourcetree is for -_-
How the hell did I do it all those other times then
 
when I am in that situation I usually make the repo using the web interface (either bit bucket or github) and then clone to my computer. Create appropriate .gitignore. commit/push and then paste in the existing project and use add --all then commit/push
you can also is git init in your existing directory and then set the remote to a repo you create using the web interface and push in without having to clone first
but for some reason whenever I do that I always manage to fuck up the gitignore. And last time I accidentally deleted all of my project. so now I don't do it that way any more
 
8:09 PM
I created a repo in bitbucket and cloned it in sourcetree.
Yeah making a gitignore first is a good idea! :)
 
I love my job because we get free popcorn.
 
I love my job because I get free cake, cookies, chocolate, candy, pie...
 
I love my job because it's not the same one as Tristan's.
 
I love my job because I don't have to see Adam every day
 
I love my job because I get to do cool stuff and learn a lot! :)
 
8:12 PM
Tristan you pretty much just reworded my own joke.
I love my job because I can make fun of Tristan and get paid while doing it.
 
I love my job because again, free cookies and cake
 
Foamy, the git init basically makes git work with the code I have, right? And it has to be done in the root folder I suppose
 
8:24 PM
yes
but you should make a copy before you start
copy everything that is important
and put it somewhere safe
 
Allright, everything is online on bitbucket, thanks foamy!
I just started over in sourcetree
This time it worked, don't know what I did wrong the other time. maybe a wrong path or something
ah yeah I did create git repository from android studio lol
Allright, I'm going to shower, play a game and go to bed. My eyes are getting annoying :) Goodnight everyone!
 
How's this for a business card design?
Without the border
 
don't use black black
 
But... but... but.. I like black :(
 
you can use black, I'd just avoid #000
 
8:36 PM
Hmm. Vistaprint doesn't seem to let me choose a non palette background colour
 
although it probably won't be that black when actually printed
 
this is me
if a number is not divisible by 5 or 2 i get very uncomfortable
 
9 must be your favourite
Just one away from both
 
stahp
11 is okay though
 
It's a prime example
4
 
8:39 PM
facepalm
That was good.
Have a star.
 
Why, thank you
 
Alright I'm going home. o/ all
 
@eski Yeah last time I got black came out a tinge purple
 
Nice one Raghav
 
This post...
-11
Q: There should be a penalty box for abusive moderators

Peter PanThe other day i posted a question about some code. I didn't know what to type in some line and asked people to help me out. Some elite users marked it down. Then a moderator marked it on hold, whatever that means, and said my question was low quality. The users then went on calling me names and b...

The middle paragraph is the best
 
8:46 PM
silencing their voice forever.
you're question has been closed you may never speak again muahahaha
 
Lol
And I think it's close enough to time for me to pack shit up and leave \o/
 
DITCH LINES OF CODE WITH THIS 1 COOL TRICK PYTHON DEVS ARE RAVING ABOUT
 
lol
 
Where is Carl?
 
What?! it was your turn to look after him!
Why did you let him get away?
 
8:55 PM
I was reckless. Thought that he was too old to run.
I am sorry.
 
9:23 PM
 
9:35 PM
Count Pouncey Von Scooper
 
Madam Kissy McPaws
 
foamyguy
 
Professor Fluffy Von Scooper
I'm a professor!
 
which classes you teach?
proofreading?
 
That one and kicking ass
 
9:59 PM
bye guys
heading out
 
10:11 PM
See ya, Een
Lol, Dave! Now I remember where I know you from
 
Count Scratchy Bottom
 
is there not an easy way to hide the options menu when a certain fragment is active?
 
I'm possibly going to face this problem: stackoverflow.com/questions/28610967/…
 
or that's not what you are trying to do?
 
nah
 
10:24 PM
I think he wants to "disable" the menu
not close it
 
Oh, I doubt that's possible. Like when pressing the hard menu button?
 
I'm using multiple fragments in an Activity. one is static, the other gets added on top.
when the second is added on top, I want to hide all the menuitems in the toolbar
since it's fullscreen, and none of them apply to the new fragment
 
Override a base activity to handle the toolbar and remove all of them when that fragment is created
Also, don't use fragments
3
 
What should we use? :'(
 
Activities
and Views
 
10:28 PM
never had an issue with Fragments
 
cM doesn't like fragments because in his cat life he teaches English, prefers whole sentences.
 
What about navigation view?
 
There are ways around that too
I'm hoping to write something up here soon for that
 
show me master
 
So... Who's a US citizen here?
 
10:33 PM
Not me
 
I've got another blog post in the pipeline
in-depth MVP analysis
 
I am o/
 
I think I found a way to solve my problem
I can call supportInvalidateOptionsMenu() from my second fragment, and then check to see whether that fragment is shown in onPrepareOptions
to show/hide the menu stuff
sweet, works!
 
11:15 PM
+1 to "Don't use Fragments"
Disclaimer: only ~8 mo of Android dev experience. But, I can't actually figure out the benefit over just properly organizing my layouts and classes that support Activities.
 
posted on October 07, 2015 by Dan Lew

There are some growing pains we're going to experience while upgrading to runtime permissions. The most painful one I've run into so far is sharing files. When done correctly, sharing a file involves a sender app creating an accessible URI and a receiver app reading a stream of data from

 
@MechEthan this
And I have a little over 3 years experience
I never said they're hard. I honestly haven't used them much other than playing around because I haven't had a need or seen an advantage in anything I've done
Maybe I just don't build good stuff
 
Fragments are best for views that extend past the bounds, you can slide between, swap fragments without transitioning to another activity
Kind of like how you have alternate offscreen desktops when your cheap company only gives you one monitor
 
But, if you're onboard with the no fragments thing, you will like to see this
Dave, I thought you were with me on this. I'm very sad now
 
I only use them for View Pager
 
11:27 PM
Ok
While unnecessary, that's acceptable
 
and really they are just glorified view groups
But I could see swapping out a fragment based on the context inside some larger activity. Like different fragments for a video player vs slide show vs external link summary.
 
</discussion>
 
<offended>
 
They are trying to kill me to death.
 
That's usually the goal of killing
 
11:40 PM
I am still standing though, standing little lopsided but still standing nevertheless.
 
How are you?
 
You know, coding out a server, android app, iOS app, handling support and recommending chipsets for a new grill version, business trips and gf
I can't remember the last time I turned on my xbox
but it's good
 
lol
 
11:44 PM
That sounds pretty god.
Good too.
I haven't used my home PC either.
 
Fragments cont.: also, if you use Dependency Injection (e.g. Dagger 2.0), the Fragment lifecycle in the onResume case works against D.I. horribly. Horrrribly!
 
good to know
 
need to know more about the horribleness
Dave, employ me. I can do firmwares and androids.
 
Fragments get constructed by the OS using a default constructor when restoring an Activity that had Fragments retained.
Dagger 2.0 Dependency Injection is typically done at construction time by you, the coder, except WOOOPS, Android already jumped in there
"typically done at construction time by you, the coder," -- not technically correct, but the gist of it
 
I wish nana, I don't think you'd work for what we can afford
 
11:53 PM
That is one the nicer versions of go fuck yourself.
 
LOL
 
lol
 
Dave, employ me. I will work for what you can afford and I can do some of the things nana can do...probably
 
"It's not you, it's me."
 
:)
 
11:53 PM
Seriously though, the only other "programmer" is a sophmore ASU student for 16/hr
 
Can I work 10 000 hours in a year?
 
if they are profitable hours!
 
27.4 per day, sounds doable.
 
def
 
nana you are job seeking?
 
11:56 PM
Not technically, but I'd go work with Dave. It would be MADNESS!
 
ah ok
 
I am job seeking. And I would work with not Dave
 
i was going to say, just move to the west coast and get hired in < 2 seconds lol
 
EAST COAST OR GTFO
 
OR*
 
11:58 PM
such a thriving software industry over there ;)
 
No nana's statement was accurate, everyone on the east coast says GTFO
 
.
@codeMagic Thanks
 

« first day (1817 days earlier)      last day (3135 days later) »