Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tommikaikkonen
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
tommikaikkonen
3y ago
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!
2.
▲
by
tommikaikkonen
7y ago
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 for easy creation of higher level abstractio
3.
▲
by
tommikaikkonen
8y ago
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 citizen. This is what I'd prefer from dataclasses i
4.
▲
by
tommikaikkonen
9y ago
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 a skilled supervisor, the codebase is still going to ha
5.
▲
by
tommikaikkonen
9y ago
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'll gladly send it to you.
6.
▲
by
tommikaikkonen
9y ago
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 everyone should have their own A/B testing setup to see what w
7.
▲
by
tommikaikkonen
9y ago
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 plans on pricing pages with 4-tiered subscriptions plans, f
8.
▲
Introducing PrettyPrinter for Python
(tommikaikkonen.github.io)
2 points
by
tommikaikkonen
9y ago
|
0 comments
9.
▲
From Impure to Pure Code
(tommikaikkonen.github.io)
1 points
by
tommikaikkonen
9y ago
|
0 comments
10.
▲
by
tommikaikkonen
9y ago
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 operations, but I'll definitely consider this for
11.
▲
by
tommikaikkonen
9y ago
How does this compare to elasticsearch-dsl?
12.
▲
by
tommikaikkonen
9y ago
Where can I order a physical copy?
13.
▲
by
tommikaikkonen
9y ago
What was the optimization?
14.
▲
by
tommikaikkonen
9y ago
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 drawback for me. Libraries like Ramda allow one
15.
▲
by
tommikaikkonen
9y ago
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 curried function instead of the expected value, and it
16.
▲
by
tommikaikkonen
9y ago
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 Stripe for investing resources in making it even better!
17.
▲
by
tommikaikkonen
9y ago
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/funcparserlib The library has a well-writ
18.
▲
by
tommikaikkonen
9y ago
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 surprised it's uncommon in practice. When you think a
19.
▲
by
tommikaikkonen
9y ago
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 identity element for a monoidal operation), and writin
20.
▲
by
tommikaikkonen
10y ago
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 that matches predicate, otherwise
21.
▲
by
tommikaikkonen
10y ago
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 the language and the standard libraries that usin
22.
▲
by
tommikaikkonen
10y ago
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 know if it's still in active de
23.
▲
by
tommikaikkonen
10y ago
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 worth it in terms of frustration and time save
24.
▲
Time Zones in Pytz and Django
(tommikaikkonen.github.io)
4 points
by
tommikaikkonen
11y ago
|
0 comments
25.
▲
by
tommikaikkonen
12y ago
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 well-maintained django package. But it's been co
26.
▲
by
tommikaikkonen
13y ago
It seems like you're only seeing the aesthetic side of design and missing the functional side. For example interface patterns, typography and color palettes can be evaluated without opinion. Interface patterns have their best use cases and
27.
▲
by
tommikaikkonen
14y ago
You can't not communicate with a typeface - they always have a certain feel, which is why there's a whole lot of them. Typefaces also have characteristics that make them more suitable for certain situations. For example, Georgia is designe
28.
▲
TypeUp - a Compass extension for quick typesetting
(tommikaikkonen.github.com)
5 points
by
tommikaikkonen
14y ago
|
0 comments
29.
▲
Highlighting Is a Waste of Time (The Best and Worst Learning Techniques)
(ideas.time.com)
2 points
by
tommikaikkonen
14y ago
|
0 comments
30.
▲
Typesetting Responsive CSS3 Columns
(kaikkonendesign.fi)
3 points
by
tommikaikkonen
14y ago
|
0 comments
More ›