« first day (1693 days earlier)      last day (1166 days later) » 

Tom
6:59 PM
Hi all! If there is a code like:
std::string query[2];
query[0] = "tag1.tag2~name";
query[1] = "tag1~name";

Then, why I can't write query[0].find(...) ?
 
@why can't you write that?
seems fine to me
 
Tom
7:29 PM
@PeterT I was wrong. I can write it, but somewhy CLion does not give me suggestions after typing query[0]. That is why I thought there could be an other problem.
 
 
1 hour later…
8:38 PM
can anyone explain what firebase is?
ive done some googling and dont get it
 
it's just some company google bought that is a collection of cloud services, mainly to support mobile apps
but also usable for web-apps
it's a database, push notification service, static asset serving etc.
 
but whats the difference that and hosting your app in the cloud?
 
friendly web-interface and everything integrated into one thing
 
what does it mean that it doesnt have a backend?
 
you can just host your own database, but you will probably still need something like firebase for push notifications
I think they mean you don't need to host your own backend
 
8:42 PM
but you dont have to do that with cloud
 
they themselves still host their stuff in the google cloud
 
but there is still a backend
 
It's about having to write your own custom backend or just use their "customzibale service" thing
 
hmmmm
not sure
 
like user-registration, management, access control, etc.
 
8:44 PM
right
 
if you don't need some very special thing you can avoid writing your own
 
so you have a frontend(web/mobile) which will send messages to the backend?
but they are saying with firebase you dont need a backend
is it just a big monolith hosted in some folder?
 
sure, but with firebase the idea is mostly that you don't put much logic in the backend. You mostly store user data there but have all the logic in your app
 
ok
so no webservices?
 
you can most of the firebase stuff with webapps as well, if that's what you mean?
 
8:47 PM
im not sure how these large web/mobile programs are architected
 
this obviously doesn't work for all types of apps, if you want to build something like facebook or instagram it's not a good idea to use anything from firebase, except for maybe notifications
 
whats in between firebase and a facebook app?
ec2?
 
facebook hosts their own servers
 
exactly
but netflix doesnt
they do ec2
i thought you needed a backend just for computation and dbs
 
right, you can use whatever you want aws, google cloud stuff, or Azure
 
8:49 PM
whats the difference between that and firebase?
 
firebase ist just a nice interface and some services on top of google cloud
 
yes its an abstraction of something
but i dont know what
will amazon, google evenutlaly eat all backend dev jobs?
i thought all apps sent data through an api to dbs and logic hosted not on the client
 
I doubt they'll eat the backend jobs. There's no way to always have the right service for all products always available
whether the backend dev writes more glue code between other services, or most stuff will remain just custom is another question
 
 
1 hour later…
10:07 PM
Hello room. I have a question if any of you can help me. I have an std::fstream object that I use to append to the end of a file. I then need to return to the beginning of the file and read the contents so I can copy the entire file. I can seem to move the file pointer though.
I have tried to use both seekg and seekp, with and without .clear()
any idea what I might be doing wrong?
So apparently if you open the fstream in append mode it is only in write mode and you need to explicitly open as in as well.
Have a good day
quack
 

« first day (1693 days earlier)      last day (1166 days later) »