« first day (2470 days earlier)      last day (2707 days later) » 

01:39
o/
user457812
01:53
Facebook seems to have decided it's OK to leave me unbanned
02:35
wat
Tfw Adam is the annoying one finally ;)
Jk bby ily
02:55
wow
wowowow
gimme that phone back then we'll see who's annoying
03:11
Nonono please I love you please don't hurt me
You're in for a world of hurt, young human
kills Adam
 
1 hour later…
04:32
@TimCastelijns That's what I ended up with last night: gist.github.com/RaghavSood/96e0d0d32718d556750df259d1df91ca
Gonna clean it up today
Hello, Android!
o/
I am going to sleep. Talk to you all in the morning.
8 hours ago, by Code-Apprentice
I got the job!
@AdamMc331 Worst. Chatter. Ever.
Congratulations!
Starts 1 Aug
04:35
Jul 17 at 18:26, by Raghav Sood
Did they offer 49% equity or 51%?
It's a coup then
user457812
05:07
Coding in ruby again is refreshing
GM ALL :3
RIP https://www.google.co.in/search?q=chester+bennington+dead&oq=chester+bennington+dead+&aqs=chrome..69i57j0l5.3727j0j7&sourceid=chrome&ie=UTF-8 :(
05:33
I saw something about that on Spotify but my google-foo didn't turn up any details. Not that I tried very hard.
\o morning
morning
happy friday room \o/
06:07
Goooooooooooooooooooooooooooooooooooooooooooooooooooooood Morning Everyone!!!!! :D
Morning, Womp!
Congrats on the job!!! :D
Thanks
I'm scared and nervous and excited about it.
It will be fine, you'll see x3
mirning!
06:11
I hope so
It's a small shop. I am employee #4.
congrats on the job!
what's the job about?
web apps for pharma companies
How can I know if a variable is copy of another variable or if both of them are refering to same memory location?
Object.toString() ?
06:19
nice
what?
rule 1: if you suspect you're working with references, you probably are.
rule 2: java doesn't mess with memory locations
So, in this hastebin.com/enicemogah.http, how do I know that variables are using same reference or not?
    ArrayList<BaseItem> baseItems = new ArrayList<>();
    ChildItem childItem = (ChildItem) baseItems.get(0);

    // how do I know if memoryAddress(childItem) == memoryAddress(baseItems.get(0))
    // if its equal, why? if not, why?
if (childItem == baseItems.get(0)) {
    // same reference
} else {
    // not same reference
}
if object a == b , b is a reference.
or a
depends on creation time
> In Java == compares references (i.e. addresses) while equals compares object equality (and you can override it to compare based the member variables you see fit)
Oh
thanks
wait...I don't really understand the question. You assign childItem = (ChildItem) baseItems.get(0); so they refer to the same object by definition
@rupinderjeet are you trying to learn more about reference variables?
when you assign one reference to another, they both refer to the same underlying object
06:33
isn't childItem a new object? So, I thought we store getItem() in it. And, shouldn't they refer different memory locations
oh
yes
@rupinderjeet no, childItem is not a new object.
childItem refers to the same object which is returned by baseItems.get(). There is no clone or copy created unless you explicitly say so.
so, if I make changes in childItem, i won't need to update the list for that item, right?
and, after changes in childItem, if I call ArrayList#get(), it will have updated changes I think.
I should try it. thanks
no
although, mutable objects are very questionable
immutability is considered a good programming practice.
as in making them final in method's params?
private void doSomething (final BaseItem basItem) {}
like this?
final means that you cannot reassign another value to the variable. Immutable objects cannot change their internal state. In Java, String is a good example.
An immutable object has no setSomeVariable() methods or any other methods which change the internal state of the object. Instead, you have to create a new object with the new state.
One reason for this is precisely what you were talking about earlier. If an object is mutable, then you can change its state anywhere, just like you said, you can change the state of childItem and the changes are automatically reflected in the ArrayList. This can cause some very difficult-to-find bugs.
It is time for bed. Good luck with what you are working on @rupinderjeet
06:44
ok, like new String("") ?
thanks
so.. i just fixed in 5' something that yesterday took me 2h and worked more or less alright...
>.<
user443346
07:05
o/
user443346
story of my life Womp3r
finally internet
cya
07:26
Hiya Jordy, Raghunandan, CF!!! :D
ignored.jpg
user443346
o/
blobblob
user443346
7h untill weekend
07:46
i didn't ignore you D:
i didn't see you around TT^TT
Hiya Raghav!!
user443346
Raghav, where is your nomination :< ?
23 hours ago, by Mark O'Sullivan
Has Raghav removed his application to become a Mod? I couldn't find it this morning
user443346
Exactly, same for me 5 mins ago
08:08
o/
he gave up
08:39
user image
2
Thundeer x'D
09:14
xD
Hiya netpok, Tim!!! :D
\o
09:45
I hate checking 50 different platforms to check who wrote where
it's so tedious
why can't people just stick with one thing
you could be the dev to make this happen
bring it all together and stick with it
it could be called Ahmad's stickiness
o/
how's friday going?
09:53
slow and tiring
Not too bad, better now that Tim's status isn't great
XD
Tim - you should work from another location on friday to break the routine, from a coffeeshop or something like that
Tim - you should work from another location on friday to break the routine, from a coffeeshop or something like that
@TimCastelijns one messenger for all of it
09:58
I call it facebook messenger
@Ahmad EMP and postal system
I don't really want to drag my pc and 2 monitors into a coffee shop and claim 4 power outlets there
Oh, thought you used a laptop
yes but with some monitors hooked up
user443346
@TimCastelijns I don't think they have that much power outlets in a Dutch coffeeshop Tim :d
10:01
yeah people think netherlands is an advanced country but we are basically living in the medieval ages
but with weed
user443346
^
that's some good auto derision Tim :D
kudos mehdi, I had to look up that word
user443346
Ahmad got it
10:03
I got lucky again, It's the same as in french
> PS: Please don't vote down I just don't know how it will identify when is it already existed. Thank you
XD
user image
4
@W0MP3R ^
> PS: Please don't vote down
instant downvote
>
I would remove Please don't vote down" as that will just increase the probability you will get downvotes.
> @trincot not really when i put that no one really vote down..
damn that guy is challenging us
actually that guy figured out SO
he has neither down- or upvotes on his questions
user443346
Link it, let me change that.
10:11
@RaghavSood what's your thoughts on this August 1st event for Bitcoin or something, heard it might be splitting?
Nah don't break his streak, but for amusement here stackoverflow.com/questions/45234802/…
Less likely now
One of the proposals locked in a few hours ago
With majority support
Still possible there's a major split, but less likely now
user443346
@MuratK. Can't resist :<
What's the proposal now? It seems inevitable that there's going to be a major issue whenever it scales
mark here is a visualization of it coin.dance/blocks
10:15
@RaghavSood that's my commander!!
@MarkO'Sullivan BIP91 has been agreed on, which plans on making segwit2x and BIP148 compatible with each other over the next few months
@MuratK. I don't understand that
Since it has the majority of hashpower supporting it (at the moment), it would technically beat any split that happens and force those who split off to be losing money, or to start working on the BIP91 chain
In Proof of Work blockchains such as Bitcoin, splits are usually resolved by hash power
Mark neither do I. The whole topic is really not that transparent
Whichever side of the split holds the majority of the hash power will usually end up absorbing miners from other forkes eventually
In essence, here's a very simplified example
10:18
@belt hi
Let's say there are 5 miners behind Bitcoin, each with 20% of the power. Individually, no one holds a majority
There are two, competing options for the future of Bitcoin
One option gets 3 people to support it, the other gets 2
The total power behind the network is split 60-40
When a fork actually happens, the guys on the 40% chain will struggle to be profitable since:
1. Most users and companies would follow the longest proof of work chain, which will inevitably be the 60% one, since they have more computing power, and can mine blocks faster
2. The 40% chain has less computing power, is slower to create blocks, and their version of Bitcoin is rapidly losing value in light of the other chain gaining more support
Thus, the remaining two would also switch to the 60% chain to maintain profitability
Of course, it's a lot more nuanced that that
And most things on Bitcoin don't rely on 60% of hashing power. They'll usually want 80% plus at a minimum
Do you mean by fork there is a new algorithm to calculate the block stuff?
The actual algorithms remains the same
A fork means that different miners are using different rules to validate transactions
It could be a change in transaction rules, introduction of new transaction types, change in block size, change in transaction format, whatever
@TimCastelijns you edited it out and it got downvoted.. Nice job :P
What is BIP91 and BIP148? If they don't change bitcoin will it not just end up with the same problem where it will scale badly?
10:25
not my problem. Stuff like that does not belong in a question
Like I heard that the split would produce Bitcoin 2.0 which would be an improved Bitcoin which would use a blockchain which could hold 2x / 3x the amount of transactions?
BIPs are Bitcoin Improvement Proposals
They're usually suggestions which require miners to signal acceptance
Is there specifications for what's involved in them? Who can suggest these proposals?
Once enough miners agree that a proposal will be implemented (80%+ or higher for most cases), they are put into practice
Anyone can suggest them, they can be of any type
Even non-code ones, such as BIP21, which defined the bitcoin: url link format
You can propose anything I think and the miners can put a extra msg in the block if they are in favor or something along the lines
10:26
BIP91 is a proposal that aims to make two other proposals compatible with each other
BIP148 is a proposal for one form of Segwit, which proposes to move some data out of the transactions, allowing you to fit more in the same amount of space (segwit - segregated witness (they're moving the signatures out))
You also have segwit2x which proposes to have segwit, and also increase the base block size even more to fit in even more transactions
BIP91 wants to combine both of these
(Again, the proposals have a lot more in them than just this, including ~2 month implementation timelines of all the various parts, but that's the gist of it)
> SegWit2x is not the first proposal for scaling bitcoin's transaction capacity
You also have other proposals that just want to increase the blocksize with no segwit
That sounds like it doesn't solve the scaling problem
There is no hard and fast, 100% perfect solution currently
However, segwit has already been successfully used on other cryptos, such as Litecoin
Wait how does a BIP get implemented and who does that?
10:30
Increasing the block size is just a short term solution, going from 1mb storage to 2mb storage will allow double the current capacity but there's still going to be a long term difficulty to scale in the future will there not?
BIPs can be proposed by anyone by emailing the Bitcoin mailing list. There's a guy in charge of them
If after discussions people agree it's a code idea, people contribute code to implement it (BIPs usually contain a fair amount of the code needed anyways, or at least pseudocode)
Once the code is tried and tested, it's included in the regular bitcoin binaries
@MarkO'Sullivan Depends on how much you really need. Of course, none of the current proposals aim to solve scaling for more than a couple of years. It is expected that there will be other proposals to scale to actual global sizes
Lightning networks, for instance
Which propose to have additional chains on top of Bitcoin that can take some transaction load off
By increasing the block size don't you need more mining time to find a block?
No, the mining process is completely unrelated to the block creation process
What about cryptocurrencies which support DAG (directed acyclic graph), would they not be a better solution in the long term?
There are a few candidates for that tech (IOTA, for one), but it's unclear if they can offer the same benefits as something proof of work based
They both have their strong points
10:35
You think proof of work is better than proof of stake?
Proof of stake is inherently biased towards anyone who can acquire a large enough stake
Which takes you back towards centralisation
Fuck that
@Code-Apprentice congrats on the job!
Again, it's good for some use cases, but probably not for an actual currency
Okay, the talk last night really helped me gain some knowledge on cryptocurrencies
I'm tempted to invest some money and might do a small amount on Monday
If you're investing more than a few hundred, I would strongly urge you not to
First invest $20 or $50
Play around with it, make sure you get a hang of how addresses and security and stuff works
Then buy the larger amount
10:40
Who is in charge of the binaries? How does that get updated with approved bip?
Any error in handling your Bitcoin or other crypto, and there's no getting it back
Bitcoin is open source. The bitcoin-core devs currently maintain the repository and publish signed binaries
You can always build from source
Or use one of the none-core implementations
Is it possible that the core devs go rogue and do their stuff and force everyone into it?
If that were to happen, people would simply take a point in the repository where they weren't rogue, and other community members would form a new team
@RaghavSood yeah will probably be around £20 or so
Let me know if you need any help :)
11:13
How would you go about investing into some unknown cryptocurrency?
give raghav money, let him do it
I mean you could buy those low $$$ ones and let grow over few years
@MuratK. Buy Bitcoin/Ethereum, use one of the exchanges to buy the random ones using that
Bitcoin, Ethereum, and Litecoin are the only ones you can easily buy with cash
Bitcoin is essentially the USD of cryptocurrencies
Everything is sold against it
If you want the absolute random coins, you'll have to use HitBTC, YoBit, Bittrex, or Novaexchange
If you want still somewhat stable coins, you can use Poloniex, GDAX, or Bitfinex
hmm so btc is the way to start
11:31
is it sane to put a html page (plain text form) in a json object
Why not just put the data on the page, and generate the DOM client side?
I am going on a trip, partially paid by company
:)
I have to send the html to my server in some way
and later display it in an app
user443346
Can anyone tell me what's the correct way of rotating an image with exif? When I take a picture with my camera, it always rotates the image.
welcome to hell
don't use ExifInterface to retrieve the file rotation value
11:40
Yup
user443346
So tell me, what is the best way?
That hell is made by Samsung...
I ended up using facial recognition
Worked better than Exif data from Android
user443346
@WarrenFaith It also happens on any other device including the emulator, so that's not entirely true imo
Literally just did it a few days ago
11:41
same
user443346
Facial recognition isn't an option since I let users take pictures of the environment where they place a QR-Code sticker.
use this
String[] orientationColumn = {MediaStore.Images.Media.ORIENTATION};
Cursor cur = managedQuery(fileUri, orientationColumn, null, null, null);

if (cur != null && cur.moveToFirst()) {
orientation = cur.getInt(cur.getColumnIndex(orientationColumn[0]));
} else {
orientation = -1;
}
Even better, QR codes have orientation markers on them
user443346
Thansk Tim <3
I rotate my images serverside because it sucks ass to do it on android
user443346
11:45
Well the thing is, it gets saved in the correct orientation (in 90% of the cases)
user443346
I just use serverside for decreasing file size
it might appear to be saved correctly if the gallery rotates the image before showing
I had that
user443346
Hmm good one, will try uploading it to my server for verification
user443346
Ok, not the case. Rotation is correct @ server side.
user443346
11:50
But will keep it in mind
I was knees deep in this shit last week, if you need help later
user443346
Thanks mate, can always count on my fellow Dutchies.
we gotta help eachother, because no one else will
user443346
indeed, guess the world hates us
12:02
they hate us cause they ain't us
Whee everything is going up
Free money
Raghav thank you :)
nice info.
Interesting...Coins...
Addicted :D
user443346
12:21
You ain't much if you ain't Dutch
12:36
I have a website since yesterday, and I already have 9 fuckers emailing me for promoting proposals -.-
they must really dig the beep boop
user443346
What's your mail
user443346
make that 10
Might need a room owners help sometime so I can integrate some features in ChatSE. It involves banning me temporarily
@AdamMc
beep boop is life
I am really glad I entered a fake phone number though. I could see that shit coming a mile away
user443346
12:46
Your site is just as beautiful as mine: kirkduijt.nl
but your https is borked
your site is prettier though
user443346
yeah https is because of the img
@RaghavSood thanks! I noticed you said I could buy stable coins with Poloniex, GDAX, or Bitfinex but is there any advantages of using one over the other?
user443346
Fixed Tim, you made me change it after 3 years of lazyness
wow nice
12:54
SO can be very frustrating when you get above a basic/intermediate level. There should be a flag you can add to a question saying "By the way, I know what I'm doing, and I'm capable of using Google".
Morning
:(
Hiya Graeme!!! :D
@TristanWiley Hang on, let me reset SkynetTester
graeme give links
@TristanWiley Check Facebook for the credentials, let me know what kind of access the tester needs
@MarkO'Sullivan They are all the largest ones. GDAX is owned by Coinbase. Bitfinex is usually more consistently online. The other two occasional die in high traffic price spikes etc.
But no real major difference
They list a few different coins, so you might have to use them all
(IOTA is only on Bitfinex, for instance)
They all also provide margin trading and lending and all
@Graeme sorry for being unable to help
13:00
Time to go~~
Cya later people!!! :D
Better than the other guys who explained how styles work :\
And spent a lot of time and effort doing it too.
3
Q: How to get an ?attr/ value programatically

GraemeI'm trying to do some custom view styling and I'm having trouble correctly picking up styled attributes from the theme. For instance, I would like to get an EditText's Text Colour. Looking through the theme stack you can see my theme uses this to style it's EditText's: <style name="Base.V7.Wid...

13:15
that question sounds really exotic
^ this is a rick roll. Do not click on it
The guy that answered in the comment works
13:40
pskink?
sl
14:06
Hello, Android!
\o
user443346
45 mins untill weekend, can't wait
14:21
start your weekend early
user443346
Boss wont let me
user443346
Hoped for playing a complete afternoon of Civilization 6 but he didnt leave the office. Rip brains.
for some reason I always thought you had your own business Jordy
user443346
I have
user443346
Besides office job
user443346
14:27
Trying to build my own right now untill I have stable income for quitting
Nice! I'm working on the same as well
user443346
Hopefully we'll make it :P
hope so XD
But, as much as I dive into understanding how business works where I am, I'm not very optimistic :P
user443346
Well the thing is, I'm having it a little easier because I'm doing webdevelopment
user443346
Starting up with mobile development is a little too hard I guess
14:37
mobile dev is much more lucrative :D
user443346
Ofcourse but for startup it's too hard. I rather get some 'simple' orders where I can get some steady income for hosting/certificates etc.
user443346
If that works, i'll add the mobile development
user443346
o/
14:42
o/
@Graeme some hostile people you got on your question
Yeah - Putting in effort is not the same as helping
If someone asks for directions and you send them the wrong way after looking at a map, you have not helped, you have hindered.
I always find it especially funny how they appear to have a crystal ball that tells them who downvoted their post
how would you design your dagger architecture to have the navigator injected into your viewmodel? i dont get it due the reference to the mainactivity github.com/googlesamples/android-architecture-components/blob/…
user443346
I'm out ladies&gents, enjoy your weekend o/ see ya'll monday.
14:57
bye gent
mark, our half-birthday is coming up in 2 weeks. How are we celebrating?

« first day (2470 days earlier)      last day (2707 days later) »