1,400 karma · joined October 14, 2010
June 29 2017 BTC $2,480
June 29 2018 BTC $6,414* Type inference - var name = "Bob";
* Maybe types (from Elm/Haskell) that prevent NULL ptr bugs and syntactic sugar encourages its use for function return values.
if (doit()) |result| {
// result is always a populated Struct
} else |err| {
// error is always a populated Error
}
// a return type of !Something means Error type or Something type
fn doit() !Struct {
}
* Nullable types - var ?&object = null; if you need it, and var &object = aObject; if you want the safety.* Great C interop, though there is more work to be done here. (gtk.h for instance is too much for zig today) Zig's approach is unique here too. You specify .h files in the zig source code and the zig compiler translates C in the .h into zig. Its not a function bridge or wrapper, its zig objects and zig functions available to your zig code.
const c = @cImport({
@cInclude("curl/curl.h");
});
var curl = c.curl_easy_init();
if(curl != null) {
_ = c.curl_easy_setopt(curl, c.CURLoption(c.CURLOPT_URL), url_cstr.ptr);
...
* Standard library operations that allocate memory take an 'allocator object' parameter that should give great programmer control over memory management (I didnt get into this myself), webasm is a compiler target, and lots moreBluetooth 1.0 in 2002 with support from the Palm Pilot, to give you a sense of how long ago that was technologically, already had this dream and implemented a Personal Area Network using 'scatternet'.
Probably the single largest blow to the dream of meshed devices everywhere, imho, was Apple's decision to limit the iPhone's (2007) bluetooth support to headset-only when bluetooth was capable of so much more. Admittedly there was probably substantial pressure from the carriers who were scared of the idea of phones communicating with out being mediated/dependent on cell tower infrasructure, but its one thing I cannot forgive apple for. The other phone vendors fell into line.
Android 4.0 (2011) implemented Wifi peer-to-peer, which the Wifi Alliance called "Wifi Direct" that would allow for Personal Area Networks using existing wifi hardware.
[1] https://developer.android.com/guide/topics/connectivity/wifi... [2] https://en.wikipedia.org/wiki/Wi-Fi_Direct
Now that bluetooth has returned to its roots with Bluetooth Low Energy, maybe we have another chance at flash-mob mobile gaming - everyone on the same bus can join in to a chatroom or a roleplaying game for the duration of the ride.
My idea of the simplest letsencrypt client is lego. One binary to rule them all.
Following the README, I've got a ganash testnet and imported the accounts into metamask. truffle compiles the (empty) contracts into ./build/. It seems like at this step there should be an http server to give firefox/metamask something to visit, or a gateway.ipfs.io url to retrieve some HTML that was uploaded into IPFS. This second half of HTTP/IPFS is still a mystery. Please extend the README, thx.
What I'd like to see as far as a technical overhaul, is reimagining the entire thing as a 3D dataset. Needing to model a paper map is no longer the goal, modeling space in 3 dimentions seems to be the more exciting/useful way forward.
I'd like to have a model of my town in 3D, either at mostly manual low-poly resolution (aka minecraft) thats done by hand, or (though much more data intensive) with point cloud/lidar data.
Web pages can receive the 3d data and render a 2d model, or the server can project 3d onto 2d tiles before delivery.
The sheer magnitude of success of the various index funds that invest proportionally to the market cap of the top 500 stocks, in aggregate, could have the effect of perpetuating the status quo, masking indicators from non-index investor activity.
Its written in Elm/Go, using protobuf-in-json over a websocket. I've been working on it for the past nine months and its becoming more useful all the time. All the code is up at https://github.com/cointhink/ Working with elm has been amazing.
I wrote and ran an arbitrage tracking site for a few years and eventually stopped because there did not seem to be viable way to take advantage of cross-exchange spreads. Sell-Move-Buy didn't work because moving coins took days. Having a pile of each kind of coin on each change is fast but defeats the point of arbitrage because the pile itself it subject to the price changes that arbitrage is made to avoid.
The chart below shows the result of looking at the orderbook of different BTC exchanges, seeing how much was actually offered at a winning price on other changes, computing the total, and taking into account exchange fees (more or less)
At 10:10pm there is a $16USD spike - probably between BTC-E and Gemini that lasted a short while (refresh rate was every 10 min) https://web.archive.org/web/20160219100013/http://cointhink....
I always thought the code could be generalized enough to look at any number of exchanges and coinpairs. I'll keep an eye on tokenspread, it looks like a good start!