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
package org.hybird.tests.ui; | |
import java.awt.*; | |
import java.util.ArrayList; | |
import java.util.HashMap; | |
import java.util.List; | |
import java.util.Map; | |
import javax.swing.*; | |
import javax.swing.border.EmptyBorder; |
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
int i = 0; | |
for (val s = "", j = 2; i < 1; ++i) // having different types for local variables is illegal in Java :) | |
{ | |
System.out.printf("s (%s): '%s'\n", s.getClass().getName(), s); | |
System.out.printf("j: '%s'\n", j); | |
} |
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
import java.util.Iterator; | |
import java.util.List; | |
import lombok.var; | |
import org.jcouchdb.db.Database; | |
import org.jcouchdb.db.Options; | |
import org.jcouchdb.document.ValueAndDocumentRow; | |
import org.jcouchdb.document.ValueRow; |
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
import java.util.Iterator; | |
import java.util.List; | |
import org.jcouchdb.db.Database; | |
import org.jcouchdb.db.Options; | |
import org.jcouchdb.document.Document; | |
import org.jcouchdb.document.ValueRow; | |
import org.jcouchdb.document.ViewResult; | |
// Fast view pagination method described at http://guide.couchdb.org/draft/recipes.html#fast |
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
Why coding streams/shows are interesting to me: in some livestreams, the experience is very similar to pair programming, | |
but those people are experts. In VODs, it's more about problem solving and learning skills and approaches. The devs are really good | |
at what they do and there is *always* a lot to learn. | |
In no particular order: | |
1) Handmade Hero | |
About the author: Casey Muratori. Worked at RAD. | |
Description and why I like it: It kinda started the whole thing for me. Casey is coding a complete game and engine on stream, | |
from scratch, one hour a day. He knows what he's doing on so many of the domains of game development and regular programing, |
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
(module | |
(memory 0) | |
(type $rustfn-0-11 (func (param i32 i32) (result i32))) | |
(type $rustfn-0-22 (func (param i32 i32) (result i32))) | |
(type $rustfn-0-33 (func (param i32 i32) (result i32))) | |
(type $rustfn-0-44 (func (param i32 i32) (result i32))) | |
(type $rustfn-0-48 (func (param i32 i32) (result i32))) | |
(type $rustfn-0-47 (func)) | |
(func $_isize_as_Add_::add (type $rustfn-0-11) (param $0 i32) (param $1 i32) (result i32) | |
(local $2 i32) |
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
(module | |
(memory 0) | |
(type $rustfn-0-47 (func)) | |
(func $test (type $rustfn-0-47) | |
(block | |
(call_import $print_i32 | |
(i32.div | |
(i32.const 4) | |
(i32.const 2) | |
) |
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
#![allow(unused_features)] | |
#![allow(dead_code)] | |
#![allow(unused_variables)] | |
#![feature(intrinsics, lang_items, start, no_core, libc, fundamental)] | |
#![no_core] | |
#[lang = "sized"] | |
#[fundamental] | |
pub trait Sized { } |
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
(module | |
(memory 0) | |
(type $rustfn-0-14 (func (param i32 i32) (result i32))) | |
(type $rustfn-0-28 (func (param i32 i32) (result i32))) | |
(type $rustfn-0-39 (func (param i32 i32) (result i32))) | |
(type $rustfn-0-42 (func (param i32) (result i32))) | |
(type $rustfn-0-44 (func (param i32 i32) (result i32))) | |
(export "main" $main) | |
(func $fibonacci_recursive (type $rustfn-0-42) (param $0 i32) (result i32) | |
(local $1 i32) |
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
--- stdout | |
detected home dir change, cleaning out entire build directory | |
--- stderr | |
thread '<main>' panicked at 'called `Result::unwrap()` on an `Err` value: Error { repr: Os { code: 145, message: "Le r\u{e9}pertoire n\u{201 | |
9}est pas vide." } }', ../src/libcore\result.rs:746 | |
stack backtrace: | |
0: 0xb7f78a - std::rt::lang_start::h5b0863080165c75e | |
1: 0xb66ad3 - std::sys_common::unwind::begin_unwind_inner::h39d40f52add53ef7 | |
2: 0xb68140 - std::sys_common::unwind::begin_unwind_fmt::h64c0ff793199cc1b |
OlderNewer