frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: I remade my website in the Sith Lord Theme and I hope it's fun

https://cookie.engineer/index.html
22•cookiengineer•3h ago
I used the time over Christmas and in between the years to redesign my website.

This time I decided to make it in the theme of an evil Sith Lord that commands the Galactic Cookie Empire, because I found my previous cookie consent game a bit boring after a while.

Here's the website's welcome page and the cookie consent game: https://cookie.engineer/index.html

(the cookie consent game isn't started on any other page of my website, only on the welcome page)

I also made a "making of" weblog article series, in case you're interested in the development process and how I implemented it and what kind of troubles I went through already:

- Making of the Game: https://cookie.engineer/weblog/articles/making-of-my-website...

- Making of the Avatar: https://cookie.engineer/weblog/articles/making-of-my-website...

- Debuggers to toy around with: https://cookie.engineer/design/consent/index.html

It "should" work on modern browsers. I tested it on Firefox on Linuxes, Chrome/Chromium on Linuxes, and Safari on Macbook. Don't have an iPhone so I can't test that, but my two old Android phones were also working fine with the meta viewport hack (I can't believe this is still the "modern" way to do things after 15 years. Wtf).

Best experience is of course with a bigger display. On smaller screen sizes, the game will use a camera to zoom around the game world and follow the player's spaceship. Minimum window width is 1280 pixels for no camera, and I think 800 pixels to be playable (otherwise the avatar gets in the way too much in the boss fights).

Oh, there's also a secret boss fight that you can unlock when you toy around with the Dev Tools :)

What's left to do on the avatar animation side:

- I have to backport CMUdict to JavaScript / ECMAScript. That's what I'm working on right now, as I'm not yet satisfied with the timings of the phonemes. Existing tools and pipelines that do this in python aren't realtime, which leads to my next point.

- I want to switch to using the "waveform energy detection" and a zero cross rate detector to time phonemes more correctly. I believe that changes in waveforms and their structures can detect differences in phonemes, but it's a gut feeling and not a scientific fact. Existing phoneme animation papers were kind of shit and broken (see my making of article 2). The phoneme boundary detector is highly experimental though and is gonna need a couple weeks more time until it's finished.

That's it for now, hope you gonna enjoy your stay on my website and I hope you gonna have fun playing the Cookie Consent Game :)

Oh, also, because it might not be obvious: No LLMs were used in the making of this website. Pretty much everything is hand-coded, and unbundled and unminified on purpose so visitors can learn from the code if they want to.

~Cookie

Comments

Terr_•2h ago
Hot-take: "Oh, here's a link that says if I click it, someone will show off their artistic front-end design theme."

"I see flat colors and a list of recent project news. Nothing at the bottom. Is it the wrong URL? Or does it not work on my phone? Let's go back and check the HN comments."

"The submission has a bunch of text which doesn't seem to answer my immediate confusion. There's a game somewhere? Was that the wrong link? Did it not pop up correctly? Did I need to give the site special permissions?"

TLDR: This random user unfamiliar with the site is not sure what they were supposed to focus-on and notice/appreciate, and wasn't able to figure it out within a reasonable period before needing to put the phone down again. (Not including the time to write this follow-up comment.)

Contortion•1h ago
My browser auto-declines cookies so I also had the same thought. On reloading I can briefly see a pop-over with a lot of text in it before it disappears, so I guess that is the cookie game I initially missed.
Terr_•1h ago
Okay, so I think the problem here is that the "game" is easy to miss, when:

1. You have your audio off or volume too low.

2. You just don't interact with the bottom cookie prompt.

3. The prompt never shows up for some reason. Saw it a few times, but even after a lot of resetting cookies and reloading, I can't get it to show reliably.

I suggest a special URL parameter so that you can link people to a slightly deeper step in the process where It's obvious what they should be interacting with.

cookiengineer•1h ago
Could be that the avatar's speech is conflicting with an ongoing speech or sound track. Couldn't replicate it what you wrote yet, but gonna try to debug this a little more.

I had to put the initial things in a click listener, and then it's 3 seconds after the initial click when the cookie consent banner is shown (due to AudioContext API limitations and that they have to be a user gesture event that .resume()s the audio context instance).

> I suggest a special URL parameter so that you can link people to a slightly deeper step in the process where It's obvious what they should be interacting with.

The Debugger Views here show more details, and you can play the game just fine and toy around with it:

https://cookie.engineer/design/consent/index.html

joduplessis•2h ago
Lol, amazing! Love the voice.
neogodless•1h ago
Ha, I like the site, and enjoyed playing some of the game!

So when I saw the "About Me" image, I thought Gen AI - https://cookie.engineer/about/me/teaser.jpg But no LLM used for that? (No judgment, just after seeing that image, and then you declaring no LLM use, I thought I'd ask!)

cookiengineer•1h ago
> But no LLM used for that?

Well, I mean, I self-hosted stable diffusion to be able to generate the teaser images and the award images (for the ranks in the Game Over Dialog).

I only implemented the initial SD paper [1] back then so I have no clue whether the u-net architecture changed when it comes to the semantic mapping of the text/labels. Did that change and is Stable Diffusion 3 now an LLM, actually?

[1] https://arxiv.org/pdf/2112.10752

mmmlinux•51m ago
This feels like moving the goal posts.
neogodless•51m ago
Sorry, you know this stuff way better than me. I thought "gen AI" that generated visualizations / images used similar code, but as I say Large LANGUAGE Models in my head, I realize it must be something else (at least in name!)

Again this should in no way implicate a diminishing of the work and accomplishment of building your site. Just noticing some kind of "AI" (ANI) was used to make an image. Maybe worth clarifying for pedants like me (but probably not worth it ;-)!)

nailer•1h ago
The site uses cookies, so needs a cookie warning. (monocle emoji)
cookiengineer•1h ago
Exactly, that's what the game is about!
nailer•1h ago
Oh there is one, it just appears after a delay.

Everything as Code: How We Manage Our Company in One Monorepo

https://www.kasava.dev/blog/everything-as-code-monorepo
106•benbeingbin•1h ago•65 comments

FediMeteo: A €4 FreeBSD VPS Became a Global Weather Service

https://it-notes.dragas.net/2025/02/26/fedimeteo-how-a-tiny-freebsd-vps-became-a-global-weather-s...
123•birdculture•2h ago•33 comments

A faster heart for F-Droid. Our new server is here

https://f-droid.org/2025/12/30/a-faster-heart-for-f-droid.html
102•kasabali•3h ago•34 comments

Show HN: 22 GB of Hacker News in SQLite

https://hackerbook.dosaygo.com
183•keepamovin•4h ago•52 comments

Electrolysis can solve one of our biggest contamination problems

https://ethz.ch/en/news-and-events/eth-news/news/2025/11/electrolysis-can-solve-one-of-our-bigges...
92•PaulHoule•3h ago•15 comments

A Vulnerability in Libsodium

https://00f.net/2025/12/30/libsodium-vulnerability/
114•raggi•4h ago•9 comments

Zpdf: PDF text extraction in Zig – 5x faster than MuPDF

https://github.com/Lulzx/zpdf
46•lulzx•1h ago•8 comments

Toro: Deploy Applications as Unikernels

https://github.com/torokernel/torokernel
102•ignoramous•4h ago•71 comments

Loss32: Let's Build a Win32/Linux

https://loss32.org/
131•akka47•1d ago•235 comments

Prof. Software Developers Don't Vibe, They Control: AI Agent Coding Use in 2025

https://arxiv.org/abs/2512.14012
52•dpflan•1h ago•61 comments

Reverse Engineering a Mysterious UDP Stream in My Hotel (2016)

https://www.gkbrk.com/hotel-music
141•bayesnet•1w ago•21 comments

The British empire's resilient subsea telegraph network

https://subseacables.blogspot.com/2025/12/the-british-empires-resilient-subsea.html
135•giuliomagnifico•8h ago•38 comments

Igniting the GPU: From Kernel Plumbing to 3D Rendering on RISC-V

https://mwilczynski.dev/posts/riscv-gpu-zink/
50•michalwilczynsk•7h ago•6 comments

Approachable Swift Concurrency

https://fuckingapproachableswiftconcurrency.com/en/
136•wrxd•8h ago•51 comments

Times New American: A Tale of Two Fonts

https://hsu.cy/2025/12/times-new-american/
185•firexcy•8h ago•118 comments

Postgres extension complements pgvector for performance and scale

https://github.com/timescale/pgvectorscale
98•flyaway123•5d ago•20 comments

HTTP Strict Transport Security (HSTS)

https://hstspreload.org/
26•arunc•1d ago•10 comments

Go away Python

https://lorentz.app/blog-item.html?id=go-shebang
297•baalimago•13h ago•288 comments

Escaping Containment: A Security Analysis of FreeBSD Jails [video]

https://media.ccc.de/v/39c3-escaping-containment-a-security-analysis-of-freebsd-jails
11•todsacerdoti•2h ago•0 comments

Show HN: I remade my website in the Sith Lord Theme and I hope it's fun

https://cookie.engineer/index.html
22•cookiengineer•3h ago•12 comments

Hive (YC S14) Is Hiring a Staff Software Engineer (Data Systems)

https://jobs.ashbyhq.com/hive.co/cb0dc490-0e32-4734-8d91-8b56a31ed497
1•patman_h•7h ago

Netflix Open Content

https://opencontent.netflix.com/
546•tosh•11h ago•107 comments

Non-Zero-Sum Games

https://nonzerosum.games/
288•8organicbits•10h ago•150 comments

Stranger Things creator says turn off “garbage” settings

https://screenrant.com/stranger-things-creator-turn-off-settings-premiere/
394•1970-01-01•22h ago•688 comments

Five Years of Tinygrad

https://geohot.github.io//blog/jekyll/update/2025/12/29/five-years-of-tinygrad.html
149•iyaja•1d ago•65 comments

An initial analysis of the discovered Unix V4 tape

https://www.spinellis.gr/blog/20251223/
16•zdw•6d ago•1 comments

Show HN: Tidy Baby is a SET game but with words

https://tidy.baby
23•brgross•5h ago•6 comments

Show HN: One clean, developer-focused page for every Unicode symbol

https://fontgenerator.design/symbols
154•yarlinghe•5d ago•60 comments

Concurrent Hash Table Designs

https://bluuewhale.github.io/posts/concurrent-hashmap-designs/
55•signa11•3d ago•6 comments

Hacking Washing Machines [video]

https://media.ccc.de/v/39c3-hacking-washing-machines
195•clausecker•20h ago•42 comments