HNHacker News
TopNewBestAskShowJobs

donpdonp

1,400 karma · joined October 14, 2010

maker/biker/dreamer
submissionscomments
donpdonp··on The Mathematics of Quantum Mechanics [pdf]
Fry: Hey, professor, what are you teaching this semester? Prof. Farnsworth: Same thing I teach every semester, the mathematics of quantum neutrino fields. I made up the title so that no student would dare take it. Fry: [writing] Mathematics of wonton burrito meals... I'll be there! Prof. Farnsworth: Please Fry; I don't know how to teach. I'm a professor.
donpdonp··on IETF draft proposes encrypted message security for all
Jump to 1:40 for the Elders line.
donpdonp··on PixelFed, the federated opensource instagram alternative: Registration is open
pixelfed development updates are available at https://pleroma.site/users/pixeldev
donpdonp··on PixelFed, the federated opensource instagram alternative: Registration is open
https://pxlfd.me/ is an open server and works fine for me so far.
donpdonp··on Bitcoin Bloodbath Nears Dot-Com Levels as Many Tokens Go to Zero
Here is another way to look at the price:

  June 29 2017 BTC $2,480
  June 29 2018 BTC $6,414
donpdonp··on Why ActivityPub is the future
The search box can be easy to miss - its the text field above the new-toot-box and below the menu bar in the left-most column.
donpdonp··on Zig: programming language designed for robustness optimality and clarity [video]
I've been building a toy project in zig in the last couple weeks. Zig is incredible. After only a short while working with it, it feels like deserves the title of a "better C". With no runtime overhead you get:

* 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 more
donpdonp··on NPM proxy users receiving ERR 418 I'm a teapot
https://http.cat/418
donpdonp··on Wi-Fi alliance announces mesh networking standard
another mesh standard.

Bluetooth 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.

donpdonp··on A home-made lithographically-fabricated integrated circuit
TL;DR "hydrofluoric acid is a water solution of hydrogen fluoride, HF. That’s a gas, and it’s a lot worse. ... As soon as it hits anything moist – like your lungs – it dissolves in the water and turns into hydrofluoric acid again."
donpdonp··on It's time to head back to RSS?
Also be able to consume activitypub feeds. http://activitypub.rocks/ supported by Mastodon sites and others.
donpdonp··on Tempe Police Release Video of Uber Accident
I agree thats a textbook case for the non-visual-specrum sensors. Its possible that lidar DID catch it, but the avoidance logic decided to continue forward. For example if it decided a collision was immpossible to avoid, swerving might make things worse. Also its possible the logic thought the timing was such that the bike would pass after the car crossed where the bike was going, so slowing down would actually cause a collision.
donpdonp··on LG launches open-source version of webOS
I dug through some files in the build-webos repo and it appears that the raspberryPi is the only build target. I am looking for a pre-made qemu image so I can at least try out/look at webOS OSE. The README says the build needs 100GB of free disk :O
donpdonp··on LG launches open-source version of webOS
any leads on a ready-made qemu image for WebOS (OSE)?
donpdonp··on A Unix shell script implementing ACME client protocol
Launching those binaries (openssl, curl) seems like a point of failure, not to mention the cough unique challenges of doing simple things like managing an array of strings in a language like bash.

My idea of the simplest letsencrypt client is lego. One binary to rule them all.

https://github.com/xenolf/lego

donpdonp··on Show HN: Decentralized application starter with Vue, Ethereum and IPFS
I added a bit more detail in the README (https://github.com/redacademy/vue-ethereum-ipfs/pull/2) though it runs into the question of is this repo an empty skeleton for apps or can it double as a hello world Dapp? Currently the Vue app compiles to a placeholder page with no eth/metamask bits on it.
donpdonp··on Show HN: Decentralized application starter with Vue, Ethereum and IPFS
This seems like a great way to explore ethereum contracts, but the README stops early.

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.

donpdonp··on JMESPath – A query language for JSON
seconded. the jq language is surprisingly powerful and at first glance at jmespath, the syntax is similar.
donpdonp··on OpenStreetMap Is in Trouble
This was a wonderful post, thanks for the honesty and detail, emacsen.

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.

donpdonp··on Insider trading has been rife on Wall Street, academics conclude
How long can the index fund advice be sound as index funds are moving from following the market to making the market?

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.

donpdonp··on The compelling case for working less
The most effective way to be unhappy - comparing yourself to others. Its far more satisfying to 'impress yourself', ie do better than you did before. I also like to remember that such comparisons are usually between your every day existance and their 'highlight reel'.
donpdonp··on Infinitown – A WebGL Experiment
amazing performance and great visual style. i'd love to see it become a playable simcity-like.
donpdonp··on Show HN: OhMyCo.in – Real-time charts for cryptocurrency markets
Hey I'm also in the charting/data space for cryptocoins. The focus is on alerting (email) due to price movements. Currently its a simple percent-change trigger, with more complex triggers on the way (such as two-coin correlation). The roadmap includes user-provided code that runs on our environment for very customized triggers/signals. https://cointhink.com

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.

donpdonp··on Ask HN: What tech were you convinced would take the world by storm but didn't?
Yes Hydrogen Fuel Cells! Toshiba was claiming in 2006 that they were coming for laptop batteries. I still think the future of energy is solar cells, using water+electrolysis to get hydrogen for storage, and a fuel cell for conversion back to electricity.
donpdonp··on Show HN: Token Spread – Bitcoin/crypto spread tracking for arbitrage
This is a nicely designed site and some good data feeds. There is a big difference between spread, and arbitrage. Critically, any attempt to track arbitage needs to watch the orderbook rather than the last-trade-price. Ironically, the bid/ask spread on the same exchange isnt part of arbitrage. The difference between the total available bids on exchange A and the total available asks on exchange B (or vice-versa), is the opportunity.

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!

donpdonp··on 64-bit Firefox is the new default on 64-bit Windows
when I read "Firefox 64" http://dev2017.gamester81.com/wp-content/uploads/streethoops...
donpdonp··on Quitting Caffeine
same here, mostly because its a easy way to cut out a significant source of sugar.
donpdonp··on Evercoin: A cryptocurrency exchange platform
It sounds like using Foreign-exchange with an ATM card - there's no explicit fee except the conversion rate is adjusted to work in the bank's favor as a cut of the total amount transfered.
donpdonp··on Evercoin: A cryptocurrency exchange platform
The simplicity of the conversion is fantastic, but I am perplexed as to how an anonymous exchange exists when there are KYC requirements.
donpdonp··on “We will stop updating and distributing the Flash Player at the end of 2020”
The GNU Project wrote a version of Flash. That might be helpful in the preservation of flash animations. https://www.gnu.org/software/gnash/
← PreviousPage 4 of 11Next →