Better HN
topnewbestaskshowjobs
Log inSign up

vbtechguy

309 karma · joined Aug 9, 2011 (15y ago) · 143 submissions

Submissions

comment 1y ago · link · parent

deferent models handle JSON slightly differently, Gemini handles it better other models as does OpenAI GPT4/o1/o3 but they cost a lot more so I don't use them for AI gameplay analysis

comment 1y ago · link · parent

I've added security.txt now. I appreciate the heads-up.

comment 1y ago · link · parent

At later stages of development i use Gemini 2.5 Pro for brain storm sessions to formulate what I want and once I have it fleshed out, I ask it to summarize it into AI actionable prompt that is very detailed that I can copy and paste into a new chat session with any AI llm model that would have everything needed to implement what I want

comment 1y ago · link · parent

That would be one long commit description. I have had prompts in 1000s of word lengths!

comment 1y ago · link · parent

Glad to hear!

comment 1y ago · link · parent

Gist of it was

1. Used https://gemini.google.com Gemini 2.5 Pro canvas mode for Gemini Advanced subscription account to ask it to build Atari missile command game in HTML5. Tweeted about it at https://x.com/George_SLiu/status/1906236287931318747 almost one shotted but after I passed level 1, it jumped to level 182 and pulverised my cities and bases LOL

2. Iterations in subsequent chat sessions in Gemini web to fix it up, add in-game store, leaderboard and end-hame AI analysis and when Gemini 'something went wrong' messages, jumped over to Claude 3.7 Sonnet via Claude Pro subscription web interface to finish off the task

3. A few days ago, I tried Cline with VSC for the first time with Openrouter AI API key and Gemini 2.5 Pro free LLM model has helped me with further development. Also now trying out Google Firebase for more Gemini 2.5 Pro access https://studio.firebase.google.com/ ^_^

comment 1y ago · link · parent

Yeah that sometimes happens as LLM model didn't like the generated JSON format for some reason.

comment 1y ago · link · parent

Cheers I updated the gameplay logic a bit for this so it is better including chain reaction explosions :) Work in progress to dial in gameplay logic. But thanks for suggestions.

comment 1y ago · link · parent

Well if you play longer at higher levels, you will see you need that cash and upgrades as it gets harder

70.

Show HN: Atari Missile Command Game Built Using AI Gemini 2.5 Pro(missile-command-game.centminmod.com ↗)

136 points · by vbtechguy · 1y ago · 140 comments

comment 2y ago · link · parent

+1 that would be very useful. This mirror implementation at least mirrors the official wordpress.org plugin json metadata and checksum files so you can verify as well https://github.com/centminmod/wordpress-plugin-mirror-poc#ho...

Though still limiting as you can only checksum files after plugin installation. You probably need a staging WordPress install to verify mirror plugins before rolling out for production usage

comment 2y ago · link · parent

There's discussions on this https://www.reddit.com/r/Wordpress/comments/1frd37p/its_time...

comment 2y ago · link · parent

There are repos that folks can mirror

https://core.svn.wordpress.org/ https://themes.svn.wordpress.org/ https://plugins.svn.wordpress.org/

but rest if the infrastructure is needed https://www.reddit.com/r/Wordpress/s/bU4EzLozho

74.

How to Enable Cloudflare Post-Quantum Key Exchange Support in Centmin Mod Nginx(blog.centminmod.com ↗)

2 points · by vbtechguy · 3y ago · discuss

comment 3y ago · link · parent

Yup Cloudflare Post-Quatum key exchange connections to my Nginx origin working nicely https://blog.centminmod.com/2023/10/03/2860/how-to-enable-cl... :)

comment 6y ago · link · parent

Yes. Though the point is to illustrate that $5/month 1click toggle button can almost give you same gains as a full pro optimised configuration by expert page speed folks. For average joe Wordpress users that is a very good value add for the price

77.

Cloudflare Wordpress Plugin Automatic Platform Optimization(community.centminmod.com ↗)

2 points · by vbtechguy · 6y ago · discuss

78.

Cloudflare Automatic Platform Optimization for Wordpress Cache Effectiveness(community.centminmod.com ↗)

2 points · by vbtechguy · 6y ago · 2 comments

comment 6y ago · link · parent

Cloudflare doesn’t cache HTML pages by default only static files https://support.cloudflare.com/hc/en-us/articles/200172516. You need to specifically tell Cloudflare to cache HTML pages via page rules etc https://support.cloudflare.com/hc/en-us/articles/202775670

Cloudflare Workers don’t cache by default either for HTML pages only static files unless you write the Worker to cache HTML pages.

So if they tested on default index.html page then it would of been a Cloudflare Cache miss/bypass which may explain their results.

comment 6y ago · link · parent

I did some page speed comparison tests with Webpagetest, GTMetrix, Page Speed Insights and FastOrSlow tools for my Wordpress blog https://community.centminmod.com/threads/cloudflare-wordpres... using Cloudflare Automatic Platform Optimizations versus without APO (with my own custom Cloudflare Worker cache + Origin PHP-FPM fastcgi_cache cache setup). Results are very close so you get a lot of bang for your buck with CF APO 1 click toggle button if you're not well versed in page speed optimisations.

However, CF APO seems to have a few teething issues to sort out

- https://community.cloudflare.com/t/apo-breaks-google-fonts/2... - https://community.cloudflare.com/t/automatic-platform-optimi... - https://community.cloudflare.com/t/automatic-platform-optimi...

For US$5/month CF APO, has a lot of value if you don't want to go down the rabbit hole for page speed optimisations and rolling out your own Cloudflare Worker cache configuration.

comment 6y ago · link · parent

I'm hoping Caddy v2 performance improves over time too https://caddy.community/t/caddy-v2-http-2-http-3-benchmarks/... :)

comment 6y ago · link · parent

some benchmarks posted at https://caddy.community/t/caddy-v2-http-2-http-3-benchmarks/...

83.

PHP 7.4.0 vs. 7.3 vs. 7.2 vs. 7.1 vs. 7.0 Benchmarks(community.centminmod.com ↗)

2 points · by vbtechguy · 6y ago · discuss

84.

Upcloud vs. DigitalOcean vs. Linode vs. Vultr vs. Hetzner VPS Benchmarks(community.centminmod.com ↗)

1 points · by vbtechguy · 7y ago · discuss

comment 7y ago · link · parent

Really depends on underlying hardware of the Linode and DO VPS servers as they can vary greatly especially on DO depending on datacenter and region you end up in. Newer DO datacenters getting newer hardware so difference compared to older DO datacenters is huge - benchmarks of same DO droplet plan on different hardware https://community.centminmod.com/threads/digitalocean-us-15-...

86.

Round 3 Compression Benchmarks: zstd vs. brotli vs. pigz vs. bzip2 vs. xz(community.centminmod.com ↗)

2 points · by vbtechguy · 7y ago · discuss

comment 7y ago · link · parent

should be the same though zstd defaults to 1 cpu thread AFAIK so probably why you seeing differences ?
12345