Probably myTaxi (https://de.mytaxi.com/en/index.html).
HN user
cheatdeath
sean.oflynn |AT| me.com
[ my public key: https://keybase.io/seanoflynn; my proof: https://keybase.io/seanoflynn/sigs/YHN3RTNUCTN5qYIJcF2zLbasQFG5iVLbs8ISHeiXJVY ]
Thanks for the comments! I'm all for improved readability. I definitely wasn't aiming for much performance wise, at least initially. These were two areas (of many) that I felt could do with some improvement (especially the file IO). I will look into making some modifications like those suggested when I get a chance.
I guess I've just been assuming any Roman characters are English, some definitely might be Pinyin. I generally try not to stare at peoples screens for too long haha. I did an intro to Chinese (Mandarin) class a few years ago so I'm aware of Pinyin but have forgotten almost everything (except some of the bits I found particularly interesting like word order for times and places, how numbers are represented and a few other things).
Thanks for the tips! I will look into making these modifications when I get a chance.
Thanks for the pointer!
In Hong Kong, I sometimes see peoples screens when I'm using public transport. WhatsApp audio recordings are very popular, sometimes I can see the entire conversation is just audio recordings back and forth. Other times it's Chinese (I can't differentiate which), sometimes English, often a mix. I've only seen someone drawing characters with his finger once.
Honestly I'm just not that familiar with async/await. I'll look into modifying it when I get around to making some other changes.
Thanks for letting me know, looks like I'll have to find some time to implement some of these recommendations.
Oh cool, thanks! I wasn't aware of DateTimeOffset.
World of Warcraft? Haha no, I've been using that handle probably since that game came out but I've never played it.
Sorry, I didn't update some of the links in the contents correctly when creating the mirror. They should be fixed now – everything is on one page.
Thanks.
Actually organising the write up forced me to tidy up the code much more than I otherwise would have. I definitely find C# to be one of the more readable languages although I have had to debug and untangle some C# messes before.
Yeah I remember changing it to a SortedDictionary but I changed it back. I can't remember exactly why, possibly because it's supposed to be sorted by raw UTF8 bytes rather than a nice neat C# string and I didn't want to start using byte arrays for dictionary keys. I guess it only needs to be sorted when in the BEncoding format and it felt better to keep the internal structure as simple as possible. The tradeoff is it doesn't support incorrectly encoded torrent files – I'm really not sure how much of an issue that is.
I'm not that familiar with .NET Core. It doesn't look like MiscUtil is compatible with it.
The executable project has some minor references to Mono.Posix just so it can catch kill signals while running in the Terminal and die gracefully.
Both dependencies can be removed quite easily from the project.
Will do, thanks for posting.
If anyone's having issues, I've mirrored it at https://cheatdeath.github.io/research-bittorrent-doc/
edit: I'm the author, let me know if you have any questions.
It's not completely down, the server does seems to be struggling though.
I recently went through the same thing – building my own simple BitTorrent client, mostly just due to curiosity about how the protocol works. There were some tricky parts, most of which are outlined in this but I found the underlying concept so simple. I guess simplicity is a requirement for scale and resilience.
I wrote up my adventure too: http://seanjoflynn.com/research/bittorrent.html
Presumably in case someone is watching you type in your details.
Open in private mode to get around paywall if needed.
I don't believe we'll ever destroy timezones on Earth but will we introduce timezones on other planets we colonize?
I agree there are other problems, but most of the issues in this case study could be resolved by googling "work hours in Melbourne" or "waking hours in Melbourne".
Is it easier to arrange a common time with someone in a different timezone or someone who is in the same timezone but works a night shift?
- Add people from your contacts: swipe down from the main screen -> add friends
- Add people by username: celebrities often post their username on other social networks, you can find aggregate lists
- Add people by "snapcode": hold the camera over someone else's phone while they display their snapcode, your snapcode is the yellow QR code thing you see when you swipe down from the main screen
That list is out of date - there's an updated version on wikipedia: https://en.wikipedia.org/wiki/Visa_(document)#Visa_restricti...
Not sure if "powerful" is the right word either. It's more of a list of the best passports to have if you want to go on holidays. "Doesn't require a visa" usually means those countries don't require visas for short non-business trips (anything from 14 days to 6 months). E.g. you can visit the US with a German passport for 3 months for a holiday but it's extremely difficult to get a visa to move there indefinitely.
It's interesting people always cite the UK's stamp duty on share transactions as an example for how to stop high frequency trading. The rate is 0.5% when buying and 0% when selling. Market makers (of which high frequency traders are a subset) do not pay this.
http://www.legislation.gov.uk/ukpga/1997/16/section/97
Edited extract:
"Stamp duty shall not be chargeable on an instrument transferring stock of a particular kind on sale to a person or his nominee if— (a)the person is a member of an exchange (b)the person is an intermediary"
"an intermediary is a person who carries on a bona fide business of dealing in stock and does not carry on an excluded business"
Very interesting. Both the Premier and President (when he was Vice-President) have visited Shannon in recent years. It barely makes the news relative to when the US President visits.
I believe they are also very interested in the agri-food industry in Ireland (Ireland is the second largest exported of baby formula to China).
"Chinese Premier Li Keqiang arrives in Shannon for two day visit to the West of Ireland" http://www.shannonairport.ie/gns/about-us/latest-news/latest...
"Visit of Chinese Vice President Xi Jinping to Shannon" http://www.irishexporters.ie/visit-of-chinese-vice-president...
"Ireland second largest exporter of infant formula to China" http://www.farmersjournal.ie/ireland-second-largest-exporter...
I'm not sure that's the best way to counter the quite common "I don't have anything to hide so I don't care if they spy on me" reaction.
As the other reply to your comment shows, many would say that it's very unlikely a government agent would bother or want to watch them having sex.
I usually counter by reminding them that it's not just about them - it's about journalists, whistleblowers, lawyers, judges, activists, politicians, etc. Should the government be able to access their communications and track their online activities? People generally understand why that is a bad thing. While everybody absolutely should be worried that their personal online activities are being tracked, it seems like that's a harder sell.
He paid a company called Edge (http://edgefinite.com/) to extend the functionality of TT (https://www.tradingtechnologies.com/products/trading-analyti...).
Page 49 of full CFTC document - https://www.dropbox.com/s/ego1blhnylgs7sx/Appendix.pdf
"I asked Edge to design 3 more functions specifically to help try and hide my orders from these people. I do not know if this can be described as HFT, to me it is just giving me the ability to have some extra functions that my base trading software (TT) does not give me..."
A max loss is probably the first thing you should code!
It's not so easy though. What if you have a bug in your pnl calculator? Also, do you just block all new orders when you hit the max loss or do you liquidate your positions when you hit the max loss - because that's more code you could have bugs in. Maybe you cancel initiating orders and go to market on liquidating orders? Maybe you have code to limit the number of orders/size you can be working simultaneously - might have a bug in there too!
What if someone clears out the book i.e. a huge sell orders clears out all the buy limit orders and your pnl prints down massively for a millisecond? Should you also sell when this happens - probably getting a terrible exit price or do you wait and see if the book repopulates?
Probably something like Stellar (Stellar Trading Systems) or TT (Trading Technologies XTrader).
Correct. "FXCM Inc. (FXCM), which handled a record $1.4 trillion of trades by individuals last quarter, said clients owe $225 million on their accounts after the Swiss National Bank’s decision to abandon the franc’s cap against the euro roiled markets worldwide." http://www.bloomberg.com/news/2015-01-16/fxcm-faces-losses-o...