News for hackers. Stuff that matters.

colewilson

Re:Fancy Curl Sites on Wednesday October 14, 2026 @05:23PM (#50095529)
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.

Re:Challenge: Can you view my source? [VERSION 3] on Saturday December 07, 2024 @07:29PM (#42354007)
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.

Re:Ask HN: Could you share your personal blog here? on Friday July 07, 2023 @12:45AM (#36627257)
https://cole.ws

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

Re:Show HN: FIFA Interactive Bracket (World Cup) on Thursday December 01, 2022 @08:35PM (#33825627)
I've fixed it, still unsure about the cause of the problem but it should be there now.
Re:Show HN: FIFA Interactive Bracket (World Cup) on Thursday December 01, 2022 @08:35PM (#33825624)
I've fixed it, still unsure about the cause of the problem but it should be there now.
Re:Show HN: FIFA Interactive Bracket (World Cup) on Wednesday November 30, 2022 @05:41PM (#33809015)
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.

Re:Show HN: FIFA Interactive Bracket (World Cup) on Tuesday November 29, 2022 @08:58PM (#33795979)
Working on fixing this!
Re:Show HN: FIFA Interactive Bracket (World Cup) on Tuesday November 29, 2022 @09:34AM (#33788055)
Match 56?
Re:Show HN: FIFA Interactive Bracket (World Cup) on Sunday November 27, 2022 @02:50PM (#33766080)
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.
Re:Show HN: FIFA Interactive Bracket (World Cup) on Saturday November 26, 2022 @03:17PM (#33756242)
Good idea, thanks!
Re:Show HN: FIFA Interactive Bracket (World Cup) on Friday November 25, 2022 @06:06PM (#33747890)
Thanks, that's what I was going for!
Re:Show HN: FIFA Interactive Bracket (World Cup) on Friday November 25, 2022 @06:04PM (#33747877)
thank you!
Re:Show HN: FIFA Interactive Bracket (World Cup) on Friday November 25, 2022 @05:42PM (#33747652)
I'll look into it, good idea!
Re:Show HN: FIFA Interactive Bracket (World Cup) on Friday November 25, 2022 @01:06PM (#33745113)
Done!
Re:Show HN: FIFA Interactive Bracket (World Cup) on Friday November 25, 2022 @01:02PM (#33745079)
Done
Re:Show HN: FIFA Interactive Bracket (World Cup) on Friday November 25, 2022 @01:02PM (#33745077)
Thanks!
Re:Show HN: FIFA Interactive Bracket (World Cup) on Friday November 25, 2022 @01:02PM (#33745073)
The dates/times should now be localised!
Re:Show HN: FIFA Interactive Bracket (World Cup) on Friday November 25, 2022 @01:00PM (#33745054)
After further review, I think the extra goal was disallowed. Unfortunately, I don't think there is a way to filter these out.
Re:Show HN: FIFA Interactive Bracket (World Cup) on Friday November 25, 2022 @12:50PM (#33744950)
Done! Thank you for the suggestion.
Re:Show HN: FIFA Interactive Bracket (World Cup) on Friday November 25, 2022 @12:09PM (#33744493)
Done, thanks!
Re:Show HN: FIFA Interactive Bracket (World Cup) on Friday November 25, 2022 @12:07PM (#33744464)
Thank you!
Re:Show HN: FIFA Interactive Bracket (World Cup) on Friday November 25, 2022 @12:06PM (#33744463)
I'm not really sure how to address this, as the data source does not mark whether a goal has been disallowed or not.
Re:Show HN: FIFA Interactive Bracket (World Cup) on Friday November 25, 2022 @12:04PM (#33744423)
Good idea!

Older ยป