Skip to content

Instantly share code, notes, and snippets.

View thromel's full-sized avatar
😎
Dedicate your hearts

Tanzim Hossain Romel thromel

😎
Dedicate your hearts
View GitHub Profile
@thromel
thromel / part1-after-fix-v3-nondex10.log
Created February 25, 2026 00:48
Part 1 retry evidence for Dr. Wing Lam flaky tests task (DataDog/jmxfetch candidate)
This file has been truncated, but you can view the full file.
[INFO] Scanning for projects...
[INFO]
[INFO] -----------------------< com.datadoghq:jmxfetch >-----------------------
[INFO] Building jmxfetch 0.51.1-SNAPSHOT
[INFO] from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] Parameter 'archive' is unknown for plugin 'buildnumber-maven-plugin:3.1.0:create (default)'
[INFO]
[INFO] >>> nondex:2.1.1:nondex (default-cli) > test-compile @ jmxfetch >>>
[INFO]
@thromel
thromel / Dockerfile
Created February 24, 2026 19:21
wing-lam-task reproducibility scripts (minimal scope)
FROM maven:3.9.9-eclipse-temurin-11
RUN apt-get update \
&& apt-get install -y --no-install-recommends git curl ca-certificates \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /workspace
@thromel
thromel / Dockerfile
Created February 24, 2026 19:20
wing-lam-task reproducibility scripts (Part 1-3), revision 2
FROM maven:3.9.9-eclipse-temurin-11
RUN apt-get update \
&& apt-get install -y --no-install-recommends git curl ca-certificates \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /workspace
@thromel
thromel / Dockerfile
Created February 24, 2026 19:19
wing-lam-task reproducibility scripts (Part 1-3)
FROM maven:3.9.9-eclipse-temurin-11
RUN apt-get update \
&& apt-get install -y --no-install-recommends git curl ca-certificates \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /workspace
@thromel
thromel / ci-build.log
Created February 21, 2026 19:58
Wing Lam Part 3 Method 2 evidence
This file has been truncated, but you can view the full file.
verify-flaky-test Set up job 2026-02-21T19:47:24.5873199Z Current runner version: '2.331.0'
verify-flaky-test Set up job 2026-02-21T19:47:24.5907235Z ##[group]Runner Image Provisioner
verify-flaky-test Set up job 2026-02-21T19:47:24.5908496Z Hosted Compute Agent
verify-flaky-test Set up job 2026-02-21T19:47:24.5909258Z Version: 20260123.484
verify-flaky-test Set up job 2026-02-21T19:47:24.5910238Z Commit: 6bd6555ca37d84114959e1c76d2c01448ff61c5d
verify-flaky-test Set up job 2026-02-21T19:47:24.5911018Z Build Date: 2026-01-23T19:41:17Z
verify-flaky-test Set up job 2026-02-21T19:47:24.5911719Z Worker ID: {a03d2b83-4c3d-457d-9ffb-1175895cada9}
verify-flaky-test Set up job 2026-02-21T19:47:24.5912471Z Azure Region: eastus2
verify-flaky-test Set up job 2026-02-21T19:47:24.5912978Z ##[endgroup]
verify-flaky-test Set up job 2026-02-21T19:47:24.5914488Z ##[group]Operating System
@thromel
thromel / part1-after-fix-nondex.log
Created February 21, 2026 19:58
Wing Lam flaky-task submission evidence (parts 1-3 logs and CI diffs)
[INFO] Scanning for projects...
[INFO]
[INFO] --------------------< ma.glasnost.orika:orika-core >--------------------
[INFO] Building Orika - core 1.6.0-SNAPSHOT
[INFO] from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] >>> nondex:2.1.1:nondex (default-cli) > test-compile @ orika-core >>>
[INFO]
[INFO] --- enforcer:1.0:enforce (enforce-maven) @ orika-core ---
@thromel
thromel / doyouneed.md
Created May 14, 2023 14:12
Do you need a blockchain?

The "Do you need a Blockchain?" decision tree proposed by Karl Wüst and Arthur Gervais in their 2017 paper, "Do you need a Blockchain?", provides a guideline for understanding if a system would benefit from a blockchain-based solution.

Here's a simplified summary of the decision tree:

  1. Do you need to store state? (Yes -> continue, No -> No blockchain needed)
  2. Are there multiple writers? (Yes -> continue, No -> No blockchain needed)
  3. Can you use an always online, trusted third party? (Yes -> No blockchain needed, No -> continue)
  4. Can all writers be trusted? (Yes -> No blockchain needed, No -> continue)
  5. Are all writers known? (Yes -> continue, No -> Public Blockchain)
  6. Is public verifiability required? (Yes -> Public Blockchain, No -> Permissioned Blockchain)
import { useEffect, useState } from 'react';
import StripeCheckout from 'react-stripe-checkout';
import useRequest from '../../hooks/use-request';
const OrderShow = ({ order, currentUser }) => {
const [timeLeft, setTimeLeft] = useState(0);
const { doRequest, errors } = useRequest({
url: '/api/payments',
method: 'post',
body: {
#include<iostream>
using namespace std;
#define INFINTITY 999999;
template<class T>
class PriorityQueue{
T *arr;
int size, length;