Better HN
topnewbestaskshowjobs
Log inSign up

cheatdeath

252 karma · joined Sep 23, 2014 (12y ago) · 49 submissions

sean.oflynn |AT| me.com
Submissions

1.

Man suffered a minor injury after being hit by drone propeller(rte.ie ↗)

2 points · by cheatdeath · 2y ago · discuss

2.

How Much Money Did Chelsea Spend?(swissramble.substack.com ↗)

2 points · by cheatdeath · 3y ago · discuss

3.

Convert My Units – Natural Language Unit Converter(convertmyunits.com ↗)

2 points · by cheatdeath · 5y ago · discuss

4.

Toast Delivery Services(pos.toasttab.com ↗)

2 points · by cheatdeath · 6y ago · discuss

5.

Deploying an OpenStack Cloud on Kubernetes(careyscloud.ie ↗)

2 points · by cheatdeath · 8y ago · discuss

comment 9y ago · link · parent

Probably myTaxi (https://de.mytaxi.com/en/index.html).

7.

Loading and rendering 3D skeletal animations from scratch in C# and GLSL(cheatdeath.github.io ↗)

1 points · by cheatdeath · 9y ago · discuss

8.

CFTC Poised to Modify Source-Code Proposal(wsj.com ↗)

2 points · by cheatdeath · 10y ago · discuss

9.

Publishers' Dilemma: Judge a Book by Its Data or Trust the Editor's Gut?(npr.org ↗)

1 points · by cheatdeath · 10y ago · discuss

comment 10y ago · link · parent

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.

comment 10y ago · link · parent

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

comment 10y ago · link · parent

Thanks for the tips! I will look into making these modifications when I get a chance.

comment 10y ago · link · parent

Thanks for the pointer!

comment 10y ago · link · parent

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.

comment 10y ago · link · parent

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.

comment 10y ago · link · parent

Thanks for letting me know, looks like I'll have to find some time to implement some of these recommendations.

comment 10y ago · link · parent

Oh cool, thanks! I wasn't aware of DateTimeOffset.

comment 10y ago · link · parent

World of Warcraft? Haha no, I've been using that handle probably since that game came out but I've never played it.

comment 10y ago · link · parent

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.

comment 10y ago · link · parent

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.

comment 10y ago · link · parent

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.

comment 10y ago · link · parent

Will do, thanks for posting.

comment 10y ago · link · parent

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.

comment 10y ago · link · parent

It's not completely down, the server does seems to be struggling though.

comment 10y ago · link · parent

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

comment 10y ago · link · parent

Presumably in case someone is watching you type in your details.

27.

Building a BitTorrent client from scratch in C#(seanjoflynn.com ↗)

4 points · by cheatdeath · 10y ago · 1 comment

28.

China’s Factory to the World Is in a Race to Survive(bloomberg.com ↗)

2 points · by cheatdeath · 10y ago · discuss

29.

Blockchain Company Wants to Reinvent Companies(bloomberg.com ↗)

8 points · by cheatdeath · 10y ago · discuss

30.

Inside the Nondescript Building Where Trillions Trade Each Day(bloomberg.com ↗)

2 points · by cheatdeath · 10y ago · discuss

12