Better HN
topnewbestaskshowjobs
Log inSign up

ovokinder

169 karma · joined May 20, 2010 (16y ago) · 31 submissions

biasedbit.com
Submissions

comment 1y ago · link · parent

That's definitely in the cards (no pun intended... Or maybe?)

comment 1y ago · link · parent

FSRS-5

3.

Optimizing a brain imaging device's software stack with Rust(medium.com ↗)

15 points · by ovokinder · 2y ago · discuss

comment 10y ago · link · parent

This is a good starting point: https://devprogress.us

5.

The Clinton campaign app that helped win the Iowa caucus(medium.com ↗)

8 points · by ovokinder · 10y ago · 7 comments

comment 11y ago · link · parent

Easiest way to tell whether it's worth it or not is to run some back of the envelope math on how much it'll cost to build and run (dev time + infra costs) vs relying on 3rd party.

5-10k seems like a low enough volume for 3rd party to be a good idea.

When you get to the high hundred thousands (let alone millions or tens of millions) it becomes prohibitively expensive to not roll in your own system.

7.

Building a push notification system for scale with Go (Tales of Timehop)(medium.com ↗)

11 points · by ovokinder · 11y ago · 2 comments

comment 11y ago · link · parent

You're missing the most important point of the entire Throttler goal: gracefully returning fast, with success or failure. Nowhere is it stated that the goal is to enqueue tasks for execution.

If you had read 'til the end you would have found multiple statements that OSAtomic* is merely an alternative. Not a silver bullet. Not the fastest.

From the conclusion:

"It's very important to understand that every example in this article could have legitimately been solved with different concurrency primitives — like semaphores and locks — without any noticeable impact to a human playing around with your app."

Also, "(...) is always going to be best executed, quickest, using GCD." is kind of a blanket statement. I'd be careful around the use of "always".

comment 11y ago · link · parent

The goal of the article isn't about sheer performance — there are plenty of notes about it. If it was about pure performance, it'd be recommending moving away from objc classes and methods and using C functions or C++ classes instead, like std::atomic<>.

It's meant to be a somewhat-easy-to-digest introduction to lock-free design, where applicable.

What @synchronized ends up doing is far more complex — it has to be, to ensure the correctness of its purposes: https://github.com/opensource-apple/objc4/blob/master/runtim...

comment 11y ago · link · parent

That was worth 10 upvotes, good sir. Sadly, I can only provide one.

comment 11y ago · link · parent

Fair. I just didn't know how to rephrase that small sentence without unfolding into the two paragraphs you just wrote.

How would you rephrase that? Just "low level atomic", "atomic"?

12.

Atomics in Objective-C(biasedbit.com ↗)

41 points · by ovokinder · 11y ago · 20 comments

13.

Golang custom transports and timeouts(biasedbit.com ↗)

77 points · by ovokinder · 11y ago · 6 comments

comment 11y ago · link · parent

It's not a design vs engineering boundary; it's a competence boundary. Your boundary simply encompasses more knowledge, of more areas — and thus you don't fit the archetype the article talks about.

comment 11y ago · link · parent

Truth.

16.

Androplr - Droplr on Android(play.google.com ↗)

6 points · by ovokinder · 13y ago · 1 comment

17.

BBHTTP: a cURL based HTTP framework for iOS/OSX(github.com ↗)

3 points · by ovokinder · 13y ago · discuss

18.

A UILabel clone with animated transitions(biasedbit.com ↗)

1 points · by ovokinder · 14y ago · discuss

comment 14y ago · link · parent

Thanks! This gem looks interesting but doesn't apply here since with Jekyll you're basically serving static html pages (hence the need to make the A/B split with JavaScript).

20.

A/B testing with Jekyll (and Google Analytics)(biasedbit.com ↗)

18 points · by ovokinder · 14y ago · 5 comments

21.

iOS serialization benchmark: Cocoa Archive Framework vs custom serialization(biasedbit.com ↗)

26 points · by ovokinder · 14y ago · 1 comment

22.

Twitter, the Zombie Land(d.pr ↗)

2 points · by ovokinder · 14y ago · 1 comment

comment 14y ago · link · parent

It's not really the same as Dropbox. Dropbox is all about file synchronization and Droplr is about file sharing. Drag a file, get a tiny link to the content.

You can get the same with Dropbox but with a lot more interactions, so it kinda breaks the work flow.

24.

File System vs Core Data: the image cache test(biasedbit.com ↗)

26 points · by ovokinder · 14y ago · 2 comments

25.

Windroplr: a Droplr client for Windows.(windroplr.factor45.org ↗)

1 points · by ovokinder · 16y ago · discuss

26.

Hotpotato 0.8 released(hotpotato.factor45.org ↗)

1 points · by ovokinder · 16y ago · discuss

27.

Hotpotato: an async Java HTTP client lib oriented for high performance.(hotpotato.factor45.org ↗)

3 points · by ovokinder · 16y ago · discuss

28.

Handshaking tutorial with Netty(bruno.linker45.eu ↗)

3 points · by ovokinder · 16y ago · discuss

comment 16y ago · link · parent

You did establish a good point with placing the photos/binary objects on separate tables, but take for instance the Contact/AddressBook example: almost 100% of the times I'm fetching a Contact from the database, I also want the picture to serve it to a client, so putting it on a separate table would force the RDBMS to an avoidable extra effort.

My DB spiritual advisor tells me the rule of thumb is <= 500KB -> DB, > 500KB -> filesystem. I'll have to test performance of storing the binary stuff outside of the DB.

PS: By "truckloads" I mean tables with anything over 10 fields. I hate god tables/objects :)

30.

Dealing with the U in CRUD - full vs delta updates(bruno.linker45.eu ↗)

5 points · by ovokinder · 16y ago · 2 comments

12