Skip to content

Instantly share code, notes, and snippets.

@discovery-findora
discovery-findora / hyperplonk.md
Last active June 30, 2023 00:35
Concerns on HyperPlonk

Concerns on HyperPlonk

The research team at Discreet Labs has been following up on new results in zero-knowledge proofs. Recently, there has been a lot of discussion surrounding HyperPlonks as a breakthrough for ZK-rollup technology; Discreet Labs researchers are highly skeptical, and this article is meant to explain the sources of our skepticism.

Our efforts in experimenting and deploying HyperPlonk suggest HyperPlonks are not as efficient as claimed. In terms of Rollups and ZK-EVM, HyperPlonk may actually be inferior to existing approaches. We feel it necessary to share these concerns with the blockchain and ZK community to conserve efforts

@gabigabogabu
gabigabogabu / running_keycloak_docker_on_m1_macs.md
Last active November 24, 2023 19:48
running Keycloak docker container on m1 macs

Running Keycloak Docker container on m1 macs

Download/Fork and clone/get this stuff on your machine https://github.com/keycloak/keycloak-containers

Then in the top directory of the repo run

% docker build -t <whatever you want to call the image> ./server
% docker run -p 8080:8080 
contract Prime {
function isPrime(uint256 n) public view returns (bool){
if (n < 2) {
return false;
}
if (n == 2) {
return true;
}
return expmod(2, n - 1, n) == 1;
@jicowan
jicowan / main.go
Last active November 29, 2023 09:56
ECS Fargate tasks that are stopped by Spot interruptions are not deregistered from load balancers automatically. This function deregister an ECS Fargate Spot task from an AWS load balancer when it is interrupted..
package main
import (
"context"
"github.com/aws/aws-lambda-go/lambda"
"github.com/aws/aws-sdk-go-v2/aws"
"github.com/aws/aws-sdk-go-v2/config"
"github.com/aws/aws-sdk-go-v2/service/ec2"
"github.com/aws/aws-sdk-go-v2/service/ecs"
"github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2"
@staltz
staltz / introrx.md
Last active June 18, 2025 06:22
The introduction to Reactive Programming you've been missing