« first day (2418 days earlier)      last day (2531 days later) » 

5:01 PM
I wish I was home
 
:(
 
daily reminder: facebook is botnet
 
@ColdFire is that you who sent me fb request?
 
o/
 
o/
 
that blog makes a good point
 
yeah it was a good read
 
wait does that mean no more final?
 
I was doing that yesterday actually
 
just use val x: Int = 3 instead of final int x = 3?
 
5:21 PM
there is no final keyword in kotlin
classes are implicitly final, unless you declare them as "open" too
 
what's the syntax?
 
final doesn't exist in Kotlin haha What Eski said
 
yes, or val x = 3
 
what's a final class?
 
a class that can't be subclassed
 
5:22 PM
Does that mean Kotlin isn't even in its final form?
 
smdh
 
yup
basically
and to make a public static -> open
open potato = 3 can be accessed statically
 
yay
 
I access open potatoes with silverware
 
5:24 PM
rookie
 
so, we accepted a counter offer on a house, inspection process this week, if all goes well, moving in to our first house in early July
 
😃 Congrats!
 
Congrats !!
 
When is the room15 bbq at Dave's house?
 
@DaveS awesome! congrats!
what the hell is a counter offer on a house?
 
5:26 PM
We made an offer, they countered, we accepted
 
"I'll offer you this."
"We want that."
"Okay have that."
 
buying houses in usa is like buying tea in a flea market?
 
You never pay sticker price for a car and unless you really like a house, you never offer full price
well sort of Eric, except with contracts and 24 hour response period with legally binding terms if the offer is accepted
 
weird
 
It's kind of like negotiating with your code. "I want all of these features to work." "Sorry, can't do." "Can you at least make one of them work?" "Okay, just one."
 
5:28 PM
and are the taxes allowed to make a counter offer over yours?
 
well then again maybe the market in usa is more inflated than here, and there's more demand
here house or car prices, unless it's a private deal, are take it or leave it
 
Has anyone used Timber for logging in a library module? When I run the app module, I don't see any of the logs. I imagine this is expected behavior, because we don't really want our library to log anything, but is there a way around this for debug purposes?
 
Eric, here they are negotiable to a certain extent
 
no, i'm fine logging, i don't need timbering
 
well eric, almost all house sales are private with a real estate agent to broker the deal
 
5:30 PM
I was thinking about going back to DC and getting a condo, that way I can be closer to the donald.
 
right. we don't have real estate agents or brokers like in the movies / series about usa
 
if the deal is much lower than the value of the house on the market (which means some part of the payment has not be declared)
the taxes are allowed to block the transaction and buy the house from the owner with the same price he approved of
 
the taxes?
you mean the government?
sounds like an awesome measure to fight corruption
 
Congrats, Dave!
I've been looking recently but they are going quick and pricey
I've had several that were sold in a day and quite a few that sold within a week
 
@CptEric yes, the part of the govt handling taxes and treasury (we call it in french "fisc")
 
5:35 PM
we call it Hacienda ^^
see the opposite of spain CM
 
And it took me several months to buy a mouse just to go back and buy the one I had previously. So, quick decision making isn't really my thing
 
house sellers practically have to sell their body to the buyer to sell houses
 
It's been a seller's market here for awhile
 
5:36 PM
ministry of taxes and public expenditure
 
Adam send me this on Facebook - codepen.io/maziarzamani/pen/oxBKxX
@McAdam331
 
@codeMagic We had several go under contract the day we looked at them, one house we made a full price offer and a full price CASH offer came in and grabbed it from under us
 
lol
sounds weird
 
why would you want cash
 
It's not cash it just means no mortgage
 
5:39 PM
here you go past a house retail store and there's thousands of panels selling stuff
yeah no mortgage
 
which releases you from several legal restrictions and removes the possibility of the deal falling through.
 
althought... isn't mortgage managed by banks in usa?
 
@TristanWiley y tho
 
why would the seller care how the buyer finances it
 
here it's forbidden for companies to offer loans over 2500$
 
5:39 PM
And cash transactions are much smoother. At least, in my limited experience
 
because you can close immediately
 
same with a bank mortgage in europe tho
it's just a call to your bank and a sms
or 2 clicks on the app
 
cash payments over 5000$ are forbidden here though
and i think it's 10000$ as maximum on the whole EU
 
also with a mortgage you have a guarantee that the buyer will pay
 
5:41 PM
and that the money is clean
i would not trust someone with 400.000 in cash.
 
especially in spain
 
especially in any big drug country
 
:D
 
It's the same if the buyer finances it with cash or a mortgage, you are guaranteed, as soon as the full sale price is in escrow
 
looks edgy to me :P
congrats on your new house tho. post pics when you can
 
5:43 PM
All cash offer means is some liability release from certain disclosures and no chance of a mortgage being denied
 
so in usa house market is like in every retail tv character ever?
 
idk eric, I've never watched a TV show about buying a house
 
like, "yeah this house is amazing, i can sell it to you for 180k this afternoon but there's a guy that wanted it and will call me by 7, so...
 
that sounds boring
no that's not it at all
 
Modern Family
 
5:45 PM
gross
 
XD
 
it's more like, this house has been on the market for x days and they are asking y for it. You look at it, then offer z, they accept or counter off with x1 or they don't
you mostly just tell the realtor what you want to do, sign the forms and see what forms come back
 
and who gives a commission to the real estate agent? the buyer or the seller?
 
i still don't get that full cash offer thing
didn't you sign a paper when you made your purchase offer?
does that have no validity?
 
seller pays the commission, buyer pays the inspection fees etc
 
5:50 PM
"full cash" means you can proceed with the transaction in 48h max (to verify the validity of the check)
when you're on a mortgage, the process can take up to 1.5 months here
 
typically
 
having the full funds to buy the house (without the possibility that the bank loan would fall through) is a big advantage to the seller
 
^
 
there are plenty of deals where once the bank gets more info about the property they decide not to go through with it for one reason or another
 
One example is if the home appraises much lower than the price, in that case the bank will only offer a mortgage for the appraised value, then the seller has to come up with cash to make up the difference
If that's 10, 20 or even 30k it can cause a deal to fall through.
 
5:53 PM
1) your banks sound shitty.
2) why are purchase offers not binding deals?
 
raisins
 
because they include legal protections, say we found a crack in the foundation, or we learn something bad about the property
certain conditions allow the buyer to leave the offer before it has "closed" at no cost
other reasons for leaving means you lose your deposit.
 
edgy af. here that would be considered fraud because a home can only be sold with a certificate from a professional inspection company
 
Here the buyer gets the home inspected after the offer is accepted
 
house is sold with unnotified failures = both the seller and the inspector go to jail
or pay a gross fine
and when you make an offer and it's accepted, there's no turning back for the seller
 
5:58 PM
seller can't turn back after they accept the offer
only the buyer can
 
the gov's been trying to dismantle but there's still a lot of buyer protections
 
Just bought my Droidcon NYC ticket. :D
 
but here dave, if we meet and i want to buy a house to Dave's House Retail, and i go to the desk, say i want to buy house number 13, and sign an offer with an entrance payment, that house's locked for me
if dave's house retail sells it to someone else in the meanwhile, that's sale fraud
 
6:01 PM
@McAdam331 paying to browse memes and "wohoo" at new tech stuff commercials?
nerd alert intesifies
 
Eric, they can't sell it to someone else here either if they have signed a contract
 
no contract, just the offer and a safety payment
 
That's not really that much different
just instead of a House Retail company you offer to the previous owner and when they accept you put in your deposit etc
 
like, "okay, this is my offer, this is my bank information, here's a 1% of the price bank transfer. let's make the papers this week".
 
here first you sign a so called "agreement" and not until the day you get the keys you sign the actual contract
 
6:03 PM
yeah but you said you already was in that step and someone threw a gazillion shmeckels and got it
exactly like here, tim
 
no we made an offer but hadn't put any money down yet
we said we'll offer 215k, what do you think?
 
your offer is our agreement
 
and someone else said, I'll offer 215k cash
and they said, we'll take the cash, please proceed
 
usually cash doesn't come to play after 2-3 days
when the house's been visited and all
but in the meanwhile, the agreement says it's yours until you say no
 
see we look at it first
then put up an offer
and if it's accepted it becomes an "agreement"
then when we "close" we get the title
 
6:06 PM
here you go to the retail place, say hey i like this one. what's the price? "fixed 120k, includes parking expenditure of the first 5 years". "okay, let's make an agreement and fidx an appointment to see it".
after seeing it, you can go on or leave it
sometimes the price is variable when the house comes from a non retail owner
but it's always to lower & you can't offer more than the sale price or less than the government instructed price
 
Feel free to leave comments
 
^^sup CA
 
> WROONG! Fake news!
 
You're Fake News
 
I know
but it takes one to know one
 
6:08 PM
\o eric
 
and i'm pretty sure @TimCastelijns 's country does it similarly.
 
Dutchlandia?
 
Eric pings will still work like @Name's
 
6:10 PM
The UI is clean
 
@codeMagic dafuq
 
@codeMagic /scratch head
 
meanwhile in spain
 
Of course it got an answer
I was going to mark as a dupe but not sure that's what the OP is asking
 
6:15 PM
@Code-Apprentice I like it, but would love a slightly more detailed example unless those come later in the series?
 
@McAdam331 yah, this was mostly a learning experience for me setting up Jekyll.
 
Jekyll is nice
 
All the robolectric examples I have found are very, very basic. I plan on writing more to show more complex testing examples.
Next one will probably also be fairly simple: testing a fragment.
oh...I forgot I was thinking about adding second test...
 
So I've been coaching an intern the last 4 months,
he went to his hometown the last weekend and today he brought me a bag of homemade food specialties to "thank me for the coaching"
 
and I probably should just do normal JUnit asserts instead of using Hamcrest matchers
 
6:18 PM
Can someone tell me why I am getting zero all the time? I am exhausted now.
 int percentageProgress = (int) ((downloadedBytes / fileSize) * 100);
latter two params are long
 
Are downloadedBytes and fileSize ints?
is downloadedBytes less than fileSize?
If it is, it's doing integer division and you're getting 0.
4 / 6 = 0
as far as java is concerned
 
Oh right
 
I'd convert one to a double
:)
 
thanks.
I am so stupid
8
 
haha it's okay it happens.
but it's room15 so I gotta star the self burn. It's a rule.
 
6:20 PM
XD
 
that was it, seriously. happy and running now.
 
8)
 
As a rule of thumb, I also do 100.0 for floating point constants.
instead of just 100
 
hmm not a bad idea there code
 
not that it will fix your bug in this particular situation
 
6:23 PM
@codeMagic how to get number from int?
 
Nah, that alone wouldn't. It's not 100 being an int that's the problem, it's the division.
 
that's what I mean
still something like 100.0 can prevent similar bugs, if say you are dividing an int by a constant.
 
yeah
yes exactly
like ratio = myVariable / 100.0
then it doesn't matter if myVariable is an int
 
right
@codeMagic stackoverflow.com/questions/44269056/get-text-from-string is a little more clear now. Still missing some important details that are important for an answer.
 
lmao, Dave
CA, it still hurts my brain to read
 
6:33 PM
CA that guy is an idiot
and that's coming from me
 
that's not very nice
I don't know that he's an idiot. He just sucks at forming a good question. And English obviously isn't his first language
 
^
 
@codeMagic look at his comment on the answer
 
ignorance and being new != idiot
 
6:37 PM
what dave said
 
that's not what I said
 
@codeMagic agreed. But it is now clear he is asking how to get a string resource
 
yes
 
it is still unclear if he is doing this in an Activity or Fragment (or possibly some other class...but less likely)
 
user image
3
 
6:38 PM
which makes a complete answer impossible
 
hmm I should really be using getString() instead of getText()...
 
not if you're using an EditText or TextView
 
I keep using getText().toString()
 
right, that's correct.
 
and by getText() I mean getText(id)
 
6:41 PM
if you mean from resources yeah ok
 
What is the difference?
 
getText(id) returns a CharSequence
and even though I'm not really sure what the tangible differences between CS and String are, CS has to be converted
 
> Return a localized, styled CharSequence from the application's package's default string table.
I don't know what "styled" means.
 
nor do I
 
6:43 PM
@TheWanderer "CS has to be converted". That entirely depends on what you are doing with it.
 
BUT WHY
Now you can test your sperm with your iPhone, FINALLY https://www.producthunt.com/posts/yo-sperm-test 🏊 https://t.co/CfiOlCzzda
 
I thought a CharSequence was basically an array or something of chars
 
If you pass it to another method that takes a CS, then you do not need to convert.
 
duh
 
@Ahmad for fertility
 
6:44 PM
but why would you need to do it over and over again
why an app?!
just go to the doctors
 
lol
 
For the glory of Satan of course!
5
 
uh how does FCM work?
I set it up and I can send notifications, but idk what's actually doing that...
 
@TheWanderer Pretty much the same as GCM
 
@Ahmad "FINALLY" :D
 
6:45 PM
I never used GCM
 
Oh.
That makes it much harder to explain then haha
 
oh god why is that being starred everyone's gonna come in thinking I'm satanic
 
you are though
wasn't your keystore a sacrifice to Satan?
2
 
Yeah Adam, everyone here knows you're Kotlinic
 
Don't worry Adam, we don't judge
 
6:46 PM
 
hold that thought adam
 
holding
 
@VarPete You need a a:q ratio of 3:4 to talk here. Please see this link for more details.
 
LOL @RaghavSood your bot has a divide by zero error
@VarPete has 3 answers and 0 questions
 
user image
2
 
6:49 PM
LMAO
 
@VarPete Welcome. Please read the room rules.
 
rip
 
be careful you don't start a conspiracy that kotlin is satanic
kotlin is what jesus would program in
7
 
I love it
> Kotlin is what Jesus would program in. - Eski, 2017
 
:D
 
6:52 PM
which jesus?
 
Yes.
ll of them.
 
it's pinned.
 
LOL YES
 
philly jesus
 
in the name of the holy ghost, jesus, the father and kotlin
 
6:53 PM
Praise be to Jetbrains, amen.
2
 
Jesus the kotlin programmer from Jethlehem
that sounded better in my head
6
 
Jethlehem?
 
JetBrains or something
 
mixing bethlehem and jetbrains, but I could have done better
 
LOL
 
6:57 PM
[O ͜LO]
it's Finder!
 
LOL
 
JetBrains 29:11 "For I know the plans I have for you,” declares Kotlin, “plans to eliminate Null Pointer Exceptions and not to harm your code, plans to give you immutability and Android Development a future."
8
 
hmm...I'm not completely satisfied with my blog article. I might have to edit it later.
 

« first day (2418 days earlier)      last day (2531 days later) »