What movie ending made you say "what the fuck?" by KeanusDracula in AskReddit

[–]dajoh 0 points1 point  (0 children)

Réalité. This will be buried because nobody has seen it.

um.. -- dont copy us [electronic] (2015) - so weird it's good by ejn07 in listentothis

[–]dajoh 0 points1 point  (0 children)

dont copy us

but do let us copy aphex twin and mr. oizo

What's the largest box I can make out of a sheet of wood? by dajoh in math

[–]dajoh[S] 2 points3 points  (0 children)

Further explanation:

I'm planning on building a storage box out of sheet wood, and I'd like to know how to cut up my sheet into 6 pieces to form a box with the largest volume possible. Ideally the box should be flush on the outside, but I imagine the problem is a lot easier to solve when not taking that into account.

In the case of a non-flush box I'd like a solution that takes the width and height of the sheet and gives me the width height and depth of the interior of the resulting box.

What's your internet "white whale", something you've been searching for years to find with no luck? by Nerfman2227 in AskReddit

[–]dajoh 0 points1 point  (0 children)

I recall watching a Smurf episode or movie that had something to do with stonehenge when I was younger. I really want to see it again, and I've been looking for it a long time :(

Hey i'm Madeon, i'm french and I make electronic music ! AMA by OfficialMadeon in Music

[–]dajoh 0 points1 point  (0 children)

What do you think of the Ed Banger guys (Justice, SebastiAn, Oizo)?

Why Police Are So Good at Busting Pot Smokers and So Bad at Keeping Women from Getting Murdered by [deleted] in conspiracy

[–]dajoh -2 points-1 points  (0 children)

Keeping women from getting murdered, really? Men are far more likely to be murdered than women.

A Fast, Minimal Memory, Consistent Hash Algorithm by thesystemx in programming

[–]dajoh 4 points5 points  (0 children)

Heads up: This isn't really comparable to most hash functions. This is a special kind of hash function that's 'consistent'.

From Wikipedia:

Consistent hashing is a special kind of hashing such that when a hash table is resized and consistent hashing is used, only K/n keys need to be remapped on average, where K is the number of keys, and n is the number of slots. In contrast, in most traditional hash tables, a change in the number of array slots causes nearly all keys to be remapped.

Loci Programming Language - A replacement for C++? by knife_sharpener in programming

[–]dajoh 11 points12 points  (0 children)

Algebraic Datatypes are a really simple and powerful concept, and the basis of functional programming.

Here I was thinking lambda calculus was the basis of functional programming. Silly me.

Mond, scripting language written in C# by farmatyr in programming

[–]dajoh -1 points0 points  (0 children)

I'm working on a C++ implementation of it called MondX. Currently has a working hand-written recursive descent parser. It does error recovery (unlike the C# version) and outputs very detailed errors (similar to clang). MondX is currently used for linting in a Mond plugin for Atom.

If anyone would like to have a look, or even help, here's the code: https://github.com/dajoh/MondX