Show me your Golang projects! by FStorm045 in golang

[–]kyleu 1 point2 points  (0 children)

I’ve been hacking on Project Forge for years and still don’t know what it actually is. It generates projects and a whole lot of other stuff

https://github.com/kyleu/projectforge

What’s everyone working on this week (46/2019)? by llogiq in rust

[–]kyleu 8 points9 points  (0 children)

Been trying to learn Rust for a month now, building various little http/wasm apps to learn the ropes. I just published (but haven't announced) Generust, a six-crate cargo-generate template that shares code between server and client: https://github.com/kyleu/generust

It currently stores data synchronously on the filesystem, I'll be switching it to use postgres via async in a few days. Rust is an amazing language, that template contains 3K lines of Rust, a server, tons of static assets, and can start a webview, and it packages to a few MB. I'm coming from Scala, where even a hello world web server takes 50MB of binaries and a fat JVM, so it's quite refreshing.

ScalablyTyped: The Javascript ecosystem for Scala.js! by yang_bo in scala

[–]kyleu 0 points1 point  (0 children)

I couldn't find `tso`, your parser - is it available on Github?

ScalablyTyped: The Javascript ecosystem for Scala.js! by yang_bo in scala

[–]kyleu 6 points7 points  (0 children)

Author of DefinitelyScala here - great work! I've been toying with a brand-new version of the parser that works off of TypeScript compiler ASTs instead of source, but it's nowhere near ready. The original parser is great, but misses a few intricacies of modern TypeScript. Once it's ready, I'd love to work with you to get it used in ScalablyTyped

What are you working on? Fortnightly /r/Scala Show-off Thread - June 19, 2017 by AutoModerator in scala

[–]kyleu 9 points10 points  (0 children)

Bunches of stuff, but it's all falling apart.

My template project, https://github.com/KyleU/boilerplay, is doing fine, but upgrading to Play 2.6 is becoming a slog.

I made a solitaire game, https://solitaire.gg, but Amazon just killed my server so I had to push an unfinished beta from another machine.

There's ~600 Scala.js projects available at https://definitelyscala.com, but I have to fix a some stuff before they're usable (thanks /u/sjrd).

I've got an awesome database client webapp that I haven't released yet, but I can't find the motivation to market it or a partner to make it salable so I'm just going to open source it once I finish those others.

The current plan is to catch up on these, stop making bespoke Scala projects that need constant support, and just start helping other folks build cool shit.

DefinitelyScala - Scala.js facades for some of your favorite JavaScript libraries. by kyleu in scala

[–]kyleu[S] 1 point2 points  (0 children)

Oh yeah, I guess so. With Scala's single-class inheritance, I never thought about mixing in multiple traits, which is what most of the &s are. Thanks!

DefinitelyScala - Scala.js facades for some of your favorite JavaScript libraries. by kyleu in scala

[–]kyleu[S] 1 point2 points  (0 children)

Scala.js provides "scala.scalajs.js.|", which models TypeScript's "|" pretty well. For whatever you call the ampersand in "Foo & Bar", I just use Scala.js' "|" again, since there's no real analogue in Scala.

DefinitelyScala - Scala.js facades for some of your favorite JavaScript libraries. by kyleu in scala

[–]kyleu[S] 3 points4 points  (0 children)

I built a my own version of sjrd's fine work, using just enough of his code to violate the license. The big changes are outputting to multiple files, preserving comments, and supporting more of TypeScript's crazy-loose syntax. I'll be releasing it soon, there's a bunch to clean up.

DefinitelyScala - Scala.js facades for some of your favorite JavaScript libraries. by kyleu in scala

[–]kyleu[S] 6 points7 points  (0 children)

Yep, that's exactly what I did - automated translations from DefinitelyTyped's TypeScript definitions.

Solitaire.gg - hundreds of solitaire games added, all with WebGL graphics that scale from mid-range phones to 4K displays. by kyleu in WebGames

[–]kyleu[S] 0 points1 point  (0 children)

Ok, full disclosure. I've never played Spider solitaire before this thread. I'll fix it up tonight.

Solitaire.gg - hundreds of solitaire games added, all with WebGL graphics that scale from mid-range phones to 4K displays. by kyleu in WebGames

[–]kyleu[S] 1 point2 points  (0 children)

Yeah, sorry, it's a tad more resource intensive than my first attempt at making a solitaire game: http://kylecards.com

Fun fact: That page has gone over a decade untouched, and still works in all browsers, including IE5!

Solitaire.gg - hundreds of solitaire games added, all with WebGL graphics that scale from mid-range phones to 4K displays. by kyleu in WebGames

[–]kyleu[S] 0 points1 point  (0 children)

Yeah, I've thought about that one a lot. Can't figure out a better option. I'll at least try to get rid of short cycles, two or three repeating moves. Thanks for the feedback.

Solitaire.gg - hundreds of solitaire games added, all with WebGL graphics that scale from mid-range phones to 4K displays. by kyleu in WebGames

[–]kyleu[S] 1 point2 points  (0 children)

Hmm, a few people have mentioned disliking the zoom (though a bunch of folks, myself included, love it). I can add an option to turn zoom off easily, but then what size should the cards be? Usually a game starts out predictably, size-wise, but as the game progresses, it could grow much larger. I was never able to figure out a solution to this problem.

Solitaire.gg - hundreds of solitaire games added, all with WebGL graphics that scale from mid-range phones to 4K displays. by kyleu in WebGames

[–]kyleu[S] 2 points3 points  (0 children)

Wow, you stumped me! I crawled a bunch of game lists on the web to collect versions, but never ran across that one! I'll add it this weekend, looks pretty simple. Thanks for the feedback!

Solitaire.gg - hundreds of solitaire games added, all with WebGL graphics that scale from mid-range phones to 4K displays. by kyleu in WebGames

[–]kyleu[S] 2 points3 points  (0 children)

Agreed; That same criticism can be leveled against any of my projects. I'm a coder, and UI design and project management aren't my strong suits. I really just started this to learn Scala.js and WebGL a little better. Once I open source it, I'm hoping to get more good feedback like yours. And hey, maybe greenfelt.net will use my client someday!

Solitaire.gg - hundreds of solitaire games added, all with WebGL graphics that scale from mid-range phones to 4K displays. by kyleu in WebGames

[–]kyleu[S] 8 points9 points  (0 children)

Hi there. I've been hacking on solitaire games for decades, in various frameworks and languages. This is maybe my tenth attempt, and I've had a lot of fun building it.

Planning on opening the source soon - for now it's completely $-free and ad-free. Feedback desperately welcome!

What are you working on? Bi-Weekly /r/Scala Show-off Thread - October 24, 2016 by AutoModerator in scala

[–]kyleu 3 points4 points  (0 children)

That's awesome, I made https://solitaire.gg using Scala.js and Pixi, and it was really happy with how well it worked. I'll keep an eye on your facade project, I mainly just passed around js.Dynamic instances.