Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Slartie
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
84 ms
·
751.
▲
by
Slartie
9y ago
From what I've seen I came to this conclusion (further input from HN readers gladly accepted, maybe I got something wrong): It seems that yesterday at around 01:00 UTC, someone with a huge amount of cash on GDAX started a buying bot, w
752.
▲
by
Slartie
9y ago
> We will be at the whims of an algorithm that no one has any incentive to change. Not only that. We will also be at the whims of a practically unchangeable algorithm that only works as long as (mostly) chinese mining operators keep thei
753.
▲
by
Slartie
9y ago
> They decided it's a good idea to use ternary logic instead of binary logic This is the one main thing that keeps me very, very skeptical regarding IOTA (and the coordinator thing, although that may be resolved someday when traffic
754.
▲
by
Slartie
9y ago
Not if there isn't an interface. If I create one, sure, but then I would have to do that on all dev computers as well and I'd have to forward the address somehow into all server and client configs and/or command-lines of tool
755.
▲
by
Slartie
9y ago
> Consumer choice in physical stores is often limited by the ‘herd mentality’ of retailers who crowd hundreds of identical shops together and rarely attempt to cater to niche markets Very, very true. It's one of the things about Chi
756.
▲
by
Slartie
9y ago
We used (and actually still use) this to override hostname lookup in an automated test scenario, where we want to run multiple test suites of the same software (consisting of several processes which all communicate with each other via netwo
757.
▲
by
Slartie
9y ago
True, but the number of weird mistakes due to floating point inaccuracies that happened in Excel spreadsheets is probably too large to be accurately representable in a 32bit float number.
758.
▲
by
Slartie
9y ago
Thanks for the detailed explanation of your thought process. I guess you fall into the few percent of developers who are NOT meant to be addressed by the general rule of "don't use float for money". Like with all "genera
759.
▲
by
Slartie
9y ago
> BigDecimal is also a viable solution, but it's entirely unnecessary and the cost really is enormous especially if you need to handle a large number of transactions. But sure, if you say performance genuinely isn't an issue go
760.
▲
by
Slartie
9y ago
Self-quote: > any imaginable application in the "classic" financial sector Kranar: > working in the financial sector (high frequency trading) Okay, you got me there - you have pointed me to that single application from the f
761.
▲
by
Slartie
9y ago
You could argue that ICO-style crowdfunding is the only one of these problems that's currently not solvable in any other way, purely because it's impossible to get other people to invest obscene amounts of money into dubious proje
762.
▲
by
Slartie
9y ago
> and it doesn't increase the attack area as much as you'd think You should call Gavin Wood and tell him that :D
763.
▲
by
Slartie
9y ago
Providing a decimal type would of course not be the job of the developer of a smart contract - I would expect that the smart contract platform would anticipate the necessity of convenient decimal number handling and thus provide a suitable
764.
▲
by
Slartie
9y ago
Don't worry, I'm sitting in the same boat ;-)
765.
▲
by
Slartie
9y ago
> There are no floating point numbers. Since you're probably working with "money", this can make things tricky. That is actually a feature when it comes to working with money. You don't ever want to use floating-point
766.
▲
by
Slartie
9y ago
So true. Whenever stuff gets "convenient" for me as a developer, I ask myself what the downside of this "convenience" for me is that will have to be endured by others. Often times it's inconveniences for the guys wh
767.
▲
by
Slartie
9y ago
Theoretically, this is true. The value, and hence the price, is splitted. But markets are not perfectly efficient, and Bitcoin markets in particular are very inefficient and totally driven by psychology, particularly speculation and greed.
768.
▲
by
Slartie
9y ago
True, but unfortunately you'll need the services of an exchange if you want to short. Longing is possible by putting cryptos in a wallet you have the private keys for, but not shorting. As I think about it, this is actually another ben
769.
▲
by
Slartie
9y ago
You can short Bitcoin (with respect to USD or other cryptos, but I assume you're interested in shorting BTCUSD) on pretty much all the bigger exchanges. Bitfinex offers it, Kraken too. You'll have to pay a lending fee for the BTC
770.
▲
by
Slartie
9y ago
Not to mention that he wrote the buggy contract...ehm, both buggy contracts, to be precise, the one that let funds be stolen and the one that now freezes funds...
771.
▲
by
Slartie
9y ago
No, this function (the init function) was public for a reason - it must be callable by anyone, since it's the thing you call when you want to create a new wallet! And the kill functionality has been non-public, it required the caller t
772.
▲
by
Slartie
9y ago
> That's not correct. There is a construct "library" that is different from a normal contract. But the code in question didn't use that (for whatever reason). Thanks for pointing me to this! Didn't know that yet.
773.
▲
by
Slartie
9y ago
If I get this correctly, this is what happened: The parity wallet uses a "shared library" in which the actual logic is implemented. All individual wallets have their own data storages and coin balances, but contain just a little b
774.
▲
by
Slartie
9y ago
The code is immutable, but Ethereum has a functionality called "suicide" by which a contract can, well, commit suicide. It is kind of like a deletion, in that the code can't be executed anymore afterwards, but of course the b
775.
▲
by
Slartie
9y ago
I am wondering what exactly has been the point of having this code separated in this "library" in the first place, instead of just duplicating the code for each owner of a multisig wallet. It can't be to ease the update proce
776.
▲
by
Slartie
9y ago
Hehe, I can feel your pain. Had a discussion just a few days ago with some guys demonstrating the typical enthusiasm about cloud stuff, especially AWS. Because after all, Netflix is using it, and they create 1/3rd of all Internet traff
777.
▲
by
Slartie
9y ago
I took several deep dives into a project that he apparently wrote a good bunch of code for, the test automation framework FitNesse. Besides having major conceptual and architectural shortcomings, this piece of software was also easily among
778.
▲
by
Slartie
9y ago
Ehm...where is this the case? Pretty much all exchanges that I actively monitor all list their order books, trade history etc. in bitcoin, with a varying number of decimals, and they also accept orders in bitcoin denomination as well. Somet
779.
▲
by
Slartie
9y ago
I would say the relationship is this one: First, Ethereum was found to be the perfect Ponzi scheme platform by dubious “ICO“ initiators. Then, early investors made a huge bunch of money on these ICOs. Then the price skyrocketed, as more peo
780.
▲
by
Slartie
9y ago
It's not even only Apple anymore. As far as I have seen, the Microsoft Surface Pro suffers from the exact same limitation. Practically every manufacturer who wants to build some high-end, but still thin and lightweight laptop runs into
More ›