Christian Heilmann

Reminder: JSON.stringify can create Multi-line, formatted and filtered strings from JSON

October 28th, 2022

You can use `JSON.stringify()` to turn a JSON object into a string. let obj = {"a": 1, "b": 3, "c": "boo!"}; console.log(JSON.stringify(obj))let obj = {"a": 1, "b": 3, "c": "boo!"}; console.log(JSON.stringify(obj)) This results in a single line string: {"a":1,"b":3,"c":"boo"} However, you can also set two optional parameters, a filtering array or callback method and an […]

Unless you’re in the mafia, your company isn’t your family

October 6th, 2022

Dedication to your employer is a tradition in some cultures. My father was a dedicated coal miner and when the mine closed up he became a factory worker. He worked 40+ years in that factory in three shifts. He kept complaining about “those up there” in the hierarchy and yet the company was a big […]

Dear Console,…

September 29th, 2022

The browser developer tools Console is so much more than a place to log your messages. It is a way for you to programatically access the currently shown document and window, read out values and change them. On top of that, it has a powerful API of helper methods to make that easier than with […]

Newsletter

Check out the Dev Digest Newsletter I write every week for WeAreDevelopers.

Don't stop thinking, AI Slop vs. OSS Security, rolling your own S3 Despite AI you still need to think, Bitter lessons from building AI products,  AI Slop vs. OSS security and pointer pointer…
200: Building for the web, what's left after rm -rf & 🌊🐴 vs AI What remains after you do a rm -rf? Why do LLMs know about a seahorse emoji? What image formats should you use? How private is your car?
Word is Doomed, Flawed LLM benchmarks, hard sorting and CSS mistakes Spot LLM benchmark flaws, learn why sorting is hard, how to run Doom in Word and how to say "no" like a manager.
30 years of JS, Browser AI, how attackers use GenAI, whistling code Learn how to use AI in your browser and not on the cloud, why AI makes different mistakes than humans and go and whistle up some code!
197: Dunning-Kruger steroids, state of cloud security, puppies>beer

My other work: