I’m constantly inspired by the fast-paced world of technology and love diving into new tools and frameworks that push the boundaries of what’s possible. Whether I’m learning something new or building creative solutions, I’m passionate about bringing fresh ideas to life and sharing what I discover with others. Let’s build something amazing together! 🚀
I'm an Early 🐤
🌞 Morning 3917 commits ██████░░░░░░░░░░░░░░░░░░░ 23.46 %
🌆 Daytime 4772 commits ███████░░░░░░░░░░░░░░░░░░ 28.59 %
🌃 Evening 5203 commits ████████░░░░░░░░░░░░░░░░░ 31.17 %
🌙 Night 2801 commits ████░░░░░░░░░░░░░░░░░░░░░ 16.78 %
📅 I'm Most Productive on Wednesday
Monday 2221 commits ███░░░░░░░░░░░░░░░░░░░░░░ 13.30 %
Tuesday 2227 commits ███░░░░░░░░░░░░░░░░░░░░░░ 13.34 %
Wednesday 2706 commits ████░░░░░░░░░░░░░░░░░░░░░ 16.21 %
Thursday 2408 commits ████░░░░░░░░░░░░░░░░░░░░░ 14.43 %
Friday 2638 commits ████░░░░░░░░░░░░░░░░░░░░░ 15.80 %
Saturday 2437 commits ████░░░░░░░░░░░░░░░░░░░░░ 14.60 %
Sunday 2056 commits ███░░░░░░░░░░░░░░░░░░░░░░ 12.32 %
📊 This Week I Spent My Time On
💬 Programming Languages:
TypeScript 25 hrs 45 mins ███████████████░░░░░░░░░░ 60.48 %
PHP 7 hrs 45 mins █████░░░░░░░░░░░░░░░░░░░░ 18.22 %
HTML 2 hrs 53 mins ██░░░░░░░░░░░░░░░░░░░░░░░ 06.79 %
GraphQL 1 hr 22 mins █░░░░░░░░░░░░░░░░░░░░░░░░ 03.22 %
JSON 1 hr 10 mins █░░░░░░░░░░░░░░░░░░░░░░░░ 02.74 %
🔥 Editors:
Zed 42 hrs 36 mins █████████████████████████ 100.00 %
💻 Operating System:
Linux 42 hrs 36 mins █████████████████████████ 100.00 %
I Mostly Code in JavaScript
JavaScript 32 repos █████░░░░░░░░░░░░░░░░░░░░ 21.92 %
TypeScript 20 repos ███░░░░░░░░░░░░░░░░░░░░░░ 13.70 %
HTML 17 repos ███░░░░░░░░░░░░░░░░░░░░░░ 11.64 %
Python 4 repos █░░░░░░░░░░░░░░░░░░░░░░░░ 02.74 %
Rust 3 repos █░░░░░░░░░░░░░░░░░░░░░░░░ 02.05 %
// Self-overwriting function: first call does expensive setup; later calls return the cached result instantly.
```js
let getConfig = function() {
console.log('Heavy setup running once...');
const cfg = computeExpensiveConfig();
// Overwrite with a fast path that closes over the cached config
getConfig = () => cfg;
return cfg;
};
function computeExpensiveConfig() {
// Simulate heavy work
const start = Date.now();
while (Date.now() - start < 300) {}
return Object.freeze({ api: '/v1', retries: 3 });
}
// Demo: first call is slow, second call is fast
console.time('first');
console.log(getConfig());
console.timeEnd('first');
console.time('second');
console.log(getConfig());
console.timeEnd('second');### Challenge
JavaScript challenge: Build a tiny arithmetic expression evaluator without using eval or new Function. Support +, -, *, /, parentheses, and whitespace (e.g., '(2 + 3) * 4 / 5'). Write parse(expression: string): number using either a shunting-yard algorithm or a recursive-descent parser. Include tests for malformed input and operator precedence.
<!--END_SECTION:footer-->
- Submit a PR to [answer](https://github.com/mrepol742/challenge/fork).
### Updates
### DevPulse
Monitor your coding activity, create custom leaderboards, and compete with your team or the community.
DevPulse brings WakaTime stats into a sleek, collaborative leaderboard experience.
**Website:** https://devpulse-waka.vercel.app/
---
### Floating Console Extension
A browser extension that provides a floating console for developers to easily access logs while browsing the web.
**Website:** https://melvinjonesrepol.com/floating-console-extension
---
### Deploy Your Own Shortlink App
Get your link. Shorteeeeeen!
**Website:** https://go.melvinjonesrepol.com/
### Need help?
If you have an idea, let's make that idea come true!
From development, production to deployment. We can do that.
[Pricing](https://melvinjonesrepol.com/pricing) - [Contact me](https://melvinjonesrepol.com/contact-me)
