HNHacker News
TopNewBestAskShowJobs

chris_engel

531 karma · joined July 4, 2011

20+ years web dev | Full-stack architect | AI integrator | Passionate about clean code, APIs, and docs | Building innovative SaaS with AI | Open source enthusiast
submissionscomments
chris_engel··on Ten lines of code that changed my world
Uhm, sorry but this is nonsense. Outline exists since CSS2 in 1998 and I was using it since the early 2000s with great success so this is a rather old trick.

Maybe you reconsider who's the youngling...

chris_engel··on When did Google get so weird?
This sounds more like the page appears broken for the google crawler. I set up a new page about two weeks ago, cared about strong static HTML output, structured data and a sitemap and have 200 of 600 pages indexed today. Feels a bit slow to me but it definitely works.
chris_engel··on Ten lines of code that changed my world
The CSS debugger should have been:

outline: hotpink 1px solid;

not border! It destroys the layout. I mean, come on :)

chris_engel··on Amazon workers under pressure to up their AI usage are making up tasks
I dont know... this works out until someone approaches you and says: well we see you are using LOTS of tokens so you must be incredibly productive. Please show your results.
chris_engel··on Migrating from DigitalOcean to Hetzner
Hm. Hetzners billing stuff is highly automated - but they usually give you about a month to pay your bill if the credit card payment failed for some reason.
chris_engel··on H-Bomb: A Frank Lloyd Wright typographic mystery
Nobody speaks about the way larger spacing between "AND THE" in comparison to the other spaces...
chris_engel··on The Overcomplexity of the Shadcn Radio Button
Strong disagree. Angular is cursed to the bone. It got a bit better recently but its still just making almost everything totally overcomplicated and bloated.
chris_engel··on Locating a Photo of a Vehicle in 30 Seconds with GeoSpy
Unless someone posts a photo of the stolen car with the numberplate still on, how would you identify YOUR car that way? Its not like cars are unique pieces. Same for bikes or anything else...
chris_engel··on The future is not self-hosted
Sure, in theory Hetzner could pull the plug or access the data on my VPS. But that’s true of any infrastructure... just like someone could break into my house and steal my self-hosted server.

In fact, I’d argue the physical risk of loss, theft, or data compromise is much higher at home than in a professional datacenter with power redundancy, security controls, and constant uptime monitoring.

It’s a bit like saying, "Don’t trust the bank, they could take your money and freeze your account — keep all your money under the mattress." Technically possible, yes. But come on.

chris_engel··on The future is not self-hosted
I am irritated that "self hosted" seems to mean "in your own house" and everyone just agrees.

To me, self hosted also means I rent a machine with Hetzner and run the server software on it. Its cheap, stable, fast, secure and Hetzner wont screw me over with my data. I have a LOT less headache and I can rent a vserver for a long time until the hardware cost for a server running at home is surpassed.

I can also very simply assign a domain to it and am pretty sure that software like nextcloud offers oauth access so my friends would NOT be required to sign up for my "weird app". Well, technically they do but oauth automates it.

Am I missing something?

chris_engel··on OpenAI’s Windsurf deal is off, and Windsurf’s CEO is going to Google
i've been using llm-based tools like copilot and claude pro (though not cc with opus), and while they can be helpful – e.g. for doc lookups, repetitive stuff, or quick reminders – i rarely get value beyond that. i've honestly never had a model surface a bug or edge case i wouldn’t have spotted myself.

i've tried agent-style workflows in copilot and windsurf (on claude 3.5 and 4), and honestly, they often just get stuck or build themselves into a corner. they don’t seem to reason across structure or long-term architecture in any meaningful way. it might look helpful at first, but what comes out tends to be fragile and usually something i’d refactor immediately.

sure, the model writes fast – but that speed doesn't translate into actual productivity for me unless it’s something dead simple. and if i’m spending a lot of time generating boilerplate, i usually take that as a design smell, not a task i want to automate harder.

so i’m honestly wondering: is cc max really that much better? are those productivity claims based on something fundamentally different? or is it more about tool enthusiasm + selective wins?

chris_engel··on Launch HN: Issen (YC F24) – Personal AI language tutor
Sorry but the approach is too naive and the tech isnt there yet.

You can't make up a couple of conversation topics and expect the LLMs to do the rest by just switching languages. People approach the same topics completely different in different languages. The app looks like someone picked a couple of topics and the rest is "just" ChatGPT advanced voice mode.

And the worst thing is that the LLMs in TTS do not sound native and cannot teach you pronounciation and learning to listen and understand (which is the whole point in having spoken conversation).

And the other way around, the STT will not notice pronounciation mistakes made by the student - so the app cannot tell you: oh, its pronounced like this.

chris_engel··on High-quality OLED displays now enabling integrated thin and multichannel audio
I wonder about the mentioned application in mobile devices. with mobile and tablet devices one usually has a very durable glass layer between the screen and the outside world - not sure if sound would ve able topass through that.
chris_engel··on Experts have it easy (2024)
Or just... put in a usb thumb drive, move the 50gb on it and call it a day?
chris_engel··on Show HN: Xenolab – Rasp Pi monitor for my pet carnivourus plants
Hm, you cannot simulate sunlight at all with an RGB LED ring. You can create something that looks cool for our human eyes but the average plant wouldnt make it long beneath them because its basically always living in the dark; the important wavelengths are missing.

This is also a huge problem for people having a terrarium with geckos or saurians - they see and need much different wavelengths than we humans do.

I am no expert for carnivorous plants - maybe they are fine but seeing that there is no UV emitting part in the lighting setup, there may be an important part of the spectrum missing for the plants.

chris_engel··on Is it safe to travel to the United States with your phone?
Not that I am planning to travel to the US at any point but the first thing that came to my mind was: why not just sending the phone by parcel, fly without it and pick it up later on? Even tough I find it embarassing that such hacks are necessary in the first place.
chris_engel··on Colocation: Non-Clown Hosting
Colocation, I don't know... Without questioning peoples preferences but I think at that point I'd rather look for a decent fiber network connection for my home and let that raspberry run in my own cupboard. I mean, its a RASPBERRY you would probably do fine even without the fiber connection.
chris_engel··on What would be the right path to learn AI?
Well, it depends whats your cup of tea in terms of learning. There area a LOT of courses on Udemy on that topic (if you prefer learning from videos).

I would recommend looking around on HuggingFace altough I found it a bit intimidating at the beginning. The place is just HUGE and they assume some knowledge.

I would also recommend creating a platform user on OpenAI and/or Anthropic and look up their docs. The accounts there are free but if you put a few dollars in there, you can actually make requests against their APIs which is the most simple way of playing around with LLMs imho.

Here are some topics you could do some research about:

- Foundation models (e.g., GPT, BERT, T5)

- Transformer architecture

- Natural Language Processing (NLP) basics

- Prompt engineering

- Fine-tuning and transfer learning

- Ethical considerations in AI

- AI safety and alignment

- Large Language Models (LLMs)

- Generative models for images (e.g., DALL-E, Stable Diffusion)

- AI frameworks and libraries (e.g., TensorFlow, PyTorch, Hugging Face)

- AI APIs and integration (also frameworks to build with AI like LangChain/ LangGraph)

- Vector databases and embeddings

- RAG

- Reinforcement Learning from Human Feedback (RLHF)

- AI model evaluation and benchmarking

- AI-assisted coding and code generation

chris_engel··on Stop Coding Already
I recently wrote an article challenging the common urge to dive straight into coding when inspiration strikes. As developers, we often feel compelled to start coding immediately, but I've found that taking a step back for extensive planning can lead to more efficient and successful projects.

Key points:

- Mental modeling is faster than actual coding

- "Mental coding" can happen anywhere, anytime

- Tools like Obsidian help organize thoughts before coding

- LLMs can be used as brainstorming partners

- Always keep the MVP in mind, then iterate

I'm curious to hear how other developers approach the planning phase of their projects. Do you have any unique pre-coding rituals or tools you find particularly useful? How do you balance planning with the desire to start coding?

chris_engel··on Ask HN: What kind of online tools are you using, missing or can be improved?
A nice tool when you need to things with images. Reverse search, editing, hosting, more: https://imgops.com/
chris_engel··on Mozilla: *Privacy Not Included
They say sonos does a good job on privacy. Did I miss something? Did they finally drop their approach of GPS-locating each speaker, phoning home what you listen to every couple of minutes and bricking the speakers to avoid re-sales?
chris_engel··on Co-working with friends over video in virtual gather.town office
Working 10 to 12 hours straight with only one or two half an hour breaks is no goal one should thrive for. Neither working 80 hours a week.

Heck, it would even be against the law in my country and it favors companies over people...

We tried gather.town in my team (we develop web services for a big news site) and dropped it after a week or two. While some people seemed to like it, others disliked it very strongly. I personally disliked it as well:

It drew lots of resources of my PC. It was like having MS Teams constantly running in meeting mode. For me it felt childish to push a pixel avatar around in a virtual office. And also tiresome (its one more thing you have to keep in mind alongside your work). Having the camera on all the time is a no-go. And walking into the private space of a desk and talking to a person working there is as invasive and interuptive as it was before in the office. The app brought the worst of the office days into my remote days.

So all in all, it was a cute little game for a few minutes, but it made work feel miserable.

chris_engel··on Cross-Branch Testing
So... how do I know the other branch was correct without tests?
chris_engel··on Monochromatic Portraits with GLSL
Interesting article. I fell in love with the possibilities of GLSL shaders ages ago and tried to incorporate them more into day to day web development.

I wrote a library that enables to "apply" a shader from a GLSL file directly to an <img> tag without any additional bootstrapping needed.

https://github.com/paratron/shaderboy

I havent used it for some time but it sounds like its perfectly suited for projects like these monochromatic portraits :)

chris_engel··on Next.js 11
Partial hydration would have been a game changer in performance of nextJS based websites.

I am a bit perplexed about the new "live" feature. Its just so far away from the framework business (poof, now its an IDE), I have no words for it...

chris_engel··on MDN Plus
I strongly dislike the idea. It reduces deep knowledge to people who can pay for it. The web should be open for anyone. (yeah, Its already not like this, I know)
chris_engel··on Is this what enterprise means?
And this is why you decouple your systems as good as possible. The humans in your company need to be able to just prolong premium times manually. When the customer pays in diamonds. Or you want to say thank you to someone and add half a year for free. Ir you decide to accept payments in bitcoin tomorrow.

Never build the payment system tight coupled to the rest. Humans need to be able to overrule anything, anytime.

This should be a rule of thumb for everything.

chris_engel··on React best practices
For me, the action component advice was the worst of all. Its a "component to rule them all" which brings you closer to configuration hell.

There is nothing wrong in having separate components for "Button", "BigButton", "IconButton" and so on. It immediately tells you what the component does and the additional code is minimal.

chris_engel··on Bob Cassette Rewinder: Hacking Detergent DRM
I'm not so sure about the environmental friendlyness. Our dishwasher runs for one and a half hour in eco mode. I'd need to measure how much energy it uses in the process. It feels so inefficient and slow. I'd spend about 20 minutes washing and drying the dishes on my own using cold water...

We still use it because with kids, every minute saved is a small win.

chris_engel··on Yayagram
This is the reason why I like Telegram so much more than WhatsApp. The fact theres an API and the possibility to write bots makes all the difference.
Page 1 of 5Next →