Welcome to the third level where we solve Python Challenges from Codr’s Ranked mode. The goal is to reach the Genius level, so join me at Codr!
I was reading an interesting post on Reddit on product psychology, and it reminded me of the Goal Gradient Effect.
This effect tells us that:
The author also gave a pretty good example: “Profile Strength” progress bar on LinkedIn makes customers more likely to complete their profile.
This got me thinking of my own project Codr — an edu coding platform. It was missing a stimuli to motivate users to solve more challenges and climb the ranks. A simple progress indicator is actually very ideal in such a case, so that’s what I quickly added. …
Welcome to the second level where we solve Python Challenges from Codr’s Ranked mode. The goal is to reach the Genius level, so join me at Codr!
We start off with quite hard challenge. Given the function name cross
it seems to be the doing a cross product of two arrays. We have to fix two bugs; the first droplet bug is an easy guess, we can use the mathematical symmetry to confidently say it should be variable a
because the calculations all are of fashion a * b
.
The second rocket bug has to be a number, this is not something we can easily guess unless we calculate…
In this post I will solve and explain several Python code challenges from Codr’s Ranked mode. The goal is to reach the Genius level, so join me at Codr!
Instead of posting one challenge per day, I will instead post several in one.
Bootstrap your idea, mvp, prototype, app or website faster than before. SPA is a super lightweight framework for building Single Page Applications in pure JavaScript.
A lot of developers dislike using complex, lumpy and slow dev frameworks like React, Vue and Angular.
Why we bother developing Single Page Apps? Speed! It’s much better for user experience and easier to extend with advanced features such as selective caching and offline availability.
One of the main reasons for dev frameworks like React/Vue/Angular is that historically JS was not very modular. …
I am happy to announce that Python has been added to Codr.
You can switch between JavaScript and Python editions by clicking the link on the bottom of Codr: https://nevolin.be/codr/
Codr is a mobile friendly coding app. Learn how to read, understand and write code. Participate in coding competitions and climb the leaderboards. A great exercise for complete beginners and challenging to experts. Codr can be installed or used in the browser.
We bring simpler coding exercises to kids, students and professionals. Writing code is monkey business, instead you solve challenges in multiple choice style. …
Lately I’ve stumbled upon an interesting engineering problem that may be useful to some of you.
I the creator and owner of two Discord bots that utilize speech recognition technology to perform certain actions. There are especially useful for hearing impaired and deaf people, to still communicate with their friends using Discord.
The first bot is just a framework that transcribes speech to text and posts it in the channel: https://github.com/healzer/DiscordEarsBot
The second bot is a music player that listens to voice commands to play songs, playlists, pause, skip, shuffle, etc.: https://github.com/healzer/DiscordSpeechBot
The problem I recently faced was due to audio conversion. Each user that speaks in Discord is treated as a separate stream. And this audio stream is raw binary data (signed 16 bit, 48khz, stereo/two-channel) also known as PCM data. But the free Speech-to-Text service that we use only accepts mono (single) channel audio data. …
PapaReddit is an easy and minimalistic Reddit comments scraper, analyzer and reader that runs on any device in the browser. A great research tool and easy to use on a daily basis.
WebOCR is a minimalistic app for devices with a camera. Recognize and copy text from photos made on your mobile device or any other device with camera access.
Demo: https://nevolin.be/webocr/
Voicer is a solution that transcribes speech to text and works in your browser (Google Chrome only). Designed for hearing impaired people to communicate with their friends more easily. Or follow an audio conversation without any sound.
Demo: https://nevolin.be/voicer/?room=medium
About