DEV Community

loading...
Kamal Mustafa profile picture

Kamal Mustafa

Python/Django Developer at GetOTP (otp.dev), fast and simple to integrate OTP API with ready made UI

Location Malaysia Joined Joined on  Personal website https://otp.dev twitter website

Education

B.Sc IT

Work

CTO at Xoxzo Inc

All 116 comments

Firefox and Chrome resolve any localhost domain (*.localhost) to loopback address

Did some more digging (git blame) and turned out this was add...

You don't really need a virtualenv

Hi thanks for the work on pdm. I should really check it now ;...

Turbolinks is dead, long live Turbo ⚡

So what I understand is that I only need to return response w...

Turbolinks is dead, long live Turbo ⚡

Is it possible to change the target to other elements than &l...

Nasihat kepada graduan Sains Komputer/IT

github.com/ossu/computer-science

How do you 'Save for later'?

Or snooze forever.

DevOps is a culture, not a role

As a Dev, you should kn...

Easy Makefile self-documentation

This is gold!

pipm: pip install to local-packages and pip run

A couple of tools seem to surface recently that implement PEP...

DevOps is a culture, not a role

4 devops anti-pattern. techwell.com/techwell-insights/201...

Explain Deno Like I'm Five

This seem to be solved with import map but for now it still u...

Explain Deno Like I'm Five

One problem with using url for importing package is that it m...

What developers mean when they say "API"

If I have following python module named user.py:- def lis...

Python: Compile standalone executable with nuitka

I've just bumped into this old HN discussion and someone po...

Python: Compile standalone executable with nuitka

Have you checked this? nuitka.net/doc/user-manual.html#wi....

Small Alpine Linux containers with Java

For adding more modules:- RUN ["/opt/jdk/jdk-14/bin/jlink...

A Trick to Make your Telegram Bot Private

tgcli script has /chat_id command to show chat_id of the gr...

Disable pip Outside of Virtual Environments

Unfortunately it doesn't seem to go anywhere. Discussion on...

Disable pip Outside of Virtual Environments

Wow, I don't know PEP582 exists. Few days ago I also was ti...

Python: Compile standalone executable with nuitka

A review on 3 other tools - pyinstaller, cython and pyoxidi...

Need Laptop Recommendations for Linux

Ideapad S145 work fine on both ubuntu 19.04 and fedora 30, ...

mypy: A Quick Look into Static Type Checking in Python

instagram-engineering.com/types-fo...

mypy: A Quick Look into Static Type Checking in Python

Another write-up from dropbox. blogs.dropbox.com/tech/2019...

Django: Migrate --fake-initial gotchas

By "models" here do you mean "table" and not the model clas...

DevOps is a culture, not a role

Insightful presentation from Microsoft on their DevOps tran...

DEV Went Open Source One Year Ago Today, And We Have So Much More Planned!

Another comparable community to dev.to I can find is hashno...

I created DEV and have other positive qualities, ask me anything!

The other day, I saw someone posted a link of site devtoman...

Where to put the build and deploy scripts?

We currently using no. 2 but there's plan to move into 3. B...

DevOps is a culture, not a role

opensource.com/article/19/7/devops...

Editing images in Linux

Well, learning gimp has been on my todo lists since 20 years ...

Editing images in Linux

Right. A friend pointed to me photopea.com/ after I shared th...

mypy: A Quick Look into Static Type Checking in Python

linuxjournal.com/content/pythons-m...

Why you might need to type check your code

This could be related - dev.to/k4ml/i-started-to-like-mypy....

Nasihat kepada graduan Sains Komputer/IT

How should I go about setting myself up for my "dream job" ...

What do dev.to-ers call themselves collectively?

Devtonian?

How to Manage Programmers Without Losing Your Damn Mind

Hi, nice writing. The problems you described are spot on al...

First step in learning new programming language

Initially reading Pragmatic Thinking and Learning by Andy H...

Django: Moving away from project vs app dichotomy

Related discussions on HN - news.ycombinator.com/item?id=19...

mypy: A Quick Look into Static Type Checking in Python

Could be related - pydantic-docs.helpmanual.io/.

AWS ALB routing based on HTTP method

Advance requests routing finally come in ALB - aws.amazon.c...

Bothering people over [communication tool]

We have 15 minutes rule for this - blog.xoxzo.com/2017/06/0...

PHP needs its own ES6

Haxe has been supporting php for quite some time.

How would you convince your company to implement unit tests?

Unit tests might be hard to sell. Even at my current compan...

Snippet or not indexed posts

I basically came with this idea after bumping into my old n...

How is a program on linux executed?

Thanks. I'm not a native speaker :)

A few pip tips

I'd also suggest using python -mpip instead. That one less ...

Nashorn JavaScript engine

medium.com/graalvm/graalvm-in-2018...

A Minimal Chromebook Setup for Development & Hacking

Not having password-less ssh really a bummer. I'm consideri...

Communication is hard: Some thoughts on one aspect of remote working, after 18 months

We also have this as rule #1 in our internal guideline - Al...

Spectrum Joins GitHub

Written my thoughts about spectrum on spectrum ;) spectrum...

Python urldecode on command line

Thanks for the tips!

Poor man's ngrok with tcp proxy and ssh reverse tunnel

Alternative to ngrok but simply use ssh as client. Brillian...

The Happy World of ngrok

In case you don't want to use a third party services, you c...

Some common anti non-javascript mechanism websites use

Some websites simply redirect you to other page but most I ...

Quick sed lesson

Good question. Obviously I made assumption on the time form...

Else clause for Python's for loop

It's no intuitive to me. I need to check documentation agai...

Explain containers like I'm five

why w'd you use it while you can run your apps on a Virtua...

5 Salary Negotiation Rules for Software Developers. Get +20% On Top of Your Market Rate

Shouldn't it much easier for the employer to state the range ...

10 Tech Movies to Get You Coding Again

Close to Her is Operator (2016) and I like it more compared...

Essential git commands every developer should know

To see history of changes at specific line:- git blame -...

Personal Update: Back At It

I love this style of writing. Punching somehow unrelated hi...

Why I'm automatically deleting my old tweets using AWS Lambda

You can download all your tweets and search for it locally.

Remote Jobs: How-to, and the Downsides

Salary will depend on your location, and sometimes that wha...

Remote Jobs: How-to, and the Downsides

Partly, yes. On the third year I think I started having som...

Remote Jobs: How-to, and the Downsides

This is my 8th year of working remotely. If there's one wis...

I'm planning to ditch my MacBook and move away from laptop computing

As a remote team, we have remote dev server in aws. I mostl...

The Incredible Hulk(ython): Making Python Strong(ly Typed)

I'd really want to start using type checking in a large cod...

Poor man's ngrok with tcp proxy and ssh reverse tunnel

Hi, thanks for the tips. Haven't try this but for binding t...

What Are Some Good Starting Points to Learn What I Need to Write My Own Toy Language?

I collected some links here metak4ml.blogspot.com/2017/06/h...

dev.to is now open source

Congratulation guys ! Now looking into all the steps requi...

Why I used Docker?

Hi, thanks for sharing. It's not me actually dockerized vim...

The Introvert's Guide to Tech Conferences

Wear a conversation piece. This is spot on. Since I'd us...

Software team as a jazz band

Great ! Do share your experience how it really relate to ja...

mypy: A Quick Look into Static Type Checking in Python

Dropbox releases PyAnnotate -- auto-generate type annotatio...

mypy: A Quick Look into Static Type Checking in Python

bernat.tech/the-state-of-type-hint...

Some common anti non-javascript mechanism websites use

I mentioned at the end that I still have separate profile w...

How do you gain a deep understanding of your code?

The problem with reading is people stop when they reach a p...

what are microservices and why should we use them?

This is my notes on why you should not use microservices (y...

How can we stop age discrimination in tech?

Glad to say we have 50+ developer in our team. I still rememb...

What image-hosting sites do you use?

A simple website to upload images which then store it on S3...

How to pick up a new technology in minimal time?

Shallow dive, this is the approach I took most of the time ...

What is a system?

Definitely the word can't stand on it's own and need a cont...

What is the best comment service for a hosted website?

Aaah, look like they have stopped the free plan, although e...

What is the best comment service for a hosted website?

Other than disqus, one that I know is muut.com/. I never us...

Can't update my settings

Aaah, great. It work now !

Changelog: Adjustments to post page design

Right. I'm more of "left" person too :)

Working remotely as a junior developer

Firstly, I don't really recommend a remote job as a start i...

Virtual Environments in Python

You have to always manually activate / deactivate your vir...

Why I'm automatically deleting my old tweets using AWS Lambda

Interesting. I have archivist mindset and obsess about cont...

Django: Fixing race condition when queuing with on_commit hook

Hmm, that make sense. I'll look back into our code and see ...

Building an app with Stellar and IPFS

Now, let envision for dat://dev.to/ too ;)

Building an app with Stellar and IPFS

You can publish your github pages to dat - handbook.protozo...

Building an app with Stellar and IPFS

@jesalg there's patchfoo where you can use normal browser ...

Building an app with Stellar and IPFS

there are 3 things to follow in this space - ipfs, dat (wit...

Building an app with Stellar and IPFS

Using blockchain for forum like application seem like overk...

The Super-Brief History of JavaScript Frameworks For Those Somewhat Interested

Also related - medium.com/dailyjs/the-deepest-rea...

Python as a daemon?

So performance is a concern for you ? Definitely python, de...

What exactly bitcoin miner does ?

Hi Damien. Thanks for chipping in, but that Type 1 explanat...

Can flutter be an alternative to react-native ?

FTR - dev.to/annetheagile/flutterio-is-r....

How would you go about providing minimal-latency web experience for a single local event?

Since you mentioned p2p, 2 things pop out of my mind:- Sc...

Pipfile and Pipenv : the future of Python dependencies management

Look like the PR has been merged, I'll give it another try....

Pipfile and Pipenv : the future of Python dependencies management

Last I check pipenv, it still have issue with packages in p...

How I (Finally) Built an App in Elm

I try to learn Elm too in the past. Look like after a year,...

Golang - Getting Started

Shouldn't you set GOPATH as well ? I made this year resolu...

How do you learn a new programming language?

I wrote about this before - dev.to/k4ml/first-step-in-learn...

Could syntax check for your code be taken as distinct step?

We have flake8 script running as part of bitbucket pipeline...

Contentful and Netlify: The Dynamic Duo of Static Site Management

Contentful look interesting. I haven't thought about buildi...

Reality of programmer's English skill in non-English-speaking countries?

Haha, love this. I would like to see more quality software ...

The Quickest Way to Run Python in Docker

For this simple app you might want to check how much disk spa...

Django Chat Room App

I did play around with django channels but that was 2 years...

How does your team handle 'on call' evening/weekend hours?

We have just started our on-call shift for about 2 weeks ? ...

Welcome Thread - v1

I want to write on sci-fi and fantasy in Malay (my mother t...

Welcome Thread - v1

Hi everyone. I'm currently doing web development with Pytho...

loading...