Viewing profile — tommikaikkonen
tommikaikkonen
HN member- Joined
- Thu, Aug 02, 2012, 6:02 PM UTC
- HN karma
- 137
- Public activity
- 38 items
- HN profile
- View on Hacker News ↗
About tommikaikkonen
No profile information was provided.
Recent public activity
-
comment
Comment #39001332
The demo video is great, I would consider putting it higher up on the page and possibly on autoplay. I wonder when Amazon will integrate LLM into the native reader. Nice work!
-
comment
Comment #19785434
Indeed. I wrote a Python pretty printer that uses a Wadler/Leijen algorithm, and it's a great fit. It doesn't take too long to learn how to use the layout primitives, and it allows…
-
comment
Comment #16869331
I love using attrs, like the idea of bringing something similar to the standard library, but strongly disagree with the dataclasses API. It treats untyped Python as a second class …
-
comment
Comment #16481766
I think that's natural and OK. I would compare writing my thesis to writing my first full application after learning how to read and write code—even after several iterations under …
-
comment
Comment #16481367
Thanks. The thesis is really mediocre academically, so I don't feel comfortable putting it out in the public, but if you leave an email address here or contact me through Twitter I…
-
comment
Comment #16481347
Agreed. I think this kind of research can give ideas on what kind of experiments to run on pricing pages, but there are so many factors affecting real life plan choice that everyon…
-
comment
Comment #16480934
I did my MSc thesis on SaaS pricing pages. I'll share what I found, since I think many people in this thread may find it useful. I tested how Mechanical Turkers (N=~400) chose plan…
- story
- story
-
comment
Comment #15730310
I've migrated a lot of code from moment to date-fns because of moment's bulky size and vast, mutable API. Luxon seems to fix the API issue. date-fns is still great for simple opera…
-
comment
Comment #15717117
How does this compare to elasticsearch-dsl?
-
comment
Comment #15648518
Where can I order a physical copy?
-
comment
Comment #15363310
What was the optimization?
-
comment
Comment #15282232
I agree, that doesn't look bad. However, this type definition forces you to supply one argument per function call, which looks awful in JavaScript: fn(1)(2)(3) That's a big drawbac…
-
comment
Comment #15281731
Currying in JavaScript is really nice if you can remember the arities of each curried function you're using. If you forget to call up to the last argument, you'll be passing a curr…
-
comment
Comment #15150628
Hypothesis has been highly useful in the team I work in. It is also one of the most robust property-based testing library in any language. Thanks to the project contributors and St…
-
comment
Comment #14600673
I haven't tried pyparsing, but I enjoyed implementing a simple DSL with funcparserlib having no previous experience with parser combinators: https://github.com/vlasovskikh/funcpars…
-
comment
Comment #14298565
Property-based testing has made testing more productive and fun for me. You write a few lines of code that produce a large amount of tests. The idea is obviously so useful, I'm sur…
-
comment
Comment #14028358
I've applied the Monoid and Semigroup patterns often in Python and JS. Knowing about CT helps you leverage their properties (associativity, often commutativity, having an explicit …
-
comment
Comment #13354398
Implementing a find function makes this read a lot nicer. You could also call it find_first or find_next. def find(predicate, iterable, default=None): """Returns the first value th…
-
comment
Comment #13354344
While it's far from a functional language, I find that it's possible to build functional style abstractions without too much headache. The iterator protocol is so well supported by…
-
comment
Comment #13164229
Related: https://edgedb.com/ I can't remember where I stumbled upon that, but it implements an object database over PostgreSQL and offers a GraphQL superset for querying. Don't kno…
-
comment
Comment #12422902
I haven't read the book OP linked, but I've been going through Haskell Programming from First Principles for the last 6 weeks or so and it's been fantastic. The price tag is well w…
- story
-
comment
Comment #7535990
Author of that repo here, I'm glad you found it useful! I've used that template as a starting template for purely personal projects, so beware: it does not have the polish of a wel…