378 karma · joined Feb 22, 2007 (19y ago) · 32 submissions
comment 4y ago · link · parent
The foundation of our approach is to have a versioned, documented schema shared among clients. Every write down to the individual attribute level is persisted with a schema version. We're already several versions in, and indeed think it's healthy to get experience with version updates frequently so that it's not an unusual occurrence.
Currently we use this schema to interpret / coerce values as needed at read-time. For example we see an attribute has schema version 1, and know that it should be interpreted in the sense that we meant as of version 1. In the future, we may also choose to write out updates for "migrations" where that'd be helpful. So that e.g. instead of having to re-interpret values for older version 1, we'd right out an update to he attribute that overwrites the old value and updates the version tag to e.g. 3.
We do think lenses are interesting and the lab from which we spun out has done some good work with them: https://www.inkandswitch.com/cambria/. They're just a bit complex for our modest needs re: schema versioning at this time.
comment 6y ago · link · parent
Looks like the site has a few other scraped posts as well.
FWIW I no longer use this exact noprocrast(1) approach to avoiding procrastination, but do apply the same basic idea.
comment 7y ago · link · parent
Muse is an iPad app to empower freeform, creative thinking. The company spun off from our industrial research lab (https://www.inkandswitch.com); we’re taking the novel interface approaches and technical ideas developed in that setting and turning them into a real-world product.
Learn more about Muse:
- Conference talk by a founder: https://www.youtube.com/watch?v=A_fe2c6IUUo
- Article by the team: https://www.inkandswitch.com/muse-studio-for-ideas.html
We’re hiring one engineer to join our all-remote team of four, with either of these two profiles:
- iOS Engineer: https://getmuse.app/ios-engineer
- Systems Engineer: https://getmuse.app/systems-engineer
We aim to be a small, independent business that optimizes for building an uncompromising product and that’s a rewarding place to work.
If you're interested please email us at hello@museapp.com. We look forward to hearing from you!
comment 7y ago · link · parent
Muse is an independent software company that makes an iPad app for thoughtful work. The app brings together your research, photos, and notes in a single fluid workspace: https://museapp.com
We're hiring one engineer to join our all-remote team of four. One profile that's a good fit is an experienced iOS engineer:
https://museapp.com/ios-engineer
If you're excited about Muse but haven't developed for iOS, we can teach you iOS. In particular we'd love to hear from systems engineers with experience in e.g. game engines and graphics pipelines who'd like to apply their skill set to a product like Muse:
5.
Building a Scalable Postgres Metrics Backend Using the Citus Extension(citusdata.com ↗)
96 points · by mmcgrana · 10y ago · 10 comments
comment 14y ago · link · parent
Also agree that a learn more section could be good - I'll noodle on it.
11.
Introducing Go by Example(mmcgrana.github.com ↗)
213 points · by mmcgrana · 14y ago · 35 comments
12.
Getting Started with Go on Heroku(mmcgrana.github.com ↗)
11 points · by mmcgrana · 14y ago · discuss
comment 15y ago · link · parent
Heroku is hiring infrastructure engineers across all of our platform teams.
We develop a large distributed system that runs and manages thousands of applications in the cloud. We're looking for engineers who are exited about working on challenging systems at scale.
Some specific things we work on:
- Dynamic HTTP and Syslog routing: Erlang, Redis
- Cloud-wide distributed process management: Ruby, PostgreSQL, AMQP
- Containerized process execution: Linux, LXC
- Platform substrate management: Ruby, EC2/ELB/S3
- Real-time event processing: Clojure
If you're interested in learning more, email me directly: mark@heroku.com.
comment 15y ago · link · parent
15.
Not all MBAs suck at startups. Learn how to spot Durant MBAs.(humbledmba.com ↗)
36 points · by mmcgrana · 16y ago · 11 comments
comment 16y ago · link · parent
Note that Compojure 0.4 depends on Ring, to which it delegates things like parameter parsing and cookie manipulation.
If you're familiar with the Ruby web ecosystem: Ring : Compojure :: Rack : Sinatra.
comment 16y ago · link · parent
I don't think that 1) will be that much of a problem: the amount of writes that the db can process in the time it takes to do a compaction of even a large db should be small compared to the rate at which they can be appended to the compacted file.
2) is more problematic; I'll need to add a timeout-like guard to prevent a runaway write buffer.
comment 16y ago · link · parent
When a compaction is requested, the compact query enters the write queue. When the query reaches the head of queue, an asynchronous compaction is started on a snapshot of the database at that time, to a file in /tmp. Also, a buffer is added to the database metadata in which subsequent queries will be stored. After this essentially instant operation, the database can proceed to process write queries as normal. While the compaction is ongoing, write queries are appended to the buffer mentioned above. When the compaction thread that was spawned earlier finishes writing its snapshot, it inserts into the write queue a request to finalize compaction. When this request reaches the head of the queue, it appends all the buffered queries to the compacted database file. Finally, it swaps the compacted file in /tmp to the regular database path. So writes are blocked once for an instant and once for however long it takes to write those buffered queries, which shouldn't be long either. Note that reads are never blocked by compaction; indeed they are never blocked in general.
comment 17y ago · link · parent
TechCrunch has a public policy of not honoring embargos:
http://www.techcrunch.com/2008/12/17/death-to-the-embargo/ http://www.techcrunch.com/2009/05/04/survey-says-pr-people-l...
comment 17y ago · link · parent
comment 18y ago · link · parent
comment 18y ago · link · parent
comment 18y ago · link · parent
comment 18y ago · link · parent
For example, say that your comments table stored the user id, the post id, the parent comment id (where the parent is the one the user clicked "reply" on), the vote count, and a timestamp. Then to render a page for all of the comments for a particular post, you could just pull all of the comments keyed by that post id and then order/arrange them however you want in your application code, such as by timestamp or number of votes. This doesn't require any tricky db writes and generally removes load from the db (which is desirable since its the hardest part of the app to scale).
The harder part is dealing with a case like the user comments page on neww.yc, where you show all of the user's comments along with of the descendants of those comments. Aside from the traditional approaches to storing hierarchies in relational dbs like the ones you linked to, I know of two other possibilities. One is to store the path of nodes to the root as lexicographically-comparable strings. The other is to create a separate table that stores ancestry relationships, in which for each node you have one row for each of its ancestors in the tree up to the root. Again, both of these approaches would allow you to pull out exactly the comments that you needed, but you would have to do the arranging in the application code.