576 karma · joined Aug 7, 2016 (10y ago) · 160 submissions
comment 6y ago · link · parent
This course is on the design and implementation of database management systems. Topics include data models (relational, document, key/value), storage models (n-ary, decomposition), query languages (SQL, stored procedures), storage architectures (heaps, log-structured), indexing (order preserving trees, hash tables), transaction processing (ACID, concurrency control), recovery (logging, checkpoints), query processing (joins, sorting, aggregation, optimization), and parallel architectures (multi-core, distributed). Case studies on open-source and commercial database systems are used to illustrate these techniques and trade-offs. The course is appropriate for students that are prepared to flex their strong systems programming skills.
[1] https://www.youtube.com/playlist?list=PLSE8ODhjZXjbohkNBWQs_...
comment 6y ago · link · parent
Making something nobody wants is a classic startup mistake. I resolved not to make it again and read a great deal about market validation and building products.
I have one recommendation for those reading this thread: Steve Blank's "Four Steps to the Epiphany". It contrasts Product Development (focusing on a product with no customers) vs Customer Development (focusing on customer problems and building software around those). Honestly you don't even need the whole book, there's a PDF with the first couple chapters floating around [1]. I had a bunch of "holy shit, that's exactly what I did wrong" moments while reading it.
Eric Ries' "Lean Startup" is also an excellent book on this topic.
[1] http://web.stanford.edu/group/e145/cgi-bin/winter/drupal/upl...
comment 6y ago · link · parent
I think this exact capability is what led to such strong React adoption. It's almost viral within an application. The main application that I worked on a few years ago was on Backbone / Marionette and we evaluated React by writing several small but complicated nested components, with state controlled by existing mechanisms. After liking both the flux application architecture and the ease of gradual transition, we pulled the trigger on React. It slowly ate our application from the inside out, but never forced our hand.
React isn't "lightweight" (JSX being the primary hurdle), but it is very easy to adopt incrementally!
comment 6y ago · link · parent
>>> betamax((3, 14), (4, 12))
0.29448379324802676
>>> betamaxinv(0.29, allowed_error=0.01)
[((3, 14), (4, 12)), ...]
I assume the results of `betamaxinv` are not unique, and so perhaps there need to be constraints, or return a family of results. I don't know. I'm trying to wrap my head around how OP got A ~ Beta(2,13) and B ~ Beta(3,11) without just brute forcing numbers into `betamax`.comment 6y ago · link · parent
It makes sense, I'm just surprised the blog never comes out and says "you have to do a brute force search to get the parameters for the likelihoods A ~ Beta(2,13) and B ~ Beta(3,11) for P(B > A) to have about the right value".
comment 6y ago · link · parent
comment 6y ago · link · parent
The sketchy stuff shows up in cheap components with slim margins (budget AIO watercoolers, budget hard drives, budget PSUs budget/no-name ebay video cards).
comment 6y ago · link · parent
I think that this is a feature, not a bug. Part of my maturation from a junior to a senior engineer was learning to trust that simple implementations are ok. I remember often not trusting that the simple thing would work robustly (passing around a list) and reaching for something way more heavy (perhaps a wrapper around sqlite persistence). I now recognize that the simple implementation is better and almost always more robust than something fancy, and I definitely attribute that to internalizing the zen of python over time.
> JS is a pass by value language... except when it comes to arrays and objects, it then becomes pass by ref. Go figure.
It's all pass by value. For objects and arrays, the value passed is the reference.
comment 6y ago · link · parent
I'm in awe of his contributions to both computer graphics and Pixar, and I really liked his management book, even if he definitely did some sketchy stuff with wage fixing.
comment 6y ago · link · parent
comment 6y ago · link · parent
comment 6y ago · link · parent
comment 6y ago · link · parent
This is a perfect example of where JtbD is stronger than personas. There are lots of people who use both VSCO and Facetune. The thing differentiating those two cases is what they intend to do with a photo, the job to be done. Another simple example of this type is YouTube vs TikTok. How are the personas different?
The case for personas is stronger within a specific task, for example: iMovie vs Final Cut Pro, ffmpeg vs Adobe Media Encoder. Even then it's not the touchy feely aspects of personas that bring value, but instead the basic market segmentation.
comment 6y ago · link · parent
I ask because where I work we sync postgres to a secondary store for search, but the way it's done in a piecemeal, application-specific way gives me the heebie jeebies. It almost certainly will result in that secondary store drifting. Unfortunately we can't use something like zombodb [1] as we're on amazon RDS. It seems like you know your stuff, and seeing non-deterministic consistency irritates the heck out of me!
comment 6y ago · link · parent
Dead on. I've seen boards of directors ask for fried ice:
Management: We haven't put adequate time into building a sales training program.
Board: Focus only on revenue this quarter. It's the only thing that matters!
Then next quarter:
Board: Why aren't your new sales guys producing?! They need to drive revenue!
Management: Uh... you told us not to spend time on training.
comment 6y ago · link · parent
It's really fun to watch his commentary because he relentlessly plays "variations" — possible next moves and sequences — while waiting for the players, explaining the tradeoffs between moves and the consequences they lead to a few steps ahead in the game.
I don't know what to call "variations" but a tree search with heuristics. He does it slowly to explain it to the audience, but I have no doubt the same process runs much faster in his mind.
comment 6y ago · link · parent
The RISC philosophy wasn't a mistake. Our architectures have just become more sophisticated so that we don't have to make a binary choice. The hybrid is good. The internal uops get the pipelining advantages of RISC, while we get the encoding compression of a CISC instruction set.
comment 6y ago · link · parent
Power limits and memory hierarchy both benefit the 9900k heavily in this comparison, which is why I went with the single-core score. I'd be surprised if an iPhone 11 Pro Max will floor all its cores even for a short microbenchmark. A desktop/laptop A14 will likely look much more competitive in these respects.
comment 6y ago · link · parent
• iPhone 11 Pro Max - 1413 (11.0 Klines/sec) https://browser.geekbench.com/v5/cpu/2634126
• 9900K - 1270 (9.89 Klines/sec) https://browser.geekbench.com/v5/cpu/2633843
The A13 is really impressive.