Posts

Showing posts from June, 2015

Featured Post

Running four AI models fully offline on a Nextion ONX3248G035

Image
A while back I unboxed a Nextion touchscreen dev board and vibe-coded a WiFi auditor onto it . That board has been sitting on my desk ever since, and one question kept nagging: this thing has 8 MB of PSRAM and a dual-core ESP32-S3. Could it run an actual language model? Not talk to one over WiFi — run one. Turns out: yes. Four of them, in fact. No internet, no server, no phone, no PC. Everything in this video is generated by the chip on the board. All four models, on the board, offline. Loading a model from the SD card, then generating. What is actually running The board boots into a menu. Tap a model, it loads and starts generating. All of these were trained from scratch on an M2 Max in well under an hour. Malayalam English Arithmetic Icons Parameters 7.6M 7.6M 1.0M 577K Flash 3.95 MB 3.95 MB 0.41 MB 0.58 MB Speed 13.0 tok/s 14.9 tok/s 20.7 tok/s 3.4 s/image First things first: this is not a Nextion HMI The ONX3248G035 is sold under Nextion branding, and the name is...

Qualys SSL labs API - A MultiThreaded python script to scan large number of servers and produce neat results

Hi Security enthusiast, So if you were following closely on recent developments regarding SSL/TLS security, you might have heard that Qualys SSL labs released an API to automate the testing of internet hosted applications with their awesome hosted testing solution. If you have not heard about it here is the location to their server testing page -  https://www.ssllabs.com/ssltest/ And their API documentation here -  https://github.com/ssllabs/ssllabs-scan/blob/master/ssllabs-api-docs.md So now that the API is released you can automate testing of any number of servers with any language that is able to talk with qualys server via HTTP protocol. My company wanted to test all of our servers with SSL labs, so i thought why can't i automate it with python or something. So here it is, i made a multithreaded python script to test a large number of servers in one go and get results in neat format that my management wanted :-) The script is intended for python 2.7 Yo...

Shooting awesome timelapse using raspberry pi

Image
Hi folks, So if you have a raspberry pi and a camera module one of the cool things that you can do is to make a rig that does time-lapse videos. So i just did that, believe me its awesome. Now you all know from my previous posts that i do have a 3d printer, so i printed a neat little case for my raspberry pi and a sweet little camera mount. And i bought a custom camera module for raspberry pi from uctronics.com , they have a detachable lens and its kinda good quality and cheap too. Thanks uctronics :) By the way, you can get the STL files for the Pi case and uctronics camera modules from the below links. Have fun print them :) Pi case -  http://www.thingiverse.com/thing:423216 Camera module case and mount -  http://www.thingiverse.com/thing:572117 Here are some pics of the printed case and camera mount pi uctronics camera Then i have used a xiaomi 5200 mah power-bank which kinda powers my pi with WiFi dongle, camera and thumb-drive for about a d...

Beginning of my 3d printing saga - First mistake

Image
Hi Readers, So it begins here like i have told in the preface page  i finally decided to buy a kit. Having decided that i began searching to find an Indian seller who sells the kit, Indian because i was afraid of any customs tax if i order it from ebay.com or aliexpress.com. After lot of searching i finally found a seller who sells the kit for INR 25k but was it a mistake? You tell me :) Update 25th July 2015 After writing this blog many people pinged me in Facebook and asked me to reveal the name of the seller. So far i thought, what is done is done, why should i go behind them? But then i saw a post on one of the 3D printing group in Facebook where someone is trashing the seller for posting an advertisement. To my surprise the guy pointed out my blog and kept on accusing the seller for bad stuff and fraud. Somehow my name got dragged into all that, then seller addressed a post to me claiming that he did the right thing. I am pretty upset with his mindset and i think its ti...