Hacker News new | past | comments | ask | show | jobs | submit login
Show HN: Randomize HTML content to test your defensive CSS (cleartax.github.io)
104 points by mathnmusic on Dec 11, 2021 | hide | past | favorite | 10 comments



This reminds me of Dan Cederholm’s Bulletproof Web Design, which coincidentally inspired me to adapt the paradigm to component development earlier this week.

https://www.abeautifulsite.net/posts/bulletproof-components/

Randomizing content is a great technique to test for this.


It may be a shameless plug to your blog post, but that led me to your library shoelace[0], so thank you!

0: https://shoelace.style/


Had you run this on old IE versions, you'd have made a decent fuzzer! If this program ever tries to put a table inside a button it'd have found a couple of crashes for sure.


Love cleartax, maybe I'm a bit biased because it was founded by one of my alumnus (from IITG).

Always love seeing projects that indicate focus on code quality and better practices, esp. from Indian companies.

It shows that despite the general culture of doing more in less, frugality, etc; still someone was able to focus on doing something right and making it open source too!


n=1 but I remember interviewing with them in 2014-15 and their founder (Archit) came across as really lacking humility.

He called people from big companies as lazy (I was coming from a BigCo). At one point, he laughed when I mentioned writing code in a language he felt was outdated.

And of course like any toxic startup they expected me to work 6 days a week.


>And of course like any toxic startup they expected me to work 6 days a week.

Is that significantly different from other workplaces in India?


it's definitely not the norm, though was still relatively common then.

But it was a huge red flag then, and is a bigger red flag today.

Cleartax was also among the "no equity for employees" club though they went back on it after a while if I remember correctly. But yeah, they were not an employee friendly company by any metric then.

Edit: I just searched Blind after writing this and looks like they have maintained the culture


This is similar to Chaos Engineering[0]

[0] https://en.wikipedia.org/wiki/Chaos_engineering


I like the idea of sampling the other side of your API in a stochastic manner. That concept seems widely applicable.


is this the first time randomization is applied to HTML?

cool!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: