Hacker Newsnew | past | comments | ask | show | jobs | submit | freefrag's commentslogin

You could try an aero press with an additional attachment, such as [1], but it probably wont be able to replicate the full range of flavours of an espresso machine.

If you havent tried the classic pour overs with freshly ground specialty coffee, I would really recommend it. I used to be an espresso guy, but now I only drink filters.

[1] https://fellowproducts.com/products/prismo


What's the advantage of using wider trees at every level? Asymptotically wouldn't you get the same behaviour with a binary tree?


Advantage: constant level time complexity with better space utilization.

The binary tree with the binary-search searching strategy has a time complexity O(logN), which is higher than htree's.

This htree is mainly for memory bounded cases.


Higher branching factor gets you a better constant factor because the depth of the tree is the base-(branching factor) logarithm of the number of nodes. The number of pointers you need to follow to reach a leaf is equal to the depth of the tree, and pointer-dereferences are likely to cause a cache miss, which is a relatively slow operation.

You're correct that asymptotically, it's the same thing.


I also recommend the notes for L28[1] - Advanced Functional Programming at Cambridge. They might be a little hard to follow, but they are extremely insightful and teach concepts that may be difficult to learn elsewhere

[1] https://www.cl.cam.ac.uk/teaching/1415/L28/materials.html


Indeed, very complete set of slides. Thanks a lot.


Can you recommend any good introductory material or websites?


A good place to start learning about finance is always http://www.investopedia.com/. Further I can recommend reading about modern portfolio theory and the correlation between risk and return: http://en.wikipedia.org/wiki/Modern_portfolio_theory


Surprisingly, Matt Cutts of Google fame has a reasonable overview: https://www.mattcutts.com/blog/make-money-investing-tips/ and accompanying HN thread: https://news.ycombinator.com/item?id=8675952


Yes. They even reference it on their website:

"Raft is a consensus algorithm that is designed to be easy to understand. It's equivalent to Paxos in fault-tolerance and performance. The difference is that it's decomposed into relatively independent subproblems, and it cleanly addresses all major pieces needed for practical systems."


What exactly does the winning submission do?


I was there. You point the flashlight on your phone at your computers webcam. The software (Javascript / Canvas I think) lets you draw with the light, while you can change colours with your phone. The bonus part was where they used the intensity of the light as a Z-axis, so by moving the phone closer / further away you could build a 3D light painting in the canvas.


Reminds me of this awesome project that a buddy of mine at Google did:

https://www.justareflektor.com/


I think it depends on your notebook's webcam: Webcam recognizes your smart phone's flash (flash = cursor location) and allows you to draw on a virtual surface...


Yes, it happens once a month


Actually some "real" results in Mathematics use the laziness of light. For example http://en.wikipedia.org/wiki/Brachistochrone_curve#Johann_Be...


He's not wrong.

To many mathematicians reality is largely irrelevant. For example G. H. Hardy, an extremely prominent British Mathematician, believed that true Mathematics is an art form and is not useful. He dismissed applications of mathematics as dull and boring.

And I can relate to him. It's incredible how complex, beautiful structures arise from a couple of simple axioms. It doesn't matter if what you study will be relevant or not, what matters is that it's fun and stimulating to explore.


A (somewhat tongue-in-cheek) question to ponder: If Hardy were alive today, would he turn his back on Number Theory as too useful, and study something more theoretical like the existence of long-time solutions to Navier-Stokes?


This is an awesome idea! As a university student I'm trying to get involved in code club. We need to get kids hooked on programming early; make them realise that it can be a fun, creative activity and a way to express themselves.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: