« first day (2442 days earlier)      last day (2505 days later) » 
01:00 - 19:0019:00 - 00:00

7:19 PM
\o
 
Is GSON good for parsing HUGE JSONs?
In a memory perspective
 
as good as any
although huge json might be a design flaw
 
It's a provisioning step.
The first time the app runs it has to get the dataset
that's how they're sending me the data
 
I get it
just saying :P
 
Yeah, I know :p
 
7:25 PM
Soon, if this site actually takes off, I shall be pennies richer!
 
Just listened to the song Waterfall and never noticed how deep the lyrics are o.o
 
@TimCastelijns But what do you suggest then?
@Graeme From who?
 
fetch in chunks
 
@Graeme don't go chasing waterfalls
 
Originally TLC, but I was listening to Stooshe version
Didn't realise a guy dies of AIDs in the middle of it o.o
 
7:27 PM
stick to the rivers and the lakes that you are used to
 
And the first guy is killed while dealing drugs o.o
Jeeze
 
@TimCastelijns Any example on this?
 
Pagination would usually be a server side thing
Where you can pass in a skip or last parameter, and the server sends, say, 500 records after that
Repeat until done
 
Yeah, that's what I thought
Hmmm
 
Anyone know if there is a ViewAction is Espresso to request focus to the matched view?
I think I might need to write my own.
 
7:31 PM
its a basic concept
 
@Mauker If you can get the data in another format like csv, you can do it yourself
Download it all to disk, read the file n lines at a time
JSON is a bit hard to do that with, since you have to read in the whole thing to split it up anyways
 
yeah.
 
@Mauker yup
 
7:59 PM
I have successfully built a site in less time than it is taking for the site's domain to update DNS
 
How does that work? lmao
 
You pay the site some bitcoin, get a URL unique to your address
Once we receive your bitcoin, we show you how many others sent bitcoin too
After 7 blocks (around an hour or so), your link expires
(to prevent 1 guy from paying and sharing the link with everyone else)
 
@RaghavSood HOORAY! WE ARE THE BEST
(what did we do)?
 
Build a way for me to hopefully break even on the domain cost
 
ahh. I didnt even know I Was capable of that
hehe
I'll shut it now
 
8:13 PM
You just gotta believe in yourself
2
 
part of me does wonder, what would happen if raghav played poker or blackjack?
I bet on big winner.
 
Lol
 
I bet on prison sentence
 
I'll let you know in a few years
Pfft, I'm well on my way to that even without gambling
 
Tim, hahahha
 
8:35 PM
guys, i am trying to recreate this torch application but every time i am hitting the wall : androidhive.info/2013/04/…
 
Try coding instead, hitting walls hasn't helped with writing anything in millenia
 
inside getCamera() method the error occurs. Error: Android Fail to Connect to Camera Service
i am new to camera usage in android. can any one help in this please?
Raghav. i have been trying to code instead hitting the wall, but the issue made me bang my head in the wall
 
don't hit the wall, build the wall!
 
@PYPL You need a a:q ratio of 3:4 to talk here. Please see this link for more details.
 
did you request the camera permission?
 
8:39 PM
might need help of few more builders like you guys to help me build the wall
yes. the camera permissions are there in manifest
<uses-permission android:name="android.permission.CAMERA" />
<uses-feature android:name="android.hardware.camera" />
<uses-feature android:name="android.hardware.camera.autofocus" />
 
Are they granted if you're on 6.0+?
Can other camera apps on the phone access the camera?
Have you tried restarting the device?
 
yes, for that I also have built an explicit method to release camera if being used by others
 
I don't think you can release the camera if it's being used by someone else
 
calling this method if initial camera.open() fails:

private void releaseCameraAndPreview() {
if (camera != null) {
camera.release();
camera = null;
}
}
i think the issue is that it is not granted that granted if i'm on 6.0+
and i am not sure how to go about it. I am actually a C# developer in Android mask. stated android programming a month or so.
so still a lot to learn
any help please?
 
Try going into settings and manually enabling the permission if it isn't enabled
 
8:44 PM
ok. trying that now
 
raghav your ssl is insecure
 
Really?
What's it say?
Wait, are you still hitting the IP?
Gotta use the domain now
 
your own site
from the footer
 
Ahh damn, thanks
Can't get SSL on github
I should move that site
 
any idea why this part won't switch on the torch??

private void turnOnFlash() {
if (camera == null || params == null) {
return;
}

params = camera.getParameters();
params.setFlashMode(Parameters.FLASH_MODE_TORCH);
camera.setParameters(params);
camera.startPreview();

}
i had to set the permissions manually from settings :(
it is not generating any error but the flash is not turning on
 
8:55 PM
I'm guessing params are null, considering you're assigning them after the if statement
 
params are not null but when i do camera.startPreview() params disappear from watchlist
params mMap - size=61
 
o/
 
o/
 
exactly
:/
 
9:16 PM
sigh
 
Yay! First payment :D
 
Raghav, 3 ppl paid? lmao
 
Well, first one that's not me
2 of the 3 are mine from testing
 
oh okay
 
The actual one actually paid $2!
 
9:17 PM
So you're making a transaction from your wallet to your wallet?
 
I've already recovered everything I spent on testing
Yeah, pretty much
 
oh wow
 
I own every address on that site, so it's not like I'm gonna lose money :P
Except for the fees
Can't believe someone paid
 
And I can't believe no one ever bothered to buy me a coffee
:(
 
See, that's the problem
You're building stuff people use
Keeps them busy building things
So busy they forget to buy you coffee
 
9:20 PM
May 29 at 21:20, by Tim Castelijns
I would not mind giving you a coffee but I am broke af currently
 
lmao
 
I build stuff so stupid that they have nothing better to do
 
currently broke is my permanent state
 
Thanks Tim, I really appreciate it
I mean, the intent ha
 
My database is full of addresses people didn't use :(
292 addresses, 3 used
That's actually not bad at all
0.3% conversion
 
9:25 PM
@Mauker
e-pat
don't worry. someone will take you out for real coffee, buddy
nice project though
 
Thanks :)
It recently had its anniversary
And in one year I got 12k downloads
Got bigger than I expected
 
omfg
 
Jun 18 at 16:48, by Tim Castelijns
raghav is particularly useful if you want to become depressed
Twistan!
 
What the factorial
 
4:332 now
I'm in the 1% now
Stuff like this makes you wonder why you even bother making useful stuff
 
who here has worked with the collapsing toolbar?
 
9:54 PM
once
 
im trying to track down this issue
 
gotta find random tutorials because google doesn't document most of their stuff
 
basically if you set the toolbar to a larger size the entire mechanism breaks
 
10:11 PM
fuck yes im a good fucking developer
4
im gonna figure this out
 
 
1 hour later…
11:12 PM
o/
 
11:25 PM
\o
 
o/
I feel so down today
so much todo
but I don't feel like doing anything
and as the days go by the pile keeps growing
 
haha
 
01:00 - 19:0019:00 - 00:00

« first day (2442 days earlier)      last day (2505 days later) »