Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ioquatix
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
18 ms
·
151.
▲
by
ioquatix
8y ago
> This is the question and I would disagree. Hiding the asynchronous nature of any given function is a dangerous illusion. I understand where you are coming from. However, in my experience, it's "turtles all the way down".
152.
▲
by
ioquatix
8y ago
Coroutines are useful in their own right, too.
153.
▲
by
ioquatix
8y ago
You also have EONESHOT which means that the event monitor is automatically removed after it's triggered. It depends on the design of your concurrency model. For event based systems, you may prefer level-triggered notifications. That&#x
154.
▲
by
ioquatix
8y ago
Stackful fibers allow you to have concurrency with the illusion of blocking IO.
155.
▲
by
ioquatix
8y ago
I particularly like this video. Start watching from here: https://www.youtube.com/watch?v=_fu0gx-xseY&feature=youtu.be... for the historical context/concepts. He gives an absolutely brilliant overview, better than
156.
▲
by
ioquatix
8y ago
Yes go would fit into the green thread bucket pretty well.
157.
▲
by
ioquatix
8y ago
There are two kinds of stackful coroutines - fibers and green threads. The difference is that fibers stay on the thread they were created on, while green threads can transit between OS threads. There have also been projects to cooperatively
158.
▲
by
ioquatix
8y ago
There are three main kinds of async IO. * Event driven with callbacks (`on data`, `on error`, and so on). * Stackless coroutines (async/await). * Stackful coroutines (no direct semantic changes to code required). Personally, I like sta
159.
▲
by
ioquatix
8y ago
I like curves but I don't know that one. Can you clarify? Is the following an example of an instance of that curve? y = x2^(-1x)
160.
▲
by
ioquatix
8y ago
You and I both, buddy.
161.
▲
by
ioquatix
8y ago
I've been waiting for this to go mainstream for a long time. Unfortunately, my experience of mainstream milk is it's generally pretty crappy, mostly because of how it's produced. In New Zealand, the average "milk" i
162.
▲
by
ioquatix
9y ago
Git can also be a database if you want. https://github.com/ioquatix/relaxo
163.
▲
by
ioquatix
9y ago
If you edit files once in a blue moon, `notepad.exe` is more than sufficient. If you work with hundreds of files per day as part of your profession, you are going to want something a bit better. I wouldn't call it over engineering if i
164.
▲
by
ioquatix
9y ago
I agree with this. Proposals like integrating Cairo into the standard library seem moronic.
165.
▲
by
ioquatix
9y ago
Thanks for being so interested. The architecture is super simple, I'd suggest that the first place to look is the source code. There are really only two ways of accessing the underlying data store - a read-only dataset and a read/
166.
▲
by
ioquatix
9y ago
Relaxo actually grew out of Couch DB. Relaxo used to be a couch query server ( https://github.com/ioquatix/relaxo-query-server - not so useful any more) and ruby front end ( https://github.com/ioquatix&#x
167.
▲
by
ioquatix
9y ago
That's a good question. Relaxo is a database designed around immutable, transactional structures where convenience is more important than scale . Think of things like comments on a blog, items for sale in a small shop - https:/
168.
▲
by
ioquatix
9y ago
I store all my application state directly in git: https://github.com/ioquatix/relaxo Makes rolling back mistakes easy.
169.
▲
by
ioquatix
9y ago
I appreciate all your points. However, in my experience implementing coroutines and fibers, where I allocated stacks using `mmap`, with guard pages, I'm not completely convinced that fixed-size stacks are an issue: 1/ The typical
170.
▲
by
ioquatix
9y ago
In my experience it depends on the tooling - both the compiler needs to allow for insertion of the necessary debugging symbols, and the debugger needs to interpret them correctly. I'd like to improve this situation, right now the follo
171.
▲
by
ioquatix
9y ago
Actually, a coroutine is just a more generalised function - it's a function which retains it's state over multiple calls. I recommend watching this video, which has a great overview. https://www.youtube.com/watch?v
172.
▲
by
ioquatix
9y ago
Any videos of it?
173.
▲
by
ioquatix
9y ago
Yes, C++ is a complex language. Yes, it has a ton of warts if you know where to look. But, you can write beautiful software with it, and it can even look beautiful too. Yes, there are alternatives, but when it comes to performance, expressi
174.
▲
by
ioquatix
9y ago
Thank you for your swift assessment, you just saved me several minute of my life.
175.
▲
by
ioquatix
9y ago
People still use ink signatures for things. :/
176.
▲
by
ioquatix
9y ago
The thing that bothers me is how long it takes for content to come to Netflix. For example, in NZ, I still don't have access to season 2 of The Expanse. Remind me again why I'm paying monthly for this service!?
177.
▲
by
ioquatix
9y ago
> In any case, even if your claim was true (and it quite clearly isn't), rejecting the alliance with our strongest and one of one of our closest allies over the issue isn't a good move, no matter what way you look at it. This i
178.
▲
by
ioquatix
9y ago
> New Zealand isn't capable of putting nuclear warheads on top of one I'm pretty sure we could if we actually wanted to. But we have a staunch anti-Nuclear policy :)
179.
▲
by
ioquatix
9y ago
Yeah, it's teapot. Thanks, I fixed the link :)
180.
▲
by
ioquatix
9y ago
As the author of a build system, which took 5 years to bring to completion, and is now used in commercial applications, I feel like this list is not that helpful. A modern build system does sacrifice generality in order to improve performan
More ›