Live data from Hacker News

Viewing profile — sergex

sergex

HN member
Joined
Thu, Jul 05, 2018, 7:41 AM UTC
HN karma
120
Public activity
44 items

About sergex

I work on http://nandgame.com

Recent public activity

  1. comment
    Comment #42025176

    Author here. Yeah, the first level is special and perhaps half-baked. It felt like cheating to start with the NAND-gate as the atomic component since transistors are not NAND-gates…

  2. comment
    Comment #42025139

    Is your problem with the user interface, i.e. how to connect wires from input to output, or is is with the logical problem of getting the correct output?

  3. comment
    Comment #25302355

    Yes that would be great!

  4. comment
    Comment #25302341

    I'm not using canvas. SVG is used for the connections, the rest is HTML. I'm not using any particular library for the diagrams, since I couldn't find anything suiting my purpose un…

  5. comment
    Comment #25301664

    No it means you can either optimize for fewest components or fewest nand-gate. The text could be clearer.

  6. comment
    Comment #25296512

    Author here - I would love to do a few layers below the nand gate.

  7. comment
    Comment #25288851

    > I'd like to see the ability to "unbundle" the composite components. This is a great idea, and you are not the first to suggest it. I just haven't gotten around to implement it.

  8. comment
    Comment #25288019

    Yes it has improved a lot. Still more improvements to come!

  9. comment
    Comment #25287934

    Thank you very much for the suggestions.

  10. comment
    Comment #25287355

    Author here: The reason you drag from the input rather than output is that a pin can have only one input.

  11. comment
    Comment #25287049

    Author here - thank you for the feedback! The nand-count is based on how you built the components involved. So optimizing a component will have have cascading effects. "This is the…

  12. comment
    Comment #25286906

    Author here - It uses TypeScript and the Angular framework. Not because I prefer Angular in particular but because I had to learn it anyway for a work-related project. I think Type…

  13. comment
    Comment #24535099

    It is a web site, but it seems they have a "sites" plan for 5$ a month. Looks great, thanks!

  14. story
    Ask HN: Scalable Hosting for Side Project

    I have a side project which sometimes get many visitors. I initially hosted it on a cheap hosting provider, but on the first surge of visitors it got hugged to death. So I quickly …

  15. comment
    Comment #18532407

    That would be really cool. I need to refactor a bit to allow different translations of the text, but I can get back to you when it is possible.

  16. comment
    Comment #18525984

    Code goes into how logic gates like the nand gate are built, so it does start at a lower level than Nand to Tetris which start with nand gates as primitives.

  17. comment
    Comment #18525982

    Yeah it currently only compares the solutions towards the minimum number of components of any type. I also intend to compare against the minimum number of nand gates overall, but t…

  18. comment
    Comment #18522759

    That would be really cool!

  19. comment
    Comment #18521568

    I made a small game inspired by the first lessons in the course: http://nandgame.com/

  20. comment
    Comment #17531975

    Thank you for finding the bugs! It shouldn't even be possible feed a 5 to a one-bit connector. Yes I think I shot myself in the foot by designing the connectors so the labels could…

  21. comment
    Comment #17524945

    Actually there was a bug both in the text and in the code. A=1 should be 0x8FE0, but this was not specified correctly. I have fixed it now (I hope).

  22. comment
    Comment #17521228

    Thanks, it is a very cool idea. I wanted to make the game really simple and accessible, but there seem to be interest in optimization challenges like finding the smallest/cheapest/…

  23. comment
    Comment #17521198

    You are correct, the text is wrong. It should be 128KB, not 64KB. A word is two bytes (on a 16-bit architecture) so we can address 64K words which is 128KB. (I think you mixed up b…

  24. comment
    Comment #17517098

    May I ask about browser/platform and what you did to make this happen? I am not able to reproduce the issue.

  25. comment
    Comment #17516664

    Yeah I'm unsure how to clearly communicate how the connectors work.