Viewing profile — timfi
timfi
HN member- Joined
- Sun, Oct 04, 2020, 6:25 AM UTC
- HN karma
- 36
- Public activity
- 32 items
- HN profile
- View on Hacker News ↗
About timfi
No profile information was provided.
Recent public activity
-
comment
Comment #43793097
In general, I find that compilers, transpilers, etc. are all just "interpreters", which conceptually just boil down to a given input being "re-interpreted" into a new representatio…
-
comment
Comment #43435084
[flagged]
- comment
-
comment
Comment #39026071
Imho this is a non-issue. Python's max-function isn't limited to numerical values, but can consume iterables of anything with a defined order, i.e., things that implement the appro…
-
comment
Comment #38529844
A while back I attempted to write a brainfuck interpreter in Python with similar restrictions. It was great fun! https://codegolf.stackexchange.com/a/206450
-
comment
Comment #37335498
Sometimes this may be the case but not so much here. Firstly the mention the version they used and, secondly, OtterTune are a startup based around automatic DB steup/schema optimiz…
-
comment
Comment #36180402
From my personal experience, David Beazley's Talks/Tutorials on the matter are very enlightening.
-
comment
Comment #35079424
A good starting point might be Hy [0]. Its claim to fame is being a LISP embedded in Python. [0]: https://github.com/hylang/hy
-
comment
Comment #34668786
This is not strictly true. Python expressions are in fact Turing complete. For example, you can implement an entire Brainfuck interpreter [0] in a single expression. [0] https://gi…
-
comment
Comment #32688240
It may be "close[r] to the data", but be ware Python UDFs usually still have context switches between the python interpreter and the query executor. If these pile up — as is the ca…
-
comment
Comment #32549081
Not to nitpick, but do you mean the pattern matching statement when you are talking about "sum types"? Because as far as I'm aware Python doesn't have " proper" algebraic data type…
-
comment
Comment #32294008
In situations like this you could use `git stash` instead of completely deleting it.
-
comment
Comment #32111900
To be quite honest: I don't think there is anything along those lines. But if want to tackle it I recommend looking for PDF copy of Types and Programming Languages by Benjamin C. P…
-
comment
Comment #30378189
This looks cool. If you want to delve deeper intob symbolic computation you can have a look at sympy [0]. It seems to be the "defacto standard" when it comes to Python libraries fo…
-
comment
Comment #30339309
This may seem like a minor nitpick but it's something that popped out at me: italisizing a font shouldn't add or remove serifs. There is a reason why Unicode defines both sans- and…
-
comment
Comment #29433406
Iirc the argument bind this would be along then lines oft precendes. I.e., you didn't defend your TM against person A so why are you sueing person B.
-
comment
Comment #29252582
I don't know when Portugal started this, but in Germany there is at least the concept of a "grüne Well" (literally a green wave). Simply put: if you drive at the speed limit you wo…
-
comment
Comment #28521743
Very cool! I'd love to do some bytecode rewriting magic for some of my projects as well, but alas it only works for statements/expressions that are legal python syntax. :/
-
comment
Comment #28206902
I've added some images and a disclaimer to the readme. In case you still want to see the proper results. ;)
-
comment
Comment #28202762
Sadly (or luckily?) I don't know anyone who has/uses/has to use a braille display. But I think that if the "reader"/viewer doesn't know from the get go that the following character…
-
comment
Comment #28202349
Very cool! :D I also thought about adding color support via ANSI escape sequences, but for this project I decided against using them to keep things simple a widely accessible.
-
comment
Comment #28202296
Though python has a massive set of " included batteries ", simple images aren't included in those. This makes me very sad sometimes and I usually just fall back to simple BMP files…
-
comment
Comment #28202272
Similar characters actually exist in unicode as well irrc. ...On a side note, I think you kickstarted me down the path of abstracting the drawing algorithms and implicit matrix pro…
-
comment
Comment #28202114
Very nice! I was thinking of adding something akin to this as well, at least in terms of image dithering. :) But I'm still torn as the well behaved python programmer in me wants to…
-
comment
Comment #28202079
I thought I remembered seeing something similar a while back... This explains it! Thanks for the info. :D