« first day (1793 days earlier)      last day (3380 days later) » 

user457812
00:08
user457812
↑ Behold my stack of monitors.
user457812
Plus one gopher.
How, chainlink?
h4rdc0re
user457812
I just have three ports for screens on my MBP.
user457812
00:21
And it's more or less happy to run all of them, though I found a bug in OS X where if you change the rotation of the one all the way to the left, it'll turn on mirroring for no obvious reason
wow that looks nice
Woooh selfies
user457812
You people and your doing things.
00:44
@nil I found a bug in osX too. osX
user457812
No, you're just a bad person.
Why can't both things be right?
@TristanWiley Tristan, taking photos of IRL girls ;)
nil, you like mac. teach me things
I want my AltGr to the right of space.
user457812
01:21
Keyboard settings lets you switch around modifiers.
02:24
13.5 hours left.
Is there a way to call onCreateOptionsMenu programatically? What Menu parameter do I pass in?
we got live video streaming to work with a fricking tv lol
erm no I don't think you should be calling it
just invalidate the options menu
and then it will re-inflate everything
Oh. What's the method for that?
lol
invalidateOptionsMenu() found it
invalidateOptionsMenu()
jup
02:28
That did what I needed, thanks~
~np~
02:40
I don't like the word programatically. like how else were you going to do it
by pressing the menu button
@user3313621 chat requires a min 20 rep and this room requires a min 100 rep among other things found here room-15.github.io
02:51
/o cM
Aye naners
Hey Tristan, are you hacking now?
No he's not.
He's hacking up our productivity.
So, you are?
02:59
I am hacking, yes.
Wuchu wookin on?
Android capture the flag using NFC tags
There is an api to make a tag read only
How do you show who is carrying the flag?
We don't necessarily want that though.
03:01
o/
Or is the purpose only to get to the flag?
o/ all
Hi
or Bye?
I'm only kind of here. Have baseball and football going on. Then my kid got me hooked on this arkongames.weebly.com/uploads/1/0/9/0/10909450/…
03:12
:D Spider
I love that game
@nana The main idea is to go tag the other person's flag, and come back and tag your flag to get the point.
It's kinda a "long term" capture the flag. Over a day or longer where you hide it across an area, maybe a building. You tag the flag and bring it back to your base where you tag it again.
Got it. In other capture the flag games, the flag is carried visiblz, so that you can concentrate on attacking the enemy that has the flag, so I was confused.
NFC spies
:'D
I am fighting with Ruby again
03:22
damn
that pacman game is fun
I must sleep though
03:33
Foamy, don't start. It might be more addicting than circles
that's addicting
Tristan had to yell at me to get back to work lol
I hit him, it's okay
03:55
lvl 8 is mad
04:26
ADAM JUST SAID I HAD A GOOD IDEA
Well, it was more like he came up with a mediocre alternative.
04:39
Hi all.
I want to learn android wireless network programming. Could you recommend an ebook for me?
Now you're just showing off Tristan
^Me being productive at MHacks.
04:55
05:10
Guys, please.
are we killing you with cuteness
is that I can get Commomsware book in pdf format?
05:19
I am so tired.
@Ahmad is a life saver. Thanks for being my rubber duck.
\o/
I want that book
I got cracking the coding interview just a few days ago
that's a fucking big book
700 pages
I was expecting 200 pages
05:39
o/
@Mauker is that queroberos
06:06
which edition?
it's about 500pages
user457812
In e-reader format, it's probably many more pages.
user457812
You know what's annoying? All the books I try to recommend to people are hard to get now.
user457812
Mostly for lack of new editions and them not being used in academia, so they just go out of print
in NSChat, Apr 29 '14 at 5:44, by Noel Cower
Longman Group United Kingdom

Book by
user457812
That is actually harder to get now.
user457812
I have that one.
user457812
Bear in mind that it's the concise one, not the shortest one.
@Reno the new one, it just came out a few weeks ago
706 pages
user457812
I should probably read that at some point.
user457812
It's a wonder how I even have a job.
06:11
you got a job because you're the nil
aka guy-with-beautiful-code
but yeah, book is really good
user457812
You clearly haven't actually looked at my code
nil hides hid his code not because of security reasons
it's because it is a still born monster
user457812
Well, the garbage on my screen at work lately is PHP crap that I didn't write, so I'm comfortable calling it absolute garbage.
I have no idea why i am punishing myself with this book amazon.in/Data-Structures-Algorithms-Made-Easy/dp/0615459811/…
so many mistakes
user457812
Neither do I, because that looks awful
user457812
06:19
This cider is alright.
Cormen is such a fat book
:(
and with my attention span
Adam, get off 15 and work!
Ruh ruh bruh bruh
07:15
play this game
it's sunday
no one works on a sunday
>:)
You do if you're at a hackathon
I've been up for longer than I care to admit.
 
2 hours later…
09:28
o/
how's the app going, you three?
Going pretty good, still working. I built a website :)
good morning!
how's everything on mhacks?
I haven't slept in a while...
sleep is overrated
my cat just woke me up for no reason.
he jumped into my chest, sat there, and started meowing for attention.
In the past 48 hours I've had like 3 hours of sleep... or less
09:37
are only apps allowed at hackatons?
Nope
Anything
Hardware, software
Reverse engineered Humans
it would be amazing to build up a multi screen cooperative system on kerbal space program based off the game api > php > game api implementation
there only one test so far that lets you see real live feed of the flight
but it's just the tip of the iceberg of what could be done
with php and some cool CSS
09:52
new photo from another nes helicopter
 
1 hour later…
11:02
 
3 hours later…
13:52
tfw nothing works
what are you doing?
tfw almost finished
14:42
user image
5
Room 15 @ MHacks! @TristanWiley @McAdam331 @Ahmad
Well minus Raghav
@RaghavSood missed this one :'(
Awesome! And sowwy @Raghav, it was a late notice
14:55
-1
Q: Tips and tricks useful to "checkout" (download) the Android source code more quickly

unforgettableidViewing and searching the Android source code is simple. You simply visit the AndroidXRef website. But, if you want to build and run the bleeding-edge version of Superuser, you must first download an entire Android source tree. Imagine that I want to grab the Android "master" branch from sourc...

I know some anonymous SO user downvoted the question at first. But I've since edited and improved it based on durron597's feedback. I hope the question is better now.
did the suggestions in the first two comments help?
I haven't tried them myself. I actually am hoping to avoid checking out Android myself. Instead, I'm hoping to get together a collection of tips and tricks, and to get these folks to check out Android and to build the software I want -- in order so that I won't have to. :)
It seems that "jeekajoo", a participant in the GitHub thread I just linked to, may be interested.
It all boils down to the fact that the current fork of koush's "Superuser" tool is available only in source-code form. Multiple people want binaries. If I wait long enough, surely someone else will build binaries and upload them to the Internet.
15:13
....
you are personifying a help vampire right now
/me goes to read what a help vampire is
ah, so you didn't read the rules either then. Nice.
I did read the rules, and I saw the rule about not being a help vampire, but didn't read much more detail about what a "help vampire was".
/me reads
Hmm. Am I being a "help vampire": A) Because I'm waiting for someone else to build the binaries instead of me? B) Or because I posted a link to my SO question in this chat room? C) Or because I posted a SO question about a problem which I've decided I want to to avoid facing? D) Or more than one of the above?
I don't think it would make sense for me to claim that I'm not being a "help vampire". Because I'm admittedly trying to take the lazy way out.
I'm just curious which of my (lazy) actions constituted "help vampire"-like activity.
you have been given the knowledge you need to fish, but you are still waiting for someone to bring you some fish sticks...
In other words, my mistake was option "A"? I.e. my mistake was that, even though I now know how to download the Android source code relatively quickly, I still am waiting for someone else to build the Superuser binaries for me?
15:25
I don't really see an issue with people posting links to their questions in here as long as they don't spam them. (although with such low Q/A and rep I'm kind of surprised you got write access anyway tbh)
mostly A, and a little bit C.
but on the surface the question doesn't look terrible to me. So at least someone hopefully will find it helpful at some point, so I can't really be upset that you asked it just because you decided you didn't actually want the answer
FWIW, I have slightly more rep on Android.SE. Still only 290 rep even there though.
so the little bit of C, is really just a tiny little bit.
That's fair, but generally it seems the owners look at SO much more than SE.
Fair enough.
weird, I have fucked up my fair share of android devices. But never seen an actual blue screen
Really I was hoping the new primary "Superuser" contributor would build some binaries — or maybe even set up a continuous-integration system. But then again: Just because he forked "Superuser" on Github and started making improvements doesn't obligate him to release binaries. In fact, it doesn't obligate him to do anything. I'm not his boss.
Re. blue screens: I've only ever owned a Samsung Galaxy S Relay. They're probably more prone to blue-screening than most other Android devices.
But I've still not seen enough blue screens for the matter to be worth troubleshooting.
15:36
I can sympathize with wishing people put binary in their repo. Lately Zxing Barcode Scanner is the one that I keep hoping for.
@FoamyGuy You haven't really fucked up a device yet then lol
they used to do it. But when it moved from google code to github the apk went away
I guess not. I thought "won't turn on anymore" and "stuck in boot loop" were pretty bad
if I had one actually blue screen I would probably assume it was a prank rather than being broken
I see binaries for a "Zxing Barcode Scanner" here. Are those binaries no good?
Any unofficial/beta ROM will have blue screens now and then
I'm using the latest official ROM for my device! :)
15:38
they are fine. But Play Store means I have to put in a gmail account
And I still have gotten blue screens now and then.
and for us with no love from manufacturers and low-range phones which don't get that much attention, it's just something that happens :p
There are lots of times I'd rather just open the browser and be able to download it from a direct link so that I don't have to fuss with google account.
You can download binaries for Zxing barcode scanner from the F-Droid website here.
good to know
15:42
Though if you use the F-Droid app store app to install the binaries, you can click a button to make it check for updates too.
Which is nice.
No account necessary.
Anyway I better go. Thank you for the feedback. Maybe I'll just use SuperSU instead of trying to convince others to more quickly build a recent Superuser. :)
 
1 hour later…
17:04
Our project is out, feel free to cite for @McAdam331 and me.
nice
17:55
That's one fat cat
18:18
i love this room
and it's cats
i'm trying to set up Junit in my android project, I have this in my app build.gradle:
testCompile 'junit:junit:4.12'

and my project structure looks something like:
app/src/main/java/projectName
app/src/androidTest/java/projectName/SomeModelTests.java

in SomeModelTests.java, I have:
import org.junit.Test;

but it says it can't find junit
can anybody point me in the right direction?
sigh
user457812
18:36
Web devs are horrible people.
lol Why do you think so ?
lvl 12
user457812
They use languages that guarantee the complete destruction of performance across the entire spectrum of the internet, including server- and client-side, and have an apparent hatred of building verifiable systems.
Looks like you have a bad experience with 'em...
Reno, I am at level 5. Just started playing...
user457812
Here's the general approach web devs take in Go: 1) Get Go, 2) Find a several thousand LOC "web framework" and include it in their application, 3) Only use maybe 30 LOC out of it.
user457812
18:43
This is, unfortunately, how they do things in every environment.
user457812
PHP? Probably going to drag in about thirty libraries to start a project.
My web dev team are using Yii Framework(PHP's) .
user457812
node.js? Roughly the same number, but it's harder to count because libraries might load different versions of the same library just to be a pain in the ass.
so, nobody sets up projects with unit testing or
user457812
I don't use unit testing in Android.
18:44
^
me neither
user457812
Unit testing UI stuff is generally impossible.
user457812
The only testing I do is breaking my code out into a smaller library of things that I then test on its own.
user457812
Which at that point is not dependent on the existence of Android.
That is more like divide and conquer
18:45
i have some syncing / business logic i want to unit test and can't put off to the api
user457812
That sounds like a good case for fuzz testing small pieces and writing integration tests for everything else.
!google fuzz testing
i dont know the bot comands
i give up
user457812
Fuzz testing or fuzzing is a software testing technique, often automated or semi-automated, that involves providing invalid, unexpected, or random data to the inputs of a computer program. The program is then monitored for exceptions such as crashes, or failing built-in code assertions or for finding potential memory leaks. Fuzzing is commonly used to test for security problems in software or computer systems. It is a form of random testing which has been used for testing hardware or software. The field of fuzzing originated with Barton Miller at the University of Wisconsin in 1988. This early...
I think it was !/ but it doesn't matter because the bot isn't in here
the bot isn't in the C# room either, hasn't been for days, i wonder if SO said no more bots or something (it's a different bot than what you all have here)
@nil thanks, that sounds like exactly what i want
18:48
different bot
user457812
As a word of caution, if you haven't done any fuzz testing ever, you will be amazed at how broken your code probably is under unusual circumstances.
yeah, thats why i'm wondering if SO got pissy about them or something
doubt it
they don't have any incentive to care that I can think of. And actually policing it would be kind of difficult
user457812
I have only ever once built something that did not fail miserably when run through a fuzzer.
yeah, but it's just kind of strange, that bot in the C# and js room has been running for like 3 years
so weird for it to be down this long
18:49
ours was just run by one of the common users
the code behind it is on github you could clone it and having it running in the chat room within a few minutes probably
@nil how does that usually work, you give it ranges for data that you want to pass and it comes up with it? or do i have to hit my third party api for a shit ton of data?
user457812
The way it works using go-fuzz is you give it a corpus of inputs and it will use that to build new inputs based on how the code works and so on.
user457812
Granted that using go-fuzz is significantly easier than probably any other environment because Go's tools are significantly better than anything else.
thats pretty cool, yeah i'll def. look into that, thanks
19:02
aha, in case you all wanted to know my app build.gradle had:
testCompile 'junit:junit:4.12'

while my test directory structure was:
app/src/androidTest/java/...

what I needed instead for my build.gradle was:
androidTestCompile 'junit:junit:4.12'

it needed to match the test folder
19:23
o\
so I am Writting some PHP nowadays and I can say that PHPStorm is simply the best IDE with big difference from the others (neatbeans,eclipse etc).. The intellij folks are doing some magic
yeah android studio is based on intellij
f'n amazing, it on par with VS
Exactly.. intellij has improved a lot recently.. I think they worth every penny for their IDES (since phpstorm & Intellij ultimate edition are not free)
19:53
pycharm being so awesome is what got me to finally switch to AS
 
3 hours later…
23:05
Can you help me by ex which explain the benefits of it ? output screenshot will be enough . — Khalid Ali 1 hour ago
uhh,,,,sure
comin right up
actually I never knew CheckedTextView existed
that is pretty cool. But I've probably implemented check boxes in list rows like half a dozen times or more without using it x_x
I've used it but not much. Just not sure what the confusion is or why he needs a screenshot instead of implementing it and...LOOKING AT HIS OWN SCREEN
maybe his brightness is stuck at 0 and it's real hard to see
I got nothin actually

« first day (1793 days earlier)      last day (3380 days later) »