Creating Custom QR Code (Snapchat, Messenger) - customization

A Chinese social app "Wechat" created a custom qr Code and that idea brought to west by "snapchat" and now Facebook is also utilizing it. I Know there are guidelines to create a QR Code and these guys customized it based on there needs. I was looking for help in the same path to create my own Customized QR Codes.
Solution Required: Snapchat, Messenger style barcode/qrcode reader and writer.
Please share your thoughts or if there is any opensource script.

I build Facebook like QR code scaner, but works 10-20 times faster. In repo iOS demo project and MacOS development project.
https://github.com/AlexandrGraschenkov/QRCodes

To start with you could look at the specifications of a QR code:
https://en.wikipedia.org/wiki/QR_code
https://archive.codeplex.com/?p=qrcodenet
There is an implementation by Google in both PHP and Java: https://github.com/zxing/zxing/
This is all I can do for you now, if you do not provide a specific question. I can not do the implementation for you. There are several libraries out there that you could purchase a license for and then use that as your generator, but I am guessing that is not what you want.
For more information on how to use ZXing, you can just search for the tag zxing on this website and browse through the questions.
Hope that helps!

Related

Templated PDF output with a front end editor view

Looking at various plugins, libraries to create PDF output. I'm trying to build out a application that allows admin user to upload/create their own template (complex print layouts) and a end user to create a PDF from that template with some rich editing tools. The original layouts are based in indesign/pdf. The final high res output is to printers / pdf download.
Basically a web to print project.
I'm trying to figure out to go with a commercial plugin like
https://customerscanvas.com
printui.com
https://www.chili-publish.com/chili-publisher
layoutbuddy.com
Or can someone make some recommendations or other similar projects
thanks
Really depends on your budget, will to keep hands on stuff, etc. Most of the tools you are quoting are great. Chili Publish is great, Pressero too. I don't know PrintUI myself but the owner and it's a serious enough sign of quality to me. All of those are turn-key solutions. Once that said, if you want to build your own tool, you can have a look at PDFChip but all the wrapping development belongs to you.
There are plenty others but those are the one i can talk about.

Integrating Google maps with C++ Program

I am making an artificial intelligence based shortest distance finder between two points in c++ language. My coding for that is complete and working fine. Now I want to integrate it with Google Maps Api. I want to show the shortest distance graphically on google maps exactly same as google maps show directions. I am stuck and can't find any help. I know I have to do socket programming for this. Please guide me with proper steps and coding snippets. Thanks in advance!
Check out the official api :
https://cloud.google.com/maps-platform/
For interaction with the http api you could use a client such as curl (http://curl.haxx.se/) or maybe boost asio if your are using boost. see this question at SO: Boost.ASIO-based HTTP client library (like libcurl)
There is a c++ client/ helper available. Disclosure I have not tried it yet.
https://google.github.io/google-api-cpp-client/latest/
Many links seem to be broken (The samples directory link). So I'm not sure how well supported it is but it looks like it might be helpful.
The description page is at :
https://google.github.io/google-api-cpp-client/latest/start/installation.html
IF that fails there are samples in other languages that you may have to translate by hand. (better than nothing)
https://developers.google.com/api-client-library/

How to use Google Blink/Webkit to render HTML code

Sorry if the title somewhat ambiguous.
I'm buliding an app that recieve an URL then return the final HTML code (and save it for caching), after Ajax and other js feature executed (something like Phantomjs).
My language can call C++ code, so I think it would be nice if I can buid and use Blink/Webkit libary directly.
The issue is both Blink/Webkit document is too big.
UPDATE 1: Which API (Blink has many APIlayer) or a particular class I need to look at?
Do you know any example or tutorial I should look at?
Or any alternative simpler libary?
Thanks
Finally Chromium project have headless API in development with very good example which can be build using ninja, more information in their project at https://chromium.googlesource.com/chromium/src/+/master/headless/
A video from BlinkOn https://www.youtube.com/watch?v=GivjumRiZ8c&t=838s

Trying to create a search engine using Ember.JS

Hello I am new to developing with Ember.JS and I am having trouble understanding how to develop a query driven search engine with the library.
Could anyone either point me to an example of how to do this or provide some code I could use in my open source project I am developing with the Ember platform?
I would like the user to be able to type in a query in a textbox and then have the results display.
Thank You,
Eric
For text-searching your own site, or a full blown search engine?
If the former, Ember Sherpa has code for an example app here: http://embersherpa.com/articles/search-example/.
There's also an answer with a JSFiddle you can play around with for someone asking a similar question here: Build search box searching with Ember.js

Google App Engine + JSON based service + Authentication

I am new to GAE (cloud based development in general actually) and I am looking for some advice.
I am looking to use GAE only as a service (REST + JSON) with my client-side in Sproutcore. I am looking to find a light-weight service-based framework that will provide me with strong security (authentication, protection against XSS etc).
Java or Python is fine, the priority being speed and security.
Does anybody have any ideas on this? Any links to relevant information. I am going through an information overload phase. Any help in this regard would be much appreciated!
Thank you.
How about tipfy, a open source lightweight python-based framework made for GAE?
Its core can be enhanced through usage of extensions.
Combining some of those extensions
would allow you to perform auth
against different systems (Google,
Facebook, Twitter...) or against your
own baked one. An example of this can
be found here, source code is
available here.
A really simple sample of JSON
rendering is available here.
Of course, other python frameworks run on top of AppEngine. You'll find in the AppEngine-Python google group, a thread discussing pros/cons of most of them.
Considering speed, those links may shed some light on the subject
Choosing Java vs Python on Google App Engine
Google AppEngine Language Performance Comparison Followup
proceed with caution if you want to use a framework. since GAE is still evolving, frameworks tend to break. i have tried both tipfy and django on large projects.
http://blog.bygsoft.com/2011/04/27/why-we-should-avoid-tipfy-a-gae-framework/
in many places tipfy tends to just write meaningless (read no value add) python wrappers around what the core gae frameworks provide just causing code bloat.
last i checked, the map reduce package did not work well with tipfy. sorry, i may sound very biased but my experience with tipfy has been average.
So looks like I can't comment on your answer but the link was very helpful! Looks very much like something I am looking for:
Server-side sessions
Custom user authentication
JSON based service with no View layer
Fast and secure
Any other python framework that you might possibly know of along the lines of Tipfy? Just so I have something to compare with?
Does anybody know of any Java libraries along the same lines of Tipfy?
Thanks again for the link!
Edit 1:
Hmm...I have no idea how I ended up with 2 accounts. I'll try to iron it out..
Your links were very helpful..Thanks!
I am inching towards Tipfy at this point, but I think I am going to wait a little longer on this thread to see if I get some more opinions..
Thanks again...