HNHacker News
TopNewBestAskShowJobs

kilian

5,215 karma · joined December 16, 2009

Creator of https://polypane.app, The browser for ambitious developers.

My personal website: https://kilianvalkhof.com I can be found on twitter here: https://twitter.com/kilianvalkhof

Email me at my first name at my domain. :)

[ my public key: https://keybase.io/kilianvalkhof; my proof: https://keybase.io/kilianvalkhof/sigs/Honu9NuMzBbMULL6H9nqtguM73so4wPGxsKlsGFpOJI ]

submissionscomments
kilian··on Show HN: Every mountain, building and tree shadow mapped for any date and time
When it doesn't have height data it seems to set every building to the same height. Interesting, but it does make it inaccurate in my country.
kilian··on Mona: Australian art museum sued over women's-only exhibit
The exhibit is an incredibly fun idea and does exactly what Art should do, but the court case proceedings described in the article are just as wonderful. It's filled with quotes and anecdotes that all fit very well in the hacker-ethos.
kilian··on Polypane 18: Introducing Polypane Portal
That’s great, thanks. I work hard to provide features for any issue people bump into. Glad this one convinced you to try it again!
kilian··on Polypane 18: Introducing Polypane Portal
It's so cool seeing this on the HN homepage! Hey folks, I'm the solo creator of Polypane, the web browser for developers.

This latest release has a new feature called Portal, that lets you share your localhost with any device (local network or through a randomly generated public URL).

That's cool but what's new compared to other similar tools is that anything you do in Polypane, like scrolling, clicking and typing, but also our layout debugging and any editing you do in the Polypane devtools also happens in all of the connected browsers, so you can quickly test fixes across rendering engines, or share your localhost with a team mate and suggest changes on the fly.

Hope you all check it out :)

kilian··on You don't need JavaScript for that
Author here. The first styled example doesn’t have the style to respond to the checked state. I explain that in the article right below the example.
kilian··on The Future of CSS: Easy Light-Dark Mode Color Switching with Light-Dark()
That is also in the works as color-contrast(): https://developer.mozilla.org/en-US/docs/Web/CSS/color_value...
kilian··on Media Queries and Responsive Design
Nice overview, though I would advice against using device-specific breakpoints even beyond giving them device-specific names. Phones continue to get larger every year so designs made for 320px specifically started to become unoptimized when phones became 375px wide, and those in turn started becoming unoptimized when 414px became the norm, then iPhone 14 came out at 428px wide and that'll just continue.

The best strategy then is to let your site's content and layout guide where your CSS breakpoint should be, and designing for the _range_ between them.

If you want a full overview of CSS Media queries, I maintain an evergreen article with everything there is to know: https://polypane.app/blog/the-complete-guide-to-css-media-qu...

kilian··on Min: A fast, minimal browser that protects your privacy
Hey, creator of Polypane here! What would make something a 'really good browser for development' to you?
kilian··on Pinboard vs. Raindrop
I realise this is a comparison article with a funny intro but I honestly don't understand that when you have a _list of links_ that you need to share with students you chose a third party website and then act shocked pikachu when that third party website has a hick-up.

There are hundreds of fool-save options that make it so you don't have to depend on a third party, here are some: You could email the links to students. List them on the personal website that this is written on. Have a reader that lists them. Co-host them with the rest of the assignment.

kilian··on When going somewhere does a thing: on links and buttons
There are multiple reasons why details/summary are bad semantics, outlined in this article: https://adrianroselli.com/2019/04/details-summary-are-not-in...
kilian··on Show HN: Lost Pixel – open-source visual regression testing for your frontend
I've set up visreg tests in the past and they were always slow and brittle. This looks really modern and well documented system, congrats to the team! Always running them on GitHub actions will keep the sub pixel issues at a minimum, but do you also have configurable thresholds?
kilian··on Ask HN: Anyone making a living building desktop applications?
I share what I write about on social, and share features as I release them or sometimes while I work on them, but I don’t think that counts as ‘doing social’. I do no retargeting or other type of social ads. Just post what I like on twitter and linkedin.

There isn’t a definitive way to do things and a lot is based on your target audience so I doubt much of what you ‘learn’ ends up being applicable. Just have to try and finds something that works that you like!

kilian··on Ask HN: Anyone making a living building desktop applications?
Essentially content marketing, which drives both social sharing and SEO. It helps that I enjoy writing articles! And word-of-mouth of course.

I have tried nearly everything but couldn’t get a lot of things to work (ads are Hard Mode when over half your target audience has an ad blocker!) I’m also trying to do a lot of public speaking, affiliates and ‘engineering as marketing’ (releasing free tools) and they’re okay, but definitely not as effective as content marketing.

kilian··on Ask HN: Anyone making a living building desktop applications?
Yep. Been working on Polypane full time since 2019 as a solo developer. Electron based, available on mac, windows and linux, in x64 and arm versions. Its subscription based and I release a new update roughly every month.

It was a side project before that but I started charging for it when I went full time.

https://polypane.app

kilian··on The number input is the worst input
If you know you're dealing with a number, use `.valueAsNumber` instead of `.value`. Value is a string per the specification, but `.valueAsNumber` does what you expect (for datetime there is also `.valueAsDate`).
kilian··on The number input is the worst input
My personal pet-peeve is devs using the number input for things that contain digits but aren't "numbers" (credit card numbers, 2fa codes, postal codes etc)[0]. Number input provides a lot of footguns and you're usually better off using something else.

[0] https://kilianvalkhof.com/2022/css-html/are-you-sure-thats-a...

kilian··on Losslessly Optimising Images
If you're looking for a GUI for most of these on Linux, you can use Trimage[1] which I created a long long time ago, but it still works. It runs images through a bunch of optimizers, but only compresses losslessly.

[1] https://trimage.org/

kilian··on Ask HN: Your admittedly useless side projects?
I trained an ML model on 15K headlines from the local (Dutch) populist newsletter and use that model to tweet a new headline every 30 minutes, for the past three years. To make it look like tweets from the actual newsletter, I take the first few words, run those through google translate, and then use that to find an image on Unsplash to add to the tweet.

The headlines frequently make no sense and often have grammatical issues. Yet a couple of times a month someone (often a boomer) interacts with the tweets.

Their confusion bring me immense joy.

kilian··on W3C Proposes the Creation of a WebView Community Group
Interesting. As someone using webviews extensively[1], the main issue is that the "iframe" model of security many operate on makes sense on the web, but not in native apps. When it comes to embedding third party content with iframes, you essentially want two-way security and privacy. The embedder can't change things in the embedded and vice versa.

With webviews however, that model doesn't make much sense: the embedder is controlling the webview and frequently needs to apply or enrich the embedded view. Browsers (which by and large maintain these webview APIs) have no incentive to stray from the web model of security though: they have no use for it themselves and it creates new vectors for security breaches in them. So I wonder how much a community group can affect.

[1] I build a browser for devs which uses webviews, https://polypane.app

kilian··on Show HN: Fix contrast, a free browser extension that fixes text contrast issues
That's fair. For what it's worth: the code runs fully in the browser and never calls out or uses any external service. It's just a bunch of CSS and JS files on disk :)
kilian··on Show HN: Fix contrast, a free browser extension that fixes text contrast issues
Will definitely tackle iOS when I get started on the Safari version, but I'm not too familiar with what's possible on Android.
kilian··on Show HN: Fix contrast, a free browser extension that fixes text contrast issues
Not open source, it's based on code I built for https://polypane.app

But I am planning on making an extension for every (modern) browser that can have one.

kilian··on Show HN: Nyxt Browser 2.0.0
They have Geckoview on Android but from what I've heard there was no interest in making that available for other platforms, and this was before they fired a ton of their technical staff. A shame really!
kilian··on HTML Tips (2020)
> As a content consumer I'm frequently annoyed, when I have to wait for images to load while scrolling.

That's the experience most javascript solutions gave you. This browser native solution will load images _before_ they're visible in the viewport so you do not get the fading-in flashes you often see. Combine it with setting the width and height on an element and your page also won't shift around as you scroll.

This will actually optimize for the reader as it will improve the time it takes before they can interact with your page. I also think you'd be very disappointed if you see the percentages of people that end up scrolling on any given page.

kilian··on Prescriptive software is better than descriptive software
Thanks for sharing this! The concept has been in my mind for well over a decade (initially with the decision to make https://trimage.org not have any settings) but it's really been taking shape the past few years.

We hire software to do jobs like how we hire people to do jobs. Both become better when they share their opinion and help us decide how to fix or approach issues.

kilian··on Goat Ops
This site is a prime example of a Mac developers using overflow: auto when they should use overflow: scroll[1].

[1] https://kilianvalkhof.com/2021/css-html/you-want-overflow-au...

kilian··on Budgie Is Worth a Try
I really wanted to like Budgie but it has so many nits/broken things when I tried it two years ago that I moved away.

The thing that finally got me was that the workspace switcher came with a 300ms timeout before switching workspaces after hitting the shortcut.

kilian··on Pippi and the Moomins
We also have Alfred J. Kwak[1], which looking back on it is surprisingly on-the-nose with a lot of topics that completely passed me by as a child. The israel/palestine conflict, apartheid and fascism to name just a few.

[1] https://en.m.wikipedia.org/wiki/Alfred_J._Kwak

kilian··on Website allows you to experience what it is like to live with dyslexia (2016)
It's good to realize "dyslexia" is different for different people, with a subset of them seeing "dancing letters" like this visualization shows. It's still incredibly worthwhile to experience visualizations like this if only to vaguely understand what it's like.

I implemented this particular vizualisation into Polypane so you can run it on any website and from what I experienced with people with dyslexia, there are definitely people that don't see a difference between this on or off.

kilian··on Polypane – Browser for Developers
I agree, that’s why it’s free to use through the GitHub student developer pack :)
← PreviousPage 2 of 19Next →