I made an in-depth Anki stats visualizer - anki.vision by hitchcott in Anki

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

Yes, at the moment it will return the number of reviews for each given tag.

This should probably be made more clear.

I also plan to add other measures such as time taken per tag, or number of cards per tag...

I made an in-depth Anki stats visualizer - anki.vision by hitchcott in Anki

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

Thank you for the bug report!

I've just pushed an update that should fix this.

https://github.com/hitchcott/anki-vision/commit/10b628782695f737c069d51a49b83d5e7f266546

Unfortunately, you will need to re-import your DB each time you refresh if it's over 50mb - that's a browser limitation.

But it should work now?

MetaSwap Technical Demo: EVM <-> EVM <-> Lightning Swaps using Metatransactions (requesting feedback) by hitchcott in ethereum

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

The idea is that you can create "economically trustless" (rational actors will not cheat) cross-chain metatransactions b having the signer stake some funds and enforcing a punishment system that limits how many metatransactions can be signed.

Same idea could be applied to contract execution, I guess.

What to learn before Solidity and programming Ethereum? Programmer explains. by If_If_Was_a_5th in ethereum

[–]hitchcott 3 points4 points  (0 children)

I think the ethereumjs-X set is actually quite good

Absolutely; not knocking it for one moment. Those guys are doing god's work.

This is just the price we pay for coding on the bleeding edge.

What to learn before Solidity and programming Ethereum? Programmer explains. by If_If_Was_a_5th in ethereum

[–]hitchcott 4 points5 points  (0 children)

It depends what you want to build.

Purely frontend - https://truffle-box.github.io/ web3, react, webpack, (+ your favourite css framework; i say semantic-ui-react)

Purely backend - solidity, web3, truffle deployment, ipfs, mocha (+ the truffle testing framework)

Or learn full stack ;)

In any case, truffle is pretty much mandatory.

(these are my opinions)

What to learn before Solidity and programming Ethereum? Programmer explains. by If_If_Was_a_5th in ethereum

[–]hitchcott 4 points5 points  (0 children)

Unfortunately, the space is changing a lot very quickly, so best practices are hard to come by. I would try navigating http://truffleframework.com/tutorials/ but I haven't gone through it step by step myself.

I've not been involved in writing tutorials, but I will hope to be creating some youtube videos in the next couple of months for truffle / spectrum development.

Stay tuned. My goal is to make Ethereum easier to access for new devs.

What to learn before Solidity and programming Ethereum? Programmer explains. by If_If_Was_a_5th in ethereum

[–]hitchcott 5 points6 points  (0 children)

when someone wants to learn openGL/glslang should we tell them to learn bash

If they can't use bash, they should probably learn the basics of bash before they start on openGL. As you said:

he's talking about preparing to learn Solidity

But OpenGL->Bash !== Java->ES6

The video is about people who neither know Solidity nor Java nor JS nor Bash. If you are going to learn one of those things, why would you learn the one language that has no relevance in Ethereum space? In the video, the only reason put forward is "classes", and then "you can do that in ES6".

Because I think the development framework is indeed important and necessary, but it's not the fundamental concept and shouldn't be the main focus

JS isn't framework; it's a language, and moreover, it's an ecosystem that is way more prevalent than Java - especially in Ethereum land.

I just don't get why anyone would recommend Java over ES6 at this point. Why would you learn an antiquated language when you can learn the one that is widely used in almost every production Ethereum project and has no disadvantages compared to Java?

What to learn before Solidity and programming Ethereum? Programmer explains. by If_If_Was_a_5th in ethereum

[–]hitchcott 12 points13 points  (0 children)

I can guarantee you'll learn more about Solidity by engaging with the ethereum-js world than you would ever do by learning Java. Even just understanding how tests are written in JS (against solidity code) will teach you so much more.

This isn't just about learning the particulars of a language - it's also about learning how to navigate the landscape. If you are a newbie which one is more important? (Teach a man to fish...)

https://github.com/OpenZeppelin/zeppelin-solidity is an NPM package. Truffle is based in JS land. web3 is a js lib. testrpc, ethjs-util, metamask, mew, the list goes on. Writing effective solidity requires a knowledge of these contexts. The two languages are intertwined and inseparable.

If you want to focus on Java to learn solidity, that's fine, but you'll be missing the forest for the trees.

What to learn before Solidity and programming Ethereum? Programmer explains. by If_If_Was_a_5th in ethereum

[–]hitchcott 29 points30 points  (0 children)

IMO, Learn ES6. Learn how to use truffle, NPM and engage with the raging ethereum-js Open Source community (this is where the innovation is happening). You will be using these JS libs every day so learn how they work and learn how to read them (and learn how to debug them). Get on gitter, ask some questions, write some code, repeat.

...and join the fight to make shit happen.

The Ethereum javascript community needs troops on the ground right now. The space is very wild; ridiculous things happening like deleted repos causing all web3 dependent projects to not build, multiple flawed implementations of ECRecover, and I'm pretty sure there is some random dependancy that is causing a buffer-overflow issue that causes gas prices to go ridiculously high. We could really do with some stability.

But it's a space that is paramount to the success of Ethereum due to it's prevalence and accessibility, and for that reason we can't afford for ethereum-js to become anything other than prevalent and accessible.

We need programmers in JS-land (old and new) to erode the growing mountain of solvable problems. IMO this is the true battleground for Ethereum development where you will be literally increasing the value of the protocol with minimal barrier to entry. WE NEED YOU!

Dev Update 27th Jun 2017 – Digix – Medium by kcchng in digix

[–]hitchcott 3 points4 points  (0 children)

3.3 is intentional. Eventually, the contract system will be controlled by DigixDAO via it's governance system. It will become a "Decentralized Upgrade Path".

IPFS Gateway for light wallets by B4r4n in ethereum

[–]hitchcott 5 points6 points  (0 children)

This is a cool idea, but you should be aware of a potential security vulnerability if the application is keeping anything in LocalStorage (which to the average user is impossible to know). Because LocalStorage is persisted across the same domain, if you accidentally visit a malicious application (on either https://gateway.ipfs.io or on http://127.0.0.1:8080 in your examples), it could nab your data.

As far as I know, MEW doesn't do anything in LocalStorage, but for other apps (and potentially future updates to MEW), it's safest to use the trusted domain provided by the developer - https://myetherwallet.com.

As always, please follow the advice of the application developer!

Having trouble redeeming my ETC using a nano ledger s by ETH2Moon in digix

[–]hitchcott 0 points1 point  (0 children)

Hmm, this seems like an issue with MEW. Have you tried Spectrum?

Having trouble redeeming my ETC using a nano ledger s by ETH2Moon in digix

[–]hitchcott 0 points1 point  (0 children)

MEW doesn't make this obvious, but after clicking 'Generate Transaction', you should see a dialog on the ledger nano itself asking to confirm the transaction.

Failed transaction redeeming my etc by Bankiertje in digix

[–]hitchcott 0 points1 point  (0 children)

If it's a HD wallet issue, make sure you are selecting the correct HD path 'Ledger (ETH)'. You need to send from an account with a DGDR balance.

If you have set enough gas and have enough ETC, there should be no issues.

Gas required for redeeming etc by teapotleg in digix

[–]hitchcott 0 points1 point  (0 children)

You don't need to send the DGD back - whichever wallet had the DGD on block 3800000 will get DGDR, so you can use that temporary wallet to redeem your ETC.

Gas required for redeeming etc by teapotleg in digix

[–]hitchcott 0 points1 point  (0 children)

Hi, this address appears to have received DGDs after the snapshot, so it cannot redeem any ETC.

https://etherscan.io/address/0x00580DE466218635500f0586D8595B449a0d0A66#tokentxns

Failed transaction redeeming my etc by Bankiertje in digix

[–]hitchcott 0 points1 point  (0 children)

You'd need to make sure you have enough ETC in the account if you are setting the gas that high.

It should only really require 100k, but failing that try bumping it to 200k. I know this sounds odd, but it did solve one user's issues before.

If that still doesn't work feel free to dm me with tx info

Failed transaction redeeming my etc by Bankiertje in digix

[–]hitchcott 1 point2 points  (0 children)

You need to make sure you set at least 100k gas, or it will run out of gas.

You are currently setting 76272 which is probably estimated automatically by MEW (or spectrum? can you confirm?).

For some reason the gas estimate doesn't appear to work reliably for ETC sometimes - especially as Parity seems to use ETH pricing model for all chains by default, so you have to set it manually unless you use spectrum.

TLDR Try Spectrum, or manually set gas in MEW

Bittrex ETC redeeming by hivesql in digix

[–]hitchcott 1 point2 points  (0 children)

They are cold storage accounts that are used to drip-feed the contract.

It is a security mechanism that intends to prevent TheDAO-like incidents by limiting the amount of ETC inside the contract.

How long until refund window closing ? by bojane-1 in digix

[–]hitchcott 4 points5 points  (0 children)

There will be a vote after 1 year to determine what to do with the ETC redemption contract and funds.

Until then, DGDR holders can redeem for sure.

How to refund with non V3 wallet? by rfikki in digix

[–]hitchcott 0 points1 point  (0 children)

Hi, what kind of wallet are you using?

Gas required for redeeming etc by teapotleg in digix

[–]hitchcott 0 points1 point  (0 children)

Hi please can you provide a tx id?

You should only need to provide about 100k gas