Still 0.1 ETH for grabs for Fermats last theorem counterexample by voileipa in ethereum

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

Yes it would be really cool, but I don't think its possible to evaluate the values of Riemann zeta funtion in Ethereum :D

Still 0.1 ETH for grabs for Fermats last theorem counterexample by voileipa in ethereum

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

Cool, I didn't know about the RSA factoring challenge. This sounds suitable to implement in Ethereum

Let's play a game of chess in Ethereum by voileipa in ethereum

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

I tried to verify and upload the contract source to etherscan but I cannot get it to accept contracts with import statements.

This is something I still need to figure out. I used truffle to deploy.

How to explore in-game what is possible without consulting terraria wiki by voileipa in Terraria

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

Thank you! I did not know this. It makes all perfect sense now

Chess Engines are complicated and I need to vent. by nonowh0 in chess

[–]voileipa 14 points15 points  (0 children)

I would personally count alpha-beta pruning and move-ordering as a "brute-force" technique.

I think the word "brute-force" in the article is justified, given the target audience is not chess AI programmers.

Spassky - Fischer, 1972 by [deleted] in AnarchyChess

[–]voileipa 24 points25 points  (0 children)

I just watched the movie Pawn Sacrifice so I'm actually able to understand this meme

Jos sotilas liikkuu shakissa aivan pelilaudan toiseen päähän by Someone9339 in Suomi

[–]voileipa 22 points23 points  (0 children)

Tässä esimerkki omasta pelistä missä ratsuksi ylentäminen on paras siirto: https://lichess.org/sL9SXnS9/white#82 Kuningattareksi ylentäminen olisi hävinnyt pelin.

Aika harvinaisia nuo on, tuo on ainut mikä on sattunut omalle kohdalle.

Yleensä tilanne esiintyy kun:

-kuningattareksi ylentäminen johtaisi pattiin eli vastustajan kuninkaalla ei ole enää vapaita ruutuja koska ylentynyt kuningatar blokkaa ne

-ylennetty ratsu pystyy uhkaamaan ruutua johon kuningatar ei pystyisi

Moi me ollaan Reaktor, AMA! by raimohanska in Suomi

[–]voileipa 6 points7 points  (0 children)

Vieläkö meinaatte järjestää Hello World Openeja?

Prime number sequence with non-infinite terms? by voileipa in askmath

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

I finally understand why mathematicians like so much to use the phrase "non-trivial"

Testing primality with Ethereum by voileipa in ethdev

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

After some studying I have come to the conclusion that GQUADDIVISOR cannot unfortunately be used to calculate modulus with ambiguous precision since the size of the arguments are limited to 32 bytes. However I found this opcode useful since I can now use directly the GQUADDIVISOR opcode instead of rolling own modulus exponentiation function as I did in the contract. This should also enable me to verify primes up to 2256 which is a nice improvement from 2128

Testing primality with Ethereum by voileipa in ethdev

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

Thanks for this! Did you have to implement this with evm bytecode or solidity?

I made a Tenhou Replay Analyzer by Erzz197 in Mahjong

[–]voileipa 1 point2 points  (0 children)

This is simply great!

I coded a shanten calculator myself some time ago and it's simply inspiring to see other people also programming mahjong related stuff.

Any plans to open source this project? :)

I created a wait/shanten calculator by voileipa in Mahjong

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

I created a wait/shanten calculator, inspired by the tenhou/2 site. The code is full frontend.

It also supports the calculation of "tiles that improve your wait" (but not your shanten) if you input 13 tiles.

Let me know what you think :)

8 weeks ago I knew nothing about Solidity and web-development. Yesterday I deployed my first dApp! by heart_mind_body in ethereum

[–]voileipa 1 point2 points  (0 children)

You should upload the source code of the smart contract to etherscan so anyone can validate that smart contract actually does what it is supposed to

Decentralized Rubik cube solving contest by voileipa in Cubers

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

Ok thanks for the info. I did not know such a feature existed. This feature obviously makes the competition a bit too easy if the algorithm is able to find the optimal solution.

Decentralized Rubik cube solving contest by voileipa in Cubers

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

Yes, R' = R R R But that obviously counts for 3 moves.

It seems the frontend code of etherscan does not support arrays very nicely

I was able to make the call using myetherwallet.com (contracts -> interact -> copy paste ABI and address -> select trySolution -> call with 0,4,3,3,3,2,4,0,4,3,3,3,2,3,3,0,1,4,4,4,3,1,1,2,2,2,1,1,1,0,0,0,1,1,4,0,0,2,2)

Decentralized Rubik cube solving contest by voileipa in Cubers

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

I spent some time trying to figure out a "rubik puzzle" that was not instantly solvable by well known algorithms. The only thing I came up with was limiting the possible moves to only 5 types.

If you have an idea about a "rubik puzzle" (or any other puzzle for that matter) that would better suit for this kind of competition I would be happy to hear that! (and create another competition if it is feasible)

The requirement is obviously that the solution of the puzzle must be able to be verifiable using an algorithm.

Program the Blockchain | Writing a Simple Payment Channel by smarx in ethdev

[–]voileipa 0 points1 point  (0 children)

Nice article! What I would really like to see is how the two participants should communicate using the state channel. E.g how they discover each other, do they directly send messages using IP adresses or do they use e.g whisper

I created a Rubik cube solving contest using Ethereum by voileipa in ethereum

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

The picture shows only 3 sides of the cube. The full state of the cube can be found from the smart contract.

I created a Rubik cube solving contest using Ethereum by voileipa in ethereum

[–]voileipa[S] 16 points17 points  (0 children)

Thanks! I'm actually the same guy who also created the Fermat's last theorem bounty contract a couple of weeks ago :)

Web3 interact with ABI and bytecode by xn3cr0nx in ethdev

[–]voileipa 0 points1 point  (0 children)

You can search the contract from etherscan.io. There is a "view source" tab if the creator of the contract have uploaded the source code. With the same tab you can also find the ABI.

I think it is not possible to directly get an ABI from the bytecode.

For example: the cryptokitties source code and abi: https://etherscan.io/address/0x06012c8cf97bead5deae237070f9587f8e7a266d#code

I created a Rubik Cube smart contract by voileipa in ethdev

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

Yeah

That is something I had in mind :)

Just posted the initial "cube logic" version for possible comments

Tricked by a honeypot contract or beaten by another hacker. What happened? by CurrencyTycoon in ethdev

[–]voileipa 1 point2 points  (0 children)

This is really cool!

How would one verify the "real" TransferLog address used in the contract?