DEV Community

Mihail Malo profile picture

Mihail Malo

404 bio not found

Joined Joined onΒ  github website twitter website

Last 250 comments

What are your specialties??

Shrimp Fried Rice

The Powerful CSS not Selector

I gathered πŸ˜‚

Do you want a decentralized web with free speech support?

No, but mesh networking or at least decentralized content del...

Do you want a decentralized web with free speech support?

How does a blockchain keep it safe? Safe, in conventional spe...

Do you want a decentralized web with free speech support?

I meant technology does get adopted based on rhetoric alone, ...

Do you want a decentralized web with free speech support?

Dear @booleanhunter Seeing the length of your comment, I wa...

Do you want a decentralized web with free speech support?

Unfortunately, it does 🐴

Do you want a decentralized web with free speech support?

What makes you think I haven't seen the casualties of the war...

The Powerful CSS not Selector

Prompted by your comment, I wanted a reminder of what SCSS vs...

My first Web3 page with IPFS

So a bunch of paid centralized services? :/

The Powerful CSS not Selector

You have to admit that .button { border: none; padding...

Do you want a decentralized web with free speech support?

I believe it is crucial, but I don't really see it happening ...

Do you want a decentralized web with free speech support?

Beyond the fact that we live in a world of Russia and China, ...

Do you want a decentralized web with free speech support?

Your "want" of having your information information the spread...

Your SSR is slow & your devtools are lying to you

Please beat offline-first ServiceWorker-cached application sh...

πŸ™…β€β™‚οΈ Stop trying to learn RxJS

How do you make a lossy iterable for late binding that keeps...

Speed up Windows for heavy development.

my PC is too noob for Linux πŸ€”

Leaving electron.js to the past.

Even if absolutely no runtime state is shared between consume...

You don't need "if"

The performance in the linked case is worse. You just weren't...

You don't need "if"

If you're so functional, just define your own Result type (or...

Oops, I Did It Again...I Made A Rust Web API And It Was Not That Difficult

I took the liberty of messing with this project. Please take ...

Oops, I Did It Again...I Made A Rust Web API And It Was Not That Difficult

Pls don't call "spawned tasks" "threads". Think of the childr...

1 line of code: How to remove all duplicates from an Array

Array.from goes through iterator protocol for Set and Map, so...

1 line of code: How to remove all duplicates from an Array

It's actually specced to preserve insertion order: developer....

A deep dive into ES6 Classes

I wish I could write like that without the performance impact.

⚰️C# in 2022 β€” Will it die?

THE DUALITY OF MAN

⚰️C# in 2022 β€” Will it die?

UnityScript (JS dialect) has been discontinued

Haskell Quicksort in JavaScript

I'm just assmad that Array.filter et al got added to the lang...

Haskell Quicksort in JavaScript

I'd love to see that too. I'd tongue-in-cheek say facebook.co...

Haskell Quicksort in JavaScript

And last but not least, see how competitive WASM is with JS, ...

Haskell Quicksort in JavaScript

I appreciate your readability concerns, but that article look...

Haskell Quicksort in JavaScript

JS and current devices are slow enough. Even methods like Arr...

Emulating "Private" Variables in JavaScript with Closures and Factory Functions

1. Uncaught SyntaxError: missing ) after argument li...

How and why you should do web development if you have ADHD

Psytrance instantly prevents me from doing intellectual labor...

Is Dev.to victim of its own success?

Not going to lie, I was hoping you'd put some personal brandi...

All the things you need to know about the GitHub Copilot !

GPT-3 can do a little bit of arithmetics by accident. There's...

Fun with Functional Programming!

A monad is... An endofunctor, T : X -> X A natural tran...

Scalable "star rating" without JS (and no SVG or image for the star)

Ah, so no dirty filth, basically. Ok, that makes sense.

Scalable "star rating" without JS (and no SVG or image for the star)

What did you mean when you said?: No hacky CSS code.

Simple Javascript Modules - Local Storage Module

I'm sorry, but this code makes no sense and is frankly confus...

DEV Pride & Alan Turing: The Father of Modern Computing

Okay, but what is dev.to's official stance on the circumstanc...

Changelog: Hidden Comments

I am like 100% certain that readers should be able to view th...

πŸ’ͺ "#ComeAtMeBro" tag suggestion and πŸ“ˆ "filter by most comments" - two quick dev.to suggestions! πŸ’‘

Open to criticism by default, closed to criticism explicitly ...

πŸ’ͺ "#ComeAtMeBro" tag suggestion and πŸ“ˆ "filter by most comments" - two quick dev.to suggestions! πŸ’‘

#OpenToCriticism and #AllCommentsWelcome are depressing names...

crypto.randomUUID is three times faster uuid.v4

It seems the faster crypto.randomUUID is, the slower uuid.js ...

SOLID: Liskov Substitution Principle

Bruuuh inheritance is scary lmao

SOLID: Liskov Substitution Principle

But what if you want to have an account type where you can wi...

SOLID: Liskov Substitution Principle

I just don't understand what we achieve by enforcing the With...

SOLID: Liskov Substitution Principle

These abstract classes sure sound like traits/interfaces.

Code Smell 66 - Shotgun Surgery

I was on web, with clean cache. It's fine now (still gists, b...

Delete node_modules like a Pro

I recommend github.com/tbillington/kondo instead. It's fast, ...

Code Smell 66 - Shotgun Surgery

For me, right now, both gists are linked to shotgun.php. I s...

Code Smell 65 - Variables Named After Types

Well, I mean... regex is the type. I get that this code won't...

5 neat JavaScript tips

And a lot of nodejs builtins come in proper promise versions ...

5 neat JavaScript tips

const user = { name: { first: "Akash", second: "Kava" } } co...

Stop Calling them β€˜Bugs’

teleports behind you removes all asserts and logging statemen...

Stop Calling them β€˜Bugs’

Yeah, it's pretty irresponsible. But how do we rename debug b...

Stop Calling them β€˜Bugs’

Idk, just wanted to know your opinion, since you referenced i...

Stop Calling them β€˜Bugs’

Do you also support the renaming of the master git branch tha...

Why your website should work without JavaScript.

Yes, most of the stuff on this non-application purely "busine...

Why your website should work without JavaScript.

"Make your site work without JS and use JS for progressive en...

Announcing Vite 2.0

Please name a single platform where profile verification help...

Why I don't need to clean up my desktop and downloads folder in macOS

My man living his daily life in the Recycle Bin

Never make your text container a flexbox container

It was wrapped in a <p> tag. The problem is they made t...

Never make your text container a flexbox container

It semantically doesn't make sense to make a container for so...

Announcing Vite 2.0

Wait, this is literally Evan :v

YouTua - Download Videos/Playlists in your preferred Format and Quality..

How is it different from the regular youtube-dl?

Daily Challenge #312 - Describe the Function

If we're talking IEEE754-like floats, there's also NaN :v N...

Daily Challenge #312 - Describe the Function

there's only x + 0 == x - 0 (== x) x * 1 == x / 1 (== x) 2...

Daily Challenge #312 - Describe the Function

JavaScript stupidly golfed: calc_type=(a,b,c)=&...

Daily Challenge #312 - Describe the Function

Can the first two numbers be negative? fractional? +/- inf? N...

Daily Challenge #311 - Connect the Letters

Rust A brute force approach, by recursing and trea...

Daily Challenge #310 - Boolean to String Conversion

Rust 1. return an owned String: form...

Why Axios Is Awesome (and how to get started with it)

It's nice, maybe for prototyping, but just writing a small wr...

Google Firebase Good or bad?

They literally have free tiers, and then then the pricing is ...

ROT13: awful answers only

Buffer.from('06608503303207606607203207806908203207807408307...

Code Smell 53 - Explicit Iteration

What other languages do you use?

Exceptions and Streams

Please annotate your code blocks with language to enable synt...

Code Smell 53 - Explicit Iteration

You want to use of with iterators, in is for string keys of ...

Code Smell 53 - Explicit Iteration

Yeah, unless they wanted to print keys (including inherited)...

Sleep function in javaScript

I usually write it as const sleep = ms => new Promise(r...

how to resume multiple commands on one command

Wow, what an amazing error! Good job, npm developers! It tell...

how to resume multiple commands on one command

lmao

how to resume multiple commands on one command

Since you clearly have npm and this is happening in a directo...

Stickers on your laptop?

A similar topic 2 years and 2 days ago: ...

What will be the result of following code?

Bad order of answers. "3" is ambiguous. error 4 3 would...

NodeJS Non-Blocking Processing

My "bad", it's a carryover from my other, simpler, comment. T...

Quick Poll

Rust Haskell Typescript Javascript

NodeJS Non-Blocking Processing

With rescheduling when empty, consider: const {log} = cons...

NodeJS Non-Blocking Processing

Any await point yields to the eventloop, much like using setI...

How I can extract words from strings using regular expressions?

Nah, you're good. But for correct treatment of strings, such...

How I can extract words from strings using regular expressions?

What language are you using? Javascript? Are you on the NodeJ...

How I can extract words from strings using regular expressions?

One possible RegEx that creates these matches is const re ...

How I can extract words from strings using regular expressions?

I updated my post, you were just too quick to reply :D What ...

How I can extract words from strings using regular expressions?

That looks like tokenisation, except It's strange that the ke...

Setting up git+ssh+gpg on Windows

I wonder what activated this feature for me, then. Perhaps it...

Daily Challenge #309 - Coffee Customization

Not gonna lie, struct Milk { fat: f32, } Enter ...

Daily Challenge #308 - Wave Sort

Sorting is O(n log n) - O(nΒ²) depending on if you allocate ad...

Daily Challenge #308 - Wave Sort

Rust use itertools::Itertools; fn wave(nums: &a...

Daily Challenge #306 - Largest Possible Product

Rust #![feature(array_windows)] pub fn adjacent...

Daily Challenge #305 - Remove Anchors from URLs

JavaScript const remove_url_anchor = url => ...

A First Look at MarkoJS

I totally missed the part that you work on Marko now. Does th...

A First Look at MarkoJS

Have you tried the "concise syntax" at all? It is kinda like ...

Change Azure Repos Default Branch

Perfect. Now what actually politically incorrect thing could ...

Daily Challenge #304 - Consecutive Letters

JavaScript Efficient (for small strings) ...

Firebase or MongoDB ?

Bruh.

Daily Challenge #300 - Username / Password Comparison

Rust #![feature(once_cell)] use aho_corasick::...

Firebase or MongoDB ?

Almost every technology is right for something. Without any d...

Is there a good temporary variable name that you use?

Then, in the style of my other answer: async function getA...

Is there a good temporary variable name that you use?

I wish it let me do while (token = res.newToken), but res goe...

Is there a good temporary variable name that you use?

I would avoid naming them, by doing the following: functio...

Is there a good temporary variable name that you use?

Do you use fooValueNextToken? or is there only ever one page ...

President Trump’s Twitter accessed by security expert who guessed password "maga2020!"

I wouldn't be surprised, but I'd expect massive evidence.

President Trump’s Twitter accessed by security expert who guessed password "maga2020!"

And blindly believing the claims that he got hacked (or that ...

Do you prefer subdomains or subdirectories?

subdirectory (path), because: Maintain HTTP2/HTTP3 connecti...

Daily Challenge #297 - Loneliest Character

RIP

Daily Challenge #297 - Loneliest Character

So first and last non-whitespace character are less likely to...

Write Fewer Media Queries With the Clamp() CSS Function

Where it really shines is if you do something like * { f...

Stop using frameworks and libraries

I can absolutely deny the value of institutional education.

Stop using frameworks and libraries

Horrible that the comment was deleted. Do you have it backed ...

Stop using frameworks and libraries

Learn Rust. It will be less insecure.

Stop using frameworks and libraries

This article is a lie! React has 157k stars!

Assassin ⚑️ - An open source, free database for killing slow webpages

how to name a competing database

Stop Using React

HTML already has modularity and templating built in, if copy...

Stop Using React

Numbers correspond to those in the article: - Code splittin...

Why not dismantling capitalism alltogether?

Maybe delete it then :3

Google Chrome enables file system API ... Super Cool 😁

There's at least github.com/jimmywarting/StreamSave... (or fo...

So I decided to enter Web Dev

I get that it has many "components" that all change at the s...

So I decided to enter Web Dev

Why bootstrap at all? Why specifically moonjs? Why not solid...

So I decided to enter Web Dev

Would it be completely insane to suggest learning Javascrip...

Partial links are inaccessible

Coming back to it today, honestly it's not that bad. I think ...

Is Deno the future of JavaScript?

What do you mean?

Is Deno the future of JavaScript?

I think they mean that is syntactically/semantically looks li...

Partial links are inaccessible

Is this a good link? Peepee poopoo, as described in my arti...

Is Deno the future of JavaScript?

How can you make portable modules for web and deno with ES mo...

What keyboard do you use?

Definitely. This was before they used solderless switches, so...

You must read: Deno Style Guide.

Thank you, I updated the link. (was previously web.archive.or...

What keyboard do you use?

A plain, white Ergodox EZ Shine with sculpted/blank keys, but...

When Does It Make Sense to Use Docker?

Easier to do clean updates/uninstalls for smaller services. T...

Daily Challenge #293 - Name the Operations

What do we return for 1 1 1 and 2 2 4 ?

Top 10 Pieces of Advice for Becoming the Worst Developer Possible

Nothing wrong with the last one if you don't take over one da...

Where do you host server-side code?

Haha Mazda ^ high quality comment

fastget - ultra fast download files over HTTP(S)

For CLI tool written in Rust, see github.com/mattgathu/duma

Daily Challenge #289 - Manhattan Distance

Rust lol generics use core::ops::{Add, Sub}; fn ...

Daily Challenge #289 - Manhattan Distance

JavaScript const manhattan = ([x1, y1], [x2, y2]...

Daily Challenge #287 - 16+18=214

I wonder what the result with asm.js would be. There are some...

Today I Learned: BST Traversal

Could you plese write ```python for the last code block?

Daily Challenge #287 - 16+18=214

You already did the skimming, but you could also avoid string...

Daily Challenge #287 - 16+18=214

Rust (without stringification) fn euthanize(mut ...

Three Number Sum (2 Pointer) in Python

What is the definition of "unique triplets"? Are all the inp...

Daily Challenge #280 - Driving School

Rust pub fn cost(mut mins: usize) -> usize { ...

Daily Challenge #281 - Area or Perimeter

mov rcx, rsi imul rcx, rdi lea...

Daily Challenge #278 - Find all non-consecutive numbers

use core::iter::Enumerate; #[derive(Debug, PartialEq)] struct...

Daily Challenge #275 - Casino Chips

Rust fn solve(mut chips: [u64; 3]) -> u64 { ...

Daily Challenge #275 - Casino Chips

"constant time" in Javascript const solve = chip...

Daily Challenge #274 - Aerial Firefighting

2D plane xxYxx this is a 1D plane

Daily Challenge #273 - Remove Duplicates

javascript const solve = arr => { const val...

Daily Challenge #273 - Remove Duplicates

Epic, but also this relies on the array being sparse in the f...

Daily Challenge #273 - Remove Duplicates

Nope

Daily Challenge #273 - Remove Duplicates

(a => [...new Set(a)])([3, 4, 4, 3, 6, 3]) is [3, 4, 6...

Daily Challenge #272 - Printer Errors

how to count with javascript regex const perro =...

Daily Challenge #272 - Printer Errors

nodejs const perro = wurd => { let i = 0 ...

Daily Challenge #271 - Simulate Population Growth

If you're using generators, go wild :v const chain = (...fn...

Should DEV allow you to disable comments on your posts?

No An admin should delete all comments on this post and lock...

Design Github profile using README.md

Oh no, it's myspace

Daily Challenge #257 - Halving Sum

I like the word problem in the question, where decimals are m...

Daily Challenge #257 - Halving Sum

Does "until you reach a decimal" mean "until the result of in...

Daily Challenge #257 - Halving Sum

const half = n => n && half(n>>1) + n :v

Daily Challenge #254 - The Vowel Code

JavaScript normal (aka filthy coercion) const le...

JavaScript made it into space πŸš€

I knew that the "pilots" of the dragon cargo capsule are not ...

Daily Challenge #251 - Largest Number in a Sequence

Rust πŸ”— the below code in a runnable playground ...

Daily Challenge #250 - Last Digit of a Large Number

Why is the outer a unordered_map and not a vector? It's conse...

Daily Challenge #250 - Last Digit of a Large Number

Doesn't produce correct answers for extremely high numbers du...

Daily Challenge #244 - Search for Letters

There's also String.prototype.includes const letters = "abc...

Daily Challenge #244 - Search for Letters

Rust yay fun with bitsets fn change(hay: &st...

Daily Challenge #243 - Redacted!

Rust Assuming that replacement with X is per chara...

Share Your Grant for the Web Hackathon Updates!

whackathon

Daily Challenge #237 - Delete Extra Occurrences

Javscript With the assumption that in a long array...

What's your favorite software idiom/aphorism?

We have iterators now, so it was trimmed

Daily Challenge #232 - Regex Pattern

Wow! How long are the strings you test against? I'd be intere...

Daily Challenge #232 - Regex Pattern

You did "string consists only of", not "string includes all o...

Daily Challenge #232 - Regex Pattern

// Javscript const regex_contains_all = chars =&...

ASK DEV: Who to follow on Twitter?πŸ€”

I take it all back, this thread is the most important thing...

and the second top voted question on StackOverflow is...

It might be faster, more precise, and you might already be ...

Adobe XD to Wordpress | Full Development Process for Making a Website

Rawr xD lol

ASK DEV: Who to follow on Twitter?πŸ€”

@notch, the only reason to have twitter. But whi...

β­οΈπŸŽ€ JavaScript Visualized: Promises & Async/Await

GLORY TO THE CSS

Explain Async/Await Like I'm Five

Gotchas All throws in a function marked async ar...

Explain Async/Await Like I'm Five

A Promise is a "handle" to a value that may or may not alre...

Explain Async/Await Like I'm Five

There's a time and a place for everything.

Explain Apache Kafka like I'm five

It's a message broker/"database" (what an overloaded word). I...

The over-engineering trap

For me, it's the fear of overengineering that causes not-in...

Wanna learn a new language? Why not C++?

Conduct like this will not be tolerated. The police are on ...

Daily Challenge #227 - Android Lock Screen

Rust, precomputed here #[derive(Debug)] enum B...

Daily Challenge #227 - Android Lock Screen

Rust bruteforce solution #[derive(Copy, Clone)...

How do I authorize firebase JWT on BaaS (MongoDB stitch)?

Sounds like googleapis.com/robot/v1/metadata/x... is the J...

How do you frontend-backend monorepo?

There's also pnpm, whose workspaces hoist all node_modules an...

The Trouble with TypeScript

I'm concurrently building a backed service in TypeScript an...

ES2020: Summary of new features & examples πŸ”₯

creating a BigInt object: const value = new BigInt(500) Th...

β­οΈπŸŽ€ JavaScript Visualized: Promises & Async/Await

I too wish to know this πŸ‘Œ

Tell us what your top unpopular tech opinion is 😈

That is a view of nothing but pure inertia. Imagine using l...

Tell us what your top unpopular tech opinion is 😈

That is a view of nothing but pure inertia. Imagine using l...

TypeOf Array is Gotcha!

The objectness is also very obvious in the fact that [] is ...

I think Dev.to needs a Pastel theme

Most dark themes are just pastel themes with low luminosity...

How do you manage your browser bookmarks?

Poorly, but I'm not sure I should dedicate even the littles...

Easy functional programming techniques in Rust for everyone

I see what he is trying to teach, and I understand the need...

Write a frontend application with Rust

If you need server rendering today, I recommend looking at gi...

Are you still happy with the decision to use TypeScript?

It definitely pays off, just don't obsess over it. For gree...

TypeOf Array is Gotcha!

The other gotcha is that it mutates the source array, and t...

Daily Challenge #225 - Square'n'Sum

Sum of squares is the default example of the Rayon crate: ...

Why I moved from BaaS to Appwrite (self-hosted Backend)

Butt what is it? For example, what database does it provide? ...

Daily Challenge #224 - Password Validator

Rust fn validize(pwd: &str) -> bool { ...

You can learn this? πŸ€”

No, how do you mean?

Which trackers do you use?

UPS tracker.

You can learn this? πŸ€”

No systematic approach has taught anyone anything as much as ...

What if CSS was imperative?

Things that are easy about CSS: Overall grammar...

Tell us what your top unpopular tech opinion is 😈

OG is an interesting usecase. I currently spend more of my ...

Tell us what your top unpopular tech opinion is 😈

Server side rendering of "private" pages is seriously overr...

Tell us what your top unpopular tech opinion is 😈

Which dependencies are you talking about? Just like github....

Tell us what your top unpopular tech opinion is 😈

Static hosting is cheaper and faster at every level and sca...

Tell us what your top unpopular tech opinion is 😈

github.com/Pauan/rust-dominator/ tho.

Pub/sub with PyZMQ: Part 2

Henlo. I've never used python, so this might be a stupid qu...

Daily Challenge #222 - Parse Bank Account Numbers

Rust. Who needs error checking when you can support multili...

Use Multi-Stage Docker Builds For Statically-Linked Rust Binaries

Ah, makes sense. I just don't see a lot of advantages to se...

Use Multi-Stage Docker Builds For Statically-Linked Rust Binaries

Why have an executable for a static site? Is it not static,...

Use Multi-Stage Docker Builds For Statically-Linked Rust Binaries

Afaik, scratch isn't "nothing", it just downloads nothing. ...

Washing your code: avoid conditions

I can never get over the shame of (products || []).map(. Wh...

Six donts of web app internationalization

Dumb quotes FTW

Washing your code: avoid loops

Object#fromEntries() to the rescue: const allNames = { ...

Washing your code: avoid loops

const tableData = props.item && props.item.deta...

Daily Challenge #212 - DNA to RNA

Roost fn dtoa(dna: &str) -> String { ...

Elm(とHaskell)γ§γ‚·γƒΌγ‚ΆγƒΌζš—ε·

It was strange for me that you used |> and not <| eve...

Don't follow RxJS Best Practices

pls fix Andrei Gatej ...

Don't follow RxJS Best Practices

Is this actually a good one? takeWhile(() => this.aliv...

Daily Challenge #206 - Pound Means Backspace

Just to show off

Daily Challenge #206 - Pound Means Backspace

Maybe match ch :v

#COVID2019 is setting up work from home quickly and effectively

Based corona-chan

You Can Do it in SQL, Stop Writing Extra Code for it

Serious question: Why are there 100 unique developers writi...

Daily Challenge #189 - Convert Number into Reversed Array

Whoops, looks like someone didn't specify the base of the n...

Daily Challenge #158 - RGB To Hex Conversion

Nodejs (not web): const rgb = (...args) => Buffer.f...

Recommended Terminal for Windows?

Wouldn't you say the two are basically opposites?

How to create a simple Honeypot to protect your Forms against Spammers

Relying on normal spam protection that doesn't impact usabi...

Daily Challenge #114 - Speed Control

const bepis = (s, x) => { let max = 0 const lasti = ...

loading...