« first day (2616 days earlier)      last day (2347 days later) » 
01:00 - 18:0018:00 - 00:00

user443346
1:11 AM
Late night inferior PHP session ended
 
2:38 AM
I see there's much hate on the board :)
y'all were reminded of php somehow?
 
2:58 AM
lmao
I don't even know how that topic came up @Félix
 
let's just blame it on wednesdays Ahmad ;)
 
true, after all it was wednesday (my dudes)
my spotify recs are good again \o/
 
3:50 AM
OOOH HATS ARE BACK I DIDN'T NOTICE
 
4:12 AM
room
 
4:34 AM
morning linus
 
o/
 
morning guys.
 
5:18 AM
Hey, does anybody know how to write to your app's own lib directory in the protected storage?
I can write to new folders in the protected storage but not the lib folder
I have a very specific use case where I need to be able to write a lib to the lib folder
And no using System.load() is not an option
 
6:04 AM
Morning
 
6:33 AM
o/
 
@ColdFire bitcoin-india.org Fucked....
We heard that all India based bitcoin exchanges has been rided by IT teams, hence all of our employees went on leave unexpectedly; will resume our services once government give a clarity whether to operate it or not; if Govt doesn't allow to operate in such case we will settle all of your funds or coins; please wait for further update; thank you.
nightmare
@RaghavSood
Check koinex. Are you able to login?
 
I don't use Koinex
 
aah sorry.I thought you guys.
CF can you acknoweldge.
 
7:12 AM
i use and i can login
mumbai wasnt raided
many other exchange were
@RonakMehta^
 
7:25 AM
\o
 
o/
 
Gooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooood Morning Everyone!!!!!! :D
 
7:43 AM
Is it possible for me to send request to some_ip/products and receive the response from another_ip/products
 
I am not sure but you do not want that. I mean how do you identify that the response is from a trusted source if the ip does not match?
 
idk, our php guys were discussing about sending requests to another server and that server will send you responses, they said "so, request and response urls can be different", I tried my best to say otherwise that I don't think its possible.
is not it like the new server will give response to previous server, and previous server will give us response back.
 
if they do some forwarding/redirecting it works but you need to have a real handover (HTTP 30x response codes etc)
 
7:58 AM
morning womp
 
8:24 AM
o/
 
thanks, I am trying to find something to read about it
 
user443346
8:41 AM
o/
 
8:58 AM
\o
 
9:34 AM
@CarlAnderson I did not allow the program to execute until it caught the exception as I was doing a return which means right after the exception it did not go into the catch block..However very weird is that after removing the return the exception vanished.
 
9:59 AM
nice... I got a push on my android from an app telling me that they are now also available on the apple watch... LIKE I GIVE A FUCK!
 
unsolicited push messages so damn annoying
 
o/
 
10:33 AM
o/
 
user443346
Tim, hope you tuned in already for the top 2000
 
@WarrenFaith did you reply to them with an angry email? :D
 
Germans do not complain against Germans. We just bomb them to Valhalla
 
top 2000 is dumb
 
user443346
I'm Tim and everything in the world is dumb and stupid
 
user443346
10:40 AM
I thought I was a negative nancy, but you span the crown
 
user443346
stahp cringing me
 
ok 👍 sorry
 
user443346
please ban for not following the rules
 
pretty sure the upstairs office is using a drill hammer for whatever the fuck they are doing right now
 
user443346
10:47 AM
drilling for success maybe
 
what rules man
 
user443346
If you want to be an active participant in microcomputing and not just a passive user - then you'll want to learn BASIC. Rules: room-15.github.io Blog: room-15.github.io/blog
 
user443346
It clearly says: "Tim should not make fun of Jordy at all time, giving no response to this request will result in a permanent ban of SO"
 
11:14 AM
/o
 
o/
 
user443346
\o
 
jordy I found this, thought you would like it
 
@TimCastelijns @Jordy @Mauker have any of you noticed findFirst returning an instance of the object you're searching for but all the fields being null instead of returning null for the object?
 
11:26 AM
no
 
Never happened to me
does that happen on "findAll" for the same object?
 
haven't tried findAll, I'll give it a shot now to see if the same object is appearing
 
Tim, looks like someone from Realm needs this advice :D
Oct 31 at 12:39, by Tim Castelijns
@MehdiB. don't add TODOs, just do them
 
11:41 AM
TODO: do Tim.
 
lol what
 
Hiya Rupin, Warren, CF, Cygery, Jordy, Ocus, Tim, Mehdi, Mauker, Mark, Murat, Netpork!!!!! :D
 
o/ womper :)
 
11:59 AM
Hello Womper! :D
 
user443346
Wait, Womp is back
 
user443346
GOOOOOOOOOOOOOOOOOOOOOOOOOOOOODMORNING o/
 
hey womp
 
@Jordy lol
morning all
 
12:10 PM
This is wrong. You can use the enhanced loop to iterate over a Set. — Murat K. 2 mins ago
This does not even answer the question remotely. — Murat K. 15 secs ago
today is a good day
to be a bad cop
 
@TimCastelijns ok turns out my data was correct, my method for displaying icons however... not so correct (or in this case showing no icon)
was showing the icon which was used for the item which was formerly in the same position, so fixed that issue now
 
12:21 PM
 
user443346
repost
 
user443346
13 hours ago, by Mehdi B.
user image
 
 
@Jordy good boy
 
user443346
I'm learning
 
12:39 PM
I baked a frikandel in the pan and put it on a broodje for lunch
it's delish
 
user443346
Noice
 
user443346
I did that with a mexicano once
 
oh I should try that
I have one of those broodjes from the appie in the shape of a mexicano
 
user443346
Did you ever had a mexicano broodje?
 
no not on a broodje
I've had them with friet, but not on a broodje
 
1:00 PM
Lunch time!!! :D
 
enjoy food
 
user443346
@TimCastelijns As in, you can buy a mexicanobroodje
 
user443346
basicly same as frikandelbroodje but filled with a mexicano
 
1:22 PM
So if the lib folder of the protected storage of my app has 777 perms, why can't I write to it?
 
are you the owner of the file?
 
I'm trying to create a new file in there
 
how do you know you can't
 
It throws a permission denied exception
But if I change it to write the file to new folder in the protected storage, say a "test" folder it works
But I can't use that workaround unfortunately
I want to know why I can't write to it
Think if I executed a shell command it would work?
Or maybe copy it in a C++ function?
 
Why would you want to add anything to the lib folder?
 
user443346
1:26 PM
Doesn't it require you to be root?
 
user443346
Writing to a system folder seems faulthy
 
No, because it's your own app's storage
No root needed
 
user443346
Yeah but with that logic you would also have the possibility to access other app's data folders. Correct me if I'm wrong tho.
 
I have no idea where you're pulling that from
 
the reason you can't is probably simply because google doesn't want you to
lib is like a special folder I guess
 
1:29 PM
back~~ :3
 
@Jordy say for example you have an app with the package org.room15.HelloWorld then from inside that app, you are allowed to write to /data/data/org.room15.HelloWorld/
 
user443346
The directory and its files are readable by the application.

The unix permissions are set to rwxr-x--x. So applications with the same group can read the files.
 
user443346
Aah indeed.
 
Wait where did you find that?
 
user443346
But what about write access?
 
user443346
1:31 PM
10
A: How to get the path to the lib folder for an installed package

rloeweYou can get the exact path with: String libraryPath = getContext().getApplicationInfo().dataDir + "/lib"; The directory and its files are readable by the application. The unix permissions are set to rwxr-x--x. So applications with the same group can read the files.

 
@TimCastelijns here's the problem - because of proprietary code, I either have to get this to work or wait an eternity for each deploy from AS due to a massive native lib
 
user443346
^ ALSO REPOST
 
@AndroidDev out of curiosity, why does it have to be the "lib" folder?
 
1:36 PM
@MehdiB. Because the proprietary code expects it there
 
o/
 
(That's where it ends up if it was included in AS when deploying )
Now the way I know the perms are 777 is because that's what Root Explorer said
I suppose that could be incorrect
 
unlikely
 
So I'm wondering if issuing a shell command would do it
 
user443346
Try it with adb shell and you know it
 
1:40 PM
But how do I get ADB shell to run as the app?
 
Considering that shell command would (technically?) belong to the same user, what would that change?
 
Maybe that permission is denied in Java and not at the file level
But how do I get ADB shell to run as the app's user?
 
user443346
@FélixGagnon-Grenier Oh that's true, adb shell invoked in Runtime.getRuntime().exec is not running under shell user. It provides shell but with same process owner user..
 
Well I mean it could still be worth a try
(The reason I'm having this problem is the code that invokes System.load library() is proprietary)
Which is stupid
 
Yes, but no more than like, a 10 minutes try, and only to confirm or infirm that "Java" Vs file level hypothesis
After that, going back to understanding why would be a more suitable debugging path :)
 
1:46 PM
or reverse engineer the proprietary code and fix it
 
@TimCastelijns I already did that and it works but it's obviously violating the EULA
And I'm not the only person working on this
 
how reasonable would it be to contact the party and ask them to improve this
 
Well that's what I think it might come down to
 
That would be like, grown up reasonable Tim. Please stop.
 
sorry
 
1:52 PM
 
java.io.IOException: Error running exec(). Command: [cp /mnt/sdcard/nativeLib.so /data/data/com.mypackage.app/lib/libVuforia.so] Working Directory: null Environment: null
shooot
 
oooh
looks cool Netpork
 
what does your boss have to say about it AD?
 
i'll try it x3
 
he thinks we should contact the provider of the lib Tim
 
1:55 PM
then it's settled
 
But I really don't understand how we're getting permission denied on a 777 folder O_O
Oh well
We'll see what they say
 
2:27 PM
Ohhhh I bet I know why it's not writable
Isn't /data/data/lib symlinked from /data/app/lib ?
 
I need to upload an image to the server with retrofit and I have to pass it as a string. How can I do that?
 
@Curio base64 encode it maybe?
 
with Multipart form data
 
why pass as string
 
I think because in this way I can get the image with Picasso
 
2:38 PM
no that's not relevant
passing as string, and using multipart form data is kinda 2 different things
getting it later with picasso you'll probably do via an url on your server
 
that's not retrofit though
 
did they remove from MacOS the gesture of showing all the opened instances of the current app?
 
not sure about gesture, but the option is still there
 
you're right, it was unchecked for some reason, it's called "App Exposé"
 
yeah, apparently ChromeCast was on the race as well
 
3:17 PM
sooo... another Fantastic 4 movie??
and new x-men thingies??
 
@TimCastelijns why do I have this then? paste.ofcode.org/Xanc53qEizRK5Gxg3K3wqe
 
O///O
not what i had in mind when i wrote that
 
why do you have that? I don't know. You typed it
 
No, my mate
 
3:20 PM
well ask him, not me
 
I wanted to be sure to ask a valid question before
 
x-men as in mutants, wolverine and gambit and stuff....
 
have they not made enough movies of those already
 
o/
 
3:22 PM
Hiya cM!!! :D
yep, but now they are marvel's again
 
@Curio there can be reasons to store an image as a string, although it's not conventional. Ask him why it is like this
I saw the Logan movie couple of weeks ago, it wasn't great
 
:O
 
Word
 
Hiya Graeme!!!! :D
 
3:50 PM
Hey :D
I need a word
like, maybe two words
Which is the name for the transition where it fades in and expands from the center of the screen (i assume 80% size to 100% size)
 
4:02 PM
circular reveal?
probably not
 
Hello, Android!
 
@Multipart
@POST("api/v1/admin/products")
fun newProduct(
@Body product: Product,
@Part file : MultipartBody.Part
) : Observable<ResponseBody>

I get "@Body parameters cannot be used with form or multi-part encoding"
 
yep
you can only send parts in a multipart form
 
center burst
 
4:08 PM
but shouldn't the annotation @Multipart do that?
 
you should probably just google the error
 
center burst?
 
multipart and body at the same time is a non-sense
 
Sure. Sounds good to me
 
Like, that's used in Android apps. So I was hoping it would be built into the OS
 
4:10 PM
multipart is a type of body
 
I just made it up. Pretty good, huh?
 
@Graeme asparagus
 
Keep reading
:D
 
no, I want to take your questions out of context ;-)
 
:(
 
4:14 PM
Breaking news!
CA says: "I want to take out Context"
I remember reading about a few journalists who used to remove words from sentences to twist the meaning
 
my life summarized
 
Me and my boss had a conversation about how, society thinks I'm "Rich" and yet I can't afford a house or live, and that he's scared for his kids growing up in this economy :/
 
D:
 
He thinks he might have been the last of the generation here able to buy a house
 
4:24 PM
@Ahmad looool
 
\o kevin
 
o/ Bobby!
 
who is bobby?
 
iceman
 
<3 the second comment, Tim!
 
4:26 PM
Bobby Mc331
 
alright
 
ok
 
thanks bff
 
@Ahmad XD
 
any time
 
4:28 PM
too bad everybody is always too puss to downvote answers
 
I usually don't bother if I know the post is going to be deleted
Because votes don't matter at that point
But, yes, people generally are "too puss"
 
I can understand
 
TIL base64 images are removed from the html email core, by gmail
 
it gives me great pleasure to be able to say "fuck you and your shit answer" by downvoting them
 
haha
 
4:33 PM
String path = MediaStore.Images.Media.insertImage(getContentResolver(), bitmapInserted, "Titolo","Descrizione");
        File file = new File(path);
It gives me FileNotFound exception
 
@Graeme in toronto?
unless you wanna live faaaar in the suburbs
 
@Curio I'm usually pretty eager to help, but you really need to learn to google your errors
 
🔨
crushed
 
now delete it
 
4:37 PM
hmm don't think it's delete-worthy tbh
 
ok. Up to you
 
Googling "java.io.FileNotFoundException from image saved in gallery" I've found nothing
 
alright well the first thing to do is to check what the value of path is here
 
@Ahmad I do
@TimCastelijns Nirvana
 
@Curio What Tim said and also know that there's a delay between saving and being able to retrieve an image from the gallery on Android
 
4:41 PM
So...
I have tens of sublime windows
All with random hex in them
But I do not remember which hex is what
Any organisation tips to prevent this in the future?
 
Crazy thought but...name and save the files?
 
organise them as json :D
 
What
I'm supposed to save this stuff?
Half the reason I use sublime is that I can force close it and my files will still be there when I open it again
 
cM the question is deletable now
 
the path is content://media/external/images/media/60771
 
I know but I was debating. Seemed like it could be a good sign post
 
alright
 
Although, not with that title
 
another thing I enjoy is to delete a question so that every rep whore who answered it loses the rep they gained from it
6
 
Curio - the rule of debugging is performing some test cases, before digging any longer in your code. In your case, 1 test case would be to unplug your phone and go to the gallery and see if the image is there. If it's there go back to your code to complete the debugging
 
4:50 PM
there is the image
 
@MehdiB. Your overlords have banned Bitcoin
 
@RaghavSood fight me m8
 
yes, fuckers
 
@Ahmad 1v1 me irl ill rk u
 
🙅🏾‍♂️
 
4:52 PM
@Ahmad Yeah - I think I need to not work from one of the mega corps which continues to siphon money from the people and give it to the super rich
 
@RaghavSood u'll be ded m8
 
@Ahmad frm laughing as i crush u into nthng
Okay I can't type like this anymore
 
okay let's not
let's be friends again
 
Deal
 
good
👍🏾
@Graeme that's unfortunately how capitalism works
a friend of mine recently dropped out of UofT and bought an apartment in toronto
just for fun
cause now he's working full time for msft
 
4:55 PM
I want to reach that level of wealth where I can buy apartments for fun :D
 
same. and he's like 21.
 
I want to reach the level of wealth where I can pay for college and still afford food
 
caugh berlin german universities m8 caugh
 
I don't speak German
 
LEARN
 
4:56 PM
when I was 21, I borrowed money from my parents to pay my first 2 months of rent XD
 
@Ahmad It ain't easy :P
 
tru :(
 
krankenwagon
 
@Ahmad cough
 
4:57 PM
What's so hard about that
 
@RaghavSood nicht sprechen Deuscht???
 
Hiya Carl!!!!! :D
Time to go!!!
 
Hiya Womp! Time for you to go!
 
Berlin welcomes you, trust me!
 
@CarlAnderson err: Language lib.german not installed, training insufficient
 
5:03 PM
You don't need German to live in Berlin
Behaving like one is enough
so just yell at everyone and look angry.
 
you mean just shout every word
lol
 
@WarrenFaith could be worse. When I was at Trover they pushed out a notification (to both platforms) that crashed all the Android versions of the app
 
rofl nice
that is a good way to go
 
@RaghavSood import german.rosetta.stone
 
I need German to study in Germany, though :(
 
@WarrenFaith the iOS dev thought I was overracting when I got upset about it.
 
no you don't, there are quite some international bachelor/master courses you can take
 
@CarlAnderson Cluster skynet-language-ml unavailable, currently completing workload World-Domination-Planner-v31.43.2.
@WarrenFaith Only Jacobs offers CS in English, and they seem too small for my comfort
Masters has a lot more options
But I need the bachelor's first:P
 
@codeMagic I saw it. Added it to my internal list of "things to do short term" but then I added something else.. my list has a capacity of 1 due to memory issues and it overwrites itself
 
I know at least one university that offers an international media informatics course
 
5:06 PM
don't they all?
 
not sure about that
 
wow Carl git gud and stop crashing, duh
 
@CarlAnderson I knew it looked wrong ;_;
 
haha, ok Tim
 
the marketing team didn't follow my instructions on the text formatting of the message :-/
I put in a fix for that the next app release
 
5:07 PM
classy
we have sales telling people a lot of stuff we "do in the next release" which is not even part of our backlog yet
 
at least you're not the bank whose system crashed when some girl put an emoji as her password hint
 
lmao
which one was that
 
@BatCat my point is that when you explicitly catch the exception you don't get a stack trace printed in the logs unless you force it to happen, and so comments like this make it look like you don't have a clue as to how exceptions work.
 
damn apparently she didn't reveal what bank it was
Banking tips
 
haha yea that's it
I think there was a big /r/programming discussion about it and they guessed it was MYSQL since it has weird unicode support
 
5:15 PM
@Ahmad Most of them, probably
 
5:26 PM
we have websites now with emoji in the title... creating emojis in the url which breaks all url parsing... they are literally killing their referral system by themselves
 
5:46 PM
@TimCastelijns I have a workaround!
I replaced the lib it's loading with a dummy lib
and just load the real one from the SDcard before calling the proprietary code
with the native libs all that matters is that it's loaded
it's not getting loaded into an object or anything
 
01:00 - 18:0018:00 - 00:00

« first day (2616 days earlier)      last day (2347 days later) »