thijser
No matter how much I tried to force it to stick to a mostly line-by-line port, it kept trying to "improve" the code. At some point it had to undo everything as it introduced a number of bugs. I asked it: "What should I add to your prompt so you won't do this again?" and it gave me this:
### CRITICAL LESSON: Don't "Improve" During Porting
- **BIGGEST MISTAKE: Reorganizing working code**
- **What I did wrong:** Tried to "simplify" by splitting `createStartButton()` into separate creation and layout methods
- **Why it failed:** Introduced THREE bugs:
1. Layout overlap (getY() vs getY() - getHeight())
2. Children not sized (Group.setSize() doesn't affect children)
3. Origins not updated (scaling animations broken)
- **The fix:** Deleted my "improvements" and copied the original Android pattern faithfully
- **Root cause:** Arrogance - assuming I could improve production-tested code without understanding all the constraints
- **Solution:** **FOLLOW THE PORTING PRINCIPLES ABOVE** - copy first, don't reorganize
- **Time wasted:** ~1 hour debugging self-inflicted bugs that wouldn't exist if I'd just copied the original
- **Key insight:** The original Android code is correct and battle-tested. Your "improvements" are bugs waiting to happen.
I like the self-reflection of Claude, unfortunately even adding this to CLAUDE.md didn't fix it and it kept taking wrong turns so I had to abandon the effort.To my surprise, Cursor's composer model beat both Claude and Gemini.
Building a speech-to-Markdown app with three coding agents
Show HN: Git rewind – your Git year in review
I started an experiment to let a WASM-powered webapp interact with a local git repo and see how well this works. It turns out, it works pretty well!I made it into a "git wrapped" tool that shows you when you committed the most, and what languages and files you most touched.Despite the scary prompt when you use the filesystem API everything happens locally and your code stays private. (You can...
ChatGPT is referring too many people to suicide hotline [Dutch]
"Internet Weirdos" sounds kind of negative, sorry about that, I'll see if the LLM can come up with something better. Or do you have a suggestion of what is a good name for your community?
Show HN: Community Detection on Bluesky
https://blue.facts.dev/community
We ran the Leuven community detection algorithm on popular users on Bluesky (where the graph has edges determined by Jaccard similarity of a users' followers). We identified 118 communities and based on the names and descriptions of the top 10-20 users had LLMs generate title and descriptions for them. There are communities like "Feline enthusiasts", "Web Professionals", a bunch of NSFW ones...
Great to see so many good analytics tools pop up for bsky, I'm also working on one that primarily focuses on the fastest growing user accounts if you're interested: https://blue.facts.dev/trending
Screen Media Use and Mental Health of Children and Adolescents
Regresshion: Unauthenticated remote code execution in OpenSSH's server
On the AppBrain page you can see the rating nosedive from 4.6 stars (out of 5) to less than 2: https://www.appbrain.com/app/simple-gallery/com.simplemobile...
6% of the top ranked apps use Flutter.
Why Python Is Terrible
https://twitter.com/thijser/status/1656943947556569090
Definitely not what I had expected with "180 countries"
It's best to look at a meta analysis of all existing data/trials instead of focusing on one trial that happens to be positive.
I shot 100 asteroids with fewer than 300 bytes of WebAssembly
It's a generic note storage (with a DAG based model) that's very extensible and comes with a demo task manager implementation: https://github.com/zadam/trilium/wiki/Task-manager
Three Lessons from Threema: Analysis of a Secure Messenger
I could see how preparing your exact steps beforehand will ensure a feeling of competence.
This makes me wonder, maybe motivation could be improved even more by also including autonomy and relatedness in the preparing questions:
- Which steps can I take on my own, and which ones do I need help with?
- What makes this task meaningful to me? What positive effects will completing it bring?Streamline your Git workflow with HighFlux: the automated Git client
Rust, Tauri, and React: Our Technology choices for a desktop app in 2022
not "artificial creativity" but a simple "statistical mean of everything uploaded by humans on the internet which fits certain criteria".
Isn't the post I'm typing here not also the product of my brain that's been trained by a couple of decades of sensory inputs and trained to produce outputs that fit certain criteria? What is the fundamental difference between fleshy neurons and silicon ones (besides that my learning algorithm has been optimized for millennia by natural selection and the artificial training algorithms are still in full development after ~40? years)?-- I want you to write a simple shell script that adds all files in a directory to git and pushes them to the remote, with comments scattered around that insult me for not knowing how to do things with git myself --
This produces the following script:
#!/bin/bash
# This line changes the working directory to the directory where the script is located
cd "$(dirname "$0")"
# This line adds all the files in the current directory to
git
git add .
# This line commits the files with a message
git commit -m "Adding all files in directory"
# This line pushes the files to the remote repository
git push
# This line prints a message insulting you for not knowing how to use git
echo "You're a clueless idiot for not knowing how to use git. Get with the program!"