« first day (2322 days earlier)      last day (2625 days later) » 

2:00 PM
There's a keyboard shortcut, it's Alt + F4.
 
:P
Helpful
 
>_>
 
There is a guy here who was sat in a meeting looking at memes and I need to go have a quiet word with his manager about how much trouble he can get in.
I'm feeling someone hypocritical ;)
 
 
@Graeme You're looking for @TristanWiley to help you out
Or the Reno thing
 
2:02 PM
 
Legit, thanks
Wait, I'm feeling someone hypocritical?
... Come on my brain. You can be more subtle than that.
 
thanks for sharing, OcuS
 
does the block image thing block images everywhere?
<- too lazy to try
!/meowgif
 
"Who is capable of mounting this attack?" - Us.
would be a better answer :D
 
2:06 PM
I've long held the belief that protecting yourself against state sponsored attacks, or corporates like Google/Apple/IBM/Microsoft is not even an uphill battle, but more like trying to walk on the ceiling
 
the weather is crazy over here, can't walk in a straight line
 
Are you sure you're not just drunk?
 
i wish
 
are you in the UK
 
the river next to my office looks like world war 3
yeah
 
2:08 PM
back~~ :D
 
it's a normal river?
 
i guess so haha
 
UK is up for demolition. That's why Graeme has left for Canada
 
i'll go to spain and get all that sunshine
 
Reno - Blocked all images on this page
Quite hard to tell who's talking now...
It's nice and warm here. Feels like Spain.
(Which is somewhat annoying given I moved here for snow...)
 
2:11 PM
"nice and warm" they say
 
It was like, 12 degrees this morning.
 
"sunshine" looks at the sky
 
Now warm there Womps?
 
nu :(
 
I may have broken the climate by moving somewhere to play in the snow..
 
2:14 PM
xD
 
actaully getting some sun in the uk right now, which is nice
16c the other day
 
[Test](javascript:($(".user-image").toggle()))
Hmm
@Graeme You can turn images back on and keep the above code as a bookmark in your browser
Click it to toggle
Well, set it as a link href first, then drag it to the bookmark bar
 
Er
tries to act like he's on Raghavs level
Er, yes, of course. A link you say!
Well, I'll just put this wire here and that wire there..
 
46
A: function as google chrome bookmark

T.J. CrowderYou can do this using a bookmarklet. A bookmarklet is a bookmark with a URI starting with the pseudo-protocol javascript: followed by URI-encoded JavaScript code. When you trigger the bookmark, browser will run the code in the context of the current page. So you'd go to that page, then use that b...

 
Ran it as a link, nothing happened.
I even went into the developer console and manually edited the HTML to do it (which I'm pretty proud I know how to do given I have no idea what I'm doing)
Oh, you mean, instead of using Chrome to blat every image?
 
2:25 PM
If you're running in the console you only need $(".user-image").toggle()
 
sigh You need to use smaller words when you talk to me :(
Yeah, so, with images blocked, that javascript doesn't do anything.
However if there was some javascript to block everything except user images..
 
If your images are not blocked, this will only blank out the chat messages with images
Avatars etc. remain
 
Okay, brb
Legit. You're a genius.
 
Using this code in the input: $(".user-image").toggle()
 
I just bookmarked a page then edited as needed :)
 
2:29 PM
No need to include jQuery
Lol, that works too
 
Thanks Raghav
 
!/meow
 
.... Reno broke all your hard work Raghav :P
Since it toggles() I have to press it to block each new image, and each old blocked image becomes visible :D
I'll look at the javascript to set invisible and visible and create two bookmarks
 
Hmm, fair enough
Just about to step in a meeting, I'll fix it once I'm out
Gimme an hour or so
 
2:34 PM
I'll do it once I have time :) Thanks Rav
 
I can offer a greasemonkey script to ignore bot/bot command messages
 
OMG
Yelp does it right
you are allowed to chose before you start working
same with keyboard language
and if 13" or 15"
this is so good.
 
awesome
 
oh man not sure if I wanna go for 13 or 15
but def 2 monitors :}
 
15
 
2:43 PM
yeah think so too
i really like 13" for being compact
and 15" takes a while to get used to but I like it
hmm now to keyboard layout. I love the US layout, but I haven't worked with it since last summer.
That one also took me so long to get used to but once I had it I was unstoppable
 
go for 15"
spanish keyboard layout is the best
 
why?
 
2:59 PM
ease of access
all fingers covered
no weird locations
 
go for 13inch. 3.1 ghz dual vs 2.5ghz (quad???)
 
wait no
not this one
THIS one
 
@petey not sure if it's a quad, but in this case wouldn't I wanna go for 15" instead?
the 13" is only dual core
 
o/
 
so many alt-gr keys?
o/
 
3:05 PM
i have the new 13inch mbpro, love it. the 15inch is much the same just bulkier.
13 inch has 2560x1600 screen where 15 is 2880x1800
15 is quad core tho
I'm also a short person
so smaller/lighter for me works better
my days of lugging around a 12 lb laptop are long gone
 
yeah really don't like bulk either :/
is yours dual core as well?
 
Bye guys, cya
 
yep going with 13"
cya Dharmendra
also LOL, in the relocation guide it says this:
it's intended for internationals, so I don't actually need it, but they're advocating for the bank I'll be starting to work at after the internship
it all comes together :)
 
do you even find time for university? :D
 
Bye Dahrmendr~~ :D
 
3:11 PM
university is secondary
I'm doing my own co op program
I'm realising that I essentially did that by taking a few less courses and working more
it'll take me longer to graduate but by the time I'll graduate I'll have worked part time for 2 years
 
sounds good
 
Ahmad - I started using accounts for the bank I work for. I'm trying desperately to switch away now so... ;)
 
LOL
what bank is that?
american/canadian banks are awful tbh
 
I don't want to say :P
 
the one that didn't want to give you cash?
 
3:17 PM
haha no worries :)
 
"press f8 key" I DONT HAVE ONE ;_;
 
Sounds like your f8 is sealed.
 
-_-
next time we meet, you get a slap on the back of your head.
does the thing in the gif have two heads?
just joking adam
 
sounds like you are not eligible to the Facebook developer conference
 
lol
i'm not elegible for bootcamp w10's secure mode boot apparently
 
3:24 PM
Holy hell.
 
Another sanity check (starting new jobs is hard)
 
oh wait Ocus shared the sha-1 thing
damnit
 
If you use vectors, for builds working on api19 and lower, AS creates png resources to allow it to work right?
 
vectors
 
Because thats what I explained to the team here, feeling very smug and smart.
 
3:27 PM
Matrices
 
^?
 
And now I'm on a v19 device, it isn't working :/
 
vector graphics
 
turn your arrays to png's.
 
and how do you feel now? :D
 
3:27 PM
Not good... because i can't remember why i think that is the case :P
But... i still do think that is the case.
 
that SHA-1 post deserves more stars
 
@Graeme AS extension / plugin probably
 
highly recommended read
 
indeed
 
@Graeme iirc a Gradle plugin does that
 
3:31 PM
Yeah....
Like, as standard right?
I can't remember ever installing one to do it... but my old apk was built to Api 14, so it shouldn't be a problem
 
Nope
You need to include something iirc
A support lib I think
 
support lib 23 afaik
almost a standard thing
 
V7
 
Hmmm...
I like how i discovery this 5 minutes before a demo
infront of a big boss
 
hello android room!
 
3:39 PM
\o
 
I'm a rather noob and don't understand what to do with the following file to load into Andriod Studio
 
o/
 
Could someone walk me through the steps or repackage it for me so it opens in android studio
 
Isn't it just like, you unzip the files then put the src thingies under src, the res thingie under res, and manifest in manifests folder?
 
hmm but it won't compile then
I'm not sure if we are allowed to do that actually
 
3:45 PM
expand zip, open Android Studio, File > Import Project, choose expanded folder
 
and then how to build it
File > New > Import Project on Windows
could it be a module or sample?
 
that zip would result in one project holding one module
 
i have no idea what I did but it is working
 
that should be fine
 
4:05 PM
posted on February 23, 2017 by Android Developers

Posted by Agustin Fonts, Product Manager, Android Support Library It's important to keep current when you're dealing with technology. That’s why we're constantly working to improve the quality of our software, particularly libraries that are linked into your apps, such as the Support Library.  The Support Library is a suite of libraries that provides backward compatibility along with

 
android would benefit from anonymous functiosn
you end up creating classes that end up working like such
 
there's support for lambdas when using Java 8
 
I thought arguments must be final
 
dunno, never used them in Java
 
4:33 PM
Time to go~~
Cya people!!! :D
 
bye
 
4:49 PM
o/
 
5:04 PM
I love GitHub. My coworker needed to build an array of state strings for our iOS app and decides he's going to google it because certainly it's been done already and finds this thread that does it in several different ways. <3 open source community
 
@McAdam331 ios isn't open source
but i get your point
 
I didn't say it was, I'm just glad the open source community exists to save time on things like state strings and what not.
 
Yeah could you imagine open source community not existing? I wouldn't be a coder that's for sure :D
 
I know, you would be a cop XD
 
imagine trying to write code and not having the internet as a resource
yes, I'm old enough to have done that
 
5:18 PM
and that's why developers from your generation
created tons of frameworks
and understood how each and every piece related to programming works :D
 
@CarlAnderson how many programming books do you have :D
 
not as many as I used to :D
 
Did you have to give them away to the national history museum? ;)
 
XD
 
no, just recycled them
I linked my first BASIC programming book in here a while back
 
5:31 PM
o/
 
Jan 31 at 16:38, by Carl Anderson
user image
 
I'm just kidding Carl. Pretty cool though! You should have kept them for nostalgia!
Out of interest, why did you want to get involved in programming back then?
 
uhh... my dad worked for IBM and brought home a computer in '87 or so
and he just gave me a book and showed me how to start up the basic interpreter
it thought it was awesome / fun so I just did it
I was 9
my crowning achievement was a space ship that was constructed using keyboard characters, with a countdown timer leading up to the ship blasting off the screen
I didn't know about animation or anything at the time,
so each individual screen was hand-written
after I had it mostly done, I found the ASCII character table in the back of the book
and then converted all my lines and Ls and pipes to use the pipe-border characters
╒═══════╕
╘═══════╛
super fancy stuff :D
 
Nice!
I wasn't that productive at 9 :D
 
table of contents are there
I think I finished the entire book
might have skipped a couple things that didn't interest me,
but remember doing the color graphics and everything else
might have skipped the file i/o
I think I wrote a dozen tiny programs - just silly stuff like printing a few lines to the screen - before my dad showed me how to save them out of memory to a floppy disk
the computer didn't have its own hard drive
you had to have the "boot floppy" in the A: drive in order for the computer to start up
 
5:44 PM
It's hard for me to imagine being interested in that sort of tech when I was young, the earliest memory I have of video games was the sega mega drive
Still pretty damn cool though Carl :) Must feel pretty cool being one of the early coders
 
I'm just glad I never had to deal with punch cards
 
Was your dad a coder as well and did he encourage you to do programming?
 
he wrote C code, but was mostly an electrical engineer, working on hard drive development at IBM.
so he would write drivers, I imagine, but never moved on to higher level object oriented programming
he also didn't talk to me much about what he actually worked on in specifics, so it's hard to say
 
so I have the following code running stackoverflow.com/questions/24258574/…
how do I add a delete button to the values?
 
there isn't any code on that page
you mean you have the library linked to in the question running?
 
5:55 PM
I use the same thing william
I need to double check my code
 
Yes the library linked is runnig
 
but obviously the first step is to add it to the layout
 
yes obviously
 
then iirc it's just removing from the data source and calling notifyDataSetChanged on the adapter
 
I don't understand how to modify the layout is the current problem.
I would like to define a region on the draggable boxes for delete buttons
 
5:58 PM
@Ahmad music
 
oh, just make an xml layout like you would for a custom listview row
and inflate that in the getView of your adapter
 
do I add it to the TextView
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="#FFF"
android:textSize="@dimen/list_text_size"
android:gravity="center_vertical"
android:paddingLeft="15dp"
android:paddingRight="15dp"
android:minHeight="@dimen/list_item_height"
android:textColor="#000000"
/>
 
no, use a Layout
and add a Button
 
but aren't the TextViews being rendered as bitmaps? (which means I can't add such maybe)
 
the bitmap is rendered from the view you can add whatever you want to it
and the bitmap only gets drawn when you re-order
 
6:00 PM
so do I keep the same id on the newlayout? there is no id nevermind
i don't understand how the layout determines what is rendered as bitmap but I am reading the code 1 sec
 
it's called getBitmapFromView, it takes a view, creates a bitmap of the same dimensions then draws the bitmap from the contents of the view
in DynamicListView.java
 
so it appears to get the children of the element with the id mainLayout
@DaveS how do you handle elements that should be deleted?
different question entirely
 
6:21 PM
I remove the element from the data source set in the adapter. then call notifyDataSetChanged() on the adapter
 
o/
 
o/
 
whatsup dave
 
just eating a breakfast burrito for lunch from the mexican food truck that stops by our office every day
it's a nice perk
we like our food trucks here, even have a festival for them
 
One of the universities here in Michigan has taken memes too far.
 
6:34 PM
gross
 
Good thing I didn't go to that one lol
 
Is that even a real school?
 
> The university dropped mathematics as a general education requirement students must take to graduate, effective June 13, 2016.[37] Its faculty has proposed a new, mandatory three-credit hour diversity course for students to pass before allowed to graduate
doesn't sound like it!
 
6:47 PM
lol
 
@DaveS I'm talking about how do you do it GUI side
 
I don't understand what you are asking
 
o/
 
o̪̰̙/
 
6:59 PM
o/
Dave your circle has a beard
impressive
 
I'm trying to make it a new thing, our circles need a little more diversity
 
@DaveS so you have draggable list like shown in the video youtube.com/watch?v=_BZIvjMgH-Q
 
o̪̰̙/
 
in ios you have a delete option
the minus sine how do you do that for people in android
 
yes William, and in my app, I have added a button that looks like that, which when pressed, shows a dialog, if you hit confirm it deletes the item from the ArrayList and calls notifyDataSetChanged() on the adapter
 
7:01 PM
you are a genius then
 
but that's more of a UX/UI think, you can swipe or whatever
you should get more familiar with adding UI elements to layouts, showing dialogs, performing actions on their button presses then go back to the listview
you're gonna need to know all that stuff for App programming
 
do you mind sharing your view/layout code
 
gist: 362ae2f5441ce7c69bfa2605485bd430, 2017-02-23 19:03:54Z
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:layout_marginLeft="25dp"
    android:layout_marginRight="25dp"
    android:orientation="horizontal"
    android:descendantFocusability="blocksDescendants"
>
	<!-- Delete Button -->
	<ImageButton
	    android:id="@+id/profileDeleteButton"
	    android:layout_height="wrap_content"
	    android:layout_width="wrap_content"
	    android:layout_marginLeft="15dp"
	    android:visibility="invisible"
	   	android:src="@drawable/gmg_delete_button"
	    android:contentDescription="@string/noDescription"
	    android:background="@null"
	    android:layout_gravity="center_vertical"
    />
	<!-- Profile Name -->
	<TextView
	    android:id="@+id/profileRowTitle"
	    android:layout_height="wrap_content"
	    android:layout_width="wrap_content"
	    android:layout_marginLeft="10dp"
	    android:gravity="left"
	    android:textColor="@color/white"
	    android:textSize="20sp"
	    android:layout_gravity="center_vertical"
	    android:layout_marginTop="9dp"
	    android:layout_marginBottom="9dp"
    />
	<!-- Spacer -->
	<View
  	    android:layout_height="wrap_content"
	    android:layout_width="0dp"
	    android:layout_weight="1"
    />
	<!-- Profile Button -->
	<ImageView
	    android:id="@+id/profileViewButton"
	    android:layout_width="wrap_content"
	    android:layout_height="wrap_content"
	    android:paddingRight="15dp"
	    android:paddingLeft="15dp"
	    android:src="@drawable/gmg_forward_arrow"
	    android:contentDescription="@string/noDescription"
	    android:background="@null"
	    android:layout_gravity="center_vertical"
	/>
</LinearLayout>
I have a button that toggles the view into an edit mode, which shows the delete button and such
I'm not sure if I like the expanding gist, takes too much space
 
thxs
you can edit it just add a . before the link. Oh well
 
too late now
 
7:12 PM
oh god
why
what's the point of making a gist
when that happens
 
seriously
 
^
 
someone needs to release a mouse into the kattashian house
all they are doing is sleeping
 
Beer day at work! :)
 
yeah but do you have your own food truck?
 
7:16 PM
no :(
Well sometimes a food truck comes to our building
but it's not just HelloWorld
 
well it's not just our building but he comes M-F 9-10 and 10:40-11:15
 
that's awesome
We're lucky if one shows up like once a month or two.
 
@DaveS STAR THIS PIN THIS
CATS ON LIVESTREAM
 
OMG
 
lol
 
7:18 PM
I've got you, Eric.
 
i would do a ascii heart but this gaming keyboard has no left bracket.
 
That's less than perfect, then.
 
nor right bracket.
 
And it's greater than nothing.
 
how do you have a keyboard with no bracket?
 
7:18 PM
BOOM. Two for one.
 
it's the desktop. i only use it for battlefield and discussing on adam's wall about politics
 
lool
 
womp says hi from FB
it's been ages since i did that
 
lool
 
i also went to the gym today after ages
 
7:21 PM
Nov 23 '15 at 17:33, by McAdam331
I can imagine this conversation. "Tell them I said oh forward slash."
 
did 12km on bike, got tired af. a 2/7
and she actually did say that that day lol
\o ~ womp
 
7:34 PM
lol
 
8:09 PM
OMG the kittens are playing!
 
OMG
 
word
The bookmarklet to hide all user posted images is: javascript:($(".user-image").hide())
In case someone does a drive by NSFW image :)
 
oo
 
8:39 PM
 
8:50 PM
^ It still doesn't make sense to me!
 
FYI - we've had milk bags here as well until 3 years ago maybe :D
 
9:29 PM
o/
@CarlAnderson <3 :)
 
user457812
Woo, another chance to send a pull request to something today.
 
Ha, dave - we don't actually see those in western canada at all - i wish we had them, massive waste reduction
 
might as well just get a cow for your backyard and drink straight from the teat
 
nil do you still have that massive commit streak?
 
9:56 PM
lol it's still homogenized and pasteurized, it's just filled into plastic bags instead of a tetra pack
 

« first day (2322 days earlier)      last day (2625 days later) »