Better HN
topnewbestaskshowjobs
Log inSign up

colewilson

171 karma · joined Oct 14, 2021 (5y ago) · 72 submissions

github: cole-wilson web: cole.ws
Submissions

1.

Octoverse: Commits, pushes, reach new highs in 2026(github.blog ↗)

1 points · by colewilson · 3w ago · discuss

comment 1mo ago · link · parent

Very neat! It's also possible to do this 100% statically without checking the user agent, by using alternate terminal buffers:

   - `curl -L https://cole.ws` (my personal portfolio site) does this
It embeds the actual HTML inside an alternate terminal buffer (starting with `<!--\x1b[?1049h-->\r` and ending with `<!--\x1b[?1049l\x1b[3D\r`), and has the curl-able content appended to the end.

When you curl it, it still writes the HTML to your terminal, but immediately clears that buffer and writes the ANSI version to your real screen. In browsers, this ANSI stuff is hidden in an HTML comment. This is useful for static sites on GitHub pages or something.

3.

Watch MTV Replay(wantmymtv.xyz ↗)

1 points · by colewilson · 10mo ago · discuss

4.

Occlupanids(horg.com ↗)

1 points · by colewilson · 1y ago · discuss

comment 1y ago · link · parent

A few years ago, I posted my nosource.cole.ws challenge on here and recieved lots of positive feedback and wishes for a v3. Here it is! Can you find all of the flags?

EDIT: Looks like there were some ratelimiting issues that were just fixed, sorry about that.

6.

Challenge: Can you view my source? [VERSION 3](ctf.cole.ws ↗)

2 points · by colewilson · 1y ago · 1 comment

7.

Show HN: Python Port of Old Celestron NexStar Telescope Control Protocol(github.com ↗)

1 points · by colewilson · 2y ago · discuss

comment 3y ago · link · parent

https://cole.ws

not truly a blog, but a list of projects I've done and I keep it updated

9.

Show HN: Portfolio with 40+ Interesting Projects(cole.ws ↗)

8 points · by colewilson · 3y ago · 2 comments

10.

Measured: Encapsulate measurements and their units in Ruby(github.com ↗)

2 points · by colewilson · 3y ago · discuss

comment 3y ago · link · parent

I've fixed it, still unsure about the cause of the problem but it should be there now.

comment 3y ago · link · parent

I've fixed it, still unsure about the cause of the problem but it should be there now.

comment 3y ago · link · parent

Thanks! I'm working on adding a manual override, but the upstream data source has not been fixed yet: https://github.com/estiens/world_cup_json/issues/226.

EDIT: I have applied a basic fix for it on my end, but there may be instances where it still shows 1-1.

comment 3y ago · link · parent

Working on fixing this!

comment 3y ago · link · parent

Match 56?

comment 3y ago · link · parent

Good idea! I just added detailed ranking information like goal differentials and goals for/against. Is that what you were looking for? You can get to it by clicked/tapping on the group points and flags.

comment 3y ago · link · parent

Good idea, thanks!

comment 4y ago · link · parent

Thanks, that's what I was going for!

comment 4y ago · link · parent

thank you!

comment 4y ago · link · parent

I'll look into it, good idea!

comment 4y ago · link · parent

Done!

comment 4y ago · link · parent

Done

comment 4y ago · link · parent

Thanks!

comment 4y ago · link · parent

The dates/times should now be localised!

comment 4y ago · link · parent

After further review, I think the extra goal was disallowed. Unfortunately, I don't think there is a way to filter these out.

comment 4y ago · link · parent

Done! Thank you for the suggestion.

comment 4y ago · link · parent

Done, thanks!

comment 4y ago · link · parent

Thank you!
123