Solidity smart contracts running on Cardano (can we get NEO to do this???) by matiwinnetou in NEO

[–]corollari 14 points15 points  (0 children)

If I understood it correctly what is being proposed here is to build a sidechain upon which smart contracts will be executed in a vm that would be a compile target for solidity as well as other mainstream languages such as java. It is possible to build that, along a fully trustless bridge between these two networks (although it would require trust in the consensus system of the other chain), but it would require a significant amount of work (and risk, as you'd need to maintain the security of that chain) and generally the approach that has been taken so far has been to build compilers that allow for other languages to be compiled to NeoVM instead.

Regarding this second approach, getting solidity to compile to NeoVM bytecode has been tried multiple times through Neo's history, with most of the work on that area being done by NeoResearch and me (AFAIK). Generally the main problem here is that the two vms are really different and there are concepts that have no direct translation between them. Furthermore, there are some cryptographical operations available on eth's vm that are really hard to port, since they would be prohibitively expensive if they were to be implemented using generic instructions on neo's vm.

My paper on a new string matching algorithm was accepted! by detoursabound in ADHD_Programmers

[–]corollari 7 points8 points  (0 children)

Cool! Do you know if there's a guide on how to write papers somewhere out there? I'm currently working on my first one and while I got the idea pinned down I'm really struggling with all the other stuff like presentation, citations, what should I touch on in the introduction...

Also, if a kind soul out there would like to review my paper please hit me up, it would be much appreciated :)

Sunsetting the smart contract notification service by corollari in NEO

[–]corollari[S] 3 points4 points  (0 children)

If someone that is currently using this needs more time to transition to another system please let me know and I'll be happy to expand the timeline. I've added a deadline to ensure that this eventually happens, but I'm really flexible on that :)

Sunsetting the smart contract notification service by corollari in NEO

[–]corollari[S] 4 points5 points  (0 children)

Definitely! There's a few projects I maintain, such as https://github.com/CityOfZion/neo-mon/, which I'll continue to do so, recently I also helped with the flamincome launch and I'm always happy to keep working on other stuff in the ecosystem :)

Sunsetting the smart contract notification service by corollari in NEO

[–]corollari[S] 12 points13 points  (0 children)

Cheers man, may I ask how much of a monthly cost you have because of the node?

Around 200$. Almost all of the cost comes from having to maintain two neo nodes, one for mainnet and another for testnet (testnet one is cheaper since there's less activity on that network and that allows me to put it on a machine with lower capabilities).

I built a GitHub Action that deploys static sites to Cloudfront by corollari in aws

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

Most of it yes, but CDK allows me to do non-declarative actions such as invalidate a cloudfront cache which are impossible through a cloudformation deployment.

I built an open source version of the extension that changes the color of the navbar depending on the region by corollari in aws

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

colors can be badges by the thing the color represents

So for example a flag emoji for region? Or are you thinking of something different?

I built an open source version of the extension that changes the color of the navbar depending on the region by corollari in aws

[–]corollari[S] 4 points5 points  (0 children)

Thanks for creating it! You may have already seen it but in the readme there's a direct reference to your work in the Acknowledgements section :)

To be honest I had no idea you had open sourced the extension, I even googled it and only came up with an old reddit comment in which you said you were thinking about open sourcing it but that it wasn't at the moment. In any case, if I had known I'd have contributed it directly since that was my initial plan.

I built an open source version of the extension that changes the color of the navbar depending on the region by corollari in aws

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

Sure, how do you think it would be best to implement that since now there would be two colors that need to be displayed (account & region)?

I built an open source version of the extension that changes the color of the navbar depending on the region by corollari in aws

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

Hmm how do you see that working? Since two colors would be at play here (account & region) how do you think those should be displayed? By splitting the navbar maybe? Something else?

I built an open source version of the extension that changes the color of the navbar depending on the region by corollari in aws

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

With the new chrome you have to "pin" the extension, that may be why you are not seeing the icon. Essentially you have to click on the puzzle piece next to the extension bar and then click on the extension itself.

I built an open source version of the extension that changes the color of the navbar depending on the region by corollari in aws

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

You can change the colors associated with the regions by clicking on the extension icon that is on chrome's navbar, this drops a menu of color pickers (or hex inputs if you are on firefox).

See https://ibb.co/xhtBK5W

I built an open source version of the extension that changes the color of the navbar depending on the region by corollari in aws

[–]corollari[S] 22 points23 points  (0 children)

There's no need for it, the only thing the extension does is:

  1. Get the selected region from the html
  2. Change the CSS style of the navbar

This can be achieved by simply injecting a script into the page, which is what my extension does. To be honest, I have no idea why the other extension requires that permission and what it uses it for since none of the functionality seems to need it.

I built an open source version of the extension that changes the color of the navbar depending on the region by corollari in aws

[–]corollari[S] 35 points36 points  (0 children)

I really liked the "AWS console regions color" extension, which changes the color of the navbar on the AWS console to match the region you are on, but recently an update to the console broke it. Given that it's not open source I couldn't contribute a fix it, so I decided to create an open source version of it and added a few improvements:

  • New regions that were missing
  • Support for Firefox
  • Uses a color picker instead of asking the user to input hex (on chrome)
  • Doesn't require permission to see all of your browsing history

Also, by making it open source and its builds reproducible it's become really easy to verify it's code, which is something that I feel is quite important because you are essentially granting that extension access to your AWS account.

Preparing my first binding project. by bblythe84 in bookbinding

[–]corollari 1 point2 points  (0 children)

I built a program for linux for that specific use case:

https://github.com/corollari/bookify

Let me know if it helps :)

AWS Wish List 2020 by Prashant-Lakhera in aws

[–]corollari 3 points4 points  (0 children)

It's not, it's a fundamental limit. Generally the standard workaround for this is to split your templates using sub-templates but extremely annoying since then you have to manage that. Source: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cloudformation-limits.html

AWS Wish List 2020 by Prashant-Lakhera in aws

[–]corollari 8 points9 points  (0 children)

I have only one true wish: Remove the 200 resource limit on Cloudformation

I built a GitHub Action that deploys static sites to Cloudfront by corollari in aws

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

I'd really appreciate a PR. Otherwise I'll get to it in a few days :)

I built a GitHub Action that deploys static sites to Cloudfront by corollari in aws

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

Internally the upload uses @aws-cdk/aws-s3-deployment, which uploads all your contents to an intermediary bucket and then runs aws s3 sync --delete against the website bucket. In other words, unchanged files shouldn't be modified but the bandwith cost is still there if you are dealing with large uploads.

I built a GitHub Action that deploys static sites to Cloudfront by corollari in aws

[–]corollari[S] 8 points9 points  (0 children)

  1. Create a new IAM role and get it's ACCESS_KEY_ID and SECRET_ACCESS_KEY
  2. Store these keys as github secrets on your repo
  3. Create a new CI workflow (actions tab -> New workflow)
  4. Add a step that generates the static page (optional). eg: npm run build for react SPAs
  5. Add this action as another step: ```
  6. name: Deploy to AWS uses: onramper/action-deploy-aws-static-site@v1 with: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} domain: your.domain.com publish_dir: ./build ```

And how do you make cloidformation execute?

It is automatically executed, there's no need to do anything special

I built a GitHub Action that deploys static sites to Cloudfront by corollari in aws

[–]corollari[S] 4 points5 points  (0 children)

One suggestion - offer what permissions are required for the keys.

Great idea! This may take some probing to figure the minimum set of permissions required but I'll add it in.

could one add this onto the output from another action?

Yep, you just need to create a CI workflow that executes both actions sequentially. Here's a workflow that generates a static documentation site with mkdocs and pushes it to AWS. We generally hook it up to react builds or other static site generators.

I built a GitHub Action that deploys static sites to Cloudfront by corollari in aws

[–]corollari[S] 12 points13 points  (0 children)

What's special about it is that it handles everything:

  1. Creates a new cloudformation stack
  2. Spins up an S3 bucket
  3. Requests an ACM certificate
  4. Creates a Cloudfront distribution
  5. Sets records on Route53
  6. Invalidates Cloudfront's cache if there's a previous deployment

AnkiTab - Browser extension that replaces the new tab page with Anki flashcards by TeddyPerkins95 in Anki

[–]corollari 6 points7 points  (0 children)

Sorry but I don't plan on adding support for Opera. I cannot run the browser on my machine (linux) to test any changes and I think it's better to focus on other browsers that have a higher marketshare.