« first day (2599 days earlier)      last day (2574 days later) » 

01:37
Hello, Android
 
2 hours later…
03:41
o/
03:52
o/
04:30
Getting hitched? RSVP your domain name and build your website https://cards.twitter.com/cards/c85st/50733
> One reason you may be seeing this ad is that you are part of or similar to this audience from one of Twitter's ads partners: DIYers.
I think they missed another important part of the target demographic
And I'm not really a DIYer. I'm just a coder.
05:02
Good morning
05:21
Morning
Morning guys :3
06:23
past my bedtime
06:51
o/
07:08
good morning people
morningo eric
07:34
Goooooooooooooooooooooooooooooooooooooooooooood Morning Everyone!!!! :D
Morning Womo3r :3
morning womp
08:05
o/
btc has gone crazy
yo raghav
i sold mine yesterday too :(
I don't have any
I've made about 2k in the last 24 hours
But no BTC
08:22
anyone got experience with big picture notis?
@RaghavSood from which coin?
All the coins
2k in total or in each?
if A), remember christmas is near and you know you're my favourite bot human.
lol eric
08:38
another Major Prosecutor of spain died.
again, "natural causes". again, already burned, no autopsy.
it's an epidemy man, everyone related to the government corruption cases or the government rule over the judiciary is dying.
the gov should call russia, putin had the same damn epidemy happen with his oppositors. poor vladimir, all his opponents dying of cancer or radation or cancer by radiation.
why hasn't someone yet made stupid songs with food name?
i can think of 4 different music stypes with the "Mermelade, Gatorade" rythm. all of them weird Al Level.
coffee count: 3
varieties: Local Strong Torrelsa torrefacted : 1 | Very Very Espresso BonArea : 2
09:15
@ColdFire HEHE.... 7 lacs
:D
09:33
nokia now makes sodas
@RonakMehta you have some btc looks like it
09:55
lol... ZERO... I sold at lower price. #greedy
lo
lol
today i might get a new gpu
start mining... get hardware... Eric..:D
nah
i need more gpu VRAM
AC origins runs barely at medium
i have a old gtx 750ti
i need 4k support for muh 4k tv bro
according to brussels tourism, catalans have rented every hotel in beligum for the December 7 demonstration.
10:15
Does anyone know how I can force a view to recalculate its dimensions when rotating the screen (this view is using android variables like ?attr/actionBarSize) without restarting the activity or using recreate()?
I have been trying this all weekend and so far I got nowhere
rotating screen destroys and recreates activity
I said without recreating the Activity
I am handling the configuration changes
//force re-calculating the layout dimension and the redraw of the view
requestLayout();
invalidate();
Tried that already, does not work either
I also tried postInvalidate()
Tried making custom view that overrides onMeasure
no matter what, unless I set the sizes manually on the view and all children, I cannot get it to recalculate their dimensions on their own
it is as if it refuses to read the actionbarSize value when doing any of those actions, like the actionBarSize becomes a static value that can no longer be changed, yet I can confirm that it is changing by using resolveAttribute on that attribute variable
10:31
what is the use case
toolbar set in xml layout, configuration changes are handled by me, meaning the Activity is not restored and cannot be restored. The toolbar should switch to thin style when rotating to landscape mode, restored to thicker size when going to portrait mode
10:44
can someone identify this language: ٣٥٢
@MuratK. I went as far as creating a custom view to set the height directly, the height is changed just for the toolbar, but all the child views are not adjusted
arabic number warren, 352
@WarrenFaith arabic
ok, that is what I figured out too, just wanted to make sure
thanks
that is send by our app as part of the user agent
> mVersionCode = StringUtils.format("AppName/%d (Android; OkHttp/%s)", versionCode, okHttpVersion);
good to see that with Locale.ARABIC the number really gets translated...
10:56
conquer the world and proceed to use german
so I need to replace Locale with Fuhrer or what?!
but that would be racist
not racist if there is only one race
^
Instaurate the human race as only race
as if racism is only race based
proceed to perform eugenics to get best features of each current trend. see as it's impossible for the "perfect human" to fit in any non temperate area. destroy part of your creations. build robots instead. robots destroy you, blow up the world, explosion triggers earth melting
melting makes water boil, creating clouds
clouds create water that dissipates lava
uniformally
thousands of millions of years later that water creates life
rinse and repeat
11:01
nope, gravity isn't uniformal...
HEY WHO IS THE ONE PLANNING RAGNAROK HERE?
scraps plans
now i gotta start from 0!
./
lol
o/ ocus
11:21
CF o/
So my apartment got burglarized last Friday. They went straight to my socks and underpants drawers. They we're absolutely not interested in the computers, laptops, gaming consoles and phones... (ツ)//
Holy shit that's crappy
sorry to hear that
thanks
sorry your underwear got stolen
Hope you get your stuff back
nothing got stolen
lol
I think they were searching for jewelries and money ; But I'm not the right target ^^
electronics are too heavy to carry, I guess
11:32
lol
get new locks you have a stalker
my old car got cracked open too nce
just to steal the Insurance guide book
not the radio, not hte 128gb pen
just the book insurances give with 10x sheets of empty accident writtings and an explanation on the terms and conditions
11:53
probably repost, like I give a fuck
lol
totally accurate
oh man what a sat story
"in 1939, a lockheed vega DL1, the only racing plane from lockheed registered in australia, was taken by the asutralian RAF to make surveillance operations. in 1944 and after some incidents, the RAF head of material decided to sent it to scrap, given the very complicated pitch manuevers it required as it was fitted for air rally racing and newbie pilots had big issues flying it. requests from the owner to get it back were ignored".
poor plane :(
i hope they atleast paid for it
12:19
Hey, I have an SDK question.
Damn Ocus, probably one of the worst things that can happen
Let's say I have an SDK I'm building, and I want to build a plugin for that SDK and another library (ExoPlayer) - is there a simple way with Gradle to make the dependency optional (google search says no) or work with whatever version the one including has?
Ocus, might be a crazy ex or someone you know looking for something specific - or they were just looking for cash.
Reading docs.gradle.org/current/userguide/… but still not sure what to do
there is also "api" and "implementation" in the newest gradle stuff
retrofit does something similar you can add dependency into the build gradle and it will use whatever is there
12:36
@CptEric yes, I'll change them but I really doubt that I have a stalker ^^
@BenjaminGruenbaum If it is someone who knows me and went for the money, well, they clearly don't know me :)
12:49
29 files changed, 568 insertions(+), 186 deletions(-)
"what eric did this cold monday before lunch".
13:02
Warren - thanks, I specifically want to make an SDK using ExoPlayer but I don't want to force the ExoPlayer version for the user
api/implementation is for differences in my own build - people will be adding my SDK
@OcuS maybe they weren't after money - I remember how hopeless I felt when people broken into my parents' home (didn't steal much either) - sucks.
has anyone ever loaded gpx data into a map?
what is gpx?
GPS Exchange Format
I want to show a route on gmaps based on a list of coordinates
no then
13:41
nope
i've done polilines
13:51
I saw a car on the highway yesterday that had 'php' as part of the license plate. Took a lot of restraint not to crash my car into it
if it had OBJC on it it would have crashed itself
lol tim
14:18
okay question for @RaghavSood , why the hell you need processing power / energy to "create" a virtual coin? what's the purpose? how does it work?
i'm clueless and fascinated.
It's the mining process
It's not so much so as used to create the coin
But rather to make it highly unlikely for someone to be able to attack it
but.. why?
Mining is a mathematical process
You have a target number
And you keep hashing data until the hash has a value lower than the target
Since hashing has a known solution space, you can adjust the target number to make it easier or harder to find the hash
So if more people are hashing, you lower the target number
If fewer are, you raise it
This lets you control how quickly a solution is found
For Bitcoin, it's set to recalculate the number every 2016 blocks, so that blocks are found every ten minutes
As in, if the last 2016 blocks had an average gap of 5 minutes, the number is lowered so the gap becomes 10
This lets you create a process where each miner has an opportunity to find a block proportional to how much hash power they have
so you just hash an operation's result until you reach the "market's current hash low value threshold", then send that hash value to N ? i miss the point of it.
I hear that mining fake money consumes as much power as the combined power consumption of 159 (unspecified which) countries
14:24
yeah it just went on the news
that's why i'm asking
makes no sense to me
But wait, there's more
Once you find a solution, you are eligible to create a block
This means you can control which transactions are mined into that block
it seems like fake currency created it's own "raw material", processing power, for the sole purpose of having somewhere to leech of instead of just being generated.
just like if i had to smelt ferrite stones to get iron blobs to later turn into steel
The point of the process is that no single miner can find a majority of the blocks
Which would allow them to reroute funds or control the transactions across the entire network
why would it allow him tho?
Even if there is a malicious miner, he will only be able to affect a small fraction of the blocks
Who's stopping him?
There is no central authority here to settle disputes
14:26
😺/
@CptEric Here's a practical example:
I'm a big entity, I have a ton of money
I pay you $1,000,000 for a service and broadcast the transaction
1M from my address to yours
It gets mined into a block
Now, if I had enough hash power, I could mine 2 blocks more
One to replace the already mined one
Which moves my money to my own address
And one after that
Giving my the longest chain
:○
So you gave me a service thinking you were paid, but you really weren't
it still makes little sense as per "creating virtual money"
The point of the mining process is that hash power is distributed, open to everyone, and fair
The block reward is just an incentive to make people mine
You have currencies which were 100% mined in the first block
New blocks in those currencies don't create any more money
14:31
(me) a wide and large space of air (the concept of continuous computation required to make a coin retain or increase it's value)
^venn diagram.
Okay, looks like we need to do some background building
We'll focus on Bitcoin here, and why certain decisions were made to create it as it is
i just looked up and it takes less energy to get yourself 1K$ in gold than 1K$ in bitcoins as per energy footprint.
that's ridiculous.
The goal was a create a currency that is not controlled by a single authority. Your accounts belong to you. No one can confiscate your money. No one can arbitrarily print it. No one can steal it.
It should be a global currency
but you have lost stuff before right?
in there?
how is that managed?
By gremlins
14:33
Losing cryptocurrency is entirely akin to losing a keystore
i've heard you say that somehow you sent X to a wrong Y and that Y then gave it to you back
It more or less boils down to your fault for not securing it right
Those aren't lost, just misdirected
but, how can that happen?
it's not tied to any, uhm, identifier?
Sending them to the wrong address
Same as you going shopping and handing $50 to the person behind you at the counter, instead of the cashier
14:34
non gazillion long missinterpretable identifier*?
You gave money to the wrong person, the person left
Or akin to you depositing money into an ATM, and missing the ATM and accidentally tossing it in the drain instead
The point is, cryptocurrencies don't have the issue of the banking system
If a bank decides to freeze your funds, there's fuck all you can do about it
That's not possible on a cryptocurrency
No Government can ask the blockchain to freeze your address
you sure tho?
what if they just block IP calls or whatev?
14:36
ISP's are in gov hands after all
You can transact via satellite
or SMS
Or VPN
SMS and GRPS are tracked by gov too
It's a p2p network
VPN's can be disabled
It's not like they can block bitcoin.org and call it a day
Radio frequency
14:38
now that would be cool but sadly controlled too if it uses repeater antennas.
and that applies to any euro country or to usa
Hmm
I think I might do a blogpost on this instead
back to the topic tho
There's a lot of material to cover
why the system was designed this way, and, why isn't it less chaotic?
i mean for average tech joe just trading currencies surfing the waves of the currency value it's just stock trading with extra steps
I know one advantage over current banking systems is international transfers, you don't have to pay international transfer fees, so for people wanting to send their money back to their families, they get the full amount
14:40
but the genration process of this values and currencies grinds my gears
I have to wrap up some work, but I'll be back in a couple of hours
Convert to the the pixel coordinate, and display an overlay. You might be able to use this: https://developers.google.com/android/reference/com/google/android/gms/maps/Projection

Last time I did it I used the formula to convert to the mercator projection.
also the transformation to real banking assets and the transformation of this assets to physical currency is also skeptically painted as easy, and i'm sure that won't be the same anytime soon
I don't mean in app context, but thanks anyway
why don't you make polylines, tim?
you have coordinates of each route step
that is easy 'nough.
14:43
anyone tried firebase performance yet?
I see output for that in logcat but the firebase console shows nothing
I don't have to make polylines
I have locations in gpx format, maps draws the route automatically
not yet warren
i want to tho
14:55
everybody's ready for adventofcode.com 2017 starting Friday?
nope
as every other year, I will start out with a lot of motivation, and stop around day 10 when it's too much to do in 30 mins
yeah, same for me
maybe I should quit while I'm ahead
5
15:02
ohhh look at me
lol
lmao
15:15
I can't manage firebase performance to show me data in the console... damnit
What is that @TimCastelijns
30 mins ago, by OcuS
everybody's ready for http://adventofcode.com 2017 starting Friday?
why's the names filled out
mine is blank when I go to that link
depends on how you sign up I guess
or check settings
Dec 8 '16 at 16:33, by OcuS
yesterday, by McAdam331
Dec 12 '15 at 21:36, by PearsonArtPhoto
Advent of Coding leaderboard code for this room- 30977-9926b1c6
15:28
I should really start rep flexing again :/
I stopped a while ago and never been less depressed during office hours
instead of doing that advent code
lets go for reps
Work homies
advent of rep
15:36
@Graeme sup broseph
sup graeme
anyone here with room experience?
I know a guy who'll make you quit your room and aim at higher realms.
Timothy you're up
ok, jk. @AdamMc331 might help you with that :p
i have an object defined by 3 ints, that s part of my entity
1:1 relation
do i go the foreign key route?
not much
15:47
Shall I vote close a dupe where the dupe has -7 votes
and it's mine?
can someone point me in the right direction ? it seems like a generic db problem
I have room experience
What's the specific issue with room @MarcinDeszczynski?
I don't understand the question
I think he wants to know if he should use a FK, or incorporate the 3 ints on the other object of the relationship
15:49
i have a device entity
defined by strings like mac address etc
but then there s an object field
that object is defined by 3 ints
1
Q: Java - How to assign variables within evaluations?

HYBR1DI'm trying to make a Java method close() which closes object if it is open, and which returns true if the action succeeded. public boolean close() { if (open) { open = false; return true; } else { return false; } } I'm trying to f...

Oooh. And you want to know if you should put the object with the three ints inside the device entity, or as a separate entity altogether?
if it's an 1:1 relationship between the device and this object, I think you might just put it all on one table
I don't dare to close it as dupe :/
so now i can make a seperate table for that object
yea
15:51
Personally, I like using a foreign key for normalization purposes, but if you don't think it's necessary you can nest it. You can still create a separate POJO for it and use the @Embedded annotation - developer.android.com/reference/android/arch/persistence/room/…
What room does here is, it allows you to still have a separate POJO for your nested object, but within the database it flattens it and puts it all into one single table.
yea, i think this is what i was going for
my object is a Filter defined by Fc, Q, G
Sounds like you can use embedded.
Think of it this way
and my entity can have like 8 filters
but it s static
Will you ever need to use the Filter class by itself? Or will a filter only be relevant when you already have a device?

If you need to display filters separately, you want a separate entity.

If it's impossible for a filter to exist without a device object, then just use the embedded feature in room.
Like a counter point was in my finance tracker. I allow transactions to have a category (food, car, payday, etc). I want to display a list of categories by themselves in a dialog, so I needed a separate entity for it. Had I allowed the user to just enter some random category themselves, I could have made it an embedded field.
it's composition vs aggregation basically
15:55
filter is only relevant when i have deice
:) then you've got your answer. Good luck! :D
OH SHIT
do what adam said, embed it
the madman dupe closed it
but is it seriously as simple as adding @embedded to my field
15:56
google encourages this
yes
it's that simple. :D
likely, they have the same structure in their backend PaaS
ya im reading through it
lol just saw this
> Note: Embedded fields can also include other embedded fields.
Embed all the things!
15:59
buys rpi
so lets say i do
@Embedded
private Filter fitler 1;
in my entity
i can do
@Embedded
private Filter peq2;
basicaly add another embedded field with same object

« first day (2599 days earlier)      last day (2574 days later) »