HNHacker News
TopNewBestAskShowJobs

max0563

1,171 karma · joined September 29, 2012

submissionscomments
max0563··on Show HN: ArcaneVM – A Fully Homomorphic Encryption Brainfuck Virtual Machine
Well, this project as it currently is makes no sense to use for anything real. What this project is trying to show is that ANY computation is possible with this.

So we don’t necessarily have to create an entire VM to, say, run a FHE machine learning model. That can be built directly and specifically optimized for the task. I think that’s where this is currently useful for real world stuff.

max0563··on Show HN: ArcaneVM – A Fully Homomorphic Encryption Brainfuck Virtual Machine
Think about it like this.

We have a couple of variables: the data pointer, the instruction pointer

The values of these are encrypted BUT we can change them by performing logical operations (AND, OR, XOR, etc) on them.

So a cycle of the VM asks

1. Is the current instruction the correct instruction?

2. Is the current data cell the correct data cell?

Obviously if we knew the value of the instruction pointer we could just go straight to the correct instruction, and if we knew the index of data cell I could go straight to it.

The problem is that we don't know either of these things. So we have to go to every instruction and every data cell and check if it's the correct one. If it is then we can perform the instruction, otherwise we move on.

You can see now why this would be slow too. It's even slower though because in order to do this "check" we have to execute logic gates and the gates can take ~0.8 seconds (on a somewhat modern CPU).

max0563··on Show HN: ArcaneVM – A Fully Homomorphic Encryption Brainfuck Virtual Machine
The simplicity of BF makes it incredibly appealing for stuff like this.
max0563··on Show HN: ArcaneVM – A Fully Homomorphic Encryption Brainfuck Virtual Machine
Just for fun. I am taking it seriously, but I have no other motives other than to learn. This tech has serious potential to fix a lot of privacy problems. I thought it'd be good to have this out there.
max0563··on Show HN: ArcaneVM – A Fully Homomorphic Encryption Brainfuck Virtual Machine
Yeah, it has a very small number of instructions and is still Turing Complete. The Brainfuck code gets compiled to bytecode so I guess technically I could have used anything. The underlying VM was created with BF in mind though.
max0563··on Show HN: MyPodium – An audio-only social network
Cool idea but I really don't like the booing and the cheering. It's incredibly annoying.
max0563··on Ask HN: What's Your Side Project?
Wow this is really freaking cool!! You just made a tool that auto documents bits of code this is incredibly useful.
max0563··on Ask HN: What's Your Side Project?
Wow, well good on you that sounds really good. Have a link you can share?
max0563··on Ask HN: What's Your Side Project?
Sounds like a lot of cool learning was done though :)
max0563··on Ask HN: What's Your Side Project?
Can you elaborate a bit more on this?
max0563··on Show HN: Geo-Info – A Simple Geocoding API
Thanks! It’s not open source. No current plans of open sourcing it either
max0563··on Devilution – A web port of the original Diablo game
And same with Safari :/
max0563··on Slack was down
It was funny at first now all this downtime stuff is just ridiculous
max0563··on Show HN: ImportDoc – Use the content from a Google Doc in any web page
All these ideas are cool, but I am not sure how I feel about further locking myself into the google ecosystem.
max0563··on Reddit Is Down
It also loaded properly if you were not logged in.
max0563··on Cloudflare Network Performance Issues
Cloudflare is too big.
max0563··on AWS experiencing connectivity issues
Yeah, I thought it was my internet connection this morning. Spent like a half hour trying to debug router issues only to realize that it's AWS. So many sites aren't/weren't working. I can't even access the console.
max0563··on Show HN: Fist – Persistent Full Text Search and Indexing Server Written in C
This is very helpful. I am working on all of this, but summarizing it all here helped me a lot. Thank you.
max0563··on Show HN: Fist – Persistent Full Text Search and Indexing Server Written in C
This is one hell of a comment. Thank you, sir.
max0563··on Show HN: Fist – Persistent Full Text Search and Indexing Server Written in C
Hey all, Fist project creator here. Just wanted to thank everyone for the support and the comments. I’ve been working on this project for a few months now mainly as a passion project. It’s awesome to see some people taking an interest.

I could definitely use some help on this. Whether it be giving advice or writing actual code.

If anyone would like to chat more about this I have setup a slack channel for be project. Here is the invite link

https://join.slack.com/t/fist-global/shared_invite/enQtNjcyN...

Thank you again for all the support, I’m excited to continue development.

max0563··on Show HN: Fist – Persistent Full Text Search and Indexing Server Written in C
Thanks for this!

Right now it is not very complicated. An inverted index of the text that is sent over is created and added to the database. The DB is just a big hash map. Searching right now is just an O(1) lookup in this hash map of the text being searched in this hash map.

I have plans to improve this of course. There is a lot of room for improvement. I am also planning on adding scoring using TF-IDF, but it's not done yet.

Any help with this would be more than appreciated!

max0563··on Show HN: Fist – Persistent Full Text Search and Indexing Server Written in C
Very good idea. Can't say I haven't also thought about this. I was also thinking about doing what Tile38 (https://github.com/tidwall/tile38) does and using the REDIS protocol. HTTP is a better option though. Or just both.
max0563··on Show HN: Fist – Persistent Full Text Search and Indexing Server Written in C
Oh damn, this is a good idea. I just really wanted to call this project Fist and couldn't figure out how to do that. I see that you are more clever than I am. I am going to use this, I think. Ty
max0563··on Show HN: Fist – Persistent Full Text Search and Indexing Server Written in C
Project Dev here, if you'd be willing to help me with that part I would be greatful. When I talk about "fast" I mean all searches are O(1) due to the magic of hash maps.
max0563··on Show HN: Fist – Persistent Full Text Search and Indexing Server Written in C
Project developer here: Would gladly accept some help with this if you'd be willing to offer it.
max0563··on Show HN: Fist – Persistent Full Text Search and Indexing Server Written in C
Hahaha, I love this! Got me fired up xD
max0563··on Show HN: Write code using natural language
The problem with this kind of stuff is that by due to the ambiguity of natural language, it becomes more complicated to actually do this at scale.

Also, you are essentially creating another programming language that I have to learn and I don't want to learn it.

"Writing code using natural language" should mean that I can write code without having to follow any kind of format.

I should be able to say "find the smallest item in the list" and "give me the smallest element in the list" and that should work the same way. Right now these natural language programming languages are still just that - programming languages.

max0563··on Playdate – A New Handheld Gaming System
Me too. I really like their spin on the Gameboy.
max0563··on Playdate – A New Handheld Gaming System
I think they might have just revolutionized gaming.
max0563··on Show HN: ZFS Implementation in Python
I had this problem too. I’ve been able to get over it by from coming up with a scenario, even if it’s completely fabricated, where what I am doing can be useful. I also make sure that I incorporate something new that I want to learn in the project. Whether it’s a language, library, whatever. Then I give myself a date I can quit. Normally it’s about two months. This makes me really consider whether I want to take something on because if I do I force myself to dedicate two months of time to it. If I enjoy it still at the end of two months then I continue otherwise I move on to another idea. At least in that time I because a little better at whatever I was trying to do. That’s the real goal anyway.
← PreviousPage 2 of 5Next →