« first day (2532 days earlier)      last day (2639 days later) » 

19:00
@rupinderjeet ^
[{
	"name": "Samsung J7",
	"features": [{
		"id": "color",
		"display_name": "Color",
		"value": "Black"
	}, {
		"id": "ram",
		"display_name": "RAM",
		"value": "8GB"
	}, {
		"id": "price_range",
		"display_name": "Price Range",
		"value": "499 - 599"
	}]
}]
this is part of the json I am getting from them
user image
2
> NullPointerexception
nvm, Zero.
@milleniumbug we have it in Java as well. Android too.
@milleniumbug I do not know if GSON parses directly to Java objects. However, for JSON coming from a REST API, Retrofit is great. It turns the REST API into a Java API which returns regular Java objects.
Jackson/Gson serialize from Pojo to Json and vice versa
19:07
I wouldn't be surprised if Retrofit uses one of those
@rupinderjeet now, the entire discussion above was what that comment tried to convey
Yes, thanks. I got it.
Okay guys
i got a .db file
how do i open it when some online sqlite browsers say it's not possible?
Is it a SQLite database?
try a non-online sqlite browser, maybe?
19:11
or what DB engine?
dunno, the question is a bit vague
encrypted?
i don't know
it's opened by a simple js script
CptEric, Try Sqlite Manager. It may be encrypted.
but i don't know wich one
19:13
@CptEric use any SQLite browser
In order to open it as a database, you have to determine which database engine created it.
i'm downloading one
i have no friggin idea
Yes, SqliteManager can handle almost all available Sqlite-DBs
19:13
awesome
will try it
how it works
i just stripped this db file frm that nonloading website
of my gov
oh, its sql explorer. sqlitebrowser.org
Emanuel i have messaged you on skype
@rupinderjeet about your specific problem, you need to consider what does selecting a product with these features mean, and all the kinds of features your product can have: for example, if you have a phone with a price range of 400-600, and the user wants to chose a phone which costs under 500, you need to handle this case too
Cf, im back at my computer tomorrow. just had some advanced training for googles android certification.. :)
and there, a simple string comparison won't be enough then
19:15
google android certification o_0
sounds good
YES IT ENCRIPTED
where can i find the key?
will it be visible on the raw JS?
CptEric, mostly with the same key with the login key of the computer where you got the file
showIf computerMatches <> currentComputer
i got it from a http request on page load before another 502 error
19:17
there's a logic issue using LiveData(!)
not live data, i copied the content of the response to a .db file
@ZeekHuge I wouldn't perform veryLongAsyncOperation() in an Activity at all. Create an object that is going to be persistent in memory to do that operation regardless of Android lifecycle changes, and have it do it instead, with the Activity signing up as a listener to that object in onResume() and unregistering in onPause()
^what i got before the web broke
@milleniumbug these features are used to print down Specifications of a product into a TextView. They aren't used for calculations. We have different API for applying filters. This list of features is shown when a product is available in multiple Features. e.g. a smartphone with Ram=4GB, while same smartphone with RAM=8GB
calcular() method is the important one
19:18
Otherwise you run the risk of the user changing to a different activity and losing all the work you've done on the operation
If there's a Database (Room). A Repository which access the LiveData. A ViewModel which proxy the Repository.. A View which access the Proxy (and get notified about changes). How is it possible for example listen for changes in the web (nDelay), update Room, notify the VM, proxy the new Data to the View.
nah it's not that complicate
i'm sure they just have .db files with the data
Did you copy it while it was locked?
expain
explain
If there's an established connection to the database its locked for other processes. If you copy the database during the established connection you may get issues decrypting it later
19:23
has anyone done a lazy loading data in UI
no, the http suceeded
i mean show the data as they come
and then the page went 502
and not wait for whole data to be retrieved to display all at once
"a lazy loading data in UI". Explain.
You mean streaming data
19:24
nah any data
my usecase is for local data tho
just downloading?
I load data in my app's UI and I'm lazy. Does that count?
lol carl
19:25
lets say i have about 100 items in my database
Cursor ftw.
i want to show data in UI as soon as i have retrieved 10
and update it once more data is loaded
@ColdFire implement pagination
You know that google introduced a new library/class for that called PagedList?
19:26
you can*
pagination is something which i don't wanna do currently
^ is that where the 'lazy' comes in?
No no, it's not pagination like you think it is
It's pagination that i fetch the data bunch-wise
lol not because lazy but because my requirement is not pagination
19:27
Like a recyclerview does. Fetch n+2, onec it's reached, fetch the next n+2, ...
@ColdFire does the TPM / client tell you what functions you need to write?
ah man difficult to explain
You need pagination. They don't really know what the name is or what they want, but you as the engineer need to realize they need it and implement it
.setPrefetchDistance/setPageSize :P
haha Carl
the requirement / solution seems pretty clear for me
you want batches of data you use pagination
19:29
lol
You can call it lazy cache cursoring. But doesnt sounds pretty
i actually want to update UI in batches
not get data in batches
RxJavas Flowable ftw.
For this case you may want a Buffer. Get nItems from DB, update UI, after the UI has been updated, fetch the next nItems. Oh wait, thats Pagination :P
if you apply pagination on nestedScrollView, you have to rely on scrolled Y's distance from the bottom of view. right?
Noone want a nested ScrollView
It's so 1995 and remembers the lovely frames used for every page :P
19:32
:D
dammit it looks like i have to use AsyncTask sigh
RxJava Ftw.
I thought we were talking about pagination, so I threw my question in.
were you even born in 1995 Emanuel?
19:32
Erm. I wish i wouldnt
lol rupin
I've coded my first C app 1995
haha!
okay
What's new in place of NSW. I use it when I have to scroll two things together. A view and a recyclerView
19:33
emannuel, i have the source code of the uncypher function
Kotlin/Java?
I've coded my first C app in 2008...
2013 Java
19:34
it uses sha256 as cypher method
I coded my last C app in 2011
2011 for me :(
Carl - XD
can you help me replicate a working generator of the key?
Eric, wait. It decrypts clientside and your not able to decrypt it? :P
19:34
i have all the inputs
yeah i can't
@Opriday you've got access. Be a good fellow and start by reading all the rules first: room-15.github.io
@EmanuelSeibold have not used that but how does it solves my issue?
Xd
i'm dumb and drunk and i have no idea of plain JS
drunk = 3.5 beers
Cold fire, use a proper ORM like Room :)
19:35
lol
Hey, i live about 5 minutes distance from the Oktoberfest and am not drunk.
Room is a stupid name.
Yes. You cant find any help after searching for Room. Google: Room help. / Android Room / Room SQL /...:D
lol true carl
19:36
Eric, i dont know Js but i may help you. Can you post the JS/db somewhere?
yeah
gisting it
It's a pain nowadays not using Room, RxJava and DiffUtil (provided by google)
oh my whats with the Rx obsession with people these days
now? these days? RxJava has been a staple for years now.
You may want to use LiveData if you dont want to use Rx. But its the same, just for n0000bs
19:38
are both considered concatenation, right?
sed -i "/-Xms2g/c\$new_heap_start" vs sed -i "/-Xms2g/c\"$new_heap_start
Carl, combine it :P
search for the "calcular" method
Thank You Administration for letting me join this group. Hello All I am Opriday From Pakistan
i mean obsession have increased these days
19:39
Cf, its not Rx. Its reactive
hi Opriday, did you catch my message requesting that you read the rules?
I need help if there is any volunteer developer here.
sigh i give up
Cf, it helps alot, trust me :P
Carl? sorry I did not get your message
19:40
Kotlin + Rx + AAC + Databinding + Dagger/Kodein #== Love <3
5 mins ago, by Carl Anderson
@Opriday you've got access. Be a good fellow and start by reading all the rules first: http://room-15.github.io/
he is asking you to read the rules opriday
Carl Anderson, Thankyou very much.
Eric, there's no method called calcular using ctrl+f
@EmanuelSeibold + ActionScript3 + C#
19:41
Oh god. Mehdi, God bless you another time.
@EmanuelSeibold AAC?
@ColdFire, it's time to get updated :P
lol mehdi
19:42
CF - if you want to learn web dev, you should start with ASP.net
Cf, better dont start with web dev. It's boring and it sucks
meh AAC sounds like your created shortform
then a bit of Flash and Java Applets
Android Architecture Components?
19:44
Eric, it shouldnt be hard to fetch the key
new one
i can't live edit the code on the browser
Why? Webedeveloper Tools
@MehdiB. asp.net really why not python js or others?
what tools?
i mean
i have chrome dev tools open
but i can't just insert a console.log() on a method and make it work
Yes. console log firstSha256, secondSha256 and key
19:46
when?
There are plugins called Javascript Injector for example
      var info = decrypt(line.substring(60),firstSha256).split('#');  -> print firstSha256. substring 60 and you have the key to decrypt
doesn't work
tells undefined
was just messing with you, with old technologies :D
for the web imo, depends on what you wanna do really, for backend either Js, Ruby, Python, Java
frontend it's obvious: js
ofcourse i was gonna reply you something sarcastic but i thought lets get your views about asp.net
also i am no web expert to begin with
If you go with Java, Play framework is cool and lightweight
19:49
i see
      var firstLineDebug =  line.substring(60); console.log(firstLineDebug); console.log(sha...); var info = decrypt(firstLineDebug,firstSha256).split('#');
right now i am trying to get back to coding android lol
After this you may get the data. When you have those you can debug the decrypt method
303ffd0feacc6e360044153431f1cc1a153b487d5c4da5e3838921b44b7b38e2
looks great
19:51
i have the first sha
what do i do with this?
that looks like the VI
This seems to be your key. the firstLineDebug are just data which are decrypted with this key
@ColdFire you had a break of how long?
nmm
it doesn't work on the db
@JavaFan request denied. room-15.github.io
ah yes, its easy. var decrypt = function (text, password){}
19:54
WAIT
what if it wasn't a db
WHAT IF IT WAS
2-3 months i think its more to do with the frustration to rewrite i code i lost
PLAIN ENCRIPTED TEXT
Its crypted text, not a database
yes
OMFGH
@Opriday please do the needful.
19:55
its pretty easy to decrypt since you have var decipher = crypto.createDecipher('aes-256-cbc',password);
I dont understand why the heck someone uses a client side encryption and store the key inside the client side script. haha
the real file seondSHA is f22496b7fa2c2619015a1afd2ff131b75016488914a5c8973da0c1a5ada36aa0
yes. now you have to go through each line in your file and search for secondSha256.substring(4)) which matches your secondSha.If this matches you can decrypt it
This is a little bit confusing but i think its just to obfusecate and confuse people
how do i open a file as text in javascript?
No idea haha
lol
will try network call
19:57
I never used javascript
@Opriday we don't allow users to keep their access if they fail at acknowledging reading the rules. I've removed your access, you can request it again after 24 hours.
Carl is the devil. I thought it's tim
lol
carl is immortal
CF - You don't use a code repo?
nope not for personal projects:(
i think i should use one for my personal projects
20:00
CF, you dont use a selfhosted Git like Gitlab?
I have my own git repo (no UI no fancy stuff, just a plain basic git repo) on aws, my monthly bill never exceed 5$
bitbucket offers free private repos right?
Gitlab ftw.
all I need is: Pull - Push :D
not sure Gitlab is of any value there :D
yeah something i must do about it
since this stupid MacBook crash
20:02
Force push!! :D
That means that you look for revision changes and go back loooong time via command line?
great my projects are now compiling \o/
right, or through the IDE (AS allows you to do that)
20:04
I just got my ButtomNavigationView bount with a ViewPager and another child framgent manager which jumps out of this and restore the view if wanted <3 :P
@EmanuelSeibold I'm just the Dream Crusher, not the devil.
Seen that, yes. Same same not different
lol same
20:06
:D
I'm able to control my dreams with lucid dreams. You cant crash that. :D
At least i hope you cant haha
i think whoever made this shit piece of bloatware windows 10 should be jailed for harassing people with this OS
its a nightmare
@EmanuelSeibold challenge accepted. :D
hahaha, no, not tonight. I wanna have a good dream about NOT android :P
another dream crushed
20:07
hahahaha
Hopefully android will allow only databinding and aac in a few years .P
Shell Scripting is exhausting XD
@CptEric, need to sleep now before Carl arrives. If you still have issues decrypting just ping me tomorrow. Im pretty sure its not complicated
xD
mehdi do you use these fancy databinding AAC rx and other stuff?
Unfortunately not, don't have enough time for all this
I find RxJava very interesting though
oh well
yeah i think i am gonna go take a look at RxJava
most of the stuff are pretty optional anyway
20:23
I wish I could get paid to learn :D
hehe wish
Droidcon NYC just sent out invites to their after party and it's at the Spotify office this year :O
20:41
o/
sup?
not much what about you?
Programming a bunch
And, one of my apps is out on play store :D
Sorry I haven't answered hangouts Mauker. Busy day.
I will kill you on your sleep That's okay
lol
nice mauker
@Mauker "10,000 - 50,000 installs" Nice!!
Thanks :D
Good reviews too
20:56
Awesome! congrats! :D
congrats
21:17
DOOOONE
Escola Oficial d'Idiomes
CARRER del Corregidor Escofet, 53
LLEIDA

Districte:1
Secció:4
Mesa: 0A
^MY VOTE DATA
a friend of mine was allowed to enter the website by his ISP
i had decryption halfways
now that i got my census data, i can sleep
toss socket on Eric
You're a free Eric now
21:34
nice eric
22:32
"return can be lifted out of 'if'" @AdamMc331 help
22:47
@Mauker Do you have a return true in an if?
23:11
Finally, my bash script works... I spent 10h on this
and 3 AWS instances terminated
Nope
is someone cutting onions
@Ahmad what would have happened if he had fallen before reaching her? would they have postponed it? XD
lol

« first day (2532 days earlier)      last day (2639 days later) »