This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| date | done | baseline | done_to_date | inprogress | todo | |
|---|---|---|---|---|---|---|
| 11-Oct | 0 | 0 | 0 | 11 | 4 | |
| 12-Oct | 0 | 0 | 0 | 11 | 4 | |
| 16-Oct | 0 | 0 | 0 | 11 | 4 | |
| 17-Oct | 1 | 0 | 1 | 12 | 5 | |
| 18-Oct | 2 | 0 | 2 | 12 | 5 | |
| 19-Oct | 3 | 0 | 3 | 11 | 5 | |
| 22-Oct | 5 | 0 | 5 | 9 | 5 | |
| 23-Oct | 6 | 0 | 6 | 9 | 7 | |
| 24-Oct | 6 | 0 | 6 | 13 | 5 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name Maxdone Hide Recurring | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @description Hide recurring tasks | |
| // @author Yury Lytvynenko | |
| // @match https://maxdone.micromiles.co/* | |
| // @grant none | |
| // ==/UserScript== | |
| var hidden = false; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class Deadlock { | |
| public static void main(String[] args) { | |
| final Integer mutex1 = 1; | |
| final Integer mutex2 = 2; | |
| new Thread(new DeadlockRunnable(mutex1, mutex2)).start(); | |
| new Thread(new DeadlockRunnable(mutex2, mutex1)).start(); | |
| } | |
| static class DeadlockRunnable implements Runnable { | |
| private final Integer first; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class StackTraceBenchmark extends SimpleBenchmark { | |
| @Param({"1", "10", "100", "1000"}) | |
| public int threadDepth; | |
| public void timeWithoutException(int reps) throws InterruptedException { | |
| while(--reps >= 0) { | |
| notThrowing(threadDepth); | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Exception in thread "main" SponsoredException | |
| at ADVERTISEMENT. If you don't (Unknown Source) | |
| at ADVERTISEMENT. want to see this (Unknown Source) | |
| at ADVERTISEMENT. exception (Unknown Source) | |
| at ADVERTISEMENT. please buy (Unknown Source) | |
| at ADVERTISEMENT. full version (Unknown Source) | |
| at ADVERTISEMENT. of the program (Unknown Source) | |
| Exception in thread "main" ExceptionFromHell: Catch me if you can |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class SponsoredException extends RuntimeException { | |
| @Override | |
| public synchronized Throwable fillInStackTrace() { | |
| setStackTrace(new StackTraceElement[]{ | |
| new StackTraceElement("ADVERTISEMENT", " If you don't ", null, 0), | |
| new StackTraceElement("ADVERTISEMENT", " want to see this ", null, 0), | |
| new StackTraceElement("ADVERTISEMENT", " exception ", null, 0), | |
| new StackTraceElement("ADVERTISEMENT", " please buy ", null, 0), | |
| new StackTraceElement("ADVERTISEMENT", " full version ", null, 0), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class Throwable implements Serializable { | |
| public synchronized native Throwable fillInStackTrace(); | |
| //... | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Exception in thread "main" java.lang.RuntimeException | |
| at Main.foo(Main.java:7) | |
| at Main.main(Main.java:15) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public static void main(String[] args) throws IOException { | |
| final RuntimeException e = foo(); | |
| bar(e); | |
| } | |
| private static RuntimeException foo() { | |
| return new RuntimeException(); | |
| } | |
| private static void bar(RuntimeException e) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class Main { | |
| public static void main(String[] args) throws IOException { | |
| try { | |
| foo(); | |
| } catch (RuntimeException e) { | |
| bar(e); | |
| } | |
| } | |
NewerOlder