Table of Contents generated with DocToc
class Main { | |
static function main() { | |
Sdl.init(Sdl.INIT_EVERYTHING); | |
var win = Sdl.createWindow("Hello", 100, 100, 800, 600, Sdl.WINDOW_OPENGL); | |
var ren = Sdl.createRenderer(win, -1, Sdl.RENDERER_ACCELERATED); | |
var bmp = Sdl.loadBMP("test.bmp"); | |
var tex = Sdl.createTextureFromSurface(ren, bmp); | |
Sdl.freeSurface(bmp); | |
for (i in 0...3) { |
package; | |
import haxe.Timer; | |
import js.Node; | |
/** | |
* SlowServer | |
* @author AxGord | |
*/ | |
class SlowServer { |
/** | |
* Basic setup for Client side UFront application | |
* @author Jonas Nyström | |
*/ | |
class Client | |
{ | |
public static var app:ufront.app.UfrontApplication; | |
static public function main() { | |
init(); | |
app.execute(new ufront.web.context.HttpContext( new ClientRequest(), new ClientResponse())); |
package; | |
import ufront.app.UfrontApplication; | |
import ufront.web.UfrontConfiguration; | |
import app.controller.TestController; | |
class Server | |
{ | |
public static var app:UfrontApplication; | |
In reply to "@Vlad_Roberto: No, not a programmer. I just know there's better ways to doing anything without massive energy consumption & Banks."
The problem of blockchain synchronization is the following:
Imagine you are sitting in a bunker. You have no idea what people are out there and what are their intentions. You only receive some incoming messages from strangers that may contain anything. They can be just random garbage or deliberately crafted messages to confuse you or lie to you. You never know. You cannot trust anyone.e
The problem of "money" or any other "social contract" is that everyone should be able to know what the majority agrees to without trusting some intermediaries (otherwise they can easily obuse their special position). If everyone votes for "X", then you sitting in a bunker must somehow independently figure out that all those other people indeed voted for "X" and not for "Y" or "Z". But remember: you cannot trust anyone's message and messages are the only thing you get from the outsi
MIT License
Copyright (c) [year] [fullname]
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: