Better HN
topnewbestaskshowjobs
Log inSign up

redmaniack

629 karma · joined Feb 25, 2011 (15y ago) · 120 submissions

Submissions

1.

Wattspeed is a free tool that helps you monitor the performance of your website(wattspeed.com ↗)

1 points · by redmaniack · 6y ago · discuss

2.

HTML Replaced vs. Void Elements(catalin.red ↗)

1 points · by redmaniack · 6y ago · discuss

3.

How to use an SVG as a favicon for your website(catalin.red ↗)

2 points · by redmaniack · 6y ago · discuss

4.

The current DOM node in the browser's console(catalin.red ↗)

1 points · by redmaniack · 6y ago · discuss

5.

Visually validate an input field using CSS(catalin.red ↗)

1 points · by redmaniack · 6y ago · discuss

6.

CSS Writing-Mode Experiment(catalin.red ↗)

2 points · by redmaniack · 6y ago · discuss

7.

Hoisting in JavaScript(catalin.red ↗)

1 points · by redmaniack · 6y ago · discuss

8.

The 3-in-1 full-stack developer(catalin.red ↗)

1 points · by redmaniack · 6y ago · discuss

9.

CSS resize none on textarea is bad for UX(catalin.red ↗)

2 points · by redmaniack · 6y ago · discuss

10.

I wrote some lines about technical SEO and stuff after I analyzed ~8M web pages(moz.com ↗)

2 points · by redmaniack · 7y ago · discuss

11.

An SEO Story on the Website Name from the Google SERP(catalin.red ↗)

1 points · by redmaniack · 7y ago · discuss

12.

The 3-in-1 full-stack developer(catalin.red ↗)

1 points · by redmaniack · 7y ago · discuss

13.

Fancy New Selectors Within Groups Can Break Your CSS Rule(catalin.red ↗)

1 points · by redmaniack · 7y ago · discuss

14.

CSS utility classes for sizing and naming conventions(catalin.red ↗)

1 points · by redmaniack · 7y ago · discuss

15.

I wrote about how to include a production-ready SVG icon system within Pug/Jade(catalin.red ↗)

2 points · by redmaniack · 7y ago · discuss

16.

How to convert an array-like object as NodeList to a real JavaScript Array(catalin.red ↗)

1 points · by redmaniack · 7y ago · discuss

17.

ES6 const is not constant or immutable(catalin.red ↗)

2 points · by redmaniack · 7y ago · discuss

comment 8y ago · link · parent

Thank you :)

comment 8y ago · link · parent

Well, english is my second language.

Besides that, what I was really trying to say was that a tool like Normalize.css or Bootstrap's Reboot may be more helpful than the classic CSS reset.

comment 8y ago · link · parent

Well, I also somehow expected this kind of feedback too.

I agree my findings are far far away from a specialized audit, but nor did I intended to do one.

I just wanted to check out some of the best practices & stuff, based on my daily experience as a web user and developer.

comment 8y ago · link · parent

Please read my comment above, also here's how the above "nesting" compiles to:

.compose-form .compose-form__modifiers .compose-form__upload-description input::placeholder { opacity: 1; }

comment 8y ago · link · parent

I'm not saying using BEM is a bad thing. Not at all, I'm using it too and like how it plays with Sass/scss.

e.g. I do like how Sass makes it easier to write BEM-like code similar to the below:

// style.scss .btn { ... &--success { ... . } }

// style.css .btn {...} .btn-success {...}

But when abusing Sass nesting and choosing a weak naming convention, the resulted CSS selectors can go wild. Here's an example: https://github.com/tootsuite/mastodon/blob/995f8b389a66ab76e...

comment 8y ago · link · parent

Glad you found it interesting. I enjoy to dig into this kind of analysis stuff from time to time:

A while ago I made an HTML study on around 8 million web pages: https://www.advancedwebranking.com/html/

Also, I wrote about this journey on CSS-Tricks: 1. https://css-tricks.com/average-web-page-data-analyzing-8-mil... 2. https://css-tricks.com/random-interesting-facts-htmlsvg-usag...

On accessibility, I'd have loved to try out some screen readers but at the moment I write this article, I thought this accessibility analysis would deserve its own separate topic/article. A11Y is always hard.

https://catalin.red/thoughts-on-accessibility/

Sorry for all these plugs.

comment 8y ago · link · parent

To be honest, I blame myself for not opening some pull requests yet, considering the project is open-source.

I'd love to contribute and try to improve things but this task might become gigantic on long-term, as the Mastodon project itself :)

comment 8y ago · link · parent

Thank you very much ;)

comment 8y ago · link · parent

The thumbs down was meant to be for the use of an icon font nowadays, in this case, FontAwesome. Don't get me wrong, I'm still using FontAwesome for many projects.

The thing is there are so many good reasons to use an SVG icon font system nowadays: pure vector, control over the individual shape symbols, positioning is easier thanks to knowing its exact size etc.

comment 8y ago · link · parent

Hehe, just let me know!
1234