« first day (2415 days earlier)      last day (2548 days later) » 
02:00 - 22:0022:00 - 00:00

10:06 PM
code-apprentice? sry but what do you try to achieve with your blog tutorial?
 
user457812
Got Jenkins builds set up to merge branches into master before running tests
 
user457812
Since really nobody cares what's in a branch if it's not going into master, so tests should run as though they're already merged
 
youre not making sense
main point of a branch is being independent
 
nice clip and nice dress
receiver ruins it a a bit
 
Just discovered this band
> Hooverphonic is a Belgian band that formed in October 1995. Though early on categorized as a trip hop group, they quickly expanded their sound to the point where they could no longer be described as a lone genre, but rather encompass alternative, electronica, electropop, rock, and mixture of others.
 
:)
 
Also
> A new Android Studio 3.0 Canary 2 is available in the canary channel.
 
code away
 
10:34 PM
no code on weekends for you?
 
Nice band @MehdiB.
 
mostly not
 
GVillani - yeah I listened to 3 songs now, and they are all pretty good
 
mehdi you know nouvelle vague?
 
yes!
"dance with me!" is an awesome song
 
10:36 PM
@MehdiB. I m listening "2 Wicky", really nice song
 
what about gogol bordello?
 
I'm listening to it as well GVillani :D
 
eheh
 
I don't know that one Okas, checking
 
I like them too @Okas
 
10:38 PM
be careful mehdi
 
XD that's not really my musical taste
 
aha
then again they are the roots from same tree
 
same as who?
 
user457812
@Okas No, you're just not getting it.
 
user457812
The branch's tests run after being merged into master.
 
user457812
10:42 PM
That way the branch is always running with changes from master and in the final state of the branch (i.e., merged)
 
nil, you lost me
please explain more
 
user457812
When the build system gets the changes, it takes the current master, detaches it, merges the changes from the branch in, and runs tests.
 
mehdi, soul tree
 
user457812
In doing so, it's running tests as though the branch is merged, meaning that if the branch is forked from an older revision, it's guaranteed to run with changes in master
 
user457812
If the branch is a fast-forward from master, there's no real difference. If there have been changes in master since the branch was made, it's important to know if those changes conflict.
 
10:45 PM
cut it nil
 
user457812
I think the part you're confused about is that when I say merge, I don't mean it's being pushed out.
 
user457812
The build system merges it, then throws away the result of the merge after tests are done.
 
calm down... think about what is the point of branches
 
user457812
I am calm, I'm just explaining what it's doing. (You asked me to do that.)
 
automatic merging of branches seems stupid to me
 
user457812
10:46 PM
Okas, I'm not pushing the merge
 
user457812
The merge happens on the build system and then is discarded.
 
user457812
You're conflating one thing with another
 
well
maybe start from the start
whats your problem
 
user457812
The problem is how branches are tested
 
user457812
Most people only test the branch as though nothing in master has changed
 
10:48 PM
exactly
 
user457812
Which is a bad idea
 
i agree with them
rewind
 
user457812
I disagree with them because it ignores reality
 
thats the point of the bracnh
 
user457812
The point of the branch is to store changes, not to be a silo
 
user457812
10:49 PM
The changes eventually get merged back into master, so naturally, you want to test with whatever's in master present
 
no
 
user457812
That way if your branch falls out of sync with master, you identify the issues then and not later
 
changes MIGHT get merged
but maybe not
thats the whole point
 
user457812
True, they might be discarded, but that's irrelevant here
 
its not
why its irrelevant?
 
user457812
10:50 PM
The general assumption is that if you have a branch, it will eventually get merged.
 
user457812
Correct?
 
no
 
user457812
So the common case is you throw away branches?
 
Yeah, we used to test the branch, and then rebase onto master and test again if the branch feature was approved, and then merge into master after everything passed
 
user457812
@RaghavSood Which is pretty much what I'm doing.
 
10:51 PM
> The general assumption is that if you have a branch, it will eventually get merged.
Yes
 
common assumption is we will look at things at the point of merge
 
user457812
The build system runs tests with what's in master.
 
user457812
@Okas Which is what the build system's doing.
 
Hammer and nails
 
user457812
@Okas I think you've made an assumption somewhere along the way about what I'm doing that's incorrect, but I'm not sure what it is
 
user457812
10:53 PM
Are you thinking that when I merge the branch into master, that I'm also pushing the merged results back into the (central) repo?
 
sry nil
im still not quite get what youre doing
or even what your problem really is
but im interested
mostly i dont understund why do you want to merge branches to master "for testing"
 
user457812
Because you want to identify whether or not the branch, once merged, will fail tests
 
user457812
Because you don't want to merge and push and then fail tests.
 
user457812
gist.github.com/nilium/792103114eef68de3263a0304455f95e ← This is what I'm doing in Jenkins, specifically.
 
aha
 
user457812
10:57 PM
For each build, run tests, then re-run tests merged.
 
so these are your own branches?
 
user457812
I'm not sure what the distinction would be with my own vs. someone else's
 
well, with your can create copies and test before merge
 
user457812
Every build runs in a cleaned workspace with a new copy of the repo
 
ok, you can do with remote branches the same
 
user457812
10:58 PM
If that's what you're asking about
 
user457812
No two builds share the same copy of a repository.
 
it still escapes me what you are trying to achieve
 
user457812
I am trying to ensure that concurrent development of features don't conflict when new features are merged into master while other features are in development.
 
user457812
By testing the product of the merge, you learn whether merging breaks the build before you merge.
 
i think you could get some kind of award for that sentence
if youre really that concerned
 
11:01 PM
o/
 
user457812
@RaghavSood Since you're also around, am I just explaining this really poorly?
 
... create a new branch and merge and test there
 
user457812
@Okas That's effectively what the build does
 
user457812
Except it does it automatically for you
 
now im confused
 
11:02 PM
I can follow what you're doing, but that may be because I've been in the same boat before
 
user457812
Go check out the script I posted again, and keep in mind that this runs on a build server, not my machine, and in a fresh copy of the repo each time
 
me? i probably wont bother
 
user457812
Your call
 
yes
 
user457812
ponders what to do for dinner
 
11:13 PM
Hunt
 
user457812
I live in an apocalyptic wasteland, are you suggesting I eat people?
 
mehdi, what about norah jones?
 
I mean, worse things in life
 
So I think we're already ahead of you ChatSE plebs
we have a working login :D
 
whats this shitse thingie+
 
11:17 PM
Android app for SE chat
 
aha
and who and why are you ahead?
 
@Okas I didn't know her, I just listened to 1 of her songs, didn't like it, check this: youtube.com/watch?v=LuYS-tdNboo
 
@TheWanderer that from you?
 
some people here were making another chat app
@Ahmad it's by @NathanOsman and me
 
sweet
 
11:19 PM
mehdi ive seen this :)
 
these calm soul songs is what I'm into, or psychedelic rock or anything not joyful or noisy :D
 
this bonamasa guy not bad
 
@TheWanderer What backend are you using?
 
youre confusing mehdi
 
11:21 PM
Nathan is the security guy
I'm the UI guy
 
I might be mistaken, but I think he's the one who inherited Gary moore's guitare
 
psychedelic is not calm by me
mehdi... this is just showbis
they have tens of guitars
 
yes :D
it just means that Gary moore aknowledged him even though he wasn't his mentor
 
we dont know anything about it
 
I like the old psychedelic rock, not the recent
 
11:24 PM
youre kidding with me :)
 
Okas Pokas, Alakazam
 
translation?
 
Hocus Pocus, Alakazam :p
 
sounds nice
whos this alkasaam guy?
 
>_>
Magic words or words of power are words which have a specific, and sometimes unintended, effect. They are often nonsense phrases used in fantasy fiction or by stage prestidigitators. Frequently such words are presented as being part of a divine, adamic, or other secret or empowered language. Certain comic book heroes use magic words to activate their super powers. Magic words are also used as Easter eggs or cheats in computer games, other software, and operating systems. (For example, the words xyzzy, plugh, and plover were magic words in the classic computer adventure game Colossal Cave Adventure...
 
11:28 PM
> Hocus Pocus: a phrase used by magicians.
> Alakazam: a phrase used by magicians.
:D
 
i like you
 
<_<
 
you are so clever
 
now what's your comeback @TheWanderer? :D
 
hue
 
11:33 PM
XD
@TheWanderer why do you use "java.net.HttpURLConnection" instead of a lib such as OkHTTP?
 
I'm not using anything
 
@MehdiB. look at who made that commit
 
btw my understanding is that android uses okhttp internally for long time
 
You = you guys working on the project
 
11:39 PM
wrong?
 
Mehdi idk what @NathanOsman is doing
like I said, I'm UI Guy
 
do you own a mac?
 
me? lolno
 
youre not ui guy then
 
Okas - I think so, they used to use Apache Http client, then they replaced it with OkHttp or something else
 
11:41 PM
ew macOS
 
exactly
 
Do you guys have had any chances to try Room (the new persistence framework) ?
 
but latest versions of okhttp have dropped apache support, interesting play
gvillian what does this persist?
 
Not yet GVillani, but defeinitely on my todo list
@Okas it's the new Android ORM
 
aha
and where does it persist its thing?
local... "cloud" or wtf
 
11:44 PM
on an SQLite database (file system)
 
aahha. it still uses SQLite. It just abstract it to a higher level
so that you can create easily models and dao
 
what a novel idea
 
eheh
 
what the catch
 
@Okas you're a novel idea
 
11:46 PM
i think im the opposite thewand
 
deprecated?
 
the thing that disappoints me is that you have to write the query in SQL. For example:

@Query("SELECT * FROM user WHERE first_name LIKE :first AND "
+ "last_name LIKE :last LIMIT 1")
User findByName(String first, String last);
 
absolutelyu
another annotation based novelty i see
 
mehdi you have to work hard before you can deprecate me
 
11:48 PM
Actually it has some advantages, about relations or nested objects
 
but shouldn't you gain more control when you use SQL instead of a weird wrapper
 
But I still didn't dig deep into it
yes, that's true
but more error-prone maybe
 
or maybe not
 
yes, but that'll be on you as a developer not on their API side XD
 
eheh
And what about LiveData ? Not sure we still need RxJava, even though the latter has toons of other features
Not actually features, but ways of manipulating and merging streams
Anyway, I don't know for you guys, but in this part of the world it is quite late XD Byee
 
11:53 PM
haha!
here it's 11:53pm
Cya
 
01:53
 
go for rxjava
we need humour here
been nice, thank you
 
02:00 - 22:0022:00 - 00:00

« first day (2415 days earlier)      last day (2548 days later) »