Better HN
topnewbestaskshowjobs
Log inSign up

nicolas-siplis

251 karma · joined Jun 16, 2017 (9y ago) · 51 submissions

nicolas.siplis [at] gmail.com
Submissions

1.

Magic: The Gathering Card Compiler(chiplis.com ↗)

1 points · by nicolas-siplis · 1mo ago · discuss

2.

Show HN: Serverless, cheater-proof MTG engine using zero-knowledge play(chiplis.com ↗)

1 points · by nicolas-siplis · 2mo ago · discuss

3.

Bend – a language that blocks AI mistakes via proof and runs on GPUs(bend-lang.com ↗)

616 points · by nicolas-siplis · 2mo ago · 327 comments

comment 5mo ago · link · parent

Hey HN! I've been working on this for the past few months and I think it's at the point where I'm ready for some user feedback. It's a WASM engine attempting to accurately model all of MTG's rules and cards. AFAIK, this is the first MTG engine which tries to accomplish this by live compiling the entire card collection at runtime, instead of coding each individual card.

You can create your own unique cards to playtest against ("Compile Card" button is what you're looking for), as long as they follow the engine's supported grammar (which I'm working on so that it fully supports Magic's ~30k legally playable cards, currently at 26k partially/20k fully supported).

It also supports 4-way P2P multiplayer lobbies via PeerJS, though I haven't had enough time to test everything network related so there may be some hidden bugs there!

My dev process was heavily influenced by the recent surge in agentic coding, but I think I've settled on an architecture which successfully manages to avoid slop creeping in:

Each card from its original, normalized oracle text into a CardDefinition struct which contains every single behavior for that particular card. By the time this card definition is compiled, we no longer have access to the original oracle text.

Each effect in the card's compiled definition can be decompiled into human readable text, after which a series of normalization steps based on the AST structure of the card's compilation and a post-pass to cleanup awkward wording is applied. The resulting compiled oracle text is compared against the original card's using vector embeddings, which gives us a semantic similarity score.

The entire purpose of this development workflow is making it obvious to the AI which cards are working correctly and which ones still need better support, without having to rely on behavioral tests for every single card. It took me some time until I finally managed to get the architecture to the point where the AI doesn't cheat its way into improving the card coverage, but the whole experience has been a fantastic way of getting used to this new way of coding and I'm excited to see how the future of our profession looks like in a few years.

I'm looking for any kind of feedback, both UI/UX and engine related, so please share your thoughts!

5.

Ironsmith – A full grammar, parser, and compiler for Magic: The Gathering cards(chiplis.com ↗)

2 points · by nicolas-siplis · 5mo ago · 1 comment

comment 6mo ago · link · parent

Million thanks for this! I stumbled upon XMage at some point but I didn't think of reusing their test suite. I'll see what Codex can cook up, I already have a WASM API which looks fairly similar to what XMage is doing for their tests so hopefully it won't be too hard to port them over!

7.

Show HN: A (de)compiler and parser/engine for custom Magic: The Gathering cards(chiplis.com ↗)

4 points · by nicolas-siplis · 6mo ago · 2 comments

comment 7mo ago · link · parent

I'm actually working on this right now! https://chiplis.com/ironsmith

It's a parser + (de)compiler and rules engine which I'm trying to get to 100% coverage over all Standard/Modern/Vintage/Commander legal cards. About 23000 of them are partially supported, while 15k currently work in full (~3k more than what MTGA currently supports, IIRC). It also allows for P2P 4-way multiplayer which Arena unfortunately does not :/

9.

Ironsmith – MTG card (de)compiler and multiplayer rules engine(github.com ↗)

2 points · by nicolas-siplis · 8mo ago · discuss

10.

Show HN: Ironsmith – MTG card (de)compiler and multiplayer rules engine(chiplis.com ↗)

1 points · by nicolas-siplis · 8mo ago · discuss

comment 3y ago · link · parent

Hi HN! The last couple years I fell into an "interesting" relationship with "investing" and so I decided to focus my ludopathy into something remotely useful. Unfortunately, instead of that I bring to you... Gambeth!

Anyone can create their own market with an arbitrary number of options. The submission links to Argentina's presidential elections market, feel free to try it in the Goerli testnet and let me know in the comments if you need some testnet USDC to play with it.

The "Explore markets" option is super barebones but should at least give you the list of all created markets.

I plan on doing a release on the Polygon network, but I'd love to have some feedback for the beta version.

The whole code is open source but honestly pretty illegible at the moment. I need to dedicate a day to splitting/reorganizing the code, and probably start to consider an actual framework instead of vanilla JS. If all that hasn't scared you away: https://github.com/chiplis/gambeth

I'm looking for people willing to contribute to a UI revamp but PR's are welcome on anything and everything, all of the time.

12.

Gambeth – Decentralized parimutuel prediction market platform(gambeth.com ↗)

1 points · by nicolas-siplis · 3y ago · 1 comment

13.

Show HN: Gambeth, fully decentralized, serverless prediction market platform(gambeth.com ↗)

1 points · by nicolas-siplis · 3y ago · discuss

comment 3y ago · link · parent

Hey there, just wanted to thank you because you also fixed my Twitter Spaces downloader app[0]! After the API changes the default bearer token I was using (same as yours) stopped working, but after changing the same way you all's back to normal :D

0: https://github.com/Chiplis/moonbird

comment 3y ago · link · parent

Been trying to find one through Twitter but haven't had any luck, would super appreciate an invite!

comment 3y ago · link · parent

One might entertain a contrary perspective on the issue of ChatGPT. Rather than being a monolithic linguistic equalizer, it could be seen as a tool, a canvas with a wide spectrum of applications. Sure, some may choose to use it as a crutch, diluting their creativity, yet others might harness it as a springboard, leveraging it to explore new ideas and articulate them in ways they might not have otherwise.

Consequently, the notion that ChatGPT could 'bring down' the more skilled among us may warrant further scrutiny. Isn't it possible that the 'upper echelons' might find novel ways to employ this tool, enhancing rather than undermining their capabilities?

Similarly, while summarization can be a blunt instrument, stripping away nuance, it can also be a scalpel, cutting through verbosity to deliver clear, concise communication. What if ChatGPT could serve as a tutor, teaching us the art of brevity?

The generated words may risk becoming 'blasé', as you eloquently put it, but again, isn't it contingent on how it's used? Can we not find ways to ensure our individual voice still shines through?

So, while I understand and respect your concerns, I posit that our apprehensions should not eclipse the potential that tools like ChatGPT offer us. It might not just be a 'parrot' – but a catalyst for the evolution of human communication.

Though I'm hoping you didn't suspect it, I should warn you this comment was written by you know what (who?).

17.

Show HN: IronBoy, a highly accurate GameBoy emulator written in Rust, runs WASM(nicolas-siplis.com ↗)

33 points · by nicolas-siplis · 3y ago · 5 comments

comment 3y ago · link · parent

I remember reading the original version and thinking "Ah, this would be so much more grokkable if only I knew Haskell"... Delusions of grandeur are a marvelous thing!

comment 3y ago · link · parent

I _think_ it still works as expected if you enter fullscreen mode from the browser itself, unless I'm misremembering.

comment 3y ago · link · parent

Hey there! I've been working on a Game Boy emulator since last year and found the GameRoy project, which translates the PPU's logic from SameBoy, the (AFAIK) most accurate GB emulator around. I basically copied the PPU logic into my emulator and replaced the "state" property (an integer) with enums for some extra clarity.

https://github.com/nicolas-siplis/feboy

https://github.com/rodrigodd/gameroy

https://github.com/LIJI32/SameBoy/

comment 4y ago · link · parent

The explanation I read used Finding Wally as an example:

I can put a piece of paper with Wally's silhouette cut off in front of the book. Align Wally to fit into the silhouette and you're done! The paper just needs to be considerably bigger than the actual book, so other people can tell I know where Wally is without actually knowing his location.

comment 4y ago · link · parent

I have 0 experience with theorem provers (and almost 0 with proofs in general) but am at least somewhat aware of their existence. This might be the first time I feel like I can actually follow the code. Might start learning Oak because of this post, so thanks!

comment 4y ago · link · parent

I think the distinction lies in God being that which cannot be moved, having infinite power is not enough to be God.

comment 4y ago · link · parent

Femme fatale is the first thing that comes to mind.

25.

Building a decentralized prediction market platform in 200 lines of Solidity(nicolas-siplis.com ↗)

2 points · by nicolas-siplis · 4y ago · discuss

comment 4y ago · link · parent

Update: One of the Reddit devs just posted a comment with some more information: https://www.reddit.com/r/help/comments/s4095g/resolved_block...

27.

Ask HN: What the hell happened to Reddit on Firefox?

8 points · by nicolas-siplis · 4y ago · 3 comments

comment 5y ago · link · parent

Huh, I wonder if there's any relationship to the Hairy Ball theorem. They appear to describe similar situations, but on different dimensions.
12