HNHacker News
TopNewBestAskShowJobs

tslocum

768 karma · joined November 30, 2010

It's time to stop thinking and start doing
submissionscomments
tslocum··on Valve announces Frog Protocols to bypass slow Wayland development
Oof. I can understand why Valve wants to push this forward. But bypassing the existing protocol development just doesn't seem right.

Has Valve made every effort to assist in moving the official protocol forward before resorting to this? Reading the MR comments, the concensus seems to be that any remaining delay in publishing an official protocol is just a lack of maintainer/contributor activity. Seems like a perfect place for Valve to invest some man-hours and get it over the finish line.

tslocum··on Tetris Game Shows Promise in Reducing PTSD Symptoms
The version I linked supports both single player and online (competitive) multiplayer. The 'Practice' option allows playing single player.
tslocum··on Tetris Game Shows Promise in Reducing PTSD Symptoms
More HN-esque:

  ssh playnetris.com
https://playnetris.com
tslocum··on Ask HN: Who wants to be hired? (September 2024)

  Location: Seattle, WA
  Remote: Yes (6 years of WFH experience)
  Willing to relocate: No
  Technologies: Go (Golang for Ctrl+F), Java, PHP, Python, JavaScript, HTML, CSS, PostgreSQL, MySQL, Linux sysadmin, Docker, Docker Compose
  Résumé/CV: Full résumé available upon request
  Email: tslocum@gmail.com
Professional software engineer for ten years, hobbyist programmer for many more. Active and passionate open source software author and contributor. Fully self-taught, and always excited to learn more. Seeking a fully remote position.

  Portfolios:
    - Code: https://code.rocket9labs.com/tslocum
    - GitHub: https://github.com/tslocum
    - Games: https://rocketnine.itch.io (All open source and written in Go)
tslocum··on Show HN: Shed Light on Your Go Binary Bloat with Go Size Analyzer
I have been using this for a while to reduce the size of boxcars[0]. While the web UI is awesome, I recommend the TUI mode instead (gsa --tui <binary>), as I find it much easier to use and understand.

0. https://code.rocket9labs.com/tslocum/boxcars

tslocum··on Ask HN: What are you working on (August 2024)?
Open source online backgammon. Backgammon is fairly niche, so there seems to be a lot of opportunity for backgammon software to be developed. I'm taking inspiration from Lichess, having enjoyed playing chess there for years. Check out the server, client and backgammon AI I'm working on at https://bgammon.org

(Source code at https://bgammon.org/code)

tslocum··on Price increase for .COM, .XYZ, and more domains
It's not hard to guess where this is heading. Unless you are wealthy enough, you will eventually be priced out of owning domains with certain TLDs. We need domains for the internet to function, and we all want domains to remain predictably priced. So let's nationalize the .com and .net TLDs and loosen Verisign's grip. Combining that with price controls would provide a secure alternative to trusting privately owned TLDs.
tslocum··on Don't disrespect Alan Turing by reanimating him with AI
Generating likenesses of people without their consent, dead or alive, is immoral. Considering Alan isn't here today to provide consent, we must assume his answer would be "no."
tslocum··on Go is my hammer, and everything is a nail
Sorry, this comment is so incorrect that I have to ask, what are you basing it on?

You can create games today using Go without cgo, and there are numerous examples of shipped games of varying complexity and quality. I do this to ship the bgammon.org client to Windows, Linux and WebAssembly users, all compiled using a Linux system without any cgo.

https://ebitengine.org

https://github.com/sedyh/awesome-ebitengine#games

tslocum··on Ask HN: Who wants to be hired? (August 2024)

  Location: Seattle, WA
  Remote: Yes (6 years of WFH experience)
  Willing to relocate: No
  Technologies: Go, Java, PHP, Python, JavaScript, HTML, CSS, PostgreSQL, MySQL, Linux sysadmin, Docker, Docker Compose
  Résumé/CV: Full résumé available upon request
  Email: tslocum@gmail.com
Professional software engineer for ten years, hobbyist programmer for many more. Active and passionate open source software author and contributor. Fully self-taught, and always excited to learn more. Seeking a fully remote position.

  Portfolios:
    - Code: https://code.rocket9labs.com/tslocum
    - GitHub: https://github.com/tslocum
    - Games: https://rocketnine.itch.io (All open source and written in Go)
tslocum··on CrowdStrike Update: Windows Bluescreen and Boot Loops
Poe's law in action.
tslocum··on Libera IRC Channels Sorted by Number of Users
If you are a fan of free software and you are at least slghtly backgammon-curious, join us at #bgammon, home of https://bgammon.org
tslocum··on Show HN: Resurrecting a dead Dune RTS game
CS2 is considered by some to be a downgrade compared to CS:GO (yours truly included). I have heard reports of tournament PCs being unable to hold a decent FPS in CS2, whereas they worked great with CS:GO. You can find many user reports sharing similar results, even with higher-end PCs.

Valve wants CS2 to be seen as the continuation of CS:GO, and instead of making a better game to replace it naturally, they forced the change on their playerbase. I, and others, will be bitter about this for some time, as CS:GO is an excellent game.

tslocum··on Do Not Upgrade to Any Version of MySQL After 8.0.37
Use MariaDB. Or, even better, switch to PostgreSQL.
tslocum··on The first 10k games at bgammon.org, an open source online backgammon service
I think the opening position evolved out of a desire for more interesting openings and resulting middle and end games. The position does seem strange at first, but it is sort of the foundation for more sensible positions, like turning 6-1 into a fortification of two pieces on the same space. Without the opening position, you would only have at most one checker on a space with this roll. I have absolutely nothing to prove any of this, it's purely speculation, as this is something I've wondered about as well.
tslocum··on The first 10k games at bgammon.org, an open source online backgammon service
The reduced performance is a Go problem rather than a WebAssembly problem. See this issue for more info:

https://github.com/golang/go/issues/28631

tslocum··on The first 10k games at bgammon.org, an open source online backgammon service
If you have JavaScript, WebAssembly and/or Canvas elements disabled, the game won't be able to run in your browser. If you take a look at your browser's console, there might be a helpful error message.

Acey-deucey and tabula games are supported in addition to backgammon.

tslocum··on The first 10k games at bgammon.org, an open source online backgammon service
Thanks. Lichess really has paved the way for other libre online games. Congrats on the upcoming milestone. :)
tslocum··on The first 10k games at bgammon.org, an open source online backgammon service
It should be possible to support this variant. (PRs welcome!)

I've opened an issue for tracking this:

https://code.rocket9labs.com/tslocum/bgammon/issues/21

tslocum··on The first 10k games at bgammon.org, an open source online backgammon service
Thanks. Yes, that makes sense. The web version of the game is powered by WebAssembly and renders to a canvas.

The game is only able to utilize one CPU core when running in the browser, maxing that core out probably set off your fans.

tslocum··on The first 10k games at bgammon.org, an open source online backgammon service
Thanks. Yes, I hope to support analyzing games in the future. I experimented with interfacing with gnubg to accomplish this, and hit a brick wall, as gnubg really isn't designed for computers to use it. From what I can tell, I would need to scrape the terminal output of gnubg to do this programmatically. I haven't found any open source engines that seem easier to interface with, if anyone knows of one, please share.

The internal keyboard is shown rather than the device keyboard because on many devices, using the device keyboard does not work. It either doesn't show at all, or it is shown but key input is not registered. I hope that the game engine powering bgammon.org adds support for using device keyboards soon, and will be glad to revert to using device keyboard as soon as possible.

tslocum··on The first 10k games at bgammon.org, an open source online backgammon service
I would rather offer the browser-based version to everyone, but it is an objectively worse experience because of the state of the Go compiler. You can still visit the broswer-based version if you want to, it's just a link swap on the page done in JavaScript.

Out of curiosity, what do you think I should do? Keep in mind, not everyone feels the same about being "cajoled" into installing an open source application. But virtually everyone won't appreciate the UI hangs.

tslocum··on The first 10k games at bgammon.org, an open source online backgammon service
Thanks. The way inactivity is handled is covered in the FAQ: https://bgammon.org/faq/#what-happens-if-a-player-goes-inact...

You shouldn't need to wait more than 30 seconds to see a win in your history after you also leave the game.

Will you please share a screenshot of the dice issue?

tslocum··on The first 10k games at bgammon.org, an open source online backgammon service
I've designed the server and its embedded backgammon engine to use very few resources, so it's all able to run on a dual core VPS that I am already using for my numerous other projects. Everything needed, including Postgres, currently uses less than 256 megabytes of memory and negligible CPU.

As it grows, I intend to follow in Lichess' footsteps by offering a paid supporter badge without locking any functionality behind a paywall. Because the server is lightweight, just a few paid supporters should be able to offset the costs for many free users.

tslocum··on The first 10k games at bgammon.org, an open source online backgammon service
If the user-agent claims to be Android, the play link is changed to the Play Store. This is because the web client runs single-threaded[0] and has reduced performance when running in a browser on desktop, let alone when running on a mobile platform. When running as a native Android app, all of the device's CPU cores are utilized.

0. https://github.com/golang/go/issues/28631

tslocum··on The first 10k games at bgammon.org, an open source online backgammon service
Yes, you can type /resign when it is your turn to end the game.

Thanks. The keyboard input should only show up if your browser is indicating there is a soft keyboard available for the device. On Android, the device keyboard doesn't work for some reason. It definitely shouldn't show up on desktop, though. I will look into this.

The desktop version[0] shouldn't have this issue, if you want to give that a try.

0. https://bgammon.org/download/

tslocum··on The first 10k games at bgammon.org, an open source online backgammon service
Lichess has been a large inspiration for the project. I gave Lichess a shout-out for its influence in this blog post: https://bgammon.org/blog/20240101-hello-world/
tslocum··on The first 10k games at bgammon.org, an open source online backgammon service
Thanks for reporting this and including a screenshot. I appreciate it.

I've just resolved this on the server and in the web client (now v1.3.5p1, displayed at the lower right when the game loads).

tslocum··on The first 10k games at bgammon.org, an open source online backgammon service
Hey there, author here. Glad to answer any questions.

If you don't know how to play backgammon, check out this guide[0] and/or this video[1]. There is a lot of history[2] behind backgammon. bgammon.org is AGPL-licensed, the client[3] and server[4] source code is publicly available. The graphical client is powered by the excellent Ebitengine[5] game engine.

  0. https://bgammon.org/blog/20240201-how-to-play-backgammon/
  1. https://www.youtube.com/watch?v=KDvvKWi0ijs
  2. https://bgammon.org/blog/20240115-history-of-backgammon/
  3. https://code.rocket9labs.com/tslocum/boxcars
  4. https://code.rocket9labs.com/tslocum/bgammon
  5. https://ebitengine.org
tslocum··on Fake Elon Musk livestreams promoting crypto scams have plagued YouTube for days
I tried submitting the following article yesterday:

https://mashable.com/article/fake-elon-musk-crypto-scam-yout...

The scam streams are entirely or nearly identical in content. Considering the scale of automated copyright detection that takes place at YouTube, why are these identical/similar streams still on YouTube days after being reported on in the media?

← PreviousPage 2 of 5Next →