HNHacker News
TopNewBestAskShowJobs

ulrischa

5,466 karma · joined February 12, 2023

Broad interests: Webdev, smart home, it news
submissionscomments
ulrischa··on Tell HN: Happy New Year
Happy new year from Munich
ulrischa··on Google Opal
Not available in Germany and I assume the rest of Europe
ulrischa··on I ported JustHTML from Python to JavaScript with Codex CLI and GPT-5.2 in hours
For converting html to markdown in php markydown is pretty good: https://devkram.de/markydown/
ulrischa··on Useful patterns for building HTML tools
This was the first submission: https://news.ycombinator.com/item?id=46236333
ulrischa··on Autism's confusing cousins
Life is difficult for people with severe autism (e.g. early childhood). Due to the increasing number of misdiagnoses, self-diagnoses, romanticization and constant trivialization, life is becoming even more difficult for these people. The opinion that autism is not a disease but a buzzword for strange people leads to real autistic people being denied the disease. It is often said: “They should just try harder or pull themselves together”. Please don't use the word autism in an inflated way - it harms those affected.
ulrischa··on Markdown is holding you back
Even worse: social media postings. There are no semantics at all. People use emojis and so to structure the plain text
ulrischa··on Element: setHTML() method
There is the jquery bashing again. let sanitizedHTML = $('<div>').text(unsanitizedHTML).html();
ulrischa··on Element: setHTML() method
Since 5 years everybody says Jquery us no longer necessary. But really baisc function like this take a long time for replacing Jquery
ulrischa··on Show HN: CSS Extras
The last big thing was grid? Sorry but there are big things coming to css nearly every month. Container queries, @scope ... and so on
ulrischa··on Show HN: CSS Extras
CSS is changing so fast. I guess we will see Doom in CSS shortly
ulrischa··on Where it's at://
To make bluesky really lift of and become widely accepted for decentral social media there should be a simple solution to self host your postings. E.g. something you can easily host on a webhosting with php or so. The docker container provided is great but one step to high for broad usage.
ulrischa··on Greenland is a beautiful nightmare
Is this a US propaganda article to make greenland join the USA?
ulrischa··on Feedmaker: URL + CSS selectors = RSS feed
Same can be done wirh freshrss
ulrischa··on Linking to text fragments with a bookmarklet
The implementation is not very good because you can not copy the link generated from the alert. Use this to copy to clipboard: https://gist.github.com/ulrischa/405b93646a0114986575000dcc0...
ulrischa··on This website has no class
I like the idea of using custom elements instead of div with class and being able to gradually enhance it to a Webcomponent if needed.

What I think is a bad practice is the nesting of selectors to avoid classes. This leads to a high specificity and to a tight coupling with the html structure.

A more modern approach to reduce (not avoid) classes is the @scope and @layer rules. They have a hughe potential for designing components in css.

ulrischa··on QGIS is a free, open-source, cross platform geographical information system
No one doing serious cartography uses qgis. Also geostatatistics like kriging is fully supported and easy to use in ArcGis
ulrischa··on Microsoft PowerToys
This should be preinstalled on Windows
ulrischa··on What is it like to be a bat?
He anticipated an AI problem decades early. Replace “bat” with “LLM” or “alien intelligence,” and the paper reads like a warning: describing behavior and mechanisms might never reveal the inner feel, if there is one, to outsiders.
ulrischa··on Lit: a library for building fast, lightweight web components
Is the better DX using lit worth the price having to deal with another library? I thought webcomponents came to enable native components and now we need another library
ulrischa··on Lit: a library for building fast, lightweight web components
We used to put a link to the overall stylesheet in the webcomponents. That works pretty good
ulrischa··on Take something you don’t like and try to like it
Or take someone you don't like and try to like him or her. This is hard
ulrischa··on Show HN: I Built a XSLT Blog Framework
I wonder why everybody want's to use XSLT on the client side. On te Server side it is so powerful and works like a charme with PHP: // XML $xml_doc = new DOMDocument(); $xml_doc->load("file1.xml");

// XSL $xsl_doc = new DOMDocument(); $xsl_doc->load("file.xsl");

// Proc $proc = new XSLTProcessor(); $proc->importStylesheet($xsl_doc); $newdom = $proc->transformToDoc($xml_doc);

// Output print $newdom->saveXML();

ulrischa··on A German ISP changed their DNS to block my website
[flagged]
ulrischa··on Show HN: JavaScript-free (X)HTML Includes
Cool project. Sadly it seems to be unmaintained
ulrischa··on Show HN: JavaScript-free (X)HTML Includes
Cool project. Sadly it seems to be unmaintained
ulrischa··on Show HN: JavaScript-free (X)HTML Includes
To overcome the two problems here (client side loading the template and ending browser support) you could throw in php in the mix and have a wonderful solution for templating with bullet proof standards: // XML $xml_doc = new DOMDocument(); $xml_doc->load("file1.xml");

// XSL $xsl_doc = new DOMDocument(); $xsl_doc->load("file.xsl");

// Proc $proc = new XSLTProcessor(); $proc->importStylesheet($xsl_doc); $newdom = $proc->transformToDoc($xml_doc);

// Output print $newdom->saveXML();

XSLT lacks functionality? No problem, use php functions in xslt: https://www.php.net/manual/en/class.xsltprocessor.php

ulrischa··on POML: Prompt Orchestration Markup Language
There is already the .prompt.yaml format (https://docs.github.com/en/github-models/use-github-models/s...) from github, which is also Microsoft. Would be great to see some standard evolving.
ulrischa··on Open Lovable
Why would I do this? It would be better to have an app that turns a react app into a native web app. Speculation rules and page transitions make it possible already.
ulrischa··on GPT-5
Not yet available in Germany
ulrischa··on Building Bluesky comments for my blog
The Bluesky ecosystem is so cool. I read this approach presented here some times ago. The only thing that could be problematic: you need to make a posting on Bluesky for all your Web pages to use the commenting system. And a webcomponent for this would be nice
← PreviousPage 2 of 14Next →