« first day (2563 days earlier)      last day (2400 days later) » 
00:00 - 16:0016:00 - 00:00

4:00 PM
Aug 1 at 18:44, by Félix Gagnon-Grenier
I did not, but now have, read and understood thoroughly the rules.
 
oh that is why i couldnt find it
 
You could just have the bot ping people the first time they join and ask them to confirm they understand the rules.
 
well we did that before bot died
 
That would result in people saying they have even if they haven't :P
Right now, they need to read the rules to know that they have to say it
 
4:07 PM
@RaghavSood What about Google App Engine?
 
Ask @TimCastelijns
 
looks like i misinterpreted benjamins message
 
I see that Google provides free resources up to some daily quota...
that fits within my budget
 
Hey. May I get some help on firebase? I have posted a question stackoverflow -> stackoverflow.com/questions/46875549/…
 
4:23 PM
@AdamMc331 it is indeed
 
mark btc crossed 6k$ mark
 
bought at 356k its 386k now
wuhu
 
I sold .5 at 5100
Lost an easy 500
 
oh well patience is the key
 
4:26 PM
Indeed
 
why did you sell at 5.1k?
i was very confident its gonna spike
 
I missed out on 3x profit from VTC
That shit is rising like fuck now
 
I love SG internet
Felt like watching a movie, it'll be ready in 8 minutes
 
Was going to invest in it once I got paid now I think I'm too late
 
Of course, that's all because of my extensive media automation
ego intensifies
 
4:27 PM
I need it to dip to around $2 / $2.50 before I want to get it
 
You can always buy BAT, a friend tells me it's good :P
 
yeah
where to buy this VTC tho in india :(
sucks :(
 
Same as anywhere else in the world
Buy BTC, use an actual exchange
Very few coins are tradable against Fiat
LTC/ETH/BTC pretty much
 
oh that sounds good then
i think i am gonna invest much more money
hell whatever if it burns
 
Lol, I only recently managed to convince my dad I wasn't just burning money
 
4:30 PM
oh lol
 
I mean, he wasn't stopping me before that either
He just thought I was being stupid
 
buying another domain name...
 
Why though
 
meh well better than keeping my money in banks
 
@ColdFire I'm personally a fan of shoeboxes
 
4:31 PM
and the one I want is available. A little more expensive than I would like, but not exhorbatant
 
Why do you need another domain though?
 
this one is for my baseball card app
 
Why not just a subdomain on your existing domains?
 
s/buying/shopping/
because myapp.codeapprentice.info is less impressive than myapp.com
 
4:33 PM
There's something to be said for personal branding
 
although...myapp.androidapprentice.com wouldn't be too bad...
what do you mean by personal branding?
 
I try and centralize personal projects to raghavsood.com
 
Do you mean having my code apprentice handle in the domain?
 
Yup
 
4:33 PM
That way, no matter which app someone uses, they can see my personal brand/involvement in it
For projects which I can't, I credit myself in the footer or something
 
that's a good point
 
for now the domain name isn't consumer facing, either. It's an API consumed by the app.
 
If you're running 20 different APIs/Sites, but no one knows, it's not adding value to your personal brand
For now
 
or that's where it is headed. A consumer facing front end is a little further off.
 
4:35 PM
Even my Unseen extension will open up raghavsood.com/unseen when installed
 
web-based front end, I mean
well, you are starting to win me over...
to your point of view.
You make some good arguments.
 
I would suggest you pick a personal/company domain name and stick to it in the long run
 
you don't even need a CV with this :D
 
Okay, first blog post has been re-topiced
It will now discuss the ECDSA curve and how it works in Bitcoin
Second one will talk about how keys create addresses now, instead of the first
 
nice waiting to read it
 
4:40 PM
will you cover keys exchanges only on the crypto context or even on APIs etc..
 
Hmm?
Key exchanges?
 
like signature and encryptions of HTTP requests/responses
 
Not in this post
Maybe later on
 
cool, that'll be interesting to read
 
o/
 
4:41 PM
o/
 
@RaghavSood it will come good eventually, I want to pick up more while it's cheap tbh
 
yeah hope so
@MarkO'Sullivan i am +7.7% in 2-3 days
 
That's really good
 
yeah
 
Don't get used to it
 
4:50 PM
Most of my portfolio is in BAT so I need to get some VTC before it continues to go up
 
yeah i know its just that i did the purchase just before it spiked
 
5:17 PM
alright, time to code, gotta refactor a 200 lines method
 
Oh my
that's long
 
yes! that's 2 months of fixes and new cases handling piling in it :D
Luckily I code a lot with if/return, rather than if/else if/else
So it should be easy
 
Fingers crossed
I've started refactoring code I wrote over a year ago
 
should be fun, given the fact that you're much more experienced than 1 year ago :D
 
5:36 PM
@MehdiB. cya
 
(y) still here, just not as responsive :D
 
@RaghavSood Okay, you convinced me. The API will be hosted at bbct.codeapprentice.info for now.
 
You may all call me Silvertongue
 
hehe ok
 
6:08 PM
@ChristopheCVB Welcome! Please read, confirm reading, and follow the room rules before you do anything else: room-15.github.io
 
\o
 
@RaghavSood So how do I create a subdomain?
 
HEY AHMAD!
 
HEY TRISTAN
:)
 
6:18 PM
@Code-Apprentice A record
 
and what do I put in it?
 
How's it going?
 
DNS
 
What about under "Host"? Is that where I put the subdomain name?
 
Yup
 
6:20 PM
And wtf does @ mean anyway?
 
IP for where you want it to go
@ is the default domain without any subdomain
 
okay
so if I want bbct.codeapprentice.info, I put "bbct" under Host and the IP for the DNS where the sub will be hosted?
 
IP for the server*
 
so what if I'm hosing on Google Cloud? I put the Google IP?
 
Hmm
 
6:22 PM
nvm...I'll google it ;-)
 
They might have slightly more complex set ups, they should have a help page for that
But generally, yes
For regular set ups, you put the IP
 
@TristanWiley good good
compiling some weird dependencies ugh
learned some stuff about shared libs for binaries haha
hbu?
 
oh...google just gave me all the A and AAAA records I need to add.
glad they have a nice wizard to help with this stuff cuz I have no idea what I'm doing
 
@Curio so, did you guys win the hackaton?
 
Google automatically issues and renews SSL certificates
one less thing I have to worry about
 
6:34 PM
nice
 
bbct.codeapprentice.info Looks like it is working on http
I get a google 404
 
It's a start
 
I found a tutorial for hosting Django projects with App Engine. I will work on it later today or tomorrow. Need to get some food first.
and start the ubuntu install on my laptop...
and shop for a new apartment...
as much as I have gotten done this morning, there are so many things I need to do...
@RaghavSood Have you built any REST APIs?
@Ahmad You are a REST aficionado, no?
 
yah
hmu
 
have you done any with authentication?
 
6:40 PM
hmm only basic auth
 
trying to decide if I need it yet
I'll be collecting data from users of my app. But nothing personal.
if/when I do any auth, it will most likely use Google OAuth
 
google oauth sounds good
 
you can do it on your backend with an Android webview or through their SDK
 
so my app allows users to enter data about their baseball cards. The first version of the API will store 4 of those fields, so the API accepts POST (or maybe PUT) requests. My concern is that if I don't have any kind of authentication or other protection, anyone can send requests and vandalize the database.
@MehdiB. you are getting a little ahead of me. Before I decide how I need to decide if.
and I was all excited that my API was finished yesterday and I realized I am missing two key features.
so it is not near finished yet.
I only implemented GET requests. Those aren't very useful without POST or PUT.
 
@MehdiB. yes XD
 
6:48 PM
Congrats! :D
 
Thank you a lot!
 
don't mention it
 
Now I have another problem
In eclipse I use File file = new File("blabla.json"); to get the file, right?
In Android Studio it doesn't work
I mean, it doesn't find the file
 
you're dealing with 2 different file systems
 
yes
 
6:50 PM
1- in eclipse, you're dealing with the OS's, such as C:\\...\file.json
 
(They are both imported in the project)
 
where is your file on your Android project? Assets?
 
RAW
 
what I meant was, where is your file.json stored? on which directory of your project
 
isn't raw a directory?
 
6:55 PM
hmm, no idea, never seen a raw directory on an android project structure
 
so, where do I have to put it?
 
/app/src/main/assets/
 
raw is a directory
 
@Curio The directory structure in your project exists only on your desktop development machine. Those folders do not exist on the device where you install your app.
yes, raw is a directory on the dev machine not on the device.
 
Warren - where is it located?
 
6:58 PM
afaik raw gets precompiled into the project as any other resource too. Assets not (if I am not mistaken)
 
It is in app/src/main/raw/
 
fine, in assets works, many thanks
 
isn't raw even in res?
 
oh...yah, it probably is
 
yes
 
7:00 PM
that's what I get for answering off the cuff rather than checking the docs to confirm
 
> Arbitrary files to save in their raw form. To open these resources with a raw InputStream, call Resources.openRawResource() with the resource ID, which is R.raw.filename.

However, if you need access to original file names and file hierarchy, you might consider saving some resources in the assets/ directory (instead of res/raw/). Files in assets/ are not given a resource ID, so you can read them only using AssetManager.
 
Today I learnt something, Thanks :D
 
as raw is part of R class -> res folder it is
 
bbct.codeapprentice.info yay! https works now, too
 
get a 404 :D
 
7:04 PM
that's his way of welcoming his first visitors :D
 
> I am not here, please continue your journey. There is nothing to see. Hush Hush go!
 
@WarrenFaith with a google logo...which means it is redirected to google's servers.
I don't have the API up yet. That will probably be later this week.
 
I figured that though I thought you would provide at least a hello world html file
 
yah...didn't get that far yet
 
I mean what a programmer are you for not providing a hello world to your visitors?!
 
7:07 PM
Here's my hello world page: clever-circlet-183716.appspot.com
I didn't give that one a custom domain name.
Although I could...something like hello.codeapprentice.info
 
maybe later...need food
which means leaving my apartment cuz all the food is gone
 
@Code-Apprentice is it user based or is this for everybody?
because if it's just user based then you shouldn't care whether a user pollutes his/her db
 
7:30 PM
@Ahmad The initial data is not user based.
For example, I am collecting all player and team names from all users in order to provide more autocomplete options.
@RaghavSood If I host two subdomains on the same server, can I just create a CNAME record for one of the subdomains rather than an A record for each subdomain?
 
warren yes it is
 
@Ahmad Great. College makes me happy. Class don't. But people and clubs and stuff do :)
Also ChatSE is almost ready for an initial release
 
7:47 PM
@TristanWiley what classes are you in?
 
CSE intro classes, a seminar, intro to macroeconomics, and Calculus 1
 
yah, those don't sound fun. I took a macro econ class that I pretty much just slept through. I find economics very interesting, but the class was boring af.
I enjoyed my calc classes, though...most of my math classes even.
What's the seminar?
 
@TristanWiley nice! and yah college is tough but we gotta get through that ;-;
@Code-Apprentice hmm maybe you can make them subject to approval
and store what user they're coming from so if a user is spanning too much you can just invalidate all their data
 
nice tristan college is fun
 
@Ahmad interesting idea...how do you imagine the approval process will work? Manually?
 
7:55 PM
 
any good sci-fi tv show to watch?
 
8:19 PM
firefly
 
@Code-Apprentice "How the Internet Works"
 
Thanks, Warren!
 
8:37 PM
@TristanWiley have you learned anything in it? Whay duo you do for the seminar? Just listen to lectures?
 
9:23 PM
@Code-Apprentice Yeah, and some activities.
 
9:57 PM
o/
 
o/
 
 
1 hour later…
11:07 PM
When we kicked off this little weekend project 10 years ago, we had no idea so many of you would trust us with yours. Thank you! https://t.co/6nMsST0Vwo
 
11:22 PM
Google app engine free quota is enough to run small projects on, but some apis or features require a billing account
 
AndroidSDK docs > Android Studio
this came as a surprise I must admit
 
@MehdiB. firefly was canceled after 1 season I believe, just a heads up if you don't like unfinished business
 
@TimCastelijns thanks...glad I caught that just now. For future reference, feel free to ping me, especially when responding to messages that are more than a few minutes old.
 
I was going to, but saw you online just now
 
@AdamMc331 Haha, you saw my tweet to Donald.
Did you see the guy that tweeted (satirically) about all the lies told by #FakeNews?
 
11:41 PM
No I don't think I saw that one lol
 
It was a good read
opening a .jpg file fires up Wine Internet Explorer /facepalm
IE is one of the many reasons I don't do Windows
 
oh...it was a PNG file...that makes it all right
I prefer while (noSuccess && !dead) rather than the if...break.
 
ugh
 
still, I like the message
President Macron's dog interrupted a meeting by peeing in the fireplace. And a local tv station got it on camera.
So priceless
 
00:00 - 16:0016:00 - 00:00

« first day (2563 days earlier)      last day (2400 days later) »